0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
7.0-0
/
standard
/
htdocs
/
templates
/
wiki-plugins
/
[
Home
]
File: wikiplugin_files.tpl
{* $Header: /cvsroot/tikiwiki/_mods/wiki-plugins/files/templates/wikiplugin_files.tpl,v 1.1 2008/01/18 22:00:48 sylvieg Exp $ *} {if $params.showtitle eq 'y'} {if $data}<h4>{$data|escape}</h4>{else} <h4> {if $category} {if is_array($category)} {tr}Categories:{/tr} {section name=ix loop=$category} {$category[ix]|escape} {if !$smarty.section.ix.last}, {/if} {/section} {else} {tr}Category:{/tr} {$category|escape} {/if} <br /> {/if} {if $gal_info.name}{tr}File Gallery:{/tr} <a href="tiki-list_file_gallery.php?galleryId={$gal_info.galleryId}" title="{tr}list{/tr}">{$gal_info.name|escape}</a>{/if} </h4> {/if} {/if} {if $params.showfind eq 'y'} {include file="find.tpl"} {/if} {include file="list_file_gallery_content.tpl"} {if $params.showupload eq 'y' && !empty($gal_info.galleryId)} <form enctype="multipart/form-data" action="tiki-upload_file.php" method="post"> <input type="hidden" name="galleryId" value="{$gal_info.galleryId}" /> <input type="hidden" name="returnUrl" value="{$smarty.server.REQUEST_URI|escape}" /> <label>{tr}Title:{/tr} <input type="text" name="name[]" maxlength="250" /></label> <label>{tr}Description:{/tr} <input type="text" name="description[]" maxlength="250" /></label> <br /> <input size="16 " name="userfile[]" type="file" /> <input type="submit" name="upload" value="{tr}Upload{/tr}"/> </form> {/if}