Summary | Add better shared resource support to menus |
Queue | Horde Base |
Queue Version | HEAD |
Type | Enhancement |
State | Rejected |
Priority | 1. Low |
Owners | |
Requester | csacca (at) thecsl (dot) org |
Created | 07/13/2005 (7373 days ago) |
Due | |
Updated | 04/18/2006 (7094 days ago) |
Assigned | |
Resolved | 04/18/2006 (7094 days ago) |
Milestone | |
Patch | No |
State ⇒ Feedback
the menu's drop down list, i.e. it shows +/- again where we displayed
the options in different colors instead.
New Attachment: kron_and_nag_menu_v5[1].patch
$browser;' to the functions so they puked. I've added the line to
each function and now they work correctly.
-Chris
State ⇒ Accepted
New Attachment: kron_and_nag_menu_v5.patch
strings to variable interpolation.
use double-quotes for gettext strings otherwise the strings won't get
added to the list of things to translate.
interpolation or newlines, etc.
strings to variable interpolation. You need to update your patch to
use double-quotes for gettext strings otherwise the strings won't get
added to the list of things to translate.
New Attachment: kron_and_nag_menu_v4.patch
unless you do the diff from the Horde directory. Try using cvs diff
-uRn.
directory should work with patch -p0
interpolation or newlines, etc.
Thanks for all the quick feedback.
Chris Sacca
1. Please rename the functions to
getTasklistWidget()/getCalendarWidget(). Personal taste, but a bit
clearer about what the function is.
2. For xhtml, you should use disabled="disabled", not disabled="true".
3. Please spell out boolean and integer in phpdoc comments.
4. You need to echo the result of the function in the templates you
use it in; you just call it, which results in nothing being output.
5. Please don't combine patches to different applications in one file
unless you do the diff from the Horde directory. Try using cvs diff
-uRn.
6. Don't use double-quoted strings unless necessary for variable
interpolation or newlines, etc.
7. In several places in Nag, the old code would pre-select the default
tasklist (possibly in Kronolith as well). Your function doesn't
provide an option for that; it should be added back in.
Not trying to be picky for no reason, but since you've been improving
it, I thought I'd give you as much feedback as I could. :)
New Attachment: kron_and_nag_menu_v3.patch
apply cleanly at all. Also, in Kronolith, you've lost the <optgroup>
functionality - please restore that. It should be carried over to
Nag, even.
Sorry, I'm really not that familiar with the code base yet.
Thanks for helping me out,
Chris Sacca
apply cleanly at all. Also, in Kronolith, you've lost the <optgroup>
functionality - please restore that. It should be carried over to Nag,
even.
New Attachment: kron_and_nag_menu_v2.patch
screens, you allow to select no share at all (by adding the My
Calendar etc. entries), and you didn't use gettext for the strings.
of showing different permissions, uses gettext, and uses the disabled
attr in <select> to disallow selecting the non-share entries.
Thoughts?
Chris Sacca
screens, you allow to select no share at all (by adding the My
Calendar etc. entries), and you didn't use gettext for the strings.
to correct my mistakes.
screens, you allow to select no share at all (by adding the My
Calendar etc. entries), and you didn't use gettext for the strings.
New Attachment: kron_and_nag_menu.patch
Somewhere in horde/templates/ ? Or maybe in framwork/Menu/ ?
backwards compatibility, so I'd go with one function per application,
in lib/App.php.
a little fuzzy, but I works under my installation.
Thanks,
Chris
Somewhere in horde/templates/ ? Or maybe in framwork/Menu/ ?
backwards compatibility, so I'd go with one function per application,
in lib/App.php.
it to a function so it's not duplicated everywhere.
Somewhere in horde/templates/ ? Or maybe in framwork/Menu/ ?
State ⇒ Feedback
to a function so it's not duplicated everywhere.
New Attachment: cvs_nag_sharing_menu.patch
New Attachment: cvs_kron_sharing_menu.patch
Priority ⇒ 1. Low
State ⇒ New
Queue ⇒ Horde Base
Type ⇒ Enhancement
Summary ⇒ Add better shared resource support to menus
menu in menu.inc of kronolith was expanded into the create/edit/import
calendar selection menus as well. In addition I would find the
bracketed owner name useful in nag, and possibly other services that
use shared resources.
I wrote a couple patches (against HEAD) to deal with this in nag and
kronolith. Although they don't really address the issues talked about
in
bug #362, I believe they still might be useful.