diff options
-rw-r--r-- | admin/template/goto/user_list.tpl | 5 | ||||
-rw-r--r-- | admin/user_list.php | 2 |
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 | |