<%/*Encoding:UTF-8*/%> <%/*Type:Portlet*/%> <%//Def:[{"actioncode":"function color_sample_Click(){\n if (m_cFunction == 'view' || m_cFunction == 'query')\n return;\n windowOpenForeground('..\u002fvisualweb\u002fselect_color.html?for=rgb', \"SelectColor\", \"width=250,height=160,top=300,left=300,scroll=no,status=no,toolbar=no\")\n}\n\nfunction setBackgroundColor(w_color){\n var i = this.color_sample.Ctrl_content;\n var t = this.textualpostit.Ctrl_input;\n i.style.backgroundColor = 'rgb(' + (Mod(Val(w_color), 256)) + ',' + (Mod(Int(Val(w_color) \u002f 256), 256)) + ',' + (Mod(Int(Val(w_color) \u002f 65536), 256)) + ')';\n t.style.backgroundColor = i.style.backgroundColor;\n return w_color;\n}\n\nvar _this = this;\nvar layerId = this.layerId.Value();\n\n\u002f\u002faggiorno la variabile d'appoggio contenente gli id dei postin in caso di nuovo inserimento\nif ( w_code!=this.code.Value() && parent._regWarn.code[parent._regWarn.code.length-1]==this.code.Value())\n parent._regWarn.code[parent._regWarn.code.length-1] = w_code;\n\n\u002f\u002finizializzo le dimensioni del layer\nvar title = this.getTitlePortlet();\nvar lw = typeof sv_PostitWidth != 'undefined' ? sv_PostitWidht : '250',\n lh = typeof sv_PostitHeight != 'undefined' ? sv_PostitHeight : '200';\nvar layer = parent.document.getElementById(layerId);\n\u002f\u002f\n\u002f\u002fvar br = layer.getBoundingClientRect();\n\u002f\u002flayer.style.cssText = 'height:' + lh + 'px;width:' + lw + 'px;top:'+br.top+'px;left:'+br.left+'px;position:absolute;z-index:999';\n\u002f\u002f\nlayer.style.height = lh + 'px';\nlayer.style.width = lw + 'px';\nthis.textualpostit.Ctrl_input.style.border = '0';\nthis.textualpostit.Ctrl_input.style.padding = '0';\nthis.textualpostit.Ctrl_input.style.display = 'block';\n\n\u002f\u002f funzione per dare la corretta dimensione al portlet considerando che è stretch ed ha il titolo\nvar titleTime \n(function setHeight(){\n if(titleTime)\n clearTimeout(titleTime)\n if( title.Ctrl.offsetHeight == 0 ) {\n titleTime = setTimeout( setHeight, 10);\n } else {\n\t\t_this.Ctrl_container.style.height = \"calc(100% - \"+title.Ctrl.offsetHeight+\"px)\"; \n }\n})();\n\n\u002f\u002f gestione del drag&drop e del ridimensionamento\nthis.resize_header.Ctrl.addEventListener('mousedown', function(e){\n title.toolbar.CloseMenu();\n parent.dragObj.css=layer.style;\n parent.dragObj.minW = 250;\n parent.dragObj.minH = 150;\n\tparent.dragObj.resize = 'so';\n\t_this.dragPostIn(e,layer) \n});\n\n\u002f* Creazione del drag sul titolo *\u002f\n\ntitle.Ctrl.onmousedown = function (e) {\n if (!e || e.srcElement.tagName == 'A' || e.srcElement.parentElement.tagName == 'A') return;\n title.toolbar.CloseMenu();\n _this.dragPostIn(e, layer);\n}\n\n\u002f\u002fgestione della toolbar nel titolo del portlet\n\n\u002f\u002fthis.AddButton=function(image, action, target, title, tooltip, idx)\nvar showOpt = false;\n\u002f\u002f title.toolbar.AppendMenuItem({\ntitle.SetTitle(FormatMsg('MSG_POSTIT'));\ntitle.toolbar.Append({\n id:'options',\n title: FormatMsg('MSG_POSTIT_OPTIONS'),\n tooltip: FormatMsg('MSG_POSTIT_OPTIONS'),\n action: toggleOpt,\n image:{ fontFamily:'icons8_win10', value: \"\"},\n});\ntitle.toolbar.Append({\n id:'hide',\n title: FormatMsg('MSG_POSTIT_HIDE'),\n tooltip: FormatMsg('MSG_POSTIT_HIDE'),\n action: hidePostIn,\n image:{ fontFamily:'icons8_win10', value: \"\"},\n});\nif (m_cFunction == 'new' || m_cFunction == 'edit') {\n title.toolbar.Append({\n id:'delete',\n title: FormatMsg('MSG_POSTIT_DELETE'),\n tooltip: FormatMsg('MSG_POSTIT_DELETE'),\n action: function(){deletePostIn.call();},\n image:{ fontFamily:'icons8_win10', value: \"\"},\n });\n}\nfunction toggleOpt(){\n\tif( showOpt ){\n _this.ZtTabs.Select('page1');\n title.toolbar.UpdateItem('options',{'image':{ fontFamily:'icons8_win10', value: \"\"}})\n showOpt = false;\n } else {\n _this.ZtTabs.Select('page2');\n title.toolbar.UpdateItem('options',{'image':{ fontFamily:'icons8_win10', value: \"\"}})\n showOpt = true;\n }\n}\nfunction deletePostIn(){\n if (m_cFunction == 'view' || m_cFunction == 'query') {\n return;\n }\n if (confirm(Translate(\"MSG_DELETE_POSTIT\"))) {\n _this.textualpostit.Value('');\n Set_textualpostit('');\n _this.hidePostIn();\n }\n}\nfunction hidePostIn(){\n\u002f\u002f parent._regWarn.code[idx] = ''\n\u002f\u002f \tparent.HideLayerBox(layer.id);\n \n parent.TogglePostit(w_code);\n}\n\n\n\nfunction dragPostIn(e,obj) {\n \n \u002f\u002f creo un layer trasparente per poter draggare\n var d = parent.document.createElement('div');\n d.id= 'draglayer';\n d.style.cssText = \"top:0;left:0;height:100%;width:100%;position:absolute;z-index:10000;background:rgba(255,255,255,.3);\";\n layer.appendChild(d);\n d.onmouseup = function(){\n \td.parentElement.removeChild(d);\n }\n e=e?e:window.event\n if( !typeof(obj) == \"object\" ) {\n obj=document.getElementById(obj)\n }\n if(obj) parent.dragObj.css=obj.style\n if(!e || !parent.dragObj.css) return\n \u002f\u002fbring to top of stack\n parent.dragObj.css.zIndex=++parent.dragObj.zIndex\n\n \u002f\u002fSave mousedown location\n var aTag=obj;\n var y_delta=0,x_delta=0;\n do {\n aTag=aTag.offsetParent;\n x_delta+=aTag.offsetLeft;\n y_delta+=aTag.offsetTop;\n } while(aTag.tagName!=\"BODY\" && aTag.tagName!=\"HTML\");\n \u002f\u002f In caso di finestra scrollata\n if( Ctrl(\"bodyDiv\") && Ctrl(\"bodyDiv\").scrollTop ) {\n y_delta=y_delta-parent.Ctrl(\"bodyDiv\").scrollTop;\n }\n\n\t\u002f\u002fpunto di partenza \n var pos = eventPos(e);\n parent.dragObj.downX=pos.x+layer.offsetLeft+x_delta;\n parent.dragObj.downY=pos.y+layer.offsetTop+y_delta;\n \n if(document.addEventListener){\n parent.document.addEventListener(\"mousemove\",parent.dragStart,true)\n parent.document.addEventListener(\"mouseup\",parent.dragEnd,true)\n e.preventDefault()\n } else if(document.attachEvent) {\n parent.document.attachEvent(\"onmousemove\",parent.dragStart)\n parent.document.attachEvent(\"onmouseup\",parent.dragEnd)\n return false\n }\n}\n\n\n\n\n\n","adaptive":"fixed","altInterfaceFor":"","bg_image":"","bg_image_position":"","bg_image_repeat":"","bg_image_size":"","cache_in_post":"false","cache_time":"","color":"transparent","container_bg_color":"","container_bg_image":"","container_bg_pos":"","css":"","css_class":"","css_code":"[{\"type\":\"image\",\"name\":\"resize_handle\",\"selector\":\".resize_handle\",\"obj\":\"{\\\"shadow_type\\\":\\\"outline\\\",\\\"border_type\\\":\\\"solid\\\",\\\"states\\\":\\\"normal,hover,:before,:after\\\",\\\"current_state\\\":\\\"normal\\\",\\\"specific_states_value\\\":{\\\"normal\\\":{\\\"border_type\\\":\\\"solid\\\",\\\"shadow_type\\\":\\\"outline\\\",\\\"code\\\":\\\"transform: rotate(90deg);\\\\ncursor: se-resize;\\\\t\\\\ntext-shadow: 1px 1px #888;\\\",\\\"cursor\\\":\\\"\\\"},\\\"hover\\\":{\\\"code\\\":\\\"color:#FFFFFF !important;\\\"},\\\":before\\\":{},\\\":after\\\":{}},\\\"font_list\\\":[],\\\"common_properties\\\":[\\\"current_state\\\",\\\"class_name\\\",\\\"h\\\",\\\"w\\\",\\\"type\\\",\\\"states\\\",\\\"specific_states_value\\\",\\\"common_properties\\\",\\\"selector\\\",\\\"src\\\"],\\\"type\\\":\\\"image\\\",\\\"class_name\\\":\\\"resize_handle\\\",\\\"selector\\\":\\\".resize_handle\\\",\\\"h\\\":\\\"240\\\",\\\"w\\\":\\\"480\\\",\\\"src\\\":\\\".\u002fimages\u002fdefault.jpg\\\",\\\"id\\\":\\\"form\\\",\\\"code\\\":\\\"transform: rotate(90deg);\\\\ncursor: se-resize;\\\\t\\\\ntext-shadow: 1px 1px #888;\\\",\\\"cursor\\\":\\\"\\\"}\",\"code\":\".resize_handle {\\n transform: rotate(90deg);\\n cursor: se-resize;\\n text-shadow: 1px 1px #888;\\n}\\n\\n.resize_handle:hover {\\n color: #FFFFFF !important;\\n}\\n\"},{\"type\":\"textbox\",\"name\":\"color-picker\",\"selector\":\".color-picker\",\"obj\":\"{\\\"shadow_type\\\":\\\"outline\\\",\\\"border_type\\\":\\\"solid\\\",\\\"states\\\":\\\"normal,hover,:before,:after\\\",\\\"current_state\\\":\\\"normal\\\",\\\"specific_states_value\\\":{\\\"normal\\\":{\\\"border_width\\\":\\\"1px\\\",\\\"border_type\\\":\\\"solid\\\",\\\"border_color\\\":\\\"#C9C9C9\\\",\\\"shadow_type\\\":\\\"outline\\\",\\\"code\\\":\\\"\\\"},\\\"hover\\\":{},\\\":before\\\":{},\\\":after\\\":{}},\\\"font_list\\\":[],\\\"common_properties\\\":[\\\"current_state\\\",\\\"class_name\\\",\\\"h\\\",\\\"w\\\",\\\"type\\\",\\\"states\\\",\\\"specific_states_value\\\",\\\"common_properties\\\",\\\"selector\\\",\\\"value\\\"],\\\"type\\\":\\\"textbox\\\",\\\"class_name\\\":\\\"color-picker\\\",\\\"selector\\\":\\\".color-picker\\\",\\\"value\\\":\\\" \\\",\\\"h\\\":\\\"240\\\",\\\"w\\\":\\\"480\\\",\\\"class_Css\\\":\\\"label\\\",\\\"id\\\":\\\"form\\\",\\\"border_width\\\":\\\"1px\\\",\\\"border_color\\\":\\\"#C9C9C9\\\",\\\"code\\\":\\\"\\\"}\",\"code\":\".color-picker {\\n border: 1px solid #C9C9C9;\\n}\\n\"}]","custom":"","description":"","fixed_top":"true","form_action":"","form_enctype":"default","form_target":"","form_type":"false","grapesCode":"\u003cbody\u003e{{ @postit }}{{ @resize_header }}{{ @textualpostit }}{{ @color }}{{ @rgb }}{{ @MultiCompS }}{{ @status }}{{ @datestart }}{{ @datestop }}{{ @MSG_POSTIT_BCKG }}{{ @MSG_POSTIT_LINK }}{{ @MSG_POSTIT_TO }}{{ @MSG_POSTIT_SINCE }}{{ @Box16 }}{{ @color_sample }}\u003c\u002fbody\u003e","grapesCss":"","h":"130,130","hsl":"","htmlcode":" \n{{ @MSG_POSTIT_SINCE }}\n{{ @MSG_POSTIT_TO }}\n{{ @MSG_POSTIT_LINK }}\n{{ @MSG_POSTIT_BCKG }}\n\n{{ @datestop }}\n{{ @datestart }}\n{{ @status }}\n{{ @MultiCompS }}\n{{ @rgb }}\n{{ @color }}\n{{ @textualpostit }}\n{{ @resize_header }}\n{{ @postit }}\n \n{{ @color_sample \n }} \n","included_font":"[]","language":"true","layout_step":"","layout_steps_values":"{}","lock_items":"","manifest":"Custom manifest","max_w":"","min_w":"","mode":"NORMAL","my_library":"","offline":"false","on_security_failure":"login","page_layer":"","pages":"1,2","pagesProp":"[{\"title\":\"PostIn\",\"layer\":\"\",\"h\":\"130\",\"w\":\"100%\",\"layout_steps_values\":{}},{\"title\":\"Options\",\"layer\":\"\",\"h\":\"130\",\"w\":\"100%\",\"layout_steps_values\":{}}]","pages_names":"PostIn,Options","portlet_position":"","positioning":"absolute","roles":"","sec_heredity":"","security":"none","selectZone":"","server_cache_time":"","shared_manifest":"false","sp_theme":"false","steps":"","stretch_height":"true","tabstrip_class":"","tabstrip_hidden":"true","tag":"","title":"custom","title_block":"","title_url":"postin_title_portlet.jsp","type":"Form","v_line":"250","version":"37","w":"100%,100%","wizard":""},{"anchor":"","autocapitalize":"on","autocomplete":"","autofocus":"","calculate":"","class_Css":"","create_undercond":"","ctrlOfVariant":"","dataobj":"","draggable":"","draggable_name":"","droppable":"","droppable_name":"","edit_undercond":"","field":"","fixed":"","floating_placeholder":"","font":"","font_color":"","font_size":"","h":"22","help_tips":"","hide":"true","hide_undercond":"","init":"","init_par":"","layer":"false","layout_steps_values":"{}","maxlength":"","name":"postit","page":"1","password":"","picker":"","picture":"","placeholder":"","rapp":"","readonly":"false","scroll":"true","sequence":"1","spuid":"DLOXQBSMCM","tabindex":"2","type":"Textbox","typehtml5":"","typevar":"character","visible":"true","w":"69","wireframe_props":"name","x":"515","y":"-55","zerofilling":"false","zindex":"1","zone":"","zoom":""},{"alt":"","anchor":"bottom-right","bounded_position":"","class_Css":"resize_handle","create_undercond":"","ctrlOfVariant":"","dataobj":"","edit_undercond":"","field":"","fixed":"","font_color":"#FFFFFF","font_color_hover":"#FFFFFF","font_image":"","font_image_hover":"","font_name":"icons8_win10","font_size":"10","h":"20","help_tips":"","hide":"false","hide_undercond":"","href":"","img_type":"font icon","keep_proportions":"false","layer":"false","layout_steps_values":"{}","name":"resize_header","page":"1","path_type":"","rapp":"","sequence":"1","server_side":"","spuid":"","src":"","srchover":"","tabindex":"","target":"","type":"Image","type_submit":"false","w":"20","wireframe_props":"","x":"230","y":"110","zindex":"2","zone":""},{"anchor":"top-left-right-bottom","autocapitalize":"on","autocomplete":"","autofocus":"","calculate":"","class_Css":"postInTextArea","create_undercond":"","ctrlOfVariant":"","dataobj":"","draggable":"","draggable_name":"","droppable":"","droppable_name":"","edit_undercond":"","field":"","fixed":"","floating_placeholder":"","font":"","font_color":"","font_size":"","h":"130","help_tips":"","hide":"false","hide_undercond":"","init":"","init_par":"","layer":"false","layout_steps_values":"{}","maxlength":"","name":"textualpostit","page":"1","password":"","picker":"","picture":"","placeholder":"","rapp":"","readonly":"false","scroll":"true","sequence":"2","spuid":"AXQOJKZPCB","tabindex":"4","type":"Textbox","typehtml5":"","typevar":"character","visible":"true","w":"250","wireframe_props":"name","x":"0","y":"0","zerofilling":"false","zindex":"1","zone":"","zoom":""},{"anchor":"","autocapitalize":"on","autocomplete":"","autofocus":"","calculate":"","class_Css":"","create_undercond":"","ctrlOfVariant":"","dataobj":"","draggable":"","draggable_name":"","droppable":"","droppable_name":"","edit_undercond":"","field":"","fixed":"","floating_placeholder":"","font":"","font_color":"","font_size":"","h":"22","help_tips":"","hide":"true","hide_undercond":"","init":"","init_par":"","layer":"false","layout_steps_values":"{}","maxlength":"9","name":"color","page":"1","password":"","picker":"","picture":"","placeholder":"","rapp":"","readonly":"false","scroll":"false","sequence":"3","spuid":"QMMPPRPKPM","tabindex":"9","type":"Textbox","typehtml5":"","typevar":"character","visible":"true","w":"69","wireframe_props":"name","x":"515","y":"-32","zerofilling":"false","zindex":"1","zone":"","zoom":""},{"anchor":"","autocapitalize":"on","autocomplete":"","autofocus":"","calculate":"","class_Css":"","create_undercond":"","ctrlOfVariant":"","dataobj":"","draggable":"","draggable_name":"","droppable":"","droppable_name":"","edit_undercond":"","field":"","fixed":"","floating_placeholder":"","font":"","font_color":"","font_size":"","h":"22","help_tips":"","hide":"true","hide_undercond":"","init":"","init_par":"","layer":"false","layout_steps_values":"{}","maxlength":"9","name":"rgb","page":"1","password":"","picker":"","picture":"","placeholder":"","rapp":"","readonly":"false","scroll":"false","sequence":"4","spuid":"QJYBYSKPAF","tabindex":"10","type":"Textbox","typehtml5":"","typevar":"character","visible":"true","w":"69","wireframe_props":"name","x":"515","y":"-9","zerofilling":"false","zindex":"1","zone":"","zoom":""},{"anchor":"","autocapitalize":"on","autocomplete":"","autofocus":"","calculate":"","class_Css":"","create_undercond":"","ctrlOfVariant":"","dataobj":"","draggable":"","draggable_name":"","droppable":"","droppable_name":"","edit_undercond":"","field":"","fixed":"","floating_placeholder":"","font":"","font_color":"","font_size":"","h":"22","help_tips":"","hide":"true","hide_undercond":"","init":"","init_par":"","layer":"false","layout_steps_values":"{}","maxlength":"","name":"MultiCompS","page":"1","password":"","picker":"","picture":"","placeholder":"","rapp":"","readonly":"false","scroll":"true","sequence":"5","spuid":"BGICHNXDNR","tabindex":"17","type":"Textbox","typehtml5":"","typevar":"character","visible":"true","w":"69","wireframe_props":"name","x":"515","y":"14","zerofilling":"false","zindex":"1","zone":"","zoom":""},{"anchor":"top-left","calculate":"","checked_value":"true","create_undercond":"","css_class":"label","css_class_input":"","ctrlOfVariant":"","dataobj":"","disabled":"false","edit_undercond":"","field":"","fixed":"","h":"20","help_tips":"","hide":"false","hide_undercond":"","init":"","init_par":"","label_text":"","layer":"false","layout_steps_values":"{}","name":"status","page":"2","rapp":"","sequence":"6","spuid":"QHAFRTKOJS","style_type":"","tabindex":"1","type":"Checkbox","typevar":"logic","unchecked_value":"false","w":"20","wireframe_props":"label_text","x":"120","y":"70","zindex":"1","zone":""},{"anchor":"top-left","autocapitalize":"on","autocomplete":"","autofocus":"","calculate":"","class_Css":"","create_undercond":"","ctrlOfVariant":"","dataobj":"","draggable":"","draggable_name":"","droppable":"","droppable_name":"","edit_undercond":"","field":"","fixed":"","floating_placeholder":"","font":"","font_color":"","font_size":"","h":"20","help_tips":"","hide":"false","hide_undercond":"","init":"","init_par":"","layer":"false","layout_steps_values":"{}","maxlength":"19","name":"datestart","page":"2","password":"","picker":"","picture":"","placeholder":"","rapp":"","readonly":"false","scroll":"false","sequence":"7","spuid":"AIFEBZGNZP","tabindex":"2","type":"Textbox","typehtml5":"","typevar":"character","visible":"true","w":"140","wireframe_props":"name","x":"85","y":"15","zerofilling":"false","zindex":"1","zone":"","zoom":""},{"anchor":"top-left","autocapitalize":"on","autocomplete":"","autofocus":"","calculate":"","class_Css":"","create_undercond":"","ctrlOfVariant":"","dataobj":"","draggable":"","draggable_name":"","droppable":"","droppable_name":"","edit_undercond":"","field":"","fixed":"","floating_placeholder":"","font":"","font_color":"","font_size":"","h":"20","help_tips":"","hide":"false","hide_undercond":"","init":"","init_par":"","layer":"false","layout_steps_values":"{}","maxlength":"19","name":"datestop","page":"2","password":"","picker":"","picture":"","placeholder":"","rapp":"","readonly":"false","scroll":"false","sequence":"8","spuid":"GPUYALDNLH","tabindex":"3","type":"Textbox","typehtml5":"","typevar":"character","visible":"true","w":"140","wireframe_props":"name","x":"85","y":"40","zerofilling":"false","zindex":"1","zone":"","zoom":""},{"align":"right","anchor":"top-left","assoc_input":"","bg_color":"","calculate":"","class_Css":"","create_undercond":"","ctrlOfVariant":"","dataobj":"","draggable":"","draggable_name":"","droppable":"","droppable_name":"","edit_undercond":"","enable_HTML":"false","field":"","fixed":"","font":"","font_color":"","font_size":"","font_weight":"","fontpct":"","h":"20","heading":"","help_tips":"","hide":"false","hide_undercond":"","href":"","init":"","layer":"false","layout_steps_values":"{}","n_col":"1","name":"MSG_POSTIT_BCKG","nowrap":"false","page":"2","picture":"","rapp":"","sanitize":"","sanitize_tags":"","sequence":"9","server_side":"","shrinkable":"","spuid":"HUWCVWEWXR_DIV","tabindex":"5","target":"","template_code":"","type":"Label","value":"MSG_POSTIT_BCKG","w":"108","wireframe_props":"align,value,n_col","x":"10","y":"100","zindex":"1","zone":""},{"align":"right","anchor":"top-left","assoc_input":"","bg_color":"","calculate":"","class_Css":"","create_undercond":"","ctrlOfVariant":"","dataobj":"","draggable":"","draggable_name":"","droppable":"","droppable_name":"","edit_undercond":"","enable_HTML":"false","field":"","fixed":"","font":"","font_color":"","font_size":"","font_weight":"","fontpct":"","h":"20","heading":"","help_tips":"","hide":"false","hide_undercond":"","href":"","init":"","layer":"false","layout_steps_values":"{}","n_col":"1","name":"MSG_POSTIT_LINK","nowrap":"false","page":"2","picture":"","rapp":"","sanitize":"","sanitize_tags":"","sequence":"10","server_side":"","shrinkable":"","spuid":"ZGDCTVATTU_DIV","tabindex":"6","target":"","template_code":"","type":"Label","value":"MSG_POSTIT_LINK","w":"108","wireframe_props":"align,value,n_col","x":"10","y":"75","zindex":"1","zone":""},{"align":"right","anchor":"top-left","assoc_input":"","bg_color":"","calculate":"","class_Css":"","create_undercond":"","ctrlOfVariant":"","dataobj":"","draggable":"","draggable_name":"","droppable":"","droppable_name":"","edit_undercond":"","enable_HTML":"false","field":"","fixed":"","font":"","font_color":"","font_size":"","font_weight":"","fontpct":"","h":"20","heading":"","help_tips":"","hide":"false","hide_undercond":"","href":"","init":"","layer":"false","layout_steps_values":"{}","n_col":"1","name":"MSG_POSTIT_TO","nowrap":"false","page":"2","picture":"","rapp":"","sanitize":"","sanitize_tags":"","sequence":"11","server_side":"","shrinkable":"","spuid":"WTBKZVYTLX_DIV","tabindex":"7","target":"","template_code":"","type":"Label","value":"MSG_POSTIT_TO","w":"70","wireframe_props":"align,value,n_col","x":"10","y":"40","zindex":"1","zone":""},{"align":"right","anchor":"top-left","assoc_input":"","bg_color":"","calculate":"","class_Css":"","create_undercond":"","ctrlOfVariant":"","dataobj":"","draggable":"","draggable_name":"","droppable":"","droppable_name":"","edit_undercond":"","enable_HTML":"false","field":"","fixed":"","font":"","font_color":"","font_size":"","font_weight":"","fontpct":"","h":"20","heading":"","help_tips":"","hide":"false","hide_undercond":"","href":"","init":"","layer":"false","layout_steps_values":"{}","n_col":"1","name":"MSG_POSTIT_SINCE","nowrap":"false","page":"2","picture":"","rapp":"","sanitize":"","sanitize_tags":"","sequence":"12","server_side":"","shrinkable":"","spuid":"IGAXWLZQBV_DIV","tabindex":"8","target":"","template_code":"","type":"Label","value":"MSG_POSTIT_SINCE","w":"70","wireframe_props":"align,value,n_col","x":"10","y":"15","zindex":"1","zone":""},{"calculate":"","ctrlOfVariant":"","dataobj":"","decrypt":"","decrypt_pwd":"","encrypt":"","encrypt_pwd":"","field":"","h":"22","init":"","init_par":"request","name":"layerId","page":"1","reactive":"","sequence":"13","server_side":"false","type":"Variable","typevar":"character","w":"69","x":"515","y":"46"},{"calculate":"","ctrlOfVariant":"","dataobj":"","decrypt":"","decrypt_pwd":"","encrypt":"","encrypt_pwd":"","field":"","h":"22","init":"","init_par":"request","name":"code","page":"1","reactive":"","sequence":"14","server_side":"false","type":"Variable","typevar":"character","w":"69","x":"515","y":"-78"},{"anchor":"","bg_color":"","border_color":"","border_weight":"","class_Css":"color-picker","collapsible":"","create_undercond":"","ctrlOfVariant":"","fixed":"","groupName":"","h":"20","hide":"false","hide_undercond":"","href":"","layer":"false","layout_steps_values":"{}","name":"color_sample","page":"2","rapp":"","sequence":"15","shrinkable":"","spuid":"","stretch":"false","target":"","title_caption":"","title_portlet":"","titled":"","type":"Box","w":"20","wireframe_props":"","x":"125","y":"99","zindex":"3","zone":""}]%> <%/*Description:*/%> <%/*ParamsRequest:layerId,code*/%> <%@ page import="com.zucchetti.SPBridge.*" %><%@ page import="java.util.*" %><%@ page import="com.zucchetti.PortalStudio.*" %><%@ page import="com.zucchetti.sitepainter.*" %> <%@ page import="com.zucchetti.sitepainter.SPPrxycizer" %><%@page extends="com.zucchetti.PortalStudio.PortalStudioBase" %> <%@ page language="java" pageEncoding="UTF-8" %><%Sitepainter sp=Sitepainter.getSitepainter(request); String m_cJSPUID=getJSPUID(); String m_cTITLEUID=JSPLib.getPortletTitleUid(m_cJSPUID); String idPortlet=sp.getPortletId(request,sp.getParameter("ForcedPortletUID",JSPLib.NewCPCCCHK(5))); String PageletId = (request.getAttribute("PageletId") != null ? (String)request.getAttribute("PageletId" ) : sp.getParameter("PageletId" ,"") ); String SPPortletTitleId = (request.getAttribute("SPPortletTitleId") != null ? (String)request.getAttribute("SPPortletTitleId") : sp.getParameter("SPPortletTitleId","") ); String SPParentObjId=(request.getAttribute("SPParentObjId")!=null?(String)request.getAttribute("SPParentObjId"):sp.getParameter("SPParentObjId","")); request.setAttribute("com.zucchetti.sitepainter.PortalStudio.getCryptPwd",JSPLib.NewCPCCCHK(6)); if(sp.getParameter("SpStaticCode","").equals(m_cJSPUID)){ Library.SetMimeType(response,"text/javascript"); response.setDateHeader("Last-Modified",new Date().getTime() - 604800000L); response.setDateHeader("Expires", new Date().getTime() + 604800000L); response.setHeader("Cache-Control","public"); %> window.postin_user_Static=function(){ if(typeof color_sample_Click !='undefined')this.color_sample_Click=color_sample_Click; if(typeof setBackgroundColor !='undefined')this.setBackgroundColor=setBackgroundColor; if(typeof toggleOpt !='undefined')this.toggleOpt=toggleOpt; if(typeof deletePostIn !='undefined')this.deletePostIn=deletePostIn; if(typeof hidePostIn !='undefined')this.hidePostIn=hidePostIn; if(typeof dragPostIn !='undefined')this.dragPostIn=dragPostIn; this.this_Calc=function(){ <%if(!Library.Empty(PageletId) ){%> this.PageletCalc(); <%}%> this.EnablePage(1); this.EnablePage(2); } this.EnablePage(1); this.EnablePage(2); function color_sample_Click(){ if (m_cFunction == 'view' || m_cFunction == 'query') return; windowOpenForeground('../visualweb/select_color.html?for=rgb', "SelectColor", "width=250,height=160,top=300,left=300,scroll=no,status=no,toolbar=no") } function setBackgroundColor(w_color){ var i = this.color_sample.Ctrl_content; var t = this.textualpostit.Ctrl_input; i.style.backgroundColor = 'rgb(' + (Mod(Val(w_color), 256)) + ',' + (Mod(Int(Val(w_color) / 256), 256)) + ',' + (Mod(Int(Val(w_color) / 65536), 256)) + ')'; t.style.backgroundColor = i.style.backgroundColor; return w_color; } var _this = this; var layerId = this.layerId.Value(); //aggiorno la variabile d'appoggio contenente gli id dei postin in caso di nuovo inserimento if ( w_code!=this.code.Value() && parent._regWarn.code[parent._regWarn.code.length-1]==this.code.Value()) parent._regWarn.code[parent._regWarn.code.length-1] = w_code; //inizializzo le dimensioni del layer var title = this.getTitlePortlet(); var lw = typeof sv_PostitWidth != 'undefined' ? sv_PostitWidht : '250', lh = typeof sv_PostitHeight != 'undefined' ? sv_PostitHeight : '200'; var layer = parent.document.getElementById(layerId); // //var br = layer.getBoundingClientRect(); //layer.style.cssText = 'height:' + lh + 'px;width:' + lw + 'px;top:'+br.top+'px;left:'+br.left+'px;position:absolute;z-index:999'; // layer.style.height = lh + 'px'; layer.style.width = lw + 'px'; this.textualpostit.Ctrl_input.style.border = '0'; this.textualpostit.Ctrl_input.style.padding = '0'; this.textualpostit.Ctrl_input.style.display = 'block'; // funzione per dare la corretta dimensione al portlet considerando che è stretch ed ha il titolo var titleTime (function setHeight(){ if(titleTime) clearTimeout(titleTime) if( title.Ctrl.offsetHeight == 0 ) { titleTime = setTimeout( setHeight, 10); } else { _this.Ctrl_container.style.height = "calc(100% - "+title.Ctrl.offsetHeight+"px)"; } })(); // gestione del drag&drop e del ridimensionamento this.resize_header.Ctrl.addEventListener('mousedown', function(e){ title.toolbar.CloseMenu(); parent.dragObj.css=layer.style; parent.dragObj.minW = 250; parent.dragObj.minH = 150; parent.dragObj.resize = 'so'; _this.dragPostIn(e,layer) }); title.Ctrl.onmousedown = function (e) { if (!e || e.srcElement.tagName == 'A' || e.srcElement.parentElement.tagName == 'A') return; title.toolbar.CloseMenu(); _this.dragPostIn(e, layer); } //gestione della toolbar nel titolo del portlet //this.AddButton=function(image, action, target, title, tooltip, idx) var showOpt = false; // title.toolbar.AppendMenuItem({ title.SetTitle(FormatMsg('MSG_POSTIT')); title.toolbar.Append({ id:'options', title: FormatMsg('MSG_POSTIT_OPTIONS'), tooltip: FormatMsg('MSG_POSTIT_OPTIONS'), action: toggleOpt, image:{ fontFamily:'icons8_win10', value: ""}, }); title.toolbar.Append({ id:'hide', title: FormatMsg('MSG_POSTIT_HIDE'), tooltip: FormatMsg('MSG_POSTIT_HIDE'), action: hidePostIn, image:{ fontFamily:'icons8_win10', value: ""}, }); if (m_cFunction == 'new' || m_cFunction == 'edit') { title.toolbar.Append({ id:'delete', title: FormatMsg('MSG_POSTIT_DELETE'), tooltip: FormatMsg('MSG_POSTIT_DELETE'), action: function(){deletePostIn.call();}, image:{ fontFamily:'icons8_win10', value: ""}, }); } function toggleOpt(){ if( showOpt ){ _this.ZtTabs.Select('page1'); title.toolbar.UpdateItem('options',{'image':{ fontFamily:'icons8_win10', value: ""}}) showOpt = false; } else { _this.ZtTabs.Select('page2'); title.toolbar.UpdateItem('options',{'image':{ fontFamily:'icons8_win10', value: ""}}) showOpt = true; } } function deletePostIn(){ if (m_cFunction == 'view' || m_cFunction == 'query') { return; } if (confirm(Translate("MSG_DELETE_POSTIT"))) { _this.textualpostit.Value(''); Set_textualpostit(''); _this.hidePostIn(); } } function hidePostIn(){ // parent._regWarn.code[idx] = '' // parent.HideLayerBox(layer.id); parent.TogglePostit(w_code); } function dragPostIn(e,obj) { // creo un layer trasparente per poter draggare var d = parent.document.createElement('div'); d.id= 'draglayer'; d.style.cssText = "top:0;left:0;height:100%;width:100%;position:absolute;z-index:10000;background:rgba(255,255,255,.3);"; layer.appendChild(d); d.onmouseup = function(){ d.parentElement.removeChild(d); } e=e?e:window.event if( !typeof(obj) == "object" ) { obj=document.getElementById(obj) } if(obj) parent.dragObj.css=obj.style if(!e || !parent.dragObj.css) return //bring to top of stack parent.dragObj.css.zIndex=++parent.dragObj.zIndex //Save mousedown location var aTag=obj; var y_delta=0,x_delta=0; do { aTag=aTag.offsetParent; x_delta+=aTag.offsetLeft; y_delta+=aTag.offsetTop; } while(aTag.tagName!="BODY" && aTag.tagName!="HTML"); // In caso di finestra scrollata if( Ctrl("bodyDiv") && Ctrl("bodyDiv").scrollTop ) { y_delta=y_delta-parent.Ctrl("bodyDiv").scrollTop; } //punto di partenza var pos = eventPos(e); parent.dragObj.downX=pos.x+layer.offsetLeft+x_delta; parent.dragObj.downY=pos.y+layer.offsetTop+y_delta; if(document.addEventListener){ parent.document.addEventListener("mousemove",parent.dragStart,true) parent.document.addEventListener("mouseup",parent.dragEnd,true) e.preventDefault() } else if(document.attachEvent) { parent.document.attachEvent("onmousemove",parent.dragStart) parent.document.attachEvent("onmouseup",parent.dragEnd) return false } } this.dispatchEvent('HideUnderCondition'); this.dispatchEvent('EditUnderCondition'); } <%}else if(sp.getParameter("SpCssCode","").equals(m_cJSPUID)){ Library.SetMimeType(response,"text/css"); response.setDateHeader("Last-Modified",new Date().getTime() - 604800000L); response.setDateHeader("Expires", new Date().getTime() + 604800000L); response.setHeader("Cache-Control","public"); %> .postin_user_container .resize_handle{ transform: rotate(90deg); cursor: se-resize; text-shadow: 1px 1px #888; } .postin_user_container .resize_handle:hover{ color:#FFFFFF !important; } .postin_user_container .color-picker{ border: 1px solid #C9C9C9; } .postin_user_container { height:100%; overflow:auto; } .postin_user_portlet{ position:relative; min-width:250px; height:100%; background-color:transparent; } .postin_user_portlet[Data-page="1"]{ height:100%; width:100%; } .postin_user_portlet[Data-page="2"]{ height:100%; width:100%; } .postin_user_portlet > .postin_user_page > .postit_ctrl { box-sizing:border-box; z-index:1; position:absolute; display:inline-block; top:-55px; left:515px; width:69px; height:22px; display:none; } .postin_user_portlet > .postin_user_page > .postit_ctrl { } .postin_user_portlet > .postin_user_page > .postit_ctrl > textarea{ z-index:1; box-sizing:border-box; width:100%; height:100%; } .postin_user_portlet > .postin_user_page > .resize_header_ctrl { box-sizing:border-box; z-index:2; position:absolute; display:inline-block; right:0px; bottom:0px; width:20px; height:20px; } .postin_user_portlet > .postin_user_page > .resize_header_ctrl { text-decoration:none; font-family:icons8_win10; text-align:center; line-height:20px; font-size:10px; color:#FFFFFF; } .postin_user_portlet > .postin_user_page > .textualpostit_ctrl { box-sizing:border-box; z-index:1; position:absolute; display:inline-block; top:0px; left:0px; right:0px; bottom:0px; width:auto; } .postin_user_portlet > .postin_user_page > .textualpostit_ctrl { } .postin_user_portlet > .postin_user_page > .textualpostit_ctrl > textarea{ z-index:1; box-sizing:border-box; width:100%; height:100%; } .postin_user_portlet > .postin_user_page > .color_ctrl { box-sizing:border-box; z-index:1; position:absolute; display:inline-block; top:-32px; left:515px; width:69px; height:22px; display:none; } .postin_user_portlet > .postin_user_page > .color_ctrl { } .postin_user_portlet > .postin_user_page > .color_ctrl > input{ vertical-align:top; box-sizing:border-box; z-index:1; width:100%; height:100%; } .postin_user_portlet > .postin_user_page > .rgb_ctrl { box-sizing:border-box; z-index:1; position:absolute; display:inline-block; top:-9px; left:515px; width:69px; height:22px; display:none; } .postin_user_portlet > .postin_user_page > .rgb_ctrl { } .postin_user_portlet > .postin_user_page > .rgb_ctrl > input{ vertical-align:top; box-sizing:border-box; z-index:1; width:100%; height:100%; } .postin_user_portlet > .postin_user_page > .MultiCompS_ctrl { box-sizing:border-box; z-index:1; position:absolute; display:inline-block; top:14px; left:515px; width:69px; height:22px; display:none; } .postin_user_portlet > .postin_user_page > .MultiCompS_ctrl { } .postin_user_portlet > .postin_user_page > .MultiCompS_ctrl > textarea{ z-index:1; box-sizing:border-box; width:100%; height:100%; } .postin_user_portlet > .postin_user_page > .status_ctrl { box-sizing:border-box; z-index:1; position:absolute; display:inline-block; top:70px; left:120px; width:20px; height:20px; } .postin_user_portlet > .postin_user_page > .datestart_ctrl { box-sizing:border-box; z-index:1; position:absolute; display:inline-block; top:15px; left:85px; width:140px; height:20px; } .postin_user_portlet > .postin_user_page > .datestart_ctrl { } .postin_user_portlet > .postin_user_page > .datestart_ctrl > input{ vertical-align:top; box-sizing:border-box; z-index:1; width:100%; height:100%; } .postin_user_portlet > .postin_user_page > .datestop_ctrl { box-sizing:border-box; z-index:1; position:absolute; display:inline-block; top:40px; left:85px; width:140px; height:20px; } .postin_user_portlet > .postin_user_page > .datestop_ctrl { } .postin_user_portlet > .postin_user_page > .datestop_ctrl > input{ vertical-align:top; box-sizing:border-box; z-index:1; width:100%; height:100%; } .postin_user_portlet > .postin_user_page > .MSG_POSTIT_BCKG_ctrl { box-sizing:border-box; z-index:1; position:absolute; display:inline-block; top:100px; left:10px; width:108px; height:auto; min-height:20px; } .postin_user_portlet > .postin_user_page > .MSG_POSTIT_BCKG_ctrl { height:auto; min-height:20px; } .postin_user_portlet > .postin_user_page > .MSG_POSTIT_BCKG_ctrl { overflow:hidden; text-align:right; } .postin_user_portlet > .postin_user_page > .MSG_POSTIT_LINK_ctrl { box-sizing:border-box; z-index:1; position:absolute; display:inline-block; top:75px; left:10px; width:108px; height:auto; min-height:20px; } .postin_user_portlet > .postin_user_page > .MSG_POSTIT_LINK_ctrl { height:auto; min-height:20px; } .postin_user_portlet > .postin_user_page > .MSG_POSTIT_LINK_ctrl { overflow:hidden; text-align:right; } .postin_user_portlet > .postin_user_page > .MSG_POSTIT_TO_ctrl { box-sizing:border-box; z-index:1; position:absolute; display:inline-block; top:40px; left:10px; width:70px; height:auto; min-height:20px; } .postin_user_portlet > .postin_user_page > .MSG_POSTIT_TO_ctrl { height:auto; min-height:20px; } .postin_user_portlet > .postin_user_page > .MSG_POSTIT_TO_ctrl { overflow:hidden; text-align:right; } .postin_user_portlet > .postin_user_page > .MSG_POSTIT_SINCE_ctrl { box-sizing:border-box; z-index:1; position:absolute; display:inline-block; top:15px; left:10px; width:70px; height:auto; min-height:20px; } .postin_user_portlet > .postin_user_page > .MSG_POSTIT_SINCE_ctrl { height:auto; min-height:20px; } .postin_user_portlet > .postin_user_page > .MSG_POSTIT_SINCE_ctrl { overflow:hidden; text-align:right; } .postin_user_portlet > .postin_user_page > .color_sample_ctrl { box-sizing:border-box; z-index:3; position:absolute; display:inline-block; top:99px; left:125px; width:20px; height:auto; min-height:20px; display:flex; flex-direction:column; } .postin_user_portlet > .postin_user_page > .color_sample_ctrl { height:20px; } .postin_user_portlet > .postin_user_page > .color_sample_ctrl > .box_content { height:100%; } .postin_user_portlet > .postin_user_page > .color_sample_ctrl { min-height:20px; } <%}else if(sp.getParameter("SpWireframe","").equals("true")){ String containerId=sp.getParameter("containerID",idPortlet); Library.SetMimeType(response,"text/html"); response.setDateHeader("Last-Modified",new Date().getTime() - 604800000L); response.setDateHeader("Expires", new Date().getTime() + 604800000L); response.setHeader("Cache-Control","public"); PrintWireFrame(containerId,out); %> <%! void PrintWireFrame(String containerId, java.io.Writer out) throws java.lang.Throwable { String def="[{\"h\":\"130,130\",\"layout_steps_values\":{},\"pages_names\":\"PostIn,Options\",\"steps\":\"\",\"title\":\"custom\",\"type\":\"Form\",\"v_line\":\"250\",\"w\":\"100%,100%\",\"wizard\":\"\"},{\"anchor\":\"\",\"h\":\"22\",\"layout_steps_values\":{},\"name\":\"postit\",\"page\":\"1\",\"type\":\"Textbox\",\"w\":\"69\",\"x\":\"515\",\"y\":\"-55\",\"zindex\":\"1\"},{\"anchor\":\"bottom-right\",\"h\":\"20\",\"layout_steps_values\":{},\"name\":\"resize_header\",\"page\":\"1\",\"type\":\"Image\",\"w\":\"20\",\"x\":\"230\",\"y\":\"110\",\"zindex\":\"2\"},{\"anchor\":\"top-left-right-bottom\",\"h\":\"130\",\"layout_steps_values\":{},\"name\":\"textualpostit\",\"page\":\"1\",\"type\":\"Textbox\",\"w\":\"250\",\"x\":\"0\",\"y\":\"0\",\"zindex\":\"1\"},{\"anchor\":\"\",\"h\":\"22\",\"layout_steps_values\":{},\"name\":\"color\",\"page\":\"1\",\"type\":\"Textbox\",\"w\":\"69\",\"x\":\"515\",\"y\":\"-32\",\"zindex\":\"1\"},{\"anchor\":\"\",\"h\":\"22\",\"layout_steps_values\":{},\"name\":\"rgb\",\"page\":\"1\",\"type\":\"Textbox\",\"w\":\"69\",\"x\":\"515\",\"y\":\"-9\",\"zindex\":\"1\"},{\"anchor\":\"\",\"h\":\"22\",\"layout_steps_values\":{},\"name\":\"MultiCompS\",\"page\":\"1\",\"type\":\"Textbox\",\"w\":\"69\",\"x\":\"515\",\"y\":\"14\",\"zindex\":\"1\"},{\"anchor\":\"top-left\",\"h\":\"20\",\"label_text\":\"\",\"layout_steps_values\":{},\"name\":\"status\",\"page\":\"2\",\"type\":\"Checkbox\",\"w\":\"20\",\"x\":\"120\",\"y\":\"70\",\"zindex\":\"1\"},{\"anchor\":\"top-left\",\"h\":\"20\",\"layout_steps_values\":{},\"name\":\"datestart\",\"page\":\"2\",\"type\":\"Textbox\",\"w\":\"140\",\"x\":\"85\",\"y\":\"15\",\"zindex\":\"1\"},{\"anchor\":\"top-left\",\"h\":\"20\",\"layout_steps_values\":{},\"name\":\"datestop\",\"page\":\"2\",\"type\":\"Textbox\",\"w\":\"140\",\"x\":\"85\",\"y\":\"40\",\"zindex\":\"1\"},{\"align\":\"right\",\"anchor\":\"top-left\",\"h\":\"20\",\"layout_steps_values\":{},\"n_col\":\"1\",\"name\":\"MSG_POSTIT_BCKG\",\"page\":\"2\",\"type\":\"Label\",\"value\":\"MSG_POSTIT_BCKG\",\"w\":\"108\",\"x\":\"10\",\"y\":\"100\",\"zindex\":\"1\"},{\"align\":\"right\",\"anchor\":\"top-left\",\"h\":\"20\",\"layout_steps_values\":{},\"n_col\":\"1\",\"name\":\"MSG_POSTIT_LINK\",\"page\":\"2\",\"type\":\"Label\",\"value\":\"MSG_POSTIT_LINK\",\"w\":\"108\",\"x\":\"10\",\"y\":\"75\",\"zindex\":\"1\"},{\"align\":\"right\",\"anchor\":\"top-left\",\"h\":\"20\",\"layout_steps_values\":{},\"n_col\":\"1\",\"name\":\"MSG_POSTIT_TO\",\"page\":\"2\",\"type\":\"Label\",\"value\":\"MSG_POSTIT_TO\",\"w\":\"70\",\"x\":\"10\",\"y\":\"40\",\"zindex\":\"1\"},{\"align\":\"right\",\"anchor\":\"top-left\",\"h\":\"20\",\"layout_steps_values\":{},\"n_col\":\"1\",\"name\":\"MSG_POSTIT_SINCE\",\"page\":\"2\",\"type\":\"Label\",\"value\":\"MSG_POSTIT_SINCE\",\"w\":\"70\",\"x\":\"10\",\"y\":\"15\",\"zindex\":\"1\"},{\"h\":\"22\",\"name\":\"layerId\",\"page\":\"1\",\"type\":\"Variable\",\"w\":\"69\",\"x\":\"515\",\"y\":\"46\"},{\"h\":\"22\",\"name\":\"code\",\"page\":\"1\",\"type\":\"Variable\",\"w\":\"69\",\"x\":\"515\",\"y\":\"-78\"},{\"anchor\":\"\",\"h\":\"20\",\"layout_steps_values\":{},\"name\":\"color_sample\",\"page\":\"2\",\"type\":\"Box\",\"w\":\"20\",\"x\":\"125\",\"y\":\"99\",\"zindex\":\"3\"}]"; out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("
\n"); out.write("\n"); }/**/%> <%}else{ if (JSPLib.checkApplication(request, response, out, sp, 37,"postin_user","UTF-8")) {return; } %><%boolean included=request.getAttribute("javax.servlet.include.request_uri")!=null || "true".equals(request.getParameter("clientsideinclusion")); Map safe_params; if(!included){%> <%} if(!included){%> /> <%Library.WriteMetaTags(request,response,out); } sp.WritePortletJSLibraries(request, out, false,false); %> <%String postit= ""; if(request.getAttribute("postin_user_firstinclusion")==null){ if (Library.IsMobile(request)) {%> <% } %><%} String textualpostit= ""; String color= ""; String rgb= ""; String MultiCompS= ""; boolean status= false; String datestart= ""; String datestop= ""; String MSG_POSTIT_BCKG= "MSG_POSTIT_BCKG"; String MSG_POSTIT_LINK= "MSG_POSTIT_LINK"; String MSG_POSTIT_TO= "MSG_POSTIT_TO"; String MSG_POSTIT_SINCE= "MSG_POSTIT_SINCE"; String layerId=JSPLib.translateXSS(sp.getParameter("layerId","")); String code=JSPLib.translateXSS(sp.getParameter("code","")); try{ if(!included){%> <%} if(!included){%> > <%= Sitepainter.GetBodyMobileScript(request) %><%}%>
<%out.flush(); if(!Library.includeResource(request,response,"/"+sp.getSkin()+"/jsp-decorators/postin_title_portlet.jsp?ForcedPortletUID="+idPortlet+"_"+m_cTITLEUID+"",true)) if(!Library.includeResource(request,response,"/jsp-decorators/postin_title_portlet.jsp?ForcedPortletUID="+idPortlet+"_"+m_cTITLEUID+"",true)) Library.includeResource(request,response,"/jsp/postin_title_portlet.jsp?ForcedPortletUID="+idPortlet+"_"+m_cTITLEUID+"",false);%>
<%if(sp.isLogged()){ if(sp.isInGroup(1) && sp.getGlobal("g_EditPortlet",false)==true){%> <%}}%>
<%if(request.getAttribute("postin_user_firstinclusion")==null){%> <%request.setAttribute("postin_user_firstinclusion",idPortlet); }%> <%if(!included){%> <%} }finally{ }%> <%if(!included){%> <%} sp.endPage("postin_user"); }%> <%! public String getJSPUID() { return "58147459"; } %>