fluxbb-1.5.5 to fluxbb-1.5.6 Legend
Lines removed 
Lines changed
 Lines added

a/admin_bans.php b/admin_bans.php
116: <?php endif; ?>                <fieldset>116: <?php endif; ?>                <fieldset>
117:                         <legend><?php echo $lang_admin_bans['Ban advanced subhead'] ?></legend>117:                         <legend><?php echo $lang_admin_bans['Ban advanced subhead'] ?></legend>
118:                         <div class="infldset">118:                         <div class="infldset">
119:                             <table class="aligntop" cellspacing="0">119:                             <table class="aligntop">
120:                                 <tr>120:                                 <tr>
121:                                     <th scope="row"><?php echo $lang_admin_bans['Username label'] ?></th>121:                                     <th scope="row"><?php echo $lang_admin_bans['Username label'] ?></th>
122:                                     <td>122:                                     <td>
147:                     <fieldset>147:                     <fieldset>
148:                         <legend><?php echo $lang_admin_bans['Message expiry subhead'] ?></legend>148:                         <legend><?php echo $lang_admin_bans['Message expiry subhead'] ?></legend>
149:                         <div class="infldset">149:                         <div class="infldset">
150:                             <table class="aligntop" cellspacing="0">150:                             <table class="aligntop">
151:                                 <tr>151:                                 <tr>
152:                                     <th scope="row"><?php echo $lang_admin_bans['Ban message label'] ?></th>152:                                     <th scope="row"><?php echo $lang_admin_bans['Ban message label'] ?></th>
153:                                     <td>153:                                     <td>
407:     <h2><span><?php echo $lang_admin_bans['Results head'] ?></span></h2>407:     <h2><span><?php echo $lang_admin_bans['Results head'] ?></span></h2>
408:     <div class="box">408:     <div class="box">
409:         <div class="inbox">409:         <div class="inbox">
410:             <table cellspacing="0">410:             <table>
411:             <thead>411:             <thead>
412:                 <tr>412:                 <tr>
413:                     <th class="tcl" scope="col"><?php echo $lang_admin_bans['Results username head'] ?></th>413:                     <th class="tcl" scope="col"><?php echo $lang_admin_bans['Results username head'] ?></th>
489:                     <fieldset>489:                     <fieldset>
490:                         <legend><?php echo $lang_admin_bans['Add ban subhead'] ?></legend>490:                         <legend><?php echo $lang_admin_bans['Add ban subhead'] ?></legend>
491:                         <div class="infldset">491:                         <div class="infldset">
492:                             <table class="aligntop" cellspacing="0">492:                             <table class="aligntop">
493:                                 <tr>493:                                 <tr>
494:                                     <th scope="row"><?php echo $lang_admin_bans['Username label'] ?><div><input type="submit" name="add_ban" value="<?php echo $lang_admin_common['Add'] ?>" tabindex="2" /></div></th>494:                                     <th scope="row"><?php echo $lang_admin_bans['Username label'] ?><div><input type="submit" name="add_ban" value="<?php echo $lang_admin_common['Add'] ?>" tabindex="2" /></div></th>
495:                                     <td>495:                                     <td>
513:                         <legend><?php echo $lang_admin_bans['Ban search subhead'] ?></legend>513:                         <legend><?php echo $lang_admin_bans['Ban search subhead'] ?></legend>
514:                         <div class="infldset">514:                         <div class="infldset">
515:                             <p><?php echo $lang_admin_bans['Ban search info'] ?></p>515:                             <p><?php echo $lang_admin_bans['Ban search info'] ?></p>
516:                             <table class="aligntop" cellspacing="0">516:                             <table class="aligntop">
517:                                 <tr>517:                                 <tr>
518:                                     <th scope="row"><?php echo $lang_admin_bans['Username label'] ?></th>518:                                     <th scope="row"><?php echo $lang_admin_bans['Username label'] ?></th>
519:                                     <td><input type="text" name="form[username]" size="25" maxlength="25" tabindex="4" /></td>519:                                     <td><input type="text" name="form[username]" size="25" maxlength="25" tabindex="4" /></td>


a/admin_categories.php b/admin_categories.php
175:                     <fieldset>175:                     <fieldset>
176:                         <legend><?php echo $lang_admin_categories['Add categories subhead'] ?></legend>176:                         <legend><?php echo $lang_admin_categories['Add categories subhead'] ?></legend>
177:                         <div class="infldset">177:                         <div class="infldset">
178:                             <table class="aligntop" cellspacing="0">178:                             <table class="aligntop">
179:                                 <tr>179:                                 <tr>
180:                                     <th scope="row"><?php echo $lang_admin_categories['Add category label'] ?><div><input type="submit" name="add_cat" value="<?php echo $lang_admin_categories['Add new submit'] ?>" tabindex="2" /></div></th>180:                                     <th scope="row"><?php echo $lang_admin_categories['Add category label'] ?><div><input type="submit" name="add_cat" value="<?php echo $lang_admin_categories['Add new submit'] ?>" tabindex="2" /></div></th>
181:                                     <td>181:                                     <td>
197:                     <fieldset>197:                     <fieldset>
198:                         <legend><?php echo $lang_admin_categories['Delete categories subhead'] ?></legend>198:                         <legend><?php echo $lang_admin_categories['Delete categories subhead'] ?></legend>
199:                         <div class="infldset">199:                         <div class="infldset">
200:                             <table class="aligntop" cellspacing="0">200:                             <table class="aligntop">
201:                                 <tr>201:                                 <tr>
202:                                     <th scope="row"><?php echo $lang_admin_categories['Delete category label'] ?><div><input type="submit" name="del_cat" value="<?php echo $lang_admin_common['Delete'] ?>" tabindex="4" /></div></th>202:                                     <th scope="row"><?php echo $lang_admin_categories['Delete category label'] ?><div><input type="submit" name="del_cat" value="<?php echo $lang_admin_common['Delete'] ?>" tabindex="4" /></div></th>
203:                                     <td>203:                                     <td>
227:                     <fieldset>227:                     <fieldset>
228:                         <legend><?php echo $lang_admin_categories['Edit categories subhead'] ?></legend>228:                         <legend><?php echo $lang_admin_categories['Edit categories subhead'] ?></legend>
229:                         <div class="infldset">229:                         <div class="infldset">
230:                             <table id="categoryedit" cellspacing="0" >230:                             <table id="categoryedit">
231:                             <thead>231:                             <thead>
232:                                 <tr>232:                                 <tr>
233:                                     <th class="tcl" scope="col"><?php echo $lang_admin_categories['Category name label'] ?></th>233:                                     <th class="tcl" scope="col"><?php echo $lang_admin_categories['Category name label'] ?></th>


a/admin_censoring.php b/admin_censoring.php
101:                         <legend><?php echo $lang_admin_censoring['Add word subhead'] ?></legend>101:                         <legend><?php echo $lang_admin_censoring['Add word subhead'] ?></legend>
102:                         <div class="infldset">102:                         <div class="infldset">
103:                             <p><?php echo $lang_admin_censoring['Add word info'].' '.($pun_config['o_censoring'] == '1' ? sprintf($lang_admin_censoring['Censoring enabled'], '<a href="admin_options.php#censoring">'.$lang_admin_common['Options'].'</a>') : sprintf($lang_admin_censoring['Censoring disabled'], '<a href="admin_options.php#censoring">'.$lang_admin_common['Options'].'</a>')) ?></p>103:                             <p><?php echo $lang_admin_censoring['Add word info'].' '.($pun_config['o_censoring'] == '1' ? sprintf($lang_admin_censoring['Censoring enabled'], '<a href="admin_options.php#censoring">'.$lang_admin_common['Options'].'</a>') : sprintf($lang_admin_censoring['Censoring disabled'], '<a href="admin_options.php#censoring">'.$lang_admin_common['Options'].'</a>')) ?></p>
104:                             <table cellspacing="0">104:                             <table>
105:                             <thead>105:                             <thead>
106:                                 <tr>106:                                 <tr>
107:                                     <th class="tcl" scope="col"><?php echo $lang_admin_censoring['Censored word label'] ?></th>107:                                     <th class="tcl" scope="col"><?php echo $lang_admin_censoring['Censored word label'] ?></th>
131: {131: {
132: 132: 
133: ?>133: ?>
134:                             <table cellspacing="0" >134:                             <table>
135:                             <thead>135:                             <thead>
136:                                 <tr>136:                                 <tr>
137:                                     <th class="tcl" scope="col"><?php echo $lang_admin_censoring['Censored word label'] ?></th>137:                                     <th class="tcl" scope="col"><?php echo $lang_admin_censoring['Censored word label'] ?></th>


a/admin_forums.php b/admin_forums.php
245:                     <fieldset>245:                     <fieldset>
246:                         <legend><?php echo $lang_admin_forums['Edit details subhead'] ?></legend>246:                         <legend><?php echo $lang_admin_forums['Edit details subhead'] ?></legend>
247:                         <div class="infldset">247:                         <div class="infldset">
248:                             <table class="aligntop" cellspacing="0">248:                             <table class="aligntop">
249:                                 <tr>249:                                 <tr>
250:                                     <th scope="row"><?php echo $lang_admin_forums['Forum name label'] ?></th>250:                                     <th scope="row"><?php echo $lang_admin_forums['Forum name label'] ?></th>
251:                                     <td><input type="text" name="forum_name" size="35" maxlength="80" value="<?php echo pun_htmlspecialchars($cur_forum['forum_name']) ?>" tabindex="1" /></td>251:                                     <td><input type="text" name="forum_name" size="35" maxlength="80" value="<?php echo pun_htmlspecialchars($cur_forum['forum_name']) ?>" tabindex="1" /></td>
294:                         <legend><?php echo $lang_admin_forums['Group permissions subhead'] ?></legend>294:                         <legend><?php echo $lang_admin_forums['Group permissions subhead'] ?></legend>
295:                         <div class="infldset">295:                         <div class="infldset">
296:                             <p><?php printf($lang_admin_forums['Group permissions info'], '<a href="admin_groups.php">'.$lang_admin_common['User groups'].'</a>') ?></p>296:                             <p><?php printf($lang_admin_forums['Group permissions info'], '<a href="admin_groups.php">'.$lang_admin_common['User groups'].'</a>') ?></p>
297:                             <table id="forumperms" cellspacing="0">297:                             <table id="forumperms">
298:                             <thead>298:                             <thead>
299:                                 <tr>299:                                 <tr>
300:                                     <th class="atcl">&#160;</th>300:                                     <th class="atcl">&#160;</th>
383:                     <fieldset>383:                     <fieldset>
384:                         <legend><?php echo $lang_admin_forums['Create new subhead'] ?></legend>384:                         <legend><?php echo $lang_admin_forums['Create new subhead'] ?></legend>
385:                         <div class="infldset">385:                         <div class="infldset">
386:                             <table class="aligntop" cellspacing="0">386:                             <table class="aligntop">
387:                                 <tr>387:                                 <tr>
388:                                     <th scope="row"><?php echo $lang_admin_forums['Add forum label'] ?><div><input type="submit" name="add_forum" value="<?php echo $lang_admin_forums['Add forum'] ?>" tabindex="2" /></div></th>388:                                     <th scope="row"><?php echo $lang_admin_forums['Add forum label'] ?><div><input type="submit" name="add_forum" value="<?php echo $lang_admin_forums['Add forum'] ?>" tabindex="2" /></div></th>
389:                                     <td>389:                                     <td>
454:                     <fieldset>454:                     <fieldset>
455:                         <legend><?php echo $lang_admin_forums['Category subhead'] ?> <?php echo pun_htmlspecialchars($cur_forum['cat_name']) ?></legend>455:                         <legend><?php echo $lang_admin_forums['Category subhead'] ?> <?php echo pun_htmlspecialchars($cur_forum['cat_name']) ?></legend>
456:                         <div class="infldset">456:                         <div class="infldset">
457:                             <table cellspacing="0">457:                             <table>
458:                             <thead>458:                             <thead>
459:                                 <tr>459:                                 <tr>
460:                                     <th class="tcl"><?php echo $lang_admin_common['Action'] ?></th>460:                                     <th class="tcl"><?php echo $lang_admin_common['Action'] ?></th>


a/admin_groups.php b/admin_groups.php
 71:                         <legend><?php echo $lang_admin_groups['Group settings subhead'] ?></legend> 71:                         <legend><?php echo $lang_admin_groups['Group settings subhead'] ?></legend>
 72:                         <div class="infldset"> 72:                         <div class="infldset">
 73:                             <p><?php echo $lang_admin_groups['Group settings info'] ?></p> 73:                             <p><?php echo $lang_admin_groups['Group settings info'] ?></p>
 74:                             <table class="aligntop" cellspacing="0"> 74:                             <table class="aligntop">
 75:                                 <tr> 75:                                 <tr>
 76:                                     <th scope="row"><?php echo $lang_admin_groups['Group title label'] ?></th> 76:                                     <th scope="row"><?php echo $lang_admin_groups['Group title label'] ?></th>
 77:                                     <td> 77:                                     <td>
540:                     <fieldset>540:                     <fieldset>
541:                         <legend><?php echo $lang_admin_groups['Add group subhead'] ?></legend>541:                         <legend><?php echo $lang_admin_groups['Add group subhead'] ?></legend>
542:                         <div class="infldset">542:                         <div class="infldset">
543:                             <table class="aligntop" cellspacing="0">543:                             <table class="aligntop">
544:                                 <tr>544:                                 <tr>
545:                                     <th scope="row"><?php echo $lang_admin_groups['New group label'] ?><div><input type="submit" name="add_group" value="<?php echo $lang_admin_common['Add'] ?>" tabindex="2" /></div></th>545:                                     <th scope="row"><?php echo $lang_admin_groups['New group label'] ?><div><input type="submit" name="add_group" value="<?php echo $lang_admin_common['Add'] ?>" tabindex="2" /></div></th>
546:                                     <td>546:                                     <td>
571:                     <fieldset>571:                     <fieldset>
572:                         <legend><?php echo $lang_admin_groups['Default group subhead'] ?></legend>572:                         <legend><?php echo $lang_admin_groups['Default group subhead'] ?></legend>
573:                         <div class="infldset">573:                         <div class="infldset">
574:                             <table class="aligntop" cellspacing="0">574:                             <table class="aligntop">
575:                                 <tr>575:                                 <tr>
576:                                     <th scope="row"><?php echo $lang_admin_groups['Default group label'] ?><div><input type="submit" name="set_default_group" value="<?php echo $lang_admin_common['Save'] ?>" tabindex="4" /></div></th>576:                                     <th scope="row"><?php echo $lang_admin_groups['Default group label'] ?><div><input type="submit" name="set_default_group" value="<?php echo $lang_admin_common['Save'] ?>" tabindex="4" /></div></th>
577:                                     <td>577:                                     <td>
609:                         <legend><?php echo $lang_admin_groups['Edit groups subhead'] ?></legend>609:                         <legend><?php echo $lang_admin_groups['Edit groups subhead'] ?></legend>
610:                         <div class="infldset">610:                         <div class="infldset">
611:                             <p><?php echo $lang_admin_groups['Edit groups info'] ?></p>611:                             <p><?php echo $lang_admin_groups['Edit groups info'] ?></p>
612:                             <table cellspacing="0">612:                             <table>
613: <?php613: <?php
614: 614: 
615: $cur_index = 5;615: $cur_index = 5;


a/admin_maintenance.php b/admin_maintenance.php
262:                         <legend><?php echo $lang_admin_maintenance['Rebuild index subhead'] ?></legend>262:                         <legend><?php echo $lang_admin_maintenance['Rebuild index subhead'] ?></legend>
263:                         <div class="infldset">263:                         <div class="infldset">
264:                             <p><?php printf($lang_admin_maintenance['Rebuild index info'], '<a href="admin_options.php#maintenance">'.$lang_admin_common['Maintenance mode'].'</a>') ?></p>264:                             <p><?php printf($lang_admin_maintenance['Rebuild index info'], '<a href="admin_options.php#maintenance">'.$lang_admin_common['Maintenance mode'].'</a>') ?></p>
265:                             <table class="aligntop" cellspacing="0">265:                             <table class="aligntop">
266:                                 <tr>266:                                 <tr>
267:                                     <th scope="row"><?php echo $lang_admin_maintenance['Posts per cycle label'] ?></th>267:                                     <th scope="row"><?php echo $lang_admin_maintenance['Posts per cycle label'] ?></th>
268:                                     <td>268:                                     <td>
297:                     <fieldset>297:                     <fieldset>
298:                         <legend><?php echo $lang_admin_maintenance['Prune subhead'] ?></legend>298:                         <legend><?php echo $lang_admin_maintenance['Prune subhead'] ?></legend>
299:                         <div class="infldset">299:                         <div class="infldset">
300:                             <table class="aligntop" cellspacing="0">300:                             <table class="aligntop">
301:                                 <tr>301:                                 <tr>
302:                                     <th scope="row"><?php echo $lang_admin_maintenance['Days old label'] ?></th>302:                                     <th scope="row"><?php echo $lang_admin_maintenance['Days old label'] ?></th>
303:                                     <td>303:                                     <td>


a/admin_options.php b/admin_options.php
238:                     <fieldset>238:                     <fieldset>
239:                         <legend><?php echo $lang_admin_options['Essentials subhead'] ?></legend>239:                         <legend><?php echo $lang_admin_options['Essentials subhead'] ?></legend>
240:                         <div class="infldset">240:                         <div class="infldset">
241:                             <table class="aligntop" cellspacing="0">241:                             <table class="aligntop">
242:                                 <tr>242:                                 <tr>
243:                                     <th scope="row"><?php echo $lang_admin_options['Board title label'] ?></th>243:                                     <th scope="row"><?php echo $lang_admin_options['Board title label'] ?></th>
244:                                     <td>244:                                     <td>
372:                     <fieldset>372:                     <fieldset>
373:                         <legend><?php echo $lang_admin_options['Timeouts subhead'] ?></legend>373:                         <legend><?php echo $lang_admin_options['Timeouts subhead'] ?></legend>
374:                         <div class="infldset">374:                         <div class="infldset">
375:                             <table class="aligntop" cellspacing="0">375:                             <table class="aligntop">
376:                                 <tr>376:                                 <tr>
377:                                     <th scope="row"><?php echo $lang_admin_options['Time format label'] ?></th>377:                                     <th scope="row"><?php echo $lang_admin_options['Time format label'] ?></th>
378:                                     <td>378:                                     <td>
416:                     <fieldset>416:                     <fieldset>
417:                         <legend><?php echo $lang_admin_options['Display subhead'] ?></legend>417:                         <legend><?php echo $lang_admin_options['Display subhead'] ?></legend>
418:                         <div class="infldset">418:                         <div class="infldset">
419:                             <table class="aligntop" cellspacing="0">419:                             <table class="aligntop">
420:                                 <tr>420:                                 <tr>
421:                                     <th scope="row"><?php echo $lang_admin_options['Version number label'] ?></th>421:                                     <th scope="row"><?php echo $lang_admin_options['Version number label'] ?></th>
422:                                     <td>422:                                     <td>
508:                     <fieldset>508:                     <fieldset>
509:                         <legend><?php echo $lang_admin_options['Features subhead'] ?></legend>509:                         <legend><?php echo $lang_admin_options['Features subhead'] ?></legend>
510:                         <div class="infldset">510:                         <div class="infldset">
511:                             <table class="aligntop" cellspacing="0">511:                             <table class="aligntop">
512:                                 <tr>512:                                 <tr>
513:                                     <th scope="row"><?php echo $lang_admin_options['Quick post label'] ?></th>513:                                     <th scope="row"><?php echo $lang_admin_options['Quick post label'] ?></th>
514:                                     <td>514:                                     <td>
596:                     <fieldset>596:                     <fieldset>
597:                         <legend><?php echo $lang_admin_options['Feed subhead'] ?></legend>597:                         <legend><?php echo $lang_admin_options['Feed subhead'] ?></legend>
598:                         <div class="infldset">598:                         <div class="infldset">
599:                             <table class="aligntop" cellspacing="0">599:                             <table class="aligntop">
600:                                 <tr>600:                                 <tr>
601:                                     <th scope="row"><?php echo $lang_admin_options['Default feed label'] ?></th>601:                                     <th scope="row"><?php echo $lang_admin_options['Default feed label'] ?></th>
602:                                     <td>602:                                     <td>
631:                     <fieldset>631:                     <fieldset>
632:                         <legend><?php echo $lang_admin_options['Reports subhead'] ?></legend>632:                         <legend><?php echo $lang_admin_options['Reports subhead'] ?></legend>
633:                         <div class="infldset">633:                         <div class="infldset">
634:                             <table class="aligntop" cellspacing="0">634:                             <table class="aligntop">
635:                                 <tr>635:                                 <tr>
636:                                     <th scope="row"><?php echo $lang_admin_options['Reporting method label'] ?></th>636:                                     <th scope="row"><?php echo $lang_admin_options['Reporting method label'] ?></th>
637:                                     <td>637:                                     <td>
656:                     <fieldset>656:                     <fieldset>
657:                         <legend><?php echo $lang_admin_options['Avatars subhead'] ?></legend>657:                         <legend><?php echo $lang_admin_options['Avatars subhead'] ?></legend>
658:                         <div class="infldset">658:                         <div class="infldset">
659:                             <table class="aligntop" cellspacing="0">659:                             <table class="aligntop">
660:                                 <tr>660:                                 <tr>
661:                                     <th scope="row"><?php echo $lang_admin_options['Use avatars label'] ?></th>661:                                     <th scope="row"><?php echo $lang_admin_options['Use avatars label'] ?></th>
662:                                     <td>662:                                     <td>
701:                     <fieldset>701:                     <fieldset>
702:                         <legend><?php echo $lang_admin_options['E-mail subhead'] ?></legend>702:                         <legend><?php echo $lang_admin_options['E-mail subhead'] ?></legend>
703:                         <div class="infldset">703:                         <div class="infldset">
704:                             <table class="aligntop" cellspacing="0">704:                             <table class="aligntop">
705:                                 <tr>705:                                 <tr>
706:                                     <th scope="row"><?php echo $lang_admin_options['Admin e-mail label'] ?></th>706:                                     <th scope="row"><?php echo $lang_admin_options['Admin e-mail label'] ?></th>
707:                                     <td>707:                                     <td>
772:                     <fieldset>772:                     <fieldset>
773:                         <legend><?php echo $lang_admin_options['Registration subhead'] ?></legend>773:                         <legend><?php echo $lang_admin_options['Registration subhead'] ?></legend>
774:                         <div class="infldset">774:                         <div class="infldset">
775:                             <table class="aligntop" cellspacing="0">775:                             <table class="aligntop">
776:                                 <tr>776:                                 <tr>
777:                                     <th scope="row"><?php echo $lang_admin_options['Allow new label'] ?></th>777:                                     <th scope="row"><?php echo $lang_admin_options['Allow new label'] ?></th>
778:                                     <td>778:                                     <td>
829:                     <fieldset>829:                     <fieldset>
830:                         <legend><?php echo $lang_admin_options['Announcement subhead'] ?></legend>830:                         <legend><?php echo $lang_admin_options['Announcement subhead'] ?></legend>
831:                         <div class="infldset">831:                         <div class="infldset">
832:                             <table class="aligntop" cellspacing="0">832:                             <table class="aligntop">
833:                                 <tr>833:                                 <tr>
834:                                     <th scope="row"><?php echo $lang_admin_options['Display announcement label'] ?></th>834:                                     <th scope="row"><?php echo $lang_admin_options['Display announcement label'] ?></th>
835:                                     <td>835:                                     <td>
853:                     <fieldset>853:                     <fieldset>
854:                         <legend><?php echo $lang_admin_options['Maintenance subhead'] ?></legend>854:                         <legend><?php echo $lang_admin_options['Maintenance subhead'] ?></legend>
855:                         <div class="infldset">855:                         <div class="infldset">
856:                             <table class="aligntop" cellspacing="0">856:                             <table class="aligntop">
857:                                 <tr>857:                                 <tr>
858:                                     <th scope="row"><a name="maintenance"></a><?php echo $lang_admin_options['Maintenance mode label'] ?></th>858:                                     <th scope="row"><a name="maintenance"></a><?php echo $lang_admin_options['Maintenance mode label'] ?></th>
859:                                     <td>859:                                     <td>


a/admin_permissions.php b/admin_permissions.php
 63:                     <fieldset> 63:                     <fieldset>
 64:                         <legend><?php echo $lang_admin_permissions['Posting subhead'] ?></legend> 64:                         <legend><?php echo $lang_admin_permissions['Posting subhead'] ?></legend>
 65:                         <div class="infldset"> 65:                         <div class="infldset">
 66:                             <table class="aligntop" cellspacing="0"> 66:                             <table class="aligntop">
 67:                                 <tr> 67:                                 <tr>
 68:                                     <th scope="row"><?php echo $lang_admin_permissions['BBCode label'] ?></th> 68:                                     <th scope="row"><?php echo $lang_admin_permissions['BBCode label'] ?></th>
 69:                                     <td> 69:                                     <td>
112:                     <fieldset>112:                     <fieldset>
113:                         <legend><?php echo $lang_admin_permissions['Signatures subhead'] ?></legend>113:                         <legend><?php echo $lang_admin_permissions['Signatures subhead'] ?></legend>
114:                         <div class="infldset">114:                         <div class="infldset">
115:                             <table class="aligntop" cellspacing="0">115:                             <table class="aligntop">
116:                                 <tr>116:                                 <tr>
117:                                     <th scope="row"><?php echo $lang_admin_permissions['BBCode sigs label'] ?></th>117:                                     <th scope="row"><?php echo $lang_admin_permissions['BBCode sigs label'] ?></th>
118:                                     <td>118:                                     <td>
159:                     <fieldset>159:                     <fieldset>
160:                         <legend><?php echo $lang_admin_permissions['Registration subhead'] ?></legend>160:                         <legend><?php echo $lang_admin_permissions['Registration subhead'] ?></legend>
161:                         <div class="infldset">161:                         <div class="infldset">
162:                             <table class="aligntop" cellspacing="0">162:                             <table class="aligntop">
163:                                 <tr>163:                                 <tr>
164:                                     <th scope="row"><?php echo $lang_admin_permissions['Banned e-mail label'] ?></th>164:                                     <th scope="row"><?php echo $lang_admin_permissions['Banned e-mail label'] ?></th>
165:                                     <td>165:                                     <td>


a/admin_reports.php b/admin_reports.php
 76:                     <fieldset> 76:                     <fieldset>
 77:                         <legend><?php printf($lang_admin_reports['Report subhead'], format_time($cur_report['created'])) ?></legend> 77:                         <legend><?php printf($lang_admin_reports['Report subhead'], format_time($cur_report['created'])) ?></legend>
 78:                         <div class="infldset"> 78:                         <div class="infldset">
 79:                             <table class="aligntop" cellspacing="0"> 79:                             <table class="aligntop">
 80:                                 <tr> 80:                                 <tr>
 81:                                     <th scope="row"><?php printf($lang_admin_reports['Reported by'], $reporter) ?></th> 81:                                     <th scope="row"><?php printf($lang_admin_reports['Reported by'], $reporter) ?></th>
 82:                                     <td class="location"><?php echo implode(' ', $report_location) ?></td> 82:                                     <td class="location"><?php echo implode(' ', $report_location) ?></td>
140:                     <fieldset>140:                     <fieldset>
141:                         <legend><?php printf($lang_admin_reports['Zapped subhead'], format_time($cur_report['zapped']), $zapped_by) ?></legend>141:                         <legend><?php printf($lang_admin_reports['Zapped subhead'], format_time($cur_report['zapped']), $zapped_by) ?></legend>
142:                         <div class="infldset">142:                         <div class="infldset">
143:                             <table class="aligntop" cellspacing="0">143:                             <table class="aligntop">
144:                                 <tr>144:                                 <tr>
145:                                     <th scope="row"><?php printf($lang_admin_reports['Reported by'], $reporter) ?></th>145:                                     <th scope="row"><?php printf($lang_admin_reports['Reported by'], $reporter) ?></th>
146:                                     <td class="location"><?php echo implode(' ', $report_location) ?></td>146:                                     <td class="location"><?php echo implode(' ', $report_location) ?></td>


a/admin_users.php b/admin_users.php
 63:     <h2><span><?php echo $lang_admin_users['Results head'] ?></span></h2> 63:     <h2><span><?php echo $lang_admin_users['Results head'] ?></span></h2>
 64:     <div class="box"> 64:     <div class="box">
 65:         <div class="inbox"> 65:         <div class="inbox">
 66:             <table cellspacing="0"> 66:             <table>
 67:             <thead> 67:             <thead>
 68:                 <tr> 68:                 <tr>
 69:                     <th class="tcl" scope="col"><?php echo $lang_admin_users['Results IP address head'] ?></th> 69:                     <th class="tcl" scope="col"><?php echo $lang_admin_users['Results IP address head'] ?></th>
164:     <h2><span><?php echo $lang_admin_users['Results head'] ?></span></h2>164:     <h2><span><?php echo $lang_admin_users['Results head'] ?></span></h2>
165:     <div class="box">165:     <div class="box">
166:         <div class="inbox">166:         <div class="inbox">
167:             <table cellspacing="0">167:             <table>
168:             <thead>168:             <thead>
169:                 <tr>169:                 <tr>
170:                     <th class="tcl" scope="col"><?php echo $lang_admin_users['Results username head'] ?></th>170:                     <th class="tcl" scope="col"><?php echo $lang_admin_users['Results username head'] ?></th>
361:                     <fieldset>361:                     <fieldset>
362:                         <legend><?php echo $lang_admin_users['Move users subhead'] ?></legend>362:                         <legend><?php echo $lang_admin_users['Move users subhead'] ?></legend>
363:                         <div class="infldset">363:                         <div class="infldset">
364:                             <table class="aligntop" cellspacing="0">364:                             <table class="aligntop">
365:                                 <tr>365:                                 <tr>
366:                                     <th scope="row"><?php echo $lang_admin_users['New group label'] ?></th>366:                                     <th scope="row"><?php echo $lang_admin_users['New group label'] ?></th>
367:                                     <td>367:                                     <td>
643:                     <fieldset>643:                     <fieldset>
644:                         <legend><?php echo $lang_admin_users['Message expiry subhead'] ?></legend>644:                         <legend><?php echo $lang_admin_users['Message expiry subhead'] ?></legend>
645:                         <div class="infldset">645:                         <div class="infldset">
646:                             <table class="aligntop" cellspacing="0">646:                             <table class="aligntop">
647:                                 <tr>647:                                 <tr>
648:                                     <th scope="row"><?php echo $lang_admin_users['Ban message label'] ?></th>648:                                     <th scope="row"><?php echo $lang_admin_users['Ban message label'] ?></th>
649:                                     <td>649:                                     <td>
839:     <h2><span><?php echo $lang_admin_users['Results head'] ?></span></h2>839:     <h2><span><?php echo $lang_admin_users['Results head'] ?></span></h2>
840:     <div class="box">840:     <div class="box">
841:         <div class="inbox">841:         <div class="inbox">
842:             <table cellspacing="0">842:             <table>
843:             <thead>843:             <thead>
844:                 <tr>844:                 <tr>
845:                     <th class="tcl" scope="col"><?php echo $lang_admin_users['Results username head'] ?></th>845:                     <th class="tcl" scope="col"><?php echo $lang_admin_users['Results username head'] ?></th>
935:                         <legend><?php echo $lang_admin_users['User search subhead'] ?></legend>935:                         <legend><?php echo $lang_admin_users['User search subhead'] ?></legend>
936:                         <div class="infldset">936:                         <div class="infldset">
937:                             <p><?php echo $lang_admin_users['User search info'] ?></p>937:                             <p><?php echo $lang_admin_users['User search info'] ?></p>
938:                             <table class="aligntop" cellspacing="0">938:                             <table class="aligntop">
939:                                 <tr>939:                                 <tr>
940:                                     <th scope="row"><?php echo $lang_admin_users['Username label'] ?></th>940:                                     <th scope="row"><?php echo $lang_admin_users['Username label'] ?></th>
941:                                     <td><input type="text" name="form[username]" size="25" maxlength="25" tabindex="2" /></td>941:                                     <td><input type="text" name="form[username]" size="25" maxlength="25" tabindex="2" /></td>
1074:                     <fieldset>1074:                     <fieldset>
1075:                         <legend><?php echo $lang_admin_users['IP search subhead'] ?></legend>1075:                         <legend><?php echo $lang_admin_users['IP search subhead'] ?></legend>
1076:                         <div class="infldset">1076:                         <div class="infldset">
1077:                             <table class="aligntop" cellspacing="0">1077:                             <table class="aligntop">
1078:                                 <tr>1078:                                 <tr>
1079:                                     <th scope="row"><?php echo $lang_admin_users['IP address label'] ?><div><input type="submit" value="<?php echo $lang_admin_users['Find IP address'] ?>" tabindex="26" /></div></th>1079:                                     <th scope="row"><?php echo $lang_admin_users['IP address label'] ?><div><input type="submit" value="<?php echo $lang_admin_users['Find IP address'] ?>" tabindex="26" /></div></th>
1080:                                     <td><input type="text" name="show_users" size="18" maxlength="15" tabindex="24" />1080:                                     <td><input type="text" name="show_users" size="18" maxlength="15" tabindex="24" />


a/db_update.php b/db_update.php
  7:  */  7:  */
  8:   8: 
  9: // The FluxBB version this script updates to  9: // The FluxBB version this script updates to
 10: define('UPDATE_TO', '1.5.5'); 10: define('UPDATE_TO', '1.5.6');
 11:  11: 
 12: define('UPDATE_TO_DB_REVISION', 20); 12: define('UPDATE_TO_DB_REVISION', 20);
 13: define('UPDATE_TO_SI_REVISION', 2); 13: define('UPDATE_TO_SI_REVISION', 2);


a/delete.php b/delete.php
 51:  51: 
 52: if (isset($_POST['delete'])) 52: if (isset($_POST['delete']))
 53: { 53: {
 54:     if ($is_admmod) 54:     // Make sure they got here from the site
 55:         confirm_referrer('delete.php'); 55:     confirm_referrer('delete.php');
 56:  56: 
 57:     require PUN_ROOT.'include/search_idx.php'; 57:     require PUN_ROOT.'include/search_idx.php';
 58:  58: 


a/edit.php b/edit.php
 56:  56: 
 57: if (isset($_POST['form_sent'])) 57: if (isset($_POST['form_sent']))
 58: { 58: {
 59:     if ($is_admmod) 59:     // Make sure they got here from the site
 60:         confirm_referrer('edit.php'); 60:     confirm_referrer('edit.php');
 61:  61: 
 62:     // If it's a topic it must contain a subject 62:     // If it's a topic it must contain a subject
 63:     if ($can_edit_subject) 63:     if ($can_edit_subject)


a/footer.php b/footer.php
 40:     { 40:     {
 41:         echo "\t\t\t".'<dl>'."\n"; 41:         echo "\t\t\t".'<dl>'."\n";
 42:         echo "\t\t\t\t".'<dt><strong>'.$lang_topic['Mod controls'].'</strong></dt>'."\n"; 42:         echo "\t\t\t\t".'<dt><strong>'.$lang_topic['Mod controls'].'</strong></dt>'."\n";
 43:         echo "\t\t\t\t".'<dd><span><a href="moderate.php?fid='.$forum_id.'&amp;tid='.$id.'&amp;p='.$p.'">'.$lang_common['Moderate topic'].'</a></span></dd>'."\n"; 43:         echo "\t\t\t\t".'<dd><span><a href="moderate.php?fid='.$forum_id.'&amp;tid='.$id.'&amp;p='.$p.'">'.$lang_common['Moderate topic'].'</a>'.($num_pages > 1 ? ' (<a href="moderate.php?fid='.$forum_id.'&amp;tid='.$id.'&amp;action=all">'.$lang_common['All'].'</a>)' : '').'</span></dd>'."\n";
 44:         echo "\t\t\t\t".'<dd><span><a href="moderate.php?fid='.$forum_id.'&amp;move_topics='.$id.'">'.$lang_common['Move topic'].'</a></span></dd>'."\n"; 44:         echo "\t\t\t\t".'<dd><span><a href="moderate.php?fid='.$forum_id.'&amp;move_topics='.$id.'">'.$lang_common['Move topic'].'</a></span></dd>'."\n";
 45:  45: 
 46:         if ($cur_topic['closed'] == '1') 46:         if ($cur_topic['closed'] == '1')


a/include/cache.php b/include/cache.php
108:                     $output .= "\t\t\t\t\t\t\t".'<option value="'.$cur_forum['fid'].'"<?php echo ($forum_id == '.$cur_forum['fid'].') ? \' selected="selected"\' : \'\' ?>>'.pun_htmlspecialchars($cur_forum['forum_name']).$redirect_tag.'</option>'."\n";108:                     $output .= "\t\t\t\t\t\t\t".'<option value="'.$cur_forum['fid'].'"<?php echo ($forum_id == '.$cur_forum['fid'].') ? \' selected="selected"\' : \'\' ?>>'.pun_htmlspecialchars($cur_forum['forum_name']).$redirect_tag.'</option>'."\n";
109:                 }109:                 }
110: 110: 
111:                 $output .= "\t\t\t\t\t\t".'</optgroup>'."\n\t\t\t\t\t".'</select>'."\n\t\t\t\t\t".'<input type="submit" value="<?php echo $lang_common[\'Go\'] ?>" accesskey="g" />'."\n\t\t\t\t\t".'</label></div>'."\n\t\t\t\t".'</form>'."\n";111:                 $output .= "\t\t\t\t\t\t".'</optgroup>'."\n\t\t\t\t\t".'</select></label>'."\n\t\t\t\t\t".'<input type="submit" value="<?php echo $lang_common[\'Go\'] ?>" accesskey="g" />'."\n\t\t\t\t\t".'</div>'."\n\t\t\t\t".'</form>'."\n";
112:             }112:             }
113:         }113:         }
114: 114: 


a/include/common.php b/include/common.php
 10:     exit('The constant PUN_ROOT must be defined and point to a valid FluxBB installation root directory.'); 10:     exit('The constant PUN_ROOT must be defined and point to a valid FluxBB installation root directory.');
 11:  11: 
 12: // Define the version and database revision that this code was written for 12: // Define the version and database revision that this code was written for
 13: define('FORUM_VERSION', '1.5.5'); 13: define('FORUM_VERSION', '1.5.6');
 14:  14: 
 15: define('FORUM_DB_REVISION', 20); 15: define('FORUM_DB_REVISION', 20);
 16: define('FORUM_SI_REVISION', 2); 16: define('FORUM_SI_REVISION', 2);


a/include/functions.php b/include/functions.php
454:     global $db, $pun_config, $errors, $lang_prof_reg, $lang_register, $lang_common, $pun_bans;454:     global $db, $pun_config, $errors, $lang_prof_reg, $lang_register, $lang_common, $pun_bans;
455: 455: 
456:     // Include UTF-8 function456:     // Include UTF-8 function
457:     require PUN_ROOT.'include/utf8/strcasecmp.php';457:     require_once PUN_ROOT.'include/utf8/strcasecmp.php';
458: 458: 
459:     // Convert multiple whitespace characters into one (to prevent people from registering with indistinguishable usernames)459:     // Convert multiple whitespace characters into one (to prevent people from registering with indistinguishable usernames)
460:     $username = preg_replace('%\s+%s', ' ', $username);460:     $username = preg_replace('%\s+%s', ' ', $username);
593: {593: {
594:     global $pun_config, $lang_common;594:     global $pun_config, $lang_common;
595: 595: 
 596:     if (!is_array($page_title))
 597:         $page_title = array($page_title);
 598: 
596:     $page_title = array_reverse($page_title);599:     $page_title = array_reverse($page_title);
597: 600: 
598:     if (!is_null($p))601:     if (!is_null($p))
1038: //1041: //
1039: // Make sure that HTTP_REFERER matches base_url/script1042: // Make sure that HTTP_REFERER matches base_url/script
1040: //1043: //
1041: function confirm_referrer($script, $error_msg = false)1044: function confirm_referrer($scripts, $error_msg = false)
1042: {1045: {
1043:     global $pun_config, $lang_common;1046:     global $pun_config, $lang_common;
1044: 1047: 
 1048:     if (!is_array($scripts))
 1049:         $scripts = array($scripts);
 1050: 
1045:     // There is no referrer1051:     // There is no referrer
1046:     if (empty($_SERVER['HTTP_REFERER']))1052:     if (empty($_SERVER['HTTP_REFERER']))
1047:         message($error_msg ? $error_msg : $lang_common['Bad referrer']);1053:         message($error_msg ? $error_msg : $lang_common['Bad referrer']);
1051:     if (strpos($referrer['host'], 'www.') === 0)1057:     if (strpos($referrer['host'], 'www.') === 0)
1052:         $referrer['host'] = substr($referrer['host'], 4);1058:         $referrer['host'] = substr($referrer['host'], 4);
1053: 1059: 
1054:     $valid = parse_url(strtolower(get_base_url().'/'.$script));1060:     $valid_paths = array();
1055:     // Remove www subdomain if it exists1061:     foreach ($scripts as $script)
1056:     if (strpos($valid['host'], 'www.') === 0)1062:     {
1057:         $valid['host'] = substr($valid['host'], 4);1063:         $valid = parse_url(strtolower(get_base_url().'/'.$script));
 1064:         // Remove www subdomain if it exists
 1065:         if (strpos($valid['host'], 'www.') === 0)
 1066:             $valid['host'] = substr($valid['host'], 4);
 1067: 
 1068:         $valid_host = $valid['host'];
 1069:         $valid_paths[] = $valid['path'];
 1070:     }
1058: 1071: 
1059:     // Check the host and path match. Ignore the scheme, port, etc.1072:     // Check the host and path match. Ignore the scheme, port, etc.
1060:     if ($referrer['host'] != $valid['host'] || $referrer['path'] != $valid['path'])1073:     if ($referrer['host'] != $valid_host || !in_array($referrer['path'], $valid_paths))
1061:         message($error_msg ? $error_msg : $lang_common['Bad referrer']);1074:         message($error_msg ? $error_msg : $lang_common['Bad referrer']);
1062: }1075: }
1063: 1076: 
2072:     <h2><span><?php echo $lang_common['Debug table'] ?></span></h2>2085:     <h2><span><?php echo $lang_common['Debug table'] ?></span></h2>
2073:     <div class="box">2086:     <div class="box">
2074:         <div class="inbox">2087:         <div class="inbox">
2075:             <table cellspacing="0">2088:             <table>
2076:             <thead>2089:             <thead>
2077:                 <tr>2090:                 <tr>
2078:                     <th class="tcl" scope="col"><?php echo $lang_common['Query times'] ?></th>2091:                     <th class="tcl" scope="col"><?php echo $lang_common['Query times'] ?></th>


a/index.php b/index.php
 68:     <h2><span><?php echo pun_htmlspecialchars($cur_forum['cat_name']) ?></span></h2> 68:     <h2><span><?php echo pun_htmlspecialchars($cur_forum['cat_name']) ?></span></h2>
 69:     <div class="box"> 69:     <div class="box">
 70:         <div class="inbox"> 70:         <div class="inbox">
 71:             <table cellspacing="0"> 71:             <table>
 72:             <thead> 72:             <thead>
 73:                 <tr> 73:                 <tr>
 74:                     <th class="tcl" scope="col"><?php echo $lang_common['Forum'] ?></th> 74:                     <th class="tcl" scope="col"><?php echo $lang_common['Forum'] ?></th>


a/install.php b/install.php
  7:  */  7:  */
  8:   8: 
  9: // The FluxBB version this script installs  9: // The FluxBB version this script installs
 10: define('FORUM_VERSION', '1.5.5'); 10: define('FORUM_VERSION', '1.5.6');
 11:  11: 
 12: define('FORUM_DB_REVISION', 20); 12: define('FORUM_DB_REVISION', 20);
 13: define('FORUM_SI_REVISION', 2); 13: define('FORUM_SI_REVISION', 2);


a/lang/English/common.php b/lang/English/common.php
124: 'Jump to'                            =>    'Jump to',124: 'Jump to'                            =>    'Jump to',
125: 'Go'                                =>    ' Go ', // Submit button in forum jump125: 'Go'                                =>    ' Go ', // Submit button in forum jump
126: 'Moderate topic'                    =>    'Moderate topic',126: 'Moderate topic'                    =>    'Moderate topic',
 127: 'All'                    =>    'All',
127: 'Move topic'                        =>    'Move topic',128: 'Move topic'                        =>    'Move topic',
128: 'Open topic'                        =>    'Open topic',129: 'Open topic'                        =>    'Open topic',
129: 'Close topic'                        =>    'Close topic',130: 'Close topic'                        =>    'Close topic',


a/misc.php b/misc.php
216: 216: 
217:     if (isset($_POST['form_sent']))217:     if (isset($_POST['form_sent']))
218:     {218:     {
 219:         // Make sure they got here from the site
 220:         confirm_referrer('misc.php');
 221:         
219:         // Clean up reason from POST222:         // Clean up reason from POST
220:         $reason = pun_linebreaks(pun_trim($_POST['req_reason']));223:         $reason = pun_linebreaks(pun_trim($_POST['req_reason']));
221:         if ($reason == '')224:         if ($reason == '')


a/moderate.php b/moderate.php
278:     // Used to disable the Move and Delete buttons if there are no replies to this topic278:     // Used to disable the Move and Delete buttons if there are no replies to this topic
279:     $button_status = ($cur_topic['num_replies'] == 0) ? ' disabled="disabled"' : '';279:     $button_status = ($cur_topic['num_replies'] == 0) ? ' disabled="disabled"' : '';
280: 280: 
 281:     if (isset($_GET['action']) && $_GET['action'] == 'all')
 282:         $pun_user['disp_posts'] = $cur_topic['num_replies'] + 1;
281: 283: 
282:     // Determine the post offset (based on $_GET['p'])284:     // Determine the post offset (based on $_GET['p'])
283:     $num_pages = ceil(($cur_topic['num_replies'] + 1) / $pun_user['disp_posts']);285:     $num_pages = ceil(($cur_topic['num_replies'] + 1) / $pun_user['disp_posts']);
859:     <h2><span><?php echo pun_htmlspecialchars($cur_forum['forum_name']) ?></span></h2>861:     <h2><span><?php echo pun_htmlspecialchars($cur_forum['forum_name']) ?></span></h2>
860:     <div class="box">862:     <div class="box">
861:         <div class="inbox">863:         <div class="inbox">
862:             <table cellspacing="0">864:             <table>
863:             <thead>865:             <thead>
864:                 <tr>866:                 <tr>
865:                     <th class="tcl" scope="col"><?php echo $lang_common['Topic'] ?></th>867:                     <th class="tcl" scope="col"><?php echo $lang_common['Topic'] ?></th>


a/post.php b/post.php
 63:     if (!isset($_POST['preview']) && $pun_user['last_post'] != '' && (time() - $pun_user['last_post']) < $pun_user['g_post_flood']) 63:     if (!isset($_POST['preview']) && $pun_user['last_post'] != '' && (time() - $pun_user['last_post']) < $pun_user['g_post_flood'])
 64:         $errors[] = sprintf($lang_post['Flood start'], $pun_user['g_post_flood'], $pun_user['g_post_flood'] - (time() - $pun_user['last_post'])); 64:         $errors[] = sprintf($lang_post['Flood start'], $pun_user['g_post_flood'], $pun_user['g_post_flood'] - (time() - $pun_user['last_post']));
 65:  65: 
  66:     // Make sure they got here from the site
  67:     confirm_referrer(array('post.php', 'viewtopic.php'));
  68:     
 66:     // If it's a new topic 69:     // If it's a new topic
 67:     if ($fid) 70:     if ($fid)
 68:     { 71:     {
547:         <ul class="crumbs">550:         <ul class="crumbs">
548:             <li><a href="index.php"><?php echo $lang_common['Index'] ?></a></li>551:             <li><a href="index.php"><?php echo $lang_common['Index'] ?></a></li>
549:             <li><span>»&#160;</span><a href="viewforum.php?id=<?php echo $cur_posting['id'] ?>"><?php echo pun_htmlspecialchars($cur_posting['forum_name']) ?></a></li>552:             <li><span>»&#160;</span><a href="viewforum.php?id=<?php echo $cur_posting['id'] ?>"><?php echo pun_htmlspecialchars($cur_posting['forum_name']) ?></a></li>
 553: <?php if (isset($_POST['req_subject'])): ?>            <li><span>»&#160;</span><?php echo pun_htmlspecialchars($_POST['req_subject']) ?></li>
 554: <?php endif; ?>
550: <?php if (isset($cur_posting['subject'])): ?>            <li><span>»&#160;</span><a href="viewtopic.php?id=<?php echo $tid ?>"><?php echo pun_htmlspecialchars($cur_posting['subject']) ?></a></li>555: <?php if (isset($cur_posting['subject'])): ?>            <li><span>»&#160;</span><a href="viewtopic.php?id=<?php echo $tid ?>"><?php echo pun_htmlspecialchars($cur_posting['subject']) ?></a></li>
551: <?php endif; ?>            <li><span>»&#160;</span><strong><?php echo $action ?></strong></li>556: <?php endif; ?>            <li><span>»&#160;</span><strong><?php echo $action ?></strong></li>
552:         </ul>557:         </ul>


a/profile.php b/profile.php
 81:  81: 
 82:     if (isset($_POST['form_sent'])) 82:     if (isset($_POST['form_sent']))
 83:     { 83:     {
 84:         if ($pun_user['is_admmod']) 84:         // Make sure they got here from the site
 85:             confirm_referrer('profile.php'); 85:         confirm_referrer('profile.php');
 86:  86: 
 87:         $old_password = isset($_POST['req_old_password']) ? pun_trim($_POST['req_old_password']) : ''; 87:         $old_password = isset($_POST['req_old_password']) ? pun_trim($_POST['req_old_password']) : '';
 88:         $new_password1 = pun_trim($_POST['req_new_password1']); 88:         $new_password1 = pun_trim($_POST['req_new_password1']);
195:     {195:     {
196:         if (pun_hash($_POST['req_password']) !== $pun_user['password'])196:         if (pun_hash($_POST['req_password']) !== $pun_user['password'])
197:             message($lang_profile['Wrong pass']);197:             message($lang_profile['Wrong pass']);
 198:             
 199:         // Make sure they got here from the site
 200:         confirm_referrer('profile.php');
198: 201: 
199:         require PUN_ROOT.'include/email.php';202:         require PUN_ROOT.'include/email.php';
200: 203: 
322:     {325:     {
323:         if (!isset($_FILES['req_file']))326:         if (!isset($_FILES['req_file']))
324:             message($lang_profile['No file']);327:             message($lang_profile['No file']);
 328:             
 329:         // Make sure they got here from the site
 330:         confirm_referrer('profile.php');
325: 331: 
326:         $uploaded_file = $_FILES['req_file'];332:         $uploaded_file = $_FILES['req_file'];
327: 333: 
700:         $is_moderator))))                                                                            // or the user is another mod706:         $is_moderator))))                                                                            // or the user is another mod
701:         message($lang_common['No permission'], false, '403 Forbidden');707:         message($lang_common['No permission'], false, '403 Forbidden');
702: 708: 
703:     if ($pun_user['is_admmod'])709:     // Make sure they got here from the site
704:         confirm_referrer('profile.php');710:     confirm_referrer('profile.php');
705: 711: 
706:     $username_updated = false;712:     $username_updated = false;
707: 713: 


a/search.php b/search.php
577:     <h2><span><?php echo $lang_search['Search results'] ?></span></h2>577:     <h2><span><?php echo $lang_search['Search results'] ?></span></h2>
578:     <div class="box">578:     <div class="box">
579:         <div class="inbox">579:         <div class="inbox">
580:             <table cellspacing="0">580:             <table>
581:             <thead>581:             <thead>
582:                 <tr>582:                 <tr>
583:                     <th class="tcl" scope="col"><?php echo $lang_common['Topic'] ?></th>583:                     <th class="tcl" scope="col"><?php echo $lang_common['Topic'] ?></th>


a/style/Air.css b/style/Air.css
1187:     width: 98%;1187:     width: 98%;
1188: }1188: }
1189: 1189: 
 1190: .pun textarea {
 1191:     resize: vertical;
 1192: }
 1193: 
1190: .pun #quickpost .txtarea {1194: .pun #quickpost .txtarea {
1191:     padding-right: 12px;1195:     padding-right: 12px;
1192:     position: relative;1196:     position: relative;


a/style/Earth.css b/style/Earth.css
1186:     width: 98%;1186:     width: 98%;
1187: }1187: }
1188: 1188: 
 1189: .pun textarea {
 1190:     resize: vertical;
 1191: }
 1192: 
1189: .pun #quickpost .txtarea {1193: .pun #quickpost .txtarea {
1190:     padding-right: 12px;1194:     padding-right: 12px;
1191:     position: relative;1195:     position: relative;


a/style/Fire.css b/style/Fire.css
1186:     width: 98%;1186:     width: 98%;
1187: }1187: }
1188: 1188: 
 1189: .pun textarea {
 1190:     resize: vertical;
 1191: }
 1192: 
1189: .pun #quickpost .txtarea {1193: .pun #quickpost .txtarea {
1190:     padding-right: 12px;1194:     padding-right: 12px;
1191:     position: relative;1195:     position: relative;


a/userlist.php b/userlist.php
122:     <h2><span><?php echo $lang_common['User list'] ?></span></h2>122:     <h2><span><?php echo $lang_common['User list'] ?></span></h2>
123:     <div class="box">123:     <div class="box">
124:         <div class="inbox">124:         <div class="inbox">
125:             <table cellspacing="0">125:             <table>
126:             <thead>126:             <thead>
127:                 <tr>127:                 <tr>
128:                     <th class="tcl" scope="col"><?php echo $lang_common['Username'] ?></th>128:                     <th class="tcl" scope="col"><?php echo $lang_common['Username'] ?></th>


a/viewforum.php b/viewforum.php
122:     <h2><span><?php echo pun_htmlspecialchars($cur_forum['forum_name']) ?></span></h2>122:     <h2><span><?php echo pun_htmlspecialchars($cur_forum['forum_name']) ?></span></h2>
123:     <div class="box">123:     <div class="box">
124:         <div class="inbox">124:         <div class="inbox">
125:             <table cellspacing="0">125:             <table>
126:             <thead>126:             <thead>
127:                 <tr>127:                 <tr>
128:                     <th class="tcl" scope="col"><?php echo $lang_common['Topic'] ?></th>128:                     <th class="tcl" scope="col"><?php echo $lang_common['Topic'] ?></th>
141: if ($db->num_rows($result))141: if ($db->num_rows($result))
142: {142: {
143:     $topic_ids = array();143:     $topic_ids = array();
144:     for ($i = 0;$cur_topic_id = $db->result($result, $i);$i++)144:     for ($i = 0; $cur_topic_id = $db->result($result, $i); $i++)
145:         $topic_ids[] = $cur_topic_id;145:         $topic_ids[] = $cur_topic_id;
146: 146: 
147:     if (empty($topic_ids)) 
148:         error('The topic table and forum table seem to be out of sync!', __FILE__, __LINE__); 
149:  
150:     // Fetch list of topics to display on this page147:     // Fetch list of topics to display on this page
151:     if ($pun_user['is_guest'] || $pun_config['o_show_dot'] == '0')148:     if ($pun_user['is_guest'] || $pun_config['o_show_dot'] == '0')
152:     {149:     {


hdiff - version: 2.1.0 (modified)