aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-10 17:11:43 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-10 17:11:43 -0700
commit30a88a41e550207bd95ce2d3a073f8ddd4e4d087 (patch)
tree7ce0563b1a20c5f1216306d6159d84dfc745d91d /view
parentbdd1156cac0311f1444416b57133a7eb38c4faeb (diff)
downloadvolse-hubzilla-30a88a41e550207bd95ce2d3a073f8ddd4e4d087.tar.gz
volse-hubzilla-30a88a41e550207bd95ce2d3a073f8ddd4e4d087.tar.bz2
volse-hubzilla-30a88a41e550207bd95ce2d3a073f8ddd4e4d087.zip
remove hidden country/state vars
Diffstat (limited to 'view')
-rw-r--r--view/profile.php6
-rw-r--r--view/profile_edit.tpl3
2 files changed, 3 insertions, 6 deletions
diff --git a/view/profile.php b/view/profile.php
index 808e2dbaa..d1e53ad56 100644
--- a/view/profile.php
+++ b/view/profile.php
@@ -29,11 +29,11 @@
|| (strlen($profile['region']))
|| (strlen($profile['postal-code']))
|| (strlen($profile['country-name']))) { ?>
- <div class="location">Location:
+ <span class="location">Location:
<div class="adr">
<div class="street-address"><?php if(strlen($profile['address'])) echo $profile['address']; ?></div>
- <div class="city-state-zip"><span class="locality"><?php echo $profile['locality']; ?></span><?php if(strlen($profile['region'])) echo ', '; ?><span class="region"><?php echo $profile['region'] ?></span><?php if(strlen($profile['postal-code'])) { ?> <span class="postal-code"><?php echo $profile['postal-code']; ?></span><?php } ?></div>
- <div class="country-name"><?php echo $profile['country-name']; ?></div>
+ <span class="city-state-zip"><span class="locality"><?php echo $profile['locality']; ?></span><?php if(strlen($profile['locality'])) echo ', '; ?><span class="region"><?php echo $profile['region'] ?></span><?php if(strlen($profile['postal-code'])) { ?> <span class="postal-code"><?php echo $profile['postal-code']; ?></span><?php } ?></span>
+ <span class="country-name"><?php echo $profile['country-name']; ?></span>
</div>
</div>
diff --git a/view/profile_edit.tpl b/view/profile_edit.tpl
index a19347cf9..789da873c 100644
--- a/view/profile_edit.tpl
+++ b/view/profile_edit.tpl
@@ -58,8 +58,6 @@ $dob $age
<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>
<select name="country_name" id="profile-edit-country-name" onChange="Fill_States('$region');">
<option selected="selected" >$country_name</option>
@@ -69,7 +67,6 @@ $dob $age
<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>