Commit Graph

47 Commits

Author SHA1 Message Date
Aparup Banerjee 2b9ce62e23 performance MDL-25637 converted tabs to spaces 2011-01-24 15:49:18 +08:00
Aparup Banerjee f179cdb73e performance MDL-25637 some of more similar performance tweaks to come 2011-01-24 14:51:21 +08:00
Petr Skoda cc3dbaaa30 MDL-21249 improved php docs package+subpackage info in mod/lesson 2010-07-25 10:54:39 +00:00
Petr Skoda b3daa92632 fixed coding style to match other modules 2010-07-25 09:30:09 +00:00
Petr Skoda 64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +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 4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00
Petr Skoda 2f67a9b3a5 MDL-20700 whitespace terror returns yet again 2009-12-16 22:22:37 +00:00
Sam Hemelryk 0a4abb7306 mod-lesson MDL-21006 Huge refactoring of the lesson code
The following are notable changes made in this commit
* Lesson page type are now class based and extend an abstract class. This includes a class for the page type and a class for the creating/editing a instance of this page.
* Converted all forms to mforms
* Action script located in mod/action/* were worked into the above so far less switch statements and the action directory will be removed.
* Implements a custom renderer
* Converted everything to use page, output, and custom renderer methods
* Replaced all deprecated methods incl. print_textarea conversions
* Tried to cut down on excessive DB calls.
Things worth noting:
* The focus of this patch was on cleaning up the module not rewriting it, as such I have organized NOT rewritten. There are still many areas in the module where the code could be greatly improved however to do so would require a rethink/rewrite
2009-12-16 02:00:48 +00:00
Petr Skoda 86342d631f MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 15:03:10 +00:00
samhemelryk 87f83794a4 mod-lesson MDL-19812 Added set_url calls, replaced deprecated functions 2009-09-24 08:05:55 +00:00
samhemelryk 2458610a27 lesson MDL-19812 Updated print_header and build_navigation to OUTPUT and PAGE equivalents 2009-09-07 06:28:37 +00:00
nicolasconnault d68ccdbaaa MDL-19812 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:15:52 +00:00
nicolasconnault f7e6b8624a MDL-19812 Converted all print_footer() calls 2009-08-06 14:14:24 +00:00
tjhunt 5af6ec1b2e MDL-19600 remove remaining traces of docstyles.php.
(Not used since Moodle 1.6.)
Also remove the remaining bits of lang/en_utf8/docs.
2009-06-23 04:39:11 +00:00
skodak c9a433cdd6 MDL-18670 adding proper permissions for mkdir(); merged from MOODLE_19_STABLE 2009-05-06 16:10:45 +00:00
skodak bd36925a97 MDL-19067 removed obsoleted string (never used in any STABLE branch) 2009-05-05 09:10:53 +00:00
skodak 6d40f12e5b MDL-19067 removed obsoleted string (never used in any STABLE branch) 2009-05-05 09:05:27 +00:00
skodak 739ee4e679 MDL-19067 removed obsoleted string (never used in any STABLE branch) 2009-05-05 09:05:27 +00:00
scyrma 5a254a2938 MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9) 2008-07-10 09:55:11 +00:00
dongsheng b3c4db7c1a "MDL-14129, fix print_error" 2008-06-15 08:34:35 +00:00
skodak 318e374544 MDL-15112 converted some skipped dml stuff 2008-06-09 12:29:40 +00:00
jerome 646fc29036 MDL-15112 lesson dml conversion 2008-06-06 04:03:40 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
tjhunt 38e179a4ed MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.

Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.

If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
2007-10-12 15:55:49 +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 f8513eca8d Breadcrumbs: mod/lesson changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:20:20 +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
toyomoyo a0b939df01 fixing xhtml tags MDL-7861 2006-12-20 02:00:12 +00:00
mark-nielsen 5491947aa1 NO CODE CHANGES. Just added PHPdoc comments at the top of lesson files. 2006-09-30 19:49:40 +00:00
mark-nielsen 6e1ff5c8fb MDL-6477: Added roles support.
Also added lesson_set_message() and lesson_print_message() to locallib.php
Also fixed problem in continue.html with not printing nextpageid
2006-09-08 23:17:18 +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
skodak f0e52f67df Bug #5444 - Import PowerPoint - PHP5 clone bug; merged from MOODLE_16_STABLE 2006-06-06 08:53:54 +00:00
stronk7 1b1858d260 htmlentities() to s() 2006-04-11 16:09:52 +00:00
michaelpenne 0bdb7db93f Fixed a path problem that occurs while unzipping 2005-07-22 21:09:37 +00:00
michaelpenne 8d9d840a50 attempted to make the unzipping process and initial file reading more robust 2005-07-14 19:06:29 +00:00
michaelpenne cedac380ed Before, importppt would look for outline.htm to determine the order of the slides.
If outline.htm is not found, it would fail.  Now if outline.htm is not found
importppt will scan the directory for any file that starts with slide.
This change was added to support powerpoint 2000
2005-06-08 17:33:41 +00:00
michaelpenne 2a6f9ad5c9 forgot to escape some " 2005-05-27 22:28:55 +00:00
michaelpenne 6c643a1dcc added an alt tag for images (nothing meaningful though) 2005-05-27 22:14:28 +00:00
michaelpenne 669b0fab9a strips end lines properly now. Directory fixes for book imports 2005-05-27 20:50:55 +00:00
michaelpenne a2714c13f3 now creates lesson directory in moddata for the images. also supports the different slasharguments for files 2005-05-26 23:41:50 +00:00
michaelpenne 7abd498b12 more flexible to catch more content for importing 2005-05-26 21:38:54 +00:00
michaelpenne 9f10d4d184 changed an include from lib.php to locallib.php and converted some numbers to constants 2005-05-24 21:02:16 +00:00
michaelpenne 8707ce6910 new import script to import powerpoint slides (exported as html) 2005-05-24 20:26:21 +00:00