|
44 | 44 |
|
45 | 45 | <dt><label for="email"> {$panelstrings.blogemail} </label></dt>
|
46 | 46 | {if isset($error) && isset($error.email) && !empty($error.email)}
|
47 |
| - {assign var=class value=" field-error"} |
| 47 | + {assign var=class value="field-error"} |
48 | 48 | {else}
|
49 | 49 | {assign var=class value=""}
|
50 | 50 | {/if}
|
|
54 | 54 | <dt><label> {$panelstrings.notifications} </label></dt>
|
55 | 55 | <dd>
|
56 | 56 | <label for="notify">
|
57 |
| - <input type="checkbox" name="notify" id="notify"{if $flatpress.NOTIFY}checked="checked"{/if} /> |
58 |
| - {$panelstrings.mailnotify} |
| 57 | + <input type="checkbox" name="notify" id="notify" {if $flatpress.NOTIFY}checked="checked"{/if} /> |
| 58 | + {$panelstrings.mailnotify} |
59 | 59 | </label>
|
60 | 60 | </dd>
|
61 | 61 |
|
|
74 | 74 |
|
75 | 75 | <dt><label for="maxentries"> {$panelstrings.blogmaxentries} </label></dt>
|
76 | 76 | {if isset($error) && isset($error.maxentries) && !empty($error.maxentries)}
|
77 |
| - {assign var=class value=" field-error"} |
| 77 | + {assign var=class value="field-error"} |
78 | 78 | {else}
|
79 | 79 | {assign var=class value=""}
|
80 | 80 | {/if}
|
81 | 81 | <dd><input type="text" name="maxentries" id="maxentries"
|
82 |
| - class="smalltextinput {$class}" value="{$flatpress.maxentries}" /></dd> |
| 82 | + class="smalltextinput{$class}" value="{$flatpress.maxentries}" /></dd> |
83 | 83 |
|
84 | 84 |
|
85 | 85 | </dl>
|
|
102 | 102 | {assign var=class value=""}
|
103 | 103 | {/if}
|
104 | 104 | <dd><input type="text" name="timeoffset" id="timeoffset"
|
105 |
| - class="smalltextinput {$class}" |
106 |
| - value="{$fp_config.locale.timeoffset}" /> {$panelstrings.hours} |
| 105 | + class="smalltextinput{$class}" |
| 106 | + value="{$fp_config.locale.timeoffset}" /><p class="text"> {$panelstrings.hours} </p> |
107 | 107 | </dd>
|
108 | 108 |
|
109 | 109 |
|
110 | 110 | <dt><label for="dateformat"> {$panelstrings.dateformat} </label></dt>
|
111 | 111 | {if isset($error) && isset($error.dateformat) && !empty($error.dateformat)}
|
112 |
| - {assign var=class value=" field-error"} |
| 112 | + {assign var=class value="field-error"} |
113 | 113 | {else}
|
114 | 114 | {assign var=class value=""}
|
115 | 115 | {/if}
|
116 | 116 | <dd> <p> <input type="text" name="dateformat" id="dateformat"
|
117 |
| - class="textinput {$class}" |
| 117 | + class="textinput{$class}" |
118 | 118 | value="{$fp_config.locale.dateformat}" /> </p>
|
119 |
| - <p> {$panelstrings.output}: {$smarty.now|date_format:$fp_config.locale.dateformat} </p> |
| 119 | + <p class="output"> {$panelstrings.output}: {$smarty.now|date_format:$fp_config.locale.dateformat}</p> |
120 | 120 | </dd>
|
121 | 121 |
|
122 | 122 | <dt><label for="dateformatshort"> {$panelstrings.dateformatshort} </label></dt>
|
|
126 | 126 | {assign var=class value=""}
|
127 | 127 | {/if}
|
128 | 128 | <dd> <p> <input type="text" name="dateformatshort" id="dateformatshort"
|
129 |
| - class="textinput {$class}" |
| 129 | + class="textinput{$class}" |
130 | 130 | value="{$fp_config.locale.dateformatshort}" /> </p>
|
131 |
| - <p> {$panelstrings.output}: {$smarty.now|date_format:$fp_config.locale.dateformatshort} </p> |
| 131 | + <p class="output"> {$panelstrings.output}: {$smarty.now|date_format:$fp_config.locale.dateformatshort}</p> |
132 | 132 | </dd>
|
133 | 133 |
|
134 | 134 | <dt><label for="timeformat"> {$panelstrings.timeformat} </label></dt>
|
135 | 135 | {if isset($error) && isset($error.timeformat) && !empty($error.timeformat)}
|
136 |
| - {assign var=class value=" field-error"} |
| 136 | + {assign var=class value="field-error"} |
137 | 137 | {else}
|
138 | 138 | {assign var=class value=""}
|
139 | 139 | {/if}
|
140 | 140 | <dd> <p> <input type="text" name="timeformat" id="timeformat"
|
141 |
| - class="textinput {$class}" |
| 141 | + class="textinput{$class}" |
142 | 142 | value="{$fp_config.locale.timeformat}" /> </p>
|
143 | 143 | {assign var=currentTime value=$smarty.now}
|
144 | 144 | {assign var=timeDiff value=$fp_config.locale.timeoffset}
|
145 | 145 | {assign var=TimeDiffUTC value=$currentTime+$timeDiff*3600}
|
146 |
| - <p> {$panelstrings.output}: {$TimeDiffUTC|date_format:$fp_config.locale.timeformat} </p> |
| 146 | + <p class="output"> {$panelstrings.output}: {$TimeDiffUTC|date_format:$fp_config.locale.timeformat}</p> |
147 | 147 | </dd>
|
148 | 148 |
|
149 | 149 |
|
|
161 | 161 |
|
162 | 162 | <dt> <label for="charset"> {$panelstrings.charset} </label></dt>
|
163 | 163 | {if isset($error) && isset($error.charset) && !empty($error.charset)}
|
164 |
| - {assign var=class value=" field-error"} |
| 164 | + {assign var=class value="field-error"} |
165 | 165 | {else}
|
166 | 166 | {assign var=class value=""}
|
167 | 167 | {/if}
|
168 | 168 | <dd> <p><input type="text" name="charset" id="charset"
|
169 |
| - class="smalltextinput {$class}" |
| 169 | + class="smalltextinput{$class}" |
170 | 170 | value="{$fp_config.locale.charset}" /></p>
|
171 |
| - <p>{$panelstrings.charsettip}</p> |
| 171 | + <p class="output">{$panelstrings.charsettip}</p> |
172 | 172 | </dd>
|
173 | 173 |
|
174 | 174 |
|
|
0 commit comments