projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Included Sales Pricing, Purchasing Prising, Cost update and Reorder Levels in tabs...
[fa-stable.git]
/
includes
/
ui
/
ui_lists.inc
diff --git
a/includes/ui/ui_lists.inc
b/includes/ui/ui_lists.inc
index 47d7d7e06536d9ea46b9d88ff7b1e549a53d9e7c..d2be5fab97aec7eebcf1a62c3218e4d348e14f2a 100644
(file)
--- a/
includes/ui/ui_lists.inc
+++ b/
includes/ui/ui_lists.inc
@@
-2200,7
+2200,7
@@
function security_roles_list_row($label, $name, $selected_id=null, $new_item=fal
echo "</tr>\n";
}
echo "</tr>\n";
}
-function tab_list_row($label, $name, $selected_id=null
, $all = false
)
+function tab_list_row($label, $name, $selected_id=null)
{
global $installed_extensions;
{
global $installed_extensions;
@@
-2208,12
+2208,6
@@
function tab_list_row($label, $name, $selected_id=null, $all = false)
foreach ($_SESSION['App']->applications as $app) {
$tabs[$app->id] = access_string($app->name, true);
}
foreach ($_SESSION['App']->applications as $app) {
$tabs[$app->id] = access_string($app->name, true);
}
- if ($all) { // add also not active ext. modules
- foreach ($installed_extensions as $ext) {
- if ($ext['type'] == 'module' && !$ext['active'])
- $tabs[$ext['tab']] = access_string($ext['title'], true);
- }
- }
echo "<tr>\n";
echo "<td class='label'>$label</td><td>\n";
echo array_selector($name, $selected_id, $tabs);
echo "<tr>\n";
echo "<td class='label'>$label</td><td>\n";
echo array_selector($name, $selected_id, $tabs);