Ability to hide and block "Domain Setup" page (SKINS)

Version 1.4

Feature
Finished

New global token: |ALLOWED_CMD_DOMAIN| will be set to yes or no, depending if the User is allowed to run: CMD_DOMAIN The way to control the running of that command is with the commands.allow and/or commands.deny. For this case, generally, you'd just add: CMD_DOMAIN CMD_ADDITIONAL_DOMAINS CMD_API_DOMAIN CMD_API_ADDITIONAL_DOMAINS to the file: /usr/local/directadmin/data/users/username/commands.deny Related feature: http://www.directadmin.com/features.php?id=1171 http://www.directadmin.com/forum/showthread.php?p=211408#post211408 ----------------------- SKINS: user/content_main.html user/show_domain.html Add this around the href to CMD_ADDITIONAL_DOMAINS to hide the link: |*if ALLOWED_CMD_DOMAIN!="no"| .... url .... |*endif| we use "not no" instead of "is yes", to be backwards compatible, in case they use a new skin for an old version of DA. The old versions of DA would be blank, so "is yes" would fail, but "not no" will succeed if blank.

Interested to try DirectAdmin? Get a 30-day Free Trial!