Commit 67aaeefee5d376c68367fd8314ab623226dd0f82
1 parent
37295921
Move formenctype to a more accurate location
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3454 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
3 additions
and
3 deletions
templates/ktcore/standard_page.smarty
| @@ -14,10 +14,10 @@ | @@ -14,10 +14,10 @@ | ||
| 14 | { assign var="onloadjavascript" value="onload=\"$onloadjavascript\"" } | 14 | { assign var="onloadjavascript" value="onload=\"$onloadjavascript\"" } |
| 15 | { /if } | 15 | { /if } |
| 16 | <body marginleft="0" marginheight="0" {$onloadjavascript}> | 16 | <body marginleft="0" marginheight="0" {$onloadjavascript}> |
| 17 | - { if $formenctype } | ||
| 18 | - { assign var="formenctype" value="enctype=\"$formenctype\"" } | ||
| 19 | - { /if } | ||
| 20 | { if ! $formdisabled } | 17 | { if ! $formdisabled } |
| 18 | + { if $formenctype } | ||
| 19 | + { assign var="formenctype" value="enctype=\"$formenctype\"" } | ||
| 20 | + { /if } | ||
| 21 | { if $hasrequiredfields } | 21 | { if $hasrequiredfields } |
| 22 | { assign var="onsubmit" value="onsubmit=\"return validateForm(this)\"" } | 22 | { assign var="onsubmit" value="onsubmit=\"return validateForm(this)\"" } |
| 23 | { /if } | 23 | { /if } |