#set( $xmledithome = $context.getPageProperty("xmledithome")) #set( $readonly = "false" ) #set( $readonly = $context.getRequestParameter("detailsreadonly")) #set( $alwaysshow = $context.getRequestParameter("alwaysshow")) #set( $multiedit = "false") #set( $multiedit = $context.getRequestParameter("multiedit")) #if ( $multiedit == "true" ) #set( $multiedit = true) #else #set( $multiedit = false) #end $context.putPageValue("multiedit",$multiedit) $context.putPageValue("longform",false) #if(!$view) #if($viewid) #set($view = "${searcher.searchType}/${viewid}") #end #end ##We need 3 things passed in: $searcher, $view, $data #if ($view) #if( $context.getUserProfile() ) #set ($details = $searcher.getDetailsForView($view, $context.getUserProfile())) #else #set ($details = $searcher.getDetailsForView($view)) #end #if( !$details) ${searcher.searchType}: [[No details available for this view]] ($view). [[Please configure your view settings.]] #end #else ##leagacy check. We used to pass in the $details #if( !$details) #set ($details = $searcher.getPropertyDetails()) #end #end #set ($mode = $user.get("oe_edit_mode")) #if($viewid) #if($mode && ($mode == "debug" || $mode == "editing" )) #end #end
#translate($detail.header) | |
| #if( $detail.hidelabel == true ) #else #if ($detail.required == true) * #end $!detail.getText( $context ) #end | #if( $editrow ) $pages.include("$xmledithome/detailedit.html", $context) #else ##NOT EDITABLE $pages.include("$xmledithome/detailreadonly.html", $context) #end $!detail.note |
| #if( $detail.hidelabel == true ) #else #if ($detail.required == true) * #end $!detail.getText($context) #end | $pages.include("$xmledithome/detailreadonly.html", $context) #if ( $detail.note ) $detail.note #end |