aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin.php1
-rw-r--r--admin/template/goto/admin.tpl1
2 files changed, 2 insertions, 0 deletions
diff --git a/admin.php b/admin.php
index 04536a4a5..bc69f7321 100644
--- a/admin.php
+++ b/admin.php
@@ -95,6 +95,7 @@ $template->assign(
'U_PERMALINKS'=> $link_start.'permalinks',
'U_RETURN'=> make_index_url(),
'U_ADMIN'=> PHPWG_ROOT_PATH.'admin.php',
+ 'U_LOGOUT'=> PHPWG_ROOT_PATH.'index.php?act=logout',
'U_PLUGINS'=> $link_start.'plugins_list',
)
);
diff --git a/admin/template/goto/admin.tpl b/admin/template/goto/admin.tpl
index 37225a373..6fd39dc0c 100644
--- a/admin/template/goto/admin.tpl
+++ b/admin/template/goto/admin.tpl
@@ -19,6 +19,7 @@ jQuery().ready(function(){ldelim}
<li><a href="{$U_RETURN}">{'home'|@translate}</a></li>
<li><a href="{$U_FAQ}">{'instructions'|@translate}</a></li>
<li><a href="{$U_ADMIN}" title="{'hint_admin'|@translate}">{'admin'|@translate}</a></li>
+ <li><a href="{$U_LOGOUT}">{'logout'|@translate}</a></li>
{if isset($pwgmenu)}
<li class="external"><a class="external" href="{$pwgmenu.WIKI}" onclick="window.open(this.href, '');
return false;">{'WIKI / DOC'|@translate}</a></li>