Changeset 463
- Timestamp:
- Nov 28, 2012, 9:18:35 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Global.php
r461 r463 6 6 else die('Nenalezen konfigurační soubor '.$ConfigFileName.'!'); 7 7 include_once(dirname(__FILE__).'/Module.php'); 8 include_once(dirname(__FILE__).'/AppModule.php'); 8 9 include_once(dirname(__FILE__).'/Database.php'); 9 10 include_once(dirname(__FILE__).'/Error.php'); … … 21 22 include_once(dirname(__FILE__).'/../finance/finance.php'); 22 23 24 include_once(dirname(__FILE__).'/../Modules/Meteostation/Meteostation.php'); 25 23 26 $PrefixMultipliers = array 24 27 ( -
trunk/form_classes.php
r462 r463 121 121 'Group' => array('Type' => 'TTaskGroup', 'Caption' => 'Kategorie', 'Default' => '', 'Null' => true), 122 122 'AssignedTo' => array('Type' => 'TUser', 'Caption' => 'Přiřazeno', 'Default' => '', 'Null' => true), 123 'Work' => array('Type' => 'TWorkListTask', 'Caption' => 'Práce', 'Default' => ''), 123 124 ), 124 125 ), … … 849 850 'Filter' => '1', 850 851 ), 851 852 'TWorkListTask' => array( 853 'Type' => 'ManyToOne', 854 'Table' => 'Work', 855 'Id' => 'Id', 856 'Ref' => 'Task', 857 'Filter' => '1', 858 ), 852 859 ); 853 860 -
trunk/is/index.php
r457 r463 64 64 $Form->OnSubmit = '?a=edit&o=save'; 65 65 $Output .= $Form->ShowEditForm(); 66 $Output .= '< br/><div style="text-align: center;">';67 $Output .= '< a href="?a=view"><img alt="Prohlížet" title="Prohlížet" src="'.68 $this->System->Link('/images/view.png').'"/> </a>';69 $Output .= '< a href="?a=list"><img alt="Seznam" title="Seznam" src="'.70 $this->System->Link('/images/list.png').'"/> </a>';71 $Output .= '< a href="?a=delete"><img alt="Odstranit" title="Odstranit" src="'.72 $this->System->Link('/images/delete.png').'" onclick="return confirmAction(\'Opravdu smazat položku?\');"/></a>';73 $Output .= '</ div>';66 $Output .= '<ul class="ActionMenu">'; 67 $Output .= '<li><a href="?a=view"><img alt="Prohlížet" title="Prohlížet" src="'. 68 $this->System->Link('/images/view.png').'"/>Prohlížet</a></li>'; 69 $Output .= '<li><a href="?a=list"><img alt="Seznam" title="Seznam" src="'. 70 $this->System->Link('/images/list.png').'"/>Seznam</a></li>'; 71 $Output .= '<li><a href="?a=delete" onclick="return confirmAction(\'Opravdu smazat položku?\');"><img alt="Odstranit" title="Odstranit" src="'. 72 $this->System->Link('/images/delete.png').'"/>Odstranit</a></li>'; 73 $Output .= '</ul>'; 74 74 } 75 75 return($Output); … … 110 110 $Form->OnSubmit = '?a=add&o=save'; 111 111 $Output .= $Form->ShowEditForm(); 112 $Output .= '< br/><div style="text-align: center;">';113 $Output .= '< a href="?a=list"><img alt="Seznam" title="Seznam" src="'.114 $this->System->Link('/images/list.png').'"/> </a>';115 $Output .= '</ div>';112 $Output .= '<ul class="ActionMenu">'; 113 $Output .= '<li><a href="?a=list"><img alt="Seznam" title="Seznam" src="'. 114 $this->System->Link('/images/list.png').'"/>Seznam</a></li>'; 115 $Output .= '</ul>'; 116 116 } 117 117 return($Output); … … 126 126 $Form->OnSubmit = '?a=view'; 127 127 $Output = $Form->ShowViewForm(); 128 $Output .= '<br/><div style="text-align: center;">'; 129 $Output .= '<a href="?a=edit"><img alt="Upravit" title="Upravit" src="'. 130 $this->System->Link('/images/edit.png').'"/></a>'; 131 $Output .= '<a href="?a=list"><img alt="Seznam" title="Seznam" src="'. 132 $this->System->Link('/images/list.png').'"/></a>'; 133 $Output .= '<a href="?a=delete"><img alt="Odstranit" title="Odstranit" src="'. 134 $this->System->Link('/images/delete.png').'" onclick="return confirmAction(\'Opravdu smazat položku?\');"/></a>'; 135 $Output .= '</div><br/>'; 128 $Output .= '<ul class="ActionMenu">'; 129 $Output .= '<li><a href="?a=edit"><img alt="Upravit" title="Upravit" src="'. 130 $this->System->Link('/images/edit.png').'"/>Upravit</a></li>'; 131 $Output .= '<li><a href="?a=list"><img alt="Seznam" title="Seznam" src="'. 132 $this->System->Link('/images/list.png').'"/>Seznam</a></li>'; 133 $Output .= '<li><a href="?a=delete" onclick="return confirmAction(\'Opravdu smazat položku?\');"><img alt="Odstranit" title="Odstranit" src="'. 134 $this->System->Link('/images/delete.png').'" />Odstranit</a></li>'; 135 $Output .= '<li><a href="?a=add"><img alt="Přidat" title="Přidat" src="'. 136 $this->System->Link('/images/add.png').'"/>Přidat</a></li>'; 137 $Output .= '</ul><br/>'; 136 138 137 139 // Show ManyToOne relations … … 211 213 $Output .= '</table>'; 212 214 $Output .= $PageList['Output']; 213 $Output .= '<br/><div style="text-align: center;">'; 214 $Output .= '<a href="?a=add"><img alt="Přidat" title="Přidat" src="'. 215 $this->System->Link('/images/add.png').'"/></a>'; 216 $Output .= '</div>'; 215 $Output .= '<ul class="ActionMenu">'; 216 $Output .= '<li><a href="?a=add&t='.$Table.'"><img alt="Přidat" title="Přidat" src="'. 217 $this->System->Link('/images/add.png').'"/>Přidat</a></li>'; 218 $Output .= '<li><a href="?a=list&t='.$Table.'"><img alt="Seznam" title="Seznam" src="'. 219 $this->System->Link('/images/list.png').'"/>Seznam</a></li>'; 220 $Output .= '</ul></div>'; 217 221 return($Output); 218 222 } -
trunk/sql/updates/462.sql
r462 r463 30 30 31 31 INSERT INTO `ISMenuItem` (`Id` , `Name` , `Parent` , `Table` , `IconName`) VALUES (NULL , 'Práce', '12', 'Work', ''); 32 33 ALTER TABLE `News` CHANGE `User` `User` INT( 11 ) NULL DEFAULT NULL ; -
trunk/style/new/style.css
r270 r463 3 3 height: 100%; 4 4 font-family: sans-serif; 5 } 6 7 .ActionMenu 8 { 9 text-align: center; 10 list-style: none; 11 } 12 13 .ActionMenu li 14 { 15 display: inline; 16 padding-left: 10px; 5 17 } 6 18
Note:
See TracChangeset
for help on using the changeset viewer.