mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 14:17:49 +02:00
Notice removal
This commit is contained in:
@@ -239,6 +239,7 @@ class bb_youtube extends e_bb_base
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$url = $url.'&hl='.$hl;
|
$url = $url.'&hl='.$hl;
|
||||||
|
$color = array();
|
||||||
if(isset($params['color1'])) $color[1] = $params['color1'];
|
if(isset($params['color1'])) $color[1] = $params['color1'];
|
||||||
if(isset($params['color2'])) $color[2] = $params['color2'];
|
if(isset($params['color2'])) $color[2] = $params['color2'];
|
||||||
foreach ($color as $key => $value) {
|
foreach ($color as $key => $value) {
|
||||||
|
@@ -519,7 +519,7 @@ function nextprev_shortcode($parm = '')
|
|||||||
$link = str_replace('[FROM]', $newstart, $url);
|
$link = str_replace('[FROM]', $newstart, $url);
|
||||||
}
|
}
|
||||||
$c = $i-1 + $index_add;
|
$c = $i-1 + $index_add;
|
||||||
$title = ($pagetitle[$c]) ? $pagetitle[$c] : $i;
|
$title = (isset($pagetitle[$c]) && $pagetitle[$c]) ? $pagetitle[$c] : $i;
|
||||||
$dropdown .= "<option value='{$link}' {$sel}>{$title}</option>\n";
|
$dropdown .= "<option value='{$link}' {$sel}>{$title}</option>\n";
|
||||||
}
|
}
|
||||||
$dropdown .= '</select>';
|
$dropdown .= '</select>';
|
||||||
|
@@ -963,7 +963,7 @@ class comment
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} // End Switch
|
} // End Switch
|
||||||
if ($ret['comment_title'])
|
if (varset($ret['comment_title']))
|
||||||
{
|
{
|
||||||
$reta[] = $ret;
|
$reta[] = $ret;
|
||||||
$valid++;
|
$valid++;
|
||||||
|
@@ -92,7 +92,7 @@ class sitelinks
|
|||||||
// -----------------------------
|
// -----------------------------
|
||||||
|
|
||||||
// where did link alignment go?
|
// where did link alignment go?
|
||||||
if (!defined('LINKALIGN')) { define(LINKALIGN, ''); }
|
if (!defined('LINKALIGN')) { define('LINKALIGN', ''); }
|
||||||
|
|
||||||
if(!$style)
|
if(!$style)
|
||||||
{
|
{
|
||||||
|
@@ -84,7 +84,8 @@ class list_forum
|
|||||||
$u_name = substr($thread_user, (strpos($thread_user, ".")+1));
|
$u_name = substr($thread_user, (strpos($thread_user, ".")+1));
|
||||||
$thread_user = $u_id;
|
$thread_user = $u_id;
|
||||||
|
|
||||||
if ($thread_anon) {
|
if (isset($thread_anon))
|
||||||
|
{
|
||||||
$tmp = explode(chr(1), $thread_anon);
|
$tmp = explode(chr(1), $thread_anon);
|
||||||
$thread_user = $tmp[0];
|
$thread_user = $tmp[0];
|
||||||
$thread_user_ip = $tmp[1];
|
$thread_user_ip = $tmp[1];
|
||||||
|
@@ -576,7 +576,7 @@ class listclass
|
|||||||
{
|
{
|
||||||
global $qs;
|
global $qs;
|
||||||
|
|
||||||
$lvisit = USERLV;
|
$lvisit = defined('USERLV') ? USERLV : time() + 1000; // Set default value
|
||||||
if(varsettrue($qs[0]) == "new")
|
if(varsettrue($qs[0]) == "new")
|
||||||
{
|
{
|
||||||
if(varsettrue($this->list_pref['new_page_timelapse']))
|
if(varsettrue($this->list_pref['new_page_timelapse']))
|
||||||
|
Reference in New Issue
Block a user