mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-11 02:48:48 +00:00
[various] Convert addon_settings hook functions to the new data array format
- Add separate template files to several addons - Remove superfluous addon settings CSS files
This commit is contained in:
parent
f0522a998b
commit
779b38ec09
68 changed files with 444 additions and 953 deletions
|
@ -1,15 +1,6 @@
|
|||
<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>
|
||||
{{if $noappidtext}}
|
||||
<p style="color: red; font-weight: bold;">{{$noappidtext}}</p>
|
||||
{{/if}}
|
||||
{{include file="field_input.tpl" field=$curweather_loc}}
|
||||
{{include file="field_select.tpl" field=$curweather_units}}
|
||||
{{include file="field_checkbox.tpl" field=$enabled}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue