51 Commits

Author SHA1 Message Date
Petr Skoda
39790bd805 MDL-24321 switching to stdClass in /mod/ 2010-09-21 08:37:36 +00:00
Petr Skoda
034ef76129 improved spelling 2010-09-18 12:31:20 +00:00
Petr Skoda
b8ea3041eb MDL-23184 activity names are now either PARAM_TEXT or PARAM_CLEANHTML, this should be more accurate 2010-09-02 18:29:39 +00:00
David Mudrak
370d793c98 MDL-23318 Consistent usage of 'pluginadministration' string for the Settings block
AMOS BEGIN
 MOV [assignmentadministration,mod_assignment],[pluginadministration,mod_assignment]
 MOV [dataadministration,mod_data],[pluginadministration,mod_data]
 MOV [feedbackadministration,mod_feedback],[pluginadministration,mod_feedback]
 MOV [folderadministration,mod_folder],[pluginadministration,mod_folder]
 MOV [forumadministration,mod_forum],[pluginadministration,mod_forum]
 MOV [glossaryadministration,mod_glossary],[pluginadministration,mod_glossary]
 MOV [chatadministration,mod_chat],[pluginadministration,mod_chat]
 MOV [choiceadministration,mod_choice],[pluginadministration,mod_choice]
 MOV [imscpadministration,mod_imscp],[pluginadministration,mod_imscp]
 MOV [labeladministration,mod_label],[pluginadministration,mod_label]
 MOV [lessonadministration,mod_lesson],[pluginadministration,mod_lesson]
 MOV [pageadministration,mod_page],[pluginadministration,mod_page]
 MOV [quizadministration,mod_quiz],[pluginadministration,mod_quiz]
 MOV [resourceadministration,mod_resource],[pluginadministration,mod_resource]
 MOV [scormadministration,mod_scorm],[pluginadministration,mod_scorm]
 MOV [surveyadministration,mod_survey],[pluginadministration,mod_survey]
 MOV [urladministration,mod_url],[pluginadministration,mod_url]
 MOV [wikiadministration,mod_wiki],[pluginadministration,mod_wiki]
 MOV [workshopadministration,mod_workshop],[pluginadministration,mod_workshop]
AMOS END
2010-08-17 17:35:12 +00:00
Petr Skoda
c6d75bffa5 MDL-23628 improved log action support - now similar to handling of capabilities 2010-08-03 10:07:18 +00:00
Dan Marsden
5da035144a MDL-23479 folder restore code - correct time shifting 2010-08-02 00:34:47 +00:00
danmarsden
dd454f4661 MDL-23479 folder Restore code 2010-07-28 08:31:35 +00:00
Petr Skoda
9fe1fbcccb MDL-21249 improved php docs and adding copyright blocks in mod/folder 2010-07-25 11:12:16 +00:00
Petr Skoda
792881f0fe fixed some comment typos 2010-07-22 09:43:30 +00:00
Petr Skoda
8664a86f2c MDL-23302 adding files is spam risk, not personal 2010-07-22 09:38:22 +00:00
Petr Skoda
7c78c525b4 MDL-23302 using new managefiles cap for file_browser too 2010-07-22 09:37:21 +00:00
Martin Dougiamas
a2580005a5 MDL-23302 Credit to Aparup, I'm just checking it in. Adds mod/folder:managefiles cap so that others can be allowed to add files to the folder 2010-07-22 09:04:06 +00:00
Dongsheng Cai
adbb249d99 MDL-23452, force download folder files 2010-07-22 02:45:52 +00:00
Petr Skoda
d6ae4a4a30 MDL-23204 convert text to html in folder intro 2010-07-16 09:10:49 +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
2e0406a53a repeating upgrade typo fixed 2010-07-06 16:10:17 +00:00
Martin Dougiamas
9a5b90053b MDL-22056 Adding pluginname to activity modules to fix gradebook issues caused by MDL-23071 (keeping modulename for n)
AMOS BEGIN
 CPY [modulename,assignment],[pluginname,assignment]
 CPY [modulename,chat],[pluginname,chat]
 CPY [modulename,choice],[pluginname,choice]
 CPY [modulename,data],[pluginname,data]
 CPY [modulename,feedback],[pluginname,feedback]
 CPY [modulename,folder],[pluginname,folder]
 CPY [modulename,forum],[pluginname,forum]
 CPY [modulename,glossary],[pluginname,glossary]
 CPY [modulename,hotpot],[pluginname,hotpot]
 CPY [modulename,imscp],[pluginname,imscp]
 CPY [modulename,label],[pluginname,label]
 CPY [modulename,lesson],[pluginname,lesson]
 CPY [modulename,page],[pluginname,page]
 CPY [modulename,quiz],[pluginname,quiz]
 CPY [modulename,resource],[pluginname,resource]
 CPY [modulename,survey],[pluginname,survey]
 CPY [modulename,url],[pluginname,url]
 CPY [modulename,wiki],[pluginname,wiki]
 CPY [modulename,workshop],[pluginname,workshop]
AMOS END
2010-07-05 05:12:39 +00:00
Petr Skoda
a4cdd6d2c8 MDL-23068 removing obsolete $result and removing empty upgrade files that would be probably never used at all + minor cleanup/fixing 2010-07-04 10:27:56 +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
Dongsheng Cai
e30cffa2a7 MDL-22764, added cancel button 2010-06-23 02:50:13 +00:00
Dongsheng Cai
33c36cf130 require completionlib.php 2010-06-22 09:40:10 +00:00
Dongsheng Cai
3ebb42aeea MDL-22764, added capability check on view.php, edit.php requires managefiles capability, use require_login to force logged in user in edit.php page 2010-06-21 09:11:24 +00:00
Dongsheng Cai
df911361d6 MDL-22764, fixed required_param parameters, and removed unused global variables 2010-06-21 08:20:34 +00:00
Dongsheng Cai
c84cea17b3 MDL-22764, a moodle form to manage folder module instance 2010-06-21 07:55:18 +00:00
Dongsheng Cai
fb2fb46e5b MDL-22805, new renderer component moodle_file_tree_viewer, remove file_tree_viewer to area_file_tree_viewer, the legecy files/index.php has be replaced with the moodle_file_tree_viewer, it is readonly 2010-06-16 08:07:42 +00:00
Sam Hemelryk
7487c85699 course formats MDL-22647 Course format names are now properly supported and used. Big thanks to Brandon Turner for the patch. 2010-06-08 06:21:25 +00:00
Dongsheng Cai
b80ef420d0 MDL-22582, file_tree_viewer implementaion in core renderer 2010-05-26 08:32:31 +00:00
Sam Marshall
31c9330392 accesslib MDL-22527 Batch change to replace 'legacy' arrays with 'archetypes' arrays in access.php 2010-05-21 11:51:23 +00:00
Martin Dougiamas
bfebaf64d8 MDL-22388 Added some checks to kill these scripts dead with an unequivocal notice unless included properly from a Moodle script. 2010-05-13 02:02:05 +00:00
Eloy Lafuente
78692f2381 MDL-22151 backup - folder implemented 2010-05-03 17:42:18 +00:00
David Mudrak
30c8dd34f7 MDL-15252 Re-committing all English strings exported from AMOS
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.

The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.

Live long and prosper.
2010-04-10 14:01:45 +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
David Mudrak
81144b026f MDL-21694 Moving Folder strings 2010-03-29 20:48:42 +00:00
Sam Hemelryk
0b29477be9 navigation MDL-21565 Update this xxx is now automatically added to the nav for all modules by default and is renamed to settings as that is what was being used in the tabs system presently anyway.
The following minor changes were also made:
* Added roles links to the navigation automatically
* Handling of block context for settings navigation
* Tidied up init code for settings navigation
2010-03-22 03:04:00 +00:00
David Mudrak
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Sam Marshall
c15a60e6be MDL-21687 Completion 'on view' not working on resource types after resource was rewritten 2010-02-23 13:10:45 +00:00
Petr Skoda
aedda14927 MDL-21400 converted mod/folder to new JS coding style 2010-02-06 17:58:07 +00:00
Petr Skoda
9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +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
191b267bcd MDL-20790 more page layouts -see base theme for full list; also added new css body class for describing current layout; base layout is now default for beter BC; require_login() now sets 'incourse' layout automatically 2009-12-27 12:02:04 +00:00
Sam Hemelryk
56115eea49 navigation MDL-21177 Removed erroneous DB queries from module extension calls 2009-12-24 02:06:05 +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
f44b10ed93 MDL-21139 replace all yui functions/methods with yui2 to make room for yui3 2009-12-16 20:25:14 +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
Petr Skoda
0ac940b3bf MDL-20712 using just $capablities for capability definition array, all other files in db/* do not use component names in definition array; old capability array names are of course supported 2009-11-04 19:24:12 +00:00
dongsheng
6b3c4d65c7 "MDL-20073, remove the static text" 2009-10-08 07:05:48 +00:00
samhemelryk
d5d5ba1a97 mod-folder MDL-19799 Added set_url calls, replaced deprecated functions 2009-09-24 06:16:35 +00:00
samhemelryk
5647cde8d0 mod-folder MDL-19799 Updated print_header_simple and build_navigation to OUTPUT and PAGE equivalents 2009-09-08 02:12:44 +00:00
skodak
adb77bc8fb MDL-20066 updated TODO tasks with tracker numbers 2009-08-13 20:54:55 +00:00