8 changed files with 142 additions and 36 deletions
-
1CHANGELOG.md
-
85app/widgets/ContactActions/ContactActions.php
-
28app/widgets/ContactActions/_contactactions_drawer.tpl
-
26app/widgets/ContactActions/_contactactions_drawer_links.tpl
-
24app/widgets/ContactActions/_contactactions_drawer_pictures.tpl
-
8app/widgets/ContactActions/contactactions.js
-
4app/widgets/Publish/publish.css
-
2app/widgets/Publish/publish.tpl
@ -0,0 +1,26 @@ |
|||
<ul class="list thick"> |
|||
{loop="$links"} |
|||
{autoescape="off"} |
|||
{$resolved = $value->resolvedUrl->cache} |
|||
{if="$resolved"} |
|||
{$c->prepareEmbedUrl($resolved)} |
|||
{/if} |
|||
{/autoescape} |
|||
{/loop} |
|||
</ul> |
|||
|
|||
{if="$more"} |
|||
<ul class="list middle" onclick="ContactActions.moreLinks(this, '{$jid}', {$page + 1})"> |
|||
<hr /> |
|||
<li class="active"> |
|||
<span class="primary icon gray"> |
|||
<i class="material-icons">expand_more</i> |
|||
</span> |
|||
<div> |
|||
<p class="line normal center"> |
|||
{$c->__('button.more')} |
|||
</p> |
|||
</div> |
|||
</li> |
|||
</ul> |
|||
{/if} |
|||
@ -0,0 +1,24 @@ |
|||
<ul class="grid active"> |
|||
{loop="$pictures"} |
|||
<li style="background-image: url('{$value->file['uri']|protectPicture}')" |
|||
onclick="Preview_ajaxHttpShow('{$value->file['uri']}')"> |
|||
<i class="material-icons">visibility</i> |
|||
</li> |
|||
{/loop} |
|||
</ul> |
|||
|
|||
{if="$more"} |
|||
<ul class="list middle" onclick="ContactActions.morePictures(this, '{$jid}', {$page + 1})"> |
|||
<hr /> |
|||
<li class="active"> |
|||
<span class="primary icon gray"> |
|||
<i class="material-icons">expand_more</i> |
|||
</span> |
|||
<div> |
|||
<p class="line normal center"> |
|||
{$c->__('button.more')} |
|||
</p> |
|||
</div> |
|||
</li> |
|||
</ul> |
|||
{/if} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue