Mercurial > hg > documentViewer
comparison zpt/viewer_text.zpt @ 509:9d05befdd462 elementtree
try to get characterNormalization in search result working.
author | casties |
---|---|
date | Mon, 27 Feb 2012 21:57:18 +0100 |
parents | d5a47f82e755 |
children | 4fb35343d2e7 |
comparison
equal
deleted
inserted
replaced
508:d5a47f82e755 | 509:9d05befdd462 |
---|---|
66 <div class="col-right"> | 66 <div class="col-right"> |
67 <!--"BEGIN TEXT DISPLAY" --> | 67 <!--"BEGIN TEXT DISPLAY" --> |
68 <div class="options"> | 68 <div class="options"> |
69 <h4>Text display</h4> | 69 <h4>Text display</h4> |
70 <pre tal:content="python:repr(viewLayers)" /> | 70 <pre tal:content="python:repr(viewLayers)" /> |
71 <pre tal:content="python:repr(viewLayer)" /> | |
71 <form tal:attributes="action viewerUrl" class="autosubmit"> | 72 <form tal:attributes="action viewerUrl" class="autosubmit"> |
72 <input type="hidden" | 73 <input type="hidden" |
73 tal:define="params python:here.getParams(params={'viewLayer':None,'viewMode':None})" | 74 tal:define="params python:here.getParams(params={'viewLayer':None,'viewMode':None})" |
74 tal:repeat="param params" | 75 tal:repeat="param params" |
75 tal:attributes="name param; value python:params[param]" /> | 76 tal:attributes="name param; value python:params[param]" /> |
179 <div class="options"> | 180 <div class="options"> |
180 <h4>Text normalization</h4> | 181 <h4>Text normalization</h4> |
181 <form tal:attributes="action viewerUrl" class="autosubmit" | 182 <form tal:attributes="action viewerUrl" class="autosubmit" |
182 tal:define="norm python:pageinfo.get('characterNormalization','regPlusNorm');"> | 183 tal:define="norm python:pageinfo.get('characterNormalization','regPlusNorm');"> |
183 <input type="hidden" | 184 <input type="hidden" |
184 tal:define="params python:here.getParams('characterNormalization',None)" | 185 tal:define="params python:here.getParams(params={'characterNormalization':None, 'viewLayer':viewLayer})" |
185 tal:repeat="param params" | 186 tal:repeat="param params" |
186 tal:attributes="name param; value python:params[param]" /> | 187 tal:attributes="name param; value python:params[param]" /> |
187 <ul> | 188 <ul> |
188 <li> | 189 <li> |
189 <input type="radio" class="autosubmit" name="characterNormalization" | 190 <input type="radio" class="autosubmit" name="characterNormalization" |