Changeset 3
- Timestamp:
- Sep 13, 2008, 11:28:38 PM (16 years ago)
- Files:
-
- 1 added
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
index.php
r2 r3 3 3 include('config.php'); 4 4 session_start(); 5 include(' data_types.php');5 include('base.php'); 6 6 $Database = new Database($Config['Database']['Host'], $Config['Database']['User'], $Config['Database']['Password'], $Config['Database']['Database']); 7 7 $Database->Prefix = $Config['Database']['Prefix']; … … 14 14 '<script type="text/javascript" src="global.js"></script>'. 15 15 '<title>IS</title> 16 </head><body> ';16 </head><body><table class="base"><tr><td class="menu">'; 17 17 18 18 LoadListDefinition(); 19 $Output .= $Output; 20 $Output .= TableList(1); 21 $Output .= TableList(0); 22 $Output .= '</td><td class="main">'; 23 $Output .= 'dd<br /><div>'.Output().'</div><br />dd'; 24 $Output .= '</td></tr></table></body></html>'; 19 25 echo($Output); 20 echo(TableList());21 echo(Output());22 echo('</body></html>');23 26 //echo(phpinfo()); 24 27 ?> -
lists.php
r2 r3 5 5 'TableName' => 'List', 6 6 'Title' => 'Seznam definovaných seznamů', 7 'System' => 1, 7 8 'Items' => array( 8 9 'TableName' => array( … … 41 42 'TableName' => 'ListItem', 42 43 'Title' => 'Položky pro seznamy', 44 'System' => 1, 43 45 'Items' => array( 46 'Name' => array( 47 'TextBefore' => 'Jméno sloupce', 48 'TextAfter' => '', 49 'Type' => 'String', 50 'Help' => 'Jméno sloupce tabulky v databázi', 51 'Default' => '', 52 'Required' => 1, 53 'Editable' => 1, 54 'VisibleInList' => 1, 55 ), 44 56 'TextBefore' => array( 45 57 'TextBefore' => 'Text před hodnotou', -
style.css
r1 r3 3 3 font-family: sans-serif; 4 4 font-size: small; 5 } 6 7 .base 8 { 9 width: 100%; 10 } 11 12 .main 13 { 14 vertical-align: top; 15 text-align: center; 16 } 17 18 .main table 19 { 20 text-align: center; 21 } 22 23 .menu 24 { 25 width: 10%; 26 text-align: left; 5 27 } 6 28 … … 24 46 .WideTable td 25 47 { 48 text-align: left; 26 49 border-color: black; 27 50 border-style: solid; -
types.php
r2 r3 131 131 'ParseFunction' => '', 132 132 ), 133 'SubjectConnectState' => array( 134 'Type' => 'Enumeration', 135 'TypeDefinition' => array('Zájemce o připojení', 'Připojen', 'Trvale odpojen'), 136 'ViewHtml' => 'TypeEnumerationViewHtml', 137 'EditHtml' => 'TypeEnumerationEditHtml', 138 'DatabaseType' => 'INT', 139 'InitValue' => 0, 140 'ParseFunction' => '', 141 ), 133 142 ); 134 143
Note:
See TracChangeset
for help on using the changeset viewer.