Hello!

I want to give our users the opportunity to customize the templates.
Therefore I used allow_in_form.
Now my problem:

How can I custumize things like page_number_text with HTML like the
example from the default htdig.conf? 

page_number_text: "<img src=/img/button1.gif border=0 align=middle
width=30 height=30 alt=1>" 
                  "<img src=/img/button2.gif border=0 align=middle
width=30 height=30 alt=2>" 
                  "<img src=/img/button3.gif border=0 align=middle
width=30 height=30 alt=3>" 
                  "<img src=/img/button4.gif border=0 align=middle
width=30 height=30 alt=4>" 
                  "<img src=/img/button5.gif border=0 align=middle
width=30 height=30 alt=5>" 
                  "<img src=/img/button6.gif border=0 align=middle
width=30 height=30 alt=6>" 
                  "<img src=/img/button7.gif border=0 align=middle
width=30 height=30 alt=7>" 
                  "<img src=/img/button8.gif border=0 align=middle
width=30 height=30 alt=8>" 
                  "<img src=/img/button9.gif border=0 align=middle
width=30 height=30 alt=9>" 
                  "<img src=/img/button10.gif border=0 align=middle
width=30 height=30 alt=10>"

If I use '&#34;', '&lt;', '&gt;' and '&#32;' to mask the related
characters in the hidden field I use to configure page_number_text, it
is possible to draw the pagelist with the images I wanted to use. The
result is a construct like that:

<input type="hidden" name="page_number_text"
value="&#34;&lt;img&#32;src=/img/button1.gif&#32;border=0&#32;align=middle&#32;width=30&#32;height=30&#32;alt=1&gt;&#34;
&#34;&lt;img&#32;src=/img/button2.gif&#32;border=0&#32;align=middle&#32;width=30&#32;height=30&#32;alt=2&gt;&#34;
&#34;&lt;img&#32;src=/img/button3.gif&#32;border=0&#32;align=middle&#32;width=30&#32;height=30&#32;alt=3&gt;&#34;
  
&#34;&lt;img&#32;src=/img/button5.gif&#32;border=0&#32;align=middle&#32;width=30&#32;height=30&#32;alt=5&gt;&#34;
 
&#34;&lt;img&#32;src=/img/button6.gif&#32;border=0&#32;align=middle&#32;width=30&#32;height=30&#32;alt=6&gt;&#34;
 
&#34;&lt;img&#32;src=/img/button7.gif&#32;border=0&#32;align=middle&#32;width=30&#32;height=30&#32;alt=7&gt;&#34;
 
&#34;&lt;img&#32;src=/img/button8.gif&#32;border=0&#32;align=middle&#32;width=30&#32;height=30&#32;alt=8&gt;&#34;
 
&#34;&lt;img&#32;src=/img/button9.gif&#32;border=0&#32;align=middle&#32;width=30&#32;height=30&#32;alt=9&gt;&#34;
 
&#34;&lt;img&#32;src=/img/button10.gif&#32;border=0&#32;align=middle&#32;width=30&#32;height=30&#32;alt=10&gt;&#34;">

The links in the resulting pagelist are corrupted.

Is it possible to use HTML in these attributes or do I have to use
additional attributes to avoid this problem?


Thanks in advance


Berthold Cogel

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to