0) { config = configArray[0]; } var metaKeywords = config.keywords; var metaDescription = config.description; if (metaKeywords.length > 0) { ?> 0) { ?> 0) rootURL=rootURL.substring(0,rootURL.indexOf('/p/'));*/ var pageTitle = ""; if(config.title != null && config.title != "") { pageTitle = config.title; } ?> 0) tskey=salsa.getParameter("template_style_KEY"); var scheme = salsa.getObject("wfc.box.template_style", tskey); if (scheme.length>0) { var cssPath = scheme.public_css_path; ?> <? if (pageTitle) { print(pageTitle); } if (config.line1_text != "" && config.line1_text != null) { if(pageTitle) { print(" | "); } print(config.line1_text); } ?>




', dateCond); var events = salsa.getObjects('salsa.event', [cond1], 'Start ASC', 4); var footerEvents = new Array(); var date = new Date(); var x = 0; // only display upcoming events for each (var event in events) { var eventDate = String(salsa.getDateString(event.Start)).split("-"); var eventYear = eventDate[0]; var eventMonth = eventDate[1]; var tempDay = String(eventDate[2]).split(" "); var eventDay = tempDay[0]; if (parseInt(eventYear, 10) == parseInt(date.getFullYear())) { if (parseInt(eventMonth, 10) == parseInt(date.getMonth())) { if (parseInt(eventDay, 10) >= parseInt(date.getDate())) { footerEvents[x] = event; x++; } } else if (parseInt(eventMonth, 10) >= parseInt(date.getMonth())) { footerEvents[x] = event; x++; } } else if (parseInt(eventYear, 10) >= parseInt(date.getFullYear())) { footerEvents[x] = event; x++; } } // end for if (footerEvents.length > 0 && eventsActive) { // strip tags for each (var footerEvent in footerEvents) { //footerEvent.description = '' + salsa.stripTags(footerEvent.description); } ?>
0 || (footerRollEntries.length > 0 && salsa.getRequestURL().indexOf('blog') != -1)) { ?>
0) { ?>

Blog

0 && salsa.getRequestURL().indexOf('blog') != -1 && blogroll.active == 1) { ?>
  • 1) { if (footerRollEntries[1].url != null && footerRollEntries[1].url != '' && footerRollEntries[1].url.indexOf('http://') == -1) { footerRollEntries[1].url = 'http://' + footerRollEntries[1].url; } ?>
  • 2) { if (footerRollEntries[2].url != null && footerRollEntries[2].url != '' && footerRollEntries[2].url.indexOf('http://') == -1) { footerRollEntries[2].url = 'http://' + footerRollEntries[2].url; } ?>
1) { ?>
  • 2) { ?>
  • 3) { ?>
0) { ?> 0) { ?>

Connect




0) { print("" + config.custom_html_insert + ""); } ?> There was an error parsing this template. TypeError: Cannot read property "length" from undefined (pageScript#24)