Changeset 45 for trunk/admin/configuration.php
- Timestamp:
- Jul 27, 2003, 10:24:10 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/configuration.php
r42 r45 42 42 'upload_maxfilesize', 'upload_maxwidth','upload_maxheight', 43 43 'upload_maxwidth_thumbnail','upload_maxheight_thumbnail','log', 44 'comments_validation','comments_forall' );44 'comments_validation','comments_forall','authorize_cookies' ); 45 45 $default_user_infos = 46 46 array( 'nb_image_line','nb_line_page','language','maxwidth', … … 852 852 $vtp->closeSession( $sub, 'space_line' ); 853 853 $vtp->closeSession( $sub, 'line' ); 854 // authorize cookies ? 855 $vtp->addSession( $sub, 'line' ); 856 $vtp->addSession( $sub, 'param_line' ); 857 $vtp->setVar( $sub, 'param_line.name', $lang['conf_session_cookie'] ); 858 $vtp->addSession( $sub, 'group' ); 859 $vtp->addSession( $sub, 'radio' ); 860 $vtp->setVar( $sub, 'radio.name', 'authorize_cookies' ); 861 $vtp->setVar( $sub, 'radio.value', 'true' ); 862 $checked = ''; 863 if ( $authorize_cookies == 'true' ) 864 { 865 $checked = ' checked="checked"'; 866 } 867 $vtp->setVar( $sub, 'radio.checked', $checked ); 868 $vtp->setVar( $sub, 'radio.option', $lang['yes'] ); 869 $vtp->closeSession( $sub, 'radio' ); 870 $vtp->addSession( $sub, 'radio' ); 871 $vtp->setVar( $sub, 'radio.name', 'authorize_cookies' ); 872 $vtp->setVar( $sub, 'radio.value', 'false' ); 873 $checked = ''; 874 if ( $authorize_cookies == 'false' ) 875 { 876 $checked = ' checked="checked"'; 877 } 878 $vtp->setVar( $sub, 'radio.checked', $checked ); 879 $vtp->setVar( $sub, 'radio.option', $lang['no'] ); 880 $vtp->closeSession( $sub, 'radio' ); 881 $vtp->closeSession( $sub, 'group' ); 882 $vtp->setVar( $sub, 'param_line.def', $lang['conf_session_cookie_info'] ); 883 $vtp->closeSession( $sub, 'param_line' ); 884 $vtp->closeSession( $sub, 'line' ); 854 885 // session size 855 886 $vtp->addSession( $sub, 'line' );
Note: See TracChangeset
for help on using the changeset viewer.