瀏覽代碼

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

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1782 a333f486-631f-4898-b8df-5754b55c2be0
romainq 13 年之前
父節點
當前提交
dda823ae73

+ 1 - 1
modules/itop-change-mgmt-1.0.0/datamodel.itop-change-mgmt.xml

@@ -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;\"/>";

+ 1 - 1
modules/itop-incident-mgmt-1.0.0/datamodel.itop-incident-mgmt.xml

@@ -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;\"/>";

+ 1 - 1
modules/itop-request-mgmt-1.0.0/datamodel.itop-request-mgmt.xml

@@ -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;\"/>";