diff options
author | vdigital <vdigital@piwigo.org> | 2006-12-16 10:22:31 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2006-12-16 10:22:31 +0000 |
commit | 328869000967d072950650bb9a6ee7760b877ee3 (patch) | |
tree | 1549ed3985be7f1c9b7f47de2c3b1bce4677c8fd | |
parent | 5e9f3507cdcc5f1422d4b2228fb4cc18d07902ba (diff) |
Admin menu
git-svn-id: http://piwigo.org/svn/trunk@1665 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r-- | admin.php | 10 | ||||
-rw-r--r-- | template/yoga/admin.tpl | 3 |
2 files changed, 12 insertions, 1 deletions
@@ -108,7 +108,15 @@ $template->assign_vars( 'L_ADMIN_HINT' => $lang['hint_admin'] ) ); - +if ($conf['allow_web_services']) +{ + $template->assign_block_vars( + 'web_services', + array( + 'U_WS_CHECKER'=> $link_start.'ws_checker', + ) + ); +} if ($conf['allow_random_representative']) { $template->assign_block_vars( diff --git a/template/yoga/admin.tpl b/template/yoga/admin.tpl index 7f1c46ea7..dc3f91b18 100644 --- a/template/yoga/admin.tpl +++ b/template/yoga/admin.tpl @@ -21,6 +21,9 @@ <li><a href="{U_NOTIFICATION_BY_MAIL}">{lang:nbm_item_notification}</a></li> <li><a href="{U_PLUGINS}">{lang:Plugins}</a></li> <li><a href="{U_ADVANCED_FEATURE}">{lang:Advanced_features}</a></li> + <!-- BEGIN web_services --> + <li><a href="{web_services.U_WS_CHECKER}">{lang:web_services}</a></li> + <!-- END web_services --> </ul> </dd> </dl> |