summaryrefslogtreecommitdiff
path: root/templates/edit_storage_list.tpl
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-06-10 14:24:23 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-06-10 14:24:23 +0000
commit6bd0a6c61ccaae7079580edb805e6a8b74445204 (patch)
treeadad6f250d9d3df420370d02579b2ba3514b43da /templates/edit_storage_list.tpl
parentb1108e5929b790b304ce91c2e50436ee1e1e85bd (diff)
downloadliberty-6bd0a6c61ccaae7079580edb805e6a8b74445204.tar.gz
liberty-6bd0a6c61ccaae7079580edb805e6a8b74445204.tar.bz2
liberty-6bd0a6c61ccaae7079580edb805e6a8b74445204.zip
finally found a better place for the annoying inline help in the attachment browser
Diffstat (limited to 'templates/edit_storage_list.tpl')
-rw-r--r--templates/edit_storage_list.tpl15
1 files changed, 8 insertions, 7 deletions
diff --git a/templates/edit_storage_list.tpl b/templates/edit_storage_list.tpl
index 435ed5f..946dc5e 100644
--- a/templates/edit_storage_list.tpl
+++ b/templates/edit_storage_list.tpl
@@ -13,16 +13,14 @@
<th scope="col" title="{tr}File Properties{/tr}">{tr}File Properties{/tr}</th>
<th scope="col" title="{tr}Inclusion Code{/tr}">{tr}Inclusion Code{/tr}</th>
</tr>
- <tr>
- <td style="text-align:center;">{formhelp note="click to see large preview"}</td>
- <td style="text-align:center;"></td>
- <td style="text-align:center;">{formhelp note="copy this code into your edit window to embed the image into your text"}</td>
- </tr>
- {foreach from=$gContent->mStorage item=storage key=attachmentId}
+ {foreach from=$gContent->mStorage item=storage key=attachmentId name=atts}
<tr class="{cycle values="odd,even"}">
<td style="text-align:center;">
{jspopup href=$storage.source_url title=$storage.title notra=1 img=$storage.thumbnail_url.avatar}
+ {if $smarty.foreach.atts.first}
+ {formhelp note="click to see large preview"}
+ {/if}
</td>
<td>
Attachment ID: {$attachmentId} <br />
@@ -50,7 +48,10 @@
{/if}
</td>
<td style="text-align:center; width:30%">
- {ldelim}attachment id={$attachmentId}{rdelim}
+ {$storage.wiki_plugin_link}
+ {if $smarty.foreach.atts.first}
+ {formhelp note="copy this code into your edit window to embed the file into your text"}
+ {/if}
</td>
</tr>
{/foreach}