diff --git a/application/views/scripts/config/resource.phtml b/application/views/scripts/config/resource.phtml index d3036ef70..9a1cfdd04 100644 --- a/application/views/scripts/config/resource.phtml +++ b/application/views/scripts/config/resource.phtml @@ -1,73 +1,76 @@
-
+
qlink( $this->translate('Create A New Resource') , 'config/createresource', null, array( - 'class' => 'button action-link', - 'icon' => 'plus', - 'title' => $this->translate('Create a new resource') + 'class' => 'button-link', + 'data-base-target' => '_next', + 'icon' => 'plus', + 'title' => $this->translate('Create a new resource') ) ) ?> - - +
+ + - - - resources as $name => $value): ?> - - - - - - + + + +resources as $name => $value): ?> + + + + + +
translate('Resource') ?>
- type) { - case 'db': - $icon = 'database'; - break; - case 'ldap': - $icon = 'sitemap'; - break; - case 'livestatus': - $icon = 'flash'; - break; - case 'ssh': - $icon = 'user'; - break; - case 'file': - case 'ini': - $icon = 'doc-text'; - break; - default: - $icon = 'edit'; - break; - } - ?> - qlink( - $name, - 'config/editresource', - array('resource' => $name), - array( - 'icon' => $icon, - 'title' => sprintf($this->translate('Edit resource %s'), $name) - ) - ) ?> - - qlink( - '', - 'config/removeresource', - array('resource' => $name), - array( - 'class' => 'action-link', - 'icon' => 'cancel', - 'title' => sprintf($this->translate('Remove resource %s'), $name) - ) - ) ?> -
+ type) { + case 'db': + $icon = 'database'; + break; + case 'ldap': + $icon = 'sitemap'; + break; + case 'livestatus': + $icon = 'flash'; + break; + case 'ssh': + $icon = 'user'; + break; + case 'file': + case 'ini': + $icon = 'doc-text'; + break; + default: + $icon = 'edit'; + break; + } + ?> + qlink( + $name, + 'config/editresource', + array('resource' => $name), + array( + 'icon' => $icon, + 'title' => sprintf($this->translate('Edit resource %s'), $name) + ) + ) ?> + + qlink( + '', + 'config/removeresource', + array('resource' => $name), + array( + 'class' => 'action-link', + 'icon' => 'cancel', + 'title' => sprintf($this->translate('Remove resource %s'), $name) + ) + ) ?> +