better constant naming and new directory info constant

This commit is contained in:
Ian 2015-10-17 19:43:09 +02:00
parent 8fcf4cd652
commit afb4cdc685
3 changed files with 10 additions and 4 deletions

View File

@ -1,6 +1,9 @@
@define('MULTICHECK_NO_ITEM', 'No item selected, please check at least one. <a href="%s">Return to previous page</a>.'); @define('MULTICHECK_NO_ITEM', 'No item selected, please check at least one. <a href="%s">Return to previous page</a>.');
@define('MULTICHECK_NO_DIR', 'No directory selected, please choose one. <a href="%s">Return to previous page</a>.'); @define('MULTICHECK_NO_DIR', 'No directory selected, please choose one. <a href="%s">Return to previous page</a>.');
@define('BULKMOVE_HELP_DESC', 'You can select multiple files to bulk-move them to a new location. <strong>Note:</strong> This action cannot be undone, just like bulk-deletion of multiple files. All checked files will be physically moved, and referring blog entries be rewritten to point to the new location.'); @define('BULKMOVE_INFO', 'Multi move helper');
@define('BULKMOVE_INFO_DESC', 'You can select multiple files to bulk-move them to a new location. <strong>Note:</strong> This action cannot be undone, just like bulk-deletion of multiple files. All checked files will be physically moved, and referring blog entries be rewritten to point to the new location.');
@define('FIRST_PAGE', 'First Page'); @define('FIRST_PAGE', 'First Page');
@define('LAST_PAGE', 'Last Page'); @define('LAST_PAGE', 'Last Page');
@define('MEDIA_PROPERTIES_DONE', 'Properties of #%d changed.'); @define('MEDIA_PROPERTIES_DONE', 'Properties of #%d changed.');
@define('DIRECTORY_INFO', 'Directory info helper');
@define('DIRECTORY_INFO_DESC', 'Directories are based to their physical folder directory name. If you want to change or move directories with items, you have two choices. Either create the directory or subdirectory you want, then move the items to the new directory via the MediaLibrary and after all, delete the now emptied old directory here. Or edit the old directory via the edit directory button below and rename it to whatever you like existing (subdir/ +) newname. This will move all directories and items and rename entry path too.');

View File

@ -160,7 +160,10 @@
{if $case_directorySelect} {if $case_directorySelect}
<h2>{$CONST.MANAGE_DIRECTORIES}</h2> <h2>{$CONST.MANAGE_DIRECTORIES}</h2>
<h3>{$CONST.BASE_DIRECTORY}</h3> <h3>{$CONST.BASE_DIRECTORY} <span class="media_file_actions actions"><a class="media_show_info button_link" href="#media_directory_info" title="{$CONST.DIRECTORY_INFO}"><span class="icon-info-circled"></span><span class="visuallyhidden"> {$CONST.DIRECTORY_INFO}</span></a></span></h3>
<header id="media_directory_info" class="media_directory_info additional_info">
<span class="msg_notice">{$CONST.DIRECTORY_INFO_DESC}</span>
</header>
<ul id="serendipity_image_folders" class="option_list"> <ul id="serendipity_image_folders" class="option_list">
{foreach $folders as $folder} {foreach $folders as $folder}

View File

@ -245,11 +245,11 @@
</div> </div>
<div class="form_buttons"> <div class="form_buttons">
<input class="state_submit" name="toggle_move" type="submit" value="{$CONST.MOVE}"> <input class="state_submit" name="toggle_move" type="submit" value="{$CONST.MOVE}">
<span class="media_file_actions actions"><a class="media_show_info button_link" href="#media_file_bulkmove" title="{$CONST.BULKMOVE}"><span class="icon-info-circled"></span><span class="visuallyhidden"> {$CONST.BULKMOVE}</span></a></span> <span class="media_file_actions actions"><a class="media_show_info button_link" href="#media_file_bulkmove" title="{$CONST.BULKMOVE_INFO}"><span class="icon-info-circled"></span><span class="visuallyhidden"> {$CONST.BULKMOVE_INFO}</span></a></span>
</div> </div>
<footer id="media_file_bulkmove" class="media_file_bulkmove additional_info"> <footer id="media_file_bulkmove" class="media_file_bulkmove additional_info">
<span class="msg_notice">{$CONST.BULKMOVE_HELP_DESC}</span> <span class="msg_notice">{$CONST.BULKMOVE_INFO_DESC}</span>
</footer> </footer>
{/if} {/if}