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
text-shadow: 0px 1px 0px #e5e5ee; |
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
white-space: pre-wrap; /* css-3 */ | |
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ | |
white-space: -pre-wrap; /* Opera 4-6 */ | |
white-space: -o-pre-wrap; /* Opera 7 */ | |
word-wrap: break-word; /* IE 5.5+ */ |
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 | |
$test = array('a', 'b', 'c'); | |
function clean($input) | |
{ | |
$output = $input . '!'; | |
return $output; | |
} |
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
.element { | |
display: inline-block; | |
} | |
* + .element { // IE 6-7 | |
display: inline; | |
} |
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
/** | |
* A cross-browser method to get the correct event target | |
* @param object e The event being fired | |
* @return object targ The event target | |
*/ | |
Navigation.prototype.getEventTarget = function(e) | |
{ | |
var targ; | |
if (e.target) { // W3C |
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 | |
App::uses('AppController', 'Controller'); | |
/** | |
* Users Controller | |
* | |
* @property User $User | |
*/ | |
class UsersController extends AppController { |
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 | |
// set up a stack | |
$options = array(); | |
/* our list of values to ignore (the ones that are permitted to be duplicates) | |
(made into an array so that you can easily add other options to be ignored, | |
without having to modify the other rules) */ | |
$exceptions = array('10'); |
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
# Dump of table release_notes | |
# ------------------------------------------------------------ | |
CREATE TABLE `release_notes` ( | |
`id` int(11) unsigned NOT NULL AUTO_INCREMENT, | |
`version_id` int(11) DEFAULT NULL, | |
`detail` text, | |
PRIMARY KEY (`id`) | |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
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 | |
/** | |
* image Generator -- see trac ticket #778 and #795 | |
* | |
* Resizes an image | |
* | |
* For proper documentation see the phpdoc for the imageGenerator function. | |
*/ | |
// If there isn't a directory for cached images, make one. |
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 | |
/* HEADLINE ARTICLE */ | |
if (isset($headline)) : | |
?> | |
<div id="headline" class="search_result"> | |
<a href="http://<?php print $DOMAIN . buildNewsArticleURL($headline[0]->id);?>"> | |
<?php | |
if ($headline[0]->imageURL != "") { | |
print imageGenerator('http://' . $DOMAIN . '/images/'. $headline[0]->imageURL, array( |