X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=ND.pm;h=8b2fdb3d9b2e872213e899edf86c686a1fa490c2;hb=ccbb7c701ee8fb08568f286fed3cf7c2ca3c1b11;hp=c3391f2bcc2ddf74781cfd62e2de3a4ca49f488c;hpb=2d7464077ae805a1923bb4e2024afeb769f30e02;p=ndwebbie.git diff --git a/ND.pm b/ND.pm index c3391f2..8b2fdb3 100755 --- 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);