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 download_only_on_process_billing_address_place_order_and_pay($controller, $page, $params) | |
{ | |
if (post('ship_to_billing_address')) | |
{ | |
Shop_CheckoutData::copy_billing_to_shipping(); | |
$controller->action(); | |
} |
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
<? | |
public static function generate_url($file_key) { | |
$s3 = self::get_s3(); | |
$link = ArclightAWSExpiring_Link::create()->where('file_key = ?', $file_key)->find(); | |
if (!$link) | |
throw new Phpr_ApplicationException('We are sorry, but the link could not be found'); | |
return $s3->get_object_url(self::$configuration->bucket, $file_key, '10 Seconds', | |
array('response' => array('content-disposition' => 'attachment; filename=' . $link->file_name)) | |
); |
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
{{ gallery }} | |
{{ if count < "6" }} | |
{{ img }} (1 through 5) | |
{{ else }} | |
{{ img }} (6 through infinity and beyond) |
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
fields: | |
spa_packages_grid: | |
display: Spa Packages | |
type: grid | |
fields: | |
spa_packages_title: | |
display: Title | |
type: text | |
spa_packages_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
<h2><i>by</i> {{ categories_url_list }}</h2> | |
{{ entries:listing folder="about/staff" limit="1" conditions="title:{ categories_list }"}} | |
<a href="#" class="pull-left"> | |
{{ image src="{{ staff_image }}" dim="150x300" }} | |
<img src="{{ image_url }}" width={{ width }} height={{ height }} alt="{{ title }}" class="thumbnail" /> | |
{{ /image }} | |
</a> | |
<div class="media-body"> | |
{{ content }} | |
<div><a class="email" href="mailto:{{ staff_email }}">{{ staff_email }}</a></div> |
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 | |
//if lt IE 7 | |
html.no-js.lt-ie9.lt-ie8.lt-ie7 | |
//if IE 7 | |
html.no-js.lt-ie9.lt-ie8 | |
//if IE 8 | |
html.no-js.lt-ie9 | |
//[if gt IE 8]><! | |
html.no-js | |
//<![endif] |
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
.sass-cache | |
_logs/* | |
_cache/* | |
_config/users/* | |
_content/* | |
assets/* | |
# Compiled source # | |
################### | |
*.com |
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
{{ if segment_2 }} | |
h2.blog-title: a(href="../blog", title="blog") In the Loupe | |
article.blog-article(itemscope itemtype="http://schema.org/Article") | |
header.blog-article__header | |
h1.blog-article__title(itemprop="name") {{ title|widont }} | |
.blog-article__featured-image |
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 site_url = 'https://s3.amazonaws.com/creative_loupe/website/demos/wireframing' | |
- var site_name = 'Wireframing Inc' | |
- var layout = '' | |
- var section = '' | |
- var sidebar_content = '' | |
block vars | |
doctype | |
//if IE 8 |
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
block vars | |
- var page_name='Press' | |
- var slug='press' | |
- var section='about' | |
- var layout='left-sidebar' | |
extends ../../layout | |
mixin articles | |
article |