Changeset 304

Show
Ignore:
Timestamp:
01/09/06 21:45:18 (3 years ago)
Author:
mgood
Message:

AccountManagerPlugin:

merge [256] to 0.9 branch

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • accountmanagerplugin/0.9/acct_mgr/web_ui.py

    r132 r304  
    1818from trac.web.main import IRequestHandler 
    1919from trac.web.chrome import INavigationContributor, ITemplateProvider 
     20from trac.util import Markup 
    2021 
    2122from api import AccountManager 
     
    3536    def get_navigation_items(self, req): 
    3637        if req.authname != 'anonymous': 
    37             yield 'metanav', 'account', '<a href="%s">My Account</a>' \ 
    38                   % (self.env.href.account()) 
     38            yield 'metanav', 'account', Markup('<a href="%s">My Account</a>', 
     39                                               (self.env.href.account())) 
    3940 
    4041    # IRequestHandler methods 
     
    101102    def get_navigation_items(self, req): 
    102103        if req.authname == 'anonymous': 
    103             yield 'metanav', 'register', '<a href="%s">Register</a>' \ 
    104                   % (self.env.href.register()) 
     104            yield 'metanav', 'register', Markup('<a href="%s">Register</a>', 
     105                                                (self.env.href.register())) 
    105106 
    106107    # IRequestHandler methods 
  • accountmanagerplugin/0.9/setup.py

    r77 r304  
    88setup( 
    99    name = 'TracAccountManager', 
    10     version = '0.1.1', 
     10    version = '0.1.2', 
    1111    author = 'Matthew Good', 
    1212    author_email = 'trac@matt-good.net',