1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 04:32:01 +02:00

Notice removal

This commit is contained in:
e107steved 2010-11-01 22:10:42 +00:00
parent 9f298c46d1
commit 5b9016c69f
6 changed files with 7 additions and 5 deletions

View File

@ -239,6 +239,7 @@ class bb_youtube extends e_bb_base
}
}
$url = $url.'&hl='.$hl;
$color = array();
if(isset($params['color1'])) $color[1] = $params['color1'];
if(isset($params['color2'])) $color[2] = $params['color2'];
foreach ($color as $key => $value) {

View File

@ -519,7 +519,7 @@ function nextprev_shortcode($parm = '')
$link = str_replace('[FROM]', $newstart, $url);
}
$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 .= '</select>';

View File

@ -963,7 +963,7 @@ class comment
}
}
} // End Switch
if ($ret['comment_title'])
if (varset($ret['comment_title']))
{
$reta[] = $ret;
$valid++;

View File

@ -92,7 +92,7 @@ class sitelinks
// -----------------------------
// where did link alignment go?
if (!defined('LINKALIGN')) { define(LINKALIGN, ''); }
if (!defined('LINKALIGN')) { define('LINKALIGN', ''); }
if(!$style)
{

View File

@ -84,7 +84,8 @@ class list_forum
$u_name = substr($thread_user, (strpos($thread_user, ".")+1));
$thread_user = $u_id;
if ($thread_anon) {
if (isset($thread_anon))
{
$tmp = explode(chr(1), $thread_anon);
$thread_user = $tmp[0];
$thread_user_ip = $tmp[1];

View File

@ -576,7 +576,7 @@ class listclass
{
global $qs;
$lvisit = USERLV;
$lvisit = defined('USERLV') ? USERLV : time() + 1000; // Set default value
if(varsettrue($qs[0]) == "new")
{
if(varsettrue($this->list_pref['new_page_timelapse']))