Browse Source

code cleanup

undefined
spaghetti 8 years ago
committed by Tomochin
parent
commit
8733ee94b1
2 changed files with 461 additions and 463 deletions
  1. +459
    -461
      design/privateheader.php
  2. +2
    -2
      design/views/generic/reply/quickreply.php

+ 459
- 461
design/privateheader.php
File diff suppressed because it is too large
View File


+ 2
- 2
design/views/generic/reply/quickreply.php View File

@@ -35,7 +35,7 @@
'SubscribeBox' => true 'SubscribeBox' => true
)); ));
*/ */
global $HeavyInfo, $UserSubscriptions, $ThreadInfo, $ForumsDoublePost, $Document;
global $HeavyInfo, $UserSubscriptions, $ThreadInfo, $Document;


if (G::$LoggedUser['DisablePosting']) { if (G::$LoggedUser['DisablePosting']) {
return; return;
@@ -135,7 +135,7 @@
} }
if ($ThreadInfo['LastPostAuthorID'] == G::$LoggedUser['ID'] if ($ThreadInfo['LastPostAuthorID'] == G::$LoggedUser['ID']
&& (check_perms('site_forums_double_post') && (check_perms('site_forums_double_post')
|| in_array($ForumID, $ForumsDoublePost))
|| in_array($ForumID, FORUMS_TO_ALLOW_DOUBLE_POST))
) { ) {
?> ?>
<input id="mergebox" type="checkbox" name="merge" tabindex="2" /> <input id="mergebox" type="checkbox" name="merge" tabindex="2" />


Loading…
Cancel
Save