* [Planet] Planets can now be edited.
[pivip.git] / project / modules / planet / views / scripts / planet / main.phtml
blob4f7683484ee8bab1ef648fb4e54000fe76e2ea36
1 <div class="block">
2         <?= $this->action('feed', 'feed', 'planet', array('feed' => $this->feed));
3         if($this->allowEdit || $this->allowDelete): ?>
4         <sub class="options">
5                 <? if($this->allowEdit): ?>
6                 <a href="<?= $this->url($this->urlParams, 'Planet_EditPlanet'); ?>"
7                    title="<?= $this->translate('Edit this planet'); ?>"
8                 ><?= $this->translate('Edit'); ?></a>
9                 <? endif; if($this->allowDelete): ?>
10                 <a href="<?= $this->url($this->urlParams, 'Planet_DeletePlanet'); ?>"
11                    title="<?= $this->translate('Delete this planet'); ?>"
12                 ><?= $this->translate('Delete'); ?></a>
13                 <? endif; ?>
14         </sub>
15         <? endif; ?>
16 </div>