// along with Rogō. If not, see <http://www.gnu.org/licenses/>. /** * * @author Simon Wilkinson * @version 1.0 * @copyright Copyright (c) 2014 The University of Nottingham * @package */ require '../../include/sysadmin_auth.inc'; // Only let SysAdmin staff create links. require_once '../../classes/helputils.class.php'; $help_system = new OnlineHelp($userObject, $configObject, $string, $notice, 'staff', $language, $mysqli); if (isset($_POST['submit'])) { $title = $_POST['title']; $pageID = $_POST['pageid']; $articleid = $help_system->create_pointer($title, $pageID); $mysqli->close(); header("location: index.php?id={$articleid}"); exit; } else { $id = null; ?> <!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Rogō: <?php echo $string['help'] . ' ' . $configObject->get('cfg_install_type'); ?>