Commit graph

8760 commits

Author SHA1 Message Date
samhemelryk
2e7f1f79e2 navigation MDL-14632 Added Participants item to front page branch in settings block 2009-09-09 04:21:20 +00:00
nicolasconnault
284943fcd0 MDL-19756 Added $disabled value to html_link, which will be true if the link's URL compares with the $PAGE->url (order of params doesn't matter). A disabled link will render as italicised text by default. 2009-09-09 03:52:49 +00:00
nicolasconnault
a0ead5eb81 MDL-19756 Added $disabled value to html_link, which will be true if the link's URL compares with the $PAGE->url (order of params doesn't matter). A disabled link will render as italicised text by default. 2009-09-09 03:28:26 +00:00
samhemelryk
f4e6a86e41 blocks MDL-20206 Added checking to initialise block weight array outsite of min/max if blocks weight already exceeds that range 2009-09-09 02:44:57 +00:00
rwijaya
b89e4ad8fa tag logs MDL-19604 Add logging for tag editing/updates, merged from MOODLE19_STABLE 2009-09-09 02:43:43 +00:00
mudrd8mz
f162c15a5a NOBUG: Added a new function handling with the grades precission
We should provide a common approach to float grade values so modules
will be consistent in grading algorithm. That is why I push it here.
Note that basically this complements grade_floats_different().
Used in Workshop 2.0.
2009-09-08 21:45:44 +00:00
samhemelryk
fdd35767f3 navigation MDL-20227 Added compare function
This allows us to compare the modinfo stored in the cache with that against that active course
2009-09-08 08:49:12 +00:00
samhemelryk
3175908906 navigation MDL-20235 Added ignore_active method for navbar and corrected user/view 2009-09-08 08:43:44 +00:00
nicolasconnault
b28c784fd0 MDL-19799 Upgraded calls to print_paging_bar 2009-09-08 08:39:30 +00:00
skodak
b08b356960 MDL-20232 making "object" class extend stdClass - this greatly helps with type checking 2009-09-08 07:09:01 +00:00
jerome
a8744ef11d output MDL-19077 when checkbox was set as not checked (value = 0), it was displayed as checked 2009-09-08 03:43:40 +00:00
nicolasconnault
f2a5140264 MDL-19756 Sending prepared classes for tbody of html_class 2009-09-08 03:33:20 +00:00
samhemelryk
47a1aa45a8 core MDL-19786 Deprecated print_header_simple function - now use PAGE and OUTPUT methods 2009-09-08 02:41:51 +00:00
samhemelryk
96db467adb lib MDL-19799 Updated print_header_simple and build_navigation to OUTPUT and PAGE equivalents 2009-09-08 01:39:12 +00:00
samhemelryk
be6c8dfe5a navigation MDL-14632 Fixed bug whereby active module may not be marked as active 2009-09-07 03:16:52 +00:00
mudrd8mz
3a0481a4d8 NOBUG: Fixed bug in $PAGE->set_url() when moodle_url passed
When moodle_url was passed as a param to set_url(), the str_replace() kept
the leading '/' in the $shorturl. This then led to the <body> classes
like '-mod-workshop' instead of correct 'mod-workshop' (the slash
replaced with minus sign).
2009-09-05 17:32:10 +00:00
mudrd8mz
eeecf5a704 Fixing an incorrect concatenate of CSS classes arrays
array + array does not add new items if their numeric keys are the same. This
lead to the bug that add_classes() did not work correctly.
2009-09-04 21:53:24 +00:00
samhemelryk
d972bad1b0 navigationMDL-20216 Moved type argument to third argument 2009-09-04 08:43:49 +00:00
samhemelryk
02139d7640 navigation MDL-14632 stopped set_user_pref from firing at page load if things were moved to the sidebar 2009-09-04 08:16:21 +00:00
samhemelryk
c73e37e0ef navigation MDL-14632 Wrapping if in brackets just to be safe 2009-09-04 07:41:21 +00:00
samhemelryk
609adb68d4 lib MDL-19799 Upgraded print_header and build_navigation calls to OUTPUT/PAGE equivilants 2009-09-04 07:24:58 +00:00
samhemelryk
05c039e564 navigation MDL-20218 global_navigation::load_for_user now looks for course id from PAGE first 2009-09-04 03:58:05 +00:00
samhemelryk
bdb0a369b3 navigation MDL-20216 Refactored add arguments
Moved $action argument from arg5 to arg2
2009-09-04 03:18:02 +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
nicolasconnault
1918f7e067 MDL-19676 Blog improvements 2009-09-04 01:07:19 +00:00
nicolasconnault
8f07768f21 MDL-19676 Blog improvements 2009-09-04 00:48:49 +00:00
nicolasconnault
cae837087a MDL-19676 Blog improvements 2009-09-04 00:36:43 +00:00
nicolasconnault
5fc6d585ad MDL-20203 Added support for disabled attribute for inputs and select options 2009-09-03 23:35:43 +00:00
nicolasconnault
a4998d019a MDL-19756 Enabled use of <td> in table headers, and added support for disabled attribute for checkboxes and select options 2009-09-03 23:31:49 +00:00
moodler
c1df9d7c51 lib/pagelib Improved the debugging message about set_url 2009-09-03 07:47:43 +00:00
samhemelryk
de6d81e667 admin MDL-19799 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants 2009-09-03 06:59:25 +00:00
dongsheng
f0e5f031c7 "MDL-16596, imporve non-javascript file manager, add useful functions to filelib" 2009-09-03 06:53:40 +00:00
mudrd8mz
9959a91565 NOBUG: Fixed incorrect use of $OUTPUT, leading to empty page instead of an error message 2009-09-02 22:04:32 +00:00
jerome
46b02712fd web services MDL-12886 ws params: when the algo cleans a list of param, only the first element of the list is cleaned (fixed) + web service description includes service name 2009-09-02 07:19:26 +00:00
samhemelryk
72b3485eab navigation MDL-14632 Fixed navbar bug whereby if no active pages were found in either navigation or settings
`home` was not added to the navbar
2009-09-02 07:08:33 +00:00
jerome
b3d58bceb9 web services MDL-12886 ws params: objects into an object were not cleaned, neither documented 2009-09-02 03:58:09 +00:00
stronk7
6d682bae11 MDL-17969 mssql (freetds/odbtp) native driver. Now supporting DB sessions
with proper locking.
2009-09-01 16:31:09 +00:00
mudrd8mz
0b634d752d NOBUG: Fixed confirm() - two buttons "Yes" were displayed
Also, I change the default labels to Continue/Cancel. It is not good for
UI consistency to have Yes/No is string URL is passed and
Continue/Cancel if moodle_url is passed.
Removing the check against empty button->text as it has always the
default value "Yes".
2009-09-01 14:15:49 +00:00
skodak
2138244c03 MDL-20191 more plugin uninstall cleanup and improvements 2009-09-01 09:26:43 +00:00
skodak
0db7ba9577 MDL-20196 improved plugin_supports() for all plugin types 2009-09-01 08:46:16 +00:00
skodak
6759ad2f93 fixed whitespace 2009-09-01 08:39:55 +00:00
skodak
f5a08da4c5 MDL-20196 improved plugin_supports() for all plugin types 2009-09-01 08:39:01 +00:00
samhemelryk
a4397489c1 navigation MDL-14632 Fixed bug with deprecated build_navigation function 2009-09-01 04:13:00 +00:00
samhemelryk
e120c61d24 navigation MDL-14632 Deprecate print_header menu argument and provide PAGE method 2009-09-01 03:47:07 +00:00
samhemelryk
fff23fcd86 navigation MDL-14632 Fixed minor regressions for recent patches
* Search field now takes input again
 * Javascript event propogration is stopped to prevent refreshing when switch block position
2009-09-01 02:07:01 +00:00
skodak
ba33919185 MDL-20169 reverting my incorrect patch - sorrry 2009-08-31 20:46:11 +00:00
stronk7
3f33c9e250 MDL-15181 temporary tables - now mysql driver uses the temptables object to
solve its carences handling temp tables.
2009-08-31 16:14:43 +00:00
stronk7
4ff402d68e MDL-15181 temporary tables support. No more differences in table_exists() +
implemented temptables store for mysql.
2009-08-31 15:47:46 +00:00
mudrd8mz
ed996ede96 MDL-20191 Subplugins are uninstalled together with the parent plugin
This is a first working implementation I have. I need to so I can
continue with the Workshop development. I think the performance can be
significantly improved here as the location of the subplugins is
evaluated atr least twice, I guess.
2009-08-31 15:23:02 +00:00
stronk7
896a2a916c MDL-17969 mssql (freetds/odbtp) native driver. Both import_record and reset_sequence implemented.
Only session locking support pending.
2009-08-31 14:25:51 +00:00