diff options
author | friendica <info@friendica.com> | 2013-11-11 20:20:31 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-11-11 20:20:31 -0800 |
commit | 34ee8de82176d3dca4a340388dcac6a3e5a91b9f (patch) | |
tree | 75e2243e868634ab3d21da21213413d94efbb88d | |
parent | cdcc68a168f352d88520a62101b9fd9ef8f6ea2c (diff) | |
download | volse-hubzilla-34ee8de82176d3dca4a340388dcac6a3e5a91b9f.tar.gz volse-hubzilla-34ee8de82176d3dca4a340388dcac6a3e5a91b9f.tar.bz2 volse-hubzilla-34ee8de82176d3dca4a340388dcac6a3e5a91b9f.zip |
basic linking of audio/video tags in encrypted bbcode
-rwxr-xr-x | view/tpl/jot-header.tpl | 3 |
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(/\[\&\;([#a-z0-9]+)\;\]/gi,'&$1;'); |