mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 07:12:15 +09:00
init fileupload
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9047 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
eb32f7a679
commit
204db2c4be
4 changed files with 51 additions and 4 deletions
47
modules/file/tpl/adminConfig.html
Normal file
47
modules/file/tpl/adminConfig.html
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
<div class="content" id="content">
|
||||
<form ruleset="insertConfig" action="./" method="post" class="form">
|
||||
<input type="hidden" name="act" value="procFileAdminInsertConfig" />
|
||||
<h1 class="h1">File Upload</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<p class="q">{$lang->allow_outlink}</p>
|
||||
<p class="a">
|
||||
<input type="radio" name="allow_outlink" value="Y" id="allow_outlink_y" checked="checked"|cond="$config->allow_outlink == 'Y'" /> <label for="allow_outlink_y">{$lang->cmd_yes}</label>
|
||||
<input type="radio" name="allow_outlink" value="N" id="allow_outlink_n" checked="checked"|cond="$config->allow_outlink == 'N'" /> <label for="allow_outlink_n">{$lang->cmd_no}</label>
|
||||
</p>
|
||||
</li>
|
||||
<li style="display:none"|cond="$config->allow_outlink == 'N'">
|
||||
<p class="q">{$lang->allow_outlink_format}</p>
|
||||
<p class="a">
|
||||
<input type="text" name="allow_outlink_format" value="{$config->allow_outlink_format}" />
|
||||
<p>{$lang->about_allow_outlink_format}</p>
|
||||
</p>
|
||||
</li>
|
||||
<li style="display:none"|cond="$config->allow_outlink == 'N'">
|
||||
<p class="q">{$lang->allow_outlink_site}</p>
|
||||
<p class="a">
|
||||
<textarea type="text" name="allow_outlink_site">{$config->allow_outlink_site}</textarea>
|
||||
<p>{$lang->about_allow_outlink_site}</p>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="q"><label for="filesize">{$lang->about_allowed_filesize}</label></p>
|
||||
<p class="a"><input id="filesize" type="text" name="allowed_filesize" value="{$config->allowed_filesize}" style="width:40px" /> MB</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="q"><label for="attachSize">{$lang->about_allowed_attach_size}</label></p>
|
||||
<p class="a"><input id="attachSize" type="text" name="allowed_attach_size" value="{$config->allowed_attach_size}" style="width:40px" /> MB</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="q"><label for="allowedFiletypes">{$lang->about_allowed_filetypes}</label></p>
|
||||
<p class="a"><input id="allowedFiletypes" type="text" name="allowed_filetypes" value="{$config->allowed_filetypes}" /></p>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="btnArea">
|
||||
<span class="btn medium"><input type="submit" value="Save" /></span>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue