Changeset 19746 for extensions/Autosize/autosize.inc.php
- Timestamp:
- Jan 3, 2013, 11:58:17 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/autosize.inc.php
r19744 r19746 73 73 $infos_message .= "POST:" . cl_print_var($_POST) ; 74 74 $infos_message .= "$pictureDeriv $pictureSelType $pictureMap "; 75 // self::Fin_php ("# 138: ".$DEBUG_autosize);75 // self::Fin_php ("#75: ".$DEBUG_autosize); 76 76 } 77 77 if(!isset($_COOKIE['picture_deriv'] )){ 78 78 if(preg_match("|test_1|", $DEBUG_autosize, $val)) { 79 $infos_message .= "not COOKIE['picture_deriv'] -> reload(): <br>"; 80 81 self::Fin_php("#78 autosize_calcContent:" . $DEBUG_autosize ); 79 $infos_message .= "not COOKIE['picture_deriv'] -> reload(): <br>"; 80 self::Fin_php("#80 autosize_calcContent:" . $DEBUG_autosize ); 82 81 } 83 self::reload("#8 0");84 self::Fin_php("#81autosize_calcContent:" + $DEBUG_autosize);82 self::reload("#82"); 83 self::Fin_php("#83 autosize_calcContent:" + $DEBUG_autosize); 85 84 } 86 85 … … 90 89 $infos_message .= "not COOKIE['autosize_reload'] -> reload(): <br>"; 91 90 echo $infos_message; 92 self::Fin_php("# 89autosize_calcContent:" . $DEBUG_autosize);91 self::Fin_php("#91 autosize_calcContent:" . $DEBUG_autosize); 93 92 } 94 self::reload("# 81");95 self::Fin_php("#9 2autosize_calcContent:" + $DEBUG_autosize);93 self::reload("#93"); 94 self::Fin_php("#94 autosize_calcContent:" + $DEBUG_autosize); 96 95 97 96 } … … 206 205 207 206 if(preg_match("|test|", $DEBUG_autosize, $val)) { 208 $infos_message .= "# 187<br>Init:SESSION:" . cl_print_var($_SESSION) ;207 $infos_message .= "#208 <br>Init:SESSION:" . cl_print_var($_SESSION) ; 209 208 210 209 if ( isset($_COOKIE['pwg_id']) ) unset ($_COOKIE['pwg_id']) ; … … 223 222 if(preg_match("|c1|", $DEBUG_autosize, $val)) { 224 223 echo "<!-- " . $theImageWidth . "x" . $theImageHeight . " " .cl_print_var($content) ." -->"; 225 self::Fin_php("#22 2: " . $DEBUG_autosize);224 self::Fin_php("#225: " . $DEBUG_autosize); 226 225 } 227 226 return $content; … … 318 317 echo "left:".$theImageLeft."px;top:".$theImageTop."px;width:".$theImageWidth ."px;height:" .$theImageHeight."px;"; 319 318 echo "<div style='position:absolute;left:".$theImageLeft."px;top:".$theImageTop."px;width:".$theImageWidth ."px;height:" . $theImageHeight."px;background-color:green;'>"; 320 self::Fin_php("#3 17: " . $content + $DEBUG_autosize);319 self::Fin_php("#320 : " . $content + $DEBUG_autosize); 321 320 322 321 } //INIT2 … … 391 390 echo "INIT <pre>"; 392 391 print_r($_COOKIE); 393 self::Fin_php("#3 85: ".$DEBUG_autosize);392 self::Fin_php("#393: ".$DEBUG_autosize); 394 393 } 395 394 … … 401 400 echo "GET:" . cl_print_var($_GET) ; 402 401 echo "POST:" . cl_print_var($_POST) ; 403 self::Fin_php("# 396: ".$DEBUG_autosize);402 self::Fin_php("#403: ".$DEBUG_autosize); 404 403 } 405 404 406 405 $infos_message.="Reload: $userst <br> $usertype <br> autosize_parametres:" . cl_print_var($autosize_parametres) ; 407 406 if(!preg_match("|aff_init|", $DEBUG_autosize, $val)) { $infos_message=""; } 408 407 echo $set_miniature ; 409 echo $set_var ; 410 408 echo $set_var ; 411 409 echo $autoscript; 412 self::Fin_php("#4 01: ".$DEBUG_autosize);410 self::Fin_php("#411: ".$DEBUG_autosize); 413 411 414 412 } … … 681 679 682 680 if(preg_match("|test|", $DEBUG_autosize, $val)) { 683 $infos_message .= "#6 53 <br>cl_autosize_affiche:_COOKIE:" . cl_print_var($_COOKIE) ;681 $infos_message .= "#683 <br>cl_autosize_affiche:_COOKIE:" . cl_print_var($_COOKIE) ; 684 682 $pictureMap=$_COOKIE['picture_map']; 685 683 $infos_message .= "<br />SelType:" . $pictureSelType."; pictureDeriv:".$pictureDeriv ."; pictureMap:".$pictureMap; 686 684 687 self::Fin_php("#6 77: ".$DEBUG_autosize);685 self::Fin_php("#686: ".$DEBUG_autosize); 688 686 } 689 687 cl_aff_infos_plus();
Note: See TracChangeset
for help on using the changeset viewer.