Step 1 improvement issue 0000301:

o Change status of table #_user_infos
  o Don't send password to webmaster, guest, generic

Next Step:
  o Functions Check of status
  o Restricted Access for user generic

git-svn-id: http://piwigo.org/svn/trunk@1070 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rub
2006-03-08 23:14:53 +00:00
parent cba56c06ed
commit b263f0c996
15 changed files with 160 additions and 33 deletions
+2 -2
View File
@@ -368,7 +368,7 @@ else
$template->assign_block_vars('logout', array());
}
if ('admin' == $user['status'])
if (is_admin())
{
$template->assign_block_vars('admin', array());
}
@@ -408,7 +408,7 @@ $template->assign_block_vars(
if (isset($page['cat'])
and is_numeric($page['cat'])
and 'admin' == $user['status'])
and is_admin())
{
$template->assign_block_vars(
'edit',