Changeset 295 for trunk/bin/module_maker/module.cli.php
- Timestamp:
- Dec 16, 2007 7:21:57 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/module_maker/module.cli.php
r259 r295 137 137 138 138 // Make sure requested table is in database. 139 if (!isset($tables)) { 140 die(sprintf("%s Warning: %s does not exist in database %s. No DB tables found!", basename($_SERVER['argv'][0]), $db_tbl, $app->getParam('db_name'))); 141 } 139 142 if (!in_array($db_tbl, $tables)) { 140 143 die(sprintf("%s Warning: %s does not exist in database %s. Please select one of: \n\n%s\n\n", basename($_SERVER['argv'][0]), $db_tbl, $app->getParam('db_name'), join("\n", $tables))); … … 207 210 208 211 $search['admin_form_tag_init'] = '/%ADMIN_FORM_TAG_INIT%/'; 209 $replace['admin_form_tag_init'] = '<form method="post" action="<\x3fphp echo \$_SERVER[\'PHP_SELF\']; \x3f>" class="sc-form">';212 $replace['admin_form_tag_init'] = "<form method=\"post\" action=\"<\x3fphp echo oTxt(\$_SERVER['PHP_SELF']); \x3f>\" class=\"sc-form\">"; 210 213 $search['admin_upload_include'] = '/%ADMIN_UPLOAD_INCLUDE%/'; 211 214 $replace['admin_upload_include'] = '';
Note: See TracChangeset
for help on using the changeset viewer.