[ Index ] |
|
Code source de WebCalendar 1.0.5 |
1 <?php 2 include_once 'includes/init.php'; 3 4 if ( $allow_view_other != 'Y' ) { 5 print_header (); 6 etranslate("You are not authorized"); 7 print_trailer (); 8 exit; 9 } 10 11 $updating_public = false; 12 if ( $is_admin && ! empty ( $public ) && $public_access == "Y" ) { 13 $updating_public = true; 14 $layer_user = "__public__"; 15 } else { 16 $layer_user = $login; 17 } 18 19 load_user_layers ( $layer_user, 1 ); 20 21 if ( strlen ( $layers[$id]['cal_layeruser'] ) > 0 && 22 ( $is_admin || $readonly == "N" ) ) { 23 $layeruser = $layers[$id]['cal_layeruser']; 24 25 dbi_query ( "DELETE FROM webcal_user_layers " . 26 "WHERE cal_login = '$layer_user' AND cal_layeruser = '$layeruser'" ); 27 } 28 29 if ( $updating_public ) 30 do_redirect ( "layers.php?public=1" ); 31 else 32 do_redirect ( "layers.php" ); 33 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Fri Nov 30 19:09:19 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |