mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-05 22:10:11 +00:00
Empty commit
This commit is contained in:
parent
015a8bd351
commit
1be6f0b3b0
@ -100,7 +100,8 @@
|
|||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?
|
<?
|
||||||
|
/*
|
||||||
if(check_perms('users_mod')) {
|
if(check_perms('users_mod')) {
|
||||||
$DB->query("SELECT ForumID from subscribed_forums WHERE ForumID='$ForumID' AND SubscriberID='$LoggedUser[ID]'");
|
$DB->query("SELECT ForumID from subscribed_forums WHERE ForumID='$ForumID' AND SubscriberID='$LoggedUser[ID]'");
|
||||||
if($DB->record_count() == 0) { ?>
|
if($DB->record_count() == 0) { ?>
|
||||||
@ -108,7 +109,9 @@
|
|||||||
<? } else { ?>
|
<? } else { ?>
|
||||||
[<a href="forums.php?action=forum_subscribe&perform=remove&forumid=<?=$ForumID?>&auth=<?=$LoggedUser['AuthKey']?>">Unsubscribe from Forum</a>]
|
[<a href="forums.php?action=forum_subscribe&perform=remove&forumid=<?=$ForumID?>&auth=<?=$LoggedUser['AuthKey']?>">Unsubscribe from Forum</a>]
|
||||||
<? }
|
<? }
|
||||||
}?>
|
}
|
||||||
|
*/
|
||||||
|
?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<? if(check_perms('site_moderate_forums')) { ?>
|
<? if(check_perms('site_moderate_forums')) { ?>
|
||||||
|
@ -88,6 +88,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
//auto subscribe
|
//auto subscribe
|
||||||
|
/*
|
||||||
if(check_perms('users_mod')) {
|
if(check_perms('users_mod')) {
|
||||||
$DB->query("SELECT SubscriberID FROM subscribed_forums WHERE ForumID = '$ForumID' AND SubscriberID <> '$LoggedUser[ID]'");
|
$DB->query("SELECT SubscriberID FROM subscribed_forums WHERE ForumID = '$ForumID' AND SubscriberID <> '$LoggedUser[ID]'");
|
||||||
while(list($SubscriberID) = $DB->next_record()) {
|
while(list($SubscriberID) = $DB->next_record()) {
|
||||||
@ -99,7 +100,7 @@
|
|||||||
$Cache->delete_value('subscriptions_user_'.$SubscriberID);
|
$Cache->delete_value('subscriptions_user_'.$SubscriberID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
if (empty($_POST['question']) || empty($_POST['answers']) || !check_perms('forums_polls_create')) {
|
if (empty($_POST['question']) || empty($_POST['answers']) || !check_perms('forums_polls_create')) {
|
||||||
$NoPoll = 1;
|
$NoPoll = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user