From 19d1af16ad8a2fdaa5aa608693b81fa9502e162d Mon Sep 17 00:00:00 2001
From: michael pereira
Date: Mon, 21 Mar 2011 10:49:32 +0100
Subject: Preboot Controller eingerichtet
---
.../modules/dev/views/scripts/bootiso/index.phtml | 21 +++++---
.../modules/dev/views/scripts/bootos/index.phtml | 2 +-
.../dev/views/scripts/preboot/createpreboot.phtml | 4 ++
.../dev/views/scripts/preboot/editpreboot.phtml | 4 ++
.../modules/dev/views/scripts/preboot/index.phtml | 57 ++++++++++++++++++++++
5 files changed, 80 insertions(+), 8 deletions(-)
create mode 100644 application/modules/dev/views/scripts/preboot/createpreboot.phtml
create mode 100644 application/modules/dev/views/scripts/preboot/editpreboot.phtml
create mode 100644 application/modules/dev/views/scripts/preboot/index.phtml
(limited to 'application/modules/dev/views/scripts')
diff --git a/application/modules/dev/views/scripts/bootiso/index.phtml b/application/modules/dev/views/scripts/bootiso/index.phtml
index 453f316..cb06be6 100644
--- a/application/modules/dev/views/scripts/bootiso/index.phtml
+++ b/application/modules/dev/views/scripts/bootiso/index.phtml
@@ -1,4 +1,4 @@
-
| escape($bootiso->getID()); ?> |
escape($bootiso->getTitle()); ?> |
escape($bootiso->getGroupID()); ?> |
escape($bootiso->getMembershipID()); ?> |
- escape($bootiso->getPath_fbgui()); ?> |
+ escape($bootiso->getPrebootID()) . "] " . $this->prebootlist[$bootiso->getID()]; ?> |
escape($bootiso->getSerialnumber()); ?> |
escape(date('Y-m-d H:i:s', $bootiso->getCreated())); ?> |
escape($bootiso->getExpires()); ?> |
escape($bootiso->getPublic()); ?> |
+  |
url(
array(
'module' => 'dev',
diff --git a/application/modules/dev/views/scripts/preboot/createpreboot.phtml b/application/modules/dev/views/scripts/preboot/createpreboot.phtml
new file mode 100644
index 0000000..19d1595
--- /dev/null
+++ b/application/modules/dev/views/scripts/preboot/createpreboot.phtml
@@ -0,0 +1,4 @@
+createprebootForm->setAction($this->url());
+echo $this->createprebootForm;
+?>
diff --git a/application/modules/dev/views/scripts/preboot/editpreboot.phtml b/application/modules/dev/views/scripts/preboot/editpreboot.phtml
new file mode 100644
index 0000000..a8f9c42
--- /dev/null
+++ b/application/modules/dev/views/scripts/preboot/editpreboot.phtml
@@ -0,0 +1,4 @@
+editprebootForm->setAction($this->url());
+echo $this->editprebootForm;
+?>
diff --git a/application/modules/dev/views/scripts/preboot/index.phtml b/application/modules/dev/views/scripts/preboot/index.phtml
new file mode 100644
index 0000000..eec8f1b
--- /dev/null
+++ b/application/modules/dev/views/scripts/preboot/index.phtml
@@ -0,0 +1,57 @@
+Preboot
+formButton('createpreboot', 'Create PreBoot', array(
+ 'onclick' => 'self.location="/dev/preboot/createpreboot"',
+ 'class' => 'addbutton'))?>
+
+
+
+ | ID |
+ Title |
+ GroupID |
+ MembershipID |
+ Preboot Path |
+ Actions |
+
+ prebootlist)==0)
+ echo " There are no Preboot entries to display." ?>
+ prebootlist as $preboot): ?>
+ |
+ | escape($preboot->getID()); ?> |
+ escape($preboot->getTitle()); ?> |
+ escape($preboot->getGroupID()); ?> |
+ escape($preboot->getMembershipID()); ?> |
+ escape($preboot->getPath_preboot()); ?> |
+ update[$preboot->getID()]==true): ?>
+  |
+
+  |
+
+  |
+  |
+
+
+
\ No newline at end of file
--
cgit v1.2.3-55-g7522