From 83c12cfb2ef5c29158c885d5f493dddb0394b2a8 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Fri, 23 May 2014 09:35:02 +0200 Subject: [PATCH] modules/doc: Add partial for displaying doc and toc refs #4820 --- .../views/scripts/partials/docandtoc.phtml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 modules/doc/application/views/scripts/partials/docandtoc.phtml diff --git a/modules/doc/application/views/scripts/partials/docandtoc.phtml b/modules/doc/application/views/scripts/partials/docandtoc.phtml new file mode 100644 index 000000000..704e5ef88 --- /dev/null +++ b/modules/doc/application/views/scripts/partials/docandtoc.phtml @@ -0,0 +1,19 @@ + +

No documentation available.

+ +
+ partial( + 'layout/menu.phtml', + 'default', + array( + 'items' => $docToc->getChildren(), + 'sub' => false, + 'url' => '' + ) + ); + ?> +
+
+ +
+