On Tuesday 22 Feb 2005 22:43, Bill Shupp wrote:
> Derkowski, Matthew wrote:
> >Ah, Thanks for the quick responces today.... I had a fairamount of free
> >time today and really got to dig into the vegadns. Much better then the
> >dnsadmin I was using before.
>
> It's about to get much better. I'm working on a redo of the permissions
> system that was commissioned by an ISP that will make it a little more
> like NicTool. The implementation will be based on Bob Hutchinson's
> proposal on permissions about a month or so ago, but will be slightly
> different. All in all, it will be better. I should have a releasable
> version within a day or 2.
>
> Regards,
>
> Bill
The view logs link on the default_records page does not appear to do anything
The smarty variable $view_log_url does not appear to be defined in
default_records.php
index.php needs to have a mode for view_log
--- index.php.old 2005-02-22 18:48:48.000000000 +0000
+++ index.php 2005-02-23 09:31:08.000000000 +0000
@@ -266,6 +266,11 @@
require('src/whoisquery.php');
exit;
+ } else if($_REQUEST['mode'] == "view_log") {
+
+ require('src/view_log.php');
+ exit;
+
} else {
die("Error: illegal mode\n");
}
default_records needs a patch too
--- src/default_records.php.old 2005-02-15 05:00:25.000000000 +0000
+++ src/default_records.php 2005-02-23 09:23:53.000000000 +0000
@@ -111,6 +111,8 @@
$smarty->assign('edit_soa_url',
"$base_url&mode=default_records&record_mode=edit_soa");
$smarty->assign('add_record_url',
"$base_url&mode=default_records&record_mode=add_record");
+ $smarty->assign('view_log_url', "$base_url&mode=view_log");
+
$smarty->assign('soa_array', $soa_array);
if(isset($out_array))
$smarty->assign('out_array', $out_array);
still doesn't run though...
Error: domain_id is not set
view_log.php is looking for $dom_row['domain_id']
HTH
--
-----------------
Bob Hutchinson
Midwales dot com
-----------------