Changeset 26
- Timestamp:
- 2007-11-23 16:32:12 (4 years ago)
- Files:
-
- trunk/admin/classes/pages/Category.php (modified) (1 diff)
- trunk/classes/pages/Category.php (modified) (2 diffs)
- trunk/classes/pages/Page.php (modified) (1 diff)
- trunk/install.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/admin/classes/pages/Category.php
r23 r26 42 42 } else { 43 43 // login form 44 $this->permissionDenied( 'category', NULL, TRUE);44 $this->permissionDenied($F->link('category'), NULL, TRUE); 45 45 } 46 46 } /* constructor */ trunk/classes/pages/Category.php
r24 r26 118 118 } 119 119 if ($_mods != '') { 120 $_mods = $LANG['Moderators'] . ': ' . $_mods;120 $_mods = '<b>' . $LANG['Moderators'] . ': ' . $_mods . '</b><br />'; 121 121 } 122 122 // show forum overview 123 $table->addRow(Array($_mark, '<td><h3><a href="' . $F->link('forum') . 'id=' . $row2['forumid'] . '">' . $row2['forumtitle'] . '</a></h3> <b>' . $_mods . '</b><br />'. $row2['forumdescription'] . '</td>', '<td align="center">' . $row3->topics . '</td>', '<td align="center">' . $row4->posts . '</td>', '<td><div>' . $LANG['by'] . ' ' . $_poster->getProfileLink() . '</div><div>' . $LANG['in'] . ' <a href="' . $F->link('topic') . 'id=' . $row5->topicid . '">' . $row5->topictitle . '</a></div><div>' . $F->datetime($row5->posttime) . '</div></td>'));123 $table->addRow(Array($_mark, '<td><h3><a href="' . $F->link('forum') . 'id=' . $row2['forumid'] . '">' . $row2['forumtitle'] . '</a></h3>' . $_mods . $row2['forumdescription'] . '</td>', '<td align="center">' . $row3->topics . '</td>', '<td align="center">' . $row4->posts . '</td>', '<td><div>' . $LANG['by'] . ' ' . $_poster->getProfileLink() . '</div><div>' . $LANG['in'] . ' <a href="' . $F->link('topic') . 'id=' . $row5->topicid . '">' . $row5->topictitle . '</a></div><div>' . $F->datetime($row5->posttime) . '</div></td>')); 124 124 } 125 125 } … … 145 145 if ($this->show_maint == 1 && $SETTINGS['maintainancemode'] == 1 && (!isset($id) || $id == '')) { 146 146 // 'permission denied' in maintainance mode results in a message 147 $this->permissionDenied($F->link('category') . 'id=' . $id);147 $this->permissionDenied($F->link('category')); 148 148 } 149 149 } /* constructor */ trunk/classes/pages/Page.php
r24 r26 446 446 // maybe user can rectify this by entering his password 447 447 $this->html->body->addChild('h2', $LANG['Login']); 448 $this->loginForm($ F->link($t), $a, $admin);448 $this->loginForm($t, $a, $admin); 449 449 // redefine title and location 450 450 $this->title = ' - ' . $LANG['Login']; trunk/install.php
r25 r26 316 316 $db = explode(';', $db); 317 317 foreach ($db as $query) { 318 $C->query(str_replace('%prefix%', $SETTINGS['dbtableprefix'], $query));318 @$C->query(str_replace('%prefix%', $SETTINGS['dbtableprefix'], $query)); 319 319 } 320 320 } … … 592 592 print(' 593 593 </form> 594 <pre>595 ');596 print_r($SETUPDATA);597 print('598 </pre>599 594 </body> 600 595 </html>
