/application/views/scripts/partials/_menu-item-row.phtml
Unknown | 23 lines | 23 code | 0 blank | 0 comment | 0 complexity | 9fe2eb81073399d324b10834b4b21465 MD5 | raw file
Possible License(s): AGPL-1.0
1<?php
2 if ($this->page_id > 0)
3 {
4 $page = new Melobit_Content_Item_Page($this->page_id);
5 $pageName = $page->name;
6 }
7 else
8 {
9 $pageName = null;
10 }
11?>
12<tr>
13 <td class="links">
14 <a href="/menu-item/update/id/<?php echo $this->id; ?>">Update</a> |
15 <a href="/menu-item/move/direction/down/id/<?php echo $this->id; ?>">Move down</a> |
16 <a href="/menu-item/move/direction/up/id/<?php echo $this->id; ?>">Move up</a> |
17 <a href="/menu-item/delete/id/<?php echo $this->id; ?>"
18 onclick="return confirm('Are you sure to delete?')">Delete</a>
19 </td>
20 <td><?php echo $this->label; ?></td>
21 <td><?php echo $pageName; ?></td>
22 <td><?php echo $this->link; ?></td>
23</tr>