store default location
This commit is contained in:
parent
709c86b2da
commit
024f2019e6
7 changed files with 27 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue