mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
Issue #5432 - button styling.
This commit is contained in:
@@ -143,7 +143,7 @@ class page_admin_form_ui extends e_admin_form_ui
|
|||||||
$query['id'] = $id;
|
$query['id'] = $id;
|
||||||
$query = http_build_query($query, '', '&');
|
$query = http_build_query($query, '', '&');
|
||||||
|
|
||||||
$text = "<a href='".e_SELF."?{$query}' class='btn btn-primary' title='".LAN_EDIT."' data-toggle='tooltip' data-bs-toggle='tooltip' data-placement='left'>
|
$text = "<a href='".e_SELF."?{$query}' class='btn btn-success' title='".LAN_EDIT."' data-toggle='tooltip' data-bs-toggle='tooltip' data-placement='left'>
|
||||||
".defset('ADMIN_EDIT_ICON')."</a>";
|
".defset('ADMIN_EDIT_ICON')."</a>";
|
||||||
|
|
||||||
if($this->getController()->getMode() === 'overview' && getperms('J1')) // Page/Menu Delete Perms.
|
if($this->getController()->getMode() === 'overview' && getperms('J1')) // Page/Menu Delete Perms.
|
||||||
|
@@ -404,7 +404,7 @@ else
|
|||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
<td class='center'>
|
<td class='center'>
|
||||||
<a class='btn btn-default btn-secondary btn-large' href='".e_SELF."?edit.c.".$key."'>".ADMIN_EDIT_ICON."</a>
|
<a class='btn btn-success btn-large' href='".e_SELF."?edit.c.".$key."'>".ADMIN_EDIT_ICON."</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
";
|
";
|
||||||
@@ -458,7 +458,7 @@ else
|
|||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
<td class='center'>
|
<td class='center'>
|
||||||
<a class='btn btn-default btn-secondary btn-large' href='".e_SELF."?edit.p.".$plug_dir."'>".ADMIN_EDIT_ICON."</a>
|
<a class='btn btn-success btn-large' href='".e_SELF."?edit.p.".$plug_dir."'>".ADMIN_EDIT_ICON."</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
";
|
";
|
||||||
|
@@ -16,6 +16,8 @@ if (!getperms('4'))
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
e107::css('inline', '#admin-users-extended-main-list td.options .btn-group { justify-content: left } ');
|
||||||
|
|
||||||
e107::coreLan('users_extended', true);
|
e107::coreLan('users_extended', true);
|
||||||
|
|
||||||
if(varset($_GET['mode']) == "ajax")
|
if(varset($_GET['mode']) == "ajax")
|
||||||
|
@@ -3817,12 +3817,12 @@ var_dump($select_options);*/
|
|||||||
{
|
{
|
||||||
case 'edit':
|
case 'edit':
|
||||||
$icon = deftrue('e_ADMIN_AREA') ? defset('ADMIN_EDIT_ICON') : $tp->toIcon('e-edit-32');
|
$icon = deftrue('e_ADMIN_AREA') ? defset('ADMIN_EDIT_ICON') : $tp->toIcon('e-edit-32');
|
||||||
$options['class'] = $options['class'] === 'action' ? 'btn btn-default btn-secondary action edit' : $options['class'];
|
$options['class'] = $options['class'] === 'action' ? 'btn btn-success action edit' : $options['class'];
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'delete':
|
case 'delete':
|
||||||
$icon = deftrue('e_ADMIN_AREA') ? defset('ADMIN_DELETE_ICON') : $tp->toIcon('fa-trash.glyph');
|
$icon = deftrue('e_ADMIN_AREA') ? defset('ADMIN_DELETE_ICON') : $tp->toIcon('fa-trash.glyph');
|
||||||
$options['class'] = $options['class'] === 'action' ? 'btn btn-default btn-secondary action delete' : $options['class'];
|
$options['class'] = $options['class'] === 'action' ? 'btn btn-danger action delete' : $options['class'];
|
||||||
$options['data-confirm'] = LAN_JSCONFIRM;
|
$options['data-confirm'] = LAN_JSCONFIRM;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -5301,7 +5301,7 @@ var_dump($select_options);*/
|
|||||||
|
|
||||||
$att = [
|
$att = [
|
||||||
'href' => e_SELF . "?$query",
|
'href' => e_SELF . "?$query",
|
||||||
'class' => "btn btn-default btn-primary$eModal",
|
'class' => "btn btn-default btn-success$eModal",
|
||||||
'data-modal-caption' => $eModalCap,
|
'data-modal-caption' => $eModalCap,
|
||||||
'title' => LAN_EDIT,
|
'title' => LAN_EDIT,
|
||||||
// 'data-toggle' => 'tooltip',
|
// 'data-toggle' => 'tooltip',
|
||||||
|
Reference in New Issue
Block a user