Use new API

This commit is contained in:
Jamie Cameron
2010-01-23 14:41:56 -08:00
parent f774e20707
commit 7558605f35
2 changed files with 3 additions and 5 deletions

View File

@@ -8,10 +8,9 @@ if (! -d $config{'ssl_cert_dir'} ) { system("mkdir -p -m 0755 $config{'ssl_cert_
if (! -d $config{'ssl_csr_dir'} ) { system("mkdir -p -m 0755 $config{'ssl_csr_dir'}"); }
if (! -d $config{'ssl_key_dir'} ) { system("mkdir -p -m 0700 $config{'ssl_key_dir'}"); }
&header($text{'index_title'}, "", "intro", 1, 1);
&ui_print_header(undef, $text{'index_title'}, "", "intro", 1, 1);
print <<EOF;
<hr>
<table border>
<tr $tb> <td align=center><b>$text{'index_header'}</b></td> </tr>
<tr $cb> <td><table width=100%><tr>
@@ -23,6 +22,5 @@ foreach $p (@pages) {
print "</td><td><a href=$p.cgi>$txt</a></td></tr>\n";
}
print "</table></td></tr></table>\n";
print &ui_hr();
&footer("/", $text{'index_index'});
&ui_print_footer("/", $text{'index_index'});

View File

@@ -83,7 +83,7 @@ edit_notexist=Not created yet
edit_notused=Not in use
edit_size=Size
edit_label=Partition label
edit_volid=Filesystem ID
edit_volid=Volume ID
edit_blocks=$1 blocks
edit_inuse=This partition cannot be changed as it is currently in use or configured for use.
edit_mkfs=Create New Filesystem