From fd938c7d01b58c0e6b0216f8c0f21518993a3e90 Mon Sep 17 00:00:00 2001
From: chriskl
Date: Sun, 20 Apr 2003 09:45:39 +0000
Subject: [PATCH] XHTML police
---
tblproperties.php | 73 ++++++++++++++++++++++-------------------------
1 file changed, 34 insertions(+), 39 deletions(-)
diff --git a/tblproperties.php b/tblproperties.php
index c3f551d3..96893ab8 100644
--- a/tblproperties.php
+++ b/tblproperties.php
@@ -3,7 +3,7 @@
/**
* List tables in a database
*
- * $Id: tblproperties.php,v 1.12 2003/03/26 01:27:17 chriskl Exp $
+ * $Id: tblproperties.php,v 1.13 2003/04/20 09:45:39 chriskl Exp $
*/
// Include application functions
@@ -22,26 +22,21 @@
echo "
\n";
echo "\n";
}
@@ -78,7 +73,7 @@
echo "| {$lang['strfield']} | {$lang['strtype']} | {$lang['strlength']} |
";
echo "| _maxNameLen}\" value=\"",
- htmlspecialchars($_POST['field']), "\"> | ";
+ htmlspecialchars($_POST['field']), "\" />";
echo " | \n";
echo " |
";
+ htmlspecialchars($_POST['length']), "\" />";
echo "\n";
- echo "\n";
- echo "\n";
+ echo "\n";
+ echo "\n";
echo $misc->form;
echo "\n";
- echo "
\n";
+ echo "
\n";
echo "\n";
break;
@@ -145,7 +140,7 @@
// Output table header
echo "\n";
- echo "\n";
- echo "\n";
+ echo "\n";
+ echo "\n";
echo $misc->form;
- echo "\n";
- echo "\n";
- echo "\n";
- echo " \n";
+ echo "\n";
+ echo "\n";
+ echo "\n";
+ echo " \n";
echo "\n";
break;
@@ -215,11 +210,11 @@
echo "\n";
}
else {
@@ -247,18 +242,18 @@
if ($attrs->recordCount() > 0) {
echo "\n";
- echo "| {$lang['strfield']} | {$lang['strtype']} | {$lang['strnotnull']} | {$lang['strdefault']} | {$lang['stractions']} | \n";
+ echo "
|---|
| {$lang['strfield']} | {$lang['strtype']} | {$lang['strnotnull']} | {$lang['strdefault']} | {$lang['stractions']} | \n";
$i = 0;
while (!$attrs->EOF) {
$attrs->f['attnotnull'] = $localData->phpBool($attrs->f['attnotnull']);
$id = (($i % 2) == 0 ? '1' : '2');
- echo "
|---|
| ", htmlspecialchars($attrs->f['attname']), " | \n";
- echo "", htmlspecialchars($attrs->f['type']), " | \n";
- echo "", ($attrs->f['attnotnull'] ? 'NOT NULL' : ''), " | \n";
- echo "", htmlspecialchars($attrs->f['adsrc']), " | \n";
- echo "href}&table=", urlencode($_REQUEST['table']),
+ echo "| ", htmlspecialchars($attrs->f['attname']), " | \n";
+ echo "", htmlspecialchars($attrs->f['type']), " | \n";
+ echo "", ($attrs->f['attnotnull'] ? 'NOT NULL' : ''), " | \n";
+ echo "", htmlspecialchars($attrs->f['adsrc']), " | \n";
+ echo "href}&table=", urlencode($_REQUEST['table']),
"&column=", urlencode($attrs->f['attname']), "&action=properties\">{$lang['strproperties']} | \n";
- echo "href}&table=", urlencode($_REQUEST['table']),
+ echo " | href}&table=", urlencode($_REQUEST['table']),
"&column=", urlencode($attrs->f['attname']), "&action=confirm_drop\">{$lang['strdrop']} | \n";
echo " \n";
$attrs->moveNext();
--
2.39.5
|