Commit Graph

59 Commits

Author SHA1 Message Date
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 8571833f0b MDL-23069 moving version and cron info into standard version.php - finally, yay! 2010-07-04 12:18:22 +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
Dongsheng Cai a63bb431c2 "MDL-20125, added missing setting link" 2010-05-18 02:53:17 +00:00
Martin Dougiamas 16b5fdaf17 MDL-22054 Fixed some uppercasing errors. We Never Use This Format For Strings. 2010-04-30 02:42:18 +00:00
Petr Skoda 150135ab08 MDL-22054 the last blockname removed 2010-04-11 11:57:46 +00:00
Petr Skoda 61e2e77526 MDL-22054 converting block name strings to pluginname
AMOS START
 MOV [blockname,block_section_links],[pluginname,block_section_links]
AMOS END
2010-04-11 11:44:30 +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
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
David Mudrak 7a563f0f35 MDL-21694 Moving blocks lang files into the plugin scope 2010-03-29 15:33:27 +00:00
Dongsheng Cai 285fd4ea55 "MDL-20125, boilerplates added" 2010-01-18 05:33:25 +00:00
Dongsheng Cai 65a86aa764 "MDL-21122, fixed saving setting problem in section links block, merged from 1.9" 2009-12-18 03:03:01 +00:00
Petr Skoda 2f67a9b3a5 MDL-20700 whitespace terror returns yet again 2009-12-16 22:22:37 +00:00
Petr Skoda 4454447d56 MDL-20700 whitespace terror returns 2009-12-16 22:14:17 +00:00
Sam Hemelryk 78bcd545d0 blocks MDL-19788 Fixed use of delete_records 2009-12-07 05:49:30 +00:00
Dongsheng Cai 6c33f53253 "MDL-20125, added configurable setting to section_links block, credits to Jason Hardin, merged from 1.9" 2009-12-04 09:01:50 +00:00
Petr Skoda 4ca6cfbfd4 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 12:00:47 +00:00
tjhunt cb6402296c blocklib: MDL-19010 remove no-longer-necessary global variable use from blocks 2009-05-06 09:28:26 +00:00
tjhunt 3179b0006a blocklib: MDL-19010 Fix blocks that were relying on ->instance in an unfortunate way 2009-05-06 09:15:33 +00:00
tjhunt 66b10689e2 blocklib: MDL-19010 upgrade database tables ready for now blocks system 2009-05-06 09:12:03 +00:00
Francois Marier 6280ef3e58 Fix CVS-git drift (remove some files deleted in CVS) 2009-02-01 23:43:28 +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 b1f93b1512 MDL-15246 moving all remaining ddl function to adminlib, keeping old lib/ddllib.php only for BC withexisting code; fixed inline docs related to ddl 2008-06-15 10:32:50 +00:00
skodak a5d424df7c MDL-14679 converted some get/set_field() 2008-06-02 21:39:23 +00:00
skodak f28f2d9022 MDL-14679 towards blocks conversion 2008-06-02 20:15:51 +00:00
skodak 98891b9348 MDL-14679 fixed regressions 2008-05-31 18:20:05 +00:00
skodak 219f652b91 MDL-14679 upgrade $DB conversion 2008-05-31 18:05:42 +00:00
moodler 433c242f1a Merged new block versions from 1.9 2008-03-03 11:43:32 +00:00
skodak dd97c32868 MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE 2008-01-24 20:33:50 +00:00
skodak b571c6b37b MDL-10995 eliminated some get course record calls - reused $COURSE instead 2007-08-26 08:24:50 +00:00
moodler 8b4315fd33 Little fix for typo (see MDL-8061) 2007-01-23 03:39:56 +00:00
skodak 440d164869 MDL-7861xhtml strict and css fixes in blocks 2007-01-09 23:45:24 +00:00
nfreear 764d1d20dd Fixes MDL-6838, uses 'inline-list' class (label with ordered list <ol> not redendered with numbers) 2006-12-01 15:54:46 +00:00
skodak 2f8d5316a1 Forums index page, add table headers for section/week MDL-7480
and fixed section_links block for weekscss format
2006-11-22 07:48:35 +00:00
stronk7 5d0fc5c33d Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00
stronk7 3aac1dc9a0 Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:39:10 +00:00
stronk7 d7a7184730 New upgrade.php file added for this module. MDL-7214 2006-10-26 16:33:49 +00:00
vyshane 67e4cf27e2 Added has_capability checks 2006-08-15 06:21:35 +00:00
vyshane 9dc3d3255d Merged from 1.6. Fix for Bug #5767 - Section links block is removed from
course view after settings update.
2006-06-13 07:50:02 +00:00
defacer a7ef57d4da Making section links point to #section-NNN instead of #NNN 2005-11-23 23:16:24 +00:00
defacer 296c94b134 Begone, evil <font> tag 2005-11-23 22:33:33 +00:00
jpuntd e8fce230f4 fixed bug2847 2005-04-05 21:03:15 +00:00
defacer 3ef642d96a Implemented discussion from bug 2547:
* Block authors no longer need to set $this->content_type
* If you want to make a "list" block, just derive from block_list
  instead of block_base
* All switch() statements gone from library code
* Overloaded method is_empty() added to block classes for convenience
2005-03-02 19:22:26 +00:00
defacer 8a47e075b3 Changing the way that applicable formats for each block are defined:
The format for each page is now the same as the id attribute of the
BODY tag, which in turn is a simple function of the script's relative path:

The format for e.g. a quiz view page is "mod-quiz-view". The format for the
site index is "site-index". Exception: the format for courses is not just
"course-view", but "course-view-weeks" etc.

Obviously the applicable_formats() override for each block should now take
this into account. The matching rules now are:

* You can specify the full format, e.g. "mod-quiz-view" => true
  will allow the block to be added in quizzes
* Prefixes match the full page format, e.g. "mod" matches ALL activities
* You can use "*" as a wildcard, e.g. "mod-*-view" matches just the view.php
  page of all activities
* These rules interoperate, thus "mod-*" is the same as "mod"
* "all" remains as a catch-all situation
2005-02-08 02:59:44 +00:00
defacer e89d741af3 New naming conventions for class names to bring them in line with the
rest of Moodle. The convention for blocks is now:

class block_something extends block_base { ... }

HOWTO updated accordingly, plus some more minor polishing. More to come.
2004-11-23 18:53:34 +00:00
defacer 9b4b78fd6a Da monster-commit of blocks version 2!
Code based on the work of Daryl Hawes for the blog module. Thanks, Daryl!

Please test the hell out of it as it's sure to have issues that need to be
ironed out.
2004-10-19 21:04:28 +00:00
gustav_delius 839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
gustav_delius a43bbd9a15 fixed quoting of attribute values 2004-09-12 20:30:43 +00:00