From: Bernie Innocenti Date: Mon, 22 Mar 2010 21:11:09 +0000 (-0300) Subject: Add #navbar and #footer pragmas X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=2bb00b8d6473a767cba8616e18d587f98c773354;p=geekigeeki.git Add #navbar and #footer pragmas --- diff --git a/geekigeeki.py b/geekigeeki.py index a5ba6a2..b00838a 100755 --- a/geekigeeki.py +++ b/geekigeeki.py @@ -123,7 +123,7 @@ def send_guru(msg_text, msg_type): print('' \ % relative_url('sys/GuruMeditation.js')) -def send_title(name, text="Limbo", msg_text=None, msg_type='error', writable=False, mtime=None): +def send_title(name, text="Limbo", msg_text=None, msg_type='error', writable=False, mtime=None, navbar="on"): global title_done if title_done: return @@ -163,6 +163,9 @@ def send_title(name, text="Limbo", msg_text=None, msg_type='error', writable=Fal title_done = True send_guru(msg_text, msg_type) + if navbar != "on": + return + # NAVBAR print('