Hello David,

you don´t have to change the pm file but the translation one. (it´s a po
file)

Do something like that on you pf server to find the file):

grep "I accept the terms" * -r

Then edit it and change the stuff you want.

Then in /usr/local/pf do:
make translation

Regards
Fabrice



Le jeu. 26 août 2021 à 15:55, David Herselman via PacketFence-users <
[email protected]> a écrit :

> Hi,
>
>
>
> We would like to be able to have an empty splash page, whereby
> aup_text.html is completely empty and the ‘I accept the terms’ is replaced
> with ‘Connect’.
>
>
>
> I’ve managed to rename the button:
>
> perl -i -pe 's/I accept the terms/Connect/g'
> /usr/local/pf/html/captive-portal/lib/captiveportal/PacketFence/Form/Widget/Field/AUP.pm;
>
>
>
> But I’m having problems removing ‘Null Source’. When I set ‘description’
> as empty or a white space in /usr/local/pf/conf/authentication.conf I get
> the following:
>
> [null]
>
> description=
>
> type=Null
>
> email_required=no
>
> dynamic_routing_module=AuthModule
>
>
>
>
>
> If I replace it with a period then it works and only display the period,
> how do I display nothing at all?
>
>
>
>
>
> Regards
>
> David Herselman
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to