Commit f6ee7a10 authored by Falko Timme's avatar Falko Timme
Browse files

No commit message

No commit message
parent 040f8cf5
This diff is collapsed.
......@@ -118,8 +118,8 @@ $form["tabs"]['rr'] = array (
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array (0 => array ('type' => 'NOTEMPTY',
'errmsg'=> 'rr_ttl_error_empty'),
'validators' => array (0 => array ('type' => 'ISPOSITIVE',
'errmsg'=> 'rr_ttl_error_notpositive'),
),
'default' => '86400',
'value' => '86400',
......
......@@ -109,6 +109,9 @@ $form["tabs"]['soa'] = array (
'serial' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array (0 => array ( 'type' => 'ISPOSITIVE',
'errmsg'=> 'serial_error_notpositive'),
),
'default' => date("Ymd").'01',
'value' => date("Ymd").'01',
'width' => '30',
......@@ -117,6 +120,9 @@ $form["tabs"]['soa'] = array (
'refresh' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array (0 => array ( 'type' => 'ISPOSITIVE',
'errmsg'=> 'refresh_error_notpositive'),
),
'default' => $conf['default_refresh'],
'value' => $conf['default_refresh'],
'width' => '30',
......@@ -125,6 +131,9 @@ $form["tabs"]['soa'] = array (
'retry' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array (0 => array ( 'type' => 'ISPOSITIVE',
'errmsg'=> 'retry_error_notpositive'),
),
'default' => $conf['default_retry'],
'value' => $conf['default_retry'],
'width' => '30',
......@@ -133,6 +142,9 @@ $form["tabs"]['soa'] = array (
'expire' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array (0 => array ( 'type' => 'ISPOSITIVE',
'errmsg'=> 'expire_error_notpositive'),
),
'default' => $conf['default_expire'],
'value' => $conf['default_expire'],
'width' => '30',
......@@ -141,6 +153,9 @@ $form["tabs"]['soa'] = array (
'minimum' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array (0 => array ( 'type' => 'ISPOSITIVE',
'errmsg'=> 'minimum_error_notpositive'),
),
'default' => $conf['default_minimum_ttl'],
'value' => $conf['default_minimum_ttl'],
'width' => '30',
......@@ -149,6 +164,9 @@ $form["tabs"]['soa'] = array (
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array (0 => array ( 'type' => 'ISPOSITIVE',
'errmsg'=> 'ttl_error_notpositive'),
),
'default' => $conf['default_ttl'],
'value' => $conf['default_ttl'],
'width' => '30',
......
<?php
$wb["zone_txt"] = 'zone';
$wb["name_txt"] = 'name';
$wb["type_txt"] = 'type';
$wb["data_txt"] = 'data';
$wb["aux_txt"] = 'aux';
$wb["ttl_txt"] = 'ttl';
$wb["zone_txt"] = 'Zone';
$wb["name_txt"] = 'Name';
$wb["type_txt"] = 'Type';
$wb["data_txt"] = 'Data';
$wb["aux_txt"] = 'Preference/Priority';
$wb["ttl_txt"] = 'TTL';
$wb["btn_save_txt"] = 'Save';
$wb["btn_cancel_txt"] = 'Cancel';
$wb["rr_data_error_empty"] = 'The data field must not be empty!';
$wb["rr_ttl_error_notpositive"] = 'The TTL must be positive!';
?>
\ No newline at end of file
<?php
$wb["list_head_txt"] = 'rr';
$wb["name_txt"] = 'name';
$wb["type_txt"] = 'type';
$wb["data_txt"] = 'data';
$wb["aux_txt"] = 'aux';
$wb["ttl_txt"] = 'ttl';
$wb["list_head_txt"] = 'Records';
$wb["name_txt"] = 'Name';
$wb["type_txt"] = 'Type';
$wb["data_txt"] = 'Data';
$wb["aux_txt"] = 'Preference/Priority';
$wb["ttl_txt"] = 'TTL';
$wb["page_txt"] = 'Page';
$wb["page_of_txt"] = 'of';
$wb["page_next_txt"] = 'Next';
$wb["page_back_txt"] = 'Back';
$wb["delete_txt"] = 'Delete';
$wb["filter_txt"] = 'Filter';
$wb["add_new_record_txt"] = 'Add New Record';
?>
\ No newline at end of file
<?php
$wb["origin_txt"] = 'origin';
$wb["ns_txt"] = 'ns';
$wb["mbox_txt"] = 'mbox';
$wb["serial_txt"] = 'serial';
$wb["refresh_txt"] = 'refresh';
$wb["retry_txt"] = 'retry';
$wb["expire_txt"] = 'expire';
$wb["minimum_txt"] = 'minimum';
$wb["ttl_txt"] = 'ttl';
$wb["active_txt"] = 'active';
$wb["xfer_txt"] = 'xfer';
$wb["origin_txt"] = 'Origin';
$wb["ns_txt"] = 'Name Server';
$wb["mbox_txt"] = 'Admin Email';
$wb["serial_txt"] = 'Serial No.';
$wb["refresh_txt"] = 'Refresh';
$wb["retry_txt"] = 'Retry';
$wb["expire_txt"] = 'Expire';
$wb["minimum_txt"] = 'Minimum TTL';
$wb["ttl_txt"] = 'TTL';
$wb["active_txt"] = 'Active';
$wb["xfer_txt"] = 'Zone Transfers';
$wb["btn_save_txt"] = 'Save';
$wb["btn_cancel_txt"] = 'Cancel';
$wb["soa_error_empty"] = 'The origin must not be empty!';
$wb["soa_error_unique"] = 'This origin does already exist! The origin must be unique!';
$wb["ns_error_empty"] = 'The name server must not be empty!';
$wb["mbox_error_empty"] = 'The admin email address must not be empty!';
$wb["serial_error_notpositive"] = 'The serial no. must be positive!';
$wb["refresh_error_notpositive"] = 'The refresh must be positive!';
$wb["retry_error_notpositive"] = 'The retry must be positive!';
$wb["expire_error_notpositive"] = 'The expire must be positive!';
$wb["minimum_error_notpositive"] = 'The minimum TTL must be positive!';
$wb["ttl_error_notpositive"] = 'The TTL must be positive!';
?>
\ No newline at end of file
<?php
$wb["list_head_txt"] = 'soa';
$wb["origin_txt"] = 'origin';
$wb["ns_txt"] = 'ns';
$wb["mbox_txt"] = 'mbox';
$wb["serial_txt"] = 'serial';
$wb["refresh_txt"] = 'refresh';
$wb["retry_txt"] = 'retry';
$wb["expire_txt"] = 'expire';
$wb["minimum_txt"] = 'minimum';
$wb["ttl_txt"] = 'ttl';
$wb["active_txt"] = 'active';
$wb["xfer_txt"] = 'xfer';
$wb["list_head_txt"] = 'Zones (SOA)';
$wb["origin_txt"] = 'Origin';
$wb["ns_txt"] = 'Name Server';
$wb["mbox_txt"] = 'Admin Email';
$wb["serial_txt"] = 'Serial No.';
$wb["refresh_txt"] = 'Refresh';
$wb["retry_txt"] = 'Retry';
$wb["expire_txt"] = 'Expire';
$wb["minimum_txt"] = 'Minimum TTL';
$wb["ttl_txt"] = 'TTL';
$wb["active_txt"] = 'Active';
$wb["xfer_txt"] = 'Zone Transfer';
$wb["page_txt"] = 'Page';
$wb["page_of_txt"] = 'of';
$wb["page_next_txt"] = 'Next';
$wb["page_back_txt"] = 'Back';
$wb["delete_txt"] = 'Delete';
$wb["filter_txt"] = 'Filter';
$wb["Y"] = 'Yes';
$wb["N"] = 'No';
$wb["add_new_record_txt"] = 'Add New Zone';
?>
\ No newline at end of file
......@@ -65,6 +65,7 @@ $liste["item"][] = array( 'field' => "ns",
'width' => "",
'value' => "");
/*
$liste["item"][] = array( 'field' => "mbox",
'datatype' => "VARCHAR",
'formtype' => "TEXT",
......@@ -118,6 +119,7 @@ $liste["item"][] = array( 'field' => "minimum",
'suffix' => "",
'width' => "",
'value' => "");
*/
$liste["item"][] = array( 'field' => "ttl",
'datatype' => "INTEGER",
......@@ -137,6 +139,7 @@ $liste["item"][] = array( 'field' => "active",
'width' => "",
'value' => "");
/*
$liste["item"][] = array( 'field' => "xfer",
'datatype' => "VARCHAR",
'formtype' => "TEXT",
......@@ -145,6 +148,6 @@ $liste["item"][] = array( 'field' => "xfer",
'suffix' => "%",
'width' => "",
'value' => "");
*/
?>
\ No newline at end of file
......@@ -36,7 +36,7 @@
<td width="366" class="frmText11"><input name="ttl" type="text" class="text" value="{tmpl_var name='ttl'}" size="30" maxlength="255"></td>
</tr>
<tr>
<td width="126" class="frmText11">{tmpl_var name='active_txt'}:</td>
<td width="126" class="frmText11" valign="top">{tmpl_var name='active_txt'}:</td>
<td width="366" class="frmText11">{tmpl_var name='active'}</td>
</tr>
<tr>
......
......@@ -5,50 +5,62 @@
<tr>
<td class="tblHead"><tmpl_var name="origin_txt"></td>
<td class="tblHead"><tmpl_var name="ns_txt"></td>
<!--
<td class="tblHead"><tmpl_var name="mbox_txt"></td>
<td class="tblHead"><tmpl_var name="serial_txt"></td>
<td class="tblHead"><tmpl_var name="refresh_txt"></td>
<td class="tblHead"><tmpl_var name="retry_txt"></td>
<td class="tblHead"><tmpl_var name="expire_txt"></td>
<td class="tblHead"><tmpl_var name="minimum_txt"></td>
//-->
<td class="tblHead"><tmpl_var name="ttl_txt"></td>
<td class="tblHead"><tmpl_var name="active_txt"></td>
<!--
<td class="tblHead"><tmpl_var name="xfer_txt"></td>
//-->
<td class="tblHead">&nbsp;</td>
</tr>
<tr>
<td class="frmText11"><input type="text" name="search_origin" value="{tmpl_var name='search_origin'}" class="text" /></td>
<td class="frmText11"><input type="text" name="search_ns" value="{tmpl_var name='search_ns'}" class="text" /></td>
<!--
<td class="frmText11"><input type="text" name="search_mbox" value="{tmpl_var name='search_mbox'}" class="text" /></td>
<td class="frmText11"><input type="text" name="search_serial" value="{tmpl_var name='search_serial'}" class="text" /></td>
<td class="frmText11"><input type="text" name="search_refresh" value="{tmpl_var name='search_refresh'}" class="text" /></td>
<td class="frmText11"><input type="text" name="search_retry" value="{tmpl_var name='search_retry'}" class="text" /></td>
<td class="frmText11"><input type="text" name="search_expire" value="{tmpl_var name='search_expire'}" class="text" /></td>
<td class="frmText11"><input type="text" name="search_minimum" value="{tmpl_var name='search_minimum'}" class="text" /></td>
//-->
<td class="frmText11"><input type="text" name="search_ttl" value="{tmpl_var name='search_ttl'}" class="text" /></td>
<td class="frmText11"><input type="text" name="search_active" value="{tmpl_var name='search_active'}" class="text" /></td>
<!--
<td class="frmText11"><input type="text" name="search_xfer" value="{tmpl_var name='search_xfer'}" class="text" /></td>
//-->
<td class="frmText11" align="right"><input name="Filter" type="submit" id="Filter" value="{tmpl_var name="filter_txt"}"></td>
</tr>
<tmpl_loop name="records">
<tr bgcolor="{tmpl_var name="bgcolor"}">
<td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="origin"}</a></td>
<td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="ns"}</a></td>
<!--
<td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="mbox"}</a></td>
<td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="serial"}</a></td>
<td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="refresh"}</a></td>
<td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="retry"}</a></td>
<td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="expire"}</a></td>
<td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="minimum"}</a></td>
//-->
<td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="ttl"}</a></td>
<td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="active"}</a></td>
<!--
<td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="xfer"}</a></td>
//-->
<td class="frmText11" align="right">[<a href="javascript: del_record('soa_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}');" class="frmText11">{tmpl_var name='delete_txt'}</a>]</td>
</tr>
</tmpl_loop>
<tr>
<td colspan="12" height="40" align="center" class="tblFooter"><tmpl_var name="paging"></td>
<td colspan="5" height="40" align="center" class="tblFooter"><tmpl_var name="paging"></td>
</tr>
</table>
</form>
\ No newline at end of file
Supports Markdown
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