1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-17 20:01:47 +02:00

Added Bootstrap Switch.

This commit is contained in:
Lóna Lore
2017-01-28 10:23:53 +01:00
parent 98aa0f1c57
commit ac5f2ed3da
5 changed files with 188 additions and 29 deletions

View File

@@ -262,7 +262,12 @@ class eurl_admin_ui extends e_admin_controller_ui
</colgroup>";
$name = 'urlstatus['.$plug.']';
$text .= "<tr class='active'><td ><h4>".$plug."</h4></td><td colspan='2'>".$frm->radio_switch($name,$active)."</td></tr>";
$switch = $frm->radio_switch($name, $active, LAN_ON, LAN_OFF, array(
'switch' => 'mini',
));
$text .= "<tr class='active'><td ><h4>" . $plug . "</h4></td><td colspan='2'>" . $switch . "</td></tr>";
$text .= "<tr><th>Key</th><th>Regular Expression</th>