Skip to content
Snippets Groups Projects
Commit fbb6cd3d authored by Rasmus Fuhse's avatar Rasmus Fuhse
Browse files

re #70

parent d55dcaa8
No related branches found
No related tags found
No related merge requests found
...@@ -57,7 +57,7 @@ if ($image) { ...@@ -57,7 +57,7 @@ if ($image) {
<? endif; ?> <? endif; ?>
<? if ($use->isEditable()): ?> <? if ($use->isEditable()): ?>
<a href="<?= PluginEngine::getLink($plugin, array(), "presenting/delete_usage/" . $use->id) ?>"> <a href="<?= PluginEngine::getLink($plugin, array(), "presenting/delete_usage/" . $use->id) ?>">
<?= Assets::img('icons/blue/trash.svg'); ?> <?= Icon::create('trash', "clickable")->asImg("20px"); ?>
</a> </a>
<? endif; ?> <? endif; ?>
</li> </li>
...@@ -76,7 +76,7 @@ if ($image) { ...@@ -76,7 +76,7 @@ if ($image) {
<? foreach ($tags as $key => $tag) : ?> <? foreach ($tags as $key => $tag) : ?>
<?= $key > 0 ? "," : "" ?> <?= $key > 0 ? "," : "" ?>
<a href="<?= URLHelper::getLink("plugins.php/pluginmarket/presenting/all", array('tag' => $tag)) ?>"> <a href="<?= URLHelper::getLink("plugins.php/pluginmarket/presenting/all", array('tag' => $tag)) ?>">
<?= Assets::img("icons/16/blue/tag", array('class' => "text-bottom")) ?> <?= Icon::create("tag", "clickable")->asImg("20px", array('class' => "text-bottom")) ?>
<?= htmlReady(ucwords($tag)) ?> <?= htmlReady(ucwords($tag)) ?>
</a> </a>
<? endforeach ?> <? endforeach ?>
...@@ -128,7 +128,7 @@ if ($image) { ...@@ -128,7 +128,7 @@ if ($image) {
<tr> <tr>
<td> <td>
<a href="<?= PluginEngine::getLink($plugin, array(), "presenting/download/". $release->getId()) ?>" title="<?= _("Dieses Release runterladen") ?>"> <a href="<?= PluginEngine::getLink($plugin, array(), "presenting/download/". $release->getId()) ?>" title="<?= _("Dieses Release runterladen") ?>">
<?= Assets::img("icons/20/blue/download", array('class' => "text-bottom")) ?> <?= Icon::create("download", "clickable")->asImg("20px", array('class' => "text-bottom")) ?>
<?= htmlReady($release['version']) ?> <?= htmlReady($release['version']) ?>
</a> </a>
</td> </td>
...@@ -140,15 +140,15 @@ if ($image) { ...@@ -140,15 +140,15 @@ if ($image) {
<td class="actions"> <td class="actions">
<? if ($marketplugin->isWritable()) : ?> <? if ($marketplugin->isWritable()) : ?>
<a href="<?= PluginEngine::getLink($plugin, array(), "myplugins/edit_release/" . $release->getId()) ?>" data-dialog> <a href="<?= PluginEngine::getLink($plugin, array(), "myplugins/edit_release/" . $release->getId()) ?>" data-dialog>
<?= Assets::img("icons/20/blue/edit", array('class' => "text-bottom")) ?> <?= Icon::create("edit", "clickable")->asImg("20px", array('class' => "text-bottom")) ?>
</a> </a>
<a href="<?= PluginEngine::getLink($plugin, array(), "presenting/delete_release/" . $release->getId()) ?>"> <a href="<?= PluginEngine::getLink($plugin, array(), "presenting/delete_release/" . $release->getId()) ?>">
<?= Assets::img("icons/20/blue/trash", array('class' => "text-bottom", 'onclick' => "return window.confirm('"._("Pluginrelease wirklich unwiderrufbar lschen?")."');")) ?> <?= Icon::create("trash", "clickable")->asImg("20px", array('class' => "text-bottom", 'onclick' => "return window.confirm('"._("Pluginrelease wirklich unwiderrufbar lschen?")."');")) ?>
</a> </a>
<? endif ?> <? endif ?>
<? if ($GLOBALS['perm']->have_perm("autor")) : ?> <? if ($GLOBALS['perm']->have_perm("autor")) : ?>
<a href="<?= PluginEngine::getLink($plugin, array(), "presenting/follow_release/" . $release->getId()) ?>" title="<?= _("Fr automatische Updates registrieren.") ?>" data-dialog> <a href="<?= PluginEngine::getLink($plugin, array(), "presenting/follow_release/" . $release->getId()) ?>" title="<?= _("Fr automatische Updates registrieren.") ?>" data-dialog>
<?= Assets::img("icons/20/blue/rss", array('class' => "text-bottom")) ?> <?= Icon::create("rss", "clickable")->asImg("20px", array('class' => "text-bottom")) ?>
</a> </a>
<? endif ?> <? endif ?>
</td> </td>
...@@ -160,7 +160,7 @@ if ($image) { ...@@ -160,7 +160,7 @@ if ($image) {
<tr> <tr>
<td colspan="7"> <td colspan="7">
<a href="<?= PluginEngine::getLink($plugin, array(), "myplugins/add_release/" . $marketplugin->getId()) ?>" data-dialog> <a href="<?= PluginEngine::getLink($plugin, array(), "myplugins/add_release/" . $marketplugin->getId()) ?>" data-dialog>
<?= Assets::img("icons/20/blue/add") ?> <?= Icon::create("add", "clickable")->asImg("20px", array('class' => "text-bottom")) ?>
</a> </a>
</td> </td>
</tr> </tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment