]> git.mjollnir.org Git - moodle.git/commitdiff
Some easter eggs :-)
authormoodler <moodler>
Fri, 22 Sep 2006 02:11:00 +0000 (02:11 +0000)
committermoodler <moodler>
Fri, 22 Sep 2006 02:11:00 +0000 (02:11 +0000)
lib/weblib.php
pix/s/heart.gif [new file with mode: 0755]
pix/s/martin.gif [new file with mode: 0755]
pix/s/no.gif [new file with mode: 0755]
pix/s/yes.gif [new file with mode: 0755]

index 13da6c8b2f9e53a9127a72fff1419b4f2b00db0d..ff19b4294a2e3044607b6571c9e7816e16eb67ea 100644 (file)
@@ -1760,6 +1760,9 @@ function replace_smilies(&$text) {
         'V-.'  => 'thoughtful',
         ':-P'  => 'tongueout',
         'B-)'  => 'cool',
+        'B)'   => 'cool',
+        '8-)'  => 'cool',
+        '8)'   => 'cool',
         '^-)'  => 'approve',
         '8-)'  => 'wideeyes',
         ':o)'  => 'clown',
@@ -1774,6 +1777,11 @@ function replace_smilies(&$text) {
         'xx-P' => 'dead',
         '|-.'  => 'sleepy',
         '}-]'  => 'evil',
+        '(h)'  => 'heart',
+        '(heart)'  => 'heart',
+        '(y)'  => 'yes',
+        '(n)'  => 'no',
+        '(martin)'  => 'martin'
         );
 
     if ($runonce == false) {  /// After the first time this is not run again
diff --git a/pix/s/heart.gif b/pix/s/heart.gif
new file mode 100755 (executable)
index 0000000..720b695
Binary files /dev/null and b/pix/s/heart.gif differ
diff --git a/pix/s/martin.gif b/pix/s/martin.gif
new file mode 100755 (executable)
index 0000000..ef261dc
Binary files /dev/null and b/pix/s/martin.gif differ
diff --git a/pix/s/no.gif b/pix/s/no.gif
new file mode 100755 (executable)
index 0000000..d2d5730
Binary files /dev/null and b/pix/s/no.gif differ
diff --git a/pix/s/yes.gif b/pix/s/yes.gif
new file mode 100755 (executable)
index 0000000..95d206e
Binary files /dev/null and b/pix/s/yes.gif differ