From 412d6cd0427f54846fe4a809fe1bc20deb7fab98 Mon Sep 17 00:00:00 2001 From: Naglfar Date: Mon, 11 Jan 2021 20:52:06 +0100 Subject: Add canonical url --- divs/footer.php | 2 +- divs/head.php | 3 ++- divs/sidebar.php | 4 ++-- index.php | 2 +- php/rd-procedures.php | 6 +++--- php/wd-procedures.php | 4 ++-- php/ws-procedures.php | 4 ++-- theme/mwvms.php | 2 +- 8 files changed, 14 insertions(+), 13 deletions(-) diff --git a/divs/footer.php b/divs/footer.php index e8bbc20..52becc2 100644 --- a/divs/footer.php +++ b/divs/footer.php @@ -1 +1 @@ -%s\n", $wsdata[5], $wsdata[6]) ?> +%s\n", $wsdata[7], $wsdata[8]) ?> diff --git a/divs/head.php b/divs/head.php index 6b90913..7fff23c 100644 --- a/divs/head.php +++ b/divs/head.php @@ -1,7 +1,8 @@ <?php printf("%s - %s", $vdata[2], $wsdata[0]) ?> - + + diff --git a/divs/sidebar.php b/divs/sidebar.php index 38fa099..fda8422 100644 --- a/divs/sidebar.php +++ b/divs/sidebar.php @@ -1,9 +1,9 @@ $value) - if($value != $vid && $i < $wsdata[2]) + if($value != $vid && $i < $wsdata[3]) { - $rdata = file($dpath.$wsdata[3].'/toc/'.$value, FILE_IGNORE_NEW_LINES); + $rdata = file($dpath.$wsdata[4].'/toc/'.$value, FILE_IGNORE_NEW_LINES); printf("\n", $value); printf("