* Fix typos in database schema

* Default to using user's main email address
* Refactoring
* Add missing files to .tgz
This commit is contained in:
Matthew Exon 2013-04-01 08:32:06 +08:00
parent fa35dfe69d
commit 9fceabe1c3
5 changed files with 69 additions and 65 deletions

View file

@ -1,18 +1,6 @@
<div class="settings-block">
<h3>Mail Stream Settings</h3>
<table>
<tbody>
<tr>
<td>$enabled_caption</td>
<td><input class="checkbox" type="checkbox" name="enabled" $enabled></td>
</tr>
<tr>
<td>$address_caption</td>
<td><input class="input" size="70" name="address"$address></td>
</tr>
<tr>
<td colspan="2"><input type="submit" value="$submit"></td>
</tr>
</tbody>
</table>
<h3>$title</h3>
{{ inc field_input.tpl with $field=$address }}{{ endinc }}
{{ inc field_checkbox.tpl with $field=$enabled }}{{ endinc }}
<input type="submit" value="$submit">
</div>

View file

@ -4,20 +4,8 @@
*
*}}
<div class="settings-block">
<h3>Mail Stream Settings</h3>
<table>
<tbody>
<tr>
<td>{{$enabled_caption}}</td>
<td><input class="checkbox" type="checkbox" name="enabled" {{$enabled}}></td>
</tr>
<tr>
<td>{{$address_caption}}</td>
<td><input class="input" size="70" name="address"{{$address}}></td>
</tr>
<tr>
<td colspan="2"><input type="submit" value="{{$submit}}"></td>
</tr>
</tbody>
</table>
<h3>{{$title}}</h3>
{{include file="field_input.tpl" field=$address}}
{{include file="field_checkbox.tpl" field=$enabled}}
<input type="submit" value="{{$submit}}">
</div>