diff options
author | redmatrix <git@macgirvin.com> | 2016-05-01 19:19:17 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-05-01 19:19:17 -0700 |
commit | cd518625bf561f1ed42db0b78030b74c32435136 (patch) | |
tree | a0894903507417997833d6766d7ba6a1ffd23a30 /view | |
parent | 84d93cca6e2ac0b552a6f5c570fbcfce766200a1 (diff) | |
download | volse-hubzilla-cd518625bf561f1ed42db0b78030b74c32435136.tar.gz volse-hubzilla-cd518625bf561f1ed42db0b78030b74c32435136.tar.bz2 volse-hubzilla-cd518625bf561f1ed42db0b78030b74c32435136.zip |
some much needed work on oembed security
Diffstat (limited to 'view')
-rwxr-xr-x | view/tpl/admin_security.tpl | 12 | ||||
-rw-r--r-- | view/tpl/zcard_embed.tpl | 8 |
2 files changed, 20 insertions, 0 deletions
diff --git a/view/tpl/admin_security.tpl b/view/tpl/admin_security.tpl index 3823d8235..39f389e54 100755 --- a/view/tpl/admin_security.tpl +++ b/view/tpl/admin_security.tpl @@ -15,6 +15,18 @@ {{include file="field_textarea.tpl" field=$whitelisted_channels}} {{include file="field_textarea.tpl" field=$blacklisted_channels}} + {{if $embedhelp1}} + <div class="section-content-info-wrapper">{{$embedhelp1}}</div> + {{/if}} + + <div style="margin-left: 15px; margin-bottom: 10px;"> + <div class="descriptive-text">{{$embedhelp2}}</div> + <div style="margin-left: 15px;"> + <div class="descriptive-text">{{$embedhelp3}}</div> + </div> + <div class="descriptive-text">{{$embedhelp4}}</div> + </div> + {{include file="field_textarea.tpl" field=$embed_allow}} {{include file="field_textarea.tpl" field=$embed_deny}} diff --git a/view/tpl/zcard_embed.tpl b/view/tpl/zcard_embed.tpl new file mode 100644 index 000000000..7981e3b0b --- /dev/null +++ b/view/tpl/zcard_embed.tpl @@ -0,0 +1,8 @@ +<div class="hz_card {{$size}}"> + <div class="hz_cover_photo" style="max-width: 100;"><img src="{{$cover.href}}" alt="{{$zcard.chan.xchan_name}}" /> + <div style="position: relative;top: -40px;left: 120px;color: #fff;font-size: 18px;text-rendering: optimizelegibility;text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);" >{{$zcard.chan.xchan_name}}</div> + <div style="position: relative;top: -40px;left: 120px;color: #fff;font-size: 10px;text-rendering: optimizelegibility;text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);" >{{$zcard.chan.channel_addr}}</div> + </div> + <div style="position:relative;top: -75px;left: 20px;background-color: white;border: 1px solid #ddd;padding: 3px;width: 80px;height: 80px;"><img src="{{$pphoto.href}}" alt="{{$zcard.chan.xchan_name}}" /></div> +</div> + |