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 THEME_preprocess_page(&$vars) { | |
| if ($vars['node']->type != "") { | |
| $vars['template_files'][] = "page-node-" . $vars['node']->type; | |
| } | |
| } | 
  
    
      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 THEME_preprocess_page(&$vars) { | |
| if (!empty($vars['node'])) { | |
| $vars['theme_hook_suggestions'][] = 'page__node__' . $vars['node']->type; | |
| } | |
| } | 
  
    
      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
    
  
  
    
  | l( | |
| t('<span></span>Link Title'), | |
| 'link_path', | |
| array( | |
| 'attributes' => array( | |
| 'class' => array('menu-link'), | |
| 'id' =>'faq-page', | |
| ), | |
| 'html' => 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
    
  
  
    
  | (function ($) { | |
| $("#content a[href*='vimeo.com']").each(function() { | |
| $this = $(this); | |
| var href = $this.attr('href'); | |
| var vimeoId = href.split('/').pop(); | |
| $this.colorbox({ html: function() { | |
| var iframe = '<iframe width="853" height="480" src="http://player.vimeo.com/video/' + vimeoId + '?autoplay=1" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'; | |
| var output = "<div style='line-height: 0px; overflow: hidden;'>" + iframe + '</div>'; | |
| return output; | |
| }}); | 
  
    
      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
    
  
  
    
  | $page = page_manager_get_current_page(); | |
| if ($page) { | |
| $vars['classes_array'][] = 'page-manager'; | |
| $vars['classes_array'][] = 'page-manager-' . $page['name']; | |
| if (isset($page['handler']->conf['display']->layout)) { | |
| $vars['classes_array'][] = 'page-manager-layout-' . $page['handler']->conf['display']->layout; | |
| } | |
| } | 
  
    
      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
    
  
  
    
  | $thumb_url = image_style_url('image-style', $field[0]['uri']); | 
  
    
      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
    
  
  
    
  | file_put_contents("/tmp/drupal.debug", print_r($whatever, TRUE), FILE_APPEND); | 
  
    
      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
    
  
  
    
  | var cb=jQuery('.checkbox[title^="administrator"] .form-checkbox'); | |
| for (var i=0;i<cb.length;i++) cb[i].checked=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
    
  
  
    
  | $url = file_create_url($uri); | 
  
    
      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($) { | |
| // Description | |
| Drupal.behaviors.nameOfBehavior = { | |
| attach: function (context, settings) { | |
| } | |
| }; |