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
$('form').attr('novalidate', true); |
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
//ADDS FILESIZE TO A FILE FIELD | |
function the_aim_theme_file_link($variables) { | |
$file = $variables['file']; | |
$icon_directory = $variables['icon_directory']; | |
$url = file_create_url($file->uri); | |
$icon = theme('file_icon', array('file' => $file, 'icon_directory' => $icon_directory)); | |
// Set options as per anchor format described at | |
// http://microformats.org/wiki/file-format-examples |
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 | |
/** | |
* Implementation of hook_block_info(). | |
*/ | |
function custom_block_back_to_overview_block_info() { | |
$blocks = array(); | |
$blocks['back-to-overview'] = array( | |
'info' => t('CB - Back to overview'), |
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 | |
/** | |
* Implements hook_user_login | |
*/ | |
function MODULE_form_user_login_alter(&$form, &$form_state) { | |
$form['already_customer'] = array( | |
'#type' => 'markup', | |
'#markup' => '<h3>' . t('I am already a customer') . '</h3>', | |
'#weight' => -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
<div id="mobile-icons"> | |
<span class="mobile-icon mobile-icon-search">Search</span> | |
<span class="mobile-icon mobile-icon-menu">Menu</span> | |
</div> |
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
@include at-breakpoint($break-2) { | |
a[href^=tel] { | |
color: grey !important; | |
cursor: text; | |
text-decoration: none !important; | |
&:hover { | |
text-decoration: none !important; | |
} | |
} | |
} |
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
(function($){ | |
$.fn.equalheights = function(options, settings){ | |
var max = 0, | |
that = this, | |
deBouncer = function($,cf,of, interval){ | |
var debounce = function (func, threshold, execAsap) { | |
var timeout; | |
return function debounced () { | |
var obj = this, args = arguments; |
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 | |
/** | |
* Implements theme_preprocess_menu_link() | |
*/ | |
function the_aim_theme_preprocess_menu_link(&$variables) { | |
$nofollowlinks = array(367); | |
$element = &$variables['element']; |