'$utubeurl' => t('Please enter a YouTube link:'),
'$vidurl' => t("Please enter a video\x28.ogg\x29 link/URL:"),
'$audurl' => t("Please enter an audio\x28.ogg\x29 link/URL:"),
- '$whereareu' => t('Where are you right now?')
+ '$whereareu' => t('Where are you right now?'),
+ '$title' => t('Enter a title for this item')
));
'$audio' => t('Insert Vorbis [.ogg] audio'),
'$setloc' => t('Set your location'),
'$noloc' => t('Clear browser location'),
+ '$title' => t('Set title'),
'$wait' => t('Please wait'),
'$permset' => t('Permission settings'),
'$content' => '',
'$utubeurl' => t('Please enter a YouTube link:'),
'$vidurl' => t("Please enter a video\x28.ogg\x29 link/URL:"),
'$audurl' => t("Please enter an audio\x28.ogg\x29 link/URL:"),
- '$whereareu' => t('Where are you right now?')
+ '$whereareu' => t('Where are you right now?'),
+ '$title' => t('Enter a title for this item')
));
require_once('include/acl_selectors.php');
'$audio' => t('Insert Vorbis [.ogg] audio'),
'$setloc' => t('Set your location'),
'$noloc' => t('Clear browser location'),
+ '$title' => t('Set title'),
'$wait' => t('Please wait'),
'$permset' => t('Permission settings'),
'$content' => '',
}
}
+ function jotTitle() {
+ reply = prompt("$title", $('#jot-title').val());
+ if(reply && reply.length) {
+ $('#jot-title').val(reply);
+ }
+ }
+
function jotShare(id) {
$('#like-rotator-' + id).show();
$.get('share/' + id, function(data) {
<input type="hidden" name="return" value="$return_path" />
<input type="hidden" name="location" id="jot-location" value="$defloc" />
<input type="hidden" name="coord" id="jot-coord" value="" />
+ <input type="hidden" name="title" id="jot-title" value="" />
<input type="hidden" name="post_id" value="$post_id" />
<textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" >$content</textarea>
<div id="profile-nolocation-wrapper" style="display: none;" >
<img id="profile-nolocation" src="images/noglobe.gif" alt="$noloc" title="$noloc" onclick="jotClearLocation();" />
</div>
+ <div id="profile-title-wrapper" style="display: $visitor;" >
+ <img id="profile-title" src="images/article.gif" alt="$title" title="$title" onclick="jotTitle();" />
+ </div>
+
<div id="profile-jot-plugin-wrapper">
$jotplugins
</div>
#profile-youtube,
#profile-video,
#profile-audio,
-#profile-link,
+#profile-link,
+#profile-title,
#wall-image-upload,
#profile-upload-wrapper,
#wall-image-upload-div,
}
#profile-upload-wrapper {
float: left;
- margin-left: 50px;
+ margin-left: 30px;
}
#profile-rotator {
float: left;
- margin-left: 50px;
+ margin-left: 30px;
}
#profile-link-wrapper {
float: left;
- margin-left: 20px;
+ margin-left: 15px;
}
#profile-youtube-wrapper {
float: left;
- margin-left: 20px;
+ margin-left: 15px;
}
#profile-video-wrapper {
float: left;
- margin-left: 20px;
+ margin-left: 15px;
}
#profile-audio-wrapper {
float: left;
- margin-left: 20px;
+ margin-left: 15px;
}
#profile-location-wrapper {
float: left;
- margin-left: 20px;
+ margin-left: 15px;
}
#profile-nolocation-wrapper {
float: left;
- margin-left: 20px;
+ margin-left: 15px;
+}
+#profile-title-wrapper {
+ float: left;
+ margin-left: 15px;
}
#profile-jot-perms {
float: left;
- margin-left: 150px;
+ margin-left: 100px;
font-weight: bold;
font-size: 1.2em;
}
.tool-wrapper {
float: left;
- margin-left: 20px;
+ margin-left: 15px;
}
.tool-link {
#profile-youtube,
#profile-video,
#profile-audio,
-#profile-link,
+#profile-link,
+#profile-title,
#wall-image-upload,
#profile-upload-wrapper,
#wall-image-upload-div,
}
#profile-upload-wrapper {
float: left;
- margin-left: 50px;
+ margin-left: 30px;
}
#profile-rotator {
float: left;
- margin-left: 50px;
+ margin-left: 30px;
}
#profile-link-wrapper {
float: left;
- margin-left: 20px;
+ margin-left: 15px;
}
#profile-youtube-wrapper {
float: left;
- margin-left: 20px;
+ margin-left: 15px;
}
#profile-video-wrapper {
float: left;
- margin-left: 20px;
+ margin-left: 15px;
}
#profile-audio-wrapper {
float: left;
- margin-left: 20px;
+ margin-left: 15px;
}
#profile-location-wrapper {
float: left;
- margin-left: 20px;
+ margin-left: 15px;
}
#profile-nolocation-wrapper {
float: left;
- margin-left: 20px;
+ margin-left: 15px;
+}
+
+#profile-title-wrapper {
+ float: left;
+ margin-left: 15px;
}
#profile-jot-perms {
float: left;
- margin-left: 150px;
+ margin-left: 100px;
font-weight: bold;
font-size: 1.2em;
}
.tool-wrapper {
float: left;
- margin-left: 20px;
+ margin-left: 15px;
}
.tool-link {
cursor: pointer;