mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-26 13:40:15 +00:00
dd7f343d43
- Now that each addon form is in their own form tag, we have to check whether the addon submit button was pressed. - This was already done in every other addon but mailstream and this change will prevent unexpected loss of mailstream settings when saving any other addon settings.
13 lines
750 B
Smarty
13 lines
750 B
Smarty
<span id="settings_mailstream_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose('settings_mailstream_expanded'); openClose('settings_mailstream_inflated');">
|
|
<h3>{{$title}}</h3>
|
|
</span>
|
|
<div id="settings_mailstream_expanded" class="settings-block" style="display: none;">
|
|
<span class="fakelink" onclick="openClose('settings_mailstream_expanded'); openClose('settings_mailstream_inflated');">
|
|
<h3>{{$title}}</h3>
|
|
</span>
|
|
{{include file="field_checkbox.tpl" field=$enabled}}
|
|
{{include file="field_input.tpl" field=$address}}
|
|
{{include file="field_checkbox.tpl" field=$nolikes}}
|
|
{{include file="field_checkbox.tpl" field=$attachimg}}
|
|
<input type="submit" name="mailstream-submit" value="{{$submit}}">
|
|
</div>
|