Print Download PDF Send Feedback

Previous

Next

Customizing Text Strings

You can customize some aspects of the web interface. This includes changes to the text strings shown on the Captive Portal Network Login page. You can make changes to the default English language or edit files to show text strings in other languages.

You can change English text that is shown on the Captive Portal to different English text through the SmartConsole. The changes are saved in the database and can be upgraded.

To configure other languages to show text strings in a specified language on the Captive Portal, you must configure language files. These language files are saved on the Security Gateway and cannot be upgraded. If you upgrade the Security Gateway, these files must be configured again.

To help you understand what each string ID means, you can set the Captive Portal to String ID Help Mode. This mode lets you view the string IDs used for the text captions.

Setting Captive Portal to String ID Help Mode

To set the Captive Portal to String ID Help mode:

  1. On the Security Gateway, open the file:

    /opt/CPNacPortal/phpincs/utils/L10N.php

  2. Replace the line // return $stringID; with return $stringID;
    (delete the two backslashes that you see before the text return $stringID).
  3. Reload the Captive Portal in your web browser.

    The Captive Portal opens showing the string IDs.

  4. To revert to regular viewing mode, open the file L10N.php and put backslashes before the text return #stringID. See the highlighted text in step number 2 above.

Changing Portal Text in SmartConsole

To change the text that shows in SmartConsole:

  1. In SmartConsole, go to Menu > Global properties...
  2. In the left navigation tree, click Advanced > Configure...
  3. Go to Identity Awareness > Portal Texts.
  4. Delete the word DEFAULT and type the new English text in the required field.
  5. Click OK.
  6. Install the policy.