Commit Graph

70 Commits

Author SHA1 Message Date
Petr Skoda cdbea7eed1 MDL-31607 use full course object for require_login() if already available
This eliminates 1 db query.
2012-04-22 17:41:47 +02:00
Petr Skoda 6f3451e540 MDL-31301 remove all uses of moodle_strtolower() and deprecated it 2012-03-03 11:46:26 +01:00
Nadav Kavalerchik 10625d2efe MDL-30361 - mod/glossary/editcategories.php - fix spelling ($rightalignment) 2011-11-23 01:31:54 +02:00
Nadav Kavalerchik efbbe2f047 MDL-29226 - right align table's cells, in Glossary edit categories page (when in RTL mode)(cherry picked from commit 9ace475) 2011-11-23 01:31:53 +02:00
Eloy Lafuente (stronk7) b86f930647 MDL-28048 glossary - fix double ampersand & missing string 2011-07-11 01:36:30 +02:00
Eloy Lafuente (stronk7) bce3e3dca5 MDL-28048 glossary - add multilang support to categories 2011-07-11 01:02:06 +02:00
Petr Skoda 12488e62ae MDL-10782 fixed double footer when deleting glossary category 2010-10-10 10:22:31 +00:00
Petr Skoda 39790bd805 MDL-24321 switching to stdClass in /mod/ 2010-09-21 08:37:36 +00:00
Petr Skoda e99cfeb83f MDL-24079 glossary now using new sql_like 2010-09-04 14:15:48 +00:00
Rossiani Wijaya 2e4fd16675 MDL-20447 - bulk upload: add heading to the page and fix navbar content. 2010-05-28 06:38:17 +00:00
Patrick Malley d427d6095e Removed embedded CSS and properly named a few elements 2010-04-25 19:20:35 +00:00
Petr Skoda a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda 5c2ed7e215 MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements 2010-01-03 15:46:14 +00:00
Sam Hemelryk 92059c7ee5 mod MDL-21169 Removed update this module button and ensured there was a link in the settings block for it. 2009-12-23 01:57:55 +00:00
Petr Skoda b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Petr Skoda 1adbd2c350 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 14:55:15 +00:00
samhemelryk 5fa0208ec3 mod-glossary MDL-19809 Added set_url calls, replaced deprecated functions 2009-09-24 07:29:14 +00:00
samhemelryk e6855d1aa0 mod-glossary MDL-19809 Updated print_header and build_navigation to OUTPUT and PAGE equivalents 2009-09-07 03:20:35 +00:00
nicolasconnault 0b36c9489d MDL-19809 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:44:52 +00:00
nicolasconnault ee9e63b5a1 MDL-19809 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:14:52 +00:00
nicolasconnault 0578c9a2a9 MDL-19809 Converted all print_footer() calls 2009-08-06 14:13:29 +00:00
tjhunt ddedf979b4 MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-03 06:19:25 +00:00
skodak b78267b641 MDL-19067 removed obsoleted string (never used in any STABLE branch) 2009-05-05 09:00:24 +00:00
skodak 90ee78e21c MDL-18293 removing unused error strings (now replaced by exceptions) 2009-02-17 16:33:32 +00:00
skodak 245ac55791 MDL-14679 last forgotten bits of dml conversion 2008-06-09 19:48:24 +00:00
skodak ae8c356614 MDL-15109 glossary dml conversion 2008-06-08 10:43:39 +00:00
dongsheng 5973a4c49e "MDL-14129, fix print_error" 2008-06-06 03:15:53 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
poltawski 94bccb1640 MDL-12385 - glossary category edit page doesn't respect $CFG->pixpath
merged from MOODLE_19_STABLE
2007-12-16 18:17:55 +00:00
skodak bb5b72244a MDL-10890 all require_login() in modules reviewed and fixed use of $cm 2007-08-17 12:49:28 +00:00
mattc-catalyst 01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
mattc-catalyst 3b27b0fe21 MDL-9615: Correct incorrect use of term breadcrumbs
- $crumbs -> $navlinks


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00
mattc-catalyst 70c6c0ad70 MDL-9474: Updated build_navigation() to use global $COURSE
- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-23 21:11:10 +00:00
mattc-catalyst f3c8392617 Breadcrumbs: mod/glossary changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:16:38 +00:00
toyomoyo 5bd76d7fba merged fix for MDL-9097, xhtml fixes for glossary 2007-03-30 07:04:43 +00:00
skodak 7dbe6ceb4b MDL-8347 Cannot create new glossary category if category with same name exists in another course on site; patch by Ray Lawrence; merged from MOODLE_18_STABLE 2007-03-22 22:45:02 +00:00
toyomoyo 36a2b6bdc3 MDL-7861, xhtml strict related changes for glossary 2007-01-12 06:57:33 +00:00
skodak 0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
skodak 7150226896 MDL-7861 xhtml strict fixes - fixed all <br> in our code 2007-01-04 23:38:17 +00:00
skodak b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
skodak 32776fef0e minor xhtml fixes 2006-11-30 09:50:01 +00:00
skodak 310471950e Cannot add glossary category MDL-6713 2006-10-01 19:35:27 +00:00
stronk7 ccda38e521 Don't use db_lowercase() anymore. 2006-09-04 22:45:12 +00:00
moodler 0468976c9a SWEEPING CLEANUP
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)

The $kill thing was removed.   If you want to assert a capability
then use:

    require_capability('capname', $context);

with optional variables to modify the error message

Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00
moodler dabfd0ed85 Removed tabs 2006-08-09 13:45:49 +00:00
skodak f9d5371b28 new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283 2006-08-08 22:09:55 +00:00
moodler bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
stronk7 b51551e794 Some excess of security was causing Bug 4713.
(http://moodle.org/bugs/bug.php?op=show&bugid=4713)

Merged from MOODLE_15_STABLE
2006-03-21 20:08:51 +00:00
moodler aa8139414e Replaced optional_var with optional_param 2005-12-07 06:21:58 +00:00
stronk7 5bd9aa933a Now glossary->name is working under filterall. It was really complex!
Just thinking about to add support for filterall inside:
   - category->name
   - concept->name
   - filter!
2005-03-30 11:14:19 +00:00