#!/usr/local/bin/perl
# index.cgi
# Display all themes for the user to choose
require './theme-lib.pl';
&ReadParse();
&ui_print_header(undef, $text{'index_title'}, "", undef, 0, 1);
@themes = sort { $a->{'desc'} cmp $b->{'desc'} } &list_themes();
$uth = $gconfig{'theme_'.$remote_user};
print "$text{'index_desc'}
\n";
print "