mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Styling fixes
This commit is contained in:
@@ -336,12 +336,12 @@ class news_admin_ui extends e_admin_ui
|
|||||||
'news_sef' => array('title' => 'SEF URL', 'type' => 'text', 'width' => 'auto', 'thclass' => '', 'class' => null, 'nosort' => false),
|
'news_sef' => array('title' => 'SEF URL', 'type' => 'text', 'width' => 'auto', 'thclass' => '', 'class' => null, 'nosort' => false),
|
||||||
'user_name' => array('title' => LAN_NEWS_50, 'type' => 'text', 'width' => 'auto', 'thclass' => '', 'class' => null, 'nosort' => false),
|
'user_name' => array('title' => LAN_NEWS_50, 'type' => 'text', 'width' => 'auto', 'thclass' => '', 'class' => null, 'nosort' => false),
|
||||||
'news_datestamp' => array('title' => LAN_NEWS_32, 'type' => 'datestamp', 'data' => 'int', 'width' => 'auto', 'thclass' => '', 'class' => null, 'nosort' => false, 'parms' => 'mask=%A %d %B %Y', 'filter'=>true),
|
'news_datestamp' => array('title' => LAN_NEWS_32, 'type' => 'datestamp', 'data' => 'int', 'width' => 'auto', 'thclass' => '', 'class' => null, 'nosort' => false, 'parms' => 'mask=%A %d %B %Y', 'filter'=>true),
|
||||||
'news_category' => array('title' => NWSLAN_6, 'type' => 'dropdown', 'data' => 'int', 'width' => 'auto', 'thclass' => '', 'class' => null, 'nosort' => false, 'batch'=>true, 'filter'=>true),
|
'news_category' => array('title' => NWSLAN_6, 'type' => 'dropdown', 'data' => 'int', 'inline'=>true, 'width' => 'auto', 'thclass' => '', 'class' => null, 'nosort' => false, 'batch'=>true, 'filter'=>true),
|
||||||
|
|
||||||
'news_start' => array('title' => "Start", 'type' => 'datestamp', 'width' => 'auto', 'thclass' => '', 'class' => null, 'nosort' => false, 'parms' => 'mask=%A %d %B %Y'),
|
'news_start' => array('title' => "Start", 'type' => 'datestamp', 'width' => 'auto', 'thclass' => '', 'class' => null, 'nosort' => false, 'parms' => 'mask=%A %d %B %Y'),
|
||||||
'news_end' => array('title' => "End", 'type' => 'datestamp', 'width' => 'auto', 'thclass' => '', 'class' => null, 'nosort' => false, 'parms' => 'mask=%A %d %B %Y'),
|
'news_end' => array('title' => "End", 'type' => 'datestamp', 'width' => 'auto', 'thclass' => '', 'class' => null, 'nosort' => false, 'parms' => 'mask=%A %d %B %Y'),
|
||||||
|
|
||||||
'news_class' => array('title' => NWSLAN_22, 'type' => 'userclasses', 'data' => 'int', 'width' => 'auto', 'thclass' => '', 'class' => null, 'nosort' => false, 'batch'=>true, 'filter'=>true),
|
'news_class' => array('title' => NWSLAN_22, 'type' => 'userclasses', 'data' => 'int', 'inline'=>true, 'width' => 'auto', 'thclass' => '', 'class' => null, 'nosort' => false, 'batch'=>true, 'filter'=>true),
|
||||||
'news_render_type' => array('title' => LAN_TEMPLATE, 'type' => 'comma', 'width' => 'auto', 'thclass' => 'center', 'class' => null, 'nosort' => false, 'batch'=>true, 'filter'=>true),
|
'news_render_type' => array('title' => LAN_TEMPLATE, 'type' => 'comma', 'width' => 'auto', 'thclass' => 'center', 'class' => null, 'nosort' => false, 'batch'=>true, 'filter'=>true),
|
||||||
'news_sticky' => array('title' => LAN_NEWS_28, 'type' => 'boolean', 'data' => 'int' , 'width' => 'auto', 'thclass' => 'center', 'class' => 'center', 'nosort' => false, 'batch'=>true, 'filter'=>true),
|
'news_sticky' => array('title' => LAN_NEWS_28, 'type' => 'boolean', 'data' => 'int' , 'width' => 'auto', 'thclass' => 'center', 'class' => 'center', 'nosort' => false, 'batch'=>true, 'filter'=>true),
|
||||||
'news_allow_comments' => array('title' => NWSLAN_15, 'type' => 'boolean', 'data' => 'int', 'width' => 'auto', 'thclass' => 'center', 'class' => 'center', 'nosort' => false,'batch'=>true, 'filter'=>true,'readParms'=>'reverse=1','writeParms'=>'reverse=1'),
|
'news_allow_comments' => array('title' => NWSLAN_15, 'type' => 'boolean', 'data' => 'int', 'width' => 'auto', 'thclass' => 'center', 'class' => 'center', 'nosort' => false,'batch'=>true, 'filter'=>true,'readParms'=>'reverse=1','writeParms'=>'reverse=1'),
|
||||||
@@ -441,7 +441,7 @@ class news_admin_ui extends e_admin_ui
|
|||||||
|
|
||||||
function settingsPage()
|
function settingsPage()
|
||||||
{
|
{
|
||||||
$this->newspost->show_news_prefs();
|
return $this->newspost->show_news_prefs();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -2890,7 +2890,7 @@ class admin_newspost
|
|||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
";
|
";
|
||||||
echo e107::getMessage()->render().$text;
|
return e107::getMessage()->render().$text;
|
||||||
// e107::getRender()->tablerender(NWSLAN_90, e107::getMessage()->render().$text);
|
// e107::getRender()->tablerender(NWSLAN_90, e107::getMessage()->render().$text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -588,7 +588,7 @@ class users_ext
|
|||||||
$text .= "<tr>
|
$text .= "<tr>
|
||||||
<td >".EXTLAN_14."</td>
|
<td >".EXTLAN_14."</td>
|
||||||
<td colspan='3'>
|
<td colspan='3'>
|
||||||
<select onchange='changeHelp(this.value)' class='tbox' name='user_type' id='user_type'>";
|
<select onchange='changeHelp(this.value)' class='tbox e-select' name='user_type' id='user_type'>";
|
||||||
foreach($ue->user_extended_types as $key => $val)
|
foreach($ue->user_extended_types as $key => $val)
|
||||||
{
|
{
|
||||||
$selected = (vartrue($current['user_extended_struct_type']) == $key) ? " selected='selected'": "";
|
$selected = (vartrue($current['user_extended_struct_type']) == $key) ? " selected='selected'": "";
|
||||||
@@ -637,7 +637,7 @@ class users_ext
|
|||||||
|
|
||||||
$text .= "<div id='db_mode' style='display:$db_hide'>\n";
|
$text .= "<div id='db_mode' style='display:$db_hide'>\n";
|
||||||
$text .= "<table style='width:70%;margin-left:0px'><tr><td>";
|
$text .= "<table style='width:70%;margin-left:0px'><tr><td>";
|
||||||
$text .= EXTLAN_62."</td><td style='70%'><select style='width:99%' class='tbox' name='table_db' onchange=\"this.form.submit()\" >
|
$text .= EXTLAN_62."</td><td style='70%'><select style='width:99%' class='tbox e-select' name='table_db' onchange=\"this.form.submit()\" >
|
||||||
<option value='' class='caption'>".EXTLAN_61."</option>\n";
|
<option value='' class='caption'>".EXTLAN_61."</option>\n";
|
||||||
$result = mysql_list_tables($mySQLdefaultdb);
|
$result = mysql_list_tables($mySQLdefaultdb);
|
||||||
while ($row2 = mysql_fetch_row($result))
|
while ($row2 = mysql_fetch_row($result))
|
||||||
@@ -653,7 +653,7 @@ class users_ext
|
|||||||
if($_POST['table_db'] || $curVals[0])
|
if($_POST['table_db'] || $curVals[0])
|
||||||
{
|
{
|
||||||
// Field ID
|
// Field ID
|
||||||
$text .= "<tr><td>".EXTLAN_63."</td><td><select style='width:99%' class='tbox' name='field_id' >\n
|
$text .= "<tr><td>".EXTLAN_63."</td><td><select style='width:99%' class='tbox e-select' name='field_id' >\n
|
||||||
<option value='' class='caption'>".EXTLAN_61."</option>\n";
|
<option value='' class='caption'>".EXTLAN_61."</option>\n";
|
||||||
$table_list = ($_POST['table_db']) ? $_POST['table_db'] : $curVals[0] ;
|
$table_list = ($_POST['table_db']) ? $_POST['table_db'] : $curVals[0] ;
|
||||||
if($sql -> db_Select_gen("DESCRIBE ".MPREFIX."{$table_list}")){
|
if($sql -> db_Select_gen("DESCRIBE ".MPREFIX."{$table_list}")){
|
||||||
@@ -665,7 +665,7 @@ class users_ext
|
|||||||
}
|
}
|
||||||
$text .= " </select></td></tr><tr><td>";
|
$text .= " </select></td></tr><tr><td>";
|
||||||
// Field Value
|
// Field Value
|
||||||
$text .= EXTLAN_64."</td><td><select style='width:99%' class='tbox' name='field_value' >
|
$text .= EXTLAN_64."</td><td><select style='width:99%' class='tbox e-select' name='field_value' >
|
||||||
<option value='' class='caption'>".EXTLAN_61."</option>\n";
|
<option value='' class='caption'>".EXTLAN_61."</option>\n";
|
||||||
$table_list = ($_POST['table_db']) ? $_POST['table_db'] : $curVals[0] ;
|
$table_list = ($_POST['table_db']) ? $_POST['table_db'] : $curVals[0] ;
|
||||||
if($sql -> db_Select_gen("DESCRIBE ".MPREFIX."{$table_list}")){
|
if($sql -> db_Select_gen("DESCRIBE ".MPREFIX."{$table_list}")){
|
||||||
@@ -677,7 +677,7 @@ class users_ext
|
|||||||
}
|
}
|
||||||
$text .= " </select></td></tr><tr><td>";
|
$text .= " </select></td></tr><tr><td>";
|
||||||
|
|
||||||
$text .= LAN_ORDER."</td><td><select style='width:99%' class='tbox' name='field_order' >
|
$text .= LAN_ORDER."</td><td><select style='width:99%' class='tbox e-select' name='field_order' >
|
||||||
<option value='' class='caption'>".EXTLAN_61."</option>\n";
|
<option value='' class='caption'>".EXTLAN_61."</option>\n";
|
||||||
$table_list = ($_POST['table_db']) ? $_POST['table_db'] : $curVals[0] ;
|
$table_list = ($_POST['table_db']) ? $_POST['table_db'] : $curVals[0] ;
|
||||||
if($sql -> db_Select_gen("DESCRIBE ".MPREFIX."{$table_list}")){
|
if($sql -> db_Select_gen("DESCRIBE ".MPREFIX."{$table_list}")){
|
||||||
@@ -731,7 +731,7 @@ class users_ext
|
|||||||
<tr>
|
<tr>
|
||||||
<td>".EXTLAN_44."</td>
|
<td>".EXTLAN_44."</td>
|
||||||
<td colspan='3'>
|
<td colspan='3'>
|
||||||
<select class='tbox' name='user_parent'>";
|
<select class='tbox e-select' name='user_parent'>";
|
||||||
foreach($this->catNums as $k)
|
foreach($this->catNums as $k)
|
||||||
{
|
{
|
||||||
$sel = ($k == varset($current['user_extended_struct_parent'])) ? " selected='selected' " : "";
|
$sel = ($k == varset($current['user_extended_struct_parent'])) ? " selected='selected' " : "";
|
||||||
@@ -745,7 +745,7 @@ class users_ext
|
|||||||
<tr>
|
<tr>
|
||||||
<td>".EXTLAN_18."</td>
|
<td>".EXTLAN_18."</td>
|
||||||
<td colspan='3'>
|
<td colspan='3'>
|
||||||
<select class='tbox' name='user_required'>
|
<select class='tbox e-select' name='user_required'>
|
||||||
";
|
";
|
||||||
$_r = array('0' => EXTLAN_65, '1' => EXTLAN_66, '2' => EXTLAN_67);
|
$_r = array('0' => EXTLAN_65, '1' => EXTLAN_66, '2' => EXTLAN_67);
|
||||||
foreach($_r as $k => $v) //FIXME change to $frm->selectbox()
|
foreach($_r as $k => $v) //FIXME change to $frm->selectbox()
|
||||||
@@ -786,7 +786,7 @@ class users_ext
|
|||||||
<td>".EXTLAN_49."
|
<td>".EXTLAN_49."
|
||||||
</td>
|
</td>
|
||||||
<td colspan='3'>
|
<td colspan='3'>
|
||||||
<select class='tbox' name='user_hide'>
|
<select class='tbox e-select' name='user_hide'>
|
||||||
";
|
";
|
||||||
if($current_hide)
|
if($current_hide)
|
||||||
{
|
{
|
||||||
|
@@ -859,7 +859,7 @@ class admin_shortcodes
|
|||||||
|
|
||||||
function sc_admin_siteinfo($parm='')
|
function sc_admin_siteinfo($parm='')
|
||||||
{
|
{
|
||||||
if($parm == 'creditsonly' && e_PAGE != "credits.php")
|
if($parm == 'creditsonly' && e_PAGE != "credits.php" && e_PAGE != "phpinfo.php")
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -2816,7 +2816,7 @@ class e_form
|
|||||||
<fieldset id='{$elid}-list'>
|
<fieldset id='{$elid}-list'>
|
||||||
<legend class='{$legend_class}'>".$options['legend']."</legend>
|
<legend class='{$legend_class}'>".$options['legend']."</legend>
|
||||||
".vartrue($options['table_pre'])."
|
".vartrue($options['table_pre'])."
|
||||||
<table class='table adminlist' id='{$elid}-list-table'>
|
<table class='table adminlist table-striped' id='{$elid}-list-table'>
|
||||||
".$this->colGroup($fields, $current_fields)."
|
".$this->colGroup($fields, $current_fields)."
|
||||||
".$this->thead($fields, $current_fields, varset($options['head_query']), varset($options['query']))."
|
".$this->thead($fields, $current_fields, varset($options['head_query']), varset($options['query']))."
|
||||||
<tbody id='e-sort'>
|
<tbody id='e-sort'>
|
||||||
|
@@ -11,14 +11,12 @@ if (!defined('e107_INIT')) { exit; }
|
|||||||
|
|
||||||
$caption = "Search Help";
|
$caption = "Search Help";
|
||||||
$text = "
|
$text = "
|
||||||
<p>
|
|
||||||
If your MySQL server version supports it you can switch
|
If your MySQL server version supports it you can switch
|
||||||
to the MySQL sort method which is faster than the PHP sort method. See preferences.
|
to the MySQL sort method which is faster than the PHP sort method. See preferences.
|
||||||
</p>
|
<br /><br />
|
||||||
<p>
|
|
||||||
If your site includes Ideographic languages such as Chinese and Japanese you must
|
If your site includes Ideographic languages such as Chinese and Japanese you must
|
||||||
use the PHP sort method and switch whole word matching off.
|
use the PHP sort method and switch whole word matching off.
|
||||||
</p>
|
|
||||||
";
|
";
|
||||||
$ns->tablerender($caption, $text);
|
$ns->tablerender($caption, $text);
|
||||||
?>
|
?>
|
@@ -664,6 +664,17 @@ i.searchquery {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.nav-header {
|
||||||
|
padding-bottom:10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ui-tabs .ui-tabs-nav li a, .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a
|
||||||
|
{
|
||||||
|
background-color: rgb(230, 230, 230);
|
||||||
|
border-bottom: 1px solid rgb(221, 221, 221);
|
||||||
|
color: rgb(153, 153, 153);
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
|
|
||||||
body { background-color: rgb(68, 68, 68); }
|
body { background-color: rgb(68, 68, 68); }
|
||||||
|
Reference in New Issue
Block a user