Project

General

Profile

« Previous | Next » 

Revision 8984dc5e

Added by Ermal LUÇI about 15 years ago

Ticket #414. Fix wizard framework to properly display this. Not sure how it actually worked before!

View differences:

usr/local/www/wizard.php
349 349
		    case "input":
350 350
			if ($field['displayname']) {
351 351
				echo "<td width=\"22%\" align=\"right\" class=\"vncellreq\">\n";
352
                                echo $field['displayname'];
353
                                echo ":</td>\n";
352
				echo $field['displayname'];
353
				echo ":</td>\n";
354 354
			} else if(!$field['dontdisplayname']) {
355 355
				echo "<td width=\"22%\" align=\"right\" class=\"vncellreq\">\n";
356 356
				echo fixup_string($field['name']);
......
703 703
			break;
704 704
		    }
705 705

  
706
		    echo "</td>";
707 706
		    if($field['typehint'] <> "") {
708 707
			echo $field['typehint'];
709 708
		    }
710

  
711
		    if(!$field['combinefieldsbegin'])
712
			 echo "</tr>\n";
713

  
714 709
		    if($field['warning'] <> "") {
715 710
			echo "<br ><b><font color=\"red\">" . $field['warning'] . "</font></b>";
716 711
		    }
717 712

  
713
		    if(!$field['combinefieldsbegin']) {
714
		    	if (!$field['dontcombinecells'])
715
		    		echo "</td>";
716

  
717
			 echo "</tr>\n";
718
		    }
718 719
		}
719 720
	}
720 721
    ?>

Also available in: Unified diff