54 Commits

Author SHA1 Message Date
Petr Skoda
8571833f0b MDL-23069 moving version and cron info into standard version.php - finally, yay! 2010-07-04 12:18:22 +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
559198b879 MDL-22054 converting block name strings to pluginname
AMOS START
 MOV [formaltitle,block_quiz_results],[pluginname,block_quiz_results]
AMOS END
2010-04-11 11:36:04 +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
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
Dan Poltawski
41cfe00422 blocks/quiz_results: MDL-21284 - dont strip leading zeros from idnumbers
Or make assumptions its an integer as many external systems are not and to
be of copy and paste use to teachers it should match

forward ported from MOODLE_19_STABLE
2010-02-24 08:52:06 +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
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
c6084d31b4 blocks: MDL-19889 Convert quiz results block to use edit_form.php 2009-07-29 03:55:12 +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
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
7192011c25 quiz results block: MDL-17583 notices in HEAD. 2008-12-10 04:13:04 +00:00
tjhunt
1bd72efa00 cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table - found another reference to the students column. 2008-11-24 06:28:57 +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
tjhunt
3d05fc1365 quiz results block: MDL-17137 block_quiz_results: manager links to group/overview are wrong.
Eloy told me exactly what to change. I don't know why he did not commit the fix himself!
2008-11-06 06:13:09 +00:00
tjhunt
f88fb62c40 MDL-10682 - Ensure quiz and question grades are formatted consisently and correctly. While testing, I also fixed a few XHTML Strrrict errors. 2008-08-15 06:42:38 +00:00
skodak
f28f2d9022 MDL-14679 towards blocks conversion 2008-06-02 20:15:51 +00:00
skodak
44e1b7d7ff MDL-14679 remoed all instances of get_records_list() 2008-06-01 15:42:48 +00:00
moodler
433c242f1a Merged new block versions from 1.9 2008-03-03 11:43:32 +00:00
tjhunt
9d6c4e80f9 MDL-13102 - quiz_results block links to the old URL of the groups editing interface, and it links there for everyone, even if they don't have the capability to go there. Make it link to the participants page instead, if possible. 2008-01-24 16:33:39 +00:00
skodak
5bf243d131 MDL-10383 - groups/groupings refactoring nearly finished ;-) 2007-08-16 11:06:48 +00:00
skodak
2c386f82e5 MDL-10383 - deprecated get_groups(), user_group() and ismember() 2007-08-15 20:21:01 +00:00
Martin Langhoff
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
toyomoyo
17a67c9690 MDL-7861, fixing broken xhtml 2007-01-02 07:47:07 +00:00
vyshane
01199ea958 Updated to use new Roles System. Plus some fixes. 2006-08-16 08:54:07 +00:00
defacer
85311ca8d6 Now Quiz Results can be set into anonymous mode, where performance is shown
but student and group names are not disclosed. See relevant discussion at

http://moodle.org/mod/forum/discuss.php?d=29196

Version was also bumped up.

Incidentally, prefixed all defined constant names with "B_QUIZRESULTS_" to
avoid any conflicts with other things in the future.
2005-08-23 19:12:54 +00:00
defacer
164e30542d Merging from STABLE:
Slight "correctness" correction.
2005-07-19 23:45:02 +00:00
moodler
f64fdf3f9d Fixed a division by zero error 2005-04-27 13:54:44 +00:00
moodler
c4183f7a04 Styles moved to block 2005-03-25 16:21:33 +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
090cf95ae9 Fix for bug 2584:
All floatval() calls changed to (float) casts.
2005-02-18 14:42:04 +00:00
defacer
4a1ad69713 Fixing page defined constant, we no longer have access to it. 2005-02-16 21:49:15 +00:00
stronk7
cb10e3d761 Now the block is using quiz->decimalpoints to show the grades 2005-02-14 20:26:11 +00:00
defacer
09fe365237 Fix for bug 2525:
Since the page type constants have migrated to local pagelibs, lose them.
2005-02-10 17:32:29 +00:00
defacer
76d37688fc Fixing allowed formats. 2005-02-09 15:45:54 +00:00
defacer
639276728c Allow quiz_results in quiz pages and allow multiple instances too
(this obviously is only useful in courses).
2005-02-01 10:03:21 +00:00
defacer
d9f7e051b9 Perfecting the wording to distinguish between singular and plural. 2005-02-01 08:44:04 +00:00
defacer
e7c15eca42 Since people adding this block to the quiz screen will get an empty display
at first, show them a more friendly message instead.
2005-02-01 07:46:31 +00:00
defacer
0144a0a701 Add a very useful feature to block_base to make instance config even more
convenient to use. And take advantage of it to make the block run faster.
2005-02-01 06:51:00 +00:00
defacer
bf94f836a4 Being slightly more accurate. 2005-02-01 06:49:52 +00:00
defacer
f58a15dee2 That link looks a little silly if we are viewing the quiz... 2005-02-01 06:40:50 +00:00
defacer
e0a80e89f3 I 'm putting together a scheme to allow blocks in mod/quiz/view.php.
This will allow the block to work when displayed there.
2005-02-01 06:38:42 +00:00
defacer
7542a4e574 Dropping the use of MOODLE_PAGE_COURSE <gasp>!
The new constant is PAGE_COURSE_VIEW, and it's more streamlined with the
new CSS-related ids for 1.5. There are great possibilities for the future
here, so we 're getting ready.

On the other hand, this has to be the ugliest hack I 've ever inflicted
on any program (look at pagelib.php). Thankfully it will only stay for just
a little while.
2005-01-31 02:18:15 +00:00
defacer
cab5d3cd04 If there are no quizzes this block can monitor, print it in bold. 2005-01-27 23:59:12 +00:00
defacer
b35bc4d8db Block now works as it intuitively should in separate groups mode as well.
For editing teachers, it shows separategroups as visiblegroups.
2005-01-27 17:40:46 +00:00
defacer
9c581405ab More HTML and CSS fun with the new block.
Incidentally, does Mozilla have a bug here? It won't apply the text-align
property to those TDs which have been given a class through a COLGROUP.
IE does it correctly all the way, and Firefox applies the other properties
but seems to take exception at the text-align. Weird.
2005-01-27 04:19:56 +00:00
defacer
3779fd556e Out goes the ORDER BY grade + 0 hack, now that grade is a float.
Also, fixed a logic error with sorting in group mode.
2005-01-27 03:53:20 +00:00