aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-11 20:20:31 -0800
committerfriendica <info@friendica.com>2013-11-11 20:20:31 -0800
commit34ee8de82176d3dca4a340388dcac6a3e5a91b9f (patch)
tree75e2243e868634ab3d21da21213413d94efbb88d
parentcdcc68a168f352d88520a62101b9fd9ef8f6ea2c (diff)
downloadvolse-hubzilla-34ee8de82176d3dca4a340388dcac6a3e5a91b9f.tar.gz
volse-hubzilla-34ee8de82176d3dca4a340388dcac6a3e5a91b9f.tar.bz2
volse-hubzilla-34ee8de82176d3dca4a340388dcac6a3e5a91b9f.zip
basic linking of audio/video tags in encrypted bbcode
-rwxr-xr-xview/tpl/jot-header.tpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl
index ce29443f7..c3e020619 100755
--- a/view/tpl/jot-header.tpl
+++ b/view/tpl/jot-header.tpl
@@ -405,7 +405,8 @@ function enableOnUser(){
rep(/\[code\](.*?)\[\/code\]/gi,"<code>$1</code>");
rep(/\[quote.*?\](.*?)\[\/quote\]/gi,"<blockquote>$1</blockquote>");
-
+ rep(/\[video\](.*?)\[\/video\]/gi,"<a href=\"$1\">$1</a>");
+ rep(/\[audio\](.*?)\[\/audio\]/gi,"<a href=\"$1\">$1</a>");
rep(/\[\&amp\;([#a-z0-9]+)\;\]/gi,'&$1;');