]> git.decadent.org.uk Git - maypole.git/blob - debian/patches/108_fix-uris.diff
Added patch to fix generation of some URIs in the standard templates.
[maypole.git] / debian / patches / 108_fix-uris.diff
1 --- trunk.orig/lib/Maypole/templates/factory/macros
2 +++ trunk/lib/Maypole/templates/factory/macros
3 @@ -14,7 +14,7 @@
4  [%
5  MACRO link(table, command, additional, label) BLOCK;
6      SET lnk = base _ "/" _ table _ "/" _ command _ "/" _ additional;
7 -    lnk = lnk | uri ;
8 +    lnk = lnk | html ;
9      '<a href="' _ lnk _ '">';
10      label | html;
11      "</a>";
12 --- trunk.orig/lib/Maypole/templates/factory/header
13 +++ trunk/lib/Maypole/templates/factory/header
14 @@ -10,7 +10,7 @@
15          </title>
16          <meta http-equiv="Content-Type" content="text/html; charset=[% request.document_encoding %]" />
17         <base href="[% config.uri_base%]"/>
18 -        <link title="Maypole" href="[% config.uri_base %]/maypole.css" type="text/css" rel="stylesheet" />
19 +        <link title="Maypole" href="[% base %]/maypole.css" type="text/css" rel="stylesheet" />
20     </head>
21      <body>
22          <div class="content">