/** * @package Joomla.Site * @subpackage com_users * * @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $app = JFactory::getApplication('site'); $template = $app->getTemplate(true); include_once JPATH_BASE . '/templates/' . $template->template . '/includes/functions.php'; ?> <fieldset id="users-profile-core"> <?php echo wrap_with_tag(wrap_with_span($this->escape(JText::_('COM_USERS_PROFILE_CORE_LEGEND'))), $template->params->get('category_page_heading')); ?> <dl class="dl-horizontal"> <dt><?php echo JText::_('COM_USERS_PROFILE_NAME_LABEL'); ?> </dt> <dd><?php echo $this->data->name; ?> </dd> <dt><?php echo JText::_('COM_USERS_PROFILE_USERNAME_LABEL'); ?> </dt> <dd><?php
$app = JFactory::getApplication('site'); $template = $app->getTemplate(true); include_once JPATH_BASE . '/templates/' . $template->template . '/includes/functions.php'; ?> <div class="page page-contact page-contact__<?php echo $this->pageclass_sfx; ?> "> <?php if ($this->params->get('show_page_heading')) { ?> <!-- Heading --> <div class="page_header"> <?php echo wrap_with_tag(wrap_with_span($this->escape($this->params->get('page_heading'))), $template->params->get('category_page_heading')); ?> </div> <?php } if ($this->contact->name && $this->params->get('show_name')) { ?> <!-- Contact name --> <div clas="contact_name"> <?php echo '<' . $template->params->get('category_page_heading') . '>'; if ($this->item->published == 0) { ?> <span class="label label-warning"><?php echo JText::_('JUNPUBLISHED'); ?>
?> <form id="member-profile" action="<?php echo JRoute::_('index.php?option=com_users&task=profile.save'); ?> " method="post" class="form-validate form-vertical" enctype="multipart/form-data"> <?php foreach ($this->form->getFieldsets() as $group => $fieldset) { // Iterate through the form fieldsets and display each one. $fields = $this->form->getFieldset($group); if (count($fields)) { ?> <fieldset> <?php if (isset($fieldset->label)) { // If the fieldset has a label set, display it as the legend. echo wrap_with_tag(wrap_with_span($this->escape(JText::_($fieldset->label))), $template->params->get('category_page_heading')); } foreach ($fields as $field) { // Iterate through the fields in the set and display them. if ($field->hidden) { // If the field is hidden, just display the input. ?> <div class="control-group"> <div class="controls"> <?php echo $field->input; ?> </div> </div> <?php } else {
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers'); $isSingleTag = count($this->item) == 1; $app = JFactory::getApplication('site'); $template = $app->getTemplate(true); include_once JPATH_BASE . '/templates/' . $template->template . '/includes/functions.php'; ?> <section class="tag-category<?php echo $this->pageclass_sfx; ?> "> <?php if ($this->params->get('show_page_heading')) { echo wrap_with_tag(wrap_with_span($this->escape($this->params->get('page_heading'))), $template->params->get('blog_page_heading')); } if ($this->params->get('show_tag_title', 1)) { echo wrap_with_tag(wrap_with_span($this->escape(JHtml::_('content.prepare', $this->document->title, '', 'com_tag.tag'))), $template->params->get('blog_page_heading')); } // We only show a tag description if there is a single tag. if (count($this->item) == 1 && ($this->params->get('tag_list_show_tag_image', 1) || $this->params->get('tag_list_show_tag_description', 1))) { ?> <div class="category-desc"> <?php $images = json_decode($this->item[0]->images); if ($this->params->get('tag_list_show_tag_image', 1) == 1 && !empty($images->image_fulltext)) { ?> <img src="<?php echo htmlspecialchars($images->image_fulltext); ?> "> <?php }
<label for="ordering" class="ordering"><?php echo JText::_('COM_SEARCH_ORDERING'); ?> </label> <?php echo $this->lists['ordering']; ?> </div> </fieldset> <?php if ($this->params->get('search_areas', 1)) { ?> <fieldset class="only"> <?php echo wrap_with_tag(wrap_with_span($this->escape(JText::_('COM_SEARCH_SEARCH_ONLY'))), $template->params->get('category_item_heading')); foreach ($this->searchareas['search'] as $val => $txt) { $checked = is_array($this->searchareas['active']) && in_array($val, $this->searchareas['active']) ? 'checked="checked"' : ''; ?> <label for="area-<?php echo $val; ?> " class="checkbox"> <input type="checkbox" name="areas[]" value="<?php echo $val; ?> " id="area-<?php echo $val; ?> " <?php echo $checked;
include_once JPATH_BASE . '/templates/' . $template->template . '/includes/functions.php'; JHtml::addIncludePath(JPATH_COMPONENT . '/helpers'); JHtml::_('behavior.caption'); // If the page class is defined, add to class as suffix. // It will be a separate class if the user starts it with a space ?> <section class="page-featured page-featured__<?php echo $this->pageclass_sfx; ?> "> <?php if ($this->params->get('show_page_heading') != 0) { ?> <header class="page_header"> <?php echo wrap_with_tag($this->escape($this->params->get('page_heading')), $template->params->get('featured_page_heading')); ?> </header> <?php } $leadingcount = 0; if (!empty($this->lead_items)) { ?> <div class="items-leading"> <?php foreach ($this->lead_items as &$item) { ?> <div class="leading-<?php echo $leadingcount; echo $item->state == 0 ? ' system-unpublished' : null; ?>
JLoader::register('JHtmlUsers', JPATH_COMPONENT . '/helpers/html/users.php'); JHtml::register('users.spacer', array('JHtmlUsers', 'spacer')); JHtml::register('users.helpsite', array('JHtmlUsers', 'helpsite')); JHtml::register('users.templatestyle', array('JHtmlUsers', 'templatestyle')); JHtml::register('users.admin_language', array('JHtmlUsers', 'admin_language')); JHtml::register('users.language', array('JHtmlUsers', 'language')); JHtml::register('users.editor', array('JHtmlUsers', 'editor')); $app = JFactory::getApplication('site'); $template = $app->getTemplate(true); include_once JPATH_BASE . '/templates/' . $template->template . '/includes/functions.php'; $fields = $this->form->getFieldset('params'); if (count($fields)) { ?> <fieldset id="users-profile-custom"> <?php echo wrap_with_tag(wrap_with_span($this->escape(JText::_('COM_USERS_SETTINGS_FIELDSET_LABEL'))), $template->params->get('category_page_heading')); ?> <dl class="dl-horizontal"> <?php foreach ($fields as $field) { if (!$field->hidden) { ?> <dt><?php echo $field->title; ?> </dt> <dd> <?php if (JHtml::isRegistered('users.' . $field->id)) { echo JHtml::_('users.' . $field->id, $field->value); } elseif (JHtml::isRegistered('users.' . $field->fieldname)) {