14 Commits

Author SHA1 Message Date
Petr Skoda
2c4d7e2c21 MDL-22054 converting block name strings to pluginname
AMOS START
 MOV [blockname,block_mentees],[pluginname,block_mentees]
AMOS END
2010-04-11 11:24:48 +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
7a563f0f35 MDL-21694 Moving blocks lang files into the plugin scope 2010-03-29 15:33:27 +00:00
Dan Poltawski
cd44c2b742 block/mentees: MDL-20993 - incorrectly assumes SITEID
forward ported from MOODLE_19_STABLE
2010-02-24 08:46:33 +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
f34b1a71a0 blocks: MDL-19889 Convert mentees block to use edit_form.php 2009-07-29 05:19:39 +00:00
tjhunt
e92c286c20 block contexts: MDL-19098 every block should have a context
even non-course and sticky blocks.

The parent context is block_instances.parentcontextid.

The block context should be used for checking permissions directly
related to the block, like moodle/block:view or moodle/site:manageblocks.

However, if the block is displaying information about the current page,
for example the participants block showing who 'here', then it may be
better to use the context of the page where the bloack is appearing -
in other words $this->page->context - to check permissions about the
user's ability to see participants here.

Or, if the block is displaying something stronly related to courses,
for example, a course meny block, the block should probably use the
context for $this->page->course to check permissions.
2009-07-13 08:37:34 +00:00
skodak
f28f2d9022 MDL-14679 towards blocks conversion 2008-06-02 20:15:51 +00:00
moodler
1d2c7142c7 MDL-14630 Merged My Moodle fix for Mentees from 1.9 2008-05-01 05:39:50 +00:00
moodler
433c242f1a Merged new block versions from 1.9 2008-03-03 11:43:32 +00:00
moodler
9591bc3c9e Changed applicable_formats to remove certain blocks from the tags pages 2007-08-10 09:33:21 +00:00
nicolasconnault
77a297d274 Fixed many xhtml errors 2007-04-20 07:54:42 +00:00
toyomoyo
521296f5b8 merged fix for MDL-8782, adding a mentees block 2007-03-09 07:08:27 +00:00