[ Index ] |
|
Code source de PRADO 3.0.6 |
1 <?php 2 3 class Layout extends TTemplateControl 4 { 5 public function __construct() 6 { 7 if(isset($this->Request['notheme'])) 8 $this->Service->RequestedPage->EnableTheming=false; 9 parent::__construct(); 10 } 11 12 public function onLoad($param) 13 { 14 parent::onLoad($param); 15 $url=$this->Request->RequestUri; 16 if(strpos($url,'?')===false) 17 $url.='?notheme=true'; 18 else 19 $url.='&notheme=true'; 20 $this->PrinterLink->NavigateUrl=$url; 21 22 if(isset($this->Request['notheme'])) 23 { 24 $this->MainMenu->Visible=false; 25 $this->TopicPanel->Visible=false; 26 } 27 } 28 } 29 30 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |