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
<li class="sidebarListIndent"><?php echo $this->Html->link('John August Swanson', array('controller' => 'john_swanson_serigraphs', 'action' => 'john_swanson_serigraphs_for_sale));?></li> |
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 $this->set('menuClass', 'john_swanson_serigraphs'); ?> |
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
ABS.Collection.DailyVerse = Backbone.Collection.extend({ | |
model: ABS.Model.DailyVerse, | |
url: "http://dailybible.americanbible.org/api.php?format=json" | |
}); |
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
linkClick : function(ev) { | |
ev.preventDefault(); | |
var breadcrumb = this.collection.getByCid($(ev.currentTarget).data('cid')); | |
this.trigger('breadcrumb:click', breadcrumb); | |
if (breadcrumb.get('slug') === 'home') { | |
window.ABS.spi.leftSidebar.makePanelActive('welcome'); | |
if ($('.tools-nav li').hasClass('active')) { | |
$('.tools-nav li').removeClass('active'); | |
} | |
else if ($('.actions li').hasClass('active')) { |
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
addTag : function(ev) { | |
ev.preventDefault(); | |
window.ABS.spi.leftSidebar.showTransferAnimation(ev.target); | |
$('.tools-nav li.active, .actions li.active').removeClass('active'); | |
$('.tools-nav li a.tags').closest('li').addClass('active'); | |
window.ABS.spi.leftSidebar.makePanelActive('tagCreate'); | |
}, | |
addNote : function(ev) { | |
ev.preventDefault(); |
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 | |
$this->set('menuClass', 'gallery'); | |
echo $this->element('noSearchMenu'); | |
?> |
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
#searchMenuBar ul.services-menu { | |
background: #ECEFE6 url(/img/services-nav-bg.jpg) no-repeat; | |
} |
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 | |
function i18nPOStrings() { | |
$locale = str_replace('-', '_', get_instance()->config->item('language_ui')->locale); | |
//$default = str_replace('-', '_', get_instance()->config->item('language_ui_default')->locale); | |
$dir = APPPATH . 'language/locale/' . $locale . '/LC_MESSAGES/'; | |
$files = glob($dir . '*.po'); | |
foreach ($files as $file) { | |
$contents .= file_get_contents($file) or die('Could not read from file.'); |
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
// Option A: reset maximum-scale on blur | |
var viewportMeta = $('meta[name="viewport"]'); | |
$('select[name="filter"]').bind('focus blur', function(event) { | |
viewportMeta.attr('content', 'width=device-width,initial-scale=1,maximum-scale=' + (event.type == 'blur' ? 10 : 1)); | |
}); | |
// Option B: limit maximum-scale to 1 | |
var viewportMeta = $('meta[name="viewport"]'); |
OlderNewer