This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
defined('MOODLE_INTERNAL') || die(); | |
require_once($CFG->dirroot.'/user/classes/output/myprofile/renderer.php'); | |
class theme_snap_core_user_myprofile_renderer extends core_user\output\myprofile\renderer { | |
public function render_tree(core_user\output\myprofile\tree $tree) { | |
die("hello"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"requireCurlyBraces": [ | |
"if", | |
"else", | |
"for", | |
"while", | |
"do", | |
"try", | |
"catch" | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function render_user_picture(user_picture $userpicture) { | |
$bill = new bill_murray_picture($userpicture->user); | |
return parent::render_user_picture($bill); | |
} | |
} | |
class bill_murray_picture extends user_picture { | |
private $numberofbills = 18; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mod @mod_newmodule | |
Feature: Add a mod_newmodule | |
In order to <purpose of mod_newmodule> | |
As a teacher | |
I need to create a mod_newmodule | |
Background: | |
Given the following "users" exist: | |
| username | firstname | lastname | email | | |
| teacher1 | Teacher | 1 | teacher1@example.com | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mod @mod_newmodule | |
Feature: Add a newmodule to a course | |
In order to use mod_newmodule | |
As a teacher | |
I need to create a newmodule | |
Background: | |
Given the following "users" exist: | |
| username | firstname | lastname | email | | |
| teacher1 | Teacher | 1 | teacher1@example.com | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26454 mod/quiz/styles.css | |
14684 mod/workshop/styles.css | |
8022 blocks/community/styles.css | |
7553 mod/assign/feedback/editpdf/styles.css | |
6944 mod/assign/styles.css | |
6758 grade/grading/form/rubric/styles.css | |
6734 mod/forum/styles.css | |
6198 mod/wiki/styles.css | |
5455 grade/report/grader/styles.css | |
5431 mod/scorm/styles.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
button, | |
input.form-submit, | |
input[type="button"], | |
input[type="submit"], | |
input[type="reset"] { | |
display: inline-block; | |
margin-bottom: 0; | |
font-weight: 300; | |
text-align: center; | |
vertical-align: middle; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// A list of old CSS classes that can be grepped for in the code without | |
// causing false positives. See http://getbootstrap.com/migration/ | |
$oldstuff = array( | |
'span[0-9]', | |
'row-fluid', | |
'btn-mini', | |
'btn-small', | |
'btn-large', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/auth/tests/behat/behat_auth.php b/auth/tests/behat/behat_auth.php | |
index 959c2fb..41ff726 100644 | |
--- a/auth/tests/behat/behat_auth.php | |
+++ b/auth/tests/behat/behat_auth.php | |
@@ -96,7 +96,7 @@ class behat_auth extends behat_base { | |
// hamburger. | |
// However, the user menu *always* needs to be expanded. | |
- $xpath = "//div[@class='usermenu']//a[contains(concat(' ', @class, ' '), ' toggle-display ')]"; | |
+ $xpath = "//ul[contains(concat(' ', @class, ' '), ' usermenu ')]//a[contains(concat(' ', @class, ' '), ' dropdown-toggle ')]"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/auth/tests/behat/behat_auth.php b/auth/tests/behat/behat_auth.php | |
index 959c2fb..41ff726 100644 | |
--- a/auth/tests/behat/behat_auth.php | |
+++ b/auth/tests/behat/behat_auth.php | |
@@ -96,7 +96,7 @@ class behat_auth extends behat_base { | |
// hamburger. | |
// However, the user menu *always* needs to be expanded. | |
- $xpath = "//div[@class='usermenu']//a[contains(concat(' ', @class, ' '), ' toggle-display ')]"; | |
+ $xpath = "//ul[contains(concat(' ', @class, ' '), ' usermenu ')]//a[contains(concat(' ', @class, ' '), ' dropdown-toggle ')]"; |
OlderNewer