From ca8085d3f50d977fc2c47c889c1b347d0c656119 Mon Sep 17 00:00:00 2001 From: chriskl Date: Fri, 30 May 2003 08:49:09 +0000 Subject: [PATCH] printVal run --- types.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/types.php b/types.php index 1560557b..b8e2247e 100644 --- a/types.php +++ b/types.php @@ -3,7 +3,7 @@ /** * Manage types in a database * - * $Id: types.php,v 1.6 2003/04/30 07:37:39 chriskl Exp $ + * $Id: types.php,v 1.7 2003/05/30 08:49:09 chriskl Exp $ */ // Include application functions @@ -20,7 +20,7 @@ global $data, $localData, $misc; global $PHP_SELF, $lang; - echo "

", htmlspecialchars($_REQUEST['database']), ": {$lang['strtypes']}: ", htmlspecialchars($_REQUEST['type']), ": {$lang['strproperties']}

\n"; + echo "

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

\n"; $misc->printMsg($msg); $typedata = &$localData->getType($_REQUEST['type']); @@ -29,17 +29,17 @@ $byval = $data->phpBool($typedata->f[$data->typFields['typbyval']]); echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "
{$lang['strname']}
", htmlspecialchars($typedata->f[$data->typFields['typname']]), "
", $misc->printVal($typedata->f[$data->typFields['typname']]), "
{$lang['strinputfn']}
", htmlspecialchars($typedata->f[$data->typFields['typin']]), "
", $misc->printVal($typedata->f[$data->typFields['typin']]), "
{$lang['stroutputfn']}
", htmlspecialchars($typedata->f[$data->typFields['typout']]), "
", $misc->printVal($typedata->f[$data->typFields['typout']]), "
{$lang['strlength']}
", htmlspecialchars($typedata->f[$data->typFields['typlen']]), "
", $misc->printVal($typedata->f[$data->typFields['typlen']]), "
{$lang['strpassbyval']}
", ($byval) ? $lang['stryes'] : $lang['strno'], "
{$lang['stralignment']}
", htmlspecialchars($typedata->f[$data->typFields['typalign']]), "
", $misc->printVal($typedata->f[$data->typFields['typalign']]), "
\n"; echo "

href}\">{$lang['strshowalltypes']}

\n"; } @@ -55,9 +55,9 @@ global $PHP_SELF, $lang; if ($confirm) { - echo "

", htmlspecialchars($_REQUEST['database']), ": {$lang['strtypes']}: ", htmlspecialchars($_REQUEST['type']), ": {$lang['strdrop']}

\n"; + echo "

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

\n"; - echo "

", sprintf($lang['strconfdroptype'], htmlspecialchars($_REQUEST['type'])), "

\n"; + echo "

", sprintf($lang['strconfdroptype'], $misc->printVal($_REQUEST['type'])), "

\n"; echo "
\n"; echo "\n"; @@ -101,7 +101,7 @@ $funcs = &$localData->getFunctions(true); $types = &$localData->getTypes(); - echo "

", htmlspecialchars($_REQUEST['database']), ": {$lang['strtypes']}: {$lang['strcreatetype']}

\n"; + echo "

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

\n"; $misc->printMsg($msg); echo "\n"; @@ -212,7 +212,7 @@ global $data, $localData, $misc, $database; global $PHP_SELF, $lang; - echo "

", htmlspecialchars($_REQUEST['database']), ": {$lang['strtypes']}

\n"; + echo "

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

\n"; $misc->printMsg($msg); $types = &$localData->getTypes(); @@ -223,8 +223,8 @@ $i = 0; while (!$types->EOF) { $id = (($i % 2) == 0 ? '1' : '2'); - echo "", htmlspecialchars($types->f[$data->typFields['typname']]), "\n"; - echo "", htmlspecialchars($types->f[$data->typFields['typowner']]), "\n"; + echo "", $misc->printVal($types->f[$data->typFields['typname']]), "\n"; + echo "", $misc->printVal($types->f[$data->typFields['typowner']]), "\n"; echo "href}&type=", urlencode($types->f[$data->typFields['typname']]), "\">{$lang['strproperties']}\n"; echo "href}&type=", urlencode($types->f[$data->typFields['typname']]), "\">{$lang['strdrop']}\n"; echo "\n"; -- 2.39.5