Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
index.html000066600000000037150775210330006550 0ustar00 wrapper/view.html.php000066600000004360150775210330010664 0ustar00getParams(); // because the application sets a default page title, we need to get it // right from the menu item itself $title = $params->get('page_title', ''); if (empty($title)) { $title = $app->getCfg('sitename'); } elseif ($app->getCfg('sitename_pagetitles', 0) == 1) { $title = JText::sprintf('JPAGETITLE', $app->getCfg('sitename'), $title); } elseif ($app->getCfg('sitename_pagetitles', 0) == 2) { $title = JText::sprintf('JPAGETITLE', $title, $app->getCfg('sitename')); } $this->document->setTitle($title); if ($params->get('menu-meta_description')) { $this->document->setDescription($params->get('menu-meta_description')); } if ($params->get('menu-meta_keywords')) { $this->document->setMetadata('keywords', $params->get('menu-meta_keywords')); } if ($params->get('robots')) { $this->document->setMetadata('robots', $params->get('robots')); } $wrapper = new stdClass; // auto height control if ($params->def('height_auto')) { $wrapper->load = 'onload="iFrameHeight()"'; } else { $wrapper->load = ''; } $url = $params->def('url', ''); if ($params->def('add_scheme', 1)) { // adds 'http://' if none is set if (substr($url, 0, 1) == '/') { // relative url in component. use server http_host. $wrapper->url = 'http://'. $_SERVER['HTTP_HOST'] . $url; } elseif (!strstr($url, 'http') && !strstr($url, 'https')) { $wrapper->url = 'http://'. $url; } else { $wrapper->url = $url; } } else { $wrapper->url = $url; } //Escape strings for HTML output $this->pageclass_sfx = htmlspecialchars($params->get('pageclass_sfx')); $this->params = &$params; $this->wrapper = &$wrapper; parent::display($tpl); } } wrapper/tmpl/default.php000066600000003101150775210330011337 0ustar00
params->get('show_page_heading')) : ?>

escape($this->params->get('page_heading'))) :?> escape($this->params->get('page_heading')); ?> escape($this->params->get('page_title')); ?>

wrapper/tmpl/default.xml000066600000004404150775210330011357 0ustar00
wrapper/tmpl/index.html000066600000000037150775210330011204 0ustar00 wrapper/tmpl/default.php.backup000066600000003161150775210330012611 0ustar00
params->get('show_page_heading')) : ?>

escape($this->params->get('page_heading'))) :?> escape($this->params->get('page_heading')); ?> escape($this->params->get('page_title')); ?>

wrapper/metadata.xml000066600000000237150775210330010537 0ustar00 wrapper/index.html000066600000000037150775210330010230 0ustar00 contact/view.html.php000066600000024453151000437340010636 0ustar00get('State'); $item = $this->get('Item'); $this->form = $this->get('Form'); // Get the parameters $params = JComponentHelper::getParams('com_contact'); if ($item) { // If we found an item, merge the item parameters $params->merge($item->params); // Get Category Model data $categoryModel = JModelLegacy::getInstance('Category', 'ContactModel', array('ignore_request' => true)); $categoryModel->setState('category.id', $item->catid); $categoryModel->setState('list.ordering', 'a.name'); $categoryModel->setState('list.direction', 'asc'); $categoryModel->setState('filter.published', 1); $contacts = $categoryModel->getItems(); } // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseWarning(500, implode("\n", $errors)); return false; } // check if access is not public $groups = $user->getAuthorisedViewLevels(); $return = ''; if ((!in_array($item->access, $groups)) || (!in_array($item->category_access, $groups))) { JError::raiseWarning(403, JText::_('JERROR_ALERTNOAUTHOR')); return; } $options['category_id'] = $item->catid; $options['order by'] = 'a.default_con DESC, a.ordering ASC'; // Handle email cloaking if ($item->email_to && $params->get('show_email')) { $item->email_to = JHtml::_('email.cloak', $item->email_to); } if ($params->get('show_street_address') || $params->get('show_suburb') || $params->get('show_state') || $params->get('show_postcode') || $params->get('show_country')) { if (!empty ($item->address) || !empty ($item->suburb) || !empty ($item->state) || !empty ($item->country) || !empty ($item->postcode)) { $params->set('address_check', 1); } } else { $params->set('address_check', 0); } // Manage the display mode for contact detail groups switch ($params->get('contact_icons')) { case 1 : // text $params->set('marker_address', JText::_('COM_CONTACT_ADDRESS') . ": "); $params->set('marker_email', JText::_('JGLOBAL_EMAIL') . ": "); $params->set('marker_telephone', JText::_('COM_CONTACT_TELEPHONE') . ": "); $params->set('marker_fax', JText::_('COM_CONTACT_FAX') . ": "); $params->set('marker_mobile', JText::_('COM_CONTACT_MOBILE') . ": "); $params->set('marker_misc', JText::_('COM_CONTACT_OTHER_INFORMATION') . ": "); $params->set('marker_class', 'jicons-text'); break; case 2 : // none $params->set('marker_address', ''); $params->set('marker_email', ''); $params->set('marker_telephone', ''); $params->set('marker_mobile', ''); $params->set('marker_fax', ''); $params->set('marker_misc', ''); $params->set('marker_class', 'jicons-none'); break; default : if ($params->get('icon_address')) { $image1 = JHtml::_('image', $params->get('icon_address', 'con_address.png'), JText::_('COM_CONTACT_ADDRESS').": ", null, false); } else { $image1 = JHtml::_('image', 'contacts/'.$params->get('icon_address', 'con_address.png'), JText::_('COM_CONTACT_ADDRESS').": ", null, true); } if ($params->get('icon_email')) { $image2 = JHtml::_('image', $params->get('icon_email', 'emailButton.png'), JText::_('JGLOBAL_EMAIL').": ", null, false); } else { $image2 = JHtml::_('image', 'contacts/'.$params->get('icon_email', 'emailButton.png'), JText::_('JGLOBAL_EMAIL').": ", null, true); } if ($params->get('icon_telephone')) { $image3 = JHtml::_('image', $params->get('icon_telephone', 'con_tel.png'), JText::_('COM_CONTACT_TELEPHONE').": ", null, false); } else { $image3 = JHtml::_('image', 'contacts/'.$params->get('icon_telephone', 'con_tel.png'), JText::_('COM_CONTACT_TELEPHONE').": ", null, true); } if ($params->get('icon_fax')) { $image4 = JHtml::_('image', $params->get('icon_fax', 'con_fax.png'), JText::_('COM_CONTACT_FAX').": ", null, false); } else { $image4 = JHtml::_('image', 'contacts/'.$params->get('icon_fax', 'con_fax.png'), JText::_('COM_CONTACT_FAX').": ", null, true); } if ($params->get('icon_misc')) { $image5 = JHtml::_('image', $params->get('icon_misc', 'con_info.png'), JText::_('COM_CONTACT_OTHER_INFORMATION').": ", null, false); } else { $image5 = JHtml::_('image', 'contacts/'.$params->get('icon_misc', 'con_info.png'), JText::_('COM_CONTACT_OTHER_INFORMATION').": ", null, true); } if ($params->get('icon_mobile')) { $image6 = JHtml::_('image', $params->get('icon_mobile', 'con_mobile.png'), JText::_('COM_CONTACT_MOBILE').": ", null, false); } else { $image6 = JHtml::_('image', 'contacts/'.$params->get('icon_mobile', 'con_mobile.png'), JText::_('COM_CONTACT_MOBILE').": ", null, true); } $params->set('marker_address', $image1); $params->set('marker_email', $image2); $params->set('marker_telephone', $image3); $params->set('marker_fax', $image4); $params->set('marker_misc', $image5); $params->set('marker_mobile', $image6); $params->set('marker_class', 'jicons-icons'); break; } // Add links to contacts if ($params->get('show_contact_list') && count($contacts) > 1) { foreach ($contacts as &$contact) { $contact->link = JRoute::_(ContactHelperRoute::getContactRoute($contact->slug, $contact->catid)); } $item->link = JRoute::_(ContactHelperRoute::getContactRoute($item->slug, $item->catid)); } JHtml::_('behavior.formvalidation'); //Escape strings for HTML output $this->pageclass_sfx = htmlspecialchars($params->get('pageclass_sfx')); $this->contact = &$item; $this->params = &$params; $this->return = &$return; $this->state = &$state; $this->item = &$item; $this->user = &$user; $this->contacts = &$contacts; $item->tags = new JHelperTags; $item->tags->getItemTags('com_contact.contact', $this->item->id); // Override the layout only if this is not the active menu item // If it is the active menu item, then the view and item id will match $active = $app->getMenu()->getActive(); if ((!$active) || ((strpos($active->link, 'view=contact') === false) || (strpos($active->link, '&id=' . (string) $this->item->id) === false))) { if ($layout = $params->get('contact_layout')) { $this->setLayout($layout); } } elseif (isset($active->query['layout'])) { // We need to set the layout in case this is an alternative menu item (with an alternative layout) $this->setLayout($active->query['layout']); } $model = $this->getModel(); $model->hit(); $this->_prepareDocument(); return parent::display($tpl); } /** * Prepares the document */ protected function _prepareDocument() { $app = JFactory::getApplication(); $menus = $app->getMenu(); $pathway = $app->getPathway(); $title = null; // Because the application sets a default page title, // we need to get it from the menu item itself $menu = $menus->getActive(); if ($menu) { $this->params->def('page_heading', $this->params->get('page_title', $menu->title)); } else { $this->params->def('page_heading', JText::_('COM_CONTACT_DEFAULT_PAGE_TITLE')); } $title = $this->params->get('page_title', ''); $id = (int) @$menu->query['id']; // if the menu item does not concern this contact if ($menu && ($menu->query['option'] != 'com_contact' || $menu->query['view'] != 'contact' || $id != $this->item->id)) { // If this is not a single contact menu item, set the page title to the contact title if ($this->item->name) { $title = $this->item->name; } $path = array(array('title' => $this->contact->name, 'link' => '')); $category = JCategories::getInstance('Contact')->get($this->contact->catid); while ($category && ($menu->query['option'] != 'com_contact' || $menu->query['view'] == 'contact' || $id != $category->id) && $category->id > 1) { $path[] = array('title' => $category->title, 'link' => ContactHelperRoute::getCategoryRoute($this->contact->catid)); $category = $category->getParent(); } $path = array_reverse($path); foreach ($path as $item) { $pathway->addItem($item['title'], $item['link']); } } if (empty($title)) { $title = $app->getCfg('sitename'); } elseif ($app->getCfg('sitename_pagetitles', 0) == 1) { $title = JText::sprintf('JPAGETITLE', $app->getCfg('sitename'), $title); } elseif ($app->getCfg('sitename_pagetitles', 0) == 2) { $title = JText::sprintf('JPAGETITLE', $title, $app->getCfg('sitename')); } if (empty($title)) { $title = $this->item->name; } $this->document->setTitle($title); if ($this->item->metadesc) { $this->document->setDescription($this->item->metadesc); } elseif (!$this->item->metadesc && $this->params->get('menu-meta_description')) { $this->document->setDescription($this->params->get('menu-meta_description')); } if ($this->item->metakey) { $this->document->setMetadata('keywords', $this->item->metakey); } elseif (!$this->item->metakey && $this->params->get('menu-meta_keywords')) { $this->document->setMetadata('keywords', $this->params->get('menu-meta_keywords')); } if ($this->params->get('robots')) { $this->document->setMetadata('robots', $this->params->get('robots')); } $mdata = $this->item->metadata->toArray(); foreach ($mdata as $k => $v) { if ($v) { $this->document->setMetadata($k, $v); } } } } contact/tmpl/default_form.php000066600000006331151000437340012337 0ustar00error)) : ?>
error; ?>
form->getLabel('contact_name'); ?>
form->getInput('contact_name'); ?>
form->getLabel('contact_email'); ?>
form->getInput('contact_email'); ?>
form->getLabel('contact_subject'); ?>
form->getInput('contact_subject'); ?>
form->getLabel('contact_message'); ?>
form->getInput('contact_message'); ?>
params->get('show_email_copy')) { ?>
form->getLabel('contact_email_copy'); ?>
form->getInput('contact_email_copy'); ?>
form->getFieldsets() as $fieldset) : ?> name != 'contact'):?> form->getFieldset($fieldset->name);?>
hidden) : ?>
input;?>
label; ?> required && $field->type != "Spacer") : ?>
input;?>
contact/tmpl/default.php000066600000021561151000437340011316 0ustar00
params->get('show_page_heading')) : ?>

escape($this->params->get('page_heading')); ?>

contact->name && $this->params->get('show_name')) : ?> params->get('show_contact_category') == 'show_no_link') : ?>

contact->category_title; ?>

params->get('show_contact_category') == 'show_with_link') : ?> contact->catid); ?>

escape($this->contact->category_title); ?>

params->get('show_contact_list') && count($this->contacts) > 1) : ?>
contacts, 'id', 'class="inputbox" onchange="document.location.href = this.value"', 'link', 'name', $this->contact->link);?>
params->get('show_tags', 1) && !empty($this->item->tags)) : ?> item->tagLayout = new JLayoutFile('joomla.content.tags'); ?> item->tagLayout->render($this->item->tags->itemTags); ?> params->get('presentation_style') == 'sliders') : ?> 'basic-details')); ?> params->get('presentation_style') == 'tabs') : ?> 'basic-details')); ?> params->get('presentation_style') == 'sliders') : ?> params->get('presentation_style') == 'tabs') : ?> params->get('presentation_style') == 'plain'):?> '. JText::_('COM_CONTACT_DETAILS').''; ?> contact->image && $this->params->get('show_image')) : ?>
contact->image, JText::_('COM_CONTACT_IMAGE_DETAILS'), array('align' => 'middle', 'itemprop' => 'image')); ?>
contact->con_position && $this->params->get('show_position')) : ?>
contact->con_position; ?>
loadTemplate('address'); ?> params->get('allow_vcard')) : ?> params->get('presentation_style') == 'sliders') : ?> params->get('presentation_style') == 'tabs') : ?> params->get('show_email_form') && ($this->contact->email_to || $this->contact->user_id)) : ?> params->get('presentation_style') == 'sliders') : ?> params->get('presentation_style') == 'tabs') : ?> params->get('presentation_style') == 'plain'):?> '. JText::_('COM_CONTACT_EMAIL_FORM').''; ?> loadTemplate('form'); ?> params->get('presentation_style') == 'sliders') : ?> params->get('presentation_style') == 'tabs') : ?> params->get('show_links')) : ?> loadTemplate('links'); ?> params->get('show_articles') && $this->contact->user_id && $this->contact->articles) : ?> params->get('presentation_style') == 'sliders') : ?> params->get('presentation_style') == 'tabs') : ?> params->get('presentation_style') == 'plain'):?> '. JText::_('JGLOBAL_ARTICLES').''; ?> loadTemplate('articles'); ?> params->get('presentation_style') == 'sliders') : ?> params->get('presentation_style') == 'tabs') : ?> params->get('show_profile') && $this->contact->user_id && JPluginHelper::isEnabled('user', 'profile')) : ?> params->get('presentation_style') == 'sliders') : ?> params->get('presentation_style') == 'tabs') : ?> params->get('presentation_style') == 'plain'):?> '. JText::_('COM_CONTACT_PROFILE').''; ?> loadTemplate('profile'); ?> params->get('presentation_style') == 'sliders') : ?> params->get('presentation_style') == 'tabs') : ?> contact->misc && $this->params->get('show_misc')) : ?> params->get('presentation_style') == 'sliders') : ?> params->get('presentation_style') == 'tabs') : ?> params->get('presentation_style') == 'plain'):?> '. JText::_('COM_CONTACT_OTHER_INFORMATION').''; ?>
params->get('marker_misc'); ?>
contact->misc; ?>
params->get('presentation_style') == 'sliders') : ?> params->get('presentation_style') == 'tabs') : ?> params->get('presentation_style') == 'sliders') : ?> params->get('presentation_style') == 'tabs') : ?>
contact/tmpl/default_articles.php000066600000001400151000437340013172 0ustar00 params->get('show_articles')) : ?>
contact/tmpl/default_links.php000066600000003242151000437340012512 0ustar00 params->get('presentation_style') == 'sliders') : ?> params->get('presentation_style') == 'tabs') : ?> params->get('presentation_style') == 'plain'):?> '. JText::_('COM_CONTACT_LINKS').''; ?> params->get('presentation_style') == 'sliders') : ?> params->get('presentation_style') == 'tabs') : ?> contact/tmpl/default.xml000066600000024117151000437340011327 0ustar00
contact/tmpl/index.html000066600000000037151000437340011151 0ustar00 contact/tmpl/default_address.php000066600000007627151000437340013032 0ustar00
params->get('address_check') > 0) && ($this->contact->address || $this->contact->suburb || $this->contact->state || $this->contact->country || $this->contact->postcode)) : ?> params->get('address_check') > 0) : ?>
params->get('marker_address'); ?>
contact->address && $this->params->get('show_street_address')) : ?>
contact->address .'
'; ?>
contact->suburb && $this->params->get('show_suburb')) : ?>
contact->suburb .'
'; ?>
contact->state && $this->params->get('show_state')) : ?>
contact->state . '
'; ?>
contact->postcode && $this->params->get('show_postcode')) : ?>
contact->postcode .'
'; ?>
contact->country && $this->params->get('show_country')) : ?>
contact->country .'
'; ?>
contact->email_to && $this->params->get('show_email')) : ?>
params->get('marker_email')); ?>
contact->email_to; ?>
contact->telephone && $this->params->get('show_telephone')) : ?>
params->get('marker_telephone'); ?>
contact->telephone); ?>
contact->fax && $this->params->get('show_fax')) : ?>
params->get('marker_fax'); ?>
contact->fax); ?>
contact->mobile && $this->params->get('show_mobile')) :?>
params->get('marker_mobile'); ?>
contact->mobile); ?>
contact->webpage && $this->params->get('show_webpage')) : ?>
contact/tmpl/default_profile.php000066600000002234151000437340013032 0ustar00 item->profile->getFieldset('profile'); ?>
value) : echo '
' . $profile->label . '
'; $profile->text = htmlspecialchars($profile->value, ENT_COMPAT, 'UTF-8'); switch ($profile->id) : case "profile_website": $v_http = substr($profile->value, 0, 4); if ($v_http == "http") : echo '
' . $profile->text . '
'; else : echo '
' . $profile->text . '
'; endif; break; default: echo '
' . $profile->text . '
'; break; endswitch; endif; endforeach; ?>
contact/metadata.xml000066600000000230151000437340010475 0ustar00 contact/index.html000066600000000037151000437340010175 0ustar00 contact/view.vcf.php000066600000005662151000437340010451 0ustar00get('Item'); // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseWarning(500, implode("\n", $errors)); return false; } JFactory::getDocument()->setMetaData('Content-Type', 'text/directory', true); // Compute lastname, firstname and middlename $item->name = trim($item->name); // "Lastname, Firstname Midlename" format support // e.g. "de Gaulle, Charles" $namearray = explode(',', $item->name); if (count($namearray) > 1 ) { $lastname = $namearray[0]; $card_name = $lastname; $name_and_midname = trim($namearray[1]); $firstname = ''; if (!empty($name_and_midname)) { $namearray = explode(' ', $name_and_midname); $firstname = $namearray[0]; $middlename = (count($namearray) > 1) ? $namearray[1] : ''; $card_name = $firstname . ' ' . ($middlename ? $middlename . ' ' : '') . $card_name; } } // "Firstname Middlename Lastname" format support else { $namearray = explode(' ', $item->name); $middlename = (count($namearray) > 2) ? $namearray[1] : ''; $firstname = array_shift($namearray); $lastname = count($namearray) ? end($namearray) : ''; $card_name = $firstname . ($middlename ? ' ' . $middlename : '') . ($lastname ? ' ' . $lastname : ''); } $rev = date('c', strtotime($item->modified)); JFactory::getApplication()->setHeader('Content-disposition', 'attachment; filename="'.$card_name.'.vcf"', true); $vcard = array(); $vcard[] .= 'BEGIN:VCARD'; $vcard[] .= 'VERSION:3.0'; $vcard[] = 'N:'.$lastname.';'.$firstname.';'.$middlename; $vcard[] = 'FN:'. $item->name; $vcard[] = 'TITLE:'.$item->con_position; $vcard[] = 'TEL;TYPE=WORK,VOICE:'.$item->telephone; $vcard[] = 'TEL;TYPE=WORK,FAX:'.$item->fax; $vcard[] = 'TEL;TYPE=WORK,MOBILE:'.$item->mobile; $vcard[] = 'ADR;TYPE=WORK:;;'.$item->address.';'.$item->suburb.';'.$item->state.';'.$item->postcode.';'.$item->country; $vcard[] = 'LABEL;TYPE=WORK:'.$item->address."\n".$item->suburb."\n".$item->state."\n".$item->postcode."\n".$item->country; $vcard[] = 'EMAIL;TYPE=PREF,INTERNET:'.$item->email_to; $vcard[] = 'URL:'.$item->webpage; $vcard[] = 'REV:'.$rev.'Z'; $vcard[] = 'END:VCARD'; echo implode("\n", $vcard); } } featured/view.html.php000066600000007046151000437340011001 0ustar00getParams(); // Get some data from the models $state = $this->get('State'); $items = $this->get('Items'); $category = $this->get('Category'); $children = $this->get('Children'); $parent = $this->get('Parent'); $pagination = $this->get('Pagination'); // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseWarning(500, implode("\n", $errors)); return false; } // Prepare the data. // Compute the contact slug. for ($i = 0, $n = count($items); $i < $n; $i++) { $item = &$items[$i]; $item->slug = $item->alias ? ($item->id.':'.$item->alias) : $item->id; $temp = new JRegistry; $temp->loadString($item->params); $item->params = clone($params); $item->params->merge($temp); if ($item->params->get('show_email', 0) == 1) { $item->email_to = trim($item->email_to); if (!empty($item->email_to) && JMailHelper::isEmailAddress($item->email_to)) { $item->email_to = JHtml::_('email.cloak', $item->email_to); } else { $item->email_to = ''; } } } // Escape strings for HTML output $this->pageclass_sfx = htmlspecialchars($params->get('pageclass_sfx')); $maxLevel = $params->get('maxLevel', -1); $this->maxLevel = &$maxLevel; $this->state = &$state; $this->items = &$items; $this->category = &$category; $this->children = &$children; $this->params = &$params; $this->parent = &$parent; $this->pagination = &$pagination; $this->_prepareDocument(); parent::display($tpl); } /** * Prepares the document */ protected function _prepareDocument() { $app = JFactory::getApplication(); $menus = $app->getMenu(); $title = null; // Because the application sets a default page title, // we need to get it from the menu item itself $menu = $menus->getActive(); if ($menu) { $this->params->def('page_heading', $this->params->get('page_title', $menu->title)); } else { $this->params->def('page_heading', JText::_('COM_CONTACT_DEFAULT_PAGE_TITLE')); } $title = $this->params->get('page_title', ''); if (empty($title)) { $title = $app->getCfg('sitename'); } elseif ($app->getCfg('sitename_pagetitles', 0) == 1) { $title = JText::sprintf('JPAGETITLE', $app->getCfg('sitename'), $title); } elseif ($app->getCfg('sitename_pagetitles', 0) == 2) { $title = JText::sprintf('JPAGETITLE', $title, $app->getCfg('sitename')); } $this->document->setTitle($title); if ($this->params->get('menu-meta_description')) { $this->document->setDescription($this->params->get('menu-meta_description')); } if ($this->params->get('menu-meta_keywords')) { $this->document->setMetadata('keywords', $this->params->get('menu-meta_keywords')); } if ($this->params->get('robots')) { $this->document->setMetadata('robots', $this->params->get('robots')); } } } featured/tmpl/default.php000066600000002173151000437340011460 0ustar00
params->get('show_page_heading') != 0 ) : ?>

escape($this->params->get('page_heading')); ?>

loadTemplate('items'); ?> params->def('show_pagination', 2) == 1 || ($this->params->get('show_pagination') == 2 && $this->pagination->pagesTotal > 1)) : ?>
featured/tmpl/default.xml000066600000030041151000437340011464 0ustar00
featured/tmpl/index.html000066600000000037151000437340011315 0ustar00 featured/tmpl/default_items.php000066600000012772151000437340012667 0ustar00escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); // Create a shortcut for params. $params = &$this->item->params; ?> items)) : ?>

params->get('show_pagination_limit')) : ?>
  pagination->getLimitBox(); ?>
params->get('show_headings')) : ?> params->get('show_position_headings')) : ?> params->get('show_email_headings')) : ?> params->get('show_telephone_headings')) : ?> params->get('show_mobile_headings')) : ?> params->get('show_fax_headings')) : ?> params->get('show_suburb_headings')) : ?> params->get('show_state_headings')) : ?> params->get('show_country_headings')) : ?> items as $i => $item) : ?> " itemscope itemtype="http://schema.org/Person"> params->get('show_position_headings')) : ?> params->get('show_email_headings')) : ?> params->get('show_telephone_headings')) : ?> params->get('show_mobile_headings')) : ?> params->get('show_fax_headings')) : ?> params->get('show_suburb_headings')) : ?> params->get('show_state_headings')) : ?> params->get('show_country_headings')) : ?>
items[$i]->published == 0) : ?> con_position; ?> telephone; ?> mobile; ?> fax; ?> suburb; ?> state; ?> country; ?>
featured/metadata.xml000066600000000234151000437340010645 0ustar00 featured/index.html000066600000000037151000437340010341 0ustar00 categories/view.html.php000066600000001320151000437340011314 0ustar00loadTemplate('items'); ?> categories/tmpl/default.xml000066600000043770151000437340012027 0ustar00
categories/tmpl/index.html000066600000000037151000437340011643 0ustar00 categories/tmpl/default_items.php000066600000004233151000437340013206 0ustar00items[$this->parent->id]) > 0 && $this->maxLevelcat != 0) : ?> items[$this->parent->id] as $id => $item) : ?> params->get('show_empty_categories_cat') || $item->numitems || count($item->getChildren())) : if (!isset($this->items[$this->parent->id][$id + 1])) { $class = ' class="last"'; } ?>
> params->get('show_subcat_desc_cat') == 1) :?> description) : ?>
description, '', 'com_contact.categories'); ?>
getChildren()) > 0) :?>
items[$item->id] = $item->getChildren(); $this->parent = $item; $this->maxLevelcat--; echo $this->loadTemplate('items'); $this->parent = $item->getParent(); $this->maxLevelcat++; ?>
categories/index.html000066600000000037151000437340010667 0ustar00 category/view.html.php000066600000005277151000437340011023 0ustar00items as $item) { $item->slug = $item->alias ? ($item->id.':'.$item->alias) : $item->id; $temp = new JRegistry; $temp->loadString($item->params); $item->params = clone($this->params); $item->params->merge($temp); if ($item->params->get('show_email', 0) == 1) { $item->email_to = trim($item->email_to); if (!empty($item->email_to) && JMailHelper::isEmailAddress($item->email_to)) { $item->email_to = JHtml::_('email.cloak', $item->email_to); } else { $item->email_to = ''; } } } return parent::display($tpl); } /** * Prepares the document * * @return void */ protected function prepareDocument() { parent::prepareDocument(); $menu = $this->menu; $id = (int) @$menu->query['id']; if ($menu && ($menu->query['option'] != $this->extension || $menu->query['view'] == $this->viewName || $id != $this->category->id)) { $path = array(array('title' => $this->category->title, 'link' => '')); $category = $this->category->getParent(); while (($menu->query['option'] != 'com_contact' || $menu->query['view'] == 'contact' || $id != $category->id) && $category->id > 1) { $path[] = array('title' => $category->title, 'link' => ContactHelperRoute::getCategoryRoute($category->id)); $category = $category->getParent(); } $path = array_reverse($path); foreach ($path as $item) { $this->pathway->addItem($item['title'], $item['link']); } } parent::addFeed(); } } category/tmpl/default.php000066600000000565151000437340011501 0ustar00subtemplatename = 'items'; echo JLayoutHelper::render('joomla.content.category_default', $this); category/tmpl/default.xml000066600000041226151000437340011511 0ustar00
category/tmpl/index.html000066600000000037151000437340011333 0ustar00 category/tmpl/default_children.php000066600000003406151000437340013346 0ustar00children[$this->category->id]) > 0 && $this->maxLevel != 0) : ?> category/tmpl/default_items.php000066600000010757151000437340012706 0ustar00escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); ?> items)) : ?>

params->get('filter_field') != 'hide' || $this->params->get('show_pagination_limit')) :?>
params->get('filter_field') != 'hide') :?>
params->get('show_pagination_limit')) : ?>
pagination->getLimitBox(); ?>
params->get('show_pagination')) : ?>
category/metadata.xml000066600000000242151000437340010662 0ustar00 category/index.html000066600000000037151000437340010357 0ustar00 category/view.feed.php000066600000001733151000437340010753 0ustar00description = $item->address; } }