/[drupal]/contributions/modules/photos/inc/photos.edit.inc
ViewVC logotype

Diff of /contributions/modules/photos/inc/photos.edit.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.2 by eastcn, Tue Mar 10 02:18:59 2009 UTC revision 1.1.2.3 by eastcn, Sun Mar 22 18:53:55 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: photos.edit.inc,v 1.1.2.1 2009/03/06 08:22:41 eastcn Exp $  // $Id: photos.edit.inc,v 1.1.2.2 2009/03/10 02:18:59 eastcn Exp $
3  function photos_edit_upload(){  function photos_edit_upload(){
4    global $user;    global $user;
5          $header = array(          $header = array(
# Line 266  function photos_editlist(&$form_state, $ Line 266  function photos_editlist(&$form_state, $
266          '#required' => TRUE          '#required' => TRUE
267        );        );
268      }else{      }else{
269        $uploadInfo = t('@name in !time upload to @title', array('@name' => theme('username', $image['user']), '!time' => format_date($image['timestamp'], 'small'), '@title' => l($image['title'], 'node/'.$image['pid'])));        $uploadInfo = t('!name in !time upload to !title', array('!name' => theme('username', $image['user']), '!time' => format_date($image['timestamp'], 'small'), '!title' => l($image['title'], 'node/'.$image['pid'])));
270      }      }
271      $form['photos'][$image['fid']]['time']['#value'] = $uploadInfo;      $form['photos'][$image['fid']]['time']['#value'] = $uploadInfo;
272                  $form['photos'][$image['fid']]['uid'] = array('#type' => 'hidden', '#default_value' => $image['uid']);                  $form['photos'][$image['fid']]['uid'] = array('#type' => 'hidden', '#default_value' => $image['uid']);

Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3

  ViewVC Help
Powered by ViewVC 1.1.3