1
0
Fork 0

store default location

This commit is contained in:
Mike Macgirvin 2010-08-21 16:31:46 -07:00
commit 024f2019e6
7 changed files with 27 additions and 6 deletions

View file

@ -81,7 +81,7 @@ tinyMCE.init({
}
function jotGetLocation() {
reply = prompt("Where are you right now?");
reply = prompt("Where are you right now?", $('#jot-location').val());
if(reply && reply.length) {
$('#jot-location').val(reply);
}

View file

@ -9,7 +9,7 @@
<input type="hidden" name="type" value="wall" />
<input type="hidden" name="profile_uid" value="$profile_uid" />
<input type="hidden" name="return" value="$return_path" />
<input type="hidden" name="location" id="jot-location" value="" />
<input type="hidden" name="location" id="jot-location" value="$defloc" />
<textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" ></textarea>

View file

@ -25,6 +25,13 @@ $zoneselect
</div>
<div id="settings-timezone-end" ></div>
<div id="settings-defloc-wrapper" >
<label id="settings-defloc-label" for="settings-defloc" >Default Post Location: </label>
<input type="text" name="defloc" id="settings-defloc" value="$defloc" />
</div>
<div id="settings-defloc-end" ></div>
<div id="settings-theme-select">
<label id="settings-theme-label" for="theme-select" >Display Theme: </label>
$theme

View file

@ -282,7 +282,8 @@ input#dfrn-url {
#settings-username-end,
#settings-email-end,
#settings-nick-end,
#settings-nick-end,
#settings-defloc-end,
#settings-timezone-end,
#settings-theme-end,
#settings-password-end,
@ -298,7 +299,8 @@ input#dfrn-url {
#settings-username-label,
#settings-email-label,
#settings-nick-label,
#settings-nick-label,
#settings-defloc-label,
#settings-timezone-label,
#settings-theme-label,
#settings-password-label,
@ -315,6 +317,7 @@ input#dfrn-url {
#settings-username,
#settings-email,
#settings-nick,
#settings-defloc,
#timezone-select,
#theme-select,
#settings-password,
@ -328,7 +331,12 @@ input#dfrn-url {
margin-bottom: 20px;
}
#settings-theme-label {
#settings-theme-label,
#settings-defloc-label {
margin-top: 20px;
}
#settings-defloc {
margin-top: 20px;
}