diff options
Diffstat (limited to 'app/Template/action')
-rw-r--r-- | app/Template/action/index.php | 2 | ||||
-rw-r--r-- | app/Template/action/params.php | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/app/Template/action/index.php b/app/Template/action/index.php index 6898fc26..bf2f7475 100644 --- a/app/Template/action/index.php +++ b/app/Template/action/index.php @@ -42,6 +42,8 @@ <?= $this->text->in($param['value'], $colors_list) ?> <?php elseif ($this->text->contains($param['name'], 'category_id')): ?> <?= $this->text->in($param['value'], $categories_list) ?> + <?php elseif ($this->text->contains($param['name'], 'link_id')): ?> + <?= $this->text->in($param['value'], $links_list) ?> <?php else: ?> <?= $this->e($param['value']) ?> <?php endif ?> diff --git a/app/Template/action/params.php b/app/Template/action/params.php index 759c5968..dcfaa9cc 100644 --- a/app/Template/action/params.php +++ b/app/Template/action/params.php @@ -28,6 +28,9 @@ <?php elseif ($this->text->contains($param_name, 'category_id')): ?> <?= $this->form->label($param_desc, $param_name) ?> <?= $this->form->select('params['.$param_name.']', $categories_list, $values) ?><br/> + <?php elseif ($this->text->contains($param_name, 'link_id')): ?> + <?= $this->form->label($param_desc, $param_name) ?> + <?= $this->form->select('params['.$param_name.']', $links_list, $values) ?><br/> <?php else: ?> <?= $this->form->label($param_desc, $param_name) ?> <?= $this->form->text('params['.$param_name.']', $values) ?> |