Diff of /doc/source/template.txt [9ac085] .. [0176eb]  Maximize  Restore

Switch to unified view

a/doc/source/template.txt b/doc/source/template.txt
...
...
31
              <#
31
              <#
32
                for page in sidebar(indextree, div=''):
32
                for page in sidebar(indextree, div=''):
33
                    val = page['crumb']
33
                    val = page['crumb']
34
                    link = page['target']
34
                    link = page['target']
35
                    if page['title']:
35
                    if page['title']:
36
                        print '<div class="title-nav"><a href="%s">%s</a></div><div class="nav-branch">' % \
36
                        print('<div class="title-nav"><a href="%s">%s</a></div><div class="nav-branch">' %
37
                              (link, val)
37
                              (link, val))
38
                    else:
38
                    else:
39
                        print '<div class="normal-nav"><a href="%s">%s</a></div>' % (link, val)
39
                        print('<div class="normal-nav"><a href="%s">%s</a></div>' % (link, val))
40
              #>
40
              #>
41
            </div>
41
            </div>
42
            <div id="icons">
42
            <div id="icons">
43
                <div id="project-page">
43
                <div id="project-page">
44
                  <a href="http://sourceforge.net/projects/pyke/">Pyke Project Page</a>
44
                  <a href="http://sourceforge.net/projects/pyke/">Pyke Project Page</a>
...
...
93
  <div id="last-modified">
93
  <div id="last-modified">
94
    Page last modified
94
    Page last modified
95
    <# 
95
    <# 
96
       import datetime
96
       import datetime
97
       import re
97
       import re
98
       print datetime.date(*(int(x)
98
       print(datetime.date(*(int(x)
99
                             for x in re.search(r'([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})',
99
                             for x in re.search(r'([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})',
100
                                                filedate)
100
                                                filedate)
101
                                        .groups())
101
                                        .groups())
102
                          ).strftime("%a, %b %d %Y") + '.'
102
                          ).strftime("%a, %b %d %Y") + '.')
103
    #>
103
    #>
104
  </div>
104
  </div>
105
105
106
  <script type="text/javascript">
106
  <script type="text/javascript">
107
    var gaJsHost = (("https:" == document.location.protocol) ?
107
    var gaJsHost = (("https:" == document.location.protocol) ?

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks