From: Tobias Diekershoff <tobias.diekershoff@gmx.net>
Date: Sun, 11 Mar 2018 17:53:21 +0000 (+0100)
Subject: moved pageheader settings to template
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5c64ee11cfec90b752766a63f687e53616efcb50;p=friendica-addons.git

moved pageheader settings to template
---

diff --git a/pageheader/templates/settings.tpl b/pageheader/templates/settings.tpl
new file mode 100644
index 00000000..55887cb5
--- /dev/null
+++ b/pageheader/templates/settings.tpl
@@ -0,0 +1,14 @@
+<span id="settings_pageheader_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose('settings_pageheader_expanded'); openClose('settings_pageheader_inflated');">
+	<h3>{{$title}}</h3>
+</span>
+<div id="settings_pageheader_expanded" class="settings-block" style="display: none;">
+	<span class="fakelink" onclick="openClose('settings_pageheader_expanded'); openClose('settings_pageheader_inflated');">
+		<h3>{{$title}}</h3>
+	</span>
+	{{include file="field_textarea.tpl" field=$phwords}}
+
+<div class="settings-submit-wrapper" >
+	<input type="submit" id="pageheader-submit" name="pageheader-submit" class="settings-submit" value="{{$submit}}" />
+</div>
+</div>
+<div class="clear"></div>