1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

Notice removal and sorting fixed.

This commit is contained in:
Cameron
2017-03-31 12:35:39 -07:00
parent c8a1f1fe6a
commit 67eac11370

View File

@@ -141,7 +141,7 @@ class import_main_ui extends e_admin_ui
} }
natsort($this->providers);
} }
@@ -236,7 +236,7 @@ class import_main_ui extends e_admin_ui
<legend class='e-hideme'>".'DBLAN_10'."</legend> <legend class='e-hideme'>".'DBLAN_10'."</legend>
".$frm->hidden('mode','main')." ".$frm->hidden('mode','main')."
".$frm->hidden('action','import')." ".$frm->hidden('action','import')."
<table class='table adminlist'> <table class='table adminlist table-striped table-bordered'>
<colgroup> <colgroup>
<col /> <col />
<col /> <col />
@@ -501,16 +501,18 @@ class import_main_ui extends e_admin_ui
if(method_exists($proObj,"config")) // Config Found in Class - render options from it. if(method_exists($proObj,"config")) // Config Found in Class - render options from it.
{ {
$ops = $proObj->config(); if($ops = $proObj->config())
foreach($ops as $key=>$val)
{ {
$text .= "<tr> foreach($ops as $key=>$val)
<td>".$val['caption']."</td> {
<td>".$val['html']; $text .= "<tr>
$text .= (vartrue($val['help'])) ? "<div class='field-help'>".$val['help']."</div>" : ""; <td>".$val['caption']."</td>
$text .= "</td> <td>".$val['html'];
</tr>\n"; $text .= (vartrue($val['help'])) ? "<div class='field-help'>".$val['help']."</div>" : "";
} $text .= "</td>
</tr>\n";
}
}
} }
@@ -1572,6 +1574,7 @@ function csv_split(&$data,$delim=',',$enveloper='')
function headerjs() function headerjs()
{ {
return;
// global $import_class_names; // Keys are the various db options // global $import_class_names; // Keys are the various db options
global $import_class_support; global $import_class_support;
global $db_import_blocks; global $db_import_blocks;