|
|
|
@ -217,7 +217,7 @@ function createOrEditAttack($action, $attackid) {
|
|
|
|
|
<td>Type:</td>
|
|
|
|
|
<td><select name="type">
|
|
|
|
|
<?php
|
|
|
|
|
$types = array('normal', 'kaioken', 'kaioken2', 'SSJ', 'lose', 'lose2', 'hpmp', 'hp', 'tausch', 'tausch2', 'majin', 'copy', 'runde', 'frucht', 'konterhp');
|
|
|
|
|
$types = array('normal', 'kaioken', 'kaioken2', 'SSJ', 'lose', 'lose2', 'hpmp', 'hp', 'tausch', 'tausch2', 'majin', 'copy', 'runde', 'frucht', 'konterhp', 'generic');
|
|
|
|
|
foreach ($types as $type) {
|
|
|
|
|
if($row['type'] == $type){
|
|
|
|
|
echo '<option value="'.$type.'" selected="selected">'.$type.'</option>';
|
|
|
|
@ -424,6 +424,7 @@ function editAttack($attackname, $attackid, $Frucht, $starke, $verteidigung, $sp
|
|
|
|
|
if(JSON_ERROR_NONE != json_last_error()) {
|
|
|
|
|
echo "<br>";
|
|
|
|
|
echo "Attacke konnte nicht erstellt werden, syntax för options ist nicht korrekt!";
|
|
|
|
|
echo "<br>";
|
|
|
|
|
echo displayHistoryBackLink();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|