Ne pas proposer la creation d'un sous domaine si nous n'avons pas de domaine

* close #1185

Not to propose subdomain option for a new accout when admin don't have domain.
This commit is contained in:
Camille Lafitte 2009-04-07 15:28:43 +00:00
parent a35bee4148
commit f3b7df4c49
1 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,7 @@ if ($error) {
</td> </td>
</tr> </tr>
<?php if (variable_get('hosting_tld') || $dom->enum_domains()) { ?>
<tr> <tr>
<th colspan="2"> <th colspan="2">
<input type="checkbox" name="create_dom" value="1" /> <input type="checkbox" name="create_dom" value="1" />
@ -119,6 +120,7 @@ if ($error) {
</select> </select>
</th> </th>
</tr> </tr>
<?php } ?>
<tr> <tr>
<td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Create a new member"); ?>" /></td> <td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Create a new member"); ?>" /></td>
</tr> </tr>