mirror of
https://github.com/friendica/friendica
synced 2025-09-04 15:56:06 +02:00
Merge pull request #8156 from MrPetovan/task/7817-custom-fields-part-2
New custom profile fields feature part 2: Feature switcheroo
This commit is contained in:
commit
09de4a5b47
86 changed files with 2352 additions and 3855 deletions
|
@ -172,35 +172,6 @@
|
|||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{if $lbl_vis1}}
|
||||
<div class="panel">
|
||||
<div class="section-subtitle-wrapper" role="tab" id="contact-edit-profile-select">
|
||||
<h4>
|
||||
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#contact-edit-tools" href="#contact-edit-profile-select-collapse" aria-expanded="false" aria-controls="contact-edit-profile-select-collapse">
|
||||
{{$lbl_vis1}}
|
||||
</a>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="contact-edit-profile-select-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="contact-edit-profile-select">
|
||||
<div class="section-content-tools-wrapper">
|
||||
{{if $profile_select}}
|
||||
<div id="contact-edit-profile-select-text">
|
||||
<p>{{$lbl_vis2}}</p>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
{{$profile_select nofilter}}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
{{/if}}
|
||||
|
||||
<div class="form-group pull-right settings-submit-wrapper" >
|
||||
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
</form>{{* End of the form *}}
|
||||
|
|
|
@ -1,234 +0,0 @@
|
|||
<div id="profile-page" class="generic-page-wrapper">
|
||||
<h3 class="">{{$title}}</h3>
|
||||
|
||||
{{* The link to edit the profile*}}
|
||||
{{if $profile.edit}}
|
||||
<ul class="nav nav-pills preferences">
|
||||
<li class="pull-right">
|
||||
<a class="btn btn-link btn-sm" type="button" id="profile-edit-link" href="{{$profile.edit.0}}" title="{{$profile.edit.3}}">
|
||||
<i class="fa fa-pencil-square-o" aria-hidden="true"></i> {{$profile.edit.1}}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
{{/if}}
|
||||
|
||||
{{* Frio does split the profile information in "standard" and "advanced". This is the tab menu for swithching between this modes *}}
|
||||
<ul id="profile-menu" class="nav nav-tabs" role="tablist">
|
||||
<li role="presentation" class="active">
|
||||
<a href="#profile-content-standard" aria-controls="profile-content-standard" role="tab" data-toggle="tab">{{$basic}}</a>
|
||||
</li>
|
||||
<li role="presentation">
|
||||
<a href="#profile-content-advanced" aria-controls="profile-content-advanced" role="tab" data-toggle="tab">{{$advanced}}</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="tab-content">
|
||||
<div role="tabpanel" class="tab-pane active" id="profile-content-standard">
|
||||
<div id="aprofile-fullname" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.fullname.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.fullname.1}}</div>
|
||||
</div>
|
||||
|
||||
{{if $profile.membersince}}
|
||||
<div id="aprofile-membersince" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.membersince.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.membersince.1}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $profile.gender}}
|
||||
<div id="aprofile-gender" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.gender.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.gender.1}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $profile.birthday}}
|
||||
<div id="aprofile-birthday" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.birthday.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.birthday.1}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $profile.age}}
|
||||
<div id="aprofile-age" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.age.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.age.1}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $profile.hometown}}
|
||||
<div id="aprofile-hometown" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.hometown.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.hometown.1}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $profile.marital}}
|
||||
<div id="aprofile-marital" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted"><span class="heart">♥</span> {{$profile.marital.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.marital.1}}{{if $profile.marital.with}} ({{$profile.marital.with nofilter}}){{/if}}{{if $profile.howlong}} {{$profile.howlong}}{{/if}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $profile.homepage}}
|
||||
<div id="aprofile-homepage" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.homepage.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.homepage.1 nofilter}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $profile.about}}
|
||||
<div id="aprofile-about" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.about.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.about.1 nofilter}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $profile.pub_keywords}}
|
||||
<div id="aprofile-tags" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.pub_keywords.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.pub_keywords.1}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div role="tabpanel" class="tab-pane advanced" id="profile-content-advanced">
|
||||
{{if $profile.sexual}}
|
||||
<div id="aprofile-sexual" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.sexual.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.sexual.1}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $profile.politic}}
|
||||
<div id="aprofile-politic" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.politic.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.politic.1}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $profile.religion}}
|
||||
<div id="aprofile-religion" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.religion.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.religion.1}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
||||
{{if $profile.interest}}
|
||||
<div id="aprofile-interest" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.interest.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.interest.1 nofilter}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $profile.likes}}
|
||||
<div id="aprofile-likes" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.likes.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.likes.1 nofilter}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $profile.dislikes}}
|
||||
<div id="aprofile-dislikes" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.dislikes.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.dislikes.1 nofilter}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $profile.contact}}
|
||||
<div id="aprofile-contact" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.contact.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.contact.1 nofilter}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $profile.music}}
|
||||
<div id="aprofile-music" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.music.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.music.1 nofilter}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
||||
{{if $profile.book}}
|
||||
<div id="aprofile-book" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.book.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.book.1 nofilter}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
||||
{{if $profile.tv}}
|
||||
<div id="aprofile-tv" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.tv.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.tv.1 nofilter}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
||||
{{if $profile.film}}
|
||||
<div id="aprofile-film" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.film.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.film.1 nofilter}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
||||
{{if $profile.romance}}
|
||||
<div id="aprofile-romance" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.romance.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.romance.1 nofilter}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
||||
{{if $profile.work}}
|
||||
<div id="aprofile-work" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.work.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.work.1 nofilter}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $profile.education}}
|
||||
<div id="aprofile-education" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.education.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.education.1 nofilter}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $profile.forumlist}}
|
||||
<div id="aprofile-forumlist" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 aprofile">
|
||||
<hr class="profile-separator">
|
||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$profile.forumlist.0}}</div>
|
||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$profile.forumlist.1 nofilter}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -1,343 +0,0 @@
|
|||
|
||||
<div class="generic-page-wrapper">
|
||||
{{include file="section_title.tpl" title=$banner}}
|
||||
|
||||
{{* The actions dropdown which can performed to the current profile *}}
|
||||
<div id="profile-edit-links">
|
||||
<ul class="nav nav-pills preferences">
|
||||
<li class="dropdown pull-right">
|
||||
<button type="button" class="btn btn-link btn-sm dropdown-toggle" id="profile-edit-links-dropdown" data-toggle="dropdown" aria-expanded="false">
|
||||
<i class="fa fa-angle-down" aria-hidden="true"></i> {{$profile_action}}
|
||||
</button>
|
||||
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="profile-edit-links-dropdown">
|
||||
<li role="presentation"><a role="menuitem" href="{{$profpiclink}}" id="profile-photo_upload-link" title="{{$profpic}}"><i class="fa fa-user" aria-hidden="true"></i> {{$profpic}}</a></li>
|
||||
<li role="presentation"><button role="menuitem" type="button" class="btn-link" id="profile-photo_upload-link-new" title="{{$lbl_profile_photo}}" onclick="openClose('profile-photo-upload-section');"><i class="fa fa-user" aria-hidden="true"></i> {{$lbl_profile_photo}}</button></li>
|
||||
{{if ! $is_default}}
|
||||
<li role="presentation" class="nav-item"><a role="menuitem" href="profperm/{{$profile_id}}" id="profile-edit-visibility-link" title="{{$editvis}}"><i class="fa fa-pencil" aria-hidden="true"></i> {{$editvis}}</a>
|
||||
</li>
|
||||
{{/if}}
|
||||
<li role="presentation" class="divider"></li>
|
||||
<li role="presentation"><a role="menuitem" href="profile/{{$profile_id}}/view?tab=profile" id="profile-edit-view-link" title="{{$viewprof}}">{{$viewprof}}</a></li>
|
||||
<li role="presentation"><a role="menuitem" href="profiles" id="profile-edit-view-link" title="{{$viewallprof}}">{{$viewallprof}}</a></li>
|
||||
{{if $profile_clone_link}}
|
||||
<li role="presentation" class="divider"></li>
|
||||
<li role="presentation"><a role="menuitem" href="{{$profile_clone_link}}" id="profile-edit-clone-link" title="{{$cr_prof}}">{{$cl_prof}}</a></li>
|
||||
{{/if}}
|
||||
{{if !$is_default}}
|
||||
<li role="presentation" class="divider"></li>
|
||||
<li role="presentation"><a role="menuitem" href="{{$profile_drop_link}}" id="profile-edit-drop-link" title="{{$del_prof}}"><i class="fa fa-trash" aria-hidden="true"></i> {{$del_prof}}</a></li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="profile-edit-links-end"></div>
|
||||
|
||||
<form enctype="multipart/form-data" action="profile_photo" method="post">
|
||||
<input type='hidden' name='form_security_token' value='{{$form_security_token_photo}}'>
|
||||
<input type="hidden" name="profile" value="{{$profile_name.2}}" />
|
||||
|
||||
<div id="profile-photo-upload-section" class="panel">
|
||||
<a id="profile-photo-upload-close" class="close pull-right" onclick="openClose('profile-photo-upload-section');"><i class="fa fa-times" aria-hidden="true"></i></a>
|
||||
<div id="profile-photo-upload-wrapper">
|
||||
<label id="profile-photo-upload-label" for="profile-photo-upload">{{$lbl_profile_photo}}:</label>
|
||||
<input name="userfile" type="file" id="profile-photo-upload" size="48" />
|
||||
</div>
|
||||
|
||||
<div class="profile-edit-submit-wrapper pull-right" >
|
||||
<button type="submit" name="submit" class="profile-edit-submit-butto btn btn-primary" value="{{$submit}}">{{$submit}}</button>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
{{* Most of the Variables used below are arrays in the following style
|
||||
0 => Some kind of identifier (e.g. for the ID)
|
||||
1 => The label description
|
||||
2 => The input values
|
||||
3 => The additional help text (if available)
|
||||
*}}
|
||||
|
||||
<form id="profile-edit-form" name="form1" action="profiles/{{$profile_id}}" method="post" >
|
||||
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
||||
|
||||
{{* Some hints to characteristics of the current profile (if available) *}}
|
||||
{{if $is_default}}
|
||||
<div class="section-content-info-wrapper">{{$default nofilter}}</div>
|
||||
{{/if}}
|
||||
|
||||
{{* friendica differs in $detailled_profile (all fields available and a short Version if this is variable false *}}
|
||||
{{if $detailled_profile}}
|
||||
<div class="panel-group panel-group-settings" id="profile-edit-wrapper" role="tablist" aria-multiselectable="true">
|
||||
{{* The personal settings *}}
|
||||
<div class="panel">
|
||||
<div class="section-subtitle-wrapper" role="tab" id="personal">
|
||||
<h4>
|
||||
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#profile-edit-wrapper" href="#personal-collapse" aria-expanded="true" aria-controls="personal-collapse">
|
||||
{{$lbl_personal_section}}
|
||||
</a>
|
||||
</h4>
|
||||
</div>
|
||||
{{* for the $detailled_profile we use bootstraps collapsable panel-groups to have expandable groups *}}
|
||||
<div id="personal-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="personal">
|
||||
<div class="section-content-tools-wrapper">
|
||||
{{include file="field_yesno.tpl" field=$details}}
|
||||
|
||||
{{include file="field_input.tpl" field=$profile_name}}
|
||||
|
||||
{{include file="field_input.tpl" field=$name}}
|
||||
|
||||
{{include file="field_input.tpl" field=$pdesc}}
|
||||
|
||||
<div id="profile-edit-gender-wrapper" class="form-group field select">
|
||||
<label id="profile-edit-gender-label" for="gender-select" >{{$lbl_gender}} </label>
|
||||
{{$gender nofilter}}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
{{$dob nofilter}}
|
||||
|
||||
{{$hide_friends nofilter}}
|
||||
|
||||
<div class="form-group pull-right" >
|
||||
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{* The location settings *}}
|
||||
<div class="panel">
|
||||
<div class="section-subtitle-wrapper" role="tab" id="location">
|
||||
<h4>
|
||||
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#profile-edit-wrapper" href="#location-collapse" aria-expanded="false" aria-controls="location-collapse">
|
||||
{{$lbl_location_section}}
|
||||
</a>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="location-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="location">
|
||||
<div class="section-content-tools-wrapper">
|
||||
{{include file="field_input.tpl" field=$address}}
|
||||
|
||||
{{include file="field_input.tpl" field=$locality}}
|
||||
|
||||
|
||||
{{include file="field_input.tpl" field=$postal_code}}
|
||||
|
||||
<div id="profile-edit-country-name-wrapper" class="form-group field select">
|
||||
<label id="profile-edit-country-name-label" for="profile-edit-country-name" >{{$country_name.1}} </label>
|
||||
<select name="country_name" id="profile-edit-country-name" class="form-control" onChange="Fill_States('{{$region.2}}');">
|
||||
<option selected="selected" >{{$country_name.2}}</option>
|
||||
<option>temp</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
<div id="profile-edit-region-wrapper" class="form-group field select">
|
||||
<label id="profile-edit-region-label" for="profile-edit-region" >{{$region.1}} </label>
|
||||
<select name="region" id="profile-edit-region" class="form-control" onChange="Update_Globals();" >
|
||||
<option selected="selected" >{{$region.2}}</option>
|
||||
<option>temp</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
{{include file="field_input.tpl" field=$hometown}}
|
||||
|
||||
<div class="form-group pull-right" >
|
||||
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{* The settings for relations *}}
|
||||
<div class="panel">
|
||||
<div class="section-subtitle-wrapper" role="tab" id="relation">
|
||||
<h4>
|
||||
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#profile-edit-wrapper" href="#relation-collapse" aria-expanded="false" aria-controls="relation-collapse">
|
||||
{{$lbl_relation_section}}
|
||||
</a>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="relation-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="relation">
|
||||
<div class="section-content-tools-wrapper">
|
||||
<div id="profile-edit-marital-wrapper" class="form-group field select" >
|
||||
<label id="profile-edit-marital-label" for="profile-edit-marital" >{{$lbl_marital nofilter}}</label>
|
||||
{{$marital.selector nofilter}}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
{{include file="field_input.tpl" field=$with}}
|
||||
|
||||
{{include file="field_input.tpl" field=$howlong}}
|
||||
|
||||
<div id="profile-edit-sexual-wrapper" class="form-group field select" >
|
||||
<label id="profile-edit-sexual-label" for="sexual-select" >{{$lbl_sexual}}</label>
|
||||
{{$sexual.selector nofilter}}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="form-group pull-right" >
|
||||
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{* The miscellanous other settings *}}
|
||||
<div class="panel">
|
||||
<div class="section-subtitle-wrapper" role="tab" id="miscellaneous">
|
||||
<h4>
|
||||
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#profile-edit-wrapper" href="#miscellaneous-collapse" aria-expanded="false" aria-controls="miscellaneous-collapse">
|
||||
{{$lbl_miscellaneous_section}}
|
||||
</a>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="miscellaneous-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="miscellaneous">
|
||||
<div class="section-content-tools-wrapper">
|
||||
{{include file="field_input.tpl" field=$homepage}}
|
||||
|
||||
{{include file="field_input.tpl" field=$xmpp}}
|
||||
|
||||
{{include file="field_input.tpl" field=$pub_keywords}}
|
||||
|
||||
{{include file="field_input.tpl" field=$prv_keywords}}
|
||||
|
||||
{{include file="field_input.tpl" field=$politic}}
|
||||
|
||||
{{include file="field_input.tpl" field=$religion}}
|
||||
|
||||
|
||||
{{include file="field_textarea.tpl" field=$about}}
|
||||
|
||||
{{include file="field_textarea.tpl" field=$contact}}
|
||||
|
||||
{{include file="field_textarea.tpl" field=$interest}}
|
||||
|
||||
{{include file="field_textarea.tpl" field=$likes}}
|
||||
|
||||
{{include file="field_textarea.tpl" field=$dislikes}}
|
||||
|
||||
{{include file="field_textarea.tpl" field=$music}}
|
||||
|
||||
{{include file="field_textarea.tpl" field=$book}}
|
||||
|
||||
{{include file="field_textarea.tpl" field=$tv}}
|
||||
|
||||
{{include file="field_textarea.tpl" field=$film}}
|
||||
|
||||
{{include file="field_textarea.tpl" field=$romance}}
|
||||
|
||||
{{include file="field_textarea.tpl" field=$work}}
|
||||
|
||||
{{include file="field_textarea.tpl" field=$education}}
|
||||
|
||||
<div class="form-group pull-right" >
|
||||
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{else}}
|
||||
{{* if $detailled_profile not available a short version of the setting page is displayed *}}
|
||||
{{if $personal_account}}
|
||||
{{include file="field_yesno.tpl" field=$details}}
|
||||
{{/if}}
|
||||
|
||||
{{include file="field_input.tpl" field=$profile_name}}
|
||||
|
||||
{{include file="field_input.tpl" field=$name}}
|
||||
|
||||
{{if $personal_account}}
|
||||
<div id="profile-edit-gender-wrapper" class="form-group field select">
|
||||
<label id="profile-edit-gender-label" for="gender-select" >{{$lbl_gender}} </label>
|
||||
{{$gender nofilter}}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
{{$dob nofilter}}
|
||||
|
||||
{{/if}}
|
||||
|
||||
{{include file="field_input.tpl" field=$homepage}}
|
||||
|
||||
{{include file="field_input.tpl" field=$xmpp}}
|
||||
|
||||
{{$hide_friends nofilter}}
|
||||
|
||||
{{include file="field_input.tpl" field=$address}}
|
||||
|
||||
{{include file="field_input.tpl" field=$locality}}
|
||||
|
||||
|
||||
{{include file="field_input.tpl" field=$postal_code}}
|
||||
|
||||
<div id="profile-edit-country-name-wrapper" class="form-group field select">
|
||||
<label id="profile-edit-country-name-label" for="profile-edit-country-name" >{{$country_name.1}} </label>
|
||||
<select name="country_name" id="profile-edit-country-name" class="form-control" onChange="Fill_States('{{$region.2}}');">
|
||||
<option selected="selected" >{{$country_name.2}}</option>
|
||||
<option>temp</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
<div id="profile-edit-region-wrapper" class="form-group field select">
|
||||
<label id="profile-edit-region-label" for="profile-edit-region" >{{$region.1}} </label>
|
||||
<select name="region" id="profile-edit-region" class="form-control" onChange="Update_Globals();" >
|
||||
<option selected="selected" >{{$region.2}}</option>
|
||||
<option>temp</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
{{include file="field_input.tpl" field=$pub_keywords}}
|
||||
|
||||
{{include file="field_input.tpl" field=$prv_keywords}}
|
||||
|
||||
{{include file="field_textarea.tpl" field=$about}}
|
||||
|
||||
<div class="form-group pull-right" >
|
||||
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
<input type="hidden" name="pdesc" id="profile-edit-pdesc" value="{{$pdesc.2}}" />
|
||||
<input type="hidden" id="contact-jot-text" name="contact" value="{{$contact.2}}" />
|
||||
<input type="hidden" name="hometown" id="profile-edit-hometown" value="{{$hometown.2}}" />
|
||||
<input type="hidden" name="politic" id="profile-edit-politic" value="{{$politic.2}}" />
|
||||
<input type="hidden" name="religion" id="profile-edit-religion" value="{{$religion.2}}" />
|
||||
<input type="hidden" id="likes-jot-text" name="likes" value="{{$likes.2}}" />
|
||||
<input type="hidden" id="dislikes-jot-text" name="dislikes" value="{{$dislikes.2}}" />
|
||||
<input type="hidden" name="marital" id="profile-edit-marital" value="{{$marital.value}}" />
|
||||
<input type="hidden" name="with" id="profile-edit-with" value="{{$with.2}}" />
|
||||
<input type="hidden" name="howlong" id="profile-edit-howlong" value="{{$howlong.2}}" />
|
||||
<input type="hidden" name="sexual" id="profile-edit-sexual" value="{{$sexual.value}}" />
|
||||
<input type="hidden" id="romance-jot-text" name="romance" value="{{$romance.2}}" />
|
||||
<input type="hidden" id="work-jot-text" name="work" value="{{$work.2}}" />
|
||||
<input type="hidden" id="education-jot-text" name="education" value="{{$education.2}}" />
|
||||
<input type="hidden" id="interest-jot-text" name="interest" value="{{$interest.2}}" />
|
||||
<input type="hidden" id="music-jot-text" name="music" value="{{$music.2}}" />
|
||||
<input type="hidden" id="book-jot-text" name="book" value="{{$book.2}}" />
|
||||
<input type="hidden" id="tv-jot-text" name="tv" value="{{$tv.2}}" />
|
||||
<input type="hidden" id="film-jot-text" name="film" value="{{$film.2}}" />
|
||||
|
||||
{{/if}}
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
Fill_Country('{{$country_name.2}}');
|
||||
Fill_States('{{$region.2}}');
|
||||
|
||||
// initiale autosize for the textareas
|
||||
autosize($("textarea.text-autosize"));
|
||||
</script>
|
|
@ -1,15 +0,0 @@
|
|||
|
||||
<div class="profile-listing-row" >
|
||||
<div class="profile-listing-cell" >
|
||||
<a href="profiles/{{$id}}" class="profile-listing-edit-link"><img class="profile-listing-photo" id="profile-listing-photo-{{$id}}" src="{{$photo}}" alt="{{$alt}}" /></a>
|
||||
</div>
|
||||
<div class="profile-listing-photo-end"></div>
|
||||
<div class="profile-listing-cell" id="profile-listing-name-{{$id}}">
|
||||
<a href="profiles/{{$id}}" class="profile-listing-edit-link" >{{$profile_name}}</a>
|
||||
</div>
|
||||
<div class="profile-listing-cell">
|
||||
{{$visible nofilter}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="profile-listing-end"></div>
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
|
||||
<div class="generic-page-wrapper">
|
||||
<div class="section-title-wrapper pull-left">
|
||||
<h2>{{$header}}</h2>
|
||||
</div>
|
||||
<div id="profile-listing-new-link-wrapper" class="pull-right" >
|
||||
<a href="{{$cr_new_link}}" id="profile-listing-new-link" class="page-action faded-icon" title="{{$cr_new}}" data-toggle="tooltip">
|
||||
<i class="fa fa-plus"></i></a>
|
||||
</div>
|
||||
|
||||
<div class="section-content-wrapper">
|
||||
<div id="profile-listing-profiles" class="profile-listing-table">
|
||||
{{$profiles nofilter}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
29
view/theme/frio/templates/settings/profile/field/edit.tpl
Normal file
29
view/theme/frio/templates/settings/profile/field/edit.tpl
Normal file
|
@ -0,0 +1,29 @@
|
|||
<fieldset data-id="{{$profile_field.id}}">
|
||||
<legend>≡ {{$profile_field.legend}}</legend>
|
||||
|
||||
<input type="hidden" name="profile_field_order[]" value="{{$profile_field.id}}">
|
||||
|
||||
{{include file="field_input.tpl" field=$profile_field.fields.label}}
|
||||
|
||||
{{include file="field_textarea.tpl" field=$profile_field.fields.value}}
|
||||
|
||||
{{* Block for setting default permissions *}}
|
||||
<p>
|
||||
<a id="settings-default-perms-menu" class="settings-default-perms" data-toggle="modal" data-target="#profile-field-acl-{{$profile_field.id}}">{{$profile_field.permissions}} {{$profile_field.permdesc}}</a>
|
||||
</p>
|
||||
|
||||
{{* We include the aclModal directly into the template since we cant use frio's default modal *}}
|
||||
<div class="modal" id="profile-field-acl-{{$profile_field.id}}">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title">{{$profile_field.permissions}}</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
{{$profile_field.fields.acl nofilter}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
184
view/theme/frio/templates/settings/profile/index.tpl
Normal file
184
view/theme/frio/templates/settings/profile/index.tpl
Normal file
|
@ -0,0 +1,184 @@
|
|||
<div class="generic-page-wrapper">
|
||||
{{include file="section_title.tpl" title=$banner}}
|
||||
|
||||
{{* The actions dropdown which can performed to the current profile *}}
|
||||
<div id="profile-edit-links">
|
||||
<ul class="nav nav-pills preferences">
|
||||
<li class="dropdown pull-right">
|
||||
<button type="button" class="btn btn-link btn-sm dropdown-toggle" id="profile-edit-links-dropdown" data-toggle="dropdown" aria-expanded="false">
|
||||
<i class="fa fa-angle-down" aria-hidden="true"></i> {{$profile_action}}
|
||||
</button>
|
||||
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="profile-edit-links-dropdown">
|
||||
<li role="presentation"><a role="menuitem" href="{{$profpiclink}}" id="profile-photo_upload-link" title="{{$profpic}}"><i class="fa fa-user" aria-hidden="true"></i> {{$profpic}}</a></li>
|
||||
<li role="presentation"><button role="menuitem" type="button" class="btn-link" id="profile-photo_upload-link-new" title="{{$lbl_profile_photo}}" onclick="openClose('profile-photo-upload-section');"><i class="fa fa-user" aria-hidden="true"></i> {{$lbl_profile_photo}}</button></li>
|
||||
<li role="presentation" class="divider"></li>
|
||||
<li role="presentation"><a role="menuitem" href="profile/{{$nickname}}" id="profile-edit-view-link" title="{{$viewprof}}">{{$viewprof}}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="profile-edit-links-end"></div>
|
||||
|
||||
<form enctype="multipart/form-data" action="settings/profile/photo" method="post">
|
||||
<input type="hidden" name="form_security_token" value="{{$form_security_token_photo}}">
|
||||
|
||||
<div id="profile-photo-upload-section" class="panel">
|
||||
<a id="profile-photo-upload-close" class="close pull-right" onclick="openClose('profile-photo-upload-section');"><i class="fa fa-times" aria-hidden="true"></i></a>
|
||||
<div id="profile-photo-upload-wrapper">
|
||||
<label id="profile-photo-upload-label" for="profile-photo-upload">{{$lbl_profile_photo}}:</label>
|
||||
<input name="userfile" type="file" id="profile-photo-upload" size="48" />
|
||||
</div>
|
||||
|
||||
<div class="profile-edit-submit-wrapper pull-right">
|
||||
<button type="submit" name="submit" class="profile-edit-submit-button btn btn-primary" value="{{$submit}}">{{$submit}}</button>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
{{* Most of the Variables used below are arrays in the following style
|
||||
0 => Some kind of identifier (e.g. for the ID)
|
||||
1 => The label description
|
||||
2 => The input values
|
||||
3 => The additional help text (if available)
|
||||
*}}
|
||||
|
||||
<form id="profile-edit-form" name="form1" action="" method="post">
|
||||
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
||||
|
||||
<div class="panel-group panel-group-settings" id="profile-edit-wrapper" role="tablist" aria-multiselectable="true">
|
||||
{{* The personal settings *}}
|
||||
<div class="panel">
|
||||
<div class="section-subtitle-wrapper" role="tab" id="personal">
|
||||
<h4>
|
||||
<a class="accordion-toggle" data-toggle="collapse" data-parent="#profile-edit-wrapper" href="#personal-collapse" aria-expanded="true" aria-controls="personal-collapse">
|
||||
{{$lbl_personal_section}}
|
||||
</a>
|
||||
</h4>
|
||||
</div>
|
||||
{{* for the $detailed_profile we use bootstraps collapsable panel-groups to have expandable groups *}}
|
||||
<div id="personal-collapse" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="personal">
|
||||
<div class="section-content-tools-wrapper">
|
||||
{{include file="field_input.tpl" field=$name}}
|
||||
|
||||
{{include file="field_input.tpl" field=$pdesc}}
|
||||
|
||||
{{$dob nofilter}}
|
||||
|
||||
{{$hide_friends nofilter}}
|
||||
|
||||
<div class="form-group pull-right">
|
||||
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{* The location settings *}}
|
||||
<div class="panel">
|
||||
<div class="section-subtitle-wrapper" role="tab" id="location">
|
||||
<h4>
|
||||
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#profile-edit-wrapper" href="#location-collapse" aria-expanded="false" aria-controls="location-collapse">
|
||||
{{$lbl_location_section}}
|
||||
</a>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="location-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="location">
|
||||
<div class="section-content-tools-wrapper">
|
||||
{{include file="field_input.tpl" field=$address}}
|
||||
|
||||
{{include file="field_input.tpl" field=$locality}}
|
||||
|
||||
{{include file="field_input.tpl" field=$postal_code}}
|
||||
|
||||
<div id="profile-edit-country-name-wrapper" class="form-group field select">
|
||||
<label id="profile-edit-country-name-label" for="profile-edit-country-name">{{$country_name.1}} </label>
|
||||
<select name="country_name" id="profile-edit-country-name" class="form-control" onChange="Fill_States('{{$region.2}}');">
|
||||
<option selected="selected">{{$country_name.2}}</option>
|
||||
<option>temp</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
<div id="profile-edit-region-wrapper" class="form-group field select">
|
||||
<label id="profile-edit-region-label" for="profile-edit-region">{{$region.1}} </label>
|
||||
<select name="region" id="profile-edit-region" class="form-control" onChange="Update_Globals();">
|
||||
<option selected="selected">{{$region.2}}</option>
|
||||
<option>temp</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="form-group pull-right">
|
||||
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{* The miscellanous other settings *}}
|
||||
<div class="panel">
|
||||
<div class="section-subtitle-wrapper" role="tab" id="miscellaneous">
|
||||
<h4>
|
||||
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#profile-edit-wrapper" href="#miscellaneous-collapse" aria-expanded="false" aria-controls="miscellaneous-collapse">
|
||||
{{$lbl_miscellaneous_section}}
|
||||
</a>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="miscellaneous-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="miscellaneous">
|
||||
<div class="section-content-tools-wrapper">
|
||||
{{include file="field_input.tpl" field=$homepage}}
|
||||
|
||||
{{include file="field_input.tpl" field=$xmpp}}
|
||||
|
||||
{{include file="field_input.tpl" field=$pub_keywords}}
|
||||
|
||||
{{include file="field_input.tpl" field=$prv_keywords}}
|
||||
|
||||
<div class="form-group pull-right">
|
||||
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{* The miscellanous other settings *}}
|
||||
<div class="panel">
|
||||
<div class="section-subtitle-wrapper" role="tab" id="custom-fields">
|
||||
<h4>
|
||||
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#profile-edit-wrapper" href="#custom-fields-collapse" aria-expanded="false" aria-controls="custom-fields-collapse">
|
||||
{{$lbl_custom_fields_section}}
|
||||
</a>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="custom-fields-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="custom-fields">
|
||||
<div class="section-content-tools-wrapper">
|
||||
{{$custom_fields_description nofilter}}
|
||||
<div id="profile-custom-fields">
|
||||
{{foreach $custom_fields as $custom_field}}
|
||||
{{include file="settings/profile/field/edit.tpl" profile_field=$custom_field}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
|
||||
<div class="form-group pull-right">
|
||||
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
Fill_Country('{{$country_name.2}}');
|
||||
Fill_States('{{$region.2}}');
|
||||
|
||||
// initiale autosize for the textareas
|
||||
autosize($("textarea.text-autosize"));
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue