]> ruin.nu Git - ndwebbie.git/blobdiff - ND.pm
possible to chose stylesheet
[ndwebbie.git] / ND.pm
diff --git a/ND.pm b/ND.pm
index c3391f2bcc2ddf74781cfd62e2de3a4ca49f488c..8b2fdb3d9b2e872213e899edf86c686a1fa490c2 100755 (executable)
--- a/ND.pm
+++ b/ND.pm
@@ -125,6 +125,8 @@ sub page {
                        $ND::TEMPLATE->param(Targets => listTargets());
                }
                $TEMPLATE->param(Coords => param('coords') ? param('coords') : '1:1:1');
+               my ($css) = $DBH->selectrow_array(q{SELECT css FROM users WHERE uid = $1},undef,$ND::UID);
+               $TEMPLATE->param(CSS => $css);
 
        }
        $TEMPLATE->param(Error => $ERROR);