소스 검색

clientareafunctions

andre 3 년 전
부모
커밋
ec83ff0b2e
1개의 변경된 파일7개의 추가작업 그리고 2개의 파일을 삭제
  1. 7 2
      cwp7_add_subdomain.tpl

+ 7 - 2
cwp7_add_subdomain.tpl

@@ -41,8 +41,13 @@
 										<form style="display:flex;flex-direction:row;align-items:center;justify-content: space-between;" method="post" action="clientarea.php?action=productdetails">
 											<input type="hidden" name="id" value="{$id}" />
 											<input type="hidden" name="modop" value="custom" />
-											<input type="hidden" name="a" value="addDomain" />
-											<input style="margin-right:20px;" class="form-control" type="text" maxlength=256 name="d" /> 
+                                            <input type="hidden" name="a" value="addSubdomain" />
+                                            <select name="d">
+                                                {foreach $domains as $domain}
+                                                    <option value="{$domain}">{$domain}</option>
+                                                {/foreach}
+                                            </select> 
+											<input style="margin-right:20px;" class="form-control" type="text" maxlength=256 name="s" /> 
 											<button type="submit" class="btn btn-primary">
 												Erstellen
 											</button>