Changeset 9253 for temp/trunk/data
- Timestamp:
- 2006/11/28 09:42:29 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/data/class/SC_UploadFile.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/class/SC_UploadFile.php
r9191 r9253 182 182 183 183 // ¥Õ¥©¡¼¥à¤ËÅϤ¹ÍѤΥե¡¥¤¥ë¾ðÊóÇÛÎó¤òÊÖ¤¹ 184 function getFormFileList($temp_url, $save_url ) {184 function getFormFileList($temp_url, $save_url, $real_size = false) { 185 185 $cnt = 0; 186 186 foreach($this->keyname as $val) { … … 201 201 } 202 202 if($arrRet[$val]['filepath'] != "") { 203 // ¥Õ¥¡¥¤¥ë²£Éý 204 $arrRet[$val]['width'] = $this->width[$cnt]; 205 // ¥Õ¥¡¥¤¥ë½ÄÉý 206 $arrRet[$val]['height'] = $this->height[$cnt]; 203 204 if($real_size){ 205 list($width, $height) = getimagesize($arrRet[$val]['filepath']); 206 // ¥Õ¥¡¥¤¥ë²£Éý 207 $arrRet[$val]['width'] = $width; 208 // ¥Õ¥¡¥¤¥ë½ÄÉý 209 $arrRet[$val]['height'] = $height; 210 }else{ 211 // ¥Õ¥¡¥¤¥ë²£Éý 212 $arrRet[$val]['width'] = $this->width[$cnt]; 213 // ¥Õ¥¡¥¤¥ë½ÄÉý 214 $arrRet[$val]['height'] = $this->height[$cnt]; 215 } 207 216 // ɽ¼¨Ì¾ 208 217 $arrRet[$val]['disp_name'] = $this->disp_name[$cnt];
Note: See TracChangeset
for help on using the changeset viewer.
