shlomi-fish-homepage / lib / jqui_tabs_multi_lang.wml

#include "jqui_tabs.wml"

<define-tag en endtag="required">
{#EN#:%body:##}
</define-tag>

<define-tag he endtag="required">
{#HE#:%body:##}
</define-tag>

<define-tag lip endtag="required">
<li>
<p>
%body
</p>
</li>
</define-tag>

<define-tag both endtag="required">
<en>%body</en><he>%body</he>
</define-tag>

<define-tag li_en endtag="required">
<en>
<lip>
%body
</lip>
</en>
</define-tag>

<define-tag li_he endtag="required">
<he>
<lip>
%body
</lip>
</he>
</define-tag>

<define-tag non_trans_en endtag="required">
<en>%body</en>
</define-tag>

<define-tag non_trans_he endtag="required">
<he>%body</he>
</define-tag>

<define-tag en_he_tabs>

<preserve  id_base />

<set-var %attributes />

<set-var en_id="<get-var id_base />_en" />
<set-var he_id="<get-var id_base />_he" />

<div class="tabs">

<ul>
<li><a href="#<get-var en_id />">English</a></li>
<li><a href="#<get-var he_id />">Hebrew (עברית)</a></li>
</ul>

<div id="<get-var en_id />">

<ul>
{#EN#}
</ul>

</div>

<div id="<get-var he_id />" class="hebrew">

<ul>
{#HE#}
</ul>

</div>

</div> ;;; end of .tabs

<restore id_base />
</define-tag>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.