|
[
Permalink
| « Hide
]
Nicolas Connault added a comment - 14/Jul/09 05:34 PM
Attached a patch with the conversion of the helpbutton() function.
Should we allow $linktext to be true/false/"Some text" so you can have different visible text and tooltip. Hmm. or is it better to have no tooltip when there is visible text?
We should clean up $tooltip = get_string... to not concatenate strings. Does the code become cleaner if we use moodle_url? Attached a patch with migration of *_to_popup_window() functions.
Updated the popup patch
Just attached a general patch that includes all my changes.
Attached another more recent patch. Be mindful that some of the API details are still under consideration, particularly the abstraction details of action_icon and help_icon.
Finished refactoring helpbutton
More review comments:
Lots more comments.
This method can be used in two ways: // Option 2: (shortcut for simple cases)
Do not take the number of comments as an indication that this patch is bad. Quite the contrary, it is close, but not quite there yet. Finished fixing all of the issues reported by Tim.
Also added YUI tooltips over helpbuttons. Attached a patch for only weblib.php, outputlib.php and deprecatedlib.php
More review comments.
Fixed all reported issues, Tim, plus did some more refactoring in various places.
Deprecated print_paging_bar and notice_yesno, patch updated
Hi, Nicolas, I made a patch to make confirm_dialog support callback function, can you please review it?
Thanks Hi,
method textarea is still unimplemented. Will it be added to the output renderer? Thanks |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||