Changeset 32
- Timestamp:
- Mar 12, 2009, 12:42:00 PM (16 years ago)
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
config.sample.php
r27 r32 14 14 'Web' => array 15 15 ( 16 'Charset' => ' UTF-8',16 'Charset' => 'utf-8', 17 17 'Host' => 'localhost', 18 18 'RootFolder' => 'http://localhost/webis', … … 22 22 'AdminEmail' => 'admin@localhost', 23 23 'ItemsPerPage' => 20, 24 'ShowSQLError' => true, 25 'ShowPHPError' => true, 26 'ShowRuntimeInfo' => true, 24 27 ), 25 28 'User' => array -
index.php
r22 r32 13 13 $FormUserLogin = array( 14 14 'Title' => 'Přihlášení', 15 'SubmitBu ffonText' => 'Přihlásit',15 'SubmitButtonText' => 'Přihlásit', 16 16 'Items' => array( 17 17 array('Name' => 'UserName', 'Type' => TypeStringId, 'Caption' => 'Jméno', 'Value' => ''), … … 23 23 'Title' => 'Registrace uživatele', 24 24 'Table' => 'User', 25 'SubmitBu ffonText' => 'Registrovat',25 'SubmitButtonText' => 'Registrovat', 26 26 'Items' => array( 27 27 array('Name' => 'UserName', 'Type' => TypeStringId, 'Caption' => 'Přihlašovací jméno', 'Value' => ''), -
page.php
r19 r32 1 1 <?php 2 3 $ScriptStartTime = GetMicrotime(); 2 4 3 5 class Page extends Module … … 53 55 $Output = '<?xml version="1.0" encoding="'.$this->System->Config['Web']['Charset'].'"?>'."\n". 54 56 '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'. 55 '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">'. 57 '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">'. 58 '<meta http-equiv="content-type" content="application/xhtml+xml; charset='.$this->System->Config['Web']['Charset'].'" />'. 56 59 '<head><link rel="stylesheet" href="'.$this->System->Config['Web']['RootFolder'].'/style.css" type="text/css" media="all" />'. 57 60 '<script type="text/javascript" src="'.$this->System->Config['Web']['RootFolder'].'/global.js"></script>'. … … 63 66 function ShowFooter() 64 67 { 65 $Time = floor((GetMicrotime() - $this->TimeStart) * 100) / 100; 66 $Output = '<div id="Footer"> 67 <i>| Správa webu: '.$this->System->Config['Web']['Admin'].' | e-mail: '.$this->System->Config['Web']['AdminEmail'].' | Vygenerováno za '.$Time.' s | Použitá paměť: '.HumanSize(memory_get_peak_usage(FALSE)).' |</i></div></body></html>'; 68 global $ScriptStartTime; 69 70 $ScriptGenerateDuration = round(GetMicrotime() - $ScriptStartTime, 2); 71 $Output = '<div class="Footer">| Správa webu: '.$this->System->Config['Web']['Admin'].' | E-mail: '.$this->System->Config['Web']['AdminEmail'].' |'; 72 if($this->System->Config['Web']['ShowRuntimeInfo'] == true) $Output .= ' Doba generování: '.$ScriptGenerateDuration.' s / '.ini_get('max_execution_time').' s | Použitá paměť: '.HumanSize(memory_get_peak_usage(FALSE)).' / '.ini_get('memory_limit').'B |'; 73 $Output .= '</div></body></html>'; 68 74 return($Output); 69 75 } -
style.css
r19 r32 133 133 } 134 134 135 #Footer135 .Footer 136 136 { 137 137 border-style: solid; -
types/Base.php
r29 r32 3 3 class TypeBase 4 4 { 5 var $DatabaseCompareOperators = array(); 6 5 7 function OnView($Item) 6 8 {
Note:
See TracChangeset
for help on using the changeset viewer.