Skip to content
Snippets Groups Projects
Commit 649ecb1c authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

replace PluginEngine::getLink() with trails' own url_for() consistently in all...

replace PluginEngine::getLink() with trails' own url_for() consistently in all views + some other small touchups
parent 7c93954f
Branches
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<? foreach ($plugins as $marketplugin): ?> <? foreach ($plugins as $marketplugin): ?>
<tr> <tr>
<td> <td>
<a href="<?= PluginEngine::getLink($plugin, array(), "presenting/details/".$marketplugin->getId()) ?>"> <a href="<?= $controller->url_for('presenting/details/' . $marketplugin->getId()) ?>">
<?= htmlReady($marketplugin['name']) ?> <?= htmlReady($marketplugin['name']) ?>
</a> </a>
</td> </td>
...@@ -24,18 +24,20 @@ ...@@ -24,18 +24,20 @@
?> ?>
<?= date("j.n.Y, G:i", $chdate) ?> <?= _("Uhr") ?> <?= date("j.n.Y, G:i", $chdate) ?> <?= _("Uhr") ?>
</td> </td>
<td> <td class="actions">
<a href="<?= PluginEngine::getLink($plugin, array(), "approving/review/".$marketplugin->getId()) ?>" data-dialog> <a href="<?= $controller->url_for('approving/review/' . $marketplugin->getId()) ?>" data-dialog>
<?= Assets::img("icons/20/blue/assessment") ?> <?= Assets::img("icons/20/blue/assessment") ?>
</a> </a>
</td> </td>
</tr> </tr>
<? endforeach ?> <? endforeach; ?>
<? else: ?> <? else: ?>
<tr> <tr>
<td colspan="2" style="text-align: center;"><?= _("Keine Plugins warten auf eine Qualittssicherung") ?></td> <td colspan="2" style="text-align: center;">
<?= _("Keine Plugins warten auf eine Qualittssicherung") ?>
</td>
</tr> </tr>
<? endif ?> <? endif; ?>
</tbody> </tbody>
</table> </table>
......
<form action="<?= PluginEngine::getLink($plugin, array(), "approving/approve/".$marketplugin->getId()) ?>" method="post" class="studip_form"> <form action="<?= $controller->url_for('approving/approve/' . $marketplugin->getId()) ?>" method="post" class="studip_form">
<fieldset> <fieldset>
<legend> <legend>
<?= _("Review schreiben") ?> <?= _("Review schreiben") ?>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
version="<?= htmlReady(studip_utf8encode($release['version'])) ?>" version="<?= htmlReady(studip_utf8encode($release['version'])) ?>"
studipMinVersion="<?= htmlReady(studip_utf8encode($release['studip_min_version'])) ?>" studipMinVersion="<?= htmlReady(studip_utf8encode($release['studip_min_version'])) ?>"
studipMaxVersion="<?= htmlReady(studip_utf8encode($release['studip_min_version'])) ?>" studipMaxVersion="<?= htmlReady(studip_utf8encode($release['studip_min_version'])) ?>"
url="<?= htmlReady(studip_utf8encode($plugin->getStudipDomain().PluginEngine::getURL($plugin, array(), "presenting/download/".$release->getId()))) ?>" url="<?= htmlReady(studip_utf8encode($plugin->getStudipDomain().$controller->url_for('presenting/download/' . $release->getId()))) ?>"
/> />
<? endforeach ?> <? endforeach ?>
</plugin> </plugin>
......
<form action="<?= PluginEngine::getLink($plugin, array(), "myplugins/save") ?>" method="post" class="studip_form" enctype="multipart/form-data"> <form action="<?= $controller->url_for('myplugins/save') ?>" method="post" class="studip_form" enctype="multipart/form-data">
<input type="hidden" name="id" value="<?= $marketplugin->getId() ?>"> <input type="hidden" name="id" value="<?= $marketplugin->getId() ?>">
<fieldset> <fieldset>
<legend> <legend>
......
<form action="<?= PluginEngine::getLink($plugin, array(), "myplugins/save") ?>" method="post" enctype="multipart/form-data" class="studip_form"> <form action="<?= $controller->url_for('myplugins/save') ?>" method="post" enctype="multipart/form-data" class="studip_form">
<input type="hidden" name="id" value="<?= $marketplugin->getId() ?>"> <input type="hidden" name="id" value="<?= $marketplugin->getId() ?>">
<?= $this->render_partial("myplugins/_edit_images.php", compact("marketplugin")) ?> <?= $this->render_partial("myplugins/_edit_images.php", compact("marketplugin")) ?>
......
<form action="<?= PluginEngine::getLink($plugin, array(), "myplugins/save_release") ?>" method="post" class="studip_form" enctype="multipart/form-data"> <form action="<?= $controller->url_for('myplugins/save_release') ?>" method="post" class="studip_form" enctype="multipart/form-data">
<input type="hidden" name="id" value="<?= $release->getId() ?>"> <input type="hidden" name="id" value="<?= $release->getId() ?>">
<input type="hidden" name="plugin_id" value="<?= $marketplugin->getId() ?>"> <input type="hidden" name="plugin_id" value="<?= $marketplugin->getId() ?>">
<?= $this->render_partial("myplugins/_edit_release.php", array('release' => $release)) ?> <?= $this->render_partial("myplugins/_edit_release.php", array('release' => $release)) ?>
......
<table class="default"> <table class="default">
<thead> <thead>
<tr> <tr>
...@@ -15,8 +14,8 @@ ...@@ -15,8 +14,8 @@
<td> <td>
<? if ($marketplugin['publiclyvisible'] && !$marketplugin['approved']) : ?> <? if ($marketplugin['publiclyvisible'] && !$marketplugin['approved']) : ?>
<?= Assets::img("icons/20/red/exclaim-circle", array('title' => _("Plugin wurde noch nicht von einem Administrator freigeschaltet."), 'class' => "text-bottom")) ?> <?= Assets::img("icons/20/red/exclaim-circle", array('title' => _("Plugin wurde noch nicht von einem Administrator freigeschaltet."), 'class' => "text-bottom")) ?>
<? endif ?> <? endif; ?>
<a href="<?= PluginEngine::getLink($plugin, array(), "presenting/details/".$marketplugin->getId()) ?>"> <a href="<?= $controller->url_for('presenting/details/' . $marketplugin->getId()) ?>">
<?= htmlReady($marketplugin['name']) ?> <?= htmlReady($marketplugin['name']) ?>
</a> </a>
</td> </td>
...@@ -34,17 +33,23 @@ ...@@ -34,17 +33,23 @@
<?= Assets::img("icons/20/grey/lock-locked.png.png", array('title' => _("Plugin ist nicht ffentlich"))) ?> <?= Assets::img("icons/20/grey/lock-locked.png.png", array('title' => _("Plugin ist nicht ffentlich"))) ?>
<? endif ?> <? endif ?>
</td> </td>
<td> <td class="actions">
<a href="<?= PluginEngine::getLink($plugin, array(), "myplugins/edit/".$marketplugin->getId()) ?>" data-dialog title="<?= _("Plugin-Info bearbeiten") ?>"><?= Assets::img("icons/20/blue/edit") ?></a> <a href="<?= $controller->url_for('myplugins/edit/' . $marketplugin->getId()) ?>" data-dialog title="<?= _("Plugin-Info bearbeiten") ?>">
<a href="<?= PluginEngine::getLink($plugin, array(), "myplugins/add_release/".$marketplugin->getId()) ?>" data-dialog title="<?= _("Neues Release hinzufgen") ?>"><?= Assets::img("icons/20/blue/add") ?></a> <?= Assets::img('icons/20/blue/edit') ?>
</a>
<a href="<?= $controller->url_for('myplugins/add_release/' . $marketplugin->getId()) ?>" data-dialog title="<?= _("Neues Release hinzufgen") ?>">
<?= Assets::img("icons/20/blue/add") ?>
</a>
</td> </td>
</tr> </tr>
<? endforeach ?> <? endforeach; ?>
<? else: ?> <? else: ?>
<tr> <tr>
<td colspan="4" style="text-align: center;"><?= _("Sie haben noch kein Plugin eingestellt.") ?></td> <td colspan="4" style="text-align: center;">
<?= _("Sie haben noch kein Plugin eingestellt.") ?>
</td>
</tr> </tr>
<? endif ?> <? endif; ?>
</tbody> </tbody>
</table> </table>
...@@ -53,8 +58,7 @@ $sidebar = Sidebar::Get(); ...@@ -53,8 +58,7 @@ $sidebar = Sidebar::Get();
$sidebar->setImage(Assets::image_path("sidebar/plugin-sidebar.png")); $sidebar->setImage(Assets::image_path("sidebar/plugin-sidebar.png"));
$actions = new ActionsWidget(); $actions = new ActionsWidget();
$actions->addLink(_("Neues Plugin eintragen"), $actions->addLink(_("Neues Plugin eintragen"),
PluginEngine::getURL($plugin, array(), "myplugins/add"), $controller->url_for('myplugins/add'),
'icons/16/blue/add.png', 'icons/16/blue/add.png')->asDialog();
array('data-dialog' => 1));
$sidebar->addWidget($actions); $sidebar->addWidget($actions);
...@@ -29,7 +29,7 @@ if ($icon) { ...@@ -29,7 +29,7 @@ if ($icon) {
</div> </div>
<? endforeach ?> <? endforeach ?>
<? if ($marketplugin->isWritable()) : ?> <? if ($marketplugin->isWritable()) : ?>
<div><a href="<?= PluginEngine::getLink($plugin, array(), "myplugins/edit_images/".$marketplugin->getId()) ?>" data-dialog title="<?= _("Galerie bearbeiten / neue Bilder hinzufgen") ?>"><?= Assets::img("icons/20/blue/add") ?></a></div> <div><a href="<?= $controller->url_for('myplugins/edit_images/' . $marketplugin->getId()) ?>" data-dialog title="<?= _("Galerie bearbeiten / neue Bilder hinzufgen") ?>"><?= Assets::img("icons/20/blue/add") ?></a></div>
<? endif ?> <? endif ?>
</ol> </ol>
<? endif ?> <? endif ?>
...@@ -101,7 +101,7 @@ if ($icon) { ...@@ -101,7 +101,7 @@ if ($icon) {
<? foreach ($marketplugin->releases as $release) : ?> <? foreach ($marketplugin->releases as $release) : ?>
<tr> <tr>
<td> <td>
<a href="<?= PluginEngine::getLink($plugin, array(), "presenting/download/".$release->getId()) ?>" title="<?= _("Dieses Release runterladen") ?>"> <a href="<?= $controller->url_for('presenting/download/' . $release->getId()) ?>" title="<?= _("Dieses Release runterladen") ?>">
<?= Assets::img("icons/20/blue/download", array('class' => "text-bottom")) ?> <?= Assets::img("icons/20/blue/download", array('class' => "text-bottom")) ?>
<?= htmlReady($release['version']) ?> <?= htmlReady($release['version']) ?>
</a> </a>
...@@ -110,14 +110,14 @@ if ($icon) { ...@@ -110,14 +110,14 @@ if ($icon) {
<td><?= $release['studip_max_version'] ? htmlReady($release['studip_max_version']) : " - " ?></td> <td><?= $release['studip_max_version'] ? htmlReady($release['studip_max_version']) : " - " ?></td>
<td><?= htmlReady($release->getChecksum()) ?></td> <td><?= htmlReady($release->getChecksum()) ?></td>
<td><?= htmlReady($release['downloads']) ?></td> <td><?= htmlReady($release['downloads']) ?></td>
<td> <td class="actions">
<? if ($marketplugin->isWritable()) : ?> <? if ($marketplugin->isWritable()) : ?>
<a href="<?= PluginEngine::getLink($plugin, array(), "myplugins/edit_release/".$release->getId()) ?>" data-dialog> <a href="<?= $controller->url_for('myplugins/edit_release/' . $release->getId()) ?>" data-dialog>
<?= Assets::img("icons/20/blue/edit", array('class' => "text-bottom")) ?> <?= Assets::img("icons/20/blue/edit", array('class' => "text-bottom")) ?>
</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="<?= $controller->url_for('presenting/follow_release/' . $release->getId()) ?>" title="<?= _("Fr automatische Updates registrieren.") ?>" data-dialog>
<?= Assets::img("icons/20/blue/rss", array('class' => "text-bottom")) ?> <?= Assets::img("icons/20/blue/rss", array('class' => "text-bottom")) ?>
</a> </a>
<? endif ?> <? endif ?>
...@@ -129,7 +129,7 @@ if ($icon) { ...@@ -129,7 +129,7 @@ if ($icon) {
<tfoot> <tfoot>
<tr> <tr>
<td colspan="6"> <td colspan="6">
<a href="<?= PluginEngine::getLink($plugin, array(), "myplugins/add_release/".$marketplugin->getId()) ?>" data-dialog> <a href="<?= $controller->url_for('myplugins/add_release/' . $marketplugin->getId()) ?>" data-dialog>
<?= Assets::img("icons/20/blue/add") ?> <?= Assets::img("icons/20/blue/add") ?>
</a> </a>
</td> </td>
...@@ -203,7 +203,7 @@ if ($icon) { ...@@ -203,7 +203,7 @@ if ($icon) {
<div style="text-align: center;"> <div style="text-align: center;">
<? $score = $marketplugin->getRating() ?> <? $score = $marketplugin->getRating() ?>
<? if ($score === null) : ?> <? if ($score === null) : ?>
<a style="opacity: 0.3;" title="<?= $GLOBALS['perm']->have_perm("autor") ? _("Geben Sie die erste Bewertung ab.") : _("Noch keine bewertung abgegeben.") ?>" <?= ($GLOBALS['perm']->have_perm("autor") && !$marketplugin->isWritable()) ? 'href="'.PluginEngine::getLink($plugin, array(), "presenting/review/".$marketplugin->getId()).'" data-dialog' : "" ?>> <a style="opacity: 0.3;" title="<?= $GLOBALS['perm']->have_perm("autor") ? _("Geben Sie die erste Bewertung ab.") : _("Noch keine bewertung abgegeben.") ?>" <?= ($GLOBALS['perm']->have_perm("autor") && !$marketplugin->isWritable()) ? 'href="' . $controller->url_for('presenting/review/' . $marketplugin->getId()) . '" data-dialog' : "" ?>>
<?= Assets::img($plugin->getPluginURL()."/assets/star.svg", array('width' => "50px")) ?> <?= Assets::img($plugin->getPluginURL()."/assets/star.svg", array('width' => "50px")) ?>
<?= Assets::img($plugin->getPluginURL()."/assets/star.svg", array('width' => "50px")) ?> <?= Assets::img($plugin->getPluginURL()."/assets/star.svg", array('width' => "50px")) ?>
<?= Assets::img($plugin->getPluginURL()."/assets/star.svg", array('width' => "50px")) ?> <?= Assets::img($plugin->getPluginURL()."/assets/star.svg", array('width' => "50px")) ?>
...@@ -211,7 +211,7 @@ if ($icon) { ...@@ -211,7 +211,7 @@ if ($icon) {
<?= Assets::img($plugin->getPluginURL()."/assets/star.svg", array('width' => "50px")) ?> <?= Assets::img($plugin->getPluginURL()."/assets/star.svg", array('width' => "50px")) ?>
</a> </a>
<? else : ?> <? else : ?>
<a <?= ($GLOBALS['perm']->have_perm("autor") && !$marketplugin->isWritable()) ? 'href="'.PluginEngine::getLink($plugin, array(), "presenting/review/".$marketplugin->getId()).'" data-dialog' : "" ?> title="<?= sprintf(_("%s von 5 Sternen"), round($score / 2, 1)) ?>"> <a <?= ($GLOBALS['perm']->have_perm("autor") && !$marketplugin->isWritable()) ? 'href="' . $controller->url_for('presenting/review/' . $marketplugin->getId()) . '" data-dialog' : "" ?> title="<?= sprintf(_("%s von 5 Sternen"), round($score / 2, 1)) ?>">
<? $score = round($score, 1) / 2 ?> <? $score = round($score, 1) / 2 ?>
<? $v = $score >= 1 ? 3 : ($score >= 0.5 ? 2 : "") ?> <? $v = $score >= 1 ? 3 : ($score >= 0.5 ? 2 : "") ?>
<?= Assets::img($plugin->getPluginURL()."/assets/star$v.svg", array('width' => "50px")) ?> <?= Assets::img($plugin->getPluginURL()."/assets/star$v.svg", array('width' => "50px")) ?>
...@@ -260,11 +260,11 @@ if ($icon) { ...@@ -260,11 +260,11 @@ if ($icon) {
<div style="text-align: center"> <div style="text-align: center">
<? if ($marketplugin->isWritable()) : ?> <? if ($marketplugin->isWritable()) : ?>
<?= \Studip\LinkButton::create(_("bearbeiten"), PluginEngine::getURL($plugin, array(), "myplugins/edit/".$marketplugin->getId()), array('data-dialog' => 1)) ?> <?= \Studip\LinkButton::create(_("bearbeiten"), $controller->url_for('myplugins/edit/' . $marketplugin->getId()), array('data-dialog' => 1)) ?>
<?= \Studip\LinkButton::create(_("Release hinzufgen"), PluginEngine::getURL($plugin, array(), "myplugins/add_release/".$marketplugin->getId()), array('data-dialog' => 1)) ?> <?= \Studip\LinkButton::create(_("Release hinzufgen"), $controller->url_for('myplugins/add_release/' . $marketplugin->getId()), array('data-dialog' => 1)) ?>
<? endif ?> <? endif ?>
<? if ($marketplugin['user_id'] !== $GLOBALS['user']->id) : ?> <? if ($marketplugin['user_id'] !== $GLOBALS['user']->id) : ?>
<?= \Studip\LinkButton::create(_("Plugin abonnieren"), PluginEngine::getURL($plugin, array(), "presenting/register_for_pluginnews/".$marketplugin->getId()), array('title' => _("Neuigkeiten des Plugins per Nachricht bekommen."), 'data-dialog' => "1")) ?> <?= \Studip\LinkButton::create(_("Plugin abonnieren"), $controller->url_for('presenting/register_for_pluginnews/' . $marketplugin->getId()), array('title' => _("Neuigkeiten des Plugins per Nachricht bekommen."), 'data-dialog' => "1")) ?>
<? endif ?> <? endif ?>
<? if ($marketplugin->isRootable()) : ?> <? if ($marketplugin->isRootable()) : ?>
<form action="?" method="post" style="display: inline-block; margin: 0px;"> <form action="?" method="post" style="display: inline-block; margin: 0px;">
......
<? foreach (PageLayout::getMessages() as $message) : ?> <? foreach (PageLayout::getMessages() as $message) : ?>
<?= $message ?> <?= $message ?>
<? endforeach ?> <? endforeach ?>
<form action="<?= PluginEngine::getLink($plugin, array(), "presenting/follow_release/".$release->getId()) ?>" method="post" data-dialog class="studip_form"> <form action="<?= $controller->url_for('presenting/follow_release/' . $release->getId()) ?>" method="post" data-dialog class="studip_form">
<p class="info"> <p class="info">
<?= _("Immer aktuell bleiben mit automatischen Updates! Sie finden in Ihrem eigenen Stud.IP in der Pluginverwaltung rechts neben dem Plugin ein Icon, das Sie zu einem Popup führt. Geben Sie dort die unten stehende Download-URL ein und geben Sie hier die URL ein, die Sie danach dort in Ihrer Pluginverwaltung sehen. Sind beide Systeme korrekt konfiguriert, wird der Marktplatz dann eine jede neue Version dieses Releases automatisch in ihrem Stud.IP installieren.") ?> <?= _("Immer aktuell bleiben mit automatischen Updates! Sie finden in Ihrem eigenen Stud.IP in der Pluginverwaltung rechts neben dem Plugin ein Icon, das Sie zu einem Popup führt. Geben Sie dort die unten stehende Download-URL ein und geben Sie hier die URL ein, die Sie danach dort in Ihrer Pluginverwaltung sehen. Sind beide Systeme korrekt konfiguriert, wird der Marktplatz dann eine jede neue Version dieses Releases automatisch in ihrem Stud.IP installieren.") ?>
</p> </p>
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<legend><?= _("Konfigurieren Sie Ihr Stud.IP") ?></legend> <legend><?= _("Konfigurieren Sie Ihr Stud.IP") ?></legend>
<label> <label>
<?= _("Download-URL - geben Sie diese URL in Ihrem Stud.IP in der Pluginverwaltung ein") ?> <?= _("Download-URL - geben Sie diese URL in Ihrem Stud.IP in der Pluginverwaltung ein") ?>
<input type="text" readonly value="<?= $plugin->getStudipDomain().PluginEngine::getLink($plugin, array(), "presenting/download/".$release->getId()) ?>"> <input type="text" readonly value="<?= $plugin->getStudipDomain() . $controller->url_for('presenting/download/' . $release->getId()) ?>">
</label> </label>
</fieldset> </fieldset>
<fieldset> <fieldset>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<? foreach ($plugins as $marketplugin): ?> <? foreach ($plugins as $marketplugin): ?>
<tr> <tr>
<td data-sort="<?= htmlReady($marketplugin->name) ?>"> <td data-sort="<?= htmlReady($marketplugin->name) ?>">
<a href="<?= PluginEngine::getLink($plugin, array(), "presenting/details/" . $marketplugin->getId()) ?>"> <a href="<?= $controller->url_for('presenting/details/' . $marketplugin->getId()) ?>">
<?= htmlReady($marketplugin->name) ?> <?= htmlReady($marketplugin->name) ?>
</a> </a>
</td> </td>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<?= $message ?> <?= $message ?>
<? endforeach ?> <? endforeach ?>
<form action="<?= PluginEngine::getLink($plugin, array(), "presenting/register_for_pluginnews/".$marketplugin->getId()) ?>" method="post" class="studipform" data-dialog> <form action="<?= $controller->url_for('presenting/register_for_pluginnews/' . $marketplugin->getId()) ?>" method="post" class="studipform" data-dialog>
<?= MessageBox::info(sprintf(_("Durch das Abonnieren des Plugins %s erhalten Sie Stud.IP-Nachrichten, wenn neue Releases hochgeladen werden."), $marketplugin['name'])) ?> <?= MessageBox::info(sprintf(_("Durch das Abonnieren des Plugins %s erhalten Sie Stud.IP-Nachrichten, wenn neue Releases hochgeladen werden."), $marketplugin['name'])) ?>
<div style="text-align: center"> <div style="text-align: center">
<? if (MarketPluginFollower::findByUserAndPlugin($GLOBALS['user']->id, $marketplugin->getId())) : ?> <? if (MarketPluginFollower::findByUserAndPlugin($GLOBALS['user']->id, $marketplugin->getId())) : ?>
......
<form action="<?= PluginEngine::getLink($plugin, array(), "presenting/save_review/".$review['plugin_id']) ?>" method="post" class="studip_form"> <form action="<?= $controller->url_for('presenting/save_review/' . $review['plugin_id']) ?>" method="post" class="studip_form">
<fieldset> <fieldset>
<legend> <legend>
<?= _("Bewertung") ?> <?= _("Bewertung") ?>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<? foreach ($plugins as $marketplugin): ?> <? foreach ($plugins as $marketplugin): ?>
<tr> <tr>
<td> <td>
<a href="<?= PluginEngine::getLink($plugin, array(), "presenting/details/".$marketplugin->getId()) ?>"> <a href="<?= $controller->url_for('presenting/details/' . $marketplugin->getId()) ?>">
<?= htmlReady($marketplugin['name']) ?> <?= htmlReady($marketplugin['name']) ?>
</a> </a>
</td> </td>
...@@ -26,13 +26,13 @@ ...@@ -26,13 +26,13 @@
<div style="max-height: 20px; overflow: hidden;"> <div style="max-height: 20px; overflow: hidden;">
<? foreach ($marketplugin->getTags() as $key => $tag): ?> <? foreach ($marketplugin->getTags() as $key => $tag): ?>
<?= $key > 0 ? "," : "" ?> <?= $key > 0 ? "," : "" ?>
<a href="<?= URLHelper::getLink("plugins.php/pluginmarket/presenting/all", array('tag' => $tag)) ?>"> <a href="<?= $controller->url_for('presenting/all', compact('tag')) ?>">
<?= Assets::img("icons/16/blue/tag", array('class' => "text-bottom")) ?> <?= Assets::img("icons/16/blue/tag", array('class' => "text-bottom")) ?>
<?= htmlReady(ucwords($tag)) ?> <?= htmlReady(ucwords($tag)) ?>
</a> </a>
<? endforeach ?> <? endforeach; ?>
</div> </div>
</td> </td>
</tr> </tr>
<? endforeach ?> <? endforeach; ?>
</table> </table>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment