summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2012-01-29 19:21:24 +0000
committerAnika Henke <anika@selfthinker.org>2012-01-29 19:21:24 +0000
commitf97b05c8443027d9d2cc46d95b733f8d520088b1 (patch)
treeaa7ea334955a9a232bc32e4e976ac057f9f7c01b
parent4cae4c316c15a8c583487dc4b519966412b041b1 (diff)
downloadrpg-f97b05c8443027d9d2cc46d95b733f8d520088b1.tar.gz
rpg-f97b05c8443027d9d2cc46d95b733f8d520088b1.tar.bz2
changed tpl lang to new core lang strings
-rwxr-xr-xdetail.php2
-rwxr-xr-xmain.php4
-rw-r--r--tpl_header.php8
3 files changed, 7 insertions, 7 deletions
diff --git a/detail.php b/detail.php
index 23e77530d..784174891 100755
--- a/detail.php
+++ b/detail.php
@@ -117,7 +117,7 @@ $showSidebar = tpl_getConf('sidebarID') && page_exists(tpl_getConf('sidebarID'))
<!-- PAGE ACTIONS -->
<?php if ($showTools && !$ERROR): ?>
<div id="dokuwiki__pagetools">
- <h3 class="a11y"><?php echo tpl_getLang('page_tools') ?></h3>
+ <h3 class="a11y"><?php echo $lang['page_tools']; ?></h3>
<div class="tools">
<ul>
<?php // View in media manager; @todo: transfer logic to backend
diff --git a/main.php b/main.php
index 7aa4748cb..1a67c6432 100755
--- a/main.php
+++ b/main.php
@@ -74,13 +74,13 @@ $showSidebar = tpl_getConf('sidebarID') && page_exists(tpl_getConf('sidebarID'))
<!-- PAGE ACTIONS -->
<?php if ($showTools): ?>
<div id="dokuwiki__pagetools">
- <h3 class="a11y"><?php echo tpl_getLang('page_tools') ?></h3>
+ <h3 class="a11y"><?php echo $lang['page_tools']; ?></h3>
<div class="tools">
<ul>
<?php
tpl_action('edit', 1, 'li', 0, '<span>', '</span>');
tpl_action('revert', 1, 'li', 0, '<span>', '</span>');
- tpl_action('history', 1, 'li', 0, '<span>', '</span>');
+ tpl_action('revisions', 1, 'li', 0, '<span>', '</span>');
tpl_action('backlink', 1, 'li', 0, '<span>', '</span>');
tpl_action('subscribe', 1, 'li', 0, '<span>', '</span>');
tpl_action('top', 1, 'li', 0, '<span>', '</span>');
diff --git a/tpl_header.php b/tpl_header.php
index 40094e30e..85164a9ef 100644
--- a/tpl_header.php
+++ b/tpl_header.php
@@ -6,7 +6,7 @@
<div class="headings group">
<ul class="a11y skip">
- <li><a href="#dokuwiki__content"><?php echo tpl_getLang('skip_to_content') ?></a></li>
+ <li><a href="#dokuwiki__content"><?php echo $lang['skip_to_content']; ?></a></li>
</ul>
<h1><?php tpl_link(
@@ -23,7 +23,7 @@
<!-- USER TOOLS -->
<?php if ($conf['useacl'] && $showTools): ?>
<div id="dokuwiki__usertools">
- <h3 class="a11y"><?php echo tpl_getLang('user_tools') ?></h3>
+ <h3 class="a11y"><?php echo $lang['user_tools']; ?></h3>
<ul>
<?php /* the optional second parameter of tpl_action() switches between a link and a button,
e.g. a button inside a <li> would be: tpl_action('edit',0,'li') */
@@ -43,11 +43,11 @@
<!-- SITE TOOLS -->
<div id="dokuwiki__sitetools">
- <h3 class="a11y"><?php echo tpl_getLang('site_tools') ?></h3>
+ <h3 class="a11y"><?php echo $lang['site_tools']; ?></h3>
<?php tpl_searchform(); ?>
<?php /* all the tools in one dropdown (good for mobile view): */ ?>
<div class="mobileTools">
- <?php tpl_actiondropdown('Tools'); /* @todo: lang */ ?>
+ <?php tpl_actiondropdown($lang['tools']); ?>
</div>
<ul>
<?php