mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-11 19:23:01 +02:00
Merge of the 1.3.1 release
Creation of an unique include file (common.php) Creation of an unique define file (include/constants.php) Modification of the installation procedure git-svn-id: http://piwigo.org/svn/trunk@345 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+2
-1
@@ -52,13 +52,14 @@ if ( isset( $_POST['submit'] ) )
|
||||
}
|
||||
}
|
||||
check_favorites( $_GET['user_id'] );
|
||||
synchronize_user( $_GET['user_id'] );
|
||||
$vtp->addSession( $sub, 'confirmation' );
|
||||
$url = './admin.php?page=user_list';
|
||||
$vtp->setVar( $sub, 'confirmation.back_url', add_session_id( $url ) );
|
||||
$vtp->closeSession( $sub, 'confirmation' );
|
||||
}
|
||||
//---------------------------------------------------------------- form display
|
||||
$restrictions = get_restrictions( $_GET['user_id'], $page['user_status'],
|
||||
$restrictions = get_user_restrictions( $_GET['user_id'], $page['user_status'],
|
||||
false, false );
|
||||
$action = './admin.php?page=user_perm&user_id='.$_GET['user_id'];
|
||||
$vtp->setVar( $sub, 'action', add_session_id( $action ) );
|
||||
|
||||
Reference in New Issue
Block a user