Modifiche per il documento Homeopaths
Ultima modifica di Jip-jan Alunkel il marzo 14, 20:13
Dalla versione 8.144
modificato da Jip-jan Alunkel
il dicembre 24, 13:40
il dicembre 24, 13:40
Cambia il commento:
Renamed from xwiki:practices.WebHome
Alla versione 8.143
modificato da Jip-jan Alunkel
il dicembre 24, 13:33
il dicembre 24, 13:33
Cambia il commento:
Renamed from xwiki:practices.WebHome
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -12,8 +12,8 @@ 12 12 <div id="homeopaths_map"></div> 13 13 #if(!$isGuest) 14 14 15 - #set($haspractice = $xwiki.getDocument($xcontext.getUserReference()).getObject('XWiki.XWikiUsers').getProperty('practice'))16 - $haspractice15 +$xcontext.getUserReference() 16 + 17 17 #set($q = $services.query.xwql("where doc.space like 'homeopaths.%' and doc.name like :usr")) 18 18 #set($r = $q.bindValue('usr', $xcontext.getUserReference().getName()).execute()) 19 19 #set($practice_exists = $r.size() > 0)