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

Various <select> css fixes.

This commit is contained in:
Cameron 2013-02-23 03:15:13 -08:00
parent cfa177a9ad
commit d7b0dcc755
7 changed files with 19 additions and 19 deletions

View File

@ -2021,7 +2021,7 @@ class admin_newspost
<td>
";
//XXX multiple-selections at once. (comma separated) - working
//XXX multiple -selections at once. (comma separated) - working
$text .= $frm->selectbox('news_render_type', $this->news_renderTypes, vartrue($_POST['news_render_type']), "multiple=1")."
<div class='field-help'>
".NWSLAN_74."

View File

@ -432,7 +432,7 @@ $text .= "<fieldset class='e-hideme' id='core-prefs-email'>
<tr>
<td style='vertical-align:top'>".LAN_MAILOUT_115."<br /></td>
<td>
<select class='tbox e-select' name='mailer' onchange='disp(this.value)'>\n";
<select class='tbox' name='mailer' onchange='disp(this.value)'>\n";
$mailers = array('php','smtp','sendmail');
foreach($mailers as $opt)
{
@ -477,7 +477,7 @@ $text .= "<fieldset class='e-hideme' id='core-prefs-email'>
<tr>
<td>".LAN_MAILOUT_90."</td><td>
<select class='tbox e-select' name='smtp_options'>\n
<select class='tbox' name='smtp_options'>\n
<option value=''>".LAN_MAILOUT_96."</option>\n";
$selected = (in_array('secure=SSL',$smtp_opts) ? " selected='selected'" : '');
$text .= "<option value='smtp_ssl'{$selected}>".LAN_MAILOUT_92."</option>\n";

View File

@ -383,7 +383,7 @@ else
<td>".$value."</td>
<td class='center'>".r_userclass("core_handlers[".$key."][class]", $search_prefs['core_handlers'][$key]['class'], "off", "public,guest,nobody,member,admin,classes")."</td>
<td class='center'>
<select name='core_handlers[".$key."][order]' class='tbox select e-select order'>
<select name='core_handlers[".$key."][order]' class='tbox order'>
";
for($a = 1; $a <= $handlers_total; $a++) {
$text .= ($search_prefs['core_handlers'][$key]['order'] == $a) ? "<option value='".$a."' selected='selected'>".$a."</option>" : "<option value='".$a."'>".$a."</option>";
@ -409,7 +409,7 @@ else
<td>".$search_info[0]['qtype']."</td>
<td class='center'>".r_userclass("plug_handlers[".$plug_dir."][class]", $search_prefs['plug_handlers'][$plug_dir]['class'], "off", "public,guest,nobody,member,admin,classes")."</td>
<td class='center'>
<select name='plug_handlers[".$plug_dir."][order]' class='tbox select e-select order'>
<select name='plug_handlers[".$plug_dir."][order]' class='tbox order'>
";
for($a = 1; $a <= $handlers_total; $a++) {
$text .= (vartrue($search_prefs['plug_handlers'][$plug_dir]['order']) == $a) ? "<option value='".$a."' selected='selected'>".$a."</option>" : "<option value='".$a."'>".$a."</option>";

View File

@ -426,7 +426,7 @@ class e_media
/**
* Generate Simple Thumbnail window for image-selection
* Generate Simple Thumbnail window for image -selection
* TODO Use Whole-page popup window
* TODO Add an upload Tab?.
* TODO Real-time ajax filter by keyword

View File

@ -438,7 +438,7 @@ class user_class
}
// Only return the select box if we've ended up with some options
if ($text) $text = "\n<select class='tbox select e-select' name='{$fieldname}' {$extra_js}>\n".$text."</select>\n";
if ($text) $text = "\n<select class='tbox' name='{$fieldname}' {$extra_js}>\n".$text."</select>\n";
return $text;
}

View File

@ -246,7 +246,7 @@ $ns->tablerender($caption, $mes->render() . $text);
function gen_select($prompt,$name,$value)
{
$ret = "<div style='padding-bottom: 4px'>".$prompt."&nbsp;&nbsp;"."<select name='{$name}' class='tbox e-select'>\n
$ret = "<div style='padding-bottom: 4px'>".$prompt."&nbsp;&nbsp;"."<select name='{$name}' class='tbox'>\n
<option value='0' ".($value == 0 ? " selected='selected'" : "").">".ADSTAT_L50."</option>\n
<option value='1' ".($value == 1 ? " selected='selected'" : "").">".ADSTAT_L49."</option>\n
<option value='2' ".($value == 2 ? " selected='selected'" : "").">".ADSTAT_L48."</option>\n
@ -258,7 +258,7 @@ function gen_select($prompt,$name,$value)
function data_type_select($name,$value)
{
global $stats_list;
$ret = "<select name='{$name}' class='tbox e-select' onchange=\"settypebox(this.value);\">\n
$ret = "<select name='{$name}' class='tbox' onchange=\"settypebox(this.value);\">\n
<option value='page' ".($value == 'page' ? " selected='selected'" : "").">".ADSTAT_L52."</option>\n";
foreach ($stats_list as $k=>$v)
{
@ -381,7 +381,7 @@ switch ($action)
// Period selection type for page data
$text .= "<tr><td>".ADSTAT_L41."</td><td>\n
<select class='tbox e-select' name='export_date' id='export_date' onchange=\"setdatebox(this.value);\" ".($export_type=='page' ? "" : "style='display:none'" ).">\n
<select class='tbox' name='export_date' id='export_date' onchange=\"setdatebox(this.value);\" ".($export_type=='page' ? "" : "style='display:none'" ).">\n
<option value='1'".($export_date==1 ? " selected='selected'" : "").">".ADSTAT_L42."</option>\n
<option value='2'".($export_date==2 ? " selected='selected'" : "").">".ADSTAT_L43."</option>\n
<option value='3'".($export_date==3 ? " selected='selected'" : "").">".ADSTAT_L44."</option>\n
@ -391,7 +391,7 @@ switch ($action)
// Period selection type for non-page data
$text .= "
<select class='tbox e-select' name='export2_date' id='export2_date' onchange=\"setdatebox(this.value);\" ".($export_type=='page' ? "style='display:none'" : "").">\n
<select class='tbox' name='export2_date' id='export2_date' onchange=\"setdatebox(this.value);\" ".($export_type=='page' ? "style='display:none'" : "").">\n
<option value='3'".($export2_date==3 ? " selected='selected'" : "").">".ADSTAT_L44."</option>\n
<option value='4'".($export2_date==4 ? " selected='selected'" : "").">".ADSTAT_L45."</option>\n
</select>";
@ -405,7 +405,7 @@ switch ($action)
// Now put the various dropdowns - their visibility is controlled by the export_type dropdown
$text .= "<select class='tbox e-select' name='export_day' id='export_day'>\n";
$text .= "<select class='tbox' name='export_day' id='export_day'>\n";
for ($i = 1; $i < 32; $i++)
{
$selected = $export_day == $i ? " selected='selected'" : "";
@ -414,7 +414,7 @@ switch ($action)
$text .= "</select>\n&nbsp;&nbsp;&nbsp;";
$text .= "<select class='tbox e-select' name='export_month' id='export_month'>\n";
$text .= "<select class='tbox' name='export_month' id='export_month'>\n";
for ($i = 1; $i < 13; $i++)
{
$selected = $export_month == $i ? " selected='selected'" : "";
@ -423,7 +423,7 @@ switch ($action)
$text .= "</select>\n&nbsp;&nbsp;&nbsp;";
$this_year = date("Y");
$text .= "<select class='tbox e-select' name='export_year' id='export_year'>\n";
$text .= "<select class='tbox' name='export_year' id='export_year'>\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 .= "<tr><td>".ADSTAT_L59."</td><td>\n
<select class='tbox e-select' name='export_char'>";
<select class='tbox' name='export_char'>";
foreach ($separator_list as $k=>$v)
{
$selected = $export_char == $k ? " selected='selected'" : "";
$text .= "<option value='{$k}'{$selected}>{$v}</option>\n";
}
$text .= "</select>\n&nbsp;&nbsp;&nbsp;&nbsp;<select class='tbox e-select' name='export_quote'>\n";
$text .= "</select>\n&nbsp;&nbsp;&nbsp;&nbsp;<select class='tbox' name='export_quote'>\n";
foreach ($quote_list as $k=>$v)
{
$selected = $export_quote == $k ? " selected='selected'" : "";
@ -528,7 +528,7 @@ switch ($action)
$admin_log->log_event('STAT_04',ADSTAT_L83.$logStr,'');
}
$text .= "<tr><td>".ADSTAT_L70."</td>";
$text .= "<td><select class='tbox e-select' name='delete_month'>\n";
$text .= "<td><select class='tbox' name='delete_month'>\n";
$match_month = date("n");
for ($i = 1; $i < 13; $i++)
{
@ -538,7 +538,7 @@ switch ($action)
$text .= "</select>\n&nbsp;&nbsp;&nbsp;";
$this_year = date("Y");
$text .= "<select class='tbox e-select' name='delete_year' id='export_year'>\n";
$text .= "<select class='tbox' name='delete_year' id='export_year'>\n";
for ($i = $this_year; $i > $this_year - 6; $i--)
{
$selected = ($this_year - 2) == $i ? " selected='selected'" : "";

View File

@ -176,7 +176,7 @@ if (!$sql->db_Select("news_category"))
else
{
$text .= "
<select name='cat_id' class='e-select tbox'>";
<select name='cat_id' class='tbox'>";
while (list($cat_id, $cat_name, $cat_icon) = $sql->db_Fetch(MYSQL_NUM))
{
$sel = (varset($_POST['cat_id'],'') == $cat_id) ? "selected='selected'" : "";