Altres idiomes

Català Castellano English
Ajuntament de Badalona
Concert de Cal Txiringu

Concert de Cal Txiringu

Content Server Error idc.log.traceExecution = true; idc.log.setTracingSections(new Array("system")); // bootstrapping strings and flags for all users var httpAdminCgiPath = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg/cs-admin/pxs"; var httpBrowserFullCgiPath = "http://eucm:7600/idc/idcplg"; var httpCgiPath = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg"; var httpCommonRoot = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/common/"; var httpEnterpriseCgiPath = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg"; var httpWebRoot = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/"; var HttpHelpRoot = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/help/"; var HttpSystemHelpRoot = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/help/"; var httpSchemaRoot = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/resources/schema/"; var instanceMenuLabel = "ucme1"; var isContentRefineryPresent = true; var isDynamicConverterEnabled = true; var isFoldersEnabled = true; var isJspServerEnabled = false; var useCollaboration = true; var searchIndexerEngineName = "ORACLETEXTSEARCH"; var searchEngineName = "ORACLETEXTSEARCH"; var dbSuffix = "> 0"; var allowIntranetUsers = false; var coreContentOnly = true; var hasHierarchicalBased = false; var isUserPage = true; var isProxiedServer = false; var queryString = "IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=HOME_PAGE"; var isPostRequest = 1; var registerUsers = false; var stdPageWidth = ""; var quickSearchQuery = ""; var hasHierarchicalBased = true; var hasQueryBased = true; var minPopupWidth = 150; var httpSkinRoot = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/stellent/"; var httpLayoutRoot = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/"; var lmSkinName = "Oracle"; var lmLayoutName = "Top Menus"; var lcDirection = "ltr"; var groupVarList = new Object(); var quickSearchForm ="tu003ctd nowrap="nowrap" colspan="2" valign="top"u003enu003cform name="MINISEARCHFORMVARS" style="display:inline;"u003entu003cinput type="hidden" name="ResultCount" value="25" /u003enu003c/formu003ennu003cform target = "_self" name="MINISEARCHFORM" method="GET" action="/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg" onSubmit="setMiniSearchQueryText(this)" style="margin:0px;white-space:nowrap;vertical-align:middle;display:inline" nowrap="nowrap"u003entu003cinput type="hidden" name="IdcService" value="GET_SEARCH_RESULTS" /u003entu003cinput type="hidden" name="SortField" value="" /u003entu003cinput type="hidden" name="SortOrder" value="" /u003entu003cinput type="hidden" name="ResultCount" value="25" /u003entu003cinput type="hidden" name="QueryText" value="" /u003entu003cinput type="hidden" name="listTemplateId" value="" /u003entu003cinput type="hidden" name="ftx" value="" /u003entu003cinput type="hidden" name="TargetedQuickSearchSelection" value="" /u003enntu003cinput type="hidden" name="SearchQueryFormat" value="Universal" /u003enttu003cdiv class="xuiPopupContainer" id="targetedQuickSearchContainer" style="display:none; white-space:nowrap; z-index:99;" nowrap="nowrap"u003entttu003ctable class="xuiPopupTable" cellpadding="0" cellspacing="0" summary=""u003enttttu003ctru003eu003ctd class="xuiPopupHeader" nowrap="nowrap"u003enttttttTargeted Quick Searchesnttttu003c/tdu003eu003c/tru003ennttttttu003ctru003eu003ctd class="xuiPopupLink" nowrap="nowrap" onMouseOver="glowPopupRow(this, 'xuiPopupLink_over', 'xuiPopupLink')" onMouseOut="fadePopupRow(this, 'xuiPopupLink')" onClick="linkItem_onclick(event, this);closePopups();"u003entttttttu003ca class="menuA_ChildLinkText" href="javascript:setTargetedQuickSearchSelection('a');"u003eAuthoru003c/au003enttttttu003c/tdu003eu003c/tru003enttttttu003ctru003eu003ctd class="xuiPopupLink" nowrap="nowrap" onMouseOver="glowPopupRow(this, 'xuiPopupLink_over', 'xuiPopupLink')" onMouseOut="fadePopupRow(this, 'xuiPopupLink')" onClick="linkItem_onclick(event, this);closePopups();"u003entttttttu003ca class="menuA_ChildLinkText" href="javascript:setTargetedQuickSearchSelection('t');"u003eTitleu003c/au003enttttttu003c/tdu003eu003c/tru003entttttu003ctru003eu003ctd class="xuiPopupSpacer" nowrap="nowrap"u003e u003c/tdu003eu003c/tru003entttttu003ctru003eu003ctd class="xuiPopupLink" nowrap="nowrap" onMouseOver="glowPopupRow(this, 'xuiPopupLink_over', 'xuiPopupLink')" onMouseOut="fadePopupRow(this, 'xuiPopupLink')" onClick="linkItem_onclick(event, this);closePopups();"u003enttttttu003ca class="menuA_ChildLinkText" href="javascript:setTargetedQuickSearchSelection('');"u003eClear Selectionu003c/au003entttttu003c/tdu003eu003c/tru003entttttu003ctru003eu003ctd class="xuiPopupSpacer" nowrap="nowrap"u003e u003c/tdu003eu003c/tru003enttttu003ctru003eu003ctd class="xuiPopupLink" nowrap="nowrap" onMouseOver="glowPopupRow(this, 'xuiPopupLink_over', 'xuiPopupLink')" onMouseOut="fadePopupRow(this, 'xuiPopupLink')" onClick="linkItem_onclick(event, this);closePopups();"u003entttttu003ca class="menuA_ChildLinkText" href="javascript:editTargetedQuickSearchesPage();"u003eEdit...u003c/au003enttttu003c/tdu003eu003c/tru003entttu003c/tableu003enttu003c/divu003enttu003cdiv style="float:right;"u003entttu003cspan style="position:absolute;top:-9999px;width:0px;height:0px;overflow:hidden;"u003eu003clabel for="MiniSearchText"u003eQuick Searchu003c/labelu003eu003c/spanu003entttu003cinput type="text" name="MiniSearchText" id="MiniSearchText" value="" style="font-size:8pt;line-height:8pt;vertical-align:middle" /u003entttu003cinput type="submit" name="go" value="Search" class="formButton" style="vertical-align:middle" /u003enttu003c/divu003enttu003cdiv style="float:right;margin-top:2px;margin-right:4px;margin-left:4px;height:100%;width:16px;"u003entttu003cimg id="targetedQuickSearchIcon" alt="Targeted Quick Searches" title="Targeted Quick Searches" src="/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/stellent/targetedQS.gif" height="16" width="16" border="0" onclick="showPopup('targetedQuickSearchContainer', 'targetedQuickSearchIcon', event, 'position=west');" /u003enttu003c/divu003enttu003cdiv style="float:right; margin-top:2px;" id="targetedQuickSearchLabel" class="targetedQSLabel"u003eu003c/divu003enu003c/formu003enntu003c/divu003en" var lastSortField = "dDocTitle"; var lastSortOrder = "Desc"; var lastResultCount = "25"; var isContributor = true; var isSubAdmin = false; // user specific strings and flags: used only to determine which nav links to show var adminAtLeastOneGroup = true; var isLoggedIn = true; var isSysManager = false; var userAccounts = "#none,ElMeuEspai/PU,PEWebCenter/PU"; var userFullName = "Usuari per connectar-se des de Portal Internet"; var userIsAdmin = false; var userName = "portalweb"; var userRoles = "ElMeuEspaiUser,Lector,PersonalSpacesRole,Web,guest"; var personalUrls = new Array(); var maxSavedSearchResults = 10; var savedQueries = new Array(); var pneCheckinDocProfiles = new Array(); var pneSearchDocProfiles = new Array(); pneCheckinDocProfiles[0] = ["Noticia", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=CHECKIN_NEW_FORM&dpTriggerValue=Noticia&dpDisplayLabel=Noticia"]; pneSearchDocProfiles[0] = ["Noticia", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=STANDARD_QUERY_PAGE&dpTriggerValue=Noticia&dpDisplayLabel=Noticia"]; pneCheckinDocProfiles[1] = ["Plantilla", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=CHECKIN_NEW_FORM&dpTriggerValue=Plantilla&dpDisplayLabel=Plantilla"]; pneSearchDocProfiles[1] = ["Plantilla", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=STANDARD_QUERY_PAGE&dpTriggerValue=Plantilla&dpDisplayLabel=Plantilla"]; pneCheckinDocProfiles[2] = ["Tru00e0mits", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=CHECKIN_NEW_FORM&dpTriggerValue=Tru00e0mit&dpDisplayLabel=Tru00e0mits"]; pneSearchDocProfiles[2] = ["Tru00e0mits", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=STANDARD_QUERY_PAGE&dpTriggerValue=Tru00e0mit&dpDisplayLabel=Tru00e0mits"]; pneCheckinDocProfiles[3] = ["Contingut estu00e0tic", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=CHECKIN_NEW_FORM&dpTriggerValue=Contingut%20estu00e0tic&dpDisplayLabel=Contingut%20estu00e0tic"]; pneSearchDocProfiles[3] = ["Contingut estu00e0tic", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=STANDARD_QUERY_PAGE&dpTriggerValue=Contingut%20estu00e0tic&dpDisplayLabel=Contingut%20estu00e0tic"]; pneCheckinDocProfiles[4] = ["Campanya", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=CHECKIN_NEW_FORM&dpTriggerValue=Campanya&dpDisplayLabel=Campanya"]; pneSearchDocProfiles[4] = ["Campanya", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=STANDARD_QUERY_PAGE&dpTriggerValue=Campanya&dpDisplayLabel=Campanya"]; pneCheckinDocProfiles[5] = ["Recull de premsa", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=CHECKIN_NEW_FORM&dpTriggerValue=Recull%20de%20premsa&dpDisplayLabel=Recull%20de%20premsa"]; pneSearchDocProfiles[5] = ["Recull de premsa", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=STANDARD_QUERY_PAGE&dpTriggerValue=Recull%20de%20premsa&dpDisplayLabel=Recull%20de%20premsa"]; pneCheckinDocProfiles[6] = ["Imatge", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=CHECKIN_NEW_FORM&dpTriggerValue=Imatge&dpDisplayLabel=Imatge"]; pneSearchDocProfiles[6] = ["Imatge", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=STANDARD_QUERY_PAGE&dpTriggerValue=Imatge&dpDisplayLabel=Imatge"]; pneCheckinDocProfiles[7] = ["Enllau00e7", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=CHECKIN_NEW_FORM&dpTriggerValue=Enllau00e7&dpDisplayLabel=Enllau00e7"]; pneSearchDocProfiles[7] = ["Enllau00e7", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=STANDARD_QUERY_PAGE&dpTriggerValue=Enllau00e7&dpDisplayLabel=Enllau00e7"]; pneCheckinDocProfiles[8] = ["Full Padro", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=CHECKIN_NEW_FORM&dpTriggerValue=Full%20padru00f3&dpDisplayLabel=Full%20Padro"]; pneSearchDocProfiles[8] = ["Full Padro", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=STANDARD_QUERY_PAGE&dpTriggerValue=Full%20padru00f3&dpDisplayLabel=Full%20Padro"]; pneCheckinDocProfiles[9] = ["Acord Junta Govern", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=CHECKIN_NEW_FORM&dpTriggerValue=Acord%20Junta%20Govern&dpDisplayLabel=Acord%20Junta%20Govern"]; pneSearchDocProfiles[9] = ["Acord Junta Govern", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=STANDARD_QUERY_PAGE&dpTriggerValue=Acord%20Junta%20Govern&dpDisplayLabel=Acord%20Junta%20Govern"]; pneCheckinDocProfiles[10] = ["Activitat", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=CHECKIN_NEW_FORM&dpTriggerValue=Activitat&dpDisplayLabel=Activitat"]; pneSearchDocProfiles[10] = ["Activitat", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=STANDARD_QUERY_PAGE&dpTriggerValue=Activitat&dpDisplayLabel=Activitat"]; pneCheckinDocProfiles[11] = ["Tauler", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=CHECKIN_NEW_FORM&dpTriggerValue=Tauler&dpDisplayLabel=Tauler"]; pneSearchDocProfiles[11] = ["Tauler", "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/idcplg?IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=STANDARD_QUERY_PAGE&dpTriggerValue=Tauler&dpDisplayLabel=Tauler"]; // refresh after a login, or change of credentials, or skin change if ( !coreContentOnly && (lmLayoutName != top.lmLayoutName || lmSkinName != top.lmSkinName || isLoggedIn != top.isLoggedIn || isContributor != top.isContributor || isSubAdmin != top.isSubAdmin || isSysManager != top.isSysManager || adminAtLeastOneGroup != top.adminAtLeastOneGroup) ) { top.location.href = window.location.href; } var useThumbnails=true; function displayBasket() { var basketDisplayForm = document.getElementById("BASKET_SEARCHFORM"); basketDisplayForm.submit(); } function createHiddenInputElement(frm, elementName, elementValue) { var newElement = document.createElement("input"); newElement.setAttribute("type", "hidden"); newElement.setAttribute("name", elementName); newElement.setAttribute("value", elementValue); frm.appendChild(newElement); } function addItemToBasket(name, contentID, docID, title, revNumber, url, renID, renName, ren1, origFile, contentCategory, renUrl) { // The "z" identifier is used with the DAM components if (renID.toLowerCase() == "z") { if (renName == "Native File") // This ensures Native File additions from Rendition Info page match those from other pages { var renIdentifier = "n"; } else { var renIdentifier = encodeForJavaScript(renName); } } else var renIdentifier = renID; // This assembles the string that's used as a unique ID for the Content Basket item var itemName = "cb_" + docID + "_" + renIdentifier; var basketDisplayForm = document.getElementById("BASKET_SEARCHFORM"); if (basketDisplayForm.topicString1.value == "") { var topicCount = 1; var topcicStringVal = "updateRows:content_basket:BasketItems:name,dDocName_cb,dID_cb,dDocTitle_cb,dRevLabel_cb,url_cb,renFlag_cb,renLabel_cb,dRendition1_cb,dOriginalName_cb,contentCategory_cb,renUrl_cb:1" } else { var topicElmts = basketDisplayForm.topicString1.value.split(":"); var topicCount = parseInt(topicElmts[topicElmts.length-1]) + 1; topicElmts[topicElmts.length-1] = topicCount; var topcicStringVal = topicElmts.join(":"); } basketDisplayForm.topicString1.value = topcicStringVal; createHiddenInputElement(basketDisplayForm, "name" + topicCount, itemName); createHiddenInputElement(basketDisplayForm, "dDocName_cb" + topicCount, contentID); createHiddenInputElement(basketDisplayForm, "dID_cb" + topicCount, docID); createHiddenInputElement(basketDisplayForm, "dDocTitle_cb" + topicCount, title); createHiddenInputElement(basketDisplayForm, "dRevLabel_cb" + topicCount, revNumber); createHiddenInputElement(basketDisplayForm, "url_cb" + topicCount, url); createHiddenInputElement(basketDisplayForm, "renFlag_cb" + topicCount, renID); createHiddenInputElement(basketDisplayForm, "renLabel_cb" + topicCount, renName); createHiddenInputElement(basketDisplayForm, "dRendition1_cb" + topicCount, ren1); createHiddenInputElement(basketDisplayForm, "dOriginalName_cb" + topicCount, origFile); createHiddenInputElement(basketDisplayForm, "contentCategory_cb" + topicCount, contentCategory); createHiddenInputElement(basketDisplayForm, "renUrl_cb" + topicCount, renUrl); } function resetBasketForm() { var basketDisplayForm = document.getElementById("BASKET_SEARCHFORM"); if (basketDisplayForm != null) { basketDisplayForm.topicString1.value = ""; basketDisplayForm.numTopics.value = 1; } } if (typeof document.addEventListener != "undefined") { window.addEventListener("load", resetBasketForm, false); } else if (typeof document.attachEvent != "undefined") { window.attachEvent("onload", resetBasketForm); } // This function encodes strings so they can be used as identifier names in JavaScript. It // replaces non-alphanumeric characters with their character codes. Note: Since this is // being used to generate unique IDs for programatic use only, no 'return trip' was provided // for (i.e. nothing was done to make the string easy to decode). function encodeForJavaScript(str) { var encodedStr = ""; var charCode; for (var i=0; i= 48 && charCode = 65 && charCode = 97 && charCode <= 122)) encodedStr = encodedStr + str.charAt(i); else encodedStr = encodedStr + charCode; } return encodedStr; } // This function is called when an action is selected from the Content Basket page Actions dropdown // list. It loops through the forms on the page and creates an array of metadata for selected items. // It then calls a function matching the name of the actionType parameter, passing the data array // as a parameter. function cbPerformAction(actionType, isAll) { var selectedItemData = new Array(); var dataIndex = 0; for (var i=0; i<document.forms.length; i++) { var frm = document.forms[i]; if (frm.selectItem != null && (isAll == true || frm.selectItem.checked == true)) { selectedItemData[dataIndex] = new Array(); for (var j=0; j<frm.elements.length; j++) { if (frm.elements[j].name != "selectItem") selectedItemData[dataIndex][frm.elements[j].name] = frm.elements[j].value; } dataIndex++; } } if (window[actionType]) { var actionFunction = window[actionType]; actionFunction(selectedItemData); } else alert("There is no function matching this actionType name."); } function removeItems(selectedItemData) { if (selectedItemData.length == 0) { alert("There are no items selected."); } else { var deleteNameList = new Array(); for (var i=0 ; i<selectedItemData.length ; ++i) { var basketItemName = selectedItemData[i]["itemName"] // Add name to list of names to delete (to be used in topicString1) deleteNameList[i] = basketItemName; } // Set value of topicString1 to establish which rows will be removed from the BasketItems result set document.forms.BASKET_SEARCHFORM.topicString1.value = "deleteRows:content_basket:BasketItems:" + deleteNameList.join(","); displayBasket(); } } function sendEmailLinks(selectedItemData) { if (selectedItemData.length == 0) { alert("There are no items selected."); } else { var emailAddresses = prompt("Enter e-mail addresses. If entering more than one, separate the addresses with commas (no spaces)."); var frm = document.getElementById("EMAIL_LINKS_FORM"); if (emailAddresses == null || emailAddresses == "") { return; } frm.emailAddresses.value = emailAddresses; frm.totalSelected.value = selectedItemData.length; for (var i=0; i= 0; index--) { if (zipBundleForm.childNodes[index].name && zipBundleForm.childNodes[index].name.indexOf("pkg:") > -1) zipBundleForm.removeChild(zipBundleForm.childNodes[index]); } // Add new form elements corresponding to selectedItemData elements for (var i = 0 ; i < selectedItemData.length ; ++i) { if (selectedItemData[i]["renFlag"] == "w") var renditionName = "Web"; else if (selectedItemData[i]["renFlag"] == "n") var renditionName = "Primary"; else var renditionName = selectedItemData[i]["renLabel"]; createHiddenInputElement(zipBundleForm, "pkg:dDocName" + i, selectedItemData[i]["dDocName"]); createHiddenInputElement(zipBundleForm, "pkg:dID" + i, selectedItemData[i]["dID"]); createHiddenInputElement(zipBundleForm, "pkg:Rendition" + i, renditionName); createHiddenInputElement(zipBundleForm, "pkg:RevisionSelectionMethod" + i, "Specific"); // This creates a special key that's needed for video assets (an exception is made for native file (renFlag=n) // since native file is accessed using the standard "Primary" parameter rather than renditionName. if (typeof selectedItemData[i]["contentCategory"] != "undefined" && selectedItemData[i]["contentCategory"] == "video" && selectedItemData[i]["renFlag"] != "n") createHiddenInputElement(zipBundleForm, "pkg:AuxRenditionType" + i, "media"); } zipBundleForm.submit(); } } // End if LoggedIn function toggleSelect(masterCheckbox) { var masterCheckedValue = masterCheckbox.checked var checkboxArray = document.getElementsByName("selectItem"); for (var i = 0; i < checkboxArray.length; i++) checkboxArray[i].checked = masterCheckedValue; } //build the myProjects array var myProjects = new Array(); function myProjObj(id, desc, itemUrl, rootMark, folderId, color, icon) { this.projId = id; this.desc = desc; this.itemUrl = itemUrl; this.rootMark = rootMark; this.folderId = folderId; this.color = color; this.icon = icon; return this; } function byDescription(a, b) { var anew = a.desc.toLowerCase(); var bnew = b.desc.toLowerCase(); if (anew bnew) return 1; return 0; } //sort the myProjects array on the desc myProjects.sort(byDescription); //function to retrieve an entry in the myProjects array function getMyProject(id) { for (var i = 0; i < myProjects.length; i++) { if (myProjects[i].projId == id) return myProjects[i]; } return null; } function getMyProjectByFolderID(id) { for (var i = 0; i < myProjects.length; i++) { if (myProjects[i].folderId == id) return myProjects[i]; } return null; } var targetedQuickSearches = new Array(); targetedQuickSearches["a"] = new Array(); targetedQuickSearches["a"]["ResultCount"] = "20"; targetedQuickSearches["a"]["SortField"] = "dInDate"; targetedQuickSearches["a"]["SortOrder"] = "Desc"; targetedQuickSearches["a"]["QueryText"] = "u003cuschu003edDocAuthor u003csubstringu003e `#s`u003c/uschu003e"; targetedQuickSearches["a"]["QueryFullText"] = ""; targetedQuickSearches["a"]["SearchProviders"] = ""; targetedQuickSearches["a"]["Label"] = "wwAuthor"; targetedQuickSearches["a"]["SearchQueryFormat"] = "Universal"; targetedQuickSearches["a"]["listTemplateId"] = ""; targetedQuickSearches["t"] = new Array(); targetedQuickSearches["t"]["ResultCount"] = "20"; targetedQuickSearches["t"]["SortField"] = "dInDate"; targetedQuickSearches["t"]["SortOrder"] = "Desc"; targetedQuickSearches["t"]["QueryText"] = "u003cuschu003edDocTitle u003csubstringu003e `#s`u003c/uschu003e"; targetedQuickSearches["t"]["QueryFullText"] = ""; targetedQuickSearches["t"]["SearchProviders"] = ""; targetedQuickSearches["t"]["Label"] = "wwTitle"; targetedQuickSearches["t"]["SearchQueryFormat"] = "Universal"; targetedQuickSearches["t"]["listTemplateId"] = ""; /* Super the include inside this function to define custom images to be used as links to popup menus (this function gets called within 'initActionImages()' in the common.js file). Use the commented code block below as an example, and modify for your specific image, replacing the image name and path strings as needed. Note: There must be two images -- one for regular state, and one for 'over' state. Naming convention: 'MyImage.gif' and 'MyImage_over.gif' */ function customActionImageInit() { //if (currentParentImage.src.indexOf("MyImage") != -1 && actionImage.src != currentParentImage.src) //{ // actionImage.src = httpSkinRoot + "MyImage.gif"; // actionImageOver.src = httpSkinRoot + "MyImage_over.gif"; //} if (currentParentImage.src.indexOf("DetailsArrow") != -1 && actionImage.src != currentParentImage.src) { actionImage.src = httpSkinRoot + "dam/DetailsArrow.gif"; actionImageOver.src = httpSkinRoot + "dam/DetailsArrow_active.gif"; } if (currentParentImage.src.indexOf("DescriptionIcon") != -1 && actionImage.src != currentParentImage.src) { actionImage.src = httpSkinRoot + "dam/DescriptionIcon.gif"; actionImageOver.src = httpSkinRoot + "dam/DescriptionIcon_active.gif"; } } var searchEngineValueEscapeChars = "':''"; var escapeCharMap = null; var escapableOperators = "|hasAsWord|equals|hasAsWordPrefix|beginsWith|endsWith|hasAsSubstring|notHasAsSubstring|notEquals|notHasAsWord|notHasAsWordPrefix|notBeginsWith|notEndsWith|fullText|quickSearch|isNull|equals[optimized]|beginsWith[optimized]|endsWith[optimized]|hasAsSubstring[optimized]|notEquals[optimized]|notEquals[andnot]|notEquals[optimized,andnot]|notHasAsWord[andnot]|notHasAsWordPrefix[andnot]|notBeginsWith[andnot]|"; var disableEscapeSearchValue = "1"; function escapeFieldValue(curOperator, text) { if (disableEscapeSearchValue == true || searchEngineValueEscapeChars.length == 0 || escapableOperators.indexOf("|" + curOperator + "|") < 0 || text.length == 0) { return text; } else if (escapeCharMap == null) { var tmpEscapeCharMap = searchEngineValueEscapeChars.split(","); escapeCharMap = new Array(); for (var i = 0; i < tmpEscapeCharMap.length; i ++) { var tmpArray = tmpEscapeCharMap[i].split(":"); if (tmpArray.length == 2) { escapeCharMap[tmpArray[0]] = tmpArray[1]; } } } var result = ""; for (var i = 0; i 0) { text = strTrim(text); var tqsSelection = document.MINISEARCHFORM.TargetedQuickSearchSelection.value; if (tqsSelection.length > 0) { text = tqsSelection + ' ' + text; } var index = text.indexOf(' '); if (index > 0) { var firstWord = text.substring(0, index); if (typeof targetedQuickSearches[firstWord] != "undefined") { isTargetedQuickSearch = true; } } if (isTargetedQuickSearch) { text = text.substring(index); text = strTrim(text); queryText = targetedQuickSearches[firstWord]["QueryText"]; if (targetedQuickSearches[firstWord]["QueryFullText"].length > 0) { frm.ftx.value = "1"; } frm.SortField.value = targetedQuickSearches[firstWord]["SortField"]; frm.SortOrder.value = targetedQuickSearches[firstWord]["SortOrder"]; frm.listTemplateId.value = targetedQuickSearches[firstWord]["listTemplateId"]; frm.ResultCount.value = targetedQuickSearches[firstWord]["ResultCount"]; if (targetedQuickSearches[firstWord]["SearchProviders"].length > 0) { var input = document.createElement('input'); input.type = "hidden"; input.name = "SearchProviders"; input.value = targetedQuickSearches[firstWord]["SearchProviders"]; frm.appendChild(input); } queryText = queryText.replace(/#s/g, text); } else { text = escapeFieldValue("quickSearch", text); queryText = "u003cqschu003e%Vu003c/qschu003e"; if (quickSearchQuery != null && quickSearchQuery.length > 0) { queryText = quickSearchQuery; } queryText = queryText.replace(/%V/g, text); frm.ftx.value = "1"; } } frm.QueryText.value = queryText; return true; } function checkOutAndOpen8( the_dDocName, the_dDocTitle, the_dExtension, the_dOriginalName ) { if (!navigator.javaEnabled()) { alert("Java must be enabled for this feature."); return; } var strTypeof = typeof(CheckoutAndOpenApplet_ucme1); if (strTypeof.toLowerCase() != "object") { var strObject = ""; var range = document.createRange(); range.setStartBefore(document.body.lastChild); var docFrag = range.createContextualFragment(strObject); document.body.appendChild(docFrag); } var applet = document["CheckoutAndOpenApplet_ucme1"]; if (applet != null) { var browser=navigator.appName; var browser_version=parseInt(navigator.appVersion); try { applet.setBrowser(browser, browser_version); } catch(e) { return; } var cgiurl = "http://eucm:7600/idc/idcplg"; var canOpenOdma = false; var fileTypeIsOdma = false; try { canOpenOdma = applet.canOpenOdma(cgiurl); fileTypeIsOdma = applet.canOpenOdmaFileType( the_dExtension ); } catch(e) { return; } if (applet.hasError()) { alert("Check Out and Open failed."); return; } var coao_flags = ""; if ( fileTypeIsOdma && canOpenOdma && coao_flags.indexOf("webdavonly") == -1) { var docname = "" + the_dDocName; var isactivated = applet.openOdma2(cgiurl, docname, the_dExtension); if (applet.hasError()) { alert("Check Out and Open failed."); return; } if (!isactivated) { alert("Unable to open the content item using ODMA."); } } else if (coao_flags.indexOf("odmaonly") == -1) { var WebdavBaseUrl = "http://eucm:7600/idc/idcplg/webdav/core/tip"; if (WebdavBaseUrl != "") { if (WebdavBaseUrl.substr(WebdavBaseUrl.length - 1,1) != '/') { WebdavBaseUrl = WebdavBaseUrl + '/'; } var webdavurl = WebdavBaseUrl + the_dDocName + "/" + the_dOriginalName; var isactivated = applet.openWebdav(webdavurl); if (applet.hasError()) { alert("Check Out and Open failed."); return; } if (!isactivated) { alert("Unable to open the content item using WebDAV."); } } else { alert("Unable to open the content item using either ODMA or WebDAV.nThe ODMA client may not be configured to use this server.nThe 'webdavbaseurl' configuration variable is missing."); } } else { alert("Unable to open the content item using ODMA."); } } else { alert("Unable to find the CheckOutAndOpenInNative Applet."); } } function checkOutAndOpenOnDocInfo() { checkOutAndOpen8('AJB092236','Concert de Cal Txiringu','odt','cal tziringu.odt'); } var flashVideoPlayerSkin = "DamFlashPlayerSkin.swf"; var flashVideoPlayerSkinColor = "0D4988"; var flashVideoControlBarHeight = "32"; var flashVideoControlBarMinWidth = "230"; var userLanguageId = "en"; var userLanguageSubtag = userLanguageId.split(".")[0]; var userRegionSubtag = (userLanguageId.split(".").length > 1) ? userLanguageId.split(".")[1] : null; var canCreateProject = false; var canAccessProjectAccounts = false; //var canAccessProjectAccounts = true; var projectRootID = 773; var usePersonalContent = false; var userRootID = -99; var trashRootID = 1; var lmClbraName = 'CollaborationManager'; function openChildWindow(childUrl, childParamStr) { // Parse width/height values out of paremeter string var winWidth = null; var winHeight = null; if (typeof childParamStr != "undefined") { var params = childParamStr.split(","); for (var i=0; i= 3) || (bname == "Microsoft Internet Explorer" && bVer >= 4)) br = "n3"; else br = "n2"; // Create image objects, preload all active and inactive images. if (br== "n3") { // Create and preload ENTHOME on image. enthomeon = new Image(); enthomeon.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/stellent/enthome2.gif"; // Create and preload ENTHOME off image. enthomeoff = new Image(); enthomeoff.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/stellent/enthome.gif"; // Create and preload HOME on image. homeon = new Image(); homeon.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/stellent/home2.gif"; // Create and preload HOME off image. homeoff = new Image(); homeoff.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/stellent/home.gif"; // Create and preload LIBRARY on image. libraryon = new Image(); libraryon.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/stellent/library2.gif"; // Create and preload LIBRARY off image. libraryoff = new Image(); libraryoff.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/stellent/library.gif"; // Create and preload on SEARCH image. searchon = new Image(); searchon.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/stellent/search2.gif"; // Create and preload SEARCH off image. searchoff = new Image(); searchoff.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/stellent/search.gif"; // Create and preload on MANAGE image. manageon = new Image(); manageon.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/stellent/manage2.gif"; // Create and preload MANAGE off image. manageoff = new Image(); manageoff.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/stellent/manage.gif"; // Create and preload on LOGIN image. loginon = new Image(); loginon.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/stellent/login2.gif"; // Create and preload LOGIN off image. loginoff = new Image(); loginoff.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/stellent/login.gif"; // Create and preload MSLOGIN image msloginon = new Image(); msloginon.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/stellent/loginms2.gif"; // Create and preload MSLOGIN off image msloginoff = new Image(); msloginoff.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/stellent/loginms.gif"; // Create and preload SELFREG image selfregon = new Image(); selfregon.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/stellent/regself2.gif"; // Create and preload SELFREG off image selfregoff = new Image(); selfregoff.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/stellent/regself.gif"; // User Profile // Create and preload on USER PROFILE image. userprofileon = new Image(); userprofileon.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/stellent/userprof2.gif"; // Create and preload off USER PROFILE image. userprofileoff = new Image(); userprofileoff.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/stellent/userprof.gif"; // Administration // Create and preload on ADMINISTRATION image. adminon = new Image(); adminon.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/stellent/admin2.gif"; // Create and preload off ADMINISTRATION image. adminoff = new Image(); adminoff.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/stellent/admin.gif"; } // Function to "activate" images. function imgAct(imgname) { if (br == "n3") { document[imgname].src = eval(imgname + "on.src"); } } // Function to "deactivate" images. function imgInact(imgname) { if (br == "n3") { document[imgname].src = eval(imgname + "off.src"); } } if ((bname == "Netscape" && bVer >= 3) || (bname == "Microsoft Internet Explorer" && bVer >= 4)) { // Create and preload image hierarchyon = new Image(); hierarchyon.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/collections/folders2.gif"; // Create and preload off image hierarchyoff = new Image(); hierarchyoff.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/collections/folders.gif"; } if ((bname == "Netscape" && bVer >= 3) || (bname == "Microsoft Internet Explorer" && bVer >= 4)) { // Create and preload image sswebsiteson = new Image(); sswebsiteson.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/collections/folders2.gif"; // Create and preload off image sswebsitesoff = new Image(); sswebsitesoff.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/collections/folders.gif"; } // Content Basket basketon = new Image(); basketon.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/contentbasket/basket2.gif"; basketoff = new Image(); basketoff.src = "/portalWeb/scsdynamic/myadapter?fileUrl=/idc/images/contentbasket/basket.gif"; // Context sensitive help Javascript to open help in new Windows var newWindow; function DoCancel(selectObject) { if (newWindow) { newWindow.close(); } top.location=selectObject top.location=selectObject } function QuickHelp(page, title) { newWindow = window.open("/portalWeb/scsdynamic/myadapter?fileUrl=/idc/help/" + page, title , "scrollbars,resizable"); if (window.focus) { newWindow.window.focus(); } } function showHideMetaGroup(labelId) { var rows = groupVarList[labelId].split(','); for (var i = 0; i < rows.length; i++) { showHideTableRowById(rows[i]); } var label = document.getElementById(labelId); if (label.innerHTML.indexOf("Show") == 0) { label.innerHTML = "Hide"; } else { label.innerHTML = "Show"; } } function showHideTableRowById(id) { var result = false; var row = document.getElementById(id); if (row == null || row.style == null) { return result; } if (row.style.display == "none") { if (its.ie) { row.style.display = "block"; } else { row.style.display = "table-row"; } result = true; } else { row.style.display = "none"; } return result; } function hideGroupsOnPageLoad(groupBuddyStr) { var groupBuddyArray = groupBuddyStr.split(':'); for (var i=0; i<groupBuddyArray.length-1; ) { var groupLabel = groupBuddyArray[i++]; showHideMetaGroup(groupLabel); } } function menu_MenuItem_CoreHtml(node, nodeLocation, placement, img) { var labelString; var linkTarget = node.getAttribute("target"); var label = node.getAttribute("label"); var url = node.getAttribute("url"); var menuId; if (typeof(this.id) != "undefined" && this.id.length > 0) { menuId = this.id + "_" + nodeLocation; } else { menuId = "pageAdditionalMenu_" + nodeLocation; } if (node.parentNode.tagName == "navtree") // Top-level menu items { { this.htmlString += 'n' + ' n' + ' n' + ' n' + ' n' + ' n' + ' n'; } } else // Child menu items { if (node.tagName == "item") { /* Generate target attribute code for the tag if a target attribute exists in the XML. */ if (linkTarget == null || linkTarget == "") linkTarget = "_self"; this.htmlString += 'n' + ' n' + ' ' + label + 'n' + ' n' + 'n'; } else if (node.tagName == "collection") { this.htmlString += 'n' + ' n' + ' n' + ' n' + ' n' + ' n' + ' n' + ' n'; } } } function doOptionAction(form) { var index = form.actionList.selectedIndex; if (index >= 0) { var script = form.actionList[index].value; form.actionList.selectedIndex = 0; eval(script); } } function doSubmit(form, action, checkExit, actionConfirmMsg) { if (actionConfirmMsg != null && actionConfirmMsg.length > 0) { if (!confirm(lc(actionConfirmMsg))) { return false; } } if (checkExit) { if (taskModified) { if (!confirm("All changes will be lost. Continue?")) { return false; } } } var result = form.sectionItemList; if (result) { result.value = ""; } var elements = form.elements; if (action == null) { action = "UPDATE_TASK_SECTION"; } form.IdcService.value = action; var previousElt = null; for (var i = 0; i 0) { result.value += ","; } result.value += previousElt.name; } } } previousElt = elt; } form.submit(); } function toggleCheckbox(item) { var isSelected = item.checked; var form = item.form; toggleEx(form, isSelected); } function toggleAll(formName, isSelected) { var form = parent.document.getElementById("ItemForm"); toggleEx(form, isSelected); } function toggleEx(form, isSelected) { var elements = form.elements; for (var i = 0; i < elements.length; i++) { var obj = elements[i]; if (obj.name.indexOf('cb_item_') == 0) { obj.checked=isSelected; registerChange(); } } } var taskModified = false; var pageChanged = false; function registerChange() { pageChanged = true; } var tmpObj; var tmpHref; function checkForExit(obj) { if (taskModified || pageChanged) { if (!confirm("All changes will be lost. Continue?")) { tmpHref = obj.href; tmpObj = obj; obj.href="#"; setTimeout("setBack()", 500); } } return true; } function setBack() { tmpObj.href = tmpHref; } function checkForChange(obj) { var originalUrl = document.location; if (taskModified || pageChanged) { obj.href=obj.href + "&taskModified=1"; } if (pageChanged) { document.ItemForm.RedirectUrl2.value=obj.href; document.ItemForm.taskModified.value="1"; obj.href="#"; doSubmit(document.ItemForm, 'UPDATE_TASK_SECTION', false, ''); } } function toggleCmuTable(tableCounter) { var table = document.getElementById("table_" + tableCounter); var showLabel = document.getElementById("tableShow_" + tableCounter); var hideLabel = document.getElementById("tableHide_" + tableCounter); if (table == null || showLabel == null || hideLabel == null) { return; } if (table.style.display == "none") { showLabel.style.display="none"; hideLabel.style.display="inline"; table.style.display = "table"; } else { showLabel.style.display="inline"; hideLabel.style.display="none"; table.style.display = "none"; } } function registerCheckboxChange(cb) { var name = cb.name; if (name.indexOf("cb_") < 0) { return; } var key = name.slice(3); cb.form.elements[key].value = cb.checked ? "1" : "0"; registerChange(); } function linkItem_onclick_confirm(msg, service) { if (confirm(msg)) { window.location = service; } } function cmuAddOnLoadEvent(func) { var oldOnLoad = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { oldOnLoad(); func(); } } } var initialValues=new Array(); function OnReset(form) { if (initialValues[form.name]) { for(part in initialValues[form.name]) { form[part].value=initialValues[form.name][part]; } } } function resetAll(form) { for (name in form) { var obj=form[name]; if (obj && typeof(obj.onReset)=="function") { obj.onReset(); } } } try { window.ext = window.top.opener.WCM.GetExternal(window.top); window.ext.OnPopupPageLoading(window); } catch (e) { } var wcmIsDocLoaded = false; function setIsDocumentLoaded() { wcmIsDocLoaded = true; } if (window.addEventListener) { window.addEventListener('load', setIsDocumentLoaded, false); } else if (window.attachEvent) { window.attachEvent('onload', setIsDocumentLoaded); } else { window['onload'] = setIsDocumentLoaded; } function wcmIsDocumentLoaded() { return wcmIsDocLoaded; } var isContentServerError = true; var contentServerStatusCode = "-16"; var contentServerStatusMessage = "Server is too busy to handle request.";
function descriptionDialog(fieldCaption,fieldDescription,fieldLongDescription) { document.DescriptionDialog.fieldCaptionDisplay.value=fieldCaption; document.DescriptionDialog.fieldDescriptionDisplay.value=fieldDescription; document.DescriptionDialog.fieldLongDescriptionDisplay.value=fieldLongDescription; function truncatedURL(action,form) { var truncated=new Array(); var url=new Array(); var length=0; url[url.length]=action; length+=url[url.length-1].length; var added=new Array(); for (part in form) { if (form[part] && typeof form[part].name!="undefined" && typeof form[part].value!="undefined") { if (added[form[part].name]==null) { added[form[part].name]="1"; var strPart="&"+form[part].name+"="+encodeURIComponent(form[part].value); //Becareful not to go over the available length if (length + strPart.length > 2000) { truncated[truncated.length]=form[part].name; } else { url[url.length]=strPart; length+=strPart.length; } } } } if (truncated.length > 0) { url[url.length]="&truncatedParams="; for (var i=0;i < truncated.length; i++) { if (i!=0) { url[url.length]=","; } url[url.length]=truncated[i]; } } return(url.join("")); } var form=document.DescriptionDialog; var action=form.action+"?"; windowUtils.open(truncatedURL(action,form),DescriptionDialog,"modal=1,dialog=1,dependent=1,resizable=1,height=300,width=700,scrollbars=1,status=0,"); } if (typeof fieldUtils!='undefined') { fieldUtils.addForm(document.DescriptionDialog, function(form) { for (part in form) { var baseform=document.DescriptionDialog; if (form[part] && typeof form[part].value!="undefined") { if (baseform[part]) { baseform[part].value=form[part].value; } } } }); }
Content Server Request Failed
Server is too busy to handle request.
if ((typeof history.length != "undefined") && history.length <= 1) { document.getElementById("idcBackButton").style.display = "none"; }
 
 

Pg. Marítim,, Badalona

Inici: 18/05/2019 21:30
Fi: 18/05/2019 00:00

twitter @AjBadalona

El temps

L’Ajuntament de Badalona rep un reconeixement per la implantació de l’administració electrònica

Altres webs municipals

Idiomes

Català Castellano English