mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 00:53:04 +02:00
- some checks for admins that are advisers (no write access)
- send the charset in http header for web services - tag name becomes an xml attribute instead of content for tags.getList and related tags in images.getInfo (more logical and coherent with tags.getAdminList) git-svn-id: http://piwigo.org/svn/trunk@2585 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+2
-2
@@ -64,7 +64,7 @@ foreach ($mb_conf as $id => $pos)
|
||||
unset($mb_conf[$id]);
|
||||
}
|
||||
|
||||
if ( isset($_POST['reset']) )
|
||||
if ( isset($_POST['reset']) and !is_adviser())
|
||||
{
|
||||
$mb_conf = array();
|
||||
$query = '
|
||||
@@ -85,7 +85,7 @@ foreach ($reg_blocks as $id => $block)
|
||||
}
|
||||
|
||||
|
||||
if ( isset($_POST['submit']) )
|
||||
if ( isset($_POST['submit']) and !is_adviser() )
|
||||
{
|
||||
foreach ( $mb_conf as $id => $pos )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user