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