summaryrefslogtreecommitdiff
path: root/platform/www/lib/tpl/acervus/main.php
diff options
context:
space:
mode:
Diffstat (limited to 'platform/www/lib/tpl/acervus/main.php')
-rw-r--r--platform/www/lib/tpl/acervus/main.php17
1 files changed, 13 insertions, 4 deletions
diff --git a/platform/www/lib/tpl/acervus/main.php b/platform/www/lib/tpl/acervus/main.php
index 27f35b2..20f48ab 100644
--- a/platform/www/lib/tpl/acervus/main.php
+++ b/platform/www/lib/tpl/acervus/main.php
@@ -144,6 +144,7 @@ if ($lang2 != '') {
<div class="wrapper group">
<!-- ********** CONTENT ********** -->
+
<div id="dokuwiki__content"><div class="group">
<?php tpl_flush() ?>
<?php tpl_includeFile('pageheader.html') ?>
@@ -179,6 +180,17 @@ if ($lang2 != '') {
}
+ // $id = $INFO['meta']['id'];
+ // echo 'algooo';
+ // print_r(pageinfo('id'));
+ $ns = $INFO['namespace'];
+ $creation_date = $INFO['meta']['date']['created'];
+ if (strpos($ns, 'blog') !== false) {
+ $d = strftime("%d", $creation_date);
+ $m = strftime("%m", $creation_date);
+ $y = strftime("%Y", $creation_date);
+ echo "<div class='date'><div class='date-dm'>$d/$m</div><div class='date-y'>$y</div></div>";
+ }
?>
@@ -210,7 +222,6 @@ if ($lang2 != '') {
if ($translation) echo $translation->showTranslations();
?></center>
</div><!-- /footer -->
-
<?php tpl_includeFile('footer.html') ?>
</div><!-- /wrapper -->
@@ -226,9 +237,7 @@ function getAnchor() {
}
if (document.URL.toLowerCase().indexOf("index") === -1) { // not show on index
- if (document.URL.includes(':en') ||
- document.URL.includes(':es') ||
- document.URL.includes(':fr') ||
+ if (document.URL.includes(':book') ||
document.URL.includes(':script') ||
document.URL.includes(':article')
) { // only shows number of paragraph in books, articles and scripts pages