forked from friendica/friendica-addons
use smarty3 for config forms
This commit is contained in:
parent
d24bfb97de
commit
631476ff6e
2
curweather/templates/admin.tpl
Normal file
2
curweather/templates/admin.tpl
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
{{include file="field_input.tpl" field=$appid}}
|
||||||
|
<div class="submit"><input type="submit" name="curweather-submit" value="{{$submit}}" /></div>
|
17
curweather/templates/settings.tpl
Normal file
17
curweather/templates/settings.tpl
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
<span id="settings_curweather_inflated" class="settings-block fakelink"
|
||||||
|
style="display: block;" onclick="openClose('settings_curweather_expanded');
|
||||||
|
openClose('settings_curweather_inflated');">
|
||||||
|
<h3>{{$header}}</h3>
|
||||||
|
</span>
|
||||||
|
<div id="settings_curweather_expanded" class="settings-block" style="display: none;">
|
||||||
|
<span class="fakelink" onclick="openClose('settings_curweather_expanded'); openClose('settings_curweather_inflated');">
|
||||||
|
<h3>{{$header}}</h3>
|
||||||
|
</span>
|
||||||
|
<div style="color: red; font-weight: bold;">{{$noappidtext}}</div>
|
||||||
|
{{include file="field_input.tpl" field=$curweather_loc}}
|
||||||
|
{{include file="field_select.tpl" field=$curweather_units}}
|
||||||
|
{{include file="field_checkbox.tpl" field=$enabled}}
|
||||||
|
<div class="settings-submit-wrapper" >
|
||||||
|
<input type="submit" id="curweather-settings-submit" name="curweather-settings-submit" class="settings-submit" value="{{$submit}}" />
|
||||||
|
</div>
|
||||||
|
</div>
|
Loading…
Reference in a new issue