/application/views/scripts/partials/_menu-item-row.phtml
https://bitbucket.org/hamidrezas/melobit · Unknown · 23 lines · 23 code · 0 blank · 0 comment · 0 complexity · 9fe2eb81073399d324b10834b4b21465 MD5 · raw file
- <?php
- if ($this->page_id > 0)
- {
- $page = new Melobit_Content_Item_Page($this->page_id);
- $pageName = $page->name;
- }
- else
- {
- $pageName = null;
- }
- ?>
- <tr>
- <td class="links">
- <a href="/menu-item/update/id/<?php echo $this->id; ?>">Update</a> |
- <a href="/menu-item/move/direction/down/id/<?php echo $this->id; ?>">Move down</a> |
- <a href="/menu-item/move/direction/up/id/<?php echo $this->id; ?>">Move up</a> |
- <a href="/menu-item/delete/id/<?php echo $this->id; ?>"
- onclick="return confirm('Are you sure to delete?')">Delete</a>
- </td>
- <td><?php echo $this->label; ?></td>
- <td><?php echo $pageName; ?></td>
- <td><?php echo $this->link; ?></td>
- </tr>