From d7b0dcc7555535442a9b8878eeb54205a18c41ef Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 23 Feb 2013 03:15:13 -0800 Subject: [PATCH] Various \n"; + \n + + + \n".$text."\n"; + if ($text) $text = "\n\n"; return $text; } diff --git a/e107_plugins/log/admin_config.php b/e107_plugins/log/admin_config.php index e21d24593..08f7a8246 100644 --- a/e107_plugins/log/admin_config.php +++ b/e107_plugins/log/admin_config.php @@ -246,7 +246,7 @@ $ns->tablerender($caption, $mes->render() . $text); function gen_select($prompt,$name,$value) { - $ret = "
".$prompt."  "."\n \n \n \n @@ -258,7 +258,7 @@ function gen_select($prompt,$name,$value) function data_type_select($name,$value) { global $stats_list; - $ret = "\n \n"; foreach ($stats_list as $k=>$v) { @@ -381,7 +381,7 @@ switch ($action) // Period selection type for page data $text .= "".ADSTAT_L41."\n - \n \n \n \n @@ -391,7 +391,7 @@ switch ($action) // Period selection type for non-page data $text .= " - \n \n \n "; @@ -405,7 +405,7 @@ switch ($action) // Now put the various dropdowns - their visibility is controlled by the export_type dropdown - $text .= "\n"; for ($i = 1; $i < 32; $i++) { $selected = $export_day == $i ? " selected='selected'" : ""; @@ -414,7 +414,7 @@ switch ($action) $text .= "\n   "; - $text .= "\n"; for ($i = 1; $i < 13; $i++) { $selected = $export_month == $i ? " selected='selected'" : ""; @@ -423,7 +423,7 @@ switch ($action) $text .= "\n   "; $this_year = date("Y"); - $text .= "\n"; for ($i = $this_year; $i > $this_year - 6; $i--) { $selected = $export_year == $i ? " selected='selected'" : ""; @@ -440,13 +440,13 @@ switch ($action) { // Separators, quotes $text .= "".ADSTAT_L59."\n - "; foreach ($separator_list as $k=>$v) { $selected = $export_char == $k ? " selected='selected'" : ""; $text .= "\n"; } - $text .= "\n    \n    \n"; + $text .= "\n   "; $this_year = date("Y"); - $text .= "\n"; for ($i = $this_year; $i > $this_year - 6; $i--) { $selected = ($this_year - 2) == $i ? " selected='selected'" : ""; diff --git a/submitnews.php b/submitnews.php index bf18f7466..647b0d067 100644 --- a/submitnews.php +++ b/submitnews.php @@ -176,7 +176,7 @@ if (!$sql->db_Select("news_category")) else { $text .= " - "; while (list($cat_id, $cat_name, $cat_icon) = $sql->db_Fetch(MYSQL_NUM)) { $sel = (varset($_POST['cat_id'],'') == $cat_id) ? "selected='selected'" : "";