Refactored, no more redirects. Improved error messaging system
This commit is contained in:
+5
-5
@@ -47,7 +47,7 @@
|
||||
{$lang_length}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" size="10" name="length" maxlength="80"> m
|
||||
<input type="text" size="10" name="length" maxlength="10" value="{$length}"> m
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -55,7 +55,7 @@
|
||||
Type
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=cable_type options=$type_options selected=$cable->cable_type}
|
||||
{html_options name=cable_type options=$type_options selected=$type}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -63,7 +63,7 @@
|
||||
# Links
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" size="4" name="links" maxlength="4">
|
||||
<input type="text" size="4" name="links" maxlength="4" value="{$links}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -71,7 +71,7 @@
|
||||
{$lang_color}
|
||||
</td>
|
||||
<td class="value">
|
||||
#<input type="text" {literal}class="color {pickerPosition:'right'}"{/literal} name="color" size="6" maxlength="6" value="{$cable->color}">
|
||||
#<input type="text" {literal}class="color {pickerPosition:'right'}"{/literal} name="color" size="6" maxlength="6" value="{$color}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -79,7 +79,7 @@
|
||||
{$lang_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="info" cols="30" rows="10"></textarea>
|
||||
<textarea name="info" cols="30" rows="10">{$info}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user