- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/media.php
r1678 r1681 231 231 $core->auth->user_prefs->addWorkspace('interface'); 232 232 $user_ui_enhanceduploader = $core->auth->user_prefs->interface->enhanceduploader; 233 234 233 235 234 if (!isset($core->media)) { … … 343 342 if ($core_media_writable) 344 343 { 345 echo '<div class="two-cols">'; 344 echo 345 '<h3>'.sprintf(__('In %s:'),($d == '' ? '“'.__('Media manager').'”' : '“'.$d.'”')).'</h3>'. 346 '<div class="media-action-box">'; 346 347 347 348 if ($user_ui_enhanceduploader) { 348 349 echo 349 '<div class=" colenhanced_uploader">';350 '<div class="enhanced_uploader">'; 350 351 } else { 351 352 echo 352 '<div class="col">'; 353 } 354 355 echo 356 '<div class="fieldset">'. 357 '<h3>'.__('Add files').'</h3>'. 353 '<div>'; 354 } 355 356 echo 357 '<h4>'.__('Add files').'</h4>'. 358 358 '<p>'.__('Please take care to publish media that you own and that are not protected by copyright.').'</p>'. 359 359 '<p class="max-sizer form-note info"> '.__('Maximum file size allowed:').' '.files::size(DC_MAX_UPLOAD_SIZE).'</p>'. … … 391 391 '<p style="clear:both;">'.form::hidden(array('d'),$d).'</p>'. 392 392 '</form>'. 393 '</div></div>'; 394 395 echo 396 '<div class="col">'. 397 '<form class="clear fieldset" action="'.html::escapeURL($page_url).'" method="post">'. 393 '</div>'. 394 '</div>'; 395 396 echo 397 '<div class="media-action-box">'. 398 '<form action="'.html::escapeURL($page_url).'" method="post">'. 398 399 '<div id="new-dir-f">'. 399 '<h 3>'.__('New directory').'</h3>'.400 '<h4>'.__('Create new directory').'</h4>'. 400 401 $core->formNonce(). 401 402 '<p><label for="newdir">'.__('Directory Name:').'</label>'. … … 404 405 form::hidden(array('d'),html::escapeHTML($d)).'</p>'. 405 406 '</div>'. 406 '</form></div>'; 407 408 echo '</div>'; 409 } 407 '</form>'. 408 '</div>'; 409 } 410 410 411 411 # Empty remove form (for javascript actions) 412 412 echo 413 '<form id="media-remove-hide" action="'.html::escapeURL($page_url).'" method="post"><div class="clear">'. 413 '<form id="media-remove-hide" action="'.html::escapeURL($page_url).'" method="post" class="hidden">'. 414 '<div>'. 414 415 form::hidden('rmyes',1).form::hidden('d',html::escapeHTML($d)). 415 416 form::hidden('remove',''). 416 417 $core->formNonce(). 417 '</div></form>'; 418 '</div>'. 419 '</form>'; 418 420 419 421 # Get zip directory … … 422 424 { 423 425 echo 424 '<p class="zip-dl"><a class="submit" href="'.html::escapeURL($page_url).'&zipdl=1">'. 425 __('Download this directory as a zip file').'</a></p>'; 426 '<div class="media-action-box">'. 427 '<h4>'.__('Backup content').'</h4>'. 428 '<p>'.__('Compress this directory with its content as a zip file and download it.').'</p>'. 429 '<p><a class="submit" href="'.html::escapeURL($page_url).'&zipdl=1">'. 430 __('Download').'</a></p>'. 431 '</div>'; 426 432 } 427 433
Note: See TracChangeset
for help on using the changeset viewer.