Changeset 22135 for trunk/admin
- Timestamp:
- Apr 11, 2013, 3:18:46 PM (11 years ago)
- Location:
- trunk/admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/photos_add_direct_prepare.inc.php
r19828 r22135 106 106 } 107 107 108 //warn the user if the picture will be resized after upload 109 if ($conf['original_resize']) 110 { 111 $template->assign( 112 array( 113 'original_resize_maxwidth' => $conf['original_resize_maxwidth'], 114 'original_resize_maxheight' => $conf['original_resize_maxheight'], 115 ) 116 ); 117 } 118 119 108 120 $upload_modes = array('html', 'multiple'); 109 121 $upload_mode = isset($conf['upload_mode']) ? $conf['upload_mode'] : 'multiple'; … … 256 268 ); 257 269 } 258 259 270 $template->assign( 260 271 array( -
trunk/admin/themes/default/template/photos_add_direct.tpl
r19828 r22135 290 290 <fieldset> 291 291 <legend>{'Select files'|@translate}</legend> 292 293 {if isset($original_resize_maxheight)}<p class="uploadInfo">{'The picture dimensions will be reduced to %dx%d pixels.'|@translate|@sprintf:$original_resize_maxwidth:$original_resize_maxheight}</p>{/if} 292 294 293 295 <p id="uploadWarningsSummary">{$upload_max_filesize_shorthand}B. {$upload_file_types}. {if isset($max_upload_resolution)}{$max_upload_resolution}Mpx{/if} <a class="showInfo" title="{'Learn more'|@translate}">i</a></p> … … 300 302 {/if} 301 303 </p> 304 305 302 306 303 307 {if $upload_mode eq 'html'} -
trunk/admin/themes/default/theme.css
r19530 r22135 996 996 #addUploadBox {margin-bottom:2em;} 997 997 998 p.uploadInfo {text-align:left;font-size:90%;color:#999;} 998 999 p#uploadWarningsSummary {text-align:left;margin-bottom:1em;font-size:90%;color:#999;} 999 1000 p#uploadWarningsSummary .showInfo {position:static;display:inline;padding:1px 6px;margin-left:3px;}
Note: See TracChangeset
for help on using the changeset viewer.