From fbb6cd3d248b9ff8c39235930bd4ff3485c256f0 Mon Sep 17 00:00:00 2001 From: Rasmus Fuhse <fuhse@data-quest.de> Date: Tue, 15 Nov 2016 09:45:56 +0100 Subject: [PATCH] re #70 --- views/presenting/details.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/views/presenting/details.php b/views/presenting/details.php index 9cc0656..eec084a 100755 --- a/views/presenting/details.php +++ b/views/presenting/details.php @@ -57,7 +57,7 @@ if ($image) { <? endif; ?> <? if ($use->isEditable()): ?> <a href="<?= PluginEngine::getLink($plugin, array(), "presenting/delete_usage/" . $use->id) ?>"> - <?= Assets::img('icons/blue/trash.svg'); ?> + <?= Icon::create('trash', "clickable")->asImg("20px"); ?> </a> <? endif; ?> </li> @@ -76,7 +76,7 @@ if ($image) { <? foreach ($tags as $key => $tag) : ?> <?= $key > 0 ? "," : "" ?> <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)) ?> </a> <? endforeach ?> @@ -128,7 +128,7 @@ if ($image) { <tr> <td> <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']) ?> </a> </td> @@ -140,15 +140,15 @@ if ($image) { <td class="actions"> <? if ($marketplugin->isWritable()) : ?> <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 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 l�schen?")."');")) ?> + <?= Icon::create("trash", "clickable")->asImg("20px", array('class' => "text-bottom", 'onclick' => "return window.confirm('"._("Pluginrelease wirklich unwiderrufbar l�schen?")."');")) ?> </a> <? endif ?> <? if ($GLOBALS['perm']->have_perm("autor")) : ?> <a href="<?= PluginEngine::getLink($plugin, array(), "presenting/follow_release/" . $release->getId()) ?>" title="<?= _("F�r 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> <? endif ?> </td> @@ -160,7 +160,7 @@ if ($image) { <tr> <td colspan="7"> <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> </td> </tr> -- GitLab