Hopefully last missing @package tags.

This commit is contained in:
Michal Čihař
2008-11-24 11:24:56 +00:00
parent 84ae0420fe
commit 1bf10aa501
3 changed files with 16 additions and 13 deletions

View File

@@ -3,6 +3,7 @@
/** /**
* *
* @version $Id$ * @version $Id$
* @package phpMyAdmin
*/ */
if (! defined('PHPMYADMIN')) { if (! defined('PHPMYADMIN')) {
exit; exit;

View File

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

View File

@@ -28,6 +28,7 @@
* @uses implode() * @uses implode()
* @uses PMA_NO_VARIABLES_IMPORT * @uses PMA_NO_VARIABLES_IMPORT
* @uses PMA_sqlAddslashes() * @uses PMA_sqlAddslashes()
* @package phpMyAdmin
*/ */
if (! defined('PHPMYADMIN')) { if (! defined('PHPMYADMIN')) {
exit; exit;