From 2bb00b8d6473a767cba8616e18d587f98c773354 Mon Sep 17 00:00:00 2001 From: Bernie Innocenti Date: Mon, 22 Mar 2010 18:11:09 -0300 Subject: [PATCH] Add #navbar and #footer pragmas --- geekigeeki.py | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) 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('