diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-07-09 07:02:22 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-07-09 07:02:22 -0700 |
commit | d24038d5582bd7ae80a784b23f89df9114cd73e8 (patch) | |
tree | 13ac658466b3ff3e1284aed72310479f976f0e5d /view/profile_edit.tpl | |
parent | d733b39b2db3c92db1d9c28b9b07c74a9d23fa65 (diff) | |
download | volse-hubzilla-d24038d5582bd7ae80a784b23f89df9114cd73e8.tar.gz volse-hubzilla-d24038d5582bd7ae80a784b23f89df9114cd73e8.tar.bz2 volse-hubzilla-d24038d5582bd7ae80a784b23f89df9114cd73e8.zip |
country/state selector more or less working (arghhh)
Diffstat (limited to 'view/profile_edit.tpl')
-rw-r--r-- | view/profile_edit.tpl | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/view/profile_edit.tpl b/view/profile_edit.tpl index d895a6b48..687432f75 100644 --- a/view/profile_edit.tpl +++ b/view/profile_edit.tpl @@ -3,7 +3,7 @@ $default <div id="profile-edit-wrapper" > -<form id="profile-edit-form" action="profiles/$profile_id" method="post" > +<form id="profile-edit-form" name="form1" action="profiles/$profile_id" method="post" > <div id="profile-edit-profile-name-wrapper" > <label id="profile-edit-profile-name-label" for="profile-edit-profile-name" >Profile Name: </label> @@ -36,11 +36,6 @@ $gender </div> <div id="profile-edit-locality-end"></div> -<div id="profile-edit-region-wrapper" > -<label id="profile-edit-region-label" for="profile-edit-region" >Region/State: </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-postal-code-wrapper" > <label id="profile-edit-postal-code-label" for="profile-edit-postal-code" >Postal/Zip Code: </label> @@ -49,11 +44,26 @@ $gender <div id="profile-edit-postal-code-end"></div> <div id="profile-edit-country-name-wrapper" > +<input type="hidden" name="txtSelectedCountry" value="" > + <label id="profile-edit-country-name-label" for="profile-edit-country-name" >Country: </label> -<input type="text size="32" name="country_name" id="profile-edit-country-name" value="$country_name" /> +<select name="country_name" id="profile-edit-country-name" onChange="Fill_States('$region');"> +<option selected="selected" >$country_name</option> +<option>temp</option> +</select> </div> <div id="profile-edit-country-name-end"></div> +<div id="profile-edit-region-wrapper" > +<input type="hidden" name="txtSelectedState" value="" > +<label id="profile-edit-region-label" for="profile-edit-region" >Region/State: </label> +<select name="region" id="profile-edit-region" onChange="Update_Globals();" > +<option selected="selected" >$region</option> +<option>temp</option> +</select> +</div> +<div id="profile-edit-region-end"></div> + <div id="profile-edit-marital-wrapper" > <label id="profile-edit-marital-label" for="profile-edit-marital" >Marital Status: </label> @@ -88,4 +98,5 @@ Tell us about yourself. </form> -</div>
\ No newline at end of file +</div> +<script type="text/javascript">Fill_Country('$country_name');Fill_States('$region');</script>
\ No newline at end of file |