From 6cf8ca5e43a693b6e0d7d2c410037505dc4cb6cf Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 23 Nov 2016 13:38:27 +0100 Subject: [PATCH] whitespace and minor fixes --- Zotlabs/Module/Wiki.php | 2 +- view/tpl/wiki.tpl | 138 ++++++++++++++++------------------------ 2 files changed, 57 insertions(+), 83 deletions(-) diff --git a/Zotlabs/Module/Wiki.php b/Zotlabs/Module/Wiki.php index a73364b06..0c848bc7c 100644 --- a/Zotlabs/Module/Wiki.php +++ b/Zotlabs/Module/Wiki.php @@ -258,7 +258,7 @@ class Wiki extends \Zotlabs\Web\Controller { '$wikiName' => array('wikiName', t('Enter the name of your new wiki:'), '', ''), '$pageName' => array('pageName', t('Enter the name of the new page:'), '', ''), '$pageRename' => array('pageRename', t('Enter the new name:'), '', ''), - '$commitMsg' => array('commitMsg', '', '', '', '', 'placeholder="(optional) Enter a custom message when saving the page..."'), + '$commitMsg' => array('commitMsg', '', '', '', '', 'placeholder="Short description of your changes (optional)"'), '$pageHistory' => $pageHistory['history'], '$wikiModal' => $wikiModal, '$wikiModalID' => $wikiModalID, diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl index 94e7c0f3e..c4426268c 100644 --- a/view/tpl/wiki.tpl +++ b/view/tpl/wiki.tpl @@ -1,19 +1,12 @@ -{{if $hideEditor}} -
-

{{$chooseWikiMessage}}

-
-{{/if}}
-
- -
- {{if $showPageControls}} +
+
+ {{if $showPageControls}}
-
- - {{/if}} - - - -
-

 {{$wikiheaderName}} :  - {{$wikiheaderPage}} -

-
-
- - - - - -
- - - -
- -
-
- {{if $showCommitMsg}} - {{if $showPageControls}} -
-
- - - - Save - - {{$commitMsg.3}} - -
-
+ {{/if}} + +
- {{/if}} - {{/if}} -
-
-
- {{$renderedContent}} -
-
-
-
-
-
- -
- - -
-
+

+ {{$wikiheaderName}}: + {{$wikiheaderPage}} +

+
+
+ +
+ +
+
+
+ {{if $showCommitMsg}} + {{if $showPageControls}} +
+
+
+ +
+ +
+
+
+
+ {{/if}} + {{/if}} +
+
+
+ {{$renderedContent}} +
+
+
+
+
+
+
{{$wikiModal}} -