Changeset 2521 for trunk/admin
- Timestamp:
- Sep 12, 2008, 4:17:35 AM (16 years ago)
- Location:
- trunk/admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions_metadata.php
r2299 r2521 29 29 { 30 30 global $conf, $page; 31 31 32 32 $map = $conf['use_iptc_mapping']; 33 33 34 34 $iptc = get_iptc_data($file, $map); 35 35 … … 109 109 array_push($image_ids, $id); 110 110 } 111 111 112 112 $query = ' 113 113 SELECT id … … 119 119 ;'; 120 120 121 $result = pwg_query($query); 122 while ($row = mysql_fetch_array($result)) 123 { 124 array_push($has_high_images, $row['id']); 125 } 121 $has_high_images = array_from_query($query, 'id'); 126 122 127 123 foreach ($files as $id => $file) … … 130 126 $data['id'] = $id; 131 127 $data['filesize'] = floor(filesize($file)/1024); 132 128 133 129 if ($image_size = @getimagesize($file)) 134 130 { … … 143 139 $data['high_filesize'] = floor(filesize($high_file)/1024); 144 140 } 145 141 146 142 if ($conf['use_exif']) 147 143 { … … 162 158 $tags_of[$id] = array(); 163 159 } 164 160 165 161 foreach (explode(',', $iptc[$key]) as $tag_name) 166 162 { … … 179 175 array_push($datas, $data); 180 176 } 181 177 182 178 if (count($datas) > 0) 183 179 { … … 190 186 'date_metadata_update' 191 187 ); 192 188 193 189 if ($conf['use_exif']) 194 190 { … … 199 195 ); 200 196 } 201 197 202 198 if ($conf['use_iptc']) 203 199 { … … 218 214 'update' => array_unique($update_fields) 219 215 ), 220 $datas 216 $datas, 217 MASS_UPDATES_SKIP_EMPTY 221 218 ); 222 219 } … … 235 232 * @return array 236 233 */ 237 function get_filelist($category_id = '', $site_id=1, $recursive = false, 234 function get_filelist($category_id = '', $site_id=1, $recursive = false, 238 235 $only_new = false) 239 236 { 240 237 // filling $cat_ids : all categories required 241 238 $cat_ids = array(); 242 239 243 240 $query = ' 244 241 SELECT id … … 293 290 $files[$row['id']] = $row['path']; 294 291 } 295 292 296 293 return $files; 297 294 } -
trunk/admin/template/yoga/default-layout.css
r2503 r2521 291 291 font-size: 1em; /* <= some browsers don't set it correctly */ 292 292 } 293 UL, DL { text-align: left;}293 UL, DL, OL { text-align: left;} 294 294 TABLE { /* horizontaly centered */ 295 295 margin-left: auto; -
trunk/admin/template/yoga/layout.css
r2390 r2521 1 /* $Id$ */2 1 3 2 /* template css */ 4 @import "menubar.css"; 3 /*@import "menubar.css";*/ 5 4 @import "content.css"; 6 5 @import "thumbnails.css"; -
trunk/admin/template/yoga/theme/admin/theme.css
r2503 r2521 45 45 .content dl, dd { margin:5px; } 46 46 .content div.titrePage { height:55px; } 47 .content ol li { text-align: left; }48 47 .instructions { text-align: left; padding: 20px 20px 0 20px; } 49 48 .throw, td h3 { 50 49 background-image: url(images/fillet.png); background-repeat: repeat-x; } 51 .browsePath a { color: #eee; }52 50 /* borders */ /* TODO */ 53 51 INPUT, SELECT, TEXTAREA { border-left: 2px inset #696969;
Note: See TracChangeset
for help on using the changeset viewer.