Added 300 messages and defaulting url link to domain rendered

This commit is contained in:
Deon George
2014-06-25 14:33:54 +10:00
parent f64d1fbf75
commit a8f403f8fe
3 changed files with 21 additions and 1 deletions

View File

@@ -3,7 +3,7 @@
<legend>Create New Short Cut</legend>
<select id="domain" class="span2" name="domain" class="input-medium">
<?php foreach ($domains as $do): ?>
<option><?php echo $do->domain; ?></option>
<option <?php echo ($do->domain == $_SERVER['HTTP_HOST']) ? 'selected="selected"' : '' ?>><?php echo $do->domain; ?></option>
<?php endforeach ?>
</select>
<label>/</label>
@@ -15,4 +15,8 @@
<span class="help-block" id="help-url">To point to which URL?</span>
<button type="submit" class="btn" disabled>Submit</button>
</fieldset>
<br/>
<fieldset>
<legend>This domain may be for <a href="http://www.afternic.com/leenooks">sale</a>!</legend>
</fieldset>
</form>