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
$GLOBALS['TL_DCA']['tl_content']['fields']['headline']['eval']['allowHtml'] = 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
global $objPage; | |
$strUrl = $this->generateFrontendUrl($objPage->row(), 'id=12'); |
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
<table class="minicalendar"> | |
<thead> | |
<tr> | |
<th class="head previous"><?php if ($this->prevHref): ?><a href="<?php echo $this->prevHref; ?>" rel="nofollow" title="<?php echo $this->prevTitle; ?>"><?php echo $this->prevLabel; ?></a><?php else: ?> <?php endif; ?></th> | |
<th colspan="5" class="head current"><?php echo $this->current; ?></th> | |
<th class="head next"><?php if ($this->nextHref): ?><a href="<?php echo $this->nextHref; ?>" rel="nofollow" title="<?php echo $this->nextTitle; ?>"><?php echo $this->nextLabel; ?></a><?php else: ?> <?php endif; ?></th> | |
</tr> | |
<tr> | |
<?php foreach ($this->days as $i=>$day): ?> | |
<th class="label<?php echo $day['class']; ?>"><?php echo utf8_substr($day['name'], 0, $this->substr); ?><span class="invisible"><?php echo utf8_substr($day['name'], $this->substr); ?></span></th> |
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
<script type="text/javascript"> | |
window.addEvent('domready', function(){ | |
document.getElements('.pagination a').addEvent('click', function(event){ | |
event.preventDefault(); | |
var page = event.target.get('href').match('page=[0-9]') | |
new Request.HTML({ | |
method:'get', | |
data:'g=1&action=cte&id=713&' + page, | |
url:'ajax.php', | |
update: event.target.getParent('.ce_gallery'), |
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
var children = $('remove-just-this').getChildren(); | |
children.replaces($('remove-just-this'); |
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 youtube_feed_shortcode($atts) | |
{ | |
// Defaults: | |
extract(shortcode_atts(array( | |
'user' => 'flamadiddle86', // youtube user | |
'limit' => 5, // maximum number of videos | |
'height' => 385, // video height | |
'width' => 480 // video width | |
), $atts)); | |
$data = @json_decode(file_get_contents('http://gdata.youtube.com/feeds/api/users/'.$user.'/uploads?alt=json'), 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
// Initialize | |
var sds = new SessionDataStore(); | |
// Store simple string | |
sds.set('foo', 'bar'); | |
// Store object | |
sds.set('testobject', { foo: "bar" } ); | |
// Get value back (will be a proper object, not just string) | |
var val = sds.get('testobject'); | |
// Copy something | |
sds.copy('foo', 'foo2'); |
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
/* | |
* md5.js 1.0b 27/06/96 | |
* | |
* Javascript implementation of the RSA Data Security, Inc. MD5 | |
* Message-Digest Algorithm. | |
* | |
* Copyright (c) 1996 Henri Torgemane. All Rights Reserved. | |
* | |
* Permission to use, copy, modify, and distribute this software | |
* and its documentation for any purposes and without |
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
/** | |
* | |
* Secure Hash Algorithm (SHA1) | |
* http://www.webtoolkit.info/ | |
* | |
**/ | |
function SHA1 (msg) { | |
function rotate_left(n,s) { |
OlderNewer