X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Finst_module.php;h=622f5305395dab621790ae4a20d4c1573cd888f9;hb=3e2f1b46bb33c1720b4373f324f6126ca26d2ac7;hp=d0d8a366069a21b1bad6e61d7d7e5c1a071985d5;hpb=45966656906337a4119f03df3d2cea55e22f1757;p=fa-stable.git diff --git a/admin/inst_module.php b/admin/inst_module.php index d0d8a366..622f5305 100644 --- a/admin/inst_module.php +++ b/admin/inst_module.php @@ -1,5 +1,14 @@ . +***********************************************************************/ $page_security = 20; $path_to_root=".."; include_once($path_to_root . "/includes/session.inc"); @@ -130,7 +139,8 @@ function write_modules() $msg .= "\n\n"; $msg .= "\$installed_modules = array (\n"; - $msg .= "\t0 => "; + if ($n > 0) + $msg .= "\t0 => "; for ($i = 0; $i < $n; $i++) { if ($i > 0) @@ -278,8 +288,15 @@ function display_modules() label_cell($mods[$i]['name']); label_cell($mods[$i]['path']); label_cell($mods[$i]['filename']); - edit_link_cell("selected_id=" . $i); - label_cell("" . _("Delete") . ""); + $edit = _("Edit"); + $delete = _("Delete"); + if (user_graphic_links()) + { + $edit = set_icon(ICON_EDIT, $edit); + $delete = set_icon(ICON_DELETE, $delete); + } + label_cell("$edit"); + label_cell("$delete"); end_row(); } @@ -297,7 +314,7 @@ function display_module_edit($selected_id) else $n = count($installed_modules); - start_form(true, true); + start_form(true); echo "