/[drupal]/contributions/themes/refresco/template.php
ViewVC logotype

Diff of /contributions/themes/refresco/template.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.1, Sat May 31 12:56:48 2008 UTC revision 1.1.2.2, Sat Mar 28 19:32:15 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: template.php,v 1.1 2008/05/29 02:40:09 crashtest Exp $  // $Id: template.php,v 1.1.2.1 2008/05/31 12:56:48 crashtest Exp $
3    
4  /**  /**
5   * Return a themed breadcrumb trail.   * Return a themed breadcrumb trail.
# Line 79  function phptemplate_node_submitted($nod Line 79  function phptemplate_node_submitted($nod
79      ));      ));
80  }  }
81    
 /**  
  * Generates IE CSS links for LTR and RTL languages.  
  */  
 function phptemplate_get_ie_styles() {  
   global $language;  
   
   $iecss = '<link type="text/css" rel="stylesheet" media="all" href="'. base_path() . path_to_theme() .'/fix-ie.css" />';  
   if (defined('LANGUAGE_RTL') && $language->direction == LANGUAGE_RTL) {  
     $iecss .= '<style type="text/css" media="all">@import "'. base_path() . path_to_theme() .'/fix-ie-rtl.css";</style>';  
   }  
   
   return $iecss;  
 }  
   
82  function phptemplate_menu_tree_cid($menu_name, $data) {  function phptemplate_menu_tree_cid($menu_name, $data) {
83    return 'links:'. $menu_name .':tree-data:'. md5(serialize($data));    return 'links:'. $menu_name .':tree-data:'. md5(serialize($data));
84  }  }

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

  ViewVC Help
Powered by ViewVC 1.1.2