Show
Ignore:
Timestamp:
03/25/08 10:32:39 (8 months ago)
Author:
aarkerio
Message:

Webquest fixed

Location:
trunk/app/views/galleries
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/galleries/admin_listing.ctp

    r253 r344  
    2121        $gags->sendEdit($val['Gallery']['id'], 'galleries'), 
    2222        $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/".$othAuth->user('username').", null, 'status=1,toolbar=1,scrollbars=1,height=600,width=800';)"), null, null, false), 
     23                    array("onclick"=>"window.open('/galleries/display/". $cU['User']['username'].", null, 'status=1,toolbar=1,scrollbars=1,height=600,width=800';)"), null, null, false), 
    2424        $html->link($val['Gallery']['title'], '/admin/photos/listing/'.$val['Gallery']['id']), 
    2525        $gags->setStatus($val['Gallery']['status']), 
  • trunk/app/views/galleries/display.ctp

    r253 r344  
    6363<p> 
    6464  <?php  
    65   if ( $othAuth->user('username') )  
     65  if ( $cU['User']['username'] )  
    6666  { 
    67      echo $othAuth->user('username') . "  escribe:"; 
     67     echo $cU['User']['username'] . "  escribe:"; 
    6868      
    69   } else { 
     69  }  
     70  else  
     71  { 
    7072   echo $html->input('Discution/username', array("size" => 25, "maxlength" => 50)); 
    7173   echo $form->labelTag( 'Discution/username', ' Nombre (requerido)' );