]> git.mjollnir.org Git - moodle.git/log
moodle.git
16 years agoMDL-13766
dongsheng [Thu, 28 Aug 2008 06:23:23 +0000 (06:23 +0000)]
MDL-13766
1. Change location of cached and downloaded files
2. Clean up expired cache files
3. Remove downloaded files after completing moving

16 years agoMDL-13766: fix/add comments
jerome [Thu, 28 Aug 2008 06:15:19 +0000 (06:15 +0000)]
MDL-13766: fix/add comments

16 years agoMDL-13766: refactor all repository_instances() => repository_get_instances()
jerome [Thu, 28 Aug 2008 05:30:19 +0000 (05:30 +0000)]
MDL-13766: refactor all repository_instances() => repository_get_instances()

16 years agoMDL-13766: refactor all repository_instance() => repository_get_instance()
jerome [Thu, 28 Aug 2008 05:23:07 +0000 (05:23 +0000)]
MDL-13766: refactor all repository_instance() => repository_get_instance()

16 years agoMDL-13766: refactor all libary functions, they now all start with repository_
jerome [Thu, 28 Aug 2008 05:13:13 +0000 (05:13 +0000)]
MDL-13766: refactor all libary functions, they now all start with repository_

16 years agoMDL-16243 Implement a health-centre check that the question categories are arranged...
tjhunt [Thu, 28 Aug 2008 05:06:32 +0000 (05:06 +0000)]
MDL-16243 Implement a health-centre check that the question categories are arranged properly in tree structures.

16 years agoMDL-14741:
scyrma [Thu, 28 Aug 2008 04:08:37 +0000 (04:08 +0000)]
MDL-14741:
 * Remove media plugin (which causes javascript error) until next upgrade from upstream
 * Fix onsubmit function to make it work - hopefully for good
 * Remove unused courseid parameter (which will make caching more effective)

16 years agoMDL-16204 - On an old site, there were question categories where category->parent...
tjhunt [Thu, 28 Aug 2008 03:23:59 +0000 (03:23 +0000)]
MDL-16204 - On an old site, there were question categories where category->parent went round in a loop. This crashed the upgrade. Change the upgrade code to make it more robust.

16 years agoMDL-13766, verify data before return to browser.
dongsheng [Thu, 28 Aug 2008 02:23:09 +0000 (02:23 +0000)]
MDL-13766, verify data before return to browser.

16 years agoMDL-16219 - mod/quiz/reviewquestion.php does not call questiontype::get_html_head_con...
tjhunt [Thu, 28 Aug 2008 02:15:19 +0000 (02:15 +0000)]
MDL-16219 - mod/quiz/reviewquestion.php does not call questiontype::get_html_head_contributions. This was missed when implementing MDL-6368.

16 years agoMDL-8475 - Better handling of blank answer - further changes to make it even more...
tjhunt [Thu, 28 Aug 2008 01:48:43 +0000 (01:48 +0000)]
MDL-8475 - Better handling of blank answer - further changes to make it even more robust. Also, make the same changes to the shortanswer question type that were already made to the numerical question type.

16 years agoUpdated the HEAD build version to 20080828
moodlerobot [Thu, 28 Aug 2008 01:46:41 +0000 (01:46 +0000)]
Updated the HEAD build version to 20080828

16 years agoAutomatic installer.php lang files by installer_builder (20080828)
moodlerobot [Thu, 28 Aug 2008 01:27:25 +0000 (01:27 +0000)]
Automatic installer.php lang files by installer_builder (20080828)

16 years agoMDL-4746 - Course 01 of the ADL SCORM 1.2 test suite fails on point 4. only set...
piers [Wed, 27 Aug 2008 23:24:38 +0000 (23:24 +0000)]
MDL-4746 - Course 01 of the ADL SCORM 1.2 test suite fails on point 4.  only set browsed status if the SCO hasn't set a status.

16 years agoMDL-16137 - clear scorm directory if it already exists
danmarsden [Wed, 27 Aug 2008 22:38:52 +0000 (22:38 +0000)]
MDL-16137 - clear scorm directory if it already exists

16 years agoMDL-10767 - set values of checkboxes correctly
danmarsden [Wed, 27 Aug 2008 22:02:16 +0000 (22:02 +0000)]
MDL-10767 - set values of checkboxes correctly

16 years agoMDL-16236 & operator is often not needed in PHP5 in method definition
skodak [Wed, 27 Aug 2008 20:52:48 +0000 (20:52 +0000)]
MDL-16236 & operator is often not needed in PHP5 in method definition

16 years agoMDL-16235 yet more ;-)
skodak [Wed, 27 Aug 2008 20:48:16 +0000 (20:48 +0000)]
MDL-16235 yet more ;-)

16 years agoMDL-16235 whitespace terror :-D
skodak [Wed, 27 Aug 2008 20:43:06 +0000 (20:43 +0000)]
MDL-16235 whitespace terror :-D

16 years agoMDL-16234 defaults support in plugin_supports()
skodak [Wed, 27 Aug 2008 20:22:33 +0000 (20:22 +0000)]
MDL-16234 defaults support in plugin_supports()

16 years agoMDL-16223, MDL-16222 - error string improvements
skodak [Wed, 27 Aug 2008 16:34:23 +0000 (16:34 +0000)]
MDL-16223, MDL-16222 - error string improvements

16 years agoMDL-16223, MDL-16222 - module context now available in xxx_add_instance() module...
skodak [Wed, 27 Aug 2008 16:33:50 +0000 (16:33 +0000)]
MDL-16223, MDL-16222 - module context now available in xxx_add_instance() module method and $mform is passed as second parameter; $cm is updated/inserted before the activity insert/update hook; other related refactoring and cleanup; error string improvements

16 years agoMDL-15497 fixed notice when deleting forum
skodak [Wed, 27 Aug 2008 15:50:33 +0000 (15:50 +0000)]
MDL-15497 fixed notice when deleting forum

16 years agofixed whitespace
skodak [Wed, 27 Aug 2008 15:48:46 +0000 (15:48 +0000)]
fixed whitespace

16 years agoMDL-16226 coding style improvements, added deleting of module files
skodak [Wed, 27 Aug 2008 15:47:25 +0000 (15:47 +0000)]
MDL-16226 coding style improvements, added deleting of module files

16 years agoMDL-16226 coding style improvements, added deleting of module files, improved validat...
skodak [Wed, 27 Aug 2008 15:11:20 +0000 (15:11 +0000)]
MDL-16226 coding style improvements, added deleting of module files, improved validation of params

16 years agoMDL-16220 allow deleting of all files attached to context
skodak [Wed, 27 Aug 2008 11:46:48 +0000 (11:46 +0000)]
MDL-16220 allow deleting of all files attached to context

16 years agoMDL-16226 get_coursemodule_xx() improvements
skodak [Wed, 27 Aug 2008 11:31:37 +0000 (11:31 +0000)]
MDL-16226 get_coursemodule_xx() improvements

16 years agoCurse you CVS!!! Didn't notice strange merge error.
thepurpleblob [Wed, 27 Aug 2008 10:27:39 +0000 (10:27 +0000)]
Curse you CVS!!!  Didn't notice strange merge error.

16 years agoMDL-16221
thepurpleblob [Wed, 27 Aug 2008 10:24:48 +0000 (10:24 +0000)]
MDL-16221
The height and width are now included in the user's image.

16 years agoMDL-15405: Add missing quote in javascript code
scyrma [Wed, 27 Aug 2008 08:36:01 +0000 (08:36 +0000)]
MDL-15405: Add missing quote in javascript code

16 years agoMDL-16220 allow deleting of all files attached to context
skodak [Wed, 27 Aug 2008 08:23:07 +0000 (08:23 +0000)]
MDL-16220 allow deleting of all files attached to context

16 years agoMDL-15405: A first form (partly) converted to the new filepicker element.
scyrma [Wed, 27 Aug 2008 07:57:54 +0000 (07:57 +0000)]
MDL-15405: A first form (partly) converted to the new filepicker element.

16 years agoMDL-16043: manage case when administrator set enrol_remotecoursefield or enrol_remote...
jerome [Wed, 27 Aug 2008 07:27:13 +0000 (07:27 +0000)]
MDL-16043: manage case when administrator set enrol_remotecoursefield or enrol_remoteuserfield in UPPERCASE, merged from 19

16 years agoMDL-13766, fix lang strings and small bugs
dongsheng [Wed, 27 Aug 2008 06:23:01 +0000 (06:23 +0000)]
MDL-13766, fix lang strings and small bugs

16 years agoMDL-13766
dongsheng [Wed, 27 Aug 2008 04:17:35 +0000 (04:17 +0000)]
MDL-13766
1. click thumbnail to download or view target file
2. fix css issues
3. boxnet api url changed

16 years agoMDL-4746 - Course 01 of the ADL SCORM 1.2 test suite fails on point 4. gramatical...
piers [Wed, 27 Aug 2008 04:06:00 +0000 (04:06 +0000)]
MDL-4746 - Course 01 of the ADL SCORM 1.2 test suite fails on point 4.  gramatical error - thanks Dan.

16 years agoMDL-4746 - Course 01 of the ADL SCORM 1.2 test suite fails on point 4. Fix cmi.comme...
piers [Wed, 27 Aug 2008 02:41:13 +0000 (02:41 +0000)]
MDL-4746 - Course 01 of the ADL SCORM 1.2 test suite fails on point 4.  Fix cmi.comments, and mastery_score checking.

16 years ago"MDL-13413, chat transcripts donot include instructor when using separate groups"
dongsheng [Wed, 27 Aug 2008 02:21:11 +0000 (02:21 +0000)]
"MDL-13413, chat transcripts donot include instructor when using separate groups"

16 years agoUpdated the HEAD build version to 20080827
moodlerobot [Wed, 27 Aug 2008 01:42:10 +0000 (01:42 +0000)]
Updated the HEAD build version to 20080827

16 years agoMDL-16218 - Typo in lang file. Thanks to Mitsuhiro Yoshida for spotting it.
tjhunt [Wed, 27 Aug 2008 01:03:41 +0000 (01:03 +0000)]
MDL-16218 - Typo in lang file. Thanks to Mitsuhiro Yoshida for spotting it.

16 years agoPrevent SQL error when forcing download. MDL-15921 ; merged from 19_STABLE
stronk7 [Tue, 26 Aug 2008 23:02:58 +0000 (23:02 +0000)]
Prevent SQL error when forcing download. MDL-15921 ; merged from 19_STABLE

16 years agoMDL-13766 rerunning latest repo upgrade block, the 2008082600 was not correct in...
skodak [Tue, 26 Aug 2008 19:49:54 +0000 (19:49 +0000)]
MDL-13766 rerunning latest repo upgrade block, the 2008082600 was not correct in upgrade.php, should have been 2008082601

16 years agoMDL-13766 optimised upgrade - no need to create & modify repository table and delete...
skodak [Tue, 26 Aug 2008 19:44:04 +0000 (19:44 +0000)]
MDL-13766 optimised upgrade - no need to create & modify repository table and delete it afterwards

16 years agoMDL-16190: Completion icons don't show on IE6
sam_marshall [Tue, 26 Aug 2008 09:42:16 +0000 (09:42 +0000)]
MDL-16190: Completion icons don't show on IE6

16 years agoMDL-16132 "'Dry run' should be two separate words (OED)."
jamiesensei [Tue, 26 Aug 2008 09:01:41 +0000 (09:01 +0000)]
MDL-16132 "'Dry run' should be two separate words (OED)."

16 years agoMDL-16176
nicolasconnault [Tue, 26 Aug 2008 08:21:52 +0000 (08:21 +0000)]
MDL-16176

16 years agoMDL-13766, add a cancel button on file picker, fix bugs in repository administration...
dongsheng [Tue, 26 Aug 2008 08:00:47 +0000 (08:00 +0000)]
MDL-13766, add a cancel button on file picker, fix bugs in repository administration panel

16 years agoMDL-13766
dongsheng [Tue, 26 Aug 2008 07:20:56 +0000 (07:20 +0000)]
MDL-13766
1. Chanage database, create 2 more tables for repository
2. One-step download in file picker

16 years agothumbnails -> icons
moodler [Tue, 26 Aug 2008 06:58:22 +0000 (06:58 +0000)]
thumbnails -> icons

16 years agoSmall updates
moodler [Tue, 26 Aug 2008 06:57:04 +0000 (06:57 +0000)]
Small updates

16 years agoMDL-16208 fixed deleting of orphaned module tables
skodak [Tue, 26 Aug 2008 06:54:43 +0000 (06:54 +0000)]
MDL-16208 fixed deleting of orphaned module tables

16 years agoMDL-16115 strict fixes for admin settings unmask field too
skodak [Tue, 26 Aug 2008 06:41:37 +0000 (06:41 +0000)]
MDL-16115 strict fixes for admin settings unmask field too

16 years agoMDL-7010 - followup - delete file that is no longer required.
tjhunt [Tue, 26 Aug 2008 05:58:32 +0000 (05:58 +0000)]
MDL-7010 - followup - delete file that is no longer required.

16 years agoMDL-16166 centralised enabling of subsystems, fixed some warnings and general cleanup
skodak [Tue, 26 Aug 2008 05:45:07 +0000 (05:45 +0000)]
MDL-16166 centralised enabling of subsystems, fixed some warnings and general cleanup

16 years agoSome improvements to strings - translators should probably wait because there
moodler [Tue, 26 Aug 2008 05:13:35 +0000 (05:13 +0000)]
Some improvements to strings - translators should probably wait because there
will be more changes

16 years agoUpdated the HEAD build version to 20080826
moodlerobot [Tue, 26 Aug 2008 01:47:45 +0000 (01:47 +0000)]
Updated the HEAD build version to 20080826

16 years agoMDL-16200 question/type/datasetdependent/ missing version.php. This was a mistake...
tjhunt [Tue, 26 Aug 2008 01:09:23 +0000 (01:09 +0000)]
MDL-16200 question/type/datasetdependent/ missing version.php. This was a mistake made when fixing MDL-6095.

16 years agoMDL-7010 Convert mod\quiz\config.html to mod/quiz/settingstree.php using the new...
tjhunt [Tue, 26 Aug 2008 01:05:01 +0000 (01:05 +0000)]
MDL-7010 Convert mod\quiz\config.html to mod/quiz/settingstree.php using the new admin tree system.

16 years agoMDL-16061 Revert incorrect fix for "Remove 'username' from the $moodleattributes...
iarenaza [Mon, 25 Aug 2008 22:44:45 +0000 (22:44 +0000)]
MDL-16061 Revert incorrect fix for "Remove 'username' from the $moodleattributes array"

Merged from MOODLE_18_STABLE.

The fix is wrong, as it breaks auth_db_sync_users.php and
auth_ldap_sync_users.php at least. No new users are added to Moodle, as the
username is missing from the new user info record.

The fix needs to go into update_user_record() in lib/moodlelib.php to make it
skip the 'username' key, as we really need get_userinfo() to return the
username as part of the user info array.

16 years agoMDL-15669 Check db schema vs install.xml - code by Andrei Bautu, with minor changes...
skodak [Mon, 25 Aug 2008 22:02:49 +0000 (22:02 +0000)]
MDL-15669 Check db schema vs install.xml - code by Andrei Bautu, with minor changes only (more strict checking)

16 years agoMDL-15668 XML schema for XML db image file - credit goes to Andrei Bautu
skodak [Mon, 25 Aug 2008 21:10:11 +0000 (21:10 +0000)]
MDL-15668 XML schema for XML db image file - credit goes to Andrei Bautu

16 years agoMDL-15671, MDL-15717 DB->import_record() support - code based on patch by Andrei...
skodak [Mon, 25 Aug 2008 21:00:47 +0000 (21:00 +0000)]
MDL-15671, MDL-15717 DB->import_record() support - code based on patch by Andrei Bautu; added new param to raw insert; unit tests included

16 years agoremoving TODO: yes we want public raw insert methods, they are already used for log...
skodak [Mon, 25 Aug 2008 13:19:22 +0000 (13:19 +0000)]
removing TODO: yes we want public raw insert methods, they are already used for log inserts ;-)

16 years agoMDL-15671 support for table sequence resetting - code by Andrei Bautu (with minor...
skodak [Mon, 25 Aug 2008 12:52:49 +0000 (12:52 +0000)]
MDL-15671 support for table sequence resetting - code by Andrei Bautu (with minor modifications)

16 years agoMDL-16121 "Manual Grading Doesn't Work" grades where not getting saved. Fixed that...
jamiesensei [Mon, 25 Aug 2008 07:44:20 +0000 (07:44 +0000)]
MDL-16121 "Manual Grading Doesn't Work" grades where not getting saved. Fixed that now.

16 years agoUpdated the HEAD build version to 20080825
moodlerobot [Mon, 25 Aug 2008 01:36:29 +0000 (01:36 +0000)]
Updated the HEAD build version to 20080825

16 years agoAutomatic installer.php lang files by installer_builder (20080825)
moodlerobot [Mon, 25 Aug 2008 01:18:06 +0000 (01:18 +0000)]
Automatic installer.php lang files by installer_builder (20080825)

16 years agoMDL-15881 - Probable bug: Not able to update SCORM.
piers [Sun, 24 Aug 2008 23:02:09 +0000 (23:02 +0000)]
MDL-15881 - Probable bug: Not able to update SCORM.

16 years agoMDL-16111 - SCORM grade not updated in Grader Report. Include grading by learning...
piers [Sun, 24 Aug 2008 21:10:09 +0000 (21:10 +0000)]
MDL-16111 - SCORM grade not updated in Grader Report.  Include grading by learning objects if status is complete.

16 years agoMDL-15799 LDAP - user data mapping doesn't work. Merged from MOODLE_18_STABLE
iarenaza [Sun, 24 Aug 2008 20:46:49 +0000 (20:46 +0000)]
MDL-15799 LDAP - user data mapping doesn't work. Merged from MOODLE_18_STABLE

The Right Way(tm) to write a LDAP filter is enclosing it in parentheses (see
RFC 4515/2254).

16 years agoRemove hack not needed anymore. Now enviroment check handles this properly. MDL-16008...
stronk7 [Sun, 24 Aug 2008 16:39:06 +0000 (16:39 +0000)]
Remove hack not needed anymore. Now enviroment check handles this properly. MDL-16008 & MDL-16188

16 years agoPrevent some notices at install. MDL-16188 ; merged from 19_STABLE
stronk7 [Sun, 24 Aug 2008 16:33:26 +0000 (16:33 +0000)]
Prevent some notices at install. MDL-16188 ; merged from 19_STABLE

16 years agoUpdated the HEAD build version to 20080824
moodlerobot [Sun, 24 Aug 2008 01:34:51 +0000 (01:34 +0000)]
Updated the HEAD build version to 20080824

16 years agoAutomatic installer.php lang files by installer_builder (20080824)
moodlerobot [Sun, 24 Aug 2008 01:16:53 +0000 (01:16 +0000)]
Automatic installer.php lang files by installer_builder (20080824)

16 years agoMDL-16182 Loosening the api a bit, solves the issue.
nicolasconnault [Sat, 23 Aug 2008 07:01:44 +0000 (07:01 +0000)]
MDL-16182 Loosening the api a bit, solves the issue.

16 years agoMDL-16177 Moving to admin folder
nicolasconnault [Sat, 23 Aug 2008 06:58:00 +0000 (06:58 +0000)]
MDL-16177 Moving to admin folder

16 years agoUpdated the HEAD build version to 20080823
moodlerobot [Sat, 23 Aug 2008 01:36:19 +0000 (01:36 +0000)]
Updated the HEAD build version to 20080823

16 years agoAutomatic installer.php lang files by installer_builder (20080823)
moodlerobot [Sat, 23 Aug 2008 01:18:21 +0000 (01:18 +0000)]
Automatic installer.php lang files by installer_builder (20080823)

16 years agoMDL-16177 Added generation of forum discussions and posts, with multiple users and...
nicolasconnault [Fri, 22 Aug 2008 19:40:41 +0000 (19:40 +0000)]
MDL-16177 Added generation of forum discussions and posts, with multiple users and nesting of replies.

16 years ago MDL-15768 - set userobject in the caller before checking permissions.
mjollnir_ [Fri, 22 Aug 2008 16:35:26 +0000 (16:35 +0000)]
 MDL-15768 - set userobject in the caller before checking permissions.

16 years ago MDL-15768 - fix forum permission checking for portfolio export
mjollnir_ [Fri, 22 Aug 2008 16:34:44 +0000 (16:34 +0000)]
 MDL-15768 - fix forum permission checking for portfolio export

16 years agoMDL-15865 - fixing search for portfolio settings page
mjollnir_ [Fri, 22 Aug 2008 16:17:30 +0000 (16:17 +0000)]
MDL-15865 - fixing search for portfolio settings page

16 years agoMDL-15498: Completion system, help buttons aren't supposed to show when editing
sam_marshall [Fri, 22 Aug 2008 15:46:30 +0000 (15:46 +0000)]
MDL-15498: Completion system, help buttons aren't supposed to show when editing

16 years agoMDL-16178 Fixed
nicolasconnault [Fri, 22 Aug 2008 14:53:46 +0000 (14:53 +0000)]
MDL-16178 Fixed

16 years agoMDL-16177 Brought generator script from contrib to HEAD so it can be used and maintai...
nicolasconnault [Fri, 22 Aug 2008 14:05:52 +0000 (14:05 +0000)]
MDL-16177 Brought generator script from contrib to HEAD so it can be used and maintained by core developers.

16 years agoMDL-14591 - added support for portfolio plugins to force queueing and fixed a couple...
mjollnir_ [Fri, 22 Aug 2008 13:47:51 +0000 (13:47 +0000)]
MDL-14591  - added support for portfolio plugins to force queueing and fixed a couple bugs.

16 years agoMDL-14591 - fixups related to cancelling requests and reawakening them
mjollnir_ [Fri, 22 Aug 2008 13:25:53 +0000 (13:25 +0000)]
MDL-14591 - fixups related to cancelling requests and reawakening them

16 years agofixing error caused by $DB migration
mjollnir_ [Fri, 22 Aug 2008 12:31:16 +0000 (12:31 +0000)]
fixing error caused by $DB migration

16 years agoMDL-15498: Completion system, added help button to explain the tickboxes
sam_marshall [Fri, 22 Aug 2008 11:51:24 +0000 (11:51 +0000)]
MDL-15498: Completion system, added help button to explain the tickboxes

16 years agoMDL-15351: first working version of the local browser
scyrma [Fri, 22 Aug 2008 07:36:11 +0000 (07:36 +0000)]
MDL-15351: first working version of the local browser

16 years ago"MDL-13766, make folder in treeview looks different from the files"
dongsheng [Fri, 22 Aug 2008 07:29:08 +0000 (07:29 +0000)]
"MDL-13766, make folder in treeview looks different from the files"

16 years ago* Fix where quiz report lang strings are searched for. The correct prefix for this...
tjhunt [Fri, 22 Aug 2008 07:12:27 +0000 (07:12 +0000)]
* Fix where quiz report lang strings are searched for. The correct prefix for this type of plugin is quiz_.
* Fix a misleading comment.
* Improve a bit of code in get_config by using get_records_menu.

16 years agoMDL-16171 - Allow mdd/xxx/defaults.php to load data into the config_plugins table.
tjhunt [Fri, 22 Aug 2008 06:38:54 +0000 (06:38 +0000)]
MDL-16171 - Allow mdd/xxx/defaults.php to load data into the config_plugins table.

16 years agoMDL-13766 better documentation (forgot one field, re-ordered fields)
scyrma [Fri, 22 Aug 2008 06:24:25 +0000 (06:24 +0000)]
MDL-13766 better documentation (forgot one field, re-ordered fields)

16 years ago"MDL-13766, browse subfolder in thumbview"
dongsheng [Fri, 22 Aug 2008 06:10:37 +0000 (06:10 +0000)]
"MDL-13766, browse subfolder in thumbview"

16 years agoMDL-13766: improve documentation
scyrma [Fri, 22 Aug 2008 06:06:02 +0000 (06:06 +0000)]
MDL-13766: improve documentation

16 years agoMDL-13766: adding some documentation for the file listing sent back by a repository...
scyrma [Fri, 22 Aug 2008 05:59:08 +0000 (05:59 +0000)]
MDL-13766: adding some documentation for the file listing sent back by a repository plugin

16 years agoMDL-16170 - Improve naming of the plugins category in the admin menu.
tjhunt [Fri, 22 Aug 2008 03:32:49 +0000 (03:32 +0000)]
MDL-16170 - Improve naming of the plugins category in the admin menu.

Yes, I know I changed an existing language string, which is supposed to be wrong, but I changed it so that the string 'plugin' is now 'Plugin'. I just cannot see that as a wrong change.

16 years agoMDL-6353 Also make the repagination UI better by making it always visible, and conver...
tjhunt [Fri, 22 Aug 2008 02:46:54 +0000 (02:46 +0000)]
MDL-6353 Also make the repagination UI better by making it always visible, and convert the show/hide page breaks and reordering tool check boxes to be buttons.