summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/config
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/scripts/config')
-rw-r--r--application/views/scripts/config/createconfig.phtml2
-rw-r--r--application/views/scripts/config/editconfig.phtml2
-rw-r--r--application/views/scripts/config/index.phtml38
3 files changed, 14 insertions, 28 deletions
diff --git a/application/views/scripts/config/createconfig.phtml b/application/views/scripts/config/createconfig.phtml
index 4b30490..5b92915 100644
--- a/application/views/scripts/config/createconfig.phtml
+++ b/application/views/scripts/config/createconfig.phtml
@@ -1 +1 @@
-<br /><br /><center>View script for controller <b>config</b> and script/action name <b>createconfig</b></center> \ No newline at end of file
+<br /><br /><center>View script for controller <b>Config</b> and script/action name <b>createconfig</b></center> \ No newline at end of file
diff --git a/application/views/scripts/config/editconfig.phtml b/application/views/scripts/config/editconfig.phtml
index c1c0d06..0e002b7 100644
--- a/application/views/scripts/config/editconfig.phtml
+++ b/application/views/scripts/config/editconfig.phtml
@@ -1 +1 @@
-<br /><br /><center>View script for controller <b>config</b> and script/action name <b>editconfig</b></center> \ No newline at end of file
+<br /><br /><center>View script for controller <b>Config</b> and script/action name <b>editconfig</b></center> \ No newline at end of file
diff --git a/application/views/scripts/config/index.phtml b/application/views/scripts/config/index.phtml
index d404906..a91cb9c 100644
--- a/application/views/scripts/config/index.phtml
+++ b/application/views/scripts/config/index.phtml
@@ -4,40 +4,26 @@
<th>ID</th>
<th>Title</th>
<th>GroupID</th>
- <th>ConfigID</th>
- <th>Init</th>
- <th>Kernel</th>
- <th>Kcl</th>
- <th>Description</th>
- <th>Changed</th>
- <th>Expires</th>
- <th>Public</th>
+ <th>Shellscript</th>
</tr>
- <?php foreach ($this->bootoslist as $bootos): ?>
+ <?php foreach ($this->configlist as $config): ?>
<tr>
- <td><?php echo $this->escape($bootos->getID()); ?></td>
- <td><?php echo $this->escape($bootos->getTitle()); ?></td>
- <td><?php echo $this->escape($bootos->getGroupID()); ?></td>
- <td><?php echo $this->escape($bootos->getConfigID()); ?></td>
- <td><?php echo $this->escape($bootos->getPath_init()); ?></td>
- <td><?php echo $this->escape($bootos->getPath_kernel()); ?></td>
- <td><?php echo $this->escape($bootos->getDefaultkcl()); ?></td>
- <td><?php echo $this->escape($bootos->getDescription()); ?></td>
- <td><?php echo $this->escape(date('Y-m-d H:i:s', $bootos->getCreated())); ?></td>
- <td><?php echo $this->escape($bootos->getExpires()); ?></td>
- <td><?php echo $this->escape($bootos->getPublic()); ?></td>
+ <td><?php echo $this->escape($config->getID()); ?></td>
+ <td><?php echo $this->escape($config->getTitle()); ?></td>
+ <td><?php echo $this->escape($config->getGroupID()); ?></td>
+ <td><?php echo $this->escape($config->getShellscript()); ?></td>
<td><a href="<?php echo $this->url(
array(
- 'controller' => 'bootos',
- 'action' => 'editbootos',
- 'bootosID' => $bootos->getID()
+ 'controller' => 'config',
+ 'action' => 'editconfig',
+ 'configID' => $config->getID()
),
'default',
- true, false) ?>">Edit BootOS</a></td>
+ true, false) ?>">Edit Config</a></td>
<td><a href="<?php echo $this->url(
array(
- 'controller' => 'bootos',
- 'action' => 'deletebootos',
+ 'controller' => 'config',
+ 'action' => 'deleteconfig',
'bootosID' => $bootos->getID()
),
'default',