mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +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,20 +1,2 @@
|
|||
<span id="settings_gnot_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_gnot_expanded\'); openClose(\'settings_gnot_inflated\');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<div id="settings_gnot_expanded" class="settings-block" style="display: none;">
|
||||
<span class="fakelink" onclick="openClose(\'settings_gnot_expanded\'); openClose(\'settings_gnot_inflated\');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<div id="gnot-wrapper">
|
||||
<div id="gnot-desc">{{$text}}</div>
|
||||
<label id="gnot-label" for="gnot">{{$enable}}</label>
|
||||
<input id="gnot-input" type="checkbox" name="gnot" value="1" {{$enabled}} />
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
/* provide a submit button */
|
||||
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" name="gnot-submit" class="settings-submit" value="{{$submit}}" />
|
||||
</div>
|
||||
</div>
|
||||
<p>{{$text}}</p>
|
||||
{{include file="field_checkbox.tpl" field=$enabled}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue