wiki: Move template icons to separate directory to protect them from option "--deletenotusedimages"

git-svn-id: trunk@49358 -
This commit is contained in:
wp 2015-06-17 08:43:32 +00:00
parent e2b4261852
commit 3d4af7e38c
4 changed files with 3 additions and 3 deletions

4
.gitattributes vendored
View File

@ -4248,8 +4248,8 @@ components/vlc/vlcqt.inc svneol=native#text/plain
components/wiki/README.txt svneol=native#text/plain
components/wiki/chm/wiki.css svneol=native#text/plain
components/wiki/html/wiki.css svneol=native#text/plain
components/wiki/images/note.png -text
components/wiki/images/warning.png -text
components/wiki/images/internal/note.png -text
components/wiki/images/internal/warning.png -text
components/wiki/lazwiki/lazwiki.lpk svneol=native#text/plain
components/wiki/lazwiki/lazwiki.pas svneol=native#text/plain
components/wiki/lazwiki/wiki2chmconvert.pas svneol=native#text/plain

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -845,7 +845,7 @@ begin
Node.AppendChild(childnode1);
childnode1.SetAttribute('class', 'icon');
if FUseTemplateIcons then begin
fn := FindImage(iconfile);
fn := FindImage('internal\'+iconfile);
if fn <> '' then
fn := GetImageLink(fn);
MarkImageAsUsed(fn, Page);