From 5cf7357c1add8b21a336348a4c4456588296347f Mon Sep 17 00:00:00 2001 From: slubek Date: Wed, 27 Aug 2003 22:55:04 +0000 Subject: [PATCH] Example of context help --- views.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/views.php b/views.php index 6104ba32..af0887ee 100644 --- a/views.php +++ b/views.php @@ -3,7 +3,7 @@ /** * Manage views in a database * - * $Id: views.php,v 1.18 2003/08/25 01:44:04 chriskl Exp $ + * $Id: views.php,v 1.19 2003/08/27 22:55:04 slubek Exp $ */ // Include application functions @@ -207,13 +207,15 @@ * Displays a screen where they can enter a new view */ function doCreate($msg = '') { - global $data, $localData, $misc; + global $data, $localData, $misc, $conf; global $PHP_SELF, $lang; if (!isset($_POST['formView'])) $_POST['formView'] = ''; if (!isset($_POST['formDefinition'])) $_POST['formDefinition'] = ''; echo "

", $misc->printVal($_REQUEST['database']), ": {$lang['strviews']}: {$lang['strcreateview']}

\n"; + + $misc->printHelp("/sql-createview.html#R2-SQL-CREATEVIEW-1"); $misc->printMsg($msg); echo "
\n"; @@ -222,7 +224,7 @@ echo "_maxNameLen}\" value=\"", htmlspecialchars($_POST['formView']), "\">\n"; echo "{$lang['strdefinition']}\n"; - echo "\n"; echo "\n"; echo "

\n"; @@ -254,10 +256,11 @@ * Show default list of views in the database */ function doDefault($msg = '') { - global $data, $localData, $misc; + global $data, $localData, $misc, $conf; global $PHP_SELF, $lang; echo "

", $misc->printVal($_REQUEST['database']), ": {$lang['strviews']}

\n"; + $misc->printHelp("/tutorial-views.html"); $misc->printMsg($msg); $views = &$localData->getViews(); -- 2.39.5