/**
* Manage aggregates in a database
*
- * $Id: aggregates.php,v 1.15 2006/11/10 01:15:04 xzilla Exp $
+ * $Id: aggregates.php,v 1.16 2007/01/02 17:24:44 soranzo Exp $
*/
// Include application functions
echo "\t\t<td class=\"data\"><input name=\"sortop\" size=\"32\" maxlength=\"{$data->_maxNameLen}\" value=\"",
htmlspecialchars($_REQUEST['sortop']), "\" /></td>\n\t</tr>\n";
echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strcomment']}</th>\n";
- echo "\t\t<td><textarea name=\"aggrcomment\" rows=\"3\" cols=\"32\" wrap=\"virtual\">",
+ echo "\t\t<td><textarea name=\"aggrcomment\" rows=\"3\" cols=\"32\">",
htmlspecialchars($_REQUEST['aggrcomment']), "</textarea></td>\n\t</tr>\n";
echo "</table>\n";
echo "<td><input name=\"newaggrowner\" size=\"32\" maxlength=\"32\" value=\"", htmlspecialchars($aggrdata->f['usename']), "\" /></td>";
echo "<td><input name=\"newaggrschema\" size=\"32\" maxlength=\"32\" value=\"", htmlspecialchars($_REQUEST['schema']), "\" /></td>\n\t</tr>\n";
echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strcomment']}</th>\n";
- echo "\t\t<td><textarea name=\"newaggrcomment\" rows=\"3\" cols=\"32\" wrap=\"virtual\">",
+ echo "\t\t<td><textarea name=\"newaggrcomment\" rows=\"3\" cols=\"32\">",
htmlspecialchars($aggrdata->f['aggrcomment']), "</textarea></td>\n\t</tr>\n";
echo "</table>\n";
echo "<p><input type=\"hidden\" name=\"action\" value=\"save_alter\" />\n";
/**
* Manage databases within a server
*
- * $Id: all_db.php,v 1.45 2006/11/19 21:33:13 xzilla Exp $
+ * $Id: all_db.php,v 1.46 2007/01/02 17:24:44 soranzo Exp $
*/
// Include application functions
$comment = isset($rs->fields['description']) ? $rs->fields['description'] : '';
echo "<tr><th class=\"data left\">{$lang['strcomment']}</th>\n";
echo "<td class=\"data1\">";
- echo "<textarea rows=\"3\" cols=\"32\" name=\"dbcomment\" wrap=\"virtual\">",
+ echo "<textarea rows=\"3\" cols=\"32\" name=\"dbcomment\">",
htmlspecialchars($comment), "</textarea></td></tr>\n";
}
echo "</table>\n";
// Comments (if available)
if ($data->hasSharedComments()) {
echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strcomment']}</th>\n";
- echo "\t\t<td><textarea name=\"formComment\" rows=\"3\" cols=\"32\" wrap=\"virtual\">",
+ echo "\t\t<td><textarea name=\"formComment\" rows=\"3\" cols=\"32\">",
htmlspecialchars($_POST['formComment']), "</textarea></td>\n\t</tr>\n";
}
* A class that implements the DB interface for Postgres
* Note: This class uses ADODB and returns RecordSets.
*
- * $Id: Postgres.php,v 1.292 2006/11/19 21:33:13 xzilla Exp $
+ * $Id: Postgres.php,v 1.293 2007/01/02 17:24:44 soranzo Exp $
*/
// @@@ THOUGHT: What about inherits? ie. use of ONLY???
$n = substr_count($value, "\n");
$n = $n < 5 ? 5 : $n;
$n = $n > 20 ? 20 : $n;
- echo "<textarea name=\"", htmlspecialchars($name), "\" rows=\"{$n}\" cols=\"75\" wrap=\"virtual\"{$action_str}>\n";
+ echo "<textarea name=\"", htmlspecialchars($name), "\" rows=\"{$n}\" cols=\"75\"{$action_str}>\n";
echo htmlspecialchars($value);
echo "</textarea>\n";
break;
$n = substr_count($value, "\n");
$n = $n < 5 ? 5 : $n;
$n = $n > 20 ? 20 : $n;
- echo "<textarea name=\"", htmlspecialchars($name), "\" rows=\"{$n}\" cols=\"35\" wrap=\"virtual\"{$action_str}>\n";
+ echo "<textarea name=\"", htmlspecialchars($name), "\" rows=\"{$n}\" cols=\"35\"{$action_str}>\n";
echo htmlspecialchars($value);
echo "</textarea>\n";
break;
/**
* Manage functions in a database
*
- * $Id: functions.php,v 1.57 2006/12/31 16:21:26 soranzo Exp $
+ * $Id: functions.php,v 1.58 2007/01/02 17:24:44 soranzo Exp $
*/
// Include application functions
htmlspecialchars($_POST['formLinkSymbol']), "\" /></td></tr>\n";
} else {
echo "<tr><th class=\"data required\" colspan=\"4\">{$lang['strdefinition']}</th></tr>\n";
- echo "<tr><td class=\"data1\" colspan=\"4\"><textarea style=\"width:100%;\" rows=\"20\" cols=\"50\" name=\"formDefinition\" wrap=\"virtual\">",
+ echo "<tr><td class=\"data1\" colspan=\"4\"><textarea style=\"width:100%;\" rows=\"20\" cols=\"50\" name=\"formDefinition\">",
htmlspecialchars($_POST['formDefinition']), "</textarea></td></tr>\n";
}
// Display function comment
echo "<tr><th class=\"data\" colspan=\"4\">{$lang['strcomment']}</th></tr>\n";
- echo "<tr><td class=\"data1\" colspan=\"4\"><textarea style=\"width:100%;\" name=\"formComment\" rows=\"3\" cols=\"50\" wrap=\"virtual\">",
+ echo "<tr><td class=\"data1\" colspan=\"4\"><textarea style=\"width:100%;\" name=\"formComment\" rows=\"3\" cols=\"50\">",
htmlspecialchars($_POST['formComment']), "</textarea></td></tr>\n";
// Display function properies
if (is_array($data->funcprops) && sizeof($data->funcprops) > 0) {
htmlspecialchars($_POST['formLinkSymbol']), "\" /></td></tr>\n";
} else {
echo "<tr><th class=\"data required\" colspan=\"4\">{$lang['strdefinition']}</th></tr>\n";
- echo "<tr><td class=\"data1\" colspan=\"4\"><textarea style=\"width:100%;\" rows=\"20\" cols=\"50\" name=\"formDefinition\" wrap=\"virtual\">",
+ echo "<tr><td class=\"data1\" colspan=\"4\"><textarea style=\"width:100%;\" rows=\"20\" cols=\"50\" name=\"formDefinition\">",
htmlspecialchars($_POST['formDefinition']), "</textarea></td></tr>\n";
}
/**
* Slony database tab plugin
*
- * $Id: plugin_slony.php,v 1.13 2006/12/31 16:21:26 soranzo Exp $
+ * $Id: plugin_slony.php,v 1.14 2007/01/02 17:24:44 soranzo Exp $
*/
// Include application functions
echo "\t\t<td class=\"data1\"><input name=\"no_id\" size=\"5\" value=\"",
htmlspecialchars($_POST['no_id']), "\" /></td>\n\t</tr>\n";
echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strcomment']}</th>\n";
- echo "\t\t<td class=\"data1\"><textarea name=\"no_comment\" rows=\"3\" cols=\"32\" wrap=\"virtual\">",
+ echo "\t\t<td class=\"data1\"><textarea name=\"no_comment\" rows=\"3\" cols=\"32\">",
htmlspecialchars($_POST['no_comment']), "</textarea></td>\n\t</tr>\n";
echo "</table>\n";
echo "<p>\n";
echo "\t\t<td class=\"data1\"><input name=\"nodeid\" size=\"5\" value=\"",
htmlspecialchars($_POST['nodeid']), "\" /></td>\n\t</tr>\n";
echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strcomment']}</th>\n";
- echo "\t\t<td class=\"data1\"><textarea name=\"nodecomment\" rows=\"3\" cols=\"32\" wrap=\"virtual\">",
+ echo "\t\t<td class=\"data1\"><textarea name=\"nodecomment\" rows=\"3\" cols=\"32\">",
htmlspecialchars($_POST['nodecomment']), "</textarea></td>\n\t</tr>\n";
echo "\t</tr>\n";
echo "\t\t<td class=\"data1\"><input name=\"setid\" size=\"5\" value=\"",
htmlspecialchars($_POST['setid']), "\" /></td>\n\t</tr>\n";
echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strcomment']}</th>\n";
- echo "\t\t<td class=\"data1\"><textarea name=\"setcomment\" rows=\"3\" cols=\"32\" wrap=\"virtual\">",
+ echo "\t\t<td class=\"data1\"><textarea name=\"setcomment\" rows=\"3\" cols=\"32\">",
htmlspecialchars($_POST['setcomment']), "</textarea></td>\n\t</tr>\n";
echo "\t</tr>\n";
echo "</select></td></tr>\n";
*/
echo "\t<tr>\n\t\t<th class=\"data left required\">{$lang['strddlscript']}</th>\n";
- echo "\t\t<td class=\"data1\"><textarea name=\"script\" rows=\"20\" cols=\"40\" wrap=\"virtual\">",
+ echo "\t\t<td class=\"data1\"><textarea name=\"script\" rows=\"20\" cols=\"40\">",
htmlspecialchars($_POST['script']), "</textarea></td>\n\t</tr>\n";
echo "</table>\n";
echo "<p>\n";
echo "\t\t<td class=\"data1\"><input name=\"tab_id\" size=\"5\" value=\"",
htmlspecialchars($_POST['tab_id']), "\" /></td>\n\t</tr>\n";
echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strcomment']}</th>\n";
- echo "\t\t<td class=\"data1\"><textarea name=\"comment\" rows=\"3\" cols=\"32\" wrap=\"virtual\">",
+ echo "\t\t<td class=\"data1\"><textarea name=\"comment\" rows=\"3\" cols=\"32\">",
htmlspecialchars($_POST['comment']), "</textarea></td>\n\t</tr>\n";
echo "\t</tr>\n";
echo "\t\t<td class=\"data1\"><input name=\"seq_id\" size=\"5\" value=\"",
htmlspecialchars($_POST['seq_id']), "\" /></td>\n\t</tr>\n";
echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strcomment']}</th>\n";
- echo "\t\t<td class=\"data1\"><textarea name=\"comment\" rows=\"3\" cols=\"32\" wrap=\"virtual\">",
+ echo "\t\t<td class=\"data1\"><textarea name=\"comment\" rows=\"3\" cols=\"32\">",
htmlspecialchars($_POST['comment']), "</textarea></td>\n\t</tr>\n";
echo "\t</tr>\n";
/**
* List reports in a database
*
- * $Id: reports.php,v 1.22 2005/10/18 03:45:16 chriskl Exp $
+ * $Id: reports.php,v 1.23 2007/01/02 17:24:44 soranzo Exp $
*/
// Include application functions
}
echo "</select></td></tr>\n";
echo "<tr><th class=\"data left\">{$lang['strcomment']}</th>\n";
- echo "<td class=\"data1\"><textarea style=\"width:100%;\" rows=\"5\" cols=\"50\" name=\"descr\" wrap=\"virtual\">",
+ echo "<td class=\"data1\"><textarea style=\"width:100%;\" rows=\"5\" cols=\"50\" name=\"descr\">",
htmlspecialchars($_POST['descr']), "</textarea></td></tr>\n";
echo "<tr><th class=\"data left required\">{$lang['strsql']}</th>\n";
- echo "<td class=\"data1\"><textarea style=\"width:100%;\" rows=\"15\" cols=\"50\" name=\"report_sql\" wrap=\"virtual\">",
+ echo "<td class=\"data1\"><textarea style=\"width:100%;\" rows=\"15\" cols=\"50\" name=\"report_sql\">",
htmlspecialchars($_POST['report_sql']), "</textarea></td></tr>\n";
echo "</table>\n";
echo "<p><input type=\"hidden\" name=\"action\" value=\"save_edit\" />\n";
}
echo "</select></td></tr>\n";
echo "<tr><th class=\"data left\">{$lang['strcomment']}</th>\n";
- echo "<td class=\"data1\"><textarea style=\"width:100%;\" rows=\"5\" cols=\"50\" name=\"descr\" wrap=\"virtual\">",
+ echo "<td class=\"data1\"><textarea style=\"width:100%;\" rows=\"5\" cols=\"50\" name=\"descr\">",
htmlspecialchars($_REQUEST['descr']), "</textarea></td></tr>\n";
echo "<tr><th class=\"data left required\">{$lang['strsql']}</th>\n";
- echo "<td class=\"data1\"><textarea style=\"width:100%;\" rows=\"15\" cols=\"50\" name=\"report_sql\" wrap=\"virtual\">",
+ echo "<td class=\"data1\"><textarea style=\"width:100%;\" rows=\"15\" cols=\"50\" name=\"report_sql\">",
htmlspecialchars($_REQUEST['report_sql']), "</textarea></td></tr>\n";
echo "</table>\n";
echo "<p><input type=\"hidden\" name=\"action\" value=\"save_create\" />\n";
/**
* Manage schemas in a database
*
- * $Id: schemas.php,v 1.8 2006/06/17 12:57:36 xzilla Exp $
+ * $Id: schemas.php,v 1.9 2007/01/02 17:24:44 soranzo Exp $
*/
// Include application functions
}
echo "\t\t\t</select>\n\t\t</td>\n\t\n";
echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strcomment']}</th>\n";
- echo "\t\t<td class=\"data1\"><textarea name=\"formComment\" rows=\"3\" cols=\"32\" wrap=\"virtual\">",
+ echo "\t\t<td class=\"data1\"><textarea name=\"formComment\" rows=\"3\" cols=\"32\">",
htmlspecialchars($_POST['formComment']), "</textarea></td>\n\t</tr>\n";
echo "\t</tr>\n";
echo "\t</tr>\n";
echo "\t<tr>\n";
echo "\t\t<th class=\"data\">{$lang['strcomment']}</th>\n";
- echo "\t\t<td class=\"data1\"><textarea cols=\"32\" rows=\"3\"name=\"comment\" wrap=\"virtual\">", htmlspecialchars($_POST['comment']), "</textarea></td>\n";
+ echo "\t\t<td class=\"data1\"><textarea cols=\"32\" rows=\"3\"name=\"comment\">", htmlspecialchars($_POST['comment']), "</textarea></td>\n";
echo "\t</tr>\n";
echo "</table>\n";
echo "<p><input type=\"hidden\" name=\"action\" value=\"alter\" />\n";
/**
* List tables in a database
*
- * $Id: tables.php,v 1.82 2006/08/18 21:02:41 xzilla Exp $
+ * $Id: tables.php,v 1.83 2007/01/02 17:24:44 soranzo Exp $
*/
// Include application functions
}
echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strcomment']}</th>\n";
- echo "\t\t<td><textarea name=\"tblcomment\" rows=\"3\" cols=\"32\" wrap=\"virtual\">",
+ echo "\t\t<td><textarea name=\"tblcomment\" rows=\"3\" cols=\"32\">",
htmlspecialchars($_REQUEST['tblcomment']), "</textarea></td>\n\t</tr>\n";
echo "</table>\n";
/**
* Manage tablespaces in a database cluster
*
- * $Id: tablespaces.php,v 1.10 2006/11/19 21:33:13 xzilla Exp $
+ * $Id: tablespaces.php,v 1.11 2007/01/02 17:24:44 soranzo Exp $
*/
// Include application functions
if ($data->hasSharedComments()){
echo "<tr><th class=\"data left\">{$lang['strcomment']}</th>\n";
echo "<td class=\"data1\">";
- echo "<textarea rows=\"3\" cols=\"32\" name=\"comment\" wrap=\"virtual\">",
+ echo "<textarea rows=\"3\" cols=\"32\" name=\"comment\">",
htmlspecialchars($_POST['comment']), "</textarea></td></tr>\n";
}
echo "</table>\n";
// Comments (if available)
if ($data->hasSharedComments()) {
echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strcomment']}</th>\n";
- echo "\t\t<td><textarea name=\"formComment\" rows=\"3\" cols=\"32\" wrap=\"virtual\">",
+ echo "\t\t<td><textarea name=\"formComment\" rows=\"3\" cols=\"32\">",
htmlspecialchars($_POST['formComment']), "</textarea></td>\n\t</tr>\n";
}
echo "</table>\n";
/**
* List tables in a database
*
- * $Id: tblproperties.php,v 1.72 2006/08/18 21:02:41 xzilla Exp $
+ * $Id: tblproperties.php,v 1.73 2007/01/02 17:24:44 soranzo Exp $
*/
// Include application functions
echo "<tr><th class=\"data left\">{$lang['strcomment']}</th>\n";
echo "<td class=\"data1\">";
- echo "<textarea rows=\"3\" cols=\"32\" name=\"comment\" wrap=\"virtual\">",
+ echo "<textarea rows=\"3\" cols=\"32\" name=\"comment\">",
htmlspecialchars($_POST['comment']), "</textarea></td></tr>\n";
echo "</table>\n";
echo "<p><input type=\"hidden\" name=\"action\" value=\"alter\" />\n";
/**
* Manage types in a database
*
- * $Id: types.php,v 1.31 2006/11/10 00:14:29 xzilla Exp $
+ * $Id: types.php,v 1.32 2007/01/02 17:24:44 soranzo Exp $
*/
// Include application functions
htmlspecialchars($_REQUEST['fields']), "\" /></td>\n\t</tr>\n";
echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strcomment']}</th>\n";
- echo "\t\t<td><textarea name=\"typcomment\" rows=\"3\" cols=\"32\" wrap=\"virtual\">",
+ echo "\t\t<td><textarea name=\"typcomment\" rows=\"3\" cols=\"32\">",
htmlspecialchars($_REQUEST['typcomment']), "</textarea></td>\n\t</tr>\n";
echo "</table>\n";
/**
* List views in a database
*
- * $Id: viewproperties.php,v 1.21 2006/08/03 19:03:32 xzilla Exp $
+ * $Id: viewproperties.php,v 1.22 2007/01/02 17:24:44 soranzo Exp $
*/
// Include application functions
echo "<form action=\"$PHP_SELF\" method=\"post\">\n";
echo "<table width=\"100%\">\n";
echo "\t<tr>\n\t\t<th class=\"data left required\">{$lang['strdefinition']}</th>\n";
- echo "\t\t<td class=\"data1\"><textarea style=\"width: 100%;\" rows=\"20\" cols=\"50\" name=\"formDefinition\" wrap=\"virtual\">",
+ echo "\t\t<td class=\"data1\"><textarea style=\"width: 100%;\" rows=\"20\" cols=\"50\" name=\"formDefinition\">",
htmlspecialchars($_POST['formDefinition']), "</textarea></td>\n\t</tr>\n";
echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strcomment']}</th>\n";
- echo "\t\t<td class=\"data1\"><textarea rows=\"3\" cols=\"32\" name=\"formComment\" wrap=\"virtual\">",
+ echo "\t\t<td class=\"data1\"><textarea rows=\"3\" cols=\"32\" name=\"formComment\">",
htmlspecialchars($_POST['formComment']), "</textarea></td>\n\t</tr>\n";
echo "</table>\n";
echo "<p><input type=\"hidden\" name=\"action\" value=\"save_edit\" />\n";
/**
* Manage views in a database
*
- * $Id: views.php,v 1.60 2006/11/10 00:23:28 xzilla Exp $
+ * $Id: views.php,v 1.61 2007/01/02 17:24:44 soranzo Exp $
*/
// Include application functions
echo "<tr><th class=\"data\">{$lang['strcomment']}</th></tr>";
echo "<tr>\n<td class=\"data1\">\n";
// View comments
- echo "<textarea name=\"formComment\" rows=\"3\" cols=\"32\" wrap=\"virtual\">",
+ echo "<textarea name=\"formComment\" rows=\"3\" cols=\"32\">",
htmlspecialchars($_REQUEST['formComment']), "</textarea>\n";
echo "</td>\n</tr>\n";
echo "</table>\n";
echo "\t<td class=\"data1\"><input name=\"formView\" size=\"32\" maxlength=\"{$data->_maxNameLen}\" value=\"",
htmlspecialchars($_REQUEST['formView']), "\" /></td>\n\t</tr>\n";
echo "\t<tr>\n\t\t<th class=\"data left required\">{$lang['strdefinition']}</th>\n";
- echo "\t<td class=\"data1\"><textarea style=\"width:100%;\" rows=\"10\" cols=\"50\" name=\"formDefinition\" wrap=\"virtual\">",
+ echo "\t<td class=\"data1\"><textarea style=\"width:100%;\" rows=\"10\" cols=\"50\" name=\"formDefinition\">",
htmlspecialchars($_REQUEST['formDefinition']), "</textarea></td>\n\t</tr>\n";
echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strcomment']}</th>\n";
- echo "\t\t<td class=\"data1\"><textarea name=\"formComment\" rows=\"3\" cols=\"32\" wrap=\"virtual\">",
+ echo "\t\t<td class=\"data1\"><textarea name=\"formComment\" rows=\"3\" cols=\"32\">",
htmlspecialchars($_REQUEST['formComment']), "</textarea></td>\n\t</tr>\n";
echo "</table>\n";
echo "<p><input type=\"hidden\" name=\"action\" value=\"save_create\" />\n";