Author Topic: Customizing the Proxy dansguard page  (Read 4187 times)

Nicarlo

  • Zen Apprentice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Customizing the Proxy dansguard page
« on: January 11, 2008, 03:30:41 pm »
Could someone point me to the right direction to which files i would need to configure in order to change the dansguardian banned/blocked page ?

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: Customizing the Proxy dansguard page
« Reply #1 on: January 11, 2008, 03:36:31 pm »
There are several HTML templates under /etc/dansguardian/languages/ directory where you may modify the one which corresponds to your language if installed. eBox does not handle them.

Best regards,
« Last Edit: January 12, 2008, 10:04:18 am by sixstone »
My secret is my silence...

Nicarlo

  • Zen Apprentice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Customizing the Proxy dansguard page
« Reply #2 on: January 11, 2008, 09:40:46 pm »
awesome this is exactly what ive been looking for

Thank you very much !

mds

  • Zen Apprentice
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Customizing the Proxy dansguard page
« Reply #3 on: January 16, 2008, 07:33:05 pm »
There are several HTML templates under /etc/dansguardian/languages/ directory where you may modify the one which corresponds to your language if installed. eBox does not handle them.

Best regards,


Sorry this HIjack, but I have a question concerned this. I have changed in dansguardian.conf the language from ukenglish to portuguese, and restarted the proxy via web, and wen visited a denied site I get ann proxy error and 1 or 2 minutes later it was again on english. It has reconfigured dansguardian.conf again for english. I have inside the folder languages the folder portuguese with 2 files.

I would apreciate any coment.

Thank's
Manuel.

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: Customizing the Proxy dansguard page
« Reply #4 on: January 17, 2008, 08:53:21 am »
You just hit a bug in eBox :). I meant the language set in dansguardian page is set by eBox programatically and currently it is not done correctly. If you want to set manually the language for dansguardian, you can do it at /usr/share/ebox/stubs/squid/dansguardian.conf.mas by changing line 12:
Code: [Select]
language = <% lang %>to
Code: [Select]
language = portuguese.

Best regards and thanks for your feedback.
My secret is my silence...

mds

  • Zen Apprentice
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Customizing the Proxy dansguard page
« Reply #5 on: January 18, 2008, 10:43:55 am »
Thank's it is allready in portuguese(Brasilian portuguese).

I think that it should have pt_pt (portuguese) and pt_br (brasilian portuguese).

Thank´s