diff --git a/src/var/lib/tyto/program/form.py b/src/var/lib/tyto/program/form.py index c622aff..94aa507 100644 --- a/src/var/lib/tyto/program/form.py +++ b/src/var/lib/tyto/program/form.py @@ -719,7 +719,7 @@ def create_domain(target): # metas_load source file # #------------------------# def create_metas(option): - if not dom.valid: dom.valid() + if not dom.ready: dom.valid() # Defaut metas valuees when FIRST created metas_srvs = \ @@ -810,7 +810,7 @@ def create_metas(option): # sidebar load file translated # #------------------------------# def create_sidebar(option): - if not dom.valid: dom.valid() + if not dom.ready: dom.valid() # Create an empty html file in wip/www server if not exists if not tyto.exists(dom.wip_sidebar_f): @@ -876,7 +876,7 @@ def create_sidebar(option): # navbar load file translated # #-----------------------------# def create_navbar(option): - if not dom.valid: dom.valid() + if not dom.ready: dom.valid() # Create an empty html file in wip/www server if not exists if not tyto.exists(dom.wip_navbar_f): @@ -943,7 +943,7 @@ def create_navbar(option): # footer load file translated # #-----------------------------# def create_footer(option): - if not dom.valid: dom.valid() + if not dom.ready: dom.valid() # Default footer contents #------------------------ @@ -1112,6 +1112,9 @@ def create_footer(option): """ +#========================================# +# Create custom about section for footer # +#----------------------------------------# def create_footer_about(option): if not tyto.exists(dom.footer_about_f): set_f = '%s\n'%tr.footer_about_doc%(tyto.Tyto,