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
diff --git a/video_embed_field.module b/video_embed_field.module | |
index 54491d4..8a45ebb 100755 | |
--- a/video_embed_field.module | |
+++ b/video_embed_field.module | |
@@ -354,7 +354,8 @@ function template_preprocess_video_embed_field_embed_code(&$variables) { | |
// Prepare embed code | |
if ($handler && isset($handler['function']) && function_exists($handler['function'])) { | |
- $variables['embed_code'] = drupal_render(call_user_func($handler['function'], $variables['url'], $variables['style_settings'])); | |
+ $embed_code = call_user_func($handler['function'], $variables['url'], $variables['style_settings']); |
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
// add this to your html page (e.g. in a block) | |
<div id="map_canvas">map_canvas</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
# Block SEMalt botnet | |
RewriteEngine on | |
# Options +FollowSymlinks | |
RewriteCond %{HTTP_REFERER} http://anticrawler\.org [NC,OR] | |
RewriteCond %{HTTP_REFERER}ready-to-go\.com [NC,OR] | |
RewriteCond %{HTTP_REFERER} seamalt\.com | |
RewriteRule .* - [F] |
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
.circle-text { | |
width:50%; | |
} | |
.circle-text:after { | |
content: ""; | |
display: block; | |
width: 100%; | |
height:0; | |
padding-bottom: 100%; | |
background: #4679BD; |
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
.div{ | |
background:rgb(255,255,255); | |
background: transparent\9; | |
background:rgba(255,255,255,0.8); | |
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#ccffffff,endColorstr=#ccffffff); | |
zoom: 1; | |
&:nth-child(n) { | |
filter: none; | |
} | |
} |
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
input[type="submit"] { | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
} |
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($) { | |
$('thead').each(function() { | |
$th = $(this).find('th') | |
$(this).next('tbody').find('tr').each(function(tr) { | |
for(var i = 0; i < $th.length; i++) { | |
$(this).find('th, td').eq(i).attr('data-label', $th.eq(i).text()); | |
} | |
}); | |
}); | |
})(jQuery); |
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
// susy | |
width: columns(4,9) + (columns(1,9)/2) + (gutter(9)/2); | |
margin-right: gutter(9); | |
// neat | |
width: flex-grid(4.5, 9) + flex-gutter(9); |
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 the_aim_theme_preprocess_page(&$variables, $hook) { | |
if(arg(0) == 'taxonomy' && arg(1) == 'term' && is_numeric(arg(2))) { | |
$variables['h1_title'] = drupal_get_title(); | |
$term_info = taxonomy_term_load($variables['page']['content']['system_main']['cont']['field_overview_image_large']['#object']->tid); | |
if (isset($term_info) && !empty($term_info)){ | |
$variables['h1_title'] = $term_info->the_aim_seo_pagetitle['und'][0]['safe_value']; | |
drupal_set_title($variables['h1_title']); | |
} | |
} | |
} |
NewerOlder