[contrib] Add and Edit Category, Add Initial Body templates
Posted: Tue Dec 04, 2007 5:19 am
In anticipation of the version change, I decided to fix some templates.
First, the administrative templates for adding and editing categories.
The problem with the existing ones is that the fields are too small. Definitely too small. So I changed them a little bit so they visually resemble Edit Forum template. This is cosmetic change, no functionality added or removed. Both templates are almost identical.
Here you go:
quiz_add_category_body.tpl
quiz_edit_category_body.tpl
First, the administrative templates for adding and editing categories.
The problem with the existing ones is that the fields are too small. Definitely too small. So I changed them a little bit so they visually resemble Edit Forum template. This is cosmetic change, no functionality added or removed. Both templates are almost identical.
Here you go:
quiz_add_category_body.tpl
Code: Select all
<form action="{F_FORM}" method="post">
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<tr>
<th class="thHead" colspan="2">{L_ADD}</th>
</tr>
<tr>
<td width="100%" colspan="2" class="row1" align="center" valign="middle" height="100%">
<span class="gen">{L_EXPLAINATION}</span>
</td>
</tr>
<tr>
<td class="row1">{L_NAME}</td>
<td class="row2"><input type="text" size="25" name="name" value="" />
</td>
</tr>
<tr>
<td class="row1">{L_DESCRIPTION}</td>
<td class="row2"><textarea rows="5" cols="45" wrap="virtual" type="text" name="description" value="" /></textarea>
</td>
</tr>
<tr>
<td class="row1">{L_PASSWORD}</td>
<td class="row2"><input type="password" size="25" name="password" value="" />
</td>
</tr>
<tr>
<td class="row1">{L_CHOOSE_PER}</td>
<td class="row2">
<select name="permissions">
<option id="0" value="0">{L_GUEST}</option>
<option id="1" value="1">{L_REG}</option>
<option id="2" value="2">{L_REG_HIDDEN}</option>
</select>
</td>
</td>
</tr>
<tr>
<td class="catBottom" colspan="2" align="center">
<input class="liteoption" type="submit" value="{L_SUBMIT}" />
</td>
</tr>
</table>
</form>
Code: Select all
<form action="{F_FORM}" method="post">
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<tr>
<th class="thHead" colspan="2">{L_EDITING}</th>
</tr>
<tr>
<td width="100%" colspan="2" class="row1" align="center" valign="middle" height="100%">
<span class="gen">{L_EXPLAINATION}</span>
</td>
</tr>
<tr>
<td class="row1">{L_NAME}</td>
<td class="row2"><input type="text" size="25" name="name" value="{U_NAME}" />
</td>
</tr>
<tr>
<td class="row1">{L_DESCRIPTION}</td>
<td class="row2"><textarea rows="5" cols="45" wrap="virtual" type="text" name="description" value="{U_DESCRIPTION}" />{U_DESCRIPTION}</textarea>
</td>
</tr>
<tr>
<td class="row1">{L_PASSWORD}</td>
<td class="row2"><input type="password" size="25" name="password" value="" />
</td>
</tr>
<tr>
<td class="row1">{L_CHOOSE_PER}</td>
<td class="row2">
<select name="permissions">
<option id="0" value="0">{L_GUEST}</option>
<option id="1" value="1">{L_REG}</option>
<option id="2" value="2">{L_REG_HIDDEN}</option>
</select>
</td>
</td>
</tr>
<tr>
<td class="catBottom" colspan="2" align="center">
<input class="liteoption" type="submit" value="{L_SUBMIT}" />
</td>
</tr>
</table>
</form>