Changes for page homeopathsSheet

Last modified by Jip-jan Alunkel on March 26, 17:31

From version 3.300
edited by Jip-jan Alunkel
on March 18, 23:08
Change comment: Rollback to version 1.38
To version 3.301
edited by Jip-jan Alunkel
on March 18, 23:15
Change comment: Rollback to version 1.38

Summary

Details

Page properties
Content
... ... @@ -1,9 +1,6 @@
1 1  {{include reference="assets.pagemaker.macros"/}}
2 2  
3 3  {{velocity}}
4 -## Show the document content
5 -$doc.getTranslatedDocument().getContent()
6 -
7 7  #set($discard = $services.localization.use('document', 'assets.global.translations'))
8 8  #set($discard = $services.localization.use('document', 'assets.pagemaker.translations'))
9 9  #set($discard = $xwiki.ssx.use('assets.pagemaker.WebHome', {'minify': false}))
... ... @@ -54,6 +54,9 @@
54 54   'certification': {'type': 'checkbox', 'opener': 1},
55 55   'certificationFrom': {'type': 'text', 'parent': 'certification'}
56 56  })
54 +## Show the document content
55 +$doc.getTranslatedDocument().getContent()
56 +
57 57  {{html wiki="true" clean="false"}}
58 58  ## Manual disabling of the create button in the 'Document actions' menu.
59 59  #if(!$isGuest)<p><script>var pmMenuCreate = "disable";</script></p>#end
... ... @@ -218,16 +218,13 @@
218 218   </div>
219 219   </div>
220 220  </div>
221 - #end
222 -#else
223 - ## Hier een macro van maken: 'noInline' oid
224 - #if($xcontext.action == 'edit' && ($request.get('editor') == 'inline' || $request.get('section')))
221 + #end ## Hier een macro van maken: 'noInline' oid
222 +#elseif($xcontext.action == 'edit' && ($request.get('editor') == 'inline' || $request.get('section')))
225 225   <p>$services.localization.render("global.line.inline_noedit")</p>
226 226   <ul>
227 227   <li>[[$services.localization.render("global.line.edit_in_full")>>path:$doc.getURL('edit','editor=wysiwyg')]]</li>
228 228   <li>[[$services.localization.render("core.viewers.comments.preview.button.back")>>$doc.fullName]]</li>
229 229   </ul>
230 - #end
231 231  #end
232 232  #macro(createAddress $className $withLabel)
233 233   #set($docObj = $doc.getObject($className))