Changeset 12878 for trunk/identification.php
- Timestamp:
- Jan 12, 2012, 9:50:46 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/identification.php
r12764 r12878 3 3 // | Piwigo - a PHP based photo gallery | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2008-201 1Piwigo Team http://piwigo.org |5 // | Copyright(C) 2008-2012 Piwigo Team http://piwigo.org | 6 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | … … 83 83 $template->assign( 84 84 array( 85 'U_LOST_PASSWORD' => get_root_url().'password.php',86 85 'U_REDIRECT' => $redirect_to, 87 86 … … 90 89 )); 91 90 92 if ( $conf['allow_user_registration'])91 if (!$conf['gallery_locked'] && $conf['allow_user_registration']) 93 92 { 94 93 $template->assign('U_REGISTER', get_root_url().'register.php' ); 95 94 } 96 95 96 if (!$conf['gallery_locked']) 97 { 98 $template->assign('U_LOST_PASSWORD', get_root_url().'password.php' ); 99 } 100 97 101 // include menubar 98 102 $themeconf = $template->get_template_vars('themeconf'); 99 if (! isset($themeconf['hide_menu_on']) OR !in_array('theIdentificationPage', $themeconf['hide_menu_on']))103 if (!$conf['gallery_locked'] && (!isset($themeconf['hide_menu_on']) OR !in_array('theIdentificationPage', $themeconf['hide_menu_on']))) 100 104 { 101 105 include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
Note: See TracChangeset
for help on using the changeset viewer.