array( array( 'id' => 'crosswordview', 'title' => 'Crossword View', 'group' => 'crossword', 'roles' => array('authenticated'), 'valid' => array() ), array( 'id' => 'crosswordedit', 'title' => 'Crossword Edit', 'group' => 'crossword', 'roles' => array('authenticated'), 'valid' => array() ), array( 'id' => 'crosswordanswer', 'title' => 'Crossword Answer', 'group' => '', 'roles' => array('authenticated'), 'valid' => array() ), ) ) ); register_types(array( 'pluginid' => 'crossword', 'file' => 'CrosswordViews', 'title' => 'Crossword', 'icon' => 'plugins/crossword/crossword.gif', 'icon_method' => NULL, 'view' => 'crosswordview', 'answer' => 'crosswordanswer', 'edit' => 'crosswordedit', 'task' => 1, 'type' => 'crossword' ) ); register_actions('crossword', array( 'CrosswordViews' => array( array( 'id' => 'save_crossword', 'roles' => array('authenticated'), 'valid' => array() ), array( 'id' => 'answer_crossword', 'roles' => array('authenticated'), 'valid' => array() ), ) ) ); register_menus(array( array( 'title' => 'View', 'group' => 'crossword', 'page' => 'crosswordview', 'menu' => 'leftmenu', 'roles' => array('authenticated'), 'valid' => array() ), array( 'title' => 'Edit', 'group' => 'crossword', 'page' => 'crosswordedit', 'menu' => 'leftmenu', 'roles' => array('authenticated'), 'valid' => array() ), array( 'title' => 'Answer', 'group' => 'crossword', 'page' => 'crosswordanswer', 'menu' => 'leftmenu', 'roles' => array('authenticated'), 'valid' => array() ) ) );*/ ?>