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

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

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

revision 1.1.1.1.2.4, Thu Jun 19 07:41:53 2008 UTC revision 1.1.1.1.2.5, Sat Apr 25 06:21:12 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: template.php,v 1.1.1.1.2.3 2008/06/19 07:35:21 hswong3i Exp $  // $Id: template.php,v 1.1.1.1.2.4 2008/06/19 07:41:53 hswong3i Exp $
3    
4  /**  /**
5   * Add custom.css if file exist.   * Add custom.css if file exist.
# Line 39  function phptemplate_body_class($sidebar Line 39  function phptemplate_body_class($sidebar
39   *   a string containing the mission output, or execute PHP code snippet if   *   a string containing the mission output, or execute PHP code snippet if
40   *   mission is enclosed with <?php ?>.   *   mission is enclosed with <?php ?>.
41   */   */
42  function interactive_media_mission() {  function phptemplate_mission() {
43    $mission = theme_get_setting('mission');    $mission = theme_get_setting('mission');
44    if (preg_match('/^<\?php/', $mission)) {    if (preg_match('/^<\?php/', $mission)) {
45      $mission = drupal_eval($mission);      $mission = drupal_eval($mission);

Legend:
Removed from v.1.1.1.1.2.4  
changed lines
  Added in v.1.1.1.1.2.5

  ViewVC Help
Powered by ViewVC 1.1.2