Magellan Linux

Annotation of /alx-src/trunk/alx-web/help.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 355 - (hide annotations) (download)
Mon Oct 10 19:42:06 2005 UTC (18 years, 7 months ago) by niro
File size: 2705 byte(s)
cvs import: alx-web for alxconfig-ng
 - code clean up and
 - reorganized the whole structure

1 niro 355 <?
2     // Ausgeschriebene Namen
3     $pages = array(
4     'graphic'=>'cfg_graphic',
5     'network'=>'cfg_network',
6     'input'=>'cfg_input',
7     'auth'=>'client_auth',
8     'autostart'=>'cfg_autostart',
9     'serials'=>'client_serials',
10     'printers'=>'cfg_printers',
11     'sessions'=>'cfg_sessions',
12     'modules'=>'cfg_modules'
13     );
14    
15     // Inhalte: "Die Tabelle xyz enthält ..."
16     $contents = array(
17     'graphic'=>'Einstellungen zur Grafikausgabe',
18     'network'=>'Netzwerkeinstellungen',
19     'input'=>'Einstellungen zu Eingabegeräten',
20     'auth'=>'Authentifizierungsdaten',
21     'autostart'=>'Angaben zum Autostart',
22     'serials'=>'Informationen zur Identifikation der ALX-PCs',
23     'printers'=>'Druckereinstellungen',
24     'sessions'=>'Sitzungen, die dem Client zur Verfügung stehen',
25     'modules'=>'Module, die zusätzlich geladen werden'
26     );
27    
28     // Feld-Erklärungen
29     $tab = array();
30     $tab['graphic'] = array(
31     'resolution'=>'Auflösung',
32     'depth'=>'Farbtiefe in Bit',
33     'monitorid'=>'Kennziffer des Monitors',
34     'module'=>'Grafikmodul'
35     );
36    
37     $tab['network'] = array(
38     'hostname'=>'...',
39     'domain'=>'...',
40     'networking'=>'...',
41     'netmask'=>'...',
42     'dns'=>'...',
43     'gateway'=>'...',
44     'broadcast'=>'...',
45     'ip'=>'...',
46     'module'=>'...'
47     );
48    
49     $tab['input'] = array(
50     'mouse'=>'...',
51     'keyboard'=>'...'
52     );
53    
54     $tab['auth'] = array(
55     'username'=>'...',
56     'shell'=>'...',
57     'vnc'=>'...',
58     'samba'=>'...',
59     'station'=>'...'
60     );
61    
62     $tab['autostart'] = array(
63     'session'=>'Dateiname der ICA-Session, die beim Starten des ALX-PCs geöffnet werden soll'
64     );
65    
66     $tab['serials'] = array(
67     'serial'=>'...',
68     'mtime'=>'...',
69     'mac'=>'...'
70     );
71    
72     $tab['printers'] = array(
73     'port'=>'...',
74     'printer_name'=>'...',
75     'ip'=>'...',
76     'share'=>'...',
77     );
78    
79     $tab['sessions'] = array(
80     'session'=>'...',
81     'filename'=>'...',
82     'username'=>'...',
83     'domain'=>'...',
84     'password'=>'...',
85     'browseradrs'=>'...'
86     );
87    
88     $tab['modules'] = array(
89     'module'=>'...'
90     );
91    
92     echo '<table height=100%><tr><td width=425 valign=top style="border-right:solid black 1px">';
93     echo '<big><big><b>'.$pages[$page].'</b></big></big><br>';
94     echo 'Die Tabelle <b>'.$pages[$page].'</b> enthält '.$contents[$page].'.<br><br>';
95    
96     if(isset($tab[$page]))
97     {
98     echo '<table width=95% border>';
99     foreach($tab[$page] as $k=>$v) echo '<tr><td width=100 valign=top><b>'.$k.'</b></td><td>'.$v.'</td></tr>';
100     echo '</table>';
101     }
102    
103     echo '</td><td valign=top><img src="pics/logo2.jpg"><br><br>';
104    
105     echo 'Hilfe zu...<br>';
106     foreach($pages as $k=>$p) echo '<a href="help.php?page='.$k.'" style="color:#000000;text-decoration:none"><b>:: '.$p.'</b></a><br>';
107     echo '</td>';
108     ?>
109    

Properties

Name Value
svn:executable *