Changeset 168 for www/index.php
- Timestamp:
- Mar 24, 2009, 1:36:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
www/index.php
r167 r168 29 29 array('Technické informace', '/network.php', 'tech.gif'), 30 30 array('Webkamera', '/webcam/', 'clear.gif'), 31 array(' Stránky našísítě', 'http://www.zdechov.net/', ''),31 array('Vnější stránky sítě', 'http://www.zdechov.net/', ''), 32 32 array('Kanály kabelovky', '/tkr.php', 'tv.gif'), 33 33 array('Historie sítě', '/history.php', ''), … … 84 84 foreach($LinkGroup as $Link) 85 85 { 86 if($Link[2] == '') $Link[2] = 'clear.gif'; 86 87 if(substr($Link[1], 0, 4) != 'http') $Link[1] = $this->System->Config['Web']['RootFolder'].$Link[1]; 87 88 if(!isset($Link[3]) or (isset($Link[3]) and $this->System->Modules['User']->CheckPermission($Link[3][0], $Link[3][1]))) 88 if($Link[2] == '') $Link[2] = 'clear.gif';89 89 90 $Result .= '<img alt="'.$Link[0].'" src="images/favicons/'.$Link[2].'" width="16" height="16" /> <a href="'.$Link[1].'">'.$Link[0].'</a><br />'; 90 91 } … … 210 211 global $Database, $Config, $User; 211 212 212 $Output = '';213 $Output = ''; 213 214 if(array_key_exists('Action', $_GET)) 214 215 { … … 219 220 if($_GET['Action'] == 'LoginForm') 220 221 { 221 $Output .= '<form action="?Action=Login" method="post"><center><fieldset style="width: 500px;"><legend>Přihlašovací údaje</legend> 222 <table class="hidden">223 <tr align="left"><td colspan="2">Jméno:</td></tr>224 <tr align="left"><td colspan="2"><input type="text" name="Username" size="40" maxlength="16" /></td></tr> 225 <tr align="left"><td colspan="2">Heslo:</td></tr>226 <tr align="left"><td colspan="2"><input type="password" name="Password" size="40" maxlength="16" /></td></tr>227 <tr><td colspan="2"> </td></tr>228 <tr align="left">'.229 //<td><input type="checkbox" name="remember" value="1" checked="checked" /> Trvalé přihlášení</td>230 '<td align="center" colspan="2"><input type="submit" value="Přihlásit" /></td>231 </tr>232 <tr align="left"> 233 <td><a href="?Action=UserRegister">Registrovat se</a></td>234 <td><a href="?Action=PasswordRecovery">Obnova zapomenutého hesla</a></td>235 </tr>236 </table>237 </fieldset></center>238 </form>';222 $Output .= '<form action="?Action=Login" method="post"><center><fieldset style="width: 500px;"><legend>Přihlašovací údaje</legend>'. 223 '<table class="hidden">'. 224 '<tr align="left"><td colspan="2">Jméno:</td></tr>'. 225 '<tr align="left"><td colspan="2"><input type="text" name="Username" size="40" maxlength="16" /></td></tr>'. 226 '<tr align="left"><td colspan="2">Heslo:</td></tr>'. 227 '<tr align="left"><td colspan="2"><input type="password" name="Password" size="40" maxlength="16" /></td></tr>'. 228 '<tr><td colspan="2"> </td></tr>'. 229 '<tr align="left">'. 230 //<td><input type="checkbox" name="remember" value="1" checked="checked" /> Trvalé přihlášení</td> 231 '<td align="center" colspan="2"><input type="submit" value="Přihlásit" /></td>'. 232 '</tr>'. 233 '<tr align="left">'. 234 '<td><a href="?Action=UserRegister">Registrovat se</a></td>'. 235 '<td><a href="?Action=PasswordRecovery">Obnova zapomenutého hesla</a></td>'. 236 '</tr>'. 237 '</table>'. 238 '</fieldset></center>'. 239 '</form>'; 239 240 // $Output .= $this->SystemMessage('Test', $Output); 240 241 } else
Note:
See TracChangeset
for help on using the changeset viewer.