2012-12-22 21:36:35 +01:00
|
|
|
{{foreach $sites as $s}}
|
2012-12-25 21:25:09 +01:00
|
|
|
{{include file="field_input.tpl" field=$s.sitename}}
|
|
|
|
{{include file="field_input.tpl" field=$s.apiurl}}
|
|
|
|
{{include file="field_input.tpl" field=$s.secret}}
|
|
|
|
{{include file="field_input.tpl" field=$s.key}}
|
2013-02-19 09:23:01 +01:00
|
|
|
{{include file="field_input.tpl" field=$s.applicationname}}
|
2012-12-22 21:36:35 +01:00
|
|
|
{{if $s.delete}}
|
2012-12-25 21:25:09 +01:00
|
|
|
{{include file="field_checkbox.tpl" field=$s.delete}}
|
2012-12-22 21:36:35 +01:00
|
|
|
<hr>
|
|
|
|
{{else}}
|
|
|
|
<p>Fill this form to add a new site</p>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{/foreach}}
|
|
|
|
|
|
|
|
|
|
|
|
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
|