Commit Graph

66 Commits

Author SHA1 Message Date
David Monllao a0b417da49 MDL-60247 block_glossary_random: Skip rendundant value assign 2017-10-19 10:36:25 +02:00
Luca Bösch da755cb442 MDL-60247 blocks: Multilang in Random glossary and in HTML block titles. 2017-10-13 13:52:00 +02:00
Marina Glancy 9e21f12dbd MDL-55864 general: fix PHP7.1 strict warnings 2016-09-13 09:39:26 +08:00
Marina Glancy 9c3710854b MDL-53598 block_glossary_random: do not fail if glossary was deleted
This commit refactors how associated glossary is searched for and removes
unnecessary DB queries. Also prevents from situations when the global glossary or course have
been deleted
2016-05-31 15:30:41 +08:00
Marina Glancy f7ff14a1be MDL-50710 block_glossary_random: more precise sorting 2015-11-30 09:16:28 +08:00
Amanda Doughty 48a3a4d621 MDL-40451 block/glossary_random Fixed missing header when adding new block 2014-09-03 14:01:54 +01:00
Marina Glancy 447d55d55a MDL-45429 block_glossary_random: check capability before suggesting to edit 2014-05-06 16:06:29 +08:00
Sam Hemelryk f25a6839fd MDL-44120 block: tidied up block @package uses 2014-02-16 12:17:14 +13:00
Rajesh Taneja 390ef41e02 MDL-20131 Glossary: Fixed courseid typo 2013-02-12 10:57:10 +08:00
Rajesh Taneja 95556ce4e8 MDL-20131 Glossary: Global glossary can be added in Random glossary entry block. 2013-02-11 11:55:26 +08:00
Mark Nelson d448625682 MDL-37414 blocks: re-added the ability to add some blocks to the My Moodle 2013-01-22 10:52:41 +08:00
Sam Hemelryk 5ba45e34bb Merge branch 'wip-MDL-35842-master' of git://github.com/phalacee/moodle 2013-01-09 10:07:16 +13:00
Mark Nelson bfe20414c0 MDL-36455 blocks: removed ability to add blocks to the My Moodle page that did not make sense in that context 2012-12-18 11:32:35 +08:00
Petr Škoda 443bb9c103 MDL-36737 fix random glossary E_STRICT issue 2012-12-08 14:44:05 +01:00
Jason Fowler 9e7d097926 MDL-35842 - Glossary, Blocks - Joseph Rézeau's patch for setting the Random Glossary block to progress alphabetically 2012-11-23 15:06:27 +08:00
Andreas Grabs 95a6ed773d MDL-35158 - Random Glossary block returns an error when you delete the linked glossary 2012-11-17 12:06:39 +01:00
Frederic Massart fe2fdd11e4 MDL-34456 Librairies: Replaced deprecated get_context_instance() 2012-07-24 09:49:47 +08:00
Jason Fowler bcab2b21b3 MDL-30482 - Glossary - Fixing the capability controls for the recent activity block 2012-03-22 16:19:38 +08:00
Jason Fowler c3963fbd9b MDL-30482 - Glossary - Adding capability to other areas using glossary 2012-03-21 10:22:53 +08:00
Petr Skoda b85b25ebb8 MDL-31006 fix various notices in PHP54
PHP54 compatibility
2012-01-18 01:03:20 +01:00
Aparup Banerjee 22154a3187 Revert "MDL-30482 - Glossary - Adding capability to other areas using glossary" (test failed)
This reverts commit aa423bd0e6.
2011-12-15 15:47:46 +08:00
Jason Fowler aa423bd0e6 MDL-30482 - Glossary - Adding capability to other areas using glossary 2011-12-14 15:00:30 +08:00
Aparup Banerjee d4f2755206 Revert "MDL-30482 - Glossary - Adding capability to other areas using glossary"
This reverts commit d79de196c9.
2011-12-14 14:59:16 +08:00
Jason Fowler d79de196c9 MDL-30482 - Glossary - Adding capability to other areas using glossary 2011-12-12 10:46:10 +08:00
Petr Skoda 3aa2fd20c0 MDL-25593 added missing filelib include
credit goes to Adam Olley
2010-12-08 08:15:21 +00:00
Eloy Lafuente 32df07b4c3 MDL-24959 glossary_random - render images in picked entries properly 2010-11-15 15:46:14 +00:00
Sam Hemelryk 367a75fae4 themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Eloy Lafuente a03867380d MDL-22164 backup - cleaning old backup & restore code in blocks 2010-11-01 15:51:20 +00:00
Petr Skoda dd4bee83ae MDL-24321 switching to stdClass in /blocks/ 2010-09-21 08:10:17 +00:00
Andrew Davis 9f76d281af glossary MDL-23717 fixed random quote block add entry link 2010-08-09 03:55: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 5a0b9156d1 MDL-22054 fixed forgotten get_string 2010-04-11 11:40:09 +00:00
Petr Skoda 2a71e9f24f MDL-22054 converting block name strings to pluginname
AMOS START
 MOV [blockname,block_glossary_random],[pluginname,block_glossary_random]
AMOS END
2010-04-11 11:19:29 +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 6526cc3468 blocks: MDL-19889 Convert random glossary block to use edit_form.php 2009-07-29 03:57:56 +00:00
stronk7 4e1cb3397e MDL-18901 formatXXX fields - changed missed occurrence 2009-07-26 09:36:14 +00:00
tjhunt cb6402296c blocklib: MDL-19010 remove no-longer-necessary global variable use from blocks 2009-05-06 09:28:26 +00:00
skodak cbc2b5df03 MDL-18901 reimplemented trusstext support in glossary + standardising format column for text fields 2009-04-20 10:05:50 +00:00
skodak f28f2d9022 MDL-14679 towards blocks conversion 2008-06-02 20:15:51 +00:00
skodak 534792cd82 MDL-14679 removed all instances of get_records_select_menu() 2008-06-01 15:52:12 +00:00
stronk7 9120630b4b glossary->id for block is now properly recoded by restore. MDL-4934 ; merged from 19_STABLE 2008-04-27 01:56:08 +00:00
jmg324 cc1a28f073 minor change: glossary concept as h3 not h2 to match subheadings in other blocks styles and to be lower than block heading h2 for accessibility 2008-04-17 13:42:51 +00:00
moodler 433c242f1a Merged new block versions from 1.9 2008-03-03 11:43:32 +00:00
skodak 51edc06ea1 MDL-10132 improved random glossary blocks - now uses modinfo too + fixed some notices; merged from MOODLE_19_STABLE 2008-02-05 23:34:20 +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
poltawski 2f2b289fe2 MDL-12464 - refine further so that glossary can't refer to instance from
another course (and cause breakage)
2008-01-08 16:47:19 +00:00
poltawski f9192b6538 MDL-12464 - if a glossary is deleted, it causes some breakage in the
random glossary block

Merged from MOODLE_19_STABLE
2007-12-06 15:43:46 +00:00
moodler fafa2265f6 Merged fix for trusttext from stable 2006-10-24 02:36:13 +00:00
stronk7 422770d8cb Moving deprecated uses of sql_paging_limit() to the new $limitfrom,
$limitnum parameters in all the get_recordXXX() functions. MDL-7167

Merged from MOODLE_17_STABLE
2006-10-23 23:00:18 +00:00
toyomoyo e73bfa2d73 merged replacing studentcanpost with proper capability 2006-10-23 03:23:09 +00:00