koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-devel] [Bug 297] Images missing on View Account page


From: Thien Ho
Subject: Re: [Koha-devel] [Bug 297] Images missing on View Account page
Date: Wed Apr 23 08:15:11 2003

On 23 Apr 2003 address@hidden wrote:

> Date: 23 Apr 2003 12:47:00 -0000
> From: address@hidden
> To: address@hidden
> Subject: [Koha-devel] [Bug 297] Images missing on View Account page
>
> http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=297

I found that there are lots of files (.pl, .inc, .tmpl) with wrong path
for image file. I haven't fixed error in .pl files yet. So I search for
all files with those errors, then add <TMPL_VAR NAME='themelang'> to its
path:

shell $ find path_to_koha/ -type f -exec grep "=\"\/images" {} \; -fprint
image.lst


Then remove all lines ending with ".pl".
Next, use Perl to add <TMPL_VAR NAME='themelang'>:

shell $ for file in `cat image.lst`; do perl -pi -e
"s/=\"\/images/=\"<TMPL_VAR NAME='themelang'>\/images/g" $file; done


Repeat again for links without double-quotes (ie. <img src=/images...>),
and possibly, links with single-quote.


Thien
address@hidden
SDF Public Access UNIX System - http://sdf.lonestar.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]