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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Size Watch</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/mootools/1.4.5/mootools-yui-compressed.js"></script> | |
<script src="file:///Users/jbennett/Desktop/SizeWatch.js"></script> | |
</head> | |
<body> |
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
Index: administrator/components/com_default/controllers/behaviors/executable.php | |
=================================================================== | |
--- administrator/components/com_default/controllers/behaviors/executable.php (revision 4344) | |
+++ administrator/components/com_default/controllers/behaviors/executable.php (working copy) | |
@@ -58,7 +58,7 @@ | |
if(parent::canAdd()) | |
{ | |
if(version_compare(JVERSION,'1.6.0','ge')) { | |
- $result = JFactory::getUser()->authorise('core.create'); | |
+ $result = JFactory::getUser()->authorise('core.create') === true; |
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 | |
class ComCCIDatabaseBehaviorNotifiable extends KDatabaseBehaviorAbstract | |
{ | |
/** | |
* Collection of emails. | |
* | |
* @var array | |
*/ | |
protected $_emails; |
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 | |
/** | |
* Relatable Behavior | |
* | |
* The relatable behavior provides a riby-esk has_many/belongs_to relationship model. | |
* | |
* @author jbennett | |
* | |
*/ |
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
Relevant URLS: | |
Full JSON dataset: option=com_gives&view=opportunities&format=json | |
Reduced JSON dataset: option=com_gives&view=opportunities&format=json&detail=short |
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
(function (window, document, undefined) { | |
window.addEvent('load', function() { // dont need to fill domready | |
$$('img').each(function(img) { | |
var normal, rollover; | |
if (img.src.indexOf('_normal') === -1) | |
return; // do nothing if image doesn't have _normal in name | |
normal = img.src; | |
rollover = img.src.replace('_normal', '_rollover'); // get both filenames |
NewerOlder