torrentpier/styles/templates/admin/admin_words.tpl
Roman Kelesidis 6759ce0595
Some enhancements in default template (#1312)
* Some enhancements in default template

* Updated

* Updated

* Updated

* Updated

* Updated

* Updated

* Update admin_user_search.tpl

* Updated

* Updated

* Update admin_attachments.tpl

* Updated

* Updated

* Update posting_smilies.tpl

* Updated

* Update CHANGELOG.md
2024-01-10 10:39:54 +07:00

69 lines
2.2 KiB
Smarty

<!-- IF TPL_ADMIN_WORDS_LIST -->
<!--========================================================================-->
<h1>{L_WORDS_TITLE}</h1>
<p>{L_WORDS_EXPLAIN}</p>
<br/>
<form method="post" action="{S_WORDS_ACTION}">
<table class="forumline">
<tr>
<th>{L_WORD}</th>
<th>{L_REPLACEMENT}</th>
<th colspan="2">{L_ACTION}</th>
</tr>
<!-- BEGIN words -->
<tr>
<td class="{words.ROW_CLASS} tCenter">{words.WORD}</td>
<td class="{words.ROW_CLASS} tCenter">{words.REPLACEMENT}</td>
<td class="{words.ROW_CLASS}"><a href="{words.U_WORD_EDIT}">{L_EDIT}</a></td>
<td class="{words.ROW_CLASS}"><a href="{words.U_WORD_DELETE}">{L_DELETE}</a></td>
</tr>
<!-- END words -->
<tr>
<td colspan="5" class="catBottom">
{S_HIDDEN_FIELDS}
<input type="submit" name="add" value="{L_ADD_NEW_WORD}" class="mainoption"/>
</td>
</tr>
</table>
</form>
<!--========================================================================-->
<!-- ENDIF / TPL_ADMIN_WORDS_LIST -->
<!-- IF TPL_ADMIN_WORDS_EDIT -->
<!--========================================================================-->
<h1>{L_WORDS_TITLE}</h1>
<p>{L_WORDS_EXPLAIN}</p>
<br/>
<form method="post" action="{S_WORDS_ACTION}">
<table class="forumline">
<tr>
<th colspan="2">{L_EDIT_WORD_CENSOR}</th>
</tr>
<tr>
<td class="row1">{L_WORD}</td>
<td class="row2"><input class="post" type="text" name="word" value="{WORD}"/></td>
</tr>
<tr>
<td class="row1">{L_REPLACEMENT}</td>
<td class="row2"><input class="post" type="text" name="replacement" value="{REPLACEMENT}"/></td>
</tr>
<tr>
<td class="catBottom" colspan="2">
{S_HIDDEN_FIELDS}
<input type="reset" value="{L_CANCEL}" class="liteoption"/>
<input type="submit" name="save" value="{L_SUBMIT}" class="mainoption"/>
</td>
</tr>
</table>
</form>
<!--========================================================================-->
<!-- ENDIF / TPL_ADMIN_WORDS_EDIT -->