Skip to Content.
Sympa Menu

devel - Searching PNGs in the icons_url directory

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: address@concealed (Jérôme Marant)
  • To: address@concealed
  • Subject: Searching PNGs in the icons_url directory
  • Date: 18 Nov 2001 20:41:51 +0100


Hi,

Since you copied Apache icons in the WWSympa icons directory
and you converted them to PNGs, I think that you should change
the search path of those icons to icons_url, like this:

===============================================================
--- wwsympa.fcgi.orig Sun Nov 18 20:37:04 2001
+++ wwsympa.fcgi Sun Nov 18 20:36:11 2001
@@ -88,20 +88,21 @@

# hash of the icons linked with a type of file
my %icon_table;
+my $icons_url = $wwsconf{'icons_url'};

# application file
-$icon_table{'unknown'} = '/icons/unknown.png';
-$icon_table{'folder'} = '/icons/folder.png';
-$icon_table{'current_folder'} = '/icons/folder.open.png';
-$icon_table{'application'} = '/icons/unknown.png';
-$icon_table{'octet-stream'} = '/icons/binary.png';
-$icon_table{'audio'} = '/icons/sound1.png';
-$icon_table{'image'} = '/icons/image2.png';
-$icon_table{'text'} = '/icons/text.png';
-$icon_table{'video'} = '/icons/movie.png';
-$icon_table{'father'} = '/icons/back.png';
-$icon_table{'sort'} = '/icons/down.png';
-$icon_table{'url'} = '/icons/link.png';
+$icon_table{'unknown'} = "$icons_url/unknown.png";
+$icon_table{'folder'} = "$icons_url/folder.png";
+$icon_table{'current_folder'} = "$icons_url/folder.open.png";
+$icon_table{'application'} = "$icons_url/unknown.png";
+$icon_table{'octet-stream'} = "$icons_url/binary.png";
+$icon_table{'audio'} = "$icons_url/sound1.png";
+$icon_table{'image'} = "$icons_url/image2.png";
+$icon_table{'text'} = "$icons_url/text.png";
+$icon_table{'video'} = "$icons_url/movie.png";
+$icon_table{'father'} = "$icons_url/back.png";
+$icon_table{'sort'} = "$icons_url/down.png";
+$icon_table{'url'} = "$icons_url/link.png";
## Shared directory and description file

#$shared = 'shared';
===============================================================

Cheers,

--
Jérôme Marant <address@concealed>
<address@concealed>

http://marant.org




Archive powered by MHonArc 2.6.19+.

Top of Page