"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/web/lib/fog/fogmanagercontroller.class.php" between
fogproject-1.5.8.tar.gz and fogproject-1.5.9.tar.gz

About: FOG is a Linux-based network computer cloning solution for Windows, Mac OSX and various Linux distributions that ties together a few open-source tools with a PHP-based web interface. FOG doesn’t use any boot disks, or CDs; everything is done via TFTP and PXE.

fogmanagercontroller.class.php  (fogproject-1.5.8):fogmanagercontroller.class.php  (fogproject-1.5.9)
skipping to change at line 840 skipping to change at line 840
* @return string * @return string
*/ */
public function buildSelectBox( public function buildSelectBox(
$matchID = '', $matchID = '',
$elementName = '', $elementName = '',
$orderBy = 'name', $orderBy = 'name',
$filter = '', $filter = '',
$template = false $template = false
) { ) {
global $node; global $node;
if ($node === 'image') { global $sub;
if ($node === 'image' && $sub === 'add') {
$waszero = false; $waszero = false;
if ($matchID === 0) { if ($matchID === 0) {
$waszero = true; $waszero = true;
$matchID = 9; //default to Windows 10 (9) $matchID = 9; //default to Windows 10 (9)
} }
} }
$elementName = trim($elementName); $elementName = trim($elementName);
if (empty($elementName)) { if (empty($elementName)) {
$elementName = strtolower($this->childClass); $elementName = strtolower($this->childClass);
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)