2012-12-22 20:36:35 +00:00
|
|
|
{{foreach $sites as $s}}
|
2012-12-25 20:25:09 +00: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 08:23:01 +00:00
|
|
|
{{include file="field_input.tpl" field=$s.applicationname}}
|
2012-12-22 20:36:35 +00:00
|
|
|
{{if $s.delete}}
|
2012-12-25 20:25:09 +00:00
|
|
|
{{include file="field_checkbox.tpl" field=$s.delete}}
|
2012-12-22 20:36:35 +00: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>
|