Esmith::FormMagick::Panel::review

From SME Server
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

NAME

esmith::FormMagick::Panels::review - useful panel functions

In a root terminal you can do the command below if you want to display the up-to-date content

perldoc esmith::FormMagick::Panels::review

SYNOPSIS

          use esmith::FormMagick::Panels::review;
          my $panel = esmith::FormMagick::Panel::review->new();
          $panel->display();

DESCRIPTION

new();

Exactly as for esmith::FormMagick

get_prop ITEM PROP

A simple accessor for esmith::ConfigDB::Record::prop

get_net_prop ITEM PROP $fm $item $prop

A simple accessor for esmith::NetworksDB::Record::prop

get_value ITEM

A simple accessor for esmith::ConfigDB::Record::value

print_header FORMMAGICK HEADER

Prints an arbitrary "header" (h2) in the context of the form

print_row FORMMAGICK LABEL VALUE

Prints a row LABELVALUE in the context of the form. LABEL is localized. VALUE is not.

print_gateway_stanza

If this system is a server gateway, show the external ip and gateway ip

print_dhcp_stanza

Prints out the current state of dhcp service

gen_domains

Returns a string of the domains this SME Server serves or a localized string saying "no domains defined"

gen_email_addresses

Returns a string of the various forms of email addresses that work on an SMEServer

get_local_networks

Return a
delimited string of all the networks this SMEServer is serving.

get_local_domain

Get the local domain name

get_public_ip_address

Get the public IP address, if it is set. Note that this will only be set for ServiceLink customers.

print_page

output the whole page we want to show