2014-03-04 15:44:21 +01:00
< div class = "controls" >
2014-03-08 13:35:07 +01:00
<? = $this -> tabs ?>
2014-02-25 11:26:11 +01:00
< / div >
2013-08-16 16:24:12 +02:00
2014-03-11 17:13:42 +01:00
< div class = "content" data-base-target = "_next" >
2014-03-08 13:35:07 +01:00
<?php
if (isset($this->messageBox)) {
// TODO: Get rid of such boxes -> notifications?
echo $this->messageBox->render();
}
?>
2013-08-19 18:25:20 +02:00
2014-03-08 13:35:07 +01:00
< p >
< a href = " <? = $this -> href ( '/config/createAuthenticationBackend' , array ( 'type' => 'ldap' )) ?> " > <? = $this -> icon ( 'create.png' ); ?> Create A New LDAP Authentication Backend</ a >
< br / >
< a href = " <? = $this -> href ( '/config/createAuthenticationBackend' , array ( 'type' => 'db' )) ?> " > <? = $this -> icon ( 'create.png' ); ?> Create A New DB Authentication Backend</ a >
< / p >
2013-08-26 16:56:23 +02:00
2014-03-08 13:35:07 +01:00
< table class = "action" >
< thead >
< th > Resource< / th >
< th style = "width: 5em" > Remove< / th >
< th style = "width: 5em" > Order< / th >
< / thead >
< tbody >
<?php foreach ( $this -> backends as $backend ) : ?>
< tr >
< td class = "action" >
< a href = " <? = $this -> href ( 'config/editAuthenticationBackend' , array ( 'auth_backend' => $backend -> name )) ?> " >
<? = $this -> icon ( 'edit.png' ) ?> <? = $this -> escape ( $backend -> name ); ?>
< / a >
< / td >
< td >
< a href = " <? = $this -> href ( 'config/removeAuthenticationBackend' , array ( 'auth_backend' => $backend -> name )) ?> " >
<? = $this -> icon ( 'remove.png' , 'Remove' ) ?>
< / a >
< / td >
< td >
<? = $backend -> reorderForm ; ?>
< / td >
< / tr >
<?php endforeach ; ?>
< / table >
2014-02-25 11:26:11 +01:00
< / div >