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 '"', '<', '>' and ' ' 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=""<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/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>"">
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