Commit 9d7d524f authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

use getLayoutProperty instead of getattr to acquire the value from its ancestors.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27159 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4a63c404
......@@ -138,7 +138,7 @@
<key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[
python:\'<div class="searchform"><fieldset><input name="field_your_search_text" class="field" value="" onkeyup="submitFormOnEnter(event, this.form, \\\'%(section_id)s/ERP5Site_viewQuickSearchResultList\\\');" /><input type="submit" name="%(section_id)s/ERP5Site_viewQuickSearchResultList:method" class="button" value="%(search)s" /></fieldset></div>\' % {\'section_id\':getattr(here, \'layout_search_area_section_id\', \'.\'), \'search\':here.Base_translateString(\'Search\')}
python:\'<div class="searchform"><fieldset><input name="field_your_search_text" class="field" value="" onkeyup="submitFormOnEnter(event, this.form, \\\'%(section_id)s/ERP5Site_viewQuickSearchResultList\\\');" /><input type="submit" name="%(section_id)s/ERP5Site_viewQuickSearchResultList:method" class="button" value="%(search)s" /></fieldset></div>\' % {\'section_id\':here.getLayoutProperty(\'layout_search_area_section_id\', \'.\'), \'search\':here.Base_translateString(\'Search\')}
]]></string> </value>
</item>
......
97
\ No newline at end of file
98
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment