mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 15:16:30 +02:00
More notice removals, again.
This commit is contained in:
@@ -130,7 +130,7 @@ class plugin_forum_post_shortcodes extends e_shortcode
|
||||
global $action, $threadInfo;
|
||||
if (MODERATOR && $action == "nt")
|
||||
{
|
||||
$thread_sticky = (isset($_POST['threadtype']) ? $_POST['threadtype'] : $threadInfo['thread_sticky']); // no reference of 'head' $threadInfo['head']['thread_sticky']
|
||||
$thread_sticky = (isset($_POST['threadtype']) ? $_POST['threadtype'] : vartrue($threadInfo['thread_sticky'])); // no reference of 'head' $threadInfo['head']['thread_sticky']
|
||||
return "<br /><span class='defaulttext'>".LAN_400."<input name='threadtype' type='radio' value='0' ".(!$thread_sticky ? "checked='checked' " : "")." />".LAN_1." <input name='threadtype' type='radio' value='1' ".($thread_sticky == 1 ? "checked='checked' " : "")." />".LAN_2." <input name='threadtype' type='radio' value='2' ".($thread_sticky == 2 ? "checked='checked' " : "")." />".LAN_3."</span>";
|
||||
}
|
||||
return '';
|
||||
@@ -147,7 +147,7 @@ class plugin_forum_post_shortcodes extends e_shortcode
|
||||
|
||||
function sc_noemotes()
|
||||
{
|
||||
if($eaction == true) { return ; }
|
||||
if(vartrue($eaction) == true) { return ; }
|
||||
return "<input type='checkbox' name='no_emote' value='1' /> <span class='defaulttext'>".LAN_FORUMPOST_EMOTES.'</span>';
|
||||
}
|
||||
|
||||
@@ -158,7 +158,7 @@ class plugin_forum_post_shortcodes extends e_shortcode
|
||||
$pref = e107::getPlugPref('forum');
|
||||
|
||||
if($eaction == true) { return ; }
|
||||
if ($pref['notify'] && $action == 'nt' && USER)
|
||||
if (vartrue($pref['notify']) && $action == 'nt' && USER)
|
||||
{
|
||||
if(isset($_POST['fpreview']))
|
||||
{
|
||||
|
Reference in New Issue
Block a user