Changes for page homeopathsSheet
Last modified by Jip-jan Alunkel on March 26, 17:31
From version 3.303
edited by Jip-jan Alunkel
on March 18, 23:18
on March 18, 23:18
Change comment:
Rollback to version 1.38
To version 3.304
edited by Jip-jan Alunkel
on March 18, 23:23
on March 18, 23:23
Change comment:
Rollback to version 1.38
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -21,6 +21,7 @@ 21 21 #end 22 22 #set($theDocObj = $doc.getObject($theClass, true)) 23 23 #set($hasRight = !$isGuest && ($theDocObj.getProperty('doc_owner').value == $context.getUser() || $hasAdmin)) 24 +#set($isInline = $xcontext.action == 'edit' && ($request.get('editor') == 'inline' || $request.get('section'))) 24 24 ## ADDRESS: Prepare object to provide hidden values to the address input. The keys are equal to the class property names. 25 25 ## The entries will be filled by the class property values. 26 26 #set($xa = {'pmLatlong': '','pmCountry': '','pmState': '','pmCounty': '','pmPostcode': '','pmCity': '','pmStreet': '','pmHousenumber': ''}) ... ... @@ -219,7 +219,7 @@ 219 219 </div> 220 220 </div> 221 221 #end ## Hier een macro van maken: 'noInline' oid 222 -#elseif($ xcontext.action == 'edit' && ($request.get('editor') == 'inline' || $request.get('section')))223 +#elseif($isInline) 223 223 <p>$services.localization.render("global.line.inline_noedit")</p> 224 224 <ul> 225 225 <li>[[$services.localization.render("global.line.edit_in_full")>>path:$doc.getURL('edit','editor=wysiwyg')]]</li>