adv. index creation

This commit is contained in:
Marc Delisle
2001-05-29 12:47:12 +00:00
parent f65f873b29
commit 8ddc73cb8b
21 changed files with 56 additions and 6 deletions

View File

@@ -144,4 +144,6 @@ $strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate $strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate $strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
$strNumberIndexes=" Number of advanced indexes "; //to translate $strNumberIndexes=" Number of advanced indexes "; //to translate
$strSequence=" Sequence "; //to translate
$strLength=" Length "; //to translate
?> ?>

View File

@@ -143,4 +143,6 @@ $strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate $strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate $strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
$strNumberIndexes=" Number of advanced indexes "; //to translate $strNumberIndexes=" Number of advanced indexes "; //to translate
$strSequence=" Sequence "; //to translate
$strLength=" Length "; //to translate
?> ?>

View File

@@ -123,4 +123,6 @@ $strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate $strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate $strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
$strNumberIndexes=" Number of advanced indexes "; //to translate $strNumberIndexes=" Number of advanced indexes "; //to translate
$strSequence=" Sequence "; //to translate
$strLength=" Length "; //to translate
?> ?>

View File

@@ -128,4 +128,6 @@ $strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate $strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate $strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
$strNumberIndexes=" Number of advanced indexes "; //to translate $strNumberIndexes=" Number of advanced indexes "; //to translate
$strSequence=" Sequence "; //to translate
$strLength=" Length "; //to translate
?> ?>

View File

@@ -128,4 +128,6 @@ $strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate $strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate $strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
$strNumberIndexes=" Number of advanced indexes "; //to translate $strNumberIndexes=" Number of advanced indexes "; //to translate
$strSequence=" Sequence "; //to translate
$strLength=" Length "; //to translate
?> ?>

View File

@@ -141,4 +141,6 @@ $strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate $strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate $strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
$strNumberIndexes=" Number of advanced indexes "; //to translate $strNumberIndexes=" Number of advanced indexes "; //to translate
$strSequence=" Sequence "; //to translate
$strLength=" Length "; //to translate
?> ?>

View File

@@ -144,4 +144,6 @@ $strHomepageOfficial = "Officiel phpMyAdmin hjemmeside ";
$strHomepageSourceforge = "Ny (men ikke endnu officiel) phpMyAdmin hjemmeside "; $strHomepageSourceforge = "Ny (men ikke endnu officiel) phpMyAdmin hjemmeside ";
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate $strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
$strNumberIndexes=" Number of advanced indexes "; //to translate $strNumberIndexes=" Number of advanced indexes "; //to translate
$strSequence=" Sequence "; //to translate
$strLength=" Length "; //to translate
?> ?>

View File

@@ -131,4 +131,6 @@ $strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate $strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate $strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
$strNumberIndexes=" Number of advanced indexes "; //to translate $strNumberIndexes=" Number of advanced indexes "; //to translate
$strSequence=" Sequence "; //to translate
$strLength=" Length "; //to translate
?> ?>

View File

@@ -156,4 +156,6 @@ $strBookmarkLabel = "Label";
$strBookmarkView = "View only"; $strBookmarkView = "View only";
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; $strTextAreaLength=" Because of its length,<br> this field might not be editable ";
$strNumberIndexes=" Number of advanced indexes "; $strNumberIndexes=" Number of advanced indexes ";
$strSequence=" Sequence ";
$strLength=" Length ";
?> ?>

View File

@@ -174,4 +174,6 @@ $strBookmarkLabel = "Intitul
$strBookmarkView = "Voir uniquement"; $strBookmarkView = "Voir uniquement";
$strTextAreaLength="Il est possible que ce champ<br>ne soit pas <20>ditable<br>en raison de sa longueur"; $strTextAreaLength="Il est possible que ce champ<br>ne soit pas <20>ditable<br>en raison de sa longueur";
$strNumberIndexes=" Nombre d'index sp<73>ciaux "; $strNumberIndexes=" Nombre d'index sp<73>ciaux ";
$strSequence="S<EFBFBD>quence";
$strLength="Longueur";
?> ?>

View File

@@ -138,4 +138,6 @@ $strBookmarkLabel = "Label"; // To translate
$strBookmarkView = "View only"; // To translate $strBookmarkView = "View only"; // To translate
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate $strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
$strNumberIndexes=" Number of advanced indexes "; //to translate $strNumberIndexes=" Number of advanced indexes "; //to translate
$strSequence=" Sequence "; //to translate
$strLength=" Length "; //to translate
?> ?>

View File

@@ -142,4 +142,6 @@ $strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate $strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate $strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
$strNumberIndexes=" Number of advanced indexes "; //to translate $strNumberIndexes=" Number of advanced indexes "; //to translate
$strSequence=" Sequence "; //to translate
$strLength=" Length "; //to translate
?> ?>

View File

@@ -123,4 +123,6 @@ $strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate $strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate $strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
$strNumberIndexes=" Number of advanced indexes "; //to translate $strNumberIndexes=" Number of advanced indexes "; //to translate
$strSequence=" Sequence "; //to translate
$strLength=" Length "; //to translate
?> ?>

View File

@@ -133,4 +133,6 @@ $strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate $strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate $strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
$strNumberIndexes=" Number of advanced indexes "; //to translate $strNumberIndexes=" Number of advanced indexes "; //to translate
$strSequence=" Sequence "; //to translate
$strLength=" Length "; //to translate
?> ?>

View File

@@ -130,4 +130,6 @@ $strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate $strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate $strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
$strNumberIndexes=" Number of advanced indexes "; //to translate $strNumberIndexes=" Number of advanced indexes "; //to translate
$strSequence=" Sequence "; //to translate
$strLength=" Length "; //to translate
?> ?>

View File

@@ -140,4 +140,6 @@ $strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate $strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate $strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
$strNumberIndexes=" Number of advanced indexes "; //to translate $strNumberIndexes=" Number of advanced indexes "; //to translate
$strSequence=" Sequence "; //to translate
$strLength=" Length "; //to translate
?> ?>

View File

@@ -140,4 +140,6 @@ $strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate $strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate $strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
$strNumberIndexes=" Number of advanced indexes "; //to translate $strNumberIndexes=" Number of advanced indexes "; //to translate
$strSequence=" Sequence "; //to translate
$strLength=" Length "; //to translate
?> ?>

View File

@@ -142,4 +142,6 @@ $strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate $strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate $strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
$strNumberIndexes=" Number of advanced indexes "; //to translate $strNumberIndexes=" Number of advanced indexes "; //to translate
$strSequence=" Sequence "; //to translate
$strLength=" Length "; //to translate
?> ?>

View File

@@ -154,4 +154,6 @@ $strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate $strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate $strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
$strNumberIndexes=" Number of advanced indexes "; //to translate $strNumberIndexes=" Number of advanced indexes "; //to translate
$strSequence=" Sequence "; //to translate
$strLength=" Length "; //to translate
?> ?>

View File

@@ -154,4 +154,6 @@ $strHomepageOfficial=" Official phpMyAdmin Homepage "; //to translate
$strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate $strHomepageSourceforge=" new (but still unofficial) phpMyAdmin Homepage "; //to translate
$strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate $strTextAreaLength=" Because of its length,<br> this field might not be editable "; //to translate
$strNumberIndexes=" Number of advanced indexes "; //to translate $strNumberIndexes=" Number of advanced indexes "; //to translate
$strSequence=" Sequence "; //to translate
$strLength=" Length "; //to translate
?> ?>

View File

@@ -30,12 +30,17 @@ elseif($action == "tbl_addfield.php3")
<?php <?php
if($action == "tbl_create.php3" || $action == "tbl_addfield.php3") if($action == "tbl_create.php3" || $action == "tbl_addfield.php3")
{ { if (empty($num_indexes))
?> {
<th><?php echo $strPrimary; ?></th> echo "<th>$strPrimary</th>";
<th><?php echo $strIndex; ?></th> echo "<th>$strIndex</th>";
<th><?php echo $strUnique; ?></th> echo "<th>$strUnique</th>\n";
<?php }
else { for ($i=0; $i<$num_indexes; $i++) {
echo "<th>$strSequence</th>";
echo "<th>$strLength</th>\n";
}
}
} }
?> ?>
</tr> </tr>
@@ -152,6 +157,8 @@ for($i=0 ; $i<$num_fields; $i++)
<?php <?php
if($action == "tbl_create.php3" || $action == "tbl_addfield.php3") if($action == "tbl_create.php3" || $action == "tbl_addfield.php3")
{
if (empty($num_indexes))
{ {
?> ?>
<td align="center"> <td align="center">
@@ -180,6 +187,9 @@ for($i=0 ; $i<$num_fields; $i++)
</td> </td>
<?php <?php
} }
else {
}
}
?> ?>
</tr> </tr>
<?php <?php