Changes between Version 15 and Version 16 of EggCookingTutorial/BasicEggCooking


Ignore:
Timestamp:
Jan 25, 2006, 1:02:04 AM (18 years ago)
Author:
villaume@…
Comment:

This change was required to make 'helloworld' work for Trac 0.93

Legend:

Unmodified
Added
Removed
Modified
  • EggCookingTutorial/BasicEggCooking

    v15 v16  
    1111First you need ''setuptools''. For instructions and files see [http://peak.telecommunity.com/DevCenter/EasyInstall#installing-easy-install EasyInstall] page.
    1212
    13 You also need Trac 0.9.  Download it from the [trac:TracDownload#LatestDevelopmentRelease0.9beta2 TracDownload] page.
     13You also need '''Trac 0.93'''.  Download it from the [http://projects.edgewall.com/trac/wiki/TracDownload TracDownload] page.
    1414
    1515== Directories ==
     
    3636from trac.web.chrome import INavigationContributor
    3737from trac.web.main import IRequestHandler
    38 from trac.util import escape
     38from trac.util import escape, Markup
    3939
    4040class UserbaseModule(Component):
     
    4646               
    4747    def get_navigation_items(self, req):
    48         yield 'mainnav', 'helloworld', '<a href="%s">Hello</a>' \
    49                                   % escape(self.env.href.helloworld())
     48        yield 'mainnav', 'helloworld', Markup('<a href="%s">Hello</a>', self.env.href.helloworld())
    5049
    5150    # IRequestHandler methods