Changeset 344

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

Webquest fixed

Location:
trunk/app/views
Files:
1 removed
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/acquaintances/admin_add.ctp

    r256 r344  
    44 
    55<?php echo $html->formTag('/acquintances/add/','post'); ?> 
    6 <?php echo $html->hiddenTag('Acquintance/user_id', $othAuth->user('id')) ?> 
     6<?php echo $html->hiddenTag('Acquintance/user_id', $cU['User']['id'] ); ?> 
    77<fieldset> 
    88  <?php echo $form->labelTag('Acquintance/title', 'Title:' );?><br />  
  • trunk/app/views/elements/livechat.ctp

    r314 r344  
    1212echo $html->hiddenTag('Livechat/user_id', $Element[0]["User"]["id"]);  // user_id 
    1313 
    14 if ( $othAuth->user('id') ) 
     14if ( $cU['User']['id'] ) 
    1515{ 
    16     echo $html->hiddenTag('Livechat/sender_name', $othAuth->user('username'));  // user_id 
     16    echo $html->hiddenTag('Livechat/sender_name', $cU['User']['username'] );  // user_id 
    1717} 
    1818else 
  • 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)' );