Compare commits
50 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e4a9d2b9f6 | |||
| fd433da4f3 | |||
| 4ddf05260f | |||
| dc003ed98e | |||
| bef4a5e017 | |||
| 7516d3d077 | |||
| 15bde5352b | |||
| 1d9e0857f8 | |||
| 48ea41c48f | |||
| 5a56067bb8 | |||
| 6ec47a64ac | |||
| cc375a22b9 | |||
| 8e34d8e85b | |||
| 3128901f99 | |||
| 5d581364ac | |||
| 7bb6b84cfd | |||
| 293e4bbcb7 | |||
| 32aa48dc11 | |||
| 10304d74bc | |||
| f00ba01cb8 | |||
| 4cbd33a68f | |||
| dcddabdb3f | |||
| 33f18336ed | |||
| 8a0f1f2c22 | |||
| ae84bebc71 | |||
| d4038864fa | |||
| de5404c0ab | |||
| a0f183ae84 | |||
| a80ed84ed3 | |||
| b2b8d932f1 | |||
| 5884d6b23f | |||
| 426820a3c0 | |||
| e1052a33fd | |||
| e1648c2e61 | |||
| fcfa443a5e | |||
| 5cac855ae6 | |||
| 95c3874b71 | |||
| ff3d343b49 | |||
| 0a9393c4aa | |||
| ddbb69c027 | |||
| ed4c7d1368 | |||
| f419b938f6 | |||
| 12c5545d76 | |||
| 8e2e43aa9e | |||
| 996f2514e5 | |||
| 8c2d79b6a9 | |||
| eaaba84222 | |||
| 090028ccf8 | |||
| 69f93c0254 | |||
| 87f764ce30 |
@@ -78,6 +78,14 @@ $output = $PAGE->get_renderer('core', 'badges');
|
||||
// Roles that can award this badge.
|
||||
$acceptedroles = array_keys($badge->criteria[BADGE_CRITERIA_TYPE_MANUAL]->params);
|
||||
|
||||
if (empty($acceptedroles)) {
|
||||
echo $OUTPUT->header();
|
||||
$return = html_writer::link(new moodle_url('recipients.php', array('id' => $badge->id)), $strrecipients);
|
||||
echo $OUTPUT->notification(get_string('notacceptedrole', 'badges', $return));
|
||||
echo $OUTPUT->footer();
|
||||
die();
|
||||
}
|
||||
|
||||
if (count($acceptedroles) > 1) {
|
||||
// If there is more than one role that can award a badge, prompt user to make a selection.
|
||||
// If it is an admin, include all accepted roles, otherwise only the ones that current user has in this context.
|
||||
|
||||
@@ -147,6 +147,11 @@ class award_criteria_manual extends award_criteria {
|
||||
public function review($userid) {
|
||||
global $DB;
|
||||
|
||||
// Roles should always have a parameter.
|
||||
if (empty($this->params)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$overall = false;
|
||||
foreach ($this->params as $param) {
|
||||
$crit = $DB->get_record('badge_manual_award', array('issuerrole' => $param['role'], 'recipientid' => $userid, 'badgeid' => $this->badgeid));
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
<?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/>.
|
||||
|
||||
/**
|
||||
* Automatically generated strings for Moodle installer
|
||||
*
|
||||
* Do not edit this file manually! It contains just a subset of strings
|
||||
* needed during the very first steps of installation. This file was
|
||||
* generated automatically by export-installer.php (which is part of AMOS
|
||||
* {@link http://docs.moodle.org/dev/Languages/AMOS}) using the
|
||||
* list of strings defined in /install/stringnames.txt.
|
||||
*
|
||||
* @package installer
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$string['availablelangs'] = 'Beskikbare taal pakkette';
|
||||
@@ -0,0 +1,36 @@
|
||||
<?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/>.
|
||||
|
||||
/**
|
||||
* Automatically generated strings for Moodle installer
|
||||
*
|
||||
* Do not edit this file manually! It contains just a subset of strings
|
||||
* needed during the very first steps of installation. This file was
|
||||
* generated automatically by export-installer.php (which is part of AMOS
|
||||
* {@link http://docs.moodle.org/dev/Languages/AMOS}) using the
|
||||
* list of strings defined in /install/stringnames.txt.
|
||||
*
|
||||
* @package installer
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$string['language'] = 'Taal';
|
||||
$string['next'] = 'Volgende';
|
||||
$string['previous'] = 'Vorige';
|
||||
$string['reload'] = 'Herlaai';
|
||||
@@ -0,0 +1,44 @@
|
||||
<?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/>.
|
||||
|
||||
/**
|
||||
* Automatically generated strings for Moodle installer
|
||||
*
|
||||
* Do not edit this file manually! It contains just a subset of strings
|
||||
* needed during the very first steps of installation. This file was
|
||||
* generated automatically by export-installer.php (which is part of AMOS
|
||||
* {@link http://docs.moodle.org/dev/Languages/AMOS}) using the
|
||||
* list of strings defined in /install/stringnames.txt.
|
||||
*
|
||||
* @package installer
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$string['clianswerno'] = 'n';
|
||||
$string['cliansweryes'] = 'y';
|
||||
$string['cliincorrectvalueerror'] = 'هەڵە، نرخی نادروستی "{$a->value}" بۆ "{$a->option}"';
|
||||
$string['cliincorrectvalueretry'] = 'نرخەکە نادرووستە، تکایە دووبارەبکەوە';
|
||||
$string['clitypevalue'] = 'نرخی جۆر';
|
||||
$string['clitypevaluedefault'] = 'نرخی جۆر، تکایە Enter دابگرە بۆ بەکارهێنانی نرخی بنەڕەتیی ({$a})';
|
||||
$string['cliunknowoption'] = 'هەلبژاردنە نەناسراوەکان:
|
||||
{$a}
|
||||
تکایە بەکاربهینە --هەلبژاردنى یارمەتى.';
|
||||
$string['cliyesnoprompt'] = 'جۆرى y (واتا بەڵێ) یاخود n (واتا نەخێر)';
|
||||
$string['environmentrequireinstall'] = 'پیویستى بە دامەزراندن و چالاکە';
|
||||
$string['environmentrequireversion'] = 'چاپ {$a->پیویست بوو} پیویست دەکات و ئایا بەکار دەخەى {$a->رەوان}';
|
||||
@@ -46,7 +46,8 @@ $string['dmlexceptiononinstall'] = '<p>Došlo k chybě databáze [{$a->errorcode
|
||||
$string['downloadedfilecheckfailed'] = 'Selhala kontrola staženého souboru';
|
||||
$string['invalidmd5'] = 'Ověření selhalo - zkuste to znovu';
|
||||
$string['missingrequiredfield'] = 'Chybí některé z povinných polí';
|
||||
$string['remotedownloaderror'] = 'Stahování komponenty na váš server selhalo. Prověřte nastavení proxy. Vřele doporučujeme PHP rozšíření cURL.<br /><br />Nyní musíte stáhnout soubor <a href="{$a->url}">{$a->url}</a> ručně, překopírovat jej do "{$a->dest}" na vašem serveru a tam jej rozbalit.';
|
||||
$string['remotedownloaderror'] = '<p>Stahování komponenty na váš server selhalo. Prověřte nastavení proxy. Vřele doporučujeme PHP rozšíření cURL.</p>
|
||||
<p>Nyní musíte stáhnout soubor <a href="{$a->url}">{$a->url}</a> ručně, překopírovat jej do "{$a->dest}" na vašem serveru a tam jej rozbalit.</p>';
|
||||
$string['wrongdestpath'] = 'Chybné cílové umístění';
|
||||
$string['wrongsourcebase'] = 'Chybné URL zdrojového serveru';
|
||||
$string['wrongzipfilename'] = 'Chybné jméno souboru ZIP';
|
||||
|
||||
@@ -48,7 +48,7 @@ $string['environmenthead'] = 'Installationsvoraussetzungen werden geprüft ...';
|
||||
$string['environmentsub2'] = 'Jede Version hat Mindestvoraussetzungen für der PHP-Version und für verbindliche PHP-Extensions. Vor einer Installation oder einer Aktualisierung wird eine vollständige Prüfung durchgeführt. Bitte fragen Sie den Administrator des Servers, wenn Sie mit der Installation einer neuen Version oder mit der Aktivierung von PHP-Extensions nicht weiterkommen.';
|
||||
$string['errorsinenvironment'] = 'Fehler bei der Prüfung der Systemvoraussetzungen!';
|
||||
$string['installation'] = 'Installation';
|
||||
$string['langdownloaderror'] = 'Leider konnte das Sprachpaket \'{$a}\' nicht heruntergeladen werden. Die Installation wird in englischer Sprache fortgesetzt.';
|
||||
$string['langdownloaderror'] = 'Das Sprachpaket \'{$a}\' konnte nicht heruntergeladen werden. Die Installation wird in englischer Sprache fortgesetzt.';
|
||||
$string['memorylimithelp'] = '<p>Die PHP-Einstellung memory_limit Ihres Servers ist zur Zeit auf {$a} eingestellt. </p>
|
||||
<p>Wenn Sie Moodle mit vielen Aktivitäten oder vielen Nutzer/innen verwenden, wird dies vermutlich zu Problemen führen.</p>
|
||||
<p>Wir empfehlen die Einstellung wenn möglich zu erhöhen, z.B. auf 40M oder mehr. Dies können Sie auf verschiedene Arten machen:</p>
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
<?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/>.
|
||||
|
||||
/**
|
||||
* Automatically generated strings for Moodle installer
|
||||
*
|
||||
* Do not edit this file manually! It contains just a subset of strings
|
||||
* needed during the very first steps of installation. This file was
|
||||
* generated automatically by export-installer.php (which is part of AMOS
|
||||
* {@link http://docs.moodle.org/dev/Languages/AMOS}) using the
|
||||
* list of strings defined in /install/stringnames.txt.
|
||||
*
|
||||
* @package installer
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$string['parentlanguage'] = 'es';
|
||||
$string['thislanguage'] = 'Español Venezuela';
|
||||
@@ -56,7 +56,7 @@ $string['memorylimithelp'] = '<p>PHP ograničenje memorije na poslužitelju je t
|
||||
|
||||
<p>Preporučujemo da konfigurirate PHP s većim ograničenjem ako je moguće, recimo 40M. Postoji nekoliko načina na koje to možete napraviti:</p>
|
||||
<ol>
|
||||
<li>Ako možete, rekompajlirajte PHP s <i>--enable-memory-limit</i>. Ovo će dozvoliti Moodle sustavu samostalno postavljanje memorijskog ograničenja.</li>
|
||||
<li>Ako možete, rekompajlirajte PHP s <i>--enable-memory-limit</i>. Ovo će dopustiti Moodle sustavu samostalno postavljanje memorijskog ograničenja.</li>
|
||||
<li>Ako imate pristup php.ini datoteci, možete promijeniti <b>memory_limit</b> vrijednost na 40M. Ako nemate pristup toj datoteci možete pitati svog administratora da to uradi.</li>
|
||||
<li>Na nekim PHP poslužiteljima možete napraviti .htaccess datoteku u Moodle mapi koja sadrži red: <p><blockquote>php_value memory_limit 40M</blockquote></p>
|
||||
<p>Uzmite u obzir da će na nekim poslužiteljima to spriječiti prikazivanje <b>svih</b> PHP stranica (bit će vam prikazana poruka o grešci), pa ćete na takvim poslužiteljima morati ukloniti .htaccess datoteku.</p></li> </ol>';
|
||||
|
||||
@@ -31,6 +31,6 @@
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$string['language'] = 'Jezik';
|
||||
$string['next'] = 'Nastavite';
|
||||
$string['next'] = 'Nastavi';
|
||||
$string['previous'] = 'Prethodni';
|
||||
$string['reload'] = 'Učitaj ponovno';
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
<?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/>.
|
||||
|
||||
/**
|
||||
* Automatically generated strings for Moodle installer
|
||||
*
|
||||
* Do not edit this file manually! It contains just a subset of strings
|
||||
* needed during the very first steps of installation. This file was
|
||||
* generated automatically by export-installer.php (which is part of AMOS
|
||||
* {@link http://docs.moodle.org/dev/Languages/AMOS}) using the
|
||||
* list of strings defined in /install/stringnames.txt.
|
||||
*
|
||||
* @package installer
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$string['language'] = 'ಭಾಷೆ';
|
||||
$string['next'] = 'ಮುಂದಿನ';
|
||||
@@ -34,3 +34,15 @@ $string['cannotcreatelangdir'] = 'Negalima sukurti kalbos katalogo';
|
||||
$string['cannotcreatetempdir'] = 'Negalima sukurti laikinojo katalogo';
|
||||
$string['cannotdownloadcomponents'] = 'Negalima atsisiųsti komponentų';
|
||||
$string['cannotdownloadzipfile'] = 'Negalima atsisiųsti ZIP failo';
|
||||
$string['cannotfindcomponent'] = 'Nepavyko rasti komponento';
|
||||
$string['cannotsavemd5file'] = 'Negalima įrašyti md5 failo';
|
||||
$string['cannotsavezipfile'] = 'Negalima įrašyti ZIP failo';
|
||||
$string['cannotunzipfile'] = 'Negalima išskleisti failo';
|
||||
$string['componentisuptodate'] = 'Komponentas atnaujintas';
|
||||
$string['downloadedfilecheckfailed'] = 'Nepavyko patikrinti atsisiųsto failo';
|
||||
$string['invalidmd5'] = 'Kintamojo patikra nepavyko – bandykite dar kartą';
|
||||
$string['missingrequiredfield'] = 'Trūksta būtino lauko';
|
||||
$string['remotedownloaderror'] = 'Nepavyko į serverį atsisiųsti komponento, patikrinkite tarpinio serverio parametrus, labai rekomenduojama naudoti PHP cURL plėtinį.<br /><br />Turite rankiniu būdu atsisiųsti <a href="{$a->url}">{$a->url}</a> failą, nukopijuoti jį į {$a->dest} serveryje ir ten jį išskleisti.';
|
||||
$string['wrongdestpath'] = 'Neteisingas paskirties kelias';
|
||||
$string['wrongsourcebase'] = 'Neteisingas šaltinio URL pagrindas';
|
||||
$string['wrongzipfilename'] = 'Neteisingas ZIP failo vardas';
|
||||
|
||||
@@ -30,5 +30,6 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$string['parentlanguage'] = '';
|
||||
$string['thisdirection'] = 'ltr';
|
||||
$string['thislanguage'] = 'Lietuvių';
|
||||
|
||||
@@ -30,6 +30,6 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$string['parentlanguage'] = 'fr';
|
||||
$string['parentlanguage'] = '';
|
||||
$string['thisdirection'] = 'ltr';
|
||||
$string['thislanguage'] = 'Lengadocian';
|
||||
$string['thislanguage'] = 'Occitan-Lengadocian';
|
||||
|
||||
@@ -44,7 +44,8 @@ $string['dmlexceptiononinstall'] = '<p>Произошла ошибка базы
|
||||
$string['downloadedfilecheckfailed'] = 'Ошибка проверки загруженного файла';
|
||||
$string['invalidmd5'] = 'Некорректная md5';
|
||||
$string['missingrequiredfield'] = 'Отсутствуют некоторые обязательные поля';
|
||||
$string['remotedownloaderror'] = 'Не удалось загрузить компонент на сервер, проверьте настройки прокси-сервера, настоятельно рекомендуется установка расширения cURL языка PHP.<br /> <br />Вам следует вручную загрузить файл по ссылке <a href="{$a->url}">{$a->url}</a>, скопировать его в папку «{$a->dest}» на своем сервере и там его распаковать.';
|
||||
$string['remotedownloaderror'] = '<p>Не удалось загрузить компонент на сервер. Проверьте настройки прокси-сервера; настоятельно рекомендуется установка расширения PHP cURL.</p>
|
||||
<p>Вам следует вручную загрузить файл по ссылке <a href="{$a->url}">{$a->url}</a>, скопировать его в папку «{$a->dest}» на своем сервере и там его распаковать.</p>';
|
||||
$string['wrongdestpath'] = 'Ошибочный путь назначения';
|
||||
$string['wrongsourcebase'] = 'Неправильный адрес источника';
|
||||
$string['wrongzipfilename'] = 'Неверное имя ZIP-файла';
|
||||
|
||||
+11
-12
@@ -30,12 +30,12 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$string['admindirname'] = 'Каталог администратора';
|
||||
$string['admindirname'] = 'Каталог администрирования';
|
||||
$string['availablelangs'] = 'Доступные языковые пакеты';
|
||||
$string['chooselanguagehead'] = 'Выберите язык';
|
||||
$string['chooselanguagesub'] = 'Сейчас необходимо выбрать язык ТОЛЬКО для сообщений во время установки. Язык сайта и пользовательских интерфейсов можно будет указать далее в процессе установки.';
|
||||
$string['clialreadyconfigured'] = 'Файл config.php уже существует. Если Вы хотите установить этот сайт, используйте admin/cli/install_database.php.';
|
||||
$string['clialreadyinstalled'] = 'Файл config.php уже существует. Если Вы хотите обновить сайт, то используйте скрипт admin/cli/upgrade.php.';
|
||||
$string['clialreadyconfigured'] = 'Файл config.php уже существует. Если Вы хотите установить Moodle на этот сайт, используйте admin/cli/install_database.php.';
|
||||
$string['clialreadyinstalled'] = 'Файл config.php уже существует. Если Вы хотите обновить сайт Moodle, то используйте скрипт admin/cli/upgrade.php.';
|
||||
$string['cliinstallheader'] = 'Программа установки Moodle {$a} в режиме командной строки';
|
||||
$string['databasehost'] = 'Сервер баз данных';
|
||||
$string['databasename'] = 'Название базы данных';
|
||||
@@ -45,7 +45,7 @@ $string['datarootpermission'] = 'Разрешения на каталоги да
|
||||
$string['dbprefix'] = 'Префикс имен таблиц';
|
||||
$string['dirroot'] = 'Каталог Moodle';
|
||||
$string['environmenthead'] = 'Проверка среды...';
|
||||
$string['environmentsub2'] = 'У каждой версии Moodle есть минимальные требования к версии PHP и набор обязательных расширений PHP.
|
||||
$string['environmentsub2'] = 'У каждой версии Moodle есть минимальные требования к версии PHP и набору обязательных расширений PHP.
|
||||
Полная проверка среды осуществляется перед каждой установкой и обновлением.
|
||||
Пожалуйста, свяжитесь с администратором сервера, если не знаете, как установить новую версию или включить расширения PHP.';
|
||||
$string['errorsinenvironment'] = 'Проверка окружения не выполнена!';
|
||||
@@ -72,13 +72,12 @@ $string['pathshead'] = 'Подтвердите пути';
|
||||
$string['pathsrodataroot'] = 'Каталог данных недоступен для записи.';
|
||||
$string['pathsroparentdataroot'] = 'Родительский каталог ({$a->parent}) не доступен для записи. Программа установки не может создать каталог данных ({$a->dataroot}).';
|
||||
$string['pathssubadmindir'] = 'На небольшом числе веб-хостингов путь /admin используется для доступа к панели управления или чему-то еще. К сожалению, это противоречит стандартному расположению страниц управления Moodle. Это можно исправить путем переименования папки admin в каталоге Moodle и указания нового имени здесь. Например: <em>moodleadmin</em>. При этом все ссылки на панель управления Moodle исправятся автоматически.';
|
||||
$string['pathssubdataroot'] = 'Необходимо указать место, где Moodle будет хранить загружаемые файлы. Этот каталог должен быть доступен для чтения и ЗАПИСИ тому пользователю, от чьего имени запускается веб-сервер (обычно \'nobody\' или \'apache\'), но при этом не должен быть доступен напрямую через Интернет. Программа установки попробует создать этот каталог, если он не существует.';
|
||||
$string['pathssubdirroot'] = 'Полный путь к каталогу установки Moodle.';
|
||||
$string['pathssubwwwroot'] = 'Полный веб-адрес, по которому будет доступен Moodle.
|
||||
Использовать для доступа к Moodle несколько публичных адресов невозможно.
|
||||
Если у вашего сайта есть еще несколько публичных адресов, вам следует настроить постоянные перенаправления с этих адресов на указанный.
|
||||
Если ваш сайт доступен как из Интернета, так и из локальной сети, укажите здесь публичный адрес и настройте DNS таким образом, чтобы этот адрес был доступен и локальным пользователям.
|
||||
Если указанный здесь адрес неверный, измените URL в строке адреса браузера, чтобы перезапустить установку с другим значением.';
|
||||
$string['pathssubdataroot'] = '<p>Каталог, в котором Moodle будет хранить все файлы, размещаемые пользователями. </p><p>Этот каталог должен быть доступен для чтения и ЗАПИСИ тому пользователю, от чьего имени запускается веб-сервер (обычно \'www-data\', \'nobody\' или \'apache\'). </p><p>Этот каталог не должен быть доступен напрямую через Интернет. </p><p>Программа установки попробует создать этот каталог, если он не существует. </p>';
|
||||
$string['pathssubdirroot'] = '<p>Полный путь к каталогу установки Moodle.</p>';
|
||||
$string['pathssubwwwroot'] = '<p>Полный веб-адрес, по которому будет доступен Moodle, т.е. адрес, который пользователи будут вводить в адресной строке своего браузера для доступа к сайту Moodle.</p>
|
||||
<p>Использовать для доступа к Moodle несколько публичных адресов невозможно. Если у Вашего сайта есть еще несколько публичных адресов, то следует настроить постоянные перенаправления с этих адресов на указанный.</p>
|
||||
</p>Если Ваш сайт доступен как из Интернета, так и из локальной сети (иногда называют Интранет), укажите здесь публичный адрес.</p>
|
||||
</p>Если указанный здесь адрес неверный, измените URL в адресной строке браузера и перезапустите установку.</p>';
|
||||
$string['pathsunsecuredataroot'] = 'Расположение каталога данных не отвечает требованиям безопасности';
|
||||
$string['pathswrongadmindir'] = 'Каталог admin не существует';
|
||||
$string['phpextension'] = 'Расширение PHP «{$a}»';
|
||||
@@ -91,7 +90,7 @@ $string['welcomep10'] = '{$a->installername} ({$a->installerversion})';
|
||||
$string['welcomep20'] = 'Вы видите эту страницу, потому что успешно установили и запустили на своем компьютере набор программ <strong>{$a->packname} {$a->packversion}</strong>. Поздравляем!';
|
||||
$string['welcomep30'] = 'Эта версия набора программ <strong>{$a->installername}</strong> включает следующие программы, необходимые для создания среды, в которой будет работать <strong>Moodle</strong>:';
|
||||
$string['welcomep40'] = 'Также в этот набор входит <strong>Moodle {$a->moodlerelease} ({$a->moodleversion})</strong>.';
|
||||
$string['welcomep50'] = 'Порядок использования приложений, входящих в этот набор, регламентируется соответствующими лицензиями. Набор программ <strong>{$a->installername}</strong> является полностью <a href="http://ru.wikipedia.org/wiki/Открытое_программное_обеспечение">открытым </a> и распространяется на условиях лицензии <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>.';
|
||||
$string['welcomep50'] = 'Порядок использования приложений, входящих в этот набор, регламентируется соответствующими лицензиями. Набор программ <strong>{$a->installername}</strong> является <a href="http://www.opensource.org/docs/definition_plain.html">открытым программным обеспечением</a> и распространяется на условиях лицензии <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>.';
|
||||
$string['welcomep60'] = 'На следующих страницах Вы сможете за несколько простых шагов настроить и установить <strong>Moodle</strong> на свой компьютер. Вы сможете принять настройки по умолчанию или изменить их в зависимости от своих потребностей.';
|
||||
$string['welcomep70'] = 'Нажмите кнопку «Далее» чтобы продолжить процесс установки <strong>Moodle</strong>.';
|
||||
$string['wwwroot'] = 'Веб-адрес';
|
||||
|
||||
@@ -30,12 +30,18 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$string['admindirname'] = 'అడ్మిన్ డైరెక్టరీ';
|
||||
$string['availablelangs'] = 'అందుబాటులో ఉన్న భాషల జాబితా';
|
||||
$string['chooselanguagehead'] = 'భాషను ఎంచుకోండి';
|
||||
$string['databasehost'] = 'డేటాబేసు హోస్టు';
|
||||
$string['databasename'] = 'డేటాబేసు పేరు';
|
||||
$string['databasetypehead'] = 'డేటాబేస్ డ్రైవర్ ఎంచుకోండి';
|
||||
$string['dataroot'] = 'డేటా డైరెక్టరీ';
|
||||
$string['datarootpermission'] = 'డేటా డైరెక్టరీల అనుమతి';
|
||||
$string['dbprefix'] = 'టేబుళ్ళ ఆదిపదం (ప్రిఫిక్స్)';
|
||||
$string['dirroot'] = 'Moodle డైరెక్టరీ';
|
||||
$string['environmenthead'] = 'మీ ఎన్విరాన్మెంటును పరిశీలిస్తున్నాం ...';
|
||||
$string['installation'] = 'సంస్థాపన';
|
||||
$string['paths'] = 'మార్గాలు';
|
||||
$string['pathswrongadmindir'] = 'అడ్మిన్ డైరెక్టరీ అసలు లేదు';
|
||||
$string['wwwroot'] = 'వెబ్ చిరునామా';
|
||||
|
||||
@@ -30,5 +30,13 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$string['clianswerno'] = 'ні';
|
||||
$string['cliansweryes'] = 'так';
|
||||
$string['cliincorrectvalueerror'] = 'Помилка, некоректне значення "{$a->value}" для "{$a->option}"';
|
||||
$string['cliincorrectvalueretry'] = 'Некоректне значення, повторіть правильно';
|
||||
$string['clitypevalue'] = 'тип значення';
|
||||
$string['clitypevaluedefault'] = 'тип значення, натисніть Enter для використання типового значення ({$a})';
|
||||
$string['cliunknowoption'] = 'Невизначені опції: {$a}. Будь ласка, використайте опцію --help.';
|
||||
$string['cliyesnoprompt'] = 'натисніть y (означає так) або n (означає ні)';
|
||||
$string['environmentrequireinstall'] = 'повинен бути встановлений і включений';
|
||||
$string['environmentrequireversion'] = 'рекомендується версія {$a->needed}, використовується версія {$a->current}';
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
<?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/>.
|
||||
|
||||
/**
|
||||
* Automatically generated strings for Moodle installer
|
||||
*
|
||||
* Do not edit this file manually! It contains just a subset of strings
|
||||
* needed during the very first steps of installation. This file was
|
||||
* generated automatically by export-installer.php (which is part of AMOS
|
||||
* {@link http://docs.moodle.org/dev/Languages/AMOS}) using the
|
||||
* list of strings defined in /install/stringnames.txt.
|
||||
*
|
||||
* @package installer
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$string['cannotcreatedboninstall'] = '<p>Не вдається створити базу даних.</p> <p>Вказаної бази даних не існує і такий користувач не має права на створення бази даних.</p> <p>Адміністратор сайту повинен перевірити налаштування бази даних.</p>';
|
||||
$string['cannotcreatelangdir'] = 'Не створюється каталог lang';
|
||||
$string['cannotcreatetempdir'] = 'Не можу створити каталог temp';
|
||||
$string['cannotdownloadcomponents'] = 'Не можу завантажити компоненти.';
|
||||
$string['cannotdownloadzipfile'] = 'Не можу завантажити ZIP-файл.';
|
||||
$string['cannotfindcomponent'] = 'Не можу знайти компоненти.';
|
||||
$string['cannotsavemd5file'] = 'Не можу зберегти md5-файл.';
|
||||
$string['cannotsavezipfile'] = 'Не можу зберегти ZIP-файл.';
|
||||
$string['cannotunzipfile'] = 'Не можу розпакувати архівний файл.';
|
||||
$string['componentisuptodate'] = 'Компонент останньої редакції.';
|
||||
$string['dmlexceptiononinstall'] = '<p>Виникла помилка бази даних [{$a->errorcode}].<br />{$a->debuginfo}</p>';
|
||||
$string['downloadedfilecheckfailed'] = 'Помилка завантаження файлу.';
|
||||
$string['invalidmd5'] = 'Перевірка змінної повернула її помилку - спробуйте знову';
|
||||
$string['missingrequiredfield'] = 'Деякі обов\'язкові поля відсутні';
|
||||
$string['remotedownloaderror'] = 'Завантаження компонентів до вашого серверу зазнало невдачі, будь ласка перевірте налаштування проксі, та врахуйте рекомендацію встановлення PHP cURL.<br /><br /> Вам доведеться завантажити файл <a href="{$a->url}">{$a->url}</a> вручну, скопіювати його до "{$a->dest}" на вашому сервері та розпакувати там.';
|
||||
$string['wrongdestpath'] = 'Неправильний шлях призначення.';
|
||||
$string['wrongsourcebase'] = 'Неправильне джерело базового URL.';
|
||||
$string['wrongzipfilename'] = 'Неправильне ім\'я ZIP-архіву';
|
||||
@@ -30,5 +30,51 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$string['admindirname'] = 'Адмін-каталог';
|
||||
$string['availablelangs'] = 'Список доступних мов';
|
||||
$string['chooselanguagehead'] = 'Виберіть мову';
|
||||
$string['chooselanguagesub'] = 'Виберіть мову ТІЛЬКИ для процесу встановлення. Ви зможете вибрати мову для сайту та користувачів пізніше.';
|
||||
$string['clialreadyconfigured'] = 'Файл config.php вже створено, будь ласка, використовуйте admin/cli/install_database.php, якщо ви хочете встановити цей сайт.';
|
||||
$string['clialreadyinstalled'] = 'Файл config.php вже створено, будь ласка, використовуйте admin/cli/upgrade.php, якщо ви хочете оновити ваш сайт.';
|
||||
$string['cliinstallheader'] = 'Moodle {$a} командний рядок програми установки';
|
||||
$string['databasehost'] = 'Сервер бази даних';
|
||||
$string['databasename'] = 'Ім’я бази даних';
|
||||
$string['databasetypehead'] = 'Виберіть драйвер бази даних';
|
||||
$string['dataroot'] = 'Каталог Даних';
|
||||
$string['datarootpermission'] = 'Права каталогу даних';
|
||||
$string['dbprefix'] = 'Префікс таблиць';
|
||||
$string['dirroot'] = 'Moodle Каталог';
|
||||
$string['environmenthead'] = 'Перевірка залежностей...';
|
||||
$string['environmentsub2'] = 'Кожен Moodle реліз вимагає деяку мінімальну версію РНР та специфічний набір додаткових розширень. Повна перевірка проводиться до початку встановлення або оновлення. Будь ласка, зв’яжіться з вашим адміністратором, якщо ви не знаєте, як встановити нову версію або налаштувати РНР.';
|
||||
$string['errorsinenvironment'] = 'Залежності перевірити не вдалося!';
|
||||
$string['installation'] = 'Встановлення';
|
||||
$string['langdownloaderror'] = 'На жаль, мова "{$a}" не встановлена. Встановлення буде продовжено англійською мовою.';
|
||||
$string['memorylimithelp'] = '<p>Обмеження пам\'яті в PHP на сервері зараз встановлено в {$a}.</p> <p>Це може стати проблемою при подальшій роботі Moodle, коли ви будете мати багато курсів, модулів та користувачів.</p> <p>Ми рекомендуємо сконфігурувати РНР на обмеження пам\'яті не менше 16 Мб. Це можна зробити шляхом:</p> <ol> <li>перекомпіляції PHP з параметром <i>--enable-memory-limit</i>. Це надасть можливість Moodle встановити обмеження пам\'яті самостійно.</li> <li>встановлення в php.ini змінної <b>memory_limit</b> порядка 16Mб. Якщо ви не маєте доступу до цього файлу попросіть адміністратора зробити це для вас.</li> <li>створення в корні сайту файлу .htaccess, куди добавити наступний рядок: <p><blockquote>php_value memory_limit 16M</blockquote></p> <p>Але на деяких серверах це призведе до помилок на <b>всіх</b> сторінках, тоді вам потрібно видалити .htaccess.</p></li> </ol>';
|
||||
$string['paths'] = 'Шляхи';
|
||||
$string['pathserrcreatedataroot'] = 'Каталог даних ({$a->dataroot}) не може бути створений інсталятором.';
|
||||
$string['pathshead'] = 'Підтвердження шляхів';
|
||||
$string['pathsrodataroot'] = 'Каталог даних не має прав запису.';
|
||||
$string['pathsroparentdataroot'] = 'Батьківський каталог ({$a->parent}) не має прав запису. Каталог даних ({$a->dataroot}) не може бути створений інсталятором.';
|
||||
$string['pathssubadmindir'] = 'Дуже мало web хостингів використовують /admin в якості спеціальної адреси для доступу до адміністративного управління. На жаль, це суперечить стандартному розташуванню сторінок адміністрування для Moodle. Ви можете виправити це перейменуванням каталогу admin в будь-яке інше ім’я та вписати його тут. Наприклад: <em>moodleadmin</em>. Це виправить посилання на адміністрування в Moodle.';
|
||||
$string['pathssubdataroot'] = '<p>Каталог, де Moodle буде зберігати всі файли, які завантажують користувачі.</p>
|
||||
<p>Цей каталог повинен бути доступним для читання та запису для користувача, від імені якого запущено веб-сервер (зазвичай \'www-data\', \'nobody\', або \'apache\').</p>
|
||||
<p>Цей каталог не повинен бути доступним безпосередньо з Інтернету.</p>
|
||||
<p>Програма встановлення спробує створити цей каталог, якщо його не існує.</p>';
|
||||
$string['pathssubdirroot'] = '<p>Повний шлях до каталогу встановлення moodle.</p>';
|
||||
$string['pathssubwwwroot'] = '<p>Повна веб-адреса, за якою ваш сайт moodle буде доступним. Moodle може мати тільки одну адресу доступу. </p>
|
||||
<p>Якщо ваш сайт має кілька публічних адрес, то встановіть в DNS перенаправлення всіх інших адрес на цю. </p>
|
||||
<p>Якщо до вашого сайту мають одночасний доступ і з Інтернету, і з Інтранету (локальної мережі), то забезпечте доступ з локального середовища за публічною адресою. </p>
|
||||
<p>Якщо ви почали встановлення з неправильної адреси, видаліть все і почніть встановлення заново.</p>';
|
||||
$string['pathsunsecuredataroot'] = 'Розташування каталогу з даними не є безпечним';
|
||||
$string['pathswrongadmindir'] = 'Не створено адміністративний каталог';
|
||||
$string['phpextension'] = '{$a} РНР розширення';
|
||||
$string['phpversion'] = 'Версія РНР';
|
||||
$string['phpversionhelp'] = '<p>Moodle потребує PHP версії не менше ніж 4.3.0 або 5.1.0 (версії 5.0.x мають деякі відомі проблеми).</p> <p>Наразі ви працюєте з версією {$a}</p> <p>Вам потрібно оновити PHP або змінити хост з новішою версією PHP!<br /> (У разі 5.0.x ви також можете повернутися до версії 4.4.x)</p>';
|
||||
$string['welcomep10'] = '{$a->installername} ({$a->installerversion})';
|
||||
$string['welcomep20'] = 'Ви бачите цю сторінку, тому що ви успішно встановили та запустили пакет <strong>{$a->packname} {$a->packversion}</strong> на вашому комп’ютері. Вітаємо!';
|
||||
$string['welcomep30'] = 'Цей випуск <strong>{$a->installername}</strong> включає в себе програми для створення середовища, в якому <strong>Moodle</strong> працюватиме, а саме:';
|
||||
$string['welcomep40'] = 'Цей пакет також включає <strong>Moodle {$a->moodlerelease} ({$a->moodleversion})</strong>.';
|
||||
$string['welcomep50'] = 'Використання всіх частин цього пакету регламентується їх ліцензіями. Повний пакет <strong>{$a->installername}</strong> є <a href="http://www.opensource.org/docs/definition_plain.html">відкритим програмним забезпеченням</a> і розповсюджується під ліценцією <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>.';
|
||||
$string['welcomep60'] = 'Наступні сторінки будуть проводити вас через процедуру встановлення та налаштування <strong>Moodle</strong> на вашому комп’ютері. Ви можете прийняти автоматичне налаштування, а потім змінити параметри під себе.';
|
||||
$string['welcomep70'] = 'Натисніть кнопку "Далі" для продовження встановлення <strong>Moodle</strong>.';
|
||||
$string['wwwroot'] = 'Веб-адреса';
|
||||
|
||||
@@ -34,5 +34,11 @@ $string['clianswerno'] = 'n';
|
||||
$string['cliansweryes'] = 'y';
|
||||
$string['cliincorrectvalueerror'] = 'Lỗi, giá trị không đúng "{$a->value}" for "{$a->option}"';
|
||||
$string['cliincorrectvalueretry'] = 'Giá trị không đúng, vui lòng thử lại';
|
||||
$string['clitypevalue'] = 'nhập giá trị';
|
||||
$string['clitypevaluedefault'] = 'nhập giá trị, nhấn phím Enter để dùng giá trị mặc định ({$a})';
|
||||
$string['cliunknowoption'] = 'Lựa chọn chưa được nhận diện:
|
||||
{$a}
|
||||
Vui lòng sử dụng lựa chọn --help.';
|
||||
$string['cliyesnoprompt'] = 'nhập y (có) hay n (không)';
|
||||
$string['environmentrequireinstall'] = 'cần phải được cài hay kích hoạt.';
|
||||
$string['environmentrequireversion'] = 'Cần phiên bản {$a->needed} trong khi bạn đang dùng {$a->current}';
|
||||
|
||||
@@ -30,10 +30,24 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$string['cannotcreatedboninstall'] = '<p>Không thể tạo CSDL.</p>
|
||||
<p>CSDL được chỉ định không tồn tại và người dùng không được phép tạo CSDL.</p>
|
||||
<p>Quản trị trang nên xác minh thiết lập CSDL.</p>';
|
||||
$string['cannotcreatelangdir'] = 'Không thể tạo thư mục lang';
|
||||
$string['cannotcreatetempdir'] = 'Không thể tạo thư mục tạm thời';
|
||||
$string['cannotdownloadcomponents'] = 'Không thể tải component';
|
||||
$string['cannotdownloadzipfile'] = 'Không thể tải tập tin ZIP';
|
||||
$string['cannotfindcomponent'] = 'Không thấy component';
|
||||
$string['cannotsavemd5file'] = 'Không thể lưu tệp md5';
|
||||
$string['cannotsavezipfile'] = 'Không thể lưu tập tin ZIP';
|
||||
$string['cannotunzipfile'] = 'Không thể giải nén tập tin';
|
||||
$string['componentisuptodate'] = 'Component đang ở tình trạng mới nhất';
|
||||
$string['dmlexceptiononinstall'] = '<p>Lỗi CSDL xảy ra [{$a->errorcode}].<br />{$a->debuginfo}</p>';
|
||||
$string['downloadedfilecheckfailed'] = 'Kiểm tra tệp tải về bất thành';
|
||||
$string['invalidmd5'] = 'Biến kiểm tra sai - thử lại';
|
||||
$string['missingrequiredfield'] = 'Thiếu một số mục bắt buộc';
|
||||
$string['remotedownloaderror'] = '<p>Tải về thành phần máy chủ của bạn bất thành. Hãy xác minh các thiết lập proxy; bộ mở rộng PHP cURL được khuyến nghị.<p>
|
||||
<p>Bạn phải tải tệp <a href="{$a->url}">{$a->url}</a> thủ công, chép nó vào "{$a->dest}" trong máy chủ của mình và giải nén nó.</p>';
|
||||
$string['wrongdestpath'] = 'Đường dẫn sai';
|
||||
$string['wrongsourcebase'] = 'Nền URL nguồn sai';
|
||||
$string['wrongzipfilename'] = 'Tên tệp ZIP sai';
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
<?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/>.
|
||||
|
||||
/**
|
||||
* Automatically generated strings for Moodle installer
|
||||
*
|
||||
* Do not edit this file manually! It contains just a subset of strings
|
||||
* needed during the very first steps of installation. This file was
|
||||
* generated automatically by export-installer.php (which is part of AMOS
|
||||
* {@link http://docs.moodle.org/dev/Languages/AMOS}) using the
|
||||
* list of strings defined in /install/stringnames.txt.
|
||||
*
|
||||
* @package installer
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$string['thisdirection'] = 'ltr';
|
||||
$string['thislanguage'] = 'ⵜⴰⵎⴰⵣⵉⵖⵜ';
|
||||
+5
-1
@@ -27,7 +27,11 @@
|
||||
require('../config.php');
|
||||
require_once('lib.php');
|
||||
|
||||
require_login();
|
||||
require_login(0, false);
|
||||
if (isguestuser()) {
|
||||
// Guest users cannot perform lookups.
|
||||
throw new require_login_exception('Guests are not allowed here.');
|
||||
}
|
||||
|
||||
$ip = optional_param('ip', getremoteaddr(), PARAM_HOST);
|
||||
$user = optional_param('user', 0, PARAM_INT);
|
||||
|
||||
+1
-1
@@ -3920,7 +3920,7 @@ function file_pluginfile($relativepath, $forcedownload, $preview = null) {
|
||||
}
|
||||
|
||||
session_get_instance()->write_close(); // unlock session during fileserving
|
||||
send_stored_file($file, 60*60, 0, $forcedownload, array('preview' => $preview));
|
||||
send_stored_file($file, 0, 0, true, array('preview' => $preview));
|
||||
|
||||
} else if ($filearea === 'event_description' and $context->contextlevel == CONTEXT_COURSE) {
|
||||
|
||||
|
||||
@@ -26,6 +26,10 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
if (isset($_SERVER['REMOTE_ADDR'])) {
|
||||
die; // No access from web!
|
||||
}
|
||||
|
||||
// we want to know about all problems
|
||||
error_reporting(E_ALL | E_STRICT);
|
||||
ini_set('display_errors', '1');
|
||||
|
||||
@@ -798,6 +798,27 @@ session_get_instance();
|
||||
$SESSION = &$_SESSION['SESSION'];
|
||||
$USER = &$_SESSION['USER'];
|
||||
|
||||
// Set default content type and encoding, developers are still required to use
|
||||
// echo $OUTPUT->header() everywhere, anything that gets set later should override these headers.
|
||||
// This is intended to mitigate some security problems.
|
||||
if (AJAX_SCRIPT) {
|
||||
$supportsjsoncontenttype = !check_browser_version('MSIE') ||
|
||||
(check_browser_version('MSIE', 8) &&
|
||||
!(preg_match("/MSIE 7.0/", $_SERVER['HTTP_USER_AGENT']) && preg_match("/Trident\/([0-9\.]+)/", $_SERVER['HTTP_USER_AGENT'])));
|
||||
if (!$supportsjsoncontenttype) {
|
||||
// Some bloody old IE.
|
||||
@header('Content-type: text/plain; charset=utf-8');
|
||||
@header('X-Content-Type-Options: nosniff');
|
||||
} else if (!empty($_FILES)) {
|
||||
// Some ajax code may have problems with json and file uploads.
|
||||
@header('Content-type: text/plain; charset=utf-8');
|
||||
} else {
|
||||
@header('Content-type: application/json; charset=utf-8');
|
||||
}
|
||||
} else if (!CLI_SCRIPT) {
|
||||
@header('Content-type: text/html; charset=utf-8');
|
||||
}
|
||||
|
||||
// Late profiling, only happening if early one wasn't started
|
||||
if (!empty($CFG->profilingenabled)) {
|
||||
require_once($CFG->libdir . '/xhprof/xhprof_moodle.php');
|
||||
|
||||
+176
-28
@@ -1,35 +1,183 @@
|
||||
aardvark
|
||||
albatross
|
||||
alligator
|
||||
alpaca
|
||||
ant
|
||||
anteater
|
||||
antelope
|
||||
ape
|
||||
baby
|
||||
armadillo
|
||||
barracuda
|
||||
bat
|
||||
bee
|
||||
bison
|
||||
boar
|
||||
buffalo
|
||||
galago
|
||||
butterfly
|
||||
camel
|
||||
car
|
||||
caribou
|
||||
cat
|
||||
class
|
||||
cattle
|
||||
chamois
|
||||
cheetah
|
||||
chough
|
||||
clam
|
||||
cobra
|
||||
cod
|
||||
cormorant
|
||||
coyote
|
||||
crane
|
||||
crocodile
|
||||
crow
|
||||
curlew
|
||||
deer
|
||||
dinosaur
|
||||
dog
|
||||
eat
|
||||
dogfish
|
||||
dolphin
|
||||
dotterel
|
||||
dove
|
||||
dragonfly
|
||||
duck
|
||||
dugong
|
||||
dunlin
|
||||
eagle
|
||||
echidna
|
||||
eel
|
||||
eland
|
||||
elephant
|
||||
fence
|
||||
flower
|
||||
elk
|
||||
emu
|
||||
falcon
|
||||
ferret
|
||||
finch
|
||||
flamingo
|
||||
fly
|
||||
frog
|
||||
gate
|
||||
grass
|
||||
how
|
||||
item
|
||||
joke
|
||||
keep
|
||||
learn
|
||||
music
|
||||
nice
|
||||
own
|
||||
peg
|
||||
pillow
|
||||
quiet
|
||||
gaur
|
||||
gazelle
|
||||
gerbil
|
||||
giraffe
|
||||
gnat
|
||||
gnu
|
||||
goat
|
||||
goose
|
||||
goldfinch
|
||||
goldfish
|
||||
gorilla
|
||||
goshawk
|
||||
grouse
|
||||
guanaco
|
||||
gull
|
||||
hamster
|
||||
hare
|
||||
hawk
|
||||
hedgehog
|
||||
heron
|
||||
herring
|
||||
hornet
|
||||
horse
|
||||
human
|
||||
hyena
|
||||
jackal
|
||||
jaguar
|
||||
jay
|
||||
jellyfish
|
||||
kangaroo
|
||||
koala
|
||||
kouprey
|
||||
kudu
|
||||
lapwing
|
||||
lark
|
||||
lemur
|
||||
leopard
|
||||
lion
|
||||
llama
|
||||
lobster
|
||||
locust
|
||||
loris
|
||||
louse
|
||||
lyrebird
|
||||
magpie
|
||||
mallard
|
||||
manatee
|
||||
marten
|
||||
meerkat
|
||||
mink
|
||||
mole
|
||||
moose
|
||||
mouse
|
||||
mosquito
|
||||
narwhal
|
||||
newt
|
||||
octopus
|
||||
okapi
|
||||
opossum
|
||||
oryx
|
||||
ostrich
|
||||
otter
|
||||
owl
|
||||
ox
|
||||
oyster
|
||||
panther
|
||||
parrot
|
||||
partridge
|
||||
peafowl
|
||||
pelican
|
||||
penguin
|
||||
pheasant
|
||||
pigeon
|
||||
pony
|
||||
porcupine
|
||||
porpoise
|
||||
quail
|
||||
quelea
|
||||
rabbit
|
||||
rock
|
||||
seek
|
||||
stop
|
||||
tree
|
||||
ufo
|
||||
vat
|
||||
why
|
||||
xan
|
||||
zoo
|
||||
raccoon
|
||||
rail
|
||||
rat
|
||||
raven
|
||||
reindeer
|
||||
rook
|
||||
ruff
|
||||
salmon
|
||||
sandpiper
|
||||
sardine
|
||||
scorpion
|
||||
seahorse
|
||||
seal
|
||||
shark
|
||||
sheep
|
||||
shrew
|
||||
shrimp
|
||||
snail
|
||||
spider
|
||||
squid
|
||||
squirrel
|
||||
starling
|
||||
stingray
|
||||
stinkbug
|
||||
stork
|
||||
swallow
|
||||
swan
|
||||
tapir
|
||||
tarsier
|
||||
termite
|
||||
tiger
|
||||
toad
|
||||
trout
|
||||
turkey
|
||||
turtle
|
||||
viper
|
||||
vulture
|
||||
wallaby
|
||||
walrus
|
||||
wasp
|
||||
weasel
|
||||
wolf
|
||||
wolverine
|
||||
wombat
|
||||
wren
|
||||
yak
|
||||
zebra
|
||||
|
||||
@@ -168,7 +168,6 @@ if ($datarecord = data_submitted() and confirm_sesskey()) {
|
||||
$record->approved = 0;
|
||||
}
|
||||
|
||||
$record->groupid = $currentgroup;
|
||||
$record->timemodified = time();
|
||||
$DB->update_record('data_records', $record);
|
||||
|
||||
|
||||
@@ -111,11 +111,11 @@ if (($courses = $DB->get_records_sql_menu($sql, $params)) && !empty($searchcours
|
||||
'value="'.get_string('searchagain').'" '.
|
||||
'onclick="document.location=\'mapcourse.php?id='.$id.'\'"/>';
|
||||
|
||||
echo '<input type="hidden" name="searchcourse" value="'.$searchcourse.'"/>';
|
||||
echo '<input type="hidden" name="searchcourse" value="'.s($searchcourse).'"/>';
|
||||
echo '<input type="hidden" name="feedbackid" value="'.$feedback->id.'"/>';
|
||||
echo $OUTPUT->help_icon('searchcourses', 'feedback');
|
||||
} else {
|
||||
echo '<input type="text" name="searchcourse" value="'.$searchcourse.'"/> ';
|
||||
echo '<input type="text" name="searchcourse" value="'.s($searchcourse).'"/> ';
|
||||
echo '<input type="submit" value="'.get_string('searchcourses').'"/>';
|
||||
echo $OUTPUT->help_icon('searchcourses', 'feedback');
|
||||
}
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ function forum_produce_tracking_link(forumid, ltext, ltitle) {
|
||||
var elementid = "trackinglink";
|
||||
var subs_link = document.getElementById(elementid);
|
||||
if(subs_link){
|
||||
subs_link.innerHTML = "<a title='"+ltitle+"' href='"+M.cfg.wwwroot+"/mod/forum/settracking.php?id="+forumid+"'>"+ltext+"<\/a>";
|
||||
subs_link.innerHTML = "<a title='"+ltitle+"' href='"+M.cfg.wwwroot+"/mod/forum/settracking.php?id="+forumid+"&sesskey="+M.cfg.sesskey+"'>"+ltext+"<\/a>";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+4
-1
@@ -217,7 +217,10 @@ if ($generalforums) {
|
||||
$trackedlink = $stryes;
|
||||
|
||||
} else {
|
||||
$aurl = new moodle_url('/mod/forum/settracking.php', array('id'=>$forum->id));
|
||||
$aurl = new moodle_url('/mod/forum/settracking.php', array(
|
||||
'id' => $forum->id,
|
||||
'sesskey' => sesskey(),
|
||||
));
|
||||
if (!isset($untracked[$forum->id])) {
|
||||
$trackedlink = $OUTPUT->single_button($aurl, $stryes, 'post', array('title'=>$strnotrackforum));
|
||||
} else {
|
||||
|
||||
+22
-5
@@ -3792,13 +3792,19 @@ function forum_print_discussion_header(&$post, $forum, $group=-1, $datestring=""
|
||||
|
||||
echo '<td class="lastpost">';
|
||||
$usedate = (empty($post->timemodified)) ? $post->modified : $post->timemodified; // Just in case
|
||||
$parenturl = (empty($post->lastpostid)) ? '' : '&parent='.$post->lastpostid;
|
||||
$parenturl = '';
|
||||
$usermodified = new stdClass();
|
||||
$usermodified->id = $post->usermodified;
|
||||
$usermodified->firstname = $post->umfirstname;
|
||||
$usermodified->lastname = $post->umlastname;
|
||||
echo '<a href="'.$CFG->wwwroot.'/user/view.php?id='.$post->usermodified.'&course='.$forum->course.'">'.
|
||||
fullname($usermodified).'</a><br />';
|
||||
|
||||
// Show link to last poster and their post if user can see them.
|
||||
if ($canviewparticipants) {
|
||||
echo '<a href="'.$CFG->wwwroot.'/user/view.php?id='.$post->usermodified.'&course='.$forum->course.'">'.
|
||||
fullname($usermodified).'</a><br />';
|
||||
$parenturl = (empty($post->lastpostid)) ? '' : '&parent='.$post->lastpostid;
|
||||
}
|
||||
|
||||
echo '<a href="'.$CFG->wwwroot.'/mod/forum/discuss.php?d='.$post->discussion.$parenturl.'">'.
|
||||
userdate($usedate, $datestring).'</a>';
|
||||
echo "</td>\n";
|
||||
@@ -4969,7 +4975,10 @@ function forum_get_tracking_link($forum, $messages=array(), $fakelink=true) {
|
||||
// use <noscript> to print button in case javascript is not enabled
|
||||
$link .= '<noscript>';
|
||||
}
|
||||
$url = new moodle_url('/mod/forum/settracking.php', array('id'=>$forum->id));
|
||||
$url = new moodle_url('/mod/forum/settracking.php', array(
|
||||
'id' => $forum->id,
|
||||
'sesskey' => sesskey(),
|
||||
));
|
||||
$link .= $OUTPUT->single_button($url, $linktext, 'get', array('title'=>$linktitle));
|
||||
|
||||
if ($fakelink) {
|
||||
@@ -5632,6 +5641,11 @@ function forum_print_latest_discussions($course, $forum, $maxdiscussions=-1, $di
|
||||
}
|
||||
|
||||
foreach ($discussions as $discussion) {
|
||||
if ($forum->type == 'qanda' && !has_capability('mod/forum:viewqandawithoutposting', $context) &&
|
||||
!forum_user_has_posted($forum->id, $discussion->discussion, $USER->id)) {
|
||||
$canviewparticipants = false;
|
||||
}
|
||||
|
||||
if (!empty($replies[$discussion->discussion])) {
|
||||
$discussion->replies = $replies[$discussion->discussion]->replies;
|
||||
$discussion->lastpostid = $replies[$discussion->discussion]->lastpostid;
|
||||
@@ -7793,7 +7807,10 @@ function forum_extend_settings_navigation(settings_navigation $settingsnav, navi
|
||||
} else {
|
||||
$linktext = get_string('trackforum', 'forum');
|
||||
}
|
||||
$url = new moodle_url('/mod/forum/settracking.php', array('id'=>$forumobject->id));
|
||||
$url = new moodle_url('/mod/forum/settracking.php', array(
|
||||
'id' => $forumobject->id,
|
||||
'sesskey' => sesskey(),
|
||||
));
|
||||
$forumnode->add($linktext, $url, navigation_node::TYPE_SETTING);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,11 +29,7 @@ require_once("lib.php");
|
||||
$id = required_param('id',PARAM_INT); // The forum to subscribe or unsubscribe to
|
||||
$returnpage = optional_param('returnpage', 'index.php', PARAM_FILE); // Page to return to.
|
||||
|
||||
$url = new moodle_url('/mod/forum/settracking.php', array('id'=>$id));
|
||||
if ($returnpage !== 'index.php') {
|
||||
$url->param('returnpage', $returnpage);
|
||||
}
|
||||
$PAGE->set_url($url);
|
||||
require_sesskey();
|
||||
|
||||
if (! $forum = $DB->get_record("forum", array("id" => $id))) {
|
||||
print_error('invalidforumid', 'forum');
|
||||
@@ -47,7 +43,7 @@ if (! $cm = get_coursemodule_from_instance("forum", $forum->id, $course->id)) {
|
||||
print_error('invalidcoursemodule');
|
||||
}
|
||||
|
||||
require_course_login($course, false, $cm);
|
||||
require_login($course, false, $cm);
|
||||
|
||||
$returnto = forum_go_back_to($returnpage.'?id='.$course->id.'&f='.$forum->id);
|
||||
|
||||
|
||||
@@ -37,6 +37,8 @@ $PAGE->set_pagelayout('popup');
|
||||
$action = optional_param('action', null, PARAM_TEXT);
|
||||
$typeid = optional_param('typeid', null, PARAM_INT);
|
||||
|
||||
require_sesskey();
|
||||
|
||||
require_capability('mod/lti:addcoursetool', context_course::instance($courseid));
|
||||
|
||||
if (!empty($typeid)) {
|
||||
|
||||
+4
-1
@@ -57,7 +57,10 @@ $cm = get_coursemodule_from_id('lti', $id, 0, false, MUST_EXIST);
|
||||
$lti = $DB->get_record('lti', array('id' => $cm->instance), '*', MUST_EXIST);
|
||||
$course = $DB->get_record('course', array('id' => $cm->course), '*', MUST_EXIST);
|
||||
|
||||
require_login($course);
|
||||
$context = context_module::instance($cm->id);
|
||||
|
||||
require_login($course, true, $cm);
|
||||
require_capability('mod/lti:view', $context);
|
||||
|
||||
add_to_log($course->id, "lti", "launch", "launch.php?id=$cm->id", "$lti->id");
|
||||
|
||||
|
||||
@@ -154,7 +154,10 @@ function lti_view($instance) {
|
||||
$requestparams = lti_build_request($instance, $typeconfig, $course);
|
||||
|
||||
$launchcontainer = lti_get_launch_container($instance, $typeconfig);
|
||||
$returnurlparams = array('course' => $course->id, 'launch_container' => $launchcontainer, 'instanceid' => $instance->id);
|
||||
$returnurlparams = array('course' => $course->id,
|
||||
'launch_container' => $launchcontainer,
|
||||
'instanceid' => $instance->id,
|
||||
'sesskey' => sesskey());
|
||||
|
||||
if ( $orgid ) {
|
||||
$requestparams["tool_consumer_instance_guid"] = $orgid;
|
||||
|
||||
@@ -35,6 +35,8 @@ $course = $DB->get_record('course', array('id' => $lti->course));
|
||||
|
||||
require_login($course);
|
||||
|
||||
require_sesskey();
|
||||
|
||||
require_capability('mod/lti:requesttooladd', context_course::instance($lti->course));
|
||||
|
||||
$baseurl = lti_get_domain_from_url($lti->toolurl);
|
||||
|
||||
+18
-11
@@ -31,7 +31,7 @@ require_once($CFG->dirroot.'/mod/lti/locallib.php');
|
||||
$courseid = required_param('course', PARAM_INT);
|
||||
$instanceid = required_param('instanceid', PARAM_INT);
|
||||
|
||||
$errormsg = optional_param('lti_errormsg', '', PARAM_RAW);
|
||||
$errormsg = optional_param('lti_errormsg', '', PARAM_TEXT);
|
||||
$unsigned = optional_param('unsigned', '0', PARAM_INT);
|
||||
|
||||
$launchcontainer = optional_param('launch_container', LTI_LAUNCH_CONTAINER_WINDOW, PARAM_INT);
|
||||
@@ -39,6 +39,7 @@ $launchcontainer = optional_param('launch_container', LTI_LAUNCH_CONTAINER_WINDO
|
||||
$course = $DB->get_record('course', array('id' => $courseid));
|
||||
|
||||
require_login($course);
|
||||
require_sesskey();
|
||||
|
||||
if (!empty($errormsg)) {
|
||||
$url = new moodle_url('/mod/lti/return.php', array('course' => $courseid));
|
||||
@@ -59,23 +60,29 @@ if (!empty($errormsg)) {
|
||||
|
||||
echo get_string('lti_launch_error', 'lti');
|
||||
|
||||
echo htmlspecialchars($errormsg);
|
||||
p($errormsg);
|
||||
|
||||
$canaddtools = has_capability('mod/lti:addcoursetool', context_course::instance($courseid));
|
||||
if ($unsigned == 1) {
|
||||
|
||||
if ($unsigned == 1 && $canaddtools) {
|
||||
echo '<br /><br />';
|
||||
|
||||
$links = new stdClass();
|
||||
$coursetooleditor = new moodle_url('/mod/lti/instructor_edit_tool_type.php', array('course' => $courseid, 'action' => 'add'));
|
||||
$links->course_tool_editor = $coursetooleditor->out(false);
|
||||
$coursecontext = context_course::instance($courseid);
|
||||
|
||||
$adminrequesturl = new moodle_url('/mod/lti/request_tool.php', array('instanceid' => $instanceid));
|
||||
$links->admin_request_url = $adminrequesturl->out(false);
|
||||
if (has_capability('mod/lti:addcoursetool', $coursecontext)) {
|
||||
$coursetooleditor = new moodle_url('/mod/lti/instructor_edit_tool_type.php',
|
||||
array('course' => $courseid, 'action' => 'add', 'sesskey' => sesskey()));
|
||||
$links->course_tool_editor = $coursetooleditor->out(false);
|
||||
|
||||
echo get_string('lti_launch_error_unsigned_help', 'lti', $links);
|
||||
echo get_string('lti_launch_error_unsigned_help', 'lti', $links);
|
||||
}
|
||||
|
||||
echo get_string('lti_launch_error_tool_request', 'lti', $links);
|
||||
if (has_capability('mod/lti:requesttooladd', $coursecontext)) {
|
||||
$adminrequesturl = new moodle_url('/mod/lti/request_tool.php',
|
||||
array('instanceid' => $instanceid, 'sesskey' => sesskey()));
|
||||
$links->admin_request_url = $adminrequesturl->out(false);
|
||||
|
||||
echo get_string('lti_launch_error_tool_request', 'lti', $links);
|
||||
}
|
||||
}
|
||||
|
||||
echo $OUTPUT->footer();
|
||||
|
||||
@@ -603,8 +603,11 @@ function scorm_get_sco_runtime($scormid, $scoid, $userid, $attempt=1) {
|
||||
global $DB;
|
||||
|
||||
$timedata = new stdClass();
|
||||
$sql = !empty($scoid) ? "userid=$userid AND scormid=$scormid AND scoid=$scoid AND attempt=$attempt" : "userid=$userid AND scormid=$scormid AND attempt=$attempt";
|
||||
$tracks = $DB->get_records_select('scorm_scoes_track', "$sql ORDER BY timemodified ASC");
|
||||
$params = array('userid' => $userid, 'scormid' => $scormid, 'attempt' => $attempt);
|
||||
if (!empty($scoid)) {
|
||||
$params['scoid'] = $scoid;
|
||||
}
|
||||
$tracks = $DB->get_records('scorm_scoes_track', $params, "timemodified ASC");
|
||||
if ($tracks) {
|
||||
$tracks = array_values($tracks);
|
||||
}
|
||||
|
||||
+8
-1
@@ -66,6 +66,13 @@ add_to_log($course->id, "wiki", "admin", "admin.php?pageid=".$page->id, $page->i
|
||||
|
||||
//Delete page if a page ID to delete was supplied
|
||||
if (!empty($delete) && confirm_sesskey()) {
|
||||
if ($pageid != $delete) {
|
||||
// Validate that we are deleting from the same subwiki.
|
||||
$deletepage = wiki_get_page($delete);
|
||||
if (!$deletepage || $deletepage->subwikiid != $page->subwikiid) {
|
||||
print_error('incorrectsubwikiid', 'wiki');
|
||||
}
|
||||
}
|
||||
wiki_delete_pages($context, $delete, $page->subwikiid);
|
||||
//when current wiki page is deleted, then redirect user to create that page, as
|
||||
//current pageid is invalid after deletion.
|
||||
@@ -107,4 +114,4 @@ $wikipage->print_header();
|
||||
$wikipage->set_view($option, empty($listall)?true:false);
|
||||
$wikipage->print_content();
|
||||
|
||||
$wikipage->print_footer();
|
||||
$wikipage->print_footer();
|
||||
|
||||
+1
-1
@@ -10,13 +10,13 @@ YUI().use('yui2-autocomplete', 'yui2-datasource', 'yui2-animation', 'yui2-connec
|
||||
fieldDelim: "\t"
|
||||
};
|
||||
myDataSource.maxCacheEntries = 60;
|
||||
myDataSource.minQueryLength = 3;
|
||||
|
||||
// Instantiate the AutoComplete
|
||||
var myAutoComp = new Y.YUI2.widget.AutoComplete("id_relatedtags", "relatedtags-autocomplete", myDataSource);
|
||||
document.getElementById('id_relatedtags').style.width = '30%';
|
||||
myAutoComp.allowBrowserAutocomplete = false;
|
||||
myAutoComp.maxResultsDisplayed = 20;
|
||||
myAutoComp.minQueryLength = 3;
|
||||
myAutoComp.delimChar = [","," "];
|
||||
myAutoComp.formatResult = function(oResultData, sQuery, sResultMatch) {
|
||||
return (sResultMatch);
|
||||
|
||||
@@ -27,16 +27,32 @@ define('AJAX_SCRIPT', true);
|
||||
require_once('../config.php');
|
||||
require_once('lib.php');
|
||||
|
||||
require_login();
|
||||
|
||||
if (empty($CFG->usetags)) {
|
||||
print_error('tagsaredisabled', 'tag');
|
||||
// Tags are disabled.
|
||||
die();
|
||||
}
|
||||
|
||||
$query = optional_param('query', '', PARAM_RAW);
|
||||
|
||||
if ($similar_tags = tag_autocomplete($query)) {
|
||||
foreach ($similar_tags as $tag) {
|
||||
echo clean_param($tag->name, PARAM_TAG) . "\t" . tag_display_name($tag) . "\n";
|
||||
}
|
||||
require_login(0, false);
|
||||
if (isguestuser()) {
|
||||
// Guests should not be using this.
|
||||
die();
|
||||
}
|
||||
|
||||
// If a user cannot edit tags, they cannot add related tags which is what this auto complete is for.
|
||||
require_capability('moodle/tag:edit', context_system::instance());
|
||||
|
||||
$query = optional_param('query', '', PARAM_TAG);
|
||||
|
||||
echo $OUTPUT->header();
|
||||
|
||||
// Limit the query to a minimum of 3 characters.
|
||||
$similartags = array();
|
||||
if (core_text::strlen($query) >= 3) {
|
||||
$similartags = tag_autocomplete($query);
|
||||
}
|
||||
|
||||
foreach ($similartags as $tag) {
|
||||
echo clean_param($tag->name, PARAM_TAG) . "\t" . tag_display_name($tag) . "\n";
|
||||
}
|
||||
|
||||
echo $OUTPUT->footer();
|
||||
|
||||
+2
-2
@@ -29,11 +29,11 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2013051407.00; // 20130514 = branching date YYYYMMDD - do not modify!
|
||||
$version = 2013051409.00; // 20130514 = branching date YYYYMMDD - do not modify!
|
||||
// RR = release increments - 00 in DEV branches
|
||||
// .XX = incremental changes
|
||||
|
||||
$release = '2.5.7 (Build: 20140714)'; // Human-friendly version name
|
||||
$release = '2.5.9 (Build: 20141110)'; // Human-friendly version name
|
||||
|
||||
$branch = '25'; // this version's branch
|
||||
$maturity = MATURITY_STABLE; // this version's maturity level
|
||||
|
||||
Reference in New Issue
Block a user