- Timestamp:
- Jan 23, 2012, 1:32:53 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Global.php
r383 r384 31 31 var $Pages = array(); 32 32 var $Type; 33 var $Style; 33 34 34 35 function __construct($Database) … … 69 70 70 71 $System = new System($Database); 72 $System->Style = $Config['Web']['Style']; 73 $System->RootFolder = $Config['Web']['RootFolder']; 71 74 $System->Config = &$Config; 72 75 $System->Install(); 73 $System->Init(); 76 $System->Init(); 74 77 } 75 78 -
trunk/Common/Page.php
r381 r384 230 230 } 231 231 232 class MissingPage extends Page 233 { 234 var $FullTitle = 'Stránka nenalezena'; 235 var $ShortTitle = 'Stránka nenalezena'; 236 237 function Show() 238 { 239 return('<h3 align="center">Požadovanou stránku nelze zobrazit, protože na serveru neexistuje.</h3>'); 240 } 241 } 242 243 232 244 ?> -
trunk/Common/TableHeader.php
r383 r384 92 92 { 93 93 $this->QueryItems->Data['OrderDir'] = 1 - $OrderDir; 94 $ArrowImage = '<img style="vertical-align: middle; border: 0px;" src=" Style/'.$this->System->Output->Style.'/Images/'.$this->OrderArrowImage[$OrderDir].'" alt="order arrow">';94 $ArrowImage = '<img style="vertical-align: middle; border: 0px;" src="'.$this->System->RootFolder.'/Style/'.$this->System->Style.'/Images/'.$this->OrderArrowImage[$OrderDir].'" alt="order arrow">'; 95 95 } else 96 96 { -
trunk/index.php
r379 r384 13 13 { 14 14 $PageClass = $System->Pages[$Page]; 15 $PageObject = new $PageClass();16 $PageObject->Database = &$Database;17 $PageObject->System = &$System;18 $PageObject->GetOutput();19 } else echo(PAGE_NOT_FOUND);15 } else $PageClass = 'MissingPage'; 16 $PageObject = new $PageClass(); 17 $PageObject->Database = &$Database; 18 $PageObject->System = &$System; 19 $PageObject->GetOutput(); 20 20 21 21 //phpinfo();
Note:
See TracChangeset
for help on using the changeset viewer.