Added portal-wide settings in acp_portal.php;
Added language strings; Fixed XHTML parsing bug in adm/style/acp_portal_config.html;
This commit is contained in:
@@ -38,8 +38,8 @@
|
|||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<!-- END mods -->
|
<!-- END mods -->
|
||||||
<!-- IF SHOW_MODULE_OPTIONS -->
|
|
||||||
<form id="acp_portal_config" method="post" action="{U_ACTION}">
|
<form id="acp_portal_config" method="post" action="{U_ACTION}">
|
||||||
|
<!-- IF SHOW_MODULE_OPTIONS -->
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{L_MODULE_OPTIONS}</legend>
|
<legend>{L_MODULE_OPTIONS}</legend>
|
||||||
<dl>
|
<dl>
|
||||||
|
|||||||
@@ -60,9 +60,15 @@ class acp_portal
|
|||||||
'title' => 'ACP_PORTAL_GENERAL_TITLE',
|
'title' => 'ACP_PORTAL_GENERAL_TITLE',
|
||||||
'vars' => array(
|
'vars' => array(
|
||||||
'legend1' => 'ACP_PORTAL_GENERAL_INFO',
|
'legend1' => 'ACP_PORTAL_GENERAL_INFO',
|
||||||
# 'portal_enable' => array('lang' => 'PORTAL_ENABLE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
'portal_enable' => array('lang' => 'PORTAL_ENABLE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||||
# 'portal_left_column_width' => array('lang' => 'PORTAL_LEFT_COLUMN_WIDTH', 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
'portal_left_column' => array('lang' => 'PORTAL_LEFT_COLUMN', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||||
# 'portal_right_column_width' => array('lang' => 'PORTAL_RIGHT_COLUMN_WIDTH', 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
'portal_right_column' => array('lang' => 'PORTAL_RIGHT_COLUMN', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||||
|
'portal_version_check' => array('lang' => 'PORTAL_VERSION_CHECK', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||||
|
'portal_forum_index' => array('lang' => 'PORTAL_FORUM_INDEX', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||||
|
|
||||||
|
'legend2' => 'ACP_PORTAL_COLUMN_WIDTH_SETTINGS',
|
||||||
|
'portal_left_column_width' => array('lang' => 'PORTAL_LEFT_COLUMN_WIDTH', 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
||||||
|
'portal_right_column_width' => array('lang' => 'PORTAL_RIGHT_COLUMN_WIDTH', 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -41,8 +41,30 @@ $lang = array_merge($lang, array(
|
|||||||
|
|
||||||
// Common
|
// Common
|
||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
|
// ACP - General Settings
|
||||||
|
'ACP_PORTAL_GENERAL_TITLE' => 'Portal administration',
|
||||||
|
'ACP_PORTAL_GENERAL_TITLE_EXP' => 'Thank you for choosing Board3 Portal! This is where you can manage your portal page. The options below let you customize the various general settings. The links on the left-hand side allow you to customize in detail every aspect of your portal experience.',
|
||||||
|
'ACP_PORTAL_GENERAL_SETTINGS' => 'General settings',
|
||||||
|
'PORTAL_ENABLE' => 'Enable Portal',
|
||||||
|
'PORTAL_ENABLE_EXP' => 'Turns the whole portal on or off.',
|
||||||
|
'PORTAL_LEFT_COLUMN' => 'Enable left column',
|
||||||
|
'PORTAL_LEFT_COLUMN_EXP' => 'Switch to no if you wish to turn off the left column',
|
||||||
|
'PORTAL_RIGHT_COLUMN' => 'Enable right column',
|
||||||
|
'PORTAL_RIGHT_COLUMN_EXP' => 'Switch to no if you wish to turn off the right column',
|
||||||
|
'PORTAL_VERSION_CHECK' => 'Versioncheck on Portal',
|
||||||
|
'PORTAL_FORUM_INDEX' => 'Forum Index (Forum list)',
|
||||||
|
'PORTAL_FORUM_INDEX_EXP' => 'Display this block on the portal.',
|
||||||
|
|
||||||
|
'ACP_PORTAL_COLUMN_WIDTH_SETTINGS' => 'Left and right column width settings',
|
||||||
|
'PORTAL_LEFT_COLUMN_WIDTH' => 'Width of the left column',
|
||||||
|
'PORTAL_LEFT_COLUMN_WIDTH_EXP' => 'Change the width of the left column in pixels; recommended value is 180',
|
||||||
|
'PORTAL_RIGHT_COLUMN_WIDTH' => 'Width of the right column',
|
||||||
|
'PORTAL_RIGHT_COLUMN_WIDTH_EXP' => 'Change the width of the right column in pixels; recommended value is 180',
|
||||||
|
|
||||||
|
|
||||||
'POSTERS' => 'Posters',
|
'POSTERS' => 'Posters',
|
||||||
|
|
||||||
|
// Search engine names
|
||||||
'SEARCH_A9' => 'A9.com',
|
'SEARCH_A9' => 'A9.com',
|
||||||
'SEARCH_ACRONYM_FINDER' => 'AcronymFinder',
|
'SEARCH_ACRONYM_FINDER' => 'AcronymFinder',
|
||||||
'SEARCH_ALEXA' => 'Alexa',
|
'SEARCH_ALEXA' => 'Alexa',
|
||||||
@@ -55,7 +77,7 @@ $lang = array_merge($lang, array(
|
|||||||
'SEARCH_CREATIVE_COMMONS' => 'Crative Commons',
|
'SEARCH_CREATIVE_COMMONS' => 'Crative Commons',
|
||||||
'SEARCH_EBAY' => 'Ebay',
|
'SEARCH_EBAY' => 'Ebay',
|
||||||
'SEARCH_GOOGLE' => 'Google',
|
'SEARCH_GOOGLE' => 'Google',
|
||||||
'SEARCH_LIVE' => 'Windows Live',
|
'SEARCH_LIVE' => 'Bing',
|
||||||
'SEARCH_LYCOS' => 'Lycos',
|
'SEARCH_LYCOS' => 'Lycos',
|
||||||
'SEARCH_MININOVA' => 'Mininova',
|
'SEARCH_MININOVA' => 'Mininova',
|
||||||
'SEARCH_REFERENCE' => 'Reference.com',
|
'SEARCH_REFERENCE' => 'Reference.com',
|
||||||
@@ -71,7 +93,7 @@ $lang = array_merge($lang, array(
|
|||||||
|
|
||||||
// paypal
|
// paypal
|
||||||
'PORTAL_PAY_ACC' => 'Paypal Account',
|
'PORTAL_PAY_ACC' => 'Paypal Account',
|
||||||
'PORTAL_PAY_ACC_EXPLAIN' => 'Gib deine e-mail-Adresse an, die du bei Paypal benutzt, z.B. xxx@xxx.com',
|
'PORTAL_PAY_ACC_EXP' => 'Gib deine e-mail-Adresse an, die du bei Paypal benutzt, z.B. xxx@xxx.com',
|
||||||
|
|
||||||
// User menu
|
// User menu
|
||||||
'UM_LOG_ME_IN' => 'Mich bei jedem Besuch automatisch anmelden',
|
'UM_LOG_ME_IN' => 'Mich bei jedem Besuch automatisch anmelden',
|
||||||
@@ -177,7 +199,7 @@ $lang = array_merge($lang, array(
|
|||||||
//
|
//
|
||||||
// Example:
|
// Example:
|
||||||
// 'PAGE_ABOUT' => 'About us', /* Main page title */
|
// 'PAGE_ABOUT' => 'About us', /* Main page title */
|
||||||
// 'PAGE_ABOUT_EXPLAIN' => 'Contact information here.', /* Explanation, page sub-title */
|
// 'PAGE_ABOUT_EXP' => 'Contact information here.', /* Explanation, page sub-title */
|
||||||
//
|
//
|
||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
));
|
));
|
||||||
|
|||||||
@@ -17,11 +17,7 @@ if (!defined('IN_PHPBB'))
|
|||||||
// Get portal config
|
// Get portal config
|
||||||
function obtain_portal_config()
|
function obtain_portal_config()
|
||||||
{
|
{
|
||||||
global $db, $cache;
|
global $db;
|
||||||
|
|
||||||
if (($portal_config = $cache->get('portal_config')) !== true)
|
|
||||||
{
|
|
||||||
$portal_config = $cached_portal_config = array();
|
|
||||||
|
|
||||||
$sql = 'SELECT config_name, config_value
|
$sql = 'SELECT config_name, config_value
|
||||||
FROM ' . PORTAL_CONFIG_TABLE;
|
FROM ' . PORTAL_CONFIG_TABLE;
|
||||||
@@ -34,9 +30,6 @@ function obtain_portal_config()
|
|||||||
}
|
}
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
$cache->put('portal_config', $cached_portal_config);
|
|
||||||
}
|
|
||||||
|
|
||||||
return $portal_config;
|
return $portal_config;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -64,7 +57,7 @@ function set_portal_config($config_name, $config_value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// fetch post for news & announce
|
// fetch post for news & announce
|
||||||
function phpbb_fetch_posts($forum_from, $permissions, $number_of_posts, $text_length, $time, $type, $start = 0)
|
function phpbb_fetch_posts($forum_from, $permissions, $number_of_posts, $text_length, $time, $type, $start = 0, $invert = false)
|
||||||
{
|
{
|
||||||
global $db, $phpbb_root_path, $auth, $user, $bbcode_bitfield, $bbcode, $portal_config, $config;
|
global $db, $phpbb_root_path, $auth, $user, $bbcode_bitfield, $bbcode, $portal_config, $config;
|
||||||
|
|
||||||
@@ -75,7 +68,7 @@ function phpbb_fetch_posts($forum_from, $permissions, $number_of_posts, $text_le
|
|||||||
$topic_icons = array(0);
|
$topic_icons = array(0);
|
||||||
$have_icons = 0;
|
$have_icons = 0;
|
||||||
|
|
||||||
if( $permissions == TRUE )
|
if($permissions == true)
|
||||||
{
|
{
|
||||||
$disallow_access = array_unique(array_keys($auth->acl_getf('!f_read', true)));
|
$disallow_access = array_unique(array_keys($auth->acl_getf('!f_read', true)));
|
||||||
}
|
}
|
||||||
@@ -84,6 +77,12 @@ function phpbb_fetch_posts($forum_from, $permissions, $number_of_posts, $text_le
|
|||||||
$disallow_access = array();
|
$disallow_access = array();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($invert == true)
|
||||||
|
{
|
||||||
|
$disallow_access = array_merge($disallow_access, $forum_from);
|
||||||
|
$forum_from = array();
|
||||||
|
}
|
||||||
|
|
||||||
$global_f = 0;
|
$global_f = 0;
|
||||||
|
|
||||||
if(sizeof($forum_from))
|
if(sizeof($forum_from))
|
||||||
@@ -151,6 +150,7 @@ function phpbb_fetch_posts($forum_from, $permissions, $number_of_posts, $text_le
|
|||||||
forum_id';
|
forum_id';
|
||||||
$result = $db->sql_query_limit($sql, 1);
|
$result = $db->sql_query_limit($sql, 1);
|
||||||
$row = $db->sql_fetchrow($result);
|
$row = $db->sql_fetchrow($result);
|
||||||
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
if(!sizeof($row))
|
if(!sizeof($row))
|
||||||
{
|
{
|
||||||
@@ -225,7 +225,7 @@ function phpbb_fetch_posts($forum_from, $permissions, $number_of_posts, $text_le
|
|||||||
$sql_array['SELECT'] .= ', tp.topic_posted';
|
$sql_array['SELECT'] .= ', tp.topic_posted';
|
||||||
$sql = $db->sql_build_query('SELECT', $sql_array);
|
$sql = $db->sql_build_query('SELECT', $sql_array);
|
||||||
|
|
||||||
if ($number_of_posts <> 0)
|
if ($number_of_posts != 0)
|
||||||
{
|
{
|
||||||
$result = $db->sql_query_limit($sql, $number_of_posts, $start);
|
$result = $db->sql_query_limit($sql, $number_of_posts, $start);
|
||||||
}
|
}
|
||||||
@@ -234,18 +234,12 @@ function phpbb_fetch_posts($forum_from, $permissions, $number_of_posts, $text_le
|
|||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Instantiate BBCode if need be
|
|
||||||
if ($bbcode_bitfield !== '')
|
|
||||||
{
|
|
||||||
$bbcode = new bbcode(base64_encode($bbcode_bitfield));
|
|
||||||
}
|
|
||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
|
||||||
while ($row = $db->sql_fetchrow($result))
|
while ($row = $db->sql_fetchrow($result))
|
||||||
{
|
{
|
||||||
$attachments = array();
|
$attachments = array();
|
||||||
if( $config['allow_attachments'] && $row['post_id'] )
|
if(($auth->acl_get('u_download') && ($auth->acl_get('f_download', $row['forum_id']) || $row['forum_id'] == 0)) && $config['allow_attachments'] && $row['post_id'])
|
||||||
{
|
{
|
||||||
// Pull attachment data
|
// Pull attachment data
|
||||||
$sql2 = 'SELECT *
|
$sql2 = 'SELECT *
|
||||||
@@ -268,24 +262,22 @@ function phpbb_fetch_posts($forum_from, $permissions, $number_of_posts, $text_le
|
|||||||
|
|
||||||
if (($text_length != 0) && (strlen($len_check) > $text_length))
|
if (($text_length != 0) && (strlen($len_check) > $text_length))
|
||||||
{
|
{
|
||||||
$message = censor_text(get_sub_taged_string(str_replace("\n", '<br/> ', $row['post_text']), $row['bbcode_uid'], $maxlen));
|
$message = str_replace(array("\n", "\r"), array('<br />', "\n"), $row['post_text']);
|
||||||
|
$message = get_sub_taged_string($message, $row['bbcode_uid'], $maxlen);
|
||||||
$posts[$i]['striped'] = true;
|
$posts[$i]['striped'] = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$message = censor_text( str_replace("\n", '<br/> ', $row['post_text']) );
|
$message = str_replace("\n", '<br/> ', $row['post_text']);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Second parse bbcode here
|
$row['bbcode_options'] = (($row['enable_bbcode']) ? OPTION_FLAG_BBCODE : 0) + (($row['enable_smilies']) ? OPTION_FLAG_SMILIES : 0) + (($row['enable_magic_url']) ? OPTION_FLAG_LINKS : 0);
|
||||||
if ($row['bbcode_bitfield'])
|
$message = generate_text_for_display($message, $row['bbcode_uid'], $row['bbcode_bitfield'], $row['bbcode_options']);
|
||||||
{
|
|
||||||
$bbcode->bbcode_second_pass($message, $row['bbcode_uid'], $row['bbcode_bitfield']);
|
|
||||||
}
|
|
||||||
if (!empty($attachments))
|
if (!empty($attachments))
|
||||||
{
|
{
|
||||||
parse_attachments($row['forum_id'], $message, $attachments, $update_count);
|
parse_attachments($row['forum_id'], $message, $attachments, $update_count);
|
||||||
}
|
}
|
||||||
$message = smiley_text($message); // Always process smilies after parsing bbcodes
|
|
||||||
|
|
||||||
if($global_f < 1)
|
if($global_f < 1)
|
||||||
{
|
{
|
||||||
@@ -324,6 +316,7 @@ function phpbb_fetch_posts($forum_from, $permissions, $number_of_posts, $text_le
|
|||||||
$posts['global_id'] = $global_f;
|
$posts['global_id'] = $global_f;
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
$posts['topic_icons'] = ((max($topic_icons) > 0) && $have_icons) ? true : false;
|
$posts['topic_icons'] = ((max($topic_icons) > 0) && $have_icons) ? true : false;
|
||||||
$posts['topic_count'] = $i;
|
$posts['topic_count'] = $i;
|
||||||
@@ -369,15 +362,34 @@ function get_end_bbtag($tag, $bbuid)
|
|||||||
$etag = '';
|
$etag = '';
|
||||||
for($i=0;$i<strlen($tag);$i++)
|
for($i=0;$i<strlen($tag);$i++)
|
||||||
{
|
{
|
||||||
if ($tag[$i] == '[') $etag .= $tag[$i] . '/';
|
if ($tag[$i] == '[')
|
||||||
|
{
|
||||||
|
$etag .= $tag[$i] . '/';
|
||||||
|
}
|
||||||
else if (($tag[$i] == '=') || ($tag[$i] == ':'))
|
else if (($tag[$i] == '=') || ($tag[$i] == ':'))
|
||||||
{
|
{
|
||||||
if ($tag[1] == '*') $etag .= ':m:'.$bbuid.']';
|
if ($tag[1] == '*')
|
||||||
else if (strpos($tag, 'list')) $etag .= ':u:'.$bbuid.']';
|
{
|
||||||
else $etag .= ':'.$bbuid.']';
|
$etag .= ':m:'.$bbuid.']';
|
||||||
|
}
|
||||||
|
else if (substr($tag, 0, 6) == '[list=')
|
||||||
|
{
|
||||||
|
$etag .= ':o:'.$bbuid.']';
|
||||||
|
}
|
||||||
|
else if (substr($tag, 0, 5) == '[list')
|
||||||
|
{
|
||||||
|
$etag .= ':u:'.$bbuid.']';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$etag .= ':'.$bbuid.']';
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else $etag .= $tag[$i];
|
else
|
||||||
|
{
|
||||||
|
$etag .= $tag[$i];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return $etag;
|
return $etag;
|
||||||
}
|
}
|
||||||
@@ -420,7 +432,10 @@ function get_sub_taged_string($str, $bbuid, $maxlen)
|
|||||||
while((strlen($ntext) < $cnt) && (strlen($sl) > 0))
|
while((strlen($ntext) < $cnt) && (strlen($sl) > 0))
|
||||||
{
|
{
|
||||||
$sr = '';
|
$sr = '';
|
||||||
if (substr($sl, 0, 1) == '[') $sr = substr($sl,0,strpos($sl,']')+1);
|
if (substr($sl, 0, 1) == '[')
|
||||||
|
{
|
||||||
|
$sr = substr($sl,0,strpos($sl,']')+1);
|
||||||
|
}
|
||||||
/* GESCHLOSSENE HTML-TAGS BEACHTEN */
|
/* GESCHLOSSENE HTML-TAGS BEACHTEN */
|
||||||
if (substr($sl, 0, 2) == '<!')
|
if (substr($sl, 0, 2) == '<!')
|
||||||
{
|
{
|
||||||
@@ -441,7 +456,10 @@ function get_sub_taged_string($str, $bbuid, $maxlen)
|
|||||||
$j = 0;
|
$j = 0;
|
||||||
foreach ($arr as $elem)
|
foreach ($arr as $elem)
|
||||||
{
|
{
|
||||||
if (strcmp($elem[1],$sr) != 0) $tarr[$j++] = $elem;
|
if (strcmp($elem[1],$sr) != 0)
|
||||||
|
{
|
||||||
|
$tarr[$j++] = $elem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$arr = $tarr;
|
$arr = $tarr;
|
||||||
}
|
}
|
||||||
@@ -462,15 +480,21 @@ function get_sub_taged_string($str, $bbuid, $maxlen)
|
|||||||
$sl = substr($sl, strlen($sr), strlen($sl)-strlen($sr));
|
$sl = substr($sl, strlen($sr), strlen($sl)-strlen($sr));
|
||||||
}
|
}
|
||||||
|
|
||||||
$ret = trim($ret) . '...';
|
|
||||||
$ap = '';
|
$ap = '';
|
||||||
|
|
||||||
foreach ($arr as $elem)
|
foreach ($arr as $elem)
|
||||||
{
|
{
|
||||||
$ap = $elem[1] . $ap;
|
$ap = $elem[1] . $ap;
|
||||||
}
|
}
|
||||||
$ret .= $ap;
|
|
||||||
|
|
||||||
|
$ret .= $ap;
|
||||||
|
$ret = trim($ret);
|
||||||
|
if(substr($ret, -4) == '<!--')
|
||||||
|
{
|
||||||
|
$ret .= ' -->';
|
||||||
|
}
|
||||||
|
$ret = add_endtag($ret);
|
||||||
|
$ret = $ret . '...';
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -598,7 +622,52 @@ function format_birthday($date, $format = false)
|
|||||||
}
|
}
|
||||||
unset($lang_dates['May_short']);
|
unset($lang_dates['May_short']);
|
||||||
|
|
||||||
return strtr(@date(str_replace('|', '', $format), $date), $lang_dates);
|
// We need to create a UNIX timestamp for date()
|
||||||
|
$day = substr($date, 0, strpos($date, '-'));
|
||||||
|
$month = substr($date, (strpos($date, '-')+1), 2);
|
||||||
|
$year = substr($date, -4);
|
||||||
|
$birthday_time = mktime(0, 0, 0, $month, $day, $year);
|
||||||
|
|
||||||
|
return strtr(@date(str_replace('|', '', $format), $birthday_time), $lang_dates);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if table exists
|
||||||
|
* @copyright (c) 2007 phpBB Group
|
||||||
|
*
|
||||||
|
* @param string $table_name The table name to check for
|
||||||
|
* @return bool true if table exists, else false
|
||||||
|
*/
|
||||||
|
function sql_table_exists($table_name)
|
||||||
|
{
|
||||||
|
global $db;
|
||||||
|
$db->sql_return_on_error(true);
|
||||||
|
$result = $db->sql_query_limit('SELECT * FROM ' . $db->sql_escape($table_name), 1);
|
||||||
|
$db->sql_return_on_error(false);
|
||||||
|
|
||||||
|
if ($result)
|
||||||
|
{
|
||||||
|
$db->sql_freeresult($result);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* check for invalid link tag at the end of a cut string
|
||||||
|
*/
|
||||||
|
function add_endtag ($message = '')
|
||||||
|
{
|
||||||
|
$check = (int) strripos($message, '<!-- m --><a ');
|
||||||
|
$check_2 = (int) strripos($message, '</a><!--');
|
||||||
|
|
||||||
|
if(((isset($check) && $check > 0) && ($check_2 <= $check)) || ((isset($check) && $check > 0) && !isset($check_2)))
|
||||||
|
{
|
||||||
|
$message .= '</a><!-- m -->';
|
||||||
|
}
|
||||||
|
|
||||||
|
return $message;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mini Cal.
|
// Mini Cal.
|
||||||
|
|||||||
Reference in New Issue
Block a user