Removing login option for Moodle Networking 2009年 01月 14日(水曜日) 01:05 - Jon Bolton の投稿 返信数: 2 I understand from Helen Foster that Martin D hacked the code of dev.moodle.org to remove the login option so that people had to use their moodle.org account to access the site. Would it possible for that hack be shared?? 評点平均: - パーマリンク 返信 Jon Bolton への返信 Re: Removing login option for Moodle Networking 2009年 01月 14日(水曜日) 17:01 - Martin Dougiamas の投稿 Sure, I was going to put it in core anyway. Basically it's the patch below, plus this in config.php: $CFG->hideloginpanel = true; Index: index_form.html =================================================================== RCS file: /cvsroot/moodle/moodle/login/index_form.html,v retrieving revision 1.50.2.1 diff -r1.50.2.1 index_form.html 2c2 < if ($show_instructions) { --- > if ($show_instructions and empty($CFG->hideloginpanel)) { 8a9 > <?php if (empty($CFG->hideloginpanel)) { ?> 74a76 > <?php } ?> 評点平均: - パーマリンク 親投稿を表示する 返信 Martin Dougiamas への返信 Re: Removing login option for Moodle Networking 2009年 01月 15日(木曜日) 08:36 - Jon Bolton の投稿 Thanks Martin 評点平均: - パーマリンク 親投稿を表示する 返信
Jon Bolton への返信 Re: Removing login option for Moodle Networking 2009年 01月 14日(水曜日) 17:01 - Martin Dougiamas の投稿 Sure, I was going to put it in core anyway. Basically it's the patch below, plus this in config.php: $CFG->hideloginpanel = true; Index: index_form.html =================================================================== RCS file: /cvsroot/moodle/moodle/login/index_form.html,v retrieving revision 1.50.2.1 diff -r1.50.2.1 index_form.html 2c2 < if ($show_instructions) { --- > if ($show_instructions and empty($CFG->hideloginpanel)) { 8a9 > <?php if (empty($CFG->hideloginpanel)) { ?> 74a76 > <?php } ?> 評点平均: - パーマリンク 親投稿を表示する 返信 Martin Dougiamas への返信 Re: Removing login option for Moodle Networking 2009年 01月 15日(木曜日) 08:36 - Jon Bolton の投稿 Thanks Martin 評点平均: - パーマリンク 親投稿を表示する 返信
Martin Dougiamas への返信 Re: Removing login option for Moodle Networking 2009年 01月 15日(木曜日) 08:36 - Jon Bolton の投稿 Thanks Martin 評点平均: - パーマリンク 親投稿を表示する 返信