31
HTML & templates / Re: How can I implement thing on image attached?
« on: March 16, 2021, 09:02:57 PM »
the section [file=folder=link|private] containt the division of column name
use the totality of this text as a starting point to put in the diff template properties , instead of what you put there previously
use the totality of this text as a starting point to put in the diff template properties , instead of what you put there previously
Quote
[file=folder=link|private]
<div class='item item-type-%item-type% {.if|{.get|can access.}||cannot-access.} {.if|{.get|can archive item.}|can-archive.}'>
<div class="item-link">
<a href="%item-url%">
<img src="%item-icon%" />
%item-name%
</a>
{.if|{.=|%item-type%|folder.}|{:[<a href="http://example.site/view-2.php?name={.encode html|%item-name%.}"> Info </a>]:}.}
</div>
<div class='item-props'>
<span class="item-ts"><i class='fa fa-clock-o'></i></span>
[+file]
<span class="item-size"><i class='fa fa-download' title="{.!Download counter:.} %item-dl-count%"></i> %item-size%B</span>
[+file=folder=link]
{.if|{.get|is new.}|<i class='fa fa-star' title="{.!NEW.}"></i>.}
[+file=folder]
<button class='item-menu pure-button' title="More options"><i class="fa fa-bars"></i></button>
[+file=folder=link]
</div>
<div class='clearer'></div>
[+file=folder=link]
{.if| {.length|{.?search.}.} |{:{.123 if 2|<div class='item-folder'>{.!item folder.} |{.breadcrumbs|{:<a href="%bread-url%">%bread-name%/</a>:}|from={.count substring|/|%folder%.}/breadcrumbs.}|</div>.}:} .}
{.123 if 2|<div class='comment'><i class="fa fa-quote-left"></i><span class="comment-text">|{.commentNL|%item-comment%.}|</span></div>.}
</div>