Changeset 541 for trunk/app/views/galleries
- Timestamp:
- 05/21/08 15:27:00 (6 months ago)
- Location:
- trunk/app/views/galleries
- Files:
-
- 2 modified
-
admin_listing.ctp (modified) (2 diffs)
-
display.ctp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/galleries/admin_listing.ctp
r344 r541 2 2 window.onload = timedMsg; 3 3 </script> 4 <?php $session->flash(); ?> 5 <?php echo $html->addCrumb('Control Tools', '/admin/entries/start'); ?> 6 <?php echo $html->getCrumbs(' / '); ?> 7 8 <p><?php echo $html->link($html->image('actions/new.png', array("alt"=>"Add new page", "title"=>"Add new page")), '/admin/galleries/add', null, false, false) ?></p> 4 <?php 5 $session->flash(); 6 echo $html->addCrumb('Control Tools', '/admin/entries/start'); 7 echo $html->getCrumbs(' / '); 8 echo $html->para(null, $html->link($html->image('actions/new.png', array("alt"=>"Add new page", "title"=>"Add new page")), '/admin/galleries/add', null, false, false)); 9 ?> 9 10 10 11 <table class="tbadmin"> … … 21 22 $gags->sendEdit($val['Gallery']['id'], 'galleries'), 22 23 $html->link($html->image('admin/eye_icon.gif', array("alt"=>"See ". $val['Gallery']['title'], "title"=>"See ". $val['Gallery']['title'])), '#', 23 array("onclick"=>"window.open('/galleries/display/". $ cU['User']['username'].", null, 'status=1,toolbar=1,scrollbars=1,height=600,width=800';)"), null, null, false),24 array("onclick"=>"window.open('/galleries/display/". $session->read('Auth.User.username') .", null, 'status=1,toolbar=1,scrollbars=1,height=600,width=800';)"), null, null, false), 24 25 $html->link($val['Gallery']['title'], '/admin/photos/listing/'.$val['Gallery']['id']), 25 26 $gags->setStatus($val['Gallery']['status']), -
trunk/app/views/galleries/display.ctp
r344 r541 63 63 <p> 64 64 <?php 65 if ( $ cU['User']['username'])65 if ( $session->check('Auth.User') ) 66 66 { 67 echo $ cU['User']['username'] . " escribe:";67 echo $session->read('Auth.User.username') . " write:"; 68 68 69 69 }
