Changeset 6116

Show
Ignore:
Timestamp:
01/23/12 10:32:23 (4 months ago)
Author:
mtld
Message:

added checkinclude example

Location:
trunk/pustefix-samples/pustefix-i18n
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/pustefix-samples/pustefix-i18n/pustefix-i18n-core/src/main/resources/PUSTEFIX-INF/txt/pages/Home.xml

    r5849 r6116  
    1111      <div class="rightcol"> 
    1212        <h3> 
    13         <pfx:include href="txt/common.xml" part="greeting" search="dynamic"/> 
    14       </h3> 
     13          <pfx:include href="txt/common.xml" part="greeting" search="dynamic"/> 
     14        </h3> 
     15        <h4> 
     16          <pfx:checkinclude href="/txt/common.xml" part="slogan" search="dynamic"> 
     17            <pfx:include href="txt/common.xml" part="slogan" search="dynamic"/> 
     18          </pfx:checkinclude> 
     19        </h4> 
    1520      <div class="form"> 
    1621      <pfx:forminput> 
     
    2732      <br/> 
    2833      </div> 
    29        
     34     
    3035    </theme> 
    3136  </part> 
  • trunk/pustefix-samples/pustefix-i18n/pustefix-i18n-lang-en/src/main/resources/PUSTEFIX-INF/txt/common.xml

    r5869 r6116  
    2626  </part> 
    2727   
     28  <part name="slogan"> 
     29    <theme name="default"> 
     30      Let's have some fun! 
     31    </theme> 
     32  </part> 
     33   
    2834  <part name="namequery"> 
    2935    <theme name="default">