~ubuntu-branches/ubuntu/trusty/torrus/trusty-proposed

« back to all changes in this revision

Viewing changes to templates/overview-subleaves.html

  • Committer: Bazaar Package Importer
  • Author(s): Marc Haber
  • Date: 2008-03-08 00:18:46 UTC
  • mfrom: (1.2.1 upstream) (3.1.3 hardy)
  • Revision ID: james.westby@ubuntu.com-20080308001846-q3pinwcswe3uf7wj
Tags: 1.0.6-2
Add torrus-common.NEWS advising people to recompile their
configuration upon upgrading to torrus 1.0.6.
Thanks to Joerg Dorchain. Closes: #469274

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
  FOREACH child = sortTokens(children(token));
15
15
    childpath = path(child);
16
16
    p = 'overview-subleave-name-' _ ovs;
17
 
    ovwpath = childpath _ nodeParam(token, p,1);
18
 
    IF nodeExists(ovwpath);
19
 
      ovwtoken = pathToken(ovwpath);
20
 
 
21
 
      urltoken = ovwtoken;
22
 
      p = 'overview-direct-link-' _ ovs;
23
 
      IF nodeParam(token, p, 1) == 'yes';
24
 
        urltoken = child;
25
 
        p = 'overview-direct-link-view-' _ ovs;
26
 
        urlview = nodeParam(token, p, 1);
 
17
    FOREACH childname = nodeParam(token, p,1).split('\s*,\s*');
 
18
      ovwpath = childpath _ childname;
 
19
      IF nodeExists(ovwpath);
 
20
        ovwtoken = pathToken(ovwpath);
 
21
 
 
22
        urltoken = ovwtoken;
 
23
        p = 'overview-direct-link-' _ ovs;
 
24
        IF nodeParam(token, p, 1) == 'yes';
 
25
          urltoken = child;
 
26
          p = 'overview-direct-link-view-' _ ovs;
 
27
          urlview = nodeParam(token, p, 1);
 
28
        END;
 
29
 
 
30
        INCLUDE shortgraph
 
31
          token=ovwtoken
 
32
          urltoken=urltoken
 
33
          urlview=urlview
 
34
          nodename=nodeName(path(child))
 
35
          comment=nodeParam(child,'comment',1);
27
36
      END;
28
 
 
29
 
      INCLUDE shortgraph
30
 
        token=ovwtoken
31
 
        urltoken=urltoken
32
 
        urlview=urlview
33
 
        nodename=nodeName(path(child))
34
 
        comment=nodeParam(child,'comment',1);
35
37
    END;
36
38
  END
37
39
%]