Commit 249541af authored by redray's avatar redray

fixed some textarea display stuff

parent cd969863
......@@ -173,9 +173,10 @@ if($_POST['create'] == 1) {
$expire = $app->db->quote($vars['expire']);
$minimum = $app->db->quote($vars['minimum']);
$ttl = $app->db->quote($vars['ttl']);
$xfer = $app->db->quote($vars['xfer']);
$insert_data = "(`sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `server_id`, `origin`, `ns`, `mbox`, `serial`, `refresh`, `retry`, `expire`, `minimum`, `ttl`, `active`, `xfer`) VALUES
('$sys_userid', '$sys_groupid', 'riud', 'riud', '', '$server_id', '$origin', '$ns', '$mbox', '1', '$refresh', '$retry', '$expire', '$minimum', '$ttl', 'Y', '')";
('$sys_userid', '$sys_groupid', 'riud', 'riud', '', '$server_id', '$origin', '$ns', '$mbox', '1', '$refresh', '$retry', '$expire', '$minimum', '$ttl', 'Y', '$xfer')";
$dns_soa_id = $app->db->datalogInsert('dns_soa', $insert_data, 'id');
// Insert the dns_rr records
......
<h2><tmpl_var name="list_head_txt"></h2>
<div class="panel panel_dns_soa">
<div class="pnl_formsarea">
<fieldset id="wf_area_dns_soa"><legend>DNS Zone</legend>
<tmpl_if name="is_admin">
<span class="wf_oneField">
<label for="server_id" class="wf_preField">{tmpl_var name='server_id_txt'}</label>
<select id="server_id" name="server_id">{tmpl_var name='server_id'}</select>
</span>
<span class="wf_oneField">
<label for="client_group_id" class="wf_preField">{tmpl_var name='client_txt'}</label>
<select id="client_group_id" name="client_group_id">{tmpl_var name='client_group_id'}</select>
</span>
</tmpl_if>
<tmpl_if name="is_reseller">
<span class="wf_oneField">
<label for="client_group_id" class="wf_preField">{tmpl_var name='client_txt'}</label>
<select id="client_group_id" name="client_group_id">{tmpl_var name='client_group_id'}</select>
</span>
</tmpl_if>
<span class="wf_oneField">
<label for="origin" class="wf_preField">{tmpl_var name='origin_txt'}</label>
<input type="text" id="origin" name="origin" value="{tmpl_var name='origin'}" size="30" maxlength="255"> e.g. domain.tld
</span>
<span class="wf_oneField">
<label for="ns" class="wf_preField">{tmpl_var name='ns_txt'}</label>
<input type="text" id="ns" name="ns" value="{tmpl_var name='ns'}" size="30" maxlength="255"> e.g. ns1.domain.tld
</span>
<span class="wf_oneField">
<label for="mbox" class="wf_preField">{tmpl_var name='mbox_txt'}</label>
<input type="text" id="mbox" name="mbox" value="{tmpl_var name='mbox'}" size="30" maxlength="255"> e.g. webmaster.domain.tld
</span>
<span class="wf_oneField">
<label for="refresh" class="wf_preField">{tmpl_var name='refresh_txt'}</label>
<input type="text" id="refresh" name="refresh" value="{tmpl_var name='refresh'}" size="10" maxlength="10"> Seconds
</span>
<span class="wf_oneField">
<label for="retry" class="wf_preField">{tmpl_var name='retry_txt'}</label>
<input type="text" id="retry" name="retry" value="{tmpl_var name='retry'}" size="10" maxlength="10"> Seconds
</span>
<span class="wf_oneField">
<label for="expire" class="wf_preField">{tmpl_var name='expire_txt'}</label>
<input type="text" id="expire" name="expire" value="{tmpl_var name='expire'}" size="10" maxlength="10"> Seconds
</span>
<span class="wf_oneField">
<label for="minimum" class="wf_preField">{tmpl_var name='minimum_txt'}</label>
<input type="text" id="minimum" name="minimum" value="{tmpl_var name='minimum'}" size="10" maxlength="10"> Seconds
</span>
<span class="wf_oneField">
<label for="ttl" class="wf_preField">{tmpl_var name='ttl_txt'}</label>
<input type="text" id="ttl" name="ttl" value="{tmpl_var name='ttl'}" size="10" maxlength="10"> Seconds
</span>
<span class="wf_oneField">
<label for="xfer" class="wf_preField">{tmpl_var name='xfer_txt'}</label>
<input type="text" id="xfer" name="xfer" value="{tmpl_var name='xfer'}" size="30" maxlength="255">
</span>
<span class="wf_oneField">
<label for="active" class="wf_preField">{tmpl_var name='active_txt'}</label>
<span class="">{tmpl_var name='active'}</span>
</span>
</fieldset>
<input type="hidden" name="id" value="{tmpl_var name='id'}">
<input name="serial" type="hidden" value="{tmpl_var name='serial'}">
<div class="wf_actions buttons">
<button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','dns/dns_soa_edit.php');"><span>{tmpl_var name='btn_save_txt'}</span></button>
<button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('dns/dns_soa_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button>
</div>
</div>
</div>
<h2><tmpl_var name="list_head_txt"></h2>
<div class="panel panel_dns_soa">
<div class="pnl_formsarea">
<fieldset id="wf_area_dns_soa"><legend>DNS Zone</legend>
<tmpl_if name="is_admin">
<span class="wf_oneField">
<label for="server_id" class="wf_preField">{tmpl_var name='server_id_txt'}</label>
<select id="server_id" name="server_id">{tmpl_var name='server_id'}</select>
</span>
<span class="wf_oneField">
<label for="client_group_id" class="wf_preField">{tmpl_var name='client_txt'}</label>
<select id="client_group_id" name="client_group_id">{tmpl_var name='client_group_id'}</select>
</span>
</tmpl_if>
<tmpl_if name="is_reseller">
<span class="wf_oneField">
<label for="client_group_id" class="wf_preField">{tmpl_var name='client_txt'}</label>
<select id="client_group_id" name="client_group_id">{tmpl_var name='client_group_id'}</select>
</span>
</tmpl_if>
<span class="wf_oneField">
<label for="origin" class="wf_preField">{tmpl_var name='origin_txt'}</label>
<input type="text" id="origin" name="origin" value="{tmpl_var name='origin'}" size="30" maxlength="255"> e.g. domain.tld
</span>
<span class="wf_oneField">
<label for="ns" class="wf_preField">{tmpl_var name='ns_txt'}</label>
<input type="text" id="ns" name="ns" value="{tmpl_var name='ns'}" size="30" maxlength="255"> e.g. ns1.domain.tld
</span>
<span class="wf_oneField">
<label for="mbox" class="wf_preField">{tmpl_var name='mbox_txt'}</label>
<input type="text" id="mbox" name="mbox" value="{tmpl_var name='mbox'}" size="30" maxlength="255"> e.g. webmaster.domain.tld
</span>
<span class="wf_oneField">
<label for="refresh" class="wf_preField">{tmpl_var name='refresh_txt'}</label>
<input type="text" id="refresh" name="refresh" value="{tmpl_var name='refresh'}" size="10" maxlength="10"> Seconds
</span>
<span class="wf_oneField">
<label for="retry" class="wf_preField">{tmpl_var name='retry_txt'}</label>
<input type="text" id="retry" name="retry" value="{tmpl_var name='retry'}" size="10" maxlength="10"> Seconds
</span>
<span class="wf_oneField">
<label for="expire" class="wf_preField">{tmpl_var name='expire_txt'}</label>
<input type="text" id="expire" name="expire" value="{tmpl_var name='expire'}" size="10" maxlength="10"> Seconds
</span>
<span class="wf_oneField">
<label for="minimum" class="wf_preField">{tmpl_var name='minimum_txt'}</label>
<input type="text" id="minimum" name="minimum" value="{tmpl_var name='minimum'}" size="10" maxlength="10"> Seconds
</span>
<span class="wf_oneField">
<label for="ttl" class="wf_preField">{tmpl_var name='ttl_txt'}</label>
<input type="text" id="ttl" name="ttl" value="{tmpl_var name='ttl'}" size="10" maxlength="10"> Seconds
</span>
<span class="wf_oneField">
<label for="xfer" class="wf_preField">{tmpl_var name='xfer_txt'}</label>
<input type="text" id="xfer" name="xfer" value="{tmpl_var name='xfer'}" size="30" maxlength="255">
</span>
<span class="wf_oneField">
<label for="active" class="wf_preField">{tmpl_var name='active_txt'}</label>
<span class="">{tmpl_var name='active'}</span>
</span>
</fieldset>
<input type="hidden" name="id" value="{tmpl_var name='id'}">
<input name="serial" type="hidden" value="{tmpl_var name='serial'}">
<div class="wf_actions buttons">
<button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','dns/dns_soa_edit.php');"><span>{tmpl_var name='btn_save_txt'}</span></button>
<button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('dns/dns_soa_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button>
</div>
</div>
</div>
......@@ -9,18 +9,16 @@
<input type="text" id="name" name="name" value="{tmpl_var name='name'}" size="40" maxlength="255">
</span>
<span class="wf_oneField">
<span class="wf_label wf_preField">{tmpl_var name='fields_txt'}</span> <fieldset>
{tmpl_var name='fields'}
</fieldset>
<span class="wf_label wf_preField">{tmpl_var name='fields_txt'}</span>
<fieldset>{tmpl_var name='fields'}</fieldset>
</span>
<span class="wf_oneField">
<label for="template" class="wf_preField">{tmpl_var name='template_txt'}</label>
<textarea id="template" name="template" cols='40' rows='15'>{tmpl_var name='template'}</textarea>
<textarea id="template" name="template">{tmpl_var name='template'}</textarea>
</span>
<span class="wf_oneField">
<label for="visible" class="wf_preField">{tmpl_var name='visible_txt'}</label> <span class="">
{tmpl_var name='visible'}
</span>
<label for="visible" class="wf_preField">{tmpl_var name='visible_txt'}</label>
<span class="">{tmpl_var name='visible'}</span>
</span>
</fieldset>
......
......@@ -33,7 +33,8 @@
/* (en) reset monospaced elements to font size 16px in Gecko browsers */
/* (de) Schriftgröße von monospaced Elemente auf 16 Pixel setzen */
textarea, pre, tt, code {
font-family:"Courier New", Courier, monospace;
font-family: Consolas,"Lucida Console","Courier New",monospace;
font-size: 0.9em;
}
/* (en) base layout gets standard font size 12px */
......
......@@ -101,6 +101,9 @@
vertical-align: top;
margin: 0px 2px 0 0;
vertical-align: top;
width: 300px;
height: 300px;
scroll: auto;
}
.pnl_formsarea input {
font-size: 1.0em;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment