247 Commits

Author SHA1 Message Date
Martin Dougiamas
83f1fa9c4d courseformat/weeks MDL-20628 removed some notices 2010-04-27 03:10:58 +00:00
Sam Hemelryk
b767607103 course MDL-20628 Fixed up topics so section names are printed on view 2010-04-23 08:00:30 +00:00
Sam Hemelryk
0f4ab67d84 course MDL-20628 Added the ability to name a course section, thanks Michael for the initial patch 2010-04-23 07:17:21 +00:00
Sam Hemelryk
dc07683108 navigation MDL-22044 Course format can now choose the string that is used for section 0, defaults to general 2010-04-22 01:26:45 +00:00
Sam Hemelryk
3406acdef9 navigation MDL-22044 Major navigation structure changes.
Navigation has now been re-ordered in accordance with http://docs.moodle.org/en/Development:Navigation_2.0_structure.
This has led to several changes in the way in which navigation is generated included API changes, most notably using the
navigation_nodes add method now returns the newly added node rather than the key.
At the same time the global_navigation_tree block has been renamed to navigation and settings_navigation_tree to settings.
2010-04-19 06:30:30 +00:00
Sam Hemelryk
7e18467262 course-format MDL-22071 Added clearfix class to section lis 2010-04-15 02:04:28 +00:00
Petr Skoda
e926e953a3 MDL-22015 removing obsolete TODOs 2010-04-14 14:38:56 +00:00
Petr Skoda
d9d74c8e3d MDL-22054 converting course formats to have own lang packs
AMOS START
 MOV [namescorm,core],[sectionname,format_scorm]
 MOV [namesocial,core],[sectionname,format_social]
 MOV [nametopics,core],[sectionname,format_topics]
 MOV [nameweeks,core],[sectionname,format_weeks]
AMOS END
2010-04-11 12:55:59 +00:00
Petr Skoda
ff67afbd95 MDL-22054 converting course formats to have own lang packs
AMOS START
 MOV [formatscorm,core],[pluginname,format_scorm]
 MOV [formatsocial,core],[pluginname,format_social]
 MOV [formattopics,core],[pluginname,format_topics]
 MOV [formatweeks,core],[pluginname,format_weeks]
AMOS END
2010-04-11 12:46:14 +00:00
Petr Skoda
3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00
Sam Hemelryk
90723839ca themes MDL-21862 Implements base theme and standard theme.
Very big theme changes, standardold theme has been split into two themes base and standard. Base theme contains only CSS that is absolutly required (e.g. layout, white space rules, specific widths) and standard (which now looks like standardwhite) contains all the frills.
The following noteable changes have also been made:
  * Plugin CSS has been pushed back into the plugin directories as styles.css files.
  * Install_print_header has been corrected.
  * Redundant or deprecated rules have been removed.
  * Several minor class changes throughout Moodle.
  * CSS is now single line rules not multiline indented.
  * Installs with theme=standardold automatically switch to standard.
  * body classes / id now have prefixes to make it clearer what they are and avoid conflicts.
Also worth noting:
  * There is still alot of tweaking that is required to get everything looking as it is supposed to, please be patient or better yet help out.
  * I am currently working on the documentation for the themes system... it will be here soon.
2010-03-25 06:38:21 +00:00
Petr Skoda
6fe3775a2d MDL-20204 some more steps away from html_select 2010-02-09 19:50:11 +00:00
Petr Skoda
6597e6b7ae MDL-20601 added missing covnersion of url placeholders 2010-02-07 12:58:25 +00:00
Petr Skoda
279d11c959 MDL-21400 removed unnecessary includes 2010-01-21 22:43:53 +00:00
Petr Skoda
4454447d56 MDL-20700 whitespace terror returns 2009-12-16 22:14:17 +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
aa6c1ced0a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 08:11:02 +00:00
Sam Hemelryk
8bdc9cacad files MDL-20601 Conversion of many of the uses of print_textarea, and the mforms htmleditor to the new editor
Please forgive me if I have missed converting any output statements. If you do find an output statement that is not formatting correctly please refere to the table I added to this bug in regards to how it should be formatted.
2009-11-04 06:14:06 +00:00
rwijaya
ddc660600a course/view MDL-20123 section 0 visibility and highlight 2009-10-21 06:25:21 +00:00
samhemelryk
47c96a774e mod-assignment MDL-20241 Upgraded assignment to use new navigation blocks 2009-09-09 08:23:41 +00:00
samhemelryk
7d2a049292 navigation MDL-14632 Very significant navigation commit
This patch introduces two new blocks global_navigation_tree and settings_navigation_tree
both of which have been designed to make full use of the new navigation objects available through
the $PAGE object.
Bulk of this code is within lib/navigationlib.php
2009-08-28 08:47:31 +00:00
nicolasconnault
e6db30260f MDL-19794 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:58:26 +00:00
nicolasconnault
7b1f2c829f MDL-19756 Renamed moodle_select to html_select for better API consistency 2009-08-10 08:38:45 +00:00
nicolasconnault
98b369f800 MDL-19794 Converted print_box* to $OUTPUT->box* 2009-08-10 04:53:59 +00:00
nicolasconnault
82fcab32c1 MDL-19794 Converted calls to popup_form() 2009-08-10 03:35:14 +00:00
nicolasconnault
64e12bb710 MDL-19794 Converting calls to popup_form() 2009-08-08 09:31:01 +00:00
nicolasconnault
7c5286cd85 MDL-19794 Migrated calls to print_heading 2009-08-06 08:15:43 +00:00
nicolasconnault
27ca34af62 MDL-19794 Upgraded calls to print_heading_block 2009-08-06 01:25:52 +00:00
nicolasconnault
69e80c0502 MDL-19794 Updated topic and course format's use of popup_form for temporarily working with new outputlib code. Will eventually need proper upgrading. 2009-07-30 03:48:08 +00:00
tjhunt
d4a03c00ea themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme
The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)

Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)

The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.

How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.

Further refinement for how the theme and block code gets initialised.

Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)

Things that are still broken:
 * some pages in lesson, quiz and resource. I'm working on it.
 * lots of developer debug notices pointing out things that
   need to be updated.
2009-07-09 07:35:03 +00:00
tjhunt
6b608f8f50 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:53:31 +00:00
sam_marshall
e3568fde9c MDL-19692: Improvement to help icon for completion tickboxes, based on user testing 2009-07-02 09:18:26 +00:00
skodak
a8f3a651c0 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 18:16:08 +00:00
moodler
609bc82be7 course/format/social MDL-18483 For social course format, print forum intro on course page (Merged from 1.9) 2009-05-12 05:10:28 +00:00
tjhunt
830dd6e9cd moodle_page: MDL-12212 reimplement user_is_editing, deprecate isediting 2009-05-06 08:59:29 +00:00
tjhunt
edc0c49332 file api: MDL-18754 improve the names of some functions.
The new names are documented on
http://docs.moodle.org/en/Development:Convert_Draftarea_Files
2009-04-01 04:34:58 +00:00
skodak
644d506ac1 MDL-16698 towards new general editor element + converted course section summaries 2009-02-17 16:18:05 +00:00
Francois Marier
6280ef3e58 Fix CVS-git drift (remove some files deleted in CVS) 2009-02-01 23:43:28 +00:00
skodak
d4a1fcaf11 MDL-16613 sesskey cleanup 2009-01-02 10:36:25 +00:00
dongsheng
85db96c5b4 "MDL-17570, cleanup align property in div, merged from 1.9" 2008-12-10 06:48:54 +00:00
tjhunt
9101efd312 cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
skodak
775f811a66 MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes 2008-08-16 12:16:01 +00:00
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
f400841b23 MDL-14679 converted some get courses 2008-06-01 17:59:13 +00:00
dongsheng
1343697c82 "MDL-14129, fix print_error" 2008-05-13 06:15:20 +00:00
skodak
2092c318a6 MDL-14604 moved LAMS block to contrib 2008-04-30 12:52:08 +00:00
skodak
01e1f34e16 MDL-14240 reverting previous commit 2008-04-07 12:16:10 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
thepurpleblob
3ab292c678 Replaced some nasty 'magic numbers' with defines. 2008-04-02 14:04:47 +00:00