.info ; $Id$ name = Form tables description = Adds a built-in theming function for the FORMS API. .module '. t("Displays a list of chapters from a given textfile book (siddhartha)"). '
'; break; } return $output; } // function library_help /** * Valid permissions for this module * @return array An array of valid permissions for library module */ function library_perm() { return array('access library content'); } // function library_perm() /** * Generate HTML for the library block * @param op the operation from the URL * @param delta offset * @returns block HTML */ function library_block($op='list', $delta=0) { // listing of blocks, such as on the admin/block page if ($op == "list") { $block[0]["info"] = t('Library'); return $block; } } // end library_block function library_all() { /** $page_content variable that will be returned for display **/ /** check to see if there was any content before **/ /** setting up the block **/ $page_content = ''; $arr_content = drupal_library_extract_chapters('siddhartha.txt'); for each $arr_content as $chapter: $page_content .= ('