-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
120 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
<h2>{$TITLE} › {'Edit photo'|@translate} {$TABSHEET_TITLE}</h2> | ||
<h2>{$TITLE} › {'EDIT_PHOTO'|@translate} {$TABSHEET_TITLE}</h2> | ||
|
||
<fieldset> | ||
<legend>{'Move Photo'|@translate}</legend> | ||
<legend>{'MOVE_PHOTO'|@translate}</legend> | ||
<table> | ||
<tr> | ||
<td id="albumThumbnail" style="vertical-align:top"> | ||
<img src="{$TN_SRC}" alt="{'Thumbnail'|@translate}" class="Thumbnail"> | ||
<img src="{$TN_SRC}" alt="{'THUMBNAIL'|@translate}" class="Thumbnail"> | ||
</td> | ||
<td style="vertical-align:center"> | ||
<p style="text-align:left; margin-top:0;"> | ||
<strong>{'Current physical album:'|@translate}</strong> {$storage_category}<br> | ||
<strong>{'Current file location:'|@translate}</strong> {$current_path}<br> | ||
<strong>{'CURR_PHYS_ALBUM'|@translate}</strong> {$storage_category}<br> | ||
<strong>{'CURR_FILE_LOC'|@translate}</strong> {$current_path}<br> | ||
</td> | ||
</tr> | ||
</table> | ||
</fieldset> | ||
|
||
<form id="ppmove" method="post" action="" enctype="multipart/form-data"> | ||
<fieldset id="test_mode"> | ||
<legend>{'Simulation'|@translate}</legend> | ||
<label><input type="checkbox" name="test_mode" value="1" {if $ppm_test_mode}checked="checked"{/if} /> {'only perform a simulation (nothing will be changed in the file system or database)'|@translate}</label> | ||
<legend>{'TEST_MODE'|@translate}</legend> | ||
<label><input type="checkbox" name="test_mode" value="1" {if $ppm_test_mode}checked="checked"{/if} /> {'TEST_MODE_DESCR'|@translate}</label> | ||
</fieldset> | ||
|
||
<fieldset> | ||
<legend> | ||
Destination Album | ||
<a class="icon-help-circled" title="{'Only other physical albums are listed. Use the \'Linked Albums\' field on the Properties tab to \'move\' this photo into a virtual album.'|@translate}"></a> | ||
{'DEST_ALBUM'|@translate} | ||
<a class="icon-help-circled" title="{'DEST_ALBUM_HELP'|@translate}"></a> | ||
</legend> | ||
<select class="categoryList" name="cat_id" size="10"> | ||
{html_options options=$categories selected=$categories_selected} | ||
</select> | ||
<p style="text-align:left"><input class="submit" type="submit" value="{'Move'|@translate}" name="move_photo"></p> | ||
<p style="text-align:left"><input class="submit" type="submit" value="{'MOVE_BUTTON'|@translate}" name="move_photo"></p> | ||
</fieldset> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Move a photo (the actual file) from one physical album to another, preserving all metadata. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
$lang['EDIT_PHOTO'] = 'Edit Photo'; | ||
$lang['MOVE_PHOTO'] = 'Move Photo'; | ||
$lang['THUMBNAIL'] = 'Thumbnail'; | ||
$lang['CURR_PHYS_ALBUM'] = 'Current physical album:'; | ||
$lang['CURR_FILE_LOC'] = 'Current file location:'; | ||
$lang['TEST_MODE'] = 'Simulation'; | ||
$lang['TEST_MODE_DESCR'] = 'only perform a simulation (nothing will be changed in the file system or database)'; | ||
$lang['DEST_ALBUM'] = 'Destination Album'; | ||
$lang['DEST_ALBUM_HELP'] = 'Only other physical albums are listed. Use the \'Linked Albums\' field on the Properties tab to \'move\' this photo into a virtual album.'; | ||
$lang['MOVE_BUTTON'] = 'Move'; | ||
$lang['MSG_TEST_MODE_ON'] = 'Simulation selected'; | ||
$lang['MSG_NO_WORK'] = 'Source and destination are the same. Nothing to do.'; | ||
$lang['MSG_RENAME_1'] = 'A file named '; | ||
$lang['MSG_RENAME_2'] = ' already exists in the destination. The moved file will be renamed to '; | ||
$lang['MSG_RENAME_3'] = ' to avoid overwriting the original.'; | ||
$lang['MSG_LINK_REMOVED'] = 'This file was already virtually linked to the physical destination. The virtual link has been removed.'; | ||
$lang['MSG_REP_MOVE_ERR'] = 'An error occured during the representative/derivatives move. Please check the Piwigo and web server logs for details.'; | ||
$lang['MSG_SUCCESS'] = 'File successfully moved to '; | ||
$lang['MSG_FILE_MOVE_ERR'] = 'An error occured during the file move. Please check the Piwigo and web server logs for details'; | ||
$lang['MSG_NO_DEST'] = 'No destination selected.'; | ||
$lang['DBG_SRC_ALBUM'] = 'source album: '; | ||
$lang['DBG_SRC_FILE'] = 'source filename: '; | ||
$lang['DBG_SRC_DIR'] = 'source directory: '; | ||
$lang['DBG_SRC_PATH'] = 'source filepath: '; | ||
$lang['DBG_DEST_ALBUM'] = 'destination album: '; | ||
$lang['DBG_DEST_FILE'] = 'destination filename: '; | ||
$lang['DBG_DEST_DIR'] = 'destination directory: '; | ||
$lang['DBG_DEST_PATH'] = 'destination filepath: '; | ||
|
||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Move a photo (the actual file) from one physical album to another, preserving all metadata. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
$lang['EDIT_PHOTO'] = 'Edit Photo'; | ||
$lang['MOVE_PHOTO'] = 'Move Photo'; | ||
$lang['THUMBNAIL'] = 'Thumbnail'; | ||
$lang['CURR_PHYS_ALBUM'] = 'Current physical album:'; | ||
$lang['CURR_FILE_LOC'] = 'Current file location:'; | ||
$lang['TEST_MODE'] = 'Simulation'; | ||
$lang['TEST_MODE_DESCR'] = 'only perform a simulation (nothing will be changed in the file system or database)'; | ||
$lang['DEST_ALBUM'] = 'Destination Album'; | ||
$lang['DEST_ALBUM_HELP'] = 'Only other physical albums are listed. Use the \'Linked Albums\' field on the Properties tab to \'move\' this photo into a virtual album.'; | ||
$lang['MOVE_BUTTON'] = 'Move'; | ||
$lang['MSG_TEST_MODE_ON'] = 'Simulation selected'; | ||
$lang['MSG_NO_WORK'] = 'Source and destination are the same. Nothing to do.'; | ||
$lang['MSG_RENAME_1'] = 'A file named '; | ||
$lang['MSG_RENAME_2'] = ' already exists in the destination. The moved file will be renamed to '; | ||
$lang['MSG_RENAME_3'] = ' to avoid overwriting the original.'; | ||
$lang['MSG_LINK_REMOVED'] = 'This file was already virtually linked to the physical destination. The virtual link has been removed.'; | ||
$lang['MSG_REP_MOVE_ERR'] = 'An error occured during the representative/derivatives move. Please check the Piwigo and web server logs for details.'; | ||
$lang['MSG_SUCCESS'] = 'File successfully moved to '; | ||
$lang['MSG_FILE_MOVE_ERR'] = 'An error occured during the file move. Please check the Piwigo and web server logs for details'; | ||
$lang['MSG_NO_DEST'] = 'No destination selected.'; | ||
$lang['DBG_SRC_ALBUM'] = 'source album: '; | ||
$lang['DBG_SRC_FILE'] = 'source filename: '; | ||
$lang['DBG_SRC_DIR'] = 'source directory: '; | ||
$lang['DBG_SRC_PATH'] = 'source filepath: '; | ||
$lang['DBG_DEST_ALBUM'] = 'destination album: '; | ||
$lang['DBG_DEST_FILE'] = 'destination filename: '; | ||
$lang['DBG_DEST_DIR'] = 'destination directory: '; | ||
$lang['DBG_DEST_PATH'] = 'destination filepath: '; | ||
|
||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters