--- /dev/null
+./cache/cbfeed
+./cache/cbtpl
+./cache/daorg
+./cache/versions
\ No newline at end of file
--- /dev/null
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="PublishConfigData" serverName="michelcastel.com" remoteFilesAllowedToDisappearOnAutoupload="false">
+ <serverData>
+ <paths name="alphaville.cubedesigners.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="demo1.cubedesigners.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="dev-digital.danone.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="dev.ccgm.fr">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="dev.cubedesigners.fr">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="dev.cubjeans.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="dev.detouteslescouleurs.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="dev.enko-running-shoes.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="dev.extranet.cubedesigners.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="dev.fluidbook.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="dev.pm-instrumentation.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="dev.rbcmobilier.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="dev.renversez.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="dev.toolbox.fluidbook.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="dev.toolbox.fluidbook.com (Host)">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="digitaltoolbox.danone.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="etatpur.ei-plateforme1.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="extranet.cubedesigners.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="extranet.preventicom.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="hosting.fluidbook.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="kingkong.cubedesigners.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="m.cubjeans.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="magento.enko-running-shoes.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="michelcastel.com">
+ <serverdata>
+ <mappings>
+ <mapping deploy="/" local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="odl.cube">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="odl.paris.cubedesigners.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="parrotmail.dev.cubedesigners.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="preview.cubedesigners.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="pro.cubjeans.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="simeox.dev.cubedesigners.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="songbook.enhydra.fr">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="stats3.fluidbook.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="toolbox.fluidbook.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="toolbox.fluidbook.com (Host)">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="vps-e87c4d02.vps.ovh.net">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="workshop.fluidbook.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.adangelis.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.animeland.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.ccgm.fr">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.cesaretleonie.fr">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.cfgv.fr">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.cubedesigners.fr">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.cubjeans.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.detouteslescouleurs.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.enko-running-shoes.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.eurofinsadmebioanalyses.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.fluidbook.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.hf-customercare.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.kadreo.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.mdryvescouzy.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.microbas.se">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.mirakl.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.optimed-recrutement.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.pavillonmadeleine.fr">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.physioassist.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.pm-instrumentation.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.preventicom.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.rbcmobilier.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.renversez.com">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ <paths name="www.sycomore-am.com (1)">
+ <serverdata>
+ <mappings>
+ <mapping local="$PROJECT_DIR$" web="/" />
+ </mappings>
+ </serverdata>
+ </paths>
+ </serverData>
+ </component>
+</project>
\ No newline at end of file
--- /dev/null
+<component name="libraryTable">
+ <library name="locales">
+ <CLASSES>
+ <root url="jar://$PROJECT_DIR$/plugins/daInstaller/locales/l10n-daInstaller-fr-1304424006.bck.zip!/" />
+ <root url="jar://$PROJECT_DIR$/plugins/daInstaller/locales/l10n-daInstaller-fr-1304423937.bck.zip!/" />
+ <root url="jar://$PROJECT_DIR$/plugins/daInstaller/locales/l10n-daInstaller-fr-1304423968.bck.zip!/" />
+ <root url="jar://$PROJECT_DIR$/plugins/daInstaller/locales/l10n-daInstaller-fr-1305546468.bck.zip!/" />
+ <root url="jar://$PROJECT_DIR$/plugins/daInstaller/locales/l10n-daInstaller-fr-1304424011.bck.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+</component>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="JAVA_MODULE" version="4">
+ <component name="NewModuleRootManager" inherit-compiler-output="true">
+ <exclude-output />
+ <content url="file://$MODULE_DIR$" />
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ </component>
+</module>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="AhkProjectSettings">
+ <option name="defaultAhkSdk" value="AutoHotkey" />
+ </component>
+ <component name="ProjectRootManager" version="2" languageLevel="JDK_1_6">
+ <output url="file://$PROJECT_DIR$/out" />
+ </component>
+</project>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="ProjectModuleManager">
+ <modules>
+ <module fileurl="file://$PROJECT_DIR$/.idea/michelcastel.iml" filepath="$PROJECT_DIR$/.idea/michelcastel.iml" />
+ </modules>
+ </component>
+</project>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="SshConfigs">
+ <configs>
+ <sshConfig host="dracula.cubedesigners.com" id="47ad7b4a-532f-4e6f-ad7c-195eff2ef4d0" keyPath="$USER_HOME$/.ssh/id_rsa" port="22" nameFormat="DESCRIPTIVE" username="root" useOpenSSHConfig="true" />
+ </configs>
+ </component>
+</project>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="VcsDirectoryMappings">
+ <mapping directory="" vcs="Git" />
+ </component>
+</project>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="WebServers">
+ <option name="servers">
+ <webServer id="09267941-2901-46a4-a91e-772c86400341" name="michelcastel.com" url="https://michelcastel.com">
+ <fileTransfer rootFolder="/docker/michelcastel/www" accessType="SFTP" host="dracula.cubedesigners.com" port="22" sshConfigId="47ad7b4a-532f-4e6f-ad7c-195eff2ef4d0" sshConfig="root@dracula.cubedesigners.com:22 key" keyPair="true">
+ <advancedOptions>
+ <advancedOptions dataProtectionLevel="Private" keepAliveTimeout="0" passiveMode="true" shareSSLContext="true" />
+ </advancedOptions>
+ </fileTransfer>
+ </webServer>
+ </option>
+ </component>
+</project>
\ No newline at end of file
+++ /dev/null
-O:10:"feedParser":7:{s:9:"feed_type";s:8:"atom 1.0";s:5:"title";s:13:"Blog Dotclear";s:4:"link";s:29:"https://fr.dotclear.org/blog/";s:11:"description";s:33:"Prenez le contrôle de votre blog";s:7:"pubdate";s:25:"2023-10-16T10:50:34+02:00";s:9:"generator";s:8:"Dotclear";s:5:"items";a:20:{i:0;O:8:"stdClass":8:{s:4:"link";s:60:"https://fr.dotclear.org/blog/post/2023/08/31/Dotclear-2.27.3";s:5:"title";s:15:"Dotclear 2.27.3";s:7:"creator";s:6:"Franck";s:11:"description";s:0:"";s:7:"content";s:276:" <p>Une nouvelle version qui corrige quelques problèmes rencontrés avec l'installation, la gestion des dépendances des plugins et thèmes, la procédure de récupération de mot de passe, l'export à plat et lorsque certains réglages de widget étaient incorrects.</p>
-";s:7:"subject";a:1:{i:0;s:4:"News";}s:7:"pubdate";s:25:"2023-08-31T16:34:00+02:00";s:2:"TS";i:1693492440;}i:1;O:8:"stdClass":8:{s:4:"link";s:60:"https://fr.dotclear.org/blog/post/2023/08/22/Dotclear-2.27.2";s:5:"title";s:15:"Dotclear 2.27.2";s:7:"creator";s:6:"Franck";s:11:"description";s:0:"";s:7:"content";s:300:" <p>Une nouvelle version de maintenance qui comporte quelques corrections d'erreurs rencontrées avec les versions <a href="https://fr.dotclear.org/blog/post/2023/08/13/Dotclear-2.27">2.27</a> et <a href="https://fr.dotclear.org/blog/post/2023/08/14/Dotclear-2.27.1">2.27.1</a> précédentes.</p>
-";s:7:"subject";a:1:{i:0;s:4:"News";}s:7:"pubdate";s:25:"2023-08-22T11:05:00+02:00";s:2:"TS";i:1692695100;}i:2;O:8:"stdClass":8:{s:4:"link";s:60:"https://fr.dotclear.org/blog/post/2023/08/14/Dotclear-2.27.1";s:5:"title";s:15:"Dotclear 2.27.1";s:7:"creator";s:6:"Franck";s:11:"description";s:0:"";s:7:"content";s:217:" <p>Forcément, on regarde partout, on teste mille fois, et puis la petite erreur de frappe vient s'insinuer dans les rouages bien huilés et donc ce matin une petite version de maintenance sans effet visible.</p>
-";s:7:"subject";a:1:{i:0;s:4:"News";}s:7:"pubdate";s:25:"2023-08-14T09:47:00+02:00";s:2:"TS";i:1691999220;}i:3;O:8:"stdClass":8:{s:4:"link";s:58:"https://fr.dotclear.org/blog/post/2023/08/13/Dotclear-2.27";s:5:"title";s:13:"Dotclear 2.27";s:7:"creator";s:6:"Franck";s:11:"description";s:0:"";s:7:"content";s:1223:" <p>Comme souvent on avait prévu des monts et des merveilles et puis chemin faisant on est redevenu raisonnable compte-tenu de nos disponibilités respectives avec toutefois quelques améliorations visibles et surtout beaucoup de travail invisible pour moderniser le code et supprimer les vieilleries.</p>
-
-<p>Ce trimestre la <strong>version 2.27</strong> apporte la prévisualisation des thèmes avec le contenu actuel du blog, ça peut être utile pour se rendre compte visuellement avant d'activer un thème, et puis on a ajouté et complété (à l'aide de moteurs de traduction) quelques langues ; mais surtout cette version <strong>est la dernière à supporter PHP 7.4 et PHP 8.0</strong>.</p>
-
-<p>Nous vous conseillons donc, si vous souhaitez poursuivre les mises à jour futures, de basculer sur <strong>PHP 8.1 ou PHP 8.2</strong>. Notez que ne pas le faire ne vous empêchera pas d'utiliser encore longtemps la 2.27, à vous de voir.</p>
-
-<p>Pour finir, nous souhaitons un joyeux anniversaire pour <strong>les vingt ans de DotClear</strong> avec un C majuscule, comme Olivier l'écrivait dans <a href="https://fr.dotclear.org/blog/post/2003/08/13/1-ouverture-du-site-dotclear">son billet d'annonce</a> !</p>
-";s:7:"subject";a:1:{i:0;s:4:"News";}s:7:"pubdate";s:25:"2023-08-13T08:43:00+02:00";s:2:"TS";i:1691908980;}i:4;O:8:"stdClass":8:{s:4:"link";s:60:"https://fr.dotclear.org/blog/post/2023/06/04/Dotclear-2.26.1";s:5:"title";s:15:"Dotclear 2.26.1";s:7:"creator";s:6:"Franck";s:11:"description";s:0:"";s:7:"content";s:708:" <p>Une petite version de maintenance, habituelle après une version majeure et qui règle quelques problèmes rencontrés depuis.</p>
-
-<p>La prochaine version majeure (2.27) est prévue pour mi-août, ça sera d'ailleurs l'occasion de fêter les 20 ans de Dotclear et sachez que cette version sera <strong>la dernière</strong> à supporter encore PHP 7.4.</p>
-
-<p>À partir de la 2.28 qui sera publiée à la fin de l'année (mi-novembre a priori) il faudra avoir a minima <strong>PHP 8.1</strong> pour fonctionner.</p>
-
-<p>Vous pouvez d'ores et déjà vous y préparer en basculant sur cette version, voire encore mieux sur la 8.2 puisque ça fait quelques versions que Dotclear la supporte bien !</p>
-";s:7:"subject";a:1:{i:0;s:4:"News";}s:7:"pubdate";s:25:"2023-06-04T09:15:00+02:00";s:2:"TS";i:1685862900;}i:5;O:8:"stdClass":8:{s:4:"link";s:58:"https://fr.dotclear.org/blog/post/2023/05/13/Dotclear-2.26";s:5:"title";s:13:"Dotclear 2.26";s:7:"creator";s:6:"Franck";s:11:"description";s:0:"";s:7:"content";s:1228:" <p>Une nouvelle version dont la mise à jour devrait passer sans problème majeur chez la plupart d'entre vous.</p>
-
-<p>Rien d'extraordinaire cette fois, surtout des petites améliorations ici et là, et c'est surtout du côté du code que l'essentiel à été fait car pour la première fois depuis la première version de Dotclear 2, la librairie Clearbricks n'en fait plus partie, ou plutôt a été intégrée directement dans le code de Dotclear.</p>
-
-<p>C'était également l'occasion de renforcer les tests unitaires et l'analyse statique du code (avec PHPStan, PSalm et Rector) qui continuera d'être progressivement modernisé (il en reste pas mal).</p>
-
-<p>Un nouveau thème est en cours de développement et il devrait, si possible, faire partie de la prochaine version majeure — qui sonnera aussi les 20 ans de Dotclear —, mais comme on a dit souvent ici : « Ça sera le cas quand il sera prêt ! ».</p>
-
-<p>Par ailleurs, la reprise de l'architecture de l'administration est à l'étude, en particulier pour bénéficier des dernières possibilités de HTML et CSS. Il y aura possiblement un peu de casse, mais on essaiera de limiter les dégâts, comme à notre habitude.</p>
-
-<p>Bonne mise à jour !</p>
-";s:7:"subject";a:1:{i:0;s:4:"News";}s:7:"pubdate";s:25:"2023-05-13T06:08:00+02:00";s:2:"TS";i:1683950880;}i:6;O:8:"stdClass":8:{s:4:"link";s:60:"https://fr.dotclear.org/blog/post/2023/02/25/Dotclear-2.25.3";s:5:"title";s:15:"Dotclear 2.25.3";s:7:"creator";s:6:"Franck";s:11:"description";s:0:"";s:7:"content";s:82:" <p>Une mise à jour qui corrige quelques bugs rencontrés avec la 2.25.2.</p>
-";s:7:"subject";a:1:{i:0;s:4:"News";}s:7:"pubdate";s:25:"2023-02-25T09:16:00+01:00";s:2:"TS";i:1677312960;}i:7;O:8:"stdClass":8:{s:4:"link";s:60:"https://fr.dotclear.org/blog/post/2023/02/19/Dotclear-2.25.2";s:5:"title";s:15:"Dotclear 2.25.2";s:7:"creator";s:6:"Franck";s:11:"description";s:0:"";s:7:"content";s:82:" <p>Une mise à jour qui corrige quelques bugs rencontrés avec la 2.25.1.</p>
-";s:7:"subject";a:1:{i:0;s:4:"News";}s:7:"pubdate";s:25:"2023-02-19T09:13:00+01:00";s:2:"TS";i:1676794380;}i:8;O:8:"stdClass":8:{s:4:"link";s:60:"https://fr.dotclear.org/blog/post/2023/02/18/Dotclear-2.25.1";s:5:"title";s:15:"Dotclear 2.25.1";s:7:"creator";s:6:"Franck";s:11:"description";s:0:"";s:7:"content";s:80:" <p>Une mise à jour qui corrige quelques bugs rencontrés avec la 2.25.</p>
-";s:7:"subject";a:1:{i:0;s:4:"News";}s:7:"pubdate";s:25:"2023-02-18T13:08:00+01:00";s:2:"TS";i:1676722080;}i:9;O:8:"stdClass":8:{s:4:"link";s:58:"https://fr.dotclear.org/blog/post/2023/02/13/Dotclear-2.25";s:5:"title";s:13:"Dotclear 2.25";s:7:"creator";s:6:"Franck";s:11:"description";s:0:"";s:7:"content";s:3009:" <p>Une nouvelle version de Dotclear pour laquelle vous devriez rencontrer moins de soucis, si c'était le cas, qu'au moment de la mise à jour en 2.24.</p>
-
-<p>Cette version intègre essentiellement une modernisation du code — modernisation qui devrait encore se poursuivre pendant quelques trimestres.</p>
-
-<p>Il est possible que dans un futur proche la version de PHP requise évolue, en particulier pour nous permettre d'accentuer nos efforts sur la modernisation du code. Pour l'instant c'est encore PHP 7.4, mais l'interface d'administration de la 2.25 vous signalera, si vous utilisez encore cette version, qu'il est temps de songer à basculer sur PHP 8.0 ou encore PHP 8.1, voire PHP 8.2 pour laquelle nous nous sommes efforcés d'assurer la compatibilité.</p>
-
-<p>Une petite note à l'attention des développeurs de plugins : Il était jusqu'à maintenant optionnel de définir le type de module dans le fichier <code>_define.php</code> ; il est fort probable que la future 2.26 l'impose, alors ajoutez cette ligne dans les propriétés :</p>
-
-<pre class="brush: php">
-'type' => 'plugin',
-</pre>
-
-<p>Prenez exemple sur un des plugins distribués avec Dotclear si nécessaire.</p>
-
-<p>Le CHANGELOG de la 2.25 :</p>
-
-<ul>
-<li>🐘 PHP 7.4+ is required, PHP 8.0/8.1 compliance (and as far as we know PHP 8.2)</li>
-<li>Core: New plugin/theme code structure (using a brand new autoloader), old plugins/themes remain compatibles</li>
-<li>Core: Clearbricks is now included in Dotclear code, not more as a git sub-module</li>
-<li>Core: Update last step will not redirect to the safe-mode login page</li>
-<li>Core: No more need to add namespace (blog-settings) / workspace (user-preferences) before using them</li>
-<li>Core: Add possible using of external db driver (Experimental)</li>
-<li>Core: Add support of .mjs ECMAScript module files</li>
-<li>Core: Remove unnecessary and weak protection code</li>
-<li>Core: Move some legacy and proxy code in dcProxyV2 plugin</li>
-<li>a11y: Some aria attributes have been set in backend</li>
-<li>Theme: Merge default smilies and blog's smilies (the blog's smilies have a higher priority)</li>
-<li>Theme: Merge plugin blowupConfig into theme Blowup</li>
-<li>Admin: Some jQuery javascript scripts have been rewritten in pure ECMAScript</li>
-<li>Admin: Add Atkinson Hyperlegible font (used by default in admin, may be disabled in user pref)</li>
-<li>Admin: Add some shortcuts (CTRL+letter) to dcLegacyEditor toolbar</li>
-<li>Admin: Add a specific warning message on update page if necessary (breaking changes)</li>
-<li>Admin: Cope with no user TZ defined (use UTC in this case)</li>
-<li>Admin: Fix admin permission management for blogroll and pages plugins</li>
-<li>Admin: Cope with float/double values in about:config and user:pref</li>
-<li>🐛 → Various bugs, a11y concerns and typos fixed</li>
-<li>🌼 → Some locales and cosmetic adjustments</li>
-<li>📣 Warning: Next major release (2.26) may require PHP 8.0 (announced in backend) or PHP 8.1</li>
-</ul>
-";s:7:"subject";a:1:{i:0;s:4:"News";}s:7:"pubdate";s:25:"2023-02-13T09:25:00+01:00";s:2:"TS";i:1676276700;}i:10;O:8:"stdClass":8:{s:4:"link";s:60:"https://fr.dotclear.org/blog/post/2023/01/18/Dotclear-2.24.1";s:5:"title";s:15:"Dotclear 2.24.1";s:7:"creator";s:6:"Franck";s:11:"description";s:0:"";s:7:"content";s:97:" <p>Une mise à jour qui corrige quelques bugs rencontrés avec la 2.24 de Noël dernier.</p>
-";s:7:"subject";a:1:{i:0;s:4:"News";}s:7:"pubdate";s:25:"2023-01-18T12:13:00+01:00";s:2:"TS";i:1674040380;}i:11;O:8:"stdClass":8:{s:4:"link";s:58:"https://fr.dotclear.org/blog/post/2022/12/24/Dotclear-2.24";s:5:"title";s:13:"Dotclear 2.24";s:7:"creator";s:6:"Franck";s:11:"description";s:0:"";s:7:"content";s:1827:" <p>La nouvelle version pour les fêtes de fin d'année. Il est <strong>fortement</strong> recommandé de faire la <a href="https://fr.dotclear.org/blog/post/2022/12/13/Faire-la-mise-%C3%A0-jour-en-2.24">mise à jour</a> en <a href="https://fr.dotclear.org/blog/post/2022/12/03/Mode-de-secours-de-Dotclear-2.24">mode de secours</a>, ce qui vous permettra ensuite de mettre à jour les plugins qui doivent l'être.</p>
-
-<p>Si vous avez un souci pour vous connecter après la mise à jour, supprimez les cookies associés avant de rafraichir la page de connexion.</p>
-
-<p>Le CHANGELOG de la 2.24 :</p>
-
-<ul>
-<li>🐘 PHP 7.4+ is required, PHP 8.0/8.1 compliance</li>
-<li>🗑 Remove XML/RPC system (keep only minimum for Pingbacks)</li>
-<li>New blog parameter to close comments/trackbacks after a period of inactivity on the blog</li>
-<li>Core: Large code review has been done, may break old code (3rd party plugins and themes)</li>
-<li>Admin UI: New default icons for media items</li>
-<li>Admin UI: Message look reviewed</li>
-<li>Admin UX: Preserve current dir and current view of media manager</li>
-<li>Admin UX: Password strength use an entropy indicator</li>
-<li>Admin UX: Improve navigation in about:config and user:preferences list</li>
-<li>Admin UX: Allow activation and de-activation of plugins in safe mode</li>
-<li>Admin UX: Allow update of disabled/activated plugins in safe mode/normal mode</li>
-<li>Admin UX: Add folding capability to widgets group</li>
-<li>Theme: Cope with theme defined widget container format</li>
-<li>Theme: Smilies are available for every theme (Blowup theme not more mandatory)</li>
-<li>Lib: Update CKEditor to 4.20.1</li>
-<li>Lib: Update Codemirror to 5.65.10</li>
-<li>🐛 → Various bugs, a11y concerns and typos fixed</li>
-<li>🌼 → Some locales and cosmetic adjustments</li>
-</ul>
-";s:7:"subject";a:1:{i:0;s:4:"News";}s:7:"pubdate";s:25:"2022-12-24T10:00:00+01:00";s:2:"TS";i:1671872400;}i:12;O:8:"stdClass":8:{s:4:"link";s:78:"https://fr.dotclear.org/blog/post/2022/12/13/Faire-la-mise-%C3%A0-jour-en-2.24";s:5:"title";s:29:"Faire la mise à jour en 2.24";s:7:"creator";s:6:"Franck";s:11:"description";s:0:"";s:7:"content";s:5541:" <p><img src="https://fr.dotclear.org/public/feuille-dc.svg" alt="" style="width: 10em; margin: 0 auto; display: block;" /></p>
-
-<p>On va pas se mentir, la prochaine mise à jour pourra être … sportive<sup id="fnref:4"><a href="https://fr.dotclear.org/blog/post/2022/12/13/Faire-la-mise-%C3%A0-jour-en-2.24#fn:4" rel="footnote">1</a></sup> :-)</p>
-
-<p>Je viens de tester plusieurs fois, à partir d'une installation qui tourne en production (mon <a href="https://open-time.net/">blog</a>) avec Dotclear 2.23.1 et j'ai noté les choses suivantes :</p>
-
-<ol>
-<li><p>Si jamais vous utilisez le plugin de <a href="https://plugins.dotaddict.org/dc2/details/staticCache">cache statique</a><sup id="fnref:2"><a href="https://fr.dotclear.org/blog/post/2022/12/13/Faire-la-mise-%C3%A0-jour-en-2.24#fn:2" rel="footnote">2</a></sup>, <strong>désactivez-le</strong> temporairement (il suffit de commenter la constante d'activation <code>DC_SC_CACHE_ENABLE</code> dans le fichier <var>inc/config.php</var>, ou de la mettre à <code>false</code>).</p></li>
-<li><p>Faire la mise à jour vers Dotclear 2.24 en <strong>mode de secours</strong> est la meilleure façon de faire, une fois que vous savez<sup id="fnref:3"><a href="https://fr.dotclear.org/blog/post/2022/12/13/Faire-la-mise-%C3%A0-jour-en-2.24#fn:3" rel="footnote">3</a></sup> que les plugins que vous utilisez sont <strong>disponibles</strong> pour la 2.24<sup id="fnref:1"><a href="https://fr.dotclear.org/blog/post/2022/12/13/Faire-la-mise-%C3%A0-jour-en-2.24#fn:1" rel="footnote">4</a></sup>.</p></li>
-<li><p>Si jamais vous aviez besoin du plugin <a href="https://plugins.dotaddict.org/dc2/details/fakemeup">FakeMeUp</a>, alors reconnectez-vous en mode normal, installez-le, lancez-le, puis reconnectez-vous en mode de secours.</p></li>
-<li><p>Place aux <strong>mises à jour</strong> :</p>
-
-<ol>
-<li>Faites la mise à jour de <strong>Dotclear en 2.24</strong> (toujours en <strong>mode de secours</strong>),</li>
-<li>Reconnectez-vous en <strong>mode de secours</strong> car l'étape précédente vous ramènera sur la page d'authentification<sup id="fnref:8"><a href="https://fr.dotclear.org/blog/post/2022/12/13/Faire-la-mise-%C3%A0-jour-en-2.24#fn:8" rel="footnote">5</a></sup>,</li>
-<li>Faites la <strong>mise à jour des plugins</strong><sup id="fnref:7"><a href="https://fr.dotclear.org/blog/post/2022/12/13/Faire-la-mise-%C3%A0-jour-en-2.24#fn:7" rel="footnote">6</a></sup>,</li>
-<li><strong>Réactivez</strong> le cache statique si nécessaire,</li>
-<li>Reconnectez-vous en <strong>mode normal</strong>.</li>
-</ol></li>
-</ol>
-
-<p>Ça devrait être tout bon !</p>
-
-<p>Profitez-en pour <strong>vider le cache des templates</strong> et <strong>le cache statique</strong> (plugin Entretien).</p>
-
-<p>Petit supplément : il peut être utile d'installer le plugin <a href="https://plugins.dotaddict.org/dc2/details/growUp">growUp</a> pour faire un peu de ménage<sup id="fnref:5"><a href="https://fr.dotclear.org/blog/post/2022/12/13/Faire-la-mise-%C3%A0-jour-en-2.24#fn:5" rel="footnote">7</a></sup> une fois la mise à jour effectuée<sup id="fnref:6"><a href="https://fr.dotclear.org/blog/post/2022/12/13/Faire-la-mise-%C3%A0-jour-en-2.24#fn:6" rel="footnote">8</a></sup>.</p>
-
-<p>Quoi qu'il en soit on sera dans les parages si jamais il y avait un problème ; sur <a href="https://forum.dotclear.org/">le forum</a> en particulier.</p>
-
-<div class="footnotes">
-<hr />
-<ol>
-
-<li id="fn:4">
-<p>Pour être honnête ma première tentative s'est heurté à un problème avec le cache statique (voir le point 1 de la liste), sinon j'ai pu faire la mise à jour en mode normal sans souci. <a href="https://fr.dotclear.org/blog/post/2022/12/13/Faire-la-mise-%C3%A0-jour-en-2.24#fnref:4" rev="footnote">↩</a></p>
-</li>
-
-<li id="fn:2">
-<p>Surtout si vous l'utilisez, comme moi, de façon agressive. <a href="https://fr.dotclear.org/blog/post/2022/12/13/Faire-la-mise-%C3%A0-jour-en-2.24#fnref:2" rev="footnote">↩</a></p>
-</li>
-
-<li id="fn:3">
-<p>Installez le plugin <a href="https://plugins.dotaddict.org/dc2/details/checkStoreVersion">Check store version</a>, il vous dira tout ça. <a href="https://fr.dotclear.org/blog/post/2022/12/13/Faire-la-mise-%C3%A0-jour-en-2.24#fnref:3" rev="footnote">↩</a></p>
-</li>
-
-<li id="fn:1">
-<p>Dans le cas contraire, attendez qu'ils le soient, c'est préférable ! <a href="https://fr.dotclear.org/blog/post/2022/12/13/Faire-la-mise-%C3%A0-jour-en-2.24#fnref:1" rev="footnote">↩</a></p>
-</li>
-
-<li id="fn:8">
-<p>Il se peut que la page d'authentification ne s'affiche pas, dans ce cas supprimez les cookies associés au site et rafraichissez la page. <a href="https://fr.dotclear.org/blog/post/2022/12/13/Faire-la-mise-%C3%A0-jour-en-2.24#fnref:8" rev="footnote">↩</a></p>
-</li>
-
-<li id="fn:7">
-<p>Forcez la vérification de mise à jour pour être sûr·e de ne rien louper. <a href="https://fr.dotclear.org/blog/post/2022/12/13/Faire-la-mise-%C3%A0-jour-en-2.24#fnref:7" rev="footnote">↩</a></p>
-</li>
-
-<li id="fn:5">
-<p>C'est normalement effectué pendant la mise à jour, mais parfois il peut se passer des bricoles ;-) <a href="https://fr.dotclear.org/blog/post/2022/12/13/Faire-la-mise-%C3%A0-jour-en-2.24#fnref:5" rev="footnote">↩</a></p>
-</li>
-
-<li id="fn:6">
-<p>Il peut être désactivé ou désinstallé ensuite. <a href="https://fr.dotclear.org/blog/post/2022/12/13/Faire-la-mise-%C3%A0-jour-en-2.24#fnref:6" rev="footnote">↩</a></p>
-</li>
-
-</ol>
-</div>
-";s:7:"subject";a:1:{i:0;s:4:"News";}s:7:"pubdate";s:25:"2022-12-13T15:13:00+01:00";s:2:"TS";i:1670940780;}i:13;O:8:"stdClass":8:{s:4:"link";s:77:"https://fr.dotclear.org/blog/post/2022/12/03/Mode-de-secours-de-Dotclear-2.24";s:5:"title";s:32:"Mode de secours de Dotclear 2.24";s:7:"creator";s:6:"Franck";s:11:"description";s:0:"";s:7:"content";s:7114:" <p><img src="https://fr.dotclear.org/public/feuille-dc.svg" alt="" style="width: 10em; margin: 0 auto; display: block;" /></p>
-
-<p>La version 2.24 de Dotclear — qui devrait être publiée dans quelques semaines — a été l'objet d'une reprise du code assez profonde, pour assurer une meilleure robustesse et pour évacuer quelques <q>vieilleries</q> qu'elle transportait depuis longtemps. Cependant cette refonte a généré quelques incompatibilités avec les versions précédentes des plugins et parfois des thèmes.</p>
-
-<p>En conséquence, une fois mis à jour avec la <strong>version 2.24 de Dotclear</strong> il se pourrait bien que vous ayez du mal à retrouver votre tableau de bord ou autre chose qu'une page blanche du côté public de votre blog préféré.</p>
-
-<p><img src="https://fr.dotclear.org/public/images/2.24/.safe-mode-fatal-error_m.jpg" alt="Message d'erreur d'un plugin" style="margin: 0 auto; display: block;" title="Message d'erreur d'un plugin, déc. 2022" /></p>
-
-<p>La raison ?</p>
-
-<p>Un ou plusieurs plugins qui nécessitent des <strong>mises à jour</strong> — celles-ci sont déjà disponibles pour un nombre conséquent de plugins tiers —, ou des <strong>désactivations</strong>.</p>
-
-<p>Or comment faire cette ou ces mises à jour, voire cette ou ces désactivations si vous n'avez pas accès à l'administration de votre installation ?</p>
-
-<p>C'est très exactement pour cette raison qu'il y a, depuis plusieurs années, un <strong>mode de secours</strong> — aussi appelé « mode sans échec » — qui permet de se connecter à l'interface d'administration <strong>sans activer aucun plugin</strong>. Et quand je dis aucun, c'est vraiment aucun ; même les plugins livrés avec Dotclear sont désactivés dans ce mode particulier.</p>
-
-<div class="message">
-<h3>Attention</h3>
-<p>Il vous est fortement conseillé, avant de mettre à jour votre installation vers la version 2.24, de lister les plugins tiers installés et actifs (et de mettre cette liste de côté), ils sont les plus susceptibles de poser des problèmes une fois la mise à jour effectuée, pour évaluer ensuite la liste des mises à jour requises, voire les désactivations à prévoir si elles n'étaient pas disponibles</p>
-<p>Il <a href="https://github.com/JcDenis/checkStoreVersion">existe</a> d'ailleurs un plugin (pour les versions 2.19 à 2.23.1), nommé <var>CheckStoreVersion</var>, développé par Jean-Christian Denis, et qui permet d'ajouter un onglet supplémentaire sur la page de gestion des plugins (et des thèmes), et qui indique la liste des mises à jours disponibles pour les plugins (et thèmes) actuellement installés. Ce plugin est <a href="https://plugins.dotaddict.org/dc2/details/checkStoreVersion">disponible</a> sur DotAddict.</p>
-</div>
-
-<p>La nouveauté avec la version 2.24 de Dotclear est que vous pouvez, avec ce <strong>mode de secours</strong>, <strong>désactiver</strong>, <strong>mettre à jour</strong>, <strong>supprimer</strong> ou <strong>installer</strong> des plugins, ceux-ci restant bien évidemment <strong>inactifs</strong> tant que vous êtes connecté dans ce mode.</p>
-
-<p><strong>En pratique</strong>, comment ça se passe ?</p>
-
-<p>Premièrement il faut vous connecter en mode de secours. Pour cela, sur la <strong>page de connexion</strong> vous avez un lien situé en bas et intitulé « Problème de connexion ? » :</p>
-
-<p><img src="https://fr.dotclear.org/public/images/2.24/.safe-mode-login-standard_m.jpg" alt="Page de connexion normale" style="margin: 0 auto; display: block;" title="Page de connexion normale, déc. 2022" /></p>
-
-<p>Si vous cliquez sur ce lien vous démasquez alors <strong>deux liens</strong>. Le premier permet d'engager la procédure à utiliser en cas <strong>d'oubli de son mot de passe</strong> — mais ce n'est pas l'objet de ce billet —, et le second vous permet de basculer en <strong>mode de secours</strong> :</p>
-
-<p><img src="https://fr.dotclear.org/public/images/2.24/.safe-mode-login-standard-problem_m.jpg" alt="Page de connexion normale avec les liens de secours" style="margin: 0 auto; display: block;" title="Page de connexion normale avec les liens de secours, déc. 2022" /></p>
-
-<div class="message">
-<h3>Astuce</h3>
-<p>Il se peut que même l'accès à la page de connexion soit impossible. Dans ce cas il vous suffira d'ajouter à la fin de l'URL de connexion que vous utilisez habituellement ceci :
-<pre>?safe_mode=1</pre>
-<i lang="en">Safe mode</i> étant l'équivalent anglais de <q>Mode de secours</q> (ou mode sans échec).</p>
-
-<p>Si par exemple votre URL de connexion est :</p>
-<pre>https://example.com/admin/auth.php</pre>
-<p>alors l'URL de connexion en mode de secours sera :</p>
-<pre>https://example.com/admin/auth.php?safe_mode=1</pre>
-</div>
-
-<p>Il faut donc cliquer sur ce <strong>deuxième lien</strong> qui vous amènera alors sur une autre page de connexion :</p>
-
-<p><img src="https://fr.dotclear.org/public/images/2.24/.safe-mode-login-safe_m.jpg" alt="Page de connexion en mode de secours" style="margin: 0 auto; display: block;" title="Page de connexion en mode de secours, déc. 2022" /></p>
-
-<p>Remplissez les champs comme à l'accoutumée et validez. Vous devriez maintenant avoir le tableau de bord affiché avec un beau message vous avertissant que vous êtes en <strong>mode de secours</strong> :</p>
-
-<p><img src="https://fr.dotclear.org/public/images/2.24/.safe-mode-dashboard-alert_m.jpg" alt="Tableau de bord avec le message concernant le mode de secours" style="margin: 0 auto; display: block;" title="Tableau de bord avec le message concernant le mode de secours" /></p>
-
-<p>Vous remarquerez alors, que comme précisé plus haut, <strong>aucun plugin n'est actif</strong> ; par contre vous avez la possibilité de basculer sur la <strong>page de gestion des plugins</strong> qui fonctionne de la même manière qu'en mode normal.</p>
-
-<p>Vous retrouverez donc <strong>les onglets classiques</strong> qui listent les plugins en attente de mise à jour, les plugins installés, activés ou pas, ainsi que les onglets qui permettent l'installation automatique ou manuelle de plugins :</p>
-
-<p><img src="https://fr.dotclear.org/public/images/2.24/.safe-mode-plugins_m.jpg" alt="Page de gestion des plugins en mode de secours" style="margin: 0 auto; display: block;" title="Page de gestion des plugins en mode de secours" /></p>
-
-<p>Chaque action dans cette page ne vous sortira pas du mode de secours où <strong>aucun plugin n'est actif</strong>, donc aucun danger de « casser » votre installation ici.</p>
-
-<p>Une fois tous les plugins <strong>mis à jour</strong> ou <strong>désactivés</strong> en attendant une prochaine mise à jour — comparez avec la liste que vous avez mis de côté avant de mettre à jour pour vérifier que vous n'avez rien oublié —, vous pouvez revenir à la connexion habituelle.</p>
-
-<p>Il suffit pour cela de vous déconnecter et de vous reconnecter comme à l'ordinaire.</p>
-
-<hr />
-
-<p>Gardez ce billet sous le coude pour le jour où vous ferez la mise à jour vers la 2.24, il se pourrait qu'il vous serve.</p>
-";s:7:"subject";a:1:{i:0;s:4:"News";}s:7:"pubdate";s:25:"2022-12-03T15:38:00+01:00";s:2:"TS";i:1670078280;}i:14;O:8:"stdClass":8:{s:4:"link";s:74:"https://fr.dotclear.org/blog/post/2022/10/27/Adapter-son-code-pour-la-2.24";s:5:"title";s:29:"Adapter son code pour la 2.24";s:7:"creator";s:6:"Franck";s:11:"description";s:0:"";s:7:"content";s:1756:" <p><img src="https://fr.dotclear.org/public/feuille-dc.svg" alt="" style="width: 8em; height: auto; margin: 0 auto; display: inherit;" /></p>
-
-<p>Bonjour,</p>
-
-<p>J'ai entrepris, depuis quelques jours, de publier sur mon blog <a href="https://open-time.net/serie/Adapter%20le%20code%20pour%20Dotclear%202.24">une série de billets</a> expliquant, pas à pas, comment <strong>mettre à niveau le code</strong> de vos plugins et thèmes pour assurer la compatibilité avec la future version <strong>2.24</strong> de Dotclear, qui devrait être publiée dans quelques semaines.</p>
-
-<p>Un flux Atom est également disponible pour cette série avec <a href="https://open-time.net/feed/serie/Adapter%20le%20code%20pour%20Dotclear%202.24/atom">ce lien</a>.</p>
-
-<p>En effet, cette future version de Dotclear rompt avec le passé récent et la rétro-compatibilité habituelle assurée de version en version depuis quelques années ; c'est le coût de la modernisation et du renforcement de la robustesse du cœur de Dotclear.</p>
-
-<p>En conséquence il est possible que certains plugins (et peut-être thèmes) « bloquent » l'accès à votre blog et/ou à l'administration de votre installation après la mise à jour en 2.24. Il faudra alors vérifier si une mise à jour de ceux-ci est disponible ou dans le cas contraire les désactiver.</p>
-
-<p>À ce sujet je reviendrai dans un futur billet sur le <strong>mode de secours</strong>, dont les fonctionnalités ont été améliorées, au moment de la sortie de la version 2.24.</p>
-
-<p>Notez par ailleurs qu'il est d'ores et déjà possible de publier ses plugins et thèmes dépendants de la version <strong>2.24</strong> sur DotAddict (via la <a href="https://console.dotaddict.org/">console</a>).</p>
-";s:7:"subject";a:1:{i:0;s:14:"Développement";}s:7:"pubdate";s:25:"2022-10-27T08:14:00+02:00";s:2:"TS";i:1666851240;}i:15;O:8:"stdClass":8:{s:4:"link";s:60:"https://fr.dotclear.org/blog/post/2022/08/13/Dotclear-2.23.1";s:5:"title";s:15:"Dotclear 2.23.1";s:7:"creator";s:6:"Franck";s:11:"description";s:0:"";s:7:"content";s:108:" <p>Et dans la foulée, une version de maintenance pour corriger un bug avec l'ajout de commentaires.</p>";s:7:"subject";a:1:{i:0;s:4:"News";}s:7:"pubdate";s:25:"2022-08-13T10:01:00+02:00";s:2:"TS";i:1660377660;}i:16;O:8:"stdClass":8:{s:4:"link";s:58:"https://fr.dotclear.org/blog/post/2022/08/13/Dotclear-2.23";s:5:"title";s:13:"Dotclear 2.23";s:7:"creator";s:6:"Franck";s:11:"description";s:0:"";s:7:"content";s:2437:" <p>La nouvelle version pour ce trimestre avec quelques améliorations au programme essentiellement dans le cœur du code, mais pas que.</p>
-
-
-<p>Notez la disparition de la gestion des jeux d'icônes, peu utilisée et potentiellement complexifiée avec l'usage des icônes au format SVG en deux versions (thème clair et sombre).</p>
-
-
-<p>Le CHANGELOG de la 2.23 :</p>
-
-<ul>
-<li>🐘 PHP 7.4+ is required, PHP 8.0/8.1 compliance</li>
-<li>🗑 Remove Iconset management</li>
-<li>Admin UI: Harmonize font size on different support (laptop, tablet, mobile)</li>
-<li>Admin UX: Group more logically buttons on CKEditor toolbar</li>
-<li>Core: New constant DC_DEFAULT_THEME, set to 'berlin'</li>
-<li>Core: Use predefined constants for post statuses (dcBlog::POST_*)</li>
-<li>Core: Use predefined constants for comment statuses (dcBlog::COMMENT_*)</li>
-<li>Core: Deprecated global $core (or $GLOBALS<a href="https://fr.dotclear.org/blog/post/2022/08/13/'core'" title="'core'">'core'</a>), use dcCore::app() instead</li>
-<li>Core: Deprecated global $_ctx, use dcCore::app()->ctx instead</li>
-<li>Core: Deprecated global $_lang, use dcCore::app()->lang instead</li>
-<li>Core: Deprecated global $mod_files, use dcCore::app()->cache<a href="https://fr.dotclear.org/blog/post/2022/08/13/'mod_files'" title="'mod_files'">'mod_files'</a> instead</li>
-<li>Core: Deprecated global $mod_ts, use dcCore::app()->cache<a href="https://fr.dotclear.org/blog/post/2022/08/13/'mod_ts'" title="'mod_ts'">'mod_ts'</a> instead</li>
-<li>Core: Deprecated global $_menu, use dcCore::app()->menu instead</li>
-<li>Core: Deprecated global $__resources, use dcCore::app()->resources instead</li>
-<li>Core: REST server now accepts JSON format (experimental)</li>
-<li>Fix: Use relative URL for attachments as far as possible</li>
-<li>Fix: Remove select hiding mechanism when help is displayed</li>
-<li>Fix: Loading of modules (plugins/themes) in safe mode</li>
-<li>Fix: Message position on Quick entry submit (dashboard)</li>
-<li>Fix: Select appearance on Safari (webkit engine)</li>
-<li>Lib: Update CKEditor to 4.19.1</li>
-<li>Lib: Update Codemirror to 5.65.7</li>
-<li>🐛 → Various bugs, a11y concerns and typos fixed</li>
-<li>🌼 → Some locales and cosmetic adjustments</li>
-<li>📣 Warning: Internet Explorer is not more officially supported (may still work weirdly)</li>
-</ul>";s:7:"subject";a:1:{i:0;s:4:"News";}s:7:"pubdate";s:25:"2022-08-13T09:30:00+02:00";s:2:"TS";i:1660375800;}i:17;O:8:"stdClass":8:{s:4:"link";s:58:"https://fr.dotclear.org/blog/post/2022/05/13/Dotclear-2.22";s:5:"title";s:13:"Dotclear 2.22";s:7:"creator";s:6:"Franck";s:11:"description";s:0:"";s:7:"content";s:1381:" <p>La nouvelle version pour ce trimestre — on tient le rythme, c'est une bonne chose — avec quelques améliorations au programme :</p>
-
-<ul>
-<li>PHP 7.4 minimum et c'est compatible — sauf bug de dernière minute — jusqu'à PHP 8.1 inclus</li>
-<li>On a retiré le système de traçage FLoC de Google qui a jeté l'éponge entretemps</li>
-<li>Ajout d'un bouton de prévisualisation dans l'éditeur standard de Dotclear ; pratique pour vérifier les modifications d'un billet déjà publié, avant de les sauvegarder</li>
-<li>Les thèmes Berlin et Ductile ne requièrent plus jQuery pour fonctionner ; vérifiez toutefois les plugins tiers que vous avez installé, ils peuvent toujours en avoir besoin côté public</li>
-<li>Amélioration de la récupération des métadonnées de la source d'un Webmention ou d'un Pingback</li>
-<li>Ajout d'un bouton « Réinitialiser à maintenant » pour la date de publication d'un billet ; permet de pallier l'absence de cette fonctionnalité sur certains navigateurs</li>
-<li>Réduction des seuils de bascule de l'affichage de l'administration (mobile, tablette et laptop)</li>
-<li>Le menu d'accès rapide aux sections de about:Config et user:Pref est maintenant en position fixe en haut de l'écran</li>
-<li>Léger redesign des icônes de la barre d'outils de l'éditeur standard de Dotclear</li>
-</ul>";s:7:"subject";a:1:{i:0;s:4:"News";}s:7:"pubdate";s:25:"2022-05-13T08:17:00+02:00";s:2:"TS";i:1652422620;}i:18;O:8:"stdClass":8:{s:4:"link";s:60:"https://fr.dotclear.org/blog/post/2022/03/07/Dotclear-2.21.3";s:5:"title";s:15:"Dotclear 2.21.3";s:7:"creator";s:6:"Franck";s:11:"description";s:0:"";s:7:"content";s:146:" <p>Une nouvelle version qui corrige deux bugs concernant la gestion des utilisateurs autres qu'administrateurs (ou super-administrateurs).</p>";s:7:"subject";a:1:{i:0;s:4:"News";}s:7:"pubdate";s:25:"2022-03-07T10:17:00+01:00";s:2:"TS";i:1646644620;}i:19;O:8:"stdClass":8:{s:4:"link";s:60:"https://fr.dotclear.org/blog/post/2022/02/26/Dotclear-2.21.2";s:5:"title";s:15:"Dotclear 2.21.2";s:7:"creator";s:6:"Franck";s:11:"description";s:0:"";s:7:"content";s:391:" <p>Une nouvelle version de maintenance qui résout, entre autres, les problèmes de date et de cache rencontrés par certains utilisateurs.</p>
-
-
-<p>Changements :</p>
-
-<ul>
-<li>Retour en arrière sur certaines modifications faites pour la conformité à PHP 8.1 (strftime)</li>
-<li>Nettoyage des dossiers currywurst restants (template currywurst supprimé depuis la 2.20)</li>
-</ul>";s:7:"subject";a:1:{i:0;s:4:"News";}s:7:"pubdate";s:25:"2022-02-26T09:32:00+01:00";s:2:"TS";i:1645864320;}}}
\ No newline at end of file
+++ /dev/null
-<?php echo "<?"; ?>xml version="1.0" encoding="utf-8"<?php echo "?>"; ?>
-<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>">
-
- <title type="html"><?php echo context::global_filter($core->blog->name,1,0,0,0,0,'BlogName'); ?><?php if ($_ctx->feed_subtitle !== null) { echo context::global_filter($_ctx->feed_subtitle,1,0,0,0,0,'SysFeedSubtitle');} ?>
- - <?php echo __('Comments'); ?></title>
- <subtitle type="html"><?php echo context::global_filter($core->blog->desc,1,0,0,0,0,'BlogDescription'); ?></subtitle>
- <link href="<?php echo context::global_filter(http::getSelfURI(),0,0,0,0,0,'SysSelfURI'); ?>" rel="self" type="application/atom+xml"/>
- <link href="<?php echo context::global_filter($core->blog->url,0,0,0,0,0,'BlogURL'); ?>" rel="alternate" type="text/html"
- title="<?php echo context::global_filter($core->blog->desc,1,0,0,0,0,'BlogDescription'); ?>"/>
- <updated><?php echo context::global_filter(dt::iso8601($core->blog->upddt,$core->blog->settings->blog_timezone),0,0,0,0,0,'BlogUpdateDate'); ?></updated>
- <author>
- <name><?php echo context::global_filter($core->blog->settings->editor,1,0,0,0,0,'BlogEditor'); ?></name>
- </author>
- <id><?php echo context::global_filter("urn:md5:".$core->blog->uid,0,0,0,0,0,'BlogFeedID'); ?></id>
- <generator uri="http://www.dotclear.org/">Dotclear</generator>
-
- <?php if ($_ctx->exists("meta")) { @$params['from'] .= ', '.$core->prefix.'meta META ';
-@$params['sql'] .= 'AND META.post_id = P.post_id ';
-$params['sql'] .= "AND META.meta_type = 'tag' ";
-$params['sql'] .= "AND META.meta_id = '".$core->con->escape($_ctx->meta->meta_id)."' ";
-} ?>
-<?php
-if ($_ctx->posts !== null) { $params['post_id'] = $_ctx->posts->post_id; $core->blog->withoutPassword(false);
-}
-if ($_ctx->nb_comment_per_page !== null) { $params['limit'] = $_ctx->nb_comment_per_page; }
-if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
-if ($_ctx->exists("langs")) { $params['sql'] = "AND P.post_lang = '".$core->blog->con->escape($_ctx->langs->post_lang)."' "; }
-$params['order'] = 'comment_dt desc';
-$_ctx->comments = $core->blog->getComments($params); unset($params);
-if ($_ctx->posts !== null) { $core->blog->withoutPassword(true);}
-$_ctx->pings = $_ctx->comments;
-?>
-<?php while ($_ctx->comments->fetch()) : ?>
-
- <?php if($_ctx->comments->comment_trackback) : ?>
- <entry>
- <title>[ping] <?php echo context::global_filter($_ctx->pings->post_title,1,0,0,0,0,'PingEntryTitle'); ?> - <?php echo context::global_filter($_ctx->pings->comment_author,1,0,0,0,0,'PingBlogName'); ?></title>
- <link href="<?php echo context::global_filter($_ctx->pings->getPostURL(),1,0,0,0,0,'PingPostURL'); ?>#c<?php echo $_ctx->pings->comment_id; ?>" rel="alternate" type="text/html"
- title="[ping] <?php echo context::global_filter($_ctx->pings->post_title,1,0,0,0,0,'PingEntryTitle'); ?> - <?php echo context::global_filter($_ctx->pings->comment_author,1,0,0,0,0,'PingBlogName'); ?>" />
- <id><?php echo context::global_filter($_ctx->pings->getFeedID(),0,0,0,0,0,'PingFeedID'); ?></id>
- <updated><?php echo context::global_filter($_ctx->pings->getISO8601Date(),0,0,0,0,0,'PingDate'); ?></updated>
- <author><name><?php echo context::global_filter($_ctx->pings->comment_author,1,0,0,0,0,'PingBlogName'); ?></name></author>
- <content type="html"><p><a href="<?php echo context::global_filter($_ctx->pings->getAuthorURL(),1,0,0,0,0,'PingAuthorURL'); ?>"><?php echo context::global_filter($_ctx->pings->getTrackbackTitle(),1,0,0,0,0,'PingTitle'); ?></a></p> <?php echo context::global_filter($_ctx->pings->getTrackbackContent(),1,0,0,0,0,'PingContent'); ?></content>
- </entry>
-
- <?php endif; ?>
-
- <?php if(!$_ctx->comments->comment_trackback) : ?>
- <entry>
- <title><?php echo context::global_filter($_ctx->comments->post_title,1,0,0,0,0,'CommentEntryTitle'); ?> - <?php echo context::global_filter($_ctx->comments->comment_author,1,0,0,0,0,'CommentAuthor'); ?></title>
- <link href="<?php echo context::global_filter($_ctx->comments->getPostURL(),1,0,0,0,0,'CommentPostURL'); ?>#c<?php echo $_ctx->comments->comment_id; ?>" rel="alternate" type="text/html"
- title="<?php echo context::global_filter($_ctx->comments->post_title,1,0,0,0,0,'CommentEntryTitle'); ?> - <?php echo context::global_filter($_ctx->comments->comment_author,1,0,0,0,0,'CommentAuthor'); ?>" />
- <id><?php echo context::global_filter($_ctx->comments->getFeedID(),0,0,0,0,0,'CommentFeedID'); ?></id>
- <updated><?php echo context::global_filter($_ctx->comments->getISO8601Date(),0,0,0,0,0,'CommentDate'); ?></updated>
- <author><name><?php echo context::global_filter($_ctx->comments->comment_author,1,0,0,0,0,'CommentAuthor'); ?></name></author>
- <content type="html"><?php echo context::global_filter($_ctx->comments->getContent(1),1,0,0,0,0,'CommentContent'); ?></content>
- </entry>
- <?php endif; ?>
- <?php endwhile; $_ctx->comments = null; ?>
-
-</feed>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta name="MSSmartTagsPreventParsing" content="TRUE" />
- <meta name="ROBOTS" content="<?php echo context::robotsPolicy($core->blog->settings->robots_policy,''); ?>" />
-
- <title><?php echo __('Tag'); ?> - <?php echo context::global_filter($_ctx->meta->meta_id,0,0,0,0,0,'TagID'); ?> - <?php echo context::global_filter($core->blog->name,1,0,0,0,0,'BlogName'); ?><?php if(!context::PaginationStart()) : ?> - <?php echo __('page'); ?> <?php echo context::global_filter(context::PaginationPosition(0),0,0,0,0,0,'PaginationCurrent'); ?><?php endif; ?></title>
- <meta name="copyright" content="<?php echo context::global_filter($core->blog->settings->copyright_notice,1,0,0,0,0,'BlogCopyrightNotice'); ?>" />
- <meta name="author" content="<?php echo context::global_filter($core->blog->settings->editor,1,0,0,0,0,'BlogEditor'); ?>" />
- <meta name="date" scheme="W3CDTF" content="<?php echo context::global_filter(dt::iso8601($core->blog->upddt,$core->blog->settings->blog_timezone),0,0,0,0,0,'BlogUpdateDate'); ?>" />
-
- <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
- <meta name="dc.title" lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" content="<?php echo __('Tag'); ?> - <?php echo context::global_filter($_ctx->meta->meta_id,0,0,0,0,0,'TagID'); ?> - <?php echo context::global_filter($core->blog->name,1,0,0,0,0,'BlogName'); ?><?php if(!context::PaginationStart()) : ?> - <?php echo __('page'); ?> <?php echo context::global_filter(context::PaginationPosition(0),0,0,0,0,0,'PaginationCurrent'); ?><?php endif; ?>" />
- <meta name="dc.language" content="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" />
- <meta name="dc.publisher" content="<?php echo context::global_filter($core->blog->settings->editor,1,0,0,0,0,'BlogEditor'); ?>" />
- <meta name="dc.rights" content="<?php echo context::global_filter($core->blog->settings->copyright_notice,1,0,0,0,0,'BlogCopyrightNotice'); ?>" />
- <meta name="dc.date" scheme="W3CDTF" content="<?php echo context::global_filter(dt::iso8601($core->blog->upddt,$core->blog->settings->blog_timezone),0,0,0,0,0,'BlogUpdateDate'); ?>" />
- <meta name="dc.type" content="text" />
- <meta name="dc.format" content="text/html" />
-
- <link rel="top" href="<?php echo context::global_filter($core->blog->url,0,0,0,0,0,'BlogURL'); ?>" title="<?php echo __('Home'); ?>" />
- <link rel="contents" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("archive"),0,0,0,0,0,'BlogArchiveURL'); ?>" title="<?php echo __('Archives'); ?>" />
-
- <?php if ($_ctx->exists("meta")) { @$params['from'] .= ', '.$core->prefix.'meta META ';
-@$params['sql'] .= 'AND META.post_id = P.post_id ';
-$params['sql'] .= "AND META.meta_type = 'tag' ";
-$params['sql'] .= "AND META.meta_id = '".$core->con->escape($_ctx->meta->meta_id)."' ";
-} ?>
-<?php
-if (!isset($_page_number)) { $_page_number = 1; }
-$params['limit'] = $_ctx->nb_entry_per_page;
-$params['limit'] = array((($_page_number-1)*$params['limit']),$params['limit']);
-if ($_ctx->exists("users")) { $params['user_id'] = $_ctx->users->user_id; }
-if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
-if ($_ctx->exists("archives")) { $params['post_year'] = $_ctx->archives->year(); $params['post_month'] = $_ctx->archives->month(); unset($params['limit']); }
-if ($_ctx->exists("langs")) { $params['post_lang'] = $_ctx->langs->post_lang; }
-if (isset($_search)) { $params['search'] = $_search; }
-$params['order'] = 'post_dt desc';
-$params['no_content'] = true;
-$_ctx->post_params = $params;
-$_ctx->posts = $core->blog->getPosts($params); unset($params);
-?>
-<?php while ($_ctx->posts->fetch()) : ?>
- <?php if ($_ctx->posts->isStart()) : ?>
- <?php
-$params = $_ctx->post_params;
-$_ctx->pagination = $core->blog->getPosts($params,true); unset($params);
-?>
-<?php if ($_ctx->pagination->f(0) > $_ctx->posts->count()) : ?>
- <?php if(!context::PaginationEnd()) : ?>
- <link rel="previous" title="<?php echo __('previous entries'); ?>" href="<?php echo context::global_filter(context::PaginationURL(1),0,0,0,0,0,'PaginationURL'); ?>" />
- <?php endif; ?>
-
- <?php if(!context::PaginationStart()) : ?>
- <link rel="next" title="<?php echo __('next entries'); ?>" href="<?php echo context::global_filter(context::PaginationURL(-1),0,0,0,0,0,'PaginationURL'); ?>" />
- <?php endif; ?>
- <?php endif; ?>
- <?php endif; ?>
-
- <link rel="chapter" href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>" title="<?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?>" />
- <?php endwhile; $_ctx->posts = null; $_ctx->post_params = null; ?>
-
- <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("tag_feed")."/".rawurlencode($_ctx->meta->meta_id)."/atom",0,0,0,0,0,'TagFeedURL'); ?>" />
- <link rel="meta" type="application/xbel+xml" title="Blogroll" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("xbel"),0,0,0,0,0,'BlogrollXbelLink'); ?>" />
-
- <?php try { echo $core->tpl->getData('_head.html'); } catch (Exception $e) {} ?>
-</head>
-
-<body class="dc-tag">
-<div id="page">
-<?php try { echo $core->tpl->getData('_top.html'); } catch (Exception $e) {} ?>
-
-<div id="wrapper">
-
-<div id="main">
- <div id="content">
-
- <div id="content-info">
- <h2><?php echo __('Tag'); ?> - <?php echo context::global_filter($_ctx->meta->meta_id,0,0,0,0,0,'TagID'); ?></h2>
-
- <p><a type="application/atom+xml" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("tag_feed")."/".rawurlencode($_ctx->meta->meta_id)."/atom",0,0,0,0,0,'TagFeedURL'); ?>"
- title="<?php echo __('This tag\'s entries Atom feed'); ?>" class="feed"><?php echo __('Entries feed'); ?></a>
-
- <?php if($core->blog->settings->allow_comments || $core->blog->settings->allow_trackbacks) : ?>
- - <a type="application/atom+xml" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("tag_feed")."/".rawurlencode($_ctx->meta->meta_id)."/atom",0,0,0,0,0,'TagFeedURL'); ?>/comments"
- title="<?php echo __('This tag\'s comments Atom feed'); ?>" class="feed"><?php echo __('Comments feed'); ?></a>
- <?php endif; ?>
- </p>
- </div>
-
- <?php if ($_ctx->exists("meta")) { @$params['from'] .= ', '.$core->prefix.'meta META ';
-@$params['sql'] .= 'AND META.post_id = P.post_id ';
-$params['sql'] .= "AND META.meta_type = 'tag' ";
-$params['sql'] .= "AND META.meta_id = '".$core->con->escape($_ctx->meta->meta_id)."' ";
-} ?>
-<?php
-if (!isset($_page_number)) { $_page_number = 1; }
-$params['limit'] = $_ctx->nb_entry_per_page;
-$params['limit'] = array((($_page_number-1)*$params['limit']),$params['limit']);
-if ($_ctx->exists("users")) { $params['user_id'] = $_ctx->users->user_id; }
-if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
-if ($_ctx->exists("archives")) { $params['post_year'] = $_ctx->archives->year(); $params['post_month'] = $_ctx->archives->month(); unset($params['limit']); }
-if ($_ctx->exists("langs")) { $params['post_lang'] = $_ctx->langs->post_lang; }
-if (isset($_search)) { $params['search'] = $_search; }
-$params['order'] = 'post_dt desc';
-$_ctx->post_params = $params;
-$_ctx->posts = $core->blog->getPosts($params); unset($params);
-?>
-<?php while ($_ctx->posts->fetch()) : ?>
- <div id="p<?php echo context::global_filter($_ctx->posts->post_id,0,0,0,0,0,'EntryID'); ?>" class="post <?php if (($_ctx->posts->index()+1)%2 == 1) { echo 'odd'; } ?> <?php if ($_ctx->posts->index() == 0) { echo 'first'; } ?>" lang="<?php if ($_ctx->posts->post_lang) { echo context::global_filter($_ctx->posts->post_lang,0,0,0,0,0,'EntryLang'); } else {echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'EntryLang'); } ?>" xml:lang="<?php if ($_ctx->posts->post_lang) { echo context::global_filter($_ctx->posts->post_lang,0,0,0,0,0,'EntryLang'); } else {echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'EntryLang'); } ?>">
-
- <?php if ($_ctx->posts->firstPostOfDay()) : ?><p class="day-date"><?php echo context::global_filter($_ctx->posts->getDate(''),0,0,0,0,0,'EntryDate'); ?></p><?php endif; ?>
-
- <h2 class="post-title"><a
- href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>"><?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?></a></h2>
-
- <p class="post-info"><?php echo __('By'); ?> <?php echo context::global_filter($_ctx->posts->getAuthorLink(),0,0,0,0,0,'EntryAuthorLink'); ?>
- <?php echo __('on'); ?> <?php echo context::global_filter($_ctx->posts->getDate(''),0,0,0,0,0,'EntryDate'); ?>, <?php echo context::global_filter($_ctx->posts->getTime(''),0,0,0,0,0,'EntryTime'); ?>
- <?php if($_ctx->posts->cat_id) : ?>
- - <a href="<?php echo context::global_filter($_ctx->posts->getCategoryURL(),0,0,0,0,0,'EntryCategoryURL'); ?>"><?php echo context::global_filter($_ctx->posts->cat_title,1,0,0,0,0,'EntryCategory'); ?></a>
- <?php endif; ?>
- </p>
-
- <?php
-$objMeta = new dcMeta($core); $_ctx->meta = $objMeta->getMetaRecordset($_ctx->posts->post_meta,'tag'); $_ctx->meta->sort('meta_id_lower','asc'); ?><?php while ($_ctx->meta->fetch()) : ?>
- <?php if ($_ctx->meta->isStart()) : ?><ul class="post-tags"><?php endif; ?>
- <li><a href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("tag")."/".rawurlencode($_ctx->meta->meta_id),0,0,0,0,0,'TagURL'); ?>"><?php echo context::global_filter($_ctx->meta->meta_id,0,0,0,0,0,'TagID'); ?></a></li>
- <?php if ($_ctx->meta->isEnd()) : ?></ul><?php endif; ?>
- <?php endwhile; $_ctx->meta = null; unset($objMeta); ?>
-
- <?php if ($core->hasBehavior('publicEntryBeforeContent')) { $core->callBehavior('publicEntryBeforeContent',$core,$_ctx);} ?>
-
- <?php if($_ctx->posts->isExtended()) : ?>
- <div class="post-content"><?php echo context::global_filter($_ctx->posts->getExcerpt(0),0,0,0,0,0,'EntryExcerpt'); ?></div>
- <p class="read-it"><a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>"
- title="<?php echo __('Continue reading'); ?> <?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?>"><?php echo __('Continue reading'); ?></a>...</p>
- <?php endif; ?>
-
- <?php if(!$_ctx->posts->isExtended()) : ?>
- <div class="post-content"><?php echo context::global_filter($_ctx->posts->getContent(0),0,0,0,0,0,'EntryContent'); ?></div>
- <?php endif; ?>
-
- <?php if ($core->hasBehavior('publicEntryAfterContent')) { $core->callBehavior('publicEntryAfterContent',$core,$_ctx);} ?>
-
- <?php if($_ctx->posts->countMedia() || ($_ctx->posts->hasComments() || $_ctx->posts->commentsActive()) || ($_ctx->posts->hasTrackbacks() || $_ctx->posts->trackbacksActive())) : ?>
- <p class="post-info-co">
- <?php endif; ?>
- <?php if(($_ctx->posts->hasComments() || $_ctx->posts->commentsActive())) : ?>
- <a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>#comments" class="comment_count"><?php if ($_ctx->posts->nb_comment == 0) {
- printf(__('no comment'),$_ctx->posts->nb_comment);
-} elseif ($_ctx->posts->nb_comment == 1) {
- printf(__('one comment'),$_ctx->posts->nb_comment);
-} else {
- printf(__('%d comments'),$_ctx->posts->nb_comment);
-} ?></a>
- <?php endif; ?>
- <?php if(($_ctx->posts->hasTrackbacks() || $_ctx->posts->trackbacksActive())) : ?>
- <a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>#pings" class="ping_count"><?php if ($_ctx->posts->nb_trackback == 0) {
- printf(__('no trackback'),(integer) $_ctx->posts->nb_trackback);
-} elseif ($_ctx->posts->nb_trackback == 1) {
- printf(__('one trackback'),(integer) $_ctx->posts->nb_trackback);
-} else {
- printf(__('%d trackbacks'),(integer) $_ctx->posts->nb_trackback);
-} ?></a><?php endif; ?>
- <?php if($_ctx->posts->countMedia()) : ?>
- <a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>#attachments" class="attach_count"><?php if ($_ctx->posts->countMedia() == 0) {
- printf(__('no attachment'),(integer) $_ctx->posts->countMedia());
-} elseif ($_ctx->posts->countMedia() == 1) {
- printf(__('one attachment'),(integer) $_ctx->posts->countMedia());
-} else {
- printf(__('%d attachments'),(integer) $_ctx->posts->countMedia());
-} ?></a><?php endif; ?>
- <?php if($_ctx->posts->countMedia() || ($_ctx->posts->hasComments() || $_ctx->posts->commentsActive()) || ($_ctx->posts->hasTrackbacks() || $_ctx->posts->trackbacksActive())) : ?>
- </p>
- <?php endif; ?>
- </div>
-
- <?php if ($_ctx->posts->isEnd()) : ?>
- <?php
-$params = $_ctx->post_params;
-$_ctx->pagination = $core->blog->getPosts($params,true); unset($params);
-?>
-<?php if ($_ctx->pagination->f(0) > $_ctx->posts->count()) : ?>
- <p class="pagination"><?php if(!context::PaginationEnd()) : ?><a href="<?php echo context::global_filter(context::PaginationURL(1),0,0,0,0,0,'PaginationURL'); ?>" class="prev">«
- <?php echo __('previous entries'); ?></a> - <?php endif; ?>
- <?php echo __('page'); ?> <?php echo context::global_filter(context::PaginationPosition(0),0,0,0,0,0,'PaginationCurrent'); ?> <?php echo __('of'); ?> <?php echo context::global_filter(context::PaginationNbPages(),0,0,0,0,0,'PaginationCounter'); ?>
- <?php if(!context::PaginationStart()) : ?> - <a href="<?php echo context::global_filter(context::PaginationURL(-1),0,0,0,0,0,'PaginationURL'); ?>" class="next"><?php echo __('next entries'); ?>
- »</a><?php endif; ?></p>
- <?php endif; ?>
- <?php endif; ?>
- <?php endwhile; $_ctx->posts = null; $_ctx->post_params = null; ?>
- </div>
-</div> <!-- End #main -->
-
-<div id="sidebar">
- <div id="blognav">
- <?php publicWidgets::widgetsHandler('nav'); ?>
- </div> <!-- End #blognav -->
-
- <div id="blogextra">
- <?php publicWidgets::widgetsHandler('extra'); ?>
- </div> <!-- End #blogextra -->
-</div>
-
-</div> <!-- End #wrapper -->
-
-<?php try { echo $core->tpl->getData('_footer.html'); } catch (Exception $e) {} ?>
-</div> <!-- End #page -->
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta name="MSSmartTagsPreventParsing" content="TRUE" />
- <meta name="ROBOTS" content="<?php echo context::robotsPolicy($core->blog->settings->robots_policy,''); ?>" />
-
- <title><?php echo __('Archives'); ?> - <?php echo context::global_filter($core->blog->name,1,0,0,0,0,'BlogName'); ?></title>
- <meta name="copyright" content="<?php echo context::global_filter($core->blog->settings->copyright_notice,1,0,0,0,0,'BlogCopyrightNotice'); ?>" />
- <meta name="author" content="<?php echo context::global_filter($core->blog->settings->editor,1,0,0,0,0,'BlogEditor'); ?>" />
- <meta name="date" scheme="W3CDTF" content="<?php echo context::global_filter(dt::iso8601($core->blog->upddt,$core->blog->settings->blog_timezone),0,0,0,0,0,'BlogUpdateDate'); ?>" />
-
- <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
- <meta name="dc.title" lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" content="<?php echo __('Archives'); ?> - <?php echo context::global_filter($core->blog->name,1,0,0,0,0,'BlogName'); ?>" />
- <meta name="dc.language" content="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" />
- <meta name="dc.publisher" content="<?php echo context::global_filter($core->blog->settings->editor,1,0,0,0,0,'BlogEditor'); ?>" />
- <meta name="dc.rights" content="<?php echo context::global_filter($core->blog->settings->copyright_notice,1,0,0,0,0,'BlogCopyrightNotice'); ?>" />
- <meta name="dc.date" scheme="W3CDTF" content="<?php echo context::global_filter(dt::iso8601($core->blog->upddt,$core->blog->settings->blog_timezone),0,0,0,0,0,'BlogUpdateDate'); ?>" />
- <meta name="dc.type" content="text" />
- <meta name="dc.format" content="text/html" />
-
- <link rel="top" href="<?php echo context::global_filter($core->blog->url,0,0,0,0,0,'BlogURL'); ?>" title="<?php echo __('Home'); ?>" />
-
- <?php
-$params = array();$params['type'] = 'month';
-$params['post_type'] = 'post';
-if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
-$_ctx->archives = $core->blog->getDates($params); unset($params);
-?>
-<?php while ($_ctx->archives->fetch()) : ?>
- <link rel="chapter" href="<?php echo context::global_filter($_ctx->archives->url($core),0,0,0,0,0,'ArchiveURL'); ?>" title="<?php echo context::global_filter(dt::dt2str('%B %Y',$_ctx->archives->dt),1,0,0,0,0,'ArchiveDate'); ?>" />
- <?php endwhile; $_ctx->archives = null; ?>
-
- <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("feed")."/atom",0,0,0,0,0,'BlogFeedURL'); ?>" />
-
- <?php try { echo $core->tpl->getData('_head.html'); } catch (Exception $e) {} ?>
-</head>
-
-<body class="dc-archive">
-<div id="page">
-<?php try { echo $core->tpl->getData('_top.html'); } catch (Exception $e) {} ?>
-
-<div id="wrapper">
-
-<div id="main">
- <div id="content">
-
- <div id="content-info">
- <h2><?php echo __('Archives'); ?></h2>
- </div>
-
- <div class="content-inner">
- <?php
-$params = array();$params['type'] = 'month';
-$params['post_type'] = 'post';
-if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
-$_ctx->archives = $core->blog->getDates($params); unset($params);
-?>
-<?php while ($_ctx->archives->fetch()) : ?>
- <?php if ($_ctx->archives->yearHeader()) : ?>
- <h3><?php echo context::global_filter(dt::dt2str('%Y',$_ctx->archives->dt),0,0,0,0,0,'ArchiveDate'); ?></h3>
- <ul>
- <?php endif; ?>
- <li><a href="<?php echo context::global_filter($_ctx->archives->url($core),0,0,0,0,0,'ArchiveURL'); ?>"
- title="<?php echo context::global_filter(dt::dt2str('%B %Y',$_ctx->archives->dt),1,0,0,0,0,'ArchiveDate'); ?>"><?php echo context::global_filter(dt::dt2str('%B',$_ctx->archives->dt),1,0,0,0,0,'ArchiveDate'); ?></a>
- (<?php echo context::global_filter($_ctx->archives->nb_post,0,0,0,0,0,'ArchiveEntriesCount'); ?>)</li>
- <?php if ($_ctx->archives->yearFooter()) : ?>
- </ul>
- <?php endif; ?>
- <?php endwhile; $_ctx->archives = null; ?>
- </div>
-
- </div>
-</div> <!-- End #main -->
-
-<div id="sidebar">
- <div id="blognav">
- <?php publicWidgets::widgetsHandler('nav'); ?>
- </div> <!-- End #blognav -->
-
- <div id="blogextra">
- <?php publicWidgets::widgetsHandler('extra'); ?>
- </div> <!-- End #blogextra -->
-</div>
-
-</div> <!-- End #wrapper -->
-
-<?php try { echo $core->tpl->getData('_footer.html'); } catch (Exception $e) {} ?>
-</div> <!-- End #page -->
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php if ($_ctx->posts->post_lang) { echo context::global_filter($_ctx->posts->post_lang,0,0,0,0,0,'EntryLang'); } else {echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'EntryLang'); } ?>" lang="<?php if ($_ctx->posts->post_lang) { echo context::global_filter($_ctx->posts->post_lang,0,0,0,0,0,'EntryLang'); } else {echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'EntryLang'); } ?>">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta name="MSSmartTagsPreventParsing" content="TRUE" />
- <meta name="ROBOTS" content="<?php echo context::robotsPolicy($core->blog->settings->robots_policy,''); ?>" />
-
- <title><?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?> - <?php echo context::global_filter($core->blog->name,1,0,0,0,0,'BlogName'); ?></title>
- <meta name="description" lang="<?php if ($_ctx->posts->post_lang) { echo context::global_filter($_ctx->posts->post_lang,0,0,0,0,0,'EntryLang'); } else {echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'EntryLang'); } ?>" content="<?php echo context::global_filter($_ctx->posts->getExcerpt(0)." ".$_ctx->posts->getContent(0),1,1,180,0,0,'EntryContent'); ?>" />
- <meta name="copyright" content="<?php echo context::global_filter($core->blog->settings->copyright_notice,1,0,0,0,0,'BlogCopyrightNotice'); ?>" />
- <meta name="author" content="<?php echo context::global_filter($_ctx->posts->getAuthorCN(),1,0,0,0,0,'EntryAuthorCommonName'); ?>" />
- <meta name="date" scheme="W3CDTF" content="<?php echo context::global_filter($_ctx->posts->getISO8601Date(),0,0,0,0,0,'EntryDate'); ?>" />
-
- <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
- <meta name="dc.title" content="<?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?>" />
- <meta name="dc.description" lang="<?php if ($_ctx->posts->post_lang) { echo context::global_filter($_ctx->posts->post_lang,0,0,0,0,0,'EntryLang'); } else {echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'EntryLang'); } ?>" content="<?php echo context::global_filter($_ctx->posts->getExcerpt(0)." ".$_ctx->posts->getContent(0),1,1,180,0,0,'EntryContent'); ?>" />
- <meta name="dc.creator" content="<?php echo context::global_filter($_ctx->posts->getAuthorCN(),1,0,0,0,0,'EntryAuthorCommonName'); ?>" />
- <meta name="dc.language" content="<?php if ($_ctx->posts->post_lang) { echo context::global_filter($_ctx->posts->post_lang,0,0,0,0,0,'EntryLang'); } else {echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'EntryLang'); } ?>" />
- <meta name="dc.publisher" content="<?php echo context::global_filter($core->blog->settings->editor,1,0,0,0,0,'BlogEditor'); ?>" />
- <meta name="dc.rights" content="<?php echo context::global_filter($core->blog->settings->copyright_notice,1,0,0,0,0,'BlogCopyrightNotice'); ?>" />
- <meta name="dc.date" scheme="W3CDTF" content="<?php echo context::global_filter($_ctx->posts->getISO8601Date(),0,0,0,0,0,'EntryDate'); ?>" />
- <meta name="dc.type" content="text" />
- <meta name="dc.format" content="text/html" />
-
- <link rel="top" href="<?php echo context::global_filter($core->blog->url,0,0,0,0,0,'BlogURL'); ?>" title="<?php echo __('Home'); ?>" />
- <link rel="contents" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("archive"),0,0,0,0,0,'BlogArchiveURL'); ?>" title="<?php echo __('Archives'); ?>" />
-
- <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("feed")."/atom",0,0,0,0,0,'BlogFeedURL'); ?>" />
-
- <?php try { echo $core->tpl->getData('_head.html'); } catch (Exception $e) {} ?>
-
- <script type="text/javascript" src="<?php echo context::global_filter($core->blog->settings->themes_url."/".$core->blog->settings->theme,0,0,0,0,0,'BlogThemeURL'); ?>/../default/js/post.js"></script>
- <script type="text/javascript">
- //<![CDATA[
- var post_remember_str = '<?php echo __('Remember me on this blog'); ?>';
- //]]>
- </script>
-</head>
-
-<body class="dc-page">
-<div id="page">
-<?php if ($_ctx->posts->trackbacksActive()) { echo $_ctx->posts->getTrackbackData(); } ?>
-
-
-<?php try { echo $core->tpl->getData('_top.html'); } catch (Exception $e) {} ?>
-
-<div id="wrapper">
-
-<div id="main">
- <div id="content">
-
- <div id="p<?php echo context::global_filter($_ctx->posts->post_id,0,0,0,0,0,'EntryID'); ?>" class="post">
- <h2 class="post-title"><?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?></h2>
-
- <?php if ($core->hasBehavior('publicEntryBeforeContent')) { $core->callBehavior('publicEntryBeforeContent',$core,$_ctx);} ?>
-
- <?php if($_ctx->posts->isExtended()) : ?>
- <div class="post-excerpt"><?php echo context::global_filter($_ctx->posts->getExcerpt(0),0,0,0,0,0,'EntryExcerpt'); ?></div>
- <?php endif; ?>
- <div class="post-content"><?php echo context::global_filter($_ctx->posts->getContent(0),0,0,0,0,0,'EntryContent'); ?></div>
-
- <p class="page-info"><?php echo __('Published on'); ?> <?php echo context::global_filter($_ctx->posts->getDate(''),0,0,0,0,0,'EntryDate'); ?>
- <?php echo __('by'); ?> <?php echo context::global_filter($_ctx->posts->getAuthorLink(),0,0,0,0,0,'EntryAuthorLink'); ?></p>
-
- <?php if ($core->hasBehavior('publicEntryAfterContent')) { $core->callBehavior('publicEntryAfterContent',$core,$_ctx);} ?>
- </div>
-
- <?php
-if ($_ctx->posts !== null && $core->media) {
-$_ctx->attachments = new ArrayObject($core->media->getPostMedia($_ctx->posts->post_id));
-?>
-<?php foreach ($_ctx->attachments as $attach_i => $attach_f) : $GLOBALS['attach_i'] = $attach_i; $GLOBALS['attach_f'] = $attach_f;$_ctx->file_url = $attach_f->file_url; ?>
- <?php if ($attach_i == 0) : ?>
- <div id="attachments">
- <h3><?php echo __('Attachments'); ?></h3>
- <ul>
- <?php endif; ?>
- <li class="<?php echo context::global_filter($attach_f->media_type,0,0,0,0,0,'AttachmentType'); ?>">
- <?php if($attach_f->type == "audio/mpeg3") : ?>
- <?php try { echo $core->tpl->getData('_mp3_player.html'); } catch (Exception $e) {} ?> -
- <?php endif; ?>
- <?php if(($attach_f->type == "video/x-flv" || $attach_f->type == "video/mp4" || $attach_f->type == "video/x-m4v")) : ?>
- <?php try { echo $core->tpl->getData('_flv_player.html'); } catch (Exception $e) {} ?>
- <?php endif; ?>
- <?php if(!($attach_f->type == "video/x-flv" || $attach_f->type == "video/mp4" || $attach_f->type == "video/x-m4v")) : ?>
- <a href="<?php echo context::global_filter($attach_f->file_url,0,0,0,0,0,'AttachmentURL'); ?>"
- title="<?php echo context::global_filter($attach_f->basename,0,0,0,0,0,'AttachmentFileName'); ?> (<?php echo context::global_filter(files::size($attach_f->size),0,0,0,0,0,'AttachmentSize'); ?>)"><?php echo context::global_filter($attach_f->media_title,0,0,0,0,0,'AttachmentTitle'); ?></a>
- <?php endif; ?>
- </li>
- <?php if ($attach_i+1 == count($_ctx->attachments)) : ?>
- </ul>
- </div>
- <?php endif; ?>
- <?php endforeach; $_ctx->attachments = null; unset($attach_i,$attach_f,$_ctx->file_url); ?><?php } ?>
-
-
- <?php if(($_ctx->posts->hasComments() || $_ctx->posts->commentsActive())) : ?>
- <?php if ($_ctx->exists("meta")) { @$params['from'] .= ', '.$core->prefix.'meta META ';
-@$params['sql'] .= 'AND META.post_id = P.post_id ';
-$params['sql'] .= "AND META.meta_type = 'tag' ";
-$params['sql'] .= "AND META.meta_id = '".$core->con->escape($_ctx->meta->meta_id)."' ";
-} ?>
-<?php
-if ($_ctx->posts !== null) { $params['post_id'] = $_ctx->posts->post_id; $core->blog->withoutPassword(false);
-}
-$params['comment_trackback'] = false;
-if ($_ctx->nb_comment_per_page !== null) { $params['limit'] = $_ctx->nb_comment_per_page; }
-if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
-if ($_ctx->exists("langs")) { $params['sql'] = "AND P.post_lang = '".$core->blog->con->escape($_ctx->langs->post_lang)."' "; }
-$params['order'] = 'comment_dt asc';
-$_ctx->comments = $core->blog->getComments($params); unset($params);
-if ($_ctx->posts !== null) { $core->blog->withoutPassword(true);}
-?>
-<?php while ($_ctx->comments->fetch()) : ?>
- <?php if ($_ctx->comments->isStart()) : ?>
- <div id="comments">
- <h3><?php echo __('Comments'); ?></h3>
- <dl>
- <?php endif; ?>
- <dt id="c<?php echo $_ctx->comments->comment_id; ?>" class="<?php if ($_ctx->comments->isMe()) { echo 'me'; } ?> <?php if (($_ctx->comments->index()+1)%2) { echo 'odd'; } ?> <?php if ($_ctx->comments->index() == 0) { echo 'first'; } ?>"><a
- href="#c<?php echo $_ctx->comments->comment_id; ?>" class="comment-number"><?php echo $_ctx->comments->index()+1; ?>.</a>
- <?php echo __('On'); ?> <?php echo context::global_filter($_ctx->comments->getDate(''),0,0,0,0,0,'CommentDate'); ?>, <?php echo context::global_filter($_ctx->comments->getTime(''),0,0,0,0,0,'CommentTime'); ?>
- <?php echo __('by'); ?> <?php echo context::global_filter($_ctx->comments->getAuthorLink(),0,0,0,0,0,'CommentAuthorLink'); ?></dt>
-
- <dd class="<?php if ($_ctx->comments->isMe()) { echo 'me'; } ?> <?php if (($_ctx->comments->index()+1)%2) { echo 'odd'; } ?> <?php if ($_ctx->comments->index() == 0) { echo 'first'; } ?>">
-
- <?php if ($core->hasBehavior('publicCommentBeforeContent')) { $core->callBehavior('publicCommentBeforeContent',$core,$_ctx);} ?>
-
- <?php echo context::global_filter($_ctx->comments->getContent(0),0,0,0,0,0,'CommentContent'); ?>
-
- <?php if ($core->hasBehavior('publicCommentAfterContent')) { $core->callBehavior('publicCommentAfterContent',$core,$_ctx);} ?>
- </dd>
- <?php if ($_ctx->comments->isEnd()) : ?>
- </dl>
- </div>
- <?php endif; ?>
- <?php endwhile; $_ctx->comments = null; ?>
- <?php endif; ?>
-
- <?php if($_ctx->posts->commentsActive()) : ?>
- <?php if ($_ctx->form_error !== null) : ?>
- <p class="error" id="pr"><?php if ($_ctx->form_error !== null) { echo $_ctx->form_error; } ?></p>
- <?php endif; ?>
-
- <?php if (!empty($_GET['pub'])) : ?>
- <p class="message" id="pr"><?php echo __('Your comment has been published.'); ?></p>
- <?php endif; ?>
-
- <?php if (isset($_GET['pub']) && $_GET['pub'] == 0) : ?>
- <p class="message" id="pr"><?php echo __('Your comment has been submitted and will be reviewed for publication.'); ?></p>
- <?php endif; ?>
-
- <form action="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>#pr" method="post" id="comment-form">
- <?php if ($_ctx->comment_preview !== null && $_ctx->comment_preview["preview"]) : ?>
- <div id="pr">
- <h3><?php echo __('Your comment'); ?></h3>
- <dl>
- <dd class="comment-preview"><?php echo context::global_filter($_ctx->comment_preview["content"],0,0,0,0,0,'CommentPreviewContent'); ?></dd>
- </dl>
- <p class="buttons"><input type="submit" class="submit" value="<?php echo __('send'); ?>" /></p>
- </div>
- <?php endif; ?>
-
- <h3><?php echo __('Add a comment'); ?></h3>
- <fieldset>
-
- <?php if ($core->hasBehavior('publicCommentFormBeforeContent')) { $core->callBehavior('publicCommentFormBeforeContent',$core,$_ctx);} ?>
-
- <p class="field"><label for="c_name"><?php echo __('Name or nickname'); ?> :</label>
- <input name="c_name" id="c_name" type="text" size="30" maxlength="255"
- value="<?php echo context::global_filter($_ctx->comment_preview["name"],1,0,0,0,0,'CommentPreviewName'); ?>" />
- </p>
-
- <p class="field"><label for="c_mail"><?php echo __('Email address'); ?> :</label>
- <input name="c_mail" id="c_mail" type="text" size="30" maxlength="255"
- value="<?php echo context::global_filter($_ctx->comment_preview["mail"],1,0,0,0,0,'CommentPreviewEmail'); ?>" />
- </p>
-
- <p class="field"><label for="c_site"><?php echo __('Website'); ?>
- (<?php echo __('optional'); ?>) :</label>
- <input name="c_site" id="c_site" type="text" size="30" maxlength="255"
- value="<?php echo context::global_filter($_ctx->comment_preview["site"],1,0,0,0,0,'CommentPreviewSite'); ?>" />
- </p>
-
- <p style="display:none"><input name="f_mail" type="text" size="30"
- maxlength="255" value="" /></p>
-
- <p class="field"><label for="c_content"><?php echo __('Comment'); ?> :</label>
- <textarea name="c_content" id="c_content" cols="35"
- rows="7"><?php echo context::global_filter($_ctx->comment_preview["rawcontent"],1,0,0,0,0,'CommentPreviewContent'); ?></textarea>
- </p>
-
- <p class="form-help"><?php echo __('HTML code is displayed as text and web addresses are automatically converted.'); ?></p>
-
- <?php if ($core->hasBehavior('publicCommentFormAfterContent')) { $core->callBehavior('publicCommentFormAfterContent',$core,$_ctx);} ?>
- </fieldset>
-
- <fieldset>
- <p class="buttons"><input type="submit" class="preview" name="preview" value="<?php echo __('preview'); ?>" />
- <?php if ($_ctx->comment_preview !== null && $_ctx->comment_preview["preview"]) : ?><input type="submit" class="submit" value="<?php echo __('send'); ?>" /><?php endif; ?></p>
- </fieldset>
- </form>
- <?php endif; ?>
-
- <?php if(($_ctx->posts->hasTrackbacks() || $_ctx->posts->trackbacksActive())) : ?>
- <div id="pings">
- <h3><?php echo __('They posted on the same topic'); ?></h3>
- <?php
-if ($_ctx->posts !== null) { $params['post_id'] = $_ctx->posts->post_id; $core->blog->withoutPassword(false);
-}
-$params['comment_trackback'] = true;
-if ($_ctx->nb_comment_per_page !== null) { $params['limit'] = $_ctx->nb_comment_per_page; }
-if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
-if ($_ctx->exists("langs")) { $params['sql'] = "AND P.post_lang = '".$core->blog->con->escape($_ctx->langs->post_lang)."' "; }
-$params['order'] = 'comment_dt asc';
-$_ctx->pings = $core->blog->getComments($params); unset($params);
-if ($_ctx->posts !== null) { $core->blog->withoutPassword(true);}
-?>
-<?php while ($_ctx->pings->fetch()) : ?>
- <?php if ($_ctx->pings->isStart()) : ?>
- <dl>
- <?php endif; ?>
- <dt id="c<?php echo $_ctx->pings->comment_id; ?>" class="<?php if (($_ctx->pings->index()+1)%2) { echo 'odd'; } ?> <?php if ($_ctx->pings->index() == 0) { echo 'first'; } ?>"><a href="#c<?php echo $_ctx->pings->comment_id; ?>"
- class="ping-number"><?php echo $_ctx->pings->index()+1; ?>.</a>
- <?php echo __('On'); ?> <?php echo context::global_filter($_ctx->pings->getDate(''),0,0,0,0,0,'PingDate'); ?>, <?php echo context::global_filter($_ctx->pings->getTime(''),0,0,0,0,0,'PingTime'); ?>
- <?php echo __('by'); ?> <?php echo context::global_filter($_ctx->pings->comment_author,1,0,0,0,0,'PingBlogName'); ?></dt>
-
- <dd class="<?php if (($_ctx->pings->index()+1)%2) { echo 'odd'; } ?> <?php if ($_ctx->pings->index() == 0) { echo 'first'; } ?>">
-
- <?php if ($core->hasBehavior('publicPingBeforeContent')) { $core->callBehavior('publicPingBeforeContent',$core,$_ctx);} ?>
-
- <p><a href="<?php echo context::global_filter($_ctx->pings->getAuthorURL(),0,0,0,0,0,'PingAuthorURL'); ?>"
- <?php if($core->blog->settings->comments_nofollow) { echo ' rel="nofollow"';} ?>><?php echo context::global_filter($_ctx->pings->getTrackbackTitle(),1,0,0,0,0,'PingTitle'); ?></a></p>
- <?php echo context::global_filter($_ctx->pings->getTrackbackContent(),0,0,0,0,0,'PingContent'); ?>
-
- <?php if ($core->hasBehavior('publicPingAfterContent')) { $core->callBehavior('publicPingAfterContent',$core,$_ctx);} ?>
- </dd>
- <?php if ($_ctx->pings->isEnd()) : ?>
- </dl>
- <?php endif; ?>
- <?php endwhile; $_ctx->pings = null; ?>
- </div>
- <?php endif; ?>
-
- <?php if($_ctx->posts->trackbacksActive()) : ?>
- <p id="ping-url"><?php echo __('Trackback URL'); ?> : <?php if ($_ctx->posts->trackbacksActive()) { echo $_ctx->posts->getTrackbackLink(); } ?>
-</p>
- <?php endif; ?>
-
- <?php if($_ctx->posts->commentsActive() || $_ctx->posts->trackbacksActive()) : ?>
- <p id="comments-feed"><a class="feed" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("feed")."/atom",0,0,0,0,0,'BlogFeedURL'); ?>/comments/<?php echo context::global_filter($_ctx->posts->post_id,0,0,0,0,0,'EntryID'); ?>"
- title="<?php echo __('This page\'s comments feed'); ?>"><?php echo __('This page\'s comments feed'); ?></a></p>
- <?php endif; ?>
- </div>
-</div> <!-- End #main -->
-
-<div id="sidebar">
- <div id="blognav">
- <?php publicWidgets::widgetsHandler('nav'); ?>
- </div> <!-- End #blognav -->
-
- <div id="blogextra">
- <?php publicWidgets::widgetsHandler('extra'); ?>
- </div> <!-- End #blogextra -->
-</div>
-
-</div> <!-- End #wrapper -->
-
-<?php try { echo $core->tpl->getData('_footer.html'); } catch (Exception $e) {} ?>
-</div> <!-- End #page -->
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<style type="text/css" media="screen">
-@import url(<?php echo context::global_filter($core->blog->settings->themes_url."/".$core->blog->settings->theme,0,0,0,0,0,'BlogThemeURL'); ?>/style.css);
-</style>
-<style type="text/css" media="print">
-@import url(<?php echo context::global_filter($core->blog->settings->themes_url."/".$core->blog->settings->theme,0,0,0,0,0,'BlogThemeURL'); ?>/../default/print.css);
-</style>
-
-<script type="text/javascript" src="<?php echo context::global_filter($core->blog->settings->themes_url."/".$core->blog->settings->theme,0,0,0,0,0,'BlogThemeURL'); ?>/../default/js/jquery.js"></script>
-<script type="text/javascript" src="<?php echo context::global_filter($core->blog->settings->themes_url."/".$core->blog->settings->theme,0,0,0,0,0,'BlogThemeURL'); ?>/../default/js/jquery.cookie.js"></script>
-<script type="text/javascript" src="<?php echo context::global_filter($core->blog->settings->themes_url."/".$core->blog->settings->theme,0,0,0,0,0,'BlogThemeURL'); ?>/jquery.corner.js"></script>
-
-
-
-<?php try { echo $core->tpl->getData('user_head.html'); } catch (Exception $e) {} ?>
-<?php if ($core->hasBehavior('publicHeadContent')) { $core->callBehavior('publicHeadContent',$core,$_ctx);} ?>
-
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php if ($_ctx->posts->post_lang) { echo context::global_filter($_ctx->posts->post_lang,0,0,0,0,0,'EntryLang'); } else {echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'EntryLang'); } ?>" lang="<?php if ($_ctx->posts->post_lang) { echo context::global_filter($_ctx->posts->post_lang,0,0,0,0,0,'EntryLang'); } else {echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'EntryLang'); } ?>">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta name="MSSmartTagsPreventParsing" content="TRUE" />
- <meta name="ROBOTS" content="<?php echo context::robotsPolicy($core->blog->settings->robots_policy,''); ?>" />
-
- <title><?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?> - <?php echo context::global_filter($core->blog->name,1,0,0,0,0,'BlogName'); ?></title>
- <meta name="description" lang="<?php if ($_ctx->posts->post_lang) { echo context::global_filter($_ctx->posts->post_lang,0,0,0,0,0,'EntryLang'); } else {echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'EntryLang'); } ?>" content="<?php echo context::global_filter($_ctx->posts->getExcerpt(0)." ".$_ctx->posts->getContent(0),1,1,180,0,0,'EntryContent'); ?>" />
- <meta name="copyright" content="<?php echo context::global_filter($core->blog->settings->copyright_notice,1,0,0,0,0,'BlogCopyrightNotice'); ?>" />
- <meta name="author" content="<?php echo context::global_filter($_ctx->posts->getAuthorCN(),1,0,0,0,0,'EntryAuthorCommonName'); ?>" />
- <meta name="date" scheme="W3CDTF" content="<?php echo context::global_filter($_ctx->posts->getISO8601Date(),0,0,0,0,0,'EntryDate'); ?>" />
-
- <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
- <meta name="dc.title" content="<?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?>" />
- <meta name="dc.description" lang="<?php if ($_ctx->posts->post_lang) { echo context::global_filter($_ctx->posts->post_lang,0,0,0,0,0,'EntryLang'); } else {echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'EntryLang'); } ?>" content="<?php echo context::global_filter($_ctx->posts->getExcerpt(0)." ".$_ctx->posts->getContent(0),1,1,180,0,0,'EntryContent'); ?>" />
- <meta name="dc.creator" content="<?php echo context::global_filter($_ctx->posts->getAuthorCN(),1,0,0,0,0,'EntryAuthorCommonName'); ?>" />
- <meta name="dc.language" content="<?php if ($_ctx->posts->post_lang) { echo context::global_filter($_ctx->posts->post_lang,0,0,0,0,0,'EntryLang'); } else {echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'EntryLang'); } ?>" />
- <meta name="dc.publisher" content="<?php echo context::global_filter($core->blog->settings->editor,1,0,0,0,0,'BlogEditor'); ?>" />
- <meta name="dc.rights" content="<?php echo context::global_filter($core->blog->settings->copyright_notice,1,0,0,0,0,'BlogCopyrightNotice'); ?>" />
- <meta name="dc.date" scheme="W3CDTF" content="<?php echo context::global_filter($_ctx->posts->getISO8601Date(),0,0,0,0,0,'EntryDate'); ?>" />
- <meta name="dc.type" content="text" />
- <meta name="dc.format" content="text/html" />
-
- <link rel="top" href="<?php echo context::global_filter($core->blog->url,0,0,0,0,0,'BlogURL'); ?>" title="<?php echo __('Home'); ?>" />
- <link rel="contents" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("archive"),0,0,0,0,0,'BlogArchiveURL'); ?>" title="<?php echo __('Archives'); ?>" />
-
- <?php $next_post = $core->blog->getNextPost($_ctx->posts,1,0,0); ?>
-<?php if ($next_post !== null) : ?><?php $_ctx->posts = $next_post; unset($next_post);
-while ($_ctx->posts->fetch()) : ?><link rel="next" href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>"
- title="<?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?>" /><?php endwhile; $_ctx->posts = null; ?><?php endif; ?>
-
-
- <?php $prev_post = $core->blog->getNextPost($_ctx->posts,-1,0,0); ?>
-<?php if ($prev_post !== null) : ?><?php $_ctx->posts = $prev_post; unset($prev_post);
-while ($_ctx->posts->fetch()) : ?><link rel="previous" href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>"
- title="<?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?>" /><?php endwhile; $_ctx->posts = null; ?><?php endif; ?>
-
-
- <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("feed")."/atom",0,0,0,0,0,'BlogFeedURL'); ?>" />
-
- <?php try { echo $core->tpl->getData('_head.html'); } catch (Exception $e) {} ?>
- <script type="text/javascript" src="<?php echo context::global_filter($core->blog->settings->themes_url."/".$core->blog->settings->theme,0,0,0,0,0,'BlogThemeURL'); ?>/../default/js/post.js"></script>
- <script type="text/javascript">
- //<![CDATA[
- var post_remember_str = '<?php echo __('Remember me on this blog'); ?>';
- //]]>
- </script>
-</head>
-
-<body class="dc-post">
-<div id="page">
-<?php if ($_ctx->posts->trackbacksActive()) { echo $_ctx->posts->getTrackbackData(); } ?>
-
-
-<?php try { echo $core->tpl->getData('_top.html'); } catch (Exception $e) {} ?>
-
-<div id="wrapper">
-
-<div id="main">
- <div id="content">
-
- <p id="navlinks">
- <?php $prev_post = $core->blog->getNextPost($_ctx->posts,-1,0,0); ?>
-<?php if ($prev_post !== null) : ?><?php $_ctx->posts = $prev_post; unset($prev_post);
-while ($_ctx->posts->fetch()) : ?><a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>"
- title="<?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?>" class="prev">« <?php echo context::global_filter($_ctx->posts->post_title,1,0,50,0,0,'EntryTitle'); ?></a><?php endwhile; $_ctx->posts = null; ?><?php endif; ?>
-
- <?php $next_post = $core->blog->getNextPost($_ctx->posts,1,0,0); ?>
-<?php if ($next_post !== null) : ?><?php $_ctx->posts = $next_post; unset($next_post);
-while ($_ctx->posts->fetch()) : ?> <span>-</span> <a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>"
- title="<?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?>" class="next"><?php echo context::global_filter($_ctx->posts->post_title,1,0,50,0,0,'EntryTitle'); ?> »</a><?php endwhile; $_ctx->posts = null; ?><?php endif; ?>
-
- </p>
-
- <div id="p<?php echo context::global_filter($_ctx->posts->post_id,0,0,0,0,0,'EntryID'); ?>" class="post">
- <h2 class="post-title"><?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?></h2>
-
- <p class="post-info"><?php echo __('By'); ?> <?php echo context::global_filter($_ctx->posts->getAuthorLink(),0,0,0,0,0,'EntryAuthorLink'); ?>
- <?php echo __('on'); ?> <?php echo context::global_filter($_ctx->posts->getDate(''),0,0,0,0,0,'EntryDate'); ?>, <?php echo context::global_filter($_ctx->posts->getTime(''),0,0,0,0,0,'EntryTime'); ?>
- <?php if($_ctx->posts->cat_id) : ?>
- - <a href="<?php echo context::global_filter($_ctx->posts->getCategoryURL(),0,0,0,0,0,'EntryCategoryURL'); ?>"><?php echo context::global_filter($_ctx->posts->cat_title,1,0,0,0,0,'EntryCategory'); ?></a>
- <?php endif; ?>
- - <a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>"><?php echo __('Permalink'); ?></a>
- </p>
-
- <?php if ($core->hasBehavior('publicEntryBeforeContent')) { $core->callBehavior('publicEntryBeforeContent',$core,$_ctx);} ?>
-
- <?php if($_ctx->posts->isExtended()) : ?>
- <div class="post-excerpt"><?php echo context::global_filter($_ctx->posts->getExcerpt(0),0,0,0,0,0,'EntryExcerpt'); ?></div>
- <?php endif; ?>
-
- <div class="post-content"><?php echo context::global_filter($_ctx->posts->getContent(0),0,0,0,0,0,'EntryContent'); ?></div>
-
- <?php
-$objMeta = new dcMeta($core); $_ctx->meta = $objMeta->getMetaRecordset($_ctx->posts->post_meta,'tag'); $_ctx->meta->sort('meta_id_lower','asc'); ?><?php while ($_ctx->meta->fetch()) : ?>
- <?php if ($_ctx->meta->isStart()) : ?><ul class="post-tags"><?php endif; ?>
- <li><a href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("tag")."/".rawurlencode($_ctx->meta->meta_id),0,0,0,0,0,'MetaURL'); ?>"><?php echo context::global_filter($_ctx->meta->meta_id,0,0,0,0,0,'MetaID'); ?></a></li>
- <?php if ($_ctx->meta->isEnd()) : ?></ul><?php endif; ?>
- <?php endwhile; $_ctx->meta = null; unset($objMeta); ?>
-
- <?php if ($core->hasBehavior('publicEntryAfterContent')) { $core->callBehavior('publicEntryAfterContent',$core,$_ctx);} ?>
-
- <div class="postend"> </div>
- </div>
-
- <?php
-if ($_ctx->posts !== null && $core->media) {
-$_ctx->attachments = new ArrayObject($core->media->getPostMedia($_ctx->posts->post_id));
-?>
-<?php foreach ($_ctx->attachments as $attach_i => $attach_f) : $GLOBALS['attach_i'] = $attach_i; $GLOBALS['attach_f'] = $attach_f;$_ctx->file_url = $attach_f->file_url; ?>
- <?php if ($attach_i == 0) : ?>
- <div id="attachments">
- <h3><?php echo __('Attachments'); ?></h3>
- <ul>
- <?php endif; ?>
- <li class="<?php echo context::global_filter($attach_f->media_type,0,0,0,0,0,'AttachmentType'); ?>">
- <?php if($attach_f->type == "audio/mpeg3") : ?>
- <?php try { echo $core->tpl->getData('_mp3_player.html'); } catch (Exception $e) {} ?> -
- <?php endif; ?>
- <?php if(($attach_f->type == "video/x-flv" || $attach_f->type == "video/mp4" || $attach_f->type == "video/x-m4v")) : ?>
- <?php try { echo $core->tpl->getData('_flv_player.html'); } catch (Exception $e) {} ?>
- <?php endif; ?>
- <?php if(!($attach_f->type == "video/x-flv" || $attach_f->type == "video/mp4" || $attach_f->type == "video/x-m4v")) : ?>
- <a href="<?php echo context::global_filter($attach_f->file_url,0,0,0,0,0,'AttachmentURL'); ?>"
- title="<?php echo context::global_filter($attach_f->basename,0,0,0,0,0,'AttachmentFileName'); ?> (<?php echo context::global_filter(files::size($attach_f->size),0,0,0,0,0,'AttachmentSize'); ?>)"><?php echo context::global_filter($attach_f->media_title,0,0,0,0,0,'AttachmentTitle'); ?></a>
- <?php endif; ?>
- </li>
- <?php if ($attach_i+1 == count($_ctx->attachments)) : ?>
- </ul>
- </div>
- <?php endif; ?>
- <?php endforeach; $_ctx->attachments = null; unset($attach_i,$attach_f,$_ctx->file_url); ?><?php } ?>
-
-
- <?php if(($_ctx->posts->hasComments() || $_ctx->posts->commentsActive())) : ?>
- <?php if ($_ctx->exists("meta")) { @$params['from'] .= ', '.$core->prefix.'meta META ';
-@$params['sql'] .= 'AND META.post_id = P.post_id ';
-$params['sql'] .= "AND META.meta_type = 'tag' ";
-$params['sql'] .= "AND META.meta_id = '".$core->con->escape($_ctx->meta->meta_id)."' ";
-} ?>
-<?php
-if ($_ctx->posts !== null) { $params['post_id'] = $_ctx->posts->post_id; $core->blog->withoutPassword(false);
-}
-$params['comment_trackback'] = false;
-if ($_ctx->nb_comment_per_page !== null) { $params['limit'] = $_ctx->nb_comment_per_page; }
-if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
-if ($_ctx->exists("langs")) { $params['sql'] = "AND P.post_lang = '".$core->blog->con->escape($_ctx->langs->post_lang)."' "; }
-$params['order'] = 'comment_dt asc';
-$_ctx->comments = $core->blog->getComments($params); unset($params);
-if ($_ctx->posts !== null) { $core->blog->withoutPassword(true);}
-?>
-<?php while ($_ctx->comments->fetch()) : ?>
- <?php if ($_ctx->comments->isStart()) : ?>
- <div id="comments">
- <h3><?php echo __('Comments'); ?></h3>
- <dl>
- <?php endif; ?>
- <dt id="c<?php echo $_ctx->comments->comment_id; ?>" class="<?php if ($_ctx->comments->isMe()) { echo 'me'; } ?> <?php if (($_ctx->comments->index()+1)%2) { echo 'odd'; } ?> <?php if ($_ctx->comments->index() == 0) { echo 'first'; } ?>"><a
- href="#c<?php echo $_ctx->comments->comment_id; ?>" class="comment-number"><?php echo $_ctx->comments->index()+1; ?>.</a>
- <?php echo __('On'); ?> <?php echo context::global_filter($_ctx->comments->getDate(''),0,0,0,0,0,'CommentDate'); ?>, <?php echo context::global_filter($_ctx->comments->getTime(''),0,0,0,0,0,'CommentTime'); ?>
- <?php echo __('by'); ?> <?php echo context::global_filter($_ctx->comments->getAuthorLink(),0,0,0,0,0,'CommentAuthorLink'); ?></dt>
-
- <dd class="<?php if ($_ctx->comments->isMe()) { echo 'me'; } ?> <?php if (($_ctx->comments->index()+1)%2) { echo 'odd'; } ?> <?php if ($_ctx->comments->index() == 0) { echo 'first'; } ?>">
-
- <?php if ($core->hasBehavior('publicCommentBeforeContent')) { $core->callBehavior('publicCommentBeforeContent',$core,$_ctx);} ?>
-
- <?php echo context::global_filter($_ctx->comments->getContent(0),0,0,0,0,0,'CommentContent'); ?>
-
- <?php if ($core->hasBehavior('publicCommentAfterContent')) { $core->callBehavior('publicCommentAfterContent',$core,$_ctx);} ?>
- </dd>
- <?php if ($_ctx->comments->isEnd()) : ?>
- </dl>
- </div>
- <?php endif; ?>
- <?php endwhile; $_ctx->comments = null; ?>
- <?php endif; ?>
-
- <?php if($_ctx->posts->commentsActive()) : ?>
- <?php if ($_ctx->form_error !== null) : ?>
- <p class="error" id="pr"><?php if ($_ctx->form_error !== null) { echo $_ctx->form_error; } ?></p>
- <?php endif; ?>
-
- <?php if (!empty($_GET['pub'])) : ?>
- <p class="message" id="pr"><?php echo __('Your comment has been published.'); ?></p>
- <?php endif; ?>
-
- <?php if (isset($_GET['pub']) && $_GET['pub'] == 0) : ?>
- <p class="message" id="pr"><?php echo __('Your comment has been submitted and will be reviewed for publication.'); ?></p>
- <?php endif; ?>
-
-<script type="text/javascript">
-$(document).ready(function() {
-$("#comments dd,#pings dd").corner("bottom");
-$("#comments dt,#pings dt").corner("top");
-$("#comment-form .hidecomment-form,#attachments ul,#pr dd").corner("10px");
-if ($('#pr').is(':visible')) {jQuery('.hidecomment-form').show()} else {$(".hidecomment-form").hide()};
-$("#comment-form h3").click(function() {
- var answer = jQuery(this).next();
- if (answer.is(':visible')) {
- answer.slideUp() } else {
- answer.slideDown();
- }
- });
-});
-</script>
-
- <form action="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>#pr" method="post" id="comment-form">
- <?php if ($_ctx->comment_preview !== null && $_ctx->comment_preview["preview"]) : ?>
- <div id="pr">
- <h3><?php echo __('Your comment'); ?></h3>
- <dl>
- <dd class="comment-preview"><?php echo context::global_filter($_ctx->comment_preview["content"],0,0,0,0,0,'CommentPreviewContent'); ?></dd>
- </dl>
- <p class="buttons"><input type="submit" class="submit" value="<?php echo __('send'); ?>" /></p>
- </div>
- <?php endif; ?>
-
- <h3><?php echo __('Add a comment'); ?></h3>
- <div class="hidecomment-form">
- <fieldset>
-
- <?php if ($core->hasBehavior('publicCommentFormBeforeContent')) { $core->callBehavior('publicCommentFormBeforeContent',$core,$_ctx);} ?>
-
- <p class="field"><label for="c_name"><?php echo __('Name or nickname'); ?> :</label>
- <input name="c_name" id="c_name" type="text" size="30" maxlength="255"
- value="<?php echo context::global_filter($_ctx->comment_preview["name"],1,0,0,0,0,'CommentPreviewName'); ?>" />
- </p>
-
- <p class="field"><label for="c_mail"><?php echo __('Email address'); ?> :</label>
- <input name="c_mail" id="c_mail" type="text" size="30" maxlength="255"
- value="<?php echo context::global_filter($_ctx->comment_preview["mail"],1,0,0,0,0,'CommentPreviewEmail'); ?>" />
- </p>
-
- <p class="field"><label for="c_site"><?php echo __('Website'); ?>
- (<?php echo __('optional'); ?>) :</label>
- <input name="c_site" id="c_site" type="text" size="30" maxlength="255"
- value="<?php echo context::global_filter($_ctx->comment_preview["site"],1,0,0,0,0,'CommentPreviewSite'); ?>" />
- </p>
-
- <p style="display:none"><input name="f_mail" type="text" size="30"
- maxlength="255" value="" /></p>
-
- <p class="field"><label for="c_content"><?php echo __('Comment'); ?> :</label>
- <textarea name="c_content" id="c_content" cols="35"
- rows="7"><?php echo context::global_filter($_ctx->comment_preview["rawcontent"],1,0,0,0,0,'CommentPreviewContent'); ?></textarea>
- </p>
- <p class="form-help"><?php echo __('HTML code is displayed as text and web addresses are automatically converted.'); ?></p>
-
- <?php if ($core->hasBehavior('publicCommentFormAfterContent')) { $core->callBehavior('publicCommentFormAfterContent',$core,$_ctx);} ?>
- </fieldset>
-
- <fieldset>
- <p class="buttons"><input type="submit" class="preview" name="preview" value="<?php echo __('preview'); ?>" />
- <?php if ($_ctx->comment_preview !== null && $_ctx->comment_preview["preview"]) : ?><input type="submit" class="submit" value="<?php echo __('send'); ?>" /><?php endif; ?></p>
- </fieldset>
- </div>
- </form>
- <?php endif; ?>
-
- <?php if(($_ctx->posts->hasTrackbacks() || $_ctx->posts->trackbacksActive())) : ?>
- <div id="pings">
- <h3><?php echo __('They posted on the same topic'); ?></h3>
- <?php
-if ($_ctx->posts !== null) { $params['post_id'] = $_ctx->posts->post_id; $core->blog->withoutPassword(false);
-}
-$params['comment_trackback'] = true;
-if ($_ctx->nb_comment_per_page !== null) { $params['limit'] = $_ctx->nb_comment_per_page; }
-if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
-if ($_ctx->exists("langs")) { $params['sql'] = "AND P.post_lang = '".$core->blog->con->escape($_ctx->langs->post_lang)."' "; }
-$params['order'] = 'comment_dt asc';
-$_ctx->pings = $core->blog->getComments($params); unset($params);
-if ($_ctx->posts !== null) { $core->blog->withoutPassword(true);}
-?>
-<?php while ($_ctx->pings->fetch()) : ?>
- <?php if ($_ctx->pings->isStart()) : ?>
- <dl>
- <?php endif; ?>
- <dt id="c<?php echo $_ctx->pings->comment_id; ?>" class="<?php if (($_ctx->pings->index()+1)%2) { echo 'odd'; } ?> <?php if ($_ctx->pings->index() == 0) { echo 'first'; } ?>"><a href="#c<?php echo $_ctx->pings->comment_id; ?>"
- class="ping-number"><?php echo $_ctx->pings->index()+1; ?>.</a>
- <?php echo __('On'); ?> <?php echo context::global_filter($_ctx->pings->getDate(''),0,0,0,0,0,'PingDate'); ?>, <?php echo context::global_filter($_ctx->pings->getTime(''),0,0,0,0,0,'PingTime'); ?>
- <?php echo __('by'); ?> <?php echo context::global_filter($_ctx->pings->comment_author,1,0,0,0,0,'PingBlogName'); ?></dt>
-
- <dd class="<?php if (($_ctx->pings->index()+1)%2) { echo 'odd'; } ?> <?php if ($_ctx->pings->index() == 0) { echo 'first'; } ?>">
-
- <?php if ($core->hasBehavior('publicPingBeforeContent')) { $core->callBehavior('publicPingBeforeContent',$core,$_ctx);} ?>
-
- <p><a href="<?php echo context::global_filter($_ctx->pings->getAuthorURL(),0,0,0,0,0,'PingAuthorURL'); ?>"
- <?php if($core->blog->settings->comments_nofollow) { echo ' rel="nofollow"';} ?>><?php echo context::global_filter($_ctx->pings->getTrackbackTitle(),1,0,0,0,0,'PingTitle'); ?></a></p>
- <?php echo context::global_filter($_ctx->pings->getTrackbackContent(),0,0,0,0,0,'PingContent'); ?>
-
- <?php if ($core->hasBehavior('publicPingAfterContent')) { $core->callBehavior('publicPingAfterContent',$core,$_ctx);} ?>
- </dd>
- <?php if ($_ctx->pings->isEnd()) : ?>
- </dl>
- <?php endif; ?>
- <?php endwhile; $_ctx->pings = null; ?>
- </div>
- <?php endif; ?>
-
- <?php if($_ctx->posts->trackbacksActive()) : ?>
- <p id="ping-url"><?php echo __('Trackback URL'); ?> : <?php if ($_ctx->posts->trackbacksActive()) { echo $_ctx->posts->getTrackbackLink(); } ?>
-</p>
- <?php endif; ?>
-
- <?php if($_ctx->posts->commentsActive() || $_ctx->posts->trackbacksActive()) : ?>
- <p id="comments-feed"><a class="feed" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("feed")."/atom",0,0,0,0,0,'BlogFeedURL'); ?>/comments/<?php echo context::global_filter($_ctx->posts->post_id,0,0,0,0,0,'EntryID'); ?>"
- title="<?php echo __('This post\'s comments RSS feed'); ?>"><?php echo __('This post\'s comments feed'); ?></a></p>
- <?php endif; ?>
- </div>
-</div> <!-- End #main -->
-
-<div id="sidebar">
- <div id="blognav">
- <?php publicWidgets::widgetsHandler('nav'); ?>
- </div> <!-- End #blognav -->
-
- <div id="blogextra">
- <?php publicWidgets::widgetsHandler('extra'); ?>
- </div> <!-- End #blogextra -->
-</div>
-
-</div> <!-- End #wrapper -->
-
-<?php try { echo $core->tpl->getData('_footer.html'); } catch (Exception $e) {} ?>
-</div> <!-- End #page -->
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta name="MSSmartTagsPreventParsing" content="TRUE" />
- <meta name="ROBOTS" content="<?php echo context::robotsPolicy($core->blog->settings->robots_policy,'NOINDEX'); ?>" />
-
- <title><?php echo context::global_filter($_ctx->categories->cat_title,1,0,0,0,0,'CategoryTitle'); ?> - <?php echo context::global_filter($core->blog->name,1,0,0,0,0,'BlogName'); ?><?php if(!context::PaginationStart()) : ?> - <?php echo __('page'); ?> <?php echo context::global_filter(context::PaginationPosition(0),0,0,0,0,0,'PaginationCurrent'); ?><?php endif; ?></title>
- <meta name="description" lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" content="<?php echo context::global_filter($_ctx->categories->cat_desc,0,1,180,0,0,'CategoryDescription'); ?>" />
- <meta name="copyright" content="<?php echo context::global_filter($core->blog->settings->copyright_notice,1,0,0,0,0,'BlogCopyrightNotice'); ?>" />
- <meta name="author" content="<?php echo context::global_filter($core->blog->settings->editor,1,0,0,0,0,'BlogEditor'); ?>" />
- <meta name="date" scheme="W3CDTF" content="<?php echo context::global_filter(dt::iso8601($core->blog->upddt,$core->blog->settings->blog_timezone),0,0,0,0,0,'BlogUpdateDate'); ?>" />
-
- <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
- <meta name="dc.title" lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" content="<?php echo context::global_filter($_ctx->categories->cat_title,1,0,0,0,0,'CategoryTitle'); ?> - <?php echo context::global_filter($core->blog->name,1,0,0,0,0,'BlogName'); ?><?php if(!context::PaginationStart()) : ?> - <?php echo __('page'); ?> <?php echo context::global_filter(context::PaginationPosition(0),0,0,0,0,0,'PaginationCurrent'); ?><?php endif; ?>" />
- <meta name="dc.description" lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" content="<?php echo context::global_filter($_ctx->categories->cat_desc,0,1,0,0,0,'CategoryDescription'); ?>" />
- <meta name="dc.language" content="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" />
- <meta name="dc.publisher" content="<?php echo context::global_filter($core->blog->settings->editor,1,0,0,0,0,'BlogEditor'); ?>" />
- <meta name="dc.rights" content="<?php echo context::global_filter($core->blog->settings->copyright_notice,1,0,0,0,0,'BlogCopyrightNotice'); ?>" />
- <meta name="dc.date" scheme="W3CDTF" content="<?php echo context::global_filter(dt::iso8601($core->blog->upddt,$core->blog->settings->blog_timezone),0,0,0,0,0,'BlogUpdateDate'); ?>" />
- <meta name="dc.type" content="text" />
- <meta name="dc.format" content="text/html" />
-
- <link rel="top" href="<?php echo context::global_filter($core->blog->url,0,0,0,0,0,'BlogURL'); ?>" title="<?php echo __('Home'); ?>" />
- <link rel="contents" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("archive"),0,0,0,0,0,'BlogArchiveURL'); ?>" title="<?php echo __('Archives'); ?>" />
-
- <?php if ($_ctx->exists("meta")) { @$params['from'] .= ', '.$core->prefix.'meta META ';
-@$params['sql'] .= 'AND META.post_id = P.post_id ';
-$params['sql'] .= "AND META.meta_type = 'tag' ";
-$params['sql'] .= "AND META.meta_id = '".$core->con->escape($_ctx->meta->meta_id)."' ";
-} ?>
-<?php
-if (!isset($_page_number)) { $_page_number = 1; }
-$params['limit'] = $_ctx->nb_entry_per_page;
-$params['limit'] = array((($_page_number-1)*$params['limit']),$params['limit']);
-if ($_ctx->exists("users")) { $params['user_id'] = $_ctx->users->user_id; }
-if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
-if ($_ctx->exists("archives")) { $params['post_year'] = $_ctx->archives->year(); $params['post_month'] = $_ctx->archives->month(); unset($params['limit']); }
-if ($_ctx->exists("langs")) { $params['post_lang'] = $_ctx->langs->post_lang; }
-if (isset($_search)) { $params['search'] = $_search; }
-$params['order'] = 'post_dt desc';
-$params['no_content'] = true;
-$_ctx->post_params = $params;
-$_ctx->posts = $core->blog->getPosts($params); unset($params);
-?>
-<?php while ($_ctx->posts->fetch()) : ?>
- <?php if ($_ctx->posts->isStart()) : ?>
- <?php
-$params = $_ctx->post_params;
-$_ctx->pagination = $core->blog->getPosts($params,true); unset($params);
-?>
-<?php if ($_ctx->pagination->f(0) > $_ctx->posts->count()) : ?>
- <?php if(!context::PaginationEnd()) : ?>
- <link rel="previous" title="<?php echo __('previous entries'); ?>" href="<?php echo context::global_filter(context::PaginationURL(1),0,0,0,0,0,'PaginationURL'); ?>" />
- <?php endif; ?>
-
- <?php if(!context::PaginationStart()) : ?>
- <link rel="next" title="<?php echo __('next entries'); ?>" href="<?php echo context::global_filter(context::PaginationURL(-1),0,0,0,0,0,'PaginationURL'); ?>" />
- <?php endif; ?>
- <?php endif; ?>
- <?php endif; ?>
-
- <link rel="chapter" href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>" title="<?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?>" />
- <?php endwhile; $_ctx->posts = null; $_ctx->post_params = null; ?>
-
- <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("feed")."/category/".$_ctx->categories->cat_url."/atom",0,0,0,0,0,'CategoryFeedURL'); ?>" />
-
- <?php try { echo $core->tpl->getData('_head.html'); } catch (Exception $e) {} ?>
-</head>
-
-<body class="dc-category">
-<div id="page">
-<?php try { echo $core->tpl->getData('_top.html'); } catch (Exception $e) {} ?>
-
-<div id="wrapper">
-
-<div id="main">
- <div id="content">
-
- <div id="content-info">
- <h2><?php
-$_ctx->categories = $core->blog->getCategoryParents($_ctx->categories->cat_id);
-while ($_ctx->categories->fetch()) : ?><a href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("category")."/".$_ctx->categories->cat_url,0,0,0,0,0,'CategoryURL'); ?>"><?php echo context::global_filter($_ctx->categories->cat_title,1,0,0,0,0,'CategoryTitle'); ?></a> › <?php endwhile; $_ctx->categories = null; ?>
- <?php echo context::global_filter($_ctx->categories->cat_title,1,0,0,0,0,'CategoryTitle'); ?></h2>
- <?php echo context::global_filter($_ctx->categories->cat_desc,0,0,0,0,0,'CategoryDescription'); ?>
-
- <?php if($_ctx->categories->nb_post > 0) : ?>
- <p><a type="application/atom+xml" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("feed")."/category/".$_ctx->categories->cat_url."/atom",0,0,0,0,0,'CategoryFeedURL'); ?>"
- title="<?php echo __('This category\'s entries Atom feed'); ?>" class="feed"><?php echo __('Entries feed'); ?></a>
-
- <?php if($core->blog->settings->allow_comments || $core->blog->settings->allow_trackbacks) : ?>
- - <a type="application/atom+xml" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("feed")."/category/".$_ctx->categories->cat_url."/atom",0,0,0,0,0,'CategoryFeedURL'); ?>/comments"
- title="<?php echo __('This category\'s comments Atom feed'); ?>" class="feed"><?php echo __('Comments feed'); ?></a>
- <?php endif; ?>
- </p>
- <?php endif; ?>
- </div>
-
- <?php
-$_ctx->categories = $core->blog->getCategoryFirstChildren($_ctx->categories->cat_id);
-while ($_ctx->categories->fetch()) : ?>
- <?php if ($_ctx->categories->isStart()) : ?>
- <div id="subcategories">
- <h3><?php echo __('Subcategories'); ?></h3>
- <ul>
- <?php endif; ?>
- <li><a href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("category")."/".$_ctx->categories->cat_url,0,0,0,0,0,'CategoryURL'); ?>"><?php echo context::global_filter($_ctx->categories->cat_title,1,0,0,0,0,'CategoryTitle'); ?></a></li>
- <?php if ($_ctx->categories->isEnd()) : ?>
- </ul>
- </div>
- <?php endif; ?>
- <?php endwhile; $_ctx->categories = null; ?>
-
- <?php if ($_ctx->exists("meta")) { @$params['from'] .= ', '.$core->prefix.'meta META ';
-@$params['sql'] .= 'AND META.post_id = P.post_id ';
-$params['sql'] .= "AND META.meta_type = 'tag' ";
-$params['sql'] .= "AND META.meta_id = '".$core->con->escape($_ctx->meta->meta_id)."' ";
-} ?>
-<?php
-if (!isset($_page_number)) { $_page_number = 1; }
-$params['limit'] = $_ctx->nb_entry_per_page;
-$params['limit'] = array((($_page_number-1)*$params['limit']),$params['limit']);
-if ($_ctx->exists("users")) { $params['user_id'] = $_ctx->users->user_id; }
-if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
-if ($_ctx->exists("archives")) { $params['post_year'] = $_ctx->archives->year(); $params['post_month'] = $_ctx->archives->month(); unset($params['limit']); }
-if ($_ctx->exists("langs")) { $params['post_lang'] = $_ctx->langs->post_lang; }
-if (isset($_search)) { $params['search'] = $_search; }
-$params['order'] = 'post_dt desc';
-$_ctx->post_params = $params;
-$_ctx->posts = $core->blog->getPosts($params); unset($params);
-?>
-<?php while ($_ctx->posts->fetch()) : ?>
- <div id="p<?php echo context::global_filter($_ctx->posts->post_id,0,0,0,0,0,'EntryID'); ?>" class="post <?php if (($_ctx->posts->index()+1)%2 == 1) { echo 'odd'; } ?> <?php if ($_ctx->posts->index() == 0) { echo 'first'; } ?>" lang="<?php if ($_ctx->posts->post_lang) { echo context::global_filter($_ctx->posts->post_lang,0,0,0,0,0,'EntryLang'); } else {echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'EntryLang'); } ?>" xml:lang="<?php if ($_ctx->posts->post_lang) { echo context::global_filter($_ctx->posts->post_lang,0,0,0,0,0,'EntryLang'); } else {echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'EntryLang'); } ?>">
-
- <?php if ($_ctx->posts->firstPostOfDay()) : ?><p class="day-date"><?php echo context::global_filter($_ctx->posts->getDate(''),0,0,0,0,0,'EntryDate'); ?></p><?php endif; ?>
-
- <h2 class="post-title"><a
- href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>"><?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?></a></h2>
-
- <p class="post-info"><?php echo __('By'); ?> <?php echo context::global_filter($_ctx->posts->getAuthorLink(),0,0,0,0,0,'EntryAuthorLink'); ?>
- <?php echo __('on'); ?> <?php echo context::global_filter($_ctx->posts->getDate(''),0,0,0,0,0,'EntryDate'); ?>, <?php echo context::global_filter($_ctx->posts->getTime(''),0,0,0,0,0,'EntryTime'); ?></p>
-
- <?php
-$objMeta = new dcMeta($core); $_ctx->meta = $objMeta->getMetaRecordset($_ctx->posts->post_meta,'tag'); $_ctx->meta->sort('meta_id_lower','asc'); ?><?php while ($_ctx->meta->fetch()) : ?>
- <?php if ($_ctx->meta->isStart()) : ?><ul class="post-tags"><?php endif; ?>
- <li><a href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("tag")."/".rawurlencode($_ctx->meta->meta_id),0,0,0,0,0,'TagURL'); ?>"><?php echo context::global_filter($_ctx->meta->meta_id,0,0,0,0,0,'TagID'); ?></a></li>
- <?php if ($_ctx->meta->isEnd()) : ?></ul><?php endif; ?>
- <?php endwhile; $_ctx->meta = null; unset($objMeta); ?>
-
- <?php if ($core->hasBehavior('publicEntryBeforeContent')) { $core->callBehavior('publicEntryBeforeContent',$core,$_ctx);} ?>
-
- <?php if($_ctx->posts->isExtended()) : ?>
- <div class="post-content"><?php echo context::global_filter($_ctx->posts->getExcerpt(0),0,0,0,0,0,'EntryExcerpt'); ?></div>
- <p class="read-it"><a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>"
- title="<?php echo __('Continue reading'); ?> <?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?>"><?php echo __('Continue reading'); ?></a>...</p>
- <?php endif; ?>
-
- <?php if(!$_ctx->posts->isExtended()) : ?>
- <div class="post-content"><?php echo context::global_filter($_ctx->posts->getContent(0),0,0,0,0,0,'EntryContent'); ?></div>
- <?php endif; ?>
-
- <?php if ($core->hasBehavior('publicEntryAfterContent')) { $core->callBehavior('publicEntryAfterContent',$core,$_ctx);} ?>
-
- <?php if($_ctx->posts->countMedia() || ($_ctx->posts->hasComments() || $_ctx->posts->commentsActive()) || ($_ctx->posts->hasTrackbacks() || $_ctx->posts->trackbacksActive())) : ?>
- <p class="post-info-co">
- <?php endif; ?>
- <?php if(($_ctx->posts->hasComments() || $_ctx->posts->commentsActive())) : ?>
- <a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>#comments" class="comment_count"><?php if ($_ctx->posts->nb_comment == 0) {
- printf(__('no comment'),$_ctx->posts->nb_comment);
-} elseif ($_ctx->posts->nb_comment == 1) {
- printf(__('one comment'),$_ctx->posts->nb_comment);
-} else {
- printf(__('%d comments'),$_ctx->posts->nb_comment);
-} ?></a>
- <?php endif; ?>
- <?php if(($_ctx->posts->hasTrackbacks() || $_ctx->posts->trackbacksActive())) : ?>
- <a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>#pings" class="ping_count"><?php if ($_ctx->posts->nb_trackback == 0) {
- printf(__('no trackback'),(integer) $_ctx->posts->nb_trackback);
-} elseif ($_ctx->posts->nb_trackback == 1) {
- printf(__('one trackback'),(integer) $_ctx->posts->nb_trackback);
-} else {
- printf(__('%d trackbacks'),(integer) $_ctx->posts->nb_trackback);
-} ?></a><?php endif; ?>
- <?php if($_ctx->posts->countMedia()) : ?>
- <a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>#attachments" class="attach_count"><?php if ($_ctx->posts->countMedia() == 0) {
- printf(__('no attachment'),(integer) $_ctx->posts->countMedia());
-} elseif ($_ctx->posts->countMedia() == 1) {
- printf(__('one attachment'),(integer) $_ctx->posts->countMedia());
-} else {
- printf(__('%d attachments'),(integer) $_ctx->posts->countMedia());
-} ?></a><?php endif; ?>
- <?php if($_ctx->posts->countMedia() || ($_ctx->posts->hasComments() || $_ctx->posts->commentsActive()) || ($_ctx->posts->hasTrackbacks() || $_ctx->posts->trackbacksActive())) : ?>
- </p>
- <?php endif; ?>
- </div>
-
- <?php if ($_ctx->posts->isEnd()) : ?>
- <?php
-$params = $_ctx->post_params;
-$_ctx->pagination = $core->blog->getPosts($params,true); unset($params);
-?>
-<?php if ($_ctx->pagination->f(0) > $_ctx->posts->count()) : ?>
- <p class="pagination"><?php if(!context::PaginationEnd()) : ?><a href="<?php echo context::global_filter(context::PaginationURL(1),0,0,0,0,0,'PaginationURL'); ?>" class="prev">«
- <?php echo __('previous entries'); ?></a> - <?php endif; ?>
- <?php echo __('page'); ?> <?php echo context::global_filter(context::PaginationPosition(0),0,0,0,0,0,'PaginationCurrent'); ?> <?php echo __('of'); ?> <?php echo context::global_filter(context::PaginationNbPages(),0,0,0,0,0,'PaginationCounter'); ?>
- <?php if(!context::PaginationStart()) : ?> - <a href="<?php echo context::global_filter(context::PaginationURL(-1),0,0,0,0,0,'PaginationURL'); ?>" class="next"><?php echo __('next entries'); ?>
- »</a><?php endif; ?></p>
- <?php endif; ?>
- <?php endif; ?>
- <?php endwhile; $_ctx->posts = null; $_ctx->post_params = null; ?>
- </div>
-</div> <!-- End #main -->
-
-<div id="sidebar">
- <div id="blognav">
- <?php publicWidgets::widgetsHandler('nav'); ?>
- </div> <!-- End #blognav -->
-
- <div id="blogextra">
- <?php publicWidgets::widgetsHandler('extra'); ?>
- </div> <!-- End #blogextra -->
-</div>
-
-</div> <!-- End #wrapper -->
-
-<?php try { echo $core->tpl->getData('_footer.html'); } catch (Exception $e) {} ?>
-</div> <!-- End #page -->
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<div id="banner"> </div>
-<div id="top">
-<h1><span><a href="<?php echo context::global_filter($core->blog->url,0,0,0,0,0,'BlogURL'); ?>"><?php echo context::global_filter($core->blog->name,1,0,0,0,0,'BlogName'); ?></a></span></h1>
-</div>
-<p id="prelude"><a href="#main"><?php echo __('To content'); ?></a> |
-<a href="#blognav"><?php echo __('To menu'); ?></a> |
-<a href="#search"><?php echo __('To search'); ?></a></p>
\ No newline at end of file
+++ /dev/null
-<?php echo "<?"; ?>xml version="1.0" encoding="utf-8"<?php echo "?>"; ?>
-<feed xmlns="http://www.w3.org/2005/Atom"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:wfw="http://wellformedweb.org/CommentAPI/"
- xml:lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>">
-
- <title type="html"><?php echo context::global_filter($core->blog->name,1,0,0,0,0,'BlogName'); ?><?php if ($_ctx->feed_subtitle !== null) { echo context::global_filter($_ctx->feed_subtitle,1,0,0,0,0,'SysFeedSubtitle');} ?></title>
- <subtitle type="html"><?php echo context::global_filter($core->blog->desc,1,0,0,0,0,'BlogDescription'); ?></subtitle>
- <link href="<?php echo context::global_filter(http::getSelfURI(),0,0,0,0,0,'SysSelfURI'); ?>" rel="self" type="application/atom+xml"/>
- <link href="<?php echo context::global_filter($core->blog->url,0,0,0,0,0,'BlogURL'); ?>" rel="alternate" type="text/html"
- title="<?php echo context::global_filter($core->blog->desc,1,0,0,0,0,'BlogDescription'); ?>"/>
- <updated><?php echo context::global_filter(dt::iso8601($core->blog->upddt,$core->blog->settings->blog_timezone),0,0,0,0,0,'BlogUpdateDate'); ?></updated>
- <author>
- <name><?php echo context::global_filter($core->blog->settings->editor,1,0,0,0,0,'BlogEditor'); ?></name>
- </author>
- <id><?php echo context::global_filter("urn:md5:".$core->blog->uid,0,0,0,0,0,'BlogFeedID'); ?></id>
- <generator uri="http://www.dotclear.org/">Dotclear</generator>
-
- <?php if ($_ctx->exists("meta")) { @$params['from'] .= ', '.$core->prefix.'meta META ';
-@$params['sql'] .= 'AND META.post_id = P.post_id ';
-$params['sql'] .= "AND META.meta_type = 'tag' ";
-$params['sql'] .= "AND META.meta_id = '".$core->con->escape($_ctx->meta->meta_id)."' ";
-} ?>
-<?php
-if (!isset($_page_number)) { $_page_number = 1; }
-$params['limit'] = $_ctx->nb_entry_per_page;
-$params['limit'] = array((($_page_number-1)*$params['limit']),$params['limit']);
-if ($_ctx->exists("users")) { $params['user_id'] = $_ctx->users->user_id; }
-if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
-if ($_ctx->exists("archives")) { $params['post_year'] = $_ctx->archives->year(); $params['post_month'] = $_ctx->archives->month(); unset($params['limit']); }
-if ($_ctx->exists("langs")) { $params['post_lang'] = $_ctx->langs->post_lang; }
-if (isset($_search)) { $params['search'] = $_search; }
-$params['order'] = 'post_dt desc';
-$_ctx->post_params = $params;
-$_ctx->posts = $core->blog->getPosts($params); unset($params);
-?>
-<?php while ($_ctx->posts->fetch()) : ?>
-
- <entry>
- <title><?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?></title>
- <link href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>" rel="alternate" type="text/html"
- title="<?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?>" />
- <id><?php echo context::global_filter($_ctx->posts->getFeedID(),0,0,0,0,0,'EntryFeedID'); ?></id>
- <updated><?php echo context::global_filter($_ctx->posts->getISO8601Date(),0,0,0,0,0,'EntryDate'); ?></updated>
- <author><name><?php echo context::global_filter($_ctx->posts->getAuthorCN(),1,0,0,0,0,'EntryAuthorCommonName'); ?></name></author>
- <?php if($_ctx->posts->cat_id) : ?>
- <dc:subject><?php echo context::global_filter($_ctx->posts->cat_title,1,0,0,0,0,'EntryCategory'); ?></dc:subject>
- <?php endif; ?>
- <?php
-$objMeta = new dcMeta($core); $_ctx->meta = $objMeta->getMetaRecordset($_ctx->posts->post_meta,'tag'); $_ctx->meta->sort('meta_id_lower','asc'); ?><?php while ($_ctx->meta->fetch()) : ?><dc:subject><?php echo context::global_filter($_ctx->meta->meta_id,0,0,0,0,0,'MetaID'); ?></dc:subject><?php endwhile; $_ctx->meta = null; unset($objMeta); ?>
-
- <content type="html"><?php echo context::global_filter($_ctx->posts->getExcerpt(1),1,0,0,0,0,'EntryExcerpt'); ?>
- <?php echo context::global_filter($_ctx->posts->getContent(1),1,0,0,0,0,'EntryContent'); ?></content>
-
- <?php
-if ($_ctx->posts !== null && $core->media) {
-$_ctx->attachments = new ArrayObject($core->media->getPostMedia($_ctx->posts->post_id));
-?>
-<?php foreach ($_ctx->attachments as $attach_i => $attach_f) : $GLOBALS['attach_i'] = $attach_i; $GLOBALS['attach_f'] = $attach_f;$_ctx->file_url = $attach_f->file_url; ?>
- <link rel="enclosure" href="<?php echo context::global_filter($attach_f->file_url,0,0,0,0,0,'AttachmentURL'); ?>"
- length="<?php echo context::global_filter($attach_f->size,0,0,0,0,0,'AttachmentSize'); ?>" type="<?php echo context::global_filter($attach_f->type,0,0,0,0,0,'AttachmentMimeType'); ?>" />
- <?php endforeach; $_ctx->attachments = null; unset($attach_i,$attach_f,$_ctx->file_url); ?><?php } ?>
-
-
-
- <?php if($_ctx->posts->commentsActive()) : ?>
- <wfw:comment><?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>#comment-form</wfw:comment>
- <wfw:commentRss><?php echo context::global_filter($core->blog->url.$core->url->getBase("feed")."/atom",0,0,0,0,0,'BlogFeedURL'); ?>/comments/<?php echo context::global_filter($_ctx->posts->post_id,0,0,0,0,0,'EntryID'); ?></wfw:commentRss>
- <?php endif; ?>
- </entry>
- <?php endwhile; $_ctx->posts = null; $_ctx->post_params = null; ?>
-
-</feed>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta name="MSSmartTagsPreventParsing" content="TRUE" />
- <meta name="ROBOTS" content="<?php echo context::robotsPolicy($core->blog->settings->robots_policy,'NOINDEX'); ?>" />
-
- <title><?php echo __('Tags'); ?> - <?php echo context::global_filter($core->blog->name,1,0,0,0,0,'BlogName'); ?></title>
- <meta name="copyright" content="<?php echo context::global_filter($core->blog->settings->copyright_notice,1,0,0,0,0,'BlogCopyrightNotice'); ?>" />
- <meta name="author" content="<?php echo context::global_filter($core->blog->settings->editor,1,0,0,0,0,'BlogEditor'); ?>" />
- <meta name="date" scheme="W3CDTF" content="<?php echo context::global_filter(dt::iso8601($core->blog->upddt,$core->blog->settings->blog_timezone),0,0,0,0,0,'BlogUpdateDate'); ?>" />
-
- <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
- <meta name="dc.title" lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" content="<?php echo __('Tags'); ?> - <?php echo context::global_filter($core->blog->name,1,0,0,0,0,'BlogName'); ?>" />
- <meta name="dc.language" content="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" />
- <meta name="dc.publisher" content="<?php echo context::global_filter($core->blog->settings->editor,1,0,0,0,0,'BlogEditor'); ?>" />
- <meta name="dc.rights" content="<?php echo context::global_filter($core->blog->settings->copyright_notice,1,0,0,0,0,'BlogCopyrightNotice'); ?>" />
- <meta name="dc.date" scheme="W3CDTF" content="<?php echo context::global_filter(dt::iso8601($core->blog->upddt,$core->blog->settings->blog_timezone),0,0,0,0,0,'BlogUpdateDate'); ?>" />
- <meta name="dc.type" content="text" />
- <meta name="dc.format" content="text/html" />
-
- <link rel="top" href="<?php echo context::global_filter($core->blog->url,0,0,0,0,0,'BlogURL'); ?>" title="<?php echo __('Home'); ?>" />
- <link rel="contents" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("archive"),0,0,0,0,0,'BlogArchiveURL'); ?>" title="<?php echo __('Archives'); ?>" />
-
- <link rel="meta" type="application/xbel+xml" title="Blogroll" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("xbel"),0,0,0,0,0,'BlogrollXbelLink'); ?>" />
-
- <?php try { echo $core->tpl->getData('_head.html'); } catch (Exception $e) {} ?>
-</head>
-
-<body class="dc-tags">
-<div id="page">
-<?php try { echo $core->tpl->getData('_top.html'); } catch (Exception $e) {} ?>
-
-<div id="wrapper">
-
-<div id="main">
- <div id="content">
-
- <div id="content-info">
- <h2><?php echo __('Tags'); ?></h2>
- </div>
-
- <div class="content-inner">
- <ul class="tags">
- <?php
-$objMeta = new dcMeta($core); $_ctx->meta = $objMeta->getMeta('tag',null); $_ctx->meta->sort('meta_id_lower','asc'); ?><?php while ($_ctx->meta->fetch()) : ?>
- <li><a href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("tag")."/".rawurlencode($_ctx->meta->meta_id),0,0,0,0,0,'TagURL'); ?>" class="tag<?php echo $_ctx->meta->roundpercent; ?>"><?php echo context::global_filter($_ctx->meta->meta_id,0,0,0,0,0,'TagID'); ?></a></li>
- <?php endwhile; $_ctx->meta = null; unset($objMeta); ?>
- </ul>
- </div>
-
- </div>
-</div> <!-- End #main -->
-
-<div id="sidebar">
- <div id="blognav">
- <?php publicWidgets::widgetsHandler('nav'); ?>
- </div> <!-- End #blognav -->
-
- <div id="blogextra">
- <?php publicWidgets::widgetsHandler('extra'); ?>
- </div> <!-- End #blogextra -->
-</div>
-
-</div> <!-- End #wrapper -->
-
-<?php try { echo $core->tpl->getData('_footer.html'); } catch (Exception $e) {} ?>
-</div> <!-- End #page -->
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta name="MSSmartTagsPreventParsing" content="TRUE" />
- <meta name="ROBOTS" content="<?php echo context::robotsPolicy($core->blog->settings->robots_policy,'NOINDEX,NOARCHIVE'); ?>" />
-
- <title><?php echo __('Document not found'); ?> - <?php echo context::global_filter($core->blog->name,1,0,0,0,0,'BlogName'); ?></title>
- <meta name="copyright" content="<?php echo context::global_filter($core->blog->settings->copyright_notice,1,0,0,0,0,'BlogCopyrightNotice'); ?>" />
- <meta name="author" content="<?php echo context::global_filter($core->blog->settings->editor,1,0,0,0,0,'BlogEditor'); ?>" />
-
- <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
- <meta name="dc.title" lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" content="<?php echo __('Document not found'); ?> - <?php echo context::global_filter($core->blog->name,1,0,0,0,0,'BlogName'); ?>" />
- <meta name="dc.language" content="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" />
- <meta name="dc.publisher" content="<?php echo context::global_filter($core->blog->settings->editor,1,0,0,0,0,'BlogEditor'); ?>" />
- <meta name="dc.rights" content="<?php echo context::global_filter($core->blog->settings->copyright_notice,1,0,0,0,0,'BlogCopyrightNotice'); ?>" />
- <meta name="dc.type" content="text" />
- <meta name="dc.format" content="text/html" />
-
- <link rel="top" href="<?php echo context::global_filter($core->blog->url,0,0,0,0,0,'BlogURL'); ?>" title="<?php echo __('Home'); ?>" />
- <link rel="contents" title="<?php echo __('Archives'); ?>" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("archive"),0,0,0,0,0,'BlogArchiveURL'); ?>" />
- <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("feed")."/atom",0,0,0,0,0,'BlogFeedURL'); ?>" />
-
- <?php try { echo $core->tpl->getData('_head.html'); } catch (Exception $e) {} ?>
-</head>
-
-<body class="dc-404">
-<div id="page">
-<?php try { echo $core->tpl->getData('_top.html'); } catch (Exception $e) {} ?>
-
-<div id="wrapper">
-
-<div id="main">
- <div id="content">
-
- <div id="content-info">
- <h2><?php echo __('Document not found'); ?></h2>
- </div>
-
- <div class="content-inner">
- <p><?php echo __('The document you are looking for does not exist.'); ?></p>
- </div>
-
- </div>
-</div>
-
-<div id="sidebar">
- <div id="blognav">
- <?php publicWidgets::widgetsHandler('nav'); ?>
- </div> <!-- End #blognav -->
-
- <div id="blogextra">
- <?php publicWidgets::widgetsHandler('extra'); ?>
- </div> <!-- End #blogextra -->
-</div>
-
-</div> <!-- End #wrapper -->
-
-<?php try { echo $core->tpl->getData('_footer.html'); } catch (Exception $e) {} ?>
-</div> <!-- End #page -->
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta name="MSSmartTagsPreventParsing" content="TRUE" />
- <meta name="ROBOTS" content="<?php echo context::robotsPolicy($core->blog->settings->robots_policy,''); ?>" />
-
- <title><?php echo context::global_filter($core->blog->name,1,0,0,0,0,'BlogName'); ?><?php if(!context::PaginationStart()) : ?> - <?php echo __('page'); ?> <?php echo context::global_filter(context::PaginationPosition(0),0,0,0,0,0,'PaginationCurrent'); ?><?php endif; ?></title>
- <meta name="description" lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" content="<?php echo context::global_filter($core->blog->desc,1,0,180,0,0,'BlogDescription'); ?>" />
- <meta name="copyright" content="<?php echo context::global_filter($core->blog->settings->copyright_notice,1,0,0,0,0,'BlogCopyrightNotice'); ?>" />
- <meta name="author" content="<?php echo context::global_filter($core->blog->settings->editor,1,0,0,0,0,'BlogEditor'); ?>" />
- <meta name="date" scheme="W3CDTF" content="<?php echo context::global_filter(dt::iso8601($core->blog->upddt,$core->blog->settings->blog_timezone),0,0,0,0,0,'BlogUpdateDate'); ?>" />
-
- <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
- <meta name="dc.title" lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" content="<?php echo context::global_filter($core->blog->name,1,0,0,0,0,'BlogName'); ?><?php if(!context::PaginationStart()) : ?> - <?php echo __('page'); ?> <?php echo context::global_filter(context::PaginationPosition(0),0,0,0,0,0,'PaginationCurrent'); ?><?php endif; ?>" />
- <meta name="dc.description" lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" content="<?php echo context::global_filter($core->blog->desc,1,0,0,0,0,'BlogDescription'); ?>" />
- <meta name="dc.language" content="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" />
- <meta name="dc.publisher" content="<?php echo context::global_filter($core->blog->settings->editor,1,0,0,0,0,'BlogEditor'); ?>" />
- <meta name="dc.rights" content="<?php echo context::global_filter($core->blog->settings->copyright_notice,1,0,0,0,0,'BlogCopyrightNotice'); ?>" />
- <meta name="dc.date" scheme="W3CDTF" content="<?php echo context::global_filter(dt::iso8601($core->blog->upddt,$core->blog->settings->blog_timezone),0,0,0,0,0,'BlogUpdateDate'); ?>" />
- <meta name="dc.type" content="text" />
- <meta name="dc.format" content="text/html" />
-
- <link rel="contents" title="<?php echo __('Archives'); ?>" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("archive"),0,0,0,0,0,'BlogArchiveURL'); ?>" />
- <?php
-$params = array();
-$_ctx->categories = $core->blog->getCategories($params);
-?>
-<?php while ($_ctx->categories->fetch()) : ?>
- <link rel="section" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("category")."/".$_ctx->categories->cat_url,0,0,0,0,0,'CategoryURL'); ?>" title="<?php echo context::global_filter($_ctx->categories->cat_title,1,0,0,0,0,'CategoryTitle'); ?>" />
- <?php endwhile; $_ctx->categories = null; unset($params); ?>
-
- <?php if ($_ctx->exists("meta")) { @$params['from'] .= ', '.$core->prefix.'meta META ';
-@$params['sql'] .= 'AND META.post_id = P.post_id ';
-$params['sql'] .= "AND META.meta_type = 'tag' ";
-$params['sql'] .= "AND META.meta_id = '".$core->con->escape($_ctx->meta->meta_id)."' ";
-} ?>
-<?php
-if (!isset($_page_number)) { $_page_number = 1; }
-$params['limit'] = $_ctx->nb_entry_per_page;
-$params['limit'] = array((($_page_number-1)*$params['limit']),$params['limit']);
-if ($_ctx->exists("users")) { $params['user_id'] = $_ctx->users->user_id; }
-if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
-if ($_ctx->exists("archives")) { $params['post_year'] = $_ctx->archives->year(); $params['post_month'] = $_ctx->archives->month(); unset($params['limit']); }
-if ($_ctx->exists("langs")) { $params['post_lang'] = $_ctx->langs->post_lang; }
-if (isset($_search)) { $params['search'] = $_search; }
-$params['order'] = 'post_dt desc';
-$params['no_content'] = true;
-$_ctx->post_params = $params;
-$_ctx->posts = $core->blog->getPosts($params); unset($params);
-?>
-<?php while ($_ctx->posts->fetch()) : ?>
- <?php if ($_ctx->posts->isStart()) : ?>
- <?php
-$params = $_ctx->post_params;
-$_ctx->pagination = $core->blog->getPosts($params,true); unset($params);
-?>
-<?php if ($_ctx->pagination->f(0) > $_ctx->posts->count()) : ?>
- <?php if(!context::PaginationEnd()) : ?>
- <link rel="previous" title="<?php echo __('previous entries'); ?>" href="<?php echo context::global_filter(context::PaginationURL(1),0,0,0,0,0,'PaginationURL'); ?>" />
- <?php endif; ?>
-
- <?php if(!context::PaginationStart()) : ?>
- <link rel="next" title="<?php echo __('next entries'); ?>" href="<?php echo context::global_filter(context::PaginationURL(-1),0,0,0,0,0,'PaginationURL'); ?>" />
- <?php endif; ?>
- <?php endif; ?>
- <?php endif; ?>
-
- <link rel="chapter" href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>" title="<?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?>" />
- <?php endwhile; $_ctx->posts = null; $_ctx->post_params = null; ?>
-
- <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("feed")."/atom",0,0,0,0,0,'BlogFeedURL'); ?>" />
- <link rel="EditURI" type="application/rsd+xml" title="RSD" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase('rsd'),0,0,0,0,0,'BlogRSDURL'); ?>" />
- <link rel="meta" type="application/xbel+xml" title="Blogroll" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("xbel"),0,0,0,0,0,'BlogrollXbelLink'); ?>" />
-
- <?php try { echo $core->tpl->getData('_head.html'); } catch (Exception $e) {} ?>
-</head>
-
-<body class="dc-home">
-<div id="page">
-<?php try { echo $core->tpl->getData('_top.html'); } catch (Exception $e) {} ?>
-
-<div id="wrapper">
-
-<div id="main">
- <div id="content">
- <?php if ($_ctx->exists("meta")) { @$params['from'] .= ', '.$core->prefix.'meta META ';
-@$params['sql'] .= 'AND META.post_id = P.post_id ';
-$params['sql'] .= "AND META.meta_type = 'tag' ";
-$params['sql'] .= "AND META.meta_id = '".$core->con->escape($_ctx->meta->meta_id)."' ";
-} ?>
-<?php
-if (!isset($_page_number)) { $_page_number = 1; }
-$params['limit'] = $_ctx->nb_entry_per_page;
-$params['limit'] = array((($_page_number-1)*$params['limit']),$params['limit']);
-if ($_ctx->exists("users")) { $params['user_id'] = $_ctx->users->user_id; }
-if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
-if ($_ctx->exists("archives")) { $params['post_year'] = $_ctx->archives->year(); $params['post_month'] = $_ctx->archives->month(); unset($params['limit']); }
-if ($_ctx->exists("langs")) { $params['post_lang'] = $_ctx->langs->post_lang; }
-if (isset($_search)) { $params['search'] = $_search; }
-$params['order'] = 'post_dt desc';
-$_ctx->post_params = $params;
-$_ctx->posts = $core->blog->getPosts($params); unset($params);
-?>
-<?php while ($_ctx->posts->fetch()) : ?>
- <div id="p<?php echo context::global_filter($_ctx->posts->post_id,0,0,0,0,0,'EntryID'); ?>" class="post <?php if (($_ctx->posts->index()+1)%2 == 1) { echo 'odd'; } ?> <?php if ($_ctx->posts->index() == 0) { echo 'first'; } ?>" lang="<?php if ($_ctx->posts->post_lang) { echo context::global_filter($_ctx->posts->post_lang,0,0,0,0,0,'EntryLang'); } else {echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'EntryLang'); } ?>" xml:lang="<?php if ($_ctx->posts->post_lang) { echo context::global_filter($_ctx->posts->post_lang,0,0,0,0,0,'EntryLang'); } else {echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'EntryLang'); } ?>">
-
- <?php if ($_ctx->posts->firstPostOfDay()) : ?><p class="day-date"><?php echo context::global_filter($_ctx->posts->getDate(''),0,0,0,0,0,'EntryDate'); ?></p><?php endif; ?>
-
- <h2 class="post-title"><a
- href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>"><?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?></a></h2>
-
- <p class="post-info"><?php echo __('By'); ?> <?php echo context::global_filter($_ctx->posts->getAuthorLink(),0,0,0,0,0,'EntryAuthorLink'); ?>
- <?php echo __('on'); ?> <?php echo context::global_filter($_ctx->posts->getDate(''),0,0,0,0,0,'EntryDate'); ?>, <?php echo context::global_filter($_ctx->posts->getTime(''),0,0,0,0,0,'EntryTime'); ?>
- <?php if($_ctx->posts->cat_id) : ?>
- - <a href="<?php echo context::global_filter($_ctx->posts->getCategoryURL(),0,0,0,0,0,'EntryCategoryURL'); ?>"><?php echo context::global_filter($_ctx->posts->cat_title,1,0,0,0,0,'EntryCategory'); ?></a>
- <?php endif; ?>
- </p>
-
- <?php
-$objMeta = new dcMeta($core); $_ctx->meta = $objMeta->getMetaRecordset($_ctx->posts->post_meta,'tag'); $_ctx->meta->sort('meta_id_lower','asc'); ?><?php while ($_ctx->meta->fetch()) : ?>
- <?php if ($_ctx->meta->isStart()) : ?><ul class="post-tags"><?php endif; ?>
- <li><a href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("tag")."/".rawurlencode($_ctx->meta->meta_id),0,0,0,0,0,'TagURL'); ?>"><?php echo context::global_filter($_ctx->meta->meta_id,0,0,0,0,0,'TagID'); ?></a></li>
- <?php if ($_ctx->meta->isEnd()) : ?></ul><?php endif; ?>
- <?php endwhile; $_ctx->meta = null; unset($objMeta); ?>
-
- <?php if ($core->hasBehavior('publicEntryBeforeContent')) { $core->callBehavior('publicEntryBeforeContent',$core,$_ctx);} ?>
-
- <?php if($_ctx->posts->isExtended()) : ?>
- <div class="post-content"><?php echo context::global_filter($_ctx->posts->getExcerpt(0),0,0,0,0,0,'EntryExcerpt'); ?></div>
- <p class="read-it"><a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>"
- title="<?php echo __('Continue reading'); ?> <?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?>"><?php echo __('Continue reading'); ?></a>...</p>
- <?php endif; ?>
-
- <?php if(!$_ctx->posts->isExtended()) : ?>
- <div class="post-content"><?php echo context::global_filter($_ctx->posts->getContent(0),0,0,0,0,0,'EntryContent'); ?></div>
- <?php endif; ?>
-
- <?php if ($core->hasBehavior('publicEntryAfterContent')) { $core->callBehavior('publicEntryAfterContent',$core,$_ctx);} ?>
-
- <?php if($_ctx->posts->countMedia() || ($_ctx->posts->hasComments() || $_ctx->posts->commentsActive()) || ($_ctx->posts->hasTrackbacks() || $_ctx->posts->trackbacksActive())) : ?>
- <p class="post-info-co">
- <?php endif; ?>
- <?php if(($_ctx->posts->hasComments() || $_ctx->posts->commentsActive())) : ?>
- <a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>#comments" class="comment_count"><?php if ($_ctx->posts->nb_comment == 0) {
- printf(__('no comment'),$_ctx->posts->nb_comment);
-} elseif ($_ctx->posts->nb_comment == 1) {
- printf(__('one comment'),$_ctx->posts->nb_comment);
-} else {
- printf(__('%d comments'),$_ctx->posts->nb_comment);
-} ?></a>
- <?php endif; ?>
- <?php if(($_ctx->posts->hasTrackbacks() || $_ctx->posts->trackbacksActive())) : ?>
- <a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>#pings" class="ping_count"><?php if ($_ctx->posts->nb_trackback == 0) {
- printf(__('no trackback'),(integer) $_ctx->posts->nb_trackback);
-} elseif ($_ctx->posts->nb_trackback == 1) {
- printf(__('one trackback'),(integer) $_ctx->posts->nb_trackback);
-} else {
- printf(__('%d trackbacks'),(integer) $_ctx->posts->nb_trackback);
-} ?></a><?php endif; ?>
- <?php if($_ctx->posts->countMedia()) : ?>
- <a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>#attachments" class="attach_count"><?php if ($_ctx->posts->countMedia() == 0) {
- printf(__('no attachment'),(integer) $_ctx->posts->countMedia());
-} elseif ($_ctx->posts->countMedia() == 1) {
- printf(__('one attachment'),(integer) $_ctx->posts->countMedia());
-} else {
- printf(__('%d attachments'),(integer) $_ctx->posts->countMedia());
-} ?></a><?php endif; ?>
- <?php if($_ctx->posts->countMedia() || ($_ctx->posts->hasComments() || $_ctx->posts->commentsActive()) || ($_ctx->posts->hasTrackbacks() || $_ctx->posts->trackbacksActive())) : ?>
- </p>
- <?php endif; ?>
- </div>
-
- <?php if ($_ctx->posts->isEnd()) : ?>
- <?php
-$params = $_ctx->post_params;
-$_ctx->pagination = $core->blog->getPosts($params,true); unset($params);
-?>
-<?php if ($_ctx->pagination->f(0) > $_ctx->posts->count()) : ?>
- <p class="pagination"><?php if(!context::PaginationEnd()) : ?><a href="<?php echo context::global_filter(context::PaginationURL(1),0,0,0,0,0,'PaginationURL'); ?>" class="prev">«
- <?php echo __('previous entries'); ?></a> - <?php endif; ?>
- <?php echo __('page'); ?> <?php echo context::global_filter(context::PaginationPosition(0),0,0,0,0,0,'PaginationCurrent'); ?> <?php echo __('of'); ?> <?php echo context::global_filter(context::PaginationNbPages(),0,0,0,0,0,'PaginationCounter'); ?>
- <?php if(!context::PaginationStart()) : ?> - <a href="<?php echo context::global_filter(context::PaginationURL(-1),0,0,0,0,0,'PaginationURL'); ?>" class="next"><?php echo __('next entries'); ?>
- »</a><?php endif; ?></p>
- <?php endif; ?>
- <?php endif; ?>
- <?php endwhile; $_ctx->posts = null; $_ctx->post_params = null; ?>
- </div>
-</div> <!-- End #main -->
-
-<div id="sidebar">
- <div id="blognav">
- <?php publicWidgets::widgetsHandler('nav'); ?>
- </div> <!-- End #blognav -->
-
- <div id="blogextra">
- <?php publicWidgets::widgetsHandler('extra'); ?>
- </div> <!-- End #blogextra -->
-</div>
-
-</div> <!-- End #wrapper -->
-
-<?php try { echo $core->tpl->getData('_footer.html'); } catch (Exception $e) {} ?>
-</div> <!-- End #page -->
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta name="MSSmartTagsPreventParsing" content="TRUE" />
- <meta name="ROBOTS" content="<?php echo context::robotsPolicy($core->blog->settings->robots_policy,'NOINDEX,NOARCHIVE'); ?>" />
-
- <title><?php echo __('Search'); ?> - <?php if (isset($_search)) { echo sprintf(__('%1$s'),context::global_filter($_search,1,0,0,0,0,'SysSearchString'),$_search_count);} ?> - <?php echo context::global_filter($core->blog->name,1,0,0,0,0,'BlogName'); ?><?php if(!context::PaginationStart()) : ?> - <?php echo __('page'); ?> <?php echo context::global_filter(context::PaginationPosition(0),0,0,0,0,0,'PaginationCurrent'); ?><?php endif; ?></title>
- <meta name="copyright" content="<?php echo context::global_filter($core->blog->settings->copyright_notice,1,0,0,0,0,'BlogCopyrightNotice'); ?>" />
- <meta name="author" content="<?php echo context::global_filter($core->blog->settings->editor,1,0,0,0,0,'BlogEditor'); ?>" />
- <meta name="date" scheme="W3CDTF" content="<?php echo context::global_filter(dt::iso8601($core->blog->upddt,$core->blog->settings->blog_timezone),0,0,0,0,0,'BlogUpdateDate'); ?>" />
-
- <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
- <meta name="dc.title" lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" content="<?php echo __('Search'); ?> - <?php if (isset($_search)) { echo sprintf(__('%1$s'),context::global_filter($_search,1,0,0,0,0,'SysSearchString'),$_search_count);} ?> - <?php echo context::global_filter($core->blog->name,1,0,0,0,0,'BlogName'); ?><?php if(!context::PaginationStart()) : ?> - <?php echo __('page'); ?> <?php echo context::global_filter(context::PaginationPosition(0),0,0,0,0,0,'PaginationCurrent'); ?><?php endif; ?>" />
- <meta name="dc.language" content="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" />
- <meta name="dc.publisher" content="<?php echo context::global_filter($core->blog->settings->editor,1,0,0,0,0,'BlogEditor'); ?>" />
- <meta name="dc.rights" content="<?php echo context::global_filter($core->blog->settings->copyright_notice,1,0,0,0,0,'BlogCopyrightNotice'); ?>" />
- <meta name="dc.date" scheme="W3CDTF" content="<?php echo context::global_filter(dt::iso8601($core->blog->upddt,$core->blog->settings->blog_timezone),0,0,0,0,0,'BlogUpdateDate'); ?>" />
- <meta name="dc.type" content="text" />
- <meta name="dc.format" content="text/html" />
-
- <link rel="top" href="<?php echo context::global_filter($core->blog->url,0,0,0,0,0,'BlogURL'); ?>" title="<?php echo __('Home'); ?>" />
- <link rel="contents" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("archive"),0,0,0,0,0,'BlogArchiveURL'); ?>" title="<?php echo __('Archives'); ?>" />
-
- <?php if ($_ctx->exists("meta")) { @$params['from'] .= ', '.$core->prefix.'meta META ';
-@$params['sql'] .= 'AND META.post_id = P.post_id ';
-$params['sql'] .= "AND META.meta_type = 'tag' ";
-$params['sql'] .= "AND META.meta_id = '".$core->con->escape($_ctx->meta->meta_id)."' ";
-} ?>
-<?php
-if (!isset($_page_number)) { $_page_number = 1; }
-$params['limit'] = $_ctx->nb_entry_per_page;
-$params['limit'] = array((($_page_number-1)*$params['limit']),$params['limit']);
-if ($_ctx->exists("users")) { $params['user_id'] = $_ctx->users->user_id; }
-if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
-if ($_ctx->exists("archives")) { $params['post_year'] = $_ctx->archives->year(); $params['post_month'] = $_ctx->archives->month(); unset($params['limit']); }
-if ($_ctx->exists("langs")) { $params['post_lang'] = $_ctx->langs->post_lang; }
-if (isset($_search)) { $params['search'] = $_search; }
-$params['order'] = 'post_dt desc';
-$params['no_content'] = true;
-$_ctx->post_params = $params;
-$_ctx->posts = $core->blog->getPosts($params); unset($params);
-?>
-<?php while ($_ctx->posts->fetch()) : ?>
- <?php if ($_ctx->posts->isStart()) : ?>
- <?php
-$params = $_ctx->post_params;
-$_ctx->pagination = $core->blog->getPosts($params,true); unset($params);
-?>
-<?php if ($_ctx->pagination->f(0) > $_ctx->posts->count()) : ?>
- <?php if(!context::PaginationEnd()) : ?>
- <link rel="previous" title="<?php echo __('previous entries'); ?>" href="<?php echo context::global_filter(context::PaginationURL(1),0,0,0,0,0,'PaginationURL'); ?>" />
- <?php endif; ?>
-
- <?php if(!context::PaginationStart()) : ?>
- <link rel="next" title="<?php echo __('next entries'); ?>" href="<?php echo context::global_filter(context::PaginationURL(-1),0,0,0,0,0,'PaginationURL'); ?>" />
- <?php endif; ?>
- <?php endif; ?>
- <?php endif; ?>
-
- <link rel="chapter" href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>" title="<?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?>" />
- <?php endwhile; $_ctx->posts = null; $_ctx->post_params = null; ?>
-
- <link rel="meta" type="application/xbel+xml" title="Blogroll" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("xbel"),0,0,0,0,0,'BlogrollXbelLink'); ?>" />
-
- <?php try { echo $core->tpl->getData('_head.html'); } catch (Exception $e) {} ?>
-</head>
-
-<body class="dc-search">
-<div id="page">
-<?php try { echo $core->tpl->getData('_top.html'); } catch (Exception $e) {} ?>
-
-<div id="wrapper">
-
-<div id="main">
- <div id="content">
-
- <div id="content-info">
- <h2><?php echo __('Search'); ?></h2>
- <?php if((isset($_search_count) && $_search_count ==0)) : ?>
- <p><?php if (isset($_search)) { echo sprintf(__('Your search for <em>%1$s</em> returned no result.'),context::global_filter($_search,1,0,0,0,0,'SysSearchString'),$_search_count);} ?></p>
- <?php endif; ?>
- <?php if((isset($_search_count) && $_search_count ==1)) : ?>
- <p><?php if (isset($_search)) { echo sprintf(__('Your search for <em>%1$s</em> returned <strong>%2$s</strong> result.'),context::global_filter($_search,1,0,0,0,0,'SysSearchString'),$_search_count);} ?></p>
- <?php endif; ?>
- <?php if((isset($_search_count) && $_search_count >1)) : ?>
- <p><?php if (isset($_search)) { echo sprintf(__('Your search for <em>%1$s</em> returned <strong>%2$s</strong> results.'),context::global_filter($_search,1,0,0,0,0,'SysSearchString'),$_search_count);} ?></p>
- <?php endif; ?>
- </div>
-
- <?php if ($_ctx->exists("meta")) { @$params['from'] .= ', '.$core->prefix.'meta META ';
-@$params['sql'] .= 'AND META.post_id = P.post_id ';
-$params['sql'] .= "AND META.meta_type = 'tag' ";
-$params['sql'] .= "AND META.meta_id = '".$core->con->escape($_ctx->meta->meta_id)."' ";
-} ?>
-<?php
-if (!isset($_page_number)) { $_page_number = 1; }
-$params['limit'] = $_ctx->nb_entry_per_page;
-$params['limit'] = array((($_page_number-1)*$params['limit']),$params['limit']);
-if ($_ctx->exists("users")) { $params['user_id'] = $_ctx->users->user_id; }
-if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
-if ($_ctx->exists("archives")) { $params['post_year'] = $_ctx->archives->year(); $params['post_month'] = $_ctx->archives->month(); unset($params['limit']); }
-if ($_ctx->exists("langs")) { $params['post_lang'] = $_ctx->langs->post_lang; }
-if (isset($_search)) { $params['search'] = $_search; }
-$params['order'] = 'post_dt desc';
-$_ctx->post_params = $params;
-$_ctx->posts = $core->blog->getPosts($params); unset($params);
-?>
-<?php while ($_ctx->posts->fetch()) : ?>
- <div id="p<?php echo context::global_filter($_ctx->posts->post_id,0,0,0,0,0,'EntryID'); ?>" class="post <?php if (($_ctx->posts->index()+1)%2 == 1) { echo 'odd'; } ?> <?php if ($_ctx->posts->index() == 0) { echo 'first'; } ?>" lang="<?php if ($_ctx->posts->post_lang) { echo context::global_filter($_ctx->posts->post_lang,0,0,0,0,0,'EntryLang'); } else {echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'EntryLang'); } ?>" xml:lang="<?php if ($_ctx->posts->post_lang) { echo context::global_filter($_ctx->posts->post_lang,0,0,0,0,0,'EntryLang'); } else {echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'EntryLang'); } ?>">
-
- <?php if ($_ctx->posts->firstPostOfDay()) : ?><p class="day-date"><?php echo context::global_filter($_ctx->posts->getDate(''),0,0,0,0,0,'EntryDate'); ?></p><?php endif; ?>
-
- <h2 class="post-title"><a
- href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>"><?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?></a></h2>
-
- <p class="post-info"><?php echo __('By'); ?> <?php echo context::global_filter($_ctx->posts->getAuthorLink(),0,0,0,0,0,'EntryAuthorLink'); ?>
- <?php echo __('on'); ?> <?php echo context::global_filter($_ctx->posts->getDate(''),0,0,0,0,0,'EntryDate'); ?>, <?php echo context::global_filter($_ctx->posts->getTime(''),0,0,0,0,0,'EntryTime'); ?>
- <?php if($_ctx->posts->cat_id) : ?>
- - <a href="<?php echo context::global_filter($_ctx->posts->getCategoryURL(),0,0,0,0,0,'EntryCategoryURL'); ?>"><?php echo context::global_filter($_ctx->posts->cat_title,1,0,0,0,0,'EntryCategory'); ?></a>
- <?php endif; ?>
- </p>
-
- <?php
-$objMeta = new dcMeta($core); $_ctx->meta = $objMeta->getMetaRecordset($_ctx->posts->post_meta,'tag'); $_ctx->meta->sort('meta_id_lower','asc'); ?><?php while ($_ctx->meta->fetch()) : ?>
- <?php if ($_ctx->meta->isStart()) : ?><ul class="post-tags"><?php endif; ?>
- <li><a href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("tag")."/".rawurlencode($_ctx->meta->meta_id),0,0,0,0,0,'TagURL'); ?>"><?php echo context::global_filter($_ctx->meta->meta_id,0,0,0,0,0,'TagID'); ?></a></li>
- <?php if ($_ctx->meta->isEnd()) : ?></ul><?php endif; ?>
- <?php endwhile; $_ctx->meta = null; unset($objMeta); ?>
-
- <?php if ($core->hasBehavior('publicEntryBeforeContent')) { $core->callBehavior('publicEntryBeforeContent',$core,$_ctx);} ?>
-
- <?php if($_ctx->posts->isExtended()) : ?>
- <div class="post-content"><?php echo context::global_filter($_ctx->posts->getExcerpt(0),0,0,0,0,0,'EntryExcerpt'); ?></div>
- <p class="read-it"><a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>"
- title="<?php echo __('Continue reading'); ?> <?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?>"><?php echo __('Continue reading'); ?></a>...</p>
- <?php endif; ?>
-
- <?php if(!$_ctx->posts->isExtended()) : ?>
- <div class="post-content"><?php echo context::global_filter($_ctx->posts->getContent(0),0,0,0,0,0,'EntryContent'); ?></div>
- <?php endif; ?>
-
- <?php if ($core->hasBehavior('publicEntryAfterContent')) { $core->callBehavior('publicEntryAfterContent',$core,$_ctx);} ?>
-
- <?php if($_ctx->posts->countMedia() || ($_ctx->posts->hasComments() || $_ctx->posts->commentsActive()) || ($_ctx->posts->hasTrackbacks() || $_ctx->posts->trackbacksActive())) : ?>
- <p class="post-info-co">
- <?php endif; ?>
- <?php if(($_ctx->posts->hasComments() || $_ctx->posts->commentsActive())) : ?>
- <a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>#comments" class="comment_count"><?php if ($_ctx->posts->nb_comment == 0) {
- printf(__('no comment'),$_ctx->posts->nb_comment);
-} elseif ($_ctx->posts->nb_comment == 1) {
- printf(__('one comment'),$_ctx->posts->nb_comment);
-} else {
- printf(__('%d comments'),$_ctx->posts->nb_comment);
-} ?></a>
- <?php endif; ?>
- <?php if(($_ctx->posts->hasTrackbacks() || $_ctx->posts->trackbacksActive())) : ?>
- <a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>#pings" class="ping_count"><?php if ($_ctx->posts->nb_trackback == 0) {
- printf(__('no trackback'),(integer) $_ctx->posts->nb_trackback);
-} elseif ($_ctx->posts->nb_trackback == 1) {
- printf(__('one trackback'),(integer) $_ctx->posts->nb_trackback);
-} else {
- printf(__('%d trackbacks'),(integer) $_ctx->posts->nb_trackback);
-} ?></a><?php endif; ?>
- <?php if($_ctx->posts->countMedia()) : ?>
- <a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>#attachments" class="attach_count"><?php if ($_ctx->posts->countMedia() == 0) {
- printf(__('no attachment'),(integer) $_ctx->posts->countMedia());
-} elseif ($_ctx->posts->countMedia() == 1) {
- printf(__('one attachment'),(integer) $_ctx->posts->countMedia());
-} else {
- printf(__('%d attachments'),(integer) $_ctx->posts->countMedia());
-} ?></a><?php endif; ?>
- <?php if($_ctx->posts->countMedia() || ($_ctx->posts->hasComments() || $_ctx->posts->commentsActive()) || ($_ctx->posts->hasTrackbacks() || $_ctx->posts->trackbacksActive())) : ?>
- </p>
- <?php endif; ?>
- </div>
-
- <?php if ($_ctx->posts->isEnd()) : ?>
- <?php
-$params = $_ctx->post_params;
-$_ctx->pagination = $core->blog->getPosts($params,true); unset($params);
-?>
-<?php if ($_ctx->pagination->f(0) > $_ctx->posts->count()) : ?>
- <p class="pagination"><?php if(!context::PaginationEnd()) : ?><a href="<?php echo context::global_filter(context::PaginationURL(1),0,0,0,0,0,'PaginationURL'); ?>" class="prev">«
- <?php echo __('previous entries'); ?></a> - <?php endif; ?>
- <?php echo __('page'); ?> <?php echo context::global_filter(context::PaginationPosition(0),0,0,0,0,0,'PaginationCurrent'); ?> <?php echo __('of'); ?> <?php echo context::global_filter(context::PaginationNbPages(),0,0,0,0,0,'PaginationCounter'); ?>
- <?php if(!context::PaginationStart()) : ?> - <a href="<?php echo context::global_filter(context::PaginationURL(-1),0,0,0,0,0,'PaginationURL'); ?>" class="next"><?php echo __('next entries'); ?>
- »</a><?php endif; ?></p>
- <?php endif; ?>
- <?php endif; ?>
- <?php endwhile; $_ctx->posts = null; $_ctx->post_params = null; ?>
- </div>
-</div> <!-- End #main -->
-
-<div id="sidebar">
- <div id="blognav">
- <?php publicWidgets::widgetsHandler('nav'); ?>
- </div> <!-- End #blognav -->
-
- <div id="blogextra">
- <?php publicWidgets::widgetsHandler('extra'); ?>
- </div> <!-- End #blogextra -->
-</div>
-
-</div> <!-- End #wrapper -->
-
-<?php try { echo $core->tpl->getData('_footer.html'); } catch (Exception $e) {} ?>
-</div> <!-- End #page -->
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<div id="footer">
- <p><?php printf(__("Powered by %s"),"<a href=\"http://dotclear.org/\">Dotclear</a>"); ?> - DC2 theme by <a href="http://www.pyeb.net/">pyeb</a> modified by <a href="http://www.cubedesigners.com/">Cubedesigners</a></p>
-</div>
-
-<?php if ($core->hasBehavior('publicFooterContent')) { $core->callBehavior('publicFooterContent',$core,$_ctx);} ?>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta name="MSSmartTagsPreventParsing" content="TRUE" />
- <meta name="ROBOTS" content="<?php echo context::robotsPolicy($core->blog->settings->robots_policy,'NOINDEX'); ?>" />
-
- <title><?php echo __('Archives'); ?> - <?php echo context::global_filter(dt::dt2str('%B %Y',$_ctx->archives->dt),0,0,0,0,0,'ArchiveDate'); ?> - <?php echo context::global_filter($core->blog->name,1,0,0,0,0,'BlogName'); ?></title>
- <meta name="copyright" content="<?php echo context::global_filter($core->blog->settings->copyright_notice,1,0,0,0,0,'BlogCopyrightNotice'); ?>" />
- <meta name="author" content="<?php echo context::global_filter($core->blog->settings->editor,1,0,0,0,0,'BlogEditor'); ?>" />
- <meta name="date" scheme="W3CDTF" content="<?php echo context::global_filter(dt::iso8601($core->blog->upddt,$core->blog->settings->blog_timezone),0,0,0,0,0,'BlogUpdateDate'); ?>" />
-
- <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
- <meta name="dc.title" lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" content="<?php echo __('Archives'); ?> - <?php echo context::global_filter(dt::dt2str('%B %Y',$_ctx->archives->dt),0,0,0,0,0,'ArchiveDate'); ?> - <?php echo context::global_filter($core->blog->name,1,0,0,0,0,'BlogName'); ?>" />
- <meta name="dc.language" content="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'BlogLanguage'); ?>" />
- <meta name="dc.publisher" content="<?php echo context::global_filter($core->blog->settings->editor,1,0,0,0,0,'BlogEditor'); ?>" />
- <meta name="dc.rights" content="<?php echo context::global_filter($core->blog->settings->copyright_notice,1,0,0,0,0,'BlogCopyrightNotice'); ?>" />
- <meta name="dc.date" scheme="W3CDTF" content="<?php echo context::global_filter(dt::iso8601($core->blog->upddt,$core->blog->settings->blog_timezone),0,0,0,0,0,'BlogUpdateDate'); ?>" />
- <meta name="dc.type" content="text" />
- <meta name="dc.format" content="text/html" />
-
- <link rel="top" href="<?php echo context::global_filter($core->blog->url,0,0,0,0,0,'BlogURL'); ?>" title="<?php echo __('Home'); ?>" />
- <link rel="up" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("archive"),0,0,0,0,0,'BlogArchiveURL'); ?>" title="<?php echo __('Archives'); ?>" />
- <link rel="contents" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("archive"),0,0,0,0,0,'BlogArchiveURL'); ?>" title="<?php echo __('Archives'); ?>" />
-
-
- <?php
-$params = array();$params['type'] = 'month';
-$params['post_type'] = 'post';
-$params['next'] = $_ctx->archives->dt;$_ctx->archives = $core->blog->getDates($params); unset($params);
-?>
-<?php while ($_ctx->archives->fetch()) : ?><link rel="next" href="<?php echo context::global_filter($_ctx->archives->url($core),0,0,0,0,0,'ArchiveURL'); ?>"
- title="<?php echo context::global_filter(dt::dt2str('%B %Y',$_ctx->archives->dt),1,0,0,0,0,'ArchiveDate'); ?>" /><?php endwhile; $_ctx->archives = null; ?>
- <?php
-$params = array();$params['type'] = 'month';
-$params['post_type'] = 'post';
-$params['previous'] = $_ctx->archives->dt;$_ctx->archives = $core->blog->getDates($params); unset($params);
-?>
-<?php while ($_ctx->archives->fetch()) : ?><link rel="previous" href="<?php echo context::global_filter($_ctx->archives->url($core),0,0,0,0,0,'ArchiveURL'); ?>"
- title="<?php echo context::global_filter(dt::dt2str('%B %Y',$_ctx->archives->dt),1,0,0,0,0,'ArchiveDate'); ?>" /><?php endwhile; $_ctx->archives = null; ?>
-
- <?php if ($_ctx->exists("meta")) { @$params['from'] .= ', '.$core->prefix.'meta META ';
-@$params['sql'] .= 'AND META.post_id = P.post_id ';
-$params['sql'] .= "AND META.meta_type = 'tag' ";
-$params['sql'] .= "AND META.meta_id = '".$core->con->escape($_ctx->meta->meta_id)."' ";
-} ?>
-<?php
-if (!isset($_page_number)) { $_page_number = 1; }
-$params['limit'] = $_ctx->nb_entry_per_page;
-$params['limit'] = array((($_page_number-1)*$params['limit']),$params['limit']);
-if ($_ctx->exists("users")) { $params['user_id'] = $_ctx->users->user_id; }
-if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
-if ($_ctx->exists("archives")) { $params['post_year'] = $_ctx->archives->year(); $params['post_month'] = $_ctx->archives->month(); unset($params['limit']); }
-if ($_ctx->exists("langs")) { $params['post_lang'] = $_ctx->langs->post_lang; }
-if (isset($_search)) { $params['search'] = $_search; }
-$params['order'] = 'post_dt desc';
-$params['no_content'] = true;
-$_ctx->post_params = $params;
-$_ctx->posts = $core->blog->getPosts($params); unset($params);
-?>
-<?php while ($_ctx->posts->fetch()) : ?>
- <link rel="chapter" href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>" title="<?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?>" />
- <?php endwhile; $_ctx->posts = null; $_ctx->post_params = null; ?>
-
- <?php try { echo $core->tpl->getData('_head.html'); } catch (Exception $e) {} ?>
-</head>
-
-<body class="dc-archive-month">
-<div id="page">
-<?php try { echo $core->tpl->getData('_top.html'); } catch (Exception $e) {} ?>
-
-<div id="wrapper">
-
-<div id="main">
- <div id="content">
-
- <p id="navlinks">
- <?php
-$params = array();$params['type'] = 'month';
-$params['post_type'] = 'post';
-$params['previous'] = $_ctx->archives->dt;$_ctx->archives = $core->blog->getDates($params); unset($params);
-?>
-<?php while ($_ctx->archives->fetch()) : ?><a href="<?php echo context::global_filter($_ctx->archives->url($core),0,0,0,0,0,'ArchiveURL'); ?>" class="prev">« <?php echo context::global_filter(dt::dt2str('%B %Y',$_ctx->archives->dt),1,0,0,0,0,'ArchiveDate'); ?></a>
- - <?php endwhile; $_ctx->archives = null; ?>
- <a href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("archive"),0,0,0,0,0,'BlogArchiveURL'); ?>"><?php echo __('Archives'); ?></a>
- <?php
-$params = array();$params['type'] = 'month';
-$params['post_type'] = 'post';
-$params['next'] = $_ctx->archives->dt;$_ctx->archives = $core->blog->getDates($params); unset($params);
-?>
-<?php while ($_ctx->archives->fetch()) : ?> - <a href="<?php echo context::global_filter($_ctx->archives->url($core),0,0,0,0,0,'ArchiveURL'); ?>" class="next"><?php echo context::global_filter(dt::dt2str('%B %Y',$_ctx->archives->dt),1,0,0,0,0,'ArchiveDate'); ?> »</a><?php endwhile; $_ctx->archives = null; ?>
- </p>
-
- <div id="content-info">
- <h2><?php echo context::global_filter(dt::dt2str('%B %Y',$_ctx->archives->dt),0,0,0,0,0,'ArchiveDate'); ?></h2>
- </div>
-
- <div class="content-inner">
- <?php if ($_ctx->exists("meta")) { @$params['from'] .= ', '.$core->prefix.'meta META ';
-@$params['sql'] .= 'AND META.post_id = P.post_id ';
-$params['sql'] .= "AND META.meta_type = 'tag' ";
-$params['sql'] .= "AND META.meta_id = '".$core->con->escape($_ctx->meta->meta_id)."' ";
-} ?>
-<?php
-if (!isset($_page_number)) { $_page_number = 1; }
-$params['limit'] = $_ctx->nb_entry_per_page;
-$params['limit'] = array((($_page_number-1)*$params['limit']),$params['limit']);
-if ($_ctx->exists("users")) { $params['user_id'] = $_ctx->users->user_id; }
-if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
-if ($_ctx->exists("archives")) { $params['post_year'] = $_ctx->archives->year(); $params['post_month'] = $_ctx->archives->month(); unset($params['limit']); }
-if ($_ctx->exists("langs")) { $params['post_lang'] = $_ctx->langs->post_lang; }
-if (isset($_search)) { $params['search'] = $_search; }
-$params['order'] = 'post_dt desc';
-$params['no_content'] = true;
-$_ctx->post_params = $params;
-$_ctx->posts = $core->blog->getPosts($params); unset($params);
-?>
-<?php while ($_ctx->posts->fetch()) : ?>
-
- <?php if ($_ctx->posts->firstPostOfDay()) : ?><p class="day-date"><?php echo context::global_filter($_ctx->posts->getDate(''),0,0,0,0,0,'EntryDate'); ?></p><?php endif; ?>
-
- <h2 id="p<?php echo context::global_filter($_ctx->posts->post_id,0,0,0,0,0,'EntryID'); ?>" class="post-title" lang="<?php if ($_ctx->posts->post_lang) { echo context::global_filter($_ctx->posts->post_lang,0,0,0,0,0,'EntryLang'); } else {echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'EntryLang'); } ?>" xml:lang="<?php if ($_ctx->posts->post_lang) { echo context::global_filter($_ctx->posts->post_lang,0,0,0,0,0,'EntryLang'); } else {echo context::global_filter($core->blog->settings->lang,0,0,0,0,0,'EntryLang'); } ?>"><a
- href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>" title="<?php echo __('Read'); ?> <?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?>"><?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0,'EntryTitle'); ?></a></h2>
-
- <p class="post-info"><?php echo __('By'); ?> <?php echo context::global_filter($_ctx->posts->getAuthorLink(),0,0,0,0,0,'EntryAuthorLink'); ?>
- <?php if(($_ctx->posts->hasComments() || $_ctx->posts->commentsActive())) : ?>
- - <a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>#comments"><?php if ($_ctx->posts->nb_comment == 0) {
- printf(__('no comment'),$_ctx->posts->nb_comment);
-} elseif ($_ctx->posts->nb_comment == 1) {
- printf(__('one comment'),$_ctx->posts->nb_comment);
-} else {
- printf(__('%d comments'),$_ctx->posts->nb_comment);
-} ?></a>
- <?php endif; ?>
- <?php if(($_ctx->posts->hasTrackbacks() || $_ctx->posts->trackbacksActive())) : ?>
- - <a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>#pings"><?php if ($_ctx->posts->nb_trackback == 0) {
- printf(__('no trackback'),(integer) $_ctx->posts->nb_trackback);
-} elseif ($_ctx->posts->nb_trackback == 1) {
- printf(__('one trackback'),(integer) $_ctx->posts->nb_trackback);
-} else {
- printf(__('%d trackbacks'),(integer) $_ctx->posts->nb_trackback);
-} ?></a><?php endif; ?>
- <?php if($_ctx->posts->countMedia()) : ?>
- - <a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0,'EntryURL'); ?>#attachments"><?php if ($_ctx->posts->countMedia() == 0) {
- printf(__('no attachment'),(integer) $_ctx->posts->countMedia());
-} elseif ($_ctx->posts->countMedia() == 1) {
- printf(__('one attachment'),(integer) $_ctx->posts->countMedia());
-} else {
- printf(__('%d attachments'),(integer) $_ctx->posts->countMedia());
-} ?></a><?php endif; ?>
- </p>
- <?php endwhile; $_ctx->posts = null; $_ctx->post_params = null; ?>
- </div>
- </div>
-</div> <!-- End #main -->
-
-<div id="sidebar">
- <div id="blognav">
- <?php publicWidgets::widgetsHandler('nav'); ?>
- </div> <!-- End #blognav -->
-
- <div id="blogextra">
- <?php publicWidgets::widgetsHandler('extra'); ?>
- </div> <!-- End #blogextra -->
-</div>
-
-</div> <!-- End #wrapper -->
-
-<?php try { echo $core->tpl->getData('_footer.html'); } catch (Exception $e) {} ?>
-</div> <!-- End #page -->
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-a:5:{s:7:"version";s:6:"2.27.3";s:4:"href";s:56:"https://download.dotclear.org/latest/dotclear-2.27.3.zip";s:8:"checksum";s:32:"793317b81d814fe42eddc1603e064215";s:4:"info";s:57:"https://services.dotclear.net/redir?about=dotclear-2.27.3";s:6:"notify";b:1;}
\ No newline at end of file
+++ /dev/null
-Deny from all
\ No newline at end of file
define('DC_DBDRIVER','mysql');
// Database hostname (usually "localhost")
-define('DC_DBHOST','michelsdb.mysql.db');
+define('DC_DBHOST','michelcastel-mariadb');
// Database user
-define('DC_DBUSER','michelsdb');
+define('DC_DBUSER','root');
// Database password
-define('DC_DBPASSWORD','ZdT7sTHDtUsv');
+define('DC_DBPASSWORD','e7kn6LwtmEYb6WrF');
// Database name
-define('DC_DBNAME','michelsdb');
+define('DC_DBNAME','michelcastel');
// Tables' prefix
define('DC_DBPREFIX','dc_');
// Admin URL. You need to set it for some features.
-define('DC_ADMIN_URL','http://www.michelcastel.com/admin/');
+define('DC_ADMIN_URL','https://michelcastel.com/admin/');
// Cookie's name
define('DC_SESSION_NAME','dcxd');