mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-18 16:18:47 +02:00
About box - alpha version
SVN:trunk[3005]
This commit is contained in:
@@ -1394,7 +1394,25 @@ EOF
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an array of xml nodes describing the licences
|
||||
*/
|
||||
static public function GetLicenses()
|
||||
{
|
||||
$aLicenses = array();
|
||||
foreach (glob(APPROOT.'setup/licenses/*.xml') as $sFile)
|
||||
{
|
||||
$oXml = simplexml_load_file($sFile);
|
||||
foreach($oXml->license as $oLicense)
|
||||
{
|
||||
$aLicenses[] = $oLicense;
|
||||
}
|
||||
}
|
||||
return $aLicenses;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper class to write rules (as PHP expressions) in the 'auto_select' field of the 'module'
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user