[cleanup/whitespace] Get rid of unnecessary whitespace
This commit is contained in:
@@ -107,8 +107,8 @@ function bbfontstyle(bbopen, bbclose)
|
|||||||
// IE
|
// IE
|
||||||
else if (document.selection)
|
else if (document.selection)
|
||||||
{
|
{
|
||||||
var range = textarea.createTextRange();
|
var range = textarea.createTextRange();
|
||||||
range.move("character", new_pos);
|
range.move("character", new_pos);
|
||||||
range.select();
|
range.select();
|
||||||
storeCaret(textarea);
|
storeCaret(textarea);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -360,8 +360,8 @@ class acp_portal
|
|||||||
$module_id = request_var('module_id', '');
|
$module_id = request_var('module_id', '');
|
||||||
|
|
||||||
// Create an array of already installed modules
|
// Create an array of already installed modules
|
||||||
$portal_modules = obtain_portal_modules();
|
$portal_modules = obtain_portal_modules();
|
||||||
$installed_modules = $module_column = array();
|
$installed_modules = $module_column = array();
|
||||||
|
|
||||||
foreach($portal_modules as $cur_module)
|
foreach($portal_modules as $cur_module)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -293,7 +293,7 @@ class portal_announcements_module
|
|||||||
$forum_id = $fetch_news[$i]['forum_id'];
|
$forum_id = $fetch_news[$i]['forum_id'];
|
||||||
$topic_id = $fetch_news[$i]['topic_id'];
|
$topic_id = $fetch_news[$i]['topic_id'];
|
||||||
$topic_tracking_info = get_complete_topic_tracking($forum_id, $topic_id, $global_announce_list = false);
|
$topic_tracking_info = get_complete_topic_tracking($forum_id, $topic_id, $global_announce_list = false);
|
||||||
$unread_topic = (isset($topic_tracking_info[$topic_id]) && $fetch_news[$i]['topic_last_post_time'] > $topic_tracking_info[$topic_id]) ? true : false;
|
$unread_topic = (isset($topic_tracking_info[$topic_id]) && $fetch_news[$i]['topic_last_post_time'] > $topic_tracking_info[$topic_id]) ? true : false;
|
||||||
$open_bracket = '[ ';
|
$open_bracket = '[ ';
|
||||||
$close_bracket = ' ]';
|
$close_bracket = ' ]';
|
||||||
$read_full = $user->lang['BACK'];
|
$read_full = $user->lang['BACK'];
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ class portal_calendar_module
|
|||||||
|
|
||||||
$template->assign_block_vars('minical.mini_cal_row.mini_cal_days', array(
|
$template->assign_block_vars('minical.mini_cal_row.mini_cal_days', array(
|
||||||
'MINI_CAL_DAY' => ($mini_cal_count == 0) ? '<span style="color: ' . $config['board3_calendar_sunday_color_' . $module_id] . ';">' . $mini_cal_day . '</span>' : $mini_cal_day)
|
'MINI_CAL_DAY' => ($mini_cal_count == 0) ? '<span style="color: ' . $config['board3_calendar_sunday_color_' . $module_id] . ';">' . $mini_cal_day . '</span>' : $mini_cal_day)
|
||||||
);
|
);
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
// no day
|
// no day
|
||||||
@@ -150,7 +150,7 @@ class portal_calendar_module
|
|||||||
{
|
{
|
||||||
$template->assign_block_vars('minical.mini_cal_row.mini_cal_days', array(
|
$template->assign_block_vars('minical.mini_cal_row.mini_cal_days', array(
|
||||||
'MINI_CAL_DAY' => ' ')
|
'MINI_CAL_DAY' => ' ')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// is this the last day of the week?
|
// is this the last day of the week?
|
||||||
|
|||||||
Reference in New Issue
Block a user