Changeset 571
- Timestamp:
- Sep 27, 2013, 12:44:30 PM (11 years ago)
- Location:
- trunk/Common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Database.php
r548 r571 152 152 return(addslashes($Text)); 153 153 } 154 155 154 } 156 155 … … 175 174 function MysqlDateTimeToTime($DateTime) 176 175 { 177 if($DateTime == '') return( 0);176 if($DateTime == '') return(NULL); 178 177 $Parts = explode(' ', $DateTime); 179 178 $DateParts = explode('-', $Parts[0]); … … 185 184 function MysqlDateToTime($Date) 186 185 { 187 if($Date == '') return( 0);186 if($Date == '') return(NULL); 188 187 return(MysqlDateTimeToTime($Date.' 0:0:0')); 189 188 } … … 191 190 function MysqlTimeToTime($Time) 192 191 { 193 if($Time == '') return( 0);192 if($Time == '') return(NULL); 194 193 return(MysqlDateTimeToTime('0000-00-00 '.$Time)); 195 194 } -
trunk/Common/Form/Types/Date.php
r570 r571 27 27 28 28 $Output = ''; 29 $Type = $this->FormManager->Type->TypeDefinitionList[$Item['Type']];30 29 $Style = ''; 31 30 if(array_key_exists('Null', $Item) and $Item['Null']) -
trunk/Common/Page.php
r567 r571 85 85 function ShowFooter() 86 86 { 87 global $ScriptTimeStart; 87 global $ScriptTimeStart, $Revision, $ReleaseTime; 88 88 89 $Time = round(GetMicrotime() - $ScriptTimeStart, 2); 89 90 $Output = ''; 90 91 if($this->BasicHTML == false) 91 92 { 92 $Output .= '<div id="Footer"> 93 <i>| Správa webu: '.$this->System->Config['Web']['Admin'].' | e-mail: '.$this->System->Config['Web']['AdminEmail'].' |'; 93 $Output .= '<div id="Footer">'. 94 '<i>| Správa webu: '.$this->System->Config['Web']['Admin'].' | e-mail: '.$this->System->Config['Web']['AdminEmail'].' | '. 95 ' Verze: '.$Revision.' ('.HumanDate($ReleaseTime).') |'; 94 96 if($this->ShowRuntimeInfo == true) $Output .= ' Doba generování: '.$Time.' s / '.ini_get('max_execution_time'). 95 97 ' s | Použitá paměť: '.HumanSize(memory_get_peak_usage(FALSE)).' / '.ini_get('memory_limit').'B |';
Note:
See TracChangeset
for help on using the changeset viewer.