summaryrefslogblamecommitdiffstats
path: root/application/views/scripts/config/index.phtml
blob: ea6c381f86c7f1897d8a60f368f3cec8a5155c0c (plain) (tree)
1
2
3
4
5
6
7
8
9





                    
                        
       
                                                  
      



                                                                    

                                              


                                                                                 

                                                  
                                                                             

                                              

                                                                               
                                                                                 

                                                  
                                                                        



                      

                                                                                                               




        
<h1>Config</h1>
<table border=1>
  <tr>
    <th>ID</th>
    <th>Title</th>
    <th>GroupID</th>
    <th>Shellscript</th>
  </tr>
  <?php foreach ($this->configlist as $config): ?>
  <tr>
    <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' => 'config',
						'action'     => 'editconfig',
						'configID'   =>  $config->getID()
					),
					'default',
					true, false) ?>">Edit Config</a></td>
	<td><a href="<?php echo $this->url(
					array(
						'controller' => 'config',
						'action'     => 'deleteconfig',
						'configID'   =>  $config->getID()
					),
					'default',
					true) ?>">Delete Config</a></td>
  </tr>
  <?php endforeach; ?>
</table>
<br/>
<?php echo $this->formButton('createconfig', 'Create Config', array(
							'onclick' => 'self.location="/config/createconfig"'))?>