diff --git a/bacula-backup/bacula-backup-lib.pl b/bacula-backup/bacula-backup-lib.pl index c4fc07ca9..aca7e3924 100755 --- a/bacula-backup/bacula-backup-lib.pl +++ b/bacula-backup/bacula-backup-lib.pl @@ -1317,10 +1317,10 @@ if (!$job) { } else { if ($j) { - return "$j ($c)"; + return &ui_link("edit_gjob.cgi?name=".&urlize($j)."","$j ($c)"); } else { - return "$name"; + return &ui_link("edit_job.cgi?name=".&urlize($name)."",$name); } } } diff --git a/bacula-backup/list_clients.cgi b/bacula-backup/list_clients.cgi index 6f7cfc3c1..c0112221e 100755 --- a/bacula-backup/list_clients.cgi +++ b/bacula-backup/list_clients.cgi @@ -34,7 +34,7 @@ if (@clients) { } else { print "$text{'clients_none'}

\n"; - print "$text{'clients_add'}
\n"; + print &ui_link("edit_client.cgi?new=1",$text{'clients_add'})
\n"; } &ui_print_footer("", $text{'index_return'}); diff --git a/bacula-backup/list_devices.cgi b/bacula-backup/list_devices.cgi index 220ebc40f..a1df481e2 100755 --- a/bacula-backup/list_devices.cgi +++ b/bacula-backup/list_devices.cgi @@ -34,7 +34,7 @@ if (@devices) { } else { print "$text{'devices_none'}

\n"; - print "$text{'devices_add'}
\n"; + print &ui_link("edit_device.cgi?new=1",$text{'devices_add'})
\n"; } &ui_print_footer("", $text{'index_return'}); diff --git a/bacula-backup/list_fdirectors.cgi b/bacula-backup/list_fdirectors.cgi index 40990f520..fe06a0050 100755 --- a/bacula-backup/list_fdirectors.cgi +++ b/bacula-backup/list_fdirectors.cgi @@ -11,7 +11,7 @@ if (@fdirectors) { print &ui_form_start("delete_fdirectors.cgi", "post"); print &select_all_link("d"),"\n"; print &select_invert_link("d"),"\n"; - print "$text{'fdirectors_add'}
\n"; + print &ui_link("edit_fdirector.cgi?new=1",$text{'fdirectors_add'})
\n"; @tds = ( "width=5", "width=30%", "width=70%" ); print &ui_columns_start([ "", $text{'fdirectors_name'}, $text{'fdirectors_pass'} ], "100%", 0, \@tds); @@ -28,12 +28,12 @@ if (@fdirectors) { print &ui_columns_end(); print &select_all_link("d"),"\n"; print &select_invert_link("d"),"\n"; - print "$text{'fdirectors_add'}
\n"; + print &ui_link("edit_fdirector.cgi?new=1",$text{'fdirectors_add'})
\n"; print &ui_form_end([ [ "delete", $text{'fdirectors_delete'} ] ]); } else { print "$text{'fdirectors_none'}

\n"; - print "$text{'fdirectors_add'}
\n"; + print &ui_link("edit_fdirector.cgi?new=1",$text{'fdirectors_add'})
\n"; } &ui_print_footer("", $text{'index_return'}); diff --git a/bacula-backup/list_filesets.cgi b/bacula-backup/list_filesets.cgi index 1a241c6cc..19ec30cfc 100755 --- a/bacula-backup/list_filesets.cgi +++ b/bacula-backup/list_filesets.cgi @@ -36,7 +36,7 @@ if (@filesets) { } else { print "$text{'filesets_none'}

\n"; - print "$text{'filesets_add'}
\n"; + print &ui_link("edit_fileset.cgi?new=1",$text{'filesets_add'})
\n"; } &ui_print_footer("", $text{'index_return'}); diff --git a/bacula-backup/list_gjobs.cgi b/bacula-backup/list_gjobs.cgi index 4737fd5db..50d48d38f 100755 --- a/bacula-backup/list_gjobs.cgi +++ b/bacula-backup/list_gjobs.cgi @@ -40,7 +40,7 @@ if (@jobs) { } else { print "$text{'jobs_none'}

\n"; - print "$text{'gjobs_add'}
\n"; + print &ui_link("edit_gjob.cgi?new=1",$text{'gjobs_add'})
\n"; } &ui_print_footer("", $text{'index_return'}); diff --git a/bacula-backup/list_jobs.cgi b/bacula-backup/list_jobs.cgi index 5926fa32f..7fb09963a 100755 --- a/bacula-backup/list_jobs.cgi +++ b/bacula-backup/list_jobs.cgi @@ -44,7 +44,7 @@ if (@jobs) { } else { print "$text{'jobs_none'}

\n"; - print "$text{'jobs_add'}
\n"; + print &ui_link("edit_job.cgi?new=1",$text{'jobs_add'})
\n"; } &ui_print_footer("", $text{'index_return'}); diff --git a/bacula-backup/list_pools.cgi b/bacula-backup/list_pools.cgi index 1e40af79f..fa102be3c 100755 --- a/bacula-backup/list_pools.cgi +++ b/bacula-backup/list_pools.cgi @@ -34,7 +34,7 @@ if (@pools) { } else { print "$text{'pools_none'}

\n"; - print "$text{'pools_add'}
\n"; + print &ui_link("edit_pool.cgi?new=1",$text{'pools_add'})
\n"; } &ui_print_footer("", $text{'index_return'}); diff --git a/bacula-backup/list_schedules.cgi b/bacula-backup/list_schedules.cgi index e62e53cbf..13833b11a 100755 --- a/bacula-backup/list_schedules.cgi +++ b/bacula-backup/list_schedules.cgi @@ -34,7 +34,7 @@ if (@schedules) { } else { print "$text{'schedules_none'}

\n"; - print "$text{'schedules_add'}
\n"; + print &ui_link("edit_schedule.cgi?new=1",$text{'schedules_add'})
\n"; } &ui_print_footer("", $text{'index_return'}); diff --git a/bacula-backup/list_sdirectors.cgi b/bacula-backup/list_sdirectors.cgi index d8f1ee469..642354313 100755 --- a/bacula-backup/list_sdirectors.cgi +++ b/bacula-backup/list_sdirectors.cgi @@ -11,7 +11,7 @@ if (@sdirectors) { print &ui_form_start("delete_sdirectors.cgi", "post"); print &select_all_link("d"),"\n"; print &select_invert_link("d"),"\n"; - print "$text{'sdirectors_add'}
\n"; + print &ui_link("edit_sdirector.cgi?new=1",$text{'sdirectors_add'})
\n"; @tds = ( "width=5", "width=30%", "width=70%" ); print &ui_columns_start([ "", $text{'sdirectors_name'}, $text{'sdirectors_pass'} ], "100%", 0, \@tds); @@ -28,12 +28,12 @@ if (@sdirectors) { print &ui_columns_end(); print &select_all_link("d"),"\n"; print &select_invert_link("d"),"\n"; - print "$text{'sdirectors_add'}
\n"; + print &ui_link("edit_sdirector.cgi?new=1",$text{'sdirectors_add'})
\n"; print &ui_form_end([ [ "delete", $text{'sdirectors_delete'} ] ]); } else { print "$text{'sdirectors_none'}

\n"; - print "$text{'sdirectors_add'}
\n"; + print &ui_link("edit_sdirector.cgi?new=1",$text{'sdirectors_add'})
\n"; } &ui_print_footer("", $text{'index_return'}); diff --git a/bacula-backup/list_storages.cgi b/bacula-backup/list_storages.cgi index 74fb8ee48..1dbaebe23 100755 --- a/bacula-backup/list_storages.cgi +++ b/bacula-backup/list_storages.cgi @@ -38,7 +38,7 @@ if (@storages) { } else { print "$text{'storages_none'}

\n"; - print "$text{'storages_add'}
\n"; + print &ui_link("edit_storage.cgi?new=1",$text{'storages_add'})
\n"; } &ui_print_footer("", $text{'index_return'}); diff --git a/bacula-backup/poolstatus_form.cgi b/bacula-backup/poolstatus_form.cgi index 26d1c30dc..a9cbc231b 100755 --- a/bacula-backup/poolstatus_form.cgi +++ b/bacula-backup/poolstatus_form.cgi @@ -65,6 +65,6 @@ if ($in{'pool'}) { sub joblink { -return $jobs{$_[0]} ? "$_[0]" : $_[0]; +return $jobs{$_[0]} ? &ui_link("edit_job.cgi?name=".&urlize($_[0])."","$_[0]") : $_[0]; } diff --git a/blue-theme/right.cgi b/blue-theme/right.cgi index 12221eb6e..130c11c81 100755 --- a/blue-theme/right.cgi +++ b/blue-theme/right.cgi @@ -298,11 +298,11 @@ local $others = join("&", map { "open=$_" } grep { $_ ne $name } @open); $others = "&$others" if ($others); if ($open{$name}) { print "\n"; - print "$text"; + print &ui_link("right.cgi?$others",$text); } else { print "\n"; - print "$text"; + print &ui_link("right.cgi?open=$name$others",$text); } print "
\n"; return $open{$name}; diff --git a/cfengine/cfengine-lib.pl b/cfengine/cfengine-lib.pl index 791ea68e4..eac13dad5 100755 --- a/cfengine/cfengine-lib.pl +++ b/cfengine/cfengine-lib.pl @@ -389,7 +389,7 @@ if (@{$_[0]}) { next if ($s->{'name'} =~ /^import/); local (@clist, @dlist); foreach $c (@{$s->{'cls'}}) { - push(@clist, $_[2] ? $c->{'name'} : "{'index'}'>$c->{'name'}"); + push(@clist, $_[2] ? $c->{'name'} : &ui_link("edit_class.cgi?cfd=$_[1]&idx=$s->{'index'}&cidx=$c->{'index'}",$c->{'name'})); local $desc; if ($s->{'name'} eq 'links') { local @l = &parse_links($c); @@ -554,7 +554,7 @@ if (@{$_[0]}) { # ""; # } if (!$_[2]) { - print "$text{'index_cadd'}\n"; + print &ui_link("edit_class.cgi?cfd=$_[1]&idx=$s->{'index'}&new=1",$text{'index_cadd'})\n"; } print "\n"; diff --git a/cluster-copy/index.cgi b/cluster-copy/index.cgi index c8e0c2d3a..3c1176537 100755 --- a/cluster-copy/index.cgi +++ b/cluster-copy/index.cgi @@ -49,12 +49,12 @@ if (@jobs) { $files = join(", ", @files); } print &ui_checked_columns_row( - [ "$files", + [ &ui_link("edit.cgi?id=$j->{'id'}",$files), $servers, $j->{'sched'} ? &text('index_when', &cron::when_text($j)) : $text{'no'}, - "$text{'index_exec'}", + &ui_link("exec.cgi?id=$j->{'id'}",$text{'index_exec'}), ], \@tds, "d", $j->{'id'}); } print &ui_columns_end(); diff --git a/cluster-cron/index.cgi b/cluster-cron/index.cgi index 4de14c575..9eb63b81b 100755 --- a/cluster-cron/index.cgi +++ b/cluster-cron/index.cgi @@ -26,7 +26,7 @@ if (@jobs) { local $max = $cron::config{'max_len'} || 10000; local $cmd = $j->{'cluster_command'}; push(@cols, - sprintf "%s%s", + sprintf &ui_link("edit.cgi?id=$j->{'cluster_id'}","%s")%s", length($cmd) > $max ? &html_escape(substr($cmd, 0, $max)) : $cmd !~ /\S/ ? "BLANK" : &html_escape($cmd), diff --git a/cluster-software/compare.cgi b/cluster-software/compare.cgi index 2d3072f15..ee7594b97 100755 --- a/cluster-software/compare.cgi +++ b/cluster-software/compare.cgi @@ -47,7 +47,7 @@ foreach $h (@hosts) { print &ui_columns_start([ $text{'compare_pack'}, map { &server_name($smap{$_->{'id'}}) } @hosts ]); foreach $pn (sort { $a cmp $b } (keys %packs)) { - local @row = ( "$pn" ); + local @row = ( &ui_link("edit_pack.cgi?package=$pn",$pn) ); local $ok = 1; foreach $h (@hosts) { local ($ph) = grep { $_->{'host'} eq $h } @{$packs{$pn}}; diff --git a/cluster-software/edit_host.cgi b/cluster-software/edit_host.cgi index 5ccbc1721..53b9730c3 100755 --- a/cluster-software/edit_host.cgi +++ b/cluster-software/edit_host.cgi @@ -89,8 +89,8 @@ print "\n"; &traverse("", 0); print "
\n"; if ($hasclasses) { - print "$text{'host_close'}\n"; - print "$text{'host_open'}

\n"; + print &ui_link("closeall.cgi?id=$in{'id'}",$text{'host_close'})\n"; + print &ui_link("openall.cgi?id=$in{'id'}",$text{'host_open'})

\n"; } &ui_print_footer("", $text{'index_return'}); diff --git a/cpan/edit_mod.cgi b/cpan/edit_mod.cgi index b88004901..8553f7f46 100755 --- a/cpan/edit_mod.cgi +++ b/cpan/edit_mod.cgi @@ -42,7 +42,7 @@ if ($midx == $mod->{'master'} && @m > 1) { # Sub-modules @links = ( ); for($i=0; $i<@m; $i++) { - push(@links, "$m[$i]") if ($i != $mod->{'master'}); + push(@links, &ui_link("edit_mod.cgi?idx=$in{'idx'}&midx=$i&name=$in{'name'}","$m[$i]")) if ($i != $mod->{'master'}); } print &ui_table_row($text{'edit_subs'}, &ui_links_row(\@links), 3); } diff --git a/custom/index.cgi b/custom/index.cgi index 0958f0c40..60a2e5f15 100755 --- a/custom/index.cgi +++ b/custom/index.cgi @@ -75,13 +75,13 @@ elsif ($config{'display_mode'} == 0) { } if ($access{'edit'}) { if ($c->{'edit'}) { - $link = "$text{'index_fedit'}"; + $link = &ui_link("edit_file.cgi?id=$c->{'id'}",$text{'index_fedit'}); } elsif ($c->{'sql'}) { - $link = "$text{'index_sedit'}"; + $link = &ui_link("edit_sql.cgi?id=$c->{'id'}",$text{'index_sedit'}); } else { - $link = "$text{'index_edit'}"; + $link = &ui_link("edit_cmd.cgi?id=$c->{'id'}",$text{'index_edit'}); } $html .= &ui_table_row(undef, &ui_links_row([ $link ]), $w); diff --git a/fetchmail/fetchmail-lib.pl b/fetchmail/fetchmail-lib.pl index 67ee9d56e..4de3a4294 100755 --- a/fetchmail/fetchmail-lib.pl +++ b/fetchmail/fetchmail-lib.pl @@ -293,11 +293,11 @@ if (@{$_[0]}) { print &ui_columns_end(); } local @links = ( - "$text{'index_add'}", - "$text{'index_global'}" + &ui_link("edit_poll.cgi?new=1&file=$_[1]&user=$_[2]",$text{'index_add'}), + &ui_link("edit_global.cgi?file=$_[1]&user=$_[2]",$text{'index_global'}) ); if (@{$_[0]}) { - push(@links, "$text{'index_run'}"); + push(@links, &ui_link("check.cgi?file=$_[1]&user=$_[2]",$text{'index_run'})); } print &ui_links_row(\@links); } diff --git a/filter/index.cgi b/filter/index.cgi index 6b96adbaa..314cc6b6a 100755 --- a/filter/index.cgi +++ b/filter/index.cgi @@ -111,7 +111,7 @@ if (@filters || &get_global_spamassassin()) { # Work out nice condition and action descriptions local $cond; ($cond, $lastalways) = &describe_condition($f); - $cond = "$cond"; + $cond = &ui_link("edit.cgi?idx=$f->{'index'}",$cond); local $action = &describe_action($f, \@folders); # Create mover links diff --git a/firewall/index.cgi b/firewall/index.cgi index b4b36f2cf..0ca33b229 100755 --- a/firewall/index.cgi +++ b/firewall/index.cgi @@ -209,7 +209,7 @@ else { $text{"index_jump_".lc($r->{'j'}->[1])} || &text('index_jump', $r->{'j'}->[1]); if ($edit) { - push(@cols, "{'index'}'>$act"); + push(@cols, &ui_link("edit_rule.cgi?table=".&urlize($in{'table'})."&idx=$r->{'index'}",$act)); } else { push(@cols, $act); diff --git a/gray-theme/right.cgi b/gray-theme/right.cgi index 0096ec913..4e029753f 100755 --- a/gray-theme/right.cgi +++ b/gray-theme/right.cgi @@ -339,11 +339,11 @@ local $others = join("&", map { "open=$_" } grep { $_ ne $name } @open); $others = "&$others" if ($others); if ($open{$name}) { print "\n"; - print "$text"; + print &ui_link("right.cgi?$others",$text); } else { print "\n"; - print "$text"; + print &ui_link("right.cgi?open=$name$others",$text); } print "
\n"; return $open{$name}; diff --git a/heartbeat/edit_res.cgi b/heartbeat/edit_res.cgi index 7a03642ca..2a069e032 100755 --- a/heartbeat/edit_res.cgi +++ b/heartbeat/edit_res.cgi @@ -67,7 +67,7 @@ if (@res) { else { print "$text{'res_nores'}

\n"; } -print "$text{'res_add'}

\n"; +print &ui_link("edit_node.cgi?new=1",$text{'res_add'})

\n"; &ui_print_footer("", $text{'index_return'}); diff --git a/htpasswd-file/index.cgi b/htpasswd-file/index.cgi index 431e27756..5be5f480b 100755 --- a/htpasswd-file/index.cgi +++ b/htpasswd-file/index.cgi @@ -40,7 +40,7 @@ if ($config{'md5'}) { print &ui_subheading(&text('index_file', "$config{'file'}")); $users = &list_users(); if (@$users) { - print "$text{'index_add'}
\n" + print &ui_link("edit.cgi?new=1",$text{'index_add'})
\n" if ($access{'create'}); print "\n"; print "\n"; @@ -66,7 +66,7 @@ if (@$users) { else { print "$text{'index_none'}

\n"; } -print "$text{'index_add'}

\n" +print &ui_link("edit.cgi?new=1",$text{'index_add'})

\n" if ($access{'create'}); if ($access{'sync'}) { diff --git a/ipsec/list_secrets.cgi b/ipsec/list_secrets.cgi index 4cc7bab5b..4380fedc9 100755 --- a/ipsec/list_secrets.cgi +++ b/ipsec/list_secrets.cgi @@ -31,9 +31,9 @@ if (@secs) { else { print "$text{'secrets_none'}

\n"; } -print "$text{'secrets_newpsk'}\n"; +print &ui_link("edit_secret.cgi?new=1&type=psk",$text{'secrets_newpsk'})\n"; print " " x 2; -print "$text{'secrets_newrsa'}\n"; +print &ui_link("edit_secret.cgi?new=1&type=rsa",$text{'secrets_newrsa'})\n"; print "
\n"; &ui_print_footer("", $text{'index_return'}); diff --git a/ldap-client/list_switches.cgi b/ldap-client/list_switches.cgi index 7057009c1..bcfa04407 100755 --- a/ldap-client/list_switches.cgi +++ b/ldap-client/list_switches.cgi @@ -19,7 +19,7 @@ foreach $s (@$conf) { $srcs = join(", ", map { $text{'order_'.$_->{'src'}} } @{$s->{'srcs'}}); $name = $text{'desc_'.$s->{'name'}} || $s->{'name'}; print &ui_columns_row([ - "$name", + &ui_link("edit_switch.cgi?name=$s->{'name'}",$name), $srcs, ]); } diff --git a/ldap-server/edit_acl.cgi b/ldap-server/edit_acl.cgi index 6bb57fb3f..fc7944830 100755 --- a/ldap-server/edit_acl.cgi +++ b/ldap-server/edit_acl.cgi @@ -45,7 +45,7 @@ if (@access) { $i < @access-1); $p = &parse_ldap_access($a); print &ui_checked_columns_row([ - "$p->{'whatdesc'}", + &ui_link("acl_form.cgi?idx=$i",$p->{'whatdesc'}), $p->{'bydesc'}, $hasorder ? ( $p->{'order'} ) : ( ), $mover, diff --git a/lilo/index.cgi b/lilo/index.cgi index b0c17ca3c..b301bcb35 100755 --- a/lilo/index.cgi +++ b/lilo/index.cgi @@ -46,11 +46,11 @@ foreach $i (@images) { $default && $default eq $l ? "$l" : $l); push(@links, "edit_$n.cgi?idx=$i->{'index'}"); } -print "$text{'index_addk'}  \n"; -print "$text{'index_addp'}
\n"; +print &ui_link("edit_image.cgi?new=1",$text{'index_addk'})  \n"; +print &ui_link("edit_other.cgi?new=1",$text{'index_addp'})
\n"; &icons_table(\@links, \@titles, \@icons, 4); -print "$text{'index_addk'}  \n"; -print "$text{'index_addp'}

\n"; +print &ui_link("edit_image.cgi?new=1",$text{'index_addk'})  \n"; +print &ui_link("edit_other.cgi?new=1",$text{'index_addp'})

\n"; print &ui_hr(); print "

$text{'index_header'}
\n"; diff --git a/lvm/edit_lv.cgi b/lvm/edit_lv.cgi index a84aa5c24..71221e757 100755 --- a/lvm/edit_lv.cgi +++ b/lvm/edit_lv.cgi @@ -226,7 +226,7 @@ if ($in{'lv'}) { if (@pvinfo) { foreach $p (@pvinfo) { ($pv) = grep { $_->{'name'} eq $p->[0] } @pvs; - push(@pvlist, "{'name'}'>$pv->{'name'} ".&nice_size($p->[1]*$pv->{'pe_size'}*1024)); + push(@pvlist, &ui_link("edit_pv.cgi?vg=$in{'vg'}&pv=$pv->{'name'}",$pv->{'name'}) ".&nice_size($p->[1]*$pv->{'pe_size'}*1024)); } print &ui_table_row($text{'lv_pvs'}, &ui_grid_table(\@pvlist, 4), 3); diff --git a/mailboxes/mailboxes-lib.pl b/mailboxes/mailboxes-lib.pl index aa09c73e0..3b2009c50 100755 --- a/mailboxes/mailboxes-lib.pl +++ b/mailboxes/mailboxes-lib.pl @@ -528,7 +528,7 @@ elsif ($config{'show_size'} == 2) { push(@ccols, int($foldercount{$u->[0]})) } print &ui_columns_row( - [ "$u->[0]", + [ &ui_link("list_mail.cgi?user=$u->[0]","$u->[0]"), $u->[6], $g, $size{$u->[0]} == 0 ? $text{'index_empty'} : &nice_size($size{$u->[0]}), @@ -596,7 +596,7 @@ if (defined($old_uid)) { sub folder_link { -return "$text{'mail_return2'}"; +return &ui_link("list_mail.cgi?user=$_[0]&folder=$_[1]->{'index'}",$text{'mail_return2'}); } # get_from_address() diff --git a/mailboxes/reply_mail.cgi b/mailboxes/reply_mail.cgi index 399eebdc1..4e6462f79 100755 --- a/mailboxes/reply_mail.cgi +++ b/mailboxes/reply_mail.cgi @@ -446,10 +446,10 @@ print &ui_table_end(); @bodylinks = ( ); if ($in{'new'}) { if ($html_edit) { - push(@bodylinks, "$text{'reply_html0'}"); + push(@bodylinks, &ui_link("reply_mail.cgi?folder=$in{'folder'}&user=$euser&new=1&html=0",$text{'reply_html0'})); } else { - push(@bodylinks, "$text{'reply_html1'}"); + push(@bodylinks, &ui_link("reply_mail.cgi?folder=$in{'folder'}&user=$euser&new=1&html=1",$text{'reply_html1'})); } } diff --git a/mailboxes/view_mail.cgi b/mailboxes/view_mail.cgi index c1f965711..773a7fe5f 100755 --- a/mailboxes/view_mail.cgi +++ b/mailboxes/view_mail.cgi @@ -204,7 +204,7 @@ if (@attach) { } @iattach = grep { $_->{'type'} =~ /^image\// } @attach; if (@iattach > 1) { - push(@links, "$text{'view_aslideshow'}"); + push(@links, &ui_link("slideshow.cgi?folder=$in{'folder'}&idx=$in{'idx'}&user=$uuser$subs",$text{'view_aslideshow'})); } print &ui_links_row(\@links) if (@links); diff --git a/mysql/list_procs.cgi b/mysql/list_procs.cgi index 9694375c3..c5a097846 100755 --- a/mysql/list_procs.cgi +++ b/mysql/list_procs.cgi @@ -28,9 +28,9 @@ if (@procs) { foreach $r (@procs) { print &ui_checked_columns_row([ $r->[0], - "$r->[1]", + &ui_link("edit_user.cgi?user=$r->[1]","$r->[1]"), $r->[2], - "$r->[3]", + &ui_link("edit_dbase.cgi?db=$r->[3]","$r->[3]"), $r->[4], &nice_time($r->[5]), &html_escape($r->[7]) diff --git a/mysql/view_table.cgi b/mysql/view_table.cgi index 0f9fa7e30..4d12440b8 100755 --- a/mysql/view_table.cgi +++ b/mysql/view_table.cgi @@ -375,7 +375,7 @@ if ($total || $in{'new'}) { if ($displayconfig{'blob_mode'} && &is_blob($str[$j]) && $c ne '') { # Show download link for blob - push(@cols, "$text{'view_download'}"); + push(@cols, &ui_link("download.cgi?db=$in{'db'}&table=$in{'table'}&start=$in{'start'}".$searchargs.$sortargs."&row=$i&col=$j",$text{'view_download'})); } else { # Just show text (up to limit) diff --git a/pap/list_dialin.cgi b/pap/list_dialin.cgi index 37ed15138..88cfe8c19 100755 --- a/pap/list_dialin.cgi +++ b/pap/list_dialin.cgi @@ -18,7 +18,7 @@ if (!-r $config{'login_config'}) { print "$text{'dialin_desc'}

\n"; if (@dialin) { - print "$text{'dialin_add'}
\n"; + print &ui_link("edit_dialin.cgi?new=1",$text{'dialin_add'})
\n"; print "

\n"; print " ", " ", @@ -54,7 +54,7 @@ if (@dialin) { else { print "$text{'dialin_nonumbers'}

\n"; } -print "$text{'dialin_add'}

\n"; +print &ui_link("edit_dialin.cgi?new=1",$text{'dialin_add'})

\n"; &ui_print_footer("", $text{'index_return'}); diff --git a/pap/list_mgetty.cgi b/pap/list_mgetty.cgi index 44b9a19a7..a49745b1f 100755 --- a/pap/list_mgetty.cgi +++ b/pap/list_mgetty.cgi @@ -17,7 +17,7 @@ print &text('mgetty_desc', "mgetty"),"

\n"; @mgi = &mgetty_inittabs(); if (@mgi) { - print "$text{'mgetty_add'}
\n"; + print &ui_link("edit_mgetty.cgi?new=1",$text{'mgetty_add'})
\n"; print "

$text{'dialin_number'}$text{'dialin_ad'}
\n"; print " ", " ", @@ -63,7 +63,7 @@ if (@mgi) { else { print "$text{'mgetty_none'}

\n"; } -print "$text{'mgetty_add'}

\n"; +print &ui_link("edit_mgetty.cgi?new=1",$text{'mgetty_add'})

\n"; print &ui_hr(); print "
\n"; diff --git a/postfix/mailq.cgi b/postfix/mailq.cgi index c42ac076b..a10aaa0a1 100755 --- a/postfix/mailq.cgi +++ b/postfix/mailq.cgi @@ -38,14 +38,14 @@ if (@qfiles) { $e = $in{'start'} + $config{'perpage'} - 1; $e = @qfiles-1 if ($e >= @qfiles); if ($s) { - printf "%s\n", + printf &ui_link("mailq.cgi?start=%d","%s")\n", $s - $config{'perpage'}, ""; } print "",&text('mail_pos', $s+1, $e+1, scalar(@qfiles)),"\n"; if ($e < @qfiles-1) { - printf "%s\n", + printf &ui_link("mailq.cgi?start=%d","%s")\n", $s + $config{'perpage'}, ""; } diff --git a/postfix/master.cgi b/postfix/master.cgi index 911579313..d1b385d39 100755 --- a/postfix/master.cgi +++ b/postfix/master.cgi @@ -7,7 +7,7 @@ $access{'master'} || &error($text{'master_ecannot'}); &ui_print_header(undef, $text{'master_title'}, "", "master"); $master = &get_master_config(); -print "$text{'master_add'}
\n"; +print &ui_link("edit_master.cgi?new=1",$text{'master_add'})
\n"; print &ui_columns_start([ $text{'master_name'}, $text{'master_enabled'}, $text{'master_type'}, @@ -32,6 +32,6 @@ foreach $m (@$master) { ]); } print &ui_columns_end(); -print "$text{'master_add'}
\n"; +print &ui_link("edit_master.cgi?new=1",$text{'master_add'})
\n"; &ui_print_footer("", $text{'index_return'}); diff --git a/postfix/postfix-lib.pl b/postfix/postfix-lib.pl index efb7e4e4e..6727ad3d0 100755 --- a/postfix/postfix-lib.pl +++ b/postfix/postfix-lib.pl @@ -1707,7 +1707,7 @@ foreach my $q (@$qfiles) { local @cols; push(@cols, { 'type' => 'checkbox', 'name' => 'file', 'value' => $q->{'id'} }); - push(@cols, "$q->{'id'}"); + push(@cols, &ui_link("view_mailq.cgi?id=$q->{'id'}",$q->{'id'})); local $size = &nice_size($q->{'size'}); push(@cols, "$q->{'date'}"); push(@cols, "".&html_escape($q->{'from'}).""); diff --git a/postfix/view_mailq.cgi b/postfix/view_mailq.cgi index 0773d5757..32e4fefb2 100755 --- a/postfix/view_mailq.cgi +++ b/postfix/view_mailq.cgi @@ -97,7 +97,7 @@ if (@attach) { foreach $a (@attach) { if ($a->{'type'} eq 'message/rfc822') { print &ui_columns_row([ - "{'idx'}'>$text{'view_sub'}", + &ui_link("view_mailq.cgi?id=$in{'id'}$subs&sub=$a->{'idx'}",$text{'view_sub'}), undef, &nice_size(length($a->{'data'})), ]); diff --git a/pptp-client/index.cgi b/pptp-client/index.cgi index e0ed2a643..451c61719 100755 --- a/pptp-client/index.cgi +++ b/pptp-client/index.cgi @@ -38,7 +38,7 @@ else { else { print "$text{'index_none'}

\n"; } - print "$text{'index_add'}

\n"; + print &ui_link("edit.cgi?new=1",$text{'index_add'})

\n"; print &ui_hr(); print "

$text{'mgetty_tty'}$text{'mgetty_type'}
\n"; diff --git a/procmail/index.cgi b/procmail/index.cgi index 350d3a772..f4c514be0 100755 --- a/procmail/index.cgi +++ b/procmail/index.cgi @@ -41,7 +41,7 @@ else { # Build links for adding things @links = ( &ui_link("edit_recipe.cgi?new=1",$text{'index_add'}), - "$text{'index_badd'}", + &ui_link("edit_recipe.cgi?new=1&block=1",$text{'index_badd'}), &ui_link("edit_env.cgi?new=1",$text{'index_eadd'}) ); push(@links, &ui_link("edit_inc.cgi?new=1",$text{'index_iadd'})) if (!$includes); diff --git a/qmailadmin/list_queue.cgi b/qmailadmin/list_queue.cgi index c9a3a1032..fce73670b 100755 --- a/qmailadmin/list_queue.cgi +++ b/qmailadmin/list_queue.cgi @@ -24,14 +24,14 @@ if (@queue) { $e = $in{'start'} + $config{'perpage'} - 1; $e = @queue-1 if ($e >= @queue); if ($s) { - printf "%s\n", + printf &ui_link("list_queue.cgi?start=%d","%s")\n", $s - $config{'perpage'}, ""; } print "",&text('mail_pos', $s+1, $e+1, scalar(@queue)),"\n"; if ($e < @queue-1) { - printf "%s\n", + printf &ui_link("list_queue.cgi?start=%d","%s")\n", $s + $config{'perpage'}, ""; } diff --git a/rbac/list_auths.cgi b/rbac/list_auths.cgi index 53cbcd892..8fba296b7 100755 --- a/rbac/list_auths.cgi +++ b/rbac/list_auths.cgi @@ -7,13 +7,13 @@ $access{'auths'} || &error($text{'auths_ecannot'}); $auths = &list_auth_attrs(); if (@$auths) { - print "$text{'auths_add'}
\n"; + print &ui_link("edit_auth.cgi?new=1",$text{'auths_add'})
\n"; print &ui_columns_start( [ $text{'auths_name'}, $text{'auths_desc'} ]); foreach $a (sort { $a->{'name'} cmp $b->{'name'} } @$auths) { print &ui_columns_row( - [ "$a->{'name'}", + [ &ui_link("edit_auth.cgi?idx=$a->{'index'}",$a->{'name'}), &rbac_help_link($a, $a->{'short'} || $a->{'desc'}), ]); } @@ -22,7 +22,7 @@ if (@$auths) { else { print "$text{'auths_none'}

\n"; } -print "$text{'auths_add'}
\n"; +print &ui_link("edit_auth.cgi?new=1",$text{'auths_add'})
\n"; &ui_print_footer("", $text{"index_return"}); diff --git a/rbac/list_execs.cgi b/rbac/list_execs.cgi index fc8d4d96a..aa810db02 100755 --- a/rbac/list_execs.cgi +++ b/rbac/list_execs.cgi @@ -7,14 +7,14 @@ $access{'execs'} || &error($text{'execs_ecannot'}); $execs = &list_exec_attrs(); if (@$execs) { - print "$text{'execs_add'}
\n"; + print &ui_link("edit_exec.cgi?new=1",$text{'execs_add'})
\n"; print &ui_columns_start( [ $text{'execs_name'}, $text{'execs_policy'}, $text{'execs_id'} ]); foreach $e (sort { $a->{'name'} cmp $b->{'name'} } @$execs) { print &ui_columns_row( - [ "$e->{'name'}", + [ &ui_link("edit_exec.cgi?idx=$e->{'index'}",$e->{'name'}), $text{'execs_p'.$e->{'policy'}}, $e->{'id'} eq '*' ? $text{'execs_all'} : $e->{'id'}, ]); @@ -24,7 +24,7 @@ if (@$execs) { else { print "$text{'execs_none'}

\n"; } -print "$text{'execs_add'}
\n"; +print &ui_link("edit_exec.cgi?new=1",$text{'execs_add'})
\n"; &ui_print_footer("", $text{"index_return"}); diff --git a/rbac/list_profs.cgi b/rbac/list_profs.cgi index 716098706..80b58f456 100755 --- a/rbac/list_profs.cgi +++ b/rbac/list_profs.cgi @@ -7,7 +7,7 @@ $access{'profs'} || &error($text{'profs_ecannot'}); $profs = &list_prof_attrs(); if (@$profs) { - print "$text{'profs_add'}
\n" + print &ui_link("edit_prof.cgi?new=1",$text{'profs_add'})
\n" if ($access{'profs'} == 1); print &ui_columns_start( [ $text{'profs_name'}, @@ -16,7 +16,7 @@ if (@$profs) { foreach $p (sort { $a->{'name'} cmp $b->{'name'} } @$profs) { print &ui_columns_row( [ $access{'profs'} == 1 ? - "$p->{'name'}" : + &ui_link("edit_prof.cgi?idx=$p->{'index'}",$p->{'name'}) : $p->{'name'}, &rbac_help_link($p, $p->{'desc'}), &nice_comma_list($p->{'attr'}->{'auths'}), @@ -27,7 +27,7 @@ if (@$profs) { else { print "$text{'profs_none'}

\n"; } -print "$text{'profs_add'}
\n" +print &ui_link("edit_prof.cgi?new=1",$text{'profs_add'})
\n" if ($access{'profs'} == 1); &ui_print_footer("", $text{"index_return"}); diff --git a/rbac/list_projects.cgi b/rbac/list_projects.cgi index df9d7748b..5c4e02320 100755 --- a/rbac/list_projects.cgi +++ b/rbac/list_projects.cgi @@ -8,7 +8,7 @@ require './rbac-lib.pl'; $projects = &list_projects(); @canprojects = @$projects; if (@canprojects) { - print "$text{'projects_add'}
\n"; + print &ui_link("edit_project.cgi?new=1",$text{'projects_add'})
\n"; print &ui_columns_start( [ $text{'projects_name'}, $text{'projects_desc'}, @@ -16,7 +16,7 @@ if (@canprojects) { $text{'projects_groups'} ]); foreach $p (sort { $a->{'name'} cmp $b->{'name'} } @canprojects) { print &ui_columns_row( - [ "$p->{'name'}", + [ &ui_link("edit_project.cgi?idx=$p->{'index'}",$p->{'name'}), $p->{'desc'}, &nice_user_list("users", $p->{'users'}), &nice_user_list("groups", $p->{'groups'}), @@ -27,7 +27,7 @@ if (@canprojects) { else { print "$text{'projects_none'}

\n"; } -print "$text{'projects_add'}
\n"; +print &ui_link("edit_project.cgi?new=1",$text{'projects_add'})
\n"; &ui_print_footer("", $text{"index_return"}); diff --git a/rbac/list_users.cgi b/rbac/list_users.cgi index 9fcaa49f6..6d52b45aa 100755 --- a/rbac/list_users.cgi +++ b/rbac/list_users.cgi @@ -7,7 +7,7 @@ require './rbac-lib.pl'; $users = &list_user_attrs(); @canusers = grep { &can_edit_user($_) } @$users; if (@canusers) { - print "$text{'users_add'}
\n"; + print &ui_link("edit_user.cgi?new=1",$text{'users_add'})
\n"; print &ui_columns_start( [ $text{'users_user'}, $text{'users_type'}, @@ -17,7 +17,7 @@ if (@canusers) { $text{'users_auths'} ]); foreach $u (sort { $a->{'user'} cmp $b->{'user'} } @canusers) { print &ui_columns_row( - [ "$u->{'user'}", + [ &ui_link("edit_user.cgi?idx=$u->{'index'}",$u->{'user'}), $text{'user_t'.$u->{'attr'}->{'type'}} || $u->{'attr'}->{'type'} || $text{'user_tnormal'}, @@ -32,6 +32,6 @@ if (@canusers) { else { print "$text{'users_none'}

\n"; } -print "$text{'users_add'}
\n"; +print &ui_link("edit_user.cgi?new=1",$text{'users_add'})
\n"; &ui_print_footer("", $text{"index_return"}); diff --git a/sendmail/list_mailq.cgi b/sendmail/list_mailq.cgi index 7e411e285..dfcf74b69 100755 --- a/sendmail/list_mailq.cgi +++ b/sendmail/list_mailq.cgi @@ -62,14 +62,14 @@ if (@qfiles) { $e = $in{'start'} + $config{'perpage'} - 1; $e = @qfiles-1 if ($e >= @qfiles); if ($s) { - printf "%s\n", + printf &ui_link("list_mailq.cgi?start=%d","%s")\n", $s - $config{'perpage'}, ""; } print "",&text('mail_pos', $s+1, $e+1, scalar(@qfiles)),"\n"; if ($e < @qfiles-1) { - printf "%s\n", + printf &ui_link("list_mailq.cgi?start=%d","%s")\n", $s + $config{'perpage'}, ""; } diff --git a/sendmail/view_mailq.cgi b/sendmail/view_mailq.cgi index f5c6d6fdd..51c772446 100755 --- a/sendmail/view_mailq.cgi +++ b/sendmail/view_mailq.cgi @@ -46,10 +46,10 @@ print &ui_hidden("file", $in{'file'}); # Start of headers section if ($in{'headers'}) { - $rlink = "$text{'view_noheaders'}"; + $rlink = &ui_link("view_mailq.cgi?file=$in{'file'}&headers=0$subs",$text{'view_noheaders'}); } else { - $rlink = "$text{'view_allheaders'}"; + $rlink = &ui_link("view_mailq.cgi?file=$in{'file'}&headers=1$subs",$text{'view_allheaders'}); } print &ui_table_start($text{'view_headers'}, "width=100%", 2, undef, $rlink); @@ -107,7 +107,7 @@ if (@attach) { foreach $a (@attach) { if ($a->{'type'} eq 'message/rfc822') { print &ui_columns_row([ - "$text{'view_sub'}", + &ui_link("view_mailq.cgi?file=$qfile$subs&sub=$a->{'idx'}",$text{'view_sub'}), undef, &nice_size(length($a->{'data'})), ]); diff --git a/shorewall/list.cgi b/shorewall/list.cgi index bf3848662..91316125c 100755 --- a/shorewall/list.cgi +++ b/shorewall/list.cgi @@ -69,7 +69,7 @@ if (@table) { } for($j=0; $j<@colnames; $j++) { if ($j == 0) { - $lnk = "$t[$j]"; + $lnk = &ui_link("edit.cgi?table=$in{'table'}&idx=$i","$t[$j]"); } else { $lnk = $t[$j]; diff --git a/shorewall6/list.cgi b/shorewall6/list.cgi index c39cffeb2..c56c29554 100755 --- a/shorewall6/list.cgi +++ b/shorewall6/list.cgi @@ -69,7 +69,7 @@ if (@table) { } for($j=0; $j<@colnames; $j++) { if ($j == 0) { - $lnk = "$t[$j]"; + $lnk = &ui_link("edit.cgi?table=$in{'table'}&idx=$i","$t[$j]"); } else { $lnk = $t[$j]; diff --git a/status/index.cgi b/status/index.cgi index f5c5299b6..0cfa937da 100755 --- a/status/index.cgi +++ b/status/index.cgi @@ -117,7 +117,7 @@ foreach $s (@_) { local $esc = &html_escape($s->{'desc'}); $esc = "$esc" if ($s->{'nosched'} == 1); if ($access{'edit'}) { - push(@cols, "$esc"); + push(@cols, &ui_link("edit_mon.cgi?id=$s->{'id'}",$esc)); } else { push(@cols, $esc); diff --git a/syslog-ng/list_logs.cgi b/syslog-ng/list_logs.cgi index b300bb806..e4e444ab6 100755 --- a/syslog-ng/list_logs.cgi +++ b/syslog-ng/list_logs.cgi @@ -23,7 +23,7 @@ if (@logs) { $filter = join(", ", &find_value("filter", $f->{'members'})); $dest = join(", ", &find_value("destination", $f->{'members'})); print &ui_checked_columns_row([ - "$source", + &ui_link("edit_log.cgi?idx=$f->{'index'}",$source), $filter || "$text{'logs_none'}", $dest || "$text{'logs_none'}", ], \@tds, "d", $f->{'index'}); diff --git a/syslog-ng/list_sources.cgi b/syslog-ng/list_sources.cgi index 996ffaec9..22a731d36 100755 --- a/syslog-ng/list_sources.cgi +++ b/syslog-ng/list_sources.cgi @@ -20,7 +20,7 @@ if (@sources) { foreach $f (@sources) { $desc = &nice_source_desc($f); print &ui_checked_columns_row([ - "$f->{'value'}", + &ui_link("edit_source.cgi?name=$f->{'value'}",$f->{'value'}), $desc || "$text{'sources_none2'}", ], \@tds, "d", $f->{'value'}); } diff --git a/usermin/edit_ssl.cgi b/usermin/edit_ssl.cgi index 2c53d850c..7f15d9dc3 100755 --- a/usermin/edit_ssl.cgi +++ b/usermin/edit_ssl.cgi @@ -111,7 +111,7 @@ if (@ipkeys) { else { print "$text{'ssl_ipkeynone'}

\n"; } -print "$text{'ssl_addipkey'}

\n"; +print &ui_link("edit_ipkey.cgi?new=1",$text{'ssl_addipkey'})

\n"; print &ui_tabs_end_tab(); # SSL key generation form diff --git a/usermin/list_restrict.cgi b/usermin/list_restrict.cgi index 5ea7a093b..1b20d4c34 100755 --- a/usermin/list_restrict.cgi +++ b/usermin/list_restrict.cgi @@ -55,7 +55,7 @@ if (@usermods) { else { print "$text{'restrict_none'}

\n"; } -print "$text{'restrict_add'}

\n"; +print &ui_link("edit_restrict.cgi?new=1",$text{'restrict_add'})

\n"; &ui_print_footer("", $text{'index_return'}); diff --git a/usermin/list_sessions.cgi b/usermin/list_sessions.cgi index 61444f2cd..4ff85b179 100755 --- a/usermin/list_sessions.cgi +++ b/usermin/list_sessions.cgi @@ -28,7 +28,7 @@ if (@keys) { local ($user, $ltime, $lip) = split(/\s+/, $acl::sessiondb{$k}); next if ($miniserv{'logouttime'} && $time_now - $ltime > $miniserv{'logouttime'}*60); - @cols = ( "$k" ); + @cols = ( &ui_link("delete_session.cgi?id=$k",$k) ); if ($uinfo = $umap{$user}) { push(@cols, "$user"); } diff --git a/vgetty/list_vgetty.cgi b/vgetty/list_vgetty.cgi index e31ad2a52..5415597f6 100755 --- a/vgetty/list_vgetty.cgi +++ b/vgetty/list_vgetty.cgi @@ -11,7 +11,7 @@ print &text('vgetty_desc', "vgetty"),"

\n"; @vgi = &vgetty_inittabs(); if (@vgi) { - print "$text{'vgetty_add'}
\n"; + print &ui_link("edit_vgetty.cgi?new=1",$text{'vgetty_add'})
\n"; print "

\n"; print " ", "\n"; @@ -36,7 +36,7 @@ if (@vgi) { else { print "$text{'vgetty_none'}

\n"; } -print "$text{'vgetty_add'}

\n"; +print &ui_link("edit_vgetty.cgi?new=1",$text{'vgetty_add'})

\n"; &ui_print_footer("", $text{'index_return'}); diff --git a/zones/edit_zone.cgi b/zones/edit_zone.cgi index de488bf2c..a8afdda8e 100755 --- a/zones/edit_zone.cgi +++ b/zones/edit_zone.cgi @@ -28,7 +28,7 @@ foreach $net (@{$zinfo->{'net'}}) { $active = &get_active_interface($zinfo, $net); ($address, $netmask) = &get_address_netmask($net, $active); $ntable->add_row([ - "{'address'}'>$address", + &ui_link("edit_net.cgi?zone=$in{'zone'}&old=$net->{'address'}",$address), $active->{'fullname'} || $text{'edit_netdown'}, $netmask, $active->{'broadcast'} ]); @@ -46,7 +46,7 @@ $pform->add_section($ptable); $ptable->set_heading($text{'edit_pkg'}); foreach $pkg (@{$zinfo->{'inherit-pkg-dir'}}) { if ($zinfo->{'status'} eq 'configured') { - $ptable->add_row([ "{'dir'}'>$pkg->{'dir'}" ]); + $ptable->add_row([ &ui_link("edit_pkg.cgi?zone=$in{'zone'}&old=$pkg->{'dir'}",$pkg->{'dir'}) ]); } else { $ptable->add_row([ "$pkg->{'dir'}" ]); @@ -74,7 +74,7 @@ $fform->add_section($ftable); $ftable->set_heading($text{'edit_fs'}); foreach $fs (@{$zinfo->{'fs'}}) { $ftable->add_row([ - "{'dir'}'>$fs->{'dir'}", + &ui_link("edit_fs.cgi?zone=$in{'zone'}&old=$fs->{'dir'}",$fs->{'dir'}), &mount::device_name($fs->{'special'}), &mount::fstype_name($fs->{'type'}), &get_active_mount($zinfo, $fs) ? @@ -109,7 +109,7 @@ foreach $rctl (@{$zinfo->{'rctl'}}) { push(@actions, $text{'rctl_'.$action}); } $rtable->add_row([ - "{'name'}'>$rctl->{'name'}", + &ui_link("edit_rctl.cgi?zone=$in{'zone'}&old=$rctl->{'name'}",$rctl->{'name'}), join("
", @privs), join("
", @limits), join("
", @actions), @@ -131,7 +131,7 @@ $gform->add_section($gtable); $gtable->set_heading($text{'edit_attr'}); foreach $attr (@{$zinfo->{'attr'}}) { $gtable->add_row([ - "{'name'}'>$attr->{'name'}", + &ui_link("edit_attr.cgi?zone=$in{'zone'}&old=$attr->{'name'}",$attr->{'name'}), $text{'attr_'.$attr->{'type'}}, $attr->{'value'}, ]); diff --git a/zones/index.cgi b/zones/index.cgi index a44889b36..d50c25019 100755 --- a/zones/index.cgi +++ b/zones/index.cgi @@ -31,7 +31,7 @@ else { push(@actions, new Webmin::TableAction("save_zone.cgi", $a->[1], [ [ "zone", $z->{'name'} ], [ $a->[0], 1 ], [ "list", 1 ] ])); } $table->add_row([ - "$z->{'name'}", + &ui_link("edit_zone.cgi?zone=$z->{'name'}",$z->{'name'}), $z->{'id'}, $z->{'zonepath'}, &nice_status($z->{'status'}), diff --git a/zones/zones-lib.pl b/zones/zones-lib.pl index 033a8582a..ff50a8006 100755 --- a/zones/zones-lib.pl +++ b/zones/zones-lib.pl @@ -258,10 +258,10 @@ local $z; foreach $z (@$zones) { local ($a, @actions); foreach $a (&zone_status_actions($z)) { - push(@actions, "[0]=1&list=1'>$a->[1]"); + push(@actions, &ui_link("save_zone.cgi?zone=$z->{'name'}&$a->[0]=1&list=1","$a->[1]")); } print &ui_columns_row([ - "$z->{'name'}", + &ui_link("edit_zone.cgi?zone=$z->{'name'}",$z->{'name'}), $z->{'id'}, $z->{'zonepath'}, &nice_status($z->{'status'}),

$text{'vgetty_tty'}$text{'vgetty_type'}