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