Don't show CA profiles in Add Container list

This commit is contained in:
Squidly271
2020-12-01 12:54:57 -05:00
committed by GitHub
parent 24cac77700
commit 70cac0cb64
@@ -698,6 +698,7 @@ _(Template)_:
$title = ucfirst($section)." templates";
printf("<optgroup class='title bold' label='[ %s ]'>", htmlspecialchars($title));
foreach ($template as $value){
if ( $value['name'] == "my-ca_profile" || $value['name'] == "ca_profile" ) continue;
$name = str_replace('my-', '', $value['name']);
$selected = (isset($xmlTemplate) && $value['path']==$xmlTemplate) ? ' selected ' : '';
if ($selected && $section=='default') $showAdditionalInfo = 'advanced';