'Path', 'name' => 'path', 'type' => 'text', 'default' => str_replace('\\', '/', dirname(__FILE__)) . '/data', 'size' => '50' ); $__boards = listBoards(); $__default_boards = Array(); foreach($__boards as $__board) $__default_boards[] = $__board['uri']; $theme['config'][] = Array( 'title' => 'Boards', 'name' => 'boards', 'type' => 'text', 'comment' => '(boards to graph; space seperated)', 'size' => 24, 'default' => implode(' ', $__default_boards) ); // Unique function name for building everything $theme['build_function'] = 'rrdtool_build'; ?>