blob: daa56e15c7ad0155da290b65a8655da6470f46d0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
|
<div class="generic-content-wrapper">
<div class="section-title-wrapper">
<div class="dropdown pull-right" id="profile-edit-links">
<button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="icon-caret-down"></i>
</button>
<ul class="dropdown-menu">
<li class="nav-item">
<a class="nav-link" href="profile_photo" id="profile-photo_upload-link" title="{{$profpic}}">{{$profpic}}</a>
</li>
{{if $is_default}}
<li class="nav-item">
<a href="cover_photo" id="cover-photo_upload-link" title="{{$coverpic}}">{{$coverpic}}</a>
</li>
{{/if}}
<li class="nav-item">
<a href="profile/{{$profile_id}}/view" id="profile-edit-view-link" title="{{$viewprof}}">{{$viewprof}}</a>
</li>
{{if ! $is_default}}
<li class="nav-item">
<a href="profperm/{{$profile_id}}" id="profile-edit-view-link" title="{{$editvis}}">{{$editvis}}</a>
</li>
{{/if}}
{{if $profile_clone_link}}
<li class="divider"></li>
<li class="nav-item">
<a href="{{$profile_clone_link}}" id="profile-edit-clone-link" title="{{$cr_prof}}">{{$cl_prof}}</a>
</li>
{{/if}}
{{if $exportable}}
<li class="divider"></li>
<li class="nav-item">
<a href="profiles/export/{{$profile_id}}">{{$lbl_export}}</a>
</li>
<li class="nav-item">
<a href="#" onClick="openClose('profile-upload-form'); return false;">{{$lbl_import}}</a>
</li>
{{/if}}
{{if ! $is_default}}
<li class="divider"></li>
<li class="nav-item">
<a href="{{$profile_drop_link}}" id="profile-edit-drop-link" title="{{$del_prof}}" onclick="return confirmDelete();"><i class="icon-trash"></i> {{$del_prof}}</a>
</li>
{{/if}}
<ul>
</div>
<h2>{{$banner}}</h2>
<div class="clear"></div>
</div>
<div class="section-content-tools-wrapper" id="profile-upload-form">
<label id="profile-upload-choose-label" for="profile-upload-choose" >{{$lbl_import}}</label>
<input id="profile-upload-choose" type="file" name="userfile">
</div>
<div class="section-content-wrapper">
<form id="profile-edit-form" name="form1" action="profiles/{{$profile_id}}" enctype="multipart/form-data" method="post" >
{{if $is_default}}
<div class="section-content-info-wrapper">{{$default}}</div>
{{/if}}
<div id="profile-edit-wrapper" >
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
{{include file="field_input.tpl" field=$profile_name}}
{{include file="field_input.tpl" field=$name}}
{{if $fields.pdesc}}
{{include file="field_input.tpl" field=$pdesc}}
{{/if}}
{{if $fields.gender}}
<div id="profile-edit-gender-wrapper" class="form-group field select" >
<label id="profile-edit-gender-label" for="gender-select" >{{$lbl_gender}}</label>
{{if $advanced}}
{{$gender}}
{{else}}
{{$gender_min}}
{{/if}}
</div>
<div class="clear"></div>
{{/if}}
{{if $fields.dob}}
{{$dob}}
{{/if}}
{{include file="field_checkbox.tpl" field=$hide_friends}}
<div class="form-group" >
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
</div>
<div class="clear"></div>
{{if $fields.address}}
{{include file="field_input.tpl" field=$address}}
{{/if}}
{{if $fields.locality}}
{{include file="field_input.tpl" field=$locality}}
{{/if}}
{{if $fields.postal_code}}
{{include file="field_input.tpl" field=$postal_code}}
{{/if}}
{{if $fields.region}}
{{include file="field_input.tpl" field=$region}}
{{/if}}
{{if $fields.country_name}}
{{include file="field_input.tpl" field=$country_name}}
{{/if}}
{{if $fields.hometown}}
{{include file="field_input.tpl" field=$hometown}}
{{/if}}
<div class="form-group" >
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
</div>
<div class="clear"></div>
{{if $fields.marital }}
<div id="profile-edit-marital-wrapper" class="form-group field" >
<label id="profile-edit-marital-label" for="profile-edit-marital" ><span class="heart">♥</span> {{$lbl_marital}}</label>
{{if $advanced}}
{{$marital}}
{{else}}
{{$marital_min}}
{{/if}}
</div>
<div class="clear"></div>
{{if $fields.with}}
{{include file="field_input.tpl" field=$with}}
{{/if}}
{{if $fields.howlong}}
{{include file="field_input.tpl" field=$howlong}}
{{/if}}
<div class="clear"></div>
{{/if}}
{{if $fields.homepage}}
{{include file="field_input.tpl" field=$homepage}}
{{/if}}
{{if $fields.sexual}}
<div id="profile-edit-sexual-wrapper" class="form-group field" >
<label id="profile-edit-sexual-label" for="sexual-select" >{{$lbl_sexual}}</label>
{{$sexual}}
</div>
<div class="clear"></div>
{{/if}}
{{if $fields.politic}}
{{include file="field_input.tpl" field=$politic}}
{{/if}}
{{if $fields.religion}}
{{include file="field_input.tpl" field=$religion}}
{{/if}}
{{if $fields.keywords}}
{{include file="field_input.tpl" field=$keywords}}
{{/if}}
{{if $fields.about}}
{{include file="field_textarea.tpl" field=$about}}
{{/if}}
{{if $fields.contact}}
{{include file="field_textarea.tpl" field=$contact}}
{{/if}}
{{if $fields.interest}}
{{include file="field_textarea.tpl" field=$interest}}
{{/if}}
{{if $fields.likes}}
{{include file="field_textarea.tpl" field=$likes}}
{{/if}}
{{if $fields.dislikes}}
{{include file="field_textarea.tpl" field=$dislikes}}
{{/if}}
{{if $fields.channels}}
{{include file="field_textarea.tpl" field=$channels}}
{{/if}}
{{if $fields.music}}
{{include file="field_textarea.tpl" field=$music}}
{{/if}}
{{if $fields.book}}
{{include file="field_textarea.tpl" field=$book}}
{{/if}}
{{if $fields.tv}}
{{include file="field_textarea.tpl" field=$tv}}
{{/if}}
{{if $fields.film}}
{{include file="field_textarea.tpl" field=$film}}
{{/if}}
{{if $fields.romance}}
{{include file="field_textarea.tpl" field=$romance}}
{{/if}}
{{if $fields.work}}
{{include file="field_textarea.tpl" field=$work}}
{{/if}}
{{if $fields.education}}
{{include file="field_textarea.tpl" field=$education}}
{{/if}}
{{if $extra_fields}}
{{foreach $extra_fields as $field }}
{{include file="field_input.tpl" field=$field}}
{{/foreach}}
{{/if}}
<div class="form-group" >
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
</div>
<div class="clear"></div>
</div>
</form>
</div>
</div>
|