diff options
| author | Christian Fowler <spider@viovio.com> | 2008-09-21 03:41:13 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2008-09-21 03:41:13 +0000 |
| commit | c2714c68fd136d39cccd63ef48952fbc4f2b38b9 (patch) | |
| tree | fbad7ca3c3c0f75b9e711c8df816d9c6c6036c27 /templates | |
| parent | 2a97fc52c308d892b924b78ae5594647b63cadb9 (diff) | |
| download | fisheye-c2714c68fd136d39cccd63ef48952fbc4f2b38b9.tar.gz fisheye-c2714c68fd136d39cccd63ef48952fbc4f2b38b9.tar.bz2 fisheye-c2714c68fd136d39cccd63ef48952fbc4f2b38b9.zip | |
move image above title & desc to increase usability
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/edit_image.tpl | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/templates/edit_image.tpl b/templates/edit_image.tpl index 4d85002..947caba 100644 --- a/templates/edit_image.tpl +++ b/templates/edit_image.tpl @@ -18,6 +18,25 @@ <input type="hidden" name="MAX_FILE_SIZE" value="1000000000" /> <div class="row"> + {formlabel label="Current Image"} + {forminput} + {if $gContent->mInfo.storage_path} + <img src="{$gContent->mInfo.thumbnail_url.medium}?{math equation="1 + rand(1,9999)"}" alt="{$gContent->mInfo.title|escape}" /> + <br /> + <small> + {if $gContent->mInfo.width && $gContent->mInfo.height} + {tr}Full size{/tr} - <a href="{$gContent->mInfo.source_url}">{$gContent->mInfo.width} x {$gContent->mInfo.height}</a> + {elseif $gContent->mInfo.source_url} + <a href="{$gContent->mInfo.source_url}">{tr}Full size{/tr}</a> + {/if} + </small> + {else} + <img src="{$smarty.const.FISHEYE_PKG_URL}image/no_image.png" alt="{$gContent->mInfo.title|escape}" /> + {/if} + {/forminput} + </div> + + <div class="row"> {formlabel label="Title" for="image-title"} {forminput} <input type="text" name="title" id="image-title" value="{$gContent->mInfo.title|escape}" maxlength="160" size="50"/> @@ -43,25 +62,6 @@ </div> <div class="row"> - {formlabel label="Current Image"} - {forminput} - {if $gContent->mInfo.storage_path} - <img src="{$gContent->mInfo.thumbnail_url.medium}?{math equation="1 + rand(1,9999)"}" alt="{$gContent->mInfo.title|escape}" /> - <br /> - <small> - {if $gContent->mInfo.width && $gContent->mInfo.height} - {tr}Full size{/tr} - <a href="{$gContent->mInfo.source_url}">{$gContent->mInfo.width} x {$gContent->mInfo.height}</a> - {elseif $gContent->mInfo.source_url} - <a href="{$gContent->mInfo.source_url}">{tr}Full size{/tr}</a> - {/if} - </small> - {else} - <img src="{$smarty.const.FISHEYE_PKG_URL}image/no_image.png" alt="{$gContent->mInfo.title|escape}" /> - {/if} - {/forminput} - </div> - - <div class="row"> {formlabel label="Regenerate Thumbnails"} {forminput} <input type="checkbox" name="generate_thumbnails" value="1"/> |
