Dehardcoded the datamodel source files from the subdirectory "modules" - done!

SVN:trunk[1782]
This commit is contained in:
Romain Quetiez
2012-01-17 16:26:52 +00:00
parent 1da33effd8
commit 5e01e0659e
3 changed files with 3 additions and 3 deletions

View File

@@ -91,7 +91,7 @@
$sIcon = '';
if ($sIconName != '')
{
$sPath = '../modules/itop-change-mgmt-1.0.0/images/'.$sIconName;
$sPath = utils::GetAbsoluteUrlModulesRoot().'itop-change-mgmt-1.0.0/images/'.$sIconName;
if ($bImgTag)
{
$sIcon = "<img src=\"$sPath\" style=\"vertical-align:middle;\"/>";

View File

@@ -122,7 +122,7 @@
$sIcon = '';
if ($sIconName != '')
{
$sPath = '../modules/itop-incident-mgmt-1.0.0/images/'.$sIconName;
$sPath = utils::GetAbsoluteUrlModulesRoot().'itop-incident-mgmt-1.0.0/images/'.$sIconName;
if ($bImgTag)
{
$sIcon = "<img src=\"$sPath\" style=\"vertical-align:middle;\"/>";

View File

@@ -92,7 +92,7 @@
$sIcon = '';
if ($sIconName != '')
{
$sPath = '../modules/itop-request-mgmt-1.0.0/images/'.$sIconName;
$sPath = utils::GetAbsoluteUrlModulesRoot().'itop-request-mgmt-1.0.0/images/'.$sIconName;
if ($bImgTag)
{
$sIcon = "<img src=\"$sPath\" style=\"vertical-align:middle;\"/>";