Changeset 1979:a5c31f68dc24 for admin
- Timestamp:
- 09/21/13 21:53:05 (12 years ago)
- Branch:
- default
- Location:
- admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/blog_pref.php
r1971 r1979 297 297 echo 298 298 '<div class="multi-part" id="params" title="'.__('Parameters').'">'. 299 '<h3 >'.__('Parameters').'</h3>'.299 '<h3 class="out-of-screen-if-js">'.__('Parameters').'</h3>'. 300 300 '<form action="'.$action.'" method="post" id="blog-form">'; 301 301 … … 440 440 form::field('comments_ttl',2,3,$blog_settings->system->comments_ttl)). 441 441 '</label></p>'. 442 '<p class="form-note">'.__(' Leave blank to disable this feature.').'</p>'.442 '<p class="form-note">'.__('No limit: leave blank.').'</p>'. 443 443 '<p><label for="wiki_comments" class="classic">'. 444 444 form::checkbox('wiki_comments','1',$blog_settings->system->wiki_comments). … … 455 455 '<p><label for="trackbacks_ttl" class="classic">'.sprintf(__('Leave trackbacks open for %s days').'.', 456 456 form::field('trackbacks_ttl',2,3,$blog_settings->system->trackbacks_ttl)).'</label></p>'. 457 '<p class="form-note">'.__(' Leave blank to disable this feature.').'</p>'.457 '<p class="form-note">'.__('No limit: leave blank.').'</p>'. 458 458 '<p><label for="comments_nofollow" class="classic">'. 459 459 form::checkbox('comments_nofollow','1',$blog_settings->system->comments_nofollow). … … 505 505 506 506 echo 507 '<div class="fieldset"><h4>'.__('Media and images').'</h4>'. 507 '<div class="fieldset"><h4 id="medias-settings">'.__('Media and images').'</h4>'. 508 '<p class="form-note warning">'. 509 __('Please note that if you change current settings bellow, they will now apply to all new images in the media manager.'). 510 ' '.__('Be carefull if you share it with other blogs in your installation.').'</p>'. 511 508 512 '<div class="two-cols">'. 509 513 '<div class="col">'. … … 593 597 echo 594 598 '<div class="multi-part" id="users" title="'.__('Users').'">'. 595 '<h3 >'.__('Users on this blog').'</h3>';599 '<h3 class="out-of-screen-if-js">'.__('Users on this blog').'</h3>'; 596 600 597 601 if (empty($blog_users)) … … 651 655 '<ul>'; 652 656 if ($v['super']) { 653 echo '<li class="user_super">'.__('Super administrator').'</li>'; 657 echo '<li class="user_super">'.__('Super administrator').'<br />'. 658 '<span class="form-note">'.__('All rights on all blogs.').'</span></li>'; 654 659 } else { 655 660 foreach ($v['p'] as $p => $V) { 656 echo '<li '.($p == 'admin' ? 'class="user_admin"' : '').'>'.__($perm_types[$p]).'</li>'; 661 echo '<li '.($p == 'admin' ? 'class="user_admin"' : '').'>'.__($perm_types[$p]); 662 663 if($p == 'admin') { 664 echo '<br /><span class="form-note">'.__('All rights on this blog.').'</span>'; 665 } 666 echo '</li>'; 657 667 } 658 668 } -
admin/media.php
r1952 r1979 349 349 '</div>'; 350 350 351 if ($core_media_writable) 352 { 353 echo 354 '<h3 class="hidden">'.sprintf(__('In %s:'),($d == '' ? '“'.__('Media manager').'”' : '“'.$d.'”')).'</h3>'. 355 '<div class="two-boxes odd fieldset">'; 356 357 if ($user_ui_enhanceduploader) { 358 echo 359 '<div class="enhanced_uploader">'; 360 } else { 361 echo 362 '<div>'; 363 } 364 365 echo 366 '<h4>'.__('Add files').'</h4>'. 367 '<p>'.__('Please take care to publish media that you own and that are not protected by copyright.').'</p>'. 368 '<form id="fileupload" action="'.html::escapeURL($page_url).'" method="post" enctype="multipart/form-data" aria-disabled="false">'. 369 '<p>'.form::hidden(array('MAX_FILE_SIZE'),DC_MAX_UPLOAD_SIZE). 370 $core->formNonce().'</p>'. 371 '<div class="fileupload-ctrl"><p class="queue-message"></p><ul class="files"></ul></div>'; 372 373 echo 374 '<div class="fileupload-buttonbar clear">'; 375 376 echo 377 '<p><label for="upfile">'.'<span class="add-label one-file">'.__('Choose file').'</span>'.'</label>'. 378 '<button class="button choose_files">'.__('Choose files').'</button>'. 379 '<input type="file" id="upfile" name="upfile[]"'.($user_ui_enhanceduploader?' multiple="mutiple"':'').' data-url="'.html::escapeURL($page_url).'" /></p>'; 380 381 echo 382 '<p class="max-sizer form-note"> '.__('Maximum file size allowed:').' '.files::size(DC_MAX_UPLOAD_SIZE).'</p>'; 383 384 echo 385 '<p class="one-file"><label for="upfiletitle">'.__('Title:').'</label>'.form::field(array('upfiletitle','upfiletitle'),35,255).'</p>'. 386 '<p class="one-file"><label for="upfilepriv" class="classic">'.__('Private').'</label> '. 387 form::checkbox(array('upfilepriv','upfilepriv'),1).'</p>'; 388 389 390 391 if (!$user_ui_enhanceduploader) { 392 echo 393 '<p class="one-file form-help info">'.__('To send several files at the same time, you can activate the enhanced uploader in'). 394 ' <a href="preferences.php?tab=user-options">'.__('My preferences').'</a></p>'; 395 } 396 397 echo 398 '<p class="clear"><button class="button clean">'.__('Refresh').'</button>'. 399 '<input class="button cancel one-file" type="reset" value="'.__('Clear all').'"/>'. 400 '<input class="button start" type="submit" value="'.__('Upload').'"/></p>'. 401 '</div>'; 402 403 echo 404 '<p style="clear:both;">'.form::hidden(array('d'),$d).'</p>'. 405 '</form>'. 406 '</div>'. 407 '</div>'; 351 echo 352 '<div class="clearfix"><p class="info">'.sprintf(__('Current settings for medias and images are defined in %s'), 353 '<a href="blog_pref.php#medias-settings">'.__('Blog parameters').'</a>').'</p></div>'; 354 355 if ($core_media_writable || $core_media_archivable) { 356 echo 357 '<div class="vertical-separator">'. 358 '<h3 class="out-of-screen-if-js">'.sprintf(__('In %s:'),($d == '' ? '“'.__('Media manager').'”' : '“'.$d.'”')).'</h3>'; 408 359 } 409 360 … … 412 363 413 364 if ($core_media_writable || $core_media_archivable) { 414 415 echo '<div class="two-boxes even fieldset">';365 echo 366 '<div class="two-boxes odd">'; 416 367 417 368 # Create directory … … 419 370 { 420 371 echo 421 '<form action="'.html::escapeURL($page_url).'" method="post" >'.372 '<form action="'.html::escapeURL($page_url).'" method="post" class="fieldset">'. 422 373 '<div id="new-dir-f">'. 423 '<h4 >'.__('Create new directory').'</h4>'.374 '<h4 class="pretty-title">'.__('Create new directory').'</h4>'. 424 375 $core->formNonce(). 425 376 '<p><label for="newdir">'.__('Directory Name:').'</label>'. … … 435 386 { 436 387 echo 437 '< h4>'.__('Backup content').'</h4>'.438 '< p>'.__('Compress this directory with its content as a zip file and download it.').'</p>'.388 '<div class="fieldset">'. 389 '<h4 class="pretty-title">'.sprintf(__('Backup content of %s'),($d == '' ? '“'.__('Media manager').'”' : '“'.$d.'”')).'</h4>'. 439 390 '<p><a class="button submit" href="'.html::escapeURL($page_url).'&zipdl=1">'. 440 __('Download').'</a></p>'; 441 } 442 443 echo '</div>'; 391 __('Download zip file').'</a></p>'. 392 '</div>'; 393 } 394 395 echo 396 '</div>'; 397 } 398 399 if ($core_media_writable) 400 { 401 echo 402 '<div class="two-boxes fieldset">'; 403 if ($user_ui_enhanceduploader) { 404 echo 405 '<div class="enhanced_uploader">'; 406 } else { 407 echo 408 '<div>'; 409 } 410 411 echo 412 '<h4>'.__('Add files').'</h4>'. 413 '<p>'.__('Please take care to publish media that you own and that are not protected by copyright.').'</p>'. 414 '<form id="fileupload" action="'.html::escapeURL($page_url).'" method="post" enctype="multipart/form-data" aria-disabled="false">'. 415 '<p>'.form::hidden(array('MAX_FILE_SIZE'),DC_MAX_UPLOAD_SIZE). 416 $core->formNonce().'</p>'. 417 '<div class="fileupload-ctrl"><p class="queue-message"></p><ul class="files"></ul></div>'; 418 419 echo 420 '<div class="fileupload-buttonbar clear">'; 421 422 echo 423 '<p><label for="upfile">'.'<span class="add-label one-file">'.__('Choose file').'</span>'.'</label>'. 424 '<button class="button choose_files">'.__('Choose files').'</button>'. 425 '<input type="file" id="upfile" name="upfile[]"'.($user_ui_enhanceduploader?' multiple="mutiple"':'').' data-url="'.html::escapeURL($page_url).'" /></p>'; 426 427 echo 428 '<p class="max-sizer form-note"> '.__('Maximum file size allowed:').' '.files::size(DC_MAX_UPLOAD_SIZE).'</p>'; 429 430 echo 431 '<p class="one-file"><label for="upfiletitle">'.__('Title:').'</label>'.form::field(array('upfiletitle','upfiletitle'),35,255).'</p>'. 432 '<p class="one-file"><label for="upfilepriv" class="classic">'.__('Private').'</label> '. 433 form::checkbox(array('upfilepriv','upfilepriv'),1).'</p>'; 434 435 if (!$user_ui_enhanceduploader) { 436 echo 437 '<p class="one-file form-help info">'.__('To send several files at the same time, you can activate the enhanced uploader in'). 438 ' <a href="preferences.php?tab=user-options">'.__('My preferences').'</a></p>'; 439 } 440 441 echo 442 '<p class="clear"><button class="button clean">'.__('Refresh').'</button>'. 443 '<input class="button cancel one-file" type="reset" value="'.__('Clear all').'"/>'. 444 '<input class="button start" type="submit" value="'.__('Upload').'"/></p>'. 445 '</div>'; 446 447 echo 448 '<p style="clear:both;">'.form::hidden(array('d'),$d).'</p>'. 449 '</form>'. 450 '</div>'. 451 '</div>'; 444 452 } 445 453 … … 453 461 '</div>'. 454 462 '</form>'; 463 464 if ($core_media_writable || $core_media_archivable) { 465 echo 466 '</div>'; 467 } 455 468 456 469 call_user_func($close_f); -
admin/style/default.css
r1975 r1979 295 295 h2 { 296 296 color: #676e78; 297 font-size: 18px; /* ie < 9 sucks */ 298 font-size: 1.8rem; 297 font-size: 1.5em; 299 298 padding: 0 0 1.5em; 300 299 font-weight: normal; … … 742 741 } 743 742 div.warn, div.warning, div.info { 743 display: block; 744 744 padding: 1em 1em .33em 1em; 745 745 } … … 1126 1126 #content.with-help #help-button { 1127 1127 right: 282px; /* ie < 9 sucks */ 1128 right: 28 .2rem;1128 right: 28rem; 1129 1129 background-color: #f5f5f5; 1130 1130 position: fixed; 1131 top: 40px; 1131 top: 54px; 1132 z-index: 100; 1132 1133 border-top: 2px solid #FFD478; 1133 1134 border-left: 2px solid #FFD478;
Note: See TracChangeset
for help on using the changeset viewer.