Project

General

Profile

« Previous | Next » 

Revision 2d911f2c

Added by Phil Davis almost 10 years ago

Random comment typos like hte

View differences:

src/usr/local/www/pkg_edit.php
616 616
));
617 617

  
618 618
/* If a package's XML has <advanced_options/> configured, then setup
619
 * ta section for the fields that have <advancedfield/> set.
619
 * the section for the fields that have <advancedfield/> set.
620 620
 * These fields will be placed below other fields in a separate area titled 'Advanced Features'.
621 621
 * These advanced fields are not normally configured and generally left to default to 'default settings'.
622 622
 */
......
629 629

  
630 630
$js_array = array();
631 631

  
632
// Now loop through all of hte fields defined in the XML
632
// Now loop through all of the fields defined in the XML
633 633
foreach ($pkg['fields']['field'] as $pkga) {
634 634

  
635 635
	if ($pkga['type'] == "sorting") {
......
719 719
			break;
720 720

  
721 721
		case "password":
722
		// Creat a password element
722
			// Create a password element
723 723
			if($grouping) {
724 724
				$group->add(new Form_Input(
725 725
					$pkga['fieldname'],
......
748 748
			break;
749 749

  
750 750
		case "info":
751
			// If the info containe a table we should detect and Bootstrap it
751
			// If the info contains a table we should detect and Bootstrap it
752 752

  
753 753
			if (strpos($pkga['description'], '<table') !== FALSE)
754 754
				$info = bootstrapTable($pkga['description']);
......
971 971

  
972 972
			break;
973 973

  
974
		// Creat textarea element
974
		// Create a textarea element
975 975
		case "textarea":
976 976
			if ($pkga['rows']) {
977 977
				$rows = " rows='{$pkga['rows']}' ";

Also available in: Unified diff