Summary | Add an option to hide the script icon in ingo |
Queue | Ingo |
Queue Version | 1.2 |
Type | Enhancement |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org |
Requester | yann (at) pleiades (dot) fr (dot) eu (dot) org |
Created | 08/28/2008 (6153 days ago) |
Due | |
Updated | 09/01/2008 (6149 days ago) |
Assigned | |
Resolved | 08/31/2008 (6150 days ago) |
Milestone | |
Patch | No |
http://cvs.horde.org/diff.php/ingo/lib/Ingo.php?r1=1.106&r2=1.107&ty=u
I thought script icon would not be displayed if the auto_update is
locked and set.
Right now is not displayed is only auto_update is locked and unset
Shouldn't the patch rather be:
@@ -395,7 +395,9 @@ class Ingo {
if (in_array(INGO_STORAGE_ACTION_SPAM,
$_SESSION['ingo']['script_categories'])) {
$menu->add(Horde::applicationUrl('spam.php'),
_("S_pam"), 'spam.png');
}
- if ($_SESSION['ingo']['script_generate']) {
+ if ($_SESSION['ingo']['script_generate'] &&
+ !($GLOBALS['prefs']->isLocked('auto_update') &&
+ $GLOBALS['prefs']->getValue('auto_update'))) {
$menu->add(Horde::applicationUrl('script.php'),
_("_Script"), 'script.png');
}
if (!empty($GLOBALS['ingo_shares']) &&
empty($GLOBALS['conf']['share']['no_sharing'])) {
http://cvs.horde.org/diff.php/ingo/docs/CHANGES?r1=1.55.2.106&r2=1.55.2.107&ty=u
http://cvs.horde.org/diff.php/ingo/lib/Ingo.php?r1=1.69.6.19&r2=1.69.6.20&ty=u
Assigned to Jan Schneider
State ⇒ Resolved
http://cvs.horde.org/diff.php/ingo/docs/CHANGES?r1=1.201&r2=1.202&ty=u
http://cvs.horde.org/diff.php/ingo/lib/Ingo.php?r1=1.105&r2=1.106&ty=u
for our setup.
State ⇒ Feedback
preference to enable scripts automatically is set and locked. We could
hide the button under that condition. Does that make sense?
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Add an option to hide the script icon in ingo
Queue ⇒ Ingo
Milestone ⇒
Patch ⇒ No
State ⇒ New
icon displayed in the top menu bar in ingo.
Would it be possible to add an option for this ?