206 Commits

Author SHA1 Message Date
David Mudrak
55c6372e28 MDL-15252 Fixed regression: XMLDB action using optionally defined strings
To prevent debugging warning, we check if the string is defined first.
In this case it does not make sense to add new string for every action
as the title is not actually displayed anywhere.
2010-04-22 21:13:53 +00:00
Petr Skoda
61ef8f9f88 MDL-20204 removing deprecated admin headers 2010-03-31 08:05:53 +00:00
Eloy Lafuente
193caa7f5b MDL-21438 xmldb editor - add missing sesskey to the save option 2010-01-25 16:11:20 +00:00
Petr Skoda
9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +00:00
Petr Skoda
d776d59ee2 MDL-21235 fixed select method name 2010-01-16 18:29:51 +00:00
Petr Skoda
4b9210f31b MDL-21235 more conversion to new select 2010-01-16 18:25:51 +00:00
Eloy Lafuente
f25d53a992 MDL-20916 protect the whole xmldb editor with sesskey. Merged from 19_STABLE 2009-11-20 19:48:01 +00:00
Petr Skoda
a591d38765 MDL-20700 coding style - new sloppy trailing whitespace fixed 2009-11-09 10:11:48 +00:00
Eloy Lafuente
54c72f84a0 MDL-20749 annihilating last ocurrences of PAGE/OUTPUT from xmldb actions. 2009-11-05 15:43:32 +00:00
Eloy Lafuente
fb9514e361 MDL-20749 correct error output - sentences/tables checkers fixed. 2009-11-05 15:40:26 +00:00
Eloy Lafuente
d3859b1340 MDL-20749 correct error output - key/index checkers fixed. 2009-11-05 13:58:22 +00:00
Eloy Lafuente
60a3e22b62 MDL-20749 fixed the class edit_field_save to output errors properly. Will
be beutifying the output a bit later
2009-11-05 13:38:02 +00:00
Moodle HQ git importer
8926f8449f Fixing drift between CVS and git 2009-11-02 00:32:03 +00:00
Petr Skoda
8e3837060d MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 10:55:58 +00:00
Petr Skoda
0df0df23f4 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 10:55:31 +00:00
Petr Skoda
2a250a0b2e MDL-20697 removing duplicate error string cannotfindsite, fixing get_site() which is now using exceptions 2009-11-01 09:21:41 +00:00
stronk7
1e4d75c736 NOBUG. Added missing return causing dupe output after saving xml file. 2009-10-22 14:52:09 +00:00
stronk7
15a0ffc8f0 MDL-20349 find_sequence_name() is out. No need to use it anymore. 2009-10-11 21:52:40 +00:00
mudrd8mz
f60ecadf2c NOBUG: Fixed PAGE->set_url() regression
$PAGE->set_url() is already properly called by admin_externalpage_setup()
with a required 'section' param included. We can't override the PAGE's
URL and throw away the params set previously. This may be an issue at
other external admin pages, too.
2009-10-02 11:42:53 +00:00
nicolasconnault
14f064525d MDL-19787 Added missing globals 2009-09-18 05:44:00 +00:00
stronk7
8e6e14ae3a fixed notice (and bug) introduced by MDL-19787 2009-09-07 08:05:01 +00:00
samhemelryk
91152a3518 navigation MDL-20216 Refactored add arguments
Moved $action argument from arg5 to arg2
2009-09-04 03:12:01 +00:00
samhemelryk
69d77c232a admin MDL-19787 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants 2009-09-03 05:11:33 +00:00
nicolasconnault
8fbce1c8c8 MDL-19878 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:28:40 +00:00
nicolasconnault
b324b47e36 MDL-19787 Upgraded calls to choose_from_menu 2009-08-17 15:15:20 +00:00
nicolasconnault
73d6f52f6a MDL-19787 Converted all print_footer() calls 2009-08-06 14:12:46 +00:00
nicolasconnault
2fff8846f2 MDL-19787 Migrated calls to print_heading 2009-08-06 08:17:12 +00:00
samhemelryk
e11a8328b3 javascript MDL-16673 Removed all removeable uses of CFG->javascript
In doing this I was able to eliminate the need for javascript.php files, now removed.
I will also be filing several subtasks to clean up the linked to JS files in OUTPUT as well
as all instance of the old style of focusing.
2009-07-07 09:09:16 +00:00
skodak
17da2e6f28 MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
stronk7
cab8690d4b MDL-19331 Changes is table name/comments now flag xmldb as changed 2009-06-14 16:34:34 +00:00
tjhunt
cf6155226c ajaxlib/require_js: MDL-16693 $PAGE->requires->... deprecates require_js etc.
There is a new implementation of require_js in lib/deprecatedlib.php,
based on $PAGE->requires.

There were a few other recently introduced functions in lib/weblib.php,
namely print_js_call, print_delayed_js_call, print_js_config and
standard_js_config. These have been removed, since they were never in
a stable branch, and all the places that used them have been changed
to use the newer $PAGE->requires->... methods.

get_require_js_code is also gone, and the evil places that were calling
it, even though it is an internal function, have been fixed.

Also, I made some minor improvements to the code I committed yesterday
for MDL-16695.

All that remains is to update all the places in core code that are
still using require_js.

(This commit also fixes the problem where the admin tree would not
start with the right categories expanded.)
2009-06-12 12:13:07 +00:00
tjhunt
684796fdae xmldb editior: XHTML strict 2009-06-04 07:39:52 +00:00
stronk7
bd79ec5639 MDL-13204 xmlb editor checks - give extra time to checker because they can run looong 2009-05-30 23:45:07 +00:00
stronk7
11e167a9d0 MDL-16059 xmldb editor - now all the php auto-generated code include proper upgrade_xxx_savepoint() calls 2009-05-30 18:57:00 +00:00
stronk7
c97b24bf73 MDL-9176 xmldb editor - now it's possible to save from edit table page 2009-05-28 23:48:39 +00:00
stronk7
d5810e1d72 MDL-9176 xmldb editor - now it's possible to save from edit file page 2009-05-28 23:25:27 +00:00
stronk7
4f237e248b MDL-9176 xmldb editor - enable the possibility to avoid unload after save (default) 2009-05-28 23:20:53 +00:00
stronk7
c1b8eeda68 MDL-19305 renaming string because I'm going to need both 2009-05-28 21:57:56 +00:00
stronk7
9dd35834ee MDL-19305 xmldb editor - throw message when there are changes pending to save and perms don't allow it. 2009-05-28 21:48:13 +00:00
stronk7
0dd435add1 MDL-19304 xmldb editor - files default action changet to edit 2009-05-28 18:59:08 +00:00
stronk7
f802a79b70 MDL-19304 xmldb editor - fixed default action for tables & statements 2009-05-28 18:41:02 +00:00
stronk7
8d38291f76 MDL-19304 xmldb editor - default action (click on name) for field/key/index is now "edit". New "xml" button added. 2009-05-28 18:19:10 +00:00
stronk7
98d1895fe0 MDL-19307 xmldb documentation - add link from main page to global docs generator 2009-05-28 00:21:42 +00:00
stronk7
0fa07dab85 MDL-19307 xmldb documentation - generate all the documentation in a BIG report 2009-05-28 00:19:59 +00:00
stronk7
12bef9fe30 MDL-19319 xmldb docs - move intro paragraph out from xlst 2009-05-28 00:07:59 +00:00
stronk7
6ef8b35a4b MDL-19319 xmldb documentation - improve output to show complete field specs 2009-05-27 22:55:36 +00:00
stronk7
3a0a3d7a6c MDL-19058 xmldb editor & enums - inform about ENUM info detected in all
the loaded files, suggesting different options depending of active/inactive ENUMs found
2009-05-26 18:47:02 +00:00
stronk7
a12fbc0125 MDL-18547 xmldb floats - recommend to switch to number fields when possible 2009-05-12 08:32:16 +00:00
stronk7
08f4df55cb MDL-18577 drop enums support - added 2 more basic xmldb tests 2009-05-03 16:06:14 +00:00
stronk7
e849e86891 MDL-18577 drop enums support - step3: Fix XMLDB own tests + new tests for dropping enums 2009-05-01 23:53:14 +00:00