From e59112dcb74b50f5326f655077f0e2beeb181dc7 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Thu, 4 May 2006 20:27:38 +0000
Subject: [PATCH] Updated for new graphics directory (images/default).

---
 exec/ftp-web-html.js | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/exec/ftp-web-html.js b/exec/ftp-web-html.js
index b205bc83c7..65f9ab38d3 100644
--- a/exec/ftp-web-html.js
+++ b/exec/ftp-web-html.js
@@ -58,7 +58,7 @@ writeln("<meta http-equiv='Content-Type' content='text/html; charset=IBM437'>");
 writeln('<link rel="stylesheet" type="text/css" href="http://' + format("%s:%s",system.host_name, http_port) + '/synchronet.css">');
 
 writeln("</head>");
-writeln('<body style="background-image: url(http://' + format("%s:%s",system.host_name, http_port) +'/graphics/bg_grad.jpg)";>');
+writeln('<body style="background-image: url(http://' + format("%s:%s",system.host_name, http_port) +'/images/default/bg_grad.jpg)";>');
 //writeln(font_face);
 
 writeln('<table class="welcome_main" width="95%"><tr><td>');
@@ -186,13 +186,13 @@ if(!(user.security.restrictions&UFLAG_G) && system.matchuser("Guest")) { /* !Gue
 
 writeln('<table align="center" width="100%"  border="0" cellspacing="0" cellpadding="0">');
     writeln('<tr>');
-    writeln('<td style="background-image: url(http://' + format("%s:%s",system.host_name, http_port) + '/graphics/tnav_bg.gif); background-repeat: repeat-x; text-align: left;" width="1%"><img src="http://' + format("%s:%s"
+    writeln('<td style="background-image: url(http://' + format("%s:%s",system.host_name, http_port) + '/images/default/tnav_bg.gif); background-repeat: repeat-x; text-align: left;" width="1%"><img src="http://' + format("%s:%s"
         ,system.host_name
         ,http_port) 
-        + '/graphics/tnav_left.gif" width="5" height="32" alt="" /></td>');
+        + '/images/default/tnav_left.gif" width="5" height="32" alt="" /></td>');
     writeln('<td style="background-image: url(http://' 
         + format("%s:%s",system.host_name, http_port) 
-        + '/graphics/tnav_bg.gif); background-repeat: repeat-x;">');
+        + '/images/default/tnav_bg.gif); background-repeat: repeat-x;">');
         if(ftp.curlib.name==undefined) 
             writeln('<span class="tlink">FTP Server Root</span>');
         else
@@ -210,8 +210,8 @@ if(ftp.curdir.name!=undefined)
 if(ftp.curdir.settings!=undefined && ftp.curdir.settings&DIR_FREE)
     write(" - FREE");
     writeln('</td>');
-    writeln('<td style="background-image: url(http://' + format("%s:%s",system.host_name, http_port) + '/graphics/tnav_bg.gif); background-repeat: repeat-x; text-align: right;" width="1%"><img src="http://' + format("%s:%s",system.host_name, http_port) 
-        + '/graphics/tnav_right.gif" width="5" height="32" alt="" /></td>');
+    writeln('<td style="background-image: url(http://' + format("%s:%s",system.host_name, http_port) + '/images/default/tnav_bg.gif); background-repeat: repeat-x; text-align: right;" width="1%"><img src="http://' + format("%s:%s",system.host_name, http_port) 
+        + '/images/default/tnav_right.gif" width="5" height="32" alt="" /></td>');
     writeln('</tr>');
 writeln('</table>');
 writeln('<br />');
-- 
GitLab