83 Commits

Author SHA1 Message Date
Dan Poltawski
b9bcdb54da MDL-32505 course: drop course_display table and settings 2012-05-04 10:52:56 +08:00
Sam Hemelryk
b0712163e6 MDL-27405 navigation: My courses branch now shows categories if navshowcategories is enabled 2012-03-12 09:42:41 +13:00
Sam Hemelryk
4037098eba MDL-30583 navigation: Added setting to control display of front page activities on the navigation 2012-01-09 09:49:34 +13:00
Sam Hemelryk
83f78f8dac MDL-26869 admin: Added page to view admin categories and included in navigation with a new setting 2012-01-03 09:39:10 +13:00
Sam Hemelryk
e106013f34 MDL-26155 admin: Converted admin settings to use new lang_string 2012-01-03 09:09:40 +13:00
Andrew Robert Nicols
68ec4a273c MDL-30302 Adjust options for calendar day settings 2011-11-28 17:02:31 +00:00
sam marshall
7fb4699266 MDL-29719 Option to display course shortname alongside fullname on course lists 2011-10-17 10:50:59 +01:00
Sam Hemelryk
356a6de351 MDL-27058 navigation: Added a setting to control whether user forum links are added 2011-10-10 10:57:02 +13:00
Sam Hemelryk
016ba63816 MDL-23534 Added setting to set the site pages node to the sites shortname if desired 2011-09-12 13:46:04 +12:00
Sam Hemelryk
ad4700977a MDL-26477 Added a setting to display course sections as links within the navigation 2011-08-02 15:24:59 +02:00
Anthony Forth
37959dd471 MDL-25394 Improved support for mobile and device themes 2011-05-31 14:25:52 +08:00
Petr Skoda
8f6c1f3488 MDL-26859 improve blog access control and prevent unnecessary blog includes 2011-03-20 13:34:51 +01:00
Sam Hemelryk
90e920c7f4 output MDL-25597 Added three new config settings that allow you to add additional HTML to every page. 2010-12-07 08:48:38 +00:00
David Mudrak
8b2918a425 MDL-25072 convert $CFG->disablecourseajax to $CFG->enablecourseajax 2010-11-09 11:55:11 +00:00
Rossiani Wijaya
95795187e6 MDL-24897: set ajax course editing to 'ON' 2010-10-28 09:46:07 +00:00
David Mudrak
7680da6ce8 MDL-24777 new emoticon_manager and its admin settings 2010-10-23 18:40:11 +00:00
Aparup Banerjee
59e2121e16 theme MDL-23363 config setting showblocksonmodpages (theme settings) & usages now removed 2010-08-06 06:20:28 +00:00
Petr Skoda
2288073ac4 MDL-23167 adding cache reset after setting changed 2010-07-13 14:41:24 +00:00
Petr Skoda
2181eb8fcc MDL-23167 admin UI for JS caching setting 2010-07-13 14:29:33 +00:00
Petr Skoda
dbf9e4bae3 MDL-23234 finally standardised use of settings.php across all plugins - the only partial exceptions now are report and local plugins 2010-07-13 13:56:55 +00:00
Petr Skoda
c3ed4a5ab9 MDL-19211 reverting to old style editor preferences, the actual code that uses the prefs will be in next commit 2010-07-10 10:50:51 +00:00
Petr Skoda
df997f841f MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
AMOS START
    MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
    MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
    MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
    MOV [enrolenddate,core],[enrolenddate,enrol_self]
    CPY [welcometocourse,core],[welcometocourse,enrol_self]
    CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
    MOV [notenrollable,core],[notenrollable,core_enrol]
    MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
    MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
    MOV [coursemanager,core_admin],[coursecontact,core_admin]
    MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
    MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
    MOV [enrolme,core],[enrolme,core_enrol]
    MOV [unenrol,core],[unenrol,core_enrol]
    MOV [unenrolme,core],[unenrolme,core_enrol]
    MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
    MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
    MOV [enrolments,core],[enrolments,core_enrol]
    MOV [enrolperiod,core],[enrolperiod,core_enrol]
    MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
Dongsheng Cai
db954abaa6 MDL-22712, added admin options to enable/disable comments in blog, and a switch to show/hide comments count 2010-06-21 08:57:59 +00:00
Martin Dougiamas
89c510174e navigation MDL-22425 Moved 'defaulthomepage' to navigation settings from user policy page 2010-05-25 07:40:24 +00:00
Sam Hemelryk
4766a50c19 navigation MDL-22425 Restructured navigation for the nth time plus performance tweaking and course display limit 2010-05-13 09:57:43 +00:00
Martin Dougiamas
ab41b6c47b MDL-22427 Got rid of hideactivitytypenavlink, with three good reasons 1) It doesn't do anything, 2) It was a NEGATIVE setting (show not hide) and 3) it refers to hardcoded roles 2010-05-12 05:42:47 +00:00
Sam Hemelryk
d2dbd0c0d0 navigation MDL-22398 Added custom menu to Moodle core. Will document in theme's forum 2010-05-10 05:24:00 +00:00
Martin Dougiamas
03d9401e7d My Moodle MDL-19124 New version of My Moodle, User profiles and Course profiles, all with block support
Thanks very much to Remote Learner Canada, especially Hubert Chathi and Olav Jordan, for their work on the bulk of this code, and also Mike Churchward for supporting them.  I worked on it after that (actually simplified it by removing a feature temporarily: multiple pages) to bring it more to what I was imagining, and to provide a base to build on and get all the navigation perfect.

There's still work to do.  Some blocks don't quite work as expected, and some of the code still needs upgrading to bring it fully into line with 2.0.  We also could use a much better course overview block and better CSS styling of the profile pages.  But it's definitely more usable this it was, I think.
2010-05-04 13:04:35 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Sam Hemelryk
d2c394f3c3 javascript-dock MDL-21329 Added $CFG->allowblockstodock(true by default) and $THEME->enable_dock (false by default)
Also moved blocks/blocks.js to javascript-static,js so there is one less file to load
2010-01-14 06:56:12 +00:00
Petr Skoda
84d6e8323d MDL-21189 yui combined file loading admin setting 2009-12-25 22:47:41 +00:00
Petr Skoda
78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +00:00
Sam Hemelryk
8958174c48 navigation MDL-20651 Changed setting from hide to show 2009-11-05 09:31:55 +00:00
Sam Hemelryk
da3ab9c4be navigation MDL-20651 Added config setting to hide course categories on the navigation
As requested and voted on admin can now choose not to include course categories within the navbar and global navigation block.
At the same time I also introduced a second setting, showallcourses, which ensures all of the courses a user is registered in are shown on the navigation at all times.
2009-11-04 07:23:19 +00:00
Petr Skoda
11b749ca90 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 10:32:02 +00:00
nicolasconnault
ca497f4f7c MDL-19676 Properly hiding blog_menu from block dropdown when blogs are disabled. Also showing "Blogs are disabled" in existing blog_menu blocks and removing old bloglevel options from subsystems settings 2009-09-15 07:19:03 +00:00
nicolasconnault
cae837087a MDL-19676 Blog improvements 2009-09-04 00:36:43 +00:00
tjhunt
b70094743a themes: MDL-19077 change how the theme is initialised and CSS is served.
This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F

$THEME is now initialised at the same time as $OUTPUT. Old functions like
theme_setup are deprecated in favour of methods on $PAGE. There is a new
theme_config class in outputlib.php that deals with loading the theme config.php file.

CSS used to be served by themes styles.php files calling a function in weblib.php.
Now it works by each theme's styles.php file doing
$themename = basename(dirname(__FILE__));
require_once(dirname(__FILE__) . '/../../theme/styles.php');
which is less code to be copied into each theme. (Old-style styles.php files still
work thanks to some code in deprecatedlib.php.)

Admin UI for choosing a theme cleaned up.

A couple of theme-specific hard-coded hacks like $THEME->cssconstants and
$THEME->CSSEdit have been replaced by a more generic $THEME->customcssoutputfunction
hook. See examples at the end of outputlib.php

Also:
* Fix setting the theme in the URL, which seems to have been broken since 1.9.
* Fix up errors on a few pages caused by the new initialisation order.
* MDL-19097 moodle_page::set_course should not set $COURSE unless it is $PAGE.
* httpsrequired() from moodlelib.php moved to $PAGE->https_required().
* Move has_started() method to the renderer base class.
* Further fixes to display of early errors.
* Remove print_header/footer_old from weblib. I did not mean to commit them before.
2009-07-01 05:54:26 +00:00
skodak
5ca3c8386f MDL-19184, MDL-19212 - refactoring, cleanup and improvements in text editors support; localization support is not finished, inline docs incomplete, expect more commits soon 2009-05-16 20:53:21 +00:00
dongsheng
ebb1a1e847 "MDL-13224, select how many courses can be shown in mymoodle page" 2009-04-01 07:32:57 +00:00
skodak
7baf68d8a7 MDL-17203 longer default salt; merged from MOODLE_19_STABLE 2008-12-31 15:57:27 +00:00
skodak
b20c631896 MDL-17203 hash salt added to calendar export 2008-12-31 15:50:46 +00:00
skodak
dbf9d4cb37 MDL-17203 new option for disabling of calendar export 2008-12-31 14:10:44 +00:00
skodak
5fc9760399 MDL-16626 simplified editor selection, going to change it a bit more later 2008-09-23 15:19:21 +00:00
skodak
53b20fe35a MDL-16637 removing obsoleted spellchecker support 2008-09-23 15:12:07 +00:00
skodak
6bebbe4503 MDL-16627 removing obsoleted HTMLArea 2008-09-23 14:16:31 +00:00
skodak
8eb1d25ffe MDL-11844 new option for conditional stripping of tags from activity names 2008-07-26 15:15:25 +00:00
skodak
7f2a7c3cca MDL-14731 we can not rely on internal connection by default 2008-07-24 21:45:18 +00:00
nicolasconnault
b958e94122 MDL-14731 Improved Bryce's patch and applied. YUI version number is kept in a simple version.php file, to be updated manually when updating the YUI libraries. 2008-07-24 13:37:05 +00:00
scyrma
e7a3f4299f MDL-14739 - move the emoticons configuration in the common section 2008-06-11 03:51:05 +00:00