optional template
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 12 Mar 2006 04:12:16 +0000 (04:12 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 12 Mar 2006 04:12:16 +0000 (04:12 +0000)
ikiwiki

diff --git a/ikiwiki b/ikiwiki
index ca79d3b7eb13c27b5f17ec186034eafce6507d50..fa214971bb96bc11c8684844f319b31ec8830e26 100755 (executable)
--- a/ikiwiki
+++ b/ikiwiki
@@ -693,6 +693,7 @@ sub cgi_signin ($$) { #{{{
                javascript => 0,
                params => $q,
                action => $q->request_uri,
+               template => (-e "$templatedir/signin.tmpl" ? "$templatedir/signin.tmpl" : "")
        );
        
        $form->sessionid($session->id);