icon('plus'); ?> translate('Create A New Resource'); ?> resources as $name => $value): ?>
translate('Resource'); ?> translate('Remove'); ?>
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( 'icon' => 'trash', 'title' => sprintf($this->translate('Remove resource %s'), $name) ) ); ?>