"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/web/lib/plugins/location/pages/locationmanagementpage.class.php" between
fogproject-1.5.5.tar.gz and fogproject-1.5.6.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.

locationmanagementpage.class.php  (fogproject-1.5.5):locationmanagementpage.class.php  (fogproject-1.5.6)
skipping to change at line 108 skipping to change at line 108
array() array()
); );
/** /**
* Lambda function to return data either by list or search. * Lambda function to return data either by list or search.
* *
* @param object $Location the object to use * @param object $Location the object to use
* *
* @return void * @return void
*/ */
self::$returnData = function (&$Location) { self::$returnData = function (&$Location) {
$sn = empty($Location->storagenode->name) ? '*' : $Location->storage node->name;
$this->data[] = array( $this->data[] = array(
'id' => $Location->id, 'id' => $Location->id,
'name' => $Location->name, 'name' => $Location->name,
'storageGroup' => $Location->storagegroup->name, 'storageGroup' => $Location->storagegroup->name,
'storageNode' => $Location->storagenode->name, 'storageNode' => $sn,
'tftp' => $Location->tftp ? _('Yes') : _('No'), 'tftp' => $Location->tftp ? _('Yes') : _('No'),
); );
unset($Location); unset($Location);
}; };
} }
/** /**
* Show form for creating a new location entry. * Show form for creating a new location entry.
* *
* @return void * @return void
*/ */
 End of changes. 2 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)