More Apache/Nginx custom template tokens (SKINS)

Version 1.46.1

Feature
Finished

In addition to the |CUSTOM| token for the virtual_host2*.conf and nginx_server*.conf templates, DA now also supports |CUSTOM1| |CUSTOM2| |CUSTOM3| |CUSTOM4| added to various places in the templates, so you'd likely no longer need to make custom template copies to use the custom httpd configuration options, if you needed them in the past. New files will be: /usr/local/directadmin/data/users/username/domains/ domain.com.cust_httpd.1 domain.com.cust_httpd.2 domain.com.cust_httpd.3 domain.com.cust_httpd.4 domain.com.cust_nginx.1 domain.com.cust_nginx.2 domain.com.cust_nginx.3 domain.com.cust_nginx.4 =========================================================== SKINS: admin/custom_httpd_domain.html added: <textarea name=custom1>|CUSTOM1|</textarea> <textarea name=custom2>|CUSTOM2|</textarea> <textarea name=custom3>|CUSTOM3|</textarea> <textarea name=custom4>|CUSTOM4|</textarea> See the enhanced skin for javascript toggling of the customX tr display. ---------------- files_user.conf JS_VISIBILITY=visibility.js plus the new visibility.js for hide/show toggle code. ------------------ style.css .expand_toggle_neg { padding-left: 5px; padding-right: 5px; } .expand_toggle_plus { padding-left: 3px; padding-right: 3px; } .expand_toggle_neg:active, .expand_toggle_plus:active { background: #666e8a; border: 1px inset #c5cff1; box-shadow: none; } .expand_toggle_neg, .expand_toggle_plus { background: #98a5d2; color: white; margin-right: 10px; #padding: 1px; border-radius: 3px; border: 1px outset #c5cff1; box-shadow: 1px 1px 3px #969696; cursor:pointer; }

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