]> git.mxchange.org Git - friendica.git/blob - view/theme/diabook/communityhome.tpl
simplify by making Smarty include directives behave like Friendica native ones
[friendica.git] / view / theme / diabook / communityhome.tpl
1
2 <div id="twittersettings" style="display:none">
3 <form id="twittersettingsform" action="network" method="post" >
4 {{inc field_input.tpl with $field=$TSearchTerm}}{{endinc}}
5 <div class="settings-submit-wrapper">
6 <input id="twittersub" type="submit" value="$sub" class="settings-submit" name="diabook-settings-sub"></input>
7 </div>
8 </form>
9 </div>
10
11 <div id="mapcontrol" style="display:none;">
12 <form id="mapform" action="network" method="post" >
13 <div id="layermanager" style="width: 350px;position: relative;float: right;right:20px;height: 300px;"></div>
14 <div id="map2" style="height:350px;width:350px;"></div>
15 <div id="mouseposition" style="width: 350px;"></div>
16 {{inc field_input.tpl with $field=$ELZoom}}{{endinc}}
17 {{inc field_input.tpl with $field=$ELPosX}}{{endinc}}
18 {{inc field_input.tpl with $field=$ELPosY}}{{endinc}}
19 <div class="settings-submit-wrapper">
20 <input id="mapsub" type="submit" value="$sub" class="settings-submit" name="diabook-settings-map-sub"></input>
21 </div>
22 <span style="width: 500px;"><p>this ist still under development. 
23 the idea is to provide a map with different layers(e.g. earth population, atomic power plants, wheat growing acreages, sunrise or what you want) 
24 and markers(events, demos, friends, anything, that is intersting for you). 
25 These layer and markers should be importable and deletable by the user.</p>
26 <p>help on this feature is very appreciated. i am not that good in js so it's a start, but needs tweaks and further dev.
27 just contact me, if you are intesrested in joining</p>
28 <p>https://toktan.org/profile/thomas</p>
29 <p>this is build with <b>mapquery</b> http://mapquery.org/ and 
30 <b>openlayers</b>http://openlayers.org/</p>
31 </span>
32 </form>
33 </div>
34
35 <div id="boxsettings" style="display:none">
36 <form id="boxsettingsform" action="network" method="post" >
37 <fieldset><legend>$boxsettings.title.1</legend>
38 {{inc field_select.tpl with $field=$close_pages}}{{endinc}}
39 {{inc field_select.tpl with $field=$close_profiles}}{{endinc}}
40 {{inc field_select.tpl with $field=$close_helpers}}{{endinc}}
41 {{inc field_select.tpl with $field=$close_services}}{{endinc}}
42 {{inc field_select.tpl with $field=$close_friends}}{{endinc}}
43 {{inc field_select.tpl with $field=$close_lastusers}}{{endinc}}
44 {{inc field_select.tpl with $field=$close_lastphotos}}{{endinc}}
45 {{inc field_select.tpl with $field=$close_lastlikes}}{{endinc}}
46 {{inc field_select.tpl with $field=$close_twitter}}{{endinc}}
47 {{inc field_select.tpl with $field=$close_mapquery}}{{endinc}}
48 <div class="settings-submit-wrapper">
49 <input id="boxsub" type="submit" value="$sub" class="settings-submit" name="diabook-settings-box-sub"></input>
50 </div>
51 </fieldset>
52 </form>
53 </div>
54
55 <div id="pos_null" style="margin-bottom:-30px;">
56 </div>
57
58 <div id="sortable_boxes">
59
60 <div id="close_pages" style="margin-top:30px;">
61 {{ if $page }}
62 <div>$page</div>
63 {{ endif }}
64 </div>
65
66 <div id="close_profiles">
67 {{ if $comunity_profiles_title }}
68 <h3>$comunity_profiles_title<a id="closeicon" href="#boxsettings" onClick="open_boxsettings(); return false;" style="text-decoration:none;" class="icon close_box" title="$close"></a></h3>
69 <div id='lastusers-wrapper' class='items-wrapper'>
70 {{ for $comunity_profiles_items as $i }}
71         $i
72 {{ endfor }}
73 </div>
74 {{ endif }}
75 </div>
76
77 <div id="close_helpers">
78 {{ if $helpers }}
79 <h3>$helpers.title.1<a id="closeicon" href="#boxsettings" onClick="open_boxsettings(); return false;" style="text-decoration:none;" class="icon close_box" title="$close"></a></h3>
80 <a href="http://friendica.com/resources" title="How-to's" style="margin-left: 10px; " target="blank">How-To Guides</a><br>
81 <a href="http://kakste.com/profile/newhere" title="@NewHere" style="margin-left: 10px; " target="blank">NewHere</a><br>
82 <a href="https://helpers.pyxis.uberspace.de/profile/helpers" style="margin-left: 10px; " title="Friendica Support" target="blank">Friendica Support</a><br>
83 <a href="https://letstalk.pyxis.uberspace.de/profile/letstalk" style="margin-left: 10px; " title="Let's talk" target="blank">Let's talk</a><br>
84 <a href="http://newzot.hydra.uberspace.de/profile/newzot" title="Local Friendica" style="margin-left: 10px; " target="blank">Local Friendica</a>
85 {{ endif }}
86 </div>
87
88 <div id="close_services">
89 {{ if $con_services }}
90 <h3>$con_services.title.1<a id="closeicon" href="#boxsettings" onClick="open_boxsettings(); return false;" style="text-decoration:none;" class="icon close_box" title="$close"></a></h3>
91 <div id="right_service_icons" style="margin-left: 16px; margin-top: 5px;">
92 <a href="$url/facebook"><img alt="Facebook" src="view/theme/diabook/icons/facebook.png" title="Facebook"></a>
93 <a href="$url/settings/connectors"><img alt="StatusNet" src="view/theme/diabook/icons/StatusNet.png?" title="StatusNet"></a>
94 <a href="$url/settings/connectors"><img alt="LiveJournal" src="view/theme/diabook/icons/livejournal.png?" title="LiveJournal"></a>
95 <a href="$url/settings/connectors"><img alt="Posterous" src="view/theme/diabook/icons/posterous.png?" title="Posterous"></a>
96 <a href="$url/settings/connectors"><img alt="Tumblr" src="view/theme/diabook/icons/tumblr.png?" title="Tumblr"></a>
97 <a href="$url/settings/connectors"><img alt="Twitter" src="view/theme/diabook/icons/twitter.png?" title="Twitter"></a>
98 <a href="$url/settings/connectors"><img alt="WordPress" src="view/theme/diabook/icons/wordpress.png?" title="WordPress"></a>
99 <a href="$url/settings/connectors"><img alt="E-Mail" src="view/theme/diabook/icons/email.png?" title="E-Mail"></a>
100 </div>
101 {{ endif }}
102 </div>
103
104 <div id="close_friends" style="margin-bottom:53px;">
105 {{ if $nv }}
106 <h3>$nv.title.1<a id="closeicon" href="#boxsettings" onClick="open_boxsettings(); return false;" style="text-decoration:none;" class="icon close_box" title="$close"></a></h3>
107 <a class="$nv.directory.2" href="$nv.directory.0" style="margin-left: 10px; " title="$nv.directory.3" >$nv.directory.1</a><br>
108 <a class="$nv.global_directory.2" href="$nv.global_directory.0" target="blank" style="margin-left: 10px; " title="$nv.global_directory.3" >$nv.global_directory.1</a><br>
109 <a class="$nv.match.2" href="$nv.match.0" style="margin-left: 10px; " title="$nv.match.3" >$nv.match.1</a><br>
110 <a class="$nv.suggest.2" href="$nv.suggest.0" style="margin-left: 10px; " title="$nv.suggest.3" >$nv.suggest.1</a><br>
111 <a class="$nv.invite.2" href="$nv.invite.0" style="margin-left: 10px; " title="$nv.invite.3" >$nv.invite.1</a>
112 $nv.search
113 {{ endif }}
114 </div>
115
116 <div id="close_lastusers">
117 {{ if $lastusers_title }}
118 <h3>$lastusers_title<a id="closeicon" href="#boxsettings" onClick="open_boxsettings(); return false;" style="text-decoration:none;" class="icon close_box" title="$close"></a></h3>
119 <div id='lastusers-wrapper' class='items-wrapper'>
120 {{ for $lastusers_items as $i }}
121         $i
122 {{ endfor }}
123 </div>
124 {{ endif }}
125 </div>
126
127 {{ if $activeusers_title }}
128 <h3>$activeusers_title</h3>
129 <div class='items-wrapper'>
130 {{ for $activeusers_items as $i }}
131         $i
132 {{ endfor }}
133 </div>
134 {{ endif }}
135
136 <div id="close_lastphotos">
137 {{ if $photos_title }}
138 <h3>$photos_title<a id="closeicon" href="#boxsettings" onClick="open_boxsettings(); return false;" style="text-decoration:none;" class="icon close_box" title="$close"></a></h3>
139 <div id='ra-photos-wrapper' class='items-wrapper'>
140 {{ for $photos_items as $i }}
141         $i
142 {{ endfor }}
143 </div>
144 {{ endif }}
145 </div>
146
147 <div id="close_lastlikes">
148 {{ if $like_title }}
149 <h3>$like_title<a id="closeicon" href="#boxsettings" onClick="open_boxsettings(); return false;" style="text-decoration:none;" class="icon close_box" title="$close"></a></h3>
150 <ul id='likes'>
151 {{ for $like_items as $i }}
152         <li id='ra-photos-wrapper'>$i</li>
153 {{ endfor }}
154 </ul>
155 {{ endif }}
156 </div>
157
158 <div id="close_twitter">
159 <h3 style="height:1.17em">$twitter.title.1<a id="closeicon" href="#boxsettings" onClick="open_boxsettings(); return false;" style="text-decoration:none;" class="icon close_box" title="$close"></a></h3>
160 <div id="twitter">
161 </div>
162 </div>
163
164 <div id="close_mapquery">
165 {{ if $mapquery }}
166 <h3>$mapquery.title.1<a id="closeicon" href="#boxsettings" onClick="open_boxsettings(); return false;" style="text-decoration:none;" class="icon close_box" title="$close"></a></h3>
167 <div id="map" style="height:165px;width:165px;margin-left:3px;margin-top:3px;margin-bottom:1px;">
168 </div>
169 <div style="font-size:9px;margin-left:3px;">Data CC-By-SA by <a href="http://openstreetmap.org/">OpenStreetMap</a></div>
170 {{ endif }}
171 </div>
172 </div>