aboutsummaryrefslogtreecommitdiffstats
path: root/view/de/jot-header.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/de/jot-header.tpl')
-rw-r--r--view/de/jot-header.tpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/view/de/jot-header.tpl b/view/de/jot-header.tpl
index 25d28c3a7..62fbe84e4 100644
--- a/view/de/jot-header.tpl
+++ b/view/de/jot-header.tpl
@@ -104,6 +104,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("Wo bist du im Moment?", $('#jot-location').val());
if(reply && reply.length) {