Commit Graph

59 Commits

Author SHA1 Message Date
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
scyrma 0687e5552c MDL-11113 - Correction to previous change: going back to previous variable name, to prevent bugs 2008-06-06 02:21:40 +00:00
scyrma c7b4be096a MDL-14741: adding a setting to choose default htmleditor, and begin work on possibility for per-editor settings page 2008-06-05 09:36:10 +00:00
skodak 6d77b23c55 MDL-12735 Make AJAX on by default, add option to disable AJAX course editing by default; merged from MOODLE_19_STABLE 2007-12-26 21:33:34 +00:00
skodak 5d4afe012d MDL-12678 moved pinned blocks setup page to Modules/Blocks/; merged from MOODLE_19_STABLE 2007-12-20 16:31:04 +00:00
skodak 220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
toyomoyo 93c61c18cf MDL-10915, additional setting for emoticons 2007-12-03 06:27:21 +00:00
skodak 3d5c00b344 MDL-12146 grade item settings can be now configured as advanced, new advanced defaults, minor tweaks in admintree; merged from MOODLE_18_STABLE 2007-11-15 17:32:31 +00:00
skodak a559f6306e MDL-11563 replaced hardcoded permission check from admin_tree_block 2007-10-28 22:35:00 +00:00
toyomoyo 1c63e17429 putting a link on admin menu to manage tags page. Fixing some upper/lower cases 2007-08-30 02:11:55 +00:00
moodler 501e725ec4 Moved AJAX settings into standard menus (not experimental any more) 2007-08-12 06:29:19 +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
ikawhero a907c54043 GUI for category themes.
New language strings.
2007-05-03 07:00:55 +00:00
mattc-catalyst d91f99a655 Breadcrumbs: admin/settings changes
- Added admin setting for controlling visibility of activities in the
  breadcrumb trail.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:58:50 +00:00
stronk7 77d08333a8 $CFG->tabselectedtofront is out. Part of MDL-8746
Merged from MOODLE_18_STABLE
2007-03-19 17:21:31 +00:00
moodler c7dd2550dd Merged MDL-8670 2007-02-27 01:19:46 +00:00
skodak 84c8ede022 MDL-8343 reorganize frontpage settings in admintree - admin tree now allows to specify context together with required capability for each entry
MDL-8352 Fully separate CONTEXT_COURSE, SITEID from COURSE_SYSTEM - first part of cleanup related to frontpage
2007-01-29 21:29:27 +00:00
toyomoyo 36f057ec14 fix for MDL-7810, shorten string name 2006-12-07 01:01:18 +00:00
toyomoyo aec86ae027 added new setting for allowvisiblecoursesinhiddencategories in appearance->front page 2006-12-06 07:57:54 +00:00
toyomoyo d42c64ba14 fix for MDL-7595, adding coursemanager config variable to determine what roles are displayed on course description page 2006-11-17 08:57:50 +00:00
moodler 0909d44eac Merged fixes for gradebookroles from stable MDL-7253 2006-10-29 15:02:45 +00:00
skodak 73afaf5b69 Finish strings for graderoles MDL-7253; merged from MOODLE_17_STABLE 2006-10-27 21:07:18 +00:00
toyomoyo 5a412dbf8f merged, added new config variables to control what roles get shown in the grade book 2006-10-25 08:51:26 +00:00
skodak b89639f9ef fixed error message when empty site full or short name; merged from MOODLE_17_STABLE 2006-10-16 07:37:41 +00:00
moodler 36832f4d41 Moved sticky blocks to Appearance section 2006-10-05 07:01:28 +00:00