added interface of the new decoupled libraries concept gh-92

This commit is contained in:
2017-11-26 02:29:08 +02:00
parent 9760ac86a3
commit 82df61aa4a
174 changed files with 11626 additions and 1094 deletions

View File

@ -95,8 +95,14 @@ $edit = "index.php?option=com_componentbuilder&view=snippets&task=snippet.edit";
<td class="hidden-phone">
<?php echo $this->escape($item->heading); ?>
</td>
<td class="hidden-phone">
<?php echo $this->escape($item->library_name); ?>
<td class="nowrap">
<?php if ($this->user->authorise('library.edit', 'com_componentbuilder.library.' . (int)$item->library)): ?>
<div class="name">
<a href="index.php?option=com_componentbuilder&view=libraries&task=library.edit&id=<?php echo $item->library; ?>&ref=snippets"><?php echo $this->escape($item->library_name); ?></a>
</div>
<?php else: ?>
<div class="name"><?php echo $this->escape($item->library_name); ?></div>
<?php endif; ?>
</td>
<td class="center">
<?php if ($canDo->get('core.edit.state')) : ?>