/[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.2.2.1, Tue May 6 03:54:09 2008 UTC revision 1.2.2.2, Sat Apr 25 06:19:22 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: template.php,v 1.2 2008/04/23 16:49:55 hswong3i Exp $  // $Id: template.php,v 1.2.2.1 2008/05/06 03:54:09 hswong3i Exp $
   
 function interactive_media_theme() {  
   return array(  
     'mission' => array(  
       'arguments' => array('form' => NULL),  
     ),  
   );  
 }  
3    
4  /**  /**
5   * Return a themed mission trail.   * Return a themed mission trail.
# Line 16  function interactive_media_theme() { Line 8  function interactive_media_theme() {
8   *   a string containing the mission output, or execute PHP code snippet if   *   a string containing the mission output, or execute PHP code snippet if
9   *   mission is enclosed with <?php ?>.   *   mission is enclosed with <?php ?>.
10   */   */
11  function interactive_media_mission() {  function phptemplate_mission() {
12    $mission = theme_get_setting('mission');    $mission = theme_get_setting('mission');
13    if (preg_match('/^<\?php/', $mission)) {    if (preg_match('/^<\?php/', $mission)) {
14      $mission = drupal_eval($mission);      $mission = drupal_eval($mission);

Legend:
Removed from v.1.2.2.1  
changed lines
  Added in v.1.2.2.2

  ViewVC Help
Powered by ViewVC 1.1.2