include_once $relPath . 'SortUtility.inc'; include_once $relPath . 'BrowseUtility.inc'; include_once 'menu.inc'; include_once 'search.inc'; require_login(); output_header(_('Authors')); echo_menu(); ?> <h1 align="center">Authors</h1> <?php $message = @$_GET['message']; if (isset($message)) { echo '<center>' . html_safe($message) . '</center><br />'; } $sortUtility = new SortUtility('authors_listing'); prepare_search(); echo_search_form(); ?> <h2 align="center"><?php echo get_search_title(); ?> </h2> <?php $can_edit = user_is_PM() || user_is_authors_db_manager(); $result = search(); $browseUtility = new BrowseUtility($result); // "Displaying entries x-y of z" echo '<p align="center">' . $browseUtility->getDisplayingString() . '</p>';
} if (toMove && !moveTo) { alert(_("You have selected one or more biographies for moving, but no author to move them to.")); return false; } else if (!toMove && moveTo) { alert(_("You have selected an author to move biographies to, but no biographies to move.")); return false; } return true; } // --></SCRIPT> <?php $sortUtility = new SortUtility('authors_manage'); prepare_search(); echo_search_form(); $sortby = $sortUtility->getQueryStringForCurrentView(); ?> <a name="results"></a><h2 align="center"><?php echo get_search_title(); ?> </h2> <form name="adminform" action="?<?php echo $query . $sortby; ?> " method="POST" onSubmit="return evaluateForm(this);">