diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2008-05-10 21:50:37 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2008-05-10 21:50:37 +0000 |
| commit | 932390d81190619626275dfef02d695b05bc0d1d (patch) | |
| tree | 96e247ba200a10af1bda3fe39c42dbf8f7f6ed51 /templates/mime_view.tpl | |
| parent | 5156b3ded7fdb88d71d064f8ff36bebf298a8985 (diff) | |
| download | liberty-932390d81190619626275dfef02d695b05bc0d1d.tar.gz liberty-932390d81190619626275dfef02d695b05bc0d1d.tar.bz2 liberty-932390d81190619626275dfef02d695b05bc0d1d.zip | |
SCHEMA CHANGE: added liberty_attachment_prefs to store attachment preferences
introducing a new layer on top LibertyAttachments to deal with file uploads supporting mimetype based plugins - ported from treasury
Diffstat (limited to 'templates/mime_view.tpl')
| -rw-r--r-- | templates/mime_view.tpl | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/templates/mime_view.tpl b/templates/mime_view.tpl new file mode 100644 index 0000000..0edaf38 --- /dev/null +++ b/templates/mime_view.tpl @@ -0,0 +1,30 @@ +{strip} +<div class="display attachment"> + <div class="header"> + <h1>{tr}View Attachment{/tr}</h1> + </div> + + <div class="body"> + {legend legend="File Details"} + {include file=$view_template preferences=$attachment.preferences} + {/legend} + + {legend legend="Content this attachment belongs to"} + <div class="row"> + {formlabel label="Title"} + {forminput} + <a href="{$gContent->getDisplayUrl()}">{$gContent->getTitle()}</a> + {/forminput} + </div> + + <div class="row"> + {formlabel label="Content Type"} + {forminput} + {$gContent->mType.content_description} + {/forminput} + </div> + {/legend} + + </div><!-- end .body --> +</div><!-- end .attachment --> +{/strip} |
