Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed redundant ?> closing tags #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions authors.php
Original file line number Diff line number Diff line change
@@ -34,5 +34,3 @@
$authors[]=array('name'=>'Urban B.','role'=>'Committer/Klassen/Neue Funktionen/Neue Footprints');
$authors[]=array('name'=>'André Althaus','role'=>'Neue Funktionen');
$authors[]=array('name'=>'Udo Neist','role'=>'Committer/Templates/Neue Funktionen');

?>
2 changes: 0 additions & 2 deletions config_defaults.php
Original file line number Diff line number Diff line change
@@ -281,5 +281,3 @@
$config['auto_datasheets']['entries'][2]['url'] = 'http://search.datasheetcatalog.net/key/%%PARTNAME%%';
$config['auto_datasheets']['entries'][2]['image'] = 'img/partdb/dc.png';
// IMPORTANT: If you add your own export formats to your config.php, use letters instead of numbers as array indexes!! e.g. $config['auto_datasheets']['entries']['A']['name'] = 'foo';

?>
2 changes: 0 additions & 2 deletions development/developer_tools.php
Original file line number Diff line number Diff line change
@@ -216,5 +216,3 @@ function build_release_package($trim, &$output_loop)
$html->print_template('developer_tools');

$html->print_footer();

?>
2 changes: 0 additions & 2 deletions development/sandbox.php
Original file line number Diff line number Diff line change
@@ -149,5 +149,3 @@
*********************************************************************************/

$html->print_footer();

?>
2 changes: 0 additions & 2 deletions edit_attachement_types.php
Original file line number Diff line number Diff line change
@@ -236,5 +236,3 @@
$html->print_template('edit_attachement_types');

$html->print_footer();

?>
2 changes: 0 additions & 2 deletions edit_categories.php
Original file line number Diff line number Diff line change
@@ -270,5 +270,3 @@
$html->print_template('edit_categories');

$html->print_footer();

?>
2 changes: 0 additions & 2 deletions edit_devices.php
Original file line number Diff line number Diff line change
@@ -237,5 +237,3 @@
$html->print_template('edit_devices');

$html->print_footer();

?>
2 changes: 0 additions & 2 deletions edit_footprints.php
Original file line number Diff line number Diff line change
@@ -352,5 +352,3 @@
$html->print_template('edit_footprints');

$html->print_footer();

?>
2 changes: 0 additions & 2 deletions edit_manufacturers.php
Original file line number Diff line number Diff line change
@@ -253,5 +253,3 @@
$html->print_template('edit_manufacturers');

$html->print_footer();

?>
2 changes: 0 additions & 2 deletions edit_part_info.php
Original file line number Diff line number Diff line change
@@ -671,5 +671,3 @@
}

$html->print_footer();

?>
2 changes: 0 additions & 2 deletions edit_storelocations.php
Original file line number Diff line number Diff line change
@@ -277,5 +277,3 @@
$html->print_template('edit_storelocations');

$html->print_footer();

?>
2 changes: 0 additions & 2 deletions edit_suppliers.php
Original file line number Diff line number Diff line change
@@ -253,5 +253,3 @@
$html->print_template('edit_suppliers');

$html->print_footer();

?>
2 changes: 0 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
@@ -95,5 +95,3 @@
$html->print_template('frameset');

$html->print_footer();

?>
2 changes: 0 additions & 2 deletions install.php
Original file line number Diff line number Diff line change
@@ -249,5 +249,3 @@
$html->print_template($tmpl_site_to_show);

$html->print_footer();

?>
2 changes: 0 additions & 2 deletions lib/class.Attachement.php
Original file line number Diff line number Diff line change
@@ -483,5 +483,3 @@ public static function add(&$database, &$current_user, &$log, &$element, $type_i
}

}

?>
2 changes: 0 additions & 2 deletions lib/class.AttachementType.php
Original file line number Diff line number Diff line change
@@ -139,5 +139,3 @@ public static function add(&$database, &$current_user, &$log, $name, $parent_id)
}

}

?>
3 changes: 0 additions & 3 deletions lib/class.AttachementsContainingDBElement.php
Original file line number Diff line number Diff line change
@@ -215,6 +215,3 @@ public function get_attachements($type_id = NULL, $only_table_attachements = fal
return $this->attachements;
}
}


?>
2 changes: 0 additions & 2 deletions lib/class.Category.php
Original file line number Diff line number Diff line change
@@ -289,5 +289,3 @@ public static function search(&$database, &$current_user, &$log, $keyword, $exac
}

}

?>
2 changes: 0 additions & 2 deletions lib/class.Company.php
Original file line number Diff line number Diff line change
@@ -245,5 +245,3 @@ public static function check_values_validity(&$database, &$current_user, &$log,
}

}

?>
4 changes: 0 additions & 4 deletions lib/class.DBElement.php
Original file line number Diff line number Diff line change
@@ -375,7 +375,3 @@ public static function add(&$database, &$current_user, &$log, $tablename, $new_v
}

}



?>
2 changes: 0 additions & 2 deletions lib/class.Database.php
Original file line number Diff line number Diff line change
@@ -911,5 +911,3 @@ public function set_data_fields($tablename, $id, $values)
}

}

?>
2 changes: 0 additions & 2 deletions lib/class.Device.php
Original file line number Diff line number Diff line change
@@ -505,5 +505,3 @@ public static function add(&$database, &$current_user, &$log, $name, $parent_id)
}

}

?>
2 changes: 0 additions & 2 deletions lib/class.DevicePart.php
Original file line number Diff line number Diff line change
@@ -432,5 +432,3 @@ public static function add(&$database, &$current_user, &$log, $device_id, $part_


}

?>
2 changes: 0 additions & 2 deletions lib/class.Footprint.php
Original file line number Diff line number Diff line change
@@ -254,5 +254,3 @@ public static function search(&$database, &$current_user, &$log, $keyword, $exac
}

}

?>
4 changes: 1 addition & 3 deletions lib/class.Group.php
Original file line number Diff line number Diff line change
@@ -161,6 +161,4 @@ public static function get_count(&$database)
return $database->get_count_of_records('groups');
}

}

?>
}
2 changes: 0 additions & 2 deletions lib/class.HTML.php
Original file line number Diff line number Diff line change
@@ -478,5 +478,3 @@ public function print_footer($messages = array(), $messages_div_title = '')
$tmpl->pparse();
}
}

?>
2 changes: 0 additions & 2 deletions lib/class.Log.php
Original file line number Diff line number Diff line change
@@ -70,5 +70,3 @@ public function __construct(&$database)
}

}

?>
2 changes: 0 additions & 2 deletions lib/class.Manufacturer.php
Original file line number Diff line number Diff line change
@@ -150,5 +150,3 @@ public static function search(&$database, &$current_user, &$log, $keyword, $exac
}

}

?>
2 changes: 0 additions & 2 deletions lib/class.NamedDBElement.php
Original file line number Diff line number Diff line change
@@ -159,5 +159,3 @@ public static function search(&$database, &$current_user, &$log, $tablename, $ke
}

}

?>
2 changes: 0 additions & 2 deletions lib/class.Orderdetails.php
Original file line number Diff line number Diff line change
@@ -422,5 +422,3 @@ public static function add(&$database, &$current_user, &$log, $part_id, $supplie
}

}

?>
2 changes: 0 additions & 2 deletions lib/class.Part.php
Original file line number Diff line number Diff line change
@@ -1803,5 +1803,3 @@ public static function add(&$database, &$current_user, &$log, $name, $category_i
}

}

?>
2 changes: 0 additions & 2 deletions lib/class.PartsContainingDBElement.php
Original file line number Diff line number Diff line change
@@ -210,5 +210,3 @@ static function usort_compare($part_1, $part_2)
}

}

?>
2 changes: 0 additions & 2 deletions lib/class.Pricedetails.php
Original file line number Diff line number Diff line change
@@ -389,5 +389,3 @@ public static function add(&$database, &$current_user, &$log, $orderdetails_id,
}

}

?>
2 changes: 0 additions & 2 deletions lib/class.Storelocation.php
Original file line number Diff line number Diff line change
@@ -192,5 +192,3 @@ public static function search(&$database, &$current_user, &$log, $keyword, $exac
}

}

?>
2 changes: 0 additions & 2 deletions lib/class.StructuralDBElement.php
Original file line number Diff line number Diff line change
@@ -513,5 +513,3 @@ public static function check_values_validity(&$database, &$current_user, &$log,
}

}

?>
2 changes: 0 additions & 2 deletions lib/class.Supplier.php
Original file line number Diff line number Diff line change
@@ -252,5 +252,3 @@ public static function search(&$database, &$current_user, &$log, $keyword, $exac
}

}

?>
2 changes: 0 additions & 2 deletions lib/class.System.php
Original file line number Diff line number Diff line change
@@ -385,5 +385,3 @@ public function update_to_next_version()
}

}

?>
2 changes: 0 additions & 2 deletions lib/class.SystemVersion.php
Original file line number Diff line number Diff line change
@@ -283,5 +283,3 @@ public static function get_latest_version($type)
}
}
}

?>
2 changes: 0 additions & 2 deletions lib/class.User.php
Original file line number Diff line number Diff line change
@@ -182,5 +182,3 @@ public static function get_count(&$database)
}

}

?>
2 changes: 0 additions & 2 deletions lib/lib.debug.php
Original file line number Diff line number Diff line change
@@ -300,5 +300,3 @@ function set_debug_enable($new_enable, $admin_password = NULL)

return;
}

?>
2 changes: 0 additions & 2 deletions lib/lib.export.php
Original file line number Diff line number Diff line change
@@ -324,5 +324,3 @@ function export_parts(&$objects, $export_type, $format_id, $send_file = false, $
else
return $output;
}

?>
2 changes: 0 additions & 2 deletions lib/lib.functions.php
Original file line number Diff line number Diff line change
@@ -280,5 +280,3 @@ function rmdir_recursive($dir)
rmdir($dir);
}
}

?>
2 changes: 0 additions & 2 deletions lib/lib.import.php
Original file line number Diff line number Diff line change
@@ -829,5 +829,3 @@ function import_device_parts(&$database, &$current_user, &$log, $device_id, $dat
throw new Exception($e->getMessage());
}
}

?>
2 changes: 0 additions & 2 deletions lib/lib.php
Original file line number Diff line number Diff line change
@@ -649,5 +649,3 @@ function is_path_absolute_and_unix($path, $accept_protocols = true)
return false;
}
}

?>
3 changes: 0 additions & 3 deletions lib/lib.start_session.php
Original file line number Diff line number Diff line change
@@ -270,6 +270,3 @@ function check_if_config_is_valid()

return true;
}


?>
2 changes: 0 additions & 2 deletions navigation.php
Original file line number Diff line number Diff line change
@@ -152,5 +152,3 @@
$html->print_template('navigation');

$html->print_footer();

?>
2 changes: 0 additions & 2 deletions show_category_parts.php
Original file line number Diff line number Diff line change
@@ -218,5 +218,3 @@
}

$html->print_footer($debug_messages);

?>
1 change: 0 additions & 1 deletion show_device_parts.php
Original file line number Diff line number Diff line change
@@ -427,4 +427,3 @@
}

$html->print_footer();
?>
1 change: 0 additions & 1 deletion show_noprice_parts.php
Original file line number Diff line number Diff line change
@@ -101,4 +101,3 @@
$html->print_template('show_noprice_parts');

$html->print_footer();
?>
1 change: 0 additions & 1 deletion show_obsolete_parts.php
Original file line number Diff line number Diff line change
@@ -137,4 +137,3 @@
$html->print_template('show_obsolete_parts');

$html->print_footer();
?>
1 change: 0 additions & 1 deletion show_order_parts.php
Original file line number Diff line number Diff line change
@@ -341,4 +341,3 @@ function get_suppliers_template_loop($suppliers, $selected_supplier_id)
$html->print_template('show_order_parts');

$html->print_footer();
?>
2 changes: 0 additions & 2 deletions show_part_info.php
Original file line number Diff line number Diff line change
@@ -243,5 +243,3 @@
$html->print_template('show_part_info');

$html->print_footer();

?>
2 changes: 0 additions & 2 deletions show_search_parts.php
Original file line number Diff line number Diff line change
@@ -257,5 +257,3 @@
}

$html->print_footer();

?>
2 changes: 0 additions & 2 deletions start_session.php
Original file line number Diff line number Diff line change
@@ -289,5 +289,3 @@ function __autoload($classname)
include_once(BASE.'/lib/lib.functions.php');
include_once(BASE.'/lib/lib.debug.php');
include_once(BASE.'/lib/lib.php');

?>
2 changes: 0 additions & 2 deletions startup.php
Original file line number Diff line number Diff line change
@@ -235,5 +235,3 @@
$html->print_template('startup');

$html->print_footer();

?>
2 changes: 0 additions & 2 deletions statistics.php
Original file line number Diff line number Diff line change
@@ -97,5 +97,3 @@
$html->print_template('statistics');

$html->print_footer();

?>
2 changes: 0 additions & 2 deletions system_config.php
Original file line number Diff line number Diff line change
@@ -303,5 +303,3 @@ function build_custom_css_loop()
$html->print_template('system_config');

$html->print_footer();

?>
2 changes: 0 additions & 2 deletions system_database.php
Original file line number Diff line number Diff line change
@@ -211,5 +211,3 @@
$html->print_template('system_database');

$html->print_footer();

?>
2 changes: 0 additions & 2 deletions tools_calculator.php
Original file line number Diff line number Diff line change
@@ -56,5 +56,3 @@
$html->print_template('calculator');

$html->print_footer();

?>
3 changes: 0 additions & 3 deletions tools_footprints.php
Original file line number Diff line number Diff line change
@@ -158,6 +158,3 @@
$html->print_template('footprints');

$html->print_footer();

?>

3 changes: 0 additions & 3 deletions tools_iclogos.php
Original file line number Diff line number Diff line change
@@ -48,6 +48,3 @@
$html->print_template('iclogos');

$html->print_footer();

?>

2 changes: 0 additions & 2 deletions tools_import.php
Original file line number Diff line number Diff line change
@@ -239,5 +239,3 @@
}

$html->print_footer();

?>
3 changes: 0 additions & 3 deletions tools_labels.php
Original file line number Diff line number Diff line change
@@ -48,6 +48,3 @@
$html->print_template('labels');

$html->print_footer();

?>

2 changes: 0 additions & 2 deletions updates/config_update_steps.php
Original file line number Diff line number Diff line change
@@ -112,5 +112,3 @@ function update_users_config_php()

return $messages;
}

?>
2 changes: 0 additions & 2 deletions updates/db_update_steps.php
Original file line number Diff line number Diff line change
@@ -2527,5 +2527,3 @@ function get_db_update_steps($current_version)

return $updateSteps;
}

?>