Project

General

Profile

« Previous | Next » 

Revision 9d071a47

Added by Frédéric Péters almost 14 years ago

always display box title

View differences:

extra/modules/root.ptl
49 49
import qommon.ident.password
50 50
import qommon.ident.idp
51 51

  
52
import drupal
53

  
52 54
def category_get_homepage_position(self):
53 55
    if hasattr(self, 'homepage_position') and self.homepage_position:
54 56
        return self.homepage_position
......
761 763
    saml = Saml2Directory()
762 764

  
763 765
    def _q_traverse(self, path):
766
        drupal.try_auth()
767

  
764 768
        session = get_session()
765 769
        if session:
766 770
            get_request().user = session.get_user()
......
798 802
            raise e
799 803

  
800 804

  
801

  
802 805
    def _q_lookup(self, component):
803 806
        if component == 'qo':
804 807
            dirname = os.path.join(get_publisher().data_dir, 'qommon')
......
893 896
        if level == 2:
894 897
            '<h2>%s</h2>' % _('Services')
895 898
        else:
896
            if position == '1st':
897
                '<h3>%s</h3>' % _('Services')
898
            else:
899
                '<h3></h3>'
899
            '<h3>%s</h3>' % _('Services')
900 900

  
901 901
        '<ul>'
902 902
        t

Also available in: Unified diff