Torry to better help you what version of PacketFence are you running?

James Rouzier
[email protected] :: +1.514.447.4918 (x115)  ::  http://www.inverse.ca
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence 
(http://www.packetfence.org)

On 2016-05-31 9:24 AM, Torry, Andrew wrote:

When a block of user accounts are created and we wish to print out these on sheet by sheet basis

the AUP is included on each sheet and is extracted from pf/html/captive-portal/templates/aup_text.html

Our AUP is tabulated using embedded HTML and customisation and this is being included in the printout as

gobbledegook:-

<br><b>Any user detected to be in breach of this agreement will be barred from using <b>The Network</b> and further action

may be taken commensurate with the offence together with any statutory legal requirements.</p></b><br><b><big>The Network must

not be used for any of the following:-</b></big><br><br><DL><DT><b>Deliberate <i>(or attempted)</i> unauthorised access to services on other networks;</b>

</DL><DL><DT><b>The creation, transmission or retrieval of:-</b><DD>Any offensive, obscene or indecent images;<DD>Data <i>(in any form)</i>

that is capable of being resolved into such images;<DD>The accessing of any web site that give access to, or references such images;<DD>

Material intended to <i>(or is likely to)</i>, cause annoyance, inconvenience or anxiety to others;<DD>Any material of a defamatory nature;

<DD>Any material that would infringe the copyright of another person <i>(e.g. The use of Peer-Peer software)</i>;<DD>Unsolicited commercial

or advertising materia…

It prints as a continuous unbroken line of text and is unreadable.

It gets the output from the ‘aup’ subroutine in /pf/lib/pf/web/guest.pm.

I suppose could simply create a new subroutine ‘aup_text’ in the same file that reads a text only version of the same AUP.

But this ‘mod’ will get broken in the next update - yes?

Is there a way of getting it to use an ASCII printable copy without mashing up our aup_text.html file.

Andrew



------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e


_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to