/[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.16, Sat Jun 14 03:13:29 2008 UTC revision 1.17, Sat Apr 25 06:22:01 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: template.php,v 1.2.2.1 2008/05/06 03:54:09 hswong3i Exp $  // $Id: template.php,v 1.2.2.2 2009/04/25 06:19:22 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.16  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.2