Hopefully last missing @package tags.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
/**
|
||||
*
|
||||
* @version $Id$
|
||||
* @package phpMyAdmin
|
||||
*/
|
||||
if (! defined('PHPMYADMIN')) {
|
||||
exit;
|
||||
|
@@ -5,6 +5,7 @@
|
||||
*
|
||||
* included by tbl_addfield.php, -_alter.php, -_create.php
|
||||
* @version $Id$
|
||||
* @package phpMyAdmin
|
||||
*/
|
||||
if (! defined('PHPMYADMIN')) {
|
||||
exit;
|
||||
@@ -95,8 +96,8 @@ $content_cells = array();
|
||||
|
||||
$header_cells[] = $strField;
|
||||
$header_cells[] = $strType
|
||||
. ($GLOBALS['cfg']['ReplaceHelpImg']
|
||||
? PMA_showMySQLDocu('SQL-Syntax', 'data-types')
|
||||
. ($GLOBALS['cfg']['ReplaceHelpImg']
|
||||
? PMA_showMySQLDocu('SQL-Syntax', 'data-types')
|
||||
: '<br /><span style="font-weight: normal">' . PMA_showMySQLDocu('SQL-Syntax', 'data-types')
|
||||
. '</span>');
|
||||
$header_cells[] = $strLengthSet . PMA_showHint($strSetEnumVal);
|
||||
@@ -139,7 +140,7 @@ if ($cfgRelation['mimework'] && $cfg['BrowseMIME']) {
|
||||
|
||||
$header_cells[] = $strMIME_MIMEtype;
|
||||
$header_cells[] = $strMIME_transformation;
|
||||
$header_cells[] = $strMIME_transformation_options
|
||||
$header_cells[] = $strMIME_transformation_options
|
||||
. PMA_showHint($strMIME_transformation_options_note . $hint);
|
||||
}
|
||||
|
||||
@@ -189,7 +190,7 @@ for ($i = 0; $i < $num_fields; $i++) {
|
||||
$row['Default'] = $row['DefaultType'];
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
$row['Extra'] = (isset($_REQUEST['field_extra'][$i]) ? $_REQUEST['field_extra'][$i] : false);
|
||||
$row['Comment'] = (isset($submit_fulltext[$i]) && ($submit_fulltext[$i] == $i) ? 'FULLTEXT' : false);
|
||||
|
||||
@@ -267,7 +268,7 @@ for ($i = 0; $i < $num_fields; $i++) {
|
||||
. ' value="' . (isset($row['Field']) ? htmlspecialchars($row['Field']) : '') . '"'
|
||||
. ' />';
|
||||
$ci++;
|
||||
|
||||
|
||||
// column type
|
||||
$content_cells[$i][$ci] = '<select name="field_type[' . $i . ']"'
|
||||
.' id="field_' . $i . '_' . ($ci - $ci_offset) . '" >';
|
||||
@@ -373,10 +374,10 @@ for ($i = 0; $i < $num_fields; $i++) {
|
||||
|
||||
// old column default
|
||||
if ($is_backup) {
|
||||
$_form_params['field_default_orig[' . $i . ']'] =
|
||||
(isset($row['Default']) ? $row['Default'] : '');
|
||||
$_form_params['field_default_orig[' . $i . ']'] =
|
||||
(isset($row['Default']) ? $row['Default'] : '');
|
||||
}
|
||||
|
||||
|
||||
// here we put 'NONE' as the default value of drop-down; otherwise
|
||||
// users would have problems if they forget to enter the default
|
||||
// value (example, for an INT)
|
||||
@@ -414,7 +415,7 @@ for ($i = 0; $i < $num_fields; $i++) {
|
||||
// column collation
|
||||
$tmp_collation = empty($row['Collation']) ? null : $row['Collation'];
|
||||
$content_cells[$i][$ci] = PMA_generateCharsetDropdownBox(
|
||||
PMA_CSDROPDOWN_COLLATION, 'field_collation[' . $i . ']',
|
||||
PMA_CSDROPDOWN_COLLATION, 'field_collation[' . $i . ']',
|
||||
'field_' . $i . '_' . ($ci - $ci_offset), $tmp_collation, false);
|
||||
unset($tmp_collation);
|
||||
$ci++;
|
||||
@@ -729,9 +730,9 @@ if ($action == 'tbl_create.php') {
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<textarea name="partition_definition" id="partitiondefinition"
|
||||
cols="<?php echo $GLOBALS['cfg']['TextareaCols'];?>"
|
||||
rows="<?php echo $GLOBALS['cfg']['TextareaRows'];?>"
|
||||
<textarea name="partition_definition" id="partitiondefinition"
|
||||
cols="<?php echo $GLOBALS['cfg']['TextareaCols'];?>"
|
||||
rows="<?php echo $GLOBALS['cfg']['TextareaRows'];?>"
|
||||
dir="<?php echo $GLOBALS['text_dir'];?>"><?php echo (isset($_REQUEST['partition_definition']) ? htmlspecialchars($_REQUEST['partition_definition']) : ''); ?></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -745,7 +746,7 @@ if ($action == 'tbl_create.php') {
|
||||
?>
|
||||
|
||||
<fieldset class="tblFooters">
|
||||
<input type="submit" name="do_save_data" value="<?php echo $strSave; ?>"
|
||||
<input type="submit" name="do_save_data" value="<?php echo $strSave; ?>"
|
||||
onclick="return checkTableEditForm(this.form, <?php echo $num_fields; ?>)" />
|
||||
<?php if ($action == 'tbl_create.php' || $action == 'tbl_addfield.php') { ?>
|
||||
<?php echo $GLOBALS['strOr']; ?>
|
||||
|
@@ -28,6 +28,7 @@
|
||||
* @uses implode()
|
||||
* @uses PMA_NO_VARIABLES_IMPORT
|
||||
* @uses PMA_sqlAddslashes()
|
||||
* @package phpMyAdmin
|
||||
*/
|
||||
if (! defined('PHPMYADMIN')) {
|
||||
exit;
|
||||
|
Reference in New Issue
Block a user