diff options
author | Pascal Chevrel <pascal@chevrel.org> | 2012-03-12 15:40:15 +0100 |
---|---|---|
committer | Pascal Chevrel <pascal@chevrel.org> | 2012-03-12 15:40:15 +0100 |
commit | 5378cf37d8d3dde29a2e7a67e94f3966696288e6 (patch) | |
tree | d2beff7282a5e5e2ddcd870113117944587084a7 /admin/administration.php | |
parent | e6ab308bbdb024fe8f65f6e6419482d94dc54eab (diff) | |
download | planet-5378cf37d8d3dde29a2e7a67e94f3966696288e6.tar planet-5378cf37d8d3dde29a2e7a67e94f3966696288e6.tar.gz planet-5378cf37d8d3dde29a2e7a67e94f3966696288e6.tar.bz2 planet-5378cf37d8d3dde29a2e7a67e94f3966696288e6.tar.xz planet-5378cf37d8d3dde29a2e7a67e94f3966696288e6.zip |
l10n support for moonmoon
Diffstat (limited to 'admin/administration.php')
-rwxr-xr-x[-rw-r--r--] | admin/administration.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/admin/administration.php b/admin/administration.php index 894ebd3..1202e91 100644..100755 --- a/admin/administration.php +++ b/admin/administration.php @@ -1,7 +1,7 @@ <?php require_once dirname(__FILE__) . '/inc/auth.inc.php'; -require_once dirname(__FILE__) . '/../app/lib/lib.opml.php'; +require_once dirname(__FILE__) . '/../app/app.php'; $opml = OpmlManager::load(dirname(__FILE__) . '/../custom/people.opml'); $opml_people = $opml->getPeople(); @@ -11,7 +11,7 @@ $header_extra = <<<"HTML" window.onload = function(){ var formManage = document.getElementById('frmPurge'); formManage.onsubmit = function(){ - return confirm('Are you sure you want to purge the cache?'); + return confirm("{$l10n->getString('Are you sure you want to purge the cache?')}"); } } </script> @@ -21,17 +21,17 @@ HTML; $page_content = <<<"FRAGMENT" <div class="widget"> - <h3>Clear cache</h3> + <h3>{$l10n->getString('Clear cache')}</h3> <form action="purgecache.php" method="post" id="frmPurge"> - <p><label>Clear cache:</label><input type="submit" class="submit delete" name="purge" id="purge" value="Clear" /></p> - <p class="help">Clearing the cache will make moonmoon reload all feeds.</p> + <p><label>{$l10n->getString('Clear cache:')}</label><input type="submit" class="submit delete" name="purge" id="purge" value="{$l10n->getString('Clear')}" /></p> + <p class="help">{$l10n->getString('Clearing the cache will make moonmoon reload all feeds.')}</p> </form> </div> <div class="widget"> - <h3>Change administrator password</h3> + <h3>{$l10n->getString('Change administrator password')}</h3> <form action="changepassword.php" method="post" id="frmPassword"> - <p><label for="password">New password:</label> <input type="password" class="text" value="" name="password" id="password" size="20" /> <input type="submit" class="submit delete" name="changepwd" id="changepwd" value="Change password" /></p> + <p><label for="password">{$l10n->getString('New password:')}</label> <input type="password" class="text" value="" name="password" id="password" size="20" /> <input type="submit" class="submit delete" name="changepwd" id="changepwd" value="{$l10n->getString('Change password')}" /></p> </form> </div> |