| 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. |
| 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); |