Файл: templates/admin/attach_manage_body.tpl
Строк: 164
<form action="{S_ATTACH_ACTION}"
method="post">
<p>{L_MANAGE_TITLE}<br/>
<span
class="genmed">{L_MANAGE_EXPLAIN}</span></p>
{ERROR_BOX}
<table
width="100%" cellpadding="4" cellspacing="0"
border="0" class="forumline">
<tr>
<td
class="catSides">
<span
class="cattitle">{L_ATTACHMENT_SETTINGS}</span>
</td>
</tr>
<tr>
<td
class="row1">
{L_UPLOAD_DIR}:<br/>
<span
class="genmed">{L_UPLOAD_DIR_EXPLAIN}</span><br/>
<input
type="text" maxlength="100" name="upload_dir"
class="post" value="{UPLOAD_DIR}"
/>
</td>
</tr>
<tr>
<td
class="row1">
{L_ATTACHMENT_IMG_PATH}:<br/>
<span
class="genmed">{L_IMG_PATH_EXPLAIN}</span><br/>
<input
type="text" maxlength="100" name="upload_img"
class="post" value="{ATTACHMENT_IMG_PATH}"
/>
</td>
</tr>
<tr>
<td
class="row1">
{L_ATTACHMENT_TOPIC_ICON}:<br/>
<span
class="genmed">{L_TOPIC_ICON_EXPLAIN}</span><br/>
<input
type="text" maxlength="100" name="topic_icon"
class="post" value="{TOPIC_ICON}"
/>
</td>
</tr>
<tr>
<td
class="row1">
{L_DISPLAY_ORDER}:<br/>
<span
class="genmed">{L_DISPLAY_ORDER_EXPLAIN}</span><br/>
<input
type="radio" name="display_order" value="0"
{DISPLAY_ORDER_DESC} /> {L_DESC}<br/>
<input
type="radio" name="display_order" value="1"
{DISPLAY_ORDER_ASC} /> {L_ASC}
</td>
</tr>
<tr>
<td
class="catSides">
<span
class="cattitle">{L_ATTACHMENT_FILESIZE_SETTINGS}</span>
</td>
</tr>
<tr>
<td
class="row1">
{L_MAX_FILESIZE}:<br/>
<span
class="genmed">{L_MAX_FILESIZE_EXPLAIN}</span><br/>
<input
type="text" size="8" maxlength="15"
name="max_filesize" class="post"
value="{MAX_FILESIZE}" />
{S_FILESIZE}
</td>
</tr>
<tr>
<td
class="row1">
{L_ATTACH_QUOTA}:<br/>
<span
class="genmed">{L_ATTACH_QUOTA_EXPLAIN}</span><br/>
<input
type="text" size="8" maxlength="15"
name="attachment_quota" class="post"
value="{ATTACHMENT_QUOTA}" />
{S_FILESIZE_QUOTA}
</td>
</tr>
<tr>
<td
class="row1">
{L_MAX_FILESIZE_PM}:<br/>
<span
class="genmed">{L_MAX_FILESIZE_PM_EXPLAIN}</span><br/>
<input
type="text" size="8" maxlength="15"
name="max_filesize_pm" class="post"
value="{MAX_FILESIZE_PM}" />
{S_FILESIZE_PM}
</td>
</tr>
<tr>
<td
class="row1">
{L_DEFAULT_QUOTA_LIMIT}:<br/>
<span
class="genmed">{L_DEFAULT_QUOTA_LIMIT_EXPLAIN}</span><br/>
{L_UPLOAD_QUOTA}
{S_DEFAULT_UPLOAD_LIMIT}<br/>
{L_PM_QUOTA}
{S_DEFAULT_PM_LIMIT}
</td>
</tr>
<tr>
<td
class="catSides">
<span
class="cattitle">{L_ATTACHMENT_NUMBER_SETTINGS}</span>
</td>
</tr>
<tr>
<td
class="row1">
{L_MAX_ATTACHMENTS}:<br/>
<span
class="genmed">{L_MAX_ATTACHMENTS_EXPLAIN}</span><br/>
<input
type="text" size="3" maxlength="3"
name="max_attachments" class="post"
value="{MAX_ATTACHMENTS}"
/>
</td>
</tr>
<tr>
<td
class="row1">
{L_MAX_ATTACHMENTS_PM}:<br/>
<span
class="genmed">{L_MAX_ATTACHMENTS_PM_EXPLAIN}</span><br/>
<input
type="text" size="3" maxlength="3"
name="max_attachments_pm" class="post"
value="{MAX_ATTACHMENTS_PM}"
/>
</td>
</tr>
<tr>
<td
class="catSides">
<span
class="cattitle">{L_ATTACHMENT_OPTIONS_SETTINGS}</span>
</td>
</tr>
<tr>
<td
class="row1">
{L_DISABLE_MOD}:<br/>
<span
class="genmed">{L_DISABLE_MOD_EXPLAIN}</span><br/>
<input
type="radio" name="disable_mod" value="1"
{DISABLE_MOD_YES} /> {L_YES}<br/>
<input type="radio"
name="disable_mod" value="0" {DISABLE_MOD_NO} />
{L_NO}
</td>
</tr>
<tr>
<td
class="row1">
{L_PM_ATTACH}:<br/>
<span
class="genmedl">{L_PM_ATTACH_EXPLAIN}</span><br/>
<input
type="radio" name="allow_pm_attach" value="1"
{PM_ATTACH_YES} /> {L_YES}<br/>
<input type="radio"
name="allow_pm_attach" value="0" {PM_ATTACH_NO} />
{L_NO}
</td>
</tr>
<tr>
<td
class="row1">
{L_ATTACHMENT_TOPIC_REVIEW}:<br/>
<span
class="genmed">{L_ATTACHMENT_TOPIC_REVIEW_EXPLAIN}</span><br/>
<input
type="radio" name="attachment_topic_review"
value="1" {TOPIC_REVIEW_YES} /> {L_YES}<br/>
<input
type="radio" name="attachment_topic_review"
value="0" {TOPIC_REVIEW_NO} />
{L_NO}
</td>
</tr>
<tr>
<td
class="row1">
{L_SHOW_APCP}:<br/>
<span
class="genmed">{L_SHOW_APCP_EXPLAIN}</span><br/>
<input
type="radio" name="show_apcp" value="1"
{SHOW_APCP_YES} /> {L_YES}<br/>
<input type="radio"
name="show_apcp" value="0" {SHOW_APCP_NO} />
{L_NO}
</td>
</tr>
<!-- BEGIN switch_ftp
-->
<tr>
<td
class="row1">
{L_FTP_UPLOAD}:<br/>
<span
class="genmed">{L_FTP_UPLOAD_EXPLAIN}</span><br/>
<input
type="radio" name="allow_ftp_upload"
value="1" {FTP_UPLOAD_YES} /> {L_YES}<br/>
<input
type="radio" name="allow_ftp_upload"
value="0" {FTP_UPLOAD_NO} />
{L_NO}
</td>
</tr>
<tr>
<td
class="catSides">
<span
class="cattitle">{L_ATTACHMENT_FTP_SETTINGS}</span>
</td>
</tr>
<tr>
<td
class="row1">
{L_ATTACHMENT_FTP_SERVER}:<br/>
<span
class="genmed">{L_ATTACHMENT_FTP_SERVER_EXPLAIN}</span><br/>
<input
type="text" maxlength="100" name="ftp_server"
class="post" value="{FTP_SERVER}"
/>
</td>
</tr>
<tr>
<td
class="row1">
{L_ATTACHMENT_FTP_PATH}:<br/>
<span
class="genmed">{L_ATTACHMENT_FTP_PATH_EXPLAIN}</span><br/>
<input
type="text" maxlength="100" name="ftp_path"
class="post" value="{FTP_PATH}"
/>
</td>
</tr>
<tr>
<td
class="row1">
{L_DOWNLOAD_PATH}:<br/>
<span
class="genmed">{L_DOWNLOAD_PATH_EXPLAIN}</span><br/>
<input
type="text" maxlength="100"
name="download_path" class="post"
value="{DOWNLOAD_PATH}"
/>
</td>
</tr>
<tr>
<td
class="row1">
{L_FTP_PASSIVE_MODE}:<br/>
<span
class="genmed">{L_FTP_PASSIVE_MODE_EXPLAIN}</span><br/>
<input
type="radio" name="ftp_pasv_mode" value="1"
{FTP_PASV_MODE_YES} /> {L_YES}<br/>
<input
type="radio" name="ftp_pasv_mode" value="0"
{FTP_PASV_MODE_NO} /> {L_NO}
</td>
</tr>
<tr>
<td
class="row1">
{L_ATTACHMENT_FTP_USER}:<br/>
<input
type="text" maxlength="100" name="ftp_user"
class="post" value="{FTP_USER}"
/>
</td>
</tr>
<tr>
<td
class="row1">
{L_ATTACHMENT_FTP_PASS}:<br/>
<input
type="password" maxlength="20"
name="ftp_pass" class="post"
value="{FTP_PASS}" />
</td>
</tr>
<!-- END
switch_ftp -->
<!-- BEGIN switch_no_ftp -->
<input
type="hidden" name="allow_ftp_upload"
value="0" />
<tr>
<td
class="catSides">
<span
class="cattitle">{L_ATTACHMENT_FTP_SETTINGS}</span>
</td>
</tr>
<tr>
<td
class="row1">
{L_NO_FTP_EXTENSIONS}
</td>
</tr>
<!--
END switch_no_ftp -->
</table>
{S_HIDDEN_FIELDS}
<input
type="submit" name="submit"
value="{L_SUBMIT}" class="mainoption"
/><br/>
<input type="submit"
name="settings" value="{L_TEST_SETTINGS}"
class="liteoption" />
</form>