1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 04:10:38 +02:00

Form switch styling.

This commit is contained in:
Cameron
2017-02-10 12:39:14 -08:00
parent cb4b964f61
commit 28e8937845
3 changed files with 13 additions and 7 deletions

View File

@@ -253,12 +253,17 @@ class eurl_admin_ui extends e_admin_controller_ui
// e107::getDebug()->log($sefActive);
$plg = e107::getPlug();
foreach($eUrl as $plug=>$val)
{
$plg->load($plug);
$active = !empty($sefActive[$plug]) ? true : false;
$text .= "<table class='table table-striped table-bordered' style='margin-bottom:40px'>
<colgroup>
<col style='min-width:200px' />
<col style='min-width:220px' />
<col style='width:45%' />
<col style='width:45%' />
</colgroup>";
@@ -269,7 +274,7 @@ class eurl_admin_ui extends e_admin_controller_ui
'switch' => 'mini',
));
$text .= "<tr class='active'><td ><h4>" . $plug . "</h4></td><td colspan='2'>" . $switch . "</td></tr>";
$text .= "<tr class='active'><td><h4>" . $plg->getName() . "</h4></td><td colspan='2'>" . $switch . "</td></tr>";
$text .= "<tr><th>Key</th><th>Regular Expression</th>