diff options
| author | laetzer <laetzer@users.sourceforge.net> | 2007-04-19 07:28:47 +0000 |
|---|---|---|
| committer | laetzer <laetzer@users.sourceforge.net> | 2007-04-19 07:28:47 +0000 |
| commit | 065142b6014614f8c42880b324bba3a886ded998 (patch) | |
| tree | 05940506193a76305d100957049aeaca82a364d0 /templates | |
| parent | d02464ad7b5d80bdde7161c87d1fd3a7c226bfc1 (diff) | |
| download | fisheye-065142b6014614f8c42880b324bba3a886ded998.tar.gz fisheye-065142b6014614f8c42880b324bba3a886ded998.tar.bz2 fisheye-065142b6014614f8c42880b324bba3a886ded998.zip | |
removed useless •; {attachment...} to input field + accurate img size
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/view_image.tpl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/view_image.tpl b/templates/view_image.tpl index 89ae40b..a5f457b 100644 --- a/templates/view_image.tpl +++ b/templates/view_image.tpl @@ -28,11 +28,12 @@ <div class="pagination"> {tr}View other sizes{/tr}<br /> - • - {foreach key=size from=$gContent->mInfo.image_file.thumbnail_url item=url} - {if $url != $gContent->mInfo.display_url}<a href="{$gContent->getDisplayUrl(0,$size)|escape}">{/if}{tr}{$size}{/tr}{if $url != $gContent->mInfo.display_url}</a>{/if} • + {foreach name=size key=size from=$gContent->mInfo.image_file.thumbnail_url item=url} + {if $url != $gContent->mInfo.display_url}<a href="{$gContent->getDisplayUrl(0,$size)|escape}">{/if}{tr}{$size}{/tr}{if $url != $gContent->mInfo.display_url}</a>{/if} + {if !$smarty.foreach.size.last} • {/if} {/foreach} {if $gContent->hasEditPermission() || $gGallery && $gGallery->getPreference('link_original_images')} + • <a href="{$gContent->mInfo.image_file.source_url|escape}">{tr}Original{/tr}</a> {if $gContent->mInfo.width && $gContent->mInfo.height} {$gContent->mInfo.width}x{$gContent->mInfo.height} @@ -42,7 +43,8 @@ {if $gBitUser->hasPermission( 'p_liberty_attach_attachments' )} <p class="formhelp"> - {tr}To include this file in a wiki page, blog post, article …, use the following string{/tr}: <strong>{ldelim}attachment id={$gContent->mInfo.image_file.attachment_id}{rdelim}</strong> + {tr}To include this file in a wiki page, blog post, article …, use the following string{/tr}: + <input size="32" value="{ldelim}attachment id={$gContent->mInfo.image_file.attachment_id} {if $smarty.request.size neq "medium"}size={$smarty.request.size}{/if}{rdelim}" /> </p> {/if} </div> <!-- end .body --> |
