This file contains hidden or 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 | |
/** | |
* UniqueEmailField extends the built in {@link EmailField} but add's an additional check | |
* to the validation to ensure a member doesn't already exist which the email given. | |
* | |
* @author Will Rossiter <http://twitter.com/wilr> | |
*/ | |
class UniqueEmailField extends EmailField { | |
This file contains hidden or 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
# ************************************************************ | |
# Sequel Pro SQL dump | |
# Version 3348 | |
# | |
# http://www.sequelpro.com/ | |
# http://code.google.com/p/sequel-pro/ | |
# | |
# Host: localhost (MySQL 5.1.54) | |
# Generation Time: 2011-07-10 19:08:36 +1200 | |
# ************************************************************ |
This file contains hidden or 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
/** | |
* Description of the file and what it covers. | |
* | |
* If there are any items you need to finish or which | |
* people need to be aware of use @todo like below, remember | |
* to remove the @todo's once you have completed them | |
* | |
* @todo Finish. | |
*/ |
This file contains hidden or 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
// ==UserScript== | |
// @name Google Reader - Hide unread counts and styles | |
// @version 1.0.1 | |
// @namespace http://willrossi.com | |
// @author willrossi | |
// @description Hide unread counts and indicators (including bold font faces) on Google Reader. | |
// @include http*://www.google.*/reader/* | |
// ==/UserScript== | |
(function() { |
This file contains hidden or 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
(function($) { | |
/* | |
A simple helper plugin for wrapping Google Analytic event tracking | |
into sites through jQuery and HTML5 data attributes. | |
This assumes that you have used the standard configuration provided | |
by google for setting up Google Analytics and used the _gaq var for | |
storing the tracker. | |
Can track focus, activate, hover and click input methods but not key |
This file contains hidden or 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/sapphire/core/i18n.php b/sapphire/core/i18n.php | |
index 25190b1..cbd7903 100755 | |
--- a/sapphire/core/i18n.php | |
+++ b/sapphire/core/i18n.php | |
@@ -1872,13 +1872,15 @@ class i18n extends Object { | |
// Load translations from themes | |
$themesBase = $base . '/themes'; | |
- foreach(scandir($themesBase) as $theme) { | |
- if( |
This file contains hidden or 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 | |
/** | |
* An extension to SilverStripes inbuilt {@link Image} class to handle resizing | |
* large images on upload either through the backend interface or through upload | |
* forms. | |
* | |
* File is resized to a copy, then the original is deleted and the smaller image | |
* moved back. | |
* |
This file contains hidden or 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 | |
/** | |
* Action that takes the user back to a given link rather than submitting | |
* the form. | |
* | |
* @package cancelformaction | |
*/ | |
class CancelFormAction extends FormAction { | |
OlderNewer