Imported from SVN by Bitbucket
This commit is contained in:
21
caotek/zidol_theme/browser/templates/footer.pt
Executable file
21
caotek/zidol_theme/browser/templates/footer.pt
Executable file
@@ -0,0 +1,21 @@
|
||||
<div metal:define-macro="portal_footer"
|
||||
i18n:domain="plone"
|
||||
class="row">
|
||||
<div class="cell width-full position-0">
|
||||
<div id="portal-footer">
|
||||
|
||||
<table class="invisible" style="width=70%; margin-left:15%;">
|
||||
<tr>
|
||||
<td style="padding:1.8em;">
|
||||
<a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/deed.vi" target="_blank"><img alt="Licence Creative Commons" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-nd/3.0/88x31.png" /></a>
|
||||
</td>
|
||||
<td>
|
||||
Trang này được phát hành theo <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/deed.vi" target="_blank">Giấy phép Creative Commons BY-NC-ND 3.0 France</a>.<br />
|
||||
Copyright © 2006 by Dien Dan Forum, BP 50, 92340 Bourg-La-Reine, France. | <a href="mailto:diendan@diendan.org">diendan@diendan.org</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
55
caotek/zidol_theme/browser/templates/topic_standard.pt
Executable file
55
caotek/zidol_theme/browser/templates/topic_standard.pt
Executable file
@@ -0,0 +1,55 @@
|
||||
<tal:manager replace="structure provider:collage.ContentManager" />
|
||||
|
||||
<tal:variables define="plone_view here/@@plone;
|
||||
toLocalizedTime nocall: plone_view/toLocalizedTime;
|
||||
isAnon view/isAnon;
|
||||
mtool view/mtool;
|
||||
portal_url view/portal_url;
|
||||
normalizeString view/normalizeString;
|
||||
site_properties view/site_properties">
|
||||
|
||||
<div class="standard-topic"
|
||||
tal:define="topicContents view/getContents"
|
||||
tal:condition="topicContents">
|
||||
|
||||
<a tal:omit-tag="not: view/isAlias"
|
||||
tal:attributes="href context/absolute_url">
|
||||
<h2 metal:define-macro="title"
|
||||
tal:define="kssview context/@@collage_kss_helper"
|
||||
tal:attributes="id string:title-${kssview/getUniqueIdentifier};
|
||||
class python: kssview.getKssClasses('title')"
|
||||
tal:condition="here/Title">
|
||||
<span metal:define-slot="inside"
|
||||
tal:replace="here/Title">title</span>
|
||||
</h2>
|
||||
</a>
|
||||
|
||||
<p class="description-topic">
|
||||
<span metal:define-macro="description"
|
||||
tal:define="view context/@@collage_kss_helper"
|
||||
tal:attributes="id string:description-${view/getUniqueIdentifier};
|
||||
class python: view.getKssClasses('description')"
|
||||
tal:condition="here/Description">
|
||||
<span metal:define-slot="inside"
|
||||
tal:replace="here/Description">description</span>
|
||||
</span>
|
||||
</p>
|
||||
|
||||
<!-- idem vue standard mais avec about -->
|
||||
<tal:listing i18n:domain="plone"
|
||||
define="view context/@@collage_kss_helper/getKssView;
|
||||
getKssClasses python: view.getKssClasses;
|
||||
templateId string:folder_summary_view;
|
||||
folderContents topicContents">
|
||||
<metal:listing-macro use-macro="here/folder_listing_with_about/macros/listing" />
|
||||
|
||||
</tal:listing>
|
||||
|
||||
<a tal:attributes="href here/absolute_url"
|
||||
tal:condition="python:len(topicContents) == here.itemCount"
|
||||
i18n:domain="plone" i18n:translate="box_morelink">More...</a>
|
||||
|
||||
</div>
|
||||
|
||||
</tal:variables>
|
||||
|
||||
81
caotek/zidol_theme/browser/templates/topic_summary.pt
Executable file
81
caotek/zidol_theme/browser/templates/topic_summary.pt
Executable file
@@ -0,0 +1,81 @@
|
||||
<tal:manager replace="structure provider:collage.ContentManager" />
|
||||
|
||||
<tal:variables define="plone_view here/@@plone;
|
||||
toLocalizedTime nocall: plone_view/toLocalizedTime;
|
||||
isAnon view/isAnon;
|
||||
mtool view/mtool;
|
||||
portal_url view/portal_url;
|
||||
normalizeString view/normalizeString;
|
||||
site_properties view/site_properties">
|
||||
|
||||
<div class="standard-topic"
|
||||
tal:define="topicContents view/getContents;
|
||||
dossierTTM string:thay-tren-mang;
|
||||
dossierTBD string:ban-doc-va-dien-dan;
|
||||
dossierLu here/getId"
|
||||
tal:condition="topicContents">
|
||||
|
||||
<a tal:omit-tag="not: view/isAlias"
|
||||
tal:attributes="href context/absolute_url">
|
||||
<h2 metal:define-macro="title"
|
||||
tal:define="kssview context/@@collage_kss_helper"
|
||||
tal:attributes="id string:title-${kssview/getUniqueIdentifier};
|
||||
class python: kssview.getKssClasses('title')"
|
||||
tal:condition="here/Title">
|
||||
<span metal:define-slot="inside"
|
||||
tal:replace="here/Title">title</span>
|
||||
</h2>
|
||||
</a>
|
||||
|
||||
<!-- collection Thay tren mang -->
|
||||
<div tal:condition="python:dossierLu == dossierTTM">
|
||||
<a href="" tal:attributes="href string:${portal_url}/thay-tren-mang-moi">
|
||||
Xem thư mục Thấy trên mạng</a>
|
||||
</div>
|
||||
<!-- collection Bạn đọc và diễn đàn -->
|
||||
<div tal:condition="python:dossierLu == dossierTBD">
|
||||
<a href="" tal:attributes="href string:${portal_url}/BanDocVaZD">
|
||||
Xem thư mục Bạn đọc và Diễn Đàn </a>
|
||||
</div>
|
||||
|
||||
<p class="description-topic">
|
||||
<span metal:define-macro="description"
|
||||
tal:define="view context/@@collage_kss_helper"
|
||||
tal:attributes="id string:description-${view/getUniqueIdentifier};
|
||||
class python: view.getKssClasses('description')"
|
||||
tal:condition="here/Description">
|
||||
<span metal:define-slot="inside"
|
||||
tal:replace="here/Description">description</span>
|
||||
</span>
|
||||
</p>
|
||||
|
||||
<!-- avec description
|
||||
<tal:listing i18n:domain="plone"
|
||||
define="view context/@@collage_kss_helper/getKssView;
|
||||
getKssClasses python: view.getKssClasses;
|
||||
templateId string:folder_summary_view;
|
||||
folderContents topicContents">
|
||||
<metal:listing-macro use-macro="here/folder_listing/macros/listing" />
|
||||
</tal:listing>
|
||||
-->
|
||||
|
||||
<!-- idem vue standard mais sans description -->
|
||||
<tal:listing i18n:domain="plone"
|
||||
define="view context/@@collage_kss_helper/getKssView;
|
||||
getKssClasses python: view.getKssClasses;
|
||||
templateId string:folder_summary_view;
|
||||
folderContents topicContents">
|
||||
<metal:listing-macro use-macro="here/folder_listing_sans_desc/macros/listing" />
|
||||
</tal:listing>
|
||||
|
||||
<!-- cacher le lien "More"
|
||||
<a tal:attributes="href here/absolute_url"
|
||||
tal:condition="python:len(topicContents) == here.itemCount"
|
||||
i18n:domain="plone" i18n:translate="box_morelink">More...</a>
|
||||
-->
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</tal:variables>
|
||||
|
||||
Reference in New Issue
Block a user