aboutsummaryrefslogtreecommitdiff
path: root/app/class/Controllerinfo.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-04-03 05:01:37 +0200
committervincent-peugnet <v.peugnet@free.fr>2020-04-03 05:01:37 +0200
commitc238728613accecddcd9612c442f6a2b0280bb8d (patch)
treedcf824bbbe4908726120ec106b9b2cf6640d46ba /app/class/Controllerinfo.php
parentec2f88ed95285baf49ad02159207d758b5eaafbf (diff)
downloadwcms-c238728613accecddcd9612c442f6a2b0280bb8d.tar.gz
wcms-c238728613accecddcd9612c442f6a2b0280bb8d.zip
render : elements header-id param close #63
Diffstat (limited to 'app/class/Controllerinfo.php')
-rw-r--r--app/class/Controllerinfo.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/class/Controllerinfo.php b/app/class/Controllerinfo.php
index 7b27cea..ab2a526 100644
--- a/app/class/Controllerinfo.php
+++ b/app/class/Controllerinfo.php
@@ -19,7 +19,8 @@ class Controllerinfo extends Controller
$htmlman = file_get_contents(Model::MAN_FILE);
$htmlman = $render->rendermanual($htmlman);
- $summary = $render->sumparser(2, 4);
+ $sum = new Summary(['max' => 4, 'sum' => $render->sum()]);
+ $summary = $sum->sumparser();
$this->showtemplate('info', ['version' => getversion(), 'manual' => $htmlman, 'summary' => $summary]);