From 67b0cb394d6b89b19087c285765285806e7da95c Mon Sep 17 00:00:00 2001 From: Marius Burkard <m.burkard@pixcept.de> Date: Fri, 12 Feb 2016 06:21:27 -0500 Subject: [PATCH] Closes #3754 and #3755 - added limit for letsencrypt and directive snippets selector to client limits - hide ssl tab if letsencrypt is selected --- interface/web/sites/templates/web_vhost_domain_edit.htm | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/interface/web/sites/templates/web_vhost_domain_edit.htm b/interface/web/sites/templates/web_vhost_domain_edit.htm index 8ba2825..ca2b7ed 100644 --- a/interface/web/sites/templates/web_vhost_domain_edit.htm +++ b/interface/web/sites/templates/web_vhost_domain_edit.htm @@ -210,12 +210,14 @@ {tmpl_var name='ssl'} </div> </div> + <tmpl_if name="limit_ssl_letsencrypt" op="==" value="y"> <div class="form-group"> <label class="col-sm-3 control-label">{tmpl_var name='ssl_letsencrypt_txt'}</label> <div class="col-sm-9"> {tmpl_var name='ssl_letsencrypt'} </div> </div></tmpl_if> + </tmpl_if> <div class="form-group"> <label for="php" class="col-sm-3 control-label">{tmpl_var name='php_txt'}</label> <div class="col-sm-9"><select name="php" id="php" class="form-control"> @@ -229,12 +231,12 @@ {tmpl_var name='fastcgi_php_version'} </select></div> </div> - <div class="form-group"> + <tmpl_if name="limit_directive_snippets" op="==" value="y"><div class="form-group"> <label for="directive_snippets_id" class="col-sm-3 control-label">{tmpl_var name='directive_snippets_id_txt'}</label> <div class="col-sm-9"><select name="directive_snippets_id" id="directive_snippets_id" class="form-control"> {tmpl_var name='directive_snippets_id'} </select></div> - </div> + </div></tmpl_if> {tmpl_hook name="field_enable_pagespeed"} <div class="form-group nginx pagespeed"> <label class="col-sm-3 control-label">{tmpl_var name='enable_pagespeed_txt'}</label> -- Gitblit v1.9.1