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

fixes #82

parent 9d3fc6ea
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,6 @@ class PluginMarket extends StudIPPlugin implements SystemPlugin, HomepagePlugin ...@@ -56,7 +56,6 @@ class PluginMarket extends StudIPPlugin implements SystemPlugin, HomepagePlugin
public function initialize() public function initialize()
{ {
PageLayout::addSqueezePackage('lightbox');
$this->addStylesheet('assets/pluginmarket.less'); $this->addStylesheet('assets/pluginmarket.less');
PageLayout::addHeadElement('link', array( PageLayout::addHeadElement('link', array(
'rel' => 'alternate', 'rel' => 'alternate',
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
<form class="default" method="post" action="<?= $controller->url_for('presenting/propose_usage/' . $plugin->id) ?>"> <form class="default" method="post" action="<?= $controller->url_for('presenting/propose_usage/' . $plugin->id) ?>">
<fieldset> <fieldset>
<?= CSRFProtection::tokenTag(); ?> <?= CSRFProtection::tokenTag(); ?>
<legend><?= sprintf(_('Pluginnutzung mitteilen fr %s'), htmlReady($plugin->name)) ?></legend> <legend><?= sprintf(_('Pluginnutzung mitteilen für %s'), htmlReady($plugin->name)) ?></legend>
<h3><?= _('Eingetragene Standorte') ?></h3> <h3><?= _('Eingetragene Standorte') ?></h3>
<p class="plugin-usages"><?= join(', ', $plugin->uses->pluck('name')) ?></p> <p class="plugin-usages"><?= join(', ', $plugin->uses->pluck('name')) ?></p>
<input type="hidden" name="plugin_id" value="<?= $plugin->id ?>"> <input type="hidden" name="plugin_id" value="<?= $plugin->id ?>">
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</label> </label>
<?= Studip\Button::create(_('Eintragen'), 'propose'); ?> <?= Studip\Button::create(_('Eintragen'), 'propose'); ?>
<? if ($most_used): ?> <? if ($most_used): ?>
<h3><?= _('Vorschlge') ?></h3> <h3><?= _('Vorschläge') ?></h3>
<p class="usage-proposes"> <p class="usage-proposes">
<? foreach ($most_used as $used): ?> <? foreach ($most_used as $used): ?>
<a class="usage-proposal" href="<?= $controller->url_for('presenting/propose_usage/' . $plugin->id, array('usage' => $used)) ?>"> <a class="usage-proposal" href="<?= $controller->url_for('presenting/propose_usage/' . $plugin->id, array('usage' => $used)) ?>">
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment