diff --git a/e107_admin/frontpage.php b/e107_admin/frontpage.php index 551cf6516..8270e78e1 100644 --- a/e107_admin/frontpage.php +++ b/e107_admin/frontpage.php @@ -411,11 +411,7 @@ class frontpage "; - /* - - - - */ + } $text .= " diff --git a/e107_admin/users_extended.php b/e107_admin/users_extended.php index d9dc03184..16f2d1d3f 100755 --- a/e107_admin/users_extended.php +++ b/e107_admin/users_extended.php @@ -910,8 +910,8 @@ class users_ext
- ".ADMIN_EDIT_ICON." - + ".ADMIN_EDIT_ICON." +
diff --git a/e107_admin/wmessage.php b/e107_admin/wmessage.php index b8aee0403..6eac55730 100644 --- a/e107_admin/wmessage.php +++ b/e107_admin/wmessage.php @@ -150,7 +150,7 @@ if ($action == "main" || $action == "") ".r_userclass_name($row['gen_intdata'])." ".ADMIN_EDIT_ICON." - + "; } diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php index 44ec03e4b..77e572729 100644 --- a/e107_handlers/form_handler.php +++ b/e107_handlers/form_handler.php @@ -1531,39 +1531,36 @@ class e_form function submit_image($name, $value, $image, $title='', $options = array()) { + $tp = e107::getParser(); $options = $this->format_options('submit_image', $name, $options); switch ($image) { case 'edit': - $image = ADMIN_EDIT_ICON_PATH; $icon = "e-edit-32"; $options['class'] = $options['class'] == 'action' ? 'btn btn-default action edit' : $options['class']; break; case 'delete': - $image = ADMIN_DELETE_ICON_PATH; $icon = "e-delete-32"; $options['class'] = $options['class'] == 'action' ? 'btn btn-default action delete' : $options['class']; $options['other'] = 'data-confirm="'.LAN_JSCONFIRM.'"'; break; case 'execute': - $image = ADMIN_EXECUTE_ICON_PATH; $icon = "e-execute-32"; $options['class'] = $options['class'] == 'action' ? 'btn btn-default action execute' : $options['class']; break; case 'view': - $image = ADMIN_VIEW_ICON_PATH; $icon = "e-view-32"; $options['class'] = $options['class'] == 'action' ? 'btn btn-default action view' : $options['class']; break; } $options['title'] = $title;//shorthand - return ""; + return ""; - // return "get_attributes($options, $name, $value)." />"; + } /** diff --git a/e107_images/admin_images/delete_16.png b/e107_images/admin_images/delete_16.png new file mode 100644 index 000000000..dfb80b2e5 Binary files /dev/null and b/e107_images/admin_images/delete_16.png differ diff --git a/e107_images/admin_images/delete_32.png b/e107_images/admin_images/delete_32.png new file mode 100644 index 000000000..b953dd7e3 Binary files /dev/null and b/e107_images/admin_images/delete_32.png differ diff --git a/e107_plugins/gsitemap/admin_config.php b/e107_plugins/gsitemap/admin_config.php index a023334d0..2a8a949f1 100644 --- a/e107_plugins/gsitemap/admin_config.php +++ b/e107_plugins/gsitemap/admin_config.php @@ -164,8 +164,8 @@ class gsitemap
- - toJS(LAN_CONFIRMDEL." [".$row2['gsitemap_name']."]")."') \" src='".ADMIN_DELETE_ICON_PATH."' alt='".LAN_DELETE."' title='".LAN_DELETE."' style='border:0px' /> +
diff --git a/e107_plugins/poll/admin_config.php b/e107_plugins/poll/admin_config.php index e343201f6..4ff91eed8 100644 --- a/e107_plugins/poll/admin_config.php +++ b/e107_plugins/poll/admin_config.php @@ -202,8 +202,8 @@ function poll_list() $text .= " - - toJS(LAN_CONFIRMDEL." [".$poll_id."]")."') \" src='".ADMIN_DELETE_ICON_PATH."' alt='".LAN_DELETE."' title='".LAN_DELETE."' style='border:0px' /> + + "; }