Changeset 9427
- Timestamp:
- Mar 2, 2009, 10:05:52 AM (16 years ago)
- Location:
- trunk/modules/boonex/shared_photo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/modules/boonex/shared_photo/classes/BxShPhotoUploaderN.php ¶
r9426 r9427 11 11 var $sWorkingFile; 12 12 var $sPredefCategory; 13 var $sSendFileInfoFormCaption; 13 14 14 15 // constructor … … 22 23 $this->sWorkingFile = $_SERVER['PHP_SELF']; 23 24 $this->sPredefCategory = ''; 25 $this->sSendFileInfoFormCaption = ''; 24 26 } 25 27 … … 204 206 ); 205 207 } 206 208 209 $sCaptionVal = ($this->sSendFileInfoFormCaption != '') ? $this->sSendFileInfoFormCaption : _t('_Info'); 207 210 $aForm = array( 208 211 'form_attrs' => array( … … 215 218 'header2' => array( 216 219 'type' => 'block_header', 217 'caption' => _t('_Info'),220 'caption' => $sCaptionVal, 218 221 ), 219 222 array( 220 223 'type' => 'custom', 221 224 'content' => $sProtoEl, 222 'caption' => _t('_ Image'),225 'caption' => _t('_bx_sh_Preview'), 223 226 ), 224 227 'title' => array( … … 477 480 $iImgHeight = (int)$aSize[1]; 478 481 $sDimension = $iImgWidth.'x'.$iImgHeight; 482 $sFileSize = sprintf("%u", filesize($sTempFileName) / 1024); 479 483 480 484 if ($iChangingPhotoID==0) { … … 497 501 return false; 498 502 } 503 504 $this->sSendFileInfoFormCaption = $iLastID . $sExtension . " ({$sDimension}) ({$sFileSize}kb)"; 499 505 500 506 $sFile = $sMediaDir . $iLastID . $sExtension; -
TabularUnified trunk/modules/boonex/shared_photo/install/langs/en.php ¶
r9416 r9427 65 65 '_bx_sh_Browse' => 'Browse', 66 66 '_bx_sh_I_have_the_right_to_distribute_these_files' => 'I have the right to distribute these files', 67 '_bx_sh_Preview' => 'Preview', 67 68 ); 68 69
Note: See TracChangeset
for help on using the changeset viewer.