Changeset 25

Show
Ignore:
Timestamp:
14-05-2010 01:38:20 (3 years ago)
Author:
celso
Message:
 
Location:
trunk/website
Files:
2 added
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/website/classes/hp.php

    r21 r25  
    4848    default: 
    4949      $this->smarty->display('multimedia.tpl'); 
     50      break; 
     51      } 
     52    } 
     53 
     54  function live() { 
     55    GLOBAL $sconfig; 
     56    header("Content-Type: text/html; charset=utf-8");  
     57    switch($_GET['action']) { 
     58    default: 
     59      $this->smarty->display('live.tpl'); 
    5060      break; 
    5161      } 
  • trunk/website/www/index.php

    r21 r25  
    1313    $hp->multimedia(); 
    1414    break; 
     15  case "live": 
     16    $hp->live(); 
     17    break; 
    1518  default: 
    1619    $hp->display(); 
  • trunk/website/www/templates/header.tpl

    r21 r25  
    77<script type="text/javascript" src="http://js.sapo.pt/SAPO"></script> 
    88<script type="text/javascript" src="http://js.sapo.pt/SAPO/Utility/Dumper"></script> 
     9{if $uri=="/live"} 
     10<script type="text/javascript" src="http://js.sapo.pt/Bundles/SAPOMapsAPI.js"></script> 
     11{/if} 
    912{if $action=='edit' && $uid!=""} 
    1013<script type="text/javascript" src="/ckeditor/ckeditor.js"></script>