mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
Use new templating style
Add two templates that I forgot to checkin last time Switch to utf8_bin collation Separate "Local" and "Upstream" links Translate "Submit" button Fix some debug statements
This commit is contained in:
parent
d32b43feb8
commit
fa35dfe69d
10 changed files with 79 additions and 25 deletions
3
mailstream/view/admin.tpl
Normal file
3
mailstream/view/admin.tpl
Normal file
|
@ -0,0 +1,3 @@
|
|||
{{ inc field_input.tpl with $field=$frommail }}{{ endinc }}
|
||||
<div class="submit"><input type="submit" name="page_site" value="$submit"></div>
|
||||
|
5
mailstream/view/mail.tpl
Normal file
5
mailstream/view/mail.tpl
Normal file
|
@ -0,0 +1,5 @@
|
|||
<div class="mailstream-item-body">$item.body</div>
|
||||
{{ if $item.plink }}
|
||||
<div>$upstream: <a class="mailstream-item-plink" href="$item.plink">$item.plink</a><div>
|
||||
<div>$local: <a class="mailstream-item-url" href="$item.url">$item.url</a></div>
|
||||
{{ endif }}
|
18
mailstream/view/settings.tpl
Normal file
18
mailstream/view/settings.tpl
Normal file
|
@ -0,0 +1,18 @@
|
|||
<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>
|
||||
</div>
|
8
mailstream/view/smarty3/admin.tpl
Normal file
8
mailstream/view/smarty3/admin.tpl
Normal file
|
@ -0,0 +1,8 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
{{include file="field_input.tpl" field=$frommail}}
|
||||
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}"></div>
|
||||
|
10
mailstream/view/smarty3/mail.tpl
Normal file
10
mailstream/view/smarty3/mail.tpl
Normal file
|
@ -0,0 +1,10 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div class="mailstream-item-body">{{$item.body}}</div>
|
||||
{{if $item.plink}}
|
||||
<div>{{$upstream}}: <a class="mailstream-item-plink" href="{{$item.plink}}">{{$item.plink}}</a><div>
|
||||
<div>{{$local}}: <a class="mailstream-item-url" href="{{$item.url}}">{{$item.url}}</a></div>
|
||||
{{/if}}
|
23
mailstream/view/smarty3/settings.tpl
Normal file
23
mailstream/view/smarty3/settings.tpl
Normal file
|
@ -0,0 +1,23 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<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>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue