aboutsummaryrefslogtreecommitdiffstats
path: root/view/fr/jot-header.tpl
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-16 21:14:22 -0700
committerFriendika <info@friendika.com>2011-03-16 21:14:22 -0700
commit334353e502db5abd7ee248d183a915ff7468de3a (patch)
treeadc4eb3646ca828223c38cc8251d5364b3dcb949 /view/fr/jot-header.tpl
parent9e1ca52e45263c38776bfa15f1ed2a9907b39597 (diff)
downloadvolse-hubzilla-334353e502db5abd7ee248d183a915ff7468de3a.tar.gz
volse-hubzilla-334353e502db5abd7ee248d183a915ff7468de3a.tar.bz2
volse-hubzilla-334353e502db5abd7ee248d183a915ff7468de3a.zip
vorbis audio/video link buttons
Diffstat (limited to 'view/fr/jot-header.tpl')
-rw-r--r--view/fr/jot-header.tpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/view/fr/jot-header.tpl b/view/fr/jot-header.tpl
index a4c5f42a4..b1b6dacf0 100644
--- a/view/fr/jot-header.tpl
+++ b/view/fr/jot-header.tpl
@@ -103,6 +103,20 @@ tinyMCE.init({
}
}
+ function jotVideoURL() {
+ reply = prompt("Please enter a video(.ogg) link/URL:");
+ if(reply && reply.length) {
+ tinyMCE.execCommand('mceInsertRawHTML',false,'[video]' + reply + '[/video]');
+ }
+ }
+
+ function jotAudioURL() {
+ reply = prompt("Please enter an audio(.ogg) link/URL:");
+ if(reply && reply.length) {
+ tinyMCE.execCommand('mceInsertRawHTML',false,'[audio]' + reply + '[/audio]');
+ }
+ }
+
function jotGetLocation() {
reply = prompt("Where are you right now?", $('#jot-location').val());
if(reply && reply.length) {