Bläddra i källkod

Changed images paths into relative path (../images where it was still /images)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@107 a333f486-631f-4898-b8df-5754b55c2be0
romainq 16 år sedan
förälder
incheckning
09f2c2c38e

+ 1 - 1
application/itopwebpage.class.inc.php

@@ -247,7 +247,7 @@ EOF
 		// Display the header
 		echo "<div id=\"Header\">\n";
 		echo "<div class=\"iTopLogo\"><span>iTop</span></div>\n";
-		//echo "<div id=\"GlobalSearch\"><div style=\"border: 1px solid #999; padding:1px; background-color:#fff;\"><img src=\"/images/magnifier.gif\"/><input style=\"border:0\" type=\"text\" size=\"15\" title=\"Global Search\"></input></div></div>\n";
+		//echo "<div id=\"GlobalSearch\"><div style=\"border: 1px solid #999; padding:1px; background-color:#fff;\"><img src=\"../images/magnifier.gif\"/><input style=\"border:0\" type=\"text\" size=\"15\" title=\"Global Search\"></input></div></div>\n";
 		$sText = Utils::ReadParam('text', '');
 		$sOnClick = "";
 		if (empty($sText))

+ 1 - 1
application/itopwizardwebpage.class.inc.php

@@ -24,7 +24,7 @@ class iTopWizardWebPage extends iTopWebPage
     		$sStyle = ($iIndex == $this->m_iCurrentStep) ? 'wizActiveStep' : 'wizStep';
     		$aSteps[] = "<div class=\"$sStyle\"><span>$sStepTitle</span></div>";
     	}
-    	$sWizardHeader = "<div class=\"wizHeader\"><h1>{$this->s_title}</h1>\n".implode("<div class=\"wizSeparator\"><img align=\"bottom\" src=\"/images/wizArrow.gif\"></div>", $aSteps)."<br style=\"clear:both;\"/></div>\n";
+    	$sWizardHeader = "<div class=\"wizHeader\"><h1>{$this->s_title}</h1>\n".implode("<div class=\"wizSeparator\"><img align=\"bottom\" src=\"../images/wizArrow.gif\"></div>", $aSteps)."<br style=\"clear:both;\"/></div>\n";
     	$this->s_content = "$sWizardHeader<div class=\"wizContainer\">".$this->s_content."</div>";
     	parent::output();
 	}

+ 11 - 11
css/blue_green.css

@@ -151,15 +151,15 @@ ul.dir li {
 }
 
 .treeview li { background: url(../images/tv-item.gif) 0 0 no-repeat; }
-.treeview .collapsable { background-image: url(/images/tv-collapsable.gif); }
-.treeview .expandable { background-image: url(/images/tv-expandable.gif); }
-.treeview .last { background-image: url(/images/tv-item-last.gif); }
-.treeview .lastCollapsable { background-image: url(/images/tv-collapsable-last.gif); }
-.treeview .lastExpandable { background-image: url(/images/tv-expandable-last.gif); }
+.treeview .collapsable { background-image: url(../images/tv-collapsable.gif); }
+.treeview .expandable { background-image: url(../images/tv-expandable.gif); }
+.treeview .last { background-image: url(../images/tv-item-last.gif); }
+.treeview .lastCollapsable { background-image: url(../images/tv-collapsable-last.gif); }
+.treeview .lastExpandable { background-image: url(../images/tv-expandable-last.gif); }
 
-#Header { padding: 0; background:#ccc url(/images/bandeau2.gif) repeat-x center;}
+#Header { padding: 0; background:#ccc url(../images/bandeau2.gif) repeat-x center;}
 div.iTopLogo {
-	background:url(/images/iTop.gif) no-repeat center;
+	background:url(../images/iTop.gif) no-repeat center;
 	width:100px;
 	height:56px;
 }
@@ -208,15 +208,15 @@ div.iTopLogo span {
 #MySplitter .vsplitbar {
 	width: 7px;
 	height: 50px;
-	background: #68a url(/images/vgrabber2.gif) no-repeat  center;
+	background: #68a url(../images/vgrabber2.gif) no-repeat  center;
 }
 #MySplitter .vsplitbar.active, #MySplitter .vsplitbar:hover {
-	background: #68a url(/images/vgrabber2_active.gif) no-repeat  center;
+	background: #68a url(../images/vgrabber2_active.gif) no-repeat  center;
 }
 #MySplitter .hsplitbar {
 	height: 8px;
-	background: #68a url(/images/hgrabber2.gif) no-repeat center;
+	background: #68a url(../images/hgrabber2.gif) no-repeat center;
 }
 #MySplitter .hsplitbar.active, #MySplitter .hsplitbar:hover {
-	background: #68a url(/images/hgrabber2_active.gif) no-repeat center;
+	background: #68a url(../images/hgrabber2_active.gif) no-repeat center;
 }

+ 8 - 8
css/jquery.treeview.css

@@ -34,14 +34,14 @@
 
 .treeview .hover { color: red; cursor: pointer; }
 
-.treeview li { background: url(/images/tv-item.gif) 0 0 no-repeat; }
-.treeview .collapsable { background-image: url(/images/tv-collapsable.gif); }
-.treeview .expandable { background-image: url(/images/tv-expandable.gif); }
-.treeview .last { background-image: url(/images/tv-item-last.gif); }
-.treeview .lastCollapsable { background-image: url(/images/tv-collapsable-last.gif); }
-.treeview .lastExpandable { background-image: url(/images/tv-expandable-last.gif); }
+.treeview li { background: url(../images/tv-item.gif) 0 0 no-repeat; }
+.treeview .collapsable { background-image: url(../images/tv-collapsable.gif); }
+.treeview .expandable { background-image: url(../images/tv-expandable.gif); }
+.treeview .last { background-image: url(../images/tv-item-last.gif); }
+.treeview .lastCollapsable { background-image: url(../images/tv-collapsable-last.gif); }
+.treeview .lastExpandable { background-image: url(../images/tv-expandable-last.gif); }
 
 .filetree li { padding: 3px 0 1px 16px; }
 .filetree span.folder, .filetree span.file { padding-left: 16px; display: block; height: 15px; }
-.filetree span.folder { background: url(/images/folder.gif) 0 0 no-repeat; }
-.filetree span.file { background: url(/images/file.gif) 0 0 no-repeat; }
+.filetree span.folder { background: url(../images/folder.gif) 0 0 no-repeat; }
+.filetree span.file { background: url(../images/file.gif) 0 0 no-repeat; }

+ 4 - 4
css/light-grey.css

@@ -482,7 +482,7 @@ ul.jd_menu_itop ul li.jd_menu_hover a.jd_menu_hover {
 }
 div.wizActiveStep {
 	height: 29px;
-	background: url(/images/wizActiveStepLeft.gif) no-repeat left;
+	background: url(../images/wizActiveStepLeft.gif) no-repeat left;
 	color: #d81515;
 	padding-left: 8px;
 	margin-top: 5px;
@@ -491,7 +491,7 @@ div.wizActiveStep {
 }
 div.wizActiveStep span {
 	height: 29px;
-	background: url(/images/wizActiveStepRight.gif) no-repeat top right;
+	background: url(../images/wizActiveStepRight.gif) no-repeat top right;
 	padding-right: 8px;
 	padding-top: 8px;
 	float:left;
@@ -499,7 +499,7 @@ div.wizActiveStep span {
 
 div.wizStep {
 	height: 29px;
-	background: url(/images/wizStepLeft.gif) no-repeat left;
+	background: url(../images/wizStepLeft.gif) no-repeat left;
 	padding-left: 8px;
 	vertical-align: middle;
 	margin-top: 5px;
@@ -507,7 +507,7 @@ div.wizStep {
 }
 div.wizStep span {
 	height: 29px;
-	background: url(/images/wizStepRight.gif) no-repeat top right;
+	background: url(../images/wizStepRight.gif) no-repeat top right;
 	padding-right: 8px;
 	padding-top: 8px;
 	float:left;