6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/21/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#10657] portal block does not list user defined rules
*
Your Email Address
*
Spam protection
Enter the letters below:
__..__ .__ .__ .___. (__ [__)[__)[__) _/ .__)| \[__)| \./__.
Comment
> the following patch adds the user rules to the portal block: > > diff --git a/ingo/lib/Block/Overview.php b/ingo/lib/Block/Overview.php > index 9325986..e5b1fe5 100644 > --- a/ingo/lib/Block/Overview.php > +++ b/ingo/lib/Block/Overview.php > @@ -34,7 +34,7 @@ class Ingo_Block_Overview extends Horde_Core_Block > $html = '<!--a75c305b1c0a6022--><table width="100%" height="100%">'; > $html_pre = '<tr><td valign="top">'; > $html_post = '</td></tr>'; > - foreach ($filters->getFilterList() as $filter) { > + foreach ($filters->getFilterList() as $rule_number => $filter) { > if (!empty($filter['disable'])) { > $active = _("inactive"); > } else { > @@ -97,6 +97,13 @@ class Ingo_Block_Overview extends Horde_Core_Block > _("Spam Filter") . '</a> ' . $active . $html_post; > } > break; > + > + default: > + $editurl = > Horde::url('rule.php')->copy()->add(array('edit' => $rule_number, > 'actionID' => 'rule_edit')); > + $html .= $html_pre . '</td><td>' . > + Horde::link($editurl, sprintf(_("Edit %s"), > $filter['name'])) . > + $filter['name'] . '</a> ' . $active . $html_post; > + break; > } > > } >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers