Ignore:
Timestamp:
08/27/10 17:14:12 (21 months ago)
Author:
aarkerio
Message:

Helper updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/app/views/colleges/calendar.ctp

    r2450 r2486  
    88    echo $this->Html->div(null, null, array('style'=>'margin:10px auto;text-align:center;')); 
    99    $title = 'Calendario '.$data['College']['name']; 
    10     $lang  = $session->check('Auth') ? $session->read('Auth.User.lang') : 'es'; 
     10    $lang  = $this->Session->check('Auth') ? $this->Session->read('Auth.User.lang') : 'es'; 
    1111?> 
    1212    <iframe src="http://www.google.com/calendar/embed?title=<?php echo $title;?>%20&amp;height=600&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;hl=<?php echo $lang; ?>&amp;src=<?php echo $data['College']['gcalendar_id'];?>&amp;color=%232952A3&amp;ctz=America%2FMexico_City" style=" border-width:0 " width="600" height="600" frameborder="0" scrolling="no"></iframe> 
Note: See TracChangeset for help on using the changeset viewer.