text
stringlengths 3
3.17M
| input_ids
sequencelengths 512
512
| attention_mask
sequencelengths 512
512
|
---|---|---|
Wednesdays / 4:15 – 5:15pm / 7th – 9th Grades | [
1,
15050,
4515,
16700,
847,
29871,
29946,
29901,
29896,
29945,
785,
29871,
29945,
29901,
29896,
29945,
3358,
847,
29871,
29955,
386,
785,
29871,
29929,
386,
1632,
3076,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
The original item was published from 10/9/2015 10:13:50 AM to 10/17/2015 12:00:02 AM.
[ARCHIVED] Westbound Mainstreet Lane Closure Set for Oct. 12-16
Westbound Mainstreet will be reduced to one lane adjacent to the East Mainstreet Development beginning on Monday, Oct. 12 to allow for roadway improvements associated with the project. This closure will affect Mainstreet between the north and south legs of Pine Drive. One lane of westbound traffic will remain open at all times, and eastbound traffic will be unaffected by the work. This construction is anticipated to be completed no later than Friday, Oct. 16, weather permitting. | [
1,
450,
2441,
2944,
471,
6369,
515,
29871,
29896,
29900,
29914,
29929,
29914,
29906,
29900,
29896,
29945,
29871,
29896,
29900,
29901,
29896,
29941,
29901,
29945,
29900,
13862,
304,
29871,
29896,
29900,
29914,
29896,
29955,
29914,
29906,
29900,
29896,
29945,
29871,
29896,
29906,
29901,
29900,
29900,
29901,
29900,
29906,
13862,
29889,
13,
29961,
1718,
3210,
5667,
3352,
29962,
3122,
9917,
4241,
29352,
23841,
2233,
359,
545,
3789,
363,
4756,
29889,
29871,
29896,
29906,
29899,
29896,
29953,
13,
16128,
9917,
4241,
29352,
674,
367,
12212,
304,
697,
301,
1662,
20114,
304,
278,
6932,
4241,
29352,
14650,
6763,
373,
27822,
29892,
4756,
29889,
29871,
29896,
29906,
304,
2758,
363,
6520,
1582,
28473,
6942,
411,
278,
2060,
29889,
910,
18424,
674,
6602,
4241,
29352,
1546,
278,
6641,
322,
7062,
21152,
310,
349,
457,
22850,
29889,
3118,
301,
1662,
310,
5833,
9917,
12469,
674,
3933,
1722,
472,
599,
3064,
29892,
322,
9755,
9917,
12469,
674,
367,
1185,
7161,
287,
491,
278,
664,
29889,
910,
7632,
338,
23483,
630,
304,
367,
8676,
694,
2678,
1135,
28728,
29892,
4756,
29889,
29871,
29896,
29953,
29892,
14826,
3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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
$15 FLAT RATE SHIPPING CANADA-WIDE. ENJOY FREE SHIPPING ON ORDERS OVER $100 CAD
WHIPPED BUTTERS
Home / BLOG POSTS
HAND BALMS VS HAND LOTIONS
What's the difference between Hand Balms vs Hand Lotions?
Are hand balms and hand lotions different? The answer is yes, they are!
Hand Lotions are water based. You will see this listed as 'aqua' in the ingredients list. Since there's water, companies will often add synthetic preservatives or alcohol to prevent bacteria from growing. And while alcohol is fun to drink, it's not so good for the skin.
The low amount of oil in lotions also mean that it doesn't keep your skin moisturized for long. Ever feel like you have to keep putting on more lotion?
Hand Balms are oil and wax based. The great thing about this is that we can make them without the use of synthetic preservatives!
You only get the good stuff!
This also means that our balms are MUCH more concentrated than traditional hand lotions.
One of our main ingredients is candelilla wax, which offers intense protection for your hands. The nourishing oils help keep the skin deeply moisturized.
And because each jar is CHOCK FULL of densely-packed, good-for-you ingredients, a little bit goes a long way!
Shop Hand Balms now.
Subscribe to our mailing list for news and promotions:
Just Hand Stuff is grateful to be based on the ancestral and unceded homelands of the hən̓q̓əmin̓əm̓ and Sḵwx̱wú7mesh speaking peoples, and for the opportunity to be on this territory.
© 2023 Just Hand Stuff. We reserve the right to remain badass. | [
1,
395,
29896,
29945,
383,
29931,
1299,
390,
3040,
24972,
5690,
29925,
4214,
315,
2190,
3035,
29909,
29899,
19292,
29923,
29889,
12524,
29967,
29949,
29979,
383,
21661,
24972,
5690,
29925,
4214,
6732,
15606,
29903,
438,
5348,
395,
29896,
29900,
29900,
315,
3035,
13,
25039,
5690,
29925,
3352,
350,
2692,
4945,
29903,
13,
11184,
847,
350,
14480,
11971,
29903,
13,
29950,
9468,
350,
1964,
4345,
12221,
379,
9468,
365,
2891,
27946,
13,
5618,
29915,
29879,
278,
4328,
1546,
5166,
7392,
1516,
7186,
5166,
20815,
1080,
29973,
13,
17506,
1361,
6411,
1516,
322,
1361,
3287,
1080,
1422,
29973,
450,
1234,
338,
4874,
29892,
896,
526,
29991,
13,
3481,
20815,
1080,
526,
4094,
2729,
29889,
887,
674,
1074,
445,
9904,
408,
525,
18463,
29874,
29915,
297,
278,
2348,
1127,
10070,
1051,
29889,
4001,
727,
29915,
29879,
4094,
29892,
14582,
674,
4049,
788,
14710,
7492,
2225,
6972,
5056,
470,
27231,
5391,
304,
5557,
289,
5761,
423,
515,
15678,
29889,
1126,
1550,
27231,
5391,
338,
2090,
304,
13748,
29892,
372,
29915,
29879,
451,
577,
1781,
363,
278,
19309,
29889,
13,
1576,
4482,
5253,
310,
17182,
297,
3287,
1080,
884,
2099,
393,
372,
1838,
29915,
29873,
3013,
596,
19309,
2730,
391,
332,
1891,
363,
1472,
29889,
18274,
4459,
763,
366,
505,
304,
3013,
10594,
373,
901,
3287,
291,
29973,
13,
3481,
7392,
1516,
526,
17182,
322,
281,
1165,
2729,
29889,
450,
2107,
2655,
1048,
445,
338,
393,
591,
508,
1207,
963,
1728,
278,
671,
310,
14710,
7492,
2225,
6972,
5056,
29991,
13,
3492,
871,
679,
278,
1781,
6433,
29991,
13,
4013,
884,
2794,
393,
1749,
6411,
1516,
526,
341,
29965,
3210,
901,
14953,
630,
1135,
13807,
1361,
3287,
1080,
29889,
13,
6716,
310,
1749,
1667,
2348,
1127,
10070,
338,
23794,
295,
2911,
281,
1165,
29892,
607,
16688,
17818,
344,
13047,
363,
596,
6567,
29889,
450,
302,
473,
14424,
288,
2719,
1371,
3013,
278,
19309,
24344,
2730,
391,
332,
1891,
29889,
13,
2855,
1363,
1269,
14631,
338,
5868,
29949,
7077,
383,
3299,
310,
6245,
873,
29899,
4058,
287,
29892,
1781,
29899,
1454,
29899,
6293,
2348,
1127,
10070,
29892,
263,
2217,
2586,
5771,
263,
1472,
982,
29991,
13,
2713,
459,
5166,
7392,
1516,
1286,
29889,
13,
4035,
13086,
304,
1749,
611,
6504,
1051,
363,
9763,
322,
2504,
327,
1080,
29901,
13,
14084,
5166,
624,
3096,
338,
28656,
304,
367,
2729,
373,
278,
19525,
1705,
322,
443,
1133,
287,
3632,
295,
4167,
310,
278,
298,
30184,
29876,
207,
150,
29939,
207,
150,
30184,
1195,
207,
150,
30184,
29885,
207,
150,
322,
317,
228,
187,
184,
23310,
31574,
29893,
30030,
29955,
4467,
29882,
13590,
1236,
459,
793,
29892,
322,
363,
278,
15130,
304,
367,
373,
445,
20123,
29889,
13,
30211,
29871,
29906,
29900,
29906,
29941,
3387,
5166,
624,
3096,
29889,
1334,
23986,
278,
1492,
304,
3933,
4319,
465,
29889,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
### Project:jsdoc
### Description:JavaScript API Documentation builds for Moodle LMS
### File:
### Path:./lib/aws-sdk/src/data/pinpoint-sms-voice-v2/2022-03-31/smoke.json.php
### Content:<?php
// This file was auto-generated from sdk-root/src/data/pinpoint-sms-voice-v2/2022-03-31/smoke.json
return [ 'version' => 1, 'defaultRegion' => 'us-west-2', 'testCases' => [],];
, | [
1,
835,
8010,
29901,
1315,
1514,
13,
2277,
29937,
12953,
29901,
16963,
3450,
10854,
362,
23315,
363,
341,
2092,
280,
365,
4345,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
1982,
29914,
10467,
29899,
15348,
29914,
4351,
29914,
1272,
29914,
12687,
3149,
29899,
29879,
1516,
29899,
14917,
29899,
29894,
29906,
29914,
29906,
29900,
29906,
29906,
29899,
29900,
29941,
29899,
29941,
29896,
29914,
3844,
6946,
29889,
3126,
29889,
1961,
13,
835,
10576,
29901,
8169,
1961,
13,
458,
910,
934,
471,
4469,
29899,
13525,
515,
269,
8181,
29899,
4632,
29914,
4351,
29914,
1272,
29914,
12687,
3149,
29899,
29879,
1516,
29899,
14917,
29899,
29894,
29906,
29914,
29906,
29900,
29906,
29906,
29899,
29900,
29941,
29899,
29941,
29896,
29914,
3844,
6946,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
### Project:custom-tinymce
### Description:Customised TinyMCE for Moodle
### File:
### Path:./lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx.php
### Content:<?php
namespace PhpOffice\PhpSpreadsheet\Reader;
use PhpOffice\PhpSpreadsheet\Cell\Coordinate;
use PhpOffice\PhpSpreadsheet\Cell\DataType;
use PhpOffice\PhpSpreadsheet\Cell\Hyperlink;
use PhpOffice\PhpSpreadsheet\DefinedName;
use PhpOffice\PhpSpreadsheet\Reader\Security\XmlScanner;
use PhpOffice\PhpSpreadsheet\Reader\Xlsx\AutoFilter;
use PhpOffice\PhpSpreadsheet\Reader\Xlsx\Chart;
use PhpOffice\PhpSpreadsheet\Reader\Xlsx\ColumnAndRowAttributes;
use PhpOffice\PhpSpreadsheet\Reader\Xlsx\ConditionalStyles;
use PhpOffice\PhpSpreadsheet\Reader\Xlsx\DataValidations;
use PhpOffice\PhpSpreadsheet\Reader\Xlsx\Hyperlinks;
use PhpOffice\PhpSpreadsheet\Reader\Xlsx\Namespaces;
use PhpOffice\PhpSpreadsheet\Reader\Xlsx\PageSetup;
use PhpOffice\PhpSpreadsheet\Reader\Xlsx\Properties as PropertyReader;
use PhpOffice\PhpSpreadsheet\Reader\Xlsx\SharedFormula;
use PhpOffice\PhpSpreadsheet\Reader\Xlsx\SheetViewOptions;
use PhpOffice\PhpSpreadsheet\Reader\Xlsx\SheetViews;
use PhpOffice\PhpSpreadsheet\Reader\Xlsx\Styles;
use PhpOffice\PhpSpreadsheet\Reader\Xlsx\TableReader;
use PhpOffice\PhpSpreadsheet\Reader\Xlsx\Theme;
use PhpOffice\PhpSpreadsheet\Reader\Xlsx\WorkbookView;
use PhpOffice\PhpSpreadsheet\ReferenceHelper;
use PhpOffice\PhpSpreadsheet\RichText\RichText;
use PhpOffice\PhpSpreadsheet\Settings;
use PhpOffice\PhpSpreadsheet\Shared\Date;
use PhpOffice\PhpSpreadsheet\Shared\Drawing;
use PhpOffice\PhpSpreadsheet\Shared\File;
use PhpOffice\PhpSpreadsheet\Shared\Font;
use PhpOffice\PhpSpreadsheet\Shared\StringHelper;
use PhpOffice\PhpSpreadsheet\Spreadsheet;
use PhpOffice\PhpSpreadsheet\Style\Color;
use PhpOffice\PhpSpreadsheet\Style\Font as StyleFont;
use PhpOffice\PhpSpreadsheet\Style\NumberFormat;
use PhpOffice\PhpSpreadsheet\Style\Style;
use PhpOffice\PhpSpreadsheet\Worksheet\HeaderFooterDrawing;
use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
use SimpleXMLElement;
use Throwable;
use XMLReader;
use ZipArchive;
class Xlsx extends BaseReader
{
const INITIAL_FILE = '_rels/.rels';
/**
* ReferenceHelper instance.
*
* @var ReferenceHelper
*/
private $referenceHelper;
/**
* @var ZipArchive
*/
private $zip;
/** @var Styles */
private $styleReader;
/**
* @var array
*/
private $sharedFormulae = [];
/**
* Create a new Xlsx Reader instance.
*/
public function __construct()
{
parent::__construct();
$this->referenceHelper = ReferenceHelper::getInstance();
$this->securityScanner = XmlScanner::getInstance($this);
}
/**
* Can the current IReader read the file?
*/
public function canRead(string $filename): bool
{
if (!File::testFileNoThrow($filename, self::INITIAL_FILE)) {
return false;
}
$result = false;
$this->zip = $zip = new ZipArchive();
if ($zip->open($filename) === true) {
[$workbookBasename] = $this->getWorkbookBaseName();
$result = !empty($workbookBasename);
$zip->close();
}
return $result;
}
/**
* @param mixed $value
*/
public static function testSimpleXml($value): SimpleXMLElement
{
return ($value instanceof SimpleXMLElement) ? $value : new SimpleXMLElement('<?xml version="1.0" encoding="UTF-8"?><root></root>');
}
public static function getAttributes(?SimpleXMLElement $value, string $ns = ''): SimpleXMLElement
{
return self::testSimpleXml($value === null ? $value : $value->attributes($ns));
}
// Phpstan thinks, correctly, that xpath can return false.
// Scrutinizer thinks it can't.
// Sigh.
private static function xpathNoFalse(SimpleXmlElement $sxml, string $path): array
{
return self::falseToArray($sxml->xpath($path));
}
/**
* @param mixed $value
*/
public static function falseToArray($value): array
{
return is_array($value) ? $value : [];
}
private function loadZip(string $filename, string $ns = '', bool $replaceUnclosedBr = false): SimpleXMLElement
{
$contents = $this->getFromZipArchive($this->zip, $filename);
if ($replaceUnclosedBr) {
$contents = str_replace('<br>', '<br/>', $contents);
}
$rels = @simplexml_load_string(
$this->getSecurityScannerOrThrow()->scan($contents),
'SimpleXMLElement',
Settings::getLibXmlLoaderOptions(),
$ns
);
return self::testSimpleXml($rels);
}
// This function is just to identify cases where I'm not sure
// why empty namespace is required.
private function loadZipNonamespace(string $filename, string $ns): SimpleXMLElement
{
$contents = $this->getFromZipArchive($this->zip, $filename);
$rels = simplexml_load_string(
$this->getSecurityScannerOrThrow()->scan($contents),
'SimpleXMLElement',
Settings::getLibXmlLoaderOptions(),
($ns === '' ? $ns : '')
);
return self::testSimpleXml($rels);
}
private const REL_TO_MAIN = [
Namespaces::PURL_OFFICE_DOCUMENT => Namespaces::PURL_MAIN,
Namespaces::THUMBNAIL => '',
];
private const REL_TO_DRAWING = [
Namespaces::PURL_RELATIONSHIPS => Namespaces::PURL_DRAWING,
];
private const REL_TO_CHART = [
Namespaces::PURL_RELATIONSHIPS => Namespaces::PURL_CHART,
];
/**
* Reads names of the worksheets from a file, without parsing the whole file to a Spreadsheet object.
*
* @param string $filename
*
* @return array
*/
public function listWorksheetNames($filename)
{
File::assertFile($filename, self::INITIAL_FILE);
$worksheetNames = [];
$this->zip = $zip = new ZipArchive();
$zip->open($filename);
// The files we're looking at here are small enough that simpleXML is more efficient than XMLReader
$rels = $this->loadZip(self::INITIAL_FILE, Namespaces::RELATIONSHIPS);
foreach ($rels->Relationship as $relx) {
$rel = self::getAttributes($relx);
$relType = (string) $rel['Type'];
$mainNS = self::REL_TO_MAIN[$relType] ?? Namespaces::MAIN;
if ($mainNS !== '') {
$xmlWorkbook = $this->loadZip((string) $rel['Target'], $mainNS);
if ($xmlWorkbook->sheets) {
foreach ($xmlWorkbook->sheets->sheet as $eleSheet) {
// Check if sheet should be skipped
$worksheetNames[] = (string) self::getAttributes($eleSheet)['name'];
}
}
}
}
$zip->close();
return $worksheetNames;
}
/**
* Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns).
*
* @param string $filename
*
* @return array
*/
public function listWorksheetInfo($filename)
{
File::assertFile($filename, self::INITIAL_FILE);
$worksheetInfo = [];
$this->zip = $zip = new ZipArchive();
$zip->open($filename);
$rels = $this->loadZip(self::INITIAL_FILE, Namespaces::RELATIONSHIPS);
foreach ($rels->Relationship as $relx) {
$rel = self::getAttributes($relx);
$relType = (string) $rel['Type'];
$mainNS = self::REL_TO_MAIN[$relType] ?? Namespaces::MAIN;
if ($mainNS !== '') {
$relTarget = (string) $rel['Target'];
$dir = dirname($relTarget);
$namespace = dirname($relType);
$relsWorkbook = $this->loadZip("$dir/_rels/" . basename($relTarget) . '.rels', '');
$worksheets = [];
foreach ($relsWorkbook->Relationship as $elex) {
$ele = self::getAttributes($elex);
if (
((string) $ele['Type'] === "$namespace/worksheet") ||
((string) $ele['Type'] === "$namespace/chartsheet")
) {
$worksheets[(string) $ele['Id']] = $ele['Target'];
}
}
$xmlWorkbook = $this->loadZip($relTarget, $mainNS);
if ($xmlWorkbook->sheets) {
$dir = dirname($relTarget);
/** @var SimpleXMLElement $eleSheet */
foreach ($xmlWorkbook->sheets->sheet as $eleSheet) {
$tmpInfo = [
'worksheetName' => (string) self::getAttributes($eleSheet)['name'],
'lastColumnLetter' => 'A',
'lastColumnIndex' => 0,
'totalRows' => 0,
'totalColumns' => 0,
];
$fileWorksheet = (string) $worksheets[(string) self::getArrayItem(self::getAttributes($eleSheet, $namespace), 'id')];
$fileWorksheetPath = strpos($fileWorksheet, '/') === 0 ? substr($fileWorksheet, 1) : "$dir/$fileWorksheet";
$xml = new XMLReader();
$xml->xml(
$this->getSecurityScannerOrThrow()->scan(
$this->getFromZipArchive($this->zip, $fileWorksheetPath)
),
null,
Settings::getLibXmlLoaderOptions()
);
$xml->setParserProperty(2, true);
$currCells = 0;
while ($xml->read()) {
if ($xml->localName == 'row' && $xml->nodeType == XMLReader::ELEMENT && $xml->namespaceURI === $mainNS) {
$row = $xml->getAttribute('r');
$tmpInfo['totalRows'] = $row;
$tmpInfo['totalColumns'] = max($tmpInfo['totalColumns'], $currCells);
$currCells = 0;
} elseif ($xml->localName == 'c' && $xml->nodeType == XMLReader::ELEMENT && $xml->namespaceURI === $mainNS) {
$cell = $xml->getAttribute('r');
$currCells = $cell ? max($currCells, Coordinate::indexesFromString($cell)[0]) : ($currCells + 1);
}
}
$tmpInfo['totalColumns'] = max($tmpInfo['totalColumns'], $currCells);
$xml->close();
$tmpInfo['lastColumnIndex'] = $tmpInfo['totalColumns'] - 1;
$tmpInfo['lastColumnLetter'] = Coordinate::stringFromColumnIndex($tmpInfo['lastColumnIndex'] + 1);
$worksheetInfo[] = $tmpInfo;
}
}
}
}
$zip->close();
return $worksheetInfo;
}
private static function castToBoolean(SimpleXMLElement $c): bool
{
$value = isset($c->v) ? (string) $c->v : null;
if ($value == '0') {
return false;
} elseif ($value == '1') {
return true;
}
return (bool) $c->v;
}
private static function castToError(?SimpleXMLElement $c): ?string
{
return isset($c, $c->v) ? (string) $c->v : null;
}
private static function castToString(?SimpleXMLElement $c): ?string
{
return isset($c, $c->v) ? (string) $c->v : null;
}
/**
* @param mixed $value
* @param mixed $calculatedValue
*/
private function castToFormula(?SimpleXMLElement $c, string $r, string &$cellDataType, &$value, &$calculatedValue, string $castBaseType, bool $updateSharedCells = true): void
{
if ($c === null) {
return;
}
$attr = $c->f->attributes();
$cellDataType = DataType::TYPE_FORMULA;
$value = "={$c->f}";
$calculatedValue = self::$castBaseType($c);
// Shared formula?
if (isset($attr['t']) && strtolower((string) $attr['t']) == 'shared') {
$instance = (string) $attr['si'];
if (!isset($this->sharedFormulae[(string) $attr['si']])) {
$this->sharedFormulae[$instance] = new SharedFormula($r, $value);
} elseif ($updateSharedCells === true) {
// It's only worth the overhead of adjusting the shared formula for this cell if we're actually loading
// the cell, which may not be the case if we're using a read filter.
$master = Coordinate::indexesFromString($this->sharedFormulae[$instance]->master());
$current = Coordinate::indexesFromString($r);
$difference = [0, 0];
$difference[0] = $current[0] - $master[0];
$difference[1] = $current[1] - $master[1];
$value = $this->referenceHelper->updateFormulaReferences($this->sharedFormulae[$instance]->formula(), 'A1', $difference[0], $difference[1]);
}
}
}
/**
* @param string $fileName
*/
private function fileExistsInArchive(ZipArchive $archive, $fileName = ''): bool
{
// Root-relative paths
if (strpos($fileName, '//') !== false) {
$fileName = substr($fileName, strpos($fileName, '//') + 1);
}
$fileName = File::realpath($fileName);
// Sadly, some 3rd party xlsx generators don't use consistent case for filenaming
// so we need to load case-insensitively from the zip file
// Apache POI fixes
$contents = $archive->locateName($fileName, ZipArchive::FL_NOCASE);
if ($contents === false) {
$contents = $archive->locateName(substr($fileName, 1), ZipArchive::FL_NOCASE);
}
return $contents !== false;
}
/**
* @param string $fileName
*
* @return string
*/
private function getFromZipArchive(ZipArchive $archive, $fileName = '')
{
// Root-relative paths
if (strpos($fileName, '//') !== false) {
$fileName = substr($fileName, strpos($fileName, '//') + 1);
}
// Relative paths generated by dirname($filename) when $filename
// has no path (i.e.files in root of the zip archive)
$fileName = (string) preg_replace('/^\.\//', '', $fileName);
$fileName = File::realpath($fileName);
// Sadly, some 3rd party xlsx generators don't use consistent case for filenaming
// so we need to load case-insensitively from the zip file
$contents = $archive->getFromName($fileName, 0, ZipArchive::FL_NOCASE);
// Apache POI fixes
if ($contents === false) {
$contents = $archive->getFromName(substr($fileName, 1), 0, ZipArchive::FL_NOCASE);
}
// Has the file been saved with Windoze directory separators rather than unix?
if ($contents === false) {
$contents = $archive->getFromName(str_replace('/', '\\', $fileName), 0, ZipArchive::FL_NOCASE);
}
return ($contents === false) ? '' : $contents;
}
/**
* Loads Spreadsheet from file.
*/
protected function loadSpreadsheetFromFile(string $filename): Spreadsheet
{
File::assertFile($filename, self::INITIAL_FILE);
// Initialisations
$excel = new Spreadsheet();
$excel->removeSheetByIndex(0);
$addingFirstCellStyleXf = true;
$addingFirstCellXf = true;
$unparsedLoadedData = [];
$this->zip = $zip = new ZipArchive();
$zip->open($filename);
// Read the theme first, because we need the colour scheme when reading the styles
[$workbookBasename, $xmlNamespaceBase] = $this->getWorkbookBaseName();
$drawingNS = self::REL_TO_DRAWING[$xmlNamespaceBase] ?? Namespaces::DRAWINGML;
$chartNS = self::REL_TO_CHART[$xmlNamespaceBase] ?? Namespaces::CHART;
$wbRels = $this->loadZip("xl/_rels/{$workbookBasename}.rels", Namespaces::RELATIONSHIPS);
$theme = null;
$this->styleReader = new Styles();
foreach ($wbRels->Relationship as $relx) {
$rel = self::getAttributes($relx);
$relTarget = (string) $rel['Target'];
if (substr($relTarget, 0, 4) === '/xl/') {
$relTarget = substr($relTarget, 4);
}
switch ($rel['Type']) {
case "$xmlNamespaceBase/theme":
$themeOrderArray = ['lt1', 'dk1', 'lt2', 'dk2'];
$themeOrderAdditional = count($themeOrderArray);
$xmlTheme = $this->loadZip("xl/{$relTarget}", $drawingNS);
$xmlThemeName = self::getAttributes($xmlTheme);
$xmlTheme = $xmlTheme->children($drawingNS);
$themeName = (string) $xmlThemeName['name'];
$colourScheme = self::getAttributes($xmlTheme->themeElements->clrScheme);
$colourSchemeName = (string) $colourScheme['name'];
$excel->getTheme()->setThemeColorName($colourSchemeName);
$colourScheme = $xmlTheme->themeElements->clrScheme->children($drawingNS);
$themeColours = [];
foreach ($colourScheme as $k => $xmlColour) {
$themePos = array_search($k, $themeOrderArray);
if ($themePos === false) {
$themePos = $themeOrderAdditional++;
}
if (isset($xmlColour->sysClr)) {
$xmlColourData = self::getAttributes($xmlColour->sysClr);
$themeColours[$themePos] = (string) $xmlColourData['lastClr'];
$excel->getTheme()->setThemeColor($k, (string) $xmlColourData['lastClr']);
} elseif (isset($xmlColour->srgbClr)) {
$xmlColourData = self::getAttributes($xmlColour->srgbClr);
$themeColours[$themePos] = (string) $xmlColourData['val'];
$excel->getTheme()->setThemeColor($k, (string) $xmlColourData['val']);
}
}
$theme = new Theme($themeName, $colourSchemeName, $themeColours);
$this->styleReader->setTheme($theme);
$fontScheme = self::getAttributes($xmlTheme->themeElements->fontScheme);
$fontSchemeName = (string) $fontScheme['name'];
$excel->getTheme()->setThemeFontName($fontSchemeName);
$majorFonts = [];
$minorFonts = [];
$fontScheme = $xmlTheme->themeElements->fontScheme->children($drawingNS);
$majorLatin = self::getAttributes($fontScheme->majorFont->latin)['typeface'] ?? '';
$majorEastAsian = self::getAttributes($fontScheme->majorFont->ea)['typeface'] ?? '';
$majorComplexScript = self::getAttributes($fontScheme->majorFont->cs)['typeface'] ?? '';
$minorLatin = self::getAttributes($fontScheme->minorFont->latin)['typeface'] ?? '';
$minorEastAsian = self::getAttributes($fontScheme->minorFont->ea)['typeface'] ?? '';
$minorComplexScript = self::getAttributes($fontScheme->minorFont->cs)['typeface'] ?? '';
foreach ($fontScheme->majorFont->font as $xmlFont) {
$fontAttributes = self::getAttributes($xmlFont);
$script = (string) ($fontAttributes['script'] ?? '');
if (!empty($script)) {
$majorFonts[$script] = (string) ($fontAttributes['typeface'] ?? '');
}
}
foreach ($fontScheme->minorFont->font as $xmlFont) {
$fontAttributes = self::getAttributes($xmlFont);
$script = (string) ($fontAttributes['script'] ?? '');
if (!empty($script)) {
$minorFonts[$script] = (string) ($fontAttributes['typeface'] ?? '');
}
}
$excel->getTheme()->setMajorFontValues($majorLatin, $majorEastAsian, $majorComplexScript, $majorFonts);
$excel->getTheme()->setMinorFontValues($minorLatin, $minorEastAsian, $minorComplexScript, $minorFonts);
break;
}
}
$rels = $this->loadZip(self::INITIAL_FILE, Namespaces::RELATIONSHIPS);
$propertyReader = new PropertyReader($this->getSecurityScannerOrThrow(), $excel->getProperties());
$chartDetails = [];
foreach ($rels->Relationship as $relx) {
$rel = self::getAttributes($relx);
$relTarget = (string) $rel['Target'];
// issue 3553
if ($relTarget[0] === '/') {
$relTarget = substr($relTarget, 1);
}
$relType = (string) $rel['Type'];
$mainNS = self::REL_TO_MAIN[$relType] ?? Namespaces::MAIN;
switch ($relType) {
case Namespaces::CORE_PROPERTIES:
$propertyReader->readCoreProperties($this->getFromZipArchive($zip, $relTarget));
break;
case "$xmlNamespaceBase/extended-properties":
$propertyReader->readExtendedProperties($this->getFromZipArchive($zip, $relTarget));
break;
case "$xmlNamespaceBase/custom-properties":
$propertyReader->readCustomProperties($this->getFromZipArchive($zip, $relTarget));
break;
//Ribbon
case Namespaces::EXTENSIBILITY:
$customUI = $relTarget;
if ($customUI) {
$this->readRibbon($excel, $customUI, $zip);
}
break;
case "$xmlNamespaceBase/officeDocument":
$dir = dirname($relTarget);
// Do not specify namespace in next stmt - do it in Xpath
$relsWorkbook = $this->loadZip("$dir/_rels/" . basename($relTarget) . '.rels', '');
$relsWorkbook->registerXPathNamespace('rel', Namespaces::RELATIONSHIPS);
$worksheets = [];
$macros = $customUI = null;
foreach ($relsWorkbook->Relationship as $elex) {
$ele = self::getAttributes($elex);
switch ($ele['Type']) {
case Namespaces::WORKSHEET:
case Namespaces::PURL_WORKSHEET:
$worksheets[(string) $ele['Id']] = $ele['Target'];
break;
case Namespaces::CHARTSHEET:
if ($this->includeCharts === true) {
$worksheets[(string) $ele['Id']] = $ele['Target'];
}
break;
// a vbaProject ? (: some macros)
case Namespaces::VBA:
$macros = $ele['Target'];
break;
}
}
if ($macros !== null) {
$macrosCode = $this->getFromZipArchive($zip, 'xl/vbaProject.bin'); //vbaProject.bin always in 'xl' dir and always named vbaProject.bin
if ($macrosCode !== false) {
$excel->setMacrosCode($macrosCode);
$excel->setHasMacros(true);
//short-circuit : not reading vbaProject.bin.rel to get Signature =>allways vbaProjectSignature.bin in 'xl' dir
$Certificate = $this->getFromZipArchive($zip, 'xl/vbaProjectSignature.bin');
if ($Certificate !== false) {
$excel->setMacrosCertificate($Certificate);
}
}
}
$relType = "rel:Relationship[@Type='"
. "$xmlNamespaceBase/styles"
. "']";
$xpath = self::getArrayItem(self::xpathNoFalse($relsWorkbook, $relType));
if ($xpath === null) {
$xmlStyles = self::testSimpleXml(null);
} else {
$xmlStyles = $this->loadZip("$dir/$xpath[Target]", $mainNS);
}
$palette = self::extractPalette($xmlStyles);
$this->styleReader->setWorkbookPalette($palette);
$fills = self::extractStyles($xmlStyles, 'fills', 'fill');
$fonts = self::extractStyles($xmlStyles, 'fonts', 'font');
$borders = self::extractStyles($xmlStyles, 'borders', 'border');
$xfTags = self::extractStyles($xmlStyles, 'cellXfs', 'xf');
$cellXfTags = self::extractStyles($xmlStyles, 'cellStyleXfs', 'xf');
$styles = [];
$cellStyles = [];
$numFmts = null;
if (/*$xmlStyles && */ $xmlStyles->numFmts[0]) {
$numFmts = $xmlStyles->numFmts[0];
}
if (isset($numFmts) && ($numFmts !== null)) {
$numFmts->registerXPathNamespace('sml', $mainNS);
}
$this->styleReader->setNamespace($mainNS);
if (!$this->readDataOnly/* && $xmlStyles*/) {
foreach ($xfTags as $xfTag) {
$xf = self::getAttributes($xfTag);
$numFmt = null;
if ($xf['numFmtId']) {
if (isset($numFmts)) {
$tmpNumFmt = self::getArrayItem($numFmts->xpath("sml:numFmt[@numFmtId=$xf[numFmtId]]"));
if (isset($tmpNumFmt['formatCode'])) {
$numFmt = (string) $tmpNumFmt['formatCode'];
}
}
// We shouldn't override any of the built-in MS Excel values (values below id 164)
// But there's a lot of naughty homebrew xlsx writers that do use "reserved" id values that aren't actually used
// So we make allowance for them rather than lose formatting masks
if (
$numFmt === null &&
(int) $xf['numFmtId'] < 164 &&
NumberFormat::builtInFormatCode((int) $xf['numFmtId']) !== ''
) {
$numFmt = NumberFormat::builtInFormatCode((int) $xf['numFmtId']);
}
}
$quotePrefix = (bool) (string) ($xf['quotePrefix'] ?? '');
$style = (object) [
'numFmt' => $numFmt ?? NumberFormat::FORMAT_GENERAL,
'font' => $fonts[(int) ($xf['fontId'])],
'fill' => $fills[(int) ($xf['fillId'])],
'border' => $borders[(int) ($xf['borderId'])],
'alignment' => $xfTag->alignment,
'protection' => $xfTag->protection,
'quotePrefix' => $quotePrefix,
];
$styles[] = $style;
// add style to cellXf collection
$objStyle = new Style();
$this->styleReader->readStyle($objStyle, $style);
if ($addingFirstCellXf) {
$excel->removeCellXfByIndex(0); // remove the default style
$addingFirstCellXf = false;
}
$excel->addCellXf($objStyle);
}
foreach ($cellXfTags as $xfTag) {
$xf = self::getAttributes($xfTag);
$numFmt = NumberFormat::FORMAT_GENERAL;
if ($numFmts && $xf['numFmtId']) {
$tmpNumFmt = self::getArrayItem($numFmts->xpath("sml:numFmt[@numFmtId=$xf[numFmtId]]"));
if (isset($tmpNumFmt['formatCode'])) {
$numFmt = (string) $tmpNumFmt['formatCode'];
} elseif ((int) $xf['numFmtId'] < 165) {
$numFmt = NumberFormat::builtInFormatCode((int) $xf['numFmtId']);
}
}
$quotePrefix = (bool) (string) ($xf['quotePrefix'] ?? '');
$cellStyle = (object) [
'numFmt' => $numFmt,
'font' => $fonts[(int) ($xf['fontId'])],
'fill' => $fills[((int) $xf['fillId'])],
'border' => $borders[(int) ($xf['borderId'])],
'alignment' => $xfTag->alignment,
'protection' => $xfTag->protection,
'quotePrefix' => $quotePrefix,
];
$cellStyles[] = $cellStyle;
// add style to cellStyleXf collection
$objStyle = new Style();
$this->styleReader->readStyle($objStyle, $cellStyle);
if ($addingFirstCellStyleXf) {
$excel->removeCellStyleXfByIndex(0); // remove the default style
$addingFirstCellStyleXf = false;
}
$excel->addCellStyleXf($objStyle);
}
}
$this->styleReader->setStyleXml($xmlStyles);
$this->styleReader->setNamespace($mainNS);
$this->styleReader->setStyleBaseData($theme, $styles, $cellStyles);
$dxfs = $this->styleReader->dxfs($this->readDataOnly);
$styles = $this->styleReader->styles();
// Read content after setting the styles
$sharedStrings = [];
$relType = "rel:Relationship[@Type='"
//. Namespaces::SHARED_STRINGS
. "$xmlNamespaceBase/sharedStrings"
. "']";
$xpath = self::getArrayItem($relsWorkbook->xpath($relType));
if ($xpath) {
$xmlStrings = $this->loadZip("$dir/$xpath[Target]", $mainNS);
if (isset($xmlStrings->si)) {
foreach ($xmlStrings->si as $val) {
if (isset($val->t)) {
$sharedStrings[] = StringHelper::controlCharacterOOXML2PHP((string) $val->t);
} elseif (isset($val->r)) {
$sharedStrings[] = $this->parseRichText($val);
}
}
}
}
$xmlWorkbook = $this->loadZipNoNamespace($relTarget, $mainNS);
$xmlWorkbookNS = $this->loadZip($relTarget, $mainNS);
// Set base date
if ($xmlWorkbookNS->workbookPr) {
Date::setExcelCalendar(Date::CALENDAR_WINDOWS_1900);
$attrs1904 = self::getAttributes($xmlWorkbookNS->workbookPr);
if (isset($attrs1904['date1904'])) {
if (self::boolean((string) $attrs1904['date1904'])) {
Date::setExcelCalendar(Date::CALENDAR_MAC_1904);
}
}
}
// Set protection
$this->readProtection($excel, $xmlWorkbook);
$sheetId = 0; // keep track of new sheet id in final workbook
$oldSheetId = -1; // keep track of old sheet id in final workbook
$countSkippedSheets = 0; // keep track of number of skipped sheets
$mapSheetId = []; // mapping of sheet ids from old to new
$charts = $chartDetails = [];
if ($xmlWorkbookNS->sheets) {
/** @var SimpleXMLElement $eleSheet */
foreach ($xmlWorkbookNS->sheets->sheet as $eleSheet) {
$eleSheetAttr = self::getAttributes($eleSheet);
++$oldSheetId;
// Check if sheet should be skipped
if (is_array($this->loadSheetsOnly) && !in_array((string) $eleSheetAttr['name'], $this->loadSheetsOnly)) {
++$countSkippedSheets;
$mapSheetId[$oldSheetId] = null;
continue;
}
$sheetReferenceId = (string) self::getArrayItem(self::getAttributes($eleSheet, $xmlNamespaceBase), 'id');
if (isset($worksheets[$sheetReferenceId]) === false) {
++$countSkippedSheets;
$mapSheetId[$oldSheetId] = null;
continue;
}
// Map old sheet id in original workbook to new sheet id.
// They will differ if loadSheetsOnly() is being used
$mapSheetId[$oldSheetId] = $oldSheetId - $countSkippedSheets;
// Load sheet
$docSheet = $excel->createSheet();
// Use false for $updateFormulaCellReferences to prevent adjustment of worksheet
// references in formula cells... during the load, all formulae should be correct,
// and we're simply bringing the worksheet name in line with the formula, not the
// reverse
$docSheet->setTitle((string) $eleSheetAttr['name'], false, false);
$fileWorksheet = (string) $worksheets[$sheetReferenceId];
$xmlSheet = $this->loadZipNoNamespace("$dir/$fileWorksheet", $mainNS);
$xmlSheetNS = $this->loadZip("$dir/$fileWorksheet", $mainNS);
// Shared Formula table is unique to each Worksheet, so we need to reset it here
$this->sharedFormulae = [];
if (isset($eleSheetAttr['state']) && (string) $eleSheetAttr['state'] != '') {
$docSheet->setSheetState((string) $eleSheetAttr['state']);
}
if ($xmlSheetNS) {
$xmlSheetMain = $xmlSheetNS->children($mainNS);
// Setting Conditional Styles adjusts selected cells, so we need to execute this
// before reading the sheet view data to get the actual selected cells
if (!$this->readDataOnly && ($xmlSheet->conditionalFormatting)) {
(new ConditionalStyles($docSheet, $xmlSheet, $dxfs))->load();
}
if (!$this->readDataOnly && $xmlSheet->extLst) {
(new ConditionalStyles($docSheet, $xmlSheet, $dxfs))->loadFromExt($this->styleReader);
}
if (isset($xmlSheetMain->sheetViews, $xmlSheetMain->sheetViews->sheetView)) {
$sheetViews = new SheetViews($xmlSheetMain->sheetViews->sheetView, $docSheet);
$sheetViews->load();
}
$sheetViewOptions = new SheetViewOptions($docSheet, $xmlSheetNS);
$sheetViewOptions->load($this->getReadDataOnly(), $this->styleReader);
(new ColumnAndRowAttributes($docSheet, $xmlSheetNS))
->load($this->getReadFilter(), $this->getReadDataOnly());
}
if ($xmlSheetNS && $xmlSheetNS->sheetData && $xmlSheetNS->sheetData->row) {
$cIndex = 1; // Cell Start from 1
foreach ($xmlSheetNS->sheetData->row as $row) {
$rowIndex = 1;
foreach ($row->c as $c) {
$cAttr = self::getAttributes($c);
$r = (string) $cAttr['r'];
if ($r == '') {
$r = Coordinate::stringFromColumnIndex($rowIndex) . $cIndex;
}
$cellDataType = (string) $cAttr['t'];
$value = null;
$calculatedValue = null;
// Read cell?
if ($this->getReadFilter() !== null) {
$coordinates = Coordinate::coordinateFromString($r);
if (!$this->getReadFilter()->readCell($coordinates[0], (int) $coordinates[1], $docSheet->getTitle())) {
// Normally, just testing for the f attribute should identify this cell as containing a formula
// that we need to read, even though it is outside of the filter range, in case it is a shared formula.
// But in some cases, this attribute isn't set; so we need to delve a level deeper and look at
// whether or not the cell has a child formula element that is shared.
if (isset($cAttr->f) || (isset($c->f, $c->f->attributes()['t']) && strtolower((string) $c->f->attributes()['t']) === 'shared')) {
$this->castToFormula($c, $r, $cellDataType, $value, $calculatedValue, 'castToError', false);
}
++$rowIndex;
continue;
}
}
// Read cell!
switch ($cellDataType) {
case 's':
if ((string) $c->v != '') {
$value = $sharedStrings[(int) ($c->v)];
if ($value instanceof RichText) {
$value = clone $value;
}
} else {
$value = '';
}
break;
case 'b':
if (!isset($c->f)) {
if (isset($c->v)) {
$value = self::castToBoolean($c);
} else {
$value = null;
$cellDataType = DATATYPE::TYPE_NULL;
}
} else {
// Formula
$this->castToFormula($c, $r, $cellDataType, $value, $calculatedValue, 'castToBoolean');
if (isset($c->f['t'])) {
$att = $c->f;
$docSheet->getCell($r)->setFormulaAttributes($att);
}
}
break;
case 'inlineStr':
if (isset($c->f)) {
$this->castToFormula($c, $r, $cellDataType, $value, $calculatedValue, 'castToError');
} else {
$value = $this->parseRichText($c->is);
}
break;
case 'e':
if (!isset($c->f)) {
$value = self::castToError($c);
} else {
// Formula
$this->castToFormula($c, $r, $cellDataType, $value, $calculatedValue, 'castToError');
}
break;
default:
if (!isset($c->f)) {
$value = self::castToString($c);
} else {
// Formula
$this->castToFormula($c, $r, $cellDataType, $value, $calculatedValue, 'castToString');
if (isset($c->f['t'])) {
$attributes = $c->f['t'];
$docSheet->getCell($r)->setFormulaAttributes(['t' => (string) $attributes]);
}
}
break;
}
// read empty cells or the cells are not empty
if ($this->readEmptyCells || ($value !== null && $value !== '')) {
// Rich text?
if ($value instanceof RichText && $this->readDataOnly) {
$value = $value->getPlainText();
}
$cell = $docSheet->getCell($r);
// Assign value
if ($cellDataType != '') {
// it is possible, that datatype is numeric but with an empty string, which result in an error
if ($cellDataType === DataType::TYPE_NUMERIC && ($value === '' || $value === null)) {
$cellDataType = DataType::TYPE_NULL;
}
if ($cellDataType !== DataType::TYPE_NULL) {
$cell->setValueExplicit($value, $cellDataType);
}
} else {
$cell->setValue($value);
}
if ($calculatedValue !== null) {
$cell->setCalculatedValue($calculatedValue);
}
// Style information?
if ($cAttr['s'] && !$this->readDataOnly) {
// no style index means 0, it seems
$cell->setXfIndex(isset($styles[(int) ($cAttr['s'])]) ?
(int) ($cAttr['s']) : 0);
// issue 3495
if ($cell->getDataType() === DataType::TYPE_FORMULA) {
$cell->getStyle()->setQuotePrefix(false);
}
}
}
++$rowIndex;
}
++$cIndex;
}
}
if ($xmlSheetNS && $xmlSheetNS->ignoredErrors) {
foreach ($xmlSheetNS->ignoredErrors->ignoredError as $ignoredErrorx) {
$ignoredError = self::testSimpleXml($ignoredErrorx);
$this->processIgnoredErrors($ignoredError, $docSheet);
}
}
if (!$this->readDataOnly && $xmlSheetNS && $xmlSheetNS->sheetProtection) {
$protAttr = $xmlSheetNS->sheetProtection->attributes() ?? [];
foreach ($protAttr as $key => $value) {
$method = 'set' . ucfirst($key);
$docSheet->getProtection()->$method(self::boolean((string) $value));
}
}
if ($xmlSheet) {
$this->readSheetProtection($docSheet, $xmlSheet);
}
if ($this->readDataOnly === false) {
$this->readAutoFilter($xmlSheet, $docSheet);
$this->readTables($xmlSheet, $docSheet, $dir, $fileWorksheet, $zip);
}
if ($xmlSheetNS && $xmlSheetNS->mergeCells && $xmlSheetNS->mergeCells->mergeCell && !$this->readDataOnly) {
foreach ($xmlSheetNS->mergeCells->mergeCell as $mergeCellx) {
/** @scrutinizer ignore-call */
$mergeCell = $mergeCellx->attributes();
$mergeRef = (string) ($mergeCell['ref'] ?? '');
if (strpos($mergeRef, ':') !== false) {
$docSheet->mergeCells($mergeRef, Worksheet::MERGE_CELL_CONTENT_HIDE);
}
}
}
if ($xmlSheet && !$this->readDataOnly) {
$unparsedLoadedData = (new PageSetup($docSheet, $xmlSheet))->load($unparsedLoadedData);
}
if ($xmlSheet !== false && isset($xmlSheet->extLst, $xmlSheet->extLst->ext, $xmlSheet->extLst->ext['uri']) && ($xmlSheet->extLst->ext['uri'] == '{CCE6A557-97BC-4b89-ADB6-D9C93CAAB3DF}')) {
// Create dataValidations node if does not exists, maybe is better inside the foreach ?
if (!$xmlSheet->dataValidations) {
$xmlSheet->addChild('dataValidations');
}
foreach ($xmlSheet->extLst->ext->children(Namespaces::DATA_VALIDATIONS1)->dataValidations->dataValidation as $item) {
$item = self::testSimpleXml($item);
$node = self::testSimpleXml($xmlSheet->dataValidations)->addChild('dataValidation');
foreach ($item->attributes() ?? [] as $attr) {
$node->addAttribute($attr->getName(), $attr);
}
$node->addAttribute('sqref', $item->children(Namespaces::DATA_VALIDATIONS2)->sqref);
if (isset($item->formula1)) {
$childNode = $node->addChild('formula1');
if ($childNode !== null) { // null should never happen
$childNode[0] = (string) $item->formula1->children(Namespaces::DATA_VALIDATIONS2)->f; // @phpstan-ignore-line
}
}
}
}
if ($xmlSheet && $xmlSheet->dataValidations && !$this->readDataOnly) {
(new DataValidations($docSheet, $xmlSheet))->load();
}
// unparsed sheet AlternateContent
if ($xmlSheet && !$this->readDataOnly) {
$mc = $xmlSheet->children(Namespaces::COMPATIBILITY);
if ($mc->AlternateContent) {
foreach ($mc->AlternateContent as $alternateContent) {
$alternateContent = self::testSimpleXml($alternateContent);
$unparsedLoadedData['sheets'][$docSheet->getCodeName()]['AlternateContents'][] = $alternateContent->asXML();
}
}
}
// Add hyperlinks
if (!$this->readDataOnly) {
$hyperlinkReader = new Hyperlinks($docSheet);
// Locate hyperlink relations
$relationsFileName = dirname("$dir/$fileWorksheet") . '/_rels/' . basename($fileWorksheet) . '.rels';
if ($zip->locateName($relationsFileName)) {
$relsWorksheet = $this->loadZip($relationsFileName, Namespaces::RELATIONSHIPS);
$hyperlinkReader->readHyperlinks($relsWorksheet);
}
// Loop through hyperlinks
if ($xmlSheetNS && $xmlSheetNS->children($mainNS)->hyperlinks) {
$hyperlinkReader->setHyperlinks($xmlSheetNS->children($mainNS)->hyperlinks);
}
}
// Add comments
$comments = [];
$vmlComments = [];
if (!$this->readDataOnly) {
// Locate comment relations
$commentRelations = dirname("$dir/$fileWorksheet") . '/_rels/' . basename($fileWorksheet) . '.rels';
if ($zip->locateName($commentRelations)) {
$relsWorksheet = $this->loadZip($commentRelations, Namespaces::RELATIONSHIPS);
foreach ($relsWorksheet->Relationship as $elex) {
$ele = self::getAttributes($elex);
if ($ele['Type'] == Namespaces::COMMENTS) {
$comments[(string) $ele['Id']] = (string) $ele['Target'];
}
if ($ele['Type'] == Namespaces::VML) {
$vmlComments[(string) $ele['Id']] = (string) $ele['Target'];
}
}
}
// Loop through comments
foreach ($comments as $relName => $relPath) {
// Load comments file
$relPath = File::realpath(dirname("$dir/$fileWorksheet") . '/' . $relPath);
// okay to ignore namespace - using xpath
$commentsFile = $this->loadZip($relPath, '');
// Utility variables
$authors = [];
$commentsFile->registerXpathNamespace('com', $mainNS);
$authorPath = self::xpathNoFalse($commentsFile, 'com:authors/com:author');
foreach ($authorPath as $author) {
$authors[] = (string) $author;
}
// Loop through contents
$contentPath = self::xpathNoFalse($commentsFile, 'com:commentList/com:comment');
foreach ($contentPath as $comment) {
$commentx = $comment->attributes();
$commentModel = $docSheet->getComment((string) $commentx['ref']);
if (isset($commentx['authorId'])) {
$commentModel->setAuthor($authors[(int) $commentx['authorId']]);
}
$commentModel->setText($this->parseRichText($comment->children($mainNS)->text));
}
}
// later we will remove from it real vmlComments
$unparsedVmlDrawings = $vmlComments;
$vmlDrawingContents = [];
// Loop through VML comments
foreach ($vmlComments as $relName => $relPath) {
// Load VML comments file
$relPath = File::realpath(dirname("$dir/$fileWorksheet") . '/' . $relPath);
try {
// no namespace okay - processed with Xpath
$vmlCommentsFile = $this->loadZip($relPath, '', true);
$vmlCommentsFile->registerXPathNamespace('v', Namespaces::URN_VML);
} catch (Throwable $ex) {
//Ignore unparsable vmlDrawings. Later they will be moved from $unparsedVmlDrawings to $unparsedLoadedData
continue;
}
// Locate VML drawings image relations
$drowingImages = [];
$VMLDrawingsRelations = dirname($relPath) . '/_rels/' . basename($relPath) . '.rels';
$vmlDrawingContents[$relName] = $this->getSecurityScannerOrThrow()->scan($this->getFromZipArchive($zip, $relPath));
if ($zip->locateName($VMLDrawingsRelations)) {
$relsVMLDrawing = $this->loadZip($VMLDrawingsRelations, Namespaces::RELATIONSHIPS);
foreach ($relsVMLDrawing->Relationship as $elex) {
$ele = self::getAttributes($elex);
if ($ele['Type'] == Namespaces::IMAGE) {
$drowingImages[(string) $ele['Id']] = (string) $ele['Target'];
}
}
}
$shapes = self::xpathNoFalse($vmlCommentsFile, '//v:shape');
foreach ($shapes as $shape) {
$shape->registerXPathNamespace('v', Namespaces::URN_VML);
if (isset($shape['style'])) {
$style = (string) $shape['style'];
$fillColor = strtoupper(substr((string) $shape['fillcolor'], 1));
$column = null;
$row = null;
$fillImageRelId = null;
$fillImageTitle = '';
$clientData = $shape->xpath('.//x:ClientData');
if (is_array($clientData) && !empty($clientData)) {
$clientData = $clientData[0];
if (isset($clientData['ObjectType']) && (string) $clientData['ObjectType'] == 'Note') {
$temp = $clientData->xpath('.//x:Row');
if (is_array($temp)) {
$row = $temp[0];
}
$temp = $clientData->xpath('.//x:Column');
if (is_array($temp)) {
$column = $temp[0];
}
}
}
$fillImageRelNode = $shape->xpath('.//v:fill/@o:relid');
if (is_array($fillImageRelNode) && !empty($fillImageRelNode)) {
$fillImageRelNode = $fillImageRelNode[0];
if (isset($fillImageRelNode['relid'])) {
$fillImageRelId = (string) $fillImageRelNode['relid'];
}
}
$fillImageTitleNode = $shape->xpath('.//v:fill/@o:title');
if (is_array($fillImageTitleNode) && !empty($fillImageTitleNode)) {
$fillImageTitleNode = $fillImageTitleNode[0];
if (isset($fillImageTitleNode['title'])) {
$fillImageTitle = (string) $fillImageTitleNode['title'];
}
}
if (($column !== null) && ($row !== null)) {
// Set comment properties
$comment = $docSheet->getComment([$column + 1, $row + 1]);
$comment->getFillColor()->setRGB($fillColor);
if (isset($drowingImages[$fillImageRelId])) {
$objDrawing = new \PhpOffice\PhpSpreadsheet\Worksheet\Drawing();
$objDrawing->setName($fillImageTitle);
$imagePath = str_replace('../', 'xl/', $drowingImages[$fillImageRelId]);
$objDrawing->setPath(
'zip://' . File::realpath($filename) . '#' . $imagePath,
true,
$zip
);
$comment->setBackgroundImage($objDrawing);
}
// Parse style
$styleArray = explode(';', str_replace(' ', '', $style));
foreach ($styleArray as $stylePair) {
$stylePair = explode(':', $stylePair);
if ($stylePair[0] == 'margin-left') {
$comment->setMarginLeft($stylePair[1]);
}
if ($stylePair[0] == 'margin-top') {
$comment->setMarginTop($stylePair[1]);
}
if ($stylePair[0] == 'width') {
$comment->setWidth($stylePair[1]);
}
if ($stylePair[0] == 'height') {
$comment->setHeight($stylePair[1]);
}
if ($stylePair[0] == 'visibility') {
$comment->setVisible($stylePair[1] == 'visible');
}
}
unset($unparsedVmlDrawings[$relName]);
}
}
}
}
// unparsed vmlDrawing
if ($unparsedVmlDrawings) {
foreach ($unparsedVmlDrawings as $rId => $relPath) {
$rId = substr($rId, 3); // rIdXXX
$unparsedVmlDrawing = &$unparsedLoadedData['sheets'][$docSheet->getCodeName()]['vmlDrawings'];
$unparsedVmlDrawing[$rId] = [];
$unparsedVmlDrawing[$rId]['filePath'] = self::dirAdd("$dir/$fileWorksheet", $relPath);
$unparsedVmlDrawing[$rId]['relFilePath'] = $relPath;
$unparsedVmlDrawing[$rId]['content'] = $this->getSecurityScannerOrThrow()->scan($this->getFromZipArchive($zip, $unparsedVmlDrawing[$rId]['filePath']));
unset($unparsedVmlDrawing);
}
}
// Header/footer images
if ($xmlSheetNS && $xmlSheetNS->legacyDrawingHF) {
$vmlHfRid = '';
$vmlHfRidAttr = $xmlSheetNS->legacyDrawingHF->attributes(Namespaces::SCHEMA_OFFICE_DOCUMENT);
if ($vmlHfRidAttr !== null && isset($vmlHfRidAttr['id'])) {
$vmlHfRid = (string) $vmlHfRidAttr['id'][0];
}
if ($zip->locateName(dirname("$dir/$fileWorksheet") . '/_rels/' . basename($fileWorksheet) . '.rels')) {
$relsWorksheet = $this->loadZipNoNamespace(dirname("$dir/$fileWorksheet") . '/_rels/' . basename($fileWorksheet) . '.rels', Namespaces::RELATIONSHIPS);
$vmlRelationship = '';
foreach ($relsWorksheet->Relationship as $ele) {
if ((string) $ele['Type'] == Namespaces::VML && (string) $ele['Id'] === $vmlHfRid) {
$vmlRelationship = self::dirAdd("$dir/$fileWorksheet", $ele['Target']);
break;
}
}
if ($vmlRelationship != '') {
// Fetch linked images
$relsVML = $this->loadZipNoNamespace(dirname($vmlRelationship) . '/_rels/' . basename($vmlRelationship) . '.rels', Namespaces::RELATIONSHIPS);
$drawings = [];
if (isset($relsVML->Relationship)) {
foreach ($relsVML->Relationship as $ele) {
if ($ele['Type'] == Namespaces::IMAGE) {
$drawings[(string) $ele['Id']] = self::dirAdd($vmlRelationship, $ele['Target']);
}
}
}
// Fetch VML document
$vmlDrawing = $this->loadZipNoNamespace($vmlRelationship, '');
$vmlDrawing->registerXPathNamespace('v', Namespaces::URN_VML);
$hfImages = [];
$shapes = self::xpathNoFalse($vmlDrawing, '//v:shape');
foreach ($shapes as $idx => $shape) {
$shape->registerXPathNamespace('v', Namespaces::URN_VML);
$imageData = $shape->xpath('//v:imagedata');
if (empty($imageData)) {
continue;
}
$imageData = $imageData[$idx];
$imageData = self::getAttributes($imageData, Namespaces::URN_MSOFFICE);
$style = self::toCSSArray((string) $shape['style']);
if (array_key_exists((string) $imageData['relid'], $drawings)) {
$shapeId = (string) $shape['id'];
$hfImages[$shapeId] = new HeaderFooterDrawing();
if (isset($imageData['title'])) {
$hfImages[$shapeId]->setName((string) $imageData['title']);
}
$hfImages[$shapeId]->setPath('zip://' . File::realpath($filename) . '#' . $drawings[(string) $imageData['relid']], false);
$hfImages[$shapeId]->setResizeProportional(false);
$hfImages[$shapeId]->setWidth($style['width']);
$hfImages[$shapeId]->setHeight($style['height']);
if (isset($style['margin-left'])) {
$hfImages[$shapeId]->setOffsetX($style['margin-left']);
}
$hfImages[$shapeId]->setOffsetY($style['margin-top']);
$hfImages[$shapeId]->setResizeProportional(true);
}
}
$docSheet->getHeaderFooter()->setImages($hfImages);
}
}
}
}
// TODO: Autoshapes from twoCellAnchors!
$drawingFilename = dirname("$dir/$fileWorksheet")
. '/_rels/'
. basename($fileWorksheet)
. '.rels';
if (substr($drawingFilename, 0, 7) === 'xl//xl/') {
$drawingFilename = substr($drawingFilename, 4);
}
if (substr($drawingFilename, 0, 8) === '/xl//xl/') {
$drawingFilename = substr($drawingFilename, 5);
}
if ($zip->locateName($drawingFilename)) {
$relsWorksheet = $this->loadZipNoNamespace($drawingFilename, Namespaces::RELATIONSHIPS);
$drawings = [];
foreach ($relsWorksheet->Relationship as $ele) {
if ((string) $ele['Type'] === "$xmlNamespaceBase/drawing") {
$eleTarget = (string) $ele['Target'];
if (substr($eleTarget, 0, 4) === '/xl/') {
$drawings[(string) $ele['Id']] = substr($eleTarget, 1);
} else {
$drawings[(string) $ele['Id']] = self::dirAdd("$dir/$fileWorksheet", $ele['Target']);
}
}
}
if ($xmlSheetNS->drawing && !$this->readDataOnly) {
$unparsedDrawings = [];
$fileDrawing = null;
foreach ($xmlSheetNS->drawing as $drawing) {
$drawingRelId = (string) self::getArrayItem(self::getAttributes($drawing, $xmlNamespaceBase), 'id');
$fileDrawing = $drawings[$drawingRelId];
$drawingFilename = dirname($fileDrawing) . '/_rels/' . basename($fileDrawing) . '.rels';
$relsDrawing = $this->loadZipNoNamespace($drawingFilename, $xmlNamespaceBase);
$images = [];
$hyperlinks = [];
if ($relsDrawing && $relsDrawing->Relationship) {
foreach ($relsDrawing->Relationship as $ele) {
$eleType = (string) $ele['Type'];
if ($eleType === Namespaces::HYPERLINK) {
$hyperlinks[(string) $ele['Id']] = (string) $ele['Target'];
}
if ($eleType === "$xmlNamespaceBase/image") {
$eleTarget = (string) $ele['Target'];
if (substr($eleTarget, 0, 4) === '/xl/') {
$eleTarget = substr($eleTarget, 1);
$images[(string) $ele['Id']] = $eleTarget;
} else {
$images[(string) $ele['Id']] = self::dirAdd($fileDrawing, $eleTarget);
}
} elseif ($eleType === "$xmlNamespaceBase/chart") {
if ($this->includeCharts) {
$eleTarget = (string) $ele['Target'];
if (substr($eleTarget, 0, 4) === '/xl/') {
$index = substr($eleTarget, 1);
} else {
$index = self::dirAdd($fileDrawing, $eleTarget);
}
$charts[$index] = [
'id' => (string) $ele['Id'],
'sheet' => $docSheet->getTitle(),
];
}
}
}
}
$xmlDrawing = $this->loadZipNoNamespace($fileDrawing, '');
$xmlDrawingChildren = $xmlDrawing->children(Namespaces::SPREADSHEET_DRAWING);
if ($xmlDrawingChildren->oneCellAnchor) {
foreach ($xmlDrawingChildren->oneCellAnchor as $oneCellAnchor) {
$oneCellAnchor = self::testSimpleXml($oneCellAnchor);
if ($oneCellAnchor->pic->blipFill) {
/** @var SimpleXMLElement $blip */
$blip = $oneCellAnchor->pic->blipFill->children(Namespaces::DRAWINGML)->blip;
/** @var SimpleXMLElement $xfrm */
$xfrm = $oneCellAnchor->pic->spPr->children(Namespaces::DRAWINGML)->xfrm;
/** @var SimpleXMLElement $outerShdw */
$outerShdw = $oneCellAnchor->pic->spPr->children(Namespaces::DRAWINGML)->effectLst->outerShdw;
$objDrawing = new \PhpOffice\PhpSpreadsheet\Worksheet\Drawing();
$objDrawing->setName((string) self::getArrayItem(self::getAttributes($oneCellAnchor->pic->nvPicPr->cNvPr), 'name'));
$objDrawing->setDescription((string) self::getArrayItem(self::getAttributes($oneCellAnchor->pic->nvPicPr->cNvPr), 'descr'));
$embedImageKey = (string) self::getArrayItem(
self::getAttributes($blip, $xmlNamespaceBase),
'embed'
);
if (isset($images[$embedImageKey])) {
$objDrawing->setPath(
'zip://' . File::realpath($filename) . '#' .
$images[$embedImageKey],
false
);
} else {
$linkImageKey = (string) self::getArrayItem(
$blip->attributes('http://schemas.openxmlformats.org/officeDocument/2006/relationships'),
'link'
);
if (isset($images[$linkImageKey])) {
$url = str_replace('xl/drawings/', '', $images[$linkImageKey]);
$objDrawing->setPath($url);
}
}
$objDrawing->setCoordinates(Coordinate::stringFromColumnIndex(((int) $oneCellAnchor->from->col) + 1) . ($oneCellAnchor->from->row + 1));
$objDrawing->setOffsetX((int) Drawing::EMUToPixels($oneCellAnchor->from->colOff));
$objDrawing->setOffsetY(Drawing::EMUToPixels($oneCellAnchor->from->rowOff));
$objDrawing->setResizeProportional(false);
$objDrawing->setWidth(Drawing::EMUToPixels(self::getArrayItem(self::getAttributes($oneCellAnchor->ext), 'cx')));
$objDrawing->setHeight(Drawing::EMUToPixels(self::getArrayItem(self::getAttributes($oneCellAnchor->ext), 'cy')));
if ($xfrm) {
$objDrawing->setRotation((int) Drawing::angleToDegrees(self::getArrayItem(self::getAttributes($xfrm), 'rot')));
}
if ($outerShdw) {
$shadow = $objDrawing->getShadow();
$shadow->setVisible(true);
$shadow->setBlurRadius(Drawing::EMUToPixels(self::getArrayItem(self::getAttributes($outerShdw), 'blurRad')));
$shadow->setDistance(Drawing::EMUToPixels(self::getArrayItem(self::getAttributes($outerShdw), 'dist')));
$shadow->setDirection(Drawing::angleToDegrees(self::getArrayItem(self::getAttributes($outerShdw), 'dir')));
$shadow->setAlignment((string) self::getArrayItem(self::getAttributes($outerShdw), 'algn'));
$clr = $outerShdw->srgbClr ?? $outerShdw->prstClr;
$shadow->getColor()->setRGB(self::getArrayItem(self::getAttributes($clr), 'val'));
$shadow->setAlpha(self::getArrayItem(self::getAttributes($clr->alpha), 'val') / 1000);
}
$this->readHyperLinkDrawing($objDrawing, $oneCellAnchor, $hyperlinks);
$objDrawing->setWorksheet($docSheet);
} elseif ($this->includeCharts && $oneCellAnchor->graphicFrame) {
// Exported XLSX from Google Sheets positions charts with a oneCellAnchor
$coordinates = Coordinate::stringFromColumnIndex(((int) $oneCellAnchor->from->col) + 1) . ($oneCellAnchor->from->row + 1);
$offsetX = Drawing::EMUToPixels($oneCellAnchor->from->colOff);
$offsetY = Drawing::EMUToPixels($oneCellAnchor->from->rowOff);
$width = Drawing::EMUToPixels(self::getArrayItem(self::getAttributes($oneCellAnchor->ext), 'cx'));
$height = Drawing::EMUToPixels(self::getArrayItem(self::getAttributes($oneCellAnchor->ext), 'cy'));
$graphic = $oneCellAnchor->graphicFrame->children(Namespaces::DRAWINGML)->graphic;
/** @var SimpleXMLElement $chartRef */
$chartRef = $graphic->graphicData->children(Namespaces::CHART)->chart;
$thisChart = (string) self::getAttributes($chartRef, $xmlNamespaceBase);
$chartDetails[$docSheet->getTitle() . '!' . $thisChart] = [
'fromCoordinate' => $coordinates,
'fromOffsetX' => $offsetX,
'fromOffsetY' => $offsetY,
'width' => $width,
'height' => $height,
'worksheetTitle' => $docSheet->getTitle(),
'oneCellAnchor' => true,
];
}
}
}
if ($xmlDrawingChildren->twoCellAnchor) {
foreach ($xmlDrawingChildren->twoCellAnchor as $twoCellAnchor) {
$twoCellAnchor = self::testSimpleXml($twoCellAnchor);
if ($twoCellAnchor->pic->blipFill) {
$blip = $twoCellAnchor->pic->blipFill->children(Namespaces::DRAWINGML)->blip;
$xfrm = $twoCellAnchor->pic->spPr->children(Namespaces::DRAWINGML)->xfrm;
$outerShdw = $twoCellAnchor->pic->spPr->children(Namespaces::DRAWINGML)->effectLst->outerShdw;
$objDrawing = new \PhpOffice\PhpSpreadsheet\Worksheet\Drawing();
/** @scrutinizer ignore-call */
$editAs = $twoCellAnchor->attributes();
if (isset($editAs, $editAs['editAs'])) {
$objDrawing->setEditAs($editAs['editAs']);
}
$objDrawing->setName((string) self::getArrayItem(self::getAttributes($twoCellAnchor->pic->nvPicPr->cNvPr), 'name'));
$objDrawing->setDescription((string) self::getArrayItem(self::getAttributes($twoCellAnchor->pic->nvPicPr->cNvPr), 'descr'));
$embedImageKey = (string) self::getArrayItem(
self::getAttributes($blip, $xmlNamespaceBase),
'embed'
);
if (isset($images[$embedImageKey])) {
$objDrawing->setPath(
'zip://' . File::realpath($filename) . '#' .
$images[$embedImageKey],
false
);
} else {
$linkImageKey = (string) self::getArrayItem(
$blip->attributes('http://schemas.openxmlformats.org/officeDocument/2006/relationships'),
'link'
);
if (isset($images[$linkImageKey])) {
$url = str_replace('xl/drawings/', '', $images[$linkImageKey]);
$objDrawing->setPath($url);
}
}
$objDrawing->setCoordinates(Coordinate::stringFromColumnIndex(((int) $twoCellAnchor->from->col) + 1) . ($twoCellAnchor->from->row + 1));
$objDrawing->setOffsetX(Drawing::EMUToPixels($twoCellAnchor->from->colOff));
$objDrawing->setOffsetY(Drawing::EMUToPixels($twoCellAnchor->from->rowOff));
$objDrawing->setCoordinates2(Coordinate::stringFromColumnIndex(((int) $twoCellAnchor->to->col) + 1) . ($twoCellAnchor->to->row + 1));
$objDrawing->setOffsetX2(Drawing::EMUToPixels($twoCellAnchor->to->colOff));
$objDrawing->setOffsetY2(Drawing::EMUToPixels($twoCellAnchor->to->rowOff));
$objDrawing->setResizeProportional(false);
if ($xfrm) {
$objDrawing->setWidth(Drawing::EMUToPixels(self::getArrayItem(self::getAttributes($xfrm->ext), 'cx')));
$objDrawing->setHeight(Drawing::EMUToPixels(self::getArrayItem(self::getAttributes($xfrm->ext), 'cy')));
$objDrawing->setRotation(Drawing::angleToDegrees(self::getArrayItem(self::getAttributes($xfrm), 'rot')));
}
if ($outerShdw) {
$shadow = $objDrawing->getShadow();
$shadow->setVisible(true);
$shadow->setBlurRadius(Drawing::EMUToPixels(self::getArrayItem(self::getAttributes($outerShdw), 'blurRad')));
$shadow->setDistance(Drawing::EMUToPixels(self::getArrayItem(self::getAttributes($outerShdw), 'dist')));
$shadow->setDirection(Drawing::angleToDegrees(self::getArrayItem(self::getAttributes($outerShdw), 'dir')));
$shadow->setAlignment((string) self::getArrayItem(self::getAttributes($outerShdw), 'algn'));
$clr = $outerShdw->srgbClr ?? $outerShdw->prstClr;
$shadow->getColor()->setRGB(self::getArrayItem(self::getAttributes($clr), 'val'));
$shadow->setAlpha(self::getArrayItem(self::getAttributes($clr->alpha), 'val') / 1000);
}
$this->readHyperLinkDrawing($objDrawing, $twoCellAnchor, $hyperlinks);
$objDrawing->setWorksheet($docSheet);
} elseif (($this->includeCharts) && ($twoCellAnchor->graphicFrame)) {
$fromCoordinate = Coordinate::stringFromColumnIndex(((int) $twoCellAnchor->from->col) + 1) . ($twoCellAnchor->from->row + 1);
$fromOffsetX = Drawing::EMUToPixels($twoCellAnchor->from->colOff);
$fromOffsetY = Drawing::EMUToPixels($twoCellAnchor->from->rowOff);
$toCoordinate = Coordinate::stringFromColumnIndex(((int) $twoCellAnchor->to->col) + 1) . ($twoCellAnchor->to->row + 1);
$toOffsetX = Drawing::EMUToPixels($twoCellAnchor->to->colOff);
$toOffsetY = Drawing::EMUToPixels($twoCellAnchor->to->rowOff);
$graphic = $twoCellAnchor->graphicFrame->children(Namespaces::DRAWINGML)->graphic;
/** @var SimpleXMLElement $chartRef */
$chartRef = $graphic->graphicData->children(Namespaces::CHART)->chart;
$thisChart = (string) self::getAttributes($chartRef, $xmlNamespaceBase);
$chartDetails[$docSheet->getTitle() . '!' . $thisChart] = [
'fromCoordinate' => $fromCoordinate,
'fromOffsetX' => $fromOffsetX,
'fromOffsetY' => $fromOffsetY,
'toCoordinate' => $toCoordinate,
'toOffsetX' => $toOffsetX,
'toOffsetY' => $toOffsetY,
'worksheetTitle' => $docSheet->getTitle(),
];
}
}
}
if ($xmlDrawingChildren->absoluteAnchor) {
foreach ($xmlDrawingChildren->absoluteAnchor as $absoluteAnchor) {
if (($this->includeCharts) && ($absoluteAnchor->graphicFrame)) {
$graphic = $absoluteAnchor->graphicFrame->children(Namespaces::DRAWINGML)->graphic;
/** @var SimpleXMLElement $chartRef */
$chartRef = $graphic->graphicData->children(Namespaces::CHART)->chart;
$thisChart = (string) self::getAttributes($chartRef, $xmlNamespaceBase);
$width = Drawing::EMUToPixels((int) self::getArrayItem(self::getAttributes($absoluteAnchor->ext), 'cx')[0]);
$height = Drawing::EMUToPixels((int) self::getArrayItem(self::getAttributes($absoluteAnchor->ext), 'cy')[0]);
$chartDetails[$docSheet->getTitle() . '!' . $thisChart] = [
'fromCoordinate' => 'A1',
'fromOffsetX' => 0,
'fromOffsetY' => 0,
'width' => $width,
'height' => $height,
'worksheetTitle' => $docSheet->getTitle(),
];
}
}
}
if (empty($relsDrawing) && $xmlDrawing->count() == 0) {
// Save Drawing without rels and children as unparsed
$unparsedDrawings[$drawingRelId] = $xmlDrawing->asXML();
}
}
// store original rId of drawing files
$unparsedLoadedData['sheets'][$docSheet->getCodeName()]['drawingOriginalIds'] = [];
foreach ($relsWorksheet->Relationship as $ele) {
if ((string) $ele['Type'] === "$xmlNamespaceBase/drawing") {
$drawingRelId = (string) $ele['Id'];
$unparsedLoadedData['sheets'][$docSheet->getCodeName()]['drawingOriginalIds'][(string) $ele['Target']] = $drawingRelId;
if (isset($unparsedDrawings[$drawingRelId])) {
$unparsedLoadedData['sheets'][$docSheet->getCodeName()]['Drawings'][$drawingRelId] = $unparsedDrawings[$drawingRelId];
}
}
}
if ($xmlSheet->legacyDrawing && !$this->readDataOnly) {
foreach ($xmlSheet->legacyDrawing as $drawing) {
$drawingRelId = (string) self::getArrayItem(self::getAttributes($drawing, $xmlNamespaceBase), 'id');
if (isset($vmlDrawingContents[$drawingRelId])) {
$unparsedLoadedData['sheets'][$docSheet->getCodeName()]['legacyDrawing'] = $vmlDrawingContents[$drawingRelId];
}
}
}
// unparsed drawing AlternateContent
$xmlAltDrawing = $this->loadZip((string) $fileDrawing, Namespaces::COMPATIBILITY);
if ($xmlAltDrawing->AlternateContent) {
foreach ($xmlAltDrawing->AlternateContent as $alternateContent) {
$alternateContent = self::testSimpleXml($alternateContent);
$unparsedLoadedData['sheets'][$docSheet->getCodeName()]['drawingAlternateContents'][] = $alternateContent->asXML();
}
}
}
}
$this->readFormControlProperties($excel, $dir, $fileWorksheet, $docSheet, $unparsedLoadedData);
$this->readPrinterSettings($excel, $dir, $fileWorksheet, $docSheet, $unparsedLoadedData);
// Loop through definedNames
if ($xmlWorkbook->definedNames) {
foreach ($xmlWorkbook->definedNames->definedName as $definedName) {
// Extract range
$extractedRange = (string) $definedName;
if (($spos = strpos($extractedRange, '!')) !== false) {
$extractedRange = substr($extractedRange, 0, $spos) . str_replace('$', '', substr($extractedRange, $spos));
} else {
$extractedRange = str_replace('$', '', $extractedRange);
}
// Valid range?
if ($extractedRange == '') {
continue;
}
// Some definedNames are only applicable if we are on the same sheet...
if ((string) $definedName['localSheetId'] != '' && (string) $definedName['localSheetId'] == $oldSheetId) {
// Switch on type
switch ((string) $definedName['name']) {
case '_xlnm._FilterDatabase':
if ((string) $definedName['hidden'] !== '1') {
$extractedRange = explode(',', $extractedRange);
foreach ($extractedRange as $range) {
$autoFilterRange = $range;
if (strpos($autoFilterRange, ':') !== false) {
$docSheet->getAutoFilter()->setRange($autoFilterRange);
}
}
}
break;
case '_xlnm.Print_Titles':
// Split $extractedRange
$extractedRange = explode(',', $extractedRange);
// Set print titles
foreach ($extractedRange as $range) {
$matches = [];
$range = str_replace('$', '', $range);
// check for repeating columns, e g. 'A:A' or 'A:D'
if (preg_match('/!?([A-Z]+)\:([A-Z]+)$/', $range, $matches)) {
$docSheet->getPageSetup()->setColumnsToRepeatAtLeft([$matches[1], $matches[2]]);
} elseif (preg_match('/!?(\d+)\:(\d+)$/', $range, $matches)) {
// check for repeating rows, e.g. '1:1' or '1:5'
$docSheet->getPageSetup()->setRowsToRepeatAtTop([$matches[1], $matches[2]]);
}
}
break;
case '_xlnm.Print_Area':
$rangeSets = preg_split("/('?(?:.*?)'?(?:![A-Z0-9]+:[A-Z0-9]+)),?/", $extractedRange, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE) ?: [];
$newRangeSets = [];
foreach ($rangeSets as $rangeSet) {
[, $rangeSet] = Worksheet::extractSheetTitle($rangeSet, true);
if (empty($rangeSet)) {
continue;
}
if (strpos($rangeSet, ':') === false) {
$rangeSet = $rangeSet . ':' . $rangeSet;
}
$newRangeSets[] = str_replace('$', '', $rangeSet);
}
if (count($newRangeSets) > 0) {
$docSheet->getPageSetup()->setPrintArea(implode(',', $newRangeSets));
}
break;
default:
break;
}
}
}
}
// Next sheet id
++$sheetId;
}
// Loop through definedNames
if ($xmlWorkbook->definedNames) {
foreach ($xmlWorkbook->definedNames->definedName as $definedName) {
// Extract range
$extractedRange = (string) $definedName;
// Valid range?
if ($extractedRange == '') {
continue;
}
// Some definedNames are only applicable if we are on the same sheet...
if ((string) $definedName['localSheetId'] != '') {
// Local defined name
// Switch on type
switch ((string) $definedName['name']) {
case '_xlnm._FilterDatabase':
case '_xlnm.Print_Titles':
case '_xlnm.Print_Area':
break;
default:
if ($mapSheetId[(int) $definedName['localSheetId']] !== null) {
$range = Worksheet::extractSheetTitle((string) $definedName, true);
$scope = $excel->getSheet($mapSheetId[(int) $definedName['localSheetId']]);
if (strpos((string) $definedName, '!') !== false) {
$range[0] = str_replace("''", "'", $range[0]);
$range[0] = str_replace("'", '', $range[0]);
if ($worksheet = $excel->getSheetByName($range[0])) { // @phpstan-ignore-line
$excel->addDefinedName(DefinedName::createInstance((string) $definedName['name'], $worksheet, $extractedRange, true, $scope));
} else {
$excel->addDefinedName(DefinedName::createInstance((string) $definedName['name'], $scope, $extractedRange, true, $scope));
}
} else {
$excel->addDefinedName(DefinedName::createInstance((string) $definedName['name'], $scope, $extractedRange, true));
}
}
break;
}
} elseif (!isset($definedName['localSheetId'])) {
$definedRange = (string) $definedName;
// "Global" definedNames
$locatedSheet = null;
if (strpos((string) $definedName, '!') !== false) {
// Modify range, and extract the first worksheet reference
// Need to split on a comma or a space if not in quotes, and extract the first part.
$definedNameValueParts = preg_split("/[ ,](?=([^']*'[^']*')*[^']*$)/miuU", $definedRange);
// Extract sheet name
[$extractedSheetName] = Worksheet::extractSheetTitle((string) $definedNameValueParts[0], true); // @phpstan-ignore-line
$extractedSheetName = trim($extractedSheetName, "'");
// Locate sheet
$locatedSheet = $excel->getSheetByName($extractedSheetName);
}
if ($locatedSheet === null && !DefinedName::testIfFormula($definedRange)) {
$definedRange = '#REF!';
}
$excel->addDefinedName(DefinedName::createInstance((string) $definedName['name'], $locatedSheet, $definedRange, false));
}
}
}
}
(new WorkbookView($excel))->viewSettings($xmlWorkbook, $mainNS, $mapSheetId, $this->readDataOnly);
break;
}
}
if (!$this->readDataOnly) {
$contentTypes = $this->loadZip('[Content_Types].xml');
// Default content types
foreach ($contentTypes->Default as $contentType) {
switch ($contentType['ContentType']) {
case 'application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings':
$unparsedLoadedData['default_content_types'][(string) $contentType['Extension']] = (string) $contentType['ContentType'];
break;
}
}
// Override content types
foreach ($contentTypes->Override as $contentType) {
switch ($contentType['ContentType']) {
case 'application/vnd.openxmlformats-officedocument.drawingml.chart+xml':
if ($this->includeCharts) {
$chartEntryRef = ltrim((string) $contentType['PartName'], '/');
$chartElements = $this->loadZip($chartEntryRef);
$chartReader = new Chart($chartNS, $drawingNS);
$objChart = $chartReader->readChart($chartElements, basename($chartEntryRef, '.xml'));
if (isset($charts[$chartEntryRef])) {
$chartPositionRef = $charts[$chartEntryRef]['sheet'] . '!' . $charts[$chartEntryRef]['id'];
if (isset($chartDetails[$chartPositionRef])) {
$excel->getSheetByName($charts[$chartEntryRef]['sheet'])->addChart($objChart); // @phpstan-ignore-line
$objChart->setWorksheet($excel->getSheetByName($charts[$chartEntryRef]['sheet']));
// For oneCellAnchor or absoluteAnchor positioned charts,
// toCoordinate is not in the data. Does it need to be calculated?
if (array_key_exists('toCoordinate', $chartDetails[$chartPositionRef])) {
// twoCellAnchor
$objChart->setTopLeftPosition($chartDetails[$chartPositionRef]['fromCoordinate'], $chartDetails[$chartPositionRef]['fromOffsetX'], $chartDetails[$chartPositionRef]['fromOffsetY']);
$objChart->setBottomRightPosition($chartDetails[$chartPositionRef]['toCoordinate'], $chartDetails[$chartPositionRef]['toOffsetX'], $chartDetails[$chartPositionRef]['toOffsetY']);
} else {
// oneCellAnchor or absoluteAnchor (e.g. Chart sheet)
$objChart->setTopLeftPosition($chartDetails[$chartPositionRef]['fromCoordinate'], $chartDetails[$chartPositionRef]['fromOffsetX'], $chartDetails[$chartPositionRef]['fromOffsetY']);
$objChart->setBottomRightPosition('', $chartDetails[$chartPositionRef]['width'], $chartDetails[$chartPositionRef]['height']);
if (array_key_exists('oneCellAnchor', $chartDetails[$chartPositionRef])) {
$objChart->setOneCellAnchor($chartDetails[$chartPositionRef]['oneCellAnchor']);
}
}
}
}
}
break;
// unparsed
case 'application/vnd.ms-excel.controlproperties+xml':
$unparsedLoadedData['override_content_types'][(string) $contentType['PartName']] = (string) $contentType['ContentType'];
break;
}
}
}
$excel->setUnparsedLoadedData($unparsedLoadedData);
$zip->close();
return $excel;
}
/**
* @return RichText
*/
private function parseRichText(?SimpleXMLElement $is)
{
$value = new RichText();
if (isset($is->t)) {
$value->createText(StringHelper::controlCharacterOOXML2PHP((string) $is->t));
} elseif ($is !== null) {
if (is_object($is->r)) {
/** @var SimpleXMLElement $run */
foreach ($is->r as $run) {
if (!isset($run->rPr)) {
$value->createText(StringHelper::controlCharacterOOXML2PHP((string) $run->t));
} else {
$objText = $value->createTextRun(StringHelper::controlCharacterOOXML2PHP((string) $run->t));
$objFont = $objText->getFont() ?? new StyleFont();
if (isset($run->rPr->rFont)) {
$attr = $run->rPr->rFont->attributes();
if (isset($attr['val'])) {
$objFont->setName((string) $attr['val']);
}
}
if (isset($run->rPr->sz)) {
$attr = $run->rPr->sz->attributes();
if (isset($attr['val'])) {
$objFont->setSize((float) $attr['val']);
}
}
if (isset($run->rPr->color)) {
$objFont->setColor(new Color($this->styleReader->readColor($run->rPr->color)));
}
if (isset($run->rPr->b)) {
$attr = $run->rPr->b->attributes();
if (
(isset($attr['val']) && self::boolean((string) $attr['val'])) ||
(!isset($attr['val']))
) {
$objFont->setBold(true);
}
}
if (isset($run->rPr->i)) {
$attr = $run->rPr->i->attributes();
if (
(isset($attr['val']) && self::boolean((string) $attr['val'])) ||
(!isset($attr['val']))
) {
$objFont->setItalic(true);
}
}
if (isset($run->rPr->vertAlign)) {
$attr = $run->rPr->vertAlign->attributes();
if (isset($attr['val'])) {
$vertAlign = strtolower((string) $attr['val']);
if ($vertAlign == 'superscript') {
$objFont->setSuperscript(true);
}
if ($vertAlign == 'subscript') {
$objFont->setSubscript(true);
}
}
}
if (isset($run->rPr->u)) {
$attr = $run->rPr->u->attributes();
if (!isset($attr['val'])) {
$objFont->setUnderline(\PhpOffice\PhpSpreadsheet\Style\Font::UNDERLINE_SINGLE);
} else {
$objFont->setUnderline((string) $attr['val']);
}
}
if (isset($run->rPr->strike)) {
$attr = $run->rPr->strike->attributes();
if (
(isset($attr['val']) && self::boolean((string) $attr['val'])) ||
(!isset($attr['val']))
) {
$objFont->setStrikethrough(true);
}
}
}
}
}
}
return $value;
}
private function readRibbon(Spreadsheet $excel, string $customUITarget, ZipArchive $zip): void
{
$baseDir = dirname($customUITarget);
$nameCustomUI = basename($customUITarget);
// get the xml file (ribbon)
$localRibbon = $this->getFromZipArchive($zip, $customUITarget);
$customUIImagesNames = [];
$customUIImagesBinaries = [];
// something like customUI/_rels/customUI.xml.rels
$pathRels = $baseDir . '/_rels/' . $nameCustomUI . '.rels';
$dataRels = $this->getFromZipArchive($zip, $pathRels);
if ($dataRels) {
// exists and not empty if the ribbon have some pictures (other than internal MSO)
$UIRels = simplexml_load_string(
$this->getSecurityScannerOrThrow()->scan($dataRels),
'SimpleXMLElement',
Settings::getLibXmlLoaderOptions()
);
if (false !== $UIRels) {
// we need to save id and target to avoid parsing customUI.xml and "guess" if it's a pseudo callback who load the image
foreach ($UIRels->Relationship as $ele) {
if ((string) $ele['Type'] === Namespaces::SCHEMA_OFFICE_DOCUMENT . '/image') {
// an image ?
$customUIImagesNames[(string) $ele['Id']] = (string) $ele['Target'];
$customUIImagesBinaries[(string) $ele['Target']] = $this->getFromZipArchive($zip, $baseDir . '/' . (string) $ele['Target']);
}
}
}
}
if ($localRibbon) {
$excel->setRibbonXMLData($customUITarget, $localRibbon);
if (count($customUIImagesNames) > 0 && count($customUIImagesBinaries) > 0) {
$excel->setRibbonBinObjects($customUIImagesNames, $customUIImagesBinaries);
} else {
$excel->setRibbonBinObjects(null, null);
}
} else {
$excel->setRibbonXMLData(null, null);
$excel->setRibbonBinObjects(null, null);
}
}
/**
* @param null|array|bool|SimpleXMLElement $array
* @param int|string $key
*
* @return mixed
*/
private static function getArrayItem($array, $key = 0)
{
return ($array === null || is_bool($array)) ? null : ($array[$key] ?? null);
}
/**
* @param null|SimpleXMLElement|string $base
* @param null|SimpleXMLElement|string $add
*/
private static function dirAdd($base, $add): string
{
$base = (string) $base;
$add = (string) $add;
return (string) preg_replace('~[^/]+/\.\./~', '', dirname($base) . "/$add");
}
private static function toCSSArray(string $style): array
{
$style = self::stripWhiteSpaceFromStyleString($style);
$temp = explode(';', $style);
$style = [];
foreach ($temp as $item) {
$item = explode(':', $item);
if (strpos($item[1], 'px') !== false) {
$item[1] = str_replace('px', '', $item[1]);
}
if (strpos($item[1], 'pt') !== false) {
$item[1] = str_replace('pt', '', $item[1]);
$item[1] = (string) Font::fontSizeToPixels((int) $item[1]);
}
if (strpos($item[1], 'in') !== false) {
$item[1] = str_replace('in', '', $item[1]);
$item[1] = (string) Font::inchSizeToPixels((int) $item[1]);
}
if (strpos($item[1], 'cm') !== false) {
$item[1] = str_replace('cm', '', $item[1]);
$item[1] = (string) Font::centimeterSizeToPixels((int) $item[1]);
}
$style[$item[0]] = $item[1];
}
return $style;
}
public static function stripWhiteSpaceFromStyleString(string $string): string
{
return trim(str_replace(["\r", "\n", ' '], '', $string), ';');
}
private static function boolean(string $value): bool
{
if (is_numeric($value)) {
return (bool) $value;
}
return $value === 'true' || $value === 'TRUE';
}
/**
* @param array $hyperlinks
*/
private function readHyperLinkDrawing(\PhpOffice\PhpSpreadsheet\Worksheet\Drawing $objDrawing, SimpleXMLElement $cellAnchor, $hyperlinks): void
{
$hlinkClick = $cellAnchor->pic->nvPicPr->cNvPr->children(Namespaces::DRAWINGML)->hlinkClick;
if ($hlinkClick->count() === 0) {
return;
}
$hlinkId = (string) self::getAttributes($hlinkClick, Namespaces::SCHEMA_OFFICE_DOCUMENT)['id'];
$hyperlink = new Hyperlink(
$hyperlinks[$hlinkId],
(string) self::getArrayItem(self::getAttributes($cellAnchor->pic->nvPicPr->cNvPr), 'name')
);
$objDrawing->setHyperlink($hyperlink);
}
private function readProtection(Spreadsheet $excel, SimpleXMLElement $xmlWorkbook): void
{
if (!$xmlWorkbook->workbookProtection) {
return;
}
$excel->getSecurity()->setLockRevision(self::getLockValue($xmlWorkbook->workbookProtection, 'lockRevision'));
$excel->getSecurity()->setLockStructure(self::getLockValue($xmlWorkbook->workbookProtection, 'lockStructure'));
$excel->getSecurity()->setLockWindows(self::getLockValue($xmlWorkbook->workbookProtection, 'lockWindows'));
if ($xmlWorkbook->workbookProtection['revisionsPassword']) {
$excel->getSecurity()->setRevisionsPassword(
(string) $xmlWorkbook->workbookProtection['revisionsPassword'],
true
);
}
if ($xmlWorkbook->workbookProtection['workbookPassword']) {
$excel->getSecurity()->setWorkbookPassword(
(string) $xmlWorkbook->workbookProtection['workbookPassword'],
true
);
}
}
private static function getLockValue(SimpleXmlElement $protection, string $key): ?bool
{
$returnValue = null;
$protectKey = $protection[$key];
if (!empty($protectKey)) {
$protectKey = (string) $protectKey;
$returnValue = $protectKey !== 'false' && (bool) $protectKey;
}
return $returnValue;
}
private function readFormControlProperties(Spreadsheet $excel, string $dir, string $fileWorksheet, Worksheet $docSheet, array &$unparsedLoadedData): void
{
$zip = $this->zip;
if (!$zip->locateName(dirname("$dir/$fileWorksheet") . '/_rels/' . basename($fileWorksheet) . '.rels')) {
return;
}
$filename = dirname("$dir/$fileWorksheet") . '/_rels/' . basename($fileWorksheet) . '.rels';
$relsWorksheet = $this->loadZipNoNamespace($filename, Namespaces::RELATIONSHIPS);
$ctrlProps = [];
foreach ($relsWorksheet->Relationship as $ele) {
if ((string) $ele['Type'] === Namespaces::SCHEMA_OFFICE_DOCUMENT . '/ctrlProp') {
$ctrlProps[(string) $ele['Id']] = $ele;
}
}
$unparsedCtrlProps = &$unparsedLoadedData['sheets'][$docSheet->getCodeName()]['ctrlProps'];
foreach ($ctrlProps as $rId => $ctrlProp) {
$rId = substr($rId, 3); // rIdXXX
$unparsedCtrlProps[$rId] = [];
$unparsedCtrlProps[$rId]['filePath'] = self::dirAdd("$dir/$fileWorksheet", $ctrlProp['Target']);
$unparsedCtrlProps[$rId]['relFilePath'] = (string) $ctrlProp['Target'];
$unparsedCtrlProps[$rId]['content'] = $this->getSecurityScannerOrThrow()->scan($this->getFromZipArchive($zip, $unparsedCtrlProps[$rId]['filePath']));
}
unset($unparsedCtrlProps);
}
private function readPrinterSettings(Spreadsheet $excel, string $dir, string $fileWorksheet, Worksheet $docSheet, array &$unparsedLoadedData): void
{
$zip = $this->zip;
if (!$zip->locateName(dirname("$dir/$fileWorksheet") . '/_rels/' . basename($fileWorksheet) . '.rels')) {
return;
}
$filename = dirname("$dir/$fileWorksheet") . '/_rels/' . basename($fileWorksheet) . '.rels';
$relsWorksheet = $this->loadZipNoNamespace($filename, Namespaces::RELATIONSHIPS);
$sheetPrinterSettings = [];
foreach ($relsWorksheet->Relationship as $ele) {
if ((string) $ele['Type'] === Namespaces::SCHEMA_OFFICE_DOCUMENT . '/printerSettings') {
$sheetPrinterSettings[(string) $ele['Id']] = $ele;
}
}
$unparsedPrinterSettings = &$unparsedLoadedData['sheets'][$docSheet->getCodeName()]['printerSettings'];
foreach ($sheetPrinterSettings as $rId => $printerSettings) {
$rId = substr($rId, 3); // rIdXXX
if (substr($rId, -2) !== 'ps') {
$rId = $rId . 'ps'; // rIdXXX, add 'ps' suffix to avoid identical resource identifier collision with unparsed vmlDrawing
}
$unparsedPrinterSettings[$rId] = [];
$unparsedPrinterSettings[$rId]['filePath'] = self::dirAdd("$dir/$fileWorksheet", $printerSettings['Target']);
$unparsedPrinterSettings[$rId]['relFilePath'] = (string) $printerSettings['Target'];
$unparsedPrinterSettings[$rId]['content'] = $this->getSecurityScannerOrThrow()->scan($this->getFromZipArchive($zip, $unparsedPrinterSettings[$rId]['filePath']));
}
unset($unparsedPrinterSettings);
}
private function getWorkbookBaseName(): array
{
$workbookBasename = '';
$xmlNamespaceBase = '';
// check if it is an OOXML archive
$rels = $this->loadZip(self::INITIAL_FILE);
foreach ($rels->children(Namespaces::RELATIONSHIPS)->Relationship as $rel) {
$rel = self::getAttributes($rel);
$type = (string) $rel['Type'];
switch ($type) {
case Namespaces::OFFICE_DOCUMENT:
case Namespaces::PURL_OFFICE_DOCUMENT:
$basename = basename((string) $rel['Target']);
$xmlNamespaceBase = dirname($type);
if (preg_match('/workbook.*\.xml/', $basename)) {
$workbookBasename = $basename;
}
break;
}
}
return [$workbookBasename, $xmlNamespaceBase];
}
private function readSheetProtection(Worksheet $docSheet, SimpleXMLElement $xmlSheet): void
{
if ($this->readDataOnly || !$xmlSheet->sheetProtection) {
return;
}
$algorithmName = (string) $xmlSheet->sheetProtection['algorithmName'];
$protection = $docSheet->getProtection();
$protection->setAlgorithm($algorithmName);
if ($algorithmName) {
$protection->setPassword((string) $xmlSheet->sheetProtection['hashValue'], true);
$protection->setSalt((string) $xmlSheet->sheetProtection['saltValue']);
$protection->setSpinCount((int) $xmlSheet->sheetProtection['spinCount']);
} else {
$protection->setPassword((string) $xmlSheet->sheetProtection['password'], true);
}
if ($xmlSheet->protectedRanges->protectedRange) {
foreach ($xmlSheet->protectedRanges->protectedRange as $protectedRange) {
$docSheet->protectCells((string) $protectedRange['sqref'], (string) $protectedRange['password'], true);
}
}
}
private function readAutoFilter(
SimpleXMLElement $xmlSheet,
Worksheet $docSheet
): void {
if ($xmlSheet && $xmlSheet->autoFilter) {
(new AutoFilter($docSheet, $xmlSheet))->load();
}
}
private function readTables(
SimpleXMLElement $xmlSheet,
Worksheet $docSheet,
string $dir,
string $fileWorksheet,
ZipArchive $zip
): void {
if ($xmlSheet && $xmlSheet->tableParts && (int) $xmlSheet->tableParts['count'] > 0) {
$this->readTablesInTablesFile($xmlSheet, $dir, $fileWorksheet, $zip, $docSheet);
}
}
private function readTablesInTablesFile(
SimpleXMLElement $xmlSheet,
string $dir,
string $fileWorksheet,
ZipArchive $zip,
Worksheet $docSheet
): void {
foreach ($xmlSheet->tableParts->tablePart as $tablePart) {
$relation = self::getAttributes($tablePart, Namespaces::SCHEMA_OFFICE_DOCUMENT);
$tablePartRel = (string) $relation['id'];
$relationsFileName = dirname("$dir/$fileWorksheet") . '/_rels/' . basename($fileWorksheet) . '.rels';
if ($zip->locateName($relationsFileName)) {
$relsTableReferences = $this->loadZip($relationsFileName, Namespaces::RELATIONSHIPS);
foreach ($relsTableReferences->Relationship as $relationship) {
$relationshipAttributes = self::getAttributes($relationship, '');
if ((string) $relationshipAttributes['Id'] === $tablePartRel) {
$relationshipFileName = (string) $relationshipAttributes['Target'];
$relationshipFilePath = dirname("$dir/$fileWorksheet") . '/' . $relationshipFileName;
$relationshipFilePath = File::realpath($relationshipFilePath);
if ($this->fileExistsInArchive($this->zip, $relationshipFilePath)) {
$tableXml = $this->loadZip($relationshipFilePath);
(new TableReader($docSheet, $tableXml))->load();
}
}
}
}
}
}
private static function extractStyles(?SimpleXMLElement $sxml, string $node1, string $node2): array
{
$array = [];
if ($sxml && $sxml->{$node1}->{$node2}) {
foreach ($sxml->{$node1}->{$node2} as $node) {
$array[] = $node;
}
}
return $array;
}
private static function extractPalette(?SimpleXMLElement $sxml): array
{
$array = [];
if ($sxml && $sxml->colors->indexedColors) {
foreach ($sxml->colors->indexedColors->rgbColor as $node) {
if ($node !== null) {
$attr = $node->attributes();
if (isset($attr['rgb'])) {
$array[] = (string) $attr['rgb'];
}
}
}
}
return $array;
}
private function processIgnoredErrors(SimpleXMLElement $xml, Worksheet $sheet): void
{
$attributes = self::getAttributes($xml);
$sqref = (string) ($attributes['sqref'] ?? '');
$numberStoredAsText = (string) ($attributes['numberStoredAsText'] ?? '');
$formula = (string) ($attributes['formula'] ?? '');
$twoDigitTextYear = (string) ($attributes['twoDigitTextYear'] ?? '');
$evalError = (string) ($attributes['evalError'] ?? '');
if (!empty($sqref)) {
$explodedSqref = explode(' ', $sqref);
$pattern1 = '/^([A-Z]{1,3})([0-9]{1,7})(:([A-Z]{1,3})([0-9]{1,7}))?$/';
foreach ($explodedSqref as $sqref1) {
if (preg_match($pattern1, $sqref1, $matches) === 1) {
$firstRow = $matches[2];
$firstCol = $matches[1];
if (array_key_exists(3, $matches)) {
$lastCol = $matches[4];
$lastRow = $matches[5];
} else {
$lastCol = $firstCol;
$lastRow = $firstRow;
}
++$lastCol;
for ($row = $firstRow; $row <= $lastRow; ++$row) {
for ($col = $firstCol; $col !== $lastCol; ++$col) {
if ($numberStoredAsText === '1') {
$sheet->getCell("$col$row")->getIgnoredErrors()->setNumberStoredAsText(true);
}
if ($formula === '1') {
$sheet->getCell("$col$row")->getIgnoredErrors()->setFormula(true);
}
if ($twoDigitTextYear === '1') {
$sheet->getCell("$col$row")->getIgnoredErrors()->setTwoDigitTextYear(true);
}
if ($evalError === '1') {
$sheet->getCell("$col$row")->getIgnoredErrors()->setEvalError(true);
}
}
}
}
}
}
}
}
, | [
1,
835,
8010,
29901,
6341,
29899,
29873,
262,
962,
346,
13,
2277,
29937,
12953,
29901,
7281,
3368,
323,
4901,
29924,
4741,
363,
341,
2092,
280,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
1982,
29914,
561,
567,
29886,
27844,
29914,
19167,
29914,
561,
1129,
600,
625,
29914,
561,
567,
29886,
27844,
29914,
4351,
29914,
4819,
29886,
5592,
27844,
29914,
6982,
29914,
29990,
3137,
29916,
29889,
1961,
13,
835,
10576,
29901,
8169,
1961,
13,
13,
22377,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
6982,
29936,
13,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
4617,
29905,
7967,
16065,
29936,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
4617,
29905,
1469,
1542,
29936,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
4617,
29905,
26322,
546,
2324,
29936,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
3206,
1312,
1170,
29936,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
6982,
29905,
13228,
29905,
11089,
4421,
7310,
29936,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
6982,
29905,
29990,
3137,
29916,
29905,
12300,
5072,
29936,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
6982,
29905,
29990,
3137,
29916,
29905,
14732,
29936,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
6982,
29905,
29990,
3137,
29916,
29905,
4409,
2855,
4301,
15801,
29936,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
6982,
29905,
29990,
3137,
29916,
29905,
10983,
3245,
855,
5577,
29936,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
6982,
29905,
29990,
3137,
29916,
29905,
1469,
7211,
800,
29936,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
6982,
29905,
29990,
3137,
29916,
29905,
26322,
546,
4965,
29936,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
6982,
29905,
29990,
3137,
29916,
29905,
8659,
22459,
29936,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
6982,
29905,
29990,
3137,
29916,
29905,
5074,
26947,
29936,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
6982,
29905,
29990,
3137,
29916,
29905,
11857,
408,
9079,
6982,
29936,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
6982,
29905,
29990,
3137,
29916,
29905,
21741,
2500,
2497,
29936,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
6982,
29905,
29990,
3137,
29916,
29905,
10654,
1043,
5856,
29936,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
6982,
29905,
29990,
3137,
29916,
29905,
10654,
23825,
29936,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
6982,
29905,
29990,
3137,
29916,
29905,
855,
5577,
29936,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
6982,
29905,
29990,
3137,
29916,
29905,
3562,
6982,
29936,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
6982,
29905,
29990,
3137,
29916,
29905,
17693,
29936,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
6982,
29905,
29990,
3137,
29916,
29905,
26501,
1043,
29936,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
Understanding Geopathic Stress
and How To Know if it is Affecting Your Home
The most common types of energy fields that cause geopathic stress emanate from Hartmann Grids, Underground Streams, and Geological Faults
Geopathic Stress has been studied and researched extensively for the past hundred years across different cultures.
In the 1920's the west, the German, Baron Von Pohl pioneered research. This is predated by the Chinese by over one thousand years are the study of mysterious earth energies was the focus of Feng Shui.
Will LeStrange has studied both traditions.... touring China and learning various "Earth Acupuncture" traditions as well as lecturing on the subject in Munich, Germany.
The following article is taken from the research of Roy Riggs, a researcher from the UK, you can find more at www.royriggs.co.uk
Geopathic Stress: Is the result of spending long periods working or sleeping above any building or place where the natural energy of the Earth is disturbed by weak electromagnetic fields created by underground streams, certain mineral concentrations, fault lines and cavities.
Some early symptoms often experienced above these geopathic zones are related to restlessness, headaches, insomnia and fatigue. If you continue to stay in these areas especially during sleep, then in the long term the stresses on our bodies will emerge as more serious conditions such as diseases of the central nervous system, Multiple Sclerosis (MS), Chronic Fatigue Syndrome (CFS), miscarriages, and cancer.
While we are asleep our body should be resting so it can repair body cells, fight infections and absorb nutrients from food. However, if we sleep in an area affected by geopathic stress, our body has to use all its energy just to keep its vital organs going. As a result, our immune system becomes weakened, which means it has difficulty in absorbing nutrients or fighting off infections as efficiently as it should.
In Germany and Austria today there are signs of the seriousness with which geopathic stress is taken. Not only are the public more generally aware, but their government's funds aid and continuing research into the matter. In some schools, children are moved at frequent intervals to avoid possible harmful effects. Reports from other countries such as Switzerland, France, the Netherlands, Belgium and Scandinavia indicate that they too have been taking notice.
Can These Geopathic Energies be Neutralized?
There are many factors that can contribute to an illness. Geopathic Stress is only one of them and it is becoming more difficult to gauge especially when the natural energy field is constantly changed and amplified by man-made electromagnetic fields.
If geopathic stress is suspected, it makes sense to move away from the source or to think about dealing with the threat. Moving may be relatively easy but neutralizing it is fraught with many problems. Claims and counter- claims abound regarding devices to achieve this, leaving the public in total confusion.
From an incredible range of gadgets offered there are many tales about their ineffectiveness or of making the receiver feel much worse. There are many products on the market that claim to cure some or all geopathic zones of its noxious energy. Most of these claims are quite dubious and do not stand up to the most rudimental scientific testing. Fortunately, there are now a growing number of dowsers that are equipped with scientific monitoring instruments that can test such claims.
Source: Roy Riggs
Case Study of a Neighborhood affected by Geopathic Stress
In this example taken from Google Maps, you can see the development of a new subdivision north of Cincinnati, OH. The yellow line denotes the course of the Geopathic Stress. Almost by instinct, the developers have avoided developing the area where the GS is most noxious.
Almost by instinct, the developers have avoided developing the area where the GS is most noxious.
It just so happened that the occupant of the house marked by the pin called me because they were having the most extraordinary run of bad luck... death, illness, accidents, and were unable to sell the house (it was on the market for 5-years) Needless to say we turned that around after one treatment.
Needless to say we turned that around after one treatment.
Check Our Complete Range of Feng Shui Services
Cities where you can connect with us and our associates: | [
1,
7634,
11235,
1879,
459,
493,
293,
3767,
404,
13,
392,
1128,
1763,
19320,
565,
372,
338,
319,
7161,
292,
3575,
8778,
13,
1576,
1556,
3619,
4072,
310,
5864,
4235,
393,
4556,
1737,
459,
493,
293,
22884,
953,
273,
403,
515,
12321,
4403,
1632,
4841,
29892,
7634,
2057,
13763,
29879,
29892,
322,
1879,
5996,
383,
1292,
29879,
13,
7999,
459,
493,
293,
3767,
404,
756,
1063,
12399,
322,
5925,
287,
21103,
3598,
363,
278,
4940,
6893,
2440,
4822,
1422,
4185,
1973,
29889,
13,
797,
278,
29871,
29896,
29929,
29906,
29900,
29915,
29879,
278,
5833,
29892,
278,
5332,
29892,
15991,
9299,
349,
10330,
29323,
14561,
5925,
29889,
910,
338,
4450,
630,
491,
278,
10013,
491,
975,
697,
10405,
2440,
526,
278,
6559,
310,
22277,
2738,
8437,
18190,
583,
471,
278,
8569,
310,
383,
996,
1383,
1481,
29889,
13,
12984,
951,
5015,
927,
756,
12399,
1716,
3534,
2187,
3045,
6282,
292,
7551,
322,
6509,
5164,
376,
29923,
28696,
319,
5231,
18049,
545,
29908,
3534,
2187,
408,
1532,
408,
13081,
3864,
373,
278,
4967,
297,
13564,
436,
29892,
9556,
29889,
13,
1576,
1494,
4274,
338,
4586,
515,
278,
5925,
310,
15793,
390,
335,
3174,
29892,
263,
5925,
261,
515,
278,
10261,
29892,
366,
508,
1284,
901,
472,
7821,
29889,
307,
4316,
335,
3174,
29889,
1111,
29889,
2679,
13,
7999,
459,
493,
293,
3767,
404,
29901,
1317,
278,
1121,
310,
805,
2548,
1472,
23704,
1985,
470,
8709,
292,
2038,
738,
5214,
470,
2058,
988,
278,
5613,
5864,
310,
278,
11563,
338,
1320,
28179,
491,
8062,
3546,
26097,
293,
4235,
2825,
491,
1090,
2057,
20873,
29892,
3058,
1375,
13537,
14953,
800,
29892,
12570,
3454,
322,
18346,
1907,
29889,
13,
9526,
4688,
25828,
4835,
4049,
18860,
2038,
1438,
1737,
459,
493,
293,
20542,
526,
4475,
304,
1791,
2222,
2264,
29892,
2343,
14520,
29892,
1663,
290,
3915,
322,
9950,
12137,
29889,
960,
366,
6773,
304,
7952,
297,
1438,
10161,
7148,
2645,
8709,
29892,
769,
297,
278,
1472,
1840,
278,
851,
15322,
373,
1749,
17873,
674,
11176,
479,
408,
901,
10676,
5855,
1316,
408,
10267,
2129,
310,
278,
6555,
23547,
681,
1788,
29892,
26905,
317,
695,
9672,
275,
313,
4345,
511,
15336,
293,
383,
271,
12137,
8713,
299,
4871,
313,
9207,
29903,
511,
3984,
4287,
374,
1179,
29892,
322,
23900,
29889,
13,
8809,
488,
591,
526,
408,
5436,
1749,
3573,
881,
367,
1791,
292,
577,
372,
508,
26032,
3573,
9101,
29892,
8589,
297,
1725,
1953,
322,
6425,
11831,
18254,
374,
1237,
515,
9687,
29889,
2398,
29892,
565,
591,
8709,
297,
385,
4038,
15201,
491,
1737,
459,
493,
293,
22884,
29892,
1749,
3573,
756,
304,
671,
599,
967,
5864,
925,
304,
3013,
967,
27131,
1638,
550,
2675,
29889,
1094,
263,
1121,
29892,
1749,
5198,
1540,
1788,
7415,
8062,
6419,
29892,
607,
2794,
372,
756,
14656,
297,
17977,
10549,
18254,
374,
1237,
470,
17770,
1283,
297,
1725,
1953,
408,
29497,
408,
372,
881,
29889,
13,
797,
9556,
322,
17362,
9826,
727,
526,
18906,
310,
278,
10676,
2264,
411,
607,
1737,
459,
493,
293,
22884,
338,
4586,
29889,
2216,
871,
526,
278,
970,
901,
6892,
9543,
29892,
541,
1009,
5874,
29915,
29879,
29199
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
Teacher training workshop at the Canada and An Ever-changing World Conference | Manitoba Social Science Teachers Association
On an annual basis, during Holodomor Education Week and for Holodomor Memorial Day in Schools each November HREC Education visits with schools and others to give workshops and presentations to teachers and students. Always a busy month, there is an increasing amount of people doing more about the Holodomor in November each year now.
HREC’s Director of Education co-presented a two-hour workshop on teaching the Holodomor to high school teachers in the Manitoba Social Science Teachers Association with Manitoba educator Orysia Petryshyn for their 2022 conference Canada and an Ever-changing World. The conference is part of the Manitoba Teachers Society Professional Development Day.
The workshop gave educators information about the Holodomor and introduced interactive methodologies and engaged learning activities for teaching it. Teachers were provided with primary and secondary resources, lesson plans, handouts, and digital resources for classroom use. Focusing on how the Holodomor impacted the development of the Ukrainian nation and the peoples of Ukraine, the workshop discussed why it is important to learn about the Holodomor, how to teach it within a framework of human rights and the UN Convention, and how, ninety years later, the Russian war on Ukraine today is a continuation of this genocide.
A keenly engaged group of 28 history and social studies teachers and Faculty of Education student teachers participated to find out more about the teaching of the Holodomor for their history and social studies courses – about half were from Winnipeg and the other half from across Manitoba. The educators were very enthusiastic, a few already teach the Holodomor and were interested to find new materials and more information for teaching it further. By gender, there were about 40% male to 60% female educators in the group. Teachers enjoyed the video because it was a survivor account about Valentina’s family, and they were interested in writing out the quotations and much of the learning from the slides. The concept of the progression from bullying to genocide was a key take away for most of the teachers. There were many other highlights in the workshop for them including the variety of resources that can be used to teach the Holodomor for different learning styles. Accompanying the workshop was an exhibit on the Holodomor that included posters, books, DVDs, and traditional Ukrainian cultural artefacts.
90th Commemoration activities: HREC Education stands in solidarity with Ukraine’s defence of its own sovereignty and independence. | [
1,
1920,
11665,
6694,
664,
19032,
472,
278,
7400,
322,
530,
18274,
29899,
305,
9776,
2787,
16377,
891,
2315,
277,
15330,
10307,
9327,
1920,
496,
414,
7993,
13,
2951,
385,
17568,
8405,
29892,
2645,
4168,
397,
290,
272,
13151,
15511,
322,
363,
4168,
397,
290,
272,
19722,
8373,
297,
4523,
29879,
1269,
3979,
379,
1525,
29907,
13151,
1998,
1169,
411,
12462,
322,
4045,
304,
2367,
664,
845,
3554,
322,
2198,
800,
304,
27335,
322,
8041,
29889,
29849,
263,
19587,
4098,
29892,
727,
338,
385,
10231,
5253,
310,
2305,
2599,
901,
1048,
278,
4168,
397,
290,
272,
297,
3979,
1269,
1629,
1286,
29889,
13,
29950,
1525,
29907,
30010,
29879,
15944,
310,
13151,
1302,
29899,
6338,
287,
263,
1023,
29899,
18721,
664,
19032,
373,
18819,
278,
4168,
397,
290,
272,
304,
1880,
3762,
27335,
297,
278,
2315,
277,
15330,
10307,
9327,
1920,
496,
414,
7993,
411,
2315,
277,
15330,
6320,
1061,
438,
18450,
423,
5879,
719,
845,
948,
363,
1009,
29871,
29906,
29900,
29906,
29906,
21362,
7400,
322,
385,
18274,
29899,
305,
9776,
2787,
29889,
450,
21362,
338,
760,
310,
278,
2315,
277,
15330,
1920,
496,
414,
7765,
20031,
14650,
8373,
29889,
13,
1576,
664,
19032,
4846,
6320,
4097,
2472,
1048,
278,
4168,
397,
290,
272,
322,
9129,
28923,
1158,
11763,
322,
17785,
6509,
14188,
363,
18819,
372,
29889,
1920,
496,
414,
892,
4944,
411,
7601,
322,
16723,
7788,
29892,
3109,
265,
13900,
29892,
1361,
17718,
29892,
322,
13436,
7788,
363,
770,
8345,
671,
29889,
383,
542,
4746,
373,
920,
278,
4168,
397,
290,
272,
10879,
287,
278,
5849,
310,
278,
29417,
713,
5233,
322,
278,
1236,
459,
793,
310,
23961,
29892,
278,
664,
19032,
15648,
2020,
372,
338,
4100,
304,
5110,
1048,
278,
4168,
397,
290,
272,
29892,
920,
304,
6860,
372,
2629,
263,
6890,
310,
5199,
10462,
322,
278,
8291,
26774,
29892,
322,
920,
29892,
17081,
3305,
2440,
2678,
29892,
278,
10637,
1370,
373,
23961,
9826,
338,
263,
3133,
362,
310,
445,
2531,
29877,
8204,
29889,
13,
29909,
28430,
368,
17785,
2318,
310,
29871,
29906,
29947,
4955,
322,
5264,
11898,
27335,
322,
14184,
18857,
310,
13151,
8368,
27335,
25223,
304,
1284,
714,
901,
1048,
278,
18819,
310,
278,
4168,
397,
290,
272,
363,
1009,
4955,
322,
5264,
11898,
21888,
785,
1048,
4203,
892,
515,
399,
2559,
666,
387,
322,
278,
916,
4203,
515,
4822,
2315,
277,
15330,
29889,
450,
6320,
4097,
892,
1407,
23644,
29875,
6288,
29892,
263,
2846,
2307,
6860,
278,
4168,
397,
290,
272,
322,
892,
8852,
304,
1284,
716,
17279,
322,
901,
2472,
363,
18819,
372,
4340,
29889,
2648,
23346,
29892,
727,
892,
1048,
29871,
29946,
29900,
29995,
14263,
304,
29871,
29953,
29900,
29995,
12944,
6320,
4097,
297,
278,
2318,
29889,
1920,
496,
414,
27849,
278,
4863,
1363,
372,
471,
263,
10503,
440,
272,
3633,
1048,
26411,
1099,
30010,
29879,
3942,
29892,
322,
896,
892,
8852,
297,
5007,
714,
278,
13911,
800,
322,
1568,
310,
278,
6509,
515,
278,
2243,
2247,
29889,
450,
6964,
310,
278,
410,
11476,
515,
8227,
5890,
304,
2531,
29877,
8204,
471,
263,
1820,
2125,
3448,
363,
1556,
310,
278,
27335,
29889,
1670,
892,
1784
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
### Project:phpdoc
### Description:Moodle API Documentation
### File:
### Path:./mod/folder/pix/monologo.png
### Content:�PNG
| [
1,
835,
8010,
29901,
1961,
1514,
13,
2277,
29937,
12953,
29901,
29924,
2092,
280,
3450,
10854,
362,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
1545,
29914,
12083,
29914,
29886,
861,
29914,
3712,
1189,
29877,
29889,
2732,
13,
835,
10576,
29901,
30140,
29925,
9312,
30004,
13,
29,
13,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
Questionnaire Personality test - MoodleDocs Forums Documentation Downloads Demo Tracker Development Translation Search Search Moodle Sites What are you looking for? Learn about Moodles products, like Moodle LMS or Moodle Worplace, or find a Moodle Certified Service Provider. Moodle.com Our social network to share and curate open educational resources. MoodleNet Courses and programs to develop your skills as a Moodle educator, administrator, designer or developer. Moodle Academy Moodle.com Learn about Moodles products, like Moodle LMS or Moodle Worplace, or find a Moodle Certified Service Provider. MoodleNet Our social network to share and curate open educational resources. Moodle Academy Courses and programs to develop your skills as a Moodle educator, administrator, designer or developer. Documentation Menu Main pageTable of contentsDocs overviewMoreRecent changes Log in 3.10 docs3.11 docs 3.9 docs Article Page Comments View source History - Note: You are currently viewing documentation for Moodle 3.10. Up-to-date documentation for the latest stable version of Moodle may be available here: Questionnaire Personality test. Questionnaire Personality test From MoodleDocsJump to:navigation, search Main page Managing a Moodle course Activities Questionnaire Questionnaire Personality test Questionnaire Adding/editing a questionnaire Advanced settings Adding questions Viewing responses Conditional branching Personality test Index View Contents 1 Overview 1.1 Definition 1.2 Organization 1.3 Settings 2 Global Feedback example 2.1 Questions 2.2 Feedback 2.2.1 Editing Questionnaire Feedback Sections 2.2.1.1 Sections 2.2.1.2 Section heading 2.2.1.3 Section questions 2.2.1.4 Section messages 2.3 Report 3 Several sections Feedback example 3.1 Questions 3.2 Feedback 3.2.1 Feedback options 3.2.2 Editing Questionnaire Feedback Sections 3.3 Report 4 Bipolar results 5 Chart display 5.1 Site settings 5.2 Chart types Overview Definition A personality test is a tool that attempts to measure a persons social interaction skills and patterns of behavior. (US legal definition). In the Moodle Questionnaire add-on, the "personality test" feature enables a questionnaire creator to attribute different "values" to the answers to certain types of questions. Those values can be added into scores - globally or in several "sections" - and relevant feedback messages based on those scores can be displayed to the respondent. Given the particular nature of the "personality test" feature, great care should be exercised when using it in questionnaires. Organization The following question types can be used with the "personality test" feature: Radio buttons, Dropdown Box, Rate and Yes/No. In order for the answers to those questions to be "scored", they must have a question name, must be required and each of their choices must have a value. For the Yes/No question, the default values are 1 for a Yes answer and 0 for a No. Settings See the examples below. Global Feedback example Adapted from Questions Create Q1 as a Radio Buttons (or Dropdown Box) question type Question Name: feel your best Response Required: Yes. We are giving question Q1 a name and setting it as Required because we plan to use it in the Personality test feedback. Question Text: When do you feel your best? Possible answers: 2=In the morning 4=During the afternoon and early evening 6=Late at night Each possible answer choice begins with a value immediately followed by the equal sign (=) immediately followed by the choice words(). The values attributed to the various choices must be carefully considered in order to obtain a coherent "score" when they are added up in the feedback score calculation. Here we are using the values as given in the "personality fun test" of our example. () No space before nor after the equal sign (=). Continue to create all 10 questions in the sample questionnaire. Feedback Now go to the questionnaires Feedback page (accessed from the tab or the settings menu). In the Feedback options dropdown box, select the option you want - No feedback, Global feedback or Feedback sections. You may use the Feedback notes field to enter text which will be displayed to your respondents at the end of their "Feedback report", e.g. external link to more information on the topic, etc. Now click the Save settings and edit Feedback Sections button. Editing Questionnaire Feedback Sections On this page you can manage each feedback section you create. If you are using Global feedback there will only be one section. Sections The top part of the page lets you select the section to manage and create new sections. Section heading The Label text box should be kept as short as possible. It will be displayed in the Feedback report and - when the Chart feature is available in a later version of Questionnaire - will be used in the Charts. In the Heading field you may type a brief heading text. You may use 2 variables in this heading, $scorepercent and $oppositescorepercent. One example is: "You scored $scorepercent in this questionnaire." Section questions Here you can manage the questions assigned to this section. You can add and delete questions as well as assign the weight applied to this question in this section. Section messages This works exactly the same as the Moodle Quiz Score boundary system. Here are a few examples, still taken from our sample Personality "Fun" test. Feedback Score boundary 100 Feedback : Others see you as someone they should "handle with care" Youre seen as vain, self-centered, and who is extremely dominant. Others may admire you, wishing they could be more like you, but dont always trust you, hesitating to become too deeply involved with you. Feedback Score boundary 94 Feedback : Others see you as an exciting, highly volatile, rather impulsive personality; a natural leader, whos quick to make decisions, though not always the right ones. etc. Feedback Score boundary 85 etc. This starts with 3 default boundaries and associated messages, but you may add more boundaries if needed. When finished, click the Save changes button. Report This is how the Feedback report will look like to a respondent after taking our sample questionnaire. This table shows the global score for respondent plus, if any, the average global score for all participants. If the questionnaire is set to "separate groups", this box may show the average global score for the group that the actual respondent belongs to. In the first box of the Feedback Report we see the Heading text, which may include the value of the $scorepercent variable. In the second box we see the "personalized" feedback message, relevant to the Feedback score boundaries that the actual respondents score sits in. On the View all Responses page, the Feedback report heading will be displayed, together with the average Global score for All participants. If the questionnaire is set to "visible" or "separate groups", the average global score for the current group will be displayed. Several sections Feedback example A simplistic "health habits" questionnaire. Questions Create Q1 as a Rate question type Question Name: sports Response Required: Yes. Nb of scale items: 4. Type of rate scale: Normal. Question Text: How often do you practise these sports? Possible answers: cycling running swimming walking Named degrees: 0=never 1=once a month 2=every week 3=every day Create Q2 as a yes/no question type Question Name: fruit and vegetables Response Required: Yes. Question Text: Do you regularly eat fresh fruit and vegetables? Create Q3 as a Radio buttons question type Question Name: smoking Response Required: Yes. Question Text: How often do you smoke? Possible answers: 3=never 2=less than one packet per month 1=one packet per week 0=one packet per day Create Q4 as a Radio buttons question type Question Name: drinking Response Required: Yes. Question Text: How often do you drink alcohol? Possible answers: 3=never 2=less than one glass per month 1=one glass per week 0=one glass per day Feedback Now go to the questionnaires Feedback page. Feedback options Now that your questionnaire contains a number of questions which fill the requirements mentioned above for using the Personality test feature, the Feedback options section is available. In the Feedback options dropdown box, select Feedback sections. You may use the Feedback notes field to enter text which will be displayed to your respondents at the end of their "Feedback report", e.g. external link to more information on the topic, etc. Now click the Save settings and edit Feedback Sections button. Editing Questionnaire Feedback Sections On these pages you create, select and manage each feedback section. When you get to this page for the first time, an empty (New section) is available. You should re-name it by entering an appropriate label. CAUTION! Do not enter text in the first Label field, but in the New section section heading Label field below. Because we are going to use the bipolar Chart type for this questionnaire, rather than labelling our first section "Sports", you might label it with a "bipolar" label: "Sporty|Not Sporty" After this, you can enter a heading to use for this section. You can use the heading text to display the specific score for the current section, using the $scorepercent label. Click "Save changes" Below the "Feedback sections" Label and Heading fields is the section questions management. Here you can add, delete and assign weights to the questions for this section. You add a question by selecting it from the drop-down and clicking "Add question...". You delete a question by clicking the x next to it. You assign a weight by choosing a value from the numeric selector next to the question. For example here we assign just the "sports" question to the Sporty|Not Sporty section. After weve added one question, we can choose a smaller weight for a questions scores for the section. The fraction selected will be applied to the scores (individual and total) for that question in that section. That way a question can have a different impact on different sections. Note that selecting zero (0) is the same as selecting one (1). Now suppose you want your second section to be related to "healthy attitude" towards food, drinking and smoking. Go to the top set of fields (Feedback sections) enter the relevant label and click the Add new section button. For example, you can use here another bipolar label: "Healthy lifestyle|Unhealthy lifestyle". Then add the following questions to that section: fruit and vegetables, drinking and smoking. Below the questions, you can manage the messages for the various boundaries in each section. This works exactly the same as the Moodle Quiz Score boundary system. Here are a few examples, taken from our sample "Healthy habits" questionnaire. Feedback Score boundary 100 Feedback: You must be very fit. Congratulations! Feedback Score boundary 66 Feedback: Your physical activity is only average. Come on! Feedback Score boundary 33 Feedback: You seem to be a real couch potato. Make an effort! When finished, click the Save changes button. Report This is how the Feedback report will look like to a respondent after taking our sample questionnaire. This report is similar to the Global Feedback report in our previous example, except that now the score is separated into 2 sections. Bipolar results Some "personality tests" aim at detecting a bipolar characteristic in respondents character. For example, whether an individuals profile is rather visual or auditory, global or analytic, extrovert or introvert etc. See Julian Rotters theory of Locus of Control. In such cases, you can enter the section labels as a set of 2 opposed (bipolar) concepts, separated by a pipe character. In a questionnaire based on the Locus of Control theory, this "bipolar" heading will give the following kind of report: Chart display Site settings Upon installing or updating the Questionnaire plugin, its "site settings" page is displayed. On that Site administration Plugins Activity modules Questionnaire page, an admin can choose to enable the Chart feature site-wide. The default is No (do not enable). The Questionnaire Chart feature currently uses the RGraph libraries, which are licensed under the MIT type of open source license. Chart types Navigate to the Feedback page. You can choose to display or not the table of scores in the Feedback report. The Chart type drop down list that is available is dependent on the number of feedback sections in your questionnaire. Global Feedback (i.e. one section only): Bipolar bars or Vertical Progress bar. 2 Sections: Bipolar bars or Horizontal bars or Rose. More than 2 sections: Bipolar bars or Horizontal bars or Radar or Rose. Your choice of Chart type depends on the type of questions in your questionnaire. Its up to you to find out the most suitable Chart type. The Bipolar bars type is only suited when your feedback sections include Bipolar_results (see above). The selected Chart will be displayed on the All Responses page. It will be constructed with all participants results or, if the questionnaire is set to Visible Groups, with the results of the currently selected group. On an Individual Responses page, the current users current results Chart will be displayed, and also the All participants (or current group) results Chart. Some samples illustrating the complete Chart types that can be used are displayed below. Vertical Progress bar Bipolar bars Horizontal bars Radar Rose Retrieved from " Tools What links here Related changes Special pages Printable version Permanent link Page information In other languages Fran ais Espa ol This page was last edited on 10 April 2021, at 14:05. Content is available under GNU General Public License unless otherwise noted. Privacy About Moodle Docs Disclaimers | [
1,
894,
15421,
5196,
2877,
1243,
448,
341,
2092,
280,
29928,
12332,
1152,
6762,
10854,
362,
9943,
18132,
27819,
3201,
4937,
14650,
4103,
18411,
11856,
11856,
341,
2092,
280,
317,
3246,
1724,
526,
366,
3063,
363,
29973,
19530,
29876,
1048,
341,
2092,
793,
9316,
29892,
763,
341,
2092,
280,
365,
4345,
470,
341,
2092,
280,
19662,
6689,
29892,
470,
1284,
263,
341,
2092,
280,
18410,
2164,
6692,
1019,
5489,
29889,
341,
2092,
280,
29889,
510,
8680,
5264,
3564,
304,
6232,
322,
3151,
403,
1722,
28976,
7788,
29889,
341,
2092,
280,
6779,
315,
29781,
322,
11104,
304,
2693,
596,
25078,
408,
263,
341,
2092,
280,
6320,
1061,
29892,
27443,
29892,
23383,
470,
13897,
29889,
341,
2092,
280,
10355,
341,
2092,
280,
29889,
510,
19530,
29876,
1048,
341,
2092,
793,
9316,
29892,
763,
341,
2092,
280,
365,
4345,
470,
341,
2092,
280,
19662,
6689,
29892,
470,
1284,
263,
341,
2092,
280,
18410,
2164,
6692,
1019,
5489,
29889,
341,
2092,
280,
6779,
8680,
5264,
3564,
304,
6232,
322,
3151,
403,
1722,
28976,
7788,
29889,
341,
2092,
280,
10355,
315,
29781,
322,
11104,
304,
2693,
596,
25078,
408,
263,
341,
2092,
280,
6320,
1061,
29892,
27443,
29892,
23383,
470,
13897,
29889,
10854,
362,
20019,
4241,
1813,
3562,
310,
8118,
29928,
12332,
975,
1493,
20761,
4789,
296,
3620,
4522,
297,
29871,
29941,
29889,
29896,
29900,
10561,
29941,
29889,
29896,
29896,
10561,
29871,
29941,
29889,
29929,
10561,
21746,
9305,
461,
29879,
4533,
2752,
5298,
448,
3940,
29901,
887,
526,
5279,
1776,
292,
5106,
363,
341,
2092,
280,
29871,
29941,
29889,
29896,
29900,
29889,
5020,
29899,
517,
29899,
1256,
5106,
363,
278,
9281,
13714,
1873,
310,
341,
2092,
280,
1122,
367,
3625,
1244,
29901,
894,
15421,
5196,
2877,
1243,
29889,
894,
15421,
5196,
2877,
1243,
3645,
341,
2092,
280,
29928,
12332,
29967,
3427,
304,
29901,
15466,
29892,
2740,
4241,
1813,
259,
2315,
6751,
263,
341,
2092,
280,
3236,
259,
21775,
1907,
259,
894,
15421,
259,
894,
15421,
5196,
2877,
1243,
894,
15421,
18804,
29914,
5628,
292,
263,
1139,
15421,
29287,
6055,
18804,
5155,
4533,
292,
20890,
11790,
3245,
5443,
292,
5196,
2877,
1243,
11374,
4533,
2866,
1237,
29871,
29896,
6811,
1493,
29871,
29896,
29889,
29896,
21940,
29871,
29896,
29889,
29906,
9205,
2133,
29871,
29896,
29889,
29941,
19215,
29871,
29906,
12002,
5169,
287,
1627,
1342,
29871,
29906,
29889,
29896,
894,
29879,
29871,
29906,
29889,
29906,
5169,
287,
1627,
29871,
29906,
29889,
29906,
29889,
29896,
7641,
292,
894,
15421,
5169,
287,
1627,
922,
1953,
29871,
29906,
29889,
29906,
29889,
29896,
29889,
29896,
922,
1953,
29871,
29906,
29889,
29906,
29889,
29896,
29889,
29906,
9779,
28435,
29871,
29906,
29889,
29906,
29889,
29896,
29889,
29941,
9779,
5155,
29871,
29906,
29889,
29906,
29889,
29896,
29889,
29946,
9779,
7191,
29871,
29906,
29889,
29941,
13969,
29871,
29941,
21882,
13926,
5169,
287,
1627,
1342,
29871,
29941,
29889,
29896,
894,
29879,
29871,
29941,
29889,
29906,
5169,
287,
1627,
29871,
29941,
29889,
29906,
29889,
29896,
5169,
287,
1627,
3987,
29871,
29941,
29889,
29906,
29889,
29906,
7641,
292,
894,
15421,
5169,
287,
1627,
922,
1953,
29871,
29941,
29889,
29941,
13969,
29871,
29946,
350,
666,
10170,
2582,
29871,
29945,
14477,
2479,
29871
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
### Project:devdocs
### Description:Source of the Moodle Developer Resources and Documentation
### File:
### Path:./blocks/amd/src/events.js
### Content:// This file is part of Moodle - http://moodle.org/ //
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Javascript events for the `core_block` subsystem.
*
* @module core_block/events
* @copyright 2021 Andrew Nicols <[email protected]>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @since 4.0
*
* @example <caption>Example of listening to a block event.</caption>
* import {eventTypes as blockEventTypes} from 'core_block/events';
*
* document.addEventListener(blockEventTypes.blockContentUpdated, e => {
* window.console.log(e.target); // The HTMLElement relating to the block whose content was updated.
* window.console.log(e.detail.instanceId); // The instanceId of the block that was updated.
* });
*/
import {dispatchEvent} from 'core/event_dispatcher';
/**
* Events for `core_block`.
*
* @constant
* @property {String} blockContentUpdated See {@link event:blockContentUpdated}
*/
export const eventTypes = {
/**
* An event triggered when the content of a block has changed.
*
* @event blockContentUpdated
* @type {CustomEvent}
* @property {HTMLElement} target The block element that was updated
* @property {object} detail
* @property {number} detail.instanceId The block instance id
*/
blockContentUpdated: 'core_block/contentUpdated',
};
/**
* Trigger an event to indicate that the content of a block was updated.
*
* @method notifyBlockContentUpdated
* @param {HTMLElement} element The HTMLElement containing the updated block.
* @returns {CustomEvent}
* @fires blockContentUpdated
*/
export const notifyBlockContentUpdated = element => dispatchEvent(
eventTypes.blockContentUpdated,
{
instanceId: element.dataset.instanceId,
},
element
);
let legacyEventsRegistered = false;
if (!legacyEventsRegistered) {
// The following event triggers are legacy and will be removed in the future.
// The following approach provides a backwards-compatability layer for the new events.
// Code should be updated to make use of native events.
Y.use('event', 'moodle-core-event', Y => {
// Provide a backwards-compatability layer for YUI Events.
document.addEventListener(eventTypes.blockContentUpdated, e => {
// Trigger the legacy YUI event.
Y.Global.fire(M.core.event.BLOCK_CONTENT_UPDATED, {instanceid: e.detail.instanceId});
});
});
legacyEventsRegistered = true;
}
, | [
1,
835,
8010,
29901,
3359,
2640,
13,
2277,
29937,
12953,
29901,
4435,
310,
278,
341,
2092,
280,
10682,
261,
27562,
322,
10854,
362,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
1271,
29879,
29914,
22490,
29914,
4351,
29914,
13604,
29889,
1315,
13,
835,
10576,
597,
910,
934,
338,
760,
310,
341,
2092,
280,
448,
1732,
597,
29885,
2092,
280,
29889,
990,
29914,
849,
13,
458,
341,
2092,
280,
338,
3889,
7047,
29901,
366,
508,
2654,
391,
2666,
372,
322,
29914,
272,
6623,
13,
458,
372,
1090,
278,
4958,
310,
278,
15143,
4593,
5236,
19245,
408,
6369,
491,
13,
458,
278,
12362,
18540,
10606,
29892,
2845,
1873,
29871,
29941,
310,
278,
19245,
29892,
470,
13,
458,
313,
271,
596,
2984,
29897,
738,
2678,
1873,
29889,
13,
458,
13,
458,
341,
2092,
280,
338,
13235,
297,
278,
4966,
393,
372,
674,
367,
5407,
29892,
13,
458,
541,
399,
1806,
8187,
2692,
13764,
29979,
399,
1718,
29934,
13566,
29979,
29936,
1728,
1584,
278,
2411,
2957,
1370,
21867,
29891,
310,
13,
458,
341,
1001,
3210,
13566,
2882,
6227,
11937,
470,
383,
1806,
8186,
1799,
15842,
319,
349,
8322,
2965,
13309,
1718,
349,
4574,
13152,
1660,
29889,
29871,
2823,
278,
13,
458,
15143,
4593,
5236,
19245,
363,
901,
4902,
29889,
13,
458,
13,
458,
887,
881,
505,
4520,
263,
3509,
310,
278,
15143,
4593,
5236,
19245,
13,
458,
3412,
411,
341,
2092,
280,
29889,
29871,
960,
451,
29892,
1074,
529,
1124,
597,
1636,
29889,
18713,
29889,
990,
29914,
506,
11259,
3779,
29889,
13,
13,
7918,
13,
334,
12728,
4959,
363,
278,
421,
3221,
29918,
1271,
29952,
1014,
5205,
29889,
13,
334,
13,
334,
732,
5453,
268,
7136,
29918,
1271,
29914,
13604,
13,
334,
732,
8552,
1266,
259,
29906,
29900,
29906,
29896,
11571,
13656,
3775,
529,
392,
3973,
29992,
7823,
3775,
29889,
1111,
29889,
2679,
29958,
13,
334,
732,
506,
1947,
1678,
1732,
597,
1636,
29889,
18713,
29889,
990,
29914,
9708,
1508,
615,
29914,
29887,
572,
29889,
1420,
15143,
402,
7390,
325,
29941,
470,
2678,
13,
334,
732,
16076,
539,
29946,
29889,
29900,
13,
334,
13,
334,
732,
4773,
529,
6671,
29958,
14023,
310,
19866,
304,
263,
2908,
1741,
21106,
6671,
29958,
13,
334,
1053,
426,
3696,
10562,
408,
2908,
2624,
10562,
29913,
515,
525,
3221,
29918,
1271,
29914,
13604,
2670,
13,
334,
13,
334,
1842,
29889,
16592,
29898,
1271,
2624,
10562,
29889,
1271,
3916,
29248,
29892,
321,
1149,
426,
13,
334,
268,
3474,
29889,
11058,
29889,
1188,
29898,
29872,
29889,
5182,
416,
849,
450,
3154,
29924,
1307,
944,
1104,
1218,
304,
278,
2908,
5069,
2793,
471,
4784,
29889,
13,
334,
268,
3474,
29889,
11058,
29889,
1188,
29898,
29872,
29889,
16432,
29889,
8758,
1204,
416,
849,
450,
2777,
1204,
310,
278,
2908,
393,
471,
4784,
29889,
13,
334,
2604,
13,
3776,
13,
13,
5215,
426,
13369,
2624,
29913,
515,
525,
3221,
29914,
3696,
29918,
13369,
261,
2670,
13,
13,
7918,
13,
334,
28488,
363,
421,
3221,
29918,
1271,
1412,
13,
334,
13,
334,
732,
23362,
13,
334,
732,
6799,
426,
1231,
29913,
2908,
3916,
29248,
2823,
26633,
2324,
1741,
29901,
1271,
3916,
29248,
29913,
13
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
summary: Restore: Debug warning on cancel
type: Bug
project: Moodle
description: 0. Ensure debugging is set to DEVELOPER level 1. Start a restore (using any backup file). 2. Choosing to restore to a new course, proceed to Step 3 (Settings). 3. Click Cancel. The following warning appears: code You should really redirect before you start page output line 762 of /lib/outputrenderers.php: call to debugging() line 2591 of /lib/weblib.php: call to core_renderer->redirect_message() line 239 of /backup/util/ui/base_ui.class.php: call to redirect() line 272 of /backup/util/ui/restore_ui.class.php: call to base_ui->cancel_process() line 446 of /backup/util/ui/restore_ui_stage.class.php: call to restore_ui->cancel_process() line 105 of /backup/util/ui/restore_ui.class.php: call to restore_ui_stage_settings->process() line 80 of /backup/restore.php: call to restore_ui->process() code Other than the debugging message this does not cause a problem (the Continue link works correctly as expected). This probably is something I broke with the backup/restore changes in 2.6. Its broken in current master. I suspect it will be difficult to fix properly; not sure if there is an easy way to simply remove the warning. (At present I dont really have a lot of time to fix this, seeing it is a trivial problem and doesnt cause practical issues, but thought it might be worth documenting anyhow.)
comments: 1. Dupe of (apparently you introduced it Sam :P) | [
1,
15837,
29901,
11654,
487,
29901,
16171,
9177,
373,
12611,
13,
1853,
29901,
28209,
13,
4836,
29901,
341,
2092,
280,
13,
8216,
29901,
29871,
29900,
29889,
22521,
545,
13490,
338,
731,
304,
5012,
12064,
3927,
13171,
3233,
29871,
29896,
29889,
7370,
263,
17749,
313,
4746,
738,
16199,
934,
467,
29871,
29906,
29889,
14542,
14556,
304,
17749,
304,
263,
716,
3236,
29892,
8469,
304,
16696,
29871,
29941,
313,
9585,
467,
29871,
29941,
29889,
16297,
1815,
2242,
29889,
450,
1494,
9177,
5692,
29901,
775,
887,
881,
2289,
6684,
1434,
366,
1369,
1813,
1962,
1196,
29871,
29955,
29953,
29906,
310,
847,
1982,
29914,
4905,
9482,
414,
29889,
1961,
29901,
1246,
304,
13490,
580,
1196,
29871,
29906,
29945,
29929,
29896,
310,
847,
1982,
29914,
2676,
1982,
29889,
1961,
29901,
1246,
304,
7136,
29918,
9482,
261,
976,
17886,
29918,
4906,
580,
1196,
29871,
29906,
29941,
29929,
310,
847,
1627,
786,
29914,
4422,
29914,
1481,
29914,
3188,
29918,
1481,
29889,
1990,
29889,
1961,
29901,
1246,
304,
6684,
580,
1196,
29871,
29906,
29955,
29906,
310,
847,
1627,
786,
29914,
4422,
29914,
1481,
29914,
5060,
487,
29918,
1481,
29889,
1990,
29889,
1961,
29901,
1246,
304,
2967,
29918,
1481,
976,
20713,
29918,
5014,
580,
1196,
29871,
29946,
29946,
29953,
310,
847,
1627,
786,
29914,
4422,
29914,
1481,
29914,
5060,
487,
29918,
1481,
29918,
19190,
29889,
1990,
29889,
1961,
29901,
1246,
304,
17749,
29918,
1481,
976,
20713,
29918,
5014,
580,
1196,
29871,
29896,
29900,
29945,
310,
847,
1627,
786,
29914,
4422,
29914,
1481,
29914,
5060,
487,
29918,
1481,
29889,
1990,
29889,
1961,
29901,
1246,
304,
17749,
29918,
1481,
29918,
19190,
29918,
11027,
976,
5014,
580,
1196,
29871,
29947,
29900,
310,
847,
1627,
786,
29914,
5060,
487,
29889,
1961,
29901,
1246,
304,
17749,
29918,
1481,
976,
5014,
580,
775,
5901,
1135,
278,
13490,
2643,
445,
947,
451,
4556,
263,
1108,
313,
1552,
2866,
14150,
1544,
1736,
5149,
408,
3806,
467,
910,
3117,
338,
1554,
306,
14455,
411,
278,
16199,
29914,
5060,
487,
3620,
297,
29871,
29906,
29889,
29953,
29889,
8011,
9391,
297,
1857,
5835,
29889,
306,
12326,
372,
674,
367,
5189,
304,
2329,
6284,
29936,
451,
1854,
565,
727,
338,
385,
4780,
982,
304,
3763,
3349,
278,
9177,
29889,
313,
4178,
2198,
306,
4555,
2289,
505,
263,
3287,
310,
931,
304,
2329,
445,
29892,
8790,
372,
338,
263,
12604,
1108,
322,
19403,
4556,
15031,
5626,
29892,
541,
2714,
372,
1795,
367,
7088,
1842,
292,
738,
3525,
1846,
13,
21032,
29901,
29871,
29896,
29889,
5334,
412,
310,
313,
932,
279,
2705,
366,
9129,
372,
3685,
584,
29925,
29897,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
summary: ADL TEST: CO-05a
type: Sub-task
project: Moodle
description: Bug to track compliance with named ADL test for SCORM 2004
comments: 1. I am no longer spending time as a volunteer working on SCORM 2004 issues - I will continue to support SCORM 1.2/AICC and the future work on Tin Can but all issues directly related to SCORM 2004 are now being closed as wont fix. For more information on the reasons SCORM 2004 is no longer being supported please see: This issue can be re-opened under the following conditions: - A patch is provided by someone in the community that fixes this issue. - The patch meets Moodles coding guidelines. - full testing instructions are provided that allows the issue to be tested correctly. - Unit tests (where possible) have been implemented. - The patch can be attributed directly to a SCORM 2004 ADL test that now passes with the patch (if the patch is related to running the SCORM package) - Screenshots of the SCORM 2004 ADL test being completed with the patch. If funding is provided to pay for the time of the SCORM maintainer to review/test/develop some of the above are not fixed requirements. If you can satisfy the above requirements please add the details to this bug and we can look at re-opening this issue. | [
1,
15837,
29901,
11033,
29931,
17067,
1254,
29901,
4810,
29899,
29900,
29945,
29874,
13,
1853,
29901,
3323,
29899,
7662,
13,
4836,
29901,
341,
2092,
280,
13,
8216,
29901,
28209,
304,
5702,
752,
13036,
411,
4257,
11033,
29931,
1243,
363,
12314,
12054,
29871,
29906,
29900,
29900,
29946,
13,
21032,
29901,
29871,
29896,
29889,
306,
626,
694,
5520,
805,
2548,
931,
408,
263,
27886,
261,
1985,
373,
12314,
12054,
29871,
29906,
29900,
29900,
29946,
5626,
448,
306,
674,
6773,
304,
2304,
12314,
12054,
29871,
29896,
29889,
29906,
29914,
29909,
2965,
29907,
322,
278,
5434,
664,
373,
323,
262,
1815,
541,
599,
5626,
4153,
4475,
304,
12314,
12054,
29871,
29906,
29900,
29900,
29946,
526,
1286,
1641,
5764,
408,
20668,
2329,
29889,
1152,
901,
2472,
373,
278,
9590,
12314,
12054,
29871,
29906,
29900,
29900,
29946,
338,
694,
5520,
1641,
6969,
3113,
1074,
29901,
910,
2228,
508,
367,
337,
29899,
3150,
287,
1090,
278,
1494,
5855,
29901,
448,
319,
13261,
338,
4944,
491,
4856,
297,
278,
7881,
393,
24626,
445,
2228,
29889,
448,
450,
13261,
28103,
341,
2092,
793,
14137,
1410,
10652,
1475,
29889,
448,
2989,
6724,
11994,
526,
4944,
393,
6511,
278,
2228,
304,
367,
9528,
5149,
29889,
448,
13223,
6987,
313,
3062,
1950,
29897,
505,
1063,
8762,
29889,
448,
450,
13261,
508,
367,
29393,
4153,
304,
263,
12314,
12054,
29871,
29906,
29900,
29900,
29946,
11033,
29931,
1243,
393,
1286,
14517,
411,
278,
13261,
313,
361,
278,
13261,
338,
4475,
304,
2734,
278,
12314,
12054,
3577,
29897,
448,
317,
24546,
29882,
1862,
310,
278,
12314,
12054,
29871,
29906,
29900,
29900,
29946,
11033,
29931,
1243,
1641,
8676,
411,
278,
13261,
29889,
960,
5220,
292,
338,
4944,
304,
5146,
363,
278,
931,
310,
278,
12314,
12054,
7344,
261,
304,
9076,
29914,
1688,
29914,
4888,
777,
310,
278,
2038,
526,
451,
4343,
11780,
29889,
960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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
Authentication FAQ - MoodleDocs Forums Documentation Downloads Demo Tracker Development Translation Search Search Moodle Sites What are you looking for? Learn about Moodles products, like Moodle LMS or Moodle Worplace, or find a Moodle Certified Service Provider. Moodle.com Our social network to share and curate open educational resources. MoodleNet Courses and programs to develop your skills as a Moodle educator, administrator, designer or developer. Moodle Academy Moodle.com Learn about Moodles products, like Moodle LMS or Moodle Worplace, or find a Moodle Certified Service Provider. MoodleNet Our social network to share and curate open educational resources. Moodle Academy Courses and programs to develop your skills as a Moodle educator, administrator, designer or developer. Documentation Menu NavigationMain pageTable of contentsRecent changesDocs overviewTOOLBOXSEARCH Log in 3.2 docs3.6 docs 3.5 docs 3.4 docs 3.1 docs Article Page Comments View source History Note: You are currently viewing documentation for Moodle 3.2. Up-to-date documentation for the latest stable version of Moodle is probably available here: Authentication FAQ. Authentication FAQ From MoodleDocsJump to:navigation, search Main page Managing a Moodle site Authentication Authentication FAQ Authentication Managing authentication Manual accounts No login Email-based self-registration CAS server (SSO) External database FirstClass IMAP LDAP LTI MNet NNTP No authentication PAM (Pluggable Authentication Modules) POP3 server Shibboleth Authentication FAQ Contents 1 General Questions 1.1 What is an authentication plugin? 1.2 Can I have more than one authentication method? 1.3 Can a user have more than one authentication method? 2 Manual and Self-registration Questions 2.1 How do I enable the "Create new account" button on the login page? 2.2 How can I change the "Is this your first time here?" instructions? 2.3 What is the difference between enabling the email-based self-registration auth plugin and selecting it as the self-registration method? 2.4 How can I prevent spam accounts if I use self-registration? 2.5 Why isnt the Email-Based Self-Registration sending emails? 2.6 Can you arrange for Admins to be notified of new self registrations 3 Other authentication methods 3.1 How do I set up LDAP authentication? 3.2 How is the "No login" authentication plugin used? 3.3 Can I change manual accounts to LDAP? 3.4 How can I allow users to bypass NTML SSO? 4 Other Questions 4.1 How can young students or other users without email addresses create new Moodle accounts? 4.2 Where are users details stored? 4.3 How can I have users logging in with their email address? 4.4 How can I create an authentication plugin? 5 Any further questions? 6 See also General Questions What is an authentication plugin? An authentication plugin is a method of handling user authentication to Moodle when users log into your site. This means, in the most usual practice, matching a users username with their password. You can have one or more methods as the same time enabled on your site, but each user can only use one method of authentication at a time. So, you may have manual authentication for some users, LDAP for others, Shibboleth for others, but each user authenticates with only one of those. See Authentication for the list of these various methods and their use and settings. Can I have more than one authentication method? Yes, you can enable and configure as many methods as you need for your users in Site administration > Plugins > Authentication > Manage authentication. Note that the order of processing on this page does matter and after manual and nologin, you should next put the method that most users will have. See Managing Authentication for details. Can a user have more than one authentication method? No, a user account has only one authentication method at a time. You can can change this method for a user, but you will also need to handle issues such as passwords, etc. that arise from this. Manual and Self-registration Questions How do I enable the "Create new account" button on the login page? To display the "Is this your first time here?" instructions and the "Create new account" button: Make sure that the email-based self-registration plugin (or any other plugin that can support self-registration, such as LDAP) is enabled in Site administration > Plugins > Authentication > Manage authentication. Select the self-registration plugin in the Common settings. Warning: Enabling Self-registration results in the possibility of spammers creating accounts in order to use forum posts, blog entries etc. for spam. See Reducing spam in Moodle for ways of minimizing the risk. How can I change the "Is this your first time here?" instructions? See the section Is this your first time here? instructions in Managing authentication. What is the difference between enabling the email-based self-registration auth plugin and selecting it as the self-registration method? The difference is that self-registration is the general term for having a user create an account themselves. There could be many ways to do that, for instance to allow users to sign up with no email at all. Almost all web applications theses days, however, require users to first confirm their email address. This is to prevent spam accounts and other security issues. Moodle has only one type on self-registration currently, which is email-based. Therefore: to allow users to create self-registered accounts, you must do two things: Enable email-based self-registration authentication plugin to allow such users to be able to log in. Set Site administration > Plugins > Authentication > Managing authentication > Common settings > Self registration from Disable to Email-based self-registration to allow potential users to create their accounts. This division of labor into two settings means that it is possible to Disable Self-registration to prevent accounts, but as long as the Authentication method Email-self registration is still enabled, users will still be able to login and use their accounts. You could do this in a case where you may wish to allow signup for a limited period (a day, week, month) to allow users to self-create their accounts, then Disable creating new accounts while allowing the already created users to log in. How can I prevent spam accounts if I use self-registration? Warning: Enabling self-registration results in the possibility of spammers creating accounts in order to use forum posts, blog entries etc. for spam. This risk can be minimized by limiting self registration to particular email domains with the allowed email domains setting in Site administration > Plugins> Authentication > Manage authentication. Alternatively, self-registration may be enabled for a short period of time to allow users to create accounts, and then later disabled. See also: Reducing Spam in Moodle Why isnt the Email-Based Self-Registration sending emails? Email based sends out an email with a message and confirmation link to users when they sign up. Possible reason why this make not be working, and also a useful order to troubleshoot this, is: Is email working at all from Moodle for other features such as forum posts? If not, check that you have Messaging enabled and that your Email Settings are set. Is email for new sign ups working? You can test this yourself by signing up with a dummy test user and a valid email. Has the user checked their spam or junk folder? The email comes by default from your Moodle administrator account, and it is not uncommon for that to be flagged by some systems as potential spam. Did the user make a typo or other error in their email address or are they using the wrong account? Some good troubleshooting advice on the Community Forums Can you arrange for Admins to be notified of new self registrations If you are creating ONE manual account, then no. See this discussion: See Feature request here: See discussion Bulk upload can be set up to send e-mails. See the discussion here: (which includes a code hack to do this as well). Also see Other authentication methods How do I set up LDAP authentication? See LDAP authentication for full instructions. How is the "No login" authentication plugin used? The No login authentication plugin can be used to suspend particular user accounts. This means the user will not be able to log into Moodle, but their account is otherwise unchanged. Note: Users will not receive any error or other message when they try to log in but it simply will not allow them in. So it will appear as though their password was incorrect and they may attempt to reset it. Consider this issue when using No login, in order to reduce support issues. To do so: Access the users profile page. In the Settings block, click "Edit profile". Select "No login" as the authentication method (if the setting isnt shown, click the "Show advanced" button to reveal it). Click the "Update profile" button at the bottom of the page. Can I change manual accounts to LDAP? Yes. You can change any user account from one authentication method to another in Moodle, but you are of course responsible for making sure that the information matches and is valid in the new method. You can set this manually for each user in their user profile by changing the "Authentication" field. This can also be changed en masse for many users by using the User file upload tool Upload_users and changing the field called "auth". See this blog post on Changing manual accounts to LDAP using MySQL database and this ad-hoc query How can I allow users to bypass NTML SSO? When NTLM SSO is enabled on a Moodle site the SSO function always logs the user who is logged into the computer into Moodle. Sometimes you may need to override this feature and login to Moodle as another user. Example: when a teacher or site administrator needs to login to the students computer to troubleshoot a problem. Or the teacher simply needs to access functionality that is not available to the student and the teacher is not anywhere near her own computer. The problem is that the Moodle logout option is not available when SSO is enabled - the user simply gets logged back into Moodle. To bypass the SSO you can add this to the url: /login/index.php?authldap_skipntlmsso=1 Example: The NTLM SSO will be disabled (for this login only) and you will get the regular Moodle login page. Warning: This bypass wont work if you have the Force users to login site policy enabled. In that case, SSO is applied to all pages on the site, including the log in and log out pages. See the Using Moodle Bypass NTML SSO for Moode 2.2 forum discussion for details. Other Questions How can young students or other users without email addresses create new Moodle accounts? You can either use a fake email address when you upload the CSV file of your young students - or - you can use the Upload_users file upload tool to get around this, as follows Upload a CSV file without an email field. When previewing the accounts, set "Prevent email address duplicates" to No. In "Default values", type in an email address. When the users are uploaded, they will all have the same email address. (It will say "duplicated" but the accounts will work) See also No Email. Where are users details stored? Basic user account information, the required fields of username, first name, last name, and email address, which allow a user to be known to Moodle and are stored in the Moodle database. How much other user profile information is stored depends on the authentication method used for that user, and whether that information is stored externally to Moodle in another system. All user activity done in Moodle, e.g., course enrollments, grades, and so forth are stored in Moodle. "Internal" users are those who are created directly in Moodle and whose information is not directly linked to or synchronized with any other system. Manual and self-registration authentication methods are internal. "External" users are those whose user account information is based in another system and is synchronzied or referenced by Moodle when needed. LPAD, External database, CAS, Shibboleth, etc. are examples of external methods. How can I have users logging in with their email address? This is set in Site administration > Plugins > Authentication > Manage authentication > Common settings > Allow login via email. This feature was added in Moodle 2.7. How can I create an authentication plugin? See Development: Authentication plugins. Any further questions? Please post in the Authentication forum on moodle.org. See also Accounts FAQ Retrieved from " Categories: AuthenticationFAQ Tools What links here Related changes Special pages Printable version Permanent link Page information In other languages Deutsch Espa ol This page was last edited on 18 February 2016, at 07:51. Content is available under GNU General Public License unless otherwise noted. Privacy policy About Moodle Docs Disclaimers | [
1,
27241,
13515,
29984,
448,
341,
2092,
280,
29928,
12332,
1152,
6762,
10854,
362,
9943,
18132,
27819,
3201,
4937,
14650,
4103,
18411,
11856,
11856,
341,
2092,
280,
317,
3246,
1724,
526,
366,
3063,
363,
29973,
19530,
29876,
1048,
341,
2092,
793,
9316,
29892,
763,
341,
2092,
280,
365,
4345,
470,
341,
2092,
280,
19662,
6689,
29892,
470,
1284,
263,
341,
2092,
280,
18410,
2164,
6692,
1019,
5489,
29889,
341,
2092,
280,
29889,
510,
8680,
5264,
3564,
304,
6232,
322,
3151,
403,
1722,
28976,
7788,
29889,
341,
2092,
280,
6779,
315,
29781,
322,
11104,
304,
2693,
596,
25078,
408,
263,
341,
2092,
280,
6320,
1061,
29892,
27443,
29892,
23383,
470,
13897,
29889,
341,
2092,
280,
10355,
341,
2092,
280,
29889,
510,
19530,
29876,
1048,
341,
2092,
793,
9316,
29892,
763,
341,
2092,
280,
365,
4345,
470,
341,
2092,
280,
19662,
6689,
29892,
470,
1284,
263,
341,
2092,
280,
18410,
2164,
6692,
1019,
5489,
29889,
341,
2092,
280,
6779,
8680,
5264,
3564,
304,
6232,
322,
3151,
403,
1722,
28976,
7788,
29889,
341,
2092,
280,
10355,
315,
29781,
322,
11104,
304,
2693,
596,
25078,
408,
263,
341,
2092,
280,
6320,
1061,
29892,
27443,
29892,
23383,
470,
13897,
29889,
10854,
362,
20019,
23001,
6330,
1813,
3562,
310,
8118,
4789,
296,
3620,
29928,
12332,
975,
1493,
4986,
5607,
8456,
29990,
1660,
1718,
3210,
4522,
297,
29871,
29941,
29889,
29906,
10561,
29941,
29889,
29953,
10561,
29871,
29941,
29889,
29945,
10561,
29871,
29941,
29889,
29946,
10561,
29871,
29941,
29889,
29896,
10561,
21746,
9305,
461,
29879,
4533,
2752,
5298,
3940,
29901,
887,
526,
5279,
1776,
292,
5106,
363,
341,
2092,
280,
29871,
29941,
29889,
29906,
29889,
5020,
29899,
517,
29899,
1256,
5106,
363,
278,
9281,
13714,
1873,
310,
341,
2092,
280,
338,
3117,
3625,
1244,
29901,
27241,
13515,
29984,
29889,
27241,
13515,
29984,
3645,
341,
2092,
280,
29928,
12332,
29967,
3427,
304,
29901,
15466,
29892,
2740,
4241,
1813,
259,
2315,
6751,
263,
341,
2092,
280,
3268,
259,
27241,
259,
27241,
13515,
29984,
27241,
2315,
6751,
10760,
2315,
950,
15303,
1939,
6464,
22608,
29899,
6707,
1583,
29899,
1727,
8306,
315,
3289,
1923,
313,
1799,
29949,
29897,
3985,
2566,
3824,
2385,
306,
23827,
365,
29928,
3301,
365,
24301,
341,
6779,
405,
29940,
3557,
1939,
10760,
349,
5194,
313,
3247,
12981,
519,
27241,
3382,
2540,
29897,
349,
4590,
29941,
1923,
1383,
747,
833,
280,
386,
27241,
13515,
29984,
2866,
1237,
29871,
29896,
4593,
894,
29879,
29871,
29896,
29889,
29896,
1724,
338,
385,
10760,
7079,
29973,
29871,
29896,
29889,
29906,
1815,
306,
505,
901,
1135,
697,
10760,
1158,
29973,
29871,
29896,
29889,
29941,
1815,
263,
1404,
505,
901,
1135,
697,
10760,
1158,
29973,
29871,
29906,
2315,
950,
322,
21782,
29899,
1727,
8306,
894,
29879,
29871,
29906,
29889,
29896,
1128,
437,
306,
9025,
278,
376,
4391,
716,
3633,
29908,
2826,
373,
278,
6464,
1813,
29973,
29871,
29906,
29889,
29906,
1128,
508,
306,
1735,
278,
376,
3624,
445,
596,
937,
931,
1244,
3026,
11994,
29973,
29871,
29906,
29889,
29941,
1724,
338,
278,
4328,
1546,
427,
17961,
278,
4876,
29899,
6707,
1583,
29899,
1727,
8306,
4817,
7079,
322,
18851,
372,
408,
278,
1583,
29899,
1727,
8306,
1158
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
summary: Data migration for AP field changes
type: Task
project: MoodleNet
description: Because we are using a generic library which stores the information in AP format and we decided to make some field changes, we have to create a data migration to make these changes in the production database.
comments: | [
1,
15837,
29901,
3630,
20332,
363,
12279,
1746,
3620,
13,
1853,
29901,
9330,
13,
4836,
29901,
341,
2092,
280,
6779,
13,
8216,
29901,
7311,
591,
526,
773,
263,
10035,
3489,
607,
14422,
278,
2472,
297,
12279,
3402,
322,
591,
8459,
304,
1207,
777,
1746,
3620,
29892,
591,
505,
304,
1653,
263,
848,
20332,
304,
1207,
1438,
3620,
297,
278,
5802,
2566,
29889,
13,
21032,
29901,
29871,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
This policy explains in detail how “ILovePhilosophy.com” along with its affiliated companies (hereinafter “we”, “us”, “our”, “ILovePhilosophy.com”, “http://forums.ilovephilosophy.com”) and phpBB (hereinafter “they”, “them”, “their”, “phpBB software”, “www.phpbb.com”, “phpBB Group”, “phpBB Teams”) use any information collected during any session of usage by you (hereinafter “your information”). | [
1,
910,
8898,
18568,
297,
9493,
920,
1346,
6227,
994,
4819,
309,
7708,
29891,
29889,
510,
30024,
3412,
411,
967,
23736,
630,
14582,
313,
4150,
1099,
906,
1346,
705,
9363,
1346,
375,
9363,
1346,
473,
9363,
1346,
6227,
994,
4819,
309,
7708,
29891,
29889,
510,
9363,
1346,
1124,
597,
1454,
6762,
29889,
309,
994,
561,
309,
7708,
29891,
29889,
510,
30024,
29897,
322,
3989,
14388,
313,
4150,
1099,
906,
1346,
19562,
9363,
1346,
386,
331,
9363,
1346,
1552,
381,
9363,
1346,
1961,
14388,
7047,
9363,
1346,
1636,
29889,
1961,
1327,
29889,
510,
9363,
1346,
1961,
14388,
6431,
9363,
1346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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
### Project:jsdoc
### Description:JavaScript API Documentation builds for Moodle LMS
### File:
### Path:./mod/lesson/edit.php
### Content:<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Provides the interface for overall authoring of lessons
*
* @package mod_lesson
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
**/
require_once('../../config.php');
require_once($CFG->dirroot.'/mod/lesson/locallib.php');
$id = required_param('id', PARAM_INT);
$cm = get_coursemodule_from_id('lesson', $id, 0, false, MUST_EXIST);
$course = $DB->get_record('course', array('id' => $cm->course), '*', MUST_EXIST);
$lesson = new lesson($DB->get_record('lesson', array('id' => $cm->instance), '*', MUST_EXIST));
require_login($course, false, $cm);
$context = context_module::instance($cm->id);
require_capability('mod/lesson:manage', $context);
$mode = optional_param('mode', get_user_preferences('lesson_view', 'collapsed'), PARAM_ALPHA);
// Ensure a valid mode is set.
if (!in_array($mode, array('single', 'full', 'collapsed'))) {
$mode = 'collapsed';
}
$url = new moodle_url('/mod/lesson/edit.php', ['id' => $cm->id, 'mode' => $mode]);
$PAGE->set_url($url);
$PAGE->force_settings_menu();
$PAGE->set_secondary_active_tab('modulepage');
$PAGE->add_body_class('limitedwidth');
$PAGE->activityheader->set_description('');
if ($mode != get_user_preferences('lesson_view', 'collapsed') && $mode !== 'single') {
set_user_preference('lesson_view', $mode);
}
$lessonoutput = $PAGE->get_renderer('mod_lesson');
$PAGE->navbar->add(get_string('edit'));
echo $lessonoutput->header($lesson, $cm, $mode, false, null, get_string('edit', 'lesson'));
$actionarea = new \mod_lesson\output\edit_action_area($id, $url);
echo $lessonoutput->render($actionarea);
if (!$lesson->has_pages()) {
// There are no pages; give teacher some options
require_capability('mod/lesson:edit', $context);
echo $lessonoutput->add_first_page_links($lesson);
} else {
switch ($mode) {
case 'collapsed':
echo $lessonoutput->display_edit_collapsed($lesson, $lesson->firstpageid);
break;
case 'single':
$pageid = required_param('pageid', PARAM_INT);
$PAGE->url->param('pageid', $pageid);
$singlepage = $lesson->load_page($pageid);
echo $lessonoutput->display_edit_full($lesson, $singlepage->id, $singlepage->prevpageid, true);
break;
case 'full':
echo $lessonoutput->display_edit_full($lesson, $lesson->firstpageid, 0);
break;
}
}
echo $lessonoutput->footer();
, | [
1,
835,
8010,
29901,
1315,
1514,
13,
2277,
29937,
12953,
29901,
16963,
3450,
10854,
362,
23315,
363,
341,
2092,
280,
365,
4345,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
1545,
29914,
2222,
265,
29914,
5628,
29889,
1961,
13,
835,
10576,
29901,
8169,
1961,
13,
13,
458,
910,
934,
338,
760,
310,
341,
2092,
280,
448,
1732,
597,
29885,
2092,
280,
29889,
990,
29914,
13,
458,
13,
458,
341,
2092,
280,
338,
3889,
7047,
29901,
366,
508,
2654,
391,
2666,
372,
322,
29914,
272,
6623,
13,
458,
372,
1090,
278,
4958,
310,
278,
15143,
4593,
5236,
19245,
408,
6369,
491,
13,
458,
278,
12362,
18540,
10606,
29892,
2845,
1873,
29871,
29941,
310,
278,
19245,
29892,
470,
13,
458,
313,
271,
596,
2984,
29897,
738,
2678,
1873,
29889,
13,
458,
13,
458,
341,
2092,
280,
338,
13235,
297,
278,
4966,
393,
372,
674,
367,
5407,
29892,
13,
458,
541,
399,
1806,
8187,
2692,
13764,
29979,
399,
1718,
29934,
13566,
29979,
29936,
1728,
1584,
278,
2411,
2957,
1370,
21867,
29891,
310,
13,
458,
341,
1001,
3210,
13566,
2882,
6227,
11937,
470,
383,
1806,
8186,
1799,
15842,
319,
349,
8322,
2965,
13309,
1718,
349,
4574,
13152,
1660,
29889,
29871,
2823,
278,
13,
458,
15143,
4593,
5236,
19245,
363,
901,
4902,
29889,
13,
458,
13,
458,
887,
881,
505,
4520,
263,
3509,
310,
278,
15143,
4593,
5236,
19245,
13,
458,
3412,
411,
341,
2092,
280,
29889,
29871,
960,
451,
29892,
1074,
529,
1124,
597,
1636,
29889,
18713,
29889,
990,
29914,
506,
11259,
3779,
29889,
13,
13,
7918,
13,
334,
9133,
2247,
278,
5067,
363,
12463,
4148,
292,
310,
3109,
787,
13,
334,
13,
334,
732,
5113,
878,
29918,
2222,
265,
13,
334,
732,
8552,
1266,
259,
29896,
29929,
29929,
29929,
373,
2935,
6502,
13215,
2829,
294,
29871,
26633,
2324,
1732,
597,
29885,
2092,
280,
29889,
510,
29913,
13,
334,
732,
506,
1947,
1678,
1732,
597,
1636,
29889,
18713,
29889,
990,
29914,
9708,
1508,
615,
29914,
29887,
572,
29889,
1420,
15143,
402,
7390,
325,
29941,
470,
2678,
13,
3579,
29914,
13,
13,
12277,
29918,
10646,
877,
21546,
2917,
29889,
1961,
2157,
13,
12277,
29918,
10646,
1566,
9207,
29954,
976,
3972,
4632,
6169,
29914,
1545,
29914,
2222,
265,
29914,
2997,
1982,
29889,
1961,
2157,
13,
13,
29938,
333,
353,
3734,
29918,
3207,
877,
333,
742,
349,
1718,
5194,
29918,
10192,
416,
13,
13,
29938,
4912,
353,
679,
29918,
29883,
2470,
331,
397,
1297,
29918,
3166,
29918,
333,
877,
2222,
265,
742,
395,
333,
29892,
29871,
29900,
29892,
2089,
29892,
341,
17321,
29918,
5746,
9047,
416,
13,
29938,
15775,
353,
395,
4051,
976,
657,
29918,
11651,
877,
15775,
742,
1409,
877,
333,
29915,
1149,
395,
4912,
976,
15775,
511,
525,
29930,
742,
341,
17321,
29918,
5746,
9047,
416,
13,
29938,
2222,
265,
353,
716,
3109,
265,
1566,
4051,
976,
657,
29918,
11651,
877,
2222,
265,
742,
1409,
877,
333,
29915,
1149,
395,
4912,
976,
8758,
511,
525,
29930,
742,
341,
17321,
29918,
5746,
9047,
2483,
13,
13,
12277,
29918,
7507,
1566,
15775,
29892,
2089,
29892,
395,
4912,
416,
13,
13,
29938,
4703,
353,
3030,
29918,
5453
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
Farmington, MO (KTRS) An endangered silver advisory is in effect for a missing Farmington man.
According to the Missouri Highway Patrol, The St. Francois County Sheriff’s Department issued the advisory for 82-year-old Larry Shelley after he went missing from the 3900 block of Highway 221 in Farmington at around 7:30 PM Monday.
He is described as a white male, 5 feet 5 inches tall, 184 pounds with gray hair and brown eyes. He was last seen wearing a black and gray shirt with a white stripe, jeans, and boots.
He could be traveling in a dark gray 2019 Kia Soul with Missouri Plate number ED8-A6A, last seen heading east on highway 221.
If you have any information, please contact the St. Francois County Sheriff’s department at 573-431-3131. | [
1,
23354,
4885,
29892,
16999,
313,
29968,
5659,
29903,
29897,
530,
1095,
4600,
287,
13283,
25228,
706,
338,
297,
2779,
363,
263,
4567,
23354,
4885,
767,
29889,
13,
7504,
3278,
304,
278,
19171,
22080,
4121,
1467,
29892,
450,
624,
29889,
20923,
275,
5127,
17375,
2593,
30010,
29879,
10317,
16610,
278,
25228,
706,
363,
29871,
29947,
29906,
29899,
6360,
29899,
1025,
26977,
1383,
1808,
29891,
1156,
540,
3512,
4567,
515,
278,
29871,
29941,
29929,
29900,
29900,
2908,
310,
22080,
29871,
29906,
29906,
29896,
297,
23354,
4885,
472,
2820,
29871,
29955,
29901,
29941,
29900,
11278,
27822,
29889,
13,
3868,
338,
5439,
408,
263,
4796,
14263,
29892,
29871,
29945,
6900,
29871,
29945,
22831,
15655,
29892,
29871,
29896,
29947,
29946,
24261,
411,
16749,
11315,
322,
17354,
5076,
29889,
940,
471,
1833,
3595,
591,
4362,
263,
4628,
322,
16749,
528,
2728,
411,
263,
4796,
10076,
412,
29892,
1444,
550,
29892,
322,
1045,
1862,
29889,
13,
3868,
1033,
367,
9850,
292,
297,
263,
6501,
16749,
29871,
29906,
29900,
29896,
29929,
476,
423,
27339,
411,
19171,
1858,
403,
1353,
9408,
29947,
29899,
29909,
29953,
29909,
29892,
1833,
3595,
28435,
9755,
373,
29469,
29871,
29906,
29906,
29896,
29889,
13,
3644,
366,
505,
738,
2472,
29892,
3113,
6958,
278,
624,
29889,
20923,
275,
5127,
17375,
2593,
30010,
29879,
14311,
472,
29871,
29945,
29955,
29941,
29899,
29946,
29941,
29896,
29899,
29941,
29896,
29941,
29896,
29889,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
Stealth activities - MoodleDocs Forums Documentation Downloads Demo Tracker Development Translation Search Search Moodle Sites What are you looking for? Learn about Moodles products, like Moodle LMS or Moodle Worplace, or find a Moodle Certified Service Provider. Moodle.com Our social network to share and curate open educational resources. MoodleNet Courses and programs to develop your skills as a Moodle educator, administrator, designer or developer. Moodle Academy Moodle.com Learn about Moodles products, like Moodle LMS or Moodle Worplace, or find a Moodle Certified Service Provider. MoodleNet Our social network to share and curate open educational resources. Moodle Academy Courses and programs to develop your skills as a Moodle educator, administrator, designer or developer. Documentation Menu NavigationMain pageTable of contentsRecent changesDocs overviewTOOLBOXSEARCH Log in 3.5 docs3.10 docs 3.9 docs 3.8 docs Article Page Comments View source History Stealth activities From MoodleDocsJump to:navigation, search Main page Managing a Moodle course Courses Stealth activities Courses Adding a new course Upload courses Course categories Course settings Course formats Course homepage Restrict access Stealth activities Course FAQ Earlier versions of Moodle had a quirk that allowed activities (or resources) to be hidden inside extra weeks or topics, but still be accessible to students. These were known as orphaned activities and allowed Moodle users to achieve particular designs for their courses. In Moodle 3.3 onwards you can put any activity or resource into stealth mode to achieve this same effect in a more officially-supported way. Stealth activities in Moodle 3.3 Enabling stealth activities From Advanced features, administrators may Allow stealth activities in courses. Teachers will then be able to make activities (or resources) available to students but not shown on the course page. This feature is supported in "Weeks", "Topics", "Social" formats and on the front page. Other course formats may or may not implement it. How stealth activities work: example A teacher has a course with a number of quizzes. (1 below) They make the course page rather long. She would prefer to add the links to the quizzes in a single page (2 below) to make her course neater, but if she then hides the quizzes, students will not be able to access them: She turns on the editing and, from the Edit menu, hides each quiz. Note the blue alert message reminding teachers the activity is hidden. She then goes back into the Edit menu and selects the Make available option. Note the blue alert message changes to remind her the activity is available but will not be displayed on the course page to students. She will then be able to make the links to those quizzes in her single page and students will be able to see the quizzes, do them and view their results in the gradebook. Students will not see the list of quizzes: Note: Activities may be made available but not shown in any topic section, not just the bottom section, as used to be the case for "orphaned activities". What if the admin setting is disabled? Allow stealth activities is an Advanced feature. If the administrator has not enabled the setting, then it is still possible to make activities available but not shown on the course page. To make activities (or resources) available but not shown on the course page when Allow stealth activities is disabled: Hide the whole topic which contains (for example) the quizzes. (1 below). Make individual activities available from the Edit menu (2 below). Ensure that the single page which will contain the quiz links is in a topic where it will be visible to students (3 below). Retrieved from " Category: Course Tools What links here Related changes Special pages Printable version Permanent link Page information In other languages Deutsch Espa ol Fran ais Italiano This page was last edited on 14 February 2019, at 17:48. Content is available under GNU General Public License unless otherwise noted. Privacy About Moodle Docs Disclaimers | [
1,
2443,
4298,
14188,
448,
341,
2092,
280,
29928,
12332,
1152,
6762,
10854,
362,
9943,
18132,
27819,
3201,
4937,
14650,
4103,
18411,
11856,
11856,
341,
2092,
280,
317,
3246,
1724,
526,
366,
3063,
363,
29973,
19530,
29876,
1048,
341,
2092,
793,
9316,
29892,
763,
341,
2092,
280,
365,
4345,
470,
341,
2092,
280,
19662,
6689,
29892,
470,
1284,
263,
341,
2092,
280,
18410,
2164,
6692,
1019,
5489,
29889,
341,
2092,
280,
29889,
510,
8680,
5264,
3564,
304,
6232,
322,
3151,
403,
1722,
28976,
7788,
29889,
341,
2092,
280,
6779,
315,
29781,
322,
11104,
304,
2693,
596,
25078,
408,
263,
341,
2092,
280,
6320,
1061,
29892,
27443,
29892,
23383,
470,
13897,
29889,
341,
2092,
280,
10355,
341,
2092,
280,
29889,
510,
19530,
29876,
1048,
341,
2092,
793,
9316,
29892,
763,
341,
2092,
280,
365,
4345,
470,
341,
2092,
280,
19662,
6689,
29892,
470,
1284,
263,
341,
2092,
280,
18410,
2164,
6692,
1019,
5489,
29889,
341,
2092,
280,
6779,
8680,
5264,
3564,
304,
6232,
322,
3151,
403,
1722,
28976,
7788,
29889,
341,
2092,
280,
10355,
315,
29781,
322,
11104,
304,
2693,
596,
25078,
408,
263,
341,
2092,
280,
6320,
1061,
29892,
27443,
29892,
23383,
470,
13897,
29889,
10854,
362,
20019,
23001,
6330,
1813,
3562,
310,
8118,
4789,
296,
3620,
29928,
12332,
975,
1493,
4986,
5607,
8456,
29990,
1660,
1718,
3210,
4522,
297,
29871,
29941,
29889,
29945,
10561,
29941,
29889,
29896,
29900,
10561,
29871,
29941,
29889,
29929,
10561,
29871,
29941,
29889,
29947,
10561,
21746,
9305,
461,
29879,
4533,
2752,
5298,
2443,
4298,
14188,
3645,
341,
2092,
280,
29928,
12332,
29967,
3427,
304,
29901,
15466,
29892,
2740,
4241,
1813,
259,
2315,
6751,
263,
341,
2092,
280,
3236,
259,
315,
29781,
259,
2443,
4298,
14188,
315,
29781,
18804,
263,
716,
3236,
5020,
1359,
21888,
6325,
344,
13997,
6325,
344,
6055,
6325,
344,
21971,
6325,
344,
3271,
3488,
11654,
4146,
2130,
2443,
4298,
14188,
6325,
344,
13515,
29984,
5290,
4926,
6910,
310,
341,
2092,
280,
750,
263,
29871,
439,
6793,
29871,
393,
6068,
14188,
313,
272,
7788,
29897,
304,
367,
7934,
2768,
29871,
4805,
29871,
11405,
470,
23820,
29892,
541,
1603,
367,
15579,
304,
8041,
29889,
4525,
892,
2998,
408,
29871,
470,
16711,
287,
29871,
14188,
322,
6068,
341,
2092,
280,
4160,
304,
6176,
3153,
25517,
363,
1009,
21888,
29889,
512,
341,
2092,
280,
29871,
29941,
29889,
29941,
373,
2935,
366,
508,
1925,
738,
6354,
470,
6503,
964,
29871,
1886,
4298,
4464,
29871,
304,
6176,
445,
1021,
2779,
297,
263,
901,
22444,
29899,
23765,
982,
29889,
2443,
4298,
14188,
297,
341,
2092,
280,
29871,
29941,
29889,
29941,
1174,
17961,
1886,
4298,
14188,
3645,
29287,
5680,
29892,
6343,
4097,
1122,
29408,
1886,
4298,
14188,
297,
21888,
29889,
1920,
496,
414,
674,
769,
367,
2221,
304,
1207,
14188,
313,
272,
7788,
29897,
3625,
304,
8041,
541,
451,
4318,
373,
278,
3236,
1813,
29889,
910,
4682,
338,
6969,
297,
376,
4806,
14541,
613,
376,
7031,
1199,
613,
376,
6295,
1455,
29908,
21971,
322,
373,
278,
4565,
1813,
29889,
5901,
3236,
21971,
1122,
470,
1122,
451,
2334,
372,
29889,
1128,
1886,
4298,
14188,
664,
29901,
1342,
319,
15703,
756,
263,
3236,
411
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
summary: Require that students accept the submission statement setting should not be available if there is no submission statement
type: Bug
project: Moodle
description: If a teacher creates a new assignment, the setting Require that students accept the submission statement is available even when an admin has not entered a submission statement (with "Require that students accept the submission statement" left as default no). This is confusing for the teacher, since if they set it to Yes, then no submission statement is shown to students. A possible solution would be to have a default submission statement, such as "I certify that this is my own work." or similar.
comments: 1. I also found the help text for this setting at the assignment level was re-using the text for the admin setting which did not make sense. I have fixed that and added AMOS commands to copy the title for the new help text.
2. I also added a default value for the submission statement: "This assignment is all my own work and I have acknowledged any use of the works of other people."
3. Thanks Helen, Im sending this for integration now. Regards, Damyon
4. Just updated my branch names as they had the wrong issue number.
5. Hi, Damyon. The default statement is self-contradictory. "This assignment is all my own work and I have acknowledged any use of the works of other people." Perhaps, instead, it could be phrased: "This assignment is my own work, except where I have acknowledged the use of the works of other people."
6. Sure - Im happy with that change - Ill update the branches.
7. That language change has been added to the branches - it now reads "This assignment is my own work, except where I have acknowledged the use of the works of other people."
8. Thanks Damyon, this has been integrated now. Just noting I had to cherry-pick the commit and amend it as you had the wrong tracker issue number on there.
9. Hi Damyon, I noticed string error in 63 of /mod/assign/settings.php: call to get_string(). String is defined as submissionstatementdefault but used as submissionstatement_default
10. Thanks Rosie, I have pushed a new branch based on the current integration master, which adds a new patch to fix this (I made this a new branch because Sam had amended by original patch). The branch is -master-u1
11. Awesome thanks for picking that up Rosie, and for providing the fix Damyon. Its been integrated now and this is ready for testing once more.
12. Works as described Damyon
13. Y E S ! Closing as fixed, many thanks!
14. Removing docs_required as Ive updated the information here | [
1,
15837,
29901,
830,
1548,
393,
8041,
3544,
278,
29240,
3229,
4444,
881,
451,
367,
3625,
565,
727,
338,
694,
29240,
3229,
13,
1853,
29901,
28209,
13,
4836,
29901,
341,
2092,
280,
13,
8216,
29901,
960,
263,
15703,
10017,
263,
716,
12827,
29892,
278,
4444,
830,
1548,
393,
8041,
3544,
278,
29240,
3229,
338,
3625,
1584,
746,
385,
4113,
756,
451,
7802,
263,
29240,
3229,
313,
2541,
376,
1123,
1548,
393,
8041,
3544,
278,
29240,
3229,
29908,
2175,
408,
2322,
694,
467,
910,
338,
16051,
363,
278,
15703,
29892,
1951,
565,
896,
731,
372,
304,
3869,
29892,
769,
694,
29240,
3229,
338,
4318,
304,
8041,
29889,
319,
1950,
1650,
723,
367,
304,
505,
263,
2322,
29240,
3229,
29892,
1316,
408,
376,
29902,
2284,
1598,
393,
445,
338,
590,
1914,
664,
1213,
470,
2788,
29889,
13,
21032,
29901,
29871,
29896,
29889,
306,
884,
1476,
278,
1371,
1426,
363,
445,
4444,
472,
278,
12827,
3233,
471,
337,
29899,
4746,
278,
1426,
363,
278,
4113,
4444,
607,
1258,
451,
1207,
4060,
29889,
306,
505,
4343,
393,
322,
2715,
13862,
3267,
8260,
304,
3509,
278,
3611,
363,
278,
716,
1371,
1426,
29889,
13,
29906,
29889,
306,
884,
2715,
263,
2322,
995,
363,
278,
29240,
3229,
29901,
376,
4013,
12827,
338,
599,
590,
1914,
664,
322,
306,
505,
24084,
3192,
738,
671,
310,
278,
1736,
310,
916,
2305,
1213,
13,
29941,
29889,
1834,
21758,
29892,
1954,
9348,
445,
363,
13465,
1286,
29889,
2169,
3163,
29892,
9865,
29891,
265,
13,
29946,
29889,
3387,
4784,
590,
5443,
2983,
408,
896,
750,
278,
2743,
2228,
1353,
29889,
13,
29945,
29889,
6324,
29892,
9865,
29891,
265,
29889,
450,
2322,
3229,
338,
1583,
29899,
9996,
328,
919,
706,
29889,
376,
4013,
12827,
338,
599,
590,
1914,
664,
322,
306,
505,
24084,
3192,
738,
671,
310,
278,
1736,
310,
916,
2305,
1213,
11637,
29892,
2012,
29892,
372,
1033,
367,
12216,
1463,
29901,
376,
4013,
12827,
338,
590,
1914,
664,
29892,
5174,
988,
306,
505,
24084,
3192,
278,
671,
310,
278,
1736,
310,
916,
2305,
1213,
13,
29953,
29889,
18585,
448,
1954,
9796,
411,
393,
1735,
448,
8408,
2767,
278,
14202,
29889,
13,
29955,
29889,
2193,
4086,
1735,
756,
1063,
2715,
304,
278,
14202,
448,
372,
1286,
13623,
376,
4013,
12827,
338,
590,
1914,
664,
29892,
5174,
988,
306,
505,
24084,
3192,
278,
671,
310,
278,
1736,
310,
916,
2305,
1213,
13,
29947,
29889,
1834,
9865,
29891,
265,
29892,
445,
756,
1063,
23387,
1286,
29889,
3387,
451,
292,
306,
750,
304,
14954,
719,
29899,
23945,
278,
9063,
322,
626,
355,
372,
408,
366,
750,
278,
2743,
1020,
4937,
2228,
1353,
373,
727,
29889,
13,
29929,
29889,
6324,
9865,
29891,
265,
29892,
306,
10548,
1347,
1059,
297,
29871,
29953,
29941,
310,
847,
1545,
29914,
16645,
29914,
11027,
29889,
1961,
29901,
1246,
304,
679,
29918,
1807,
2141,
1714,
338,
3342,
408,
29240,
20788,
4381,
541,
1304,
408,
29240,
20788,
29918,
4381,
13,
29896,
29900,
29889,
1834,
5678,
347,
29892,
306,
505,
18760,
263,
716,
5443,
2729,
373,
278,
1857,
13465,
5835,
29892,
607,
12778,
263,
716,
13261,
304,
2329,
445,
313,
29902,
1754,
445,
263,
716
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
### Project:custom-htmlpurifier
### Description:Customised HTMLPurifier for Moodle - snapshots from this repository are stored in lib/htmlpurifier
### File:
### Path:./availability/condition/date/tests/behat/behat_availability_date.php
### Content:<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
use Behat\Mink\Element\NodeElement;
/**
* Behat availabilty-related steps definitions.
*
* @package availability_date
* @category test
* @copyright 2023 Laurent David <[email protected]>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class behat_availability_date extends behat_base {
/**
* Return the list of partial named selectors.
*
* @return array
*/
public static function get_partial_named_selectors(): array {
return [
new behat_component_named_selector(
'Date Restriction', ["//div[h3[@data-restriction-order=%locator% and contains(text(), 'Date restriction')]]"]
),
];
}
}
, | [
1,
835,
8010,
29901,
6341,
29899,
1420,
15503,
3709,
13,
2277,
29937,
12953,
29901,
7281,
3368,
4544,
29925,
332,
3709,
363,
341,
2092,
280,
448,
15101,
845,
1862,
515,
445,
9810,
526,
6087,
297,
4303,
29914,
1420,
15503,
3709,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
485,
737,
3097,
29914,
16122,
29914,
1256,
29914,
21150,
29914,
915,
2455,
29914,
915,
2455,
29918,
485,
737,
3097,
29918,
1256,
29889,
1961,
13,
835,
10576,
29901,
8169,
1961,
13,
458,
910,
934,
338,
760,
310,
341,
2092,
280,
448,
1732,
597,
29885,
2092,
280,
29889,
990,
29914,
13,
458,
13,
458,
341,
2092,
280,
338,
3889,
7047,
29901,
366,
508,
2654,
391,
2666,
372,
322,
29914,
272,
6623,
13,
458,
372,
1090,
278,
4958,
310,
278,
15143,
4593,
5236,
19245,
408,
6369,
491,
13,
458,
278,
12362,
18540,
10606,
29892,
2845,
1873,
29871,
29941,
310,
278,
19245,
29892,
470,
13,
458,
313,
271,
596,
2984,
29897,
738,
2678,
1873,
29889,
13,
458,
13,
458,
341,
2092,
280,
338,
13235,
297,
278,
4966,
393,
372,
674,
367,
5407,
29892,
13,
458,
541,
399,
1806,
8187,
2692,
13764,
29979,
399,
1718,
29934,
13566,
29979,
29936,
1728,
1584,
278,
2411,
2957,
1370,
21867,
29891,
310,
13,
458,
341,
1001,
3210,
13566,
2882,
6227,
11937,
470,
383,
1806,
8186,
1799,
15842,
319,
349,
8322,
2965,
13309,
1718,
349,
4574,
13152,
1660,
29889,
29871,
2823,
278,
13,
458,
15143,
4593,
5236,
19245,
363,
901,
4902,
29889,
13,
458,
13,
458,
887,
881,
505,
4520,
263,
3509,
310,
278,
15143,
4593,
5236,
19245,
13,
458,
3412,
411,
341,
2092,
280,
29889,
29871,
960,
451,
29892,
1074,
529,
1124,
597,
1636,
29889,
18713,
29889,
990,
29914,
506,
11259,
3779,
29889,
13,
1509,
1522,
2455,
29905,
29924,
682,
29905,
2642,
29905,
4247,
2642,
29936,
13,
13,
7918,
13,
334,
1522,
2455,
20847,
4427,
1017,
29899,
12817,
6576,
15848,
29889,
13,
334,
13,
334,
732,
5113,
1678,
20847,
3097,
29918,
1256,
13,
334,
732,
7320,
259,
1243,
13,
334,
732,
8552,
1266,
259,
29906,
29900,
29906,
29941,
27011,
4699,
529,
433,
24811,
29889,
29881,
16093,
29992,
29885,
2092,
280,
29889,
510,
29958,
13,
334,
732,
506,
1947,
1678,
1732,
597,
1636,
29889,
18713,
29889,
990,
29914,
9708,
1508,
615,
29914,
29887,
572,
29889,
1420,
15143,
402,
7390,
325,
29941,
470,
2678,
13,
3776,
13,
1990,
2306,
271,
29918,
485,
737,
3097,
29918,
1256,
4988,
2306,
271,
29918,
3188,
426,
13,
1678,
7762,
13,
268,
334,
7106,
278,
1051,
310,
7687,
4257,
1831,
943,
29889,
13,
268,
334,
13,
268,
334,
732,
2457,
1409,
13,
268,
3776,
13,
1678,
970,
2294,
740,
679,
29918,
3846,
29918,
17514,
29918,
2622,
943,
7295,
1409,
426,
13,
4706,
736,
518,
13,
9651,
716,
2306,
271,
29918,
9700,
29918,
17514,
29918,
14357,
29898,
13,
18884,
525,
2539,
11654,
19902,
742,
6796,
458,
4563,
29961,
29882,
29941,
17548,
1272,
29899,
5060,
19902,
29899,
2098,
16328,
2029,
1061,
29995,
322,
3743,
29898,
726,
3285,
525,
2539,
24345,
1495,
5262,
3108,
13,
9651,
10353,
13,
4706,
12940,
13,
1678,
500,
13,
29913,
13,
29892,
2,
2,
2,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] |
### Project:custom-mustache.js
### Description:None
### File:
### Path:./lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/IWriter.php
### Content:<?php
namespace PhpOffice\PhpSpreadsheet\Writer;
use PhpOffice\PhpSpreadsheet\Spreadsheet;
interface IWriter
{
public const SAVE_WITH_CHARTS = 1;
public const DISABLE_PRECALCULATE_FORMULAE = 2;
/**
* IWriter constructor.
*
* @param Spreadsheet $spreadsheet The spreadsheet that we want to save using this Writer
*/
public function __construct(Spreadsheet $spreadsheet);
/**
* Write charts in workbook?
* If this is true, then the Writer will write definitions for any charts that exist in the PhpSpreadsheet object.
* If false (the default) it will ignore any charts defined in the PhpSpreadsheet object.
*
* @return bool
*/
public function getIncludeCharts();
/**
* Set write charts in workbook
* Set to true, to advise the Writer to include any charts that exist in the PhpSpreadsheet object.
* Set to false (the default) to ignore charts.
*
* @param bool $includeCharts
*
* @return IWriter
*/
public function setIncludeCharts($includeCharts);
/**
* Get Pre-Calculate Formulas flag
* If this is true (the default), then the writer will recalculate all formulae in a workbook when saving,
* so that the pre-calculated values are immediately available to MS Excel or other office spreadsheet
* viewer when opening the file
* If false, then formulae are not calculated on save. This is faster for saving in PhpSpreadsheet, but slower
* when opening the resulting file in MS Excel, because Excel has to recalculate the formulae itself.
*
* @return bool
*/
public function getPreCalculateFormulas();
/**
* Set Pre-Calculate Formulas
* Set to true (the default) to advise the Writer to calculate all formulae on save
* Set to false to prevent precalculation of formulae on save.
*
* @param bool $precalculateFormulas Pre-Calculate Formulas?
*
* @return IWriter
*/
public function setPreCalculateFormulas($precalculateFormulas);
/**
* Save PhpSpreadsheet to file.
*
* @param resource|string $filename Name of the file to save
* @param int $flags Flags that can change the behaviour of the Writer:
* self::SAVE_WITH_CHARTS Save any charts that are defined (if the Writer supports Charts)
* self::DISABLE_PRECALCULATE_FORMULAE Don't Precalculate formulae before saving the file
*
* @throws Exception
*/
public function save($filename, int $flags = 0): void;
/**
* Get use disk caching where possible?
*
* @return bool
*/
public function getUseDiskCaching();
/**
* Set use disk caching where possible?
*
* @param bool $useDiskCache
* @param string $cacheDirectory Disk caching directory
*
* @return IWriter
*/
public function setUseDiskCaching($useDiskCache, $cacheDirectory = null);
/**
* Get disk caching directory.
*
* @return string
*/
public function getDiskCachingDirectory();
}
, | [
1,
835,
8010,
29901,
6341,
29899,
21969,
1829,
29889,
1315,
13,
2277,
29937,
12953,
29901,
8516,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
1982,
29914,
561,
567,
29886,
27844,
29914,
19167,
29914,
561,
1129,
600,
625,
29914,
561,
567,
29886,
27844,
29914,
4351,
29914,
4819,
29886,
5592,
27844,
29914,
10507,
29914,
29902,
10507,
29889,
1961,
13,
835,
10576,
29901,
8169,
1961,
13,
13,
22377,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
10507,
29936,
13,
13,
1509,
1963,
29886,
27247,
29905,
4819,
29886,
5592,
27844,
29905,
5592,
27844,
29936,
13,
13,
13248,
306,
10507,
13,
29912,
13,
1678,
970,
1040,
317,
7520,
29923,
29918,
29956,
13054,
29918,
3210,
8322,
29903,
353,
29871,
29896,
29936,
13,
13,
1678,
970,
1040,
28657,
6181,
29918,
15094,
29907,
1964,
29907,
13309,
3040,
29918,
19094,
29965,
4375,
29923,
353,
29871,
29906,
29936,
13,
13,
1678,
7762,
13,
268,
334,
306,
10507,
5823,
29889,
13,
268,
334,
13,
268,
334,
732,
3207,
1706,
27844,
395,
1028,
27844,
450,
9677,
9855,
393,
591,
864,
304,
4078,
773,
445,
399,
5385,
13,
268,
3776,
13,
1678,
970,
740,
4770,
11433,
29898,
5592,
27844,
395,
1028,
27844,
416,
13,
13,
1678,
7762,
13,
268,
334,
14350,
24469,
297,
664,
2909,
29973,
13,
268,
334,
4706,
960,
445,
338,
1565,
29892,
769,
278,
399,
5385,
674,
2436,
15848,
363,
738,
24469,
393,
1863,
297,
278,
1963,
29886,
5592,
27844,
1203,
29889,
13,
268,
334,
4706,
960,
2089,
313,
1552,
2322,
29897,
372,
674,
11455,
738,
24469,
3342,
297,
278,
1963,
29886,
5592,
27844,
1203,
29889,
13,
268,
334,
13,
268,
334,
732,
2457,
6120,
13,
268,
3776,
13,
1678,
970,
740,
679,
29419,
1451,
5708,
890,
13,
13,
1678,
7762,
13,
268,
334,
3789,
2436,
24469,
297,
664,
2909,
13,
268,
334,
4706,
3789,
304,
1565,
29892,
304,
22939,
278,
399,
5385,
304,
3160,
738,
24469,
393,
1863,
297,
278,
1963,
29886,
5592,
27844,
1203,
29889,
13,
268,
334,
4706,
3789,
304,
2089,
313,
1552,
2322,
29897,
304,
11455,
24469,
29889,
13,
268,
334,
13,
268,
334,
732,
3207,
6120,
395,
2856,
1451,
5708,
13,
268,
334,
13,
268,
334,
732,
2457,
306,
10507,
13,
268,
3776,
13,
1678,
970,
740,
731,
29419,
1451,
5708,
1566,
2856,
1451,
5708,
416,
13,
13,
1678,
7762,
13,
268,
334,
3617,
4721,
29899,
27065,
403,
3812,
15173,
7353,
13,
268,
334,
268,
960,
445,
338,
1565,
313,
1552,
2322,
511,
769,
278,
9227,
674,
337,
15807,
403,
599,
7063,
29872,
297,
263,
664,
2909,
746,
14238,
29892,
13,
268,
334,
4706,
577,
393,
278,
758,
29899,
15807,
630,
1819,
526,
7389,
3625,
304,
10888,
11388,
470,
916,
8034,
9677,
9855,
13,
268,
334,
4706,
6316,
556,
746,
8718,
278,
934,
13,
268,
334,
268,
960,
2089,
29892,
769,
7063,
29872,
526,
451,
12833,
373,
4078,
29889,
910,
338,
8473,
363,
14238,
297,
1963,
29886,
5592,
27844,
29892,
541,
20312,
13,
268,
334,
4706,
746,
8718,
278,
9819,
934,
297,
10888,
11388,
29892,
1363,
11388,
756,
304,
337,
15807,
403,
278,
7063,
29872,
3528,
29889,
13,
268,
334,
13,
268,
334
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
Portrait Painted in 1983; Located in Room 127.
[divider style=”dotted” height=”40px” ]
Ellen Ash Peters was the first woman appointed to the Supreme Court of Connecticut, the first woman to serve as Chief Justice of the Supreme Court of Connecticut, and the first woman to become a tenured professor at Yale Law School. Peters was born in Berlin in 1930 and fled to the United States with her family when she was nine years old. Peters graduated from Yale Law School in 1954, and, after clerking for Chief Judge Charles E. Clark of the United States Court of Appeals for the Second Circuit, returned to the Law School at the age of 26 as the first woman appointed to the faculty. Peters, a scholar of contracts and commercial law, taught at Yale Law School from 1956 until her appointment to the Connecticut Supreme Court in 1978. After serving as Associate Justice on the Connecticut Supreme Court for six years, she became the first female Chief Justice in 1984. Peters authored many important state constitutional decisions during her time on the court, including the notable case Sheff v. O’Neill, which held that Connecticut’s schoolchildren had a right under the state’s constitution to substantially equal educational opportunities. After she ceded her position as Chief Justice in 1996 and took senior status, Peters served as a Judge Trial Referee at the Appellate Court in Hartford from 2000 to 2014, and is now a Visiting Professor of Law at the University of Connecticut Law School. | [
1,
3371,
8356,
349,
2365,
287,
297,
29871,
29896,
29929,
29947,
29941,
29936,
5976,
630,
297,
25114,
29871,
29896,
29906,
29955,
29889,
13,
29961,
4563,
1241,
3114,
29922,
30024,
29881,
15048,
30024,
3171,
29922,
30024,
29946,
29900,
1756,
30024,
4514,
13,
29923,
645,
264,
12835,
15990,
471,
278,
937,
6114,
10658,
304,
278,
22569,
9245,
310,
27230,
29892,
278,
937,
6114,
304,
9080,
408,
14546,
17181,
310,
278,
22569,
9245,
310,
27230,
29892,
322,
278,
937,
6114,
304,
4953,
263,
3006,
2955,
12251,
472,
612,
744,
7927,
4523,
29889,
15990,
471,
6345,
297,
5115,
297,
29871,
29896,
29929,
29941,
29900,
322,
27481,
304,
278,
3303,
3900,
411,
902,
3942,
746,
1183,
471,
14183,
2440,
2030,
29889,
15990,
23588,
515,
612,
744,
7927,
4523,
297,
29871,
29896,
29929,
29945,
29946,
29892,
322,
29892,
1156,
1067,
5968,
292,
363,
14546,
26817,
5322,
382,
29889,
17129,
310,
278,
3303,
3900,
9245,
310,
2401,
29872,
1338,
363,
278,
6440,
12594,
3121,
29892,
4133,
304,
278,
7927,
4523,
472,
278,
5046,
310,
29871,
29906,
29953,
408,
278,
937,
6114,
10658,
304,
278,
4024,
18857,
29889,
15990,
29892,
263,
21344,
310,
8078,
29879,
322,
12128,
4307,
29892,
16187,
472,
612,
744,
7927,
4523,
515,
29871,
29896,
29929,
29945,
29953,
2745,
902,
28573,
304,
278,
27230,
22569,
9245,
297,
29871,
29896,
29929,
29955,
29947,
29889,
2860,
16330,
408,
6853,
403,
17181,
373,
278,
27230,
22569,
9245,
363,
4832,
2440,
29892,
1183,
3897,
278,
937,
12944,
14546,
17181,
297,
29871,
29896,
29929,
29947,
29946,
29889,
15990,
4148,
287,
1784,
4100,
2106,
16772,
284,
1602,
12112,
2645,
902,
931,
373,
278,
8973,
29892,
3704,
278,
18697,
1206,
2296,
600,
325,
29889,
438,
30010,
8139,
453,
29892,
607,
4934,
393,
27230,
30010,
29879,
3762,
11991,
750,
263,
1492,
1090,
278,
2106,
30010,
29879,
16772,
304,
23228,
368,
5186,
28976,
28602,
1907,
29889,
2860,
1183,
274,
19226,
902,
2602,
408,
14546,
17181,
297,
29871,
29896,
29929,
29929,
29953,
322,
3614,
16336,
4660,
29892,
15990,
6766,
408,
263,
26817,
8602,
284,
9897,
23987,
472,
278,
2401,
514,
403,
9245,
297,
12321,
4006,
515,
29871,
29906,
29900,
29900,
29900,
304,
29871,
29906,
29900,
29896,
29946,
29892,
322,
338,
1286,
263,
5741,
11407,
11386,
310,
7927,
472,
278,
3014,
310,
27230,
7927,
4523,
29889,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
### Project:custom-html2text
### Description:None
### File:
### Path:./question/bank/usage/styles.css
### Content:.question-bank-table td.questionlastused span.date {
font-weight: 400;
font-size: .8em;
}
, | [
1,
835,
8010,
29901,
6341,
29899,
1420,
29906,
726,
13,
2277,
29937,
12953,
29901,
8516,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
12470,
29914,
9157,
29914,
21125,
29914,
9783,
29889,
4268,
13,
835,
10576,
29901,
29889,
12470,
29899,
9157,
29899,
2371,
22599,
29889,
12470,
4230,
3880,
10638,
29889,
1256,
426,
13,
1678,
4079,
29899,
7915,
29901,
29871,
29946,
29900,
29900,
29936,
13,
1678,
4079,
29899,
2311,
29901,
869,
29947,
331,
29936,
13,
29913,
13,
29892,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
Photo by Brian Richardson, Flickr via Creative Commons
The Phantom Piano
ByCarl Zimmer
When the brain goes awry, it can reveal to us some clues to how it works in all of us. In my latest “Matter” column for the New York Times, I look at a rare but fascinating disorder that causes people to hallucinate music. How someone could imagine that a piano was playing nearby–or a marching band or church choir–may tell us something about how our brains make sense of the world by making predictions about what comes next. Check it out. | [
1,
1963,
3747,
491,
15733,
6123,
1100,
29892,
383,
1406,
29878,
3025,
26635,
3468,
13,
1576,
1963,
15762,
349,
3328,
13,
2059,
8179,
29880,
796,
19400,
13,
10401,
278,
17294,
5771,
3773,
719,
29892,
372,
508,
10320,
284,
304,
502,
777,
1067,
1041,
304,
920,
372,
1736,
297,
599,
310,
502,
29889,
512,
590,
9281,
1346,
29924,
2620,
30024,
1897,
363,
278,
1570,
3088,
10277,
29892,
306,
1106,
472,
263,
10812,
541,
21028,
262,
1218,
766,
2098,
393,
9946,
2305,
304,
12713,
1682,
16976,
4696,
29889,
1128,
4856,
1033,
14034,
393,
263,
11914,
471,
8743,
20810,
29994,
272,
263,
8575,
292,
3719,
470,
6586,
3060,
381,
29994,
13029,
2649,
502,
1554,
1048,
920,
1749,
4105,
1144,
1207,
4060,
310,
278,
3186,
491,
3907,
27303,
1048,
825,
5304,
2446,
29889,
5399,
372,
714,
29889,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
Home / Anything Travel / All about road transportation
All about road transportation
Road transport is one among the three modes of transport. These include road, water and air transport. Road or land transport is also known as ground transport and is an inevitable part of today’s life. Nobody can imagine their day or night without this mode of transportation. Transportation in many places such as Chicago ground transportation is known for its amazing connectivity and wonderful, uninterrupted services. This article throws light on how useful and important is the ground transportation.
Advantages of road transportation
The ground or road transport is best among the three modes of transport because of less capital investment. The cost incurred on maintenance and construction is very less as compared to waterways and airways. Roads are mostly constructed by the government and require very less revenue or tax for usage. The other factor that makes this kind of transportation unique is its door to door service. Some of the best roadways such as in Chicago ground transportation offer outstanding services. Road transport reduces and minimizes cartage and helps in loading and un-loading of goods easily and reliably. This mode of transport is available where no other mode is possible such as hilly location, rural areas, villages and many others. Exchange of goods and services between towns and villages is all possible via roadways. Other plus point is their high flexibility without many expenses. The routes can be adjusted as per the need of the hour easily without advance planning and strict timings. This mode of transport is suitable for short to long distances with lesser risks of damage in transit.
Speed is the most important factor in terms of transportation. Unlike waterways, road transport not only requires less investment but is also faster and reliable. Everybody including a common man can own a private vehicle that can be used in the roads, making roadways the best mode of transport.
Disadvantages of Road transportation
In spite of various useful merits as excellent mode of transportation in various cities and states such as Chicago ground transportation, road transport has certain demerits as well. Unlike rail transport, motor transport is not that flexible during rainy seasons or in case of floods. Road transport is more prone to accidents and breakdowns and thus less safe in some cases. This mode of transport is not very suitable when it comes to heavy goods and long distances. Travelling with large amounts of goods is not comfortable with road transport and is possible with rail, water or air transport. Also rates and costs of other modes are fixed and vary slightly while that is not the case with roadways. Their cost and expenses may be less but vary largely depending upon the season, location and number of passengers.
Thus, be it any mode of transportation, air or water or road, one must be thankful to transportation services that make people’s lives easy and reliable. People can travel anywhere and everywhere in no time. With the advancement in transportation modes, the world has become a smaller and peaceful place to live in.
Image: dingcarrie
Posted in Anything Travel
How To Clean Towels While On Travel
Best travel gear for toddlers 2020
Best Hotels in Helsinki 2020
Places to visit in Long Island
Pros and Cons of Car rentals in Connecticut
One thought on “All about road transportation”
Sam Solo says:
It is true that you don’t have to invest in as much capital with ground transportation compared to flying. My wife and I are thinking about getting some trucks for some heavy hauling, but we don’t know where to start. It’s nice to know routing everything by ground transport isn’t as time-consuming or difficult as other modes of transportation.
Travel guides in toplist format
Welcome to Traveltoplist.com, a travel guide / travel blog with a lot of tips and tricks, destinations and hotels in an easy to read list format. Enjoy your stay!
Best rated hotels by hotel type all over the world
Best rated hotels all over the world
Best rated family hotels
Cheapest hotels all over the world
Best rated apartment hotels
Best rated small hotels
Best rated 5 star hotels
Best rated large hotels
Best rated hostels
Best rated boutique hotels
Best rated adults Only Hotels
Expensive hotels in different cities
Best rated motels
Popular hotel guides
Travel guides for India!
Visit New York!
In search for Luxury?
Everything about Dubai! | [
1,
8778,
847,
530,
1541,
292,
3201,
955,
847,
2178,
1048,
6520,
8608,
362,
13,
3596,
1048,
6520,
8608,
362,
13,
9588,
328,
8608,
338,
697,
4249,
278,
2211,
18893,
310,
8608,
29889,
4525,
3160,
6520,
29892,
4094,
322,
4799,
8608,
29889,
9321,
470,
2982,
8608,
338,
884,
2998,
408,
5962,
8608,
322,
338,
385,
297,
5750,
8270,
760,
310,
9826,
30010,
29879,
2834,
29889,
15706,
1486,
508,
14034,
1009,
2462,
470,
4646,
1728,
445,
4464,
310,
8608,
362,
29889,
15710,
362,
297,
1784,
7600,
1316,
408,
10059,
5962,
8608,
362,
338,
2998,
363,
967,
21863,
292,
4511,
2068,
322,
20695,
29892,
443,
1639,
14214,
5786,
29889,
910,
4274,
8026,
3578,
373,
920,
5407,
322,
4100,
338,
278,
5962,
8608,
362,
29889,
13,
3253,
29894,
19771,
310,
6520,
8608,
362,
13,
1576,
5962,
470,
6520,
8608,
338,
1900,
4249,
278,
2211,
18893,
310,
8608,
1363,
310,
3109,
7483,
13258,
358,
29889,
450,
3438,
297,
2764,
1127,
373,
25413,
322,
7632,
338,
1407,
3109,
408,
9401,
304,
4094,
1994,
322,
4799,
1994,
29889,
1528,
7925,
526,
11149,
13319,
491,
278,
5874,
322,
1996,
1407,
3109,
337,
9947,
470,
8818,
363,
8744,
29889,
450,
916,
7329,
393,
3732,
445,
2924,
310,
8608,
362,
5412,
338,
967,
3050,
304,
3050,
2669,
29889,
3834,
310,
278,
1900,
6520,
1994,
1316,
408,
297,
10059,
5962,
8608,
362,
5957,
714,
11235,
5786,
29889,
9321,
8608,
26830,
322,
6260,
7093,
7774,
482,
322,
6911,
297,
8363,
322,
443,
29899,
13234,
310,
22535,
5948,
322,
12536,
2197,
29889,
910,
4464,
310,
8608,
338,
3625,
988,
694,
916,
4464,
338,
1950,
1316,
408,
298,
9403,
4423,
29892,
17692,
10161,
29892,
18481,
322,
1784,
4045,
29889,
24004,
310,
22535,
322,
5786,
1546,
20248,
322,
18481,
338,
599,
1950,
3025,
6520,
1994,
29889,
5901,
2298,
1298,
338,
1009,
1880,
8525,
4127,
1728,
1784,
1518,
11259,
29889,
450,
12049,
508,
367,
10365,
287,
408,
639,
278,
817,
310,
278,
7234,
5948,
1728,
6564,
18987,
322,
9406,
5335,
886,
29889,
910,
4464,
310,
8608,
338,
13907,
363,
3273,
304,
1472,
24610,
411,
3109,
261,
5161,
2039,
310,
18658,
297,
1301,
277,
29889,
13,
26539,
338,
278,
1556,
4100,
7329,
297,
4958,
310,
8608,
362,
29889,
853,
4561,
4094,
1994,
29892,
6520,
8608,
451,
871,
6858,
3109,
13258,
358,
541,
338,
884,
8473,
322,
23279,
29889,
7569,
2587,
3704,
263,
3619,
767,
508,
1914,
263,
2024,
19716,
393,
508,
367,
1304,
297,
278,
25320,
29892,
3907,
6520,
1994,
278,
1900,
4464,
310,
8608,
29889,
13,
4205,
17263,
19771,
310,
9321,
8608,
362,
13,
797,
21100,
310,
5164,
5407,
2778,
1169,
408,
15129,
4464,
310,
8608,
362,
297,
5164,
14368,
322,
5922,
1316,
408,
10059,
5962,
8608,
362,
29892,
6520,
8608,
756,
3058,
316,
1050,
1169,
408,
1532,
29889,
853,
4561,
8367,
8608,
29892,
10992,
8608,
338,
451,
393,
25706,
2645,
1153,
4901,
20084,
470,
297,
1206,
310,
5685,
19653,
29889,
9321,
8608,
338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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
MWC 2015: Huawei demos smart city, M2M solutions
Huawei has showcased Safe City solution, collaborative Cloud solution for enterprises, M2M-based energy efficiency management solution, and the digital journey and intelligent bus solution.
Catch the live action at Mobile World Congress (MWC 2015)
Huawei’s Safe City solution provides broadband network coverage to connect HD cameras and sensors for protection. The solution includes LTE multimedia trunking system that supports emergency response and is compatible with video cloud, intelligent analysis, video conferencing, and voice trunking systems. Huawei has deployed Safe City solution in more than 100 cities across 30 countries.
The company said its Collaborative Cloud solution integrates applications, networks and terminals to provide cloud-based video communications and collaboration. It also enables mobile office services to enhance the operational efficiency of enterprise branches and SMEs.
Hong Kong-based telecom operator Pacific Century CyberWorks (PCCW) has deployed Collaborative Cloud solution to provide its customers with HD video communication services. In addition, deployed in conjunction with the Huawei AR G3 devices, the solution has helped Vodafone and Telecom Italia reduce its total cost of ownership (TCO).
Huawei provides an open M2M service quality management platform to keep users informed about energy consumption levels and uses diverse control policies to enable remote and centralized energy efficiency management. Australian telecom operator Optus has deployed the M2M solution to help The University of Melbourne manage and reduce energy consumption by 62.5 percent.
Transportation companies in various countries such as Bus Online in China and BizkaiBus in Spain have deployed Huawei’s Digital Journey solution
“Huawei believes that innovative ICT as the core driving force for smart cities. We are committed to laying a solid foundation that offers flexible information sharing, ubiquitous broadband access, a high level of service agility, and enhanced security for smart city development,” said David He, president, Marketing & Solution Sales Department, Huawei Enterprise Business Group.
Previous articleAirtel, China Mobile to work on LTE ecosystem
Next articleHuawei in pact with Giesecke & Devrient to boost IoT | [
1,
341,
29956,
29907,
29871,
29906,
29900,
29896,
29945,
29901,
379,
3357,
26599,
1261,
359,
15040,
4272,
29892,
341,
29906,
29924,
6851,
13,
29950,
3357,
26599,
756,
1510,
29883,
1463,
5701,
1725,
4412,
1650,
29892,
11465,
1230,
14293,
1650,
363,
3896,
558,
4637,
29892,
341,
29906,
29924,
29899,
6707,
5864,
19201,
10643,
1650,
29892,
322,
278,
13436,
16342,
322,
13052,
296,
3593,
1650,
29889,
13,
29907,
905,
278,
5735,
3158,
472,
21600,
2787,
11559,
313,
25365,
29907,
29871,
29906,
29900,
29896,
29945,
29897,
13,
29950,
3357,
26599,
30010,
29879,
5701,
1725,
4412,
1650,
8128,
7300,
4980,
3564,
23746,
304,
4511,
18435,
3949,
18464,
322,
4771,
943,
363,
13047,
29889,
450,
1650,
7805,
365,
4330,
19004,
534,
2960,
292,
1788,
393,
11286,
11176,
14703,
2933,
322,
338,
15878,
411,
4863,
9570,
29892,
13052,
296,
7418,
29892,
4863,
21388,
16750,
29892,
322,
7314,
534,
2960,
292,
6757,
29889,
379,
3357,
26599,
756,
21168,
5701,
1725,
4412,
1650,
297,
901,
1135,
29871,
29896,
29900,
29900,
14368,
4822,
29871,
29941,
29900,
10916,
29889,
13,
1576,
5001,
1497,
967,
13435,
3717,
1230,
14293,
1650,
3990,
1078,
8324,
29892,
14379,
322,
8638,
29879,
304,
3867,
9570,
29899,
6707,
4863,
7212,
800,
322,
24771,
29889,
739,
884,
28936,
10426,
8034,
5786,
304,
26371,
749,
278,
1751,
1288,
19201,
310,
3896,
7734,
14202,
322,
317,
2303,
29879,
29889,
13,
29950,
549,
12026,
29899,
6707,
4382,
510,
5455,
14328,
24027,
8045,
495,
5531,
29879,
313,
29925,
4174,
29956,
29897,
756,
21168,
13435,
3717,
1230,
14293,
1650,
304,
3867,
967,
20330,
411,
18435,
4863,
12084,
5786,
29889,
512,
6124,
29892,
21168,
297,
9589,
651,
411,
278,
379,
3357,
26599,
9033,
402,
29941,
9224,
29892,
278,
1650,
756,
9213,
478,
397,
2142,
650,
322,
9699,
510,
12201,
10032,
967,
3001,
3438,
310,
27428,
313,
29911,
3217,
467,
13,
29950,
3357,
26599,
8128,
385,
1722,
341,
29906,
29924,
2669,
11029,
10643,
7481,
304,
3013,
4160,
23388,
1048,
5864,
27430,
11174,
322,
3913,
16984,
2761,
24833,
304,
9025,
7592,
322,
6555,
1891,
5864,
19201,
10643,
29889,
9870,
4382,
510,
5455,
20693,
375,
756,
21168,
278,
341,
29906,
29924,
1650,
304,
1371,
450,
3014,
310,
22103,
10933,
322,
10032,
5864,
27430,
491,
29871,
29953,
29906,
29889,
29945,
10151,
29889,
13,
27395,
362,
14582,
297,
5164,
10916,
1316,
408,
8406,
13542,
297,
7551,
322,
350,
466,
1335,
29875,
16890,
297,
13616,
505,
21168,
379,
3357,
26599,
30010,
29879,
15918,
435,
473,
3801,
1650,
13,
30015,
29950,
3357,
26599,
1339,
17180,
393,
24233,
1230,
306,
1783,
408,
278,
7136,
19500,
4889,
363,
15040,
14368,
29889,
1334,
526,
19355,
304,
6568,
292,
263,
7773,
22778,
393,
16688,
25706,
2472,
19383,
29892,
318,
5365,
28358,
681,
7300,
4980,
2130,
29892,
263,
1880,
3233,
310,
2669,
946,
1793,
29892,
322,
427,
29308,
6993,
363,
15040,
4272,
5849,
3995,
1497,
4699,
940,
29892,
6673,
29892,
4485,
15133,
669,
24380,
28389,
10317,
29892,
379,
3357,
26599,
9041,
7734,
15197,
6431,
29889,
13,
6572,
2366,
4274,
29909,
2728,
295,
29892,
7551,
21600,
304,
664,
373,
365,
4330,
321,
3944,
973,
13,
9190,
4274,
29950,
3357,
26599,
297,
282,
627,
411,
402,
21928,
10055,
669
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
Figures/illustrations can be searched separately.
Your search words will be matched for in figure legends and the keywords assigned to the figures. | [
1,
5104,
1973,
29914,
453,
4627,
800,
508,
367,
17371,
16949,
29889,
13,
10858,
2740,
3838,
674,
367,
19228,
363,
297,
4377,
2814,
1975,
322,
278,
29361,
9859,
304,
278,
13994,
29889,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
N.C. CUs Launch National Fundraiser to Aid Injured War Vets
The industry's support-the-troops fundraising campaigns reach new levels next week in North Carolina with a two-day, 170-mile, CU-backed bike ride across the state.
By Jim Rubenstein | Updated on September 17, 2009
The industry’s support-the-troops fundraising campaigns reach new levels next week in North Carolina with a two-day, 170-mile, CU-backed bike ride across the state.
Spearheaded by the North Carolina Credit Union League and Marine FCU of Jacksonville, N.C., the beneficiaries-to a projected goal of $100,000-is a three-year-old military support group known as Hope for the Warriors helping Iraq and Afghanistan vets who lost limbs.
Professionals Advance at 3 CUs, Co-op Solutions & Corelation
Natasha Chilingerian | January 26, 2023
In addition, the National Credit Union Foundation appoints new board members.
How Well Is the Credit Card Market Functioning? The CFPB Is Asking
Michael Ogden | January 25, 2023
The bureau wants to hear from credit unions and other FIs about the consumer experience with credit cards.
Peter Strozniak | January 25, 2023
While the city’s crime problem was a factor that led to SCU’s decision, it was only one factor. | [
1,
405,
29889,
29907,
29889,
315,
15922,
997,
3322,
3086,
13249,
336,
7608,
304,
319,
333,
512,
29926,
2955,
3362,
478,
1691,
13,
1576,
13661,
29915,
29879,
2304,
29899,
1552,
29899,
29873,
307,
3554,
5220,
336,
5921,
11531,
29879,
6159,
716,
11174,
2446,
4723,
297,
4644,
13397,
411,
263,
1023,
29899,
3250,
29892,
29871,
29896,
29955,
29900,
29899,
26763,
29892,
315,
29965,
29899,
1627,
287,
4768,
446,
22203,
4822,
278,
2106,
29889,
13,
2059,
8507,
14985,
264,
5465,
891,
25723,
373,
3839,
29871,
29896,
29955,
29892,
29871,
29906,
29900,
29900,
29929,
13,
1576,
13661,
30010,
29879,
2304,
29899,
1552,
29899,
29873,
307,
3554,
5220,
336,
5921,
11531,
29879,
6159,
716,
11174,
2446,
4723,
297,
4644,
13397,
411,
263,
1023,
29899,
3250,
29892,
29871,
29896,
29955,
29900,
29899,
26763,
29892,
315,
29965,
29899,
1627,
287,
4768,
446,
22203,
4822,
278,
2106,
29889,
13,
10649,
279,
2813,
287,
491,
278,
4644,
13397,
24596,
277,
7761,
5165,
322,
15929,
7992,
29965,
310,
11886,
4909,
29892,
405,
29889,
29907,
1696,
278,
7795,
1654,
4314,
29899,
517,
263,
2060,
287,
7306,
310,
395,
29896,
29900,
29900,
29892,
29900,
29900,
29900,
29899,
275,
263,
2211,
29899,
6360,
29899,
1025,
9121,
2304,
2318,
2998,
408,
7963,
363,
278,
3362,
28739,
19912,
21375,
29939,
322,
27135,
9777,
325,
1691,
1058,
5714,
2485,
5824,
29889,
13,
1184,
29888,
1211,
1338,
25215,
749,
472,
29871,
29941,
315,
15922,
29892,
3189,
29899,
459,
4956,
17925,
669,
2994,
295,
362,
13,
29940,
271,
26840,
678,
309,
5621,
713,
891,
5490,
29871,
29906,
29953,
29892,
29871,
29906,
29900,
29906,
29941,
13,
797,
6124,
29892,
278,
3086,
24596,
277,
7761,
10606,
8167,
29879,
716,
7613,
5144,
29889,
13,
5328,
5674,
1317,
278,
24596,
277,
9160,
28794,
6680,
292,
29973,
450,
17861,
29925,
29933,
1317,
26579,
292,
13,
24083,
20807,
1145,
891,
5490,
29871,
29906,
29945,
29892,
29871,
29906,
29900,
29906,
29941,
13,
1576,
289,
13411,
10753,
304,
8293,
515,
16200,
443,
1080,
322,
916,
383,
3624,
1048,
278,
21691,
7271,
411,
16200,
15889,
29889,
13,
23686,
624,
307,
3749,
24061,
891,
5490,
29871,
29906,
29945,
29892,
29871,
29906,
29900,
29906,
29941,
13,
8809,
488,
278,
4272,
30010,
29879,
17268,
1108,
471,
263,
7329,
393,
5331,
304,
12314,
29965,
30010,
29879,
10608,
29892,
372,
471,
871,
697,
7329,
29889,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
summary: CLONE - A teacher can create, edit and preview a numerical question with required units
type: Functional Test
project: Moodle QA
description: 1. Login as a teacher and go to the question bank in a course. 2. Click the Create a new question box and select numerical. 3. Complete the form by typing some text into every box and including an image in the question text and general feedback. 4. Enter numerical values for two answers and accepted errors. 5. Give one answer a grade of 100. 6. For Unit handling select The unit must be given and units go on the right. 7. Enter two units. 8. Click the Save changes button. 9. Edit the question, and make sure all the boxes contain the correct numbers, text and images. 10. Click the Save changes button. 11. Preview the question, checking that everything is displayed correctly, and that your responses are graded correctly with a range of behaviours.
comments: 1. If it makes sense, please test using both Boost and Classic themes.
2. Windows 10 Home Browser: Google Chrome, Mozilla Firefox qa.moodle.net Result: passed | [
1,
15837,
29901,
17332,
12413,
448,
319,
15703,
508,
1653,
29892,
3863,
322,
25267,
263,
16259,
1139,
411,
3734,
10340,
13,
1853,
29901,
6680,
284,
4321,
13,
4836,
29901,
341,
2092,
280,
660,
29909,
13,
8216,
29901,
29871,
29896,
29889,
19130,
408,
263,
15703,
322,
748,
304,
278,
1139,
9124,
297,
263,
3236,
29889,
29871,
29906,
29889,
16297,
278,
6204,
263,
716,
1139,
3800,
322,
1831,
16259,
29889,
29871,
29941,
29889,
25034,
278,
883,
491,
19229,
777,
1426,
964,
1432,
3800,
322,
3704,
385,
1967,
297,
278,
1139,
1426,
322,
2498,
16705,
29889,
29871,
29946,
29889,
9041,
16259,
1819,
363,
1023,
6089,
322,
9259,
4436,
29889,
29871,
29945,
29889,
25538,
697,
1234,
263,
19468,
310,
29871,
29896,
29900,
29900,
29889,
29871,
29953,
29889,
1152,
13223,
11415,
1831,
450,
5190,
1818,
367,
2183,
322,
10340,
748,
373,
278,
1492,
29889,
29871,
29955,
29889,
9041,
1023,
10340,
29889,
29871,
29947,
29889,
16297,
278,
16913,
3620,
2826,
29889,
29871,
29929,
29889,
7641,
278,
1139,
29892,
322,
1207,
1854,
599,
278,
16273,
1712,
278,
1959,
3694,
29892,
1426,
322,
4558,
29889,
29871,
29896,
29900,
29889,
16297,
278,
16913,
3620,
2826,
29889,
29871,
29896,
29896,
29889,
4721,
1493,
278,
1139,
29892,
8454,
393,
4129,
338,
8833,
5149,
29892,
322,
393,
596,
20890,
526,
4656,
287,
5149,
411,
263,
3464,
310,
4010,
29875,
2470,
29889,
13,
21032,
29901,
29871,
29896,
29889,
960,
372,
3732,
4060,
29892,
3113,
1243,
773,
1716,
1952,
520,
322,
24300,
963,
267,
29889,
13,
29906,
29889,
3852,
29871,
29896,
29900,
8778,
27088,
29901,
5087,
10228,
29892,
18129,
2911,
14418,
3855,
29874,
29889,
29885,
2092,
280,
29889,
1212,
7867,
29901,
4502,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
### Project:devdocs
### Description:Source of the Moodle Developer Resources and Documentation
### File:
### Path:./lib/htmlpurifier/HTMLPurifier/Queue.php
### Content:<?php
/**
* A simple array-backed queue, based off of the classic Okasaki
* persistent amortized queue. The basic idea is to maintain two
* stacks: an input stack and an output stack. When the output
* stack runs out, reverse the input stack and use it as the output
* stack.
*
* We don't use the SPL implementation because it's only supported
* on PHP 5.3 and later.
*
* Exercise: Prove that push/pop on this queue take amortized O(1) time.
*
* Exercise: Extend this queue to be a deque, while preserving amortized
* O(1) time. Some care must be taken on rebalancing to avoid quadratic
* behaviour caused by repeatedly shuffling data from the input stack
* to the output stack and back.
*/
class HTMLPurifier_Queue {
private $input;
private $output;
public function __construct($input = array()) {
$this->input = $input;
$this->output = array();
}
/**
* Shifts an element off the front of the queue.
*/
public function shift() {
if (empty($this->output)) {
$this->output = array_reverse($this->input);
$this->input = array();
}
if (empty($this->output)) {
return NULL;
}
return array_pop($this->output);
}
/**
* Pushes an element onto the front of the queue.
*/
public function push($x) {
array_push($this->input, $x);
}
/**
* Checks if it's empty.
*/
public function isEmpty() {
return empty($this->input) && empty($this->output);
}
}
, | [
1,
835,
8010,
29901,
3359,
2640,
13,
2277,
29937,
12953,
29901,
4435,
310,
278,
341,
2092,
280,
10682,
261,
27562,
322,
10854,
362,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
1982,
29914,
1420,
15503,
3709,
29914,
7020,
29925,
332,
3709,
29914,
10620,
29889,
1961,
13,
835,
10576,
29901,
8169,
1961,
13,
13,
7918,
13,
334,
319,
2560,
1409,
29899,
1627,
287,
9521,
29892,
2729,
1283,
310,
278,
22037,
3674,
294,
9940,
13,
334,
28152,
626,
441,
1891,
9521,
29889,
29871,
450,
6996,
2969,
338,
304,
7344,
1023,
13,
334,
5096,
29879,
29901,
385,
1881,
5096,
322,
385,
1962,
5096,
29889,
29871,
1932,
278,
1962,
13,
334,
5096,
6057,
714,
29892,
11837,
278,
1881,
5096,
322,
671,
372,
408,
278,
1962,
13,
334,
5096,
29889,
13,
334,
13,
334,
1334,
1016,
29915,
29873,
671,
278,
317,
7390,
5314,
1363,
372,
29915,
29879,
871,
6969,
13,
334,
373,
5048,
29871,
29945,
29889,
29941,
322,
2678,
29889,
13,
334,
13,
334,
1222,
6269,
895,
29901,
1019,
345,
393,
5503,
29914,
7323,
373,
445,
9521,
2125,
626,
441,
1891,
438,
29898,
29896,
29897,
931,
29889,
13,
334,
13,
334,
1222,
6269,
895,
29901,
7338,
355,
445,
9521,
304,
367,
263,
316,
802,
29892,
1550,
2225,
29530,
626,
441,
1891,
13,
334,
438,
29898,
29896,
29897,
931,
29889,
29871,
3834,
2562,
1818,
367,
4586,
373,
337,
5521,
19985,
304,
4772,
25904,
13,
334,
10468,
8581,
491,
28424,
528,
3096,
1847,
848,
515,
278,
1881,
5096,
13,
334,
304,
278,
1962,
5096,
322,
1250,
29889,
13,
3776,
13,
1990,
4544,
29925,
332,
3709,
29918,
10620,
426,
13,
1678,
2024,
395,
2080,
29936,
13,
1678,
2024,
395,
4905,
29936,
13,
13,
1678,
970,
740,
4770,
11433,
1566,
2080,
353,
1409,
3101,
426,
13,
4706,
395,
1366,
976,
2080,
353,
395,
2080,
29936,
13,
4706,
395,
1366,
976,
4905,
353,
1409,
890,
13,
1678,
500,
13,
13,
1678,
7762,
13,
268,
334,
1383,
17741,
385,
1543,
1283,
278,
4565,
310,
278,
9521,
29889,
13,
268,
3776,
13,
1678,
970,
740,
9500,
580,
426,
13,
4706,
565,
313,
6310,
1566,
1366,
976,
4905,
876,
426,
13,
9651,
395,
1366,
976,
4905,
353,
1409,
29918,
24244,
1566,
1366,
976,
2080,
416,
13,
9651,
395,
1366,
976,
2080,
353,
1409,
890,
13,
4706,
500,
13,
4706,
565,
313,
6310,
1566,
1366,
976,
4905,
876,
426,
13,
9651,
736,
4265,
29936,
13,
4706,
500,
13,
4706,
736,
1409,
29918,
7323,
1566,
1366,
976,
4905,
416,
13,
1678,
500,
13,
13,
1678,
7762,
13,
268,
334,
349,
1878,
267,
385,
1543,
11480,
278,
4565,
310,
278,
9521,
29889,
13,
268,
3776,
13,
1678,
970,
740,
5503,
1566,
29916,
29897,
426,
13,
4706,
1409,
29918,
5910,
1566,
1366,
976,
2080,
29892,
395,
29916,
416,
13,
1678,
500,
13,
13,
1678,
7762,
13,
268,
334,
5399,
29879,
565,
372,
29915,
29879,
4069,
29889,
13,
268,
3776,
13,
1678,
970,
740,
338,
8915,
580,
426,
13,
4706,
736,
4069,
1566,
1366,
976,
2080,
29897,
2607,
4069,
1566,
1366,
976,
4905,
416,
13,
1678,
500,
13,
29913,
13,
29892,
2,
2,
2,
2,
2,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] |
### Project:custom-html2text
### Description:None
### File:
### Path:./lib/editor/atto/plugins/link/yui/build/moodle-atto_link-button/moodle-atto_link-button.js
### Content:YUI.add('moodle-atto_link-button', function (Y, NAME) {
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/*
* @package atto_link
* @copyright 2013 Damyon Wiese <[email protected]>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
/**
* @module moodle-atto_link-button
*/
/**
* Atto text editor link plugin.
*
* @namespace M.atto_link
* @class button
* @extends M.editor_atto.EditorPlugin
*/
var COMPONENTNAME = 'atto_link',
CSS = {
NEWWINDOW: 'atto_link_openinnewwindow',
URLINPUT: 'atto_link_urlentry',
URLTEXT: 'atto_link_urltext'
},
SELECTORS = {
NEWWINDOW: '.atto_link_openinnewwindow',
URLINPUT: '.atto_link_urlentry',
URLTEXT: '.atto_link_urltext',
SUBMIT: '.submit',
LINKBROWSER: '.openlinkbrowser'
},
TEMPLATE = '' +
'<form class="atto_form">' +
'<div class="mb-1">' +
'<label for="{{elementid}}_atto_link_urltext">{{get_string "texttodisplay" component}}</label>' +
'<input class="form-control fullwidth {{CSS.URLTEXT}}" type="text" ' +
'id="{{elementid}}_atto_link_urltext" size="32"/>' +
'</div>' +
'{{#if showFilepicker}}' +
'<label for="{{elementid}}_atto_link_urlentry">{{get_string "enterurl" component}}</label>' +
'<div class="input-group input-append w-100 mb-1">' +
'<input class="form-control url {{CSS.URLINPUT}}" type="url" ' +
'id="{{elementid}}_atto_link_urlentry"/>' +
'<span class="input-group-append">' +
'<button class="btn btn-secondary openlinkbrowser" type="button">' +
'{{get_string "browserepositories" component}}</button>' +
'</span>' +
'</div>' +
'{{else}}' +
'<div class="mb-1">' +
'<label for="{{elementid}}_atto_link_urlentry">{{get_string "enterurl" component}}</label>' +
'<input class="form-control fullwidth url {{CSS.URLINPUT}}" type="url" ' +
'id="{{elementid}}_atto_link_urlentry" size="32"/>' +
'</div>' +
'{{/if}}' +
'<div class="form-check">' +
'<input type="checkbox" class="form-check-input newwindow {{CSS.NEWWINDOW}}" ' +
'id="{{elementid}}_{{CSS.NEWWINDOW}}"/>' +
'<label class="form-check-label" for="{{elementid}}_{{CSS.NEWWINDOW}}">' +
'{{get_string "openinnewwindow" component}}' +
'</label>' +
'</div>' +
'<div class="mdl-align">' +
'<br/>' +
'<button type="submit" class="btn btn-secondary submit">{{get_string "createlink" component}}</button>' +
'</div>' +
'</form>';
Y.namespace('M.atto_link').Button = Y.Base.create('button', Y.M.editor_atto.EditorPlugin, [], {
/**
* A reference to the current selection at the time that the dialogue
* was opened.
*
* @property _currentSelection
* @type Range
* @private
*/
_currentSelection: null,
/**
* A reference to the dialogue content.
*
* @property _content
* @type Node
* @private
*/
_content: null,
/**
* Text to display has value or not.
* @property _hasTextToDisplay
* @type Boolean
* @private
*/
_hasTextToDisplay: false,
/**
* User has selected plain text or not.
* @property _hasPlainTextSelected
* @type Boolean
* @private
*/
_hasPlainTextSelected: false,
initializer: function() {
// Add the link button first.
this.addButton({
icon: 'e/insert_edit_link',
keys: '75',
callback: this._displayDialogue,
tags: 'a',
tagMatchRequiresAll: false
});
// And then the unlink button.
this.addButton({
buttonName: 'unlink',
callback: this._unlink,
icon: 'e/remove_link',
title: 'unlink',
// Watch the following tags and add/remove highlighting as appropriate:
tags: 'a',
tagMatchRequiresAll: false
});
},
/**
* Display the link editor.
*
* @method _displayDialogue
* @private
*/
_displayDialogue: function() {
// Store the current selection.
this._currentSelection = this.get('host').getSelection();
if (this._currentSelection === false) {
return;
}
var dialogue = this.getDialogue({
headerContent: M.util.get_string('createlink', COMPONENTNAME),
width: 'auto',
focusAfterHide: true,
focusOnShowSelector: SELECTORS.URLINPUT
});
// Set the dialogue content, and then show the dialogue.
dialogue.set('bodyContent', this._getDialogueContent());
// Resolve anchors in the selected text.
this._resolveAnchors();
dialogue.show();
},
/**
* If there is selected text and it is part of an anchor link,
* extract the url (and target) from the link (and set them in the form).
*
* @method _resolveAnchors
* @private
*/
_resolveAnchors: function() {
// Find the first anchor tag in the selection.
var selectednode = this.get('host').getSelectionParentNode(),
anchornodes,
anchornode,
url,
target,
textToDisplay,
title;
// Note this is a document fragment and YUI doesn't like them.
if (!selectednode) {
return;
}
anchornodes = this._findSelectedAnchors(Y.one(selectednode));
if (anchornodes.length > 0) {
anchornode = anchornodes[0];
this._currentSelection = this.get('host').getSelectionFromNode(anchornode);
url = anchornode.getAttribute('href');
target = anchornode.getAttribute('target');
textToDisplay = anchornode.get('innerText');
title = anchornode.getAttribute('title');
if (url !== '') {
this._content.one(SELECTORS.URLINPUT).setAttribute('value', url);
}
if (textToDisplay !== '') {
this._content.one(SELECTORS.URLTEXT).set('value', textToDisplay);
} else if (title !== '') {
this._content.one(SELECTORS.URLTEXT).set('value', title);
}
if (target === '_blank') {
this._content.one(SELECTORS.NEWWINDOW).setAttribute('checked', 'checked');
} else {
this._content.one(SELECTORS.NEWWINDOW).removeAttribute('checked');
}
} else {
// User is selecting some text before clicking on the Link button.
textToDisplay = this._getTextSelection();
if (textToDisplay !== '') {
this._hasTextToDisplay = true;
this._hasPlainTextSelected = true;
this._content.one(SELECTORS.URLTEXT).set('value', textToDisplay);
}
}
},
/**
* Update the dialogue after a link was selected in the File Picker.
*
* @method _filepickerCallback
* @param {object} params The parameters provided by the filepicker
* containing information about the link.
* @private
*/
_filepickerCallback: function(params) {
this.getDialogue()
.set('focusAfterHide', null)
.hide();
if (params.url !== '') {
// Add the link.
this._setLinkOnSelection(params.url);
// And mark the text area as updated.
this.markUpdated();
}
},
/**
* The link was inserted, so make changes to the editor source.
*
* @method _setLink
* @param {EventFacade} e
* @private
*/
_setLink: function(e) {
var input,
value;
e.preventDefault();
this.getDialogue({
focusAfterHide: null
}).hide();
input = this._content.one(SELECTORS.URLINPUT);
value = input.get('value');
if (value !== '') {
// We add a prefix if it is not already prefixed.
value = value.trim();
var expr = new RegExp(/^[a-zA-Z]*\.*\/|^#|^[a-zA-Z]*:/);
if (!expr.test(value)) {
value = 'http://' + value;
}
// Add the link.
this._setLinkOnSelection(value);
this.markUpdated();
}
},
/**
* Final step setting the anchor on the selection.
*
* @private
* @method _setLinkOnSelection
* @param {String} url URL the link will point to.
* @return {Node} The added Node.
*/
_setLinkOnSelection: function(url) {
var host = this.get('host'),
link,
selectednode,
target,
anchornodes,
isUpdating,
urlText,
textToDisplay;
this.editor.focus();
host.setSelection(this._currentSelection);
isUpdating = !this._currentSelection[0].collapsed;
urlText = this._content.one(SELECTORS.URLTEXT);
textToDisplay = urlText.get('value').replace(/(<([^>]+)>)/gi, "").trim();
if (textToDisplay === '') {
textToDisplay = url;
}
if (!isUpdating) {
// Firefox cannot add links when the selection is empty so we will add it manually.
link = Y.Node.create('<a>' + textToDisplay + '</a>');
link.setAttribute('href', url);
// Add the node and select it to replicate the behaviour of execCommand.
selectednode = host.insertContentAtFocusPoint(link.get('outerHTML'));
host.setSelection(host.getSelectionFromNode(selectednode));
} else {
document.execCommand('unlink', false, null);
document.execCommand('createLink', false, url);
// Now set the target.
selectednode = host.getSelectionParentNode();
}
// Note this is a document fragment and YUI doesn't like them.
if (!selectednode) {
return;
}
anchornodes = this._findSelectedAnchors(Y.one(selectednode));
// Add new window attributes if requested.
Y.Array.each(anchornodes, function(anchornode) {
target = this._content.one(SELECTORS.NEWWINDOW);
if (target.get('checked')) {
anchornode.setAttribute('target', '_blank');
} else {
anchornode.removeAttribute('target');
}
if (isUpdating && textToDisplay) {
// The 'createLink' command do not allow to set the custom text to display. So we need to do it here.
if (this._hasPlainTextSelected) {
// Only replace the innerText if the user has not selected any element or just the plain text.
anchornode.set('innerText', textToDisplay);
} else {
// The user has selected another element to add the hyperlink, like an image.
// We should add the title attribute instead of replacing the innerText of the hyperlink.
anchornode.setAttribute('title', textToDisplay);
}
}
}, this);
return selectednode;
},
/**
* Look up and down for the nearest anchor tags that are least partly contained in the selection.
*
* @method _findSelectedAnchors
* @param {Node} node The node to search under for the selected anchor.
* @return {Node|Boolean} The Node, or false if not found.
* @private
*/
_findSelectedAnchors: function(node) {
var tagname = node.get('tagName'),
hit, hits;
// Direct hit.
if (tagname && tagname.toLowerCase() === 'a') {
return [node];
}
// Search down but check that each node is part of the selection.
hits = [];
node.all('a').each(function(n) {
if (!hit && this.get('host').selectionContainsNode(n)) {
hits.push(n);
}
}, this);
if (hits.length > 0) {
return hits;
}
// Search up.
hit = node.ancestor('a');
if (hit) {
return [hit];
}
return [];
},
/**
* Generates the content of the dialogue.
*
* @method _getDialogueContent
* @return {Node} Node containing the dialogue content
* @private
*/
_getDialogueContent: function() {
var canShowFilepicker = this.get('host').canShowFilepicker('link'),
template = Y.Handlebars.compile(TEMPLATE);
this._content = Y.Node.create(template({
showFilepicker: canShowFilepicker,
component: COMPONENTNAME,
CSS: CSS
}));
this._content.one(SELECTORS.URLINPUT).on('keyup', this._updateTextToDisplay, this);
this._content.one(SELECTORS.URLINPUT).on('change', this._updateTextToDisplay, this);
this._content.one(SELECTORS.URLTEXT).on('keyup', this._setTextToDisplayState, this);
this._content.one(SELECTORS.SUBMIT).on('click', this._setLink, this);
if (canShowFilepicker) {
this._content.one(SELECTORS.LINKBROWSER).on('click', function(e) {
e.preventDefault();
this.get('host').showFilepicker('link', this._filepickerCallback, this);
}, this);
}
return this._content;
},
/**
* Unlinks the current selection.
* If the selection is empty (e.g. the cursor is placed within a link),
* then the whole link is unlinked.
*
* @method _unlink
* @private
*/
_unlink: function() {
var host = this.get('host'),
range = host.getSelection();
if (range && range.length) {
if (range[0].startOffset === range[0].endOffset) {
// The cursor was placed in the editor but there was no selection - select the whole parent.
var nodes = host.getSelectedNodes();
if (nodes) {
// We need to unlink each anchor individually - we cannot select a range because it may only consist of a
// fragment of an anchor. Selecting the parent would be dangerous because it may contain other links which
// would then be unlinked too.
nodes.each(function(node) {
// We need to select the whole anchor node for this to work in some browsers.
// We only need to search up because getSelectedNodes returns all Nodes in the selection.
var anchor = node.ancestor('a', true);
if (anchor) {
// Set the selection to the whole of the first anchor.
host.setSelection(host.getSelectionFromNode(anchor));
// Call the browser unlink.
document.execCommand('unlink', false, null);
}
}, this);
// And mark the text area as updated.
this.markUpdated();
}
} else {
// Call the browser unlink.
document.execCommand('unlink', false, null);
// And mark the text area as updated.
this.markUpdated();
}
}
},
/**
* Set the current text to display state.
*
* @method _setTextToDisplayState
* @private
*/
_setTextToDisplayState: function() {
var urlText,
urlTextVal;
urlText = this._content.one(SELECTORS.URLTEXT);
urlTextVal = urlText.get('value');
if (urlTextVal !== '') {
this._hasTextToDisplay = true;
} else {
this._hasTextToDisplay = false;
}
},
/**
* Update the text to display if the user does not provide the custom text.
*
* @method _updateTextToDisplay
* @private
*/
_updateTextToDisplay: function() {
var urlEntry,
urlText,
urlEntryVal;
urlEntry = this._content.one(SELECTORS.URLINPUT);
urlText = this._content.one(SELECTORS.URLTEXT);
urlEntryVal = urlEntry.get('value');
if (!this._hasTextToDisplay) {
urlText.set('value', urlEntryVal);
}
},
/**
* Get only the selected text.
* In some cases, window.getSelection() is not run as expected. We should only get the text value
* For ex: <img src="" alt="XYZ">Some text here
* window.getSelection() will return XYZSome text here
*
* @returns {string} Selected text
* @private
*/
_getTextSelection: function() {
var selText = '';
var sel = window.getSelection();
var rangeCount = sel.rangeCount;
if (rangeCount) {
var rangeTexts = [];
for (var i = 0; i < rangeCount; ++i) {
rangeTexts.push('' + sel.getRangeAt(i));
}
selText = rangeTexts.join('');
}
return selText;
}
});
}, '@VERSION@', {"requires": ["moodle-editor_atto-plugin"]});
, | [
1,
835,
8010,
29901,
6341,
29899,
1420,
29906,
726,
13,
2277,
29937,
12953,
29901,
8516,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
1982,
29914,
15204,
29914,
16234,
29914,
12800,
29914,
2324,
29914,
29891,
1481,
29914,
4282,
29914,
29885,
2092,
280,
29899,
16234,
29918,
2324,
29899,
3092,
29914,
29885,
2092,
280,
29899,
16234,
29918,
2324,
29899,
3092,
29889,
1315,
13,
835,
10576,
29901,
29979,
3120,
29889,
1202,
877,
29885,
2092,
280,
29899,
16234,
29918,
2324,
29899,
3092,
742,
740,
313,
29979,
29892,
27085,
29897,
426,
13,
13,
458,
910,
934,
338,
760,
310,
341,
2092,
280,
448,
1732,
597,
29885,
2092,
280,
29889,
990,
29914,
13,
458,
13,
458,
341,
2092,
280,
338,
3889,
7047,
29901,
366,
508,
2654,
391,
2666,
372,
322,
29914,
272,
6623,
13,
458,
372,
1090,
278,
4958,
310,
278,
15143,
4593,
5236,
19245,
408,
6369,
491,
13,
458,
278,
12362,
18540,
10606,
29892,
2845,
1873,
29871,
29941,
310,
278,
19245,
29892,
470,
13,
458,
313,
271,
596,
2984,
29897,
738,
2678,
1873,
29889,
13,
458,
13,
458,
341,
2092,
280,
338,
13235,
297,
278,
4966,
393,
372,
674,
367,
5407,
29892,
13,
458,
541,
399,
1806,
8187,
2692,
13764,
29979,
399,
1718,
29934,
13566,
29979,
29936,
1728,
1584,
278,
2411,
2957,
1370,
21867,
29891,
310,
13,
458,
341,
1001,
3210,
13566,
2882,
6227,
11937,
470,
383,
1806,
8186,
1799,
15842,
319,
349,
8322,
2965,
13309,
1718,
349,
4574,
13152,
1660,
29889,
29871,
2823,
278,
13,
458,
15143,
4593,
5236,
19245,
363,
901,
4902,
29889,
13,
458,
13,
458,
887,
881,
505,
4520,
263,
3509,
310,
278,
15143,
4593,
5236,
19245,
13,
458,
3412,
411,
341,
2092,
280,
29889,
29871,
960,
451,
29892,
1074,
529,
1124,
597,
1636,
29889,
18713,
29889,
990,
29914,
506,
11259,
3779,
29889,
13,
13,
5515,
13,
334,
732,
5113,
1678,
472,
517,
29918,
2324,
13,
334,
732,
8552,
1266,
259,
29906,
29900,
29896,
29941,
9865,
29891,
265,
399,
21928,
29871,
529,
16846,
29891,
265,
29992,
29885,
2092,
280,
29889,
510,
29958,
13,
334,
732,
506,
1947,
1678,
1732,
597,
1636,
29889,
18713,
29889,
990,
29914,
9708,
1508,
615,
29914,
29887,
572,
29889,
1420,
15143,
402,
7390,
325,
29941,
470,
2678,
13,
3776,
13,
13,
7918,
13,
334,
732,
5453,
286,
2092,
280,
29899,
16234,
29918,
2324,
29899,
3092,
13,
3776,
13,
13,
7918,
13,
334,
2180,
517,
1426,
6920,
1544,
7079,
29889,
13,
334,
13,
334,
732,
22377,
341,
29889,
16234,
29918,
2324,
13,
334,
732,
1990,
2826,
13,
334,
732,
1062,
1975,
341,
29889,
15204,
29918,
16234,
29889,
15280,
16288,
13,
3776,
13,
13,
1707,
4810,
3580,
1164,
3919,
5813,
353,
525,
16234,
29918,
2324,
742,
13,
1678,
6783,
353,
426,
13,
4706,
29091,
25152,
3970,
29956,
29901,
525,
16234,
29918,
2324,
29918,
3150,
262,
1482,
7165,
742,
13,
4706,
3988,
1177,
12336,
29901,
525,
16234,
29918,
2324,
29918,
2271,
8269,
742,
13,
4706,
3988,
16975,
29901,
525,
16234,
29918,
2324,
29918,
2271,
726,
29915,
13,
1678,
2981,
13,
1678,
5097,
24125,
353,
426,
13,
4706,
29091,
25152,
3970,
29956,
29901,
15300,
16234,
29918,
2324,
29918,
3150,
262,
1482
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
(DOE). Los Alamos National Laboratory (LANL). EMP from a Chemical Explosion Originating in a Tunnel. March 1994
Previous (DOE). Los Alamos National Laboratory (LANL). EMP from a Chemical Explosion Originating in a Tunnel. March 1994 | [
1,
313,
3970,
29923,
467,
4602,
838,
14054,
3086,
16715,
7606,
313,
29931,
2190,
29931,
467,
382,
3580,
515,
263,
12677,
936,
1222,
572,
359,
291,
22118,
1218,
297,
263,
323,
16163,
29889,
4779,
29871,
29896,
29929,
29929,
29946,
13,
6572,
2366,
313,
3970,
29923,
467,
4602,
838,
14054,
3086,
16715,
7606,
313,
29931,
2190,
29931,
467,
382,
3580,
515,
263,
12677,
936,
1222,
572,
359,
291,
22118,
1218,
297,
263,
323,
16163,
29889,
4779,
29871,
29896,
29929,
29929,
29946,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
Custom Labels For Beverages
Have you ever noticed how many different product labels are displayed in a typical wine or beverage store? The competition is enormous, as every vendor wants their product to stand out from the pack. There are many ways to achieve this result - quite a common one is by adding all kinds of "bling" to the product label (maybe gold foil, embossing, multiple labels to draw the eye), which can certainly have an impact but can also add significant cost to the equation. Another method frequently used is to focus on creating a cute "brand" image - maybe a stylized animal that appeals to the warm and cuddly emotions of the shopper.
Design a Custom Label That Stands Out From the Crowd
With digital label printing, we can add extra options into the mix that cannot be easily replicated using traditional presses. For example, it's extremely simple to add "serialization" to your product labels while they're being printed - which can help create a feeling of exclusivity (similar to an artist signing numbered prints). If your customer sees that they're buying bottle number 726 of a 5,000 bottle run, they immediately get a better understanding that this wine (or other beverage) is not produced by the tanker-load.
Similarly, it's very simple to create multiple designs of your custom beverage labels for the same product and print them all in a single run. Imagine introducing some complementary designs to add "something different" when they're side by side on the shelf. Why settle for a single product label design that some shoppers may not find attractive? Mix your custom beverage labels up a little and increase your shelf appeal, all while still perpetuating your unique brand. With digital label printing, the only limitation is your creativity. Cost is no longer the driving force it has always been with traditional printing of product labels.
As long as labels are the same size, we can print multiple designs in the same run. | [
1,
8701,
15796,
29879,
1152,
350,
1310,
1179,
13,
25559,
366,
3926,
10548,
920,
1784,
1422,
3234,
11073,
526,
8833,
297,
263,
15662,
19006,
470,
367,
19698,
3787,
29973,
450,
13888,
338,
18886,
681,
29892,
408,
1432,
27042,
10753,
1009,
3234,
304,
2317,
714,
515,
278,
4870,
29889,
1670,
526,
1784,
5837,
304,
6176,
445,
1121,
448,
3755,
263,
3619,
697,
338,
491,
4417,
599,
17690,
310,
376,
21435,
29908,
304,
278,
3234,
3858,
313,
26026,
7684,
1701,
309,
29892,
7232,
2209,
292,
29892,
2999,
11073,
304,
4216,
278,
10977,
511,
607,
508,
8959,
505,
385,
10879,
541,
508,
884,
788,
7282,
3438,
304,
278,
6306,
29889,
7280,
1158,
13672,
1304,
338,
304,
8569,
373,
4969,
263,
274,
1082,
376,
16472,
29908,
1967,
448,
5505,
263,
380,
2904,
1891,
13019,
393,
5929,
1338,
304,
278,
14294,
322,
274,
566,
29881,
368,
23023,
1080,
310,
278,
17394,
2496,
29889,
13,
4002,
647,
263,
8701,
15796,
2193,
624,
4167,
4451,
3645,
278,
29445,
29881,
13,
3047,
13436,
3858,
14010,
29892,
591,
508,
788,
4805,
3987,
964,
278,
6837,
393,
2609,
367,
5948,
1634,
9169,
773,
13807,
3965,
267,
29889,
1152,
1342,
29892,
372,
29915,
29879,
14154,
2560,
304,
788,
376,
15550,
2133,
29908,
304,
596,
3234,
11073,
1550,
896,
29915,
276,
1641,
13350,
448,
607,
508,
1371,
1653,
263,
11223,
310,
13489,
2068,
313,
29764,
304,
385,
7664,
26188,
1353,
287,
14677,
467,
960,
596,
11962,
18553,
393,
896,
29915,
276,
1321,
5414,
18046,
280,
1353,
29871,
29955,
29906,
29953,
310,
263,
29871,
29945,
29892,
29900,
29900,
29900,
18046,
280,
1065,
29892,
896,
7389,
679,
263,
2253,
8004,
393,
445,
19006,
313,
272,
916,
367,
19698,
29897,
338,
451,
7371,
491,
278,
23735,
261,
29899,
1359,
29889,
13,
8942,
2327,
368,
29892,
372,
29915,
29879,
1407,
2560,
304,
1653,
2999,
25517,
310,
596,
2888,
367,
19698,
11073,
363,
278,
1021,
3234,
322,
1596,
963,
599,
297,
263,
2323,
1065,
29889,
1954,
22094,
4547,
3277,
777,
19595,
653,
25517,
304,
788,
376,
14481,
1422,
29908,
746,
896,
29915,
276,
2625,
491,
2625,
373,
278,
528,
761,
29889,
3750,
3604,
280,
363,
263,
2323,
3234,
3858,
2874,
393,
777,
528,
9354,
414,
1122,
451,
1284,
13978,
573,
29973,
23478,
596,
2888,
367,
19698,
11073,
701,
263,
2217,
322,
7910,
596,
528,
761,
25530,
29892,
599,
1550,
1603,
25722,
29884,
1218,
596,
5412,
14982,
29889,
2973,
13436,
3858,
14010,
29892,
278,
871,
29485,
338,
596,
907,
28157,
29889,
9839,
338,
694,
5520,
278,
19500,
4889,
372,
756,
2337,
1063,
411,
13807,
14010,
310,
3234,
11073,
29889,
13,
2887,
1472,
408,
11073,
526,
278,
1021,
2159,
29892,
591,
508,
1596,
2999,
25517,
297,
278,
1021,
1065,
29889,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
### Project:phpdoc
### Description:Moodle API Documentation
### File:
### Path:./mod/h5pactivity/classes/external/view_h5pactivity.php
### Content:<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
namespace mod_h5pactivity\external;
use core_external\external_api;
use core_external\external_function_parameters;
use core_external\external_single_structure;
use core_external\external_value;
use core_external\external_warnings;
use context_module;
use mod_h5pactivity\local\manager;
/**
* This is the external method for triggering the course module viewed event.
*
* @package mod_h5pactivity
* @since Moodle 3.9
* @copyright 2020 Carlos Escobedo <[email protected]>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class view_h5pactivity extends external_api {
/**
* Parameters.
*
* @return external_function_parameters
*/
public static function execute_parameters(): external_function_parameters {
return new external_function_parameters(
[
'h5pactivityid' => new external_value(PARAM_INT, 'H5P activity instance id')
]
);
}
/**
* Trigger the course module viewed event and update the module completion status.
*
* @param int $h5pactivityid The h5p activity id.
* @return array of warnings and the access information
* @since Moodle 3.9
* @throws moodle_exception
*/
public static function execute(int $h5pactivityid): array {
$params = external_api::validate_parameters(self::execute_parameters(), [
'h5pactivityid' => $h5pactivityid
]);
$warnings = [];
// Request and permission validation.
list($course, $cm) = get_course_and_cm_from_instance($params['h5pactivityid'], 'h5pactivity');
$context = context_module::instance($cm->id);
self::validate_context($context);
$manager = manager::create_from_coursemodule($cm);
$manager->set_module_viewed($course);
$result = array(
'status' => true,
'warnings' => $warnings,
);
return $result;
}
/**
* Describes the view_h5pactivity return value.
*
* @return external_single_structure
* @since Moodle 3.9
*/
public static function execute_returns() {
return new external_single_structure(
[
'status' => new external_value(PARAM_BOOL, 'status: true if success'),
'warnings' => new external_warnings()
]
);
}
}
, | [
1,
835,
8010,
29901,
1961,
1514,
13,
2277,
29937,
12953,
29901,
29924,
2092,
280,
3450,
10854,
362,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
1545,
29914,
29882,
29945,
29886,
10072,
29914,
13203,
29914,
23176,
29914,
1493,
29918,
29882,
29945,
29886,
10072,
29889,
1961,
13,
835,
10576,
29901,
8169,
1961,
13,
458,
910,
934,
338,
760,
310,
341,
2092,
280,
448,
1732,
597,
29885,
2092,
280,
29889,
990,
29914,
13,
458,
13,
458,
341,
2092,
280,
338,
3889,
7047,
29901,
366,
508,
2654,
391,
2666,
372,
322,
29914,
272,
6623,
13,
458,
372,
1090,
278,
4958,
310,
278,
15143,
4593,
5236,
19245,
408,
6369,
491,
13,
458,
278,
12362,
18540,
10606,
29892,
2845,
1873,
29871,
29941,
310,
278,
19245,
29892,
470,
13,
458,
313,
271,
596,
2984,
29897,
738,
2678,
1873,
29889,
13,
458,
13,
458,
341,
2092,
280,
338,
13235,
297,
278,
4966,
393,
372,
674,
367,
5407,
29892,
13,
458,
541,
399,
1806,
8187,
2692,
13764,
29979,
399,
1718,
29934,
13566,
29979,
29936,
1728,
1584,
278,
2411,
2957,
1370,
21867,
29891,
310,
13,
458,
341,
1001,
3210,
13566,
2882,
6227,
11937,
470,
383,
1806,
8186,
1799,
15842,
319,
349,
8322,
2965,
13309,
1718,
349,
4574,
13152,
1660,
29889,
29871,
2823,
278,
13,
458,
15143,
4593,
5236,
19245,
363,
901,
4902,
29889,
13,
458,
13,
458,
887,
881,
505,
4520,
263,
3509,
310,
278,
15143,
4593,
5236,
19245,
13,
458,
3412,
411,
341,
2092,
280,
29889,
29871,
960,
451,
29892,
1074,
529,
1124,
597,
1636,
29889,
18713,
29889,
990,
29914,
506,
11259,
3779,
29889,
13,
13,
22377,
878,
29918,
29882,
29945,
29886,
10072,
29905,
23176,
29936,
13,
13,
1509,
7136,
29918,
23176,
29905,
23176,
29918,
2754,
29936,
13,
1509,
7136,
29918,
23176,
29905,
23176,
29918,
2220,
29918,
16744,
29936,
13,
1509,
7136,
29918,
23176,
29905,
23176,
29918,
14369,
29918,
23905,
29936,
13,
1509,
7136,
29918,
23176,
29905,
23176,
29918,
1767,
29936,
13,
1509,
7136,
29918,
23176,
29905,
23176,
29918,
25442,
886,
29936,
13,
1509,
3030,
29918,
5453,
29936,
13,
1509,
878,
29918,
29882,
29945,
29886,
10072,
29905,
2997,
29905,
12847,
29936,
13,
13,
7918,
13,
334,
910,
338,
278,
7029,
1158,
363,
7135,
292,
278,
3236,
3883,
24774,
1741,
29889,
13,
334,
13,
334,
732,
5113,
1678,
878,
29918,
29882,
29945,
29886,
10072,
13,
334,
732,
16076,
418,
341,
2092,
280,
29871,
29941,
29889,
29929,
13,
334,
732,
8552,
1266,
259,
29906,
29900,
29906,
29900,
10815,
12783,
711,
23162,
529,
4287,
5409,
29992,
29885,
2092,
280,
29889,
510,
29958,
13,
334,
732,
506,
1947,
1678,
1732,
597,
1636,
29889,
18713,
29889,
990,
29914,
9708,
1508,
615,
29914,
29887,
572,
29889,
1420,
15143,
402,
7390,
325,
29941,
470,
2678,
13,
3776,
13,
1990,
1776,
29918,
29882,
29945,
29886,
10072,
4988,
7029,
29918,
2754,
426,
13,
1678,
7762,
13,
268,
334,
12662,
2699,
29889,
13,
268,
334,
13,
268,
334,
732,
2457,
7029,
29918,
2220,
29918,
16744,
13,
268,
3776,
13,
1678,
970,
2294,
740,
6222,
29918,
16744,
7295,
7029,
29918,
2220,
29918,
16744,
426,
13,
4706,
736,
716,
7029,
29918,
2220,
29918,
16744,
29898,
13,
9651,
518,
13,
18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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
### Project:custom-tinymce_spellchecker_php
### Description:Customised TinyMCE Spellchecker for Moodle
### File:
### Path:./pix/m/USD.svg
### Content:<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 320 512" preserveAspectRatio="xMinYMid meet"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M160 0c17.7 0 32 14.3 32 32V67.7c1.6 .2 3.1 .4 4.7 .7c.4 .1 .7 .1 1.1 .2l48 8.8c17.4 3.2 28.9 19.9 25.7 37.2s-19.9 28.9-37.2 25.7l-47.5-8.7c-31.3-4.6-58.9-1.5-78.3 6.2s-27.2 18.3-29 28.1c-2 10.7-.5 16.7 1.2 20.4c1.8 3.9 5.5 8.3 12.8 13.2c16.3 10.7 41.3 17.7 73.7 26.3l2.9 .8c28.6 7.6 63.6 16.8 89.6 33.8c14.2 9.3 27.6 21.9 35.9 39.5c8.5 17.9 10.3 37.9 6.4 59.2c-6.9 38-33.1 63.4-65.6 76.7c-13.7 5.6-28.6 9.2-44.4 11V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V445.1c-.4-.1-.9-.1-1.3-.2l-.2 0 0 0c-24.4-3.8-64.5-14.3-91.5-26.3c-16.1-7.2-23.4-26.1-16.2-42.2s26.1-23.4 42.2-16.2c20.9 9.3 55.3 18.5 75.2 21.6c31.9 4.7 58.2 2 76-5.3c16.9-6.9 24.6-16.9 26.8-28.9c1.9-10.6 .4-16.7-1.3-20.4c-1.9-4-5.6-8.4-13-13.3c-16.4-10.7-41.5-17.7-74-26.3l-2.8-.7 0 0C119.4 279.3 84.4 270 58.4 253c-14.2-9.3-27.5-22-35.8-39.6c-8.4-17.9-10.1-37.9-6.1-59.2C23.7 116 52.3 91.2 84.8 78.3c13.3-5.3 27.9-8.9 43.2-11V32c0-17.7 14.3-32 32-32z"/></svg>
, | [
1,
835,
8010,
29901,
6341,
29899,
29873,
262,
962,
346,
29918,
1028,
514,
3198,
261,
29918,
1961,
13,
2277,
29937,
12953,
29901,
7281,
3368,
323,
4901,
29924,
4741,
1706,
514,
3198,
261,
363,
341,
2092,
280,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
29886,
861,
29914,
29885,
29914,
3308,
29928,
29889,
15120,
13,
835,
10576,
29901,
29966,
15120,
9463,
543,
1124,
597,
1636,
29889,
29893,
29941,
29889,
990,
29914,
29906,
29900,
29900,
29900,
29914,
15120,
29908,
3171,
543,
29896,
331,
29908,
1776,
3313,
543,
29900,
29871,
29900,
29871,
29941,
29906,
29900,
29871,
29945,
29896,
29906,
29908,
19905,
2887,
1103,
29934,
20819,
543,
29916,
8140,
29979,
29924,
333,
5870,
3254,
6172,
29991,
10928,
22886,
14151,
12362,
29871,
29953,
29889,
29946,
29889,
29906,
491,
732,
5657,
1450,
14151,
448,
2045,
597,
5657,
1450,
14151,
29889,
510,
19245,
448,
2045,
597,
5657,
1450,
14151,
29889,
510,
29914,
506,
1947,
313,
1523,
1050,
1455,
19245,
29897,
14187,
1266,
29871,
29906,
29900,
29906,
29941,
10928,
27078,
29892,
9266,
29889,
6660,
29966,
2084,
270,
543,
29924,
29896,
29953,
29900,
29871,
29900,
29883,
29896,
29955,
29889,
29955,
29871,
29900,
29871,
29941,
29906,
29871,
29896,
29946,
29889,
29941,
29871,
29941,
29906,
29871,
29941,
29906,
29963,
29953,
29955,
29889,
29955,
29883,
29896,
29889,
29953,
869,
29906,
29871,
29941,
29889,
29896,
869,
29946,
29871,
29946,
29889,
29955,
869,
29955,
29883,
29889,
29946,
869,
29896,
869,
29955,
869,
29896,
29871,
29896,
29889,
29896,
869,
29906,
29880,
29946,
29947,
29871,
29947,
29889,
29947,
29883,
29896,
29955,
29889,
29946,
29871,
29941,
29889,
29906,
29871,
29906,
29947,
29889,
29929,
29871,
29896,
29929,
29889,
29929,
29871,
29906,
29945,
29889,
29955,
29871,
29941,
29955,
29889,
29906,
29879,
29899,
29896,
29929,
29889,
29929,
29871,
29906,
29947,
29889,
29929,
29899,
29941,
29955,
29889,
29906,
29871,
29906,
29945,
29889,
29955,
29880,
29899,
29946,
29955,
29889,
29945,
29899,
29947,
29889,
29955,
29883,
29899,
29941,
29896,
29889,
29941,
29899,
29946,
29889,
29953,
29899,
29945,
29947,
29889,
29929,
29899,
29896,
29889,
29945,
29899,
29955,
29947,
29889,
29941,
29871,
29953,
29889,
29906,
29879,
29899,
29906,
29955,
29889,
29906,
29871,
29896,
29947,
29889,
29941,
29899,
29906,
29929,
29871,
29906,
29947,
29889,
29896,
29883,
29899,
29906,
29871,
29896,
29900,
29889,
29955,
28753,
29945,
29871,
29896,
29953,
29889,
29955,
29871,
29896,
29889,
29906,
29871,
29906,
29900,
29889,
29946,
29883,
29896,
29889,
29947,
29871,
29941,
29889,
29929,
29871,
29945,
29889,
29945,
29871,
29947,
29889,
29941,
29871,
29896,
29906,
29889,
29947,
29871,
29896,
29941,
29889,
29906,
29883,
29896,
29953,
29889,
29941,
29871,
29896,
29900,
29889,
29955,
29871,
29946,
29896,
29889,
29941,
29871,
29896,
29955,
29889,
29955,
29871,
29955,
29941,
29889,
29955,
29871,
29906,
29953,
29889,
29941,
29880,
29906,
29889,
29929,
869,
29947,
29883,
29906,
29947,
29889,
29953,
29871,
29955,
29889,
29953,
29871,
29953,
29941,
29889,
29953,
29871,
29896,
29953,
29889,
29947,
29871,
29947,
29929,
29889,
29953,
29871,
29941,
29941,
29889,
29947,
29883,
29896,
29946,
29889,
29906,
29871,
29929,
29889,
29941,
29871,
29906,
29955,
29889,
29953,
29871,
29906,
29896,
29889,
29929,
29871,
29941,
29945,
29889,
29929,
29871,
29941,
29929,
29889,
29945,
29883,
29947,
29889,
29945,
29871,
29896,
29955,
29889,
29929,
29871,
29896,
29900,
29889,
29941,
29871,
29941
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
Posted by The US Asian Post | Jan 17, 2023 | Headline News | 0
By Joann Villanueva
Elevated inflation along with the possible recession in the US are seen to hit the growth of remittances from overseas Filipino workers (OFWs). However, continued reopening and recovery of OFW-host countries along with high demand for Filipino workers are seen to cushion any impact of high inflation and the looming recession. (File photo)
MANILA – Growth of remittances being sent by overseas Filipino workers (OFWs) is seen to be affected by a possible recession in the US, with an economist noting also the impact of elevated inflation.
Cash inflows from OFWs posted a 5.7 percent year-on-year growth in November 2022 to USD2.64 billion. The amount, however, is lower than the previous month’s USD 2.91 billion.
Rizal Commercial Banking Corporation (RCBC) chief economist Michael Ricafort, in a report, traced the lower monthly cash remittance inflows partly to higher US dollar-Philippine peso exchange rate in the latter part of 2022 compared to the earlier part of the year.
The local currency was trading at 56-level against the greenback in around November last year while it was only at around 51-level at the start of 2022.
This factor, Ricafort said, “partly led to lower amount of U.S. dollars sent by OFWs to the country, given the higher equivalent of these remittances when converted to pesos.”
“Furthermore, higher prices/inflation also in host countries of OFWs could have also increased the cost of living of OFWs abroad, thereby partly reducing the amount sent to the country,” he said.
In the coming months, inflows are seen to also be affected by the possible recession in the world’s largest economy, he said.
“(This) could slow down remittances amid slower global trade/exports, investments/FDIs (foreign direct investment), employment, and other business/economic activities,” he said.
The economist, on the other hand, noted that continued reopening of countries hosting OFWs as well as recovery of these economies from the pandemic are seen to cushion any impact of the possible recession.
He said growth of remittances, which remain resilient amidst the repatriation of some OFWs in 2020 due to the pandemic, is seen to continue due to demand for Filipino workers in countries with aging population, among others.
“OFW remittances are still near record highs on a monthly basis, a bright spot for the Philippine economy in terms of spurring/supporting consumer spending, which accounts for at least 73 percent of the economy, and in turn, support faster GDP (gross domestic product)/economic growth,” he added. (PNA)
PreviousPNP seeks help of tech-linked gov’t agencies vs. ‘e-sabong’
NextDND hails sacrifice of hero soldier in N. Samar rescue ops
Cainglet: The ‘right choice’ for Carson
Dubai set to build largest Ferris wheel in the world
Golf: Vietnam’s new international tournament postponed
Keep an eye on pregnancy food cravings to avoid excess weight gain advises new study | [
1,
4918,
287,
491,
450,
3148,
20021,
4918,
891,
2627,
29871,
29896,
29955,
29892,
29871,
29906,
29900,
29906,
29941,
891,
12252,
1220,
10130,
891,
29871,
29900,
13,
2059,
3650,
812,
9887,
273,
434,
1564,
13,
29923,
2608,
630,
4414,
362,
3412,
411,
278,
1950,
337,
985,
291,
297,
278,
3148,
526,
3595,
304,
7124,
278,
14321,
310,
1083,
986,
2925,
515,
975,
344,
294,
21391,
1789,
17162,
313,
9800,
29956,
29879,
467,
2398,
29892,
7572,
337,
3150,
292,
322,
24205,
310,
8079,
29956,
29899,
3069,
10916,
3412,
411,
1880,
9667,
363,
21391,
1789,
17162,
526,
3595,
304,
274,
1878,
291,
738,
10879,
310,
1880,
4414,
362,
322,
278,
658,
28826,
337,
985,
291,
29889,
313,
2283,
15373,
29897,
13,
1529,
12916,
4375,
785,
402,
798,
386,
310,
1083,
986,
2925,
1641,
2665,
491,
975,
344,
294,
21391,
1789,
17162,
313,
9800,
29956,
29879,
29897,
338,
3595,
304,
367,
15201,
491,
263,
1950,
337,
985,
291,
297,
278,
3148,
29892,
411,
385,
7766,
391,
451,
292,
884,
278,
10879,
310,
11858,
630,
4414,
362,
29889,
13,
29907,
1161,
297,
1731,
29879,
515,
8079,
29956,
29879,
8059,
263,
29871,
29945,
29889,
29955,
10151,
1629,
29899,
265,
29899,
6360,
14321,
297,
3979,
29871,
29906,
29900,
29906,
29906,
304,
3148,
29928,
29906,
29889,
29953,
29946,
24464,
29889,
450,
5253,
29892,
3138,
29892,
338,
5224,
1135,
278,
3517,
4098,
30010,
29879,
3148,
29928,
29871,
29906,
29889,
29929,
29896,
24464,
29889,
13,
29934,
466,
284,
422,
1050,
1455,
10253,
292,
15025,
313,
10363,
5371,
29897,
9087,
7766,
391,
5765,
29750,
3921,
29892,
297,
263,
3461,
29892,
16703,
287,
278,
5224,
4098,
368,
274,
1161,
1083,
986,
749,
297,
1731,
29879,
22669,
304,
6133,
3148,
11232,
279,
29899,
4819,
2638,
407,
457,
8928,
29877,
14523,
6554,
297,
278,
7480,
760,
310,
29871,
29906,
29900,
29906,
29906,
9401,
304,
278,
8859,
760,
310,
278,
1629,
29889,
13,
1576,
1887,
27550,
471,
3534,
292,
472,
29871,
29945,
29953,
29899,
5563,
2750,
278,
7933,
1627,
297,
2820,
3979,
1833,
1629,
1550,
372,
471,
871,
472,
2820,
29871,
29945,
29896,
29899,
5563,
472,
278,
1369,
310,
29871,
29906,
29900,
29906,
29906,
29889,
13,
4013,
7329,
29892,
29750,
3921,
1497,
29892,
1346,
1595,
368,
5331,
304,
5224,
5253,
310,
501,
29889,
29903,
29889,
17208,
2665,
491,
8079,
29956,
29879,
304,
278,
4234,
29892,
2183,
278,
6133,
7126,
310,
1438,
1083,
986,
2925,
746,
11543,
304,
8928,
359,
3178,
13,
30015,
29943,
332,
721,
5514,
29892,
6133,
26094,
29914,
13453,
362,
884,
297,
3495,
10916,
310,
8079,
29956,
29879,
1033,
505,
884,
11664,
278,
3438,
310,
8471,
310,
8079,
29956,
29879,
28177,
29892,
27999,
22669,
27668,
278,
5253,
2665,
304,
278,
4234,
3995,
540,
1497,
29889,
13,
797,
278,
6421,
7378,
29892,
297,
1731,
29879,
526,
3595,
304,
884,
367,
15201,
491,
278,
1950,
337,
985,
291,
297,
278,
3186,
30010,
29879,
10150,
26504,
29892,
540,
1497,
29889,
13,
30015,
29898,
4013,
29897,
1033,
5232,
1623,
1083,
986,
2925,
28655,
20312,
5534,
11302,
29914,
26500,
29892,
13258,
1860,
29914,
26453,
3624,
313,
1079,
647,
1513,
13258,
358,
511,
5703,
358,
29892,
322,
916,
5381,
29914
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
Author Posted on June 5, 2011
Sunday, June 5 @ 12:49:40 pm
June 5, 2011 9:49 am GMT -5
Previous Previous post: Sunday, June 5 @ 12:44:14 pm
Next Next post: here she comes | [
1,
13361,
4918,
287,
373,
5306,
29871,
29945,
29892,
29871,
29906,
29900,
29896,
29896,
13,
29903,
870,
388,
29892,
5306,
29871,
29945,
732,
29871,
29896,
29906,
29901,
29946,
29929,
29901,
29946,
29900,
26354,
13,
29967,
1540,
29871,
29945,
29892,
29871,
29906,
29900,
29896,
29896,
29871,
29929,
29901,
29946,
29929,
626,
402,
11490,
448,
29945,
13,
6572,
2366,
4721,
2366,
1400,
29901,
16340,
29892,
5306,
29871,
29945,
732,
29871,
29896,
29906,
29901,
29946,
29946,
29901,
29896,
29946,
26354,
13,
9190,
8084,
1400,
29901,
1244,
1183,
5304,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
Albergo Ristorante Posta Moltrasio, Piazza S.Rocco, 5, 22010 Moltrasio CO | 🇮🇹 Italiano | 🇬🇧 English
Hotel Posta
Event Room
La Veranda Restaurant
Cafe Bellini
Event on Lake Como
Restaurant La Veranda Moltrasio
Event on Cafe Bellini Moltrasio
Hotel Posta Moltrasio
Art and culture on Lake Como
Trekking & nature of Lake Como
Tours on Lake Como
Armando Taroni | Owner Hotel Posta Moltrasio
Tours on Lake Como, Trekking & nature of Lake Como
What to see in your one day trip in Varese
Let’s discovery Lombardy: today we want to talk to about to what to see in your one day trip in Varese.
Varese is a Lombardy’s city, about 30 km from Como and that has about 83,000 inhabitants. Its province, as Como’s, is characterized by different landscapes, typical of the Pre-Alps area, with a lot possibilities for a great day: small lakes, mountains, countryside and rivers.
Varese, as well as Como is an Italian border, that overlooks to the nearby Switzerland. It is also known as the “garden city” for its numerous green areas born and well preserved. The development of the city has not happened in a classic way, enlarging the city center to the suburbs: to the main village were added the so-called “castellanze” small villages built around the main one. Among these villages there are these large green parks that, nowadays, make Varese a nice city to visit but also to live.
To choose what to visit in Varese during your one day trip it is really difficult: today we have created for you a small selection between nature and art.
Sacro Monte – Unesco World Heritage
Typical religious building, the Sacred Mountain is located on the top of one of the mountains that are overlooking Varese. It can be reached by car or with a funicular, but we recommend you a nice walk. As well as the Sanctuary “del Soccorso” in Ossuccio on our Lake Como, the walk that will lead you to the Church of “Santa Maria del Monte” has 14 chapels that evoke the rosary’s mysteries and the Jesus’ life. It’s really characteristic also the village around the church, which preserves flavor and atmosphere of an old Italy.
Campo dei fiori (Flowers’ Field)
It is the name of the park that is overlooking the Varese’ Sacro Monte. You will find several hiking trails that lead you to as many locations or small picturesque villages like Brinzio or Orino. The nature in which you will be immersed is truly unique and untouched, so that it will not be difficult to see hawks, sparrow hawks and deer. On the top of “Campo dei Fiori” stands the “City of the natural sciences” with a mountain garden for the biodiversity’s conservation, the Centre of botanical studies “Lombardia”, the cold experimental “Serra”, the Meteorological Observatory (Centro geofisico prealpino) and the “seismic observatory”.
Palazzo Estense (Este Palace)
Today here you can find the public library and the Town Hall, this Palace is an historic home built in the eighteenth century. Orrigoni was the owner, than the property was given to the administrator of the that time in Varese, Francesco III d’Este, Duke of Modena and Reggio. Maria Theresa d’Austria gave him Varese as feud. D’Este restored the structure, inspired by Italian villas and by the palace of Schonbrunn (in Vienna, for the gardens), he designed a new building with a huge garden.
There are many other proposals and visits that you can do in Varese in a one day trip, but we are certain that with this little taste you will be surprised to discover a city that, as often happens in Italy, it is considered less popular but it’s really characteristic and with some unique angles. When you arrive at our hotel, ask for information at the reception desk and book the transfer to and from Varese. The entire staff of Hotel Posta Moltrasio is as always at your disposal to make your holiday on Lake Como unforgettable.
ph. Cover. Sacromonte: By Docfra (Own work) [CC BY-SA 3.0 (http://creativecommons.org/licenses/by-sa/3.0)], via Wikimedia Commons
ph. Giardini Estensi: By Docfra (Own work) [CC BY-SA 3.0 (http://creativecommons.org/licenses/by-sa/3.0)], via Wikimedia Commons
Trip to Monte Sighignola: the Italy’s balcony
Excursion for families on Lake Como: to Brunate from Torno along the Strada Regia
Your day trip in Pavia: The “Certosa” and so more!
A lake, an island and much beauty for your one day trip in Pusiano
panoramic trail, family's trails, One day trip, Sacred Art
Big Goals: Orange Flag and MICHELIN Guide Italy 2023
Lago di Piano: a beautiful Lake Como nature reserve
I am the Hotel Posta Moltrasio (Como) owner, born and raised in the Como Lake zone, teacher in welcoming and pampering my costumers with a lot of attention. I work every day with pride in this activity, that was started in 1932 by my grandfather Sperindio, and continued by my parents Marisa and Italo. I am always looking for new solution to to make more pleasant my guests stay's. In particular, I like to tell to my costumers stories about Larian places and typical traditions that I love to discover. This is because, our guest at Hotel Posta should not feel like a simple tourist who would like only to see a landscape, but like a real traveler that lives a rich and unique experience.
Get an alert when there are new comments . Or subscribe without commenting .
Natale a Como & Città dei Balocchi: let the holidays begin!
Our monthly newsletter with a selection of the best posts
Could you give us the permission to use your personal data to let us send our offer? HERE you can read our policy privacy.
Hotel Ristorante Posta Moltrasio ***
Piazza S. Rocco, 5,
22010 Moltrasio, Como (Italy)
[email protected]
Policy privacy | Cookie policy | Albergo Posta Ristorante - S.A.S. - Eredi Vanini S. E M. di Taroni Laura e Armando & C. | Partita IVA 01561510130 | Piazza San Rocco 5, 22010 Moltrasio, Como (Italy) | [
1,
838,
495,
1484,
390,
2118,
1647,
4918,
29874,
10750,
10678,
601,
29892,
27663,
10177,
317,
29889,
29934,
542,
1111,
29892,
29871,
29945,
29892,
29871,
29906,
29906,
29900,
29896,
29900,
10750,
10678,
601,
4810,
891,
29871,
243,
162,
138,
177,
243,
162,
138,
188,
4041,
3328,
891,
29871,
243,
162,
138,
175,
243,
162,
138,
170,
4223,
13,
28917,
295,
4918,
29874,
13,
2624,
25114,
13,
5661,
1798,
5863,
390,
22837,
424,
13,
26270,
1725,
10914,
2172,
13,
2624,
373,
9459,
17295,
13,
29934,
22837,
424,
997,
1798,
5863,
10750,
10678,
601,
13,
2624,
373,
9243,
1725,
10914,
2172,
10750,
10678,
601,
13,
28917,
295,
4918,
29874,
10750,
10678,
601,
13,
9986,
322,
9257,
373,
9459,
17295,
13,
29911,
276,
6859,
292,
669,
5469,
310,
9459,
17295,
13,
29911,
2470,
373,
9459,
17295,
13,
27429,
1743,
323,
5022,
29875,
891,
438,
23007,
16923,
4918,
29874,
10750,
10678,
601,
13,
29911,
2470,
373,
9459,
17295,
29892,
6479,
6859,
292,
669,
5469,
310,
9459,
17295,
13,
5618,
304,
1074,
297,
596,
697,
2462,
17487,
297,
11681,
968,
13,
12024,
30010,
29879,
20699,
24869,
538,
29891,
29901,
9826,
591,
864,
304,
5193,
304,
1048,
304,
825,
304,
1074,
297,
596,
697,
2462,
17487,
297,
11681,
968,
29889,
13,
9037,
968,
338,
263,
24869,
538,
29891,
30010,
29879,
4272,
29892,
1048,
29871,
29941,
29900,
2383,
515,
17295,
322,
393,
756,
1048,
29871,
29947,
29941,
29892,
29900,
29900,
29900,
19681,
29889,
8011,
12291,
29892,
408,
17295,
30010,
29879,
29892,
338,
2931,
1891,
491,
1422,
2982,
1557,
11603,
29892,
15662,
310,
278,
4721,
29899,
2499,
567,
4038,
29892,
411,
263,
3287,
24496,
363,
263,
2107,
2462,
29901,
2319,
425,
10794,
29892,
19223,
29892,
2613,
509,
952,
680,
322,
27515,
29889,
13,
9037,
968,
29892,
408,
1532,
408,
17295,
338,
385,
10545,
5139,
29892,
393,
975,
6914,
29879,
304,
278,
20810,
28806,
29889,
739,
338,
884,
2998,
408,
278,
1346,
29887,
7879,
4272,
30024,
363,
967,
12727,
7933,
10161,
6345,
322,
1532,
21634,
29889,
450,
5849,
310,
278,
4272,
756,
451,
9559,
297,
263,
22037,
982,
29892,
427,
27489,
292,
278,
4272,
4818,
304,
278,
1014,
332,
5824,
29901,
304,
278,
1667,
5720,
892,
2715,
278,
577,
29899,
13998,
1346,
4384,
18663,
911,
30024,
2319,
18481,
4240,
2820,
278,
1667,
697,
29889,
17302,
1438,
18481,
727,
526,
1438,
2919,
7933,
610,
2039,
393,
29892,
1286,
328,
1036,
29892,
1207,
11681,
968,
263,
7575,
4272,
304,
6493,
541,
884,
304,
5735,
29889,
13,
1762,
6755,
825,
304,
6493,
297,
11681,
968,
2645,
596,
697,
2462,
17487,
372,
338,
2289,
5189,
29901,
9826,
591,
505,
2825,
363,
366,
263,
2319,
9262,
1546,
5469,
322,
1616,
29889,
13,
29903,
562,
307,
11240,
785,
853,
267,
1111,
2787,
25635,
13,
24933,
936,
12962,
5214,
29892,
278,
15573,
1127,
18204,
338,
5982,
373,
278,
2246,
310,
697,
310,
278,
19223,
393,
526,
975,
23261,
11681,
968,
29889,
739,
508,
367,
7450,
491,
1559,
470,
411,
263,
2090,
16311,
29892,
541,
591,
6907,
366,
263,
7575,
6686,
29889,
1094,
1532,
408,
278,
3087,
22999,
653,
1346,
6144,
28239,
2616,
578,
30024,
297,
438,
893,
1682
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
Jane part 2 | Nursing homework help
I’ve always been a big fan of comparing books to movies. I think that many of us enjoy doing that, comparing how the book included something incredibly valuable that was missing in the movie version, or how something in the movie really helped you to grasp a character a little more. While the two pieces of media, books and movies, can never be the same, that’s part of the joy in going to see your favorite book retold onscreen–we like seeing retellings of our favorite things, and experiencing things we love in new and unexpected ways.
For this week’s discussion board, I am asking you to compare the 2011 trailer for Jane Eyre (please do not think you have to rush out and watch the entire DVD! I know you are busy. If you want to watch the DVD, feel free to do so, but it is not necessary for this class) and the 1996 trailer
with what you have read of Jane Eyre so far, and to also compare your own understanding of Jane Eyre with how the trailer itself portrays it–what the trailer leaves out, what it includes, what you see and hear that adds to the vibe the railer is going for.
Here are the questions I’ll be looking to see you answer in your response:
1) Based off of the trailers alone, what genre would you think Jane Eyre was? Talk about how the 1996 trailer and the 2011 differ in how they portray the novel.
2) Referring back to this week’s lecture PowerPoint, what gothic tropes do you see in Jane Eyre [the text]? How does this compare to the trailers?
3) Which trailer do you think most accurately portrays Jane Eyre as you understand it–the 1996 trailer, or the 2011 trailer, or neither? Why?
4) Leaving aside the trailers for a moment, what gothic tropes have you seen in the text so far? Be sure to include a quote and a page number, and talk about why that specific trope stood out to you.
As always, please be sure to respond to two (2) of your peers. Ideally, you’ll want to make your initial post by Thursday or Friday, and then make sure you get your responses in by Sunday.
The DB is due on Sunday, and will automatically close at 11:59 p.m.
Link to the trailers:
https://www.youtube.com/watch?v=8IFsdfk3mlk
https://www.youtube.com/watch?v=jKvO2TYPuTw
://www.sparknotes.com/lit/janeeyre/
then attached you need to response to two students and there are two short answer questions that need to be answered as well
Contracts or property irac case brief | LAW 531 | University of Phoenix
Summarize 3 chapters….. due today…… please read first!!!! | [
1,
10447,
760,
29871,
29906,
891,
405,
1295,
292,
3271,
1287,
1371,
13,
29902,
30010,
345,
2337,
1063,
263,
4802,
13524,
310,
17420,
8277,
304,
2351,
583,
29889,
306,
1348,
393,
1784,
310,
502,
13389,
2599,
393,
29892,
17420,
920,
278,
3143,
5134,
1554,
29811,
14981,
21114,
393,
471,
4567,
297,
278,
14064,
1873,
29892,
470,
920,
1554,
297,
278,
14064,
2289,
9213,
366,
304,
25274,
263,
2931,
263,
2217,
901,
29889,
5806,
278,
1023,
12785,
310,
5745,
29892,
8277,
322,
2351,
583,
29892,
508,
2360,
367,
278,
1021,
29892,
393,
30010,
29879,
760,
310,
278,
15331,
297,
2675,
304,
1074,
596,
25448,
3143,
3240,
1025,
373,
10525,
29994,
705,
763,
8790,
3240,
514,
886,
310,
1749,
25448,
2712,
29892,
322,
10623,
3277,
2712,
591,
5360,
297,
716,
322,
15668,
5837,
29889,
13,
2831,
445,
4723,
30010,
29879,
10679,
7613,
29892,
306,
626,
6721,
366,
304,
7252,
278,
29871,
29906,
29900,
29896,
29896,
1020,
3955,
363,
10447,
382,
29891,
276,
313,
552,
559,
437,
451,
1348,
366,
505,
304,
364,
1878,
714,
322,
6505,
278,
4152,
15191,
29991,
306,
1073,
366,
526,
19587,
29889,
960,
366,
864,
304,
6505,
278,
15191,
29892,
4459,
3889,
304,
437,
577,
29892,
541,
372,
338,
451,
5181,
363,
445,
770,
29897,
322,
278,
29871,
29896,
29929,
29929,
29953,
1020,
3955,
13,
2541,
825,
366,
505,
1303,
310,
10447,
382,
29891,
276,
577,
2215,
29892,
322,
304,
884,
7252,
596,
1914,
8004,
310,
10447,
382,
29891,
276,
411,
920,
278,
1020,
3955,
3528,
2011,
764,
29879,
372,
29994,
5816,
278,
1020,
3955,
11308,
714,
29892,
825,
372,
7805,
29892,
825,
366,
1074,
322,
8293,
393,
12778,
304,
278,
325,
18673,
278,
1153,
3955,
338,
2675,
363,
29889,
13,
10605,
526,
278,
5155,
306,
30010,
645,
367,
3063,
304,
1074,
366,
1234,
297,
596,
2933,
29901,
13,
29896,
29897,
16564,
1283,
310,
278,
1020,
22058,
7432,
29892,
825,
16151,
723,
366,
1348,
10447,
382,
29891,
276,
471,
29973,
323,
2235,
1048,
920,
278,
29871,
29896,
29929,
29929,
29953,
1020,
3955,
322,
278,
29871,
29906,
29900,
29896,
29896,
1163,
297,
920,
896,
2011,
764,
278,
9554,
29889,
13,
29906,
29897,
4118,
5393,
1250,
304,
445,
4723,
30010,
29879,
29197,
9206,
5228,
29892,
825,
330,
720,
293,
9201,
267,
437,
366,
1074,
297,
10447,
382,
29891,
276,
518,
1552,
1426,
29962,
29973,
1128,
947,
445,
7252,
304,
278,
1020,
22058,
29973,
13,
29941,
29897,
8449,
1020,
3955,
437,
366,
1348,
1556,
7913,
2486,
2011,
764,
29879,
10447,
382,
29891,
276,
408,
366,
2274,
372,
29994,
1552,
29871,
29896,
29929,
29929,
29953,
1020,
3955,
29892,
470,
278,
29871,
29906,
29900,
29896,
29896,
1020,
3955,
29892,
470,
9561,
29973,
3750,
29973,
13,
29946,
29897,
951,
5555,
17786,
278,
1020,
22058,
363,
263,
3256,
29892,
825,
330,
720,
293,
9201,
267,
505,
366,
3595,
297,
278,
1426,
577,
2215,
29973,
1522,
1854,
304,
3160,
263,
14978,
322,
263,
1813,
1353,
29892,
322,
5193,
1048,
2020,
393,
2702,
3147,
412,
8389,
714,
304,
366,
29889,
13,
2887,
2337,
29892,
3113,
367,
1854,
304,
10049,
304,
1023,
313,
29906,
29897,
310,
596,
1236,
414,
29889
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1
] |
A talk by Steven Hemelt, University of North Carolina - Chapel Hill
Host: Education Policy Initiative
Series: Causal Inference in Education Research Seminar (CIERS)
Dec 2, 2015, 8:30-10:00 am EST
Weill Hall, Room 3240
735 S. State Street, Ann Arbor, MI 48109
Open to PhD students and faculty engaged in causal inference in education research.
From the speaker's bio:
Steven Hemelt is assistant professor of public policy at the University of North Carolina – Chapel Hill. Prior to joining the faculty at UNC, Hemelt was an IES postdoctoral research fellow at the Gerald R. Ford School of Public Policy. His fields of interest include education policy, economics of education, labor economics, and program evaluation. In one strand of current research, Hemelt is examining the effects of different policies or programs on students’ performance in high school, transition into college, and longer-run college outcomes (e.g., persistence, credit accumulation, and graduation). In a second line of work, he is exploring the impacts of K-12 accountability structures, consequences, and supports on a variety of student outcomes. In the past, Hemelt has studied the impacts of failure to make “adequate yearly progress” (AYP) under No Child Left Behind (NCLB) on subsequent student achievement, the effects of additional learning time on student performance, and the usefulness of college double majors in the labor market. Hemelt earned his PhD in Public Policy from the University of Maryland, Baltimore County (UMBC). He holds a master's and undergraduate degree in economics and a bachelor's degree in Spanish.
About CIERS:
The objective of the Causal Inference in Education Research Seminar (CIERS) is to engage students and faculty from across the university in conversations around education research using various research methodologies.
This seminar provides a space for doctoral students and faculty from the School of Education, Ford School of Public Policy, and the Departments of Economics, Sociology, Statistics, and Political Science to discuss current research and receive feedback on works-in-progress. Discourse between these schools and departments creates a more complete community of education scholars, and provides a networking opportunity for students enrolled in a variety of academic programs who share common research interests. Open to PhD students and faculty engaged in causal inference in education research.
Education Policy Initiative
All Related Events
Lead in the water: What are the educational impacts on Flint students?
Ensuring that postsecondary credentials pay off for low-income students
Bringing the actual science of reading to policy and practice | [
1,
319,
5193,
491,
24703,
20863,
2152,
29892,
3014,
310,
4644,
13397,
448,
13741,
295,
9143,
13,
8514,
29901,
13151,
25219,
512,
4812,
1230,
13,
19204,
29901,
315,
1485,
284,
512,
1659,
297,
13151,
10550,
9444,
18220,
313,
8426,
23598,
29897,
13,
6185,
29871,
29906,
29892,
29871,
29906,
29900,
29896,
29945,
29892,
29871,
29947,
29901,
29941,
29900,
29899,
29896,
29900,
29901,
29900,
29900,
626,
382,
1254,
13,
4806,
453,
6573,
29892,
25114,
29871,
29941,
29906,
29946,
29900,
13,
29955,
29941,
29945,
317,
29889,
4306,
7103,
29892,
8081,
826,
4089,
29892,
341,
29902,
29871,
29946,
29947,
29896,
29900,
29929,
13,
6585,
304,
1963,
29928,
8041,
322,
4024,
18857,
17785,
297,
3269,
284,
27262,
297,
9793,
5925,
29889,
13,
4591,
278,
25657,
29915,
29879,
17799,
29901,
13,
7789,
854,
20863,
2152,
338,
20255,
12251,
310,
970,
8898,
472,
278,
3014,
310,
4644,
13397,
785,
13741,
295,
9143,
29889,
22096,
304,
22960,
278,
4024,
18857,
472,
8291,
29907,
29892,
20863,
2152,
471,
385,
306,
2890,
1400,
1867,
2801,
284,
5925,
10404,
472,
278,
5681,
2741,
390,
29889,
14601,
4523,
310,
5236,
25219,
29889,
3600,
4235,
310,
4066,
3160,
9793,
8898,
29892,
7766,
1199,
310,
9793,
29892,
10212,
7766,
1199,
29892,
322,
1824,
17983,
29889,
512,
697,
851,
392,
310,
1857,
5925,
29892,
20863,
2152,
338,
4392,
2827,
278,
9545,
310,
1422,
24833,
470,
11104,
373,
8041,
30010,
4180,
297,
1880,
3762,
29892,
9558,
964,
12755,
29892,
322,
5520,
29899,
3389,
12755,
714,
26807,
313,
29872,
29889,
29887,
1696,
3736,
11416,
29892,
16200,
18414,
2785,
29892,
322,
10591,
362,
467,
512,
263,
1473,
1196,
310,
664,
29892,
540,
338,
3902,
8253,
278,
10879,
29879,
310,
476,
29899,
29896,
29906,
3633,
3097,
12286,
29892,
27721,
29892,
322,
11286,
373,
263,
12875,
310,
8368,
714,
26807,
29889,
512,
278,
4940,
29892,
20863,
2152,
756,
12399,
278,
10879,
29879,
310,
10672,
304,
1207,
1346,
1943,
339,
403,
1629,
368,
6728,
30024,
313,
29909,
29979,
29925,
29897,
1090,
1939,
10517,
19941,
1522,
16887,
313,
29940,
6154,
29933,
29897,
373,
15352,
8368,
27012,
882,
29892,
278,
9545,
310,
5684,
6509,
931,
373,
8368,
4180,
29892,
322,
278,
5407,
2264,
310,
12755,
3765,
10067,
943,
297,
278,
10212,
9999,
29889,
20863,
2152,
20591,
670,
1963,
29928,
297,
5236,
25219,
515,
278,
3014,
310,
22559,
29892,
26767,
5127,
313,
5005,
5371,
467,
940,
8640,
263,
5835,
29915,
29879,
322,
1090,
5105,
27240,
7426,
297,
7766,
1199,
322,
263,
289,
496,
12779,
29915,
29879,
7426,
297,
10432,
29889,
13,
28173,
25781,
23598,
29901,
13,
1576,
12091,
310,
278,
315,
1485,
284,
512,
1659,
297,
13151,
10550,
9444,
18220,
313,
8426,
23598,
29897,
338,
304,
3033,
482,
8041,
322,
4024,
18857,
515,
4822,
278,
16372,
297,
9678,
800,
2820,
9793,
5925,
773,
5164,
5925,
1158,
11763,
29889,
13,
4013,
3031,
18220,
8128,
263,
2913,
363,
11619,
284,
8041,
322,
4024,
18857,
515,
278,
4523,
310,
13151,
29892,
14601,
4523,
310,
5236,
25219,
29892,
322,
278,
23242,
1860,
310,
12884,
1199,
29892,
5329,
3002,
29892,
27098,
29892,
322,
25137,
9327,
304,
5353,
1857,
5925,
322,
7150,
16705,
373,
1736,
29899,
262,
29899,
18035,
29889,
8565,
10242
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
Long Island Man Sentenced in Girlfriend ‘Walking Dead’ Shooting
By Rashed Mian Posted on February 6, 2014
A Williston Park man who shot his girlfriend over an argument about the hit TV show The Walking Dead was sentenced in Nassau County Court Thursday to three-and-a-half years in prison.
Jared Gurman had pleaded guilty to first-degree attempted assault on Dec. 4, 2013—almost exactly one year to the day police said he shot his girlfriend with a rifle following an argument over AMC’s popular zombie show.
Gurman was initially charged with second-degree attempted murder, but the charge was downgraded to attempted assault as part of the guilty plea.
Back in December 2012, Nassau County police said Gurman’s girlfriend was driving him home from a bar when the couple began arguing about The Walking Dead.
Gurman, 28, argued that there is a possibility of a zombie virus being released by the government.
Their argument continued via text message after she dropped him home, police said. She later decided to go back to the apartment to calm him down, but was shot as she walked inside, police said.
Gurman drove her to a local hospital, where he was later arrested, police said.
She suffered a pierced lung, pierced diaphragm and a shattered rib, but survived.
Gurman’s attorney previously said the shooting was an accident.
“Even just brandishing a loaded weapon is never the right choice in an argument, no matter what it’s about,” Nassau County District Attorney Kathleen Rice said in a statement. “This shooting could have had a much more grave outcome and it’s fortunate that Mr. Gurman’s victim didn’t die or have worse injuries than she did.”
Rashed Mian
Rashed Mian has been covering local news for the Long Island Press since 2011. He graduated from Hofstra University in 2010 where he studied print journalism. Rashed, the staff’s multimedia reporter, covers daily news for the web, shoots/edits feature videos and writes about civil liberties. He loves Afghan food and sports. Rashed is also a caffeine freak. Email: [email protected] Twitter: rashedmian
Dreyfoos School of the arts Foundation 30th Anniversary “The Main Event” Gala
The Kravis Center for the Performing Arts
Pet Rabbit Education Event
Merrick Library
George Santos Bobblehead Available With Audio Clips of His Biggest Lies
FINALLY! Grand Central Madison station opens after decades of planning and construction
Blakeman Doesn’t See Current Nassau Coliseum as ‘Viable’ Option for Las Vegas Sands Redevelopment
Hochul Lays Out Big Plans for Housing Production, Public Safety in State of the State Address | [
1,
6242,
7935,
2315,
28048,
9223,
297,
18620,
18326,
5129,
29956,
2235,
292,
16992,
30010,
17550,
11427,
13,
2059,
390,
25936,
341,
713,
4918,
287,
373,
6339,
29871,
29953,
29892,
29871,
29906,
29900,
29896,
29946,
13,
29909,
2811,
391,
265,
4815,
767,
1058,
10322,
670,
7826,
18326,
975,
385,
2980,
1048,
278,
7124,
5648,
1510,
450,
12878,
292,
16992,
471,
2665,
9223,
297,
405,
465,
585,
5127,
9245,
498,
1295,
3250,
304,
2211,
29899,
392,
29899,
29874,
29899,
24498,
2440,
297,
8475,
29889,
13,
29967,
1965,
402,
332,
1171,
750,
5644,
11932,
27719,
304,
937,
29899,
12163,
929,
16388,
29159,
373,
3826,
29889,
29871,
29946,
29892,
29871,
29906,
29900,
29896,
29941,
30003,
284,
3242,
3721,
697,
1629,
304,
278,
2462,
10974,
1497,
540,
10322,
670,
7826,
18326,
411,
263,
17018,
280,
1494,
385,
2980,
975,
319,
12513,
30010,
29879,
5972,
503,
3424,
347,
1510,
29889,
13,
29954,
332,
1171,
471,
12919,
20139,
411,
1473,
29899,
12163,
929,
16388,
13406,
29892,
541,
278,
8323,
471,
1623,
5105,
287,
304,
16388,
29159,
408,
760,
310,
278,
27719,
5644,
29874,
29889,
13,
5841,
297,
5846,
29871,
29906,
29900,
29896,
29906,
29892,
405,
465,
585,
5127,
10974,
1497,
402,
332,
1171,
30010,
29879,
7826,
18326,
471,
19500,
1075,
3271,
515,
263,
2594,
746,
278,
7303,
4689,
1852,
26420,
1048,
450,
12878,
292,
16992,
29889,
13,
29954,
332,
1171,
29892,
29871,
29906,
29947,
29892,
28705,
393,
727,
338,
263,
13331,
310,
263,
503,
3424,
347,
24424,
1641,
5492,
491,
278,
5874,
29889,
13,
1576,
381,
2980,
7572,
3025,
1426,
2643,
1156,
1183,
13700,
1075,
3271,
29892,
10974,
1497,
29889,
2296,
2678,
8459,
304,
748,
1250,
304,
278,
263,
8076,
304,
21732,
1075,
1623,
29892,
541,
471,
10322,
408,
1183,
17096,
2768,
29892,
10974,
1497,
29889,
13,
29954,
332,
1171,
26603,
902,
304,
263,
1887,
13457,
29892,
988,
540,
471,
2678,
24383,
29892,
10974,
1497,
29889,
13,
13468,
17654,
263,
9307,
1133,
13030,
29892,
9307,
1133,
9766,
561,
1431,
29885,
322,
263,
528,
2620,
287,
18130,
29892,
541,
10503,
2347,
29889,
13,
29954,
332,
1171,
30010,
29879,
1098,
25252,
9251,
1497,
278,
27904,
471,
385,
11423,
29889,
13,
30015,
29923,
854,
925,
14982,
14424,
263,
7500,
28639,
338,
2360,
278,
1492,
7348,
297,
385,
2980,
29892,
694,
4383,
825,
372,
30010,
29879,
1048,
3995,
405,
465,
585,
5127,
7457,
6212,
25252,
19663,
280,
264,
390,
625,
1497,
297,
263,
3229,
29889,
1346,
4013,
27904,
1033,
505,
750,
263,
1568,
901,
15258,
21957,
322,
372,
30010,
29879,
5162,
348,
403,
393,
3237,
29889,
402,
332,
1171,
30010,
29879,
28985,
3282,
30010,
29873,
762,
470,
505,
15029,
10899,
14886,
1135,
1183,
1258,
3178,
13,
29934,
25936,
341,
713,
13,
29934,
25936,
341,
713,
756,
1063,
21653,
1887,
9763,
363,
278,
6242,
7935,
5254,
1951,
29871,
29906,
29900,
29896,
29896,
29889,
940,
23588,
515,
15599,
4151,
3014,
297,
29871,
29906,
29900,
29896,
29900,
988,
540,
12399,
1596,
8955,
1608,
29889,
390,
25936,
29892,
278,
13925,
30010,
29879,
19004,
1634,
9555,
29892,
18469,
14218,
9763,
363,
278,
1856,
29892,
17394,
1862,
29914,
287,
1169,
4682,
19707,
322,
15873,
1048,
7631,
17176,
583
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
Kim Davis
Court rejects Kentucky's attempt to shirk legal fees in Kim Davis gay marriage case
LOUISVILLE, Ky. – Kentucky must pay $224,000 in legal fees related to former county clerk Kim Davis' refusal to issue marriage licenses to same-sex couples, a federal appeals court ruled Friday.
Davis, the former Rowan County clerk, was successfully sued by several couples in 2015 for refusing to follow the U.S. Supreme Court's ruling establishing a right to same-sex marriage.
In 2017, a federal district judge held that the couples suing Davis for marriage licenses clearly prevailed and that the state of Kentucky must pay their legal fees and costs.
While Gov. Matt Bevin has personally supported Davis, once calling her "an inspiration ... to the children of America," his lawyers argued in January that Davis should foot the legal bill, not the state.
On Friday, a three-judge panel for the U.S. 6th Circuit Court of Appeals in Cincinnati upheld the district judge's ruling that the state of Kentucky must pay the $224,000 in attorney fees and costs incurred by the same-sex couples.
Kim Davis:Governor who praised clerk in gay marriage protest wants her to pay state's legal fees
The governor's outside counsel, Palmer G. Vance II, declined to comment Friday on the appellate court ruling, deferring to Bevin's office.
In a previously filed brief, Vance wrote that Davis' local policy "defied the unequivocal mandate issued by the Supreme Court" and the state's "interest in upholding the rule of law."
“As a result, the Commonwealth cannot bear liability for any attorneys’ fees related to challenges to the legality of this local policy," Vance wrote.
"We respect the court’s decision," a Bevin spokesman said in a statement.
In Miller v. Davis, which involves eight people who sued Davis over not receiving marriage licenses, the appellate judges agreed with U.S. District Judge David Bunning's ruling in 2017 that said the state, not Davis or Rowan County, was liable because the state is primarily responsible for regulating marriage.
Bunning had said that Davis, a Republican, was protected because she was acting in her official capacity when she ignored court orders to issue licenses to same-sex couples following the U.S. Supreme Court's 2015 ruling allowing gay marriage.
In a separate opinion that involves the case of two other couples, the judges agreed Friday that Davis has sovereign immunity as a public official but not qualified immunity as an individual.
Judges noted the second case is still in an "early stage" and that a district court has yet not awarded any damages.
Davis declared she was acting "under God's authority" when refusing to issue the marriage licenses in 2015 to same-sex couples in the Eastern Kentucky county, a stance that garnered international attention.
Kim Davis:Kentucky official who denied same-sex marriage licenses, loses re-election
Davis spent five days in jail for refusing to issue the licenses and was freed only when a judge ordered her deputies to issue the licenses without her approval.
After the General Assembly passed a law dropping a requirement that marriage licenses bear the signatures of clerks, Davis said she no longer objected to issuing the same-sex licenses.
Davis was defeated by a Democratic challenger, Elwood Caudill, in her bid for re-election in November 2018.
The American Civil Liberties Union, which represented the couples who were denied licenses by Davis, celebrated the appellate court's ruling Friday.
"By affirming the sizeable fee award, the Court also sent a strong message to other government officials in Kentucky that it is not only unconstitutional to use public office to impose one’s personal religious views on others, but that it also can be a very expensive mistake," William E. Sharp, an attorney for the ACLU of Kentucky, said in a statement.
Stunner: Colts' Andrew Luck abruptly retiring from NFL Doubling down on racist comments, council candidate says she opposes interracial marriage Bill Maher gets candid about David Koch's death: 'I'm glad he's dead' 'Star Wars' fans lose it over 'Rise of Skywalker' D23 footage and Rey's double lightsaber Like what you see? Download the USA TODAY app | [
1,
12931,
15225,
13,
29907,
14316,
12560,
29879,
24043,
29915,
29879,
4218,
304,
528,
6793,
11706,
1238,
267,
297,
12931,
15225,
23852,
13718,
1206,
13,
3927,
3120,
7597,
6227,
1307,
29892,
16931,
29889,
785,
24043,
1818,
5146,
395,
29906,
29906,
29946,
29892,
29900,
29900,
29900,
297,
11706,
1238,
267,
4475,
304,
4642,
15178,
1067,
5968,
12931,
15225,
29915,
2143,
375,
284,
304,
2228,
13718,
7794,
11259,
304,
1021,
29899,
14167,
3581,
2701,
29892,
263,
17097,
5929,
1338,
8973,
29490,
28728,
29889,
13,
29928,
485,
275,
29892,
278,
4642,
11438,
273,
5127,
1067,
5968,
29892,
471,
8472,
480,
287,
491,
3196,
3581,
2701,
297,
29871,
29906,
29900,
29896,
29945,
363,
2143,
4746,
304,
1101,
278,
501,
29889,
29903,
29889,
22569,
9245,
29915,
29879,
364,
19478,
10127,
292,
263,
1492,
304,
1021,
29899,
14167,
13718,
29889,
13,
797,
29871,
29906,
29900,
29896,
29955,
29892,
263,
17097,
6474,
16833,
4934,
393,
278,
3581,
2701,
480,
292,
15225,
363,
13718,
7794,
11259,
9436,
758,
1564,
2356,
322,
393,
278,
2106,
310,
24043,
1818,
5146,
1009,
11706,
1238,
267,
322,
21544,
29889,
13,
8809,
488,
402,
586,
29889,
9811,
1522,
3845,
756,
22345,
6969,
15225,
29892,
2748,
5432,
902,
376,
273,
8681,
12232,
2023,
304,
278,
4344,
310,
6813,
1699,
670,
4307,
29891,
414,
28705,
297,
5490,
393,
15225,
881,
3661,
278,
11706,
11118,
29892,
451,
278,
2106,
29889,
13,
2951,
28728,
29892,
263,
2211,
29899,
17675,
479,
9451,
363,
278,
501,
29889,
29903,
29889,
29871,
29953,
386,
12594,
3121,
9245,
310,
2401,
29872,
1338,
297,
315,
3742,
2559,
2219,
318,
561,
2495,
278,
6474,
16833,
29915,
29879,
364,
19478,
393,
278,
2106,
310,
24043,
1818,
5146,
278,
395,
29906,
29906,
29946,
29892,
29900,
29900,
29900,
297,
1098,
25252,
1238,
267,
322,
21544,
297,
2764,
1127,
491,
278,
1021,
29899,
14167,
3581,
2701,
29889,
13,
29968,
326,
15225,
29901,
29954,
6170,
272,
1058,
7213,
3368,
1067,
5968,
297,
23852,
13718,
10021,
10753,
902,
304,
5146,
2106,
29915,
29879,
11706,
1238,
267,
13,
1576,
20221,
29915,
29879,
5377,
2613,
2838,
29892,
3793,
1050,
402,
29889,
478,
749,
1944,
29892,
4845,
1312,
304,
3440,
28728,
373,
278,
623,
514,
403,
8973,
364,
19478,
29892,
316,
571,
5393,
304,
1522,
3845,
29915,
29879,
8034,
29889,
13,
797,
263,
9251,
934,
29881,
11473,
29892,
478,
749,
5456,
393,
15225,
29915,
1887,
8898,
376,
1753,
1000,
278,
1597,
339,
440,
18642,
9619,
403,
16610,
491,
278,
22569,
9245,
29908,
322,
278,
2106,
29915,
29879,
376,
1639,
342,
297,
318,
561,
1025,
292,
278,
5751,
310,
4307,
1213,
13,
30015,
2887,
263,
1121,
29892,
278,
27094,
2609,
11460,
619,
3097,
363,
738,
1098,
272,
484,
952,
30010,
1238,
267,
4475,
304,
18066,
267,
304,
278,
2814,
2877,
310,
445,
1887,
8898,
1699,
478,
749,
5456,
29889,
13,
29908,
4806,
3390,
278,
8973,
30010,
29879,
10608,
1699,
263,
1522,
3845,
805,
23195,
1171,
1497,
297,
263,
3229,
29889,
13,
797,
16498,
325,
29889,
15225,
29892,
607,
20789,
9475,
2305,
1058,
480,
287,
15225,
975,
451,
13442,
13718,
7794,
11259,
29892,
278,
623,
514,
403,
6577,
2710,
15502,
411,
501,
29889,
29903,
29889,
7457,
26817
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
Home/News/Doug Casey: 2023 Will Be the Year for Gold
Doug Casey: 2023 Will Be the Year for Gold
Hj Azhar Ramli4 weeks ago
December 29, 2022 by SchiffGold 0 0
Peter Schiff recently said he is very bullish on gold in the year ahead.
Obviously, I’ve been bullish for a while. But I’m even more bullish now to the extent that’s possible, based on what’s been happening.”
Peter is not alone. Doug Casey also thinks 2023 will be “the year for gold.”
Gold basically traded sideways in 2022. With a few days left in the year, gold is within $20 of its price on Jan. 1, 2022. While this may seem disappointing given it was a year of inflation, gold has fared much better than most asset classes, despite headwinds created by a strong dollar and the Fed’s inflation fight.
Peter said most investors don’t realize the game has changed. The economy is going to tank and inflation will continue.
We’re going to be living in a high-inflation environment for the foreseeable future. Rates are not going back down to zero, but they’re still going to be negative in real terms.”
Peter also emphasized that the decline of the dollar is going to kick into a higher gear when the Fed does stop raising rates because the economy is too weak and the central bank has bigger things to worry about than inflation.
This is bullish for gold.
When asked for his “top speculation” in 2023, Casey said, “This is going to be the year of gold.”
Not to say it won’t also be a great year for other resources like uranium and oil, but I think this is going to be the year for gold. And therefore, for gold stocks.”
Casey said, “Interestingly, most people are completely unaware of this.”
Since gold has been relatively flat for the last year, Casey said it is “reasonably priced relative to other tangible assets.”
But he emphasized that it is going to go higher.
Because there will be serious talk of remonetizing it; BRICS don’t want to use the dollar—and for good reason. The public, who’ve forgotten gold even exists, will start buying it, driven by fear—fear of currency debasement, and fear of counterparty risk in the financial markets. So physical gold is going to do really well in 2023. And gold miners will do even better.”
Peter Schiff: Americans Paying for Big Government Through the Inflation Tax
Bad News and Really Bad News: SchiffGold Friday Gold Wrap March 11, 2022
Expect the Unexpected from the Fed
Gold Charts Small Gain in 2022 Despite Significant Headwinds
Forex Today: Fed Hikes by 0.75% | [
1,
8778,
29914,
29328,
29914,
29928,
692,
11733,
29891,
29901,
29871,
29906,
29900,
29906,
29941,
2811,
1522,
278,
8905,
363,
6650,
13,
29928,
692,
11733,
29891,
29901,
29871,
29906,
29900,
29906,
29941,
2811,
1522,
278,
8905,
363,
6650,
13,
29950,
29926,
4709,
8222,
8292,
492,
29946,
11405,
8020,
13,
6185,
1096,
29871,
29906,
29929,
29892,
29871,
29906,
29900,
29906,
29906,
491,
22325,
29954,
1025,
29871,
29900,
29871,
29900,
13,
23686,
22325,
10325,
1497,
540,
338,
1407,
289,
913,
728,
373,
7684,
297,
278,
1629,
14432,
29889,
13,
6039,
16604,
29892,
306,
30010,
345,
1063,
289,
913,
728,
363,
263,
1550,
29889,
1205,
306,
30010,
29885,
1584,
901,
289,
913,
728,
1286,
304,
278,
15834,
393,
30010,
29879,
1950,
29892,
2729,
373,
825,
30010,
29879,
1063,
10464,
3178,
13,
23686,
338,
451,
7432,
29889,
13215,
11733,
29891,
884,
22405,
29871,
29906,
29900,
29906,
29941,
674,
367,
1346,
1552,
1629,
363,
7684,
3178,
13,
29954,
1025,
8830,
3534,
287,
2625,
1994,
297,
29871,
29906,
29900,
29906,
29906,
29889,
2973,
263,
2846,
3841,
2175,
297,
278,
1629,
29892,
7684,
338,
2629,
395,
29906,
29900,
310,
967,
8666,
373,
2627,
29889,
29871,
29896,
29892,
29871,
29906,
29900,
29906,
29906,
29889,
5806,
445,
1122,
2833,
23451,
292,
2183,
372,
471,
263,
1629,
310,
4414,
362,
29892,
7684,
756,
285,
1965,
1568,
2253,
1135,
1556,
24342,
4413,
29892,
15020,
2343,
29893,
12772,
2825,
491,
263,
4549,
11232,
279,
322,
278,
17972,
30010,
29879,
4414,
362,
8589,
29889,
13,
23686,
1497,
1556,
13258,
943,
1016,
30010,
29873,
16289,
278,
3748,
756,
3939,
29889,
450,
26504,
338,
2675,
304,
23735,
322,
4414,
362,
674,
6773,
29889,
13,
4806,
30010,
276,
2675,
304,
367,
8471,
297,
263,
1880,
29899,
13453,
362,
5177,
363,
278,
363,
968,
29872,
519,
5434,
29889,
390,
1078,
526,
451,
2675,
1250,
1623,
304,
5225,
29892,
541,
896,
30010,
276,
1603,
2675,
304,
367,
8178,
297,
1855,
4958,
3178,
13,
23686,
884,
19310,
1891,
393,
278,
4845,
457,
310,
278,
11232,
279,
338,
2675,
304,
24817,
964,
263,
6133,
330,
799,
746,
278,
17972,
947,
5040,
29263,
19257,
1363,
278,
26504,
338,
2086,
8062,
322,
278,
6555,
9124,
756,
16600,
2712,
304,
15982,
1048,
1135,
4414,
362,
29889,
13,
4013,
338,
289,
913,
728,
363,
7684,
29889,
13,
10401,
4433,
363,
670,
1346,
3332,
1580,
2785,
30024,
297,
29871,
29906,
29900,
29906,
29941,
29892,
11733,
29891,
1497,
29892,
1346,
4013,
338,
2675,
304,
367,
278,
1629,
310,
7684,
3178,
13,
3664,
304,
1827,
372,
2113,
30010,
29873,
884,
367,
263,
2107,
1629,
363,
916,
7788,
763,
318,
661,
1974,
322,
17182,
29892,
541,
306,
1348,
445,
338,
2675,
304,
367,
278,
1629,
363,
7684,
29889,
1126,
5480,
29892,
363,
7684,
10961,
29879,
3178,
13,
8259,
29891,
1497,
29892,
1346,
4074,
342,
11687,
29892,
1556,
2305,
526,
6446,
1185,
2519,
310,
445,
3178,
13,
23036,
7684,
756,
1063,
13774,
12151,
363,
278,
1833,
1629,
29892,
11733,
29891,
1497,
372,
338,
1346,
23147,
2197,
544,
7612,
6198,
304,
916,
18806,
1821,
21608,
3178,
13,
6246,
540,
19310,
1891,
393,
372,
338,
2675,
304,
748,
6133,
29889,
13,
29933,
5658
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
Street cat finds a home thanks to his cunning mind and determination
Published by: 15.07.2022 Category: Animals
A white tailless cat from Mexico has changed its life dramatically, trying to get some food.
Once a homeless cat sitting next to a supermarket was noticed by 33-year-old elementary school teacher Tania Lizbeth Santos Coy Tova.
She stroked a fluffy homeless cat, and the cat quite unexpectedly took her to the store. The woman was a little surprised, but followed him.
It turned out that the cat was taking her there to show that he needed food.
He went with Tanya to the pet food shelf and made a choice.
This unusual act of the cat just struck the woman on the spot. She was fascinated by the smart and determined cat and wanted to take him home.
Now the sad, dirty homeless cat has found a real family and has become everyone’s favorite and happy snow-white Rabbit (that’s what Tanya called him because of his very short tail).
Rabbit was washed and treated. He now has his favorite toy, Rene, as well as an Instagram account, which has already been followed subscribed to by more than nine thousand people.
Tanya says that Rabbit is her first pet and despite the fact that she had to rehabilitate the cat for a long time after the street (he had many wounds and illnesses), she does not regret her decision to take him home and is very happy.
The woman believes that it was Rabbit who showed her how important it is to love and respect other living beings.
( 1 assessment, average 5 from 5 )
0 106 Cool Stories Cute Animals Kindness Positive stories
Family dog hailed as a ‘hero’ after protecting two missing girls who got lost in woods
When two little sisters got lost in the woods, their golden retriever helped and
Meet the Albino twins with amazing hair: today their beauty has become even more unique
Jorge Gomez was very happy to hear that his wife was pregnant. They had
This bride chose her 89-year-old grandmother as her bridesmaid and she was the life of the party
There is no greater happiness in life than having a wise grandmother from whom
Talent show judge thinks woman is too old for chosen song but she proves otherwise
Jenny Darren, 68, who recently retired, has been a music lover all her life,
Man on a boat takes selfie video and gets photobombed by an affectionate baby seal
Recently, a man decided to go boating for a while. At some point, he
3-year-old boy’s adorable reaction to being adopted after 2 years in foster care has gone viral
The adoptive mother of Michael Brown said that at first she was not going
22-year-old Toy Fox Terrier named Pebbles has become the oldest living dog in the world
As the mother bear abandons her cubs to drown in the lake, two brave fishermen jump into action and save them
Smart dogs saved their 71-year-old owner after he passed out in a park where no one was around
Meet the 25-year-old man who stopped growing but is worshiped by the villagers as a god | [
1,
7103,
6635,
14061,
263,
3271,
3969,
304,
670,
274,
27389,
3458,
322,
3683,
3381,
13,
21076,
3726,
491,
29901,
29871,
29896,
29945,
29889,
29900,
29955,
29889,
29906,
29900,
29906,
29906,
17943,
29901,
24980,
1338,
13,
29909,
4796,
11062,
453,
404,
6635,
515,
12568,
756,
3939,
967,
2834,
8541,
19574,
29892,
1811,
304,
679,
777,
9687,
29889,
13,
26222,
263,
3632,
6393,
6635,
16246,
2446,
304,
263,
2428,
28549,
471,
10548,
491,
29871,
29941,
29941,
29899,
6360,
29899,
1025,
22470,
3762,
15703,
323,
4807,
365,
466,
29890,
621,
24813,
3189,
29891,
323,
4273,
29889,
13,
13468,
380,
16475,
287,
263,
1652,
3096,
29891,
3632,
6393,
6635,
29892,
322,
278,
6635,
3755,
15668,
368,
3614,
902,
304,
278,
3787,
29889,
450,
6114,
471,
263,
2217,
18014,
29892,
541,
5643,
1075,
29889,
13,
3112,
6077,
714,
393,
278,
6635,
471,
5622,
902,
727,
304,
1510,
393,
540,
4312,
9687,
29889,
13,
3868,
3512,
411,
323,
20912,
304,
278,
5697,
9687,
528,
761,
322,
1754,
263,
7348,
29889,
13,
4013,
22910,
1044,
310,
278,
6635,
925,
15469,
278,
6114,
373,
278,
9758,
29889,
2296,
471,
21028,
262,
630,
491,
278,
15040,
322,
10087,
6635,
322,
5131,
304,
2125,
1075,
3271,
29889,
13,
10454,
278,
14610,
29892,
26616,
3632,
6393,
6635,
756,
1476,
263,
1855,
3942,
322,
756,
4953,
14332,
30010,
29879,
25448,
322,
9796,
15007,
29899,
10921,
16155,
2966,
313,
5747,
30010,
29879,
825,
323,
20912,
2000,
1075,
1363,
310,
670,
1407,
3273,
12464,
467,
13,
29934,
370,
2966,
471,
471,
17143,
322,
14914,
29889,
940,
1286,
756,
670,
25448,
304,
29891,
29892,
390,
1600,
29892,
408,
1532,
408,
385,
2799,
14442,
3633,
29892,
607,
756,
2307,
1063,
5643,
21696,
2580,
304,
491,
901,
1135,
14183,
10405,
2305,
29889,
13,
29911,
20912,
4083,
393,
16155,
2966,
338,
902,
937,
5697,
322,
15020,
278,
2114,
393,
1183,
750,
304,
337,
29882,
4427,
10388,
278,
6635,
363,
263,
1472,
931,
1156,
278,
11952,
313,
354,
750,
1784,
281,
3885,
322,
4486,
2264,
267,
511,
1183,
947,
451,
28883,
902,
10608,
304,
2125,
1075,
3271,
322,
338,
1407,
9796,
29889,
13,
1576,
6114,
1339,
17180,
393,
372,
471,
16155,
2966,
1058,
10018,
902,
920,
4100,
372,
338,
304,
5360,
322,
3390,
916,
8471,
367,
886,
29889,
13,
29898,
29871,
29896,
24809,
358,
29892,
6588,
29871,
29945,
515,
29871,
29945,
1723,
13,
29900,
29871,
29896,
29900,
29953,
315,
1507,
624,
3842,
315,
1082,
24980,
1338,
13187,
2264,
10321,
3321,
15874,
13,
27104,
11203,
447,
2356,
408,
263,
5129,
29882,
1489,
30010,
1156,
12566,
292,
1023,
4567,
14000,
1058,
2355,
5714,
297,
25013,
13,
10401,
1023,
2217,
9883,
29879,
2355,
5714,
297,
278,
25013,
29892,
1009,
22843,
5663,
347,
369,
9213,
322,
13,
6816,
300,
278,
16197,
1789,
3252,
1144,
411,
21863,
292,
11315,
29901,
9826,
1009,
15409,
756,
4953,
1584,
901,
5412,
13,
29967,
3890,
402,
608,
29920,
471,
1407,
9796,
304,
8293,
393,
670,
6532,
471,
758,
5138,
424,
29889,
2688,
750,
13,
4013,
289,
2426,
12784,
902,
29871,
29947,
29929,
29899,
6360,
29899,
1025,
4595,
29885,
1228,
408,
902,
1506,
2247,
655,
333,
322,
1183,
471,
278
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
Ready to start planning your care? Call us at 833-347-1665 to make an appointment.
Sloan Kettering Institute
Changing how the world understands and treats cancer
Our scientists pursue every aspect of cancer research—from exploring the biology of genes and cells, to developing immune-based treatments, uncovering the causes of metastasis, and more.
Pursuing basic and translational research across 9 programs and 100+ labs
Memorial Hospital research
Focusing on clinical cancer research and population health
Human Oncology & Pathogenesis Program (HOPP)
Bridging the lab and the clinic through translational research
Collaborative research centers
Fostering interdisciplinary collaborations between laboratory scientists and clinicians
Extramural collaborations
Partnering with other academic and research institutions
Research at MSK
Core facilities & resources
Offering state-of-the-art resources for our researchers
Find a researcher or lab
Education & training programs
Training the next generation of clinicians and scientists
Our highly-specialized educational programs shape leaders to be at the forefront of cancer care and research.
Medical student opportunities
Continuing nursing education (CNE)
Academic departments & divisions
Gerstner Sloan Kettering Graduate School of Biomedical Sciences
Offering a curriculum with a focus on cancer
PhD & MD/PhD programs
MSK Bridge program
Connecting college seniors to future careers in biomedicine
High school & undergraduate summer programs
MSK Direct
Locations & Language
In the U.S.
Outside of the U.S.
Portugês
We’re here for you.
Speak to a care advisor
Adults: 833-920-3234
Monday to Friday, 8 a.m. to 6 p.m. (Eastern time)
Children & Teens: 833-MSK-KIDS
Insurance & financial assistance
Preparing for your first appointment
Explore our locations
Partner with us to treat your patient’s cancer.
CALL OUR DEDICATED CLINICIAN ACCESS NUMBER
Clinical updates & insights
Prediction tools
Learn About Cancer & Treatment
We treat every type of cancer, including the most important one: yours.
With cancer, where you get treated first matters. From diagnosis to treatment, our experts provide the care and support you need, when you need it.
Cancers & conditions
Risk assessment & screening
Support, Services & Programs
For children & teens
Adolescents & young adult (AYA) program
Patient & caregiver education library
Cancer News & Discoveries
We’re always leading the fight against cancer.
Memorial Sloan Kettering was founded in 1884, and today is a world leader in patient care, research, and educational programs.
Give to MSK
Patient Portal: MyMSK
About Diagnosis & Treatment
An Interview with Kathleen M. Foley
More About Pain Management
Overview of Cancer Pain
Causes of Cancer Pain
Treating Cancer Pain
Managing Pain Medication Side Effects
Pain Management after a Hospital Stay
Pain Management: FAQs
Kathleen Foley, Neurologist -- "Death is inevitable, but severe suffering is not. We must look to the day when compassionate and skilled end-of-life care becomes a part of the fabric of the American healthcare system, and we won't need to request it — it will simply be offered as needed."
Memorial Sloan Kettering Cancer Center neurologist Kathleen M. Foley focuses on the assessment and treatment of pain in cancer patients, as well as on developing policies for pain and palliative care worldwide. She is the incumbent of The Society of Memorial Sloan Kettering Cancer Center Chair and former Chief of the Pain and Palliative Care Service. Dr. Foley chairs the International Association for Hospice and Palliative Care and is a member of the Institute of Medicine of the National Academies.
In the early 1970s, I trained at Memorial Sloan Kettering Cancer Center and became chief resident in neurology both at Memorial Sloan Kettering Cancer Center and at Cornell. In 1974, Jerry Posner [who then headed neurology at Memorial Sloan Kettering Cancer Center] offered me a fellowship to study pain. I’d done basic research in genetics in medical school but was eager to do clinical research. However, when I took the job I warned Dr. Posner that I knew nothing about pain. His reply was, ’Don’t worry, no one else does either.’
At the time, cancer patients were inadequately treated for pain. Medications were not given in anticipation of pain, as they are today. Instead, patients often had to wait until they experienced pain to receive medications, which were only given by injection.
Also at about that time, the modern pharmacology of treating pain was just beginning, with the new understanding that morphine-like receptors were present in the brain. At Memorial Sloan Kettering Cancer Center, a medical pain clinic had started, and there was an informal pain consultation service. By 1981 we’d formalized a pain service as a designated service within the Department of Neurology. I was given the task of bringing together the programs that worked on pain — clinical analgesics, which was run by Memorial Sloan Kettering Cancer Center physician Raymond Houde and nurse Ada Rogers; clinical pharmacology, which was directed by Charles Inturrisi, professor of pharmacology at Weill Cornell Medical College; and the clinical neurology program — and it was the first designated pain service in a cancer setting in the United States. Other physicians joined us, including [Memorial Sloan Kettering Cancer Center neurologist] Gavril Pasternak, who was developing a laboratory to study opiate receptors in the brain. Working with Dr. Pasternak and others, we developed a program at Memorial Sloan Kettering Cancer Center that combined basic and clinical research, along with a training program. And together with Nessa Coyle [a PhD nurse practitioner at Memorial Sloan Kettering Cancer Center], we developed a supportive care program for patients with complicated pain.
In recent years, the most important change for patients is that pain is now recognized as another vital sign, like blood pressure, and is monitored every day. In 1974, pain was not being monitored any day. Now, at Memorial Sloan Kettering Cancer Center, patients who report pain can have a specific pain consultation, and medications will be ordered. These may vary from a patient-controlled analgesic pump to a wide range of different drugs. Then our patients are followed both in an outpatient clinic and at home until their pain abates.
Memorial Sloan Kettering Cancer Center has a strong commitment to pain management. From its inception, our service has worked closely with the departments of nursing, psychiatry, social work, and anesthesiology.
While I remained on staff at Memorial Sloan Kettering Cancer Center, I gave up heading the Pain and Palliative Care Service in 1995 to devote more time to running the Project on Death in America (PDIA). The project, of which I was an originator, was funded by [financier and philanthropist] George Soros for nine years. [The project officially concluded at the end of 2003.] The focus was to transform the culture of death in America through initiatives in science, the humanities, education, and professional training.
The PDIA focused on the quality of life for a very vulnerable population — patients with life-threatening illnesses. These patients must know that pain relief is available and should be able to obtain this relief. Minority populations should be able to have access to pain and palliative care in the same way that rich white Americans do. And we need to have systems in place so that government funding for this care is provided to children as well as to adults.
The PDIA also recognized that we had to focus on the development of leaders and palliative care experts if we were going to be able to change the care of patients. We created leadership programs for physicians, nurses, and social workers. For example, over the years, we awarded grants to 87 faculty scholars, many of whom now hold positions at leading academic institutions around the country, including at Memorial Sloan Kettering Cancer Center. These professionals were to be the Trojan horses within our institutions to lead pain and palliative care services.
The scope of the projects the PDIA funded was extraordinary. There are community hospitals around the country, for instance, that received funding, which now have pain and palliative care services to both enhance patients’ quality of life as well as provide end-of-life care. Another PDIA project focused on how to improve the care of the dying in prisons. We also supported two Institute of Medicine (IOM) reports that identified problems in the profession and made recommendations for change. A report that I edited from the National Cancer Policy Board and the IOM, published in 2001, Improving Palliative Care for Cancer, is now the accepted standard for what the role of palliative care within cancer centers should be.
The Project on Death in America was catalytic. Mr. Soros is now funding a project that focuses on the development of palliative care globally. We help governments develop pain and palliative care initiatives and policies. For example, one of our grantees has worked with the government of Romania to change their narcotic drug laws to facilitate access to pain medication for cancer patients.
We work closely with the World Health Organization (WHO). For many years Memorial Sloan Kettering Cancer Center was a WHO collaborative center. Now I’m on the expert panel and serve as the chair of the group developing the palliative care standards for the WHO Cancer Control Program.
In this country, there have been encouraging and significant changes in Medicare policy. Bridging programs between palliative care and hospice care have been developed. Such bridging programs allow patients to receive palliative care concurrently with active therapy for cancer. That’s a very big step, reflecting the recognition that there should be simultaneous care for patients at any stage in their illness. It shouldn’t be either/or: you get either pain relief or active cancer treatment. At any stage in his or her illness, a patient with cancer should be a candidate for good symptom management. There should also be full support of their psychological state and attention to their quality of living. Patients need to be able to access palliative care in the same way they access chemotherapy. In our enthusiasm for cure, we have often forgotten about care.
However, the good news is that there is a growing interest in research and in developing a research agenda. The public is increasingly sophisticated about the subject; and baby boomers, especially, are coming to these discussions with experiences of what they don’t want to have happen to them. So, between burgeoning awareness and engaging a larger population to talk about the issues and not to view end-of-life care as a taboo topic, I think there is great reason for optimism.
About MSK
Adult cancer types
Child & teen cancer types
Nutrition & cancer
Gerstner Sloan Kettering Graduate School
MSK Library
© 2023 Memorial Sloan Kettering Cancer Center
Log in web-44139.prod.hosting.acquia.com | [
1,
830,
3714,
304,
1369,
18987,
596,
2562,
29973,
8251,
502,
472,
29871,
29947,
29941,
29941,
29899,
29941,
29946,
29955,
29899,
29896,
29953,
29953,
29945,
304,
1207,
385,
28573,
29889,
13,
29903,
417,
273,
476,
19036,
292,
8907,
13,
1451,
9776,
920,
278,
3186,
2274,
29879,
322,
2578,
1446,
23900,
13,
29949,
332,
9638,
2879,
12359,
434,
1432,
9565,
310,
23900,
5925,
30003,
3166,
3902,
8253,
278,
4768,
3002,
310,
2531,
267,
322,
9101,
29892,
304,
14338,
5198,
1540,
29899,
6707,
7539,
1860,
29892,
443,
11911,
292,
278,
9946,
310,
1539,
579,
25101,
29892,
322,
901,
29889,
13,
29925,
1295,
26420,
6996,
322,
5578,
1288,
5925,
4822,
29871,
29929,
11104,
322,
29871,
29896,
29900,
29900,
29974,
301,
6897,
13,
11442,
9020,
15967,
5925,
13,
29943,
542,
4746,
373,
24899,
936,
23900,
5925,
322,
4665,
9045,
13,
29950,
7889,
1551,
1054,
6933,
669,
10802,
6352,
6656,
7835,
313,
29950,
4590,
29925,
29897,
13,
29933,
2429,
3460,
278,
9775,
322,
278,
24899,
293,
1549,
5578,
1288,
5925,
13,
28377,
3717,
1230,
5925,
1644,
414,
13,
29943,
520,
3241,
1006,
2218,
13326,
3821,
11465,
800,
1546,
10212,
7606,
9638,
2879,
322,
24899,
14722,
13,
5647,
2572,
3631,
11465,
800,
13,
7439,
1089,
292,
411,
916,
21567,
322,
5925,
21561,
13,
1666,
2842,
472,
10888,
29968,
13,
9203,
23330,
669,
7788,
13,
2776,
571,
292,
2106,
29899,
974,
29899,
1552,
29899,
442,
7788,
363,
1749,
5925,
414,
13,
12542,
263,
5925,
261,
470,
9775,
13,
29923,
29392,
669,
6694,
11104,
13,
5323,
2827,
278,
2446,
12623,
310,
24899,
14722,
322,
9638,
2879,
13,
29949,
332,
10712,
29899,
18732,
1891,
28976,
11104,
8267,
20251,
304,
367,
472,
278,
26839,
8862,
310,
23900,
2562,
322,
5925,
29889,
13,
19302,
936,
8368,
28602,
1907,
13,
1323,
8675,
292,
302,
1295,
292,
9793,
313,
29907,
8186,
29897,
13,
29909,
9431,
293,
5840,
1860,
669,
25884,
13,
29954,
15714,
1089,
16275,
273,
476,
19036,
292,
1632,
13467,
403,
4523,
310,
3457,
27067,
936,
17253,
13,
2776,
571,
292,
263,
16256,
12906,
398,
411,
263,
8569,
373,
23900,
13,
4819,
29928,
669,
20672,
29914,
4819,
29928,
11104,
13,
4345,
29968,
16230,
1824,
13,
17918,
292,
12755,
6940,
18930,
304,
5434,
2562,
414,
297,
4768,
290,
7486,
457,
13,
16382,
3762,
669,
1090,
5105,
27240,
11801,
11104,
13,
4345,
29968,
8797,
13,
3524,
800,
669,
17088,
13,
797,
278,
501,
29889,
29903,
29889,
13,
3744,
2975,
310,
278,
501,
29889,
29903,
29889,
13,
2290,
688,
8769,
13,
4806,
30010,
276,
1244,
363,
366,
29889,
13,
10649,
557,
304,
263,
2562,
594,
19188,
13,
3253,
499,
29879,
29901,
29871,
29947,
29941,
29941,
29899,
29929,
29906,
29900,
29899,
29941,
29906,
29941,
29946,
13,
29924,
898,
388,
304,
28728,
29892,
29871,
29947,
263,
29889,
29885,
29889,
304,
29871,
29953,
282,
29889,
29885,
29889,
313,
29923,
11530,
931,
29897,
13,
19334,
669,
1920,
575,
29901,
29871,
29947,
29941,
29941,
29899,
4345,
29968,
29899,
29968,
1367,
29903,
13,
797,
7610,
749,
669,
18161,
18872,
13,
6572,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
OAuth 2 Twitter service - MoodleDocs Forums Documentation Downloads Demo Tracker Development Translation Search Search Moodle Sites What are you looking for? Learn about Moodles products, like Moodle LMS or Moodle Worplace, or find a Moodle Certified Service Provider. Moodle.com Our social network to share and curate open educational resources. MoodleNet Courses and programs to develop your skills as a Moodle educator, administrator, designer or developer. Moodle Academy Moodle.com Learn about Moodles products, like Moodle LMS or Moodle Worplace, or find a Moodle Certified Service Provider. MoodleNet Our social network to share and curate open educational resources. Moodle Academy Courses and programs to develop your skills as a Moodle educator, administrator, designer or developer. Documentation Menu NavigationMain pageTable of contentsRecent changesDocs overviewTOOLBOXSEARCH Log in 3.5 docs3.10 docs 3.9 docs 3.8 docs Article Page Comments View source History OAuth 2 Twitter service From MoodleDocsJump to:navigation, search Main page Managing a Moodle site Server settings OAuth 2 services OAuth 2 Twitter service OAuth 2 services Facebook service Google service LinkedIn service Microsoft service Twitter service Instructions needed .... if you work it out please add them. Retrieved from " Categories: Site administrationOAuth 2 Tools What links here Related changes Special pages Printable version Permanent link Page information In other languages Espa ol This page was last edited on 31 August 2017, at 01:01. Content is available under GNU General Public License unless otherwise noted. Privacy About Moodle Docs Disclaimers | [
1,
438,
6444,
29871,
29906,
20147,
2669,
448,
341,
2092,
280,
29928,
12332,
1152,
6762,
10854,
362,
9943,
18132,
27819,
3201,
4937,
14650,
4103,
18411,
11856,
11856,
341,
2092,
280,
317,
3246,
1724,
526,
366,
3063,
363,
29973,
19530,
29876,
1048,
341,
2092,
793,
9316,
29892,
763,
341,
2092,
280,
365,
4345,
470,
341,
2092,
280,
19662,
6689,
29892,
470,
1284,
263,
341,
2092,
280,
18410,
2164,
6692,
1019,
5489,
29889,
341,
2092,
280,
29889,
510,
8680,
5264,
3564,
304,
6232,
322,
3151,
403,
1722,
28976,
7788,
29889,
341,
2092,
280,
6779,
315,
29781,
322,
11104,
304,
2693,
596,
25078,
408,
263,
341,
2092,
280,
6320,
1061,
29892,
27443,
29892,
23383,
470,
13897,
29889,
341,
2092,
280,
10355,
341,
2092,
280,
29889,
510,
19530,
29876,
1048,
341,
2092,
793,
9316,
29892,
763,
341,
2092,
280,
365,
4345,
470,
341,
2092,
280,
19662,
6689,
29892,
470,
1284,
263,
341,
2092,
280,
18410,
2164,
6692,
1019,
5489,
29889,
341,
2092,
280,
6779,
8680,
5264,
3564,
304,
6232,
322,
3151,
403,
1722,
28976,
7788,
29889,
341,
2092,
280,
10355,
315,
29781,
322,
11104,
304,
2693,
596,
25078,
408,
263,
341,
2092,
280,
6320,
1061,
29892,
27443,
29892,
23383,
470,
13897,
29889,
10854,
362,
20019,
23001,
6330,
1813,
3562,
310,
8118,
4789,
296,
3620,
29928,
12332,
975,
1493,
4986,
5607,
8456,
29990,
1660,
1718,
3210,
4522,
297,
29871,
29941,
29889,
29945,
10561,
29941,
29889,
29896,
29900,
10561,
29871,
29941,
29889,
29929,
10561,
29871,
29941,
29889,
29947,
10561,
21746,
9305,
461,
29879,
4533,
2752,
5298,
438,
6444,
29871,
29906,
20147,
2669,
3645,
341,
2092,
280,
29928,
12332,
29967,
3427,
304,
29901,
15466,
29892,
2740,
4241,
1813,
259,
2315,
6751,
263,
341,
2092,
280,
3268,
259,
5656,
6055,
259,
438,
6444,
29871,
29906,
5786,
259,
438,
6444,
29871,
29906,
20147,
2669,
438,
6444,
29871,
29906,
5786,
13327,
2669,
5087,
2669,
28547,
797,
2669,
7783,
2669,
20147,
2669,
2799,
582,
1953,
4312,
13035,
565,
366,
664,
372,
714,
3113,
788,
963,
29889,
25427,
515,
376,
315,
14404,
29901,
10781,
17517,
29949,
6444,
29871,
29906,
27564,
1724,
2988,
1244,
6376,
630,
3620,
12630,
6515,
13905,
519,
1873,
349,
3504,
296,
1544,
9305,
2472,
512,
916,
10276,
5984,
29874,
13386,
910,
1813,
471,
1833,
8788,
373,
29871,
29941,
29896,
3111,
29871,
29906,
29900,
29896,
29955,
29892,
472,
29871,
29900,
29896,
29901,
29900,
29896,
29889,
10576,
338,
3625,
1090,
15143,
4593,
5236,
19245,
6521,
6467,
11682,
29889,
18936,
4135,
13611,
341,
2092,
280,
360,
12332,
8565,
8342,
414,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
### Project:phpdoc
### Description:Moodle API Documentation
### File:
### Path:./lib/aws-sdk/src/data/cognito-idp/2016-04-18/smoke.json.php
### Content:<?php
// This file was auto-generated from sdk-root/src/data/cognito-idp/2016-04-18/smoke.json
return [ 'version' => 1, 'defaultRegion' => 'us-west-2', 'testCases' => [ [ 'operationName' => 'ListUserPools', 'input' => [ 'MaxResults' => 10, ], 'errorExpectedFromService' => false, ], [ 'operationName' => 'DescribeUserPool', 'input' => [ 'UserPoolId' => 'us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee', ], 'errorExpectedFromService' => true, ], ],];
, | [
1,
835,
8010,
29901,
1961,
1514,
13,
2277,
29937,
12953,
29901,
29924,
2092,
280,
3450,
10854,
362,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
1982,
29914,
10467,
29899,
15348,
29914,
4351,
29914,
1272,
29914,
29883,
3811,
2049,
29899,
333,
29886,
29914,
29906,
29900,
29896,
29953,
29899,
29900,
29946,
29899,
29896,
29947,
29914,
3844,
6946,
29889,
3126,
29889,
1961,
13,
835,
10576,
29901,
8169,
1961,
13,
458,
910,
934,
471,
4469,
29899,
13525,
515,
269,
8181,
29899,
4632,
29914,
4351,
29914,
1272,
29914,
29883,
3811,
2049,
29899,
333,
29886,
29914,
29906,
29900,
29896,
29953,
29899,
29900,
29946,
29899,
29896,
29947,
29914,
3844,
6946,
29889,
3126,
13,
2457,
518,
525,
3259,
29915,
1149,
29871,
29896,
29892,
525,
4381,
18457,
29915,
1149,
525,
375,
29899,
5933,
29899,
29906,
742,
525,
1688,
29907,
2129,
29915,
1149,
518,
518,
525,
16453,
1170,
29915,
1149,
525,
1293,
2659,
29925,
8789,
742,
525,
2080,
29915,
1149,
518,
525,
7976,
12191,
29915,
1149,
29871,
29896,
29900,
29892,
21251,
525,
2704,
1252,
6021,
4591,
3170,
29915,
1149,
2089,
29892,
21251,
518,
525,
16453,
1170,
29915,
1149,
525,
4002,
29581,
2659,
11426,
742,
525,
2080,
29915,
1149,
518,
525,
2659,
11426,
1204,
29915,
1149,
525,
375,
29899,
23027,
29899,
29896,
29901,
27137,
27137,
29899,
1327,
1327,
29899,
617,
617,
29899,
1289,
1289,
29899,
3905,
3905,
3905,
3905,
3905,
3905,
742,
21251,
525,
2704,
1252,
6021,
4591,
3170,
29915,
1149,
1565,
29892,
21251,
21251,
1385,
13,
29892,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,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Writer/XLSX/Helper/FileSystemHelper.php
### Content:<?php
declare(strict_types=1);
namespace OpenSpout\Writer\XLSX\Helper;
use DateTimeImmutable;
use OpenSpout\Common\Helper\Escaper\XLSX;
use OpenSpout\Common\Helper\FileSystemHelper as CommonFileSystemHelper;
use OpenSpout\Writer\Common\Entity\Sheet;
use OpenSpout\Writer\Common\Entity\Worksheet;
use OpenSpout\Writer\Common\Helper\CellHelper;
use OpenSpout\Writer\Common\Helper\FileSystemWithRootFolderHelperInterface;
use OpenSpout\Writer\Common\Helper\ZipHelper;
use OpenSpout\Writer\XLSX\Manager\Style\StyleManager;
use OpenSpout\Writer\XLSX\MergeCell;
use OpenSpout\Writer\XLSX\Options;
/**
* @internal
*/
final class FileSystemHelper implements FileSystemWithRootFolderHelperInterface
{
public const RELS_FOLDER_NAME = '_rels';
public const DRAWINGS_FOLDER_NAME = 'drawings';
public const DOC_PROPS_FOLDER_NAME = 'docProps';
public const XL_FOLDER_NAME = 'xl';
public const WORKSHEETS_FOLDER_NAME = 'worksheets';
public const RELS_FILE_NAME = '.rels';
public const APP_XML_FILE_NAME = 'app.xml';
public const CORE_XML_FILE_NAME = 'core.xml';
public const CONTENT_TYPES_XML_FILE_NAME = '[Content_Types].xml';
public const WORKBOOK_XML_FILE_NAME = 'workbook.xml';
public const WORKBOOK_RELS_XML_FILE_NAME = 'workbook.xml.rels';
public const STYLES_XML_FILE_NAME = 'styles.xml';
private const SHEET_XML_FILE_HEADER = <<<'EOD'
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">
EOD;
private string $baseFolderRealPath;
private CommonFileSystemHelper $baseFileSystemHelper;
/** @var ZipHelper Helper to perform tasks with Zip archive */
private ZipHelper $zipHelper;
/** @var string document creator */
private string $creator;
/** @var XLSX Used to escape XML data */
private XLSX $escaper;
/** @var string Path to the root folder inside the temp folder where the files to create the XLSX will be stored */
private string $rootFolder;
/** @var string Path to the "_rels" folder inside the root folder */
private string $relsFolder;
/** @var string Path to the "docProps" folder inside the root folder */
private string $docPropsFolder;
/** @var string Path to the "xl" folder inside the root folder */
private string $xlFolder;
/** @var string Path to the "_rels" folder inside the "xl" folder */
private string $xlRelsFolder;
/** @var string Path to the "worksheets" folder inside the "xl" folder */
private string $xlWorksheetsFolder;
/** @var string Path to the temp folder, inside the root folder, where specific sheets content will be written to */
private string $sheetsContentTempFolder;
/**
* @param string $baseFolderPath The path of the base folder where all the I/O can occur
* @param ZipHelper $zipHelper Helper to perform tasks with Zip archive
* @param XLSX $escaper Used to escape XML data
* @param string $creator document creator
*/
public function __construct(string $baseFolderPath, ZipHelper $zipHelper, XLSX $escaper, string $creator)
{
$this->baseFileSystemHelper = new CommonFileSystemHelper($baseFolderPath);
$this->baseFolderRealPath = $this->baseFileSystemHelper->getBaseFolderRealPath();
$this->zipHelper = $zipHelper;
$this->escaper = $escaper;
$this->creator = $creator;
}
public function createFolder(string $parentFolderPath, string $folderName): string
{
return $this->baseFileSystemHelper->createFolder($parentFolderPath, $folderName);
}
public function createFileWithContents(string $parentFolderPath, string $fileName, string $fileContents): string
{
return $this->baseFileSystemHelper->createFileWithContents($parentFolderPath, $fileName, $fileContents);
}
public function deleteFile(string $filePath): void
{
$this->baseFileSystemHelper->deleteFile($filePath);
}
public function deleteFolderRecursively(string $folderPath): void
{
$this->baseFileSystemHelper->deleteFolderRecursively($folderPath);
}
public function getRootFolder(): string
{
return $this->rootFolder;
}
public function getXlFolder(): string
{
return $this->xlFolder;
}
public function getXlWorksheetsFolder(): string
{
return $this->xlWorksheetsFolder;
}
public function getSheetsContentTempFolder(): string
{
return $this->sheetsContentTempFolder;
}
/**
* Creates all the folders needed to create a XLSX file, as well as the files that won't change.
*
* @throws \OpenSpout\Common\Exception\IOException If unable to create at least one of the base folders
*/
public function createBaseFilesAndFolders(): void
{
$this
->createRootFolder()
->createRelsFolderAndFile()
->createDocPropsFolderAndFiles()
->createXlFolderAndSubFolders()
->createSheetsContentTempFolder()
;
}
/**
* Creates the "[Content_Types].xml" file under the root folder.
*
* @param Worksheet[] $worksheets
*/
public function createContentTypesFile(array $worksheets): self
{
$contentTypesXmlFileContents = <<<'EOD'
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
<Default ContentType="application/xml" Extension="xml"/>
<Default ContentType="application/vnd.openxmlformats-package.relationships+xml" Extension="rels"/>
<Default ContentType="application/vnd.openxmlformats-officedocument.vmlDrawing" Extension="vml"/>
<Override ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml" PartName="/xl/workbook.xml"/>
EOD;
/** @var Worksheet $worksheet */
foreach ($worksheets as $worksheet) {
$contentTypesXmlFileContents .= '<Override ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" PartName="/xl/worksheets/sheet'.$worksheet->getId().'.xml"/>';
$contentTypesXmlFileContents .= '<Override ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml" PartName="/xl/comments'.$worksheet->getId().'.xml" />';
}
$contentTypesXmlFileContents .= <<<'EOD'
<Override ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml" PartName="/xl/styles.xml"/>
<Override ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml" PartName="/xl/sharedStrings.xml"/>
<Override ContentType="application/vnd.openxmlformats-package.core-properties+xml" PartName="/docProps/core.xml"/>
<Override ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml" PartName="/docProps/app.xml"/>
</Types>
EOD;
$this->createFileWithContents($this->rootFolder, self::CONTENT_TYPES_XML_FILE_NAME, $contentTypesXmlFileContents);
return $this;
}
/**
* Creates the "workbook.xml" file under the "xl" folder.
*
* @param Worksheet[] $worksheets
*/
public function createWorkbookFile(array $worksheets): self
{
$workbookXmlFileContents = <<<'EOD'
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">
<sheets>
EOD;
/** @var Worksheet $worksheet */
foreach ($worksheets as $worksheet) {
$worksheetName = $worksheet->getExternalSheet()->getName();
$worksheetVisibility = $worksheet->getExternalSheet()->isVisible() ? 'visible' : 'hidden';
$worksheetId = $worksheet->getId();
$workbookXmlFileContents .= '<sheet name="'.$this->escaper->escape($worksheetName).'" sheetId="'.$worksheetId.'" r:id="rIdSheet'.$worksheetId.'" state="'.$worksheetVisibility.'"/>';
}
$workbookXmlFileContents .= <<<'EOD'
</sheets>
EOD;
$definedNames = '';
/** @var Worksheet $worksheet */
foreach ($worksheets as $worksheet) {
$sheet = $worksheet->getExternalSheet();
if (null !== $autofilter = $sheet->getAutoFilter()) {
$worksheetName = $sheet->getName();
$name = sprintf(
'\'%s\'!$%s$%s:$%s$%s',
$this->escaper->escape($worksheetName),
CellHelper::getColumnLettersFromColumnIndex($autofilter->fromColumnIndex),
$autofilter->fromRow,
CellHelper::getColumnLettersFromColumnIndex($autofilter->toColumnIndex),
$autofilter->toRow
);
$definedNames .= '<definedName function="false" hidden="true" localSheetId="'.$sheet->getIndex().'" name="_xlnm._FilterDatabase" vbProcedure="false">'.$name.'</definedName>';
}
}
if ('' !== $definedNames) {
$workbookXmlFileContents .= '<definedNames>'.$definedNames.'</definedNames>';
}
$workbookXmlFileContents .= <<<'EOD'
</workbook>
EOD;
$this->createFileWithContents($this->xlFolder, self::WORKBOOK_XML_FILE_NAME, $workbookXmlFileContents);
return $this;
}
/**
* Creates the "workbook.xml.res" file under the "xl/_res" folder.
*
* @param Worksheet[] $worksheets
*/
public function createWorkbookRelsFile(array $worksheets): self
{
$workbookRelsXmlFileContents = <<<'EOD'
<?xml version="1.0" encoding="UTF-8"?>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
<Relationship Id="rIdStyles" Target="styles.xml" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles"/>
<Relationship Id="rIdSharedStrings" Target="sharedStrings.xml" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings"/>
EOD;
/** @var Worksheet $worksheet */
foreach ($worksheets as $worksheet) {
$worksheetId = $worksheet->getId();
$workbookRelsXmlFileContents .= '<Relationship Id="rIdSheet'.$worksheetId.'" Target="worksheets/sheet'.$worksheetId.'.xml" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"/>';
}
$workbookRelsXmlFileContents .= '</Relationships>';
$this->createFileWithContents($this->xlRelsFolder, self::WORKBOOK_RELS_XML_FILE_NAME, $workbookRelsXmlFileContents);
return $this;
}
/**
* Create the "rels" file for a given worksheet. This contains relations to the comments.xml and drawing.vml files for this worksheet.
*
* @param Worksheet[] $worksheets
*/
public function createWorksheetRelsFiles(array $worksheets): self
{
$this->createFolder($this->getXlWorksheetsFolder(), self::RELS_FOLDER_NAME);
foreach ($worksheets as $worksheet) {
$worksheetId = $worksheet->getId();
$worksheetRelsContent = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
<Relationship Id="rId_comments_vml1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing" Target="../drawings/vmlDrawing'.$worksheetId.'.vml"/>
<Relationship Id="rId_comments1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments" Target="../comments'.$worksheetId.'.xml"/>
</Relationships>';
$folder = $this->getXlWorksheetsFolder().\DIRECTORY_SEPARATOR.'_rels';
$filename = 'sheet'.$worksheetId.'.xml.rels';
$this->createFileWithContents($folder, $filename, $worksheetRelsContent);
}
return $this;
}
/**
* Creates the "styles.xml" file under the "xl" folder.
*/
public function createStylesFile(StyleManager $styleManager): self
{
$stylesXmlFileContents = $styleManager->getStylesXMLFileContent();
$this->createFileWithContents($this->xlFolder, self::STYLES_XML_FILE_NAME, $stylesXmlFileContents);
return $this;
}
/**
* Creates the "content.xml" file under the root folder.
*
* @param Worksheet[] $worksheets
*/
public function createContentFiles(Options $options, array $worksheets): self
{
$allMergeCells = $options->getMergeCells();
foreach ($worksheets as $worksheet) {
$contentXmlFilePath = $this->getXlWorksheetsFolder().\DIRECTORY_SEPARATOR.basename($worksheet->getFilePath());
$worksheetFilePointer = fopen($contentXmlFilePath, 'w');
\assert(false !== $worksheetFilePointer);
$sheet = $worksheet->getExternalSheet();
fwrite($worksheetFilePointer, self::SHEET_XML_FILE_HEADER);
// AutoFilter tags
$range = '';
if (null !== $autofilter = $sheet->getAutoFilter()) {
$range = sprintf(
'%s%s:%s%s',
CellHelper::getColumnLettersFromColumnIndex($autofilter->fromColumnIndex),
$autofilter->fromRow,
CellHelper::getColumnLettersFromColumnIndex($autofilter->toColumnIndex),
$autofilter->toRow
);
fwrite($worksheetFilePointer, '<sheetPr filterMode="false"><pageSetUpPr fitToPage="false"/></sheetPr>');
fwrite($worksheetFilePointer, sprintf('<dimension ref="%s"/>', $range));
}
if (null !== ($sheetView = $sheet->getSheetView())) {
fwrite($worksheetFilePointer, '<sheetViews>'.$sheetView->getXml().'</sheetViews>');
}
fwrite($worksheetFilePointer, $this->getXMLFragmentForDefaultCellSizing($options));
fwrite($worksheetFilePointer, $this->getXMLFragmentForColumnWidths($options, $sheet));
fwrite($worksheetFilePointer, '<sheetData>');
$worksheetFilePath = $worksheet->getFilePath();
$this->copyFileContentsToTarget($worksheetFilePath, $worksheetFilePointer);
fwrite($worksheetFilePointer, '</sheetData>');
// AutoFilter tag
if ('' !== $range) {
fwrite($worksheetFilePointer, sprintf('<autoFilter ref="%s"/>', $range));
}
// create nodes for merge cells
$mergeCells = array_filter(
$allMergeCells,
static fn (MergeCell $c) => $c->sheetIndex === $worksheet->getExternalSheet()->getIndex(),
);
if ([] !== $mergeCells) {
$mergeCellString = '<mergeCells count="'.\count($mergeCells).'">';
foreach ($mergeCells as $mergeCell) {
$topLeft = CellHelper::getColumnLettersFromColumnIndex($mergeCell->topLeftColumn).$mergeCell->topLeftRow;
$bottomRight = CellHelper::getColumnLettersFromColumnIndex($mergeCell->bottomRightColumn).$mergeCell->bottomRightRow;
$mergeCellString .= sprintf(
'<mergeCell ref="%s:%s"/>',
$topLeft,
$bottomRight
);
}
$mergeCellString .= '</mergeCells>';
fwrite($worksheetFilePointer, $mergeCellString);
}
// Add the legacy drawing for comments
fwrite($worksheetFilePointer, '<legacyDrawing r:id="rId_comments_vml1"/>');
fwrite($worksheetFilePointer, '</worksheet>');
fclose($worksheetFilePointer);
}
return $this;
}
/**
* Deletes the temporary folder where sheets content was stored.
*/
public function deleteWorksheetTempFolder(): self
{
$this->deleteFolderRecursively($this->sheetsContentTempFolder);
return $this;
}
/**
* Zips the root folder and streams the contents of the zip into the given stream.
*
* @param resource $streamPointer Pointer to the stream to copy the zip
*/
public function zipRootFolderAndCopyToStream($streamPointer): void
{
$zip = $this->zipHelper->createZip($this->rootFolder);
$zipFilePath = $this->zipHelper->getZipFilePath($zip);
// In order to have the file's mime type detected properly, files need to be added
// to the zip file in a particular order.
// "[Content_Types].xml" then at least 2 files located in "xl" folder should be zipped first.
$this->zipHelper->addFileToArchive($zip, $this->rootFolder, self::CONTENT_TYPES_XML_FILE_NAME);
$this->zipHelper->addFileToArchive($zip, $this->rootFolder, self::XL_FOLDER_NAME.\DIRECTORY_SEPARATOR.self::WORKBOOK_XML_FILE_NAME);
$this->zipHelper->addFileToArchive($zip, $this->rootFolder, self::XL_FOLDER_NAME.\DIRECTORY_SEPARATOR.self::STYLES_XML_FILE_NAME);
$this->zipHelper->addFolderToArchive($zip, $this->rootFolder, ZipHelper::EXISTING_FILES_SKIP);
$this->zipHelper->closeArchiveAndCopyToStream($zip, $streamPointer);
// once the zip is copied, remove it
$this->deleteFile($zipFilePath);
}
/**
* Construct column width references xml to inject into worksheet xml file.
*/
private function getXMLFragmentForColumnWidths(Options $options, Sheet $sheet): string
{
if ([] !== $sheet->getColumnWidths()) {
$widths = $sheet->getColumnWidths();
} elseif ([] !== $options->getColumnWidths()) {
$widths = $options->getColumnWidths();
} else {
return '';
}
$xml = '<cols>';
foreach ($widths as $columnWidth) {
$xml .= '<col min="'.$columnWidth->start.'" max="'.$columnWidth->end.'" width="'.$columnWidth->width.'" customWidth="true"/>';
}
$xml .= '</cols>';
return $xml;
}
/**
* Constructs default row height and width xml to inject into worksheet xml file.
*/
private function getXMLFragmentForDefaultCellSizing(Options $options): string
{
$rowHeightXml = null === $options->DEFAULT_ROW_HEIGHT ? '' : " defaultRowHeight=\"{$options->DEFAULT_ROW_HEIGHT}\"";
$colWidthXml = null === $options->DEFAULT_COLUMN_WIDTH ? '' : " defaultColWidth=\"{$options->DEFAULT_COLUMN_WIDTH}\"";
if ('' === $colWidthXml && '' === $rowHeightXml) {
return '';
}
// Ensure that the required defaultRowHeight is set
$rowHeightXml = '' === $rowHeightXml ? ' defaultRowHeight="0"' : $rowHeightXml;
return "<sheetFormatPr{$colWidthXml}{$rowHeightXml}/>";
}
/**
* Creates the folder that will be used as root.
*
* @throws \OpenSpout\Common\Exception\IOException If unable to create the folder
*/
private function createRootFolder(): self
{
$this->rootFolder = $this->createFolder($this->baseFolderRealPath, uniqid('xlsx', true));
return $this;
}
/**
* Creates the "_rels" folder under the root folder as well as the ".rels" file in it.
*
* @throws \OpenSpout\Common\Exception\IOException If unable to create the folder or the ".rels" file
*/
private function createRelsFolderAndFile(): self
{
$this->relsFolder = $this->createFolder($this->rootFolder, self::RELS_FOLDER_NAME);
$this->createRelsFile();
return $this;
}
/**
* Creates the ".rels" file under the "_rels" folder (under root).
*
* @throws \OpenSpout\Common\Exception\IOException If unable to create the file
*/
private function createRelsFile(): self
{
$relsFileContents = <<<'EOD'
<?xml version="1.0" encoding="UTF-8"?>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
<Relationship Id="rIdWorkbook" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/>
<Relationship Id="rIdCore" Type="http://schemas.openxmlformats.org/officedocument/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/>
<Relationship Id="rIdApp" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/>
</Relationships>
EOD;
$this->createFileWithContents($this->relsFolder, self::RELS_FILE_NAME, $relsFileContents);
return $this;
}
/**
* Creates the "docProps" folder under the root folder as well as the "app.xml" and "core.xml" files in it.
*
* @throws \OpenSpout\Common\Exception\IOException If unable to create the folder or one of the files
*/
private function createDocPropsFolderAndFiles(): self
{
$this->docPropsFolder = $this->createFolder($this->rootFolder, self::DOC_PROPS_FOLDER_NAME);
$this->createAppXmlFile();
$this->createCoreXmlFile();
return $this;
}
/**
* Creates the "app.xml" file under the "docProps" folder.
*
* @throws \OpenSpout\Common\Exception\IOException If unable to create the file
*/
private function createAppXmlFile(): self
{
$appXmlFileContents = <<<EOD
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties">
<Application>{$this->creator}</Application>
<TotalTime>0</TotalTime>
</Properties>
EOD;
$this->createFileWithContents($this->docPropsFolder, self::APP_XML_FILE_NAME, $appXmlFileContents);
return $this;
}
/**
* Creates the "core.xml" file under the "docProps" folder.
*
* @throws \OpenSpout\Common\Exception\IOException If unable to create the file
*/
private function createCoreXmlFile(): self
{
$createdDate = (new DateTimeImmutable())->format(DateTimeImmutable::W3C);
$coreXmlFileContents = <<<EOD
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<dcterms:created xsi:type="dcterms:W3CDTF">{$createdDate}</dcterms:created>
<dcterms:modified xsi:type="dcterms:W3CDTF">{$createdDate}</dcterms:modified>
<cp:revision>0</cp:revision>
</cp:coreProperties>
EOD;
$this->createFileWithContents($this->docPropsFolder, self::CORE_XML_FILE_NAME, $coreXmlFileContents);
return $this;
}
/**
* Creates the "xl" folder under the root folder as well as its subfolders.
*
* @throws \OpenSpout\Common\Exception\IOException If unable to create at least one of the folders
*/
private function createXlFolderAndSubFolders(): self
{
$this->xlFolder = $this->createFolder($this->rootFolder, self::XL_FOLDER_NAME);
$this->createXlRelsFolder();
$this->createXlWorksheetsFolder();
$this->createDrawingsFolder();
return $this;
}
/**
* Creates the temp folder where specific sheets content will be written to.
* This folder is not part of the final ODS file and is only used to be able to jump between sheets.
*
* @throws \OpenSpout\Common\Exception\IOException If unable to create the folder
*/
private function createSheetsContentTempFolder(): self
{
$this->sheetsContentTempFolder = $this->createFolder($this->rootFolder, 'worksheets-temp');
return $this;
}
/**
* Creates the "_rels" folder under the "xl" folder.
*
* @throws \OpenSpout\Common\Exception\IOException If unable to create the folder
*/
private function createXlRelsFolder(): self
{
$this->xlRelsFolder = $this->createFolder($this->xlFolder, self::RELS_FOLDER_NAME);
return $this;
}
/**
* Creates the "drawings" folder under the "xl" folder.
*
* @throws \OpenSpout\Common\Exception\IOException If unable to create the folder
*/
private function createDrawingsFolder(): self
{
$this->createFolder($this->getXlFolder(), self::DRAWINGS_FOLDER_NAME);
return $this;
}
/**
* Creates the "worksheets" folder under the "xl" folder.
*
* @throws \OpenSpout\Common\Exception\IOException If unable to create the folder
*/
private function createXlWorksheetsFolder(): self
{
$this->xlWorksheetsFolder = $this->createFolder($this->xlFolder, self::WORKSHEETS_FOLDER_NAME);
return $this;
}
/**
* Streams the content of the file at the given path into the target resource.
* Depending on which mode the target resource was created with, it will truncate then copy
* or append the content to the target file.
*
* @param string $sourceFilePath Path of the file whose content will be copied
* @param resource $targetResource Target resource that will receive the content
*/
private function copyFileContentsToTarget(string $sourceFilePath, $targetResource): void
{
$sourceHandle = fopen($sourceFilePath, 'r');
\assert(false !== $sourceHandle);
stream_copy_to_stream($sourceHandle, $targetResource);
fclose($sourceHandle);
}
}
, | [
1,
835,
8010,
29901,
1315,
1514,
13,
2277,
29937,
12953,
29901,
16963,
3450,
10854,
362,
23315,
363,
341,
2092,
280,
365,
4345,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
1982,
29914,
22156,
29886,
449,
29914,
4351,
29914,
10507,
29914,
29990,
8547,
29990,
29914,
10739,
29914,
2283,
3924,
10739,
29889,
1961,
13,
835,
10576,
29901,
8169,
1961,
13,
13,
7099,
8663,
29898,
710,
919,
29918,
8768,
29922,
29896,
416,
13,
13,
22377,
4673,
5592,
449,
29905,
10507,
29905,
29990,
8547,
29990,
29905,
10739,
29936,
13,
13,
1509,
12315,
1888,
23975,
29936,
13,
1509,
4673,
5592,
449,
29905,
18877,
29905,
10739,
29905,
29923,
1557,
7202,
29905,
29990,
8547,
29990,
29936,
13,
1509,
4673,
5592,
449,
29905,
18877,
29905,
10739,
29905,
2283,
3924,
10739,
408,
13103,
2283,
3924,
10739,
29936,
13,
1509,
4673,
5592,
449,
29905,
10507,
29905,
18877,
29905,
6691,
29905,
10654,
29936,
13,
1509,
4673,
5592,
449,
29905,
10507,
29905,
18877,
29905,
6691,
29905,
5531,
9855,
29936,
13,
1509,
4673,
5592,
449,
29905,
10507,
29905,
18877,
29905,
10739,
29905,
4617,
10739,
29936,
13,
1509,
4673,
5592,
449,
29905,
10507,
29905,
18877,
29905,
10739,
29905,
2283,
3924,
3047,
10303,
12924,
10739,
10448,
29936,
13,
1509,
4673,
5592,
449,
29905,
10507,
29905,
18877,
29905,
10739,
29905,
26264,
10739,
29936,
13,
1509,
4673,
5592,
449,
29905,
10507,
29905,
29990,
8547,
29990,
29905,
3260,
29905,
5568,
29905,
5568,
3260,
29936,
13,
1509,
4673,
5592,
449,
29905,
10507,
29905,
29990,
8547,
29990,
29905,
15836,
479,
4617,
29936,
13,
1509,
4673,
5592,
449,
29905,
10507,
29905,
29990,
8547,
29990,
29905,
5856,
29936,
13,
13,
7918,
13,
334,
732,
7564,
13,
3776,
13,
8394,
770,
3497,
3924,
10739,
10703,
3497,
3924,
3047,
10303,
12924,
10739,
10448,
13,
29912,
13,
1678,
970,
1040,
5195,
8547,
29918,
29943,
5607,
8032,
29918,
5813,
353,
22868,
2674,
29879,
2670,
13,
1678,
970,
1040,
360,
4717,
29956,
4214,
29903,
29918,
29943,
5607,
8032,
29918,
5813,
353,
525,
4012,
886,
2670,
13,
1678,
970,
1040,
11662,
29907,
29918,
8618,
7024,
29918,
29943,
5607,
8032,
29918,
5813,
353,
525,
1514,
20457,
2670,
13,
1678,
970,
1040,
1060,
29931,
29918,
29943,
5607,
8032,
29918,
5813,
353,
525,
15524,
2670,
13,
1678,
970,
1040,
399,
1955,
29968,
7068,
29923,
2544,
29903,
29918,
29943,
5607,
8032,
29918,
5813,
353,
525,
1287,
19360,
2670,
13,
13,
1678,
970,
1040,
5195,
8547,
29918,
7724,
29918,
5813,
353,
15300,
2674,
29879,
2670,
13,
1678,
970,
1040,
12279,
29925,
29918,
9165,
29918,
7724,
29918,
5813,
353,
525,
932,
29889,
3134,
2670,
13,
1678,
970,
1040,
4810,
1525,
29918,
9165,
29918,
7724,
29918,
5813,
353,
525,
3221,
29889,
3134,
2670,
13,
1678,
970,
1040,
8707,
29911,
3919,
29918,
15631,
29925,
2890,
29918,
9165,
29918,
7724,
29918,
5813,
353,
525,
29961,
3916,
29918,
10562,
1822,
3134,
2670,
13,
1678,
970,
1040,
399,
1955,
29968,
8456,
8949,
29918,
9165,
29918,
7724,
29918,
5813,
353,
525,
1287,
2909,
29889,
3134,
2670,
13,
1678,
970,
1040,
399,
1955,
29968,
8456,
8949,
29918,
1525,
8547,
29918,
9165,
29918,
7724,
29918,
5813,
353,
525,
1287,
2909,
29889,
3134,
29889,
2674,
29879,
2670,
13,
1678,
970,
1040,
6850
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
— Gül Uret —
Gül Üret graduated with a Master’s degree in International and Global History at Aarhus University. She completed her bachelor’s degree in History with a focus on the history of the Balkans, the United Nations and the European Union.
The Siege: Survival of a Besieged City
In the early ‘90s, no one believed that war would hit Sarajevo or that the Yugoslav National Army could turn into an enemy of the city’s people. For centuries, Sarajevo had been a multicultural city with its mosques, synagogues, and Catholic and Orthodox churches.
Gül Uret
Ahu Serter: Investing in Women, Investing in the Future
Women are the largest under-utilized asset in the world. In Turkey, less than 9% of entrepreneurs are women. Turkey’s only women-focused investment platform, the Arya Women Investment Platform, wants to change this. Balkan Diskurs spoke to Ahu Serter, founder of the Arya Women Investment Platform, about the platform’s work, its ongoing projects and its future plans.
Rape: Not Only a Crime against One Woman, but a Crime against the Nation?
BiH Organizations are Making Progress in the Fight Against Animal Cruelty | [
1,
813,
402,
6001,
501,
2267,
813,
13,
29954,
6001,
7189,
2267,
23588,
411,
263,
9082,
30010,
29879,
7426,
297,
4623,
322,
12002,
5298,
472,
319,
279,
14116,
3014,
29889,
2296,
8676,
902,
289,
496,
12779,
30010,
29879,
7426,
297,
5298,
411,
263,
8569,
373,
278,
4955,
310,
278,
350,
2235,
550,
29892,
278,
3303,
18269,
322,
278,
7824,
7761,
29889,
13,
1576,
4073,
479,
29901,
6298,
29894,
2561,
310,
263,
6952,
347,
3192,
4412,
13,
797,
278,
4688,
5129,
29929,
29900,
29879,
29892,
694,
697,
13112,
393,
1370,
723,
7124,
7745,
8339,
1365,
470,
393,
278,
612,
688,
17464,
3086,
8811,
1033,
2507,
964,
385,
11103,
310,
278,
4272,
30010,
29879,
2305,
29889,
1152,
21726,
29892,
7745,
8339,
1365,
750,
1063,
263,
1773,
3953,
3631,
4272,
411,
967,
19767,
1912,
29892,
5222,
13247,
1041,
29892,
322,
11865,
322,
23757,
17324,
26014,
29889,
13,
29954,
6001,
501,
2267,
13,
29909,
6905,
1816,
357,
29901,
512,
10147,
292,
297,
10152,
29892,
512,
10147,
292,
297,
278,
16367,
13,
29956,
2770,
526,
278,
10150,
1090,
29899,
4422,
1891,
24342,
297,
278,
3186,
29889,
512,
26459,
29892,
3109,
1135,
29871,
29929,
29995,
310,
23440,
1600,
1295,
526,
5866,
29889,
26459,
30010,
29879,
871,
5866,
29899,
29888,
542,
3880,
13258,
358,
7481,
29892,
278,
319,
719,
29874,
10152,
512,
10147,
358,
28096,
29892,
10753,
304,
1735,
445,
29889,
350,
2235,
273,
20579,
1295,
12707,
304,
319,
6905,
1816,
357,
29892,
25331,
310,
278,
319,
719,
29874,
10152,
512,
10147,
358,
28096,
29892,
1048,
278,
7481,
30010,
29879,
664,
29892,
967,
373,
17696,
9279,
322,
967,
5434,
13900,
29889,
13,
29934,
4085,
29901,
2216,
9333,
263,
29682,
2750,
3118,
22712,
29892,
541,
263,
29682,
2750,
278,
22900,
29973,
13,
20517,
29950,
9205,
17063,
526,
341,
5086,
20018,
297,
278,
26650,
11454,
303,
22809,
11263,
295,
1017,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
1Arts, entertainment and media
2Business
3Military and law enforcement
4Science and technology
5Other uses
(Redirected from Operating)
Look up operation in Wiktionary, the free dictionary.
Operation or Operations may refer to:
Arts, entertainment and media[edit]
Operation (game), a battery-operated board game that challenges dexterity
Operation (music), a term used in musical set theory
Operations (magazine), Multi-Man Publishing's house organ for articles and discussion about its wargaming products
The Operation (film), a 1973 British television film
The Operation (1990), a crime, drama, TV movie starring Joe Penny, Lisa Hartman, and Jason Beghe
The Operation (1992–1998), a reality television series from TLC
The Operation M.D., formerly The Operation, a Canadian garage rock band
"Operation", a song by Relient K from The Creepy EP, 2001
Business[edit]
Business operations, the harvesting of value from assets owned by a business
Manufacturing operations, operation of a facility
Operations management, an area of management concerned with designing and controlling the process of production
Military and law enforcement[edit]
Military operation, a military action (usually in a military campaign) using deployed forces
Black operation, or "Black op", an operation that may be outside of standard military protocol or against the law
Clandestine operation, an intelligence or military operation carried out so that the operation goes unnoticed
Combined operations, operations by forces of two or more allied nations
Covert operation, an operation which conceals the identity of the sponsor
Psychological operations, an operation consisting of psychological manipulations, tactics, and warfare
Special operations, military operations that are unconventional
Operations (J3), third level of Nation Level Command Structure
Operations (military staff), staff involved in planning operations
Sting operation, an operation designed to catch a person committing a crime, by means of deception
Science and technology[edit]
Inference, a step in reasoning
Information technology operations
Operation (mathematics), a calculation from zero or more input values (called operands) to an output value
Arity, number of arguments or operands that the function takes
Binary operation, calculation that combines two elements of the set to produce another element of the set
Graph operations, produce new graphs from initial ones
Modulo operation, operation finds the remainder after division of one number by another
Operations research, in British usage, application of advanced analytical methods to make better decisions
Unary operation, an operation with only one operand
Rail transport operations, the control of a rail system
Scientific operation
Surgical operation or surgery, in medicine
Unit operation, a basic step in a chemical engineering process
Other uses[edit]
Anomalous operation, in parapsychology, a term describing a broad category of purported paranormal effects
Operation, a word which represents a grammatical relation (i.e., function) or instruction, rather than a term or name
Operation of law, a legal term that indicates that a right or liability has been created for a party
List of military operations
OP (disambiguation)
Operations support system, used in the telecommunications industry
Operations room, the tactical center providing processed information for command and control of an area of operations
Operative (disambiguation)
Operator (disambiguation)
Topics referred to by the same term
This disambiguation page lists articles associated with the title Operation.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Operation&oldid=1075091406"
All article disambiguation pages
This page was last edited on 3 March 2022, at 21:36 (UTC). | [
1,
29871,
29896,
1433,
1372,
29892,
22684,
358,
322,
5745,
13,
29906,
16890,
3335,
13,
29941,
29316,
277,
653,
322,
4307,
24555,
13561,
13,
29946,
29903,
15277,
322,
15483,
13,
29945,
16107,
3913,
13,
29898,
24735,
287,
515,
6607,
1218,
29897,
13,
14959,
701,
5858,
297,
3772,
12757,
653,
29892,
278,
3889,
8600,
29889,
13,
10925,
470,
6607,
800,
1122,
2737,
304,
29901,
13,
1433,
1372,
29892,
22684,
358,
322,
5745,
29961,
5628,
29962,
13,
10925,
313,
11802,
511,
263,
16988,
29899,
3372,
630,
7613,
3748,
393,
18066,
267,
316,
23612,
537,
13,
10925,
313,
23596,
511,
263,
1840,
1304,
297,
9636,
731,
6368,
13,
7094,
800,
313,
11082,
8985,
511,
14974,
29899,
2517,
19088,
29915,
29879,
3699,
2894,
363,
7456,
322,
10679,
1048,
967,
281,
1191,
11500,
9316,
13,
1576,
20462,
313,
9663,
511,
263,
29871,
29896,
29929,
29955,
29941,
4908,
11456,
2706,
13,
1576,
20462,
313,
29896,
29929,
29929,
29900,
511,
263,
17268,
29892,
18621,
29892,
5648,
14064,
380,
23693,
11131,
7363,
1460,
29892,
29420,
12321,
1171,
29892,
322,
21776,
17964,
354,
13,
1576,
20462,
313,
29896,
29929,
29929,
29906,
29994,
29896,
29929,
29929,
29947,
511,
263,
16832,
11456,
3652,
515,
323,
12182,
13,
1576,
20462,
341,
29889,
29928,
1696,
21510,
450,
20462,
29892,
263,
11443,
7171,
482,
7679,
3719,
13,
29908,
10925,
613,
263,
4823,
491,
6376,
993,
476,
515,
450,
315,
929,
2272,
16502,
29892,
29871,
29906,
29900,
29900,
29896,
13,
16890,
3335,
29961,
5628,
29962,
13,
16890,
3335,
6931,
29892,
278,
4023,
10147,
292,
310,
995,
515,
21608,
15205,
491,
263,
5381,
13,
2517,
9765,
3864,
6931,
29892,
5858,
310,
263,
24454,
13,
7094,
800,
10643,
29892,
385,
4038,
310,
10643,
15041,
411,
2874,
292,
322,
640,
22155,
278,
1889,
310,
5802,
13,
29316,
277,
653,
322,
4307,
24555,
13561,
29961,
5628,
29962,
13,
29316,
277,
653,
5858,
29892,
263,
9121,
3158,
313,
375,
1474,
297,
263,
9121,
11531,
29897,
773,
21168,
8249,
13,
18700,
5858,
29892,
470,
376,
18700,
1015,
613,
385,
5858,
393,
1122,
367,
5377,
310,
3918,
9121,
9608,
470,
2750,
278,
4307,
13,
29907,
1049,
342,
457,
5858,
29892,
385,
21082,
470,
9121,
5858,
8988,
714,
577,
393,
278,
5858,
5771,
443,
1333,
7612,
13,
1523,
29890,
1312,
6931,
29892,
6931,
491,
8249,
310,
1023,
470,
901,
394,
2957,
19079,
13,
29907,
957,
29873,
5858,
29892,
385,
5858,
607,
10628,
1338,
278,
10110,
310,
278,
21955,
272,
13,
29925,
29879,
3376,
5996,
6931,
29892,
385,
5858,
19849,
310,
11643,
5996,
11525,
8250,
29892,
28476,
1199,
29892,
322,
1370,
24658,
13,
24780,
6931,
29892,
9121,
6931,
393,
526,
443,
535,
794,
1848,
13,
7094,
800,
313,
29967,
29941,
511,
4654,
3233,
310,
22900,
21597,
10516,
3767,
12425,
13,
7094,
800,
313,
23853,
277,
653,
13925,
511,
13925,
9701,
297,
18987,
6931,
13,
855,
292,
5858,
29892,
385,
5858,
8688,
304,
4380,
263,
2022,
844,
5367,
263,
17268,
29892,
491,
2794,
310,
316,
1441,
13,
29903,
15277,
322,
15483,
29961,
5628,
29962,
13,
797,
1659,
29892,
263,
4331,
297,
24481,
13,
20350,
15483,
6931,
13,
10925,
313,
755,
4579,
1199,
511,
263,
13944,
515,
5225
] | [
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
Little C Made from fresh butter and No Preservatives
Are preservatives good or bad?
Everyone must have known or have heard over the preservatives used in the production of food, snacks and various processed foods. But believe it or not, many people still do not know what the advantages of preservatives have. Why do many manufacturers use it in food production, and is there any disadvantage if consuming food? Today, we’re answering these concerns for you!
Preservatives are chemicals used to preserve food and extend the shelf life so that food can last longer, is unmodified and helps inhibit the growth in order to destroy microorganisms that cause food spoilage. As of now, many people are wondering whether the preservative is dangerous or not. In fact, if the body receives a small or reasonable amount of preservative, it will be able to get rid of it through urine normally. However, if the body receives a higher amount every day, it can cause nausea, vomiting, stomachaches. The internal organs of the body, both the liver and the kidneys, have to work harder to remove this substance from the body. If the body cannot be completely eliminated of the substance, it will accumulate within the body. As a result, the efficiency of the liver and kidneys in the elimination of chemicals is gradually ineffective. It is harmful to the internal organs of the body, which can potentially cause disability in the future.
Food manufacturers must pay attention to the use of this substance in the proper dosage, not exceeding the dosage, in accordance with the regulations of the Food and Drug Administration, Ministry of Public Health that qualifies to use preservatives in Thailand in the appropriate amount for certain types of food.
Does Little C add preservatives in the dessert? Are you wondering? Both Little C’s bread and croissants do not add any preservatives because we want our customers to eat delicious and fresh desserts every day without any chemicals. Therefore, our desserts have a relatively short shelf life and must be kept inside the refrigerator at all times as well as inability to be exposed to the hot weather outside because of spoilage. You can be assured that every dessert that Little C produces is absolutely safe and free of any chemical additives.
PrevPreviousWhat is Trans Fat
Follow LITTLE C at online channels.
Order LITTLE C Online
Copyright. 2021 | Cakewalk Co., Ltd | [
1,
11143,
315,
18266,
515,
10849,
541,
357,
322,
1939,
4360,
6972,
5056,
13,
17506,
2225,
6972,
5056,
1781,
470,
4319,
29973,
13,
26526,
650,
1818,
505,
2998,
470,
505,
6091,
975,
278,
2225,
6972,
5056,
1304,
297,
278,
5802,
310,
9687,
29892,
5807,
26514,
322,
5164,
19356,
9687,
29879,
29889,
1205,
4658,
372,
470,
451,
29892,
1784,
2305,
1603,
437,
451,
1073,
825,
278,
25486,
310,
2225,
6972,
5056,
505,
29889,
3750,
437,
1784,
12012,
332,
414,
671,
372,
297,
9687,
5802,
29892,
322,
338,
727,
738,
766,
17263,
8501,
565,
1136,
9929,
9687,
29973,
20628,
29892,
591,
30010,
276,
22862,
1438,
21838,
363,
366,
29991,
13,
13504,
6972,
5056,
526,
22233,
29879,
1304,
304,
19905,
9687,
322,
10985,
278,
528,
761,
2834,
577,
393,
9687,
508,
1833,
5520,
29892,
338,
443,
1545,
2164,
322,
6911,
297,
6335,
277,
278,
14321,
297,
1797,
304,
8174,
9200,
6388,
12903,
393,
4556,
9687,
13345,
309,
482,
29889,
1094,
310,
1286,
29892,
1784,
2305,
526,
9873,
3692,
278,
2225,
6972,
1230,
338,
18215,
470,
451,
29889,
512,
2114,
29892,
565,
278,
3573,
20586,
263,
2319,
470,
15590,
5253,
310,
2225,
6972,
1230,
29892,
372,
674,
367,
2221,
304,
679,
8177,
310,
372,
1549,
5065,
457,
12891,
29889,
2398,
29892,
565,
278,
3573,
20586,
263,
6133,
5253,
1432,
2462,
29892,
372,
508,
4556,
302,
1071,
29874,
29892,
3961,
11407,
29892,
380,
290,
496,
14520,
29889,
450,
7463,
1638,
550,
310,
278,
3573,
29892,
1716,
278,
619,
369,
322,
278,
26397,
484,
952,
29892,
505,
304,
664,
22622,
304,
3349,
445,
5960,
749,
515,
278,
3573,
29889,
960,
278,
3573,
2609,
367,
6446,
10397,
630,
310,
278,
5960,
749,
29892,
372,
674,
18414,
5987,
2629,
278,
3573,
29889,
1094,
263,
1121,
29892,
278,
19201,
310,
278,
619,
369,
322,
26397,
484,
952,
297,
278,
29007,
3381,
310,
22233,
29879,
338,
22020,
297,
15987,
573,
29889,
739,
338,
10311,
1319,
304,
278,
7463,
1638,
550,
310,
278,
3573,
29892,
607,
508,
19998,
4556,
766,
3097,
297,
278,
5434,
29889,
13,
29943,
2092,
12012,
332,
414,
1818,
5146,
8570,
304,
278,
671,
310,
445,
5960,
749,
297,
278,
1571,
3248,
482,
29892,
451,
13461,
292,
278,
3248,
482,
29892,
297,
15017,
749,
411,
278,
1072,
8250,
310,
278,
25453,
322,
360,
11124,
23303,
29892,
20886,
310,
5236,
15202,
393,
4021,
11057,
304,
671,
2225,
6972,
5056,
297,
498,
26517,
297,
278,
8210,
5253,
363,
3058,
4072,
310,
9687,
29889,
13,
25125,
11143,
315,
788,
2225,
6972,
5056,
297,
278,
6808,
814,
29973,
4683,
366,
9873,
29973,
9134,
11143,
315,
30010,
29879,
18423,
322,
8182,
790,
1934,
437,
451,
788,
738,
2225,
6972,
5056,
1363,
591,
864,
1749,
20330,
304,
17545,
628,
14803,
322,
10849,
6808,
814,
29879,
1432,
2462,
1728,
738,
22233,
29879,
29889,
7857,
29892,
1749,
6808,
814,
29879,
505,
263,
13774,
3273,
528,
761,
2834,
322,
1818,
367,
8126,
2768,
278,
337,
1341,
4087,
1061,
472,
599,
3064,
408,
1532,
408,
297,
3097,
304,
367,
19884,
304,
278,
7375,
14826,
5377,
1363,
310,
13345,
309,
482,
29889,
887,
508,
367,
28715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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
Viability of solutions currently available
Impact on board turnover and directors’ pensions
Impact on recruitment to senior posts
Impact of excluding managers
NHS Providers' view
An unnecessary divide: The impact of pensions taxation on NHS trust leaders
The survey was open between 20 December 2019 and 9 January 2020 and was sent to all trust executive directors.
Despite being open over the Christmas break the survey received a very strong response, with 437 individuals submitting a response. These came from approximately 188 trusts (84% of all trusts). Given the confidential nature of the information requested, respondents were not asked to identify themselves or their trust in the survey. Therefore, in estimating the total number of trusts represented in the results we cannot take into account responses from directors who have roles in more than one trust, or the small number of respondents who may have used the generic survey link after not being included in the original distribution.
The highest number of responses came from those in HR, workforce and organisational development roles (18%), with chief executives (17%) and those in finance and commercial roles (16%) also well represented.
All trust types including ambulance, community, mental health and acute trusts, and all regions are covered in the survey, and response rates by these attributes are broadly in line with the wider proportions throughout the country. | [
1,
10630,
3097,
310,
6851,
5279,
3625,
13,
24192,
627,
373,
7613,
2507,
957,
322,
1513,
943,
30010,
282,
5580,
13,
24192,
627,
373,
1162,
9216,
358,
304,
16336,
11803,
13,
24192,
627,
310,
429,
22368,
767,
18150,
13,
29940,
14851,
1019,
29454,
29915,
1776,
13,
2744,
19039,
16429,
29901,
450,
10879,
310,
282,
5580,
8818,
362,
373,
405,
14851,
9311,
20251,
13,
1576,
18994,
471,
1722,
1546,
29871,
29906,
29900,
5846,
29871,
29906,
29900,
29896,
29929,
322,
29871,
29929,
5490,
29871,
29906,
29900,
29906,
29900,
322,
471,
2665,
304,
599,
9311,
22760,
1513,
943,
29889,
13,
4002,
29886,
568,
1641,
1722,
975,
278,
17661,
2867,
278,
18994,
4520,
263,
1407,
4549,
2933,
29892,
411,
29871,
29946,
29941,
29955,
15724,
11834,
5367,
263,
2933,
29889,
4525,
2996,
515,
14235,
29871,
29896,
29947,
29947,
9311,
29879,
313,
29947,
29946,
29995,
310,
599,
9311,
29879,
467,
11221,
278,
24332,
616,
5469,
310,
278,
2472,
13877,
29892,
10049,
1237,
892,
451,
4433,
304,
12439,
6053,
470,
1009,
9311,
297,
278,
18994,
29889,
7857,
29892,
297,
4844,
1218,
278,
3001,
1353,
310,
9311,
29879,
9875,
297,
278,
2582,
591,
2609,
2125,
964,
3633,
20890,
515,
1513,
943,
1058,
505,
16178,
297,
901,
1135,
697,
9311,
29892,
470,
278,
2319,
1353,
310,
10049,
1237,
1058,
1122,
505,
1304,
278,
10035,
18994,
1544,
1156,
451,
1641,
5134,
297,
278,
2441,
4978,
29889,
13,
1576,
9939,
1353,
310,
20890,
2996,
515,
1906,
297,
379,
29934,
29892,
664,
10118,
322,
17459,
1288,
5849,
16178,
313,
29896,
29947,
29995,
511,
411,
9087,
6704,
3145,
313,
29896,
29955,
10997,
322,
1906,
297,
1436,
749,
322,
12128,
16178,
313,
29896,
29953,
10997,
884,
1532,
9875,
29889,
13,
3596,
9311,
4072,
3704,
3181,
352,
749,
29892,
7881,
29892,
19119,
9045,
322,
1274,
1082,
9311,
29879,
29892,
322,
599,
12786,
526,
10664,
297,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
### Project:custom-html2text
### Description:None
### File:
### Path:./lib/lti1p3/src/LtiDeepLink.php
### Content:<?php
namespace Packback\Lti1p3;
use Firebase\JWT\JWT;
use Packback\Lti1p3\Interfaces\ILtiRegistration;
class LtiDeepLink
{
private $registration;
private $deployment_id;
private $deep_link_settings;
public function __construct(ILtiRegistration $registration, string $deployment_id, array $deep_link_settings)
{
$this->registration = $registration;
$this->deployment_id = $deployment_id;
$this->deep_link_settings = $deep_link_settings;
}
public function getResponseJwt($resources)
{
$message_jwt = [
'iss' => $this->registration->getClientId(),
'aud' => [$this->registration->getIssuer()],
'exp' => time() + 600,
'iat' => time(),
'nonce' => LtiOidcLogin::secureRandomString('nonce-'),
LtiConstants::DEPLOYMENT_ID => $this->deployment_id,
LtiConstants::MESSAGE_TYPE => LtiConstants::MESSAGE_TYPE_DEEPLINK_RESPONSE,
LtiConstants::VERSION => LtiConstants::V1_3,
LtiConstants::DL_CONTENT_ITEMS => array_map(function ($resource) {
return $resource->toArray();
}, $resources),
];
// https://www.imsglobal.org/spec/lti-dl/v2p0/#deep-linking-request-message
// 'data' is an optional property which, if it exists, must be returned by the tool
if (isset($this->deep_link_settings['data'])) {
$message_jwt[LtiConstants::DL_DATA] = $this->deep_link_settings['data'];
}
return JWT::encode($message_jwt, $this->registration->getToolPrivateKey(), 'RS256', $this->registration->getKid());
}
/**
* This method builds an auto-submitting HTML form to post the deep linking response message
* back to platform, as per LTI-DL 2.0 specification. The resulting HTML is then written to standard output,
* so calling this method will automatically send an HTTP response to conclude the content selection flow.
*
* @param LtiDeepLinkResource[] $resources The list of selected resources to be sent to the platform
*
* @todo Consider wrapping the content inside a well-formed HTML document,
* and returning it instead of directly writing to standard output
*/
public function outputResponseForm($resources)
{
$jwt = $this->getResponseJwt($resources);
$formActionUrl = $this->deep_link_settings['deep_link_return_url'];
echo <<<HTML
<form id="auto_submit" action="{$formActionUrl}" method="POST">
<input type="hidden" name="JWT" value="{$jwt}" />
<input type="submit" name="Go" />
</form>
<script>document.getElementById('auto_submit').submit();</script>
HTML;
}
}
, | [
1,
835,
8010,
29901,
6341,
29899,
1420,
29906,
726,
13,
2277,
29937,
12953,
29901,
8516,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
1982,
29914,
1896,
29875,
29896,
29886,
29941,
29914,
4351,
29914,
29931,
2034,
2772,
1022,
6595,
29889,
1961,
13,
835,
10576,
29901,
8169,
1961,
13,
13,
22377,
18744,
1627,
29905,
29931,
2034,
29896,
29886,
29941,
29936,
13,
13,
1509,
17731,
29905,
29967,
17755,
29905,
29967,
17755,
29936,
13,
1509,
18744,
1627,
29905,
29931,
2034,
29896,
29886,
29941,
29905,
4074,
8726,
29905,
6227,
2034,
4597,
8306,
29936,
13,
13,
1990,
365,
2034,
2772,
1022,
6595,
13,
29912,
13,
1678,
2024,
395,
1727,
8306,
29936,
13,
1678,
2024,
395,
16519,
358,
29918,
333,
29936,
13,
1678,
2024,
395,
24535,
29918,
2324,
29918,
11027,
29936,
13,
13,
1678,
970,
740,
4770,
11433,
29898,
6227,
2034,
4597,
8306,
395,
1727,
8306,
29892,
1347,
395,
16519,
358,
29918,
333,
29892,
1409,
395,
24535,
29918,
2324,
29918,
11027,
29897,
13,
1678,
426,
13,
4706,
395,
1366,
976,
1727,
8306,
353,
395,
1727,
8306,
29936,
13,
4706,
395,
1366,
976,
16519,
358,
29918,
333,
353,
395,
16519,
358,
29918,
333,
29936,
13,
4706,
395,
1366,
976,
24535,
29918,
2324,
29918,
11027,
353,
395,
24535,
29918,
2324,
29918,
11027,
29936,
13,
1678,
500,
13,
13,
1678,
970,
740,
679,
5103,
29967,
14554,
1566,
13237,
29897,
13,
1678,
426,
13,
4706,
395,
4906,
29918,
29926,
14554,
353,
518,
13,
9651,
525,
790,
29915,
1149,
395,
1366,
976,
1727,
8306,
976,
657,
4032,
1204,
3285,
13,
9651,
525,
15052,
29915,
1149,
518,
29938,
1366,
976,
1727,
8306,
976,
657,
29902,
893,
2853,
580,
1402,
13,
9651,
525,
4548,
29915,
1149,
931,
580,
718,
29871,
29953,
29900,
29900,
29892,
13,
9651,
525,
7163,
29915,
1149,
931,
3285,
13,
9651,
525,
5464,
346,
29915,
1149,
365,
2034,
29949,
333,
29883,
11049,
1057,
24216,
17875,
1231,
877,
5464,
346,
29899,
5477,
13,
9651,
365,
2034,
26570,
1057,
2287,
29925,
3927,
29979,
13780,
29918,
1367,
1149,
395,
1366,
976,
16519,
358,
29918,
333,
29892,
13,
9651,
365,
2034,
26570,
1057,
2303,
1799,
10461,
29918,
11116,
1149,
365,
2034,
26570,
1057,
2303,
1799,
10461,
29918,
11116,
29918,
2287,
29923,
7390,
1177,
29968,
29918,
1525,
5550,
1164,
1660,
29892,
13,
9651,
365,
2034,
26570,
1057,
16358,
1149,
365,
2034,
26570,
1057,
29963,
29896,
29918,
29941,
29892,
13,
9651,
365,
2034,
26570,
1057,
19558,
29918,
22412,
3919,
29918,
9094,
4345,
1149,
1409,
29918,
1958,
29898,
2220,
3255,
10314,
29897,
426,
13,
18884,
736,
395,
10314,
976,
517,
2588,
890,
13,
9651,
2981,
395,
13237,
511,
13,
4706,
12940,
13,
13,
4706,
849,
2045,
597,
1636,
29889,
326,
5311,
3157,
29889,
990,
29914,
6550,
29914,
1896,
29875,
29899,
11671,
29914,
29894,
29906,
29886,
29900,
8484,
24535,
29899,
2324,
292,
29899,
3827,
29899,
4906,
13,
4706,
849,
525,
1272,
29915,
338,
385,
13136,
2875,
607,
29892,
565,
372,
4864,
29892,
1818,
367,
4133,
491,
278,
5780,
13,
4706,
565,
313,
16290,
1566,
1366,
976,
24535,
29918,
2324,
29918,
11027,
1839,
1272,
25901,
426,
13,
9651,
395,
4906,
29918,
29926,
14554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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
The Darkroom
Superhero Tuesday. The yard sale edition.
Zj has his Granny and his Aunt B, who are sort of celebrities on the yard sale circuit, on constant lookout for cool superhero-related junk treasures. This past week was an especially good week. Seen above are a selection of Batmans? Batmen? Batman figures, a set of walkie-talkies shaped like Spiderman and Wolverine, and a new-to-him Superman costume, to replace to one that he outgrew two years ago but has continued to wear. Not shown are some Hulk pjs in a size 10, and an assortment of shirts in various sizes and states of repair with various superheroes on them. Not bad for $3.75.
Posted by mj at 12:24 PM
Labels: cheap, family, superheroes, zj
Dianna@KennedyAdventures July 6, 2010 at 8:42 PM
yay for yard sales! Great haul!
Recovering bookseller. SAHMama. Pretend runner. Wanna-be gourmet chef, famous writer, and stand up comedian. Catwoman in disguise. Read more...
You can email me at [email protected] or visit my contact page.
Archives 03/09 - 03/16 (1) 03/02 - 03/09 (1) 02/23 - 03/02 (2) 02/16 - 02/23 (3) 02/09 - 02/16 (4) 02/02 - 02/09 (3) 01/26 - 02/02 (4) 01/19 - 01/26 (2) 01/12 - 01/19 (4) 01/05 - 01/12 (3) 12/29 - 01/05 (4) 12/22 - 12/29 (2) 12/15 - 12/22 (3) 12/08 - 12/15 (2) 12/01 - 12/08 (4) 11/24 - 12/01 (3) 11/17 - 11/24 (3) 11/10 - 11/17 (5) 11/03 - 11/10 (3) 10/27 - 11/03 (3) 10/20 - 10/27 (4) 10/13 - 10/20 (3) 10/06 - 10/13 (2) 09/29 - 10/06 (3) 09/22 - 09/29 (3) 09/15 - 09/22 (3) 09/08 - 09/15 (3) 09/01 - 09/08 (3) 08/25 - 09/01 (3) 08/18 - 08/25 (3) 08/11 - 08/18 (3) 08/04 - 08/11 (3) 07/28 - 08/04 (3) 07/21 - 07/28 (3) 07/14 - 07/21 (2) 07/07 - 07/14 (2) 06/30 - 07/07 (2) 06/23 - 06/30 (2) 06/16 - 06/23 (2) 06/09 - 06/16 (2) 06/02 - 06/09 (2) 05/26 - 06/02 (2) 05/19 - 05/26 (2) 05/12 - 05/19 (3) 05/05 - 05/12 (3) 04/28 - 05/05 (3) 04/21 - 04/28 (3) 04/14 - 04/21 (3) 04/07 - 04/14 (3) 03/31 - 04/07 (3) 03/24 - 03/31 (3) 03/17 - 03/24 (3) 03/10 - 03/17 (3) 03/03 - 03/10 (3) 02/24 - 03/03 (3) 02/17 - 02/24 (3) 02/10 - 02/17 (3) 02/03 - 02/10 (3) 01/27 - 02/03 (3) 01/20 - 01/27 (2) 01/13 - 01/20 (3) 01/06 - 01/13 (2) 12/30 - 01/06 (3) 12/23 - 12/30 (3) 12/16 - 12/23 (4) 12/09 - 12/16 (2) 12/02 - 12/09 (3) 11/25 - 12/02 (3) 11/18 - 11/25 (3) 11/11 - 11/18 (3) 11/04 - 11/11 (3) 10/28 - 11/04 (3) 10/21 - 10/28 (3) 10/14 - 10/21 (3) 10/07 - 10/14 (3) 09/30 - 10/07 (3) 09/23 - 09/30 (3) 09/16 - 09/23 (3) 09/09 - 09/16 (3) 09/02 - 09/09 (3) 08/26 - 09/02 (3) 08/19 - 08/26 (3) 08/12 - 08/19 (3) 08/05 - 08/12 (3) 07/29 - 08/05 (3) 07/22 - 07/29 (4) 07/15 - 07/22 (3) 07/08 - 07/15 (3) 07/01 - 07/08 (3) 06/24 - 07/01 (3) 06/17 - 06/24 (1) 06/10 - 06/17 (1) 06/03 - 06/10 (1) 05/27 - 06/03 (2) 05/20 - 05/27 (2) 05/13 - 05/20 (2) 05/06 - 05/13 (1) 04/29 - 05/06 (2) 04/22 - 04/29 (2) 04/15 - 04/22 (3) 04/08 - 04/15 (3) 04/01 - 04/08 (2) 03/25 - 04/01 (3) 03/18 - 03/25 (2) 03/11 - 03/18 (2) 03/04 - 03/11 (3) 02/26 - 03/04 (3) 02/19 - 02/26 (3) 02/12 - 02/19 (2) 02/05 - 02/12 (1) 01/29 - 02/05 (1) 01/22 - 01/29 (2) 01/15 - 01/22 (2) 01/08 - 01/15 (2) 01/01 - 01/08 (2) 12/25 - 01/01 (2) 12/18 - 12/25 (2) 12/11 - 12/18 (2) 12/04 - 12/11 (1) 11/20 - 11/27 (2) 11/13 - 11/20 (1) 11/06 - 11/13 (1) 10/30 - 11/06 (2) 10/23 - 10/30 (1) 10/16 - 10/23 (2) 10/09 - 10/16 (1) 10/02 - 10/09 (1) 09/25 - 10/02 (1) 09/18 - 09/25 (1) 09/11 - 09/18 (1) 09/04 - 09/11 (1) 08/28 - 09/04 (2) 08/21 - 08/28 (3) 08/14 - 08/21 (1) 08/07 - 08/14 (3) 07/31 - 08/07 (2) 07/24 - 07/31 (3) 07/17 - 07/24 (2) 07/10 - 07/17 (2) 07/03 - 07/10 (2) 06/26 - 07/03 (2) 06/19 - 06/26 (2) 06/12 - 06/19 (2) 06/05 - 06/12 (2) 05/29 - 06/05 (1) 05/22 - 05/29 (2) 05/15 - 05/22 (4) 05/08 - 05/15 (3) 05/01 - 05/08 (2) 04/24 - 05/01 (1) 04/17 - 04/24 (2) 04/10 - 04/17 (2) 04/03 - 04/10 (2) 03/27 - 04/03 (2) 03/13 - 03/20 (1) 03/06 - 03/13 (2) 02/27 - 03/06 (2) 02/20 - 02/27 (3) 02/13 - 02/20 (2) 02/06 - 02/13 (2) 01/30 - 02/06 (3) 01/23 - 01/30 (2) 01/16 - 01/23 (2) 01/09 - 01/16 (2) 01/02 - 01/09 (3) 12/26 - 01/02 (1) 12/19 - 12/26 (4) 12/12 - 12/19 (4) 12/05 - 12/12 (7) 11/28 - 12/05 (4) 11/21 - 11/28 (2) 11/14 - 11/21 (4) 11/07 - 11/14 (1) 10/31 - 11/07 (2) 10/24 - 10/31 (3) 10/17 - 10/24 (3) 10/10 - 10/17 (3) 10/03 - 10/10 (4) 09/26 - 10/03 (3) 09/19 - 09/26 (1) 09/12 - 09/19 (2) 09/05 - 09/12 (1) 08/29 - 09/05 (3) 08/22 - 08/29 (3) 08/15 - 08/22 (1) 08/08 - 08/15 (1) 08/01 - 08/08 (2) 07/25 - 08/01 (2) 07/18 - 07/25 (2) 07/11 - 07/18 (4) 07/04 - 07/11 (5) 06/27 - 07/04 (5) 06/20 - 06/27 (2) 06/13 - 06/20 (3) 06/06 - 06/13 (4) 05/30 - 06/06 (7) 05/23 - 05/30 (7) 05/16 - 05/23 (3) 05/09 - 05/16 (7) 05/02 - 05/09 (7) 04/25 - 05/02 (7) 04/18 - 04/25 (7) 04/11 - 04/18 (7) 04/04 - 04/11 (7) 03/28 - 04/04 (6) 03/21 - 03/28 (7) 03/14 - 03/21 (7) 03/07 - 03/14 (7) 02/28 - 03/07 (7) 02/21 - 02/28 (7) 02/14 - 02/21 (7) 02/07 - 02/14 (7) 01/31 - 02/07 (7) 01/24 - 01/31 (2) 01/17 - 01/24 (1) 01/10 - 01/17 (3) 01/03 - 01/10 (2) 12/27 - 01/03 (1) 12/13 - 12/20 (1) 12/06 - 12/13 (2) 11/29 - 12/06 (1) 11/22 - 11/29 (4) 11/15 - 11/22 (2) 11/08 - 11/15 (1) 11/01 - 11/08 (3) 10/25 - 11/01 (6) 10/18 - 10/25 (5)
Get this tabber widget
Thoughts on raising readers
I can barely remember a time when I couldn't read. And I can barely remember a time when I didn't WANT to read. Since I was an i...
Chess pie. Because it's Pie Week.
I KNOW this isn't a picture of chess pie. There are exactly two reasons I did not put a picture of pie here. 1. I forgot to take one. 2...
The Liebster
Imagine my surprise when I found out that Andrea from About 100% had nominated me - little ole me! - for the prestigious blogging award...
When Cooper was an infant, then a toddler, I was secretly worried about his willingness to interact with unfamiliar people. For the...
Bluegrass Cellular Heartland Festival 5k - with Redneck playlist!
I ran another little 5k last week. Loads of fun. I wonder why, even though races always seem like torture, I'm constantly looking f...
beer birthday blogging books bookstore brothers cheap Christmas cj competitive country music drinking exercise Facebook family fear holidays house inner farm girl Mama mj nostalgia obsessive parenting reading recipes rednecks retail RJ running SAHM freakout school self-doubt superheroes Twitter vacation zj
TheBloggess.com
Isn’t my whole body pre-cancerous?
Brittany. Herself.
Instant Pot: Curry Cauliflower and Butternut Squash Soup
The Kennedy Adventures!
Maeve’s Memoria Press Homeschool Plan for Third Grade
Fighting Off Frumpy
High School Heartache
The Jammie Girl
A Day in Pictures
About 100%
The Liner Notes
Favorite Films of 2017
My Pink Mexico
Celebrating 5 Years of ABNH
Fashionably Late to the Party
Adventures in Chinatown
A Blink
The Boddeker Blog
Juicing- Day 47- I DID IT!!!
Chasing Cloud 9
My Gym Story - Gym Story of the Day
Savvy Pants Blog
Louisville Lady Bloggers
Back on Land
Some posts on this blog may contain affiliate links. Thanks for your support of 154 Hidden Court!
Pin It button on image hover | [
1,
450,
15317,
8345,
13,
19111,
29882,
1489,
323,
1041,
3250,
29889,
450,
29413,
14686,
12203,
29889,
13,
29999,
29926,
756,
670,
6274,
1460,
322,
670,
319,
1657,
350,
29892,
1058,
526,
2656,
310,
7793,
26549,
583,
373,
278,
29413,
14686,
11369,
29892,
373,
4868,
1106,
449,
363,
12528,
2428,
29882,
1489,
29899,
12817,
432,
2960,
2578,
25414,
29889,
910,
4940,
4723,
471,
385,
7148,
1781,
4723,
29889,
922,
264,
2038,
526,
263,
9262,
310,
12579,
21555,
29973,
12579,
1527,
29973,
12579,
1171,
13994,
29892,
263,
731,
310,
6686,
347,
29899,
29873,
2235,
583,
528,
10501,
763,
1706,
333,
3504,
322,
11902,
369,
457,
29892,
322,
263,
716,
29899,
517,
29899,
26994,
5670,
1171,
3438,
2017,
29892,
304,
5191,
304,
697,
393,
540,
714,
29887,
3973,
1023,
2440,
8020,
541,
756,
7572,
304,
19531,
29889,
2216,
4318,
526,
777,
379,
24456,
282,
1315,
297,
263,
2159,
29871,
29896,
29900,
29892,
322,
385,
1223,
441,
358,
310,
528,
381,
1372,
297,
5164,
15786,
322,
5922,
310,
26032,
411,
5164,
2428,
29882,
1489,
267,
373,
963,
29889,
2216,
4319,
363,
395,
29941,
29889,
29955,
29945,
29889,
13,
6747,
287,
491,
286,
29926,
472,
29871,
29896,
29906,
29901,
29906,
29946,
30262,
13427,
13,
4775,
29879,
29901,
28773,
29892,
3942,
29892,
2428,
29882,
1489,
267,
29892,
503,
29926,
13,
29928,
713,
1056,
29992,
29968,
2108,
7584,
3253,
794,
1973,
5468,
29871,
29953,
29892,
29871,
29906,
29900,
29896,
29900,
472,
29871,
29947,
29901,
29946,
29906,
30262,
13427,
13,
29891,
388,
363,
29413,
16538,
29991,
7027,
447,
352,
29991,
13,
4789,
957,
292,
8277,
4539,
29889,
16698,
29950,
29924,
3304,
29889,
349,
2267,
355,
28877,
29889,
399,
9713,
29899,
915,
330,
473,
2527,
14547,
29892,
13834,
9227,
29892,
322,
2317,
701,
419,
287,
713,
29889,
10459,
29893,
2480,
297,
766,
2543,
895,
29889,
7523,
901,
856,
13,
3492,
508,
4876,
592,
472,
286,
653,
2212,
29992,
29896,
29945,
29946,
10892,
27845,
29889,
510,
470,
6493,
590,
6958,
1813,
29889,
13,
13197,
3145,
29871,
29900,
29941,
29914,
29900,
29929,
448,
29871,
29900,
29941,
29914,
29896,
29953,
313,
29896,
29897,
29871,
29900,
29941,
29914,
29900,
29906,
448,
29871,
29900,
29941,
29914,
29900,
29929,
313,
29896,
29897,
29871,
29900,
29906,
29914,
29906,
29941,
448,
29871,
29900,
29941,
29914,
29900,
29906,
313,
29906,
29897,
29871,
29900,
29906,
29914,
29896,
29953,
448,
29871,
29900,
29906,
29914,
29906,
29941,
313,
29941,
29897,
29871,
29900,
29906,
29914,
29900,
29929,
448,
29871,
29900,
29906,
29914,
29896,
29953,
313,
29946,
29897,
29871,
29900,
29906,
29914,
29900,
29906,
448,
29871,
29900,
29906,
29914,
29900,
29929,
313,
29941,
29897,
29871,
29900,
29896,
29914,
29906,
29953,
448,
29871,
29900,
29906,
29914,
29900,
29906,
313,
29946,
29897,
29871,
29900,
29896,
29914,
29896,
29929,
448,
29871,
29900,
29896,
29914,
29906,
29953,
313,
29906,
29897,
29871,
29900,
29896,
29914,
29896,
29906,
448,
29871,
29900,
29896,
29914,
29896,
29929,
313,
29946,
29897,
29871,
29900,
29896,
29914,
29900,
29945,
448,
29871,
29900,
29896,
29914,
29896,
29906,
313,
29941,
29897,
29871,
29896,
29906,
29914,
29906,
29929,
448,
29871,
29900,
29896,
29914,
29900,
29945,
313,
29946,
29897,
29871,
29896,
29906,
29914,
29906,
29906,
448,
29871,
29896,
29906
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
10 Frequently Asked Questions We Get About Website Development and Building a Website
Home 9 Website Development 9 Hosting & Maintenance 9 10 Frequently Asked Questions We Get About Website Development and Building a Website
Digital Giants News
SEO in 2023: What Can We Expect?
How to Write Meta Descriptions That Get Clicks
Five Tools You Need To Start Web Development
5 Steps to Generate Leads with Content Marketing
In the 10 years Digital Giants has been around, we’ve built a lot of websites. And funny enough, every time we start a new project, we tend to get asked similar questions. Well, what better way to address them all in one place, than with a blog!
Here are 10 questions we most frequently get asked, before, during and after a new website development project.
1. How long does a new website take to develop?
Depending on the complexity of your project (type of site, SEO, plugins, APIs, etc.), it can take between 2 to 5 months to design and develop and launch. In our experience, creating written content is typically what takes the longest in any new website development process. Some of our clients hire a writer to accelerate the process, others do it all in-house and some choose a hybrid model.
2. How involved do I need to be in the new website development process? (or how much time do I need to allocate for this project)
There are a few key areas in our process where we need you to be involved:
First, in the beginning, to help plan the website! From the persona’s you are looking to reach to the sitemap, we want your input because you know your customers best.
Next, to develop content (this can be time-consuming see #1 and #3). We will need to understand if you will be using old content from your existing website or providing new content.
If you will be providing updated text, who will be writing it? If you don’t feel comfortable writing we can hire a content writer for you. If you do plan to write it yourself, you should give yourself at least 1-2 hours (again, depending on the amount of content needing to be written) per page of your website. The content must be proofread, spell-checked and in final form. Another thing to consider is unless you have opted for us to purchase stock images for you (for an additional cost of time and image cost), you will need to provide images, videos and any other graphics for your website to the specifications outlined.
Finally, approvals – we provide a detailed timeline so you know when we need a response from you. Digital Giants has a proven web development process we continue to evolve and refine to make it as easy for the client as possible.
3. Can you write the content for my site?
As noted above – YES! We can help you brainstorm, craft and finalize the written content of your website. (we can also help you after your website is built, with our content marketing services such as blog writing, social media content creation and landing page content creation.) If you don’t feel comfortable writing we can hire a content writer for you.
4. How much does a new website cost?
This is probably the most common question we get asked, and unfortunately … it depends!
Many things factor into how much a website costs – including:
Is it custom design, or will we be building from a theme
How many pages do you want/need
Special functionality (plugins, API integrations, forms, e-commerce, etc.)
Will you be providing written content or will we be writing for you
Will you be providing images or will we source them for you
You can read more about this topic in our blog: how much should a website cost.
5. Do I need website maintenance or a support package?
We highly recommend purchasing a website maintenance package which will take the burden of updating WordPress core files, theme files, plugin updates, security updates, etc. off of you and onto us. We will keep your website running fast, secure and optimized.
Wonder what happens if you don’t maintain your website? This blog will go into more detail on the benefits of outsourcing website maintenance.
6. Can you show me some of the websites you’ve built?
Yes – please check out our portfolio of some of the most recent work we’ve done.
You can also learn more about what to consider when hiring an agency to build your website, in this blog.
7. Will I be able to edit my website after it’s done?
Heck yes! Unless there is a specific builder the client wants to use, we prefer Divi Builder. Divi is a visual-based editor that allows you to make changes to your website on the front end as a user would see it. After your website has been developed we provide 2 hours of (recorded) training for you and your team to show you how to edit your text and images, forms, create blogs and more. All of our clients have found Divi easy to use.
8. What is the difference between my CMS, DNS, hosting, FTP, etc.?
So many acronyms – so little time. Here is a brief overview of some of the acronyms or terms we may use during the project:
CMS: A “Content Management System” is the platform you use to administrate and edit the content on your website, for example, WordPress is a CMS. (and the most popular one at that). However, others include Drupal, Magento, Joomla + more. You can check out our blog about WordPress vs. Drupal here.
Hosting: All websites must be “hosted” or live somewhere so that they can be stored and accessed when needed. “Web servers” are known as the types of computers that are built especially to host websites.
FTP and SFTP: FTP “file transfer protocol” is a technology that allows us to transfer and manage files on the web server on which your website is hosted. SFTP is a secure version of the FTP. When we ask for FTP or SFTP credentials we’re looking for the hostname, username and password.
DNS: “Domain Name System” translates domain names, into IP (internet protocol) addresses. Wait wait, lets back it up. Your website lives on a web server, the specific web server has a numerical address called an IP. The DNS translates domain names into IP’s so you don’t need to remember the numbers to your website. When redoing your site, we may ask for access to your DNS so we can direct the domain name to the new website.
Registrar: A registrar (or domain registrar) is where you bought your domain name from. We may ask for access to your domain registrar if you are transferring your site hosting and we need to point your domain to a different DNS.
9. Do you think we even need a new website?
You may be surprised to learn that we get asked this question when the client is coming to us to talk about building a new website, but hey – it happens. Now, design is subjective, but there are some tried and true questions to ask yourself about your current website to know for certain if you NEED a new website. Take our quiz now, or check out our blog on why you should update your website now.
10. Will my website be mobile-friendly?
Of course! All of our websites work on Android and Apple devices, as well as all Grade A browsers, but we take it one step further, to ensure that your website is mobile-first designed as well. Mobile-first design is a design strategy that says when you create a website or app, you start by designing and prototyping the smallest screen first and work your way up to larger screens. In essence, it’s about delivering the right user experience to the right device. Your whole design and layout are based on providing an excellent mobile user experience: fast download speeds, rich media content to keep your target audience interested and easy touchscreen navigation. Learn more about why this technique is so important.
BONUS: How do I get started?
Ready to get started? Book a time with us to talk about your website project today. We kick off getting to know you and your organization with a discovery questionnaire.
by Marissa Vanular | Oct 4, 2022
Here at Digital Giants, we use a variety of tools to turn our clients' goals into reality. In this...
What is included in Website Maintenance?
by Cody Anderson | Jul 25, 2022
You just got a new website developed and launched, it looks amazing and has everything you wanted....
What Happens if You Don’t Maintain Your Website?
by Cody Anderson | Jun 30, 2022
All websites, old and new, require maintenance to stay healthy, safe, fast and rank! Did you...
We can’t wait to hear from you about your most pressing digital hurdle, and start brainstorming how we can help! Fill out the form or book a strategy session with us to jump-start your digital marketing.
Tell us a bit about why you are contacting us | [
1,
29871,
29896,
29900,
3878,
339,
2705,
26579,
287,
894,
29879,
1334,
3617,
13611,
13253,
14650,
322,
17166,
263,
13253,
13,
11184,
29871,
29929,
13253,
14650,
29871,
29929,
16956,
292,
669,
4241,
841,
749,
29871,
29929,
29871,
29896,
29900,
3878,
339,
2705,
26579,
287,
894,
29879,
1334,
3617,
13611,
13253,
14650,
322,
17166,
263,
13253,
13,
27103,
4406,
1934,
10130,
13,
1660,
29949,
297,
29871,
29906,
29900,
29906,
29941,
29901,
1724,
1815,
1334,
1222,
1103,
29973,
13,
5328,
304,
14350,
20553,
20355,
1980,
2193,
3617,
16297,
29879,
13,
29943,
573,
27564,
887,
20768,
1763,
7370,
2563,
14650,
13,
29945,
2443,
567,
304,
3251,
403,
951,
7925,
411,
10576,
4485,
15133,
13,
797,
278,
29871,
29896,
29900,
2440,
15918,
4406,
1934,
756,
1063,
2820,
29892,
591,
30010,
345,
4240,
263,
3287,
310,
28007,
29889,
1126,
2090,
1460,
3307,
29892,
1432,
931,
591,
1369,
263,
716,
2060,
29892,
591,
10331,
304,
679,
4433,
2788,
5155,
29889,
5674,
29892,
825,
2253,
982,
304,
3211,
963,
599,
297,
697,
2058,
29892,
1135,
411,
263,
12618,
29991,
13,
10605,
526,
29871,
29896,
29900,
5155,
591,
1556,
13672,
679,
4433,
29892,
1434,
29892,
2645,
322,
1156,
263,
716,
4700,
5849,
2060,
29889,
13,
29896,
29889,
1128,
1472,
947,
263,
716,
4700,
2125,
304,
2693,
29973,
13,
8498,
2548,
373,
278,
13644,
310,
596,
2060,
313,
1853,
310,
3268,
29892,
3725,
29949,
29892,
18224,
29892,
23649,
29892,
2992,
9774,
372,
508,
2125,
1546,
29871,
29906,
304,
29871,
29945,
7378,
304,
2874,
322,
2693,
322,
6826,
29889,
512,
1749,
7271,
29892,
4969,
3971,
2793,
338,
12234,
825,
4893,
278,
27217,
297,
738,
716,
4700,
5849,
1889,
29889,
3834,
310,
1749,
13154,
298,
533,
263,
9227,
304,
15592,
403,
278,
1889,
29892,
4045,
437,
372,
599,
297,
29899,
8697,
322,
777,
6755,
263,
7498,
19515,
1904,
29889,
13,
29906,
29889,
1128,
9701,
437,
306,
817,
304,
367,
297,
278,
716,
4700,
5849,
1889,
29973,
313,
272,
920,
1568,
931,
437,
306,
817,
304,
23632,
363,
445,
2060,
29897,
13,
8439,
526,
263,
2846,
1820,
10161,
297,
1749,
1889,
988,
591,
817,
366,
304,
367,
9701,
29901,
13,
6730,
29892,
297,
278,
6763,
29892,
304,
1371,
3814,
278,
4700,
29991,
3645,
278,
21411,
30010,
29879,
366,
526,
3063,
304,
6159,
304,
278,
269,
667,
481,
29892,
591,
864,
596,
1881,
1363,
366,
1073,
596,
20330,
1900,
29889,
13,
9190,
29892,
304,
2693,
2793,
313,
1366,
508,
367,
931,
29899,
25978,
292,
1074,
396,
29896,
322,
396,
29941,
467,
1334,
674,
817,
304,
2274,
565,
366,
674,
367,
773,
2030,
2793,
515,
596,
5923,
4700,
470,
13138,
716,
2793,
29889,
13,
3644,
366,
674,
367,
13138,
4784,
1426,
29892,
1058,
674,
367,
5007,
372,
29973,
960,
366,
1016,
30010,
29873,
4459,
25561,
5007,
591,
508,
298,
533,
263,
2793,
9227,
363,
366,
29889,
960,
366,
437,
3814,
304,
2436,
372,
7535,
29892,
366,
881,
2367,
7535,
472,
3203,
29871,
29896,
29899,
29906,
6199,
313,
351,
475,
29892,
8679,
373,
278,
5253,
310,
2793,
817,
292,
304,
367,
3971,
29897,
639,
1813,
310,
596,
4700,
29889,
450,
2793,
1818,
367,
5296,
949,
29892,
24779
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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doc
### Description:JavaScript API Documentation builds for Moodle LMS
### File:
### Path:./packages/react-app/src/webapp/ui/components/organisms/Footer/MainFooter/MainFooter.scss
### Content:.footer {
> .content {
> .left {
gap: 10px;
}
}
}
, | [
1,
835,
8010,
29901,
1315,
1514,
13,
2277,
29937,
12953,
29901,
16963,
3450,
10854,
362,
23315,
363,
341,
2092,
280,
365,
4345,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
8318,
29914,
8423,
29899,
932,
29914,
4351,
29914,
2676,
932,
29914,
1481,
29914,
14036,
29914,
6388,
12903,
29914,
13440,
261,
29914,
6330,
13440,
261,
29914,
6330,
13440,
261,
29889,
1557,
893,
13,
835,
10576,
29901,
29889,
21720,
426,
13,
29871,
1405,
869,
3051,
426,
13,
1678,
1405,
869,
1563,
426,
13,
418,
17261,
29901,
29871,
29896,
29900,
1756,
29936,
13,
1678,
500,
13,
29871,
500,
13,
29913,
13,
29892,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
Cheesecake Energy
Cheesecake Energy is developing advanced thermal and compressed air energy systems to store energy from intermittent renewables, turning them into reliable power on-demand.
Cheesecake Energy has patent-pending technology that stores compressed air and heat cost-effectively. With a modular, containerised design, Cheesecake systems can be set up in a wide range of environments.
Off-the-shelf compressor hardware, air stores and electrical machinery all contribute to low project risk.
air, compressed air, energy, energy storage, heat, power, storage
Previous: Charm Impact
Next: Circulor | [
1,
6561,
267,
687,
1296,
24836,
13,
26856,
267,
687,
1296,
24836,
338,
14338,
12862,
26963,
322,
419,
13120,
4799,
5864,
6757,
304,
3787,
5864,
515,
1006,
18344,
296,
23011,
1849,
29892,
14712,
963,
964,
23279,
3081,
373,
29899,
2310,
392,
29889,
13,
26856,
267,
687,
1296,
24836,
756,
2373,
296,
29899,
29886,
2548,
15483,
393,
14422,
419,
13120,
4799,
322,
12871,
3438,
29899,
15987,
3598,
29889,
2973,
263,
878,
1070,
29892,
5639,
3368,
2874,
29892,
6561,
267,
687,
1296,
6757,
508,
367,
731,
701,
297,
263,
9377,
3464,
310,
23136,
29889,
13,
6880,
29899,
1552,
29899,
845,
761,
27122,
272,
12837,
29892,
4799,
14422,
322,
3546,
16888,
7672,
262,
708,
599,
29126,
304,
4482,
2060,
12045,
29889,
13,
1466,
29892,
419,
13120,
4799,
29892,
5864,
29892,
5864,
8635,
29892,
12871,
29892,
3081,
29892,
8635,
13,
6572,
2366,
29901,
678,
2817,
14305,
627,
13,
9190,
29901,
25079,
1810,
272,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
Law Offices of Bryan B. Johnson
Estate Planning and Probate Attorney
What is Advance Care Planning?
blogBy gdigital October 17, 2016
Advanced care planning is proactively making decisions about your care based on personal values, preferences, and discussions with your loved ones. Advanced care planning is necessary with old age or when someone is too ill to make his or her own decisions. Before determining advance care planning for your circumstances, here are a few questions…
© 2023 Law Offices of Bryan B. Johnson. All rights reserved. | [
1,
7927,
5947,
1575,
310,
13307,
273,
350,
29889,
11717,
13,
29923,
3859,
1858,
9450,
322,
1019,
29890,
403,
6212,
25252,
13,
5618,
338,
25215,
749,
10057,
1858,
9450,
29973,
13,
7312,
2059,
330,
7501,
2410,
5533,
29871,
29896,
29955,
29892,
29871,
29906,
29900,
29896,
29953,
13,
3253,
16858,
2562,
18987,
338,
410,
627,
3598,
3907,
1602,
12112,
1048,
596,
2562,
2729,
373,
7333,
1819,
29892,
5821,
2063,
29892,
322,
5353,
1080,
411,
596,
18012,
6743,
29889,
29287,
2562,
18987,
338,
5181,
411,
2030,
5046,
470,
746,
4856,
338,
2086,
4486,
304,
1207,
670,
470,
902,
1914,
1602,
12112,
29889,
10949,
3683,
2827,
6564,
2562,
18987,
363,
596,
14209,
29892,
1244,
526,
263,
2846,
5155,
30098,
13,
30211,
29871,
29906,
29900,
29906,
29941,
7927,
5947,
1575,
310,
13307,
273,
350,
29889,
11717,
29889,
2178,
10462,
21676,
29889,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
### Project:phpdoc
### Description:Moodle API Documentation
### File:
### Path:./mod/scorm/pix/minus.svg
### Content:<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 448 512" preserveAspectRatio="xMinYMid meet"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"/></svg>
, | [
1,
835,
8010,
29901,
1961,
1514,
13,
2277,
29937,
12953,
29901,
29924,
2092,
280,
3450,
10854,
362,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
1545,
29914,
1557,
555,
29914,
29886,
861,
29914,
12254,
29889,
15120,
13,
835,
10576,
29901,
29966,
15120,
9463,
543,
1124,
597,
1636,
29889,
29893,
29941,
29889,
990,
29914,
29906,
29900,
29900,
29900,
29914,
15120,
29908,
3171,
543,
29896,
331,
29908,
1776,
3313,
543,
29900,
29871,
29900,
29871,
29946,
29946,
29947,
29871,
29945,
29896,
29906,
29908,
19905,
2887,
1103,
29934,
20819,
543,
29916,
8140,
29979,
29924,
333,
5870,
3254,
6172,
29991,
10928,
22886,
14151,
12362,
29871,
29953,
29889,
29946,
29889,
29906,
491,
732,
5657,
1450,
14151,
448,
2045,
597,
5657,
1450,
14151,
29889,
510,
19245,
448,
2045,
597,
5657,
1450,
14151,
29889,
510,
29914,
506,
1947,
313,
1523,
1050,
1455,
19245,
29897,
14187,
1266,
29871,
29906,
29900,
29906,
29941,
10928,
27078,
29892,
9266,
29889,
6660,
29966,
2084,
270,
543,
29924,
29946,
29941,
29906,
29871,
29906,
29945,
29953,
29883,
29900,
29871,
29896,
29955,
29889,
29955,
29899,
29896,
29946,
29889,
29941,
29871,
29941,
29906,
29899,
29941,
29906,
29871,
29941,
29906,
29931,
29946,
29947,
29871,
29906,
29947,
29947,
29883,
29899,
29896,
29955,
29889,
29955,
29871,
29900,
29899,
29941,
29906,
29899,
29896,
29946,
29889,
29941,
29899,
29941,
29906,
29899,
29941,
29906,
29879,
29896,
29946,
29889,
29941,
29899,
29941,
29906,
29871,
29941,
29906,
29899,
29941,
29906,
29880,
29941,
29945,
29906,
29871,
29900,
29883,
29896,
29955,
29889,
29955,
29871,
29900,
29871,
29941,
29906,
29871,
29896,
29946,
29889,
29941,
29871,
29941,
29906,
29871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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
### Project:jsdoc
### Description:JavaScript API Documentation builds for Moodle LMS
### File:
### Path:./mod/forum/report/summary/tests/behat/summary_filter_groups.feature
### Content:@mod @mod_forum @forumreport @forumreport_summary
Feature: Groups report filter is available if groups exist
In order to retrieve targeted forum data
As a teacher
I can filter the forum summary report by groups of users
Background:
Given the following "users" exist:
| username | firstname | lastname | email |
| teacher1 | Teacher | 1 | [email protected] |
| student1 | Student | 1 | [email protected] |
| student2 | Student | 2 | [email protected] |
And the following "courses" exist:
| fullname | shortname | category |
| Course 1 | C1 | 0 |
| Course 2 | C2 | 0 |
And the following "course enrolments" exist:
| user | course | role |
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
| student2 | C1 | student |
| teacher1 | C2 | editingteacher |
And the following "groups" exist:
| name | course | idnumber |
| Group A | C1 | G1 |
| Group B | C1 | G2 |
| Group C | C1 | G3 |
| Group D | C1 | G4 |
| Group E | C2 | G5 |
And the following "group members" exist:
| user | group |
| teacher1 | G1 |
| teacher1 | G2 |
| teacher1 | G3 |
| student1 | G3 |
And the following "activities" exist:
| activity | name | course | idnumber | groupmode |
| forum | forum1 | C1 | c1forum1 | 1 |
| forum | forum2 | C1 | c1forum2 | 2 |
| forum | forum1 | C2 | c2forum1 | 0 |
And the following forum discussions exist in course "Course 1":
| user | forum | name | message | group | created |
| teacher1 | forum1 | discussion1 | D1 message | G1 | ## 1 month ago ## |
| teacher1 | forum1 | discussion2 | D2 message | G2 | ## 1 week ago ## |
| teacher1 | forum2 | discussion3 | D3 message | G1 | ## 6 days ago ## |
| teacher1 | forum2 | discussion4 | D4 message | G4 | ## 5 days ago ## |
| teacher1 | forum2 | discussion5 | D5 message | All participants | ## 4 days ago ## |
| student1 | forum1 | discussion6 | D6 message | G3 | ## 3 days ago ## |
| student2 | forum2 | discussion7 | D7 message | All participants | ## 2 days ago ## |
And the following forum replies exist in course "Course 1":
| user | forum | discussion | message | created |
| teacher1 | forum1 | discussion1 | D1 reply | ## 3 weeks ago ## |
| teacher1 | forum2 | discussion3 | D3 reply | ## 4 days ago ## |
| teacher1 | forum1 | discussion6 | D6 reply | ## 2 days ago ## |
| student1 | forum1 | discussion6 | D6 reply 2 | ## 2 days ago ## |
| student2 | forum2 | discussion4 | D4 reply | ## 4 days ago ## |
| student2 | forum2 | discussion5 | D5 reply | ## 3 days ago ## |
And the following forum discussions exist in course "Course 2":
| user | forum | name | message | created |
| teacher1 | forum1 | discussion1 | D1 other course | ## 1 week ago ## |
| teacher1 | forum1 | discussion2 | D2 other course | ## 4 days ago ## |
@javascript
Scenario: All groups can be selected or cleared together in the groups filter, and are unchecked by default
When I am on the "c1forum1" "forum activity" page logged in as teacher1
And I navigate to "Reports" in current page administration
Then "Groups" "button" should exist
And the following should exist in the "forumreport_summary_table" table:
# | | Discussions | Replies |
| First name / Last name | -3- | -4- |
| Student 1 | 1 | 1 |
| Student 2 | 0 | 0 |
| Teacher 1 | 2 | 2 |
And I click on "Groups" "button"
And "Group A" "checkbox" should exist in the "filter-groups-popover" "region"
And "Group B" "checkbox" should exist in the "filter-groups-popover" "region"
And "Group C" "checkbox" should exist in the "filter-groups-popover" "region"
And "Group D" "checkbox" should exist in the "filter-groups-popover" "region"
And "No groups" "checkbox" should exist in the "filter-groups-popover" "region"
And "Group E" "checkbox" should not exist in the "filter-groups-popover" "region"
And the following fields match these values:
| Group A | 0 |
| Group B | 0 |
| Group C | 0 |
| Group D | 0 |
| No groups | 0 |
And I click on "Select all" "button" in the "filter-groups-popover" "region"
And the following fields match these values:
| Group A | 1 |
| Group B | 1 |
| Group C | 1 |
| Group D | 1 |
| No groups | 1 |
And I click on "Clear" "button" in the "filter-groups-popover" "region"
And the following fields match these values:
| Group A | 0 |
| Group B | 0 |
| Group C | 0 |
| Group D | 0 |
| No groups | 0 |
And I click on "Select all" "button" in the "filter-groups-popover" "region"
And I click on "Save" "button" in the "filter-groups-popover" "region"
And "Groups (all)" "button" should exist
And the following should exist in the "forumreport_summary_table" table:
# | | Discussions | Replies |
| First name / Last name | -3- | -4- |
| Student 1 | 1 | 1 |
| Student 2 | 0 | 0 |
| Teacher 1 | 2 | 2 |
@javascript
Scenario: The summary report can be filtered by a subset of groups, and re-ordering the results retains the filter
When I am on the "c1forum1" "forum activity" page logged in as teacher1
And I navigate to "Reports" in current page administration
Then "Groups" "button" should exist
And the following should exist in the "forumreport_summary_table" table:
# | | Discussions | Replies |
| First name / Last name | -3- | -4- |
| Student 1 | 1 | 1 |
| Student 2 | 0 | 0 |
| Teacher 1 | 2 | 2 |
And I click on "Groups" "button"
And I click on "Clear" "button" in the "filter-groups-popover" "region"
And I click on "Group A" "checkbox" in the "filter-groups-popover" "region"
And I click on "Group C" "checkbox" in the "filter-groups-popover" "region"
And I click on "Group D" "checkbox" in the "filter-groups-popover" "region"
And I click on "Save" "button"
And "Groups (3)" "button" should exist
And the following should exist in the "forumreport_summary_table" table:
# | | Discussions | Replies |
| First name / Last name | -3- | -4- |
| Student 1 | 1 | 1 |
| Teacher 1 | 1 | 2 |
And I should not see "Student 2"
# Ensure re-ordering retains filter.
And I click on "Number of discussions posted" "link"
And "Groups (3)" "button" should exist
And the following should exist in the "forumreport_summary_table" table:
# | | Discussions | Replies |
| First name / Last name | -3- | -4- |
| Student 1 | 1 | 1 |
| Teacher 1 | 1 | 2 |
And I should not see "Student 2"
@javascript
Scenario: The summary report can be filtered as a mixture of groups and no groups
When I am on the "c1forum2" "forum activity" page logged in as teacher1
And I navigate to "Reports" in current page administration
Then "Groups" "button" should exist
And the following should exist in the "forumreport_summary_table" table:
# | | Discussions | Replies |
| First name / Last name | -3- | -4- |
| Student 1 | 0 | 0 |
| Student 2 | 1 | 2 |
| Teacher 1 | 3 | 1 |
And I click on "Groups" "button"
And I click on "Clear" "button" in the "filter-groups-popover" "region"
And I click on "Group A" "checkbox" in the "filter-groups-popover" "region"
And I click on "No groups" "checkbox" in the "filter-groups-popover" "region"
And I click on "Save" "button" in the "filter-groups-popover" "region"
And "Groups (2)" "button" should exist
And the following should exist in the "forumreport_summary_table" table:
# | | Discussions | Replies |
| First name / Last name | -3- | -4- |
| Student 1 | 0 | 0 |
| Student 2 | 1 | 1 |
| Teacher 1 | 2 | 1 |
@javascript
Scenario: The summary report can be filtered by no groups only
When I am on the "c1forum2" "forum activity" page logged in as teacher1
And I navigate to "Reports" in current page administration
Then the following should exist in the "forumreport_summary_table" table:
# | | Discussions | Replies |
| First name / Last name | -3- | -4- |
| Student 1 | 0 | 0 |
| Student 2 | 1 | 2 |
| Teacher 1 | 3 | 1 |
And I click on "Groups" "button"
And I click on "Clear" "button" in the "filter-groups-popover" "region"
And I click on "No groups" "checkbox" in the "filter-groups-popover" "region"
And I click on "Save" "button" in the "filter-groups-popover" "region"
And "Groups (1)" "button" should exist
And the following should exist in the "forumreport_summary_table" table:
# | | Discussions | Replies |
| First name / Last name | -3- | -4- |
| Student 1 | 0 | 0 |
| Student 2 | 1 | 1 |
| Teacher 1 | 1 | 0 |
@javascript
Scenario: Filtering by a group containing no users still allows the page to render
# Log in as admin so Teacher 1 not existing on page can be confirmed.
When I am on the "c1forum1" "forum activity" page logged in as admin
And I navigate to "Reports" in current page administration
Then "Groups" "button" should exist
And the following should exist in the "forumreport_summary_table" table:
# | | Discussions | Replies |
| First name / Last name | -3- | -4- |
| Student 1 | 1 | 1 |
| Student 2 | 0 | 0 |
| Teacher 1 | 2 | 2 |
And I click on "Groups" "button"
And I click on "Clear" "button" in the "filter-groups-popover" "region"
And I click on "Group D" "checkbox" in the "filter-groups-popover" "region"
And I click on "Save" "button" in the "filter-groups-popover" "region"
And "Groups (1)" "button" should exist
And I should see "Nothing to display"
And I should not see "Teacher 1"
And I should not see "Student 1"
And I should not see "Student 2"
And I should not see "With selected users..."
And I should not see "Download table data as"
@javascript
Scenario: Course forum summary report can be filtered by group
When I am on the "c1forum2" "forum activity" page logged in as teacher1
And I navigate to "Reports" in current page administration
And I select "All forums in course" from the "Forum selected" singleselect
And I click on "Groups" "button"
And I click on "Clear" "button" in the "filter-groups-popover" "region"
And I click on "Group A" "checkbox" in the "filter-groups-popover" "region"
And I click on "Group C" "checkbox" in the "filter-groups-popover" "region"
And I click on "Save" "button"
And "Groups (2)" "button" should exist
Then the following should exist in the "forumreport_summary_table" table:
# | | Discussions | Replies |
| First name / Last name | -3- | -4- |
| Student 1 | 1 | 1 |
| Teacher 1 | 2 | 3 |
And I should not see "Student 2"
# Ensure re-ordering retains filter.
And I click on "Number of discussions posted" "link"
And "Groups (2)" "button" should exist
And the following should exist in the "forumreport_summary_table" table:
# | | Discussions | Replies |
| First name / Last name | -3- | -4- |
| Student 1 | 1 | 1 |
| Teacher 1 | 2 | 3 |
And I should not see "Student 2"
, | [
1,
835,
8010,
29901,
1315,
1514,
13,
2277,
29937,
12953,
29901,
16963,
3450,
10854,
362,
23315,
363,
341,
2092,
280,
365,
4345,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
1545,
29914,
23343,
29914,
12276,
29914,
7727,
29914,
21150,
29914,
915,
2455,
29914,
7727,
29918,
4572,
29918,
13155,
29889,
14394,
13,
835,
10576,
26984,
1545,
732,
1545,
29918,
23343,
732,
23343,
12276,
732,
23343,
12276,
29918,
7727,
13,
19132,
29901,
1632,
4410,
3461,
4175,
338,
3625,
565,
6471,
1863,
13,
29871,
512,
1797,
304,
10563,
3646,
287,
24179,
848,
13,
29871,
1094,
263,
15703,
13,
29871,
306,
508,
4175,
278,
24179,
15837,
3461,
491,
6471,
310,
4160,
13,
13,
29871,
16585,
29901,
13,
1678,
11221,
278,
1494,
376,
7193,
29908,
1863,
29901,
13,
418,
891,
8952,
891,
937,
978,
891,
1833,
978,
891,
4876,
18884,
891,
13,
418,
891,
15703,
29896,
891,
1920,
11665,
259,
891,
29871,
29896,
4706,
891,
15703,
29896,
29992,
4773,
29889,
510,
891,
13,
418,
891,
8368,
29896,
891,
15740,
259,
891,
29871,
29896,
4706,
891,
8368,
29896,
29992,
4773,
29889,
510,
891,
13,
418,
891,
8368,
29906,
891,
15740,
259,
891,
29871,
29906,
4706,
891,
8368,
29896,
29992,
4773,
29889,
510,
891,
13,
1678,
1126,
278,
1494,
376,
29883,
29781,
29908,
1863,
29901,
13,
418,
891,
2989,
978,
891,
3273,
978,
891,
7663,
891,
13,
418,
891,
6325,
344,
29871,
29896,
891,
315,
29896,
4706,
891,
29871,
29900,
4706,
891,
13,
418,
891,
6325,
344,
29871,
29906,
891,
315,
29906,
4706,
891,
29871,
29900,
4706,
891,
13,
1678,
1126,
278,
1494,
376,
15775,
427,
1467,
1860,
29908,
1863,
29901,
13,
418,
891,
1404,
268,
891,
3236,
891,
6297,
965,
891,
13,
418,
891,
15703,
29896,
891,
315,
29896,
268,
891,
16278,
371,
11665,
891,
13,
418,
891,
8368,
29896,
891,
315,
29896,
268,
891,
8368,
4706,
891,
13,
418,
891,
8368,
29906,
891,
315,
29896,
268,
891,
8368,
4706,
891,
13,
418,
891,
15703,
29896,
891,
315,
29906,
268,
891,
16278,
371,
11665,
891,
13,
1678,
1126,
278,
1494,
376,
13155,
29908,
1863,
29901,
13,
418,
891,
1024,
1678,
891,
3236,
891,
1178,
4537,
891,
13,
418,
891,
6431,
319,
891,
315,
29896,
268,
891,
402,
29896,
539,
891,
13,
418,
891,
6431,
350,
891,
315,
29896,
268,
891,
402,
29906,
539,
891,
13,
418,
891,
6431,
315,
891,
315,
29896,
268,
891,
402,
29941,
539,
891,
13,
418,
891,
6431,
360,
891,
315,
29896,
268,
891,
402,
29946,
539,
891,
13,
418,
891,
6431,
382,
891,
315,
29906,
268,
891,
402,
29945,
539,
891,
13,
1678,
1126,
278,
1494,
376,
2972,
5144,
29908,
1863,
29901,
13,
418,
891,
1404,
268,
891,
2318,
891,
13,
418,
891,
15703,
29896,
891,
402,
29896,
1678,
891,
13,
418,
891,
15703,
29896,
891,
402,
29906,
1678,
891,
13,
418,
891,
15703,
29896,
891,
402,
29941,
1678,
891,
13,
418,
891,
8368,
29896,
891,
402,
29941,
1678,
891,
13,
1678,
1126,
278,
1494,
376,
11236,
1907,
29908,
1863,
29901,
13,
418,
891,
6354,
891,
1024,
259,
891,
3236,
891,
1178,
4537,
891,
2318,
8513,
891,
13,
418,
891
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
Alaskan Bush People: Baby River, Three Months, With A Toy From His Dad Bear
Alaskan Bush People’s Bear Brown sent his ex-husband a toy for their son, while the couple got along better in their custody battle.
Bear Brown, sent the toy to Raiven Adams, the mother of his son River, and she sent her reaction to Instagram.
The reality star sent River a plastic set to play with the baby, complete with buttons to play with animal noises. Almost as big as the baby, Raiven Adams graciously titled the picture saying that River could enjoy it when he was a little older.
She wrote, “The toy daddy sent me is a wee big, but it’s fun to watch”. Raiven Adams posted photos of River staring at the toy in amazement and then another one lying next to the toy that was almost bigger than him.
The couple’s good relationships have come after months of disputes over River’s paternity and custody battles. She posted a heartwarming message on Sunday saying she hoped Bear might meet his son River before next year’s Father’s Day.
Raiven, posted an emotional tribute to her ex on Instagram alongside cute photos of baby River, including one of him cuddled up in a green blanket and smiling widely. She wrote, “Happy Father’s Day! Hope you’ve met again and have a nice day together.
“Until then enjoy these cute smiley photos dad.” “God knows we didn’t do everything right, but we made a cute baby.” Raiven Adams gave birth to River on March 9, 2020 and raised him on her own as Bear was not present at birth.
Bear and Raiven had a tumultuous relationship, and she filed a restraining order against Bear in February, accusing him of showing “erratic” and “abusive” behavior.
She claimed that he threatened her with a gun and boasted that “gun laws do not apply” to him, however, the restraining order was later withdrawn.
Raiven claimed sole custody of their son after Bear Brown applied for joint custody, in addition to confirming that he is the boy’s father.
Raiven’s court file was read: “It is in the best interest of the minor child that defendant Raiven Adams has sole legal custody of the minor child.” The file also states that it is in River’s interest that Raiven has “primary physical custody of the child.”
Previous article Sister Wives: Christine Brown Spilling More Tea
Next article Mama June: From Not to Hot: Alana Furious
Written by Tommy Kilmer
Pingback:Alaskan Bush People: Baby River, Three Months, With A Toy From His Dad Bear - The World News Daily
Pingback:Alaskan Bush People: Exes Bear And Raiven Have Reached A Custody Agreement After Months Of Fighting - The World News Daily
Sister Wives: Christine Brown Spilling More Tea
Mama June: From Not to Hot: Alana Furious | [
1,
838,
1278,
273,
24715,
11647,
29901,
26835,
6163,
29892,
12753,
23471,
29879,
29892,
2973,
319,
29411,
3645,
3600,
360,
328,
23606,
13,
2499,
1278,
273,
24715,
11647,
30010,
29879,
23606,
9817,
2665,
670,
429,
29899,
14116,
4980,
263,
304,
29891,
363,
1009,
1487,
29892,
1550,
278,
7303,
2355,
3412,
2253,
297,
1009,
25387,
1486,
10555,
29889,
13,
29933,
799,
9817,
29892,
2665,
278,
304,
29891,
304,
6981,
5428,
20359,
29892,
278,
5637,
310,
670,
1487,
6163,
29892,
322,
1183,
2665,
902,
19848,
304,
2799,
14442,
29889,
13,
1576,
16832,
5810,
2665,
6163,
263,
715,
6288,
731,
304,
1708,
411,
278,
24354,
29892,
4866,
411,
9828,
304,
1708,
411,
13019,
694,
4637,
29889,
838,
3242,
408,
4802,
408,
278,
24354,
29892,
6981,
5428,
20359,
2646,
455,
5794,
25278,
278,
7623,
5934,
393,
6163,
1033,
13389,
372,
746,
540,
471,
263,
2217,
9642,
29889,
13,
13468,
5456,
29892,
1346,
1576,
304,
29891,
270,
25644,
2665,
592,
338,
263,
591,
29872,
4802,
29892,
541,
372,
30010,
29879,
2090,
304,
6505,
8643,
6981,
5428,
20359,
8059,
20612,
310,
6163,
380,
4362,
472,
278,
304,
29891,
297,
21863,
882,
322,
769,
1790,
697,
19214,
2446,
304,
278,
304,
29891,
393,
471,
4359,
16600,
1135,
1075,
29889,
13,
1576,
7303,
30010,
29879,
1781,
21702,
505,
2041,
1156,
7378,
310,
8937,
267,
975,
6163,
30010,
29879,
2373,
824,
537,
322,
25387,
1486,
8957,
793,
29889,
2296,
8059,
263,
5192,
29893,
2817,
292,
2643,
373,
16340,
5934,
1183,
24936,
23606,
1795,
5870,
670,
1487,
6163,
1434,
2446,
1629,
30010,
29879,
17852,
30010,
29879,
8373,
29889,
13,
29934,
29874,
5428,
29892,
8059,
385,
23023,
1848,
260,
2666,
304,
902,
429,
373,
2799,
14442,
19963,
274,
1082,
20612,
310,
24354,
6163,
29892,
3704,
697,
310,
1075,
274,
566,
29881,
839,
701,
297,
263,
7933,
9654,
300,
322,
1560,
6504,
17644,
29889,
2296,
5456,
29892,
1346,
29950,
14862,
17852,
30010,
29879,
8373,
29991,
7963,
366,
30010,
345,
1539,
1449,
322,
505,
263,
7575,
2462,
4208,
29889,
13,
30015,
29965,
20233,
769,
13389,
1438,
274,
1082,
1560,
15168,
20612,
270,
328,
3178,
1346,
29954,
397,
9906,
591,
3282,
30010,
29873,
437,
4129,
1492,
29892,
541,
591,
1754,
263,
274,
1082,
24354,
3178,
6981,
5428,
20359,
4846,
12060,
304,
6163,
373,
4779,
29871,
29929,
29892,
29871,
29906,
29900,
29906,
29900,
322,
10425,
1075,
373,
902,
1914,
408,
23606,
471,
451,
2198,
472,
12060,
29889,
13,
29933,
799,
322,
6981,
5428,
750,
263,
21622,
499,
17269,
9443,
29892,
322,
1183,
934,
29881,
263,
1791,
336,
2827,
1797,
2750,
23606,
297,
6339,
29892,
1035,
4746,
1075,
310,
6445,
1346,
3127,
2454,
30024,
322,
1346,
370,
375,
573,
30024,
6030,
29889,
13,
13468,
17049,
393,
540,
29513,
902,
411,
263,
13736,
322,
1045,
28470,
393,
1346,
28798,
14243,
437,
451,
3394,
30024,
304,
1075,
29892,
3138,
29892,
278,
1791,
336,
2827,
1797,
471,
2678,
411,
19811,
1233,
29889,
13,
29934,
29874,
5428,
17049,
14419,
25387,
1486,
310,
1009,
1487,
1156,
23606,
9817,
7436,
363,
14002,
25387,
1486,
29892,
297,
6124,
304,
9659,
292,
393,
540,
338,
278,
8023,
30010,
29879,
4783,
29889,
13,
29934,
29874,
5428,
30010
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
co-lab.eun.org
Final evaluation
Projects collaboration
Learning scenarios 2017
Assessment guidelines 2018
Final Evaluation and Recommendations report
This study evaluates the results of the CO-LAB project for its participants and it provides insights into the practices of collaborative teaching and learning as well as its enablers and obstacles.
The study was developed by The Educational Research Institute (IBE, Poland), the project partner responsible for CO-LAB implementation in Poland as well as for the evaluation of the results of the entire project.
The evaluation of the CO-LAB project was based on documents’ review, survey studies and qualitative reports
A review of educational regulations and of studies on education
The qualitative data from the CO-LAB Country reports, as well as notes from partners’ discussions
The analysis of the discussion on the MOOC online community
CO-LAB Survey research on the project participants’ opinions and practices and about the changes that may be attributed to CO-LAB (benchmark survey in September 2016 and the final survey in summer 2017).
Read the report Highlights
The European Commission support for the production of this website does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein.
Home | ABOUT | PARTNERS | NEWS | OUTCOMES | TOOLS | RESEARCH Back to top | [
1,
1302,
29899,
8205,
29889,
29872,
348,
29889,
990,
13,
15790,
17983,
13,
25119,
24771,
13,
29931,
799,
1076,
21846,
29871,
29906,
29900,
29896,
29955,
13,
7900,
404,
358,
1410,
10652,
1475,
29871,
29906,
29900,
29896,
29947,
13,
15790,
382,
4387,
362,
322,
830,
2055,
355,
800,
3461,
13,
4013,
6559,
6161,
1078,
278,
2582,
310,
278,
4810,
29899,
24461,
2060,
363,
967,
27138,
322,
372,
8128,
1663,
5861,
964,
278,
23274,
310,
11465,
1230,
18819,
322,
6509,
408,
1532,
408,
967,
427,
370,
9306,
322,
14979,
23435,
29889,
13,
1576,
6559,
471,
8906,
491,
450,
7519,
29883,
1288,
10550,
8907,
313,
8979,
29923,
29892,
18898,
511,
278,
2060,
18096,
14040,
363,
4810,
29899,
24461,
5314,
297,
18898,
408,
1532,
408,
363,
278,
17983,
310,
278,
2582,
310,
278,
4152,
2060,
29889,
13,
1576,
17983,
310,
278,
4810,
29899,
24461,
2060,
471,
2729,
373,
10701,
30010,
9076,
29892,
18994,
11898,
322,
4021,
23378,
13676,
13,
29909,
9076,
310,
28976,
1072,
8250,
322,
310,
11898,
373,
9793,
13,
1576,
4021,
23378,
848,
515,
278,
4810,
29899,
24461,
15456,
13676,
29892,
408,
1532,
408,
11486,
515,
22056,
30010,
5353,
1080,
13,
1576,
7418,
310,
278,
10679,
373,
278,
16999,
20166,
7395,
7881,
13,
3217,
29899,
24461,
23218,
5925,
373,
278,
2060,
27138,
30010,
26971,
322,
23274,
322,
1048,
278,
3620,
393,
1122,
367,
29393,
304,
4810,
29899,
24461,
313,
1785,
16580,
18994,
297,
3839,
29871,
29906,
29900,
29896,
29953,
322,
278,
2186,
18994,
297,
11801,
29871,
29906,
29900,
29896,
29955,
467,
13,
6359,
278,
3461,
5057,
4366,
29879,
13,
1576,
7824,
11444,
2304,
363,
278,
5802,
310,
445,
4700,
947,
451,
1040,
12356,
385,
1095,
943,
882,
310,
278,
8118,
607,
9432,
29879,
278,
8386,
871,
310,
278,
15717,
29892,
322,
278,
11444,
2609,
367,
4934,
14040,
363,
738,
671,
607,
1122,
367,
1754,
310,
278,
2472,
11122,
727,
262,
29889,
13,
11184,
891,
319,
8456,
2692,
891,
349,
8322,
13865,
29903,
891,
14693,
7811,
891,
19474,
3217,
2303,
29903,
891,
7495,
5607,
29903,
891,
5195,
1660,
1718,
3210,
7437,
304,
2246,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
CSR & Governance
Calendar & Contact
INVESTORS & SHAREHOLDERS
Parrot (FR0004038263 - PARRO) is listed on the French stock exchange, Euronext Paris, since June 2006. This section is dedicated to investors and shareholders.
Parrot is Europe's leading commercial UAV group. With a strong international presence, the Group designs, develops and markets a complementary range of micro-UAV equipment and image analysis software dedicated to companies, large groups and governments. Its offer is mainly centred on three vertical markets: (i) Inspection, 3D mapping and Geomatics, (ii) Defence and security, and (iii)Precision agriculture.
Its ANAFI range of micro UAVs, recognized for their performance, robustness and ease of use, features an open source architecture and meets the highest safety standards. Its software suite for mobile and drone mapping is based on advanced expertise in photogrammetry and offers solutions tailored to the specificities of the verticals it addresses.
The Parrot Group, founded in 1994 by Henri Seydoux, designs and develops its products in Europe, mainly in Paris, where its headquarters are located, and in Switzerland. Today, it has over 500 employees worldwide and carries out the vast majority of its sales internationally.
Quarterly earnings release | Press release from Parrot | Next earnings dates | Annual & HY reports | Total number of shares | Contacts | [
1,
315,
14098,
669,
6769,
749,
13,
17447,
669,
22387,
13,
1177,
12064,
1254,
24125,
669,
317,
15715,
1525,
29950,
5607,
8032,
29903,
13,
2177,
5450,
313,
15860,
29900,
29900,
29900,
29946,
29900,
29941,
29947,
29906,
29953,
29941,
448,
349,
1718,
1672,
29897,
338,
9904,
373,
278,
5176,
10961,
14523,
29892,
26360,
650,
486,
3681,
29892,
1951,
5306,
29871,
29906,
29900,
29900,
29953,
29889,
910,
4004,
338,
16955,
304,
13258,
943,
322,
6232,
8948,
414,
29889,
13,
2177,
5450,
338,
4092,
29915,
29879,
8236,
12128,
501,
7520,
2318,
29889,
2973,
263,
4549,
6121,
10122,
29892,
278,
6431,
25517,
29892,
2693,
29879,
322,
2791,
1691,
263,
19595,
653,
3464,
310,
9200,
29899,
29965,
7520,
21083,
322,
1967,
7418,
7047,
16955,
304,
14582,
29892,
2919,
6471,
322,
4095,
1860,
29889,
8011,
5957,
338,
14364,
1644,
1127,
373,
2211,
11408,
2791,
1691,
29901,
313,
29875,
29897,
512,
5965,
428,
29892,
29871,
29941,
29928,
10417,
322,
1879,
290,
271,
1199,
29892,
313,
2236,
29897,
5282,
663,
322,
6993,
29892,
322,
313,
25609,
29897,
29925,
3757,
2459,
18032,
545,
29889,
13,
29902,
1372,
319,
3521,
3738,
3464,
310,
9200,
501,
7520,
29879,
29892,
14831,
363,
1009,
4180,
29892,
16424,
2264,
322,
16326,
310,
671,
29892,
5680,
385,
1722,
2752,
11258,
322,
28103,
278,
9939,
15332,
20801,
29889,
8011,
7047,
9460,
363,
10426,
322,
4192,
650,
10417,
338,
2729,
373,
12862,
17924,
895,
297,
6731,
13342,
2527,
719,
322,
16688,
6851,
12464,
4395,
304,
278,
2702,
1907,
310,
278,
11408,
29879,
372,
14157,
29889,
13,
1576,
1459,
5450,
6431,
29892,
11091,
297,
29871,
29896,
29929,
29929,
29946,
491,
11931,
922,
2941,
13375,
29892,
25517,
322,
2693,
29879,
967,
9316,
297,
4092,
29892,
14364,
297,
3681,
29892,
988,
967,
26463,
526,
5982,
29892,
322,
297,
28806,
29889,
20628,
29892,
372,
756,
975,
29871,
29945,
29900,
29900,
22873,
3186,
8157,
322,
1559,
2722,
714,
278,
13426,
13638,
310,
967,
16538,
2836,
362,
635,
29889,
13,
2182,
4254,
368,
2326,
11753,
6507,
891,
5254,
6507,
515,
1459,
5450,
891,
8084,
2326,
11753,
10116,
891,
8081,
950,
669,
379,
29979,
13676,
891,
14990,
1353,
310,
29358,
891,
22387,
29879,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
### Project:jsdoc
### Description:JavaScript API Documentation builds for Moodle LMS
### File:
### Path:./library/HTMLPurifier/Definition.php
### Content:<?php
/**
* Super-class for definition datatype objects, implements serialization
* functions for the class.
*/
abstract class HTMLPurifier_Definition
{
/**
* Has setup() been called yet?
*/
public $setup = false;
/**
* What type of definition is it?
*/
public $type;
/**
* Sets up the definition object into the final form, something
* not done by the constructor
* @param $config HTMLPurifier_Config instance
*/
abstract protected function doSetup($config);
/**
* Setup function that aborts if already setup
* @param $config HTMLPurifier_Config instance
*/
public function setup($config) {
if ($this->setup) return;
$this->setup = true;
$this->doSetup($config);
}
}
// vim: et sw=4 sts=4
, | [
1,
835,
8010,
29901,
1315,
1514,
13,
2277,
29937,
12953,
29901,
16963,
3450,
10854,
362,
23315,
363,
341,
2092,
280,
365,
4345,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
5258,
29914,
7020,
29925,
332,
3709,
29914,
14683,
29889,
1961,
13,
835,
10576,
29901,
8169,
1961,
13,
13,
7918,
13,
334,
5670,
29899,
1990,
363,
5023,
1418,
23179,
3618,
29892,
10703,
7797,
2133,
13,
334,
3168,
363,
278,
770,
29889,
13,
3776,
13,
16595,
770,
4544,
29925,
332,
3709,
29918,
14683,
13,
29912,
13,
13,
1678,
7762,
13,
268,
334,
11699,
6230,
580,
1063,
2000,
3447,
29973,
13,
268,
3776,
13,
1678,
970,
395,
14669,
353,
2089,
29936,
13,
13,
1678,
7762,
13,
268,
334,
1724,
1134,
310,
5023,
338,
372,
29973,
13,
268,
3776,
13,
1678,
970,
395,
1853,
29936,
13,
13,
1678,
7762,
13,
268,
334,
317,
1691,
701,
278,
5023,
1203,
964,
278,
2186,
883,
29892,
1554,
13,
268,
334,
451,
2309,
491,
278,
5823,
13,
268,
334,
732,
3207,
395,
2917,
4544,
29925,
332,
3709,
29918,
3991,
2777,
13,
268,
3776,
13,
1678,
9846,
6364,
740,
437,
26947,
1566,
2917,
416,
13,
13,
1678,
7762,
13,
268,
334,
3789,
786,
740,
393,
27450,
29879,
565,
2307,
6230,
13,
268,
334,
732,
3207,
395,
2917,
4544,
29925,
332,
3709,
29918,
3991,
2777,
13,
268,
3776,
13,
1678,
970,
740,
6230,
1566,
2917,
29897,
426,
13,
4706,
565,
3255,
1366,
976,
14669,
29897,
736,
29936,
13,
4706,
395,
1366,
976,
14669,
353,
1565,
29936,
13,
4706,
395,
1366,
976,
1867,
26947,
1566,
2917,
416,
13,
1678,
500,
13,
13,
29913,
13,
13,
458,
325,
326,
29901,
634,
2381,
29922,
29946,
380,
29879,
29922,
29946,
13,
29892,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2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Project:custom-tinymce_spellchecker_php
### Description:Customised TinyMCE Spellchecker for Moodle
### File:
### Path:./availability/classes/result.php
### Content:<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Class represents the result of an availability check for the user.
*
* @package core_availability
* @copyright 2014 The Open University
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
namespace core_availability;
defined('MOODLE_INTERNAL') || die();
/**
* Class represents the result of an availability check for the user.
*
* You can pass an object of this class to tree::get_result_information to
* display suitable student information about the result.
*
* @package core_availability
* @copyright 2014 The Open University
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class result {
/** @var bool True if the item is available */
protected $available;
/** @var tree_node[] Array of nodes to display in failure information (node=>node). */
protected $shownodes = array();
/**
* Constructs result.
*
* @param bool $available True if available
* @param tree_node $node Node if failed & should be displayed
* @param result[] $failedchildren Array of children who failed too
*/
public function __construct($available, tree_node $node = null,
array $failedchildren = array()) {
$this->available = $available;
if (!$available) {
if ($node) {
$this->shownodes[spl_object_hash($node)] = $node;
}
foreach ($failedchildren as $child) {
foreach ($child->shownodes as $key => $node) {
$this->shownodes[$key] = $node;
}
}
}
}
/**
* Checks if the result was a yes.
*
* @return bool True if the activity is available
*/
public function is_available() {
return $this->available;
}
/**
* Filters the provided array so that it only includes nodes which are
* supposed to be displayed in the result output. (I.e. those for which
* the user failed the test, and which are not set to totally hide
* output.)
*
* @param tree_node[] $array Input array of nodes
* @return array Output array containing only those nodes set for display
*/
public function filter_nodes(array $array) {
$out = array();
foreach ($array as $key => $node) {
if (array_key_exists(spl_object_hash($node), $this->shownodes)) {
$out[$key] = $node;
}
}
return $out;
}
}
, | [
1,
835,
8010,
29901,
6341,
29899,
29873,
262,
962,
346,
29918,
1028,
514,
3198,
261,
29918,
1961,
13,
2277,
29937,
12953,
29901,
7281,
3368,
323,
4901,
29924,
4741,
1706,
514,
3198,
261,
363,
341,
2092,
280,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
485,
737,
3097,
29914,
13203,
29914,
2914,
29889,
1961,
13,
835,
10576,
29901,
8169,
1961,
13,
458,
910,
934,
338,
760,
310,
341,
2092,
280,
448,
1732,
597,
29885,
2092,
280,
29889,
990,
29914,
13,
458,
13,
458,
341,
2092,
280,
338,
3889,
7047,
29901,
366,
508,
2654,
391,
2666,
372,
322,
29914,
272,
6623,
13,
458,
372,
1090,
278,
4958,
310,
278,
15143,
4593,
5236,
19245,
408,
6369,
491,
13,
458,
278,
12362,
18540,
10606,
29892,
2845,
1873,
29871,
29941,
310,
278,
19245,
29892,
470,
13,
458,
313,
271,
596,
2984,
29897,
738,
2678,
1873,
29889,
13,
458,
13,
458,
341,
2092,
280,
338,
13235,
297,
278,
4966,
393,
372,
674,
367,
5407,
29892,
13,
458,
541,
399,
1806,
8187,
2692,
13764,
29979,
399,
1718,
29934,
13566,
29979,
29936,
1728,
1584,
278,
2411,
2957,
1370,
21867,
29891,
310,
13,
458,
341,
1001,
3210,
13566,
2882,
6227,
11937,
470,
383,
1806,
8186,
1799,
15842,
319,
349,
8322,
2965,
13309,
1718,
349,
4574,
13152,
1660,
29889,
29871,
2823,
278,
13,
458,
15143,
4593,
5236,
19245,
363,
901,
4902,
29889,
13,
458,
13,
458,
887,
881,
505,
4520,
263,
3509,
310,
278,
15143,
4593,
5236,
19245,
13,
458,
3412,
411,
341,
2092,
280,
29889,
29871,
960,
451,
29892,
1074,
529,
1124,
597,
1636,
29889,
18713,
29889,
990,
29914,
506,
11259,
3779,
29889,
13,
13,
7918,
13,
334,
4134,
11524,
278,
1121,
310,
385,
20847,
3097,
1423,
363,
278,
1404,
29889,
13,
334,
13,
334,
732,
5113,
7136,
29918,
485,
737,
3097,
13,
334,
732,
8552,
1266,
29871,
29906,
29900,
29896,
29946,
450,
4673,
3014,
13,
334,
732,
506,
1947,
1732,
597,
1636,
29889,
18713,
29889,
990,
29914,
9708,
1508,
615,
29914,
29887,
572,
29889,
1420,
15143,
402,
7390,
325,
29941,
470,
2678,
13,
3776,
13,
13,
22377,
7136,
29918,
485,
737,
3097,
29936,
13,
13,
12119,
877,
6720,
13668,
1307,
29918,
23845,
29940,
1964,
1495,
3830,
762,
890,
13,
13,
7918,
13,
334,
4134,
11524,
278,
1121,
310,
385,
20847,
3097,
1423,
363,
278,
1404,
29889,
13,
334,
13,
334,
887,
508,
1209,
385,
1203,
310,
445,
770,
304,
5447,
1057,
657,
29918,
2914,
29918,
19678,
304,
13,
334,
2479,
13907,
8368,
2472,
1048,
278,
1121,
29889,
13,
334,
13,
334,
732,
5113,
7136,
29918,
485,
737,
3097,
13,
334,
732,
8552,
1266,
29871,
29906,
29900,
29896,
29946,
450,
4673,
3014,
13,
334,
732,
506,
1947,
1732,
597,
1636,
29889,
18713,
29889,
990,
29914,
9708,
1508,
615,
29914,
29887,
572,
29889,
1420,
15143,
402,
7390,
325,
29941,
470,
2678,
13,
3776,
13,
1990,
1121,
426,
13,
1678,
7762,
732,
1707,
6120,
5852,
565,
278,
2944,
338,
3625,
3776,
13,
1678,
6364,
395,
16515,
29936,
13,
13,
1678,
7762,
732,
1707,
5447,
29918,
3177,
2636,
4398,
310,
7573,
304,
2479,
297,
10672,
2472,
313,
3177,
4261,
3177,
467
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
### Project:custom-tinymce_spellchecker_php
### Description:Customised TinyMCE Spellchecker for Moodle
### File:
### Path:./lib/yuilib/3.18.1/widget-base/widget-base-debug.js
### Content:YUI.add('widget-base', function (Y, NAME) {
/**
* Provides the base Widget class, with HTML Parser support
*
* @module widget
* @main widget
*/
/**
* Provides the base Widget class
*
* @module widget
* @submodule widget-base
*/
var L = Y.Lang,
Node = Y.Node,
ClassNameManager = Y.ClassNameManager,
_getClassName = ClassNameManager.getClassName,
_getWidgetClassName,
_toInitialCap = Y.cached(function(str) {
return str.substring(0, 1).toUpperCase() + str.substring(1);
}),
// K-Weight, IE GC optimizations
CONTENT = "content",
VISIBLE = "visible",
HIDDEN = "hidden",
DISABLED = "disabled",
FOCUSED = "focused",
WIDTH = "width",
HEIGHT = "height",
BOUNDING_BOX = "boundingBox",
CONTENT_BOX = "contentBox",
PARENT_NODE = "parentNode",
OWNER_DOCUMENT = "ownerDocument",
AUTO = "auto",
SRC_NODE = "srcNode",
BODY = "body",
TAB_INDEX = "tabIndex",
ID = "id",
RENDER = "render",
RENDERED = "rendered",
DESTROYED = "destroyed",
STRINGS = "strings",
DIV = "<div></div>",
CHANGE = "Change",
LOADING = "loading",
_UISET = "_uiSet",
EMPTY_STR = "",
EMPTY_FN = function() {},
TRUE = true,
FALSE = false,
UI,
ATTRS = {},
UI_ATTRS = [VISIBLE, DISABLED, HEIGHT, WIDTH, FOCUSED, TAB_INDEX],
WEBKIT = Y.UA.webkit,
// Widget nodeid-to-instance map.
_instances = {};
/**
* A base class for widgets, providing:
* <ul>
* <li>The render lifecycle method, in addition to the init and destroy
* lifecycle methods provide by Base</li>
* <li>Abstract methods to support consistent MVC structure across
* widgets: renderer, renderUI, bindUI, syncUI</li>
* <li>Support for common widget attributes, such as boundingBox, contentBox, visible,
* disabled, focused, strings</li>
* </ul>
*
* @param config {Object} Object literal specifying widget configuration properties.
*
* @class Widget
* @constructor
* @extends Base
*/
function Widget(config) {
Y.log('constructor called', 'life', 'widget');
// kweight
var widget = this,
parentNode,
render,
constructor = widget.constructor;
widget._strs = {};
widget._cssPrefix = constructor.CSS_PREFIX || _getClassName(constructor.NAME.toLowerCase());
// We need a config for HTML_PARSER to work.
config = config || {};
Widget.superclass.constructor.call(widget, config);
render = widget.get(RENDER);
if (render) {
// Render could be a node or boolean
if (render !== TRUE) {
parentNode = render;
}
widget.render(parentNode);
}
}
/**
* Static property provides a string to identify the class.
* <p>
* Currently used to apply class identifiers to the bounding box
* and to classify events fired by the widget.
* </p>
*
* @property NAME
* @type String
* @static
*/
Widget.NAME = "widget";
/**
* Constant used to identify state changes originating from
* the DOM (as opposed to the JavaScript model).
*
* @property UI_SRC
* @type String
* @static
* @final
*/
UI = Widget.UI_SRC = "ui";
/**
* Static property used to define the default attribute
* configuration for the Widget.
*
* @property ATTRS
* @type Object
* @static
*/
Widget.ATTRS = ATTRS;
// Trying to optimize kweight by setting up attrs this way saves about 0.4K min'd
/**
* @attribute id
* @writeOnce
* @default Generated using guid()
* @type String
*/
ATTRS[ID] = {
valueFn: "_guid",
writeOnce: TRUE
};
/**
* Flag indicating whether or not this Widget
* has been through the render lifecycle phase.
*
* @attribute rendered
* @readOnly
* @default false
* @type boolean
*/
ATTRS[RENDERED] = {
value:FALSE,
readOnly: TRUE
};
/**
* @attribute boundingBox
* @description The outermost DOM node for the Widget, used for sizing and positioning
* of a Widget as well as a containing element for any decorator elements used
* for skinning.
* @type String | Node
* @writeOnce
*/
ATTRS[BOUNDING_BOX] = {
valueFn:"_defaultBB",
setter: "_setBB",
writeOnce: TRUE
};
/**
* @attribute contentBox
* @description A DOM node that is a direct descendant of a Widget's bounding box that
* houses its content.
* @type String | Node
* @writeOnce
*/
ATTRS[CONTENT_BOX] = {
valueFn:"_defaultCB",
setter: "_setCB",
writeOnce: TRUE
};
/**
* @attribute tabIndex
* @description Number (between -32767 to 32767) indicating the widget's
* position in the default tab flow. The value is used to set the
* "tabIndex" attribute on the widget's bounding box. Negative values allow
* the widget to receive DOM focus programmatically (by calling the focus
* method), while being removed from the default tab flow. A value of
* null removes the "tabIndex" attribute from the widget's bounding box.
* @type Number
* @default null
*/
ATTRS[TAB_INDEX] = {
value: null,
validator: "_validTabIndex"
};
/**
* @attribute focused
* @description Boolean indicating if the Widget, or one of its descendants,
* has focus.
* @readOnly
* @default false
* @type boolean
*/
ATTRS[FOCUSED] = {
value: FALSE,
readOnly:TRUE
};
/**
* @attribute disabled
* @description Boolean indicating if the Widget should be disabled. The disabled implementation
* is left to the specific classes extending widget.
* @default false
* @type boolean
*/
ATTRS[DISABLED] = {
value: FALSE
};
/**
* @attribute visible
* @description Boolean indicating whether or not the Widget is visible.
* @default TRUE
* @type boolean
*/
ATTRS[VISIBLE] = {
value: TRUE
};
/**
* @attribute height
* @description String with units, or number, representing the height of the Widget. If a number is provided,
* the default unit, defined by the Widgets DEF_UNIT, property is used.
* @default EMPTY_STR
* @type {String | Number}
*/
ATTRS[HEIGHT] = {
value: EMPTY_STR
};
/**
* @attribute width
* @description String with units, or number, representing the width of the Widget. If a number is provided,
* the default unit, defined by the Widgets DEF_UNIT, property is used.
* @default EMPTY_STR
* @type {String | Number}
*/
ATTRS[WIDTH] = {
value: EMPTY_STR
};
/**
* @attribute strings
* @description Collection of strings used to label elements of the Widget's UI.
* @default null
* @type Object
*/
ATTRS[STRINGS] = {
value: {},
setter: "_strSetter",
getter: "_strGetter"
};
/**
* Whether or not to render the widget automatically after init, and optionally, to which parent node.
*
* @attribute render
* @type boolean | Node
* @writeOnce
*/
ATTRS[RENDER] = {
value:FALSE,
writeOnce:TRUE
};
/**
* The css prefix which the static Widget.getClassName method should use when constructing class names
*
* @property CSS_PREFIX
* @type String
* @default Widget.NAME.toLowerCase()
* @private
* @static
*/
Widget.CSS_PREFIX = _getClassName(Widget.NAME.toLowerCase());
/**
* Generate a standard prefixed classname for the Widget, prefixed by the default prefix defined
* by the <code>Y.config.classNamePrefix</code> attribute used by <code>ClassNameManager</code> and
* <code>Widget.NAME.toLowerCase()</code> (e.g. "yui-widget-xxxxx-yyyyy", based on default values for
* the prefix and widget class name).
* <p>
* The instance based version of this method can be used to generate standard prefixed classnames,
* based on the instances NAME, as opposed to Widget.NAME. This method should be used when you
* need to use a constant class name across different types instances.
* </p>
* @method getClassName
* @param {String*} args* 0..n strings which should be concatenated, using the default separator defined by ClassNameManager, to create the class name
*/
Widget.getClassName = function() {
// arguments needs to be array'fied to concat
return _getClassName.apply(ClassNameManager, [Widget.CSS_PREFIX].concat(Y.Array(arguments), true));
};
_getWidgetClassName = Widget.getClassName;
/**
* Returns the widget instance whose bounding box contains, or is, the given node.
* <p>
* In the case of nested widgets, the nearest bounding box ancestor is used to
* return the widget instance.
* </p>
* @method getByNode
* @static
* @param node {Node | String} The node for which to return a Widget instance. If a selector
* string is passed in, which selects more than one node, the first node found is used.
* @return {Widget} Widget instance, or null if not found.
*/
Widget.getByNode = function(node) {
var widget,
widgetMarker = _getWidgetClassName();
node = Node.one(node);
if (node) {
node = node.ancestor("." + widgetMarker, true);
if (node) {
widget = _instances[Y.stamp(node, true)];
}
}
return widget || null;
};
Y.extend(Widget, Y.Base, {
/**
* Returns a class name prefixed with the the value of the
* <code>YUI.config.classNamePrefix</code> attribute + the instances <code>NAME</code> property.
* Uses <code>YUI.config.classNameDelimiter</code> attribute to delimit the provided strings.
* e.g.
* <code>
* <pre>
* // returns "yui-slider-foo-bar", for a slider instance
* var scn = slider.getClassName('foo','bar');
*
* // returns "yui-overlay-foo-bar", for an overlay instance
* var ocn = overlay.getClassName('foo','bar');
* </pre>
* </code>
*
* @method getClassName
* @param {String} [classnames*] One or more classname bits to be joined and prefixed
*/
getClassName: function () {
return _getClassName.apply(ClassNameManager, [this._cssPrefix].concat(Y.Array(arguments), true));
},
/**
* Initializer lifecycle implementation for the Widget class. Registers the
* widget instance, and runs through the Widget's HTML_PARSER definition.
*
* @method initializer
* @protected
* @param config {Object} Configuration object literal for the widget
*/
initializer: function(config) {
Y.log('initializer called', 'life', 'widget');
var bb = this.get(BOUNDING_BOX);
if (bb instanceof Node) {
this._mapInstance(Y.stamp(bb));
}
/**
* Notification event, which widget implementations can fire, when
* they change the content of the widget. This event has no default
* behavior and cannot be prevented, so the "on" or "after"
* moments are effectively equivalent (with on listeners being invoked before
* after listeners).
*
* @event widget:contentUpdate
* @preventable false
* @param {EventFacade} e The Event Facade
*/
},
/**
* Utility method used to add an entry to the boundingBox id to instance map.
*
* This method can be used to populate the instance with lazily created boundingBox Node references.
*
* @method _mapInstance
* @param {String} The boundingBox id
* @protected
*/
_mapInstance : function(id) {
_instances[id] = this;
},
/**
* Destructor lifecycle implementation for the Widget class. Purges events attached
* to the bounding box and content box, removes them from the DOM and removes
* the Widget from the list of registered widgets.
*
* @method destructor
* @protected
*/
destructor: function() {
Y.log('destructor called', 'life', 'widget');
var boundingBox = this.get(BOUNDING_BOX),
bbGuid;
if (boundingBox instanceof Node) {
bbGuid = Y.stamp(boundingBox,true);
if (bbGuid in _instances) {
delete _instances[bbGuid];
}
this._destroyBox();
}
},
/**
* <p>
* Destroy lifecycle method. Fires the destroy
* event, prior to invoking destructors for the
* class hierarchy.
*
* Overrides Base's implementation, to support arguments to destroy
* </p>
* <p>
* Subscribers to the destroy
* event can invoke preventDefault on the event object, to prevent destruction
* from proceeding.
* </p>
* @method destroy
* @param destroyAllNodes {Boolean} If true, all nodes contained within the Widget are
* removed and destroyed. Defaults to false due to potentially high run-time cost.
* @return {Widget} A reference to this object
* @chainable
*/
destroy: function(destroyAllNodes) {
this._destroyAllNodes = destroyAllNodes;
return Widget.superclass.destroy.apply(this);
},
/**
* Removes and destroys the widgets rendered boundingBox, contentBox,
* and detaches bound UI events.
*
* @method _destroyBox
* @protected
*/
_destroyBox : function() {
var boundingBox = this.get(BOUNDING_BOX),
contentBox = this.get(CONTENT_BOX),
deep = this._destroyAllNodes,
same;
same = boundingBox && boundingBox.compareTo(contentBox);
if (this.UI_EVENTS) {
this._destroyUIEvents();
}
this._unbindUI(boundingBox);
if (contentBox) {
if (deep) {
contentBox.empty();
}
contentBox.remove(TRUE);
}
if (!same) {
if (deep) {
boundingBox.empty();
}
boundingBox.remove(TRUE);
}
},
/**
* Establishes the initial DOM for the widget. Invoking this
* method will lead to the creating of all DOM elements for
* the widget (or the manipulation of existing DOM elements
* for the progressive enhancement use case).
* <p>
* This method should only be invoked once for an initialized
* widget.
* </p>
* <p>
* It delegates to the widget specific renderer method to do
* the actual work.
* </p>
*
* @method render
* @chainable
* @final
* @param parentNode {Object | String} Optional. The Node under which the
* Widget is to be rendered. This can be a Node instance or a CSS selector string.
* <p>
* If the selector string returns more than one Node, the first node will be used
* as the parentNode. NOTE: This argument is required if both the boundingBox and contentBox
* are not currently in the document. If it's not provided, the Widget will be rendered
* to the body of the current document in this case.
* </p>
*/
render: function(parentNode) {
if (this.get(DESTROYED)) { Y.log("Render failed; widget has been destroyed", "error", "widget"); }
if (!this.get(DESTROYED) && !this.get(RENDERED)) {
/**
* Lifecycle event for the render phase, fired prior to rendering the UI
* for the widget (prior to invoking the widget's renderer method).
* <p>
* Subscribers to the "on" moment of this event, will be notified
* before the widget is rendered.
* </p>
* <p>
* Subscribers to the "after" moment of this event, will be notified
* after rendering is complete.
* </p>
*
* @event render
* @preventable _defRenderFn
* @param {EventFacade} e The Event Facade
*/
this.publish(RENDER, {
queuable:FALSE,
fireOnce:TRUE,
defaultTargetOnly:TRUE,
defaultFn: this._defRenderFn
});
this.fire(RENDER, {parentNode: (parentNode) ? Node.one(parentNode) : null});
}
return this;
},
/**
* Default render handler
*
* @method _defRenderFn
* @protected
* @param {EventFacade} e The Event object
* @param {Node} parentNode The parent node to render to, if passed in to the <code>render</code> method
*/
_defRenderFn : function(e) {
this._parentNode = e.parentNode;
this.renderer();
this._set(RENDERED, TRUE);
this._removeLoadingClassNames();
},
/**
* Creates DOM (or manipulates DOM for progressive enhancement)
* This method is invoked by render() and is not chained
* automatically for the class hierarchy (unlike initializer, destructor)
* so it should be chained manually for subclasses if required.
*
* @method renderer
* @protected
*/
renderer: function() {
// kweight
var widget = this;
widget._renderUI();
widget.renderUI();
widget._bindUI();
widget.bindUI();
widget._syncUI();
widget.syncUI();
},
/**
* Configures/Sets up listeners to bind Widget State to UI/DOM
*
* This method is not called by framework and is not chained
* automatically for the class hierarchy.
*
* @method bindUI
* @protected
*/
bindUI: EMPTY_FN,
/**
* Adds nodes to the DOM
*
* This method is not called by framework and is not chained
* automatically for the class hierarchy.
*
* @method renderUI
* @protected
*/
renderUI: EMPTY_FN,
/**
* Refreshes the rendered UI, based on Widget State
*
* This method is not called by framework and is not chained
* automatically for the class hierarchy.
*
* @method syncUI
* @protected
*
*/
syncUI: EMPTY_FN,
/**
* @method hide
* @description Hides the Widget by setting the "visible" attribute to "false".
* @chainable
*/
hide: function() {
return this.set(VISIBLE, FALSE);
},
/**
* @method show
* @description Shows the Widget by setting the "visible" attribute to "true".
* @chainable
*/
show: function() {
return this.set(VISIBLE, TRUE);
},
/**
* @method focus
* @description Causes the Widget to receive the focus by setting the "focused"
* attribute to "true".
* @chainable
*/
focus: function () {
return this._set(FOCUSED, TRUE);
},
/**
* @method blur
* @description Causes the Widget to lose focus by setting the "focused" attribute
* to "false"
* @chainable
*/
blur: function () {
return this._set(FOCUSED, FALSE);
},
/**
* @method enable
* @description Set the Widget's "disabled" attribute to "false".
* @chainable
*/
enable: function() {
return this.set(DISABLED, FALSE);
},
/**
* @method disable
* @description Set the Widget's "disabled" attribute to "true".
* @chainable
*/
disable: function() {
return this.set(DISABLED, TRUE);
},
/**
* @method _uiSizeCB
* @protected
* @param {boolean} expand
*/
_uiSizeCB : function(expand) {
this.get(CONTENT_BOX).toggleClass(_getWidgetClassName(CONTENT, "expanded"), expand);
},
/**
* Helper method to collect the boundingBox and contentBox and append to the provided parentNode, if not
* already a child. The owner document of the boundingBox, or the owner document of the contentBox will be used
* as the document into which the Widget is rendered if a parentNode is node is not provided. If both the boundingBox and
* the contentBox are not currently in the document, and no parentNode is provided, the widget will be rendered
* to the current document's body.
*
* @method _renderBox
* @private
* @param {Node} parentNode The parentNode to render the widget to. If not provided, and both the boundingBox and
* the contentBox are not currently in the document, the widget will be rendered to the current document's body.
*/
_renderBox: function(parentNode) {
// TODO: Performance Optimization [ More effective algo to reduce Node refs, compares, replaces? ]
var widget = this, // kweight
contentBox = widget.get(CONTENT_BOX),
boundingBox = widget.get(BOUNDING_BOX),
srcNode = widget.get(SRC_NODE),
defParentNode = widget.DEF_PARENT_NODE,
doc = (srcNode && srcNode.get(OWNER_DOCUMENT)) || boundingBox.get(OWNER_DOCUMENT) || contentBox.get(OWNER_DOCUMENT);
// If srcNode (assume it's always in doc), have contentBox take its place (widget render responsible for re-use of srcNode contents)
if (srcNode && !srcNode.compareTo(contentBox) && !contentBox.inDoc(doc)) {
srcNode.replace(contentBox);
}
if (!boundingBox.compareTo(contentBox.get(PARENT_NODE)) && !boundingBox.compareTo(contentBox)) {
// If contentBox box is already in the document, have boundingBox box take it's place
if (contentBox.inDoc(doc)) {
contentBox.replace(boundingBox);
}
boundingBox.appendChild(contentBox);
}
parentNode = parentNode || (defParentNode && Node.one(defParentNode));
if (parentNode) {
parentNode.appendChild(boundingBox);
} else if (!boundingBox.inDoc(doc)) {
Node.one(BODY).insert(boundingBox, 0);
}
},
/**
* Setter for the boundingBox attribute
*
* @method _setBB
* @private
* @param {Node|String} node
* @return Node
*/
_setBB: function(node) {
return this._setBox(this.get(ID), node, this.BOUNDING_TEMPLATE, true);
},
/**
* Setter for the contentBox attribute
*
* @method _setCB
* @private
* @param {Node|String} node
* @return Node
*/
_setCB: function(node) {
return (this.CONTENT_TEMPLATE === null) ? this.get(BOUNDING_BOX) : this._setBox(null, node, this.CONTENT_TEMPLATE, false);
},
/**
* Returns the default value for the boundingBox attribute.
*
* For the Widget class, this will most commonly be null (resulting in a new
* boundingBox node instance being created), unless a srcNode was provided
* and CONTENT_TEMPLATE is null, in which case it will be srcNode.
* This behavior was introduced in 3.18.1 to accomodate single-box widgets
* whose BB & CB both point to srcNode (e.g. Y.Button).
*
* @method _defaultBB
* @protected
*/
_defaultBB : function() {
var node = this.get(SRC_NODE),
nullCT = (this.CONTENT_TEMPLATE === null);
return ((node && nullCT) ? node : null);
},
/**
* Returns the default value for the contentBox attribute.
*
* For the Widget class, this will be the srcNode if provided, otherwise null (resulting in
* a new contentBox node instance being created)
*
* @method _defaultCB
* @protected
*/
_defaultCB : function(node) {
return this.get(SRC_NODE) || null;
},
/**
* Helper method to set the bounding/content box, or create it from
* the provided template if not found.
*
* @method _setBox
* @private
*
* @param {String} id The node's id attribute
* @param {Node|String} node The node reference
* @param {String} template HTML string template for the node
* @param {boolean} isBounding true if this is the boundingBox, false if it's the contentBox
* @return {Node} The node
*/
_setBox : function(id, node, template, isBounding) {
node = Node.one(node);
if (!node) {
node = Node.create(template);
if (isBounding) {
this._bbFromTemplate = true;
} else {
this._cbFromTemplate = true;
}
}
if (!node.get(ID)) {
node.set(ID, id || Y.guid());
}
return node;
},
/**
* Initializes the UI state for the Widget's bounding/content boxes.
*
* @method _renderUI
* @protected
*/
_renderUI: function() {
this._renderBoxClassNames();
this._renderBox(this._parentNode);
},
/**
* Applies standard class names to the boundingBox and contentBox
*
* @method _renderBoxClassNames
* @protected
*/
_renderBoxClassNames : function() {
var classes = this._getClasses(),
cl,
boundingBox = this.get(BOUNDING_BOX),
i;
boundingBox.addClass(_getWidgetClassName());
// Start from Widget Sub Class
for (i = classes.length-3; i >= 0; i--) {
cl = classes[i];
boundingBox.addClass(cl.CSS_PREFIX || _getClassName(cl.NAME.toLowerCase()));
}
// Use instance based name for content box
this.get(CONTENT_BOX).addClass(this.getClassName(CONTENT));
},
/**
* Removes class names representative of the widget's loading state from
* the boundingBox.
*
* @method _removeLoadingClassNames
* @protected
*/
_removeLoadingClassNames: function () {
var boundingBox = this.get(BOUNDING_BOX),
contentBox = this.get(CONTENT_BOX),
instClass = this.getClassName(LOADING),
widgetClass = _getWidgetClassName(LOADING);
boundingBox.removeClass(widgetClass)
.removeClass(instClass);
contentBox.removeClass(widgetClass)
.removeClass(instClass);
},
/**
* Sets up DOM and CustomEvent listeners for the widget.
*
* @method _bindUI
* @protected
*/
_bindUI: function() {
this._bindAttrUI(this._UI_ATTRS.BIND);
this._bindDOM();
},
/**
* @method _unbindUI
* @protected
*/
_unbindUI : function(boundingBox) {
this._unbindDOM(boundingBox);
},
/**
* Sets up DOM listeners, on elements rendered by the widget.
*
* @method _bindDOM
* @protected
*/
_bindDOM : function() {
var oDocument = this.get(BOUNDING_BOX).get(OWNER_DOCUMENT),
focusHandle = Widget._hDocFocus;
// Shared listener across all Widgets.
if (!focusHandle) {
focusHandle = Widget._hDocFocus = oDocument.on("focus", this._onDocFocus, this);
focusHandle.listeners = {
count: 0
};
}
focusHandle.listeners[Y.stamp(this, true)] = true;
focusHandle.listeners.count++;
// Fix for Webkit:
// Document doesn't receive focus in Webkit when the user mouses
// down on it, so the "focused" attribute won't get set to the
// correct value. Keeping this instance based for now, potential better performance.
// Otherwise we'll end up looking up widgets from the DOM on every mousedown.
if (WEBKIT){
this._hDocMouseDown = oDocument.on("mousedown", this._onDocMouseDown, this);
}
},
/**
* @method _unbindDOM
* @protected
*/
_unbindDOM : function(boundingBox) {
var focusHandle = Widget._hDocFocus,
yuid = Y.stamp(this, true),
focusListeners,
mouseHandle = this._hDocMouseDown;
if (focusHandle) {
focusListeners = focusHandle.listeners;
if (focusListeners[yuid]) {
delete focusListeners[yuid];
focusListeners.count--;
}
if (focusListeners.count === 0) {
focusHandle.detach();
Widget._hDocFocus = null;
}
}
if (WEBKIT && mouseHandle) {
mouseHandle.detach();
}
},
/**
* Updates the widget UI to reflect the attribute state.
*
* @method _syncUI
* @protected
*/
_syncUI: function() {
this._syncAttrUI(this._UI_ATTRS.SYNC);
},
/**
* Sets the height on the widget's bounding box element
*
* @method _uiSetHeight
* @protected
* @param {String | Number} val
*/
_uiSetHeight: function(val) {
this._uiSetDim(HEIGHT, val);
this._uiSizeCB((val !== EMPTY_STR && val !== AUTO));
},
/**
* Sets the width on the widget's bounding box element
*
* @method _uiSetWidth
* @protected
* @param {String | Number} val
*/
_uiSetWidth: function(val) {
this._uiSetDim(WIDTH, val);
},
/**
* @method _uiSetDim
* @private
* @param {String} dim The dimension - "width" or "height"
* @param {Number | String} val The value to set
*/
_uiSetDim: function(dimension, val) {
this.get(BOUNDING_BOX).setStyle(dimension, L.isNumber(val) ? val + this.DEF_UNIT : val);
},
/**
* Sets the visible state for the UI
*
* @method _uiSetVisible
* @protected
* @param {boolean} val
*/
_uiSetVisible: function(val) {
this.get(BOUNDING_BOX).toggleClass(this.getClassName(HIDDEN), !val);
},
/**
* Sets the disabled state for the UI
*
* @method _uiSetDisabled
* @protected
* @param {boolean} val
*/
_uiSetDisabled: function(val) {
this.get(BOUNDING_BOX).toggleClass(this.getClassName(DISABLED), val);
},
/**
* Sets the focused state for the UI
*
* @method _uiSetFocused
* @protected
* @param {boolean} val
* @param {string} src String representing the source that triggered an update to
* the UI.
*/
_uiSetFocused: function(val, src) {
var boundingBox = this.get(BOUNDING_BOX);
boundingBox.toggleClass(this.getClassName(FOCUSED), val);
if (src !== UI) {
if (val) {
boundingBox.focus();
} else {
boundingBox.blur();
}
}
},
/**
* Set the tabIndex on the widget's rendered UI
*
* @method _uiSetTabIndex
* @protected
* @param Number
*/
_uiSetTabIndex: function(index) {
var boundingBox = this.get(BOUNDING_BOX);
if (L.isNumber(index)) {
boundingBox.set(TAB_INDEX, index);
} else {
boundingBox.removeAttribute(TAB_INDEX);
}
},
/**
* @method _onDocMouseDown
* @description "mousedown" event handler for the owner document of the
* widget's bounding box.
* @protected
* @param {EventFacade} evt The event facade for the DOM focus event
*/
_onDocMouseDown: function (evt) {
if (this._domFocus) {
this._onDocFocus(evt);
}
},
/**
* DOM focus event handler, used to sync the state of the Widget with the DOM
*
* @method _onDocFocus
* @protected
* @param {EventFacade} evt The event facade for the DOM focus event
*/
_onDocFocus: function (evt) {
var widget = Widget.getByNode(evt.target),
activeWidget = Widget._active;
if (activeWidget && (activeWidget !== widget)) {
activeWidget._domFocus = false;
activeWidget._set(FOCUSED, false, {src:UI});
Widget._active = null;
}
if (widget) {
widget._domFocus = true;
widget._set(FOCUSED, true, {src:UI});
Widget._active = widget;
}
},
/**
* Generic toString implementation for all widgets.
*
* @method toString
* @return {String} The default string value for the widget [ displays the NAME of the instance, and the unique id ]
*/
toString: function() {
// Using deprecated name prop for kweight squeeze.
return this.name + "[" + this.get(ID) + "]";
},
/**
* Default unit to use for dimension values
*
* @property DEF_UNIT
* @type String
*/
DEF_UNIT : "px",
/**
* Default node to render the bounding box to. If not set,
* will default to the current document body.
*
* @property DEF_PARENT_NODE
* @type String | Node
*/
DEF_PARENT_NODE : null,
/**
* Property defining the markup template for content box. If your Widget doesn't
* need the dual boundingBox/contentBox structure, set CONTENT_TEMPLATE to null,
* and contentBox and boundingBox will both point to the same Node.
*
* @property CONTENT_TEMPLATE
* @type String
*/
CONTENT_TEMPLATE : DIV,
/**
* Property defining the markup template for bounding box.
*
* @property BOUNDING_TEMPLATE
* @type String
*/
BOUNDING_TEMPLATE : DIV,
/**
* @method _guid
* @protected
*/
_guid : function() {
return Y.guid();
},
/**
* @method _validTabIndex
* @protected
* @param {Number} tabIndex
*/
_validTabIndex : function (tabIndex) {
return (L.isNumber(tabIndex) || L.isNull(tabIndex));
},
/**
* Binds after listeners for the list of attributes provided
*
* @method _bindAttrUI
* @private
* @param {Array} attrs
*/
_bindAttrUI : function(attrs) {
var i,
l = attrs.length;
for (i = 0; i < l; i++) {
this.after(attrs[i] + CHANGE, this._setAttrUI);
}
},
/**
* Invokes the _uiSet=ATTR NAME> method for the list of attributes provided
*
* @method _syncAttrUI
* @private
* @param {Array} attrs
*/
_syncAttrUI : function(attrs) {
var i, l = attrs.length, attr;
for (i = 0; i < l; i++) {
attr = attrs[i];
this[_UISET + _toInitialCap(attr)](this.get(attr));
}
},
/**
* @method _setAttrUI
* @private
* @param {EventFacade} e
*/
_setAttrUI : function(e) {
if (e.target === this) {
this[_UISET + _toInitialCap(e.attrName)](e.newVal, e.src);
}
},
/**
* The default setter for the strings attribute. Merges partial sets
* into the full string set, to allow users to partial sets of strings
*
* @method _strSetter
* @protected
* @param {Object} strings
* @return {String} The full set of strings to set
*/
_strSetter : function(strings) {
return Y.merge(this.get(STRINGS), strings);
},
/**
* Helper method to get a specific string value
*
* @deprecated Used by deprecated WidgetLocale implementations.
* @method getString
* @param {String} key
* @return {String} The string
*/
getString : function(key) {
return this.get(STRINGS)[key];
},
/**
* Helper method to get the complete set of strings for the widget
*
* @deprecated Used by deprecated WidgetLocale implementations.
* @method getStrings
* @param {String} key
* @return {String} The strings
*/
getStrings : function() {
return this.get(STRINGS);
},
/**
* The lists of UI attributes to bind and sync for widget's _bindUI and _syncUI implementations
*
* @property _UI_ATTRS
* @type Object
* @private
*/
_UI_ATTRS : {
BIND: UI_ATTRS,
SYNC: UI_ATTRS
}
});
Y.Widget = Widget;
}, '3.18.1', {
"requires": [
"attribute",
"base-base",
"base-pluginhost",
"classnamemanager",
"event-focus",
"node-base",
"node-style"
],
"skinnable": true
});
, | [
1,
835,
8010,
29901,
6341,
29899,
29873,
262,
962,
346,
29918,
1028,
514,
3198,
261,
29918,
1961,
13,
2277,
29937,
12953,
29901,
7281,
3368,
323,
4901,
29924,
4741,
1706,
514,
3198,
261,
363,
341,
2092,
280,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
1982,
29914,
29891,
29884,
15943,
29914,
29941,
29889,
29896,
29947,
29889,
29896,
29914,
8030,
29899,
3188,
29914,
8030,
29899,
3188,
29899,
8382,
29889,
1315,
13,
835,
10576,
29901,
29979,
3120,
29889,
1202,
877,
8030,
29899,
3188,
742,
740,
313,
29979,
29892,
27085,
29897,
426,
13,
13,
7918,
13,
334,
9133,
2247,
278,
2967,
27080,
770,
29892,
411,
4544,
1459,
643,
2304,
13,
334,
13,
334,
732,
5453,
11109,
13,
334,
732,
3396,
11109,
13,
3776,
13,
13,
7918,
13,
334,
9133,
2247,
278,
2967,
27080,
770,
13,
334,
13,
334,
732,
5453,
11109,
13,
334,
732,
1491,
5453,
11109,
29899,
3188,
13,
3776,
13,
1707,
365,
353,
612,
29889,
29931,
574,
29892,
13,
1678,
9071,
353,
612,
29889,
4247,
29892,
13,
13,
1678,
4134,
1170,
3260,
353,
612,
29889,
23607,
3260,
29892,
13,
13,
1678,
903,
657,
23607,
353,
4134,
1170,
3260,
29889,
657,
23607,
29892,
13,
1678,
903,
657,
8801,
23607,
29892,
13,
13,
1678,
903,
517,
15514,
12415,
353,
612,
29889,
29883,
3791,
29898,
2220,
29898,
710,
29897,
426,
13,
4706,
736,
851,
29889,
20363,
29898,
29900,
29892,
29871,
29896,
467,
517,
26214,
8259,
580,
718,
851,
29889,
20363,
29898,
29896,
416,
13,
1678,
500,
511,
13,
13,
1678,
849,
476,
29899,
22676,
29892,
7159,
19983,
5994,
17063,
13,
1678,
8707,
29911,
3919,
353,
376,
3051,
613,
13,
1678,
478,
3235,
8979,
1307,
353,
376,
12872,
613,
13,
1678,
379,
1367,
29928,
1430,
353,
376,
10892,
613,
13,
1678,
28657,
6181,
29928,
353,
376,
18279,
613,
13,
1678,
18322,
29907,
17171,
29928,
353,
376,
29888,
542,
3880,
613,
13,
1678,
399,
1367,
4690,
353,
376,
2103,
613,
13,
1678,
17714,
22530,
353,
376,
3545,
613,
13,
1678,
16437,
18783,
4214,
29918,
8456,
29990,
353,
376,
9917,
292,
3313,
613,
13,
1678,
8707,
29911,
3919,
29918,
8456,
29990,
353,
376,
3051,
3313,
613,
13,
1678,
349,
1718,
3919,
29918,
6632,
2287,
353,
376,
3560,
4247,
613,
13,
1678,
438,
29956,
13865,
29918,
28665,
5005,
3919,
353,
376,
20348,
6268,
613,
13,
1678,
26524,
29949,
353,
376,
6921,
613,
13,
1678,
317,
10363,
29918,
6632,
2287,
353,
376,
4351,
4247,
613,
13,
1678,
350,
13668,
29979,
353,
376,
2587,
613,
13,
1678,
323,
2882,
29918,
27992,
353,
376,
3891,
3220,
613,
13,
1678,
3553,
353,
376,
333,
613,
13,
1678,
390,
1430,
8032,
353,
376,
9482,
613,
13,
1678,
390,
1430,
8032,
3352,
353,
376,
9482,
287,
613,
13,
1678,
5012,
1254,
1672,
29979,
3352,
353,
376,
20524,
287,
613,
13,
1678,
29486,
4214,
29903,
353,
376,
19651,
613,
13,
1678,
360,
5667,
353,
9872,
4563,
2565,
4563,
28341,
13,
1678,
5868,
24336,
353,
376,
7277,
613,
13,
1678,
11247,
3035,
4214,
353,
376,
13234,
613,
13,
13,
1678,
903,
3120,
10490,
353,
11119,
1481,
2697,
613,
13,
13,
1678,
382,
3580,
15631,
29918,
10810
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
### Project:custom-mustache.js
### Description:None
### File:
### Path:./mod/quiz/yui/src/quizbase/js/quizbase.js
### Content:/**
* The quizbase class to provide shared functionality to Modules within Moodle.
*
* @module moodle-mod_quiz-quizbase
*/
var QUIZBASENAME = 'mod_quiz-quizbase';
var QUIZBASE = function() {
QUIZBASE.superclass.constructor.apply(this, arguments);
};
/**
* The coursebase class to provide shared functionality to Modules within
* Moodle.
*
* @class M.course.coursebase
* @constructor
*/
Y.extend(QUIZBASE, Y.Base, {
// Registered Modules
registermodules: [],
/**
* Register a new Javascript Module
*
* @method register_module
* @param {Object} The instantiated module to call functions on
* @chainable
*/
register_module: function(object) {
this.registermodules.push(object);
return this;
},
/**
* Invoke the specified function in all registered modules with the given arguments
*
* @method invoke_function
* @param {String} functionname The name of the function to call
* @param {mixed} args The argument supplied to the function
* @chainable
*/
invoke_function: function(functionname, args) {
var module;
for (module in this.registermodules) {
if (functionname in this.registermodules[module]) {
this.registermodules[module][functionname](args);
}
}
return this;
}
}, {
NAME: QUIZBASENAME,
ATTRS: {}
});
// Ensure that M.course exists and that coursebase is initialised correctly
M.mod_quiz = M.mod_quiz || {};
M.mod_quiz.quizbase = M.mod_quiz.quizbase || new QUIZBASE();
// Abstract functions that needs to be defined per format (course/format/somename/format.js)
M.mod_quiz.edit = M.mod_quiz.edit || {};
/**
* Swap section (should be defined in format.js if requred)
*
* @param {YUI} Y YUI3 instance
* @param {string} node1 node to swap to
* @param {string} node2 node to swap with
* @return {NodeList} section list
*/
M.mod_quiz.edit.swap_sections = function(Y, node1, node2) {
var CSS = {
COURSECONTENT: 'mod-quiz-edit-content',
SECTIONADDMENUS: 'section_add_menus'
};
var sectionlist = Y.Node.all('.' + CSS.COURSECONTENT + ' li.section');
// Swap menus.
sectionlist.item(node1).one('.' + CSS.SECTIONADDMENUS).swap(sectionlist.item(node2).one('.' + CSS.SECTIONADDMENUS));
};
/**
* Process sections after ajax response (should be defined in format.js)
* If some response is expected, we pass it over to format, as it knows better
* hot to process it.
*
* @param {YUI} Y YUI3 instance
* @param {NodeList} list of sections
* @param {array} response ajax response
* @param {string} sectionfrom first affected section
* @param {string} sectionto last affected section
* @return void
*/
M.mod_quiz.edit.process_sections = function(Y, sectionlist, response, sectionfrom, sectionto) {
var CSS = {
SECTIONNAME: 'sectionname'
},
SELECTORS = {
SECTIONLEFTSIDE: '.left .section-handle .icon'
};
if (response.action === 'move') {
// If moving up swap around 'sectionfrom' and 'sectionto' so the that loop operates.
if (sectionfrom > sectionto) {
var temp = sectionto;
sectionto = sectionfrom;
sectionfrom = temp;
}
// Update titles and move icons in all affected sections.
var ele, str, stridx, newstr;
for (var i = sectionfrom; i <= sectionto; i++) {
// Update section title.
sectionlist.item(i).one('.' + CSS.SECTIONNAME).setContent(response.sectiontitles[i]);
// Update move icon.
ele = sectionlist.item(i).one(SELECTORS.SECTIONLEFTSIDE);
str = ele.getAttribute('alt');
stridx = str.lastIndexOf(' ');
newstr = str.substr(0, stridx + 1) + i;
ele.setAttribute('alt', newstr);
ele.setAttribute('title', newstr); // For FireFox as 'alt' is not refreshed.
// Remove the current class as section has been moved.
sectionlist.item(i).removeClass('current');
}
// If there is a current section, apply corresponding class in order to highlight it.
if (response.current !== -1) {
// Add current class to the required section.
sectionlist.item(response.current).addClass('current');
}
}
};
, | [
1,
835,
8010,
29901,
6341,
29899,
21969,
1829,
29889,
1315,
13,
2277,
29937,
12953,
29901,
8516,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
1545,
29914,
339,
466,
29914,
29891,
1481,
29914,
4351,
29914,
339,
466,
3188,
29914,
1315,
29914,
339,
466,
3188,
29889,
1315,
13,
835,
10576,
29901,
7918,
13,
334,
450,
439,
466,
3188,
770,
304,
3867,
7258,
9863,
304,
3382,
2540,
2629,
341,
2092,
280,
29889,
13,
334,
13,
334,
732,
5453,
286,
2092,
280,
29899,
1545,
29918,
339,
466,
29899,
339,
466,
3188,
13,
3776,
13,
1707,
660,
3120,
29999,
29933,
3289,
1430,
25797,
353,
525,
1545,
29918,
339,
466,
29899,
339,
466,
3188,
2670,
13,
13,
1707,
660,
3120,
29999,
25416,
353,
740,
580,
426,
13,
1678,
660,
3120,
29999,
25416,
29889,
9136,
1990,
29889,
27821,
29889,
7302,
29898,
1366,
29892,
6273,
416,
13,
3400,
13,
13,
7918,
13,
334,
450,
3236,
3188,
770,
304,
3867,
7258,
9863,
304,
3382,
2540,
2629,
13,
334,
341,
2092,
280,
29889,
13,
334,
13,
334,
732,
1990,
341,
29889,
15775,
29889,
15775,
3188,
13,
334,
732,
27821,
13,
3776,
13,
29979,
29889,
21843,
29898,
29984,
3120,
29999,
25416,
29892,
612,
29889,
5160,
29892,
426,
13,
1678,
849,
12577,
287,
3382,
2540,
13,
1678,
6036,
7576,
29901,
19997,
13,
13,
1678,
7762,
13,
268,
334,
12577,
263,
716,
12728,
15591,
13,
268,
334,
13,
268,
334,
732,
5696,
6036,
29918,
5453,
13,
268,
334,
732,
3207,
426,
2061,
29913,
450,
13213,
630,
3883,
304,
1246,
3168,
373,
13,
268,
334,
732,
14153,
519,
13,
268,
3776,
13,
1678,
6036,
29918,
5453,
29901,
740,
29898,
3318,
29897,
426,
13,
4706,
445,
29889,
9573,
7576,
29889,
5910,
29898,
3318,
416,
13,
13,
4706,
736,
445,
29936,
13,
1678,
2981,
13,
13,
1678,
7762,
13,
268,
334,
512,
5744,
278,
6790,
740,
297,
599,
15443,
10585,
411,
278,
2183,
6273,
13,
268,
334,
13,
268,
334,
732,
5696,
15928,
29918,
2220,
13,
268,
334,
732,
3207,
426,
1231,
29913,
740,
978,
450,
1024,
310,
278,
740,
304,
1246,
13,
268,
334,
732,
3207,
426,
29885,
11925,
29913,
6389,
450,
2980,
19056,
304,
278,
740,
13,
268,
334,
732,
14153,
519,
13,
268,
3776,
13,
1678,
15928,
29918,
2220,
29901,
740,
29898,
2220,
978,
29892,
6389,
29897,
426,
13,
4706,
722,
3883,
29936,
13,
4706,
363,
313,
5453,
297,
445,
29889,
9573,
7576,
29897,
426,
13,
9651,
565,
313,
2220,
978,
297,
445,
29889,
9573,
7576,
29961,
5453,
2314,
426,
13,
18884,
445,
29889,
9573,
7576,
29961,
5453,
3816,
2220,
978,
850,
5085,
416,
13,
9651,
500,
13,
4706,
500,
13,
13,
4706,
736,
445,
29936,
13,
1678,
500,
13,
1118,
426,
13,
1678,
27085,
29901,
660,
3120,
29999,
29933,
3289,
1430,
25797,
29892,
13,
1678,
15531,
5659,
29903,
29901,
6571,
13,
3680,
13,
13,
458,
22521,
545,
393,
341,
29889,
15775,
4864,
322,
393,
3236,
3188,
338,
2847,
3368,
5149,
13,
29924,
29889,
1545,
29918,
339,
466,
353,
341,
29889,
1545,
29918,
339,
466,
3830,
15739,
13,
29924,
29889,
1545,
29918,
339,
466,
29889,
339,
466,
3188,
353,
341,
29889,
1545
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
### Project:moodlenet
### Description:MoodleNet Project
### File:
### Path:./course/format/amd/build/local/courseindex/placeholder.min.js.map
### Content:{"version":3,"file":"placeholder.min.js","sources":["../../../src/local/courseindex/placeholder.js"],"sourcesContent":["// This file is part of Moodle - http://moodle.org/\n//\n// Moodle is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// Moodle is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n//\n// You should have received a copy of the GNU General Public License\n// along with Moodle. If not, see <http://www.gnu.org/licenses/>.\n\n/**\n * Course index placeholder replacer.\n *\n * @module core_courseformat/local/courseindex/placeholder\n * @class core_courseformat/local/courseindex/placeholder\n * @copyright 2021 Ferran Recio <[email protected]>\n * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later\n */\n\nimport {BaseComponent} from 'core/reactive';\nimport Templates from 'core/templates';\nimport {getCurrentCourseEditor} from 'core_courseformat/courseeditor';\nimport Pending from 'core/pending';\n\nexport default class Component extends BaseComponent {\n\n /**\n * Static method to create a component instance form the mustache template.\n *\n * @param {element|string} target the DOM main element or its ID\n * @param {object} selectors optional css selector overrides\n * @return {Component}\n */\n static init(target, selectors) {\n return new this({\n element: document.getElementById(target),\n reactive: getCurrentCourseEditor(),\n selectors,\n });\n }\n\n /**\n * Component creation hook.\n */\n create() {\n // Add a pending operation waiting for the initial content.\n this.pendingContent = new Pending(`core_courseformat/placeholder:loadcourseindex`);\n }\n\n /**\n * Initial state ready method.\n *\n * This stateReady to be async because it loads the real courseindex.\n *\n * @param {object} state the initial state\n */\n async stateReady(state) {\n\n // Check if we have a static course index already loded from a previous page.\n if (!this.loadStaticContent()) {\n await this.loadTemplateContent(state);\n }\n }\n\n /**\n * Load the course index from the session storage if any.\n *\n * @return {boolean} true if the static version is loaded form the session\n */\n loadStaticContent() {\n // Load the previous static course index from the session cache.\n const index = this.reactive.getStorageValue(`courseIndex`);\n if (index.html && index.js) {\n Templates.replaceNode(this.element, index.html, index.js);\n this.pendingContent.resolve();\n return true;\n }\n return false;\n }\n\n /**\n * Load the course index template.\n *\n * @param {Object} state the initial state\n */\n async loadTemplateContent(state) {\n // Collect section information from the state.\n const exporter = this.reactive.getExporter();\n const data = exporter.course(state);\n try {\n // To render an HTML into our component we just use the regular Templates module.\n const {html, js} = await Templates.renderForPromise(\n 'core_courseformat/local/courseindex/courseindex',\n data,\n );\n Templates.replaceNode(this.element, html, js);\n this.pendingContent.resolve();\n\n // Save the rendered template into the session cache.\n this.reactive.setStorageValue(`courseIndex`, {html, js});\n } catch (error) {\n this.pendingContent.resolve(error);\n throw error;\n }\n }\n}\n"],"names":["Component","BaseComponent","target","selectors","this","element","document","getElementById","reactive","create","pendingContent","Pending","state","loadStaticContent","loadTemplateContent","index","getStorageValue","html","js","replaceNode","resolve","data","getExporter","course","Templates","renderForPromise","setStorageValue","error"],"mappings":";;;;;;;;mLA6BqBA,kBAAkBC,oCASvBC,OAAQC,kBACT,IAAIC,KAAK,CACZC,QAASC,SAASC,eAAeL,QACjCM,UAAU,0CACVL,UAAAA,YAORM,cAESC,eAAiB,IAAIC,mFAUbC,OAGRR,KAAKS,2BACAT,KAAKU,oBAAoBF,OASvCC,0BAEUE,MAAQX,KAAKI,SAASQ,wCACxBD,MAAME,OAAQF,MAAMG,yBACVC,YAAYf,KAAKC,QAASU,MAAME,KAAMF,MAAMG,SACjDR,eAAeU,WACb,6BAUWR,aAGhBS,KADWjB,KAAKI,SAASc,cACTC,OAAOX,iBAGnBK,KAACA,KAADC,GAAOA,UAAYM,mBAAUC,iBAC/B,kDACAJ,yBAEMF,YAAYf,KAAKC,QAASY,KAAMC,SACrCR,eAAeU,eAGfZ,SAASkB,8BAA+B,CAACT,KAAAA,KAAMC,GAAAA,KACtD,MAAOS,kBACAjB,eAAeU,QAAQO,OACtBA"}, | [
1,
835,
8010,
29901,
29885,
2092,
2435,
300,
13,
2277,
29937,
12953,
29901,
29924,
2092,
280,
6779,
8010,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
15775,
29914,
4830,
29914,
22490,
29914,
4282,
29914,
2997,
29914,
15775,
2248,
29914,
27074,
29889,
1195,
29889,
1315,
29889,
1958,
13,
835,
10576,
29901,
6377,
3259,
1115,
29941,
1699,
1445,
4710,
27074,
29889,
1195,
29889,
1315,
3284,
29879,
2863,
1115,
3366,
21546,
6995,
4351,
29914,
2997,
29914,
15775,
2248,
29914,
27074,
29889,
1315,
12436,
29908,
29879,
2863,
3916,
1115,
3366,
458,
910,
934,
338,
760,
310,
341,
2092,
280,
448,
1732,
597,
29885,
2092,
280,
29889,
990,
7998,
29876,
458,
29905,
29876,
458,
341,
2092,
280,
338,
3889,
7047,
29901,
366,
508,
2654,
391,
2666,
372,
322,
29914,
272,
6623,
29905,
29876,
458,
372,
1090,
278,
4958,
310,
278,
15143,
4593,
5236,
19245,
408,
6369,
491,
29905,
29876,
458,
278,
12362,
18540,
10606,
29892,
2845,
1873,
29871,
29941,
310,
278,
19245,
29892,
470,
29905,
29876,
458,
313,
271,
596,
2984,
29897,
738,
2678,
1873,
7790,
29876,
458,
29905,
29876,
458,
341,
2092,
280,
338,
13235,
297,
278,
4966,
393,
372,
674,
367,
5407,
2053,
29876,
458,
541,
399,
1806,
8187,
2692,
13764,
29979,
399,
1718,
29934,
13566,
29979,
29936,
1728,
1584,
278,
2411,
2957,
1370,
21867,
29891,
310,
29905,
29876,
458,
341,
1001,
3210,
13566,
2882,
6227,
11937,
470,
383,
1806,
8186,
1799,
15842,
319,
349,
8322,
2965,
13309,
1718,
349,
4574,
13152,
1660,
29889,
29871,
2823,
278,
29905,
29876,
458,
15143,
4593,
5236,
19245,
363,
901,
4902,
7790,
29876,
458,
29905,
29876,
458,
887,
881,
505,
4520,
263,
3509,
310,
278,
15143,
4593,
5236,
19245,
29905,
29876,
458,
3412,
411,
341,
2092,
280,
29889,
29871,
960,
451,
29892,
1074,
529,
1124,
597,
1636,
29889,
18713,
29889,
990,
29914,
506,
11259,
3779,
7790,
29876,
29905,
29876,
7918,
29905,
29876,
334,
6325,
344,
2380,
12983,
6497,
2265,
7790,
29876,
334,
29905,
29876,
334,
732,
5453,
268,
7136,
29918,
15775,
4830,
29914,
2997,
29914,
15775,
2248,
29914,
27074,
29905,
29876,
334,
732,
1990,
418,
7136,
29918,
15775,
4830,
29914,
2997,
29914,
15775,
2248,
29914,
27074,
29905,
29876,
334,
732,
8552,
1266,
259,
29906,
29900,
29906,
29896,
7756,
661,
830,
3934,
529,
571,
661,
29992,
29885,
2092,
280,
29889,
510,
14247,
29876,
334,
732,
506,
1947,
1678,
1732,
597,
1636,
29889,
18713,
29889,
990,
29914,
9708,
1508,
615,
29914,
29887,
572,
29889,
1420,
15143,
402,
7390,
325,
29941,
470,
2678,
29905,
29876,
3776,
29905,
29876,
29905,
29876,
5215,
426,
5160,
5308,
29913,
515,
525,
3221,
29914,
276,
4925,
2670,
29905,
29876,
5215,
6789,
9884,
515,
525,
3221,
29914,
20943,
2670,
29905,
29876,
5215,
426,
657,
7583,
29907,
10242,
15280,
29913,
515,
525,
3221,
29918,
15775,
4830,
29914,
15775,
15204,
2670,
29905,
29876,
5215,
349,
2548,
515,
525,
3221,
29914,
29886,
2548,
2670,
29905,
29876,
29905,
13996,
637,
2322,
770,
15924,
4988,
7399,
5308,
2802,
29876,
29905,
29876,
1678,
7762,
29905,
29876,
268,
334,
624,
2454,
1158,
304,
1653,
263,
4163,
2777,
883,
278,
1818,
1829,
4472,
7790,
29876,
268,
334,
29905,
29876,
268,
334,
732,
3207
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
### Project:jsdoc
### Description:JavaScript API Documentation builds for Moodle LMS
### File:
### Path:./filter/algebra/lang/en/filter_algebra.php
### Content:<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Strings for component 'filter_algebra', language 'en', branch 'MOODLE_20_STABLE'
*
* @package filter_algebra
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$string['filtername'] = 'Algebra notation';
$string['algebraicexpression'] = 'Algebraic expression';
$string['privacy:metadata'] = 'The Algebra notation plugin does not store any personal data.';
, | [
1,
835,
8010,
29901,
1315,
1514,
13,
2277,
29937,
12953,
29901,
16963,
3450,
10854,
362,
23315,
363,
341,
2092,
280,
365,
4345,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
4572,
29914,
15742,
29914,
3893,
29914,
264,
29914,
4572,
29918,
15742,
29889,
1961,
13,
835,
10576,
29901,
8169,
1961,
13,
13,
458,
910,
934,
338,
760,
310,
341,
2092,
280,
448,
1732,
597,
29885,
2092,
280,
29889,
990,
29914,
13,
458,
13,
458,
341,
2092,
280,
338,
3889,
7047,
29901,
366,
508,
2654,
391,
2666,
372,
322,
29914,
272,
6623,
13,
458,
372,
1090,
278,
4958,
310,
278,
15143,
4593,
5236,
19245,
408,
6369,
491,
13,
458,
278,
12362,
18540,
10606,
29892,
2845,
1873,
29871,
29941,
310,
278,
19245,
29892,
470,
13,
458,
313,
271,
596,
2984,
29897,
738,
2678,
1873,
29889,
13,
458,
13,
458,
341,
2092,
280,
338,
13235,
297,
278,
4966,
393,
372,
674,
367,
5407,
29892,
13,
458,
541,
399,
1806,
8187,
2692,
13764,
29979,
399,
1718,
29934,
13566,
29979,
29936,
1728,
1584,
278,
2411,
2957,
1370,
21867,
29891,
310,
13,
458,
341,
1001,
3210,
13566,
2882,
6227,
11937,
470,
383,
1806,
8186,
1799,
15842,
319,
349,
8322,
2965,
13309,
1718,
349,
4574,
13152,
1660,
29889,
29871,
2823,
278,
13,
458,
15143,
4593,
5236,
19245,
363,
901,
4902,
29889,
13,
458,
13,
458,
887,
881,
505,
4520,
263,
3509,
310,
278,
15143,
4593,
5236,
19245,
13,
458,
3412,
411,
341,
2092,
280,
29889,
29871,
960,
451,
29892,
1074,
529,
1124,
597,
1636,
29889,
18713,
29889,
990,
29914,
506,
11259,
3779,
29889,
13,
13,
7918,
13,
334,
3767,
886,
363,
4163,
525,
4572,
29918,
15742,
742,
4086,
525,
264,
742,
5443,
525,
6720,
13668,
1307,
29918,
29906,
29900,
29918,
1254,
6181,
29915,
13,
334,
13,
334,
732,
5113,
259,
4175,
29918,
15742,
13,
334,
732,
8552,
1266,
29871,
29896,
29929,
29929,
29929,
373,
2935,
6502,
13215,
2829,
294,
29871,
26633,
2324,
1732,
597,
29885,
2092,
280,
29889,
510,
29913,
13,
334,
732,
506,
1947,
259,
1732,
597,
1636,
29889,
18713,
29889,
990,
29914,
9708,
1508,
615,
29914,
29887,
572,
29889,
1420,
15143,
402,
7390,
325,
29941,
470,
2678,
13,
3776,
13,
13,
29938,
1807,
1839,
1777,
725,
420,
2033,
353,
525,
2499,
5869,
12640,
2670,
13,
29938,
1807,
1839,
15742,
625,
29916,
2590,
2033,
353,
525,
2499,
5869,
293,
4603,
2670,
13,
29938,
1807,
1839,
22534,
4135,
29901,
19635,
2033,
353,
525,
1576,
838,
5869,
12640,
7079,
947,
451,
3787,
738,
7333,
848,
29889,
2670,
13,
29892,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
### Project:jsdoc
### Description:JavaScript API Documentation builds for Moodle LMS
### File:
### Path:./legacy-packages/backend/src/adapters/content-graph/arangodb/db/maintainance/versionSteps/2.0.0/populateDBNodes.ts
### Content:import FileFormatArray from '@moodlenet/common/dist/content-graph_2.0.0/initialData/FileFormat'
import IscedFieldArray from '@moodlenet/common/dist/content-graph_2.0.0/initialData/IscedField'
import IscedGradeArray from '@moodlenet/common/dist/content-graph_2.0.0/initialData/IscedGrade'
import LanguageArray from '@moodlenet/common/dist/content-graph_2.0.0/initialData/Language'
import LicenseArray from '@moodlenet/common/dist/content-graph_2.0.0/initialData/License'
import ResourceTypeArray from '@moodlenet/common/dist/content-graph_2.0.0/initialData/ResourceType'
import { Database } from 'arangojs'
export const populateDBNodes = async ({ db }: { db: Database }) =>
[FileFormatArray, IscedFieldArray, IscedGradeArray, LanguageArray, LicenseArray, ResourceTypeArray].reduce(
async (_, nodes) => {
const firstNode = nodes[0]
if (!firstNode) {
throw new Error(`empty node set, skipping`)
}
const nodeType = firstNode._type
console.log(`creating ${nodes.length} ${nodeType} nodes`)
const collection = db.collection(nodeType)
const aqlNodes = nodes.map(node => {
const aqlNode: any = { ...node }
delete aqlNode._permId
aqlNode._key = node._permId
return aqlNode
})
await collection.saveAll(aqlNodes)
},
Promise.resolve(),
)
, | [
1,
835,
8010,
29901,
1315,
1514,
13,
2277,
29937,
12953,
29901,
16963,
3450,
10854,
362,
23315,
363,
341,
2092,
280,
365,
4345,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
1397,
4135,
29899,
8318,
29914,
27852,
29914,
4351,
29914,
328,
481,
2153,
29914,
3051,
29899,
4262,
29914,
279,
574,
10396,
29914,
2585,
29914,
29885,
2365,
475,
749,
29914,
3259,
7789,
567,
29914,
29906,
29889,
29900,
29889,
29900,
29914,
7323,
5987,
4051,
20284,
29889,
1372,
13,
835,
10576,
29901,
5215,
3497,
5809,
2588,
515,
18803,
29885,
2092,
2435,
300,
29914,
9435,
29914,
5721,
29914,
3051,
29899,
4262,
29918,
29906,
29889,
29900,
29889,
29900,
29914,
11228,
1469,
29914,
2283,
5809,
29915,
13,
5215,
1317,
1133,
3073,
2588,
515,
18803,
29885,
2092,
2435,
300,
29914,
9435,
29914,
5721,
29914,
3051,
29899,
4262,
29918,
29906,
29889,
29900,
29889,
29900,
29914,
11228,
1469,
29914,
3624,
1133,
3073,
29915,
13,
5215,
1317,
1133,
29954,
15464,
2588,
515,
18803,
29885,
2092,
2435,
300,
29914,
9435,
29914,
5721,
29914,
3051,
29899,
4262,
29918,
29906,
29889,
29900,
29889,
29900,
29914,
11228,
1469,
29914,
3624,
1133,
29954,
15464,
29915,
13,
5215,
17088,
2588,
515,
18803,
29885,
2092,
2435,
300,
29914,
9435,
29914,
5721,
29914,
3051,
29899,
4262,
29918,
29906,
29889,
29900,
29889,
29900,
29914,
11228,
1469,
29914,
21233,
29915,
13,
5215,
19245,
2588,
515,
18803,
29885,
2092,
2435,
300,
29914,
9435,
29914,
5721,
29914,
3051,
29899,
4262,
29918,
29906,
29889,
29900,
29889,
29900,
29914,
11228,
1469,
29914,
29931,
293,
1947,
29915,
13,
5215,
18981,
1542,
2588,
515,
18803,
29885,
2092,
2435,
300,
29914,
9435,
29914,
5721,
29914,
3051,
29899,
4262,
29918,
29906,
29889,
29900,
29889,
29900,
29914,
11228,
1469,
29914,
6848,
1542,
29915,
13,
5215,
426,
5470,
500,
515,
525,
279,
4524,
1315,
29915,
13,
13,
15843,
1040,
19450,
4051,
20284,
353,
7465,
21313,
4833,
500,
29901,
426,
4833,
29901,
5470,
5615,
1149,
13,
29871,
518,
2283,
5809,
2588,
29892,
1317,
1133,
3073,
2588,
29892,
1317,
1133,
29954,
15464,
2588,
29892,
17088,
2588,
29892,
19245,
2588,
29892,
18981,
1542,
2588,
1822,
17469,
29898,
13,
1678,
7465,
313,
3383,
7573,
29897,
1149,
426,
13,
418,
1040,
937,
4247,
353,
7573,
29961,
29900,
29962,
13,
418,
565,
5384,
4102,
4247,
29897,
426,
13,
4706,
3183,
716,
4829,
16787,
6310,
2943,
731,
29892,
14993,
3262,
6348,
13,
418,
500,
13,
418,
1040,
2943,
1542,
353,
937,
4247,
3032,
1853,
13,
418,
2991,
29889,
1188,
16787,
1037,
1218,
6435,
18010,
29889,
2848,
29913,
6435,
3177,
1542,
29913,
7573,
6348,
13,
418,
1040,
4333,
353,
4833,
29889,
10855,
29898,
3177,
1542,
29897,
13,
418,
1040,
263,
1519,
20284,
353,
7573,
29889,
1958,
29898,
3177,
1149,
426,
13,
4706,
1040,
263,
1519,
4247,
29901,
738,
353,
426,
2023,
3177,
500,
13,
4706,
5217,
263,
1519,
4247,
3032,
17858,
1204,
13,
4706,
263,
1519,
4247,
3032,
1989,
353,
2943,
3032,
17858,
1204,
13,
4706,
736,
263,
1519,
4247,
13,
418,
5615,
13,
418,
7272,
4333,
29889,
7620,
3596,
29898,
29874,
1519,
20284,
29897,
13,
1678,
2981,
13,
1678,
21501,
29889,
17863,
3285,
13,
29871,
1723,
13,
29892,
2,
2,
2,
2,
2,
2,
2,
2,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
### Project:phpdoc
### Description:Moodle API Documentation
### File:
### Path:./blocks/accessreview/tests/behat/accessreview.feature
### Content:@block @block_accessreview @javascript
Feature: Block accessreview
In order to overview accessibility information on my course
As a manager
I can add the accessreview block in a course
Background:
Given the following "courses" exist:
| fullname | shortname | format |
| Course 1 | C1 | topics |
And the following config values are set as admin:
| analysistype | 1 | tool_brickfield |
Scenario: View accessreview block on a course
Given I log in as "admin"
And I am on "Course 1" course homepage with editing mode on
When I add the "Accessibility review" block
Then I should see "Accessibility review"
And I should see "Your accessibility toolkit needs to be registered."
Scenario: Hide/show accessreview view
Given I log in as "admin"
And I am on "Course 1" course homepage with editing mode on
When I add the "Accessibility review" block
Then I should see "Accessibility review"
And I should see "Your accessibility toolkit needs to be registered."
And I click on "Actions menu" "icon" in the "Accessibility review" "block"
And I follow "Hide Accessibility review block"
And I should not see "Your accessibility toolkit needs to be registered."
And I click on "Actions menu" "icon" in the "Accessibility review" "block"
And I follow "Show Accessibility review block"
And I should see "Your accessibility toolkit needs to be registered."
, | [
1,
835,
8010,
29901,
1961,
1514,
13,
2277,
29937,
12953,
29901,
29924,
2092,
280,
3450,
10854,
362,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
1271,
29879,
29914,
5943,
27828,
29914,
21150,
29914,
915,
2455,
29914,
5943,
27828,
29889,
14394,
13,
835,
10576,
26984,
1271,
732,
1271,
29918,
5943,
27828,
732,
7729,
13,
19132,
29901,
15658,
2130,
27828,
13,
29871,
512,
1797,
304,
975,
1493,
2130,
4127,
2472,
373,
590,
3236,
13,
29871,
1094,
263,
8455,
13,
29871,
306,
508,
788,
278,
2130,
27828,
2908,
297,
263,
3236,
13,
13,
29871,
16585,
29901,
13,
1678,
11221,
278,
1494,
376,
29883,
29781,
29908,
1863,
29901,
13,
418,
891,
2989,
978,
891,
3273,
978,
891,
3402,
891,
13,
418,
891,
6325,
344,
29871,
29896,
891,
315,
29896,
4706,
891,
23820,
891,
13,
1678,
1126,
278,
1494,
2295,
1819,
526,
731,
408,
4113,
29901,
13,
418,
891,
3483,
952,
391,
668,
891,
29871,
29896,
891,
5780,
29918,
1182,
860,
2671,
891,
13,
13,
29871,
2522,
24893,
29901,
4533,
2130,
27828,
2908,
373,
263,
3236,
13,
1678,
11221,
306,
1480,
297,
408,
376,
6406,
29908,
13,
1678,
1126,
306,
626,
373,
376,
29907,
10242,
29871,
29896,
29908,
3236,
3271,
3488,
411,
16278,
4464,
373,
13,
1678,
1932,
306,
788,
278,
376,
6638,
4127,
9076,
29908,
2908,
13,
1678,
1987,
306,
881,
1074,
376,
6638,
4127,
9076,
29908,
13,
1678,
1126,
306,
881,
1074,
376,
10858,
2130,
4127,
5780,
7354,
4225,
304,
367,
15443,
1213,
13,
13,
29871,
2522,
24893,
29901,
379,
680,
29914,
4294,
2130,
27828,
1776,
13,
1678,
11221,
306,
1480,
297,
408,
376,
6406,
29908,
13,
1678,
1126,
306,
626,
373,
376,
29907,
10242,
29871,
29896,
29908,
3236,
3271,
3488,
411,
16278,
4464,
373,
13,
1678,
1932,
306,
788,
278,
376,
6638,
4127,
9076,
29908,
2908,
13,
1678,
1987,
306,
881,
1074,
376,
6638,
4127,
9076,
29908,
13,
1678,
1126,
306,
881,
1074,
376,
10858,
2130,
4127,
5780,
7354,
4225,
304,
367,
15443,
1213,
13,
1678,
1126,
306,
2828,
373,
376,
26525,
6143,
29908,
376,
4144,
29908,
297,
278,
376,
6638,
4127,
9076,
29908,
376,
1271,
29908,
13,
1678,
1126,
306,
1101,
376,
29950,
680,
11028,
4127,
9076,
2908,
29908,
13,
1678,
1126,
306,
881,
451,
1074,
376,
10858,
2130,
4127,
5780,
7354,
4225,
304,
367,
15443,
1213,
13,
1678,
1126,
306,
2828,
373,
376,
26525,
6143,
29908,
376,
4144,
29908,
297,
278,
376,
6638,
4127,
9076,
29908,
376,
1271,
29908,
13,
1678,
1126,
306,
1101,
376,
8964,
11028,
4127,
9076,
2908,
29908,
13,
1678,
1126,
306,
881,
1074,
376,
10858,
2130,
4127,
5780,
7354,
4225,
304,
367,
15443,
1213,
13,
29892,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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0,
0,
0,
0,
0,
0,
0
] |
Terms and Conditions are a set of rules and guidelines that a user must agree to in order to use your website or mobile app. It acts as a legal contract between you (the company) who has the website or mobile app and the user who access your website and mobile app.
It’s up to you to set the rules and guidelines that the user must agree to. You can think of your Terms and Conditions agreement as the legal agreement where you maintain your rights to exclude users from your app in the event that they abuse your app, and where you maintain your legal rights against potential app abusers, and so on.
Terms and Conditions are also known as Terms of Service or Terms of Use.
This type of legal agreement can be used for both your website and your mobile app. It’s not required (it’s not recommended actually) to have separate Terms and Conditions agreements: one for your website and one for your mobile app. | [
1,
11814,
29879,
322,
11790,
2187,
526,
263,
731,
310,
6865,
322,
1410,
10652,
1475,
393,
263,
1404,
1818,
8661,
304,
297,
1797,
304,
671,
596,
4700,
470,
10426,
623,
29889,
739,
14741,
408,
263,
11706,
8078,
1546,
366,
313,
1552,
5001,
29897,
1058,
756,
278,
4700,
470,
10426,
623,
322,
278,
1404,
1058,
2130,
596,
4700,
322,
10426,
623,
29889,
13,
3112,
30010,
29879,
701,
304,
366,
304,
731,
278,
6865,
322,
1410,
10652,
1475,
393,
278,
1404,
1818,
8661,
304,
29889,
887,
508,
1348,
310,
596,
11814,
29879,
322,
11790,
2187,
17327,
408,
278,
11706,
17327,
988,
366,
7344,
596,
10462,
304,
19060,
4160,
515,
596,
623,
297,
278,
1741,
393,
896,
633,
1509,
596,
623,
29892,
322,
988,
366,
7344,
596,
11706,
10462,
2750,
7037,
623,
633,
7193,
29892,
322,
577,
373,
29889,
13,
14343,
29879,
322,
11790,
2187,
526,
884,
2998,
408,
11814,
29879,
310,
6692,
470,
11814,
29879,
310,
4803,
29889,
13,
4013,
1134,
310,
11706,
17327,
508,
367,
1304,
363,
1716,
596,
4700,
322,
596,
10426,
623,
29889,
739,
30010,
29879,
451,
3734,
313,
277,
30010,
29879,
451,
13622,
2869,
29897,
304,
505,
5004,
11814,
29879,
322,
11790,
2187,
8571,
4110,
29901,
697,
363,
596,
4700,
322,
697,
363,
596,
10426,
623,
29889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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
### Project:phpdoc
### Description:Moodle API Documentation
### File:
### Path:./lib/amd/build/chart_pie.min.js
### Content:/**
* Chart pie.
*
* @copyright 2016 Frédéric Massart - FMCorz.net
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @module core/chart_pie
*/
define("core/chart_pie",["core/chart_base"],(function(Base){function Pie(){Base.prototype.constructor.apply(this,arguments)}return Pie.prototype=Object.create(Base.prototype),Pie.prototype.TYPE="pie",Pie.prototype._doughnut=null,Pie.prototype.create=function(Klass,data){var chart=Base.prototype.create.apply(this,arguments);return chart.setDoughnut(data.doughnut),chart},Pie.prototype.addSeries=function(series){if(null===series.getColor()){for(var colors=[],configColorSet=this.getConfigColorSet()||Base.prototype.COLORSET,i=0;i<series.getCount();i++)colors.push(configColorSet[i%configColorSet.length]);series.setColors(colors)}return Base.prototype.addSeries.apply(this,arguments)},Pie.prototype.getDoughnut=function(){return this._doughnut},Pie.prototype.setDoughnut=function(doughnut){this._doughnut=Boolean(doughnut)},Pie.prototype._validateSeries=function(){if(this._series.length>=1)throw new Error("Pie charts only support one serie.");return Base.prototype._validateSeries.apply(this,arguments)},Pie}));
//# sourceMappingURL=chart_pie.min.js.map, | [
1,
835,
8010,
29901,
1961,
1514,
13,
2277,
29937,
12953,
29901,
29924,
2092,
280,
3450,
10854,
362,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
1982,
29914,
22490,
29914,
4282,
29914,
15425,
29918,
12343,
29889,
1195,
29889,
1315,
13,
835,
10576,
29901,
7918,
13,
334,
14477,
5036,
29889,
13,
334,
13,
334,
732,
8552,
1266,
259,
29906,
29900,
29896,
29953,
4693,
2487,
9989,
7360,
442,
448,
383,
12513,
272,
29920,
29889,
1212,
13,
334,
732,
506,
1947,
1678,
1732,
597,
1636,
29889,
18713,
29889,
990,
29914,
9708,
1508,
615,
29914,
29887,
572,
29889,
1420,
15143,
402,
7390,
325,
29941,
470,
2678,
13,
334,
732,
5453,
268,
7136,
29914,
15425,
29918,
12343,
13,
3776,
13,
7922,
703,
3221,
29914,
15425,
29918,
12343,
613,
3366,
3221,
29914,
15425,
29918,
3188,
12436,
29898,
2220,
29898,
5160,
2597,
2220,
26005,
4923,
5160,
29889,
16309,
29889,
27821,
29889,
7302,
29898,
1366,
29892,
25699,
2915,
2457,
26005,
29889,
16309,
29922,
2061,
29889,
3258,
29898,
5160,
29889,
16309,
511,
29925,
347,
29889,
16309,
29889,
11116,
543,
12343,
613,
29925,
347,
29889,
16309,
3032,
29881,
820,
21305,
29922,
4304,
29892,
29925,
347,
29889,
16309,
29889,
3258,
29922,
2220,
29898,
29968,
605,
29892,
1272,
2597,
1707,
8727,
29922,
5160,
29889,
16309,
29889,
3258,
29889,
7302,
29898,
1366,
29892,
25699,
416,
2457,
8727,
29889,
842,
29928,
820,
21305,
29898,
1272,
29889,
29881,
820,
21305,
511,
15425,
1118,
29925,
347,
29889,
16309,
29889,
1202,
19204,
29922,
2220,
29898,
13757,
2597,
361,
29898,
4304,
25512,
13757,
29889,
657,
3306,
580,
2597,
1454,
29898,
1707,
11955,
11759,
1402,
2917,
3306,
2697,
29922,
1366,
29889,
657,
3991,
3306,
2697,
580,
8876,
5160,
29889,
16309,
29889,
15032,
1955,
10490,
29892,
29875,
29922,
29900,
29936,
29875,
29966,
13757,
29889,
657,
3981,
890,
29875,
4862,
27703,
29889,
5910,
29898,
2917,
3306,
2697,
29961,
29875,
29995,
2917,
3306,
2697,
29889,
2848,
5691,
13757,
29889,
842,
1625,
943,
29898,
27703,
2915,
2457,
7399,
29889,
16309,
29889,
1202,
19204,
29889,
7302,
29898,
1366,
29892,
25699,
19230,
29925,
347,
29889,
16309,
29889,
657,
29928,
820,
21305,
29922,
2220,
4923,
2457,
445,
3032,
29881,
820,
21305,
1118,
29925,
347,
29889,
16309,
29889,
842,
29928,
820,
21305,
29922,
2220,
29898,
29881,
820,
21305,
2597,
1366,
3032,
29881,
820,
21305,
29922,
18146,
29898,
29881,
820,
21305,
19230,
29925,
347,
29889,
16309,
3032,
15480,
19204,
29922,
2220,
4923,
361,
29898,
1366,
3032,
13757,
29889,
2848,
18572,
29896,
29897,
20539,
716,
4829,
703,
29925,
347,
24469,
871,
2304,
697,
7080,
18327,
2457,
7399,
29889,
16309,
3032,
15480,
19204,
29889,
7302,
29898,
1366,
29892,
25699,
19230,
29925,
347,
1800,
416,
13,
13,
458,
29937,
2752,
15845,
4219,
29922,
15425,
29918,
12343,
29889,
1195,
29889,
1315,
29889,
1958,
29892,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
This past weekend a couple of the CRB crew members hopped in the CRB corporate jet and flew off to the land of cheese for the third time this summer. We have been there so many times that we might as well change our diets to brats and cheese and root for the packers. We went to check out the World Show Ski tournament and it was well worth the trip. As usual the beer tent was where we spent most of our time, which should not come as a surprise. But we did also catch a lot of amazing skiing.
Show skiing is not as developed in other countries as it is in the US. In the US their are show ski teams all over the country, from Florida up to NY, a few scattered around the deep south, a couple teams on the west coast but show skiing is predominantly in the Midwest. This could be seen with the makeup of Team USA. They had a skier from Oregon, another from South Carolina, a bunch from Florida (including the free style jumping legend Scott Clack) and then the rest were from Midwest states.
We will post a couple more videos from the tournament later but here is a cool one of Geno Yaucler of Florida rocking the sky ski and then the whole team performing a double top 4 tier pyramid.
Labels: Show Ski, sky ski, team usa, yay video | [
1,
910,
4940,
4723,
355,
263,
7303,
310,
278,
15600,
29933,
17616,
5144,
5089,
2986,
297,
278,
15600,
29933,
17266,
403,
22588,
322,
9115,
29893,
1283,
304,
278,
2982,
310,
923,
968,
363,
278,
4654,
931,
445,
11801,
29889,
1334,
505,
1063,
727,
577,
1784,
3064,
393,
591,
1795,
408,
1532,
1735,
1749,
652,
1691,
304,
1506,
1446,
322,
923,
968,
322,
3876,
363,
278,
4870,
414,
29889,
1334,
3512,
304,
1423,
714,
278,
2787,
7704,
28551,
14743,
322,
372,
471,
1532,
7088,
278,
17487,
29889,
1094,
9670,
278,
367,
261,
12033,
471,
988,
591,
10398,
1556,
310,
1749,
931,
29892,
607,
881,
451,
2041,
408,
263,
16671,
29889,
1205,
591,
1258,
884,
4380,
263,
3287,
310,
21863,
292,
14993,
292,
29889,
13,
8964,
14993,
292,
338,
451,
408,
8906,
297,
916,
10916,
408,
372,
338,
297,
278,
3148,
29889,
512,
278,
3148,
1009,
526,
1510,
14993,
10907,
599,
975,
278,
4234,
29892,
515,
13813,
701,
304,
23526,
29892,
263,
2846,
29574,
2820,
278,
6483,
7062,
29892,
263,
7303,
10907,
373,
278,
5833,
12180,
541,
1510,
14993,
292,
338,
758,
24130,
10835,
297,
278,
13370,
5933,
29889,
910,
1033,
367,
3595,
411,
278,
1207,
786,
310,
8583,
8278,
29889,
2688,
750,
263,
2071,
631,
515,
25203,
29892,
1790,
515,
4275,
13397,
29892,
263,
14928,
515,
13813,
313,
18271,
278,
3889,
3114,
12500,
292,
15983,
8075,
315,
2364,
29897,
322,
769,
278,
1791,
892,
515,
13370,
5933,
5922,
29889,
13,
4806,
674,
1400,
263,
7303,
901,
19707,
515,
278,
14743,
2678,
541,
1244,
338,
263,
12528,
697,
310,
5739,
29877,
612,
585,
12121,
310,
13813,
7679,
292,
278,
14744,
14993,
322,
769,
278,
3353,
3815,
15859,
263,
3765,
2246,
29871,
29946,
26485,
11451,
2572,
333,
29889,
13,
4775,
29879,
29901,
7704,
28551,
29892,
14744,
14993,
29892,
3815,
502,
29874,
29892,
343,
388,
4863,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
summary: "Load Users" ignores existing Groups
type: Bug
project: Moodle
description: The import function "Load Users" ignores existing Groups in a Course and creates an identical Group (not assigned to a Grouping) for new students. Rgds Petras
comments: 1. Just to clarify: The CSV file has a column "group1" so the upload function should use the existing Groups/Groupings. Rgds Petras
2. This also affects 2.6.3 - wonder if anyone will fix it. Rgds Petras
3. Hi Everyone, We are conducting a review of historical Moodle LMS tracker issues. This issue has been flagged to be closed. The criteria we used to determine which issues to close are issues that: Are not security issues, and Were created more than 5 years ago, and Have less than 30 votes, and Are in status open or reopened , and Have not been updated in 6 months or more. If you believe this issue needs to remain open, please update it with a rationale in the next 7 days and it will be re-evaluated. If this issue is not updated in 7 days it will be closed Matt Porrrit Platform Manager, Moodle LMS (ID: fltr23751) | [
1,
15837,
29901,
376,
5896,
23861,
29908,
5330,
2361,
5923,
1632,
4410,
13,
1853,
29901,
28209,
13,
4836,
29901,
341,
2092,
280,
13,
8216,
29901,
450,
1053,
740,
376,
5896,
23861,
29908,
5330,
2361,
5923,
1632,
4410,
297,
263,
6325,
344,
322,
10017,
385,
13557,
6431,
313,
1333,
9859,
304,
263,
6431,
292,
29897,
363,
716,
8041,
29889,
390,
29887,
6289,
5879,
3417,
13,
21032,
29901,
29871,
29896,
29889,
3387,
304,
15544,
29901,
450,
16874,
934,
756,
263,
1897,
376,
2972,
29896,
29908,
577,
278,
6441,
740,
881,
671,
278,
5923,
1632,
4410,
29914,
4782,
886,
29889,
390,
29887,
6289,
5879,
3417,
13,
29906,
29889,
910,
884,
6602,
29879,
29871,
29906,
29889,
29953,
29889,
29941,
448,
4997,
565,
5019,
674,
2329,
372,
29889,
390,
29887,
6289,
5879,
3417,
13,
29941,
29889,
6324,
7569,
650,
29892,
1334,
526,
7512,
292,
263,
9076,
310,
15839,
341,
2092,
280,
365,
4345,
1020,
4937,
5626,
29889,
910,
2228,
756,
1063,
7353,
3192,
304,
367,
5764,
29889,
450,
16614,
591,
1304,
304,
8161,
607,
5626,
304,
3802,
526,
5626,
393,
29901,
4683,
451,
6993,
5626,
29892,
322,
399,
406,
2825,
901,
1135,
29871,
29945,
2440,
8020,
29892,
322,
6975,
3109,
1135,
29871,
29941,
29900,
18952,
29892,
322,
4683,
297,
4660,
1722,
470,
337,
3150,
287,
1919,
322,
6975,
451,
1063,
4784,
297,
29871,
29953,
7378,
470,
901,
29889,
960,
366,
4658,
445,
2228,
4225,
304,
3933,
1722,
29892,
3113,
2767,
372,
411,
263,
364,
11464,
297,
278,
2446,
29871,
29955,
3841,
322,
372,
674,
367,
337,
29899,
24219,
630,
29889,
960,
445,
2228,
338,
451,
4784,
297,
29871,
29955,
3841,
372,
674,
367,
5764,
9811,
7102,
29878,
768,
28096,
15629,
29892,
341,
2092,
280,
365,
4345,
313,
1367,
29901,
1652,
509,
29906,
29941,
29955,
29945,
29896,
29897,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
An event every week that begins at 8:00 am on Sunday and Thursday, repeating until February 1, 2021
« San Leandro Farmer’s Market and Bayfair Mall
Oakland Farmer’s Market »
3501 Civic Center Dr,
San Rafael, CA 94903 United States + Google Map | [
1,
530,
1741,
1432,
4723,
393,
16410,
472,
29871,
29947,
29901,
29900,
29900,
626,
373,
16340,
322,
498,
1295,
3250,
29892,
28769,
2745,
6339,
29871,
29896,
29892,
29871,
29906,
29900,
29906,
29896,
13,
30009,
3087,
951,
14907,
8413,
1050,
30010,
29879,
28794,
322,
6211,
29888,
1466,
23809,
13,
29949,
557,
1049,
8413,
1050,
30010,
29879,
28794,
2047,
13,
29941,
29945,
29900,
29896,
315,
440,
293,
7817,
4942,
29892,
13,
22509,
25661,
29892,
12766,
29871,
29929,
29946,
29929,
29900,
29941,
3303,
3900,
718,
5087,
7315,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
Carrie from OH Asked Note: This answer was provided prior to the change to planDisney and may still contain references to Disney Parks Moms Panel.
Help I'm officially a little freaked out, I planned my families Disney trip Nov 12-16 specifically because it was a low attendance time of year, but now with the Fantasyland preview am worried.Need advice on what park to visit what day knowing its a guess.”
Hi there, Carrie!
Right now, as you might imagine, the New Fantasyland at Walt Disney World is attracting lots of attention and visits from Guests.
During your visit, there is, in fact, a series of formal Passholder Preview events in New Fantasyland scheduled in three-hours blocks across November 6-16 on select days. Depending upon how these events are scheduled, you may or may not have as much access to the area as you might want.
There is a series of previews scheduled for the days of your visit, but these are not day-long events. You'll likely want to call the Passholder hotline at (407) WDW-PASS and find out the times of the tours on each of the days.
That said, beyond scheduling your Magic Kingdom day around a time that works best for your travel party, there is likely not going to be much difference in the other Parks from day to day. It's hard, too, to predict attendance when this kind of historical data has never been collected before to use as a comparison. But the good folks at TouringPlans.com will likely be able to steer you in the right direction. Their crowd level calendar ought to take this into consideration, and will likely help you further.
Please let me know if I can help you sort out any other parts of your itinerary.
See you later, celebrator,
-Deborah B.
Meet the Panelist: Deborah, Florida
As a Florida native, my life has always included Walt Disney World. Now I share that magic with my husband and my sons, ages seven and eight. In between trips to the World, I teach for the Department of English at the University of South Florida. Learn More About Deborah | [
1,
1704,
2546,
515,
438,
29950,
26579,
287,
3940,
29901,
910,
1234,
471,
4944,
7536,
304,
278,
1735,
304,
3814,
4205,
3801,
322,
1122,
1603,
1712,
9282,
304,
17944,
4815,
29879,
341,
4835,
349,
3870,
29889,
13,
29648,
306,
29915,
29885,
22444,
263,
2217,
3005,
12535,
714,
29892,
306,
20458,
590,
13175,
17944,
17487,
2864,
29871,
29896,
29906,
29899,
29896,
29953,
10816,
1363,
372,
471,
263,
4482,
14333,
749,
931,
310,
1629,
29892,
541,
1286,
411,
278,
18089,
8995,
1049,
25267,
626,
6365,
1255,
29889,
8139,
287,
9848,
373,
825,
14089,
304,
6493,
825,
2462,
13797,
967,
263,
4140,
3178,
13,
18567,
727,
29892,
1704,
2546,
29991,
13,
7341,
1286,
29892,
408,
366,
1795,
14034,
29892,
278,
1570,
18089,
8995,
1049,
472,
399,
1997,
17944,
2787,
338,
13978,
292,
14568,
310,
8570,
322,
1998,
1169,
515,
2088,
9197,
29889,
13,
29928,
3864,
596,
6493,
29892,
727,
338,
29892,
297,
2114,
29892,
263,
3652,
310,
11595,
6978,
7694,
4721,
1493,
4959,
297,
1570,
18089,
8995,
1049,
21467,
297,
2211,
29899,
29882,
2470,
10930,
4822,
3979,
29871,
29953,
29899,
29896,
29953,
373,
1831,
3841,
29889,
28277,
2501,
920,
1438,
4959,
526,
21467,
29892,
366,
1122,
470,
1122,
451,
505,
408,
1568,
2130,
304,
278,
4038,
408,
366,
1795,
864,
29889,
13,
8439,
338,
263,
3652,
310,
758,
7406,
21467,
363,
278,
3841,
310,
596,
6493,
29892,
541,
1438,
526,
451,
2462,
29899,
5426,
4959,
29889,
887,
29915,
645,
5517,
864,
304,
1246,
278,
6978,
7694,
7375,
1220,
472,
313,
29946,
29900,
29955,
29897,
399,
29928,
29956,
29899,
25711,
322,
1284,
714,
278,
3064,
310,
278,
260,
2470,
373,
1269,
310,
278,
3841,
29889,
13,
7058,
1497,
29892,
8724,
28598,
19478,
596,
26494,
12626,
2462,
2820,
263,
931,
393,
1736,
1900,
363,
596,
9850,
6263,
29892,
727,
338,
5517,
451,
2675,
304,
367,
1568,
4328,
297,
278,
916,
4815,
29879,
515,
2462,
304,
2462,
29889,
739,
29915,
29879,
2898,
29892,
2086,
29892,
304,
8500,
14333,
749,
746,
445,
2924,
310,
15839,
848,
756,
2360,
1063,
16531,
1434,
304,
671,
408,
263,
10230,
29889,
1205,
278,
1781,
900,
2039,
472,
6371,
292,
3247,
550,
29889,
510,
674,
5517,
367,
2221,
304,
1886,
261,
366,
297,
278,
1492,
5305,
29889,
11275,
19174,
3233,
17684,
12722,
304,
2125,
445,
964,
19220,
29892,
322,
674,
5517,
1371,
366,
4340,
29889,
13,
12148,
1235,
592,
1073,
565,
306,
508,
1371,
366,
2656,
714,
738,
916,
5633,
310,
596,
372,
4983,
653,
29889,
13,
13393,
366,
2678,
29892,
10894,
1061,
29892,
13,
29899,
10251,
272,
801,
350,
29889,
13,
6816,
300,
278,
349,
3870,
391,
29901,
7089,
272,
801,
29892,
13813,
13,
2887,
263,
13813,
7531,
29892,
590,
2834,
756,
2337,
5134,
399,
1997,
17944,
2787,
29889,
2567,
306,
6232,
393,
15709,
411,
590,
10216,
322,
590,
18025,
29892,
24646,
9881,
322,
9475,
29889,
512,
1546,
3367,
567,
304,
278,
2787,
29892,
306,
6860,
363,
278,
10317,
310,
4223,
472,
278,
3014,
310,
4275,
13813,
29889,
19530,
29876,
5853,
13611,
7089,
272,
801,
2,
2,
2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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
Datalynx Tabular view - MoodleDocs Forums Documentation Downloads Demo Tracker Development Translation Search Search Moodle Sites What are you looking for? Learn about Moodles products, like Moodle LMS or Moodle Worplace, or find a Moodle Certified Service Provider. Moodle.com Our social network to share and curate open educational resources. MoodleNet Courses and programs to develop your skills as a Moodle educator, administrator, designer or developer. Moodle Academy Moodle.com Learn about Moodles products, like Moodle LMS or Moodle Worplace, or find a Moodle Certified Service Provider. MoodleNet Our social network to share and curate open educational resources. Moodle Academy Courses and programs to develop your skills as a Moodle educator, administrator, designer or developer. Documentation Menu Main pageTable of contentsDocs overviewRecent changes Log in 4.0 docs4.2 docs 4.1 docs 3.11 docs 3.9 docs Article Page Comments View source History Note: You are currently viewing documentation for Moodle 4.0. Up-to-date documentation for the latest stable version of Moodle may be available here: Datalynx Tabular view. Datalynx Tabular view From MoodleDocsJump to:navigation, search Main page Managing a Moodle course Activities Datalynx Datalynx Tabular view Datalynx Module administration Installation Global settings Permissions Creating an activity Create a datalynx activity Activity settings Manage datalynx activities Views General view settings Grid view Tabular view PDF view CSV view Fields Filter, Search and Sort Datalynx Tags Statistics Notifications JavaScript, CSS Calculations See also FAQ This view can be used to display data in a tabular form or to bulk edit entries. The strength of the view is, that it enables the user to edit multiple entries simultaneously and to bulk update entries with one click. Combined with filters, this view can be used to manage many entries at once. Entry template The only setting, that differs from the general view settings is the setting "Entry template". Tabular view provides more tags for these settings. Bulkd update tag fieldname:bulkedit has to be placed in the header of the table and is automatically created for each field available in the datalynx activity. Note: Not all fields support bulk update. Please try before you use it. How to use it Select the entries, you want to change by activating the checkbox of each entry Click on the bulk edit button in the header row of the table In the header row activate the checkbox of the column you want to bulk edit The value you put in the first row of the table (the first row after the table header) will be used for all other entries. All other entries will be overwritten with the value given in the first row. Retrieved from " Categories: Contributed codeDatalynx module Tools What links here Related changes Special pages Printable version Permanent link Page information This page was last edited on 10 June 2014, at 21:54. Content is available under GNU General Public License unless otherwise noted. Privacy About Moodle Docs Disclaimers | [
1,
360,
2075,
948,
29916,
11090,
1070,
1776,
448,
341,
2092,
280,
29928,
12332,
1152,
6762,
10854,
362,
9943,
18132,
27819,
3201,
4937,
14650,
4103,
18411,
11856,
11856,
341,
2092,
280,
317,
3246,
1724,
526,
366,
3063,
363,
29973,
19530,
29876,
1048,
341,
2092,
793,
9316,
29892,
763,
341,
2092,
280,
365,
4345,
470,
341,
2092,
280,
19662,
6689,
29892,
470,
1284,
263,
341,
2092,
280,
18410,
2164,
6692,
1019,
5489,
29889,
341,
2092,
280,
29889,
510,
8680,
5264,
3564,
304,
6232,
322,
3151,
403,
1722,
28976,
7788,
29889,
341,
2092,
280,
6779,
315,
29781,
322,
11104,
304,
2693,
596,
25078,
408,
263,
341,
2092,
280,
6320,
1061,
29892,
27443,
29892,
23383,
470,
13897,
29889,
341,
2092,
280,
10355,
341,
2092,
280,
29889,
510,
19530,
29876,
1048,
341,
2092,
793,
9316,
29892,
763,
341,
2092,
280,
365,
4345,
470,
341,
2092,
280,
19662,
6689,
29892,
470,
1284,
263,
341,
2092,
280,
18410,
2164,
6692,
1019,
5489,
29889,
341,
2092,
280,
6779,
8680,
5264,
3564,
304,
6232,
322,
3151,
403,
1722,
28976,
7788,
29889,
341,
2092,
280,
10355,
315,
29781,
322,
11104,
304,
2693,
596,
25078,
408,
263,
341,
2092,
280,
6320,
1061,
29892,
27443,
29892,
23383,
470,
13897,
29889,
10854,
362,
20019,
4241,
1813,
3562,
310,
8118,
29928,
12332,
975,
1493,
4789,
296,
3620,
4522,
297,
29871,
29946,
29889,
29900,
10561,
29946,
29889,
29906,
10561,
29871,
29946,
29889,
29896,
10561,
29871,
29941,
29889,
29896,
29896,
10561,
29871,
29941,
29889,
29929,
10561,
21746,
9305,
461,
29879,
4533,
2752,
5298,
3940,
29901,
887,
526,
5279,
1776,
292,
5106,
363,
341,
2092,
280,
29871,
29946,
29889,
29900,
29889,
5020,
29899,
517,
29899,
1256,
5106,
363,
278,
9281,
13714,
1873,
310,
341,
2092,
280,
1122,
367,
3625,
1244,
29901,
360,
2075,
948,
29916,
11090,
1070,
1776,
29889,
360,
2075,
948,
29916,
11090,
1070,
1776,
3645,
341,
2092,
280,
29928,
12332,
29967,
3427,
304,
29901,
15466,
29892,
2740,
4241,
1813,
259,
2315,
6751,
263,
341,
2092,
280,
3236,
259,
21775,
1907,
259,
360,
2075,
948,
29916,
259,
360,
2075,
948,
29916,
11090,
1070,
1776,
360,
2075,
948,
29916,
15591,
17517,
16052,
362,
12002,
6055,
20894,
6847,
26221,
385,
6354,
6204,
263,
1418,
284,
948,
29916,
6354,
13414,
6055,
2315,
482,
1418,
284,
948,
29916,
14188,
4533,
29879,
4593,
1776,
6055,
11657,
1776,
11090,
1070,
1776,
11328,
1776,
16874,
1776,
8989,
29879,
19916,
29892,
11856,
322,
20025,
360,
2075,
948,
29916,
917,
27098,
2216,
8232,
8286,
29892,
6783,
20535,
800,
2823,
884,
13515,
29984,
910,
1776,
508,
367,
1304,
304,
2479,
848,
297,
263,
4434,
1070,
883,
470,
304,
21610,
3863,
9976,
29889,
450,
9324,
310,
278,
1776,
338,
29892,
393,
372,
28936,
278,
1404,
304,
3863,
2999,
9976,
21699,
322,
304,
21610,
2767,
9976,
411,
697,
2828,
29889,
422,
29890,
1312,
411,
18094,
29892,
445,
1776,
508,
367,
1304,
304,
10933,
1784,
9976,
472,
2748,
29889,
28236,
4472,
450,
871,
4444,
29892,
393,
2923,
414,
515,
278,
2498,
1776,
6055,
338,
278,
4444,
376,
9634,
4472,
1642,
11090,
1070,
1776,
8128,
901,
8282,
363,
1438,
6055,
29889,
8313,
29895,
29881,
2767,
4055,
1746,
978,
29901,
8645,
29895
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
### Project:jsdoc
### Description:JavaScript API Documentation builds for Moodle LMS
### File:
### Path:./packages/collection/src/server/expose.mts
### Content:import { shell } from './shell.mjs'
import { RpcStatus } from '@moodlenet/core'
import { defaultImageUploadMaxSize, getWebappUrl } from '@moodlenet/react-app/server'
import type {
AccessEntitiesRecordType,
AqlVal,
EntityInfo,
} from '@moodlenet/system-entities/server'
import {
creatorUserInfoAqlProvider,
getCurrentUserInfo,
isCurrentUserCreatorOfCurrentEntity,
} from '@moodlenet/system-entities/server'
import type { CollectionExposeType } from '../common/expose-def.mjs'
import type { CollectionContributorRpc, CollectionRpc } from '../common/types.mjs'
import { getCollectionHomePageRoutePath } from '../common/webapp-routes.mjs'
import { canPublish } from './aql.mjs'
import { publicFiles } from './init/fs.mjs'
import {
createCollection,
delCollection,
getCollection,
getImageLogicalFilename,
getMyCollections,
getValidations,
patchCollection,
searchCollections,
setCollectionImage,
setPublished,
updateCollectionContent,
} from './services.mjs'
import { getImageAssetInfo, getImageUrl } from './lib.mjs'
import type { CollectionDataType } from './types.mjs'
export const expose = await shell.expose<CollectionExposeType>({
rpc: {
'webapp/get-configs': {
guard: () => void 0,
async fn() {
const { config } = await getValidations()
return { validations: config }
},
},
'webapp/my-collections': {
guard: () => void 0,
async fn() {
const meEntityInfo = await getCurrentUserInfo()
const contributor = getRpcContributor(meEntityInfo)
const myCollectionsCursor = await getMyCollections({
projectAccess: ['u', 'd'],
project: {
canPublish: canPublish(),
},
})
const myCollectionsDocs = await myCollectionsCursor.all()
const collections = myCollectionsDocs.map(_ => {
const collectionRpc = getCollectionRpc({ ..._, isCreator: true })
return collectionRpc
})
return {
collections,
contributor,
}
},
},
'webapp/my-collections/:containingResourceKey': {
guard: () => void 0,
async fn(_, { containingResourceKey }) {
const myCollectionsCursor = await getMyCollections({
projectAccess: ['u'],
})
const myCollectionsDocs = await myCollectionsCursor.all()
return myCollectionsDocs
.filter(({ access }) => access.u)
.map(({ entity: { _key, title, resourceList } }) => {
const resourceListKeys = resourceList.map(({ _key }) => _key)
return {
collectionKey: _key,
collectionName: title,
hasResource: resourceListKeys.includes(containingResourceKey),
}
})
},
},
'webapp/in-collection/:collectionKey/:action(add|remove)/:resourceKey': {
guard: () => void 0,
async fn(_, { action, collectionKey, resourceKey }) {
const updateResult = await updateCollectionContent(collectionKey, action, resourceKey)
if (!updateResult) {
return //throw ?
}
return
},
},
'webapp/set-is-published/:_key': {
guard: body => typeof body.publish === 'boolean',
async fn({ publish }, { _key }) {
const patchResult = await setPublished(_key, publish)
if (!patchResult) {
if (patchResult === null) {
throw RpcStatus('Not Found')
}
if (patchResult === undefined) {
throw RpcStatus('Unauthorized')
}
throw RpcStatus('Precondition Failed')
}
return
},
},
'webapp/get/:_key': {
guard: () => void 0,
async fn(_, { _key }) {
const found = await getCollection(_key, {
projectAccess: ['u', 'd'],
project: {
canPublish: canPublish(),
isCreator: isCurrentUserCreatorOfCurrentEntity(),
contributor: creatorUserInfoAqlProvider(),
},
})
if (!found) {
return null
}
const contributor: CollectionContributorRpc = getRpcContributor(found.contributor)
const collectionRpcNoContrib = getCollectionRpc(found)
const collectionRpc: CollectionRpc = {
contributor,
...collectionRpcNoContrib,
}
return collectionRpc
},
},
'webapp/edit/:_key': {
guard: async body => {
const { draftCollectionValidationSchema } = await getValidations()
body.values = await draftCollectionValidationSchema.validate(body?.values, {
stripUnknown: true,
})
},
async fn({ values }, { _key }) {
await patchCollection(_key, values)
},
},
'webapp/create': {
guard: () => void 0,
async fn() {
const createResult = await createCollection({})
if (!createResult) {
throw RpcStatus('Unauthorized')
}
return {
_key: createResult._key,
}
},
},
'webapp/delete/:_key': {
guard: () => void 0,
async fn(_, { _key }) {
const delResult = await delCollection(_key)
if (!delResult) {
return
}
const imageLogicalFilename = getImageLogicalFilename(_key)
await publicFiles.del(imageLogicalFilename)
return
},
},
'webapp/upload-image/:_key': {
guard: async body => {
const { imageValidationSchema } = await getValidations()
const validatedImageOrNullish = await imageValidationSchema.validate(
{ image: body?.file?.[0] },
{ stripUnknown: true },
)
body.file = [validatedImageOrNullish]
},
async fn({ file: [uploadedRpcFile] }, { _key }) {
const got = await getCollection(_key, { projectAccess: ['u'] })
if (!got?.access.u) {
throw RpcStatus('Unauthorized')
}
const updateRes = await setCollectionImage(_key, uploadedRpcFile)
if (updateRes === false) {
throw RpcStatus('Expectation Failed')
}
// console.log({ patched: updateRes?.patched.image, got: got.entity.image })
const imageUrl = updateRes?.patched.image ? getImageUrl(updateRes.patched.image) : null
return imageUrl
},
bodyWithFiles: {
maxSize: defaultImageUploadMaxSize,
fields: {
'.file': 1,
},
},
},
'webapp/search': {
guard: () => void 0,
async fn(_, __, { limit, sortType, text, after }) {
const { endCursor, list } = await searchCollections({ limit, sortType, text, after })
return {
list: list.map(({ entity: { _key } }) => ({ _key })),
endCursor,
}
},
},
},
})
function getCollectionRpc(
found: AccessEntitiesRecordType<
CollectionDataType,
{
canPublish: AqlVal<boolean>
isCreator: AqlVal<boolean>
},
'u' | 'd'
>,
) {
const image = getImageAssetInfo(found.entity.image)
const collectionRpc: Omit<CollectionRpc, 'contributor'> = {
resourceList: found.entity.resourceList,
form: {
description: found.entity.description,
title: found.entity.title,
},
data: {
id: found.entity._key,
mnUrl: getWebappUrl(
getCollectionHomePageRoutePath({ _key: found.entity._key, title: found.entity.title }),
),
image,
},
state: {
numResources: found.entity.resourceList.length,
isPublished: found.entity.published,
},
access: {
canDelete: !!found.access.d,
canEdit: !!found.access.u,
canPublish: found.canPublish,
isCreator: found.isCreator,
},
}
return collectionRpc
}
function getRpcContributor(contributor: EntityInfo): CollectionContributorRpc {
return {
avatarUrl: contributor.iconUrl,
creatorProfileHref: {
url: contributor.homepagePath,
ext: false,
},
displayName: contributor.name,
// avatarUrl: contributor?.iconUrl ?? null,
// creatorProfileHref: {
// url: 'google.it',
// ext: true,
// },
// displayName: 'contributor.name',
}
}
, | [
1,
835,
8010,
29901,
1315,
1514,
13,
2277,
29937,
12953,
29901,
16963,
3450,
10854,
362,
23315,
363,
341,
2092,
280,
365,
4345,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
8318,
29914,
10855,
29914,
4351,
29914,
2974,
29914,
735,
4220,
29889,
29885,
1372,
13,
835,
10576,
29901,
5215,
426,
6473,
500,
515,
19283,
15903,
29889,
29885,
1315,
29915,
13,
13,
5215,
426,
390,
6739,
5709,
500,
515,
18803,
29885,
2092,
2435,
300,
29914,
3221,
29915,
13,
5215,
426,
2322,
2940,
17553,
7976,
3505,
29892,
679,
3609,
932,
5983,
500,
515,
18803,
29885,
2092,
2435,
300,
29914,
8423,
29899,
932,
29914,
2974,
29915,
13,
5215,
1134,
426,
13,
29871,
11028,
5292,
1907,
9182,
1542,
29892,
13,
29871,
319,
1519,
1440,
29892,
13,
29871,
14945,
3401,
29892,
13,
29913,
515,
18803,
29885,
2092,
2435,
300,
29914,
5205,
29899,
296,
1907,
29914,
2974,
29915,
13,
5215,
426,
13,
29871,
907,
1061,
2659,
3401,
29909,
1519,
6980,
29892,
13,
29871,
679,
7583,
2659,
3401,
29892,
13,
29871,
338,
7583,
2659,
9832,
1061,
2776,
7583,
6691,
29892,
13,
29913,
515,
18803,
29885,
2092,
2435,
300,
29914,
5205,
29899,
296,
1907,
29914,
2974,
29915,
13,
5215,
1134,
426,
14348,
1252,
4220,
1542,
500,
515,
525,
6995,
9435,
29914,
735,
4220,
29899,
1753,
29889,
29885,
1315,
29915,
13,
5215,
1134,
426,
14348,
1323,
1091,
3406,
29934,
6739,
29892,
14348,
29934,
6739,
500,
515,
525,
6995,
9435,
29914,
8768,
29889,
29885,
1315,
29915,
13,
5215,
426,
679,
7196,
11184,
5074,
12085,
2605,
500,
515,
525,
6995,
9435,
29914,
2676,
932,
29899,
27894,
29889,
29885,
1315,
29915,
13,
5215,
426,
508,
21076,
1674,
500,
515,
19283,
29874,
1519,
29889,
29885,
1315,
29915,
13,
5215,
426,
970,
10547,
500,
515,
19283,
2344,
29914,
5847,
29889,
29885,
1315,
29915,
13,
5215,
426,
13,
29871,
1653,
7196,
29892,
13,
29871,
628,
7196,
29892,
13,
29871,
679,
7196,
29892,
13,
29871,
679,
2940,
3403,
936,
3434,
3871,
29892,
13,
29871,
679,
3421,
19466,
29892,
13,
29871,
679,
7211,
800,
29892,
13,
29871,
13261,
7196,
29892,
13,
29871,
2740,
19466,
29892,
13,
29871,
731,
7196,
2940,
29892,
13,
29871,
731,
21076,
3726,
29892,
13,
29871,
2767,
7196,
3916,
29892,
13,
29913,
515,
19283,
9916,
29889,
29885,
1315,
29915,
13,
13,
5215,
426,
679,
2940,
26405,
3401,
29892,
679,
2940,
5983,
500,
515,
19283,
1982,
29889,
29885,
1315,
29915,
13,
5215,
1134,
426,
14348,
1469,
1542,
500,
515,
19283,
8768,
29889,
29885,
1315,
29915,
13,
13,
15843,
1040,
24396,
353,
7272,
6473,
29889,
735,
4220,
29966,
7196,
1252,
4220,
1542,
29958,
3319,
13,
29871,
364,
6739,
29901,
426,
13,
1678,
525,
2676,
932,
29914,
657,
29899,
2917,
29879,
2396,
426,
13,
418,
8372,
29901,
3861,
1149,
1780,
29871,
29900,
29892,
13,
418,
7465,
7876,
580,
426,
13,
4706,
1040,
426,
2295,
500,
353,
7272,
679,
7211,
800,
580,
13,
4706,
736,
426,
2854,
800,
29901,
2295,
500,
13,
418,
2981,
13,
1678,
2981,
13,
1678,
525,
2676,
932,
29914,
1357,
29899,
29027,
2396,
426,
13,
418,
8372,
29901,
3861,
1149,
1780,
29871,
29900,
29892,
13,
418,
7465,
7876,
580,
426,
13,
4706,
1040,
592
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
summary: CLONE - In a Wiki activity a file can be attached using file picker.
type: Functional Test
project: Moodle QA
description: Test Pre-requisites: - A Wiki activity. Test Steps: 1. Login as a teacher, access the wiki and click Create page and then navigate to the files tab. Click Edit wiki files. 2. Click Add and verify that the file picker is launched. 3. Select Upload a file, choose a file to upload and upload it. 4. Click Save changes and verify that the files have been uploaded. 5. Download the file to verify that the file link has been created properly. 6. Login as a Student and download the file, then verify that the file is correct.
comments: 1. Works fine. Just side note, if using Visible groups like I was, the student will have to match the group the file was posted for by the teacher, which in this case the teacher had upload for All participants. | [
1,
15837,
29901,
17332,
12413,
448,
512,
263,
3772,
29875,
6354,
263,
934,
508,
367,
10959,
773,
934,
5839,
261,
29889,
13,
1853,
29901,
6680,
284,
4321,
13,
4836,
29901,
341,
2092,
280,
660,
29909,
13,
8216,
29901,
4321,
4721,
29899,
276,
7680,
3246,
29901,
448,
319,
3772,
29875,
6354,
29889,
4321,
2443,
567,
29901,
29871,
29896,
29889,
19130,
408,
263,
15703,
29892,
2130,
278,
281,
10058,
322,
2828,
6204,
1813,
322,
769,
23624,
304,
278,
2066,
4434,
29889,
16297,
7641,
281,
10058,
2066,
29889,
29871,
29906,
29889,
16297,
3462,
322,
11539,
393,
278,
934,
5839,
261,
338,
15241,
29889,
29871,
29941,
29889,
7605,
5020,
1359,
263,
934,
29892,
6755,
263,
934,
304,
6441,
322,
6441,
372,
29889,
29871,
29946,
29889,
16297,
16913,
3620,
322,
11539,
393,
278,
2066,
505,
1063,
20373,
29889,
29871,
29945,
29889,
25553,
278,
934,
304,
11539,
393,
278,
934,
1544,
756,
1063,
2825,
6284,
29889,
29871,
29953,
29889,
19130,
408,
263,
15740,
322,
5142,
278,
934,
29892,
769,
11539,
393,
278,
934,
338,
1959,
29889,
13,
21032,
29901,
29871,
29896,
29889,
13976,
2691,
29889,
3387,
2625,
4443,
29892,
565,
773,
5741,
1821,
6471,
763,
306,
471,
29892,
278,
8368,
674,
505,
304,
1993,
278,
2318,
278,
934,
471,
8059,
363,
491,
278,
15703,
29892,
607,
297,
445,
1206,
278,
15703,
750,
6441,
363,
2178,
27138,
29889,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
### Project:phpdoc
### Description:Moodle API Documentation
### File:
### Path:./packages/component-library/public/manifest.json
### Content:{
"short_name": "MoodleNet",
"name": "MoodleNet",
"icons": [
{
"src": "google-touch-icon.png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "fullscreen",
"theme_color": "#f88012",
"background_color": "#ffffff"
}
, | [
1,
835,
8010,
29901,
1961,
1514,
13,
2277,
29937,
12953,
29901,
29924,
2092,
280,
3450,
10854,
362,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
8318,
29914,
9700,
29899,
5258,
29914,
3597,
29914,
29135,
29889,
3126,
13,
835,
10576,
26254,
13,
29871,
376,
12759,
29918,
978,
1115,
376,
29924,
2092,
280,
6779,
613,
13,
29871,
376,
978,
1115,
376,
29924,
2092,
280,
6779,
613,
13,
29871,
376,
27078,
1115,
518,
13,
1678,
426,
13,
418,
376,
4351,
1115,
376,
3608,
29899,
16747,
29899,
4144,
29889,
2732,
613,
13,
418,
376,
29879,
7093,
1115,
376,
29945,
29896,
29906,
29916,
29945,
29896,
29906,
29908,
13,
1678,
500,
13,
29871,
21251,
13,
29871,
376,
2962,
29918,
2271,
1115,
11393,
613,
13,
29871,
376,
4990,
1115,
376,
8159,
10525,
613,
13,
29871,
376,
18193,
29918,
2780,
1115,
12305,
29888,
29947,
29947,
29900,
29896,
29906,
613,
13,
29871,
376,
7042,
29918,
2780,
1115,
12305,
17156,
600,
29908,
13,
29913,
13,
29892,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
GROUNDHOG DAY OR CANDLEMAS?
By Doreen Neufeldt
The Christian Church has never made much fuss over “Groundhog Day”. Can the behaviour of a seldom seen furry animal actually tell us what the weather will be like for the next 6 weeks? Most of us forget the “prediction” within a week – or a day. Even secular newspapers don’t consistently mention it. Neither have the Mennonite churches of which I have been a part paid much attention to another, more meaningful, tradition that comes on the same day: Candlemas.
I’ve long known that the celebration of Christmas in the Christian Church did not end on December 26 (known in the past as the “second holiday”, followed in my home church by the “third holiday”, also worthy of a worship service). Following that, most of the churches in which I have worshipped have at least acknowledged Epiphany – or, as we said in German, “Heilige Drei Koenige”, roughly translated, “The Three Holy Kings”- which is, in fact, “The Twelfth Day of Christmas”. After that, decorations need to be taken down, and we focus on making it through a dark, rugged winter.
But wait, in some years we are reminded that Jesus was taken to the temple after 8 days to be circumcised and named. His parents further followed Jewish law in a more formal trip to the temple in Jerusalem - now only a reasonable travel distance away, if they are still in Bethlehem - for the purification of the parents, as well as to dedicate their first-born son to God. Again they are faithfully fulfilling Jewish law, which says, as Luke quotes from Exodus 34:19, “… every first born male shall be designated as holy to the Lord” (Luke 2:23). The correct timing for this journey was 40 days after the birth, which on our calendar happens to be February 2.
On this trip to the temple, three things were of great significance: first, the presentation of Jesus in the temple; in essence, God in human form, actually being present in the temple; second, the interaction with Simeon, who makes some deeply focused predictions regarding Jesus’ impact on this world; third, the interaction with Anna, who “began to speak about the child” to all she met. Both gave witness to the divinity of Jesus, and the fulfillment of prophecy. Aging Simeon, ready to die, now that he has seen the Babe, takes the child in his arms and praises God, saying, “…my eyes have seen your salvation, which you have prepared in the presence of all peoples, a light for revelation to the Gentiles, and for glory to your people Israel” (Luke 2:30 – 32).
Already early in the 4th century, the Christian Church took note of this historic event and the words of Simeon and Anna, to institute the Feast of Candlemas (or Candle-mass), a celebration of light and hope. “Candlemas,” says one writer, “is the day we realize that eternity can come into time, and touch us in the form of a tiny child … not as a transcendent overlord, but as a vulnerable pilgrim, coming in his love to walk the road of life alongside us.” Throughout the centuries this event has been celebrated in a variety of ways. It became the custom of the church to light one central candle and bring it to the altar to represent the Christ-light. There was then a prayer of blessing over all the candles in the church. In later years people came to church with their own candles, which were then blessed by the priest. In more recent years, the priest hands out candles already blessed, attempting to predict the length of time the cold and darkness of winter will yet persist, by the variations in lengths of the candles in different years. What is worth celebrating each year is that the days will become longer, and both light and warmth increase. Yes, the Light shines despite cold, dark winters!
Wiarton Willie (ON) and Balzac Billy (AB) – though I hear he is a fake - provide a fun diversion in the darkness of an often dreary season, though with little credence for an authentic prediction of the future. True, they do not shrink back from the light itself, but from the frightening shadow of themselves cast by the light. In most years they encourage us to wrap ourselves in our woolies and carry on.
Candlemas suggests ultimate hope, brought by a light that cannot be quenched, strengthening our courage in the face of whatever adversity we may encounter ahead of us. The light of Christ’s presence will go with us in all the challenges and joys of life in this world. Until this wintery date on our calendars, we can maintain the celebrative spirit by keeping decorations up and finishing frozen Christmas baking. Rereading Christmas cards and special e-mail messages from friends and relatives can help us continue to savour the conviction that God is still with us and will never leave us. No darkness can ever put out the Light. | [
1,
402,
1672,
18783,
8187,
29954,
21330,
29979,
6323,
315,
9468,
1307,
1529,
29903,
29973,
13,
2059,
360,
487,
264,
2448,
1137,
2495,
29873,
13,
1576,
6111,
6291,
756,
2360,
1754,
1568,
285,
1558,
975,
1346,
3338,
618,
29882,
468,
8373,
8643,
1815,
278,
10468,
310,
263,
269,
2495,
290,
3595,
3261,
719,
13019,
2869,
2649,
502,
825,
278,
14826,
674,
367,
763,
363,
278,
2446,
29871,
29953,
11405,
29973,
7849,
310,
502,
9566,
278,
1346,
11965,
2463,
30024,
2629,
263,
4723,
785,
470,
263,
2462,
29889,
7753,
5226,
1070,
14578,
21321,
1016,
30010,
29873,
5718,
2705,
3585,
372,
29889,
2448,
2121,
505,
278,
341,
2108,
265,
568,
26014,
310,
607,
306,
505,
1063,
263,
760,
12530,
1568,
8570,
304,
1790,
29892,
901,
6593,
1319,
29892,
11399,
393,
5304,
373,
278,
1021,
2462,
29901,
28433,
2409,
294,
29889,
13,
29902,
30010,
345,
1472,
2998,
393,
278,
10894,
362,
310,
17661,
297,
278,
6111,
6291,
1258,
451,
1095,
373,
5846,
29871,
29906,
29953,
313,
5203,
297,
278,
4940,
408,
278,
1346,
7496,
8753,
22394,
9363,
5643,
297,
590,
3271,
6586,
491,
278,
1346,
22585,
8753,
22394,
9363,
884,
24717,
310,
263,
26320,
2669,
467,
12206,
393,
29892,
1556,
310,
278,
26014,
297,
607,
306,
505,
6365,
845,
16242,
505,
472,
3203,
24084,
3192,
382,
1631,
561,
1384,
785,
470,
29892,
408,
591,
1497,
297,
5332,
29892,
1346,
3868,
309,
2231,
360,
5803,
8224,
264,
2231,
9363,
20928,
20512,
29892,
1346,
1576,
12753,
17733,
21701,
30024,
29899,
607,
338,
29892,
297,
2114,
29892,
1346,
1576,
8168,
761,
386,
8373,
310,
17661,
8643,
2860,
393,
29892,
10200,
800,
817,
304,
367,
4586,
1623,
29892,
322,
591,
8569,
373,
3907,
372,
1549,
263,
6501,
29892,
29833,
3192,
13851,
29889,
13,
6246,
4480,
29892,
297,
777,
2440,
591,
526,
1083,
513,
287,
393,
13825,
471,
4586,
304,
278,
17567,
1156,
29871,
29947,
3841,
304,
367,
9942,
29883,
3368,
322,
4257,
29889,
3600,
11825,
4340,
5643,
16728,
4307,
297,
263,
901,
11595,
17487,
304,
278,
17567,
297,
23204,
448,
1286,
871,
263,
15590,
9850,
5418,
3448,
29892,
565,
896,
526,
1603,
297,
23408,
280,
8008,
448,
363,
278,
3708,
2450,
310,
278,
11825,
29892,
408,
1532,
408,
304,
8856,
403,
1009,
937,
29899,
4939,
1487,
304,
4177,
29889,
11454,
896,
526,
10847,
3730,
6095,
5589,
292,
16728,
4307,
29892,
607,
4083,
29892,
408,
25556,
11839,
515,
1222,
397,
375,
29871,
29941,
29946,
29901,
29896,
29929,
29892,
1346,
30098,
1432,
937,
6345,
14263,
4091,
367,
25373,
408,
26630,
304,
278,
6171,
30024,
313,
24126,
446,
29871,
29906,
29901,
29906,
29941,
467,
450,
1959,
28750,
363,
445,
16342,
471,
29871,
29946,
29900,
3841,
1156,
278,
12060,
29892,
607,
373,
1749,
17684,
5930,
304,
367,
6339,
29871,
29906,
29889,
13,
2951,
445,
17487,
304,
278,
17567,
29892,
2211,
2712,
892,
310,
2107,
26002,
29901,
937,
29892,
278,
24329,
310,
13825,
297,
278,
17567,
29936,
297,
3686,
663,
29892,
4177,
297,
5199,
883,
29892,
2869,
1641,
2198,
297,
278,
17567,
29936,
1473,
29892,
278,
14881,
411,
317,
603,
265,
29892,
1058,
3732,
777,
24344,
21309,
27303,
11211,
13825,
30010,
10879,
373,
445
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
### Project:moodlenet
### Description:MoodleNet Project
### File:
### Path:./tests/lists_general.html
### Content:<!DOCTYPE html>
<html>
<head>
<title>List General Tests</title>
<link rel="stylesheet" href="http://code.jquery.com/qunit/qunit-git.css" type="text/css" />
<script src="http://code.jquery.com/qunit/qunit-git.js"></script>
<script src="qunit/connector.js"></script>
<script type="text/javascript" src="qunit/runner.js"></script>
<script type="text/javascript" src="js/utils.js"></script>
<script type="text/javascript" src="js/tiny_mce_loader.js"></script>
<script type="text/javascript" src="js/dsl/dsl.js"></script>
<script>
QUnit.config.reorder = false;
QUnit.config.autostart = false;
var ENTER = 0xA;
var TAB = 0x9;
var BACKSPACE = 0x8;
var ZERO_SIZED_NBSP = "\uFEFF";
var LEFT = 0x26;
module('Lists - General', {
autostart: false,
setup: function() {
window.queue = new dsl.Queue();
}
});
// Tests
asyncTest('Escape unordered list by pressing enter on last empty li', function() {
editor.setContent("");
editor.execCommand('InsertUnorderedList');
robot.type('a', false, function(){
robot.type(ENTER, false, function(){
robot.type(ENTER, false, function() {
var node = editor.selection.getNode();
var list = editor.dom.getParent(node, 'ol,ul');
equal(editor.dom.select('li').length, 1);
ok(list === null, "selection must be outside of list");
start();
}, editor.selection.getNode());
}, editor.selection.getNode());
}, editor.selection.getNode());
});
asyncTest('Escape ordered list by pressing enter on last empty li', function() {
editor.setContent("");
editor.execCommand('InsertOrderedList');
robot.type('a', false, function() {
robot.type(ENTER, false, function() {
robot.type(ENTER, false, function() {
var node = editor.selection.getNode();
var list = editor.dom.getParent(node, 'ol,ul');
equal(editor.dom.select('li').length, 1);
ok(list === null, "selection must be outside of list");
start();
}, editor.selection.getNode());
}, editor.selection.getNode());
}, editor.selection.getNode());
});
asyncTest('Escaping list and applying style only applies styles to new text', function() {
editor.setContent("<ul><li>abc</li><li>def</li><li></li></ul>");
setSelection("ul li:nth-child(3)", 0);
robot.type(ENTER, false, function() {
robot.type('a', false, function() {
editor.execCommand('FormatBlock', false, 'h1');
equal(editor.getContent(), "<ul><li>abc</li><li>def</li></ul><h1>a</h1>");
start();
}, editor.selection.getNode());
}, editor.selection.getNode());
});
asyncTest('Caret positioned correctly after outdenting on non-last empty li', function() {
editor.setContent("<ul><li>a</li><li id='a'></li><li id>b</li></ul>");
setSelection("#a", 0);
robot.type(TAB, true, function() {
var tagName = editor.selection.getNode().tagName;
equal('P', tagName);
start();
}, editor.selection.getNode());
});
asyncTest('Caret position correctly after pressing enter on li with text', function() {
editor.setContent("<ol><li>a<ol><li>b</li><li></li></ol></li></ol>");
setSelection('li ol li:nth-child(2)', 0);
robot.type(ENTER, false, function(){
var node = editor.selection.getNode();
equal(editor.getContent(), "<ol><li>a<ol><li>b</li></ol></li></ol>");
equal(node.parentNode.lastChild, node);
start();
}, editor.selection.getNode());
});
asyncTest('Caret positioned correctly after pressing enter multiple times to exit list', function() {
editor.focus();
editor.setContent("<ul><li>a</li><li>b</li></ul><p id='last'>some text</p>");
setSelection('ul li:nth-child(2)', 1);
robot.type(ENTER, false, function(){
robot.type(ENTER, false, function(){
robot.type(ENTER, false, function(){
var node = editor.dom.getParent(editor.selection.getNode(), editor.dom.isBlock);
equal(node.tagName, 'P');
equal(node.nextSibling.tagName, 'P');
equal(node.nextSibling.id, 'last');
start();
}, editor.selection.getNode());
}, editor.selection.getNode());
}, editor.selection.getNode());
});
asyncTest('Outdent on enter when setting is set', function() {
editor.settings.list_outdent_on_enter = true;
editor.setContent("<ol><li>a<ol><li>b</li><li></li></ol></li></ol>");
setSelection('li ol li:nth-child(2)', 0);
robot.type(ENTER, false, function(){
equal(editor.getContent(), "<ol><li>a<ol><li>b</li></ol></li><li></li></ol>");
start();
}, editor.selection.getNode());
});
asyncTest('Outdent in nested list on enter when setting is set', function() {
editor.settings.list_outdent_on_enter = true;
editor.setContent("<ol><li>a<ol><li>b</li><li></li></ol></li></ol>");
setSelection('li ol li:nth-child(2)', 0);
robot.type(ENTER, false, function() {
robot.type(ENTER, false, function() {
robot.type('a', false, function(){
equal(editor.getContent(), "<ol><li>a<ol><li>b</li></ol></li></ol><p>a</p>");
start();
}, editor.selection.getNode());
}, editor.selection.getNode());
}, editor.selection.getNode());
});
// Removed since the EnterKey.js logic seems to solve this
/*
function testNestedListHasZeroSizedNbsp() {
robot.type(ENTER, false, function() {
var ul = editor.dom.select('#u')[0];
var text = ul.parentNode.childNodes[0].nodeValue;
equal(text, ZERO_SIZED_NBSP);
start();
}, editor.selection.getNode());
}
asyncTest('Nested list has zero-sized nbsp in Gecko & IE8', function() {
if (!(tinymce.isGecko || tinymce.isIE8)) {
start();
ok(true, "Skupped");
} else {
editor.settings.list_outdent_on_enter = true;
editor.setContent("<ul><li>a<ul id='u'><li>b</li></ul></li></ul>");
setSelection('li', 1);
if (tinymce.isIE8) {
// IE8 places the caret on the nested list item so we press left to get to end of first list item
robot.type(LEFT, false, testNestedListHasZeroSizedNbsp, editor.selection.getNode());
} else {
testNestedListHasZeroSizedNbsp();
}
}
});
*/
asyncTest('Outdent from sublist using shift-tab keys', function() {
editor.setContent("<ul><li>a<ul><li>b</li></ul></li></ul>");
setSelection('li ul li', 0);
robot.type(TAB, true, function(){
equal(editor.getContent(), "<ul><li>a</li><li>b</li></ul>");
start();
}, editor.selection.getNode());
});
asyncTest('Caret positioned correctly after escaping list and applying formatting ', function() {
// Don't run this test on Firefox as there is a bug outdenting list items and this will fail the test.
// When we have outdented from a sub list item to the outmost level no marker is shown and we can't exit the list by
// pressing enter. Pressing enter correctly exists the list.
if (tinymce.isGecko) {
ok(true, "Skipped");
start();
} else {
editor.settings.list_outdent_on_enter = true;
editor.setContent("<ul><li>a<ul><li>b</li></ul></li></ul>");
setSelection('li ul li', 1);
robot.type(ENTER, false, function() {
robot.type(ENTER, false, function() {
robot.type(ENTER, false, function() {
editor.execCommand('FormatBlock', false, 'h1');
var node = editor.selection.getNode();
var list = editor.dom.getParent(node, 'ol,ul');
ok(list === null, "selection must be outside of list");
start();
}, editor.selection.getNode());
}, editor.selection.getNode());
}, editor.selection.getNode());
}
});
asyncTest('Deleting text-node from start of list', function() {
editor.setContent("<ul><li>a</li><li>b</li></ul>");
setSelection('li', 1);
robot.type(BACKSPACE, false, function() {
equal(editor.getContent(), "<ul><li></li><li>b</li></ul>");
start();
}, editor.selection.getNode());
});
asyncTest('Deleting bullet from start of list', function() {
editor.setContent("<ul><li>a</li><li>b</li></ul>");
setSelection('li', 0);
robot.type(BACKSPACE, false, function() {
equal(editor.getContent(), "<p>a</p><ul><li>b</li></ul>");
start();
}, editor.selection.getNode());
});
asyncTest('Deleting bullet from start of list outdents inner lists items', function() {
editor.setContent("<p>a</p><ul><li>b<ul><li>c</li><li>d</li></ul></li></ul>");
setSelection('li', 0);
robot.type(BACKSPACE, false, function() {
equal(editor.getContent(), "<p>a</p><p>b</p><ul><li>c</li><li>d</li></ul>");
start();
}, editor.selection.getNode());
});
asyncTest('Deleting empty li with nested list is deleted in Webkit', function(){
if (!tinymce.isWebKit) {
ok(true, "Skipped");
start();
} else {
editor.setContent("<ol id='a'><li>a</li><li id='b'>a<br /><ul><li>b</li><li>c</li></ul></li></ol>");
setSelection('#b', 0);
editor.focus();
robot.type(BACKSPACE, false, function() {
equal(editor.dom.select('ol ul li').length, 2);
var olLis = tinymce.grep(editor.dom.get('a').childNodes, function(n) {
return n.nodeName == 'LI'
});
equal(olLis.length, 1);
start();
}, editor.selection.getNode());
}
});
asyncTest('Creates new list item without surrounding element when caret at end of list item', function(){
function testCreateNewList(el) {
queue.add(function() {
var listItemContent = '<' + el + '>something</' + el + '>';
editor.setContent('<ul><li>' + listItemContent + '</li></ul>');
setSelection(el, 9);
editor.focus();
robot.type(ENTER, false, function() {
var rng = editor.selection.getRng(true);
var li = editor.dom.getParent(editor.selection.getStart(), 'li');
equal(editor.getContent(), '<ul><li>' + listItemContent + '</li><li></li></ul>');
queue.next();
});
});
}
var queue = new dsl.Queue();
tinymce.map('h1,h2,h3,h4,h5,h6,p,div'.split(','), testCreateNewList);
queue.done();
});
asyncTest('Select the entire document, and apply and remove ordered list', function() {
editor.setContent("<p>a</p><p>b</p>");
editor.focus();
robot.typeAsShortcut('a', function() {
editor.execCommand('InsertOrderedList');
editor.execCommand('InsertOrderedList');
equal(editor.getContent(), "<p>a</p><p>b</p>");
start();
});
});
asyncTest('Select the entire document, and apply and remove unordered list', function() {
editor.setContent("<p>a</p><p>b</p>");
editor.focus();
robot.typeAsShortcut('a', function() {
editor.execCommand('InsertUnorderedList');
editor.execCommand('InsertUnorderedList');
equal(editor.getContent(), "<p>a</p><p>b</p>");
start();
});
});
var initTinyFunction = function(){
tinyMCE.init({
mode : "exact",
elements : "elm1",
theme : "advanced",
cleanup: true,
// Turn this off because we want the list actions to create the right DOM structure from the start.
fix_list_elements: false,
plugins : 'lists',
add_unload_trigger : false,
apply_source_formatting : 0,
init_instance_callback : function(ed) {
editor = ed;
ed.onNodeChange.addToTop(function() {
return false;
});
}
});
}
</script>
</head>
<body>
<h1 id="qunit-header">List General Tests</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<div id="content">
<textarea id="elm1" name="elm1"></textarea>
</div>
<script type="text/javascript" language="JavaScript" src="jsrobot/robot.js"></script>
<script>
initWhenTinyAndRobotAreReady(initTinyFunction);
</script>
</body>
</html>
, | [
1,
835,
8010,
29901,
29885,
2092,
2435,
300,
13,
2277,
29937,
12953,
29901,
29924,
2092,
280,
6779,
8010,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
21150,
29914,
21513,
29918,
17492,
29889,
1420,
13,
835,
10576,
29901,
29966,
29991,
21300,
3472,
29958,
13,
29966,
1420,
29958,
13,
29966,
2813,
29958,
13,
29966,
3257,
29958,
1293,
4593,
4321,
29879,
829,
3257,
29958,
13,
29966,
2324,
1104,
543,
13558,
29908,
2822,
543,
1124,
597,
401,
29889,
5880,
29889,
510,
29914,
339,
26129,
29914,
339,
26129,
29899,
5559,
29889,
4268,
29908,
1134,
543,
726,
29914,
4268,
29908,
2900,
13,
29966,
2154,
4765,
543,
1124,
597,
401,
29889,
5880,
29889,
510,
29914,
339,
26129,
29914,
339,
26129,
29899,
5559,
29889,
1315,
5319,
2154,
29958,
13,
29966,
2154,
4765,
543,
339,
26129,
29914,
11958,
2801,
29889,
1315,
5319,
2154,
29958,
13,
29966,
2154,
1134,
543,
726,
29914,
7729,
29908,
4765,
543,
339,
26129,
29914,
27492,
29889,
1315,
5319,
2154,
29958,
13,
29966,
2154,
1134,
543,
726,
29914,
7729,
29908,
4765,
543,
1315,
29914,
13239,
29889,
1315,
5319,
2154,
29958,
13,
29966,
2154,
1134,
543,
726,
29914,
7729,
29908,
4765,
543,
1315,
29914,
25649,
29918,
29885,
346,
29918,
12657,
29889,
1315,
5319,
2154,
29958,
13,
29966,
2154,
1134,
543,
726,
29914,
7729,
29908,
4765,
543,
1315,
29914,
29881,
2536,
29914,
29881,
2536,
29889,
1315,
5319,
2154,
29958,
13,
29966,
2154,
29958,
13,
29984,
8325,
29889,
2917,
29889,
276,
2098,
353,
2089,
29936,
13,
29984,
8325,
29889,
2917,
29889,
1300,
520,
442,
353,
2089,
29936,
13,
13,
1707,
12524,
4945,
353,
29871,
29900,
29916,
29909,
29936,
13,
1707,
323,
2882,
353,
29871,
29900,
29916,
29929,
29936,
13,
1707,
350,
11375,
5550,
11538,
353,
29871,
29900,
29916,
29947,
29936,
13,
1707,
796,
1001,
29949,
29918,
5425,
29999,
3352,
29918,
23189,
5550,
353,
6634,
29884,
16359,
4198,
1769,
13,
1707,
19246,
353,
29871,
29900,
29916,
29906,
29953,
29936,
13,
13,
5453,
877,
1293,
29879,
448,
4593,
742,
426,
13,
12,
1300,
520,
442,
29901,
2089,
29892,
13,
12,
14669,
29901,
740,
580,
426,
13,
12,
12,
7165,
29889,
9990,
353,
716,
270,
2536,
29889,
10620,
890,
13,
12,
29913,
13,
3680,
13,
13,
458,
4321,
29879,
13,
12674,
3057,
877,
14190,
5738,
443,
21693,
1051,
491,
24795,
3896,
373,
1833,
4069,
619,
742,
740,
580,
426,
13,
12,
15204,
29889,
842,
3916,
703,
1496,
13,
12,
15204,
29889,
4258,
6255,
877,
17491,
2525,
21693,
1293,
2157,
13,
12,
307,
7451,
29889,
1853,
877,
29874,
742,
2089,
29892,
740,
4923,
13,
12,
12,
307,
7451,
29889,
1853,
29898,
3919,
1001,
29892,
2089,
29892,
740,
4923,
13,
12,
12,
12,
307,
7451,
29889,
1853,
29898,
3919,
1001,
29892,
2089,
29892,
740,
580,
426,
13,
12,
12,
12,
12,
1707,
2943,
353,
6920,
29889,
21731,
29889,
657,
4247,
890,
13,
12,
12,
12,
12,
1707,
1051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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
Security keys - MoodleDocs Forums Documentation Downloads Demo Tracker Development Translation Search Search Moodle Sites What are you looking for? Learn about Moodles products, like Moodle LMS or Moodle Worplace, or find a Moodle Certified Service Provider. Moodle.com Our social network to share and curate open educational resources. MoodleNet Courses and programs to develop your skills as a Moodle educator, administrator, designer or developer. Moodle Academy Moodle.com Learn about Moodles products, like Moodle LMS or Moodle Worplace, or find a Moodle Certified Service Provider. MoodleNet Our social network to share and curate open educational resources. Moodle Academy Courses and programs to develop your skills as a Moodle educator, administrator, designer or developer. Documentation Menu Main pageTable of contentsDocs overviewRecent changes Log in 4.0 docs4.2 docs 4.1 docs 3.11 docs 3.9 docs Article Page Comments View source History Note: You are currently viewing documentation for Moodle 4.0. Up-to-date documentation for the latest stable version of Moodle may be available here: Security keys. Security keys From MoodleDocsJump to:navigation, search Main page Managing a Moodle site More features RSS feeds Security keys RSS feeds RSS feeds settings Using RSS feeds RSS feeds FAQ A security key or token enables other systems to access Moodle securely. A security key may be used for secure RSS feeds or web services. A user can obtain a security key via the Preferences link of the user menu top right and then entering the key in an external application accessing Moodle. Note: In order for this to be accessible the user needs the moodle/webservice:createtoken capability. The easiest way to do this is to allow the capability for the Authenticated User role. This does not allow the user to use web services, only to create a token. At any time, a user can reset their key by clicking the reset link. A new different key is automatically generate which will then need to be entered in the external application. Note: The security keys page can not generate web service keys/tokens for admins. Admins can create a token manually from the administration block: Site administration > Server > Web services > Manage tokens. Secure RSS feeds Secure RSS feeds are a way you can read forum posts, blog entries, etc while you are offline, and without having to log in. For example, if you want to read the posts in a forum, you usually need to log in to Moodle. But if your site administrator has enabled RSS, these posts are available as a feed you can subscribe to with a feed reader, and you can read entries even when you dont have access to the Internet. Secure RSS feeds allow your feed reader, which usually expects feeds to be publicly available, to download material from Moodle without having to log in. Whenever you are viewing an activity that provides an RSS feed, look in the Administration block for a link labelled "RSS feed of posts". This link is unique to your Moodle account. Paste it into your feed reader to have it obtain new entries for you automatically. If you ever think your RSS feed token has been compromised in some way, e.g. you have lost a mobile phone that subscribed to a news forum, you can request a new one by clicking the Reset link on the Security Keys page from the Preferences link in your user menu. This will disable the old feed token and generate a new one. You can then visit the activities you wish to subscribe to and copy the URL, which will contain your new security key. Retrieved from " Categories: RSSWeb Services Tools What links here Related changes Special pages Printable version Permanent link Page information In other languages Espa ol Deutsch Fran ais This page was last edited on 26 August 2022, at 10:46. Content is available under GNU General Public License unless otherwise noted. Privacy About Moodle Docs Disclaimers | [
1,
14223,
6611,
448,
341,
2092,
280,
29928,
12332,
1152,
6762,
10854,
362,
9943,
18132,
27819,
3201,
4937,
14650,
4103,
18411,
11856,
11856,
341,
2092,
280,
317,
3246,
1724,
526,
366,
3063,
363,
29973,
19530,
29876,
1048,
341,
2092,
793,
9316,
29892,
763,
341,
2092,
280,
365,
4345,
470,
341,
2092,
280,
19662,
6689,
29892,
470,
1284,
263,
341,
2092,
280,
18410,
2164,
6692,
1019,
5489,
29889,
341,
2092,
280,
29889,
510,
8680,
5264,
3564,
304,
6232,
322,
3151,
403,
1722,
28976,
7788,
29889,
341,
2092,
280,
6779,
315,
29781,
322,
11104,
304,
2693,
596,
25078,
408,
263,
341,
2092,
280,
6320,
1061,
29892,
27443,
29892,
23383,
470,
13897,
29889,
341,
2092,
280,
10355,
341,
2092,
280,
29889,
510,
19530,
29876,
1048,
341,
2092,
793,
9316,
29892,
763,
341,
2092,
280,
365,
4345,
470,
341,
2092,
280,
19662,
6689,
29892,
470,
1284,
263,
341,
2092,
280,
18410,
2164,
6692,
1019,
5489,
29889,
341,
2092,
280,
6779,
8680,
5264,
3564,
304,
6232,
322,
3151,
403,
1722,
28976,
7788,
29889,
341,
2092,
280,
10355,
315,
29781,
322,
11104,
304,
2693,
596,
25078,
408,
263,
341,
2092,
280,
6320,
1061,
29892,
27443,
29892,
23383,
470,
13897,
29889,
10854,
362,
20019,
4241,
1813,
3562,
310,
8118,
29928,
12332,
975,
1493,
4789,
296,
3620,
4522,
297,
29871,
29946,
29889,
29900,
10561,
29946,
29889,
29906,
10561,
29871,
29946,
29889,
29896,
10561,
29871,
29941,
29889,
29896,
29896,
10561,
29871,
29941,
29889,
29929,
10561,
21746,
9305,
461,
29879,
4533,
2752,
5298,
3940,
29901,
887,
526,
5279,
1776,
292,
5106,
363,
341,
2092,
280,
29871,
29946,
29889,
29900,
29889,
5020,
29899,
517,
29899,
1256,
5106,
363,
278,
9281,
13714,
1873,
310,
341,
2092,
280,
1122,
367,
3625,
1244,
29901,
14223,
6611,
29889,
14223,
6611,
3645,
341,
2092,
280,
29928,
12332,
29967,
3427,
304,
29901,
15466,
29892,
2740,
4241,
1813,
259,
2315,
6751,
263,
341,
2092,
280,
3268,
259,
5853,
5680,
259,
390,
1799,
1238,
5779,
259,
14223,
6611,
390,
1799,
1238,
5779,
390,
1799,
1238,
5779,
6055,
5293,
390,
1799,
1238,
5779,
390,
1799,
1238,
5779,
13515,
29984,
319,
6993,
1820,
470,
5993,
28936,
916,
6757,
304,
2130,
341,
2092,
280,
11592,
368,
29889,
319,
6993,
1820,
1122,
367,
1304,
363,
11592,
390,
1799,
1238,
5779,
470,
1856,
5786,
29889,
319,
1404,
508,
4017,
263,
6993,
1820,
3025,
278,
4721,
10662,
1544,
310,
278,
1404,
6143,
2246,
1492,
322,
769,
18055,
278,
1820,
297,
385,
7029,
2280,
17378,
341,
2092,
280,
29889,
3940,
29901,
512,
1797,
363,
445,
304,
367,
15579,
278,
1404,
4225,
278,
286,
2092,
280,
29914,
2676,
5509,
29901,
1037,
271,
300,
4476,
2117,
3097,
29889,
450,
19075,
982,
304,
437,
445,
338,
304,
2758,
278,
2117,
3097,
363,
278,
13189,
4173,
630,
4911,
6297,
29889,
910,
947,
451,
2758,
278,
1404,
304,
671,
1856,
5786,
29892,
871,
304,
1653,
263,
5993,
29889,
2180,
738,
931,
29892,
263,
1404,
508,
10092,
1009,
1820,
491,
14855,
278,
10092,
1544,
29889,
319,
716,
1422,
1820,
338,
6336,
5706,
607,
674,
769,
817,
304,
367,
7802,
297,
278,
7029,
2280,
29889,
3940,
29901,
450,
6993,
6611,
1813,
508,
451,
5706,
1856
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
HERE BE DRAGONS : Rachel Hamilton
The Kidlit Interview Series
Children's fiction encompasses some of the most imaginative, well-written books out there, so every Tuesday I shine a spotlight on it by interviewing a different middle-grade author. Come back regularly to find super-talented writers answering crucial questions like who they'd want riding alongside come the zombie apocalypse...
This week am delighted to introduce the very funny Rachel Hamilton, whom I'm lucky enough to count as one of my critique partners. Rachel graduated from both Oxford *and* Cambridge Universities (so I know who to plump for if I ever have to phone a friend) and has put her education to good use working in an ad agency, a comprehensive school, a building site and a men's prison.
In her wonderfully-titled debut, The Case of the Exploding Loo, out now, quirky twelve-year-old Noelle (Know-All) Hawkins may be one of the brightest girls in her class, but even she can't explain how her dad, wacky scientist Big Brain Brian, spontaneously combusted while sitting in a portaloo. He was on the point of a giant breakthrough with his top secret Brain Ray machine when he vanished - could this have had something to do with his disappearance? Know-All is sure all is not as it seems and with the help of her sister Holly she is determined to find out what really happened to her dad.
1) Uh oh, it’s the zombie apocalypse. Which author (living or dead) do you want riding shotgun?
Charlie Higson. He must have done a bit of zombie-related research for his books so he’ll know how to handle himself. Plus, he makes me laugh and it’ll be important to keep our spirits up now our brains are in danger of being nibbled on by zombies at any minute.
2) Look, I got a time machine on eBay! Where do you want to go? (Said time machine may possibly malfunction and leave you there. Possibly. It was *very* cheap.)
Glastonbury Music Festival, 1998. The year the poo-gulping-machine operator accidentally pressed ‘blow’ instead of ‘suck’ inside the dance tent. My friends were there, and it was their tales of poo fountains and airborne portaloo-contents that inspired ‘The Case of the Exploding Loo’. I’d like to see the poo-fest in real life (From OUTSIDE the dance tent. With a peg on my nose). Plus I wouldn’t say no to getting stuck in Glastonbury 1998 with Faithless, Primal Scream and Bob Dylan.
3) What's your favourite thing about writing for kids?
My favourite thing about writing for kids is that, ironically, it’s writing for me. My favourite books are all either kids’ books (Roald Dahl’s The Witches, Philip Pullman’s His Dark Materials and everything Diana Wynne Jones ever wrote) or big kids’ books (William Goldman’s The Princess Bride Ian M Banks’s The Player of Games and everything Neil Gaiman ever wrote). So, as a children's author, I get to write and plot the kinds of stories that make me laugh out loud and light up the metaphorical lightbulbs above my head.
4) A witch has cast a spell on you (sorry about that) and you’ve woken up as a character in a children’s book – what’s your special talent or power?
Can I have a special talent for storytelling, like Scheherazade from One Thousand and One Nights or Lyra Belaqua from Philip Pullman’s ‘His Dark Materials’? I don’t think I’d want any other superpowers. As a wise half-man, half-spider once said, ‘with great power comes great responsibility’ and I’m not very good at responsibility. Besides, it would be time-consuming having to save the world all the time. How often do you see Batman chilling on the sofa with a good book?
5) What’s the scariest or strangest thing you’ve ever done?
I once took my daughter to a Justin Beiber concert.
I also once had a job working in a men’s prison. I left when they asked if I wanted to go on a training course called ‘What to do when taken hostage.’ That sounds like a joke – it isn’t!
6) What’s something you wish you’d known about writing when you started out?
I wish I’d know how much more fun I’d have writing for kids back when I was trying to write for adults. I’ve always had a silly sense of humour and a lopsided view of the world. The minute I began writing as a geeky twelve year-old narrator, the words just flowed. Now, instead of staring at my keyboard in despair, I giggle as nonsense pours out of my brain.
Hmmm... I still don’t really know anything about publishing! One thing I have discovered is how utterly lovely book folk are – agents, editors, illustrators, authors and publishing people in general. All squidgy and delicious, like home-made cookies.
7) What would your daemon be?
A walrus. A fat, happy creature whose main purpose in life is to burp and lie in the sun all day – what’s not to love? Those tusks! That ‘tache! They’re wise too – check out Lewis Carroll’s poem, ‘The Walrus and The Carpenter’ – “The time has come, the walrus said, to talk of many things...”
When I was younger, other kids used to ask their parents for a puppy or a kitten. Me, I always wanted a baby walrus. That’s why, when I set up a book blogging site with my sister, it was always going to be called ‘Book Walrus’.
8) My books don’t have dragons (or walruses), but they do have... exploding toilets, smoking shoes, malevolent maths teachers and malfunctioning brain rays.
You make a good point about it being time-consuming saving the world :) *puts feet up* You can find out more about Rachel and her books on her website, Facebook page and Goodreads page, and you can chat with her on Twitter.
Come back next Tuesday for the Here Be Dragons interview with Joe Craig, author of the Jimmy Coates series! | [
1,
379,
27267,
20700,
360,
4717,
29954,
1164,
29903,
584,
23647,
295,
12372,
13,
1576,
27912,
19411,
4124,
1493,
10488,
13,
19334,
29915,
29879,
24159,
427,
2388,
465,
267,
777,
310,
278,
1556,
6382,
262,
1230,
29892,
1532,
29899,
17625,
8277,
714,
727,
29892,
577,
1432,
323,
1041,
3250,
306,
528,
457,
263,
9758,
4366,
373,
372,
491,
15593,
292,
263,
1422,
7256,
29899,
8228,
4148,
29889,
16760,
1250,
25704,
304,
1284,
2428,
29899,
20411,
14927,
23550,
22862,
7618,
1455,
5155,
763,
1058,
896,
29915,
29881,
864,
364,
4821,
19963,
2041,
278,
503,
3424,
347,
3095,
18642,
1478,
344,
856,
13,
4013,
4723,
626,
15319,
287,
304,
14944,
278,
1407,
2090,
1460,
23647,
295,
12372,
29892,
6029,
306,
29915,
29885,
9885,
29891,
3307,
304,
2302,
408,
697,
310,
590,
29709,
22056,
29889,
23647,
295,
23588,
515,
1716,
11045,
334,
392,
29930,
12585,
2116,
1907,
313,
578,
306,
1073,
1058,
304,
715,
3427,
363,
565,
306,
3926,
505,
304,
9008,
263,
5121,
29897,
322,
756,
1925,
902,
9793,
304,
1781,
671,
1985,
297,
385,
594,
946,
3819,
29892,
263,
15171,
6270,
3762,
29892,
263,
5214,
3268,
322,
263,
1757,
29915,
29879,
8475,
29889,
13,
797,
902,
4997,
3730,
29899,
29873,
17707,
9512,
29892,
450,
11733,
310,
278,
1222,
572,
3689,
365,
3634,
29892,
714,
1286,
29892,
439,
381,
3459,
17680,
29899,
6360,
29899,
1025,
1939,
1808,
313,
29968,
3707,
29899,
3596,
29897,
10875,
11335,
1122,
367,
697,
310,
278,
11785,
342,
14000,
297,
902,
770,
29892,
541,
1584,
1183,
508,
29915,
29873,
5649,
920,
902,
270,
328,
29892,
281,
547,
29891,
9638,
391,
7997,
5032,
262,
15733,
29892,
805,
609,
1662,
5794,
4145,
16656,
1550,
16246,
297,
263,
25792,
3634,
29889,
940,
471,
373,
278,
1298,
310,
263,
28396,
2867,
20678,
411,
670,
2246,
7035,
5032,
262,
9596,
4933,
746,
540,
1109,
3276,
448,
1033,
445,
505,
750,
1554,
304,
437,
411,
670,
8796,
21711,
29973,
19320,
29899,
3596,
338,
1854,
599,
338,
451,
408,
372,
2444,
322,
411,
278,
1371,
310,
902,
9883,
4168,
368,
1183,
338,
10087,
304,
1284,
714,
825,
2289,
9559,
304,
902,
270,
328,
29889,
13,
29896,
29897,
501,
29882,
9360,
29892,
372,
30010,
29879,
278,
503,
3424,
347,
3095,
18642,
1478,
344,
29889,
8449,
4148,
313,
29880,
4357,
470,
7123,
29897,
437,
366,
864,
364,
4821,
10322,
28798,
29973,
13,
5914,
3197,
379,
335,
1100,
29889,
940,
1818,
505,
2309,
263,
2586,
310,
503,
3424,
347,
29899,
12817,
5925,
363,
670,
8277,
577,
540,
30010,
645,
1073,
920,
304,
4386,
3654,
29889,
15113,
29892,
540,
3732,
592,
10569,
322,
372,
30010,
645,
367,
4100,
304,
3013,
1749,
26829,
701,
1286,
1749,
4105,
1144,
526,
297,
9703,
310,
1641,
302,
747,
27225,
373,
491,
503,
3424,
583,
472,
738,
11015,
29889,
13,
29906,
29897,
7419,
29892,
306,
2355,
263,
931,
4933,
373,
321,
29933,
388,
29991,
6804,
437,
366,
864,
304,
748,
29973,
313,
17618,
333,
931,
4933,
1122,
10075,
4439,
2220,
322,
5967,
366,
727,
29889,
29863,
14981,
29889,
739,
471,
334,
1201,
29930,
28773,
1846,
13,
29954,
4230,
265,
11059,
6125,
8518,
29892,
29871,
29896,
29929
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
Creating mobile-friendly courses - MoodleDocs Forums Documentation Downloads Demo Tracker Development Translation Search Search Moodle Sites What are you looking for? Learn about Moodles products, like Moodle LMS or Moodle Worplace, or find a Moodle Certified Service Provider. Moodle.com Our social network to share and curate open educational resources. MoodleNet Courses and programs to develop your skills as a Moodle educator, administrator, designer or developer. Moodle Academy Moodle.com Learn about Moodles products, like Moodle LMS or Moodle Worplace, or find a Moodle Certified Service Provider. MoodleNet Our social network to share and curate open educational resources. Moodle Academy Courses and programs to develop your skills as a Moodle educator, administrator, designer or developer. Documentation Menu NavigationMain pageTable of contentsRecent changesDocs overviewTOOLBOXSEARCH Log in 3.7 docs3.10 docs 3.9 docs 3.8 docs 3.5 docs Article Page Comments View source History Note: You are currently viewing documentation for Moodle 3.7. Up-to-date documentation for the latest stable version of Moodle may be available here: Creating mobile-friendly courses. Creating mobile-friendly courses From MoodleDocsJump to:navigation, search Main page Managing a Moodle site Moodle app Creating mobile-friendly courses Moodle app Moodle app features New for mobile Moodle app guide for admins Moodle app notifications Creating mobile-friendly courses Moodle Desktop Moodle app FAQ As more and more students access courses from their smartphones, tablets or other mobile devices, it is increasingly important to ensure your courses are mobile-friendly. Encouraging students to install the official Moodle mobile app is one way to improve their learning experience. Below are some suggestions for optimising your course materials for students both using the app and accessing Moodle from mobile devices. Contents 1 Setting up your course 2 Course content 2.1 Media download for offline usage 2.2 Offline activities 2.3 Things to avoid 3 Use the latest stable version of Moodle 4 Notifications and messages 5 Mobile device considerations 6 Links to open the Moodle app 7 Learn more Setting up your course Topics or weekly course format is best suited to mobile devices. In topics format, the first section or the highlighted section is shown by default in the app. In weekly format, the current week is shown. Dont use orphaned activities or direct links to activities (the links will work but is not the best experience for mobile). Site or course blocks are not displayed in the Mobile app, so avoid putting important information in blocks. If you have a mix of students accessing the course on mobile and desktop, consider asking your admin to install the Moodle Mobile availability plugin which restricts items to desktop or mobile users. Course content Use responsive HTML in pages. Use a page resource or Book instead of downloadable documents where possible. Avoid uploading many documents or having numerous, text heavy pages. Think more in terms of short "information-bytes". If you include YouTube videos, keep them short and consider providing them for download and offline viewing in a folder. Not all video formats are supported so add them in different formats. (MP4 is probably the most widely accepted format.) For YouTube or Vimeo videos, you may use Bootstrap responsive classes: for example: <video... Note that drag and drop questions behave differently in the app. You cant drag images, you need to tap to select and tap to drop. Note that if you add YouTube video links or map links as URL resources, they will open automatically in the app. Short text for label Responsive HTML Map link Use only plugins with mobile app support so they can be accessed via the mobile app - see Moodle plugins directory: Award: mobile app support. If you want to include large audio files in your course, consider including them embedded in a label or page rather than as a file resource. The reason is that embedded files will play even if the screen is locked but files wont play with the screen locked. Media download for offline usage To enable media files, such as video, to be downloaded The file must be uploaded to the course, rather than being linked to (from YouTube, Vimeo etc) The file must be small - less than 2MB for 3G users or less than 20MB for WiFi users When a page containing the video is viewed (without playing the video), the file will then be downloaded. When using Moodle Mobile 3.1 or later with a WiFi connection, when the video is played, the file will be downloaded in the background. The next time the video is played, the downloaded file will be used. Offline activities All the supported activities work offline, although some require specific settings like the quiz module. See Moodle Mobile quiz offline attempts for more information. Things to avoid Some activities are not yet fully supported by the mobile app, so find alternatives. See Moodle Mobile SCORM player for things to avoid in SCORM packages. You can find the list of activities supported by the app in the Moodle Mobile features page. Use the latest stable version of Moodle As indicated in Moodle Mobile features some features are only available in recent Moodle versions. It is recommended to use the latest stable version or, if is not possible to upgrade your site, install the Moodle Mobile additional features plugin. Notifications and messages Encourage your students to enable mobile notifications so they are alerted about calendar events, forum posts, messages, assignment submissions and so on. Find out more in Mobile app notifications. You can also enable mobile notifications for all the users by default via the Messaging settings default message outputs. Students can disable Mobile notifications within the app. Mobile device considerations The app works better on devices running Android 4.4 onwards iOs 6 onwards In old devices you may find problems related to: User interface Connection problems (specifically when connecting to sites using certificates) Slowness The first version of the app was supported in Windows Phone and Windows 7. This version is not supported any more and it was withdrawn from the Windows Store. Its usage is not advised. Links to open the Moodle app If required, links which open the Moodle app may be provided in the course (for users browsing the site using a mobile device with the app installed). Links are of the form moodlemobile:// Please notice that this kind of links are only supported in Moodle app 3.7.0 onwards. If your app has an older version youll have to use the old format: moodlemobile://link= For more information about this, please read Open the Moodle app from another app. Learn more Tips for creating Moodle Mobile friendly courses and sites - MoodleMoot Spain 2014 - Juan Leyva, Mobile app developer, presented this in 2014. While some features have now been updated, the general principles are still useful. Forum post: Try the Moodle Mobile app with a mobile-friendly course. How to make third party question types work in Mobile documentation for developers Retrieved from " Category: Mobile Tools What links here Related changes Special pages Printable version Permanent link Page information In other languages Deutsch Espa ol Fran ais This page was last edited on 11 June 2019, at 14:32. Content is available under GNU General Public License unless otherwise noted. Privacy About Moodle Docs Disclaimers | [
1,
26221,
10426,
29899,
18326,
368,
21888,
448,
341,
2092,
280,
29928,
12332,
1152,
6762,
10854,
362,
9943,
18132,
27819,
3201,
4937,
14650,
4103,
18411,
11856,
11856,
341,
2092,
280,
317,
3246,
1724,
526,
366,
3063,
363,
29973,
19530,
29876,
1048,
341,
2092,
793,
9316,
29892,
763,
341,
2092,
280,
365,
4345,
470,
341,
2092,
280,
19662,
6689,
29892,
470,
1284,
263,
341,
2092,
280,
18410,
2164,
6692,
1019,
5489,
29889,
341,
2092,
280,
29889,
510,
8680,
5264,
3564,
304,
6232,
322,
3151,
403,
1722,
28976,
7788,
29889,
341,
2092,
280,
6779,
315,
29781,
322,
11104,
304,
2693,
596,
25078,
408,
263,
341,
2092,
280,
6320,
1061,
29892,
27443,
29892,
23383,
470,
13897,
29889,
341,
2092,
280,
10355,
341,
2092,
280,
29889,
510,
19530,
29876,
1048,
341,
2092,
793,
9316,
29892,
763,
341,
2092,
280,
365,
4345,
470,
341,
2092,
280,
19662,
6689,
29892,
470,
1284,
263,
341,
2092,
280,
18410,
2164,
6692,
1019,
5489,
29889,
341,
2092,
280,
6779,
8680,
5264,
3564,
304,
6232,
322,
3151,
403,
1722,
28976,
7788,
29889,
341,
2092,
280,
10355,
315,
29781,
322,
11104,
304,
2693,
596,
25078,
408,
263,
341,
2092,
280,
6320,
1061,
29892,
27443,
29892,
23383,
470,
13897,
29889,
10854,
362,
20019,
23001,
6330,
1813,
3562,
310,
8118,
4789,
296,
3620,
29928,
12332,
975,
1493,
4986,
5607,
8456,
29990,
1660,
1718,
3210,
4522,
297,
29871,
29941,
29889,
29955,
10561,
29941,
29889,
29896,
29900,
10561,
29871,
29941,
29889,
29929,
10561,
29871,
29941,
29889,
29947,
10561,
29871,
29941,
29889,
29945,
10561,
21746,
9305,
461,
29879,
4533,
2752,
5298,
3940,
29901,
887,
526,
5279,
1776,
292,
5106,
363,
341,
2092,
280,
29871,
29941,
29889,
29955,
29889,
5020,
29899,
517,
29899,
1256,
5106,
363,
278,
9281,
13714,
1873,
310,
341,
2092,
280,
1122,
367,
3625,
1244,
29901,
26221,
10426,
29899,
18326,
368,
21888,
29889,
26221,
10426,
29899,
18326,
368,
21888,
3645,
341,
2092,
280,
29928,
12332,
29967,
3427,
304,
29901,
15466,
29892,
2740,
4241,
1813,
259,
2315,
6751,
263,
341,
2092,
280,
3268,
259,
341,
2092,
280,
623,
259,
26221,
10426,
29899,
18326,
368,
21888,
341,
2092,
280,
623,
341,
2092,
280,
623,
5680,
1570,
363,
10426,
341,
2092,
280,
623,
10754,
363,
7336,
1144,
341,
2092,
280,
623,
25913,
26221,
10426,
29899,
18326,
368,
21888,
341,
2092,
280,
2726,
6883,
341,
2092,
280,
623,
13515,
29984,
1094,
901,
322,
901,
8041,
2130,
21888,
515,
1009,
15040,
561,
2873,
29892,
1591,
1372,
470,
916,
10426,
9224,
29892,
372,
338,
10231,
368,
4100,
304,
9801,
596,
21888,
526,
10426,
29899,
18326,
368,
29889,
11346,
283,
1431,
292,
8041,
304,
2601,
278,
6221,
341,
2092,
280,
10426,
623,
338,
697,
982,
304,
11157,
1009,
6509,
7271,
29889,
13866,
526,
777,
10529,
363,
5994,
5921,
596,
3236,
17279,
363,
8041,
1716,
773,
278,
623,
322,
17378,
341,
2092,
280,
515,
10426,
9224,
29889,
2866,
1237,
29871,
29896,
21605,
701,
596,
3236,
29871,
29906,
6325,
344,
2793,
29871,
29906,
29889,
29896,
8213,
5142,
363,
1283,
1220,
8744,
29871,
29906,
29889,
29906,
5947,
1220,
14188,
29871,
29906,
29889,
29941,
28706,
304,
4772,
29871,
29941,
4803,
278,
9281,
13714,
1873,
310,
341,
2092
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
### Project:custom-tinymce_spellchecker_php
### Description:Customised TinyMCE Spellchecker for Moodle
### File:
### Path:./group/group_form.php
### Content:<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* A form for the creation and editing of groups.
*
* @copyright 2006 The Open University, N.D.Freear AT open.ac.uk, J.White AT open.ac.uk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package core_group
*/
defined('MOODLE_INTERNAL') || die;
use core_group\visibility;
require_once($CFG->dirroot.'/lib/formslib.php');
/**
* Group form class
*
* @copyright 2006 The Open University, N.D.Freear AT open.ac.uk, J.White AT open.ac.uk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package core_group
*/
class group_form extends moodleform {
/**
* Definition of the form
*/
function definition () {
global $USER, $CFG, $COURSE;
$coursecontext = context_course::instance($COURSE->id);
$mform =& $this->_form;
$editoroptions = $this->_customdata['editoroptions'];
$group = $this->_customdata['group'];
$mform->addElement('header', 'general', get_string('general', 'form'));
$mform->addElement('text','name', get_string('groupname', 'group'),'maxlength="254" size="50"');
$mform->addRule('name', get_string('required'), 'required', null, 'client');
$mform->setType('name', PARAM_TEXT);
$mform->addElement('text','idnumber', get_string('idnumbergroup'), 'maxlength="100" size="10"');
$mform->addHelpButton('idnumber', 'idnumbergroup');
$mform->setType('idnumber', PARAM_RAW);
if (!has_capability('moodle/course:changeidnumber', $coursecontext)) {
$mform->hardFreeze('idnumber');
}
$mform->addElement('editor', 'description_editor', get_string('groupdescription', 'group'), null, $editoroptions);
$mform->setType('description_editor', PARAM_RAW);
$mform->addElement('passwordunmask', 'enrolmentkey', get_string('enrolmentkey', 'group'), 'maxlength="254" size="24"', get_string('enrolmentkey', 'group'));
$mform->addHelpButton('enrolmentkey', 'enrolmentkey', 'group');
$mform->setType('enrolmentkey', PARAM_RAW);
$visibilityoptions = [
GROUPS_VISIBILITY_ALL => get_string('visibilityall', 'group'),
GROUPS_VISIBILITY_MEMBERS => get_string('visibilitymembers', 'group'),
GROUPS_VISIBILITY_OWN => get_string('visibilityown', 'group'),
GROUPS_VISIBILITY_NONE => get_string('visibilitynone', 'group')
];
$mform->addElement('select', 'visibility', get_string('visibility', 'group'), $visibilityoptions);
$mform->addHelpButton('visibility', 'visibility', 'group');
$mform->setType('visibility', PARAM_INT);
$mform->addElement('advcheckbox', 'participation', '', get_string('participation', 'group'));
$mform->addHelpButton('participation', 'participation', 'group');
$mform->setType('participation', PARAM_BOOL);
$mform->setDefault('participation', 1);
$mform->hideIf('participation', 'visibility', 'in', [GROUPS_VISIBILITY_OWN, GROUPS_VISIBILITY_NONE]);
// Group conversation messaging.
if (\core_message\api::can_create_group_conversation($USER->id, $coursecontext)) {
$mform->addElement('selectyesno', 'enablemessaging', get_string('enablemessaging', 'group'));
$mform->addHelpButton('enablemessaging', 'enablemessaging', 'group');
$mform->hideIf('enablemessaging', 'visibility', 'in', [GROUPS_VISIBILITY_OWN, GROUPS_VISIBILITY_NONE]);
}
$mform->addElement('static', 'currentpicture', get_string('currentpicture'));
$mform->addElement('checkbox', 'deletepicture', get_string('delete'));
$mform->setDefault('deletepicture', 0);
$mform->addElement('filepicker', 'imagefile', get_string('newpicture', 'group'));
$mform->addHelpButton('imagefile', 'newpicture', 'group');
$handler = \core_group\customfield\group_handler::create();
$handler->instance_form_definition($mform, empty($group->id) ? 0 : $group->id);
$handler->instance_form_before_set_data($group);
$mform->addElement('hidden','id');
$mform->setType('id', PARAM_INT);
$mform->addElement('hidden','courseid');
$mform->setType('courseid', PARAM_INT);
$this->add_action_buttons();
}
/**
* Extend the form definition after the data has been parsed.
*/
public function definition_after_data() {
global $COURSE, $DB, $USER;
$mform = $this->_form;
$groupid = $mform->getElementValue('id');
$coursecontext = context_course::instance($COURSE->id);
if ($group = $DB->get_record('groups', array('id' => $groupid))) {
// If can create group conversation then get if a conversation area exists and it is enabled.
if (\core_message\api::can_create_group_conversation($USER->id, $coursecontext)) {
if (\core_message\api::is_conversation_area_enabled('core_group', 'groups', $groupid, $coursecontext->id)) {
$mform->getElement('enablemessaging')->setSelected(1);
}
}
// Print picture.
if (!($pic = print_group_picture($group, $COURSE->id, true, true, false))) {
$pic = get_string('none');
if ($mform->elementExists('deletepicture')) {
$mform->removeElement('deletepicture');
}
}
$imageelement = $mform->getElement('currentpicture');
$imageelement->setValue($pic);
} else {
if ($mform->elementExists('currentpicture')) {
$mform->removeElement('currentpicture');
}
if ($mform->elementExists('deletepicture')) {
$mform->removeElement('deletepicture');
}
}
if ($DB->record_exists('groups_members', ['groupid' => $groupid])) {
// If the group has members, lock visibility and participation fields.
/** @var MoodleQuickForm_select $visibility */
$visibility = $mform->getElement('visibility');
$visibility->freeze();
/** @var MoodleQuickForm_advcheckbox $participation */
$participation = $mform->getElement('participation');
$participation->freeze();
}
$handler = core_group\customfield\group_handler::create();
$handler->instance_form_definition_after_data($this->_form, empty($groupid) ? 0 : $groupid);
}
/**
* Form validation
*
* @param array $data
* @param array $files
* @return array $errors An array of errors
*/
function validation($data, $files) {
global $COURSE, $DB, $CFG;
$errors = parent::validation($data, $files);
$name = trim($data['name']);
if (isset($data['idnumber'])) {
$idnumber = trim($data['idnumber']);
} else {
$idnumber = '';
}
if ($data['id'] and $group = $DB->get_record('groups', array('id'=>$data['id']))) {
if (core_text::strtolower($group->name) != core_text::strtolower($name)) {
if (groups_get_group_by_name($COURSE->id, $name)) {
$errors['name'] = get_string('groupnameexists', 'group', $name);
}
}
if (!empty($idnumber) && $group->idnumber != $idnumber) {
if (groups_get_group_by_idnumber($COURSE->id, $idnumber)) {
$errors['idnumber']= get_string('idnumbertaken');
}
}
if ($data['enrolmentkey'] != '') {
$errmsg = '';
if (!empty($CFG->groupenrolmentkeypolicy) && $group->enrolmentkey !== $data['enrolmentkey']
&& !check_password_policy($data['enrolmentkey'], $errmsg)) {
// Enforce password policy when the password is changed.
$errors['enrolmentkey'] = $errmsg;
} else {
// Prevent twice the same enrolment key in course groups.
$sql = "SELECT id FROM {groups} WHERE id <> :groupid AND courseid = :courseid AND enrolmentkey = :key";
$params = array('groupid' => $data['id'], 'courseid' => $COURSE->id, 'key' => $data['enrolmentkey']);
if ($DB->record_exists_sql($sql, $params)) {
$errors['enrolmentkey'] = get_string('enrolmentkeyalreadyinuse', 'group');
}
}
}
} else if (groups_get_group_by_name($COURSE->id, $name)) {
$errors['name'] = get_string('groupnameexists', 'group', $name);
} else if (!empty($idnumber) && groups_get_group_by_idnumber($COURSE->id, $idnumber)) {
$errors['idnumber']= get_string('idnumbertaken');
} else if ($data['enrolmentkey'] != '') {
$errmsg = '';
if (!empty($CFG->groupenrolmentkeypolicy) && !check_password_policy($data['enrolmentkey'], $errmsg)) {
// Enforce password policy.
$errors['enrolmentkey'] = $errmsg;
} else if ($DB->record_exists('groups', array('courseid' => $COURSE->id, 'enrolmentkey' => $data['enrolmentkey']))) {
// Prevent the same enrolment key from being used multiple times in course groups.
$errors['enrolmentkey'] = get_string('enrolmentkeyalreadyinuse', 'group');
}
}
$handler = \core_group\customfield\group_handler::create();
$errors = array_merge($errors, $handler->instance_form_validation($data, $files));
return $errors;
}
/**
* Get editor options for this form
*
* @return array An array of options
*/
function get_editor_options() {
return $this->_customdata['editoroptions'];
}
}
, | [
1,
835,
8010,
29901,
6341,
29899,
29873,
262,
962,
346,
29918,
1028,
514,
3198,
261,
29918,
1961,
13,
2277,
29937,
12953,
29901,
7281,
3368,
323,
4901,
29924,
4741,
1706,
514,
3198,
261,
363,
341,
2092,
280,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
2972,
29914,
2972,
29918,
689,
29889,
1961,
13,
835,
10576,
29901,
8169,
1961,
13,
458,
910,
934,
338,
760,
310,
341,
2092,
280,
448,
1732,
597,
29885,
2092,
280,
29889,
990,
29914,
13,
458,
13,
458,
341,
2092,
280,
338,
3889,
7047,
29901,
366,
508,
2654,
391,
2666,
372,
322,
29914,
272,
6623,
13,
458,
372,
1090,
278,
4958,
310,
278,
15143,
4593,
5236,
19245,
408,
6369,
491,
13,
458,
278,
12362,
18540,
10606,
29892,
2845,
1873,
29871,
29941,
310,
278,
19245,
29892,
470,
13,
458,
313,
271,
596,
2984,
29897,
738,
2678,
1873,
29889,
13,
458,
13,
458,
341,
2092,
280,
338,
13235,
297,
278,
4966,
393,
372,
674,
367,
5407,
29892,
13,
458,
541,
399,
1806,
8187,
2692,
13764,
29979,
399,
1718,
29934,
13566,
29979,
29936,
1728,
1584,
278,
2411,
2957,
1370,
21867,
29891,
310,
13,
458,
341,
1001,
3210,
13566,
2882,
6227,
11937,
470,
383,
1806,
8186,
1799,
15842,
319,
349,
8322,
2965,
13309,
1718,
349,
4574,
13152,
1660,
29889,
29871,
2823,
278,
13,
458,
15143,
4593,
5236,
19245,
363,
901,
4902,
29889,
13,
458,
13,
458,
887,
881,
505,
4520,
263,
3509,
310,
278,
15143,
4593,
5236,
19245,
13,
458,
3412,
411,
341,
2092,
280,
29889,
29871,
960,
451,
29892,
1074,
529,
1124,
597,
1636,
29889,
18713,
29889,
990,
29914,
506,
11259,
3779,
29889,
13,
13,
13,
7918,
13,
334,
319,
883,
363,
278,
11265,
322,
16278,
310,
6471,
29889,
13,
334,
13,
334,
732,
8552,
1266,
29871,
29906,
29900,
29900,
29953,
450,
4673,
3014,
29892,
405,
29889,
29928,
29889,
23923,
799,
15531,
1722,
29889,
562,
29889,
2679,
29892,
435,
29889,
21823,
15531,
1722,
29889,
562,
29889,
2679,
13,
334,
732,
506,
1947,
259,
1732,
597,
1636,
29889,
18713,
29889,
990,
29914,
9708,
1508,
615,
29914,
29887,
572,
29889,
1420,
15143,
402,
7390,
325,
29941,
470,
2678,
13,
334,
732,
5113,
259,
7136,
29918,
2972,
13,
3776,
13,
13,
12119,
877,
6720,
13668,
1307,
29918,
23845,
29940,
1964,
1495,
3830,
762,
29936,
13,
13,
1509,
7136,
29918,
2972,
29905,
28814,
29936,
13,
13,
12277,
29918,
10646,
1566,
9207,
29954,
976,
3972,
4632,
6169,
29914,
1982,
29914,
9514,
1982,
29889,
1961,
2157,
13,
13,
7918,
13,
334,
6431,
883,
770,
13,
334,
13,
334,
732,
8552,
1266,
29871,
29906,
29900,
29900,
29953,
450,
4673,
3014,
29892,
405,
29889,
29928,
29889,
23923,
799,
15531,
1722,
29889,
562,
29889,
2679,
29892,
435,
29889,
21823,
15531,
1722,
29889,
562,
29889,
2679,
13,
334,
732,
506,
1947,
259,
1732,
597,
1636,
29889,
18713,
29889,
990,
29914,
9708,
1508,
615,
29914,
29887,
572,
29889,
1420,
15143,
402,
7390,
325,
29941,
470,
2678,
13,
334,
732,
5113,
259,
7136,
29918,
2972,
13,
3776,
13,
1990,
2318,
29918,
689,
4988,
286,
2092,
280,
689,
426,
13,
13,
1678,
7762,
13,
268,
334,
21940,
310,
278,
883,
13,
268,
3776
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
Supply chainGovernance
Good business practice, as well as new laws, are needed to stop forced labour
Mark Robertson
Lack of speed and enforcement mean legislation will not on its own eradicate slavery; companies must take responsibility too
This article is in response to Aidan McQuade's blog here
A migrant labourer in Doha, Qatar, host of the 2022 World Cup, which came under fire over claims of forced labour. Photograph: Karim Jaafar/AFP/Getty
Mon 9 Jun 2014 11.47 EDT
Aidan McQuade's recent blog on Guardian Sustainable Business raises important questions about how to tackle forced labour – and other critical ethical issues – in global supply chains. According to the the International Labour Organisation (ILO) nearly 21 million people are victims of forced labour, which only highlights that much more needs to be done, and quickly, to tackle the problem.
Legislation has a vital role to play in tackling supply chain challenges by requiring companies to take action on key issues. For example, the California Transparency in Supply Chains Act (pdf) requires certain businesses to disclose the efforts they are making, if any, to eradicate human trafficking and slavery from their supply chains. New anti-slavery powers announced last week in the Queen's speech are a welcome step forward.
But new legislation is not always the complete solution. It took 104 years to reform bribery law in the UK, a consequence of the challenges of getting business and government to agree on a workable definition of corruption. It can also take some time for new laws to be fully enforced. The lack of corporate prosecutions under the Bribery Act has led some to question (pdf) the Serious Fraud Office's appetite for enforcement, though there are signs that more prosecutions under the Act are on their way.
In creating disclosure requirements on the sourcing on conflict minerals, Dodd-Frank has brought welcome supply chain transparency in the US. But some have expressed concerns that the Act is reportedly putting miners out of work in the eastern Congo - and doing little to improve the security situation or the daily lives of people who live there.
The ILO defines forced labour as "all work or service which is exacted from any person under the menace of any penalty for which said person has not offered himself voluntarily". A penalty, in this case, could be physical constraint, or it could refer to other forms of abuse such as threats of deportation, passport confiscation or wage non-payment that binds a worker to the employer.
Businesses – and law-makers – must take these many manifestations of forced labour into account when tackling the issue. Corporate supply chains can be vast, multi-tiered and cut across many jurisdictions, all of which create additional legal complexities.
Good examples of companies tackling modern day slavery do exist. The Stronger Together initiative is designed to equip UK employers with the knowledge and resources to recognise the signs of worker exploitation and to tackle it in the food and agriculture industries. It was developed by the Association of Labour Providers (ALP), the Gangmasters Licensing Authority (GLA) and Migrant Help, with sponsorship from five UK retailers: the Co-operative Food, Marks & Spencer, Sainsbury's, Tesco and Waitrose.
Unilever opened its supply chain to Oxfam for a report investigating labour issues surrounding the company's factories in Vietnam. In response to the report findings, Unilever made commitments to improve labour issues and workers' conditions in its factories worldwide. The company also invited Oxfam to return to review the progress made.
The Bangladesh Accord, Alliance and investor collations setup in the wake of the Rana Plaza tragedy are examples of business taking voluntary action to improve working conditions and safety. These initiatives are not perfect, but they are creating a focused approach among companies – and their investors – in tackling issues in Bangladesh. We need to see more companies using such partnerships to understand the root causes of worker exploitation in their supply chains.
Legislation has an important role to play as a stick to get more companies to address forced labour by defining minimum standards and setting out expectations for business to abide. But this must go hand in hand with better guidance to increase corporate understanding of modern-day slavery, convince companies of the need to act and replicate good practice, and give them the tools and resources they need to detect and act on the issue.
Mark Robertson is head of communications at the global responsible supply chain specialist Sedex
The supply chain hub is funded by the Fairtrade Foundation. All content is editorially independent except for pieces labelled as advertisement feature. Find out more here.
Join the community of sustainability professionals and experts. Become a GSB member to get more stories like this direct to your inbox.
Ethical business | [
1,
9179,
368,
9704,
29954,
6170,
749,
13,
18420,
5381,
6944,
29892,
408,
1532,
408,
716,
14243,
29892,
526,
4312,
304,
5040,
11826,
23390,
13,
9802,
4755,
1100,
13,
29931,
547,
310,
6210,
322,
24555,
13561,
2099,
13332,
362,
674,
451,
373,
967,
1914,
604,
328,
9593,
8370,
1201,
29936,
14582,
1818,
2125,
23134,
2086,
13,
4013,
4274,
338,
297,
2933,
304,
319,
29219,
4052,
2182,
1943,
29915,
29879,
12618,
1244,
13,
29909,
9725,
424,
23390,
261,
297,
360,
1148,
29874,
29892,
660,
14873,
29892,
3495,
310,
278,
29871,
29906,
29900,
29906,
29906,
2787,
6536,
29892,
607,
2996,
1090,
3974,
975,
16726,
310,
11826,
23390,
29889,
19040,
1946,
29901,
3467,
326,
14021,
2142,
279,
29914,
5098,
29925,
29914,
2577,
1017,
13,
7185,
29871,
29929,
8378,
29871,
29906,
29900,
29896,
29946,
29871,
29896,
29896,
29889,
29946,
29955,
9408,
29911,
13,
29909,
29219,
4052,
2182,
1943,
29915,
29879,
7786,
12618,
373,
29429,
317,
504,
475,
519,
15197,
1153,
4637,
4100,
5155,
1048,
920,
304,
22002,
280,
11826,
23390,
785,
322,
916,
12187,
11314,
936,
5626,
785,
297,
5534,
11421,
521,
2708,
29889,
7579,
304,
278,
278,
4623,
29453,
25783,
313,
29902,
3927,
29897,
8886,
29871,
29906,
29896,
7284,
2305,
526,
6879,
9893,
310,
11826,
23390,
29892,
607,
871,
12141,
29879,
393,
1568,
901,
4225,
304,
367,
2309,
29892,
322,
9098,
29892,
304,
22002,
280,
278,
1108,
29889,
13,
22988,
7497,
362,
756,
263,
27131,
6297,
304,
1708,
297,
22002,
1847,
11421,
9704,
18066,
267,
491,
26795,
14582,
304,
2125,
3158,
373,
1820,
5626,
29889,
1152,
1342,
29892,
278,
8046,
4103,
862,
3819,
297,
9179,
368,
678,
2708,
3185,
313,
5140,
29897,
6858,
3058,
5381,
267,
304,
2313,
2226,
278,
14231,
896,
526,
3907,
29892,
565,
738,
29892,
304,
604,
328,
9593,
5199,
1020,
600,
860,
292,
322,
8370,
1201,
515,
1009,
11421,
521,
2708,
29889,
1570,
9418,
29899,
29879,
433,
1201,
10801,
9326,
1833,
4723,
297,
278,
10470,
29915,
29879,
12032,
526,
263,
12853,
4331,
6375,
29889,
13,
6246,
716,
13332,
362,
338,
451,
2337,
278,
4866,
1650,
29889,
739,
3614,
29871,
29896,
29900,
29946,
2440,
304,
11736,
289,
374,
495,
29891,
4307,
297,
278,
10261,
29892,
263,
17004,
310,
278,
18066,
267,
310,
2805,
5381,
322,
5874,
304,
8661,
373,
263,
664,
519,
5023,
310,
1034,
18953,
29889,
739,
508,
884,
2125,
777,
931,
363,
716,
14243,
304,
367,
8072,
24555,
1133,
29889,
450,
10225,
310,
17266,
403,
410,
3471,
17925,
1090,
278,
350,
374,
495,
29891,
3185,
756,
5331,
777,
304,
1139,
313,
5140,
29897,
278,
1816,
2738,
7347,
566,
11367,
29915,
29879,
623,
300,
568,
363,
24555,
13561,
29892,
2466,
727,
526,
18906,
393,
901,
410,
3471,
17925,
1090,
278,
3185,
526,
373,
1009,
982,
29889,
13,
797,
4969,
766,
25071,
11780,
373,
278,
269,
473,
3277,
373,
14529,
1375,
261,
1338,
29892,
360,
22861,
29899,
7675,
29895,
756,
6296,
12853,
11421,
9704,
1301,
862,
3819,
297,
278,
3148,
29889,
1205,
777,
505,
13384,
21838,
393,
278,
3185,
338,
8967,
368,
10594,
1375,
414,
714,
310,
664,
297,
278,
18632,
29723,
448,
322,
2599,
2217,
304,
11157,
278,
6993,
6434,
470
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
Review of Reviews, 13 (1896), 433.
Nursing and Stimulants. What the Temperance Hospital has Proved
Publications abstracted:
Benjamin W Richardson Longman's Magazine
Medical Practitioners, Hospitals, Narcotics, Temperance | [
1,
13957,
310,
830,
7406,
29892,
29871,
29896,
29941,
313,
29896,
29947,
29929,
29953,
511,
29871,
29946,
29941,
29941,
29889,
13,
29940,
1295,
292,
322,
26256,
352,
1934,
29889,
1724,
278,
6789,
546,
749,
15967,
756,
1019,
1490,
13,
19858,
800,
9846,
287,
29901,
13,
20841,
18323,
399,
6123,
1100,
6242,
1171,
29915,
29879,
17880,
13,
19302,
936,
29124,
654,
414,
29892,
379,
4705,
277,
1338,
29892,
405,
5666,
327,
1199,
29892,
6789,
546,
749,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
Written by Neil Kurtzman | 19th May 2021
My Last Duchess is a poem by Robert Browning (1812-89). Written in 1842, the poet called the piece a dramatic lyric, but it is really a dramatic monologue – a form associated with Browning. It consists of 28 couplets written in iambic pentameter. The rhyming words occur at the end of each line, but the poem employs the enjambment technique; ie – the sentence doesn’t always conclude at the end of a line. The rhyme scheme is easy to see on the page, but the poem is best recited. When read aloud it sounds like a conversation albeit a one-sided one.
Browning was famous for sometimes reaching depths of obscurity. When once asked what a poem of his meant he said that when he wrote it only God and he knew, but that now only God knew. My Last Duchess does not suffer from remote intelligence. It’s meaning is quite clear.
By implication the speaker is Alfonso II d’Este, the fifth Duke of Ferrara (1533–1598), who, at the age of 25, married Lucrezia di Cosimo de’ Medici, the 14-year-old daughter of Cosimo I de’ Medici, Grand Duke of Tuscany, and Eleonora di Toledo. The painter Fra Pandolph and the sculptor Claus of Innsbruck are Browning’s inventions. Lucrezia died at age 17 likely from tuberculosis rather than murder as suggested in the poem . The Duke then married Barbara daughter of the Holy Roman Emperor Ferdinand I. She was the sister of the Count of Tyrol, the Count mentioned in the poem. His servant in arranging the marriage was Nikolaus Madruz, the person to whom the Duke is addressing his remarks.
The Duke is a super supercilious aristocrat consumed with the importance of his noble lineage. His main complaint against his late wife, whose portrait he and Madruz are looking at, seems to be that she was too nice a person. He appears to have been offended that she did not focus entirely on him and that she was not sufficiently impressed by the length of his noble heritage.
Accordingly, he had her killed. The poem can be take as a depiction of the endemic cruelty of renaissance Italy or as an allegory on the subjugation of women in Victorian England. Either works. Regardless, the Duke is a particularly nasty piece of humanity.
The meaning and emotional content of the work is much clearer when it is read by a skilled actor. The video below is a fine performance of the piece by the very talented Jonathan David Dixon. Dixon clearly reveals the poem’s meaning and impact. The text of the poem is beneath the video.
That’s my last Duchess painted on the wall,
Looking as if she were alive. I call
That piece a wonder, now: Fra Pandolf s hands
Worked busily a day, and there she stands.
Will’t please you sit and look at her? I said
“Fra Pandolf” by design, for never read
Strangers like you that pictured countenance,
The depth and passion of its earnest glance,
But to myself they turned (since none puts by
The curtain I have drawn for you, but I)
And seemed as they would ask me, if they durst,
How such a glance came there; so, not the first
Are you to turn and ask thus. Sir, ’twas not
Her husband’s presence only, called that spot
Of joy into the Duchess’ cheek; perhaps
Fra Pandolf chanced to say, “Her mantle laps
Over my lady’s wrist too much,” or “Paint
Must never hope to reproduce the faint
Half-flush that dies along her throat”: such stuff
Was courtesy, she thought, and cause enough
For calling up that spot of joy. She had
A heart—how shall I say?—too soon made glad,
Too easily impressed: she liked whate’er
She looked on, and her looks went everywhere.
Sir, ’twas all one! My favour at her breast,
The dropping of the daylight in the West,
The bough of cherries some officious fool
Broke in the orchard for her, the white mule
She rode with round the terrace—all and each
Would draw from her alike the approving speech,
Or blush, at least. She thanked men,—good! but
Somehow —I know not how — as if she ranked
My gift of a nine-hundred-years-old name
With anybody’s gift. Who’d stoop to blame
This sort of trifling? Even had you skill
In speech—(which I have not)—to make your will
Quite clear to such an one, and say, “Just this
Or that in you disgusts me; here you miss,
Or there exceed the mark”—and if she let
Herself be lessoned so, nor plainly set
Her wits to yours, forsooth, and made excuse,
—E’en then would be some stooping; and I choose
Never to stoop. Oh sir, she smiled, no doubt,
Whene’er I passed her; but who passed without
Much the same smile? This grew; I gave
commands;
Then all smiles stopped together. There she stands
As if alive. Will’t please you rise? We’ll meet
The company below, then. I repeat,
The Count your master’s known munificence
Is ample warrant that no just pretence
Of mine for dowry will be disallowed;
Though his fair daughter’s self, as I avowed
At starting, is my object. Nay, we’ll go
Together down, sir. Notice Neptune, though,
Taming a sea-horse, thought a rarity,
Which Claus of Innsbruck cast in bronze for me!
Nephrogenic Systemic Fibrosis and the FDA’s Warnings
On Good and Bad Service
Fire Shut Up In My Bones in HD
The Pearl Fishers in Santa Fe
Body – The Universal Language
Operafilly says:
Boring narrator.
Tibbett’s speaking in Emporer as compelling as his singing, maybe even more. | [
1,
16849,
841,
491,
29334,
22478,
29920,
1171,
891,
29871,
29896,
29929,
386,
2610,
29871,
29906,
29900,
29906,
29896,
13,
3421,
9208,
23568,
404,
338,
263,
26576,
491,
4755,
22415,
1076,
313,
29896,
29947,
29896,
29906,
29899,
29947,
29929,
467,
16849,
841,
297,
29871,
29896,
29947,
29946,
29906,
29892,
278,
9821,
2000,
278,
8424,
263,
8541,
2454,
21261,
2200,
29892,
541,
372,
338,
2289,
263,
8541,
2454,
1601,
1189,
434,
785,
263,
883,
6942,
411,
22415,
1076,
29889,
739,
11624,
310,
29871,
29906,
29947,
7303,
1372,
3971,
297,
474,
1117,
293,
11137,
314,
1308,
29889,
450,
18178,
962,
292,
3838,
6403,
472,
278,
1095,
310,
1269,
1196,
29892,
541,
278,
26576,
3710,
417,
952,
278,
427,
29926,
1117,
358,
11043,
29936,
19282,
785,
278,
10541,
1838,
30010,
29873,
2337,
17668,
472,
278,
1095,
310,
263,
1196,
29889,
450,
18178,
25395,
11380,
338,
4780,
304,
1074,
373,
278,
1813,
29892,
541,
278,
26576,
338,
1900,
1162,
1573,
29889,
1932,
1303,
394,
2736,
372,
10083,
763,
263,
14983,
394,
6205,
263,
697,
29899,
29879,
2618,
697,
29889,
13,
29933,
798,
1076,
471,
13834,
363,
6041,
20888,
10809,
29879,
310,
19726,
7710,
29889,
1932,
2748,
4433,
825,
263,
26576,
310,
670,
6839,
540,
1497,
393,
746,
540,
5456,
372,
871,
4177,
322,
540,
6363,
29892,
541,
393,
1286,
871,
4177,
6363,
29889,
1619,
9208,
23568,
404,
947,
451,
8812,
515,
7592,
21082,
29889,
739,
30010,
29879,
6593,
338,
3755,
2821,
29889,
13,
2059,
2411,
1414,
278,
25657,
338,
29651,
1944,
270,
30010,
29923,
1655,
29892,
278,
18615,
13484,
310,
16541,
2518,
313,
29896,
29945,
29941,
29941,
29994,
29896,
29945,
29929,
29947,
511,
1058,
29892,
472,
278,
5046,
310,
29871,
29906,
29945,
29892,
8300,
3182,
1037,
19822,
652,
13526,
4200,
316,
30010,
3436,
1654,
29892,
278,
29871,
29896,
29946,
29899,
6360,
29899,
1025,
8750,
310,
13526,
4200,
306,
316,
30010,
3436,
1654,
29892,
6265,
13484,
310,
323,
22142,
1384,
29892,
322,
8317,
265,
2207,
652,
1763,
839,
29877,
29889,
450,
23187,
7347,
349,
392,
22138,
322,
278,
17039,
272,
6015,
375,
310,
512,
1983,
29890,
10857,
526,
22415,
1076,
30010,
29879,
11817,
1080,
29889,
3182,
1037,
19822,
6423,
472,
5046,
29871,
29896,
29955,
5517,
515,
260,
11234,
1810,
19263,
3265,
1135,
13406,
408,
7829,
297,
278,
26576,
869,
450,
13484,
769,
8300,
18506,
8750,
310,
278,
17733,
5917,
18075,
19693,
306,
29889,
2296,
471,
278,
9883,
310,
278,
3917,
310,
9656,
1467,
29892,
278,
3917,
5276,
297,
278,
26576,
29889,
3600,
21649,
297,
3948,
9776,
278,
13718,
471,
22958,
1485,
4104,
582,
29920,
29892,
278,
2022,
304,
6029,
278,
13484,
338,
3211,
292,
670,
29360,
29889,
13,
1576,
13484,
338,
263,
2428,
2428,
29883,
2638,
681,
28672,
16909,
11233,
287,
411,
278,
13500,
310,
670,
15996,
1196,
482,
29889,
3600,
1667,
15313,
524,
2750,
670,
5683,
6532,
29892,
5069,
21760,
540,
322,
4104,
582,
29920,
526,
3063,
472,
29892,
2444,
304,
367,
393,
1183,
471,
2086,
7575,
263,
2022,
29889,
940,
5692,
304,
505,
1063,
1283,
2760,
393,
1183,
1258,
451,
8569,
9186,
373,
1075,
322,
393,
1183,
471,
451,
18430,
527,
13120,
491,
278,
3309
] | [
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
President Donald Trump prevents US military from dropping racially charged confederate names
As the United States confronts persisting racism once again, the US army appeared “open” to rechristening bases named after generals of the Confederate Army that had fought the Lincoln-led Union to save slavery and continue white supremacy. President Donald Trump ruled it on Wednesday.
Calling these bases “Monumental and intensely Powerful” Trump wrote in some tweets, these “Bases are becoming component of an outstanding American Heritage, and a medical history of Winning, Victory, and Freedom.” These posts were distributed as a good statement from your President for the daily White House news briefing, replete with grammatically misplaced capitalisation.
Trump, who may be anything but a history buff, added: “Our history as being the Greatest Nation on the earth will not be tampered with. Respect our Military! ”
According to multiple US media reports, but it’s his military and officials appointed by him – Defence Secretary Mark Esper and Chairman of the chiefs of staff Mark Milley – who had been reported to be “open” to having a bipartisan discussion about renaming theses bases, as recommended by the civilian official heading the army.
Now they can’t, de-activate by Trump.
Names of such army bases, statutes of confederate generals besides other reminders of America’s repugnant past whenmen and women, and kids might be sold, bought and owned, happen to have been among top demands with the National Association in the Expansion of Colored People (NAACP), the most known organisation representing African Americans.
Trump’s spirited defence for the base names came ironically at a day when NASCAR, an automobile racing company whose races are exceedingly well-liked by Trump’s political base, outlawed the display for the confederate flag at its events.
Before the start of a race in Virginia in which the competition’s sole black driver Bubba Wallace was participating, NASCAR announced the ban just. He had pushed the franchise past days to disavow its endorsement of your confederate flag, and raced in a vehicle with “Black Lives Matter” slogan on there.
“NASCAR gets it. Trump doesn’t,” tweeted Stuart Stevens, a veteran Republican strategist and leading an affiliate the inner-party revolt against Trump, arguing the president “will shed more white voters along with his Confederate defense than gain. Majority much just want to move past Civil War & hatred, not relive it”.
At around once, Speaker Nancy Pelosi, a Democrat, ordered removing statutes of confederate figures from through the Capitol.
Trump named most of the bases he really wants to retain their names based on confederate generals – “Fort Bragg in N . C ., Fort Hood in Texas, Fort Benning in Georgia”.
There are actually 10 army bases named after confederate generals, they all in southern states of America that had revolted soon after Abraham Lincoln, a Republican, was elected president in 1860, running on the party plank of abolition of slavery. Before Lincoln was inaugurated, south Carolina seceded shortly after and was joined by five other southern states who declared themselves the Confederate States of American even.
Southern forces fired first, in April, starting the Civil War in 1861. But additionally they lost the war.
Virginia, the confederate state with Richmond as the capital of CSA, has three of the 10 bases, according to a Congressional Research Service report. Georgia and Louisiana followed with two each and ave two each; and h. North Texas, Georgia, Carolina and Alabama, with one each.
PrevIndian-origin doctor couple begin legal battle with UK govt over PPEs
NextPillole Prostatrix Ultra {Italia} Maschile – Recensioni, Vantaggi And Prezzo ! | [
1,
7178,
18935,
27504,
28057,
3148,
9121,
515,
4441,
3262,
1153,
5584,
20139,
1970,
2447,
403,
2983,
13,
2887,
278,
3303,
3900,
21751,
29879,
3736,
15423,
11021,
1608,
2748,
1449,
29892,
278,
3148,
9987,
7470,
1346,
3150,
30024,
304,
337,
305,
2021,
8333,
22561,
4257,
1156,
1176,
1338,
310,
278,
24606,
403,
8811,
393,
750,
20722,
278,
17274,
29899,
839,
7761,
304,
4078,
8370,
1201,
322,
6773,
4796,
22747,
29885,
4135,
29889,
7178,
18935,
27504,
29490,
372,
373,
15050,
4515,
3250,
29889,
13,
5594,
292,
1438,
22561,
1346,
7185,
942,
284,
322,
12838,
873,
9206,
1319,
30024,
27504,
5456,
297,
777,
7780,
1691,
29892,
1438,
1346,
29933,
2129,
526,
14171,
4163,
310,
385,
714,
11235,
3082,
25635,
29892,
322,
263,
16083,
4955,
310,
8892,
1076,
29892,
7229,
706,
29892,
322,
3878,
11607,
3178,
4525,
11803,
892,
13235,
408,
263,
1781,
3229,
515,
596,
7178,
363,
278,
14218,
8037,
5619,
9763,
11473,
292,
29892,
337,
552,
371,
411,
14961,
20300,
3984,
13974,
1133,
7483,
4371,
29889,
13,
2308,
3427,
29892,
1058,
1122,
367,
3099,
541,
263,
4955,
20487,
29892,
2715,
29901,
1346,
29949,
332,
4955,
408,
1641,
278,
7027,
342,
22900,
373,
278,
8437,
674,
451,
367,
21308,
546,
287,
411,
29889,
2538,
1103,
1749,
20080,
29991,
26622,
13,
7504,
3278,
304,
2999,
3148,
5745,
13676,
29892,
541,
372,
30010,
29879,
670,
9121,
322,
24921,
10658,
491,
1075,
785,
5282,
663,
17719,
4485,
3423,
546,
322,
24193,
1171,
310,
278,
9087,
29879,
310,
13925,
4485,
341,
1924,
29891,
785,
1058,
750,
1063,
8967,
304,
367,
1346,
3150,
30024,
304,
2534,
263,
289,
27494,
21603,
10679,
1048,
4325,
11500,
266,
21523,
22561,
29892,
408,
13622,
491,
278,
7631,
713,
6221,
28435,
278,
9987,
29889,
13,
10454,
896,
508,
30010,
29873,
29892,
316,
29899,
11236,
403,
491,
27504,
29889,
13,
8659,
310,
1316,
9987,
22561,
29892,
1002,
2667,
310,
1970,
2447,
403,
1176,
1338,
18034,
916,
1083,
513,
414,
310,
6813,
30010,
29879,
1634,
688,
21941,
4940,
746,
1527,
322,
5866,
29892,
322,
413,
4841,
1795,
367,
5239,
29892,
18093,
322,
15205,
29892,
3799,
304,
505,
1063,
4249,
2246,
1261,
4167,
411,
278,
3086,
7993,
297,
278,
12027,
9454,
310,
1530,
4395,
11647,
313,
3521,
2477,
29925,
511,
278,
1556,
2998,
24788,
15783,
11715,
23035,
29889,
13,
2308,
3427,
30010,
29879,
6337,
1573,
28399,
363,
278,
2967,
2983,
2996,
13977,
1711,
472,
263,
2462,
746,
16938,
29907,
1718,
29892,
385,
3345,
5249,
28965,
5001,
5069,
19830,
526,
13461,
11687,
1532,
29899,
5081,
287,
491,
27504,
30010,
29879,
8604,
2967,
29892,
714,
433,
8734,
278,
2479,
363,
278,
1970,
2447,
403,
7353,
472,
967,
4959,
29889,
13,
18743,
278,
1369,
310,
263,
8175,
297,
11653,
297,
607,
278,
13888,
30010,
29879,
14419,
4628,
7156,
350,
431,
2291,
5260,
1265,
471,
5221,
1218,
29892,
16938,
29907,
1718,
9326,
278,
9892,
925,
29889,
940,
750,
18760,
278,
23272,
895,
4940,
3841,
304,
766,
485,
340,
967,
1095,
943,
882,
310,
596,
1970,
2447,
403,
7353,
29892,
322,
11021,
287,
297,
263,
19716,
411,
1346,
18700,
365,
3145,
341,
2620,
30024,
269,
1188,
273,
373,
727,
29889,
13,
30015
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
### Project:jsdoc
### Description:JavaScript API Documentation builds for Moodle LMS
### File:
### Path:./course/classes/management_renderer.php
### Content:<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Contains renderers for the course management pages.
*
* @package core_course
* @copyright 2013 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die;
require_once($CFG->dirroot.'/course/renderer.php');
/**
* Main renderer for the course management pages.
*
* @package core_course
* @copyright 2013 Sam Hemelryk
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class core_course_management_renderer extends plugin_renderer_base {
/**
* Initialises the JS required to enhance the management interface.
*
* Thunderbirds are go, this function kicks into gear the JS that makes the
* course management pages that much cooler.
*/
public function enhance_management_interface() {
$this->page->requires->yui_module('moodle-course-management', 'M.course.management.init');
$this->page->requires->strings_for_js(
array(
'show',
'showcategory',
'hide',
'expand',
'expandcategory',
'collapse',
'collapsecategory',
'confirmcoursemove',
'move',
'cancel',
'confirm'
),
'moodle'
);
}
/**
* Displays a heading for the management pages.
*
* @deprecated since Moodle 4.0. This is now handled/replaced with the tertiary navigation
* @todo Final deprecation MDL-73975
* @param string $heading The heading to display
* @param string|null $viewmode The current view mode if there are options.
* @param int|null $categoryid The currently selected category if there is one.
* @return string
*/
public function management_heading($heading, $viewmode = null, $categoryid = null) {
debugging('management_heading() is deprecated. Use the class manage_categories_action_bar instead.', DEBUG_DEVELOPER);
$html = html_writer::start_div('coursecat-management-header clearfix');
if (!empty($heading)) {
$html .= $this->heading($heading);
}
if ($viewmode !== null) {
$html .= html_writer::start_div();
$html .= $this->view_mode_selector(\core_course\management\helper::get_management_viewmodes(), $viewmode);
if ($viewmode === 'courses') {
$categories = core_course_category::make_categories_list(array('moodle/category:manage', 'moodle/course:create'));
$nothing = false;
if ($categoryid === null) {
$nothing = array('' => get_string('selectacategory'));
$categoryid = '';
}
$select = new single_select($this->page->url, 'categoryid', $categories, $categoryid, $nothing);
$select->attributes['aria-label'] = get_string('selectacategory');
$html .= $this->render($select);
}
$html .= html_writer::end_div();
}
$html .= html_writer::end_div();
return $html;
}
/**
* Prepares the form element for the course category listing bulk actions.
*
* @return string
*/
public function management_form_start() {
$form = array('action' => $this->page->url->out(), 'method' => 'POST', 'id' => 'coursecat-management');
$html = html_writer::start_tag('form', $form);
$html .= html_writer::empty_tag('input', array('type' => 'hidden', 'name' => 'sesskey', 'value' => sesskey()));
$html .= html_writer::empty_tag('input', array('type' => 'hidden', 'name' => 'action', 'value' => 'bulkaction'));
return $html;
}
/**
* Closes the course category bulk management form.
*
* @return string
*/
public function management_form_end() {
return html_writer::end_tag('form');
}
/**
* Presents a course category listing.
*
* @param core_course_category $category The currently selected category. Also the category to highlight in the listing.
* @return string
*/
public function category_listing(core_course_category $category = null) {
if ($category === null) {
$selectedparents = array();
$selectedcategory = null;
} else {
$selectedparents = $category->get_parents();
$selectedparents[] = $category->id;
$selectedcategory = $category->id;
}
$catatlevel = \core_course\management\helper::get_expanded_categories('');
$catatlevel[] = array_shift($selectedparents);
$catatlevel = array_unique($catatlevel);
$listing = core_course_category::top()->get_children();
$attributes = array(
'class' => 'ml-1 list-unstyled',
'role' => 'tree',
'aria-labelledby' => 'category-listing-title'
);
$html = html_writer::start_div('category-listing card w-100');
$html .= html_writer::tag('h3', get_string('categories'),
array('class' => 'card-header', 'id' => 'category-listing-title'));
$html .= html_writer::start_div('card-body');
$html .= $this->category_listing_actions($category);
$html .= html_writer::start_tag('ul', $attributes);
foreach ($listing as $listitem) {
// Render each category in the listing.
$subcategories = array();
if (in_array($listitem->id, $catatlevel)) {
$subcategories = $listitem->get_children();
}
$html .= $this->category_listitem(
$listitem,
$subcategories,
$listitem->get_children_count(),
$selectedcategory,
$selectedparents
);
}
$html .= html_writer::end_tag('ul');
$html .= $this->category_bulk_actions($category);
$html .= html_writer::end_div();
$html .= html_writer::end_div();
return $html;
}
/**
* Renders a category list item.
*
* This function gets called recursively to render sub categories.
*
* @param core_course_category $category The category to render as listitem.
* @param core_course_category[] $subcategories The subcategories belonging to the category being rented.
* @param int $totalsubcategories The total number of sub categories.
* @param int $selectedcategory The currently selected category
* @param int[] $selectedcategories The path to the selected category and its ID.
* @return string
*/
public function category_listitem(core_course_category $category, array $subcategories, $totalsubcategories,
$selectedcategory = null, $selectedcategories = array()) {
$isexpandable = ($totalsubcategories > 0);
$isexpanded = (!empty($subcategories));
$activecategory = ($selectedcategory === $category->id);
$attributes = array(
'class' => 'listitem listitem-category list-group-item list-group-item-action',
'data-id' => $category->id,
'data-expandable' => $isexpandable ? '1' : '0',
'data-expanded' => $isexpanded ? '1' : '0',
'data-selected' => $activecategory ? '1' : '0',
'data-visible' => $category->visible ? '1' : '0',
'role' => 'treeitem',
'aria-expanded' => $isexpanded ? 'true' : 'false'
);
$text = $category->get_formatted_name();
if (($parent = $category->get_parent_coursecat()) && $parent->id) {
$a = new stdClass;
$a->category = $text;
$a->parentcategory = $parent->get_formatted_name();
$textlabel = get_string('categorysubcategoryof', 'moodle', $a);
}
$courseicon = $this->output->pix_icon('i/course', get_string('courses'));
$bcatinput = array(
'id' => 'categorylistitem' . $category->id,
'type' => 'checkbox',
'name' => 'bcat[]',
'value' => $category->id,
'class' => 'bulk-action-checkbox custom-control-input',
'data-action' => 'select'
);
$checkboxclass = '';
if (!$category->can_resort_subcategories() && !$category->has_manage_capability()) {
// Very very hardcoded here.
$checkboxclass = 'd-none';
}
$viewcaturl = new moodle_url('/course/management.php', array('categoryid' => $category->id));
if ($isexpanded) {
$icon = $this->output->pix_icon('t/switch_minus', get_string('collapse'),
'moodle', array('class' => 'tree-icon', 'title' => ''));
$icon = html_writer::link(
$viewcaturl,
$icon,
array(
'class' => 'float-left',
'data-action' => 'collapse',
'title' => get_string('collapsecategory', 'moodle', $text),
'aria-controls' => 'subcategoryof'.$category->id
)
);
} else if ($isexpandable) {
$icon = $this->output->pix_icon('t/switch_plus', get_string('expand'),
'moodle', array('class' => 'tree-icon', 'title' => ''));
$icon = html_writer::link(
$viewcaturl,
$icon,
array(
'class' => 'float-left',
'data-action' => 'expand',
'title' => get_string('expandcategory', 'moodle', $text)
)
);
} else {
$icon = $this->output->pix_icon(
'i/empty',
'',
'moodle',
array('class' => 'tree-icon'));
$icon = html_writer::span($icon, 'float-left');
}
$actions = \core_course\management\helper::get_category_listitem_actions($category);
$hasactions = !empty($actions) || $category->can_create_course();
$html = html_writer::start_tag('li', $attributes);
$html .= html_writer::start_div('clearfix');
$html .= html_writer::start_div('float-left ' . $checkboxclass);
$html .= html_writer::start_div('custom-control custom-checkbox mr-1 ');
$html .= html_writer::empty_tag('input', $bcatinput);
$labeltext = html_writer::span(get_string('bulkactionselect', 'moodle', $text), 'sr-only');
$html .= html_writer::tag('label', $labeltext, array(
'class' => 'custom-control-label',
'for' => 'categorylistitem' . $category->id));
$html .= html_writer::end_div();
$html .= html_writer::end_div();
$html .= $icon;
if ($hasactions) {
$textattributes = array('class' => 'float-left categoryname aalink');
} else {
$textattributes = array('class' => 'float-left categoryname without-actions');
}
if (isset($textlabel)) {
$textattributes['aria-label'] = $textlabel;
}
$html .= html_writer::link($viewcaturl, $text, $textattributes);
$html .= html_writer::start_div('float-right d-flex');
if ($category->idnumber) {
$html .= html_writer::tag('span', s($category->idnumber), array('class' => 'text-muted idnumber'));
}
if ($hasactions) {
$html .= $this->category_listitem_actions($category, $actions);
}
$countid = 'course-count-'.$category->id;
$html .= html_writer::span(
html_writer::span($category->get_courses_count()) .
html_writer::span(get_string('courses'), 'accesshide', array('id' => $countid)) .
$courseicon,
'course-count text-muted',
array('aria-labelledby' => $countid)
);
$html .= html_writer::end_div();
$html .= html_writer::end_div();
if ($isexpanded) {
$html .= html_writer::start_tag('ul',
array('class' => 'ml', 'role' => 'group', 'id' => 'subcategoryof'.$category->id));
$catatlevel = \core_course\management\helper::get_expanded_categories($category->path);
$catatlevel[] = array_shift($selectedcategories);
$catatlevel = array_unique($catatlevel);
foreach ($subcategories as $listitem) {
$childcategories = (in_array($listitem->id, $catatlevel)) ? $listitem->get_children() : array();
$html .= $this->category_listitem(
$listitem,
$childcategories,
$listitem->get_children_count(),
$selectedcategory,
$selectedcategories
);
}
$html .= html_writer::end_tag('ul');
}
$html .= html_writer::end_tag('li');
return $html;
}
/**
* Renderers the actions that are possible for the course category listing.
*
* These are not the actions associated with an individual category listing.
* That happens through category_listitem_actions.
*
* @param core_course_category $category
* @return string
*/
public function category_listing_actions(core_course_category $category = null) {
$actions = array();
$cancreatecategory = $category && $category->can_create_subcategory();
$cancreatecategory = $cancreatecategory || core_course_category::can_create_top_level_category();
if ($category === null) {
$category = core_course_category::top();
}
if ($cancreatecategory) {
$url = new moodle_url('/course/editcategory.php', array('parent' => $category->id));
$actions[] = html_writer::link($url, get_string('createnewcategory'), array('class' => 'btn btn-secondary'));
}
if (core_course_category::can_approve_course_requests()) {
$actions[] = html_writer::link(new moodle_url('/course/pending.php'), get_string('coursespending'));
}
if (count($actions) === 0) {
return '';
}
return html_writer::div(join(' ', $actions), 'listing-actions category-listing-actions mb-3');
}
/**
* Renderers the actions for individual category list items.
*
* @param core_course_category $category
* @param array $actions
* @return string
*/
public function category_listitem_actions(core_course_category $category, array $actions = null) {
if ($actions === null) {
$actions = \core_course\management\helper::get_category_listitem_actions($category);
}
$menu = new action_menu();
$menu->attributes['class'] .= ' category-item-actions item-actions';
$hasitems = false;
foreach ($actions as $key => $action) {
$hasitems = true;
$menu->add(new action_menu_link(
$action['url'],
$action['icon'],
$action['string'],
in_array($key, array('show', 'hide', 'moveup', 'movedown')),
array('data-action' => $key, 'class' => 'action-'.$key)
));
}
if (!$hasitems) {
return '';
}
// If the action menu has items, add the menubar role to the main element containing it.
$menu->attributes['role'] = 'menubar';
return $this->render($menu);
}
public function render_action_menu($menu) {
return $this->output->render($menu);
}
/**
* Renders bulk actions for categories.
*
* @param core_course_category $category The currently selected category if there is one.
* @return string
*/
public function category_bulk_actions(core_course_category $category = null) {
// Resort courses.
// Change parent.
if (!core_course_category::can_resort_any() && !core_course_category::can_change_parent_any()) {
return '';
}
$strgo = new lang_string('go');
$html = html_writer::start_div('category-bulk-actions bulk-actions');
$html .= html_writer::div(get_string('categorybulkaction'), 'accesshide', array('tabindex' => '0'));
if (core_course_category::can_resort_any()) {
$selectoptions = array(
'selectedcategories' => get_string('selectedcategories'),
'allcategories' => get_string('allcategories')
);
$form = html_writer::start_div();
if ($category) {
$selectoptions = array('thiscategory' => get_string('thiscategory')) + $selectoptions;
$form .= html_writer::empty_tag('input', array('type' => 'hidden', 'name' => 'currentcategoryid', 'value' => $category->id));
}
$form .= html_writer::div(
html_writer::select(
$selectoptions,
'selectsortby',
'selectedcategories',
false,
array('aria-label' => get_string('selectcategorysort'))
)
);
$form .= html_writer::div(
html_writer::select(
array(
'name' => get_string('sortbyx', 'moodle', get_string('categoryname')),
'namedesc' => get_string('sortbyxreverse', 'moodle', get_string('categoryname')),
'idnumber' => get_string('sortbyx', 'moodle', get_string('idnumbercoursecategory')),
'idnumberdesc' => get_string('sortbyxreverse' , 'moodle' , get_string('idnumbercoursecategory')),
'none' => get_string('dontsortcategories')
),
'resortcategoriesby',
'name',
false,
array('aria-label' => get_string('selectcategorysortby'), 'class' => 'mt-1')
)
);
$form .= html_writer::div(
html_writer::select(
array(
'fullname' => get_string('sortbyx', 'moodle', get_string('fullnamecourse')),
'fullnamedesc' => get_string('sortbyxreverse', 'moodle', get_string('fullnamecourse')),
'shortname' => get_string('sortbyx', 'moodle', get_string('shortnamecourse')),
'shortnamedesc' => get_string('sortbyxreverse', 'moodle', get_string('shortnamecourse')),
'idnumber' => get_string('sortbyx', 'moodle', get_string('idnumbercourse')),
'idnumberdesc' => get_string('sortbyxreverse', 'moodle', get_string('idnumbercourse')),
'timecreated' => get_string('sortbyx', 'moodle', get_string('timecreatedcourse')),
'timecreateddesc' => get_string('sortbyxreverse', 'moodle', get_string('timecreatedcourse')),
'none' => get_string('dontsortcourses')
),
'resortcoursesby',
'fullname',
false,
array('aria-label' => get_string('selectcoursesortby'), 'class' => 'mt-1')
)
);
$form .= html_writer::empty_tag('input', array('type' => 'submit', 'name' => 'bulksort',
'value' => get_string('sort'), 'class' => 'btn btn-secondary my-1'));
$form .= html_writer::end_div();
$html .= html_writer::start_div('detail-pair row yui3-g my-1');
$html .= html_writer::div(html_writer::span(get_string('sorting')), 'pair-key col-md-3 yui3-u-1-4');
$html .= html_writer::div($form, 'pair-value col-md-9 yui3-u-3-4');
$html .= html_writer::end_div();
}
if (core_course_category::can_change_parent_any()) {
$options = array();
if (core_course_category::top()->has_manage_capability()) {
$options[0] = core_course_category::top()->get_formatted_name();
}
$options += core_course_category::make_categories_list('moodle/category:manage');
$select = html_writer::select(
$options,
'movecategoriesto',
'',
array('' => 'choosedots'),
array('aria-labelledby' => 'moveselectedcategoriesto', 'class' => 'mr-1')
);
$submit = array('type' => 'submit', 'name' => 'bulkmovecategories', 'value' => get_string('move'),
'class' => 'btn btn-secondary');
$html .= $this->detail_pair(
html_writer::span(get_string('moveselectedcategoriesto'), '', array('id' => 'moveselectedcategoriesto')),
$select . html_writer::empty_tag('input', $submit)
);
}
$html .= html_writer::end_div();
return $html;
}
/**
* Renders a course listing.
*
* @param core_course_category $category The currently selected category. This is what the listing is focused on.
* @param core_course_list_element $course The currently selected course.
* @param int $page The page being displayed.
* @param int $perpage The number of courses to display per page.
* @param string|null $viewmode The view mode the page is in, one out of 'default', 'combined', 'courses' or 'categories'.
* @return string
*/
public function course_listing(core_course_category $category = null, core_course_list_element $course = null,
$page = 0, $perpage = 20, $viewmode = 'default') {
if ($category === null) {
$html = html_writer::start_div('select-a-category');
$html .= html_writer::tag('h3', get_string('courses'),
array('id' => 'course-listing-title', 'tabindex' => '0'));
$html .= $this->output->notification(get_string('selectacategory'), 'notifymessage');
$html .= html_writer::end_div();
return $html;
}
$page = max($page, 0);
$perpage = max($perpage, 2);
$totalcourses = $category->coursecount;
$totalpages = ceil($totalcourses / $perpage);
if ($page > $totalpages - 1) {
$page = $totalpages - 1;
}
$options = array(
'offset' => $page * $perpage,
'limit' => $perpage
);
$courseid = isset($course) ? $course->id : null;
$class = '';
if ($page === 0) {
$class .= ' firstpage';
}
if ($page + 1 === (int)$totalpages) {
$class .= ' lastpage';
}
$html = html_writer::start_div('card course-listing w-100'.$class, array(
'data-category' => $category->id,
'data-page' => $page,
'data-totalpages' => $totalpages,
'data-totalcourses' => $totalcourses,
'data-canmoveoutof' => $category->can_move_courses_out_of() && $category->can_move_courses_into()
));
$html .= html_writer::tag('h3', $category->get_formatted_name(),
array('id' => 'course-listing-title', 'tabindex' => '0', 'class' => 'card-header'));
$html .= html_writer::start_div('card-body');
$html .= $this->course_listing_actions($category, $course, $perpage);
$html .= $this->listing_pagination($category, $page, $perpage, false, $viewmode);
$html .= html_writer::start_tag('ul', array('class' => 'ml course-list'));
foreach ($category->get_courses($options) as $listitem) {
$html .= $this->course_listitem($category, $listitem, $courseid);
}
$html .= html_writer::end_tag('ul');
$html .= $this->listing_pagination($category, $page, $perpage, true, $viewmode);
$html .= $this->course_bulk_actions($category);
$html .= html_writer::end_div();
$html .= html_writer::end_div();
return $html;
}
/**
* Renders pagination for a course listing.
*
* @param core_course_category $category The category to produce pagination for.
* @param int $page The current page.
* @param int $perpage The number of courses to display per page.
* @param bool $showtotals Set to true to show the total number of courses and what is being displayed.
* @param string|null $viewmode The view mode the page is in, one out of 'default', 'combined', 'courses' or 'categories'.
* @return string
*/
protected function listing_pagination(core_course_category $category, $page, $perpage, $showtotals = false,
$viewmode = 'default') {
$html = '';
$totalcourses = $category->get_courses_count();
$totalpages = ceil($totalcourses / $perpage);
if ($showtotals) {
if ($totalpages == 0) {
$str = get_string('nocoursesyet');
} else if ($totalpages == 1) {
$str = get_string('showingacourses', 'moodle', $totalcourses);
} else {
$a = new stdClass;
$a->start = ($page * $perpage) + 1;
$a->end = min((($page + 1) * $perpage), $totalcourses);
$a->total = $totalcourses;
$str = get_string('showingxofycourses', 'moodle', $a);
}
$html .= html_writer::div($str, 'listing-pagination-totals text-muted');
}
if ($viewmode !== 'default') {
$baseurl = new moodle_url('/course/management.php', array('categoryid' => $category->id,
'view' => $viewmode));
} else {
$baseurl = new moodle_url('/course/management.php', array('categoryid' => $category->id));
}
$html .= $this->output->paging_bar($totalcourses, $page, $perpage, $baseurl);
return $html;
}
/**
* Renderers a course list item.
*
* This function will be called for every course being displayed by course_listing.
*
* @param core_course_category $category The currently selected category and the category the course belongs to.
* @param core_course_list_element $course The course to produce HTML for.
* @param int $selectedcourse The id of the currently selected course.
* @return string
*/
public function course_listitem(core_course_category $category, core_course_list_element $course, $selectedcourse) {
$text = $course->get_formatted_name();
$attributes = array(
'class' => 'listitem listitem-course list-group-item list-group-item-action',
'data-id' => $course->id,
'data-selected' => ($selectedcourse == $course->id) ? '1' : '0',
'data-visible' => $course->visible ? '1' : '0'
);
$bulkcourseinput = array(
'id' => 'courselistitem' . $course->id,
'type' => 'checkbox',
'name' => 'bc[]',
'value' => $course->id,
'class' => 'bulk-action-checkbox custom-control-input',
'data-action' => 'select'
);
$checkboxclass = '';
if (!$category->has_manage_capability()) {
// Very very hardcoded here.
$checkboxclass = 'd-none';
}
$viewcourseurl = new moodle_url($this->page->url, array('courseid' => $course->id));
$html = html_writer::start_tag('li', $attributes);
$html .= html_writer::start_div('d-flex flex-wrap');
if ($category->can_resort_courses()) {
// In order for dnd to be available the user must be able to resort the category children..
$html .= html_writer::div($this->output->pix_icon('i/move_2d', get_string('dndcourse')), 'float-left drag-handle');
}
$html .= html_writer::start_div('float-left ' . $checkboxclass);
$html .= html_writer::start_div('custom-control custom-checkbox mr-1 ');
$html .= html_writer::empty_tag('input', $bulkcourseinput);
$labeltext = html_writer::span(get_string('bulkactionselect', 'moodle', $text), 'sr-only');
$html .= html_writer::tag('label', $labeltext, array(
'class' => 'custom-control-label',
'for' => 'courselistitem' . $course->id));
$html .= html_writer::end_div();
$html .= html_writer::end_div();
$html .= html_writer::link(
$viewcourseurl, $text, array('class' => 'text-break col pl-0 mb-2 coursename aalink')
);
$html .= html_writer::start_div('flex-shrink-0 ml-auto');
if ($course->idnumber) {
$html .= html_writer::tag('span', s($course->idnumber), array('class' => 'text-muted idnumber'));
}
$html .= $this->course_listitem_actions($category, $course);
$html .= html_writer::end_div();
$html .= html_writer::end_div();
$html .= html_writer::end_tag('li');
return $html;
}
/**
* Renderers actions for the course listing.
*
* Not to be confused with course_listitem_actions which renderers the actions for individual courses.
*
* @param core_course_category $category
* @param core_course_list_element $course The currently selected course.
* @param int $perpage
* @return string
*/
public function course_listing_actions(core_course_category $category, core_course_list_element $course = null, $perpage = 20) {
$actions = array();
if ($category->can_create_course()) {
$url = new moodle_url('/course/edit.php', array('category' => $category->id, 'returnto' => 'catmanage'));
$actions[] = html_writer::link($url, get_string('createnewcourse'), array('class' => 'btn btn-secondary'));
}
if ($category->can_request_course()) {
// Request a new course.
$url = new moodle_url('/course/request.php', array('category' => $category->id, 'return' => 'management'));
$actions[] = html_writer::link($url, get_string('requestcourse'));
}
if ($category->can_resort_courses()) {
$params = $this->page->url->params();
$params['action'] = 'resortcourses';
$params['sesskey'] = sesskey();
$baseurl = new moodle_url('/course/management.php', $params);
$fullnameurl = new moodle_url($baseurl, array('resort' => 'fullname'));
$fullnameurldesc = new moodle_url($baseurl, array('resort' => 'fullnamedesc'));
$shortnameurl = new moodle_url($baseurl, array('resort' => 'shortname'));
$shortnameurldesc = new moodle_url($baseurl, array('resort' => 'shortnamedesc'));
$idnumberurl = new moodle_url($baseurl, array('resort' => 'idnumber'));
$idnumberdescurl = new moodle_url($baseurl, array('resort' => 'idnumberdesc'));
$timecreatedurl = new moodle_url($baseurl, array('resort' => 'timecreated'));
$timecreateddescurl = new moodle_url($baseurl, array('resort' => 'timecreateddesc'));
$menu = new action_menu(array(
new action_menu_link_secondary($fullnameurl,
null,
get_string('sortbyx', 'moodle', get_string('fullnamecourse'))),
new action_menu_link_secondary($fullnameurldesc,
null,
get_string('sortbyxreverse', 'moodle', get_string('fullnamecourse'))),
new action_menu_link_secondary($shortnameurl,
null,
get_string('sortbyx', 'moodle', get_string('shortnamecourse'))),
new action_menu_link_secondary($shortnameurldesc,
null,
get_string('sortbyxreverse', 'moodle', get_string('shortnamecourse'))),
new action_menu_link_secondary($idnumberurl,
null,
get_string('sortbyx', 'moodle', get_string('idnumbercourse'))),
new action_menu_link_secondary($idnumberdescurl,
null,
get_string('sortbyxreverse', 'moodle', get_string('idnumbercourse'))),
new action_menu_link_secondary($timecreatedurl,
null,
get_string('sortbyx', 'moodle', get_string('timecreatedcourse'))),
new action_menu_link_secondary($timecreateddescurl,
null,
get_string('sortbyxreverse', 'moodle', get_string('timecreatedcourse')))
));
$menu->set_menu_trigger(get_string('resortcourses'));
$actions[] = $this->render($menu);
}
$strall = get_string('all');
$menu = new action_menu(array(
new action_menu_link_secondary(new moodle_url($this->page->url, array('perpage' => 5)), null, 5),
new action_menu_link_secondary(new moodle_url($this->page->url, array('perpage' => 10)), null, 10),
new action_menu_link_secondary(new moodle_url($this->page->url, array('perpage' => 20)), null, 20),
new action_menu_link_secondary(new moodle_url($this->page->url, array('perpage' => 50)), null, 50),
new action_menu_link_secondary(new moodle_url($this->page->url, array('perpage' => 100)), null, 100),
new action_menu_link_secondary(new moodle_url($this->page->url, array('perpage' => 999)), null, $strall),
));
if ((int)$perpage === 999) {
$perpage = $strall;
}
$menu->attributes['class'] .= ' courses-per-page';
$menu->set_menu_trigger(get_string('perpagea', 'moodle', $perpage));
$actions[] = $this->render($menu);
return html_writer::div(join(' ', $actions), 'listing-actions course-listing-actions');
}
/**
* Renderers actions for individual course actions.
*
* @param core_course_category $category The currently selected category.
* @param core_course_list_element $course The course to renderer actions for.
* @return string
*/
public function course_listitem_actions(core_course_category $category, core_course_list_element $course) {
$actions = \core_course\management\helper::get_course_listitem_actions($category, $course);
if (empty($actions)) {
return '';
}
$actionshtml = array();
foreach ($actions as $action) {
$action['attributes']['role'] = 'button';
$actionshtml[] = $this->output->action_icon($action['url'], $action['icon'], null, $action['attributes']);
}
return html_writer::span(join('', $actionshtml), 'course-item-actions item-actions mr-0');
}
/**
* Renderers bulk actions that can be performed on courses.
*
* @param core_course_category $category The currently selected category and the category in which courses that
* are selectable belong.
* @return string
*/
public function course_bulk_actions(core_course_category $category) {
$html = html_writer::start_div('course-bulk-actions bulk-actions');
if ($category->can_move_courses_out_of()) {
$html .= html_writer::div(get_string('coursebulkaction'), 'accesshide', array('tabindex' => '0'));
$options = core_course_category::make_categories_list('moodle/category:manage');
$select = html_writer::select(
$options,
'movecoursesto',
'',
array('' => 'choosedots'),
array('aria-labelledby' => 'moveselectedcoursesto', 'class' => 'mr-1')
);
$submit = array('type' => 'submit', 'name' => 'bulkmovecourses', 'value' => get_string('move'),
'class' => 'btn btn-secondary');
$html .= $this->detail_pair(
html_writer::span(get_string('moveselectedcoursesto'), '', array('id' => 'moveselectedcoursesto')),
$select . html_writer::empty_tag('input', $submit)
);
}
$html .= html_writer::end_div();
return $html;
}
/**
* Renderers bulk actions that can be performed on courses in search returns
*
* @return string
*/
public function course_search_bulk_actions() {
$html = html_writer::start_div('course-bulk-actions bulk-actions');
$html .= html_writer::div(get_string('coursebulkaction'), 'accesshide', array('tabindex' => '0'));
$options = core_course_category::make_categories_list('moodle/category:manage');
$select = html_writer::select(
$options,
'movecoursesto',
'',
array('' => 'choosedots'),
array('aria-labelledby' => 'moveselectedcoursesto')
);
$submit = array('type' => 'submit', 'name' => 'bulkmovecourses', 'value' => get_string('move'),
'class' => 'btn btn-secondary');
$html .= $this->detail_pair(
html_writer::span(get_string('moveselectedcoursesto'), '', array('id' => 'moveselectedcoursesto')),
$select . html_writer::empty_tag('input', $submit)
);
$html .= html_writer::end_div();
return $html;
}
/**
* Renderers detailed course information.
*
* @param core_course_list_element $course The course to display details for.
* @return string
*/
public function course_detail(core_course_list_element $course) {
$details = \core_course\management\helper::get_course_detail_array($course);
$fullname = $details['fullname']['value'];
$html = html_writer::start_div('course-detail card');
$html .= html_writer::start_div('card-header');
$html .= html_writer::tag('h3', $fullname, array('id' => 'course-detail-title',
'class' => 'card-title', 'tabindex' => '0'));
$html .= html_writer::end_div();
$html .= html_writer::start_div('card-body');
$html .= $this->course_detail_actions($course);
foreach ($details as $class => $data) {
$html .= $this->detail_pair($data['key'], $data['value'], $class);
}
$html .= html_writer::end_div();
$html .= html_writer::end_div();
return $html;
}
/**
* Renderers a key value pair of information for display.
*
* @param string $key
* @param string $value
* @param string $class
* @return string
*/
protected function detail_pair($key, $value, $class ='') {
$html = html_writer::start_div('detail-pair row yui3-g '.preg_replace('#[^a-zA-Z0-9_\-]#', '-', $class));
$html .= html_writer::div(html_writer::span($key), 'pair-key col-md-3 yui3-u-1-4 font-weight-bold');
$html .= html_writer::div(html_writer::span($value), 'pair-value col-md-8 yui3-u-3-4');
$html .= html_writer::end_div();
return $html;
}
/**
* A collection of actions for a course.
*
* @param core_course_list_element $course The course to display actions for.
* @return string
*/
public function course_detail_actions(core_course_list_element $course) {
$actions = \core_course\management\helper::get_course_detail_actions($course);
if (empty($actions)) {
return '';
}
$options = array();
foreach ($actions as $action) {
$options[] = $this->action_link($action['url'], $action['string'], null,
array('class' => 'btn btn-sm btn-secondary mr-1 mb-3'));
}
return html_writer::div(join('', $options), 'listing-actions course-detail-listing-actions');
}
/**
* Creates an action button (styled link)
*
* @param moodle_url $url The URL to go to when clicked.
* @param string $text The text for the button.
* @param string $id An id to give the button.
* @param string $class A class to give the button.
* @param array $attributes Any additional attributes
* @return string
*/
protected function action_button(moodle_url $url, $text, $id = null, $class = null, $title = null, array $attributes = array()) {
if (isset($attributes['class'])) {
$attributes['class'] .= ' yui3-button';
} else {
$attributes['class'] = 'yui3-button';
}
if (!is_null($id)) {
$attributes['id'] = $id;
}
if (!is_null($class)) {
$attributes['class'] .= ' '.$class;
}
if (is_null($title)) {
$title = $text;
}
$attributes['title'] = $title;
if (!isset($attributes['role'])) {
$attributes['role'] = 'button';
}
return html_writer::link($url, $text, $attributes);
}
/**
* Opens a grid.
*
* Call {@link core_course_management_renderer::grid_column_start()} to create columns.
*
* @param string $id An id to give this grid.
* @param string $class A class to give this grid.
* @return string
*/
public function grid_start($id = null, $class = null) {
$gridclass = 'grid-start grid-row-r d-flex flex-wrap row';
if (is_null($class)) {
$class = $gridclass;
} else {
$class .= ' ' . $gridclass;
}
$attributes = array();
if (!is_null($id)) {
$attributes['id'] = $id;
}
return html_writer::start_div($class, $attributes);
}
/**
* Closes the grid.
*
* @return string
*/
public function grid_end() {
return html_writer::end_div();
}
/**
* Opens a grid column
*
* @param int $size The number of segments this column should span.
* @param string $id An id to give the column.
* @param string $class A class to give the column.
* @return string
*/
public function grid_column_start($size, $id = null, $class = null) {
if ($id == 'course-detail') {
$size = 12;
$bootstrapclass = 'col-md-'.$size;
} else {
$bootstrapclass = 'd-flex flex-wrap px-3 mb-3';
}
$yuigridclass = "col-sm";
if (in_array($size, [4, 5, 7])) {
$yuigridclass = "col-12 col-lg-6";
}
if (is_null($class)) {
$class = $yuigridclass . ' ' . $bootstrapclass;
} else {
$class .= ' ' . $yuigridclass . ' ' . $bootstrapclass;
}
$attributes = array();
if (!is_null($id)) {
$attributes['id'] = $id;
}
return html_writer::start_div($class . " grid_column_start", $attributes);
}
/**
* Closes a grid column.
*
* @return string
*/
public function grid_column_end() {
return html_writer::end_div();
}
/**
* Renders an action_icon.
*
* This function uses the {@link core_renderer::action_link()} method for the
* most part. What it does different is prepare the icon as HTML and use it
* as the link text.
*
* @param string|moodle_url $url A string URL or moodel_url
* @param pix_icon $pixicon
* @param component_action $action
* @param array $attributes associative array of html link attributes + disabled
* @param bool $linktext show title next to image in link
* @return string HTML fragment
*/
public function action_icon($url, pix_icon $pixicon, component_action $action = null,
array $attributes = null, $linktext = false) {
if (!($url instanceof moodle_url)) {
$url = new moodle_url($url);
}
$attributes = (array)$attributes;
if (empty($attributes['class'])) {
// Let devs override the class via $attributes.
$attributes['class'] = 'action-icon';
}
$icon = $this->render($pixicon);
if ($linktext) {
$text = $pixicon->attributes['alt'];
} else {
$text = '';
}
return $this->action_link($url, $icon.$text, $action, $attributes);
}
/**
* Displays a view mode selector.
*
* @param array $modes An array of view modes.
* @param string $currentmode The current view mode.
* @param moodle_url $url The URL to use when changing actions. Defaults to the page URL.
* @param string $param The param name.
* @return string
*/
public function view_mode_selector(array $modes, $currentmode, moodle_url $url = null, $param = 'view') {
if ($url === null) {
$url = $this->page->url;
}
$menu = new action_menu;
$menu->attributes['class'] .= ' view-mode-selector vms ml-1';
$selected = null;
foreach ($modes as $mode => $modestr) {
$attributes = array(
'class' => 'vms-mode',
'data-mode' => $mode
);
if ($currentmode === $mode) {
$attributes['class'] .= ' currentmode';
$selected = $modestr;
}
if ($selected === null) {
$selected = $modestr;
}
$modeurl = new moodle_url($url, array($param => $mode));
if ($mode === 'default') {
$modeurl->remove_params($param);
}
$menu->add(new action_menu_link_secondary($modeurl, null, $modestr, $attributes));
}
$menu->set_menu_trigger($selected);
$html = html_writer::start_div('view-mode-selector vms d-flex');
$html .= get_string('viewing').' '.$this->render($menu);
$html .= html_writer::end_div();
return $html;
}
/**
* Displays a search result listing.
*
* @param array $courses The courses to display.
* @param int $totalcourses The total number of courses to display.
* @param core_course_list_element $course The currently selected course if there is one.
* @param int $page The current page, starting at 0.
* @param int $perpage The number of courses to display per page.
* @param string $search The string we are searching for.
* @return string
*/
public function search_listing(array $courses, $totalcourses, core_course_list_element $course = null, $page = 0, $perpage = 20,
$search = '') {
$page = max($page, 0);
$perpage = max($perpage, 2);
$totalpages = ceil($totalcourses / $perpage);
if ($page > $totalpages - 1) {
$page = $totalpages - 1;
}
$courseid = isset($course) ? $course->id : null;
$first = true;
$last = false;
$i = $page * $perpage;
$html = html_writer::start_div('course-listing w-100', array(
'data-category' => 'search',
'data-page' => $page,
'data-totalpages' => $totalpages,
'data-totalcourses' => $totalcourses
));
$html .= html_writer::tag('h3', get_string('courses'));
$html .= $this->search_pagination($totalcourses, $page, $perpage);
$html .= html_writer::start_tag('ul', array('class' => 'ml'));
foreach ($courses as $listitem) {
$i++;
if ($i == $totalcourses) {
$last = true;
}
$html .= $this->search_listitem($listitem, $courseid, $first, $last);
$first = false;
}
$html .= html_writer::end_tag('ul');
$html .= $this->search_pagination($totalcourses, $page, $perpage, true, $search);
$html .= $this->course_search_bulk_actions();
$html .= html_writer::end_div();
return $html;
}
/**
* Displays pagination for search results.
*
* @param int $totalcourses The total number of courses to be displayed.
* @param int $page The current page.
* @param int $perpage The number of courses being displayed.
* @param bool $showtotals Whether or not to print total information.
* @param string $search The string we are searching for.
* @return string
*/
protected function search_pagination($totalcourses, $page, $perpage, $showtotals = false, $search = '') {
$html = '';
$totalpages = ceil($totalcourses / $perpage);
if ($showtotals) {
if ($totalpages == 0) {
$str = get_string('nocoursesfound', 'moodle', s($search));
} else if ($totalpages == 1) {
$str = get_string('showingacourses', 'moodle', $totalcourses);
} else {
$a = new stdClass;
$a->start = ($page * $perpage) + 1;
$a->end = min((($page + 1) * $perpage), $totalcourses);
$a->total = $totalcourses;
$str = get_string('showingxofycourses', 'moodle', $a);
}
$html .= html_writer::div($str, 'listing-pagination-totals text-muted');
}
if ($totalcourses < $perpage) {
return $html;
}
$aside = 2;
$span = $aside * 2 + 1;
$start = max($page - $aside, 0);
$end = min($page + $aside, $totalpages - 1);
if (($end - $start) < $span) {
if ($start == 0) {
$end = min($totalpages - 1, $span - 1);
} else if ($end == ($totalpages - 1)) {
$start = max(0, $end - $span + 1);
}
}
$items = array();
$baseurl = $this->page->url;
if ($page > 0) {
$items[] = $this->action_button(new moodle_url($baseurl, array('page' => 0)), get_string('first'));
$items[] = $this->action_button(new moodle_url($baseurl, array('page' => $page - 1)), get_string('prev'));
$items[] = '...';
}
for ($i = $start; $i <= $end; $i++) {
$class = '';
if ($page == $i) {
$class = 'active-page';
}
$items[] = $this->action_button(new moodle_url($baseurl, array('page' => $i)), $i + 1, null, $class);
}
if ($page < ($totalpages - 1)) {
$items[] = '...';
$items[] = $this->action_button(new moodle_url($baseurl, array('page' => $page + 1)), get_string('next'));
$items[] = $this->action_button(new moodle_url($baseurl, array('page' => $totalpages - 1)), get_string('last'));
}
$html .= html_writer::div(join('', $items), 'listing-pagination');
return $html;
}
/**
* Renderers a search result course list item.
*
* This function will be called for every course being displayed by course_listing.
*
* @param core_course_list_element $course The course to produce HTML for.
* @param int $selectedcourse The id of the currently selected course.
* @return string
*/
public function search_listitem(core_course_list_element $course, $selectedcourse) {
$text = $course->get_formatted_name();
$attributes = array(
'class' => 'listitem listitem-course list-group-item list-group-item-action',
'data-id' => $course->id,
'data-selected' => ($selectedcourse == $course->id) ? '1' : '0',
'data-visible' => $course->visible ? '1' : '0'
);
$bulkcourseinput = '';
if (core_course_category::get($course->category)->can_move_courses_out_of()) {
$bulkcourseinput = array(
'type' => 'checkbox',
'id' => 'coursesearchlistitem' . $course->id,
'name' => 'bc[]',
'value' => $course->id,
'class' => 'bulk-action-checkbox custom-control-input',
'data-action' => 'select'
);
}
$viewcourseurl = new moodle_url($this->page->url, array('courseid' => $course->id));
$categoryname = core_course_category::get($course->category)->get_formatted_name();
$html = html_writer::start_tag('li', $attributes);
$html .= html_writer::start_div('clearfix');
$html .= html_writer::start_div('float-left');
if ($bulkcourseinput) {
$html .= html_writer::start_div('custom-control custom-checkbox mr-1');
$html .= html_writer::empty_tag('input', $bulkcourseinput);
$labeltext = html_writer::span(get_string('bulkactionselect', 'moodle', $text), 'sr-only');
$html .= html_writer::tag('label', $labeltext, array(
'class' => 'custom-control-label',
'for' => 'coursesearchlistitem' . $course->id));
$html .= html_writer::end_div();
}
$html .= html_writer::end_div();
$html .= html_writer::link($viewcourseurl, $text, array('class' => 'float-left coursename aalink'));
$html .= html_writer::tag('span', $categoryname, array('class' => 'float-left ml-3 text-muted'));
$html .= html_writer::start_div('float-right');
$html .= $this->search_listitem_actions($course);
$html .= html_writer::tag('span', s($course->idnumber), array('class' => 'text-muted idnumber'));
$html .= html_writer::end_div();
$html .= html_writer::end_div();
$html .= html_writer::end_tag('li');
return $html;
}
/**
* Renderers actions for individual course actions.
*
* @param core_course_list_element $course The course to renderer actions for.
* @return string
*/
public function search_listitem_actions(core_course_list_element $course) {
$baseurl = new moodle_url(
'/course/managementsearch.php',
array('courseid' => $course->id, 'categoryid' => $course->category, 'sesskey' => sesskey())
);
$actions = array();
// Edit.
if ($course->can_access()) {
if ($course->can_edit()) {
$actions[] = $this->output->action_icon(
new moodle_url('/course/edit.php', array('id' => $course->id)),
new pix_icon('t/edit', get_string('edit')),
null,
array('class' => 'action-edit')
);
}
// Delete.
if ($course->can_delete()) {
$actions[] = $this->output->action_icon(
new moodle_url('/course/delete.php', array('id' => $course->id)),
new pix_icon('t/delete', get_string('delete')),
null,
array('class' => 'action-delete')
);
}
// Show/Hide.
if ($course->can_change_visibility()) {
$actions[] = $this->output->action_icon(
new moodle_url($baseurl, array('action' => 'hidecourse')),
new pix_icon('t/hide', get_string('hide')),
null,
array('data-action' => 'hide', 'class' => 'action-hide')
);
$actions[] = $this->output->action_icon(
new moodle_url($baseurl, array('action' => 'showcourse')),
new pix_icon('t/show', get_string('show')),
null,
array('data-action' => 'show', 'class' => 'action-show')
);
}
}
if (empty($actions)) {
return '';
}
return html_writer::span(join('', $actions), 'course-item-actions item-actions');
}
/**
* Renders html to display a course search form
*
* @deprecated since Moodle 4.0. This is now handled within manage_categories_action_bar
* @todo Final deprecation MDL-73975
* @param string $value default value to populate the search field
* @return string
*/
public function course_search_form($value = '') {
debugging('course_search_form() is deprecated. Use the class manage_categories_action_bar instead.', DEBUG_DEVELOPER);
$data = [
'action' => new moodle_url('/course/management.php'),
'btnclass' => 'btn-primary',
'extraclasses' => 'my-3 d-flex justify-content-center',
'inputname' => 'search',
'searchstring' => get_string('searchcourses'),
'value' => $value
];
return $this->render_from_template('core/search_input', $data);
}
/**
* Creates access hidden skip to links for the displayed sections.
*
* @param bool $displaycategorylisting
* @param bool $displaycourselisting
* @param bool $displaycoursedetail
* @return string
*/
public function accessible_skipto_links($displaycategorylisting, $displaycourselisting, $displaycoursedetail) {
$html = html_writer::start_div('skiplinks accesshide');
$url = new moodle_url($this->page->url);
if ($displaycategorylisting) {
$url->set_anchor('category-listing');
$html .= html_writer::link($url, get_string('skiptocategorylisting'), array('class' => 'skip'));
}
if ($displaycourselisting) {
$url->set_anchor('course-listing');
$html .= html_writer::link($url, get_string('skiptocourselisting'), array('class' => 'skip'));
}
if ($displaycoursedetail) {
$url->set_anchor('course-detail');
$html .= html_writer::link($url, get_string('skiptocoursedetails'), array('class' => 'skip'));
}
$html .= html_writer::end_div();
return $html;
}
/**
* Render the tertiary nav for the manage categories page.
*
* @param \core_course\output\manage_categories_action_bar $actionbar
* @return string The renderered template
*/
public function render_action_bar(\core_course\output\manage_categories_action_bar $actionbar): string {
return $this->render_from_template('core_course/manage_category_actionbar', $actionbar->export_for_template($this));
}
}
, | [
1,
835,
8010,
29901,
1315,
1514,
13,
2277,
29937,
12953,
29901,
16963,
3450,
10854,
362,
23315,
363,
341,
2092,
280,
365,
4345,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
15775,
29914,
13203,
29914,
21895,
29918,
9482,
261,
29889,
1961,
13,
835,
10576,
29901,
8169,
1961,
13,
458,
910,
934,
338,
760,
310,
341,
2092,
280,
448,
1732,
597,
29885,
2092,
280,
29889,
990,
29914,
13,
458,
13,
458,
341,
2092,
280,
338,
3889,
7047,
29901,
366,
508,
2654,
391,
2666,
372,
322,
29914,
272,
6623,
13,
458,
372,
1090,
278,
4958,
310,
278,
15143,
4593,
5236,
19245,
408,
6369,
491,
13,
458,
278,
12362,
18540,
10606,
29892,
2845,
1873,
29871,
29941,
310,
278,
19245,
29892,
470,
13,
458,
313,
271,
596,
2984,
29897,
738,
2678,
1873,
29889,
13,
458,
13,
458,
341,
2092,
280,
338,
13235,
297,
278,
4966,
393,
372,
674,
367,
5407,
29892,
13,
458,
541,
399,
1806,
8187,
2692,
13764,
29979,
399,
1718,
29934,
13566,
29979,
29936,
1728,
1584,
278,
2411,
2957,
1370,
21867,
29891,
310,
13,
458,
341,
1001,
3210,
13566,
2882,
6227,
11937,
470,
383,
1806,
8186,
1799,
15842,
319,
349,
8322,
2965,
13309,
1718,
349,
4574,
13152,
1660,
29889,
29871,
2823,
278,
13,
458,
15143,
4593,
5236,
19245,
363,
901,
4902,
29889,
13,
458,
13,
458,
887,
881,
505,
4520,
263,
3509,
310,
278,
15143,
4593,
5236,
19245,
13,
458,
3412,
411,
341,
2092,
280,
29889,
29871,
960,
451,
29892,
1074,
529,
1124,
597,
1636,
29889,
18713,
29889,
990,
29914,
506,
11259,
3779,
29889,
13,
13,
7918,
13,
334,
2866,
2708,
4050,
414,
363,
278,
3236,
10643,
6515,
29889,
13,
334,
13,
334,
732,
5113,
7136,
29918,
15775,
13,
334,
732,
8552,
1266,
29871,
29906,
29900,
29896,
29941,
3685,
20863,
295,
719,
29895,
13,
334,
732,
506,
1947,
1732,
597,
1636,
29889,
18713,
29889,
990,
29914,
9708,
1508,
615,
29914,
29887,
572,
29889,
1420,
15143,
402,
7390,
325,
29941,
470,
2678,
13,
3776,
13,
13,
12119,
877,
6720,
13668,
1307,
29918,
23845,
29940,
1964,
1495,
3830,
762,
29936,
13,
13,
12277,
29918,
10646,
1566,
9207,
29954,
976,
3972,
4632,
6169,
29914,
15775,
29914,
9482,
261,
29889,
1961,
2157,
13,
13,
7918,
13,
334,
4241,
4050,
261,
363,
278,
3236,
10643,
6515,
29889,
13,
334,
13,
334,
732,
5113,
7136,
29918,
15775,
13,
334,
732,
8552,
1266,
29871,
29906,
29900,
29896,
29941,
3685,
20863,
295,
719,
29895,
13,
334,
732,
506,
1947,
1732,
597,
1636,
29889,
18713,
29889,
990,
29914,
9708,
1508,
615,
29914,
29887,
572,
29889,
1420,
15143,
402,
7390,
325,
29941,
470,
2678,
13,
3776,
13,
1990,
7136,
29918,
15775,
29918,
21895,
29918,
9482,
261,
4988,
7079,
29918,
9482,
261,
29918,
3188,
426,
13,
13,
1678,
7762,
13,
268,
334,
17250,
4637,
278,
7649,
3734,
304,
26371,
749,
278,
10643,
5067,
29889,
13,
268,
334,
13,
268,
334,
498,
5062,
18513,
29879,
526,
748,
29892,
445,
740,
413,
7358,
964,
330,
799,
278,
7649,
393,
3732,
278,
13,
268,
334,
3236,
10643,
6515,
393,
1568,
12528,
261,
29889,
13,
268,
3776,
13,
1678,
970,
740,
26371,
749,
29918,
21895,
29918,
13248
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
Via The English Room
Doing things that makes me look less at my phone is something that I’m constantly striving to achieve. It’s what I’ve been doing a little bit this week, so apologizes for this delayed post.
Somewhere along the way, I started getting caught up on the things that happen on my phone, such as reading blogs, Pinterest, Facebook, emails, and so on. Life definitely happens beyond my phone. I used to be next to impossible to reach because I never looked at my phone, therefore never answering all these poor people trying to reach me. There is something simple and almost romantic in leading a life without being super attached to my phone.
Posted in Inspirational Words and tagged cooking, looking less at my phone, reading, simple life, walking, yard work on October 7, 2017 by The Beautiful Elements. 1 Comment | [
1,
23306,
450,
4223,
25114,
13,
6132,
292,
2712,
393,
3732,
592,
1106,
3109,
472,
590,
9008,
338,
1554,
393,
306,
30010,
29885,
21003,
380,
1150,
292,
304,
6176,
29889,
739,
30010,
29879,
825,
306,
30010,
345,
1063,
2599,
263,
2217,
2586,
445,
4723,
29892,
577,
27746,
7093,
363,
445,
29801,
1400,
29889,
13,
9526,
3062,
3412,
278,
982,
29892,
306,
4687,
2805,
12624,
701,
373,
278,
2712,
393,
3799,
373,
590,
9008,
29892,
1316,
408,
5183,
12618,
29879,
29892,
349,
1639,
342,
29892,
13327,
29892,
24609,
29892,
322,
577,
373,
29889,
4634,
11630,
5930,
8724,
590,
9008,
29889,
306,
1304,
304,
367,
2446,
304,
9301,
304,
6159,
1363,
306,
2360,
5148,
472,
590,
9008,
29892,
5480,
2360,
22862,
599,
1438,
6460,
2305,
1811,
304,
6159,
592,
29889,
1670,
338,
1554,
2560,
322,
4359,
6017,
7716,
297,
8236,
263,
2834,
1728,
1641,
2428,
10959,
304,
590,
9008,
29889,
13,
6747,
287,
297,
512,
1028,
381,
1288,
399,
4339,
322,
4055,
3192,
7984,
292,
29892,
3063,
3109,
472,
590,
9008,
29892,
5183,
29892,
2560,
2834,
29892,
22049,
29892,
29413,
664,
373,
5533,
29871,
29955,
29892,
29871,
29906,
29900,
29896,
29955,
491,
450,
25685,
10619,
29879,
29889,
29871,
29896,
461,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
summary: Error in availability code when importing activity from old course using PHP8.0
type: Bug
project: Moodle
description: On build 20220315: Attempt to import an activity from one course to another. Traceback: quote30-Mar-2022 11:02:58 Pacific/Auckland Default exception handler: Exception - array_values(): Argument 1 ($array) must be of type array, null given Debug: Error code: generalexceptionmessage line 687 of /availability/classes/tree.php: TypeError thrown line 687 of /availability/classes/tree.php: call to array_values() line 323 of /availability/classes/info.php: call to core_availability\tree->update_after_restore() line 926 of /backup/moodle2/restore_stepslib.php: call to core_availability\info->update_after_restore() line 34 of /backup/util/plan/restore_execution_step.class.php: call to restore_update_availability->define_execution() line 181 of /backup/util/plan/base_task.class.php: call to restore_execution_step->execute() line 191 of /backup/util/plan/base_plan.class.php: call to base_task->execute() line 168 of /backup/util/plan/restore_plan.class.php: call to base_plan->execute() line 394 of /backup/controller/restore_controller.class.php: call to restore_plan->execute() line 193 of /backup/import.php: call to restore_controller->execute_plan() quote It seems this must be a bug rather than "just" duff data, as core_availability\info->update_after_restore() has just created a new tree, which uses decode_availability, which is supposed to either discard invalid data or throw an exception. Attempting to replicate the problem on a dev instance, backing up and then restoring the course did complete successfully. Restoring the same backup onto the original prod instance did not succeed.
comments: 1. We have one instance that this course will restore on, and one on which it wont. Both are now on 3.11.6+ (20220322). Reporting user has now clarified that original activity has restrictions that make it available to particular groups, and these groups do not exist in the course into which he is importing the activity. Seems likely that the groups were inconsistent between restores, and that that would explain why it could work on one system but not the other? Removing the group restrictions from the original activity allowed the import to complete successfully.
2. We now have a case where the source activity has no restrictions but the import is still failing with the same traceback.
3. Seems that the import failed when the target course already had a section with the same name as the one the activity was being imported from. I note that the target section does not show any availability restriction in the UI, but in the db it has: code"op":"&","c":,"showc":code Will test to see whether this being present makes the difference.
4. OK, so when the target section/topic has a group-based availability restriction on it, the import fails. To verify: Find course a and course b, which both have a section n. Ensure section n in course b does not have any restrictions on it. Import an activity from course a section n into course b (should succeed). Place a group-based availability restriction on section n in course b. Repeat the import of the same activity from course a section n into course b (expected to fail with traceback as in description).
5. Hi Nick, thanks for all the investigations, great tracing work! While I prepare here a site to be able to reproduce it... can you confirm if using PHP 7.X (instead of 8.0) you get some PHP Warning instead? Something like "Warning: array_values() expects parameter 1 to be array". Surely to see them (in the browser or in the web server error logs) you should set debug level to developer mode. Ciao :-)
6. Hi again, Im having some problems trying to reproduce the problem... can you confirm if the activity being imported has, also, availability rules on it? Or, another way... can you perform a backup of the activity, without any user information and share it here? Just to discard where the problem is, because Im not sure if its the target section, the activity itself or a combination of both. Ciao :-)
7. This is the pure-php fix for the issue, so we only execute the array_values() call when its not null. No more checks seem needed because the only possible values are null or array (no other scalars are possible). code diff --git a/availability/classes/tree.php b/availability/classes/tree.php index d88cf3a14c3..6f5d08b3711 100644 --- a/availability/classes/tree.php +++ b/availability/classes/tree.php -684,7 +684,7 class tree extends tree_node else unset($this->children$index); unset($this->showchildren$index); - $this->showchildren = array_values($this->showchildren); + $this->showchildren = !is_null($this->showchildren) ? array_values($this->showchildren) : null; $changed = true; code With that code, the null value is applied, because that is the value returned by array_values(null) in older PHP versions (with a PHP warning, now Type Error). Problem here is that Ive not been able to consistently reproduce it. And have tried a number of group conditions both in section, in activity... enabling and disabling "groups and groupings" in restore... with and without groups in target course... and I never, never get the that $this->showchildren being null. Im also pinging here to quen, because maybe he understands a little bit better which the expectation is when $this->showchildren is null, or if there are other possible values apart from null or array. Ive been looking to the availability code and Im not sure to understand how those tree-ish structures work, so surely the quickest is to ask. So, the points are 1) if the proposed code change is correct enough (previously it was a PHP Warning, now a Type Error and thats what we are workarounding, returning null). And... 2) if there is some consistent way to reproduce for testing it. I only have been able to do it by hacking in code, not via configuration, surely because I dont know enough about those internal availability structures). Ciao :-)
8. stronk7 I looked up and this is the comment on showchildren: Array of show information or hide completely options for each child. This array is only set for the root tree if it is in AND or NOT OR mode, otherwise it is null. So I guess, you can reproduce it being null by changing the top-level option to OR mode using the 2 dropdowns there, does it let you change that in the ui? Default I think is AND... Or if you cant change that one then maybe adding a subtree of conditions would work, I think it would always be null in the subtree. The reason behind this is the eye icon which controls, do you see the activity or not if the condition fails. When there are AND conditions, it can be made separately for each condition - eg if it requires date AND completion of something else, maybe you dont see it at all until the date, but then you do see it if you havent completed the thing (telling you that you need to complete the thing). Whereas for OR conditions, it doesnt make sense to have a separate option of each one so it should use the $show property instead of $showchildren.
9. Wow, finally has been able to reproduce it! The trick was to include any group/grouping restriction and then disable groups information on restore/import. And yes (thanks quen!) the conditions needed to be ORed (any) or have subtree. So, to reproduce: In course A, with some grouping (XXXX) existing, create activity (PAGE1) with couple of conditions (of type "MUST match ANY"): Date from DD/MM/YYY or Grouping XXXX Go to course B, it doesnt matter if it has groupings or not. Click on "Course reuse" (or "Import" in older versions). Import "Course A -> PAGE1" ensuring that the "Include groups and groupings" option is disabled/unticked. The error happens. And, nicely, the patch suggested above, prevents the error to happen and everything continues working ok (the grouping restriction is not imported). Curiously, if the condition is AND... then its imported but with "missing groupingid" message. In any case, the patch seems to avoid the NULL problem with PHP8, so Im going to proceed with it. Ciao :-)
10. Sending to peer-review, easy to reproduce with the attached mini.backup. And easy to review too. Ciao :-)
11. :) Code verified against automated checks. ! Checked using repository: - (/) color:greenMOODLE_311_STABLE (0 errors / 0 warnings)color branch: MDL-74358_311| | CI Job| - (/) color:greenMOODLE_400_STABLE (0 errors / 0 warnings)color branch: MDL-74358_400| | CI Job| - (/) color:greenmaster (0 errors / 0 warnings)color branch: | | CI Job| More information about this report|
12. Y Syntax - Output - Component library - Language - Databases Y Testing (instructions and automated tests) - Security - Privacy (see Privacy API) - Performance and Clustering - Documentation Y Git - Third party code Y Sanity check - Icons - The Moodle mobile app / web services - Accessibility (Optional) Change looks good to me and I understand why its necessary. Regarding testing, the test instructions look good so I think this is sufficient. It might be nice to have a unit test but that is not critical given that the change is simple and obvious (...once you know that the value is allowed to be null!) Submitting for IR.
13. :) Code verified against automated checks. ! Checked using repository: - (/) color:greenMOODLE_311_STABLE (0 errors / 0 warnings)color branch: MDL-74358_311| | CI Job| - (/) color:greenMOODLE_400_STABLE (0 errors / 0 warnings)color branch: MDL-74358_400| | CI Job| - (/) color:greenmaster (0 errors / 0 warnings)color branch: | | CI Job| More information about this report|
14. Thanks, Sam! quote It might be nice to have a unit test but that is not critical given that the change is simple and obvious (...once you know that the value is allowed to be null!) quote Yeah, I was debating myself about to create a restore test for it (and looked to availability tests), but finally thought it was not worth it.
15. This issue has been kept under integration and the main moodle.git repository has just been updated with the latest weekly modifications. You may wish to rebase your PULL branches to simplify history and avoid any possible merge conflicts. This would also make integrators life easier next week. TIA and ciao :-)
16. Thanks for working on this, Eloy! Great job tracking this down, everyone! Integrated to master, 400, and 311. Over to testing!
17. Testing has been completed. It is confirmed that issue has been fixed in v3.11, v4.0 and master Testing before patch !MDL-74358_before_1.png|thumbnail!!MDL-74358_before_2.png|thumbnail! Testing after patch !MDL-74358_after_1.png|thumbnail!!MDL-74358_after_2.png|thumbnail!
18. Thanks for your contributions! This change is now available from the main moodle.git repository and will shortly be available on download.moodle.org. Closing as fixed! | [
1,
15837,
29901,
4829,
297,
20847,
3097,
775,
746,
28348,
6354,
515,
2030,
3236,
773,
5048,
29947,
29889,
29900,
13,
1853,
29901,
28209,
13,
4836,
29901,
341,
2092,
280,
13,
8216,
29901,
1551,
2048,
29871,
29906,
29900,
29906,
29906,
29900,
29941,
29896,
29945,
29901,
6212,
3456,
304,
1053,
385,
6354,
515,
697,
3236,
304,
1790,
29889,
29243,
29901,
14978,
29941,
29900,
29899,
7083,
29899,
29906,
29900,
29906,
29906,
29871,
29896,
29896,
29901,
29900,
29906,
29901,
29945,
29947,
14328,
29914,
29909,
2707,
1049,
13109,
3682,
7834,
29901,
8960,
448,
1409,
29918,
5975,
7295,
23125,
29871,
29896,
3255,
2378,
29897,
1818,
367,
310,
1134,
1409,
29892,
1870,
2183,
16171,
29901,
4829,
775,
29901,
21221,
29916,
1441,
4906,
1196,
29871,
29953,
29947,
29955,
310,
847,
485,
737,
3097,
29914,
13203,
29914,
8336,
29889,
1961,
29901,
20948,
12005,
1196,
29871,
29953,
29947,
29955,
310,
847,
485,
737,
3097,
29914,
13203,
29914,
8336,
29889,
1961,
29901,
1246,
304,
1409,
29918,
5975,
580,
1196,
29871,
29941,
29906,
29941,
310,
847,
485,
737,
3097,
29914,
13203,
29914,
3888,
29889,
1961,
29901,
1246,
304,
7136,
29918,
485,
737,
3097,
29905,
8336,
976,
5504,
29918,
7045,
29918,
5060,
487,
580,
1196,
29871,
29929,
29906,
29953,
310,
847,
1627,
786,
29914,
29885,
2092,
280,
29906,
29914,
5060,
487,
29918,
24530,
1982,
29889,
1961,
29901,
1246,
304,
7136,
29918,
485,
737,
3097,
29905,
3888,
976,
5504,
29918,
7045,
29918,
5060,
487,
580,
1196,
29871,
29941,
29946,
310,
847,
1627,
786,
29914,
4422,
29914,
9018,
29914,
5060,
487,
29918,
22256,
29918,
10568,
29889,
1990,
29889,
1961,
29901,
1246,
304,
17749,
29918,
5504,
29918,
485,
737,
3097,
976,
7922,
29918,
22256,
580,
1196,
29871,
29896,
29947,
29896,
310,
847,
1627,
786,
29914,
4422,
29914,
9018,
29914,
3188,
29918,
7662,
29889,
1990,
29889,
1961,
29901,
1246,
304,
17749,
29918,
22256,
29918,
10568,
976,
7978,
580,
1196,
29871,
29896,
29929,
29896,
310,
847,
1627,
786,
29914,
4422,
29914,
9018,
29914,
3188,
29918,
9018,
29889,
1990,
29889,
1961,
29901,
1246,
304,
2967,
29918,
7662,
976,
7978,
580,
1196,
29871,
29896,
29953,
29947,
310,
847,
1627,
786,
29914,
4422,
29914,
9018,
29914,
5060,
487,
29918,
9018,
29889,
1990,
29889,
1961,
29901,
1246,
304,
2967,
29918,
9018,
976,
7978,
580,
1196,
29871,
29941,
29929,
29946,
310,
847,
1627,
786,
29914,
8299,
29914,
5060,
487,
29918,
8299,
29889,
1990,
29889,
1961,
29901,
1246,
304,
17749,
29918,
9018,
976,
7978,
580,
1196,
29871,
29896,
29929,
29941,
310,
847,
1627,
786,
29914,
5215,
29889,
1961,
29901,
1246,
304,
17749,
29918,
8299,
976,
7978,
29918,
9018,
580,
14978,
739,
2444,
445,
1818,
367,
263,
6494,
3265,
1135,
376,
5143,
29908,
868,
600,
848,
29892,
408,
7136,
29918,
485,
737,
3097,
29905,
3888,
976,
5504,
29918,
7045,
29918,
5060,
487,
580,
756,
925,
2825,
263,
716,
5447,
29892,
607,
3913,
21822,
29918,
485,
737,
3097,
29892,
607,
338,
7424,
304,
2845,
2313,
538,
8340,
848,
470,
3183,
385,
3682,
29889,
6212,
3456,
292,
304,
1634,
5926,
278,
1108,
373,
263,
2906,
2777,
29892,
27436,
701,
322,
769,
1791,
8253,
278,
3236,
1258,
4866,
8472,
29889,
11654,
8253,
278,
1021,
16199,
11480,
278,
2441,
11859,
2777
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
How to Use Celery to Lose Weight
It's not a secret to anyone that vegetables provide a wide array of health benefits, which is why it is so important to incorporate them into your diet. We all know that maintaining a healthy weight allows for a better quality of life.
Written and verified by the doctor José Gerardo Rosciano Paganelli.
Of all the vegetables we eat, there are a few that are extra effective at helping you lose weight. Celery is just one example of that. This vegetable shows up in a lot of recipes, and it’s great for people on weight loss diets because it’s low in calories, and doesn’t have any fat or carbs. So, do you want to learn how to use celery to lose weight? Keep reading!
Properties of celery
Celery is characteristic for its high water content: almost 95%! So, it’s easy to digest, hydrates you, and has highly diuretic properties. It also helps cleanse your body and can prevent stomach and colon cancer. It has anti-inflammatory properties that help control blood pressure and fight insomnia, and it can even help alleviate fevers and allergies.
This vegetable contains essential oils like limonene and selinene. These are what gives celery its diuretic properties. The largest amounts of them are in the stalk and seeds.
The essential oils in celery also have great antibacterial properties, which can help eliminate any infection or toxic substance that might be in the kidneys. It even has the ability to help get rid of kidney and gallbladder stones.
Read more: 6 Tips to Eliminate Kidney Stones
This long list of properties is also what makes celery an excellent food. But this isn’t just for people who want to lose weight, it goes for everyone, especially anyone trying to maintain a healthy lifestyle.
Eating celery to lose weight
If you want to use celery to lose weight, we have a simple, effective recipe that will help you cut a few pounds. To shed that extra weight by eating celery, just make some delicious drinks with whatever fruit you like and add a few celery stalks.
You can make a mixture of one or more fruits or vegetables, and then add your main ingredient: celery. The best fruits and vegetables to combine with celery are carrots, cucumber, and apples. But like we said earlier, you can add any fruit or vegetable you like. You could also start adding more celery to your meals. It’s not just healthy, it’s delicious!
You might like: Delicious Green Apple and Celery Salad
It’s also important to remember that if you want to get the most from your daily celery juices, you need pair them with a balanced diet and exercise. If for whatever reason you don’t want to go to a gym, you could walk every day for 30 minutes to an hour. That’ll be plenty!
Sowbhagya, H. B. (2014). Chemistry, Technology, and Nutraceutical Functions of Celery (Apium graveolens L.): An Overview. Critical Reviews in Food Science and Nutrition. https://doi.org/10.1080/10408398.2011.586740
Weight Loss6 Exercises to Fight Abdominal Fat
Weight LossIs It Possible to Trim Your Waist in a Week?
Weight LossLemon-Turmeric Weight Loss Tonic
Weight Loss7 Natural Remedies for a Flatter Stomach
Weight LossIs Rye Bread a Good Choice for Weight Loss?
Weight LossVitamin D and Weight Loss: How Are They Related?
Weight LossDo Moringa Seeds Help to Lose Weight?
Weight LossLose Weight Healthily With These Seven High-Protein Vegetables | [
1,
1128,
304,
4803,
14227,
708,
304,
365,
852,
1334,
523,
13,
3112,
29915,
29879,
451,
263,
7035,
304,
5019,
393,
18655,
1849,
3867,
263,
9377,
1409,
310,
9045,
23633,
29892,
607,
338,
2020,
372,
338,
577,
4100,
304,
11039,
403,
963,
964,
596,
652,
300,
29889,
1334,
599,
1073,
393,
7344,
292,
263,
9045,
29891,
7688,
6511,
363,
263,
2253,
11029,
310,
2834,
29889,
13,
29956,
20833,
322,
26834,
491,
278,
11619,
7942,
5681,
6491,
5678,
455,
1562,
349,
351,
3870,
492,
29889,
13,
2776,
599,
278,
18655,
1849,
591,
17545,
29892,
727,
526,
263,
2846,
393,
526,
4805,
11828,
472,
19912,
366,
14074,
7688,
29889,
14227,
708,
338,
925,
697,
1342,
310,
393,
29889,
910,
18655,
519,
3697,
701,
297,
263,
3287,
310,
9522,
5547,
29892,
322,
372,
30010,
29879,
2107,
363,
2305,
373,
7688,
6410,
652,
1691,
1363,
372,
30010,
29879,
4482,
297,
1208,
3842,
29892,
322,
1838,
30010,
29873,
505,
738,
9950,
470,
1559,
5824,
29889,
1105,
29892,
437,
366,
864,
304,
5110,
920,
304,
671,
6432,
708,
304,
14074,
7688,
29973,
19152,
5183,
29991,
13,
11857,
310,
6432,
708,
13,
29907,
295,
708,
338,
17443,
363,
967,
1880,
4094,
2793,
29901,
4359,
29871,
29929,
29945,
29995,
29991,
1105,
29892,
372,
30010,
29879,
4780,
304,
4697,
342,
29892,
27246,
29878,
1078,
366,
29892,
322,
756,
10712,
652,
545,
29873,
293,
4426,
29889,
739,
884,
6911,
5941,
344,
596,
3573,
322,
508,
5557,
380,
290,
496,
322,
8104,
23900,
29889,
739,
756,
9418,
29899,
13453,
314,
2922,
706,
4426,
393,
1371,
2761,
10416,
12959,
322,
8589,
1663,
290,
3915,
29892,
322,
372,
508,
1584,
1371,
4788,
1403,
403,
1238,
874,
322,
599,
15064,
583,
29889,
13,
4013,
18655,
519,
3743,
18853,
288,
2719,
763,
2485,
265,
1600,
322,
5535,
262,
1600,
29889,
4525,
526,
825,
4076,
6432,
708,
967,
652,
545,
29873,
293,
4426,
29889,
450,
10150,
26999,
310,
963,
526,
297,
278,
380,
2235,
322,
409,
5779,
29889,
13,
1576,
18853,
288,
2719,
297,
6432,
708,
884,
505,
2107,
3677,
747,
5761,
616,
4426,
29892,
607,
508,
1371,
27399,
738,
297,
20309,
470,
304,
27375,
5960,
749,
393,
1795,
367,
297,
278,
26397,
484,
952,
29889,
739,
1584,
756,
278,
11509,
304,
1371,
679,
8177,
310,
26397,
3801,
322,
11798,
2204,
328,
672,
25702,
29889,
13,
6359,
901,
29901,
29871,
29953,
323,
4512,
304,
1260,
8332,
403,
27912,
3801,
624,
2873,
13,
4013,
1472,
1051,
310,
4426,
338,
884,
825,
3732,
6432,
708,
385,
15129,
9687,
29889,
1205,
445,
3508,
30010,
29873,
925,
363,
2305,
1058,
864,
304,
14074,
7688,
29892,
372,
5771,
363,
14332,
29892,
7148,
5019,
1811,
304,
7344,
263,
9045,
29891,
301,
7004,
1508,
29889,
13,
29923,
1218,
6432,
708,
304,
14074,
7688,
13,
3644,
366,
864,
304,
671,
6432,
708,
304,
14074,
7688,
29892,
591,
505,
263,
2560,
29892,
11828,
9522,
412,
393,
674,
1371,
366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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
### Project:devdocs
### Description:Source of the Moodle Developer Resources and Documentation
### File:
### Path:./test/_files/disappearing_whitespace.js
### Content:({
bedrooms: true,
total: 1
});
, | [
1,
835,
8010,
29901,
3359,
2640,
13,
2277,
29937,
12953,
29901,
4435,
310,
278,
341,
2092,
280,
10682,
261,
27562,
322,
10854,
362,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
1688,
19891,
5325,
29914,
2218,
932,
799,
292,
29918,
1332,
3246,
3535,
29889,
1315,
13,
835,
10576,
29901,
3319,
13,
29871,
6592,
18901,
29901,
1565,
29892,
13,
29871,
3001,
29901,
29871,
29896,
13,
3680,
13,
29892,
2,
2,
2,
2,
2,
2,
2,
2,
2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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
### Project:moodle
### Description:Moodle - the world's open source learning platform
### File:
### Path:./mod/forum/tests/behat/groups_in_course_no_groups_in_forum.feature
### Content:@mod @mod_forum
Feature: Forums in 'No groups' mode allow posting to All participants for all users
In order to post to a forum in 'No groups' mode, which is in course which has groups
As any user
I need to post
Background:
Given the following "users" exist:
| username | firstname | lastname | email |
| teacher1 | Teacher | 1 | [email protected] |
| student1 | Student | 1 | [email protected] |
And the following "courses" exist:
| fullname | shortname | category |
| Course 1 | C1 | 0 |
And the following "course enrolments" exist:
| user | course | role |
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
And the following "groups" exist:
| name | course | idnumber |
| Group A | C1 | G1 |
| Group B | C1 | G2 |
And the following "group members" exist:
| user | group |
| teacher1 | G1 |
| teacher1 | G2 |
| student1 | G1 |
And the following "activities" exist:
| activity | name | course | idnumber | groupmode |
| forum | Standard forum name | C1 | nogroups | 0 |
Scenario: Teacher can post
Given I am on the "Standard forum name" "forum activity" page logged in as teacher1
And I should not see "Group A"
And I should not see "Group B"
When I click on "Add discussion topic" "link"
Then I should not see "Post a copy to all groups"
And I should not see "Group" in the "form" "css_element"
And I set the following fields to these values:
| Subject | Teacher 1 -> Forum |
| Message | Teacher 1 -> Forum |
And I press "Post to forum"
And I wait to be redirected
And I should see "Teacher 1 -> Forum"
Scenario: Student can post
Given I am on the "Standard forum name" "forum activity" page logged in as student1
And I should not see "Group A"
And I should not see "Group B"
When I click on "Add discussion topic" "link"
Then I should not see "Post a copy to all groups"
And I should not see "Group" in the "form" "css_element"
And I set the following fields to these values:
| Subject | Student 1 -> Forum |
| Message | Student 1 -> Forum |
And I press "Post to forum"
And I wait to be redirected
And I should see "Student 1 -> Forum"
, | [
1,
835,
8010,
29901,
29885,
2092,
280,
13,
2277,
29937,
12953,
29901,
29924,
2092,
280,
448,
278,
3186,
29915,
29879,
1722,
2752,
6509,
7481,
13,
2277,
29937,
3497,
29901,
13,
2277,
29937,
10802,
29901,
6904,
1545,
29914,
23343,
29914,
21150,
29914,
915,
2455,
29914,
13155,
29918,
262,
29918,
15775,
29918,
1217,
29918,
13155,
29918,
262,
29918,
23343,
29889,
14394,
13,
835,
10576,
26984,
1545,
732,
1545,
29918,
23343,
13,
19132,
29901,
1152,
6762,
297,
525,
3782,
6471,
29915,
4464,
2758,
16742,
304,
2178,
27138,
363,
599,
4160,
13,
29871,
512,
1797,
304,
1400,
304,
263,
24179,
297,
525,
3782,
6471,
29915,
4464,
29892,
607,
338,
297,
3236,
607,
756,
6471,
13,
29871,
1094,
738,
1404,
13,
29871,
306,
817,
304,
1400,
13,
13,
29871,
16585,
29901,
13,
1678,
11221,
278,
1494,
376,
7193,
29908,
1863,
29901,
13,
418,
891,
8952,
891,
937,
978,
891,
1833,
978,
891,
4876,
891,
13,
418,
891,
15703,
29896,
891,
1920,
11665,
891,
29871,
29896,
891,
15703,
29896,
29992,
4773,
29889,
510,
891,
13,
418,
891,
8368,
29896,
891,
15740,
891,
29871,
29896,
891,
8368,
29896,
29992,
4773,
29889,
510,
891,
13,
1678,
1126,
278,
1494,
376,
29883,
29781,
29908,
1863,
29901,
13,
418,
891,
2989,
978,
891,
3273,
978,
891,
7663,
891,
13,
418,
891,
6325,
344,
29871,
29896,
891,
315,
29896,
891,
29871,
29900,
891,
13,
1678,
1126,
278,
1494,
376,
15775,
427,
1467,
1860,
29908,
1863,
29901,
13,
418,
891,
1404,
891,
3236,
891,
6297,
891,
13,
418,
891,
15703,
29896,
891,
315,
29896,
891,
16278,
371,
11665,
891,
13,
418,
891,
8368,
29896,
891,
315,
29896,
891,
8368,
891,
13,
1678,
1126,
278,
1494,
376,
13155,
29908,
1863,
29901,
13,
418,
891,
1024,
891,
3236,
891,
1178,
4537,
891,
13,
418,
891,
6431,
319,
891,
315,
29896,
891,
402,
29896,
891,
13,
418,
891,
6431,
350,
891,
315,
29896,
891,
402,
29906,
891,
13,
1678,
1126,
278,
1494,
376,
2972,
5144,
29908,
1863,
29901,
13,
418,
891,
1404,
891,
2318,
891,
13,
418,
891,
15703,
29896,
891,
402,
29896,
891,
13,
418,
891,
15703,
29896,
891,
402,
29906,
891,
13,
418,
891,
8368,
29896,
891,
402,
29896,
891,
13,
1678,
1126,
278,
1494,
376,
11236,
1907,
29908,
1863,
29901,
13,
418,
891,
6354,
259,
891,
1024,
462,
259,
891,
3236,
891,
1178,
4537,
268,
891,
2318,
8513,
891,
13,
418,
891,
24179,
418,
891,
10117,
24179,
1024,
1678,
891,
315,
29896,
268,
891,
11313,
29878,
4410,
268,
891,
29871,
29900,
308,
891,
13,
13,
29871,
2522,
24893,
29901,
1920,
11665,
508,
1400,
13,
1678,
11221,
306,
626,
373,
278,
376,
15449,
24179,
1024,
29908,
376,
23343,
6354,
29908,
1813,
13817,
297,
408,
15703,
29896,
13,
1678,
1126,
306,
881,
451,
1074,
376,
4782,
319,
29908,
13,
1678,
1126,
306,
881,
451,
1074,
376,
4782,
350,
29908,
13,
1678,
1932,
306,
2828,
373,
376,
2528,
10679,
11261,
29908,
376,
2324,
29908,
13,
1678,
1987,
306,
881,
451,
1074,
376,
6747,
263,
3509,
304,
599,
6471,
29908,
13,
1678,
1126,
306,
881,
451,
1074,
376,
4782,
29908,
297,
278,
376,
689,
29908,
376,
4268,
29918
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
» Chrysis gracillima
Chrysis gracillima (Förster,1853)
Identification keys and general biology are given in Morgan (1984) and Falk (1991).
South-eastern England from Dorset to West Suffolk.
Overseas, the wasp occurs in Europe (including The Netherlands, Belgium, France, Germany, Italy (Sicily), Poland, Austria, Hungary), North Africa (Morocco), Jordan.
Listed in Shirt (1987) and Falk (1991) as Vulnerable (RDB 2).
Found in a range of habitats including lowland heath, hedgerows and chalk downland. Habitats probably need the presence of dead wood in which its host nests. Adults seen on trunks of dead trees.
From the few records available, from June to August but mainly July and August.
Wild carrot.
Seems to be associated with small aculeates that nest in holes in dead wood, possibly Trypoxylon clavicerum. | [
1,
2047,
678,
18450,
275,
330,
945,
453,
2946,
13,
1451,
18450,
275,
330,
945,
453,
2946,
313,
29943,
1340,
2475,
29892,
29896,
29947,
29945,
29941,
29897,
13,
7648,
2450,
6611,
322,
2498,
4768,
3002,
526,
2183,
297,
20549,
313,
29896,
29929,
29947,
29946,
29897,
322,
383,
2235,
313,
29896,
29929,
29929,
29896,
467,
13,
29903,
2438,
29899,
29872,
11530,
5408,
515,
9579,
842,
304,
3122,
2166,
600,
28387,
29889,
13,
3563,
344,
294,
29892,
278,
471,
29886,
10008,
297,
4092,
313,
18271,
450,
24553,
29892,
9923,
1974,
29892,
3444,
29892,
9556,
29892,
12730,
313,
29903,
293,
2354,
511,
18898,
29892,
17362,
29892,
14198,
653,
511,
4644,
10557,
313,
28581,
542,
1111,
511,
18284,
29889,
13,
1293,
287,
297,
1383,
2728,
313,
29896,
29929,
29947,
29955,
29897,
322,
383,
2235,
313,
29896,
29929,
29929,
29896,
29897,
408,
478,
352,
1089,
519,
313,
29934,
4051,
29871,
29906,
467,
13,
9692,
297,
263,
3464,
310,
4760,
1446,
3704,
4482,
1049,
540,
493,
29892,
298,
287,
914,
1242,
322,
521,
2235,
1623,
1049,
29889,
15221,
28039,
3117,
817,
278,
10122,
310,
7123,
8112,
297,
607,
967,
3495,
302,
9197,
29889,
2087,
499,
29879,
3595,
373,
534,
18801,
310,
7123,
10697,
29889,
13,
4591,
278,
2846,
6475,
3625,
29892,
515,
5306,
304,
3111,
541,
14364,
5468,
322,
3111,
29889,
13,
29956,
789,
1559,
5450,
29889,
13,
2008,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
summary: Attach media files to choices in Quiz questions (eg mp3, wvm, flv etc)
type: New Feature
project: Moodle
description: I would like Moodle to be able to have the facility for adding media files (with stored link address for the media files) to the quiz choices (5) available. So someone can listen to an MP3, or watch a flv flash file and then decide or answer the quiz question. This would be very helpful in science questions where someone is asked to choose the molecular shape/or bonding for a particular molecule. on a PC for use with Poodle. It would be nice to be able to attach video clips or sound mp3 files for each of the 5 choices in the quiz. I was thinking that a browse button would allow the user to select a file (video or sound) from anywhere on the computer and then store the address in the moodle database. The video could have 3 standard sizes (small, medium large) to chose from. There could be a 1)play and 2)pause/3)rewind to start buttons for the media file.
comments: 1. As Mary Cooch told you, this is already possible: Why, therefore, did you file a new feature request? | [
1,
15837,
29901,
6212,
496,
5745,
2066,
304,
19995,
297,
751,
466,
5155,
313,
387,
22326,
29941,
29892,
281,
6925,
29892,
1652,
29894,
2992,
29897,
13,
1853,
29901,
1570,
5169,
1535,
13,
4836,
29901,
341,
2092,
280,
13,
8216,
29901,
306,
723,
763,
341,
2092,
280,
304,
367,
2221,
304,
505,
278,
24454,
363,
4417,
5745,
2066,
313,
2541,
6087,
1544,
3211,
363,
278,
5745,
2066,
29897,
304,
278,
439,
466,
19995,
313,
29945,
29897,
3625,
29889,
1105,
4856,
508,
11621,
304,
385,
16379,
29941,
29892,
470,
6505,
263,
1652,
29894,
11013,
934,
322,
769,
11097,
470,
1234,
278,
439,
466,
1139,
29889,
910,
723,
367,
1407,
8444,
297,
10466,
5155,
988,
4856,
338,
4433,
304,
6755,
278,
13206,
16637,
8267,
29914,
272,
21224,
292,
363,
263,
3153,
13206,
29883,
1297,
29889,
373,
263,
9609,
363,
671,
411,
349,
2092,
280,
29889,
739,
723,
367,
7575,
304,
367,
2221,
304,
10641,
4863,
9335,
567,
470,
6047,
22326,
29941,
2066,
363,
1269,
310,
278,
29871,
29945,
19995,
297,
278,
439,
466,
29889,
306,
471,
7291,
393,
263,
3347,
344,
2826,
723,
2758,
278,
1404,
304,
1831,
263,
934,
313,
9641,
470,
6047,
29897,
515,
12214,
373,
278,
6601,
322,
769,
3787,
278,
3211,
297,
278,
286,
2092,
280,
2566,
29889,
450,
4863,
1033,
505,
29871,
29941,
3918,
15786,
313,
9278,
29892,
18350,
2919,
29897,
304,
12784,
515,
29889,
1670,
1033,
367,
263,
29871,
29896,
29897,
1456,
322,
29871,
29906,
29897,
29886,
1071,
29914,
29941,
29897,
3973,
513,
304,
1369,
9828,
363,
278,
5745,
934,
29889,
13,
21032,
29901,
29871,
29896,
29889,
1094,
6182,
3189,
2878,
5429,
366,
29892,
445,
338,
2307,
1950,
29901,
3750,
29892,
5480,
29892,
1258,
366,
934,
263,
716,
4682,
2009,
29973,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2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