summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/bootmenu
diff options
context:
space:
mode:
authorSimon2011-03-14 16:20:25 +0100
committerSimon2011-03-14 16:20:25 +0100
commit722ac9facf183998fb02e14bf035306672419aa6 (patch)
tree142486bec18e259f9678de6c7ce75cfdbe1d5bf4 /application/views/scripts/bootmenu
parentZweiter push um die änderungen hinzuzufügen, Trennung der Ansichten (diff)
downloadpbs2-722ac9facf183998fb02e14bf035306672419aa6.tar.gz
pbs2-722ac9facf183998fb02e14bf035306672419aa6.tar.xz
pbs2-722ac9facf183998fb02e14bf035306672419aa6.zip
die verschobenen ansichten löschen
Diffstat (limited to 'application/views/scripts/bootmenu')
-rw-r--r--application/views/scripts/bootmenu/addbootmenuentry.phtml4
-rw-r--r--application/views/scripts/bootmenu/createbootmenu.phtml4
-rw-r--r--application/views/scripts/bootmenu/editbootmenu.phtml4
-rw-r--r--application/views/scripts/bootmenu/editbootmenuentry.phtml4
-rw-r--r--application/views/scripts/bootmenu/index.phtml119
5 files changed, 0 insertions, 135 deletions
diff --git a/application/views/scripts/bootmenu/addbootmenuentry.phtml b/application/views/scripts/bootmenu/addbootmenuentry.phtml
deleted file mode 100644
index 914cc9c..0000000
--- a/application/views/scripts/bootmenu/addbootmenuentry.phtml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-$this->addbootmenuentryForm->setAction($this->url());
-echo $this->addbootmenuentryForm;
-?> \ No newline at end of file
diff --git a/application/views/scripts/bootmenu/createbootmenu.phtml b/application/views/scripts/bootmenu/createbootmenu.phtml
deleted file mode 100644
index 2d2c2df..0000000
--- a/application/views/scripts/bootmenu/createbootmenu.phtml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-$this->createbootmenuForm->setAction($this->url());
-echo $this->createbootmenuForm;
-?>
diff --git a/application/views/scripts/bootmenu/editbootmenu.phtml b/application/views/scripts/bootmenu/editbootmenu.phtml
deleted file mode 100644
index b7adc4a..0000000
--- a/application/views/scripts/bootmenu/editbootmenu.phtml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-$this->editbootmenuForm->setAction($this->url());
-echo $this->editbootmenuForm;
-?>
diff --git a/application/views/scripts/bootmenu/editbootmenuentry.phtml b/application/views/scripts/bootmenu/editbootmenuentry.phtml
deleted file mode 100644
index 5680d65..0000000
--- a/application/views/scripts/bootmenu/editbootmenuentry.phtml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-$this->editbootmenuentryForm->setAction($this->url());
-echo $this->editbootmenuentryForm;
-?> \ No newline at end of file
diff --git a/application/views/scripts/bootmenu/index.phtml b/application/views/scripts/bootmenu/index.phtml
deleted file mode 100644
index fa722e4..0000000
--- a/application/views/scripts/bootmenu/index.phtml
+++ /dev/null
@@ -1,119 +0,0 @@
-<h1>BootMenu</h1>
-<?php echo $this->formButton('createbootmenu', 'Create BootMenu', array(
- 'onclick' => 'self.location="/bootmenu/createbootmenu"',
- 'class' => 'addbutton'))?>
-
-
-<table>
- <tr>
- <th>ID</th>
- <th>Title</th>
- <th>GroupID</th>
- <th>MembershipID</th>
- <th>Changed</th>
- <th colspan=3>Actions</th>
- </tr>
- <?php if(count($this->bootmenulist)==0)
- echo "</table> There are no BootMenus to display." ?>
- <?php foreach ($this->bootmenulist as $bootmenu): ?>
- <tr class=entry>
- <td><?php echo $this->escape($bootmenu->getID()); ?></td>
- <td><?php echo $this->escape($bootmenu->getTitle()); ?></td>
- <td><?php echo $this->escape($bootmenu->getGroupID()); ?></td>
- <td><?php echo $this->escape($bootmenu->getMembershipID()); ?></td>
- <td><?php echo $this->escape(date('Y-m-d H:i:s', $bootmenu->getCreated())); ?></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'bootmenu',
- 'action' => 'editbootmenu',
- 'bootmenuID' => $bootmenu->getID()
- ),
- 'default',
- true, false) ?>"><img src='/media/img/edit.png' alt='Edit Bootmenu'/></a></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'bootmenu',
- 'action' => 'deletebootmenu',
- 'bootmenuID' => $bootmenu->getID()
- ),
- 'default',
- true) ?>"><img src='/media/img/delete.png' alt='Delete Bootmenu'/></a></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'bootmenu',
- 'action' => 'addbootmenuentry',
- 'bootmenuID' => $bootmenu->getID(),
- 'maxorder' => count($this->bootmenuentrylist[$bootmenu->getID()])
- ),
- 'default',
- true) ?>"><img src='/media/img/add.png' alt='Add Entry'/></a></td>
- </tr>
-
-<?php if(count($this->bootmenuentrylist[$bootmenu->getID()]) > 0):?>
- <tr class=detail>
- <td class=arrowtop>↳</td>
- <td colspan=7>
- <table>
- <tr>
- <th></th>
- <th>ID</th>
- <th>Title</th>
-<!-- <th>BootmenuID</th>-->
- <th>BootOS</th>
- <th>kcl</th>
-
- <th>Config</th>
- <th>Position</th>
- <th colspan=2>Actions</th>
-
- </tr>
- <?php foreach ($this->bootmenuentrylist[$bootmenu->getID()] as $bootmenuentry): ?>
- <?php $bootos = $this->bootosmapper->find($bootmenuentry->getBootosID());?>
- <?php $config = $this->configmapper->find($bootmenuentry->getConfigID());?>
- <tr>
- <td class='action'>
- <a href='/resource/getbootmenuentry/bootmenuentryID/<?php echo $bootmenuentry->getID();?>'>
- <img src='/media/img/play.gif'>
- </a>
- </td>
- <td><?php echo $this->escape($bootmenuentry->getID()); ?></td>
- <td><?php echo $this->escape($bootmenuentry->getTitle()); ?></td>
- <!--<td><?php echo $this->escape($bootmenuentry->getBootmenuID()); ?></td>
- --><td><?php echo "[".$this->escape($bootmenuentry->getBootosID()."] ". $bootos->getTitle()); ?></td>
- <td><?php echo $this->escape($bootmenuentry->getkcl()); ?></td>
- <td><?php echo "[".$this->escape($bootmenuentry->getConfigID()."] ". $config->getTitle()); ?></td>
- <td><?php echo $this->escape($bootmenuentry->getOrder() + 1); ?></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'bootmenu',
- 'action' => 'editbootmenuentry',
- 'bootmenuentryID' => $bootmenuentry->getID(),
- 'bootmenuID' => $bootmenu->getID(),
- 'maxorder' => count($this->bootmenuentrylist[$bootmenu->getID()]),
- 'oldorder' => $bootmenuentry->getOrder()
- ),
- 'default',
- true, false) ?>"><img src='/media/img/edit.png' alt='Edit Entry'/></a></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'bootmenu',
- 'action' => 'removebootmenuentry',
- 'bootmenuentryID' => $bootmenuentry->getID()
- ),
- 'default',
- true) ?>"><img src='/media/img/delete.png' alt='Remove Entry'/></a></td>
- </tr>
- <?php endforeach; ?>
- </table>
- </td>
- </tr>
- <?php endif; ?>
- <?php endforeach; ?>
-</table>
-
-
-
-
-
-
-