aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorEric <eric@piwigo.org>2009-12-09 20:10:11 +0000
committerEric <eric@piwigo.org>2009-12-09 20:10:11 +0000
commit4f09b7836d49b4d0f8d51033af6c47c911705c5f (patch)
treedb18813fddf2a5b141f2c5a015c03ca0462271c6 /admin
parent5bbe11c2d11d3b6cf5139a83fc9a5bf9b2256d72 (diff)
fix r3751 regression
git-svn-id: http://piwigo.org/svn/trunk@4455 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/template/goto/user_list.tpl5
-rw-r--r--admin/user_list.php2
2 files changed, 3 insertions, 4 deletions
diff --git a/admin/template/goto/user_list.tpl b/admin/template/goto/user_list.tpl
index 95fcfc169..4418e3970 100644
--- a/admin/template/goto/user_list.tpl
+++ b/admin/template/goto/user_list.tpl
@@ -1,4 +1,3 @@
-{* $Id: user_list.tpl 2578 2008-09-24 00:51:40Z rvelices $ *}
<div class="titrePage">
<h2>{'title_liste_users'|@translate}</h2>
</div>
@@ -56,7 +55,7 @@
<form method="post" name="preferences" action="">
-<div class="navigationBar">{$NAVBAR}</div>
+{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
<table class="table2" width="97%">
<thead>
@@ -98,7 +97,7 @@
{/foreach}
</table>
-<div class="navigationBar">{$NAVBAR}</div>
+{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
{* delete the selected users ? *}
<fieldset>
diff --git a/admin/user_list.php b/admin/user_list.php
index c3956dc7b..6054d0160 100644
--- a/admin/user_list.php
+++ b/admin/user_list.php
@@ -635,7 +635,7 @@ $navbar = create_navigation_bar(
$conf['users_page']
);
-$template->assign('NAVBAR', $navbar);
+$template->assign('navbar', $navbar);
// +-----------------------------------------------------------------------+
// | user list |