diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2013-05-08 04:23:17 -0400 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2013-05-08 04:23:17 -0400 |
commit | 5e1980becf69a4c65489bed6f94fa730ec8ef4bf (patch) | |
tree | 2f1f1c7540c62c049dd314b0155380c6cb4526b5 /view/tpl/profile_edit.tpl | |
parent | c753fa19d289e936131aad706cf31bcfe111b4c1 (diff) | |
download | volse-hubzilla-5e1980becf69a4c65489bed6f94fa730ec8ef4bf.tar.gz volse-hubzilla-5e1980becf69a4c65489bed6f94fa730ec8ef4bf.tar.bz2 volse-hubzilla-5e1980becf69a4c65489bed6f94fa730ec8ef4bf.zip |
remove "internal" templates, use "tpl/" folder for smarty3 templates,
move smarty3 templates in "tpl/" folder, add util/precompile_smarty.php utility, add precompiled templates
Diffstat (limited to 'view/tpl/profile_edit.tpl')
-rwxr-xr-x[-rw-r--r--] | view/tpl/profile_edit.tpl | 165 |
1 files changed, 85 insertions, 80 deletions
diff --git a/view/tpl/profile_edit.tpl b/view/tpl/profile_edit.tpl index 6ff4cf8c1..864599244 100644..100755 --- a/view/tpl/profile_edit.tpl +++ b/view/tpl/profile_edit.tpl @@ -1,14 +1,19 @@ -$default +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} +{{$default}} -<h1>$banner</h1> +<h1>{{$banner}}</h1> <div id="profile-edit-links"> <ul> -<li><a href="profile_photo" id="profile-photo_upload-link" title="$profpic">$profpic</a></li> -<li><a href="profile/$profile_id/view?tab=profile" id="profile-edit-view-link" title="$viewprof">$viewprof</a></li> -<li><a href="$profile_clone_link" id="profile-edit-clone-link" title="$cr_prof">$cl_prof</a></li> +<li><a href="profile_photo" id="profile-photo_upload-link" title="{{$profpic}}">{{$profpic}}</a></li> +<li><a href="profile/{{$profile_id}}/view?tab=profile" id="profile-edit-view-link" title="{{$viewprof}}">{{$viewprof}}</a></li> +<li><a href="{{$profile_clone_link}}" id="profile-edit-clone-link" title="{{$cr_prof}}">{{$cl_prof}}</a></li> <li></li> -<li><a href="$profile_drop_link" id="profile-edit-drop-link" title="$del_prof" $disabled >$del_prof</a></li> +<li><a href="{{$profile_drop_link}}" id="profile-edit-drop-link" title="{{$del_prof}}" {{$disabled}} >{{$del_prof}}</a></li> </ul> </div> @@ -17,147 +22,147 @@ $default <div id="profile-edit-wrapper" > -<form id="profile-edit-form" name="form1" action="profiles/$profile_id" method="post" > -<input type='hidden' name='form_security_token' value='$form_security_token'> +<form id="profile-edit-form" name="form1" action="profiles/{{$profile_id}}" method="post" > +<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> <div id="profile-edit-profile-name-wrapper" > -<label id="profile-edit-profile-name-label" for="profile-edit-profile-name" >$lbl_profname </label> -<input type="text" size="32" name="profile_name" id="profile-edit-profile-name" value="$profile_name" /><div class="required">*</div> +<label id="profile-edit-profile-name-label" for="profile-edit-profile-name" >{{$lbl_profname}} </label> +<input type="text" size="32" name="profile_name" id="profile-edit-profile-name" value="{{$profile_name}}" /><div class="required">*</div> </div> <div id="profile-edit-profile-name-end"></div> <div id="profile-edit-name-wrapper" > -<label id="profile-edit-name-label" for="profile-edit-name" >$lbl_fullname </label> -<input type="text" size="32" name="name" id="profile-edit-name" value="$name" /> +<label id="profile-edit-name-label" for="profile-edit-name" >{{$lbl_fullname}} </label> +<input type="text" size="32" name="name" id="profile-edit-name" value="{{$name}}" /> </div> <div id="profile-edit-name-end"></div> <div id="profile-edit-pdesc-wrapper" > -<label id="profile-edit-pdesc-label" for="profile-edit-pdesc" >$lbl_title </label> -<input type="text" size="32" name="pdesc" id="profile-edit-pdesc" value="$pdesc" /> +<label id="profile-edit-pdesc-label" for="profile-edit-pdesc" >{{$lbl_title}} </label> +<input type="text" size="32" name="pdesc" id="profile-edit-pdesc" value="{{$pdesc}}" /> </div> <div id="profile-edit-pdesc-end"></div> <div id="profile-edit-gender-wrapper" > -<label id="profile-edit-gender-label" for="gender-select" >$lbl_gender </label> -$gender +<label id="profile-edit-gender-label" for="gender-select" >{{$lbl_gender}} </label> +{{$gender}} </div> <div id="profile-edit-gender-end"></div> <div id="profile-edit-dob-wrapper" > -<label id="profile-edit-dob-label" for="dob-select" >$lbl_bd </label> +<label id="profile-edit-dob-label" for="dob-select" >{{$lbl_bd}} </label> <div id="profile-edit-dob" > -$dob $age +{{$dob}} {{$age}} </div> </div> <div id="profile-edit-dob-end"></div> -$hide_friends +{{$hide_friends}} <div class="profile-edit-submit-wrapper" > -<input type="submit" name="submit" class="profile-edit-submit-button" value="$submit" /> +<input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" /> </div> <div class="profile-edit-submit-end"></div> <div id="profile-edit-address-wrapper" > -<label id="profile-edit-address-label" for="profile-edit-address" >$lbl_address </label> -<input type="text" size="32" name="address" id="profile-edit-address" value="$address" /> +<label id="profile-edit-address-label" for="profile-edit-address" >{{$lbl_address}} </label> +<input type="text" size="32" name="address" id="profile-edit-address" value="{{$address}}" /> </div> <div id="profile-edit-address-end"></div> <div id="profile-edit-locality-wrapper" > -<label id="profile-edit-locality-label" for="profile-edit-locality" >$lbl_city </label> -<input type="text" size="32" name="locality" id="profile-edit-locality" value="$locality" /> +<label id="profile-edit-locality-label" for="profile-edit-locality" >{{$lbl_city}} </label> +<input type="text" size="32" name="locality" id="profile-edit-locality" value="{{$locality}}" /> </div> <div id="profile-edit-locality-end"></div> <div id="profile-edit-postal-code-wrapper" > -<label id="profile-edit-postal-code-label" for="profile-edit-postal-code" >$lbl_zip </label> -<input type="text" size="32" name="postal_code" id="profile-edit-postal-code" value="$postal_code" /> +<label id="profile-edit-postal-code-label" for="profile-edit-postal-code" >{{$lbl_zip}} </label> +<input type="text" size="32" name="postal_code" id="profile-edit-postal-code" value="{{$postal_code}}" /> </div> <div id="profile-edit-postal-code-end"></div> <div id="profile-edit-region-wrapper" > -<label id="profile-edit-region-label" for="profile-edit-region" >$lbl_region </label> -<input type="text" size="32" name="region" id="profile-edit-region" value="$region" /> +<label id="profile-edit-region-label" for="profile-edit-region" >{{$lbl_region}} </label> +<input type="text" size="32" name="region" id="profile-edit-region" value="{{$region}}" /> </div> <div id="profile-edit-region-end"></div> <div id="profile-edit-country-name-wrapper" > -<label id="profile-edit-country-name-label" for="profile-edit-country-name" >$lbl_country </label> -<input type="text" size="32" name="country_name" id="profile-edit-country-name" value="$country_name" /> +<label id="profile-edit-country-name-label" for="profile-edit-country-name" >{{$lbl_country}} </label> +<input type="text" size="32" name="country_name" id="profile-edit-country-name" value="{{$country_name}}" /> </div> <div id="profile-edit-country-name-end"></div> <div id="profile-edit-hometown-wrapper" > -<label id="profile-edit-hometown-label" for="profile-edit-hometown" >$lbl_hometown </label> -<input type="text" size="32" name="hometown" id="profile-edit-hometown" value="$hometown" /> +<label id="profile-edit-hometown-label" for="profile-edit-hometown" >{{$lbl_hometown}} </label> +<input type="text" size="32" name="hometown" id="profile-edit-hometown" value="{{$hometown}}" /> </div> <div id="profile-edit-hometown-end"></div> <div class="profile-edit-submit-wrapper" > -<input type="submit" name="submit" class="profile-edit-submit-button" value="$submit" /> +<input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" /> </div> <div class="profile-edit-submit-end"></div> <div id="profile-edit-marital-wrapper" > -<label id="profile-edit-marital-label" for="profile-edit-marital" >$lbl_marital </label> -$marital +<label id="profile-edit-marital-label" for="profile-edit-marital" >{{$lbl_marital}} </label> +{{$marital}} </div> -<label id="profile-edit-with-label" for="profile-edit-with" > $lbl_with </label> -<input type="text" size="32" name="with" id="profile-edit-with" title="$lbl_ex1" value="$with" /> -<label id="profile-edit-howlong-label" for="profile-edit-howlong" > $lbl_howlong </label> -<input type="text" size="32" name="howlong" id="profile-edit-howlong" title="$lbl_howlong" value="$howlong" /> +<label id="profile-edit-with-label" for="profile-edit-with" > {{$lbl_with}} </label> +<input type="text" size="32" name="with" id="profile-edit-with" title="{{$lbl_ex1}}" value="{{$with}}" /> +<label id="profile-edit-howlong-label" for="profile-edit-howlong" > {{$lbl_howlong}} </label> +<input type="text" size="32" name="howlong" id="profile-edit-howlong" title="{{$lbl_howlong}}" value="{{$howlong}}" /> <div id="profile-edit-marital-end"></div> <div id="profile-edit-sexual-wrapper" > -<label id="profile-edit-sexual-label" for="sexual-select" >$lbl_sexual </label> -$sexual +<label id="profile-edit-sexual-label" for="sexual-select" >{{$lbl_sexual}} </label> +{{$sexual}} </div> <div id="profile-edit-sexual-end"></div> <div id="profile-edit-homepage-wrapper" > -<label id="profile-edit-homepage-label" for="profile-edit-homepage" >$lbl_homepage </label> -<input type="text" size="32" name="homepage" id="profile-edit-homepage" value="$homepage" /> +<label id="profile-edit-homepage-label" for="profile-edit-homepage" >{{$lbl_homepage}} </label> +<input type="text" size="32" name="homepage" id="profile-edit-homepage" value="{{$homepage}}" /> </div> <div id="profile-edit-homepage-end"></div> <div id="profile-edit-politic-wrapper" > -<label id="profile-edit-politic-label" for="profile-edit-politic" >$lbl_politic </label> -<input type="text" size="32" name="politic" id="profile-edit-politic" value="$politic" /> +<label id="profile-edit-politic-label" for="profile-edit-politic" >{{$lbl_politic}} </label> +<input type="text" size="32" name="politic" id="profile-edit-politic" value="{{$politic}}" /> </div> <div id="profile-edit-politic-end"></div> <div id="profile-edit-religion-wrapper" > -<label id="profile-edit-religion-label" for="profile-edit-religion" >$lbl_religion </label> -<input type="text" size="32" name="religion" id="profile-edit-religion" value="$religion" /> +<label id="profile-edit-religion-label" for="profile-edit-religion" >{{$lbl_religion}} </label> +<input type="text" size="32" name="religion" id="profile-edit-religion" value="{{$religion}}" /> </div> <div id="profile-edit-religion-end"></div> <div id="profile-edit-pubkeywords-wrapper" > -<label id="profile-edit-pubkeywords-label" for="profile-edit-pubkeywords" >$lbl_pubkey </label> -<input type="text" size="32" name="keywords" id="profile-edit-pubkeywords" title="$lbl_ex2" value="$keywords" /> -</div><div id="profile-edit-pubkeywords-desc">$lbl_pubdsc</div> +<label id="profile-edit-pubkeywords-label" for="profile-edit-pubkeywords" >{{$lbl_pubkey}} </label> +<input type="text" size="32" name="keywords" id="profile-edit-pubkeywords" title="{{$lbl_ex2}}" value="{{$keywords}}" /> +</div><div id="profile-edit-pubkeywords-desc">{{$lbl_pubdsc}}</div> <div id="profile-edit-pubkeywords-end"></div> <div class="profile-edit-submit-wrapper" > -<input type="submit" name="submit" class="profile-edit-submit-button" value="$submit" /> +<input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" /> </div> <div class="profile-edit-submit-end"></div> <div id="about-jot-wrapper" > <p id="about-jot-desc" > -$lbl_about +{{$lbl_about}} </p> -<textarea rows="10" cols="72" id="profile-about-text" name="about" >$about</textarea> +<textarea rows="10" cols="72" id="profile-about-text" name="about" >{{$about}}</textarea> </div> <div id="about-jot-end"></div> @@ -165,10 +170,10 @@ $lbl_about <div id="interest-jot-wrapper" > <p id="interest-jot-desc" > -$lbl_hobbies +{{$lbl_hobbies}} </p> -<textarea rows="10" cols="72" id="interest-jot-text" name="interest" >$interest</textarea> +<textarea rows="10" cols="72" id="interest-jot-text" name="interest" >{{$interest}}</textarea> </div> <div id="interest-jot-end"></div> @@ -176,10 +181,10 @@ $lbl_hobbies <div id="likes-jot-wrapper" > <p id="likes-jot-desc" > -$lbl_likes +{{$lbl_likes}} </p> -<textarea rows="10" cols="72" id="likes-jot-text" name="likes" >$likes</textarea> +<textarea rows="10" cols="72" id="likes-jot-text" name="likes" >{{$likes}}</textarea> </div> <div id="likes-jot-end"></div> @@ -187,10 +192,10 @@ $lbl_likes <div id="dislikes-jot-wrapper" > <p id="dislikes-jot-desc" > -$lbl_dislikes +{{$lbl_dislikes}} </p> -<textarea rows="10" cols="72" id="dislikes-jot-text" name="dislikes" >$dislikes</textarea> +<textarea rows="10" cols="72" id="dislikes-jot-text" name="dislikes" >{{$dislikes}}</textarea> </div> <div id="dislikes-jot-end"></div> @@ -198,46 +203,46 @@ $lbl_dislikes <div id="contact-jot-wrapper" > <p id="contact-jot-desc" > -$lbl_social +{{$lbl_social}} </p> -<textarea rows="10" cols="72" id="contact-jot-text" name="contact" >$contact</textarea> +<textarea rows="10" cols="72" id="contact-jot-text" name="contact" >{{$contact}}</textarea> </div> <div id="contact-jot-end"></div> <div id="channels-jot-wrapper" > <p id="channels-jot-desc" > -$lbl_channels +{{$lbl_channels}} </p> -<textarea rows="10" cols="72" id="channels-jot-text" name="channels" >$channels</textarea> +<textarea rows="10" cols="72" id="channels-jot-text" name="channels" >{{$channels}}</textarea> </div> <div id="channels-jot-end"></div> <div class="profile-edit-submit-wrapper" > -<input type="submit" name="submit" class="profile-edit-submit-button" value="$submit" /> +<input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" /> </div> <div class="profile-edit-submit-end"></div> <div id="music-jot-wrapper" > <p id="music-jot-desc" > -$lbl_music +{{$lbl_music}} </p> -<textarea rows="10" cols="72" id="music-jot-text" name="music" >$music</textarea> +<textarea rows="10" cols="72" id="music-jot-text" name="music" >{{$music}}</textarea> </div> <div id="music-jot-end"></div> <div id="book-jot-wrapper" > <p id="book-jot-desc" > -$lbl_book +{{$lbl_book}} </p> -<textarea rows="10" cols="72" id="book-jot-text" name="book" >$book</textarea> +<textarea rows="10" cols="72" id="book-jot-text" name="book" >{{$book}}</textarea> </div> <div id="book-jot-end"></div> @@ -246,10 +251,10 @@ $lbl_book <div id="tv-jot-wrapper" > <p id="tv-jot-desc" > -$lbl_tv +{{$lbl_tv}} </p> -<textarea rows="10" cols="72" id="tv-jot-text" name="tv" >$tv</textarea> +<textarea rows="10" cols="72" id="tv-jot-text" name="tv" >{{$tv}}</textarea> </div> <div id="tv-jot-end"></div> @@ -258,27 +263,27 @@ $lbl_tv <div id="film-jot-wrapper" > <p id="film-jot-desc" > -$lbl_film +{{$lbl_film}} </p> -<textarea rows="10" cols="72" id="film-jot-text" name="film" >$film</textarea> +<textarea rows="10" cols="72" id="film-jot-text" name="film" >{{$film}}</textarea> </div> <div id="film-jot-end"></div> <div class="profile-edit-submit-wrapper" > -<input type="submit" name="submit" class="profile-edit-submit-button" value="$submit" /> +<input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" /> </div> <div class="profile-edit-submit-end"></div> <div id="romance-jot-wrapper" > <p id="romance-jot-desc" > -$lbl_love +{{$lbl_love}} </p> -<textarea rows="10" cols="72" id="romance-jot-text" name="romance" >$romance</textarea> +<textarea rows="10" cols="72" id="romance-jot-text" name="romance" >{{$romance}}</textarea> </div> <div id="romance-jot-end"></div> @@ -287,10 +292,10 @@ $lbl_love <div id="work-jot-wrapper" > <p id="work-jot-desc" > -$lbl_work +{{$lbl_work}} </p> -<textarea rows="10" cols="72" id="work-jot-text" name="work" >$work</textarea> +<textarea rows="10" cols="72" id="work-jot-text" name="work" >{{$work}}</textarea> </div> <div id="work-jot-end"></div> @@ -299,10 +304,10 @@ $lbl_work <div id="education-jot-wrapper" > <p id="education-jot-desc" > -$lbl_school +{{$lbl_school}} </p> -<textarea rows="10" cols="72" id="education-jot-text" name="education" >$education</textarea> +<textarea rows="10" cols="72" id="education-jot-text" name="education" >{{$education}}</textarea> </div> <div id="education-jot-end"></div> @@ -310,7 +315,7 @@ $lbl_school <div class="profile-edit-submit-wrapper" > -<input type="submit" name="submit" class="profile-edit-submit-button" value="$submit" /> +<input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" /> </div> <div class="profile-edit-submit-end"></div> |