diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-05-29 20:24:42 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-29 20:24:42 -0700 |
| commit | 60d1bbc2d68f86b7ed4632cab03f61ee458d0751 (patch) | |
| tree | 98f9753c71973336d460324abca38f1f4c1731e8 /modules/gallery/helpers/gallery_installer.php | |
| parent | 994830f611c7736716883a6b219fb2848ac3ea24 (diff) | |
Move credits message into a variable, which can be changed in Admin >
Settings > Advanced. It's stored in the variable as an
internationalized string and localized at output time.
Diffstat (limited to 'modules/gallery/helpers/gallery_installer.php')
| -rw-r--r-- | modules/gallery/helpers/gallery_installer.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gallery/helpers/gallery_installer.php b/modules/gallery/helpers/gallery_installer.php index fbbee194..b97adcd0 100644 --- a/modules/gallery/helpers/gallery_installer.php +++ b/modules/gallery/helpers/gallery_installer.php @@ -251,6 +251,9 @@ class gallery_installer { module::set_version("gallery", 1); module::set_var("gallery", "version", "3.0 pre-beta git"); module::set_var("gallery", "choose_default_tookit", 1); + + // @todo this string needs to be picked up by l10n_scanner + module::set_var("gallery", "credits", "Powered by <a href=\"%url\">Gallery %version</a>"); } } |
