29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-29 00:23:41 +00:00

EOL and Keywords bulk set

git-svn-id: http://joomlacode.org/svn/joomla/development/trunk@16235 6f6e1ebd-4c2b-0410-823f-f34bde69bce9
This commit is contained in:
Samuel Moffatt 2010-04-20 04:13:25 +00:00
parent ac891a71ed
commit 73d1e06709
459 changed files with 11101 additions and 11040 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Id: category.xml 14137 2010-01-12 19:32:01Z chdemko $ -->
<!-- $Id$ -->
<!-- This is a demo. Delete for beta -->
<form>
<fields

View File

@ -1,6 +1,6 @@
<?php
/**
* @version $Id: media.php 12774 2009-09-18 04:47:09Z eddieajau $
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -1,6 +1,6 @@
<?php
/**
* @version $Id: media.php 12774 2009-09-18 04:47:09Z eddieajau $
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<access component="com_contact">
<section name="component">
<action name="core.admin" title="JACTION_ADMIN" description="JACTION_ADMIN_COMPONENT_DESC" />
<action name="core.manage" title="JACTION_MANAGE" description="JACTION_MANAGE_COMPONENT_DESC" />
<action name="core.create" title="JACTION_CREATE" description="JACTION_CREATE_COMPONENT_DESC" />
<action name="core.delete" title="JACTION_DELETE" description="JACTION_DELETE_COMPONENT_DESC" />
<action name="core.edit" title="JACTION_EDIT" description="JACTION_EDIT_COMPONENT_DESC" />
<action name="core.edit.state" title="JACTION_EDIT_STATE" description="JACTION_EDIT_STATE_COMPONENT_DESC" />
</section>
<section name="category">
<action name="core.create" title="JACTION_CREATE" description="JACTION_CREATE_DESC" />
<action name="core.delete" title="JACTION_DELETE" description="JACTION_DELETE_DESC" />
<action name="core.edit" title="JACTION_EDIT" description="JACTION_EDIT_DESC" />
<action name="core.edit.state" title="JACTION_EDIT_STATE" description="JACTION_EDIT_STATE_DESC" />
</section>
<?xml version="1.0" encoding="utf-8"?>
<access component="com_contact">
<section name="component">
<action name="core.admin" title="JACTION_ADMIN" description="JACTION_ADMIN_COMPONENT_DESC" />
<action name="core.manage" title="JACTION_MANAGE" description="JACTION_MANAGE_COMPONENT_DESC" />
<action name="core.create" title="JACTION_CREATE" description="JACTION_CREATE_COMPONENT_DESC" />
<action name="core.delete" title="JACTION_DELETE" description="JACTION_DELETE_COMPONENT_DESC" />
<action name="core.edit" title="JACTION_EDIT" description="JACTION_EDIT_COMPONENT_DESC" />
<action name="core.edit.state" title="JACTION_EDIT_STATE" description="JACTION_EDIT_STATE_COMPONENT_DESC" />
</section>
<section name="category">
<action name="core.create" title="JACTION_CREATE" description="JACTION_CREATE_DESC" />
<action name="core.delete" title="JACTION_DELETE" description="JACTION_DELETE_DESC" />
<action name="core.edit" title="JACTION_EDIT" description="JACTION_EDIT_DESC" />
<action name="core.edit.state" title="JACTION_EDIT_STATE" description="JACTION_EDIT_STATE_DESC" />
</section>
</access>

View File

@ -1,23 +1,23 @@
<?php
/**
* @version $Id: weblinks.php 11952 2009-06-01 03:21:19Z robs $
* @package Joomla.Administrator
* @subpackage com_weblinks
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
// Access check.
if (!JFactory::getUser()->authorise('core.manage', 'com_contact')) {
return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
}
// Include dependancies
jimport('joomla.application.component.controller');
$controller = JController::getInstance('contact');
$controller->execute(JRequest::getCmd('task'));
$controller->redirect();
<?php
/**
* @version $Id$
* @package Joomla.Administrator
* @subpackage com_weblinks
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
// Access check.
if (!JFactory::getUser()->authorise('core.manage', 'com_contact')) {
return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
}
// Include dependancies
jimport('joomla.application.component.controller');
$controller = JController::getInstance('contact');
$controller->execute(JRequest::getCmd('task'));
$controller->redirect();

View File

@ -1,54 +1,54 @@
<?php
/**
* @version $Id: controller.php 12268 2009-06-22 00:05:11Z eddieajau $
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
jimport('joomla.application.component.controller');
/**
* Component Controller
*
* @package Joomla.Administrator
* @subpackage com_content
*/
class ContactController extends JController
{
/**
* Display the view
*/
function display()
{
// Get the document object.
$document = &JFactory::getDocument();
// Set the default view name and format from the Request.
$vName = JRequest::getWord('view', 'contacts');
$vFormat = $document->getType();
$lName = JRequest::getWord('layout', 'default');
// Get and render the view.
if ($view = &$this->getView($vName, $vFormat))
{
// Get the model for the view.
$model = &$this->getModel($vName);
// Push the model into the view (as default).
$view->setModel($model, true);
$view->setLayout($lName);
// Push document object into the view.
$view->assignRef('document', $document);
$view->display();
// Load the submenu.
require_once JPATH_COMPONENT.DS.'helpers'.DS.'contact.php';
ContactHelper::addSubmenu($vName);
}
}
}
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
jimport('joomla.application.component.controller');
/**
* Component Controller
*
* @package Joomla.Administrator
* @subpackage com_content
*/
class ContactController extends JController
{
/**
* Display the view
*/
function display()
{
// Get the document object.
$document = &JFactory::getDocument();
// Set the default view name and format from the Request.
$vName = JRequest::getWord('view', 'contacts');
$vFormat = $document->getType();
$lName = JRequest::getWord('layout', 'default');
// Get and render the view.
if ($view = &$this->getView($vName, $vFormat))
{
// Get the model for the view.
$model = &$this->getModel($vName);
// Push the model into the view (as default).
$view->setModel($model, true);
$view->setLayout($lName);
// Push document object into the view.
$view->assignRef('document', $document);
$view->display();
// Load the submenu.
require_once JPATH_COMPONENT.DS.'helpers'.DS.'contact.php';
ContactHelper::addSubmenu($vName);
}
}
}

View File

@ -1,20 +1,20 @@
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
jimport('joomla.application.component.controllerform');
/**
* @package Joomla.Administrator
* @subpackage com_contact
* @since 1.6
*/
class ContactControllerContact extends JControllerForm
{
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
jimport('joomla.application.component.controllerform');
/**
* @package Joomla.Administrator
* @subpackage com_contact
* @since 1.6
*/
class ContactControllerContact extends JControllerForm
{
}

View File

@ -1,29 +1,29 @@
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
jimport('joomla.application.component.controlleradmin');
/**
* @package Joomla.Administrator
* @subpackage com_content
* @since 1.6
*/
class ContactControllerContacts extends JControllerAdmin
{
/**
* Proxy for getModel
* @since 1.6
*/
function &getModel($name = 'Contact', $prefix = 'ContactModel')
{
$model = parent::getModel($name, $prefix, array('ignore_request' => true));
return $model;
}
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
jimport('joomla.application.component.controlleradmin');
/**
* @package Joomla.Administrator
* @subpackage com_content
* @since 1.6
*/
class ContactControllerContacts extends JControllerAdmin
{
/**
* Proxy for getModel
* @since 1.6
*/
function &getModel($name = 'Contact', $prefix = 'ContactModel')
{
$model = parent::getModel($name, $prefix, array('ignore_request' => true));
return $model;
}
}

View File

@ -1,71 +1,71 @@
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access
defined('_JEXEC') or die;
/**
* Contact component helper.
*
* @package Joomla.Administrator
* @subpackage com_menus
* @since 1.6
*/
class ContactHelper
{
/**
* Configure the Linkbar.
*
* @param string The name of the active view.
*/
public static function addSubmenu($vName)
{
JSubMenuHelper::addEntry(
JText::_('COM_CONTACT_SUBMENU_CONTACTS'),
'index.php?option=com_contact&view=contacts',
$vName == 'contacts'
);
JSubMenuHelper::addEntry(
JText::_('COM_CONTACT_SUBMENU_CATEGORIES'),
'index.php?option=com_categories&extension=com_contact',
$vName == 'categories'
);
}
/**
* Gets a list of the actions that can be performed.
*
* @param int The category ID.
* @param int The article ID.
*
* @return JObject
*/
public static function getActions($categoryId = 0, $contactId = 0)
{
$user = JFactory::getUser();
$result = new JObject;
if (empty($contactId) && empty($categoryId)) {
$assetName = 'com_contact';
}
else if (empty($contactId)) {
$assetName = 'com_contact.category.'.(int) $categoryId;
}
else {
$assetName = 'com_contact.contact.'.(int) $contactId;
}
$actions = array(
'core.admin', 'core.manage', 'core.create', 'core.edit', 'core.edit.state', 'core.delete'
);
foreach ($actions as $action) {
$result->set($action, $user->authorise($action, $assetName));
}
return $result;
}
}
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access
defined('_JEXEC') or die;
/**
* Contact component helper.
*
* @package Joomla.Administrator
* @subpackage com_menus
* @since 1.6
*/
class ContactHelper
{
/**
* Configure the Linkbar.
*
* @param string The name of the active view.
*/
public static function addSubmenu($vName)
{
JSubMenuHelper::addEntry(
JText::_('COM_CONTACT_SUBMENU_CONTACTS'),
'index.php?option=com_contact&view=contacts',
$vName == 'contacts'
);
JSubMenuHelper::addEntry(
JText::_('COM_CONTACT_SUBMENU_CATEGORIES'),
'index.php?option=com_categories&extension=com_contact',
$vName == 'categories'
);
}
/**
* Gets a list of the actions that can be performed.
*
* @param int The category ID.
* @param int The article ID.
*
* @return JObject
*/
public static function getActions($categoryId = 0, $contactId = 0)
{
$user = JFactory::getUser();
$result = new JObject;
if (empty($contactId) && empty($categoryId)) {
$assetName = 'com_contact';
}
else if (empty($contactId)) {
$assetName = 'com_contact.category.'.(int) $categoryId;
}
else {
$assetName = 'com_contact.contact.'.(int) $contactId;
}
$actions = array(
'core.admin', 'core.manage', 'core.create', 'core.edit', 'core.edit.state', 'core.delete'
);
foreach ($actions as $action) {
$result->set($action, $user->authorise($action, $assetName));
}
return $result;
}
}

View File

@ -1,85 +1,85 @@
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
/**
* @package Joomla.Administrator
* @subpackage com_content
*/
abstract class JHtmlContact
{
/**
* @param int $value The featured value
* @param int $i
*/
function featured($value = 0, $i)
{
// Array of image, task, title, action
$states = array(
0 => array('disabled.png', 'contact.featured', 'Contact_Toggle_Featured', 'Contact_Toggle_Featured'),
1 => array('tick.png', 'contact.unfeatured', 'Contact_Toggle_Featured', 'Contact_Toggle_Featured'),
);
$state = JArrayHelper::getValue($states, (int) $value, $states[1]);
$html = '<a href="javascript:void(0);" onclick="return listItemTask(\'cb'.$i.'\',\''.$state[1].'\')" title="'.JText::_($state[3]).'">'
. JHTML::_('image','admin/'.$state[0], JText::_($state[2]), NULL, true).'</a>';
return $html;
}
/**
* Displays the publishing state legend for contacts
*/
function Legend()
{
?>
<table cellspacing="0" cellpadding="4" border="0" align="center">
<tr align="center">
<td>
<?php echo JHTML::_('image','admin/publish_y.png', JText::_('Pending'), array('width' => 16, 'height' => 16, 'border' => 0), true); ?>
</td>
<td>
<?php echo JText::_('PUBLISHED_BUT_IS'); ?> <u><?php echo JText::_('Pending'); ?></u> |
</td>
<td>
<?php echo JHTML::_('image','admin/publish_g.png', JText::_('Visible'), array('width' => 16, 'height' => 16, 'border' => 0), true); ?>
</td>
<td>
<?php echo JText::_('PUBLISHED_AND_IS'); ?> <u><?php echo JText::_('Current'); ?></u> |
</td>
<td>
<?php echo JHTML::_('image','admin/publish_r.png', JText::_('Finished'), array('width' => 16, 'height' => 16, 'border' => 0), true); ?>
</td>
<td>
<?php echo JText::_('PUBLISHED_BUT_HAS'); ?> <u><?php echo JText::_('Expired'); ?></u> |
</td>
<td>
<?php echo JHTML::_('image','admin/publish_x.png', JText::_('Finished'), array('width' => 16, 'height' => 16, 'border' => 0), true); ?>
</td>
<td>
<?php echo JText::_('NOT_PUBLISHED'); ?> |
</td>
<td>
<?php echo JHTML::_('image','admin/disabled.png', JText::_('JARCHIVED'), array('width' => 16, 'height' => 16, 'border' => 0), true); ?>
</td>
<td>
<?php echo JText::_('JARCHIVED'); ?>
</td>
</tr>
<tr>
<td colspan="10" align="center">
<?php echo JText::_('CLICK_ON_ICON_TO_TOGGLE_STATE'); ?>
</td>
</tr>
</table>
<?php
}
}
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
/**
* @package Joomla.Administrator
* @subpackage com_content
*/
abstract class JHtmlContact
{
/**
* @param int $value The featured value
* @param int $i
*/
function featured($value = 0, $i)
{
// Array of image, task, title, action
$states = array(
0 => array('disabled.png', 'contact.featured', 'Contact_Toggle_Featured', 'Contact_Toggle_Featured'),
1 => array('tick.png', 'contact.unfeatured', 'Contact_Toggle_Featured', 'Contact_Toggle_Featured'),
);
$state = JArrayHelper::getValue($states, (int) $value, $states[1]);
$html = '<a href="javascript:void(0);" onclick="return listItemTask(\'cb'.$i.'\',\''.$state[1].'\')" title="'.JText::_($state[3]).'">'
. JHTML::_('image','admin/'.$state[0], JText::_($state[2]), NULL, true).'</a>';
return $html;
}
/**
* Displays the publishing state legend for contacts
*/
function Legend()
{
?>
<table cellspacing="0" cellpadding="4" border="0" align="center">
<tr align="center">
<td>
<?php echo JHTML::_('image','admin/publish_y.png', JText::_('Pending'), array('width' => 16, 'height' => 16, 'border' => 0), true); ?>
</td>
<td>
<?php echo JText::_('PUBLISHED_BUT_IS'); ?> <u><?php echo JText::_('Pending'); ?></u> |
</td>
<td>
<?php echo JHTML::_('image','admin/publish_g.png', JText::_('Visible'), array('width' => 16, 'height' => 16, 'border' => 0), true); ?>
</td>
<td>
<?php echo JText::_('PUBLISHED_AND_IS'); ?> <u><?php echo JText::_('Current'); ?></u> |
</td>
<td>
<?php echo JHTML::_('image','admin/publish_r.png', JText::_('Finished'), array('width' => 16, 'height' => 16, 'border' => 0), true); ?>
</td>
<td>
<?php echo JText::_('PUBLISHED_BUT_HAS'); ?> <u><?php echo JText::_('Expired'); ?></u> |
</td>
<td>
<?php echo JHTML::_('image','admin/publish_x.png', JText::_('Finished'), array('width' => 16, 'height' => 16, 'border' => 0), true); ?>
</td>
<td>
<?php echo JText::_('NOT_PUBLISHED'); ?> |
</td>
<td>
<?php echo JHTML::_('image','admin/disabled.png', JText::_('JARCHIVED'), array('width' => 16, 'height' => 16, 'border' => 0), true); ?>
</td>
<td>
<?php echo JText::_('JARCHIVED'); ?>
</td>
</tr>
<tr>
<td colspan="10" align="center">
<?php echo JText::_('CLICK_ON_ICON_TO_TOGGLE_STATE'); ?>
</td>
</tr>
</table>
<?php
}
}

View File

@ -1,308 +1,308 @@
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access
defined('_JEXEC') or die;
jimport('joomla.application.component.modeladmin');
/**
* Item Model for Contacts.
*
* @package Joomla.Administrator
* @subpackage com_contact
* @version 1.6
*/
class ContactModelContact extends JModelAdmin
{
/**
* Model context string.
*
* @var string
*/
protected $_context = 'com_contact.item';
/**
* Constructor.
*
* @param array An optional associative array of configuration settings.
* @see JController
*/
public function __construct($config = array())
{
parent::__construct($config);
$this->_item = 'item';
$this->_option = 'com_contact';
}
/**
* Returns a Table object, always creating it
*
* @param type The table type to instantiate
* @param string A prefix for the table class name. Optional.
* @param array Configuration array for model. Optional.
* @return JTable A database object
*/
public function getTable($type = 'Contact', $prefix = 'ContactTable', $config = array())
{
return JTable::getInstance($type, $prefix, $config);
}
/**
* Method to auto-populate the model state.
*
* @return void
*/
protected function _populateState()
{
$app = &JFactory::getApplication('administrator');
// Load the User state.
if (!($pk = (int) $app->getUserState('com_contact.edit.contact.id'))) {
$pk = (int) JRequest::getInt('item_id');
}
$this->setState('contact.id', $pk);
// Load the parameters.
$params = &JComponentHelper::getParams('com_contact');
// Load the parameters.
$this->setState('params', $params);
}
/**
* Method to get an item.
*
* @param integer The id of the item to get.
*
* @return mixed Item data object on success, false on failure.
*/
public function &getItem($itemId = null)
{
// Initialise variables.
$itemId = (!empty($itemId)) ? $itemId : (int)$this->getState('contact.id');
$false = false;
// Get a row instance.
$table = &$this->getTable();
// Attempt to load the row.
$return = $table->load($itemId);
// Check for a table object error.
if ($return === false && $table->getError()) {
$this->setError($table->getError());
return $false;
}
// Prime required properties.
if (empty($table->id))
{
$table->parent_id = $this->getState('item.parent_id');
//$table->menutype = $this->getState('item.menutype');
//$table->type = $this->getState('item.type');
}
// Convert the params field to an array.
$registry = new JRegistry;
$registry->loadJSON($table->params);
$table->params = $registry->toArray();
// Convert the params field to an array.
$registry = new JRegistry;
//$registry->loadJSON($table->metadata);
$table->metadata = $registry->toArray();
$value = JArrayHelper::toObject($table->getProperties(1), 'JObject');
return $value;
}
/**
* Method to get the row form.
*
* @return mixed JForm object on success, false on failure.
* @since 1.6
*/
public function getForm()
{
// Initialise variables.
$app = JFactory::getApplication();
JImport('joomla.form.form');
JForm::addFieldPath('JPATH_ADMINISTRATOR/components/com_users/models/fields');
// Get the form.
try {
$form = parent::getForm('com_contact.contact', 'contact', array('control' => 'jform'));
} catch (Exception $e) {
$this->setError($e->getMessage());
return false;
}
// Check the session for previously entered form data.
$data = $app->getUserState('com_contact.edit.contact.data', array());
// Bind the form data if present.
if (!empty($data)) {
$form->bind($data);
}
return $form;
}
/**
* Method to save the form data.
*
* @param array The form data.
* @return boolean True on success.
* @since 1.6
*/
public function save($data)
{
// Initialise variables;
$dispatcher = & JDispatcher::getInstance();
$table = &$this->getTable();
$pk = (!empty($data['id'])) ? $data['id'] : (int)$this->getState('contact.id');
$isNew = true;
// Include the contact plugins for the onSave events.
JPluginHelper::importPlugin('contact');
// Load the row if saving an existing item.
if ($pk > 0) {
$table->load($pk);
$isNew = false;
}
// Bind the data.
// Load email_form params into params array
foreach ($data['email_form'] as $key => $value) {
$data['params'][$key] = $value;
}
$data['email_form'] = array();
if (!$table->bind($data)) {
$this->setError($table->getError());
return false;
}
// Check the data.
if (!$table->check()) {
$this->setError($table->getError());
return false;
}
$result = $dispatcher->trigger('onBeforeContactSave', array(&$table, $isNew));
if (in_array(false, $result, true)) {
JError::raiseError(500, $row->getError());
return false;
}
// Store the data.
if (!$table->store()) {
$this->setError($table->getError());
return false;
}
// Clean the cache.
$cache = &JFactory::getCache('com_contact');
$cache->clean();
$dispatcher->trigger('onAfterContactSave', array(&$table, $isNew));
$this->setState('contact.id', $table->id);
return true;
}
/**
* Method to perform batch operations on a category or a set of contacts.
*
* @param array An array of commands to perform.
* @param array An array of category ids.
*
* @return boolean Returns true on success, false on failure.
*/
function batch($commands, $pks)
{
// Sanitize user ids.
$pks = array_unique($pks);
JArrayHelper::toInteger($pks);
// Remove any values of zero.
if (array_search(0, $pks, true)) {
unset($pks[array_search(0, $pks, true)]);
}
if (empty($pks)) {
$this->setError(JText::_('COM_CONTACT_NO_CONTACT_SELECTED'));
return false;
}
$done = false;
if (!empty($commands['assetgroup_id']))
{
if (!$this->_batchAccess($commands['assetgroup_id'], $pks)) {
return false;
}
$done = true;
}
if (!empty($commands['menu_id']))
{
$cmd = JArrayHelper::getValue($commands, 'move_copy', 'c');
if ($cmd == 'c' && !$this->_batchCopy($commands['menu_id'], $pks)) {
return false;
}
else if ($cmd == 'm' && !$this->_batchMove($commands['menu_id'], $pks)) {
return false;
}
$done = true;
}
if (!$done)
{
$this->setError('COM_MENUS_ERROR_INSUFFICIENT_BATCH_INFORMATION');
return false;
}
return true;
}
/**
* Batch access level changes for a group of rows.
*
* @param int The new value matching an Asset Group ID.
* @param array An array of row IDs.
*
* @return booelan True if successful, false otherwise and internal error is set.
*/
protected function _batchAccess($value, $pks)
{
$table = &$this->getTable();
foreach ($pks as $pk)
{
$table->reset();
$table->load($pk);
$table->access = (int) $value;
if (!$table->store())
{
$this->setError($table->getError());
return false;
}
}
return true;
}
function _orderConditions($table = null)
{
$condition = array();
$condition[] = 'catid = '.(int) $table->catid;
return $condition;
}
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access
defined('_JEXEC') or die;
jimport('joomla.application.component.modeladmin');
/**
* Item Model for Contacts.
*
* @package Joomla.Administrator
* @subpackage com_contact
* @version 1.6
*/
class ContactModelContact extends JModelAdmin
{
/**
* Model context string.
*
* @var string
*/
protected $_context = 'com_contact.item';
/**
* Constructor.
*
* @param array An optional associative array of configuration settings.
* @see JController
*/
public function __construct($config = array())
{
parent::__construct($config);
$this->_item = 'item';
$this->_option = 'com_contact';
}
/**
* Returns a Table object, always creating it
*
* @param type The table type to instantiate
* @param string A prefix for the table class name. Optional.
* @param array Configuration array for model. Optional.
* @return JTable A database object
*/
public function getTable($type = 'Contact', $prefix = 'ContactTable', $config = array())
{
return JTable::getInstance($type, $prefix, $config);
}
/**
* Method to auto-populate the model state.
*
* @return void
*/
protected function _populateState()
{
$app = &JFactory::getApplication('administrator');
// Load the User state.
if (!($pk = (int) $app->getUserState('com_contact.edit.contact.id'))) {
$pk = (int) JRequest::getInt('item_id');
}
$this->setState('contact.id', $pk);
// Load the parameters.
$params = &JComponentHelper::getParams('com_contact');
// Load the parameters.
$this->setState('params', $params);
}
/**
* Method to get an item.
*
* @param integer The id of the item to get.
*
* @return mixed Item data object on success, false on failure.
*/
public function &getItem($itemId = null)
{
// Initialise variables.
$itemId = (!empty($itemId)) ? $itemId : (int)$this->getState('contact.id');
$false = false;
// Get a row instance.
$table = &$this->getTable();
// Attempt to load the row.
$return = $table->load($itemId);
// Check for a table object error.
if ($return === false && $table->getError()) {
$this->setError($table->getError());
return $false;
}
// Prime required properties.
if (empty($table->id))
{
$table->parent_id = $this->getState('item.parent_id');
//$table->menutype = $this->getState('item.menutype');
//$table->type = $this->getState('item.type');
}
// Convert the params field to an array.
$registry = new JRegistry;
$registry->loadJSON($table->params);
$table->params = $registry->toArray();
// Convert the params field to an array.
$registry = new JRegistry;
//$registry->loadJSON($table->metadata);
$table->metadata = $registry->toArray();
$value = JArrayHelper::toObject($table->getProperties(1), 'JObject');
return $value;
}
/**
* Method to get the row form.
*
* @return mixed JForm object on success, false on failure.
* @since 1.6
*/
public function getForm()
{
// Initialise variables.
$app = JFactory::getApplication();
JImport('joomla.form.form');
JForm::addFieldPath('JPATH_ADMINISTRATOR/components/com_users/models/fields');
// Get the form.
try {
$form = parent::getForm('com_contact.contact', 'contact', array('control' => 'jform'));
} catch (Exception $e) {
$this->setError($e->getMessage());
return false;
}
// Check the session for previously entered form data.
$data = $app->getUserState('com_contact.edit.contact.data', array());
// Bind the form data if present.
if (!empty($data)) {
$form->bind($data);
}
return $form;
}
/**
* Method to save the form data.
*
* @param array The form data.
* @return boolean True on success.
* @since 1.6
*/
public function save($data)
{
// Initialise variables;
$dispatcher = & JDispatcher::getInstance();
$table = &$this->getTable();
$pk = (!empty($data['id'])) ? $data['id'] : (int)$this->getState('contact.id');
$isNew = true;
// Include the contact plugins for the onSave events.
JPluginHelper::importPlugin('contact');
// Load the row if saving an existing item.
if ($pk > 0) {
$table->load($pk);
$isNew = false;
}
// Bind the data.
// Load email_form params into params array
foreach ($data['email_form'] as $key => $value) {
$data['params'][$key] = $value;
}
$data['email_form'] = array();
if (!$table->bind($data)) {
$this->setError($table->getError());
return false;
}
// Check the data.
if (!$table->check()) {
$this->setError($table->getError());
return false;
}
$result = $dispatcher->trigger('onBeforeContactSave', array(&$table, $isNew));
if (in_array(false, $result, true)) {
JError::raiseError(500, $row->getError());
return false;
}
// Store the data.
if (!$table->store()) {
$this->setError($table->getError());
return false;
}
// Clean the cache.
$cache = &JFactory::getCache('com_contact');
$cache->clean();
$dispatcher->trigger('onAfterContactSave', array(&$table, $isNew));
$this->setState('contact.id', $table->id);
return true;
}
/**
* Method to perform batch operations on a category or a set of contacts.
*
* @param array An array of commands to perform.
* @param array An array of category ids.
*
* @return boolean Returns true on success, false on failure.
*/
function batch($commands, $pks)
{
// Sanitize user ids.
$pks = array_unique($pks);
JArrayHelper::toInteger($pks);
// Remove any values of zero.
if (array_search(0, $pks, true)) {
unset($pks[array_search(0, $pks, true)]);
}
if (empty($pks)) {
$this->setError(JText::_('COM_CONTACT_NO_CONTACT_SELECTED'));
return false;
}
$done = false;
if (!empty($commands['assetgroup_id']))
{
if (!$this->_batchAccess($commands['assetgroup_id'], $pks)) {
return false;
}
$done = true;
}
if (!empty($commands['menu_id']))
{
$cmd = JArrayHelper::getValue($commands, 'move_copy', 'c');
if ($cmd == 'c' && !$this->_batchCopy($commands['menu_id'], $pks)) {
return false;
}
else if ($cmd == 'm' && !$this->_batchMove($commands['menu_id'], $pks)) {
return false;
}
$done = true;
}
if (!$done)
{
$this->setError('COM_MENUS_ERROR_INSUFFICIENT_BATCH_INFORMATION');
return false;
}
return true;
}
/**
* Batch access level changes for a group of rows.
*
* @param int The new value matching an Asset Group ID.
* @param array An array of row IDs.
*
* @return booelan True if successful, false otherwise and internal error is set.
*/
protected function _batchAccess($value, $pks)
{
$table = &$this->getTable();
foreach ($pks as $pk)
{
$table->reset();
$table->load($pk);
$table->access = (int) $value;
if (!$table->store())
{
$this->setError($table->getError());
return false;
}
}
return true;
}
function _orderConditions($table = null)
{
$condition = array();
$condition[] = 'catid = '.(int) $table->catid;
return $condition;
}
}

View File

@ -1,149 +1,149 @@
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
jimport('joomla.application.component.modellist');
/**
* About Page Model
*
* @package Joomla.Administrator
* @subpackage com_contact
*/
class ContactModelContacts extends JModelList
{
/**
* Model context string.
*
* @var string
*/
public $_context = 'com_contact.contacts';
/**
* Method to auto-populate the model state.
*
* @since 1.6
*/
protected function _populateState()
{
$app = JFactory::getApplication();
$search = $app->getUserStateFromRequest($this->_context.'.search', 'filter_search');
$this->setState('filter.search', $search);
$access = $app->getUserStateFromRequest($this->_context.'.filter.access', 'filter_access', 0, 'int');
$this->setState('filter.access', $access);
$published = $app->getUserStateFromRequest($this->_context.'.published', 'filter_published', '');
$this->setState('filter.published', $published);
$categoryId = $app->getUserStateFromRequest($this->_context.'.category_id', 'filter_category_id');
$this->setState('filter.category_id', $categoryId);
// List state information.
parent::_populateState('a.name', 'asc');
}
/**
* Method to get a store id based on model configuration state.
*
* This is necessary because the model is used by the component and
* different modules that might need different sets of data or different
* ordering requirements.
*
* @param string $id A prefix for the store id.
*
* @return string A store id.
*/
protected function _getStoreId($id = '')
{
// Compile the store id.
$id .= ':'.$this->getState('filter.search');
$id .= ':'.$this->getState('filter.published');
return parent::_getStoreId($id);
}
/**
* @param boolean True to join selected foreign information
*
* @return string
*/
function _getListQuery($resolveFKs = true)
{
// Create a new query object.
$db = $this->getDbo();
$query = $db->getQuery(true);
// Select the required fields from the table.
$query->select(
$this->getState(
'list.select',
'a.id, a.name, a.alias, a.checked_out, a.checked_out_time, a.published, a.access, a.ordering, a.catid')
);
$query->from('#__contact_details AS a');
// Join over the users for the checked out user.
$query->select('uc.name AS editor');
$query->join('LEFT', '#__users AS uc ON uc.id=a.checked_out');
// Join over the asset groups.
$query->select('ag.title AS access_level');
$query->join('LEFT', '#__viewlevels AS ag ON ag.id = a.access');
// Join over the categories.
$query->select('c.title AS category_title');
$query->join('LEFT', '#__categories AS c ON c.id = a.catid');
// Filter by access level.
if ($access = $this->getState('filter.access')) {
$query->where('a.access = ' . (int) $access);
}
// Filter by published state
$published = $this->getState('filter.published');
if (is_numeric($published)) {
$query->where('a.published = ' . (int) $published);
} else if ($published === '') {
$query->where('(a.published = 0 OR a.published = 1)');
}
// Filter by category.
$categoryId = $this->getState('filter.category_id');
if (is_numeric($categoryId)) {
$query->where('a.catid = ' . (int) $categoryId);
}
// Filter by search in name
$search = $this->getState('filter.search');
if (!empty($search)) {
if (stripos($search, 'id:') === 0) {
$query->where('a.id = '.(int) substr($search, 3));
} else if (stripos($search, 'author:') === 0) {
$search = $db->Quote('%'.$db->getEscaped(substr($search, 7), true).'%');
$query->where('ua.name LIKE '.$search.' OR ua.username LIKE '.$search);
} else {
$search = $db->Quote('%'.$db->getEscaped($search, true).'%');
$query->where('a.name LIKE '.$search.' OR a.alias LIKE '.$search);
}
}
if($this->getState('list.ordering', 'ordering') == 'a.ordering')
{
$query->order('a.catid, '.$db->getEscaped($this->getState('list.ordering', 'a.ordering')).' '.$db->getEscaped($this->getState('list.direction', 'ASC')));
} else {
// Add the list ordering clause.
$query->order($db->getEscaped($this->getState('list.ordering', 'a.ordering')).', ordering '.$db->getEscaped($this->getState('list.direction', 'ASC')));
}
//echo nl2br(str_replace('#__','jos_',$query));
return $query;
}
}
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
jimport('joomla.application.component.modellist');
/**
* About Page Model
*
* @package Joomla.Administrator
* @subpackage com_contact
*/
class ContactModelContacts extends JModelList
{
/**
* Model context string.
*
* @var string
*/
public $_context = 'com_contact.contacts';
/**
* Method to auto-populate the model state.
*
* @since 1.6
*/
protected function _populateState()
{
$app = JFactory::getApplication();
$search = $app->getUserStateFromRequest($this->_context.'.search', 'filter_search');
$this->setState('filter.search', $search);
$access = $app->getUserStateFromRequest($this->_context.'.filter.access', 'filter_access', 0, 'int');
$this->setState('filter.access', $access);
$published = $app->getUserStateFromRequest($this->_context.'.published', 'filter_published', '');
$this->setState('filter.published', $published);
$categoryId = $app->getUserStateFromRequest($this->_context.'.category_id', 'filter_category_id');
$this->setState('filter.category_id', $categoryId);
// List state information.
parent::_populateState('a.name', 'asc');
}
/**
* Method to get a store id based on model configuration state.
*
* This is necessary because the model is used by the component and
* different modules that might need different sets of data or different
* ordering requirements.
*
* @param string $id A prefix for the store id.
*
* @return string A store id.
*/
protected function _getStoreId($id = '')
{
// Compile the store id.
$id .= ':'.$this->getState('filter.search');
$id .= ':'.$this->getState('filter.published');
return parent::_getStoreId($id);
}
/**
* @param boolean True to join selected foreign information
*
* @return string
*/
function _getListQuery($resolveFKs = true)
{
// Create a new query object.
$db = $this->getDbo();
$query = $db->getQuery(true);
// Select the required fields from the table.
$query->select(
$this->getState(
'list.select',
'a.id, a.name, a.alias, a.checked_out, a.checked_out_time, a.published, a.access, a.ordering, a.catid')
);
$query->from('#__contact_details AS a');
// Join over the users for the checked out user.
$query->select('uc.name AS editor');
$query->join('LEFT', '#__users AS uc ON uc.id=a.checked_out');
// Join over the asset groups.
$query->select('ag.title AS access_level');
$query->join('LEFT', '#__viewlevels AS ag ON ag.id = a.access');
// Join over the categories.
$query->select('c.title AS category_title');
$query->join('LEFT', '#__categories AS c ON c.id = a.catid');
// Filter by access level.
if ($access = $this->getState('filter.access')) {
$query->where('a.access = ' . (int) $access);
}
// Filter by published state
$published = $this->getState('filter.published');
if (is_numeric($published)) {
$query->where('a.published = ' . (int) $published);
} else if ($published === '') {
$query->where('(a.published = 0 OR a.published = 1)');
}
// Filter by category.
$categoryId = $this->getState('filter.category_id');
if (is_numeric($categoryId)) {
$query->where('a.catid = ' . (int) $categoryId);
}
// Filter by search in name
$search = $this->getState('filter.search');
if (!empty($search)) {
if (stripos($search, 'id:') === 0) {
$query->where('a.id = '.(int) substr($search, 3));
} else if (stripos($search, 'author:') === 0) {
$search = $db->Quote('%'.$db->getEscaped(substr($search, 7), true).'%');
$query->where('ua.name LIKE '.$search.' OR ua.username LIKE '.$search);
} else {
$search = $db->Quote('%'.$db->getEscaped($search, true).'%');
$query->where('a.name LIKE '.$search.' OR a.alias LIKE '.$search);
}
}
if($this->getState('list.ordering', 'ordering') == 'a.ordering')
{
$query->order('a.catid, '.$db->getEscaped($this->getState('list.ordering', 'a.ordering')).' '.$db->getEscaped($this->getState('list.direction', 'ASC')));
} else {
// Add the list ordering clause.
$query->order($db->getEscaped($this->getState('list.ordering', 'a.ordering')).', ordering '.$db->getEscaped($this->getState('list.direction', 'ASC')));
}
//echo nl2br(str_replace('#__','jos_',$query));
return $query;
}
}

View File

@ -1,92 +1,92 @@
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('JPATH_BASE') or die;
jimport('joomla.form.formfield');
/**
* Supports a modal contact picker.
*
* @package Joomla.Administrator
* @subpackage com_contact
* @since 1.6
*/
class JFormFieldModal_Contacts extends JFormField
{
/**
* The form field type.
*
* @var string
* @since 1.6
*/
protected $type = 'Modal_Contacts';
/**
* Method to get the field input markup.
*
* @return string The field input markup.
* @since 1.6
*/
protected function getInput()
{
// Load the javascript and css
JHtml::_('behavior.framework');
JHTML::_('script','system/modal.js', false, true);
JHTML::_('stylesheet','system/modal.css', array(), true);
// Build the script.
$script = array();
$script[] = ' function jSelectChart_'.$this->id.'(id, name, object) {';
$script[] = ' document.id("'.$this->id.'_id").value = id;';
$script[] = ' document.id("'.$this->id.'_name").value = name;';
$script[] = ' SqueezeBox.close();';
$script[] = ' }';
// Add the script to the document head.
JFactory::getDocument()->addScriptDeclaration(implode("\n", $script));
// Build the script.
$script = array();
$script[] = ' window.addEvent("domready", function() {';
$script[] = ' var div = new Element("div").setStyle("display", "none").injectBefore(document.id("menu-types"));';
$script[] = ' document.id("menu-types").injectInside(div);';
$script[] = ' SqueezeBox.initialize();';
$script[] = ' SqueezeBox.assign($$("input.modal"), {parse:"rel"});';
$script[] = ' });';
// Add the script to the document head.
JFactory::getDocument()->addScriptDeclaration(implode("\n", $script));
// Get the title of the linked chart
$db = & JFactory::getDBO();
$db->setQuery(
'SELECT name' .
' FROM #__contact_details' .
' WHERE id = '.(int) $this->value
);
$title = $db->loadResult();
if ($error = $db->getErrorMsg()) {
JError::raiseWarning(500, $error);
}
if (empty($title)) {
$title = JText::_('COM_CONTACT_SELECT_A_CONTACT');
}
$link = 'index.php?option=com_contact&amp;view=contacts&amp;layout=modal&amp;tmpl=component&amp;function=jSelectChart_'.$this->id;
JHTML::_('behavior.modal', 'a.modal');
$html = "\n".'<div class="fltlft"><input type="text" id="'.$this->id.'_name" value="'.htmlspecialchars($title, ENT_QUOTES, 'UTF-8').'" disabled="disabled" /></div>';
$html .= '<div class="button2-left"><div class="blank"><a class="modal" title="'.JText::_('COM_CONTACT_CHANGE_CONTACT_BUTTON').'" href="'.$link.'" rel="{handler: \'iframe\', size: {x: 800, y: 450}}">'.JText::_('COM_CONTACT_CHANGE_CONTACT_BUTTON').'</a></div></div>'."\n";
$html .= "\n".'<input type="hidden" id="'.$this->id.'_id" name="'.$this->name.'" value="'.(int) $this->value.'" />';
return $html;
}
}
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('JPATH_BASE') or die;
jimport('joomla.form.formfield');
/**
* Supports a modal contact picker.
*
* @package Joomla.Administrator
* @subpackage com_contact
* @since 1.6
*/
class JFormFieldModal_Contacts extends JFormField
{
/**
* The form field type.
*
* @var string
* @since 1.6
*/
protected $type = 'Modal_Contacts';
/**
* Method to get the field input markup.
*
* @return string The field input markup.
* @since 1.6
*/
protected function getInput()
{
// Load the javascript and css
JHtml::_('behavior.framework');
JHTML::_('script','system/modal.js', false, true);
JHTML::_('stylesheet','system/modal.css', array(), true);
// Build the script.
$script = array();
$script[] = ' function jSelectChart_'.$this->id.'(id, name, object) {';
$script[] = ' document.id("'.$this->id.'_id").value = id;';
$script[] = ' document.id("'.$this->id.'_name").value = name;';
$script[] = ' SqueezeBox.close();';
$script[] = ' }';
// Add the script to the document head.
JFactory::getDocument()->addScriptDeclaration(implode("\n", $script));
// Build the script.
$script = array();
$script[] = ' window.addEvent("domready", function() {';
$script[] = ' var div = new Element("div").setStyle("display", "none").injectBefore(document.id("menu-types"));';
$script[] = ' document.id("menu-types").injectInside(div);';
$script[] = ' SqueezeBox.initialize();';
$script[] = ' SqueezeBox.assign($$("input.modal"), {parse:"rel"});';
$script[] = ' });';
// Add the script to the document head.
JFactory::getDocument()->addScriptDeclaration(implode("\n", $script));
// Get the title of the linked chart
$db = & JFactory::getDBO();
$db->setQuery(
'SELECT name' .
' FROM #__contact_details' .
' WHERE id = '.(int) $this->value
);
$title = $db->loadResult();
if ($error = $db->getErrorMsg()) {
JError::raiseWarning(500, $error);
}
if (empty($title)) {
$title = JText::_('COM_CONTACT_SELECT_A_CONTACT');
}
$link = 'index.php?option=com_contact&amp;view=contacts&amp;layout=modal&amp;tmpl=component&amp;function=jSelectChart_'.$this->id;
JHTML::_('behavior.modal', 'a.modal');
$html = "\n".'<div class="fltlft"><input type="text" id="'.$this->id.'_name" value="'.htmlspecialchars($title, ENT_QUOTES, 'UTF-8').'" disabled="disabled" /></div>';
$html .= '<div class="button2-left"><div class="blank"><a class="modal" title="'.JText::_('COM_CONTACT_CHANGE_CONTACT_BUTTON').'" href="'.$link.'" rel="{handler: \'iframe\', size: {x: 800, y: 450}}">'.JText::_('COM_CONTACT_CHANGE_CONTACT_BUTTON').'</a></div></div>'."\n";
$html .= "\n".'<input type="hidden" id="'.$this->id.'_id" name="'.$this->name.'" value="'.(int) $this->value.'" />';
return $html;
}
}

View File

@ -1,488 +1,488 @@
<?xml version="1.0" encoding="utf-8"?>
<form>
<fieldset>
<field name="id" type="text"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC"
size="10" default="0" required="true"
readonly="true" class="readonly" />
<field name="name" type="text"
label="COM_CONTACT_FIELD_NAME_LABEL" description="COM_CONTACT_FIELD_NAME_DESC"
class="inputbox" size="30" required="true" />
<field name="alias" type="text" label="JFIELD_ALIAS_LABEL"
description="JFIELD_ALIAS_DESC" class="inputbox" size="30" />
<field name="user_id" type="user"
label="COM_CONTACT_FIELD_LINKED_USER_LABEL" description="COM_CONTACT_FIELD_LINKED_USER_DESC" />
<field id="published" name="published" type="list"
label="JFIELD_PUBLISHED_LABEL" description="JFIELD_PUBLISHED_DESC"
class="inputbox" size="1" default="1"
>
<option value="1">
JPUBLISHED</option>
<option value="0">
JUNPUBLISHED</option>
<option value="-1">
JARCHIVED</option>
<option value="-2">
JTRASHED</option>
<option value="-3">
JOPTION_REPORTED</option>
</field>
<field name="catid" type="category" extension="com_contact"
label="JFIELD_CATEGORY_LABEL" description="JFIELD_CATEGORY_DESC"
class="inputbox" required="true"
>
</field>
<field name="access" type="accesslevel" label="JFIELD_ACCESS_LABEL"
description="JFIELD_ACCESS_DESC" class="inputbox" size="1" />
<field name="sortname1" type="text"
label="COM_CONTACT_FIELD_SORTNAME1_LABEL" description="COM_CONTACT_FIELD_SORTNAME1_DESC"
class="inputbox" size="30" />
<field name="sortname2" type="text"
label="COM_CONTACT_FIELD_SORTNAME2_LABEL" description="COM_CONTACT_FIELD_SORTNAME2_DESC"
class="inputbox" size="30" />
<field name="sortname3" type="text"
label="COM_CONTACT_FIELD_SORTNAME3_LABEL" description="COM_CONTACT_FIELD_SORTNAME3_DESC"
class="inputbox" size="30" />
<field name="con_position" type="text"
label="COM_CONTACT_FIELD_INFORMATION_POSITION_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_POSITION_DESC"
class="inputbox" size="30" />
<field name="email_to" type="text"
label="COM_CONTACT_FIELD_INFORMATION_EMAIL_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_EMAIL_DESC"
class="inputbox" size="30" />
<field name="address" type="textarea"
label="COM_CONTACT_FIELD_INFORMATION_ADDRESS_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_ADDRESS_DESC"
class="inputbox" rows="3" cols="30" />
<field name="suburb" type="text"
label="COM_CONTACT_FIELD_INFORMATION_SUBURB_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_SUBURB_DESC"
class="inputbox" size="30" />
<field name="state" type="text"
label="COM_CONTACT_FIELD_INFORMATION_STATE_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_STATE_DESC"
class="inputbox" size="30" />
<field name="postcode" type="text"
label="COM_CONTACT_FIELD_INFORMATION_POSTCODE_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_POSTCODE_DESC"
class="inputbox" size="30" />
<field name="country" type="text"
label="COM_CONTACT_FIELD_INFORMATION_COUNTRY_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_COUNTRY_DESC"
class="inputbox" size="30" />
<field name="telephone" type="text"
label="COM_CONTACT_FIELD_INFORMATION_TELEPHONE_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_TELEPHONE_DESC"
class="inputbox" size="30" />
<field name="mobile" type="text"
label="COM_CONTACT_FIELD_INFORMATION_MOBILE_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_MOBILE_DESC"
class="inputbox" size="30" />
<field name="webpage" type="text"
label="COM_CONTACT_FIELD_INFORMATION_WEBPAGE_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_WEBPAGE_DESC"
class="inputbox" size="30" />
<field name="misc" type="editor"
label="COM_CONTACT_FIELD_INFORMATION_MISC_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_MISC_DESC"
class="inputbox" filter="safehtml" buttons="pagebreak,readmore"
size="30" />
<field name="image" type="imagelist" directory="/images"
label="COM_CONTACT_FIELD_PARAMS_IMAGE_LABEL" description="COM_CONTACT_FIELD_PARAMS_IMAGE_DESC" >
</field>
<field name="checked_out" type="hidden" filter="unset" />
<field name="checked_out_time" type="hidden" filter="unset" />
<field name="ordering" type="ordering" class="inputbox"
label="JFIELD_ORDERING_LABEL" description="JFIELD_ORDERING_DESC" />
<field name="metakey" type="textarea"
label="JFIELD_META_KEYWORDS_LABEL" description="JFIELD_META_KEYWORDS_DESC"
class="inputbox" rows="3" cols="30" />
<field name="metadesc" type="textarea"
label="JFIELD_META_DESCRIPTION_LABEL" description="JFIELD_META_DESCRIPTION_DESC"
class="inputbox" rows="3" cols="30" />
<field name="language" type="contentlanguage" label="JFIELD_LANGUAGE_LABEL"
description="COM_CONTACT_FIELD_LANGUAGE_DESC" class="inputbox"
>
<option value="">JOPTION_DEFAULT_LANGUAGE</option>
</field>
<field name="contact_icons" type="list" default="0"
label="COM_CONTACT_FIELD_ICONS_SETTINGS" description="COM_CONTACT_FIELD_ICONS_SETTINGS_DESC"
>
<option value="0">COM_CONTACT_FIELD_VALUE_NONE
</option>
<option value="1">COM_CONTACT_FIELD_VALUE_TEXT
</option>
<option value="2">COM_CONTACT_FIELD_VALUE_ICONS
</option>
</field>
<field name="icon_address" type="imagelist"
directory="/images" hide_none="1"
label="COM_CONTACT_FIELD_ICONS_ADDRESS_LABEL"
description="COM_CONTACT_FIELD_ICONS_ADDRESS_DESC" />
<field name="icon_email" type="imagelist" directory="/images"
hide_none="1" label="COM_CONTACT_FIELD_ICONS_EMAIL_LABEL"
description="COM_CONTACT_FIELD_ICONS_EMAIL_DESC" />
<field name="icon_telephone" type="imagelist"
directory="/images" hide_none="1"
abel="COM_CONTACT_FIELD_ICONS_TELEPHONE_LABEL"
description="COM_CONTACT_FIELD_ICONS_TELEPHONE_DESC" />
<field name="icon_mobile" type="imagelist"
directory="/images" hide_none="1"
label="COM_CONTACT_FIELD_ICONS_MOBILE_LABEL" description="COM_CONTACT_FIELD_ICONS_MOBILE_DESC" />
<field name="icon_fax" type="imagelist" directory="/images"
hide_none="1" label="COM_CONTACT_FIELD_ICONS_FAX_LABEL"
description="COM_CONTACT_FIELD_ICONS_FAX_DESC" />
<field name="icon_misc" type="imagelist" directory="/images"
hide_none="1" label="COM_CONTACT_FIELD_ICONS_MISC_LABEL"
description="COM_CONTACT_FIELD_ICONS_MISC_DESC" />
<field id="metadata" name="metadata" type="textarea"
label="Contact_Metadata_Label" description="Contact_Metadata_Desc"
class="inputbox" rows="3" cols="30" />
</fieldset>
<fields name="params">
<fieldset name="basic">
<field name="show_contact_category" type="list"
label="COM_CONTACT_FIELD_SHOW_CATEGORY_LABEL"
description="COM_CONTACT_FIELD_SHOW_CATEGORY_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="hide">JHIDE</option>
<option value="show_no_link">COM_CONTACT_FIELD_VALUE_NO_LINK
</option>
<option value="show_with_link">COM_CONTACT_FIELD_VALUE_WITH_LINK
</option>
</field>
<field name="show_name" type="list"
label="COM_CONTACT_FIELD_PARAMS_NAME_LABEL" description="COM_CONTACT_FIELD_PARAMS_NAME_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_position" type="list"
label="COM_CONTACT_FIELD_PARAMS_CONTACT_POSITION_LABEL"
description="COM_CONTACT_FIELD_PARAMS_CONTACT_POSITION_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_email" type="list"
label="COM_CONTACT_FIELD_PARAMS_CONTACT_E_MAIL_LABEL"
description="COM_CONTACT_FIELD_PARAMS_CONTACT_E_MAIL_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_street_address" type="list"
label="COM_CONTACT_FIELD_PARAMS_STREET_ADDRESS_LABEL"
description="COM_CONTACT_FIELD_PARAMS_STREET_ADDRESS_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_suburb" type="list"
label="COM_CONTACT_FIELD_PARAMS_TOWN-SUBURB_LABEL"
description="COM_CONTACT_FIELD_PARAMS_TOWN-SUBURB_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_state" type="list"
label="COM_CONTACT_FIELD_PARAMS_STATE-COUNTY_LABEL"
description="COM_CONTACT_FIELD_PARAMS_STATE-COUNTY_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_postcode" type="list"
label="COM_CONTACT_FIELD_PARAMS_POST-ZIP_CODE_LABEL"
description="COM_CONTACT_FIELD_PARAMS_POST-ZIP_CODE_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_country" type="list"
label="COM_CONTACT_FIELD_PARAMS_COUNTRY_LABEL"
description="COM_CONTACT_FIELD_PARAMS_COUNTRY_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_telephone" type="list"
label="COM_CONTACT_FIELD_PARAMS_TELEPHONE_LABEL"
description="COM_CONTACT_FIELD_PARAMS_TELEPHONE_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_mobile" type="list"
label="COM_CONTACT_FIELD_PARAMS_MOBILE_LABEL"
description="COM_CONTACT_FIELD_PARAMS_MOBILE_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_fax" type="list"
label="COM_CONTACT_FIELD_PARAMS_FAX_LABEL" description="COM_CONTACT_FIELD_PARAMS_FAX_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_webpage" type="list"
label="COM_CONTACT_FIELD_PARAMS_WEBPAGE_LABEL"
description="COM_CONTACT_FIELD_PARAMS_WEBPAGE_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_misc" type="list"
label="COM_CONTACT_FIELD_PARAMS_MISC_INFO_LABEL"
description="COM_CONTACT_FIELD_PARAMS_MISC_INFO_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_image" type="list"
label="COM_CONTACT_FIELD_PARAMS_SHOW_IMAGE_LABEL"
description="COM_CONTACT_FIELD_PARAMS_SHOW_IMAGE_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="allow_vcard" type="list"
label="COM_CONTACT_FIELD_PARAMS_VCARD_LABEL"
description="COM_CONTACT_FIELD_PARAMS_VCARD_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_articles" label="COM_CONTACT_FIELD_ARTICLES_SHOW_LABEL"
description="COM_CONTACT_FIELD_ARTICLES_SHOW_DESC" type="list"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_profile" type="list"
label="COM_CONTACT_FIELD_PROFILE_SHOW_LABEL"
description="COM_CONTACT_FIELD_PROFILE_SHOW_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_links" label="COM_CONTACT_FIELD_SHOW_LINKS_LABEL"
description="COM_CONTACT_FIELD_SHOW_LINKS_DESC" type="list"
default="0"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="linka_name" type="text"
label="COM_CONTACT_FIELD_LINKA_NAME_LABEL" description="COM_CONTACT_FIELD_LINK_NAME_DESC"
class="inputbox" size="30" />
<field name="linka" type="text"
label="COM_CONTACT_FIELD_LINKA_LABEL" description="COM_CONTACT_FIELD_LINKA_DESC"
class="inputbox" size="30" />
<field name="linkb_name" type="text"
label="COM_CONTACT_FIELD_LINKB_NAME_LABEL" description="COM_CONTACT_FIELD_LINK_NAME_DESC"
class="inputbox" size="30" />
<field name="linkb" type="text"
label="COM_CONTACT_FIELD_LINKB_LABEL" description="COM_CONTACT_FIELD_LINKB_DESC"
class="inputbox" size="30" />
<field name="linkc_name" type="text"
label="COM_CONTACT_FIELD_LINKC_NAME_LABEL" description="COM_CONTACT_FIELD_LINK_NAME_DESC"
class="inputbox" size="30" />
<field name="linkc" type="text"
label="COM_CONTACT_FIELD_LINKC_LABEL" description="COM_CONTACT_FIELD_LINKC_DESC"
class="inputbox" size="30" />
<field name="linkd_name" type="text"
label="COM_CONTACT_FIELD_LINKD_NAME_LABEL" description="COM_CONTACT_FIELD_LINK_NAME_DESC"
class="inputbox" size="30" />
<field name="linkd" type="text"
label="COM_CONTACT_FIELD_LINKD_LABEL" description="COM_CONTACT_FIELD_LINKD_DESC"
class="inputbox" size="30" />
<field name="linke_name" type="text"
label="COM_CONTACT_FIELD_LINKE_NAME_LABEL" description="COM_CONTACT_FIELD_LINK_NAME_DESC"
class="inputbox" size="30" />
<field name="linke" type="text"
label="COM_CONTACT_FIELD_LINKE_LABEL" description="COM_CONTACT_FIELD_LINKE_DESC"
class="inputbox" size="30" />
</fieldset>
<fieldset name="metadata">
<field name="robots" type="text"
label="JFIELD_METADATA_ROBOTS_LABEL" description="JFIELD_METADATA_ROBOTS_DESC"
size="20" />
<field name="rights" type="text"
label="JFIELD_METADATA_RIGHTS_LABEL" description="JFIELD_METADATA_RIGHTS_DESC"
size="20" />
</fieldset>
</fields>
<fields name="email_form" label="Contact_Email_Form_Label">
<field name="show_email_form" type="list"
label="COM_CONTACT_FIELD_EMAIL_SHOW_FORM_LABEL"
description="COM_CONTACT_FIELD_EMAIL_SHOW_FORM_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_email_copy" type="list"
label="COM_CONTACT_FIELD_EMAIL_EMAIL_COPY_LABEL"
description="COM_CONTACT_FIELD_EMAIL_EMAIL_COPY_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="banned_email" type="textarea"
label="COM_CONTACT_FIELD_EMAIL_BANNED_EMAIL_LABEL" rows="3"
cols="30" description="COM_CONTACT_FIELD_EMAIL_BANNED_EMAIL_DESC" />
<field name="banned_subject" type="textarea"
label="COM_CONTACT_FIELD_EMAIL_BANNED_SUBJECT_LABEL"
rows="3" cols="30"
description="COM_CONTACT_FIELD_EMAIL_BANNED_SUBJECT_DESC" />
<field name="banned_text" type="textarea"
label="COM_CONTACT_FIELD_EMAIL_BANNED_TEXT_LABEL" rows="3"
cols="30" description="COM_CONTACT_FIELD_EMAIL_BANNED_TEXT_DESC" />
<field name="validate_session" type="list"
label="COM_CONTACT_FIELD_CONFIG_SESSION_CHECK_LABEL"
description="COM_CONTACT_FIELD_CONFIG_SESSION_CHECK_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="custom_reply" type="list"
label="COM_CONTACT_FIELD_CONFIG_CUSTOM_REPLY_LABEL"
description="COM_CONTACT_FIELD_CONFIG_CUSTOM_REPLY_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="redirect" type="text" size="30"
label="COM_CONTACT_FIELD_EMAIL_REDIRECT_LABEL"
description="COM_CONTACT_FIELD_EMAIL_REDIRECT_DESC" />
</fields>
<?xml version="1.0" encoding="utf-8"?>
<form>
<fieldset>
<field name="id" type="text"
label="JGLOBAL_FIELD_ID_LABEL" description ="JGLOBAL_FIELD_ID_DESC"
size="10" default="0" required="true"
readonly="true" class="readonly" />
<field name="name" type="text"
label="COM_CONTACT_FIELD_NAME_LABEL" description="COM_CONTACT_FIELD_NAME_DESC"
class="inputbox" size="30" required="true" />
<field name="alias" type="text" label="JFIELD_ALIAS_LABEL"
description="JFIELD_ALIAS_DESC" class="inputbox" size="30" />
<field name="user_id" type="user"
label="COM_CONTACT_FIELD_LINKED_USER_LABEL" description="COM_CONTACT_FIELD_LINKED_USER_DESC" />
<field id="published" name="published" type="list"
label="JFIELD_PUBLISHED_LABEL" description="JFIELD_PUBLISHED_DESC"
class="inputbox" size="1" default="1"
>
<option value="1">
JPUBLISHED</option>
<option value="0">
JUNPUBLISHED</option>
<option value="-1">
JARCHIVED</option>
<option value="-2">
JTRASHED</option>
<option value="-3">
JOPTION_REPORTED</option>
</field>
<field name="catid" type="category" extension="com_contact"
label="JFIELD_CATEGORY_LABEL" description="JFIELD_CATEGORY_DESC"
class="inputbox" required="true"
>
</field>
<field name="access" type="accesslevel" label="JFIELD_ACCESS_LABEL"
description="JFIELD_ACCESS_DESC" class="inputbox" size="1" />
<field name="sortname1" type="text"
label="COM_CONTACT_FIELD_SORTNAME1_LABEL" description="COM_CONTACT_FIELD_SORTNAME1_DESC"
class="inputbox" size="30" />
<field name="sortname2" type="text"
label="COM_CONTACT_FIELD_SORTNAME2_LABEL" description="COM_CONTACT_FIELD_SORTNAME2_DESC"
class="inputbox" size="30" />
<field name="sortname3" type="text"
label="COM_CONTACT_FIELD_SORTNAME3_LABEL" description="COM_CONTACT_FIELD_SORTNAME3_DESC"
class="inputbox" size="30" />
<field name="con_position" type="text"
label="COM_CONTACT_FIELD_INFORMATION_POSITION_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_POSITION_DESC"
class="inputbox" size="30" />
<field name="email_to" type="text"
label="COM_CONTACT_FIELD_INFORMATION_EMAIL_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_EMAIL_DESC"
class="inputbox" size="30" />
<field name="address" type="textarea"
label="COM_CONTACT_FIELD_INFORMATION_ADDRESS_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_ADDRESS_DESC"
class="inputbox" rows="3" cols="30" />
<field name="suburb" type="text"
label="COM_CONTACT_FIELD_INFORMATION_SUBURB_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_SUBURB_DESC"
class="inputbox" size="30" />
<field name="state" type="text"
label="COM_CONTACT_FIELD_INFORMATION_STATE_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_STATE_DESC"
class="inputbox" size="30" />
<field name="postcode" type="text"
label="COM_CONTACT_FIELD_INFORMATION_POSTCODE_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_POSTCODE_DESC"
class="inputbox" size="30" />
<field name="country" type="text"
label="COM_CONTACT_FIELD_INFORMATION_COUNTRY_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_COUNTRY_DESC"
class="inputbox" size="30" />
<field name="telephone" type="text"
label="COM_CONTACT_FIELD_INFORMATION_TELEPHONE_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_TELEPHONE_DESC"
class="inputbox" size="30" />
<field name="mobile" type="text"
label="COM_CONTACT_FIELD_INFORMATION_MOBILE_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_MOBILE_DESC"
class="inputbox" size="30" />
<field name="webpage" type="text"
label="COM_CONTACT_FIELD_INFORMATION_WEBPAGE_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_WEBPAGE_DESC"
class="inputbox" size="30" />
<field name="misc" type="editor"
label="COM_CONTACT_FIELD_INFORMATION_MISC_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_MISC_DESC"
class="inputbox" filter="safehtml" buttons="pagebreak,readmore"
size="30" />
<field name="image" type="imagelist" directory="/images"
label="COM_CONTACT_FIELD_PARAMS_IMAGE_LABEL" description="COM_CONTACT_FIELD_PARAMS_IMAGE_DESC" >
</field>
<field name="checked_out" type="hidden" filter="unset" />
<field name="checked_out_time" type="hidden" filter="unset" />
<field name="ordering" type="ordering" class="inputbox"
label="JFIELD_ORDERING_LABEL" description="JFIELD_ORDERING_DESC" />
<field name="metakey" type="textarea"
label="JFIELD_META_KEYWORDS_LABEL" description="JFIELD_META_KEYWORDS_DESC"
class="inputbox" rows="3" cols="30" />
<field name="metadesc" type="textarea"
label="JFIELD_META_DESCRIPTION_LABEL" description="JFIELD_META_DESCRIPTION_DESC"
class="inputbox" rows="3" cols="30" />
<field name="language" type="contentlanguage" label="JFIELD_LANGUAGE_LABEL"
description="COM_CONTACT_FIELD_LANGUAGE_DESC" class="inputbox"
>
<option value="">JOPTION_DEFAULT_LANGUAGE</option>
</field>
<field name="contact_icons" type="list" default="0"
label="COM_CONTACT_FIELD_ICONS_SETTINGS" description="COM_CONTACT_FIELD_ICONS_SETTINGS_DESC"
>
<option value="0">COM_CONTACT_FIELD_VALUE_NONE
</option>
<option value="1">COM_CONTACT_FIELD_VALUE_TEXT
</option>
<option value="2">COM_CONTACT_FIELD_VALUE_ICONS
</option>
</field>
<field name="icon_address" type="imagelist"
directory="/images" hide_none="1"
label="COM_CONTACT_FIELD_ICONS_ADDRESS_LABEL"
description="COM_CONTACT_FIELD_ICONS_ADDRESS_DESC" />
<field name="icon_email" type="imagelist" directory="/images"
hide_none="1" label="COM_CONTACT_FIELD_ICONS_EMAIL_LABEL"
description="COM_CONTACT_FIELD_ICONS_EMAIL_DESC" />
<field name="icon_telephone" type="imagelist"
directory="/images" hide_none="1"
abel="COM_CONTACT_FIELD_ICONS_TELEPHONE_LABEL"
description="COM_CONTACT_FIELD_ICONS_TELEPHONE_DESC" />
<field name="icon_mobile" type="imagelist"
directory="/images" hide_none="1"
label="COM_CONTACT_FIELD_ICONS_MOBILE_LABEL" description="COM_CONTACT_FIELD_ICONS_MOBILE_DESC" />
<field name="icon_fax" type="imagelist" directory="/images"
hide_none="1" label="COM_CONTACT_FIELD_ICONS_FAX_LABEL"
description="COM_CONTACT_FIELD_ICONS_FAX_DESC" />
<field name="icon_misc" type="imagelist" directory="/images"
hide_none="1" label="COM_CONTACT_FIELD_ICONS_MISC_LABEL"
description="COM_CONTACT_FIELD_ICONS_MISC_DESC" />
<field id="metadata" name="metadata" type="textarea"
label="Contact_Metadata_Label" description="Contact_Metadata_Desc"
class="inputbox" rows="3" cols="30" />
</fieldset>
<fields name="params">
<fieldset name="basic">
<field name="show_contact_category" type="list"
label="COM_CONTACT_FIELD_SHOW_CATEGORY_LABEL"
description="COM_CONTACT_FIELD_SHOW_CATEGORY_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="hide">JHIDE</option>
<option value="show_no_link">COM_CONTACT_FIELD_VALUE_NO_LINK
</option>
<option value="show_with_link">COM_CONTACT_FIELD_VALUE_WITH_LINK
</option>
</field>
<field name="show_name" type="list"
label="COM_CONTACT_FIELD_PARAMS_NAME_LABEL" description="COM_CONTACT_FIELD_PARAMS_NAME_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_position" type="list"
label="COM_CONTACT_FIELD_PARAMS_CONTACT_POSITION_LABEL"
description="COM_CONTACT_FIELD_PARAMS_CONTACT_POSITION_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_email" type="list"
label="COM_CONTACT_FIELD_PARAMS_CONTACT_E_MAIL_LABEL"
description="COM_CONTACT_FIELD_PARAMS_CONTACT_E_MAIL_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_street_address" type="list"
label="COM_CONTACT_FIELD_PARAMS_STREET_ADDRESS_LABEL"
description="COM_CONTACT_FIELD_PARAMS_STREET_ADDRESS_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_suburb" type="list"
label="COM_CONTACT_FIELD_PARAMS_TOWN-SUBURB_LABEL"
description="COM_CONTACT_FIELD_PARAMS_TOWN-SUBURB_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_state" type="list"
label="COM_CONTACT_FIELD_PARAMS_STATE-COUNTY_LABEL"
description="COM_CONTACT_FIELD_PARAMS_STATE-COUNTY_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_postcode" type="list"
label="COM_CONTACT_FIELD_PARAMS_POST-ZIP_CODE_LABEL"
description="COM_CONTACT_FIELD_PARAMS_POST-ZIP_CODE_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_country" type="list"
label="COM_CONTACT_FIELD_PARAMS_COUNTRY_LABEL"
description="COM_CONTACT_FIELD_PARAMS_COUNTRY_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_telephone" type="list"
label="COM_CONTACT_FIELD_PARAMS_TELEPHONE_LABEL"
description="COM_CONTACT_FIELD_PARAMS_TELEPHONE_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_mobile" type="list"
label="COM_CONTACT_FIELD_PARAMS_MOBILE_LABEL"
description="COM_CONTACT_FIELD_PARAMS_MOBILE_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_fax" type="list"
label="COM_CONTACT_FIELD_PARAMS_FAX_LABEL" description="COM_CONTACT_FIELD_PARAMS_FAX_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_webpage" type="list"
label="COM_CONTACT_FIELD_PARAMS_WEBPAGE_LABEL"
description="COM_CONTACT_FIELD_PARAMS_WEBPAGE_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_misc" type="list"
label="COM_CONTACT_FIELD_PARAMS_MISC_INFO_LABEL"
description="COM_CONTACT_FIELD_PARAMS_MISC_INFO_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_image" type="list"
label="COM_CONTACT_FIELD_PARAMS_SHOW_IMAGE_LABEL"
description="COM_CONTACT_FIELD_PARAMS_SHOW_IMAGE_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="allow_vcard" type="list"
label="COM_CONTACT_FIELD_PARAMS_VCARD_LABEL"
description="COM_CONTACT_FIELD_PARAMS_VCARD_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_articles" label="COM_CONTACT_FIELD_ARTICLES_SHOW_LABEL"
description="COM_CONTACT_FIELD_ARTICLES_SHOW_DESC" type="list"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_profile" type="list"
label="COM_CONTACT_FIELD_PROFILE_SHOW_LABEL"
description="COM_CONTACT_FIELD_PROFILE_SHOW_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_links" label="COM_CONTACT_FIELD_SHOW_LINKS_LABEL"
description="COM_CONTACT_FIELD_SHOW_LINKS_DESC" type="list"
default="0"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="linka_name" type="text"
label="COM_CONTACT_FIELD_LINKA_NAME_LABEL" description="COM_CONTACT_FIELD_LINK_NAME_DESC"
class="inputbox" size="30" />
<field name="linka" type="text"
label="COM_CONTACT_FIELD_LINKA_LABEL" description="COM_CONTACT_FIELD_LINKA_DESC"
class="inputbox" size="30" />
<field name="linkb_name" type="text"
label="COM_CONTACT_FIELD_LINKB_NAME_LABEL" description="COM_CONTACT_FIELD_LINK_NAME_DESC"
class="inputbox" size="30" />
<field name="linkb" type="text"
label="COM_CONTACT_FIELD_LINKB_LABEL" description="COM_CONTACT_FIELD_LINKB_DESC"
class="inputbox" size="30" />
<field name="linkc_name" type="text"
label="COM_CONTACT_FIELD_LINKC_NAME_LABEL" description="COM_CONTACT_FIELD_LINK_NAME_DESC"
class="inputbox" size="30" />
<field name="linkc" type="text"
label="COM_CONTACT_FIELD_LINKC_LABEL" description="COM_CONTACT_FIELD_LINKC_DESC"
class="inputbox" size="30" />
<field name="linkd_name" type="text"
label="COM_CONTACT_FIELD_LINKD_NAME_LABEL" description="COM_CONTACT_FIELD_LINK_NAME_DESC"
class="inputbox" size="30" />
<field name="linkd" type="text"
label="COM_CONTACT_FIELD_LINKD_LABEL" description="COM_CONTACT_FIELD_LINKD_DESC"
class="inputbox" size="30" />
<field name="linke_name" type="text"
label="COM_CONTACT_FIELD_LINKE_NAME_LABEL" description="COM_CONTACT_FIELD_LINK_NAME_DESC"
class="inputbox" size="30" />
<field name="linke" type="text"
label="COM_CONTACT_FIELD_LINKE_LABEL" description="COM_CONTACT_FIELD_LINKE_DESC"
class="inputbox" size="30" />
</fieldset>
<fieldset name="metadata">
<field name="robots" type="text"
label="JFIELD_METADATA_ROBOTS_LABEL" description="JFIELD_METADATA_ROBOTS_DESC"
size="20" />
<field name="rights" type="text"
label="JFIELD_METADATA_RIGHTS_LABEL" description="JFIELD_METADATA_RIGHTS_DESC"
size="20" />
</fieldset>
</fields>
<fields name="email_form" label="Contact_Email_Form_Label">
<field name="show_email_form" type="list"
label="COM_CONTACT_FIELD_EMAIL_SHOW_FORM_LABEL"
description="COM_CONTACT_FIELD_EMAIL_SHOW_FORM_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="show_email_copy" type="list"
label="COM_CONTACT_FIELD_EMAIL_EMAIL_COPY_LABEL"
description="COM_CONTACT_FIELD_EMAIL_EMAIL_COPY_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
<field name="banned_email" type="textarea"
label="COM_CONTACT_FIELD_EMAIL_BANNED_EMAIL_LABEL" rows="3"
cols="30" description="COM_CONTACT_FIELD_EMAIL_BANNED_EMAIL_DESC" />
<field name="banned_subject" type="textarea"
label="COM_CONTACT_FIELD_EMAIL_BANNED_SUBJECT_LABEL"
rows="3" cols="30"
description="COM_CONTACT_FIELD_EMAIL_BANNED_SUBJECT_DESC" />
<field name="banned_text" type="textarea"
label="COM_CONTACT_FIELD_EMAIL_BANNED_TEXT_LABEL" rows="3"
cols="30" description="COM_CONTACT_FIELD_EMAIL_BANNED_TEXT_DESC" />
<field name="validate_session" type="list"
label="COM_CONTACT_FIELD_CONFIG_SESSION_CHECK_LABEL"
description="COM_CONTACT_FIELD_CONFIG_SESSION_CHECK_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="custom_reply" type="list"
label="COM_CONTACT_FIELD_CONFIG_CUSTOM_REPLY_LABEL"
description="COM_CONTACT_FIELD_CONFIG_CUSTOM_REPLY_DESC"
>
<option value="">JGLOBAL_USE_GLOBAL</option>
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="redirect" type="text" size="30"
label="COM_CONTACT_FIELD_EMAIL_REDIRECT_LABEL"
description="COM_CONTACT_FIELD_EMAIL_REDIRECT_DESC" />
</fields>
</form>

View File

@ -1,168 +1,168 @@
<?php
/**
* @version $Id: edit.php 12295 2009-06-22 11:10:18Z eddieajau $
* @package Joomla.Administrator
* @subpackage com_contact
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
// Include the component HTML helpers.
JHtml::addIncludePath(JPATH_COMPONENT.DS.'helpers'.DS.'html');
JHtml::_('behavior.tooltip');
JHtml::_('behavior.formvalidation');
?>
<script type="text/javascript">
<!--
function submitbutton(task)
{
if (task == 'contact.cancel' || document.formvalidator.isValid(document.id('contact-form'))) {
}
// @todo Deal with the editor methods
submitform(task);
}
// -->
</script>
<form action="<?php JRoute::_('index.php?option=com_contact'); ?>" method="post" name="adminForm" id="contact-form" class="form-validate">
<div class="width-50 fltlft">
<fieldset class="adminform">
<legend><?php echo empty($this->item->id) ? JText::_('COM_CONTACT_NEW_CONTACT') : JText::sprintf('COM_CONTACT_EDIT_CONTACT', $this->item->id); ?></legend>
<?php echo $this->form->getLabel('name'); ?>
<?php echo $this->form->getInput('name'); ?>
<?php echo $this->form->getLabel('alias'); ?>
<?php echo $this->form->getInput('alias'); ?>
<?php echo $this->form->getLabel('user_id'); ?>
<?php echo $this->form->getInput('user_id'); ?>
<?php echo $this->form->getLabel('access'); ?>
<?php echo $this->form->getInput('access'); ?>
<?php echo $this->form->getLabel('published'); ?>
<?php echo $this->form->getInput('published'); ?>
<?php echo $this->form->getLabel('catid'); ?>
<?php echo $this->form->getInput('catid'); ?>
<?php echo $this->form->getLabel('ordering'); ?>
<?php echo $this->form->getInput('ordering'); ?>
<?php echo $this->form->getLabel('language'); ?>
<?php echo $this->form->getInput('language'); ?>
<?php echo $this->form->getLabel('id'); ?>
<?php echo $this->form->getInput('id'); ?>
<div class="clr"> </div>
<?php echo $this->form->getLabel('misc'); ?>
<div class="clr"> </div>
<?php echo $this->form->getInput('misc'); ?>
</fieldset>
</div>
<div class="width-50 fltrt">
<?php echo JHtml::_('sliders.start', 'contact-slider'); ?>
<?php echo JHtml::_('sliders.panel',JText::_('COM_CONTACT_CONTACT_DETAILS'), 'basic-options'); ?>
<fieldset class="panelform">
<p><?php echo empty($this->item->id) ? JText::_('COM_CONTACT_DETAILS') : JText::sprintf('COM_CONTACT_EDIT_DETAILS', $this->item->id); ?></p>
<?php echo $this->form->getLabel('image'); ?>
<?php echo $this->form->getInput('image'); ?>
<?php echo $this->form->getLabel('con_position'); ?>
<?php echo $this->form->getInput('con_position'); ?>
<?php echo $this->form->getLabel('email_to'); ?>
<?php echo $this->form->getInput('email_to'); ?>
<?php echo $this->form->getLabel('address'); ?>
<?php echo $this->form->getInput('address'); ?>
<?php echo $this->form->getLabel('suburb'); ?>
<?php echo $this->form->getInput('suburb'); ?>
<?php echo $this->form->getLabel('state'); ?>
<?php echo $this->form->getInput('state'); ?>
<?php echo $this->form->getLabel('postcode'); ?>
<?php echo $this->form->getInput('postcode'); ?>
<?php echo $this->form->getLabel('country'); ?>
<?php echo $this->form->getInput('country'); ?>
<?php echo $this->form->getLabel('telephone'); ?>
<?php echo $this->form->getInput('telephone'); ?>
<?php echo $this->form->getLabel('mobile'); ?>
<?php echo $this->form->getInput('mobile'); ?>
<?php echo $this->form->getLabel('webpage'); ?>
<?php echo $this->form->getInput('webpage'); ?>
<?php echo $this->form->getLabel('sortname1'); ?>
<?php echo $this->form->getInput('sortname1'); ?>
<?php echo $this->form->getLabel('sortname2'); ?>
<?php echo $this->form->getInput('sortname2'); ?>
<?php echo $this->form->getLabel('sortname3'); ?>
<?php echo $this->form->getInput('sortname3'); ?>
</fieldset>
<?php echo JHtml::_('sliders.panel', JText::_('COM_CONTACT_FIELDSET_OPTIONS'), 'display-options'); ?>
<fieldset class="panelform">
<p><?php echo empty($this->item->id) ? JText::_('COM_CONTACT_CONTACT_DISPLAY_DETAILS') : JText::sprintf('COM_CONTACT_CONTACT_DISPLAY_DETAILS', $this->item->id); ?></p>
<?php foreach($this->form->getGroup('params') as $field): ?>
<?php if ($field->hidden): ?>
<?php echo $field->input; ?>
<?php else: ?>
<?php echo $field->label; ?>
<?php echo $field->input; ?>
<?php endif; ?>
<?php endforeach; ?>
</fieldset>
<?php echo JHtml::_('sliders.panel',JText::_('COM_CONTACT_FIELDSET_CONTACT_FORM'), 'email-options'); ?>
<fieldset class="panelform">
<p><?php echo JText::_('COM_CONTACT_EMAIL_FORM_DETAILS'); ?></p>
<?php foreach($this->form->getGroup('email_form') as $field): ?>
<?php if ($field->hidden): ?>
<?php echo $field->input; ?>
<?php else: ?>
<?php echo $field->label; ?>
<?php echo $field->input; ?>
<?php endif; ?>
<?php endforeach; ?>
</fieldset>
<?php echo JHtml::_('sliders.panel',JText::_('COM_CONTACT_FIELDSET_METADATA'), 'meta-options'); ?>
<fieldset class="panelform">
<?php echo $this->form->getLabel('metadesc'); ?>
<?php echo $this->form->getInput('metadesc'); ?>
<?php echo $this->form->getLabel('metakey'); ?>
<?php echo $this->form->getInput('metakey'); ?>
<?php foreach($this->form->getGroup('metadata') as $field): ?>
<?php echo $field->label; ?>
<?php echo $field->input; ?>
<?php endforeach; ?>
<?php echo $this->form->getLabel('xreference'); ?>
<?php echo $this->form->getInput('xreference'); ?>
</fieldset>
<?php echo JHtml::_('sliders.end'); ?>
</div>
<input type="hidden" name="task" value="" />
<?php echo JHtml::_('form.token'); ?>
<?php
/**
* @version $Id$
* @package Joomla.Administrator
* @subpackage com_contact
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
// Include the component HTML helpers.
JHtml::addIncludePath(JPATH_COMPONENT.DS.'helpers'.DS.'html');
JHtml::_('behavior.tooltip');
JHtml::_('behavior.formvalidation');
?>
<script type="text/javascript">
<!--
function submitbutton(task)
{
if (task == 'contact.cancel' || document.formvalidator.isValid(document.id('contact-form'))) {
}
// @todo Deal with the editor methods
submitform(task);
}
// -->
</script>
<form action="<?php JRoute::_('index.php?option=com_contact'); ?>" method="post" name="adminForm" id="contact-form" class="form-validate">
<div class="width-50 fltlft">
<fieldset class="adminform">
<legend><?php echo empty($this->item->id) ? JText::_('COM_CONTACT_NEW_CONTACT') : JText::sprintf('COM_CONTACT_EDIT_CONTACT', $this->item->id); ?></legend>
<?php echo $this->form->getLabel('name'); ?>
<?php echo $this->form->getInput('name'); ?>
<?php echo $this->form->getLabel('alias'); ?>
<?php echo $this->form->getInput('alias'); ?>
<?php echo $this->form->getLabel('user_id'); ?>
<?php echo $this->form->getInput('user_id'); ?>
<?php echo $this->form->getLabel('access'); ?>
<?php echo $this->form->getInput('access'); ?>
<?php echo $this->form->getLabel('published'); ?>
<?php echo $this->form->getInput('published'); ?>
<?php echo $this->form->getLabel('catid'); ?>
<?php echo $this->form->getInput('catid'); ?>
<?php echo $this->form->getLabel('ordering'); ?>
<?php echo $this->form->getInput('ordering'); ?>
<?php echo $this->form->getLabel('language'); ?>
<?php echo $this->form->getInput('language'); ?>
<?php echo $this->form->getLabel('id'); ?>
<?php echo $this->form->getInput('id'); ?>
<div class="clr"> </div>
<?php echo $this->form->getLabel('misc'); ?>
<div class="clr"> </div>
<?php echo $this->form->getInput('misc'); ?>
</fieldset>
</div>
<div class="width-50 fltrt">
<?php echo JHtml::_('sliders.start', 'contact-slider'); ?>
<?php echo JHtml::_('sliders.panel',JText::_('COM_CONTACT_CONTACT_DETAILS'), 'basic-options'); ?>
<fieldset class="panelform">
<p><?php echo empty($this->item->id) ? JText::_('COM_CONTACT_DETAILS') : JText::sprintf('COM_CONTACT_EDIT_DETAILS', $this->item->id); ?></p>
<?php echo $this->form->getLabel('image'); ?>
<?php echo $this->form->getInput('image'); ?>
<?php echo $this->form->getLabel('con_position'); ?>
<?php echo $this->form->getInput('con_position'); ?>
<?php echo $this->form->getLabel('email_to'); ?>
<?php echo $this->form->getInput('email_to'); ?>
<?php echo $this->form->getLabel('address'); ?>
<?php echo $this->form->getInput('address'); ?>
<?php echo $this->form->getLabel('suburb'); ?>
<?php echo $this->form->getInput('suburb'); ?>
<?php echo $this->form->getLabel('state'); ?>
<?php echo $this->form->getInput('state'); ?>
<?php echo $this->form->getLabel('postcode'); ?>
<?php echo $this->form->getInput('postcode'); ?>
<?php echo $this->form->getLabel('country'); ?>
<?php echo $this->form->getInput('country'); ?>
<?php echo $this->form->getLabel('telephone'); ?>
<?php echo $this->form->getInput('telephone'); ?>
<?php echo $this->form->getLabel('mobile'); ?>
<?php echo $this->form->getInput('mobile'); ?>
<?php echo $this->form->getLabel('webpage'); ?>
<?php echo $this->form->getInput('webpage'); ?>
<?php echo $this->form->getLabel('sortname1'); ?>
<?php echo $this->form->getInput('sortname1'); ?>
<?php echo $this->form->getLabel('sortname2'); ?>
<?php echo $this->form->getInput('sortname2'); ?>
<?php echo $this->form->getLabel('sortname3'); ?>
<?php echo $this->form->getInput('sortname3'); ?>
</fieldset>
<?php echo JHtml::_('sliders.panel', JText::_('COM_CONTACT_FIELDSET_OPTIONS'), 'display-options'); ?>
<fieldset class="panelform">
<p><?php echo empty($this->item->id) ? JText::_('COM_CONTACT_CONTACT_DISPLAY_DETAILS') : JText::sprintf('COM_CONTACT_CONTACT_DISPLAY_DETAILS', $this->item->id); ?></p>
<?php foreach($this->form->getGroup('params') as $field): ?>
<?php if ($field->hidden): ?>
<?php echo $field->input; ?>
<?php else: ?>
<?php echo $field->label; ?>
<?php echo $field->input; ?>
<?php endif; ?>
<?php endforeach; ?>
</fieldset>
<?php echo JHtml::_('sliders.panel',JText::_('COM_CONTACT_FIELDSET_CONTACT_FORM'), 'email-options'); ?>
<fieldset class="panelform">
<p><?php echo JText::_('COM_CONTACT_EMAIL_FORM_DETAILS'); ?></p>
<?php foreach($this->form->getGroup('email_form') as $field): ?>
<?php if ($field->hidden): ?>
<?php echo $field->input; ?>
<?php else: ?>
<?php echo $field->label; ?>
<?php echo $field->input; ?>
<?php endif; ?>
<?php endforeach; ?>
</fieldset>
<?php echo JHtml::_('sliders.panel',JText::_('COM_CONTACT_FIELDSET_METADATA'), 'meta-options'); ?>
<fieldset class="panelform">
<?php echo $this->form->getLabel('metadesc'); ?>
<?php echo $this->form->getInput('metadesc'); ?>
<?php echo $this->form->getLabel('metakey'); ?>
<?php echo $this->form->getInput('metakey'); ?>
<?php foreach($this->form->getGroup('metadata') as $field): ?>
<?php echo $field->label; ?>
<?php echo $field->input; ?>
<?php endforeach; ?>
<?php echo $this->form->getLabel('xreference'); ?>
<?php echo $this->form->getInput('xreference'); ?>
</fieldset>
<?php echo JHtml::_('sliders.end'); ?>
</div>
<input type="hidden" name="task" value="" />
<?php echo JHtml::_('form.token'); ?>
</form>

View File

@ -1,88 +1,88 @@
<?php
/**
* @version $Id: view.html.php 11952 2009-06-01 03:21:19Z robs $
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access
defined('_JEXEC') or die;
jimport('joomla.application.component.view');
/**
* HTML View class for the Contact component
*
* @package Joomla.Administrator
* @subpackage com_contact
* @since 1.5
*/
class ContactViewContact extends JView
{
/**
* Display the view
*/
function display($tpl = null)
{
$app = &JFactory::getApplication();
$state = $this->get('state');
$item = $this->get('item');
$form = $this->get('form');
// Check for errors.
if (count($errors = $this->get('Errors'))) {
JError::raiseError(500, implode("\n", $errors));
return false;
}
// Bind the label to the form.
// First, unpack the email_form options from the params
$item->set('email_form', new JObject());
foreach ($form->getGroup('email_form') as $thisField) {
$item->email_form->set($thisField->name, $item->params->get($thisField->name));
$item->params->set($thisField->name, null);
}
$form->bind($item);
$this->assignRef('state', $state);
$this->assignRef('item', $item);
$this->assignRef('form', $form);
$this->_setToolbar();
parent::display($tpl);
JRequest::setVar('hidemainmenu', true);
}
/**
* Setup the Toolbar
*
* @since 1.6
*/
protected function _setToolbar()
{
$user = &JFactory::getUser();
$isNew = ($this->item->id == 0);
$checkedOut = !($this->item->checked_out == 0 || $this->item->checked_out == $user->get('id'));
JRequest::setVar('hidemainmenu', 1);
JToolBarHelper::title(JText::_('COM_CONTACT_MANAGER_CONTACT'));
JToolBarHelper::apply('contact.apply','JTOOLBAR_APPLY');
JToolBarHelper::save('contact.save','JTOOLBAR_SAVE');
JToolBarHelper::addNew('contact.save2new', 'JTOOLBAR_SAVE_AND_NEW');
// If an existing item, can save to a copy.
if (!$isNew) {
JToolBarHelper::custom('contact.save2copy','save-copy.png', 'save-copy_f2.png', 'JTOOLBAR_SAVE_AS_COPY',false );
}
if (empty($this->item->id)) {
JToolBarHelper::cancel('contact.cancel','JTOOLBAR_CANCEL');
}
else {
JToolBarHelper::cancel('contact.cancel', 'JTOOLBAR_CLOSE');
}
JToolBarHelper::divider();
JToolBarHelper::help('screen.contact.edit'.'JTOOLBAR_HELP');
}
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access
defined('_JEXEC') or die;
jimport('joomla.application.component.view');
/**
* HTML View class for the Contact component
*
* @package Joomla.Administrator
* @subpackage com_contact
* @since 1.5
*/
class ContactViewContact extends JView
{
/**
* Display the view
*/
function display($tpl = null)
{
$app = &JFactory::getApplication();
$state = $this->get('state');
$item = $this->get('item');
$form = $this->get('form');
// Check for errors.
if (count($errors = $this->get('Errors'))) {
JError::raiseError(500, implode("\n", $errors));
return false;
}
// Bind the label to the form.
// First, unpack the email_form options from the params
$item->set('email_form', new JObject());
foreach ($form->getGroup('email_form') as $thisField) {
$item->email_form->set($thisField->name, $item->params->get($thisField->name));
$item->params->set($thisField->name, null);
}
$form->bind($item);
$this->assignRef('state', $state);
$this->assignRef('item', $item);
$this->assignRef('form', $form);
$this->_setToolbar();
parent::display($tpl);
JRequest::setVar('hidemainmenu', true);
}
/**
* Setup the Toolbar
*
* @since 1.6
*/
protected function _setToolbar()
{
$user = &JFactory::getUser();
$isNew = ($this->item->id == 0);
$checkedOut = !($this->item->checked_out == 0 || $this->item->checked_out == $user->get('id'));
JRequest::setVar('hidemainmenu', 1);
JToolBarHelper::title(JText::_('COM_CONTACT_MANAGER_CONTACT'));
JToolBarHelper::apply('contact.apply','JTOOLBAR_APPLY');
JToolBarHelper::save('contact.save','JTOOLBAR_SAVE');
JToolBarHelper::addNew('contact.save2new', 'JTOOLBAR_SAVE_AND_NEW');
// If an existing item, can save to a copy.
if (!$isNew) {
JToolBarHelper::custom('contact.save2copy','save-copy.png', 'save-copy_f2.png', 'JTOOLBAR_SAVE_AS_COPY',false );
}
if (empty($this->item->id)) {
JToolBarHelper::cancel('contact.cancel','JTOOLBAR_CANCEL');
}
else {
JToolBarHelper::cancel('contact.cancel', 'JTOOLBAR_CLOSE');
}
JToolBarHelper::divider();
JToolBarHelper::help('screen.contact.edit'.'JTOOLBAR_HELP');
}
}

View File

@ -1,137 +1,137 @@
<?php
/**
* @version $Id$
* @package Joomla.Administrator
* @subpackage com_contact
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
JHtml::addIncludePath(JPATH_COMPONENT.DS.'helpers'.DS.'html');
JHtml::_('behavior.tooltip');
JHTML::_('script','multiselect.js');
$user = &JFactory::getUser();
$userId = $user->get('id');
?>
<form action="<?php echo JRoute::_('index.php?option=com_contact'); ?>" method="post" name="adminForm" id="adminForm">
<fieldset id="filter-bar">
<div class="filter-search fltlft">
<label class="filter-search-lbl" for="filter_search"><?php echo JText::_('Filter'); ?>:</label>
<input type="text" name="filter_search" id="filter_search" value="<?php echo $this->state->get('filter.search'); ?>" title="<?php echo JText::_('COM_CONTACT_SEARCH_IN_NAME'); ?>" />
<button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button>
<button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button>
</div>
<div class="filter-select fltrt">
<select name="filter_access" class="inputbox" onchange="this.form.submit()">
<option value=""><?php echo JText::_('JOPTION_SELECT_ACCESS');?></option>
<?php echo JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access'));?>
</select>
<select name="filter_published" class="inputbox" onchange="this.form.submit()">
<option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option>
<?php echo JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true);?>
</select>
<select name="filter_category_id" class="inputbox" onchange="this.form.submit()">
<option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY');?></option>
<?php echo JHtml::_('select.options', JHtml::_('category.options', 'com_contact'), 'value', 'text', $this->state->get('filter.category_id'));?>
</select>
</div>
</fieldset>
<div class="clr"> </div>
<table class="adminlist">
<thead>
<tr>
<th width="5">
<?php echo JText::_('JGRID_HEADING_ROW_NUMBER'); ?>
</th>
<th width="20">
<input type="checkbox" name="toggle" value="" onclick="checkAll(<?php echo count($this->items); ?>);" />
</th>
<th>
<?php echo JHtml::_('grid.sort', 'COM_CONTACT_TITLE_HEADING', 'a.name', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
</th>
<th width="5%" class="nowrap">
<?php echo JHtml::_('grid.sort', 'COM_CONTACT_STATE_HEADING', 'a.state', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
</th>
<th width="10%" class="nowrap">
<?php echo JHtml::_('grid.sort', 'COM_CONTACT_ORDER_HEADING', 'a.ordering', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
<?php echo JHtml::_('grid.order', $this->items, 'filesave.png', 'contacts.saveorder'); ?>
</th>
<th width="10%" class="title">
<?php echo JHtml::_('grid.sort', 'COM_CONTACT_CATEGORY_HEADING', 'category_title', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
</th>
<th width="10%" class="title">
<?php echo JHtml::_('grid.sort', 'COM_CONTACT_ACCESS_HEADING', 'access_level', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
</th>
<th width="1%" class="nowrap">
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.id', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="9">
<?php echo $this->pagination->getListFooter(); ?>
</td>
</tr>
</tfoot>
<tbody>
<?php
$n = count($this->items);
foreach ($this->items as $i => $item) :
$ordering = ($this->state->get('list.ordering') == 'a.ordering');
$checkedOut = JTable::isCheckedOut($userId, $item->checked_out);
$item->cat_link = JRoute::_('index.php?option=com_categories&extension=com_contact&task=edit&type=other&id='. $item->catid);
?>
<tr class="row<?php echo $i % 2; ?>">
<td>
<?php echo $this->pagination->getRowOffset($i); ?>
</td>
<td>
<?php echo JHtml::_('grid.checkedout', $item, $i); ?>
</td>
<td>
<?php if (JTable::isCheckedOut($userId, $item->checked_out)) : ?>
<?php echo $item->name; ?>
<?php else : ?>
<a href="<?php echo JRoute::_('index.php?option=com_contact&task=contact.edit&id='.(int) $item->id); ?>">
<?php echo $this->escape($item->name) ?></a>
<?php endif; ?>
<p class="smallsub">(<span><?php echo JText::_('COM_CONTACT_CONTACT_VIEW_ALIAS') ?>:</span>
<?php echo $this->escape($item->alias);?>)</p>
</td>
<td align="center">
<?php echo JHtml::_('jgrid.published', $item->published, $i, 'contacts.');?>
</td>
<td class="order">
<span><?php echo $this->pagination->orderUpIcon($i, ($item->catid == @$this->items[$i-1]->catid),'contacts.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?></span>
<span><?php echo $this->pagination->orderDownIcon($i, $n, ($item->catid == @$this->items[$i+1]->catid), 'contacts.orderdown', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span>
<?php $disabled = $ordering ? '' : 'disabled="disabled"'; ?>
<input type="text" name="order[]" size="5" value="<?php echo $item->ordering;?>" <?php echo $disabled ?> class="text-area-order" />
</td>
<td>
<span >
<?php echo $item->category_title; ?></span>
</td>
<td align="center">
<?php echo $item->access_level; ?>
</td>
<td align="center">
<?php echo $item->id; ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<input type="hidden" name="task" value="" />
<input type="hidden" name="boxchecked" value="0" />
<input type="hidden" name="filter_order" value="<?php echo $this->state->get('list.ordering'); ?>" />
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->state->get('list.direction'); ?>" />
<?php echo JHtml::_('form.token'); ?>
<?php
/**
* @version $Id$
* @package Joomla.Administrator
* @subpackage com_contact
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
JHtml::addIncludePath(JPATH_COMPONENT.DS.'helpers'.DS.'html');
JHtml::_('behavior.tooltip');
JHTML::_('script','multiselect.js');
$user = &JFactory::getUser();
$userId = $user->get('id');
?>
<form action="<?php echo JRoute::_('index.php?option=com_contact'); ?>" method="post" name="adminForm" id="adminForm">
<fieldset id="filter-bar">
<div class="filter-search fltlft">
<label class="filter-search-lbl" for="filter_search"><?php echo JText::_('Filter'); ?>:</label>
<input type="text" name="filter_search" id="filter_search" value="<?php echo $this->state->get('filter.search'); ?>" title="<?php echo JText::_('COM_CONTACT_SEARCH_IN_NAME'); ?>" />
<button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button>
<button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button>
</div>
<div class="filter-select fltrt">
<select name="filter_access" class="inputbox" onchange="this.form.submit()">
<option value=""><?php echo JText::_('JOPTION_SELECT_ACCESS');?></option>
<?php echo JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access'));?>
</select>
<select name="filter_published" class="inputbox" onchange="this.form.submit()">
<option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option>
<?php echo JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true);?>
</select>
<select name="filter_category_id" class="inputbox" onchange="this.form.submit()">
<option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY');?></option>
<?php echo JHtml::_('select.options', JHtml::_('category.options', 'com_contact'), 'value', 'text', $this->state->get('filter.category_id'));?>
</select>
</div>
</fieldset>
<div class="clr"> </div>
<table class="adminlist">
<thead>
<tr>
<th width="5">
<?php echo JText::_('JGRID_HEADING_ROW_NUMBER'); ?>
</th>
<th width="20">
<input type="checkbox" name="toggle" value="" onclick="checkAll(<?php echo count($this->items); ?>);" />
</th>
<th>
<?php echo JHtml::_('grid.sort', 'COM_CONTACT_TITLE_HEADING', 'a.name', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
</th>
<th width="5%" class="nowrap">
<?php echo JHtml::_('grid.sort', 'COM_CONTACT_STATE_HEADING', 'a.state', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
</th>
<th width="10%" class="nowrap">
<?php echo JHtml::_('grid.sort', 'COM_CONTACT_ORDER_HEADING', 'a.ordering', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
<?php echo JHtml::_('grid.order', $this->items, 'filesave.png', 'contacts.saveorder'); ?>
</th>
<th width="10%" class="title">
<?php echo JHtml::_('grid.sort', 'COM_CONTACT_CATEGORY_HEADING', 'category_title', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
</th>
<th width="10%" class="title">
<?php echo JHtml::_('grid.sort', 'COM_CONTACT_ACCESS_HEADING', 'access_level', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
</th>
<th width="1%" class="nowrap">
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.id', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="9">
<?php echo $this->pagination->getListFooter(); ?>
</td>
</tr>
</tfoot>
<tbody>
<?php
$n = count($this->items);
foreach ($this->items as $i => $item) :
$ordering = ($this->state->get('list.ordering') == 'a.ordering');
$checkedOut = JTable::isCheckedOut($userId, $item->checked_out);
$item->cat_link = JRoute::_('index.php?option=com_categories&extension=com_contact&task=edit&type=other&id='. $item->catid);
?>
<tr class="row<?php echo $i % 2; ?>">
<td>
<?php echo $this->pagination->getRowOffset($i); ?>
</td>
<td>
<?php echo JHtml::_('grid.checkedout', $item, $i); ?>
</td>
<td>
<?php if (JTable::isCheckedOut($userId, $item->checked_out)) : ?>
<?php echo $item->name; ?>
<?php else : ?>
<a href="<?php echo JRoute::_('index.php?option=com_contact&task=contact.edit&id='.(int) $item->id); ?>">
<?php echo $this->escape($item->name) ?></a>
<?php endif; ?>
<p class="smallsub">(<span><?php echo JText::_('COM_CONTACT_CONTACT_VIEW_ALIAS') ?>:</span>
<?php echo $this->escape($item->alias);?>)</p>
</td>
<td align="center">
<?php echo JHtml::_('jgrid.published', $item->published, $i, 'contacts.');?>
</td>
<td class="order">
<span><?php echo $this->pagination->orderUpIcon($i, ($item->catid == @$this->items[$i-1]->catid),'contacts.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?></span>
<span><?php echo $this->pagination->orderDownIcon($i, $n, ($item->catid == @$this->items[$i+1]->catid), 'contacts.orderdown', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span>
<?php $disabled = $ordering ? '' : 'disabled="disabled"'; ?>
<input type="text" name="order[]" size="5" value="<?php echo $item->ordering;?>" <?php echo $disabled ?> class="text-area-order" />
</td>
<td>
<span >
<?php echo $item->category_title; ?></span>
</td>
<td align="center">
<?php echo $item->access_level; ?>
</td>
<td align="center">
<?php echo $item->id; ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<input type="hidden" name="task" value="" />
<input type="hidden" name="boxchecked" value="0" />
<input type="hidden" name="filter_order" value="<?php echo $this->state->get('list.ordering'); ?>" />
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->state->get('list.direction'); ?>" />
<?php echo JHtml::_('form.token'); ?>
</form>

View File

@ -1,112 +1,112 @@
<?php
/**
* @version $Id: modal.php 12504 2009-07-07 06:39:05Z eddieajau $
* @package Joomla.Administrator
* @subpackage com_content
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
JHtml::addIncludePath(JPATH_COMPONENT.DS.'helpers'.DS.'html');
JHtml::_('behavior.tooltip');
$function = JRequest::getVar('function', 'jSelectContact');
?>
<form action="<?php echo JRoute::_('index.php?option=com_contact&view=contacts');?>" method="post" name="adminForm">
<fieldset class="filter clearfix">
<div class="left">
<label for="filter_search">
<?php echo JText::_('JSEARCH_FILTER_LABEL'); ?>
</label>
<input type="text" name="filter_search" id="filter_search" value="<?php echo $this->state->get('filter.search'); ?>" size="30" title="<?php echo JText::_('COM_CONTACT_FILTER_SEARCH_DESC'); ?>" />
<button type="submit">
<?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button>
<button type="button" onclick="document.id('filter_search').value='';this.form.submit();">
<?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button>
</div>
<div class="right">
<select name="filter_access" class="inputbox" onchange="this.form.submit()">
<option value=""><?php echo JText::_('JOPTION_SELECT_ACCESS');?></option>
<?php echo JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access'));?>
</select>
<select name="filter_published" class="inputbox" onchange="this.form.submit()">
<option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option>
<?php echo JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true);?>
</select>
<select name="filter_category_id" class="inputbox" onchange="this.form.submit()">
<option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY');?></option>
<?php echo JHtml::_('select.options', JHtml::_('category.options', 'com_content'), 'value', 'text', $this->state->get('filter.category_id'));?>
</select>
</div>
</fieldset>
<table class="adminlist">
<thead>
<tr>
<th width="20">
<input type="checkbox" name="toggle" value="" onclick="checkAll(this)" />
</th>
<th class="title">
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_TITLE', 'a.title', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
</th>
<th width="5%">
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_CATEGORY', 'a.catid', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
</th>
<th width="10%">
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ACCESS', 'category', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
</th>
<th width="5%">
<?php echo JHtml::_('grid.sort', 'JDATE', 'a.created', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
</th>
<th width="1%" nowrap="nowrap">
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.id', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="15">
<?php echo $this->pagination->getListFooter(); ?>
</td>
</tr>
</tfoot>
<tbody>
<?php foreach ($this->items as $i => $item) : ?>
<tr class="row<?php echo $i % 2; ?>">
<td class="center">
<?php echo JHtml::_('grid.id', $i, $item->id); ?>
</td>
<td>
<a class="pointer" onclick="if (window.parent) window.parent.<?php echo $function;?>('<?php echo $item->id; ?>', '<?php echo $this->escape($item->name); ?>');">
<?php echo $this->escape($item->name); ?></a>
</td>
<td align="center">
<?php echo $this->escape($item->category_title); ?>
</td>
<td align="center">
<?php echo $this->escape($item->access_level); ?>
</td>
<td align="center">
</td>
<td align="center">
<?php echo (int) $item->id; ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<input type="hidden" name="task" value="" />
<input type="hidden" name="boxchecked" value="0" />
<input type="hidden" name="filter_order" value="<?php echo $this->state->get('list.ordering'); ?>" />
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->state->get('list.direction'); ?>" />
<?php echo JHtml::_('form.token'); ?>
<?php
/**
* @version $Id$
* @package Joomla.Administrator
* @subpackage com_content
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
JHtml::addIncludePath(JPATH_COMPONENT.DS.'helpers'.DS.'html');
JHtml::_('behavior.tooltip');
$function = JRequest::getVar('function', 'jSelectContact');
?>
<form action="<?php echo JRoute::_('index.php?option=com_contact&view=contacts');?>" method="post" name="adminForm">
<fieldset class="filter clearfix">
<div class="left">
<label for="filter_search">
<?php echo JText::_('JSEARCH_FILTER_LABEL'); ?>
</label>
<input type="text" name="filter_search" id="filter_search" value="<?php echo $this->state->get('filter.search'); ?>" size="30" title="<?php echo JText::_('COM_CONTACT_FILTER_SEARCH_DESC'); ?>" />
<button type="submit">
<?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button>
<button type="button" onclick="document.id('filter_search').value='';this.form.submit();">
<?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button>
</div>
<div class="right">
<select name="filter_access" class="inputbox" onchange="this.form.submit()">
<option value=""><?php echo JText::_('JOPTION_SELECT_ACCESS');?></option>
<?php echo JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access'));?>
</select>
<select name="filter_published" class="inputbox" onchange="this.form.submit()">
<option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option>
<?php echo JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true);?>
</select>
<select name="filter_category_id" class="inputbox" onchange="this.form.submit()">
<option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY');?></option>
<?php echo JHtml::_('select.options', JHtml::_('category.options', 'com_content'), 'value', 'text', $this->state->get('filter.category_id'));?>
</select>
</div>
</fieldset>
<table class="adminlist">
<thead>
<tr>
<th width="20">
<input type="checkbox" name="toggle" value="" onclick="checkAll(this)" />
</th>
<th class="title">
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_TITLE', 'a.title', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
</th>
<th width="5%">
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_CATEGORY', 'a.catid', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
</th>
<th width="10%">
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ACCESS', 'category', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
</th>
<th width="5%">
<?php echo JHtml::_('grid.sort', 'JDATE', 'a.created', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
</th>
<th width="1%" nowrap="nowrap">
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.id', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="15">
<?php echo $this->pagination->getListFooter(); ?>
</td>
</tr>
</tfoot>
<tbody>
<?php foreach ($this->items as $i => $item) : ?>
<tr class="row<?php echo $i % 2; ?>">
<td class="center">
<?php echo JHtml::_('grid.id', $i, $item->id); ?>
</td>
<td>
<a class="pointer" onclick="if (window.parent) window.parent.<?php echo $function;?>('<?php echo $item->id; ?>', '<?php echo $this->escape($item->name); ?>');">
<?php echo $this->escape($item->name); ?></a>
</td>
<td align="center">
<?php echo $this->escape($item->category_title); ?>
</td>
<td align="center">
<?php echo $this->escape($item->access_level); ?>
</td>
<td align="center">
</td>
<td align="center">
<?php echo (int) $item->id; ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<input type="hidden" name="task" value="" />
<input type="hidden" name="boxchecked" value="0" />
<input type="hidden" name="filter_order" value="<?php echo $this->state->get('list.ordering'); ?>" />
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->state->get('list.direction'); ?>" />
<?php echo JHtml::_('form.token'); ?>
</form>

View File

@ -1,82 +1,82 @@
<?php
/**
* @version $Id: view.html.php 11952 2009-06-01 03:21:19Z robs $
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access
defined('_JEXEC') or die;
jimport('joomla.application.component.view');
/**
* HTML View class for the Contacts component
*
* @package Joomla.Administrator
* @subpackage com_weblinks
* @since 1.5
*/
class ContactViewContacts extends JView
{
public $state;
public $items;
public $pagination;
/**
* Display the view
*
* @return void
*/
public function display($tpl = null)
{
$state = $this->get('state');
$items = $this->get('items');
$pagination = $this->get('pagination');
// Check for errors.
if (count($errors = $this->get('Errors'))) {
JError::raiseError(500, implode("\n", $errors));
return false;
}
// Preprocess the list of items to find ordering divisions.
// TODO: Complete the ordering stuff with nested sets
foreach ($items as $i => &$item)
{
$item->order_up = true;
$item->order_dn = true;
}
$this->assignRef('state', $state);
$this->assignRef('items', $items);
$this->assignRef('pagination', $pagination);
$this->_setToolbar();
parent::display($tpl);
}
/**
* Setup the Toolbar
*/
protected function _setToolbar()
{
$state = $this->get('state');
JToolBarHelper::title(JText::_('COM_CONTACT_MANAGER_CONTACTS'), 'generic.png');
JToolBarHelper::addNew('contact.edit', 'JTOOLBAR_NEW');
JToolBarHelper::editList('contact.edit','JTOOLBAR_EDIT');
JToolBarHelper::divider();
JToolBarHelper::publish('contacts.publish','JTOOLBAR_PUBLISH');
JToolBarHelper::unpublish('contacts.unpublish','JTOOLBAR_UNPUBLISH');
JToolBarHelper::divider();
JToolBarHelper::archiveList('contacts.archive','JTOOLBAR_ARCHIVE');
if ($state->get('filter.published') == -2) {
JToolBarHelper::deleteList('', 'contacts.delete','JTOOLBAR_EMPTY_TRASH');
}
else {
JToolBarHelper::trash('contacts.trash','JTOOLBAR_TRASH');
}
JToolBarHelper::divider();
JToolBarHelper::preferences('com_contact');
JToolBarHelper::divider();
JToolBarHelper::help('screen.contact','JTOOLBAR_HELP');
}
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access
defined('_JEXEC') or die;
jimport('joomla.application.component.view');
/**
* HTML View class for the Contacts component
*
* @package Joomla.Administrator
* @subpackage com_weblinks
* @since 1.5
*/
class ContactViewContacts extends JView
{
public $state;
public $items;
public $pagination;
/**
* Display the view
*
* @return void
*/
public function display($tpl = null)
{
$state = $this->get('state');
$items = $this->get('items');
$pagination = $this->get('pagination');
// Check for errors.
if (count($errors = $this->get('Errors'))) {
JError::raiseError(500, implode("\n", $errors));
return false;
}
// Preprocess the list of items to find ordering divisions.
// TODO: Complete the ordering stuff with nested sets
foreach ($items as $i => &$item)
{
$item->order_up = true;
$item->order_dn = true;
}
$this->assignRef('state', $state);
$this->assignRef('items', $items);
$this->assignRef('pagination', $pagination);
$this->_setToolbar();
parent::display($tpl);
}
/**
* Setup the Toolbar
*/
protected function _setToolbar()
{
$state = $this->get('state');
JToolBarHelper::title(JText::_('COM_CONTACT_MANAGER_CONTACTS'), 'generic.png');
JToolBarHelper::addNew('contact.edit', 'JTOOLBAR_NEW');
JToolBarHelper::editList('contact.edit','JTOOLBAR_EDIT');
JToolBarHelper::divider();
JToolBarHelper::publish('contacts.publish','JTOOLBAR_PUBLISH');
JToolBarHelper::unpublish('contacts.unpublish','JTOOLBAR_UNPUBLISH');
JToolBarHelper::divider();
JToolBarHelper::archiveList('contacts.archive','JTOOLBAR_ARCHIVE');
if ($state->get('filter.published') == -2) {
JToolBarHelper::deleteList('', 'contacts.delete','JTOOLBAR_EMPTY_TRASH');
}
else {
JToolBarHelper::trash('contacts.trash','JTOOLBAR_TRASH');
}
JToolBarHelper::divider();
JToolBarHelper::preferences('com_contact');
JToolBarHelper::divider();
JToolBarHelper::help('screen.contact','JTOOLBAR_HELP');
}
}

View File

@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8" ?>
<access component="com_content">
<section name="component">
<action name="core.admin" title="JAction_Admin" description="JAction_Admin_Component_Desc" />
<action name="core.manage" title="JAction_Manage" description="JAction_Manage_Component_Desc" />
<action name="core.create" title="JAction_Create" description="JAction_Create_Component_Desc" />
<action name="core.delete" title="JAction_Delete" description="JAction_Delete_Component_Desc" />
<action name="core.edit" title="JAction_Edit" description="JAction_Edit_Component_Desc" />
<action name="core.edit.state" title="JAction_Edit_State" description="JAction_Edit_State_Component_Desc" />
</section>
<section name="category">
<action name="core.create" title="CATEGORY_ACCESS_CREATE" description="CATEGORY_ACCESS_CREATE_DESC" />
<action name="core.delete" title="CATEGORY_ACCESS_DELETE" description="CATEGORY_ACCESS_DELETE_DESC" />
<action name="core.edit" title="CATEGORY_ACCESS_EDIT" description="CATEGORY_ACCESS_EDIT_DESC" />
<action name="core.edit.state" title="CATEGORY_ACCESS_EDITSTATE" description="CATEGORY_ACCESS_EDITSTATE_DESC" />
</section>
<section name="article">
<action name="core.delete" title="CONTENT_ACCESS_DELETE" description="CONTENT_ACCESS_DELETE_DESC" />
<action name="core.edit" title="CONTENT_ACCESS_EDIT" description="CONTENT_ACCESS_EDIT_DESC" />
<action name="core.edit.state" title="CONTENT_ACCESS_EDITSTATE" description="CONTENT_ACCESS_EDITSTATE_DESC" />
</section>
<?xml version="1.0" encoding="utf-8" ?>
<access component="com_content">
<section name="component">
<action name="core.admin" title="JAction_Admin" description="JAction_Admin_Component_Desc" />
<action name="core.manage" title="JAction_Manage" description="JAction_Manage_Component_Desc" />
<action name="core.create" title="JAction_Create" description="JAction_Create_Component_Desc" />
<action name="core.delete" title="JAction_Delete" description="JAction_Delete_Component_Desc" />
<action name="core.edit" title="JAction_Edit" description="JAction_Edit_Component_Desc" />
<action name="core.edit.state" title="JAction_Edit_State" description="JAction_Edit_State_Component_Desc" />
</section>
<section name="category">
<action name="core.create" title="CATEGORY_ACCESS_CREATE" description="CATEGORY_ACCESS_CREATE_DESC" />
<action name="core.delete" title="CATEGORY_ACCESS_DELETE" description="CATEGORY_ACCESS_DELETE_DESC" />
<action name="core.edit" title="CATEGORY_ACCESS_EDIT" description="CATEGORY_ACCESS_EDIT_DESC" />
<action name="core.edit.state" title="CATEGORY_ACCESS_EDITSTATE" description="CATEGORY_ACCESS_EDITSTATE_DESC" />
</section>
<section name="article">
<action name="core.delete" title="CONTENT_ACCESS_DELETE" description="CONTENT_ACCESS_DELETE_DESC" />
<action name="core.edit" title="CONTENT_ACCESS_EDIT" description="CONTENT_ACCESS_EDIT_DESC" />
<action name="core.edit.state" title="CONTENT_ACCESS_EDITSTATE" description="CONTENT_ACCESS_EDITSTATE_DESC" />
</section>
</access>

View File

@ -1,48 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Id: content.xml 14848 2010-02-14 04:28:59Z infograf768 $ -->
<extension type="component" version="1.6.0" method="upgrade">
<name>com_content</name>
<author>Joomla! Project</author>
<creationDate>April 2006</creationDate>
<copyright>(C) 2005 - 2010 Open Source Matters. All rights reserved. </copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<authorEmail>admin@joomla.org</authorEmail>
<authorUrl>www.joomla.org</authorUrl>
<version>1.6.0</version>
<description>COM_CONTENT_XML_DESCRIPTION</description>
<files folder="site">
<filename>content.php</filename>
<filename>controller.php</filename>
<filename>index.html</filename>
<filename>router.php</filename>
<folder>helpers</folder>
<folder>models</folder>
</files>
<languages folder="site">
<language tag="en-GB">language/en-GB.com_content.ini
</language>
</languages>
<administration>
<files folder="admin">
<filename>access.xml</filename>
<filename>category.xml</filename>
<filename>config.xml</filename>
<filename>content.php</filename>
<filename>controller.php</filename>
<filename>index.html</filename>
<folder>controllers</folder>
<folder>elements</folder>
<folder>helpers</folder>
<folder>models</folder>
<folder>tables</folder>
<folder>views</folder>
</files>
<languages folder="admin">
<language tag="en-GB">language/en-GB.com_content.ini
</language>
</languages>
</administration>
</extension>
<?xml version="1.0" encoding="utf-8"?>
<!-- $Id$ -->
<extension type="component" version="1.6.0" method="upgrade">
<name>com_content</name>
<author>Joomla! Project</author>
<creationDate>April 2006</creationDate>
<copyright>(C) 2005 - 2010 Open Source Matters. All rights reserved. </copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<authorEmail>admin@joomla.org</authorEmail>
<authorUrl>www.joomla.org</authorUrl>
<version>1.6.0</version>
<description>COM_CONTENT_XML_DESCRIPTION</description>
<files folder="site">
<filename>content.php</filename>
<filename>controller.php</filename>
<filename>index.html</filename>
<filename>router.php</filename>
<folder>helpers</folder>
<folder>models</folder>
</files>
<languages folder="site">
<language tag="en-GB">language/en-GB.com_content.ini
</language>
</languages>
<administration>
<files folder="admin">
<filename>access.xml</filename>
<filename>category.xml</filename>
<filename>config.xml</filename>
<filename>content.php</filename>
<filename>controller.php</filename>
<filename>index.html</filename>
<folder>controllers</folder>
<folder>elements</folder>
<folder>helpers</folder>
<folder>models</folder>
<folder>tables</folder>
<folder>views</folder>
</files>
<languages folder="admin">
<language tag="en-GB">language/en-GB.com_content.ini
</language>
</languages>
</administration>
</extension>

View File

@ -1,61 +1,61 @@
<?php
/**
* @version $Id: edit.php 15576 2010-03-25 12:43:26Z louis $
* @package Joomla.Administrator
* @subpackage com_content
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
?>
<script type="text/javascript">
function insertPagebreak()
{
// Get the pagebreak title
var title = document.getElementById("title").value;
if (title != '') {
title = "title=\""+title+"\" ";
}
// Get the pagebreak toc alias -- not inserting for now
// don't know which attribute to use...
var alt = document.getElementById("alt").value;
if (alt != '') {
alt = "alt=\""+alt+"\" ";
}
var tag = "<hr class=\"system-pagebreak\" "+title+" "+alt+"/>";
window.parent.jInsertEditorText(tag, '<?php echo $this->eName; ?>');
window.parent.SqueezeBox.close();
return false;
}
</script>
<form>
<table width="100%" align="center">
<tr width="40%">
<td class="key" align="right">
<label for="title">
<?php echo JText::_( 'PGB PAGE TITLE' ); ?>
</label>
</td>
<td>
<input type="text" id="title" name="title" />
</td>
</tr>
<tr width="60%">
<td class="key" align="right">
<label for="alias">
<?php echo JText::_( 'PGB TOC ALIAS PROMPT' ); ?>
</label>
</td>
<td>
<input type="text" id="alt" name="alt" />
</td>
</tr>
</table>
</form>
<?php
/**
* @version $Id$
* @package Joomla.Administrator
* @subpackage com_content
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
?>
<script type="text/javascript">
function insertPagebreak()
{
// Get the pagebreak title
var title = document.getElementById("title").value;
if (title != '') {
title = "title=\""+title+"\" ";
}
// Get the pagebreak toc alias -- not inserting for now
// don't know which attribute to use...
var alt = document.getElementById("alt").value;
if (alt != '') {
alt = "alt=\""+alt+"\" ";
}
var tag = "<hr class=\"system-pagebreak\" "+title+" "+alt+"/>";
window.parent.jInsertEditorText(tag, '<?php echo $this->eName; ?>');
window.parent.SqueezeBox.close();
return false;
}
</script>
<form>
<table width="100%" align="center">
<tr width="40%">
<td class="key" align="right">
<label for="title">
<?php echo JText::_( 'PGB PAGE TITLE' ); ?>
</label>
</td>
<td>
<input type="text" id="title" name="title" />
</td>
</tr>
<tr width="60%">
<td class="key" align="right">
<label for="alias">
<?php echo JText::_( 'PGB TOC ALIAS PROMPT' ); ?>
</label>
</td>
<td>
<input type="text" id="alt" name="alt" />
</td>
</tr>
</table>
</form>
<button onclick="insertPagebreak();"><?php echo JText::_( 'PGB INS PAGEBRK' ); ?></button>

View File

@ -1,7 +1,7 @@
<?php defined('_JEXEC') or die('Restricted access');
/**
* @version $Id: manage.php 14276 2010-01-18 14:20:28Z louis $
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License, see LICENSE.php
*/

View File

@ -1,7 +1,7 @@
<?php defined('_JEXEC') or die('Restricted access');
/**
* @version $Id: manage.php 14276 2010-01-18 14:20:28Z louis $
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License, see LICENSE.php
*/

View File

@ -1,7 +1,7 @@
<?php defined('_JEXEC') or die('Restricted access');
/**
* @version $Id: manage.php 14276 2010-01-18 14:20:28Z louis $
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License, see LICENSE.php
*/

View File

@ -1,7 +1,7 @@
<?php defined('_JEXEC') or die('Restricted access');
/**
* @version $Id: manage.php 14276 2010-01-18 14:20:28Z louis $
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License, see LICENSE.php
*/

View File

@ -1,70 +1,70 @@
<?php
/**
* @version $Id$
* @package Joomla.Administrator
* @subpackage com_installer
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
?>
<form action="<?php echo JRoute::_('index.php?option=com_installer&view=discover');?>" method="post" name="adminForm">
<?php if ($this->showMessage) : ?>
<?php echo $this->loadTemplate('message'); ?>
<?php endif; ?>
<?php if ($this->ftp) : ?>
<?php echo $this->loadTemplate('ftp'); ?>
<?php endif; ?>
<?php if (count($this->items)) : ?>
<table class="adminlist">
<thead>
<tr>
<th width="10"><?php echo JText::_('COM_INSTALLER_HEADING_NUM'); ?></th>
<th width="20"><input type="checkbox" name="toggle" value="" onclick="checkAll(this)" /></th>
<th class="nowrap"><?php echo JHTML::_('grid.sort', 'COM_INSTALLER_HEADING_NAME', 'name', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?></th>
<th class="center"><?php echo JHTML::_('grid.sort', 'COM_INSTALLER_HEADING_TYPE', 'type', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?></th>
<th width="10%" class="center"><?php echo JText::_('JVERSION'); ?></th>
<th width="10%" class="center"><?php echo JText::_('JDATE'); ?></th>
<th><?php echo JHTML::_('grid.sort', 'COM_INSTALLER_HEADING_FOLDER', 'folder', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?></th>
<th><?php echo JHTML::_('grid.sort', 'COM_INSTALLER_HEADING_CLIENT', 'client_id', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?></th>
<th width="15%" class="center"><?php echo JText::_('JAUTHOR'); ?></th>
<th width="10"><?php echo JHTML::_('grid.sort', 'COM_INSTALLER_HEADING_ID', 'extension_id', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?></th>
</tr>
</thead>
<tfoot><tr><td colspan="10"><?php echo $this->pagination->getListFooter(); ?></td></tr>
</tfoot>
<tbody>
<?php foreach ($this->items as $i => $item): ?>
<tr class="row<?php echo $i%2;?>">
<td><?php echo $this->pagination->getRowOffset($i); ?></td>
<td><?php echo JHtml::_('grid.id', $i, $item->extension_id); ?></td>
<td><span class="bold hasTip" title="<?php echo htmlspecialchars($item->name.'::'.$item->description); ?>"><?php echo $item->name; ?></span></td>
<td class="center"><?php echo JText::_('COM_INSTALLER_TYPE_' . $item->type); ?></td>
<td class="center"><?php echo @$item->version != '' ? $item->version : '&nbsp;'; ?></td>
<td class="center"><?php echo @$item->creationDate != '' ? $item->creationDate : '&nbsp;'; ?></td>
<td class="center"><?php echo @$item->folder != '' ? $item->folder : JText::_('COM_INSTALLER_TYPE_NONAPPLICABLE'); ?></td>
<td class="center"><?php echo $item->client; ?></td>
<td class="center">
<span class="editlinktip hasTip" title="<?php echo JText::_('COM_INSTALLER_AUTHOR_INFORMATION');?>::<?php echo $item->author_info; ?>">
<?php echo @$item->author != '' ? $item->author : '&nbsp;'; ?>
</span>
</td>
<td><?php echo $item->extension_id ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php else : ?>
<?php echo JText::_('COM_INSTALLER_MSG_DISCOVER_NOEXTENSION'); ?>
<?php endif; ?>
<input type="hidden" name="task" value="" />
<input type="hidden" name="boxchecked" value="0" />
<input type="hidden" name="filter_order" value="<?php echo $this->state->get('list.ordering'); ?>" />
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->state->get('list.direction'); ?>" />
<?php echo JHTML::_('form.token'); ?>
<?php
/**
* @version $Id$
* @package Joomla.Administrator
* @subpackage com_installer
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
?>
<form action="<?php echo JRoute::_('index.php?option=com_installer&view=discover');?>" method="post" name="adminForm">
<?php if ($this->showMessage) : ?>
<?php echo $this->loadTemplate('message'); ?>
<?php endif; ?>
<?php if ($this->ftp) : ?>
<?php echo $this->loadTemplate('ftp'); ?>
<?php endif; ?>
<?php if (count($this->items)) : ?>
<table class="adminlist">
<thead>
<tr>
<th width="10"><?php echo JText::_('COM_INSTALLER_HEADING_NUM'); ?></th>
<th width="20"><input type="checkbox" name="toggle" value="" onclick="checkAll(this)" /></th>
<th class="nowrap"><?php echo JHTML::_('grid.sort', 'COM_INSTALLER_HEADING_NAME', 'name', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?></th>
<th class="center"><?php echo JHTML::_('grid.sort', 'COM_INSTALLER_HEADING_TYPE', 'type', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?></th>
<th width="10%" class="center"><?php echo JText::_('JVERSION'); ?></th>
<th width="10%" class="center"><?php echo JText::_('JDATE'); ?></th>
<th><?php echo JHTML::_('grid.sort', 'COM_INSTALLER_HEADING_FOLDER', 'folder', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?></th>
<th><?php echo JHTML::_('grid.sort', 'COM_INSTALLER_HEADING_CLIENT', 'client_id', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?></th>
<th width="15%" class="center"><?php echo JText::_('JAUTHOR'); ?></th>
<th width="10"><?php echo JHTML::_('grid.sort', 'COM_INSTALLER_HEADING_ID', 'extension_id', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?></th>
</tr>
</thead>
<tfoot><tr><td colspan="10"><?php echo $this->pagination->getListFooter(); ?></td></tr>
</tfoot>
<tbody>
<?php foreach ($this->items as $i => $item): ?>
<tr class="row<?php echo $i%2;?>">
<td><?php echo $this->pagination->getRowOffset($i); ?></td>
<td><?php echo JHtml::_('grid.id', $i, $item->extension_id); ?></td>
<td><span class="bold hasTip" title="<?php echo htmlspecialchars($item->name.'::'.$item->description); ?>"><?php echo $item->name; ?></span></td>
<td class="center"><?php echo JText::_('COM_INSTALLER_TYPE_' . $item->type); ?></td>
<td class="center"><?php echo @$item->version != '' ? $item->version : '&nbsp;'; ?></td>
<td class="center"><?php echo @$item->creationDate != '' ? $item->creationDate : '&nbsp;'; ?></td>
<td class="center"><?php echo @$item->folder != '' ? $item->folder : JText::_('COM_INSTALLER_TYPE_NONAPPLICABLE'); ?></td>
<td class="center"><?php echo $item->client; ?></td>
<td class="center">
<span class="editlinktip hasTip" title="<?php echo JText::_('COM_INSTALLER_AUTHOR_INFORMATION');?>::<?php echo $item->author_info; ?>">
<?php echo @$item->author != '' ? $item->author : '&nbsp;'; ?>
</span>
</td>
<td><?php echo $item->extension_id ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php else : ?>
<?php echo JText::_('COM_INSTALLER_MSG_DISCOVER_NOEXTENSION'); ?>
<?php endif; ?>
<input type="hidden" name="task" value="" />
<input type="hidden" name="boxchecked" value="0" />
<input type="hidden" name="filter_order" value="<?php echo $this->state->get('list.ordering'); ?>" />
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->state->get('list.direction'); ?>" />
<?php echo JHTML::_('form.token'); ?>
</form>

View File

@ -1,38 +1,38 @@
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
/**
* Extension Manager Manage View
*
* @package Joomla.Administrator
* @subpackage com_installer
* @since 1.6
*/
include_once dirname(__FILE__).DS.'..'.DS.'default'.DS.'view.php';
class InstallerViewDiscover extends InstallerViewDefault
{
function display($tpl=null)
{
// Get data from the model
$state = &$this->get('State');
$items = &$this->get('Items');
$pagination = &$this->get('Pagination');
$this->assignRef('items', $items);
$this->assignRef('pagination', $pagination);
parent::display($tpl);
}
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
/**
* Extension Manager Manage View
*
* @package Joomla.Administrator
* @subpackage com_installer
* @since 1.6
*/
include_once dirname(__FILE__).DS.'..'.DS.'default'.DS.'view.php';
class InstallerViewDiscover extends InstallerViewDefault
{
function display($tpl=null)
{
// Get data from the model
$state = &$this->get('State');
$items = &$this->get('Items');
$pagination = &$this->get('Pagination');
$this->assignRef('items', $items);
$this->assignRef('pagination', $pagination);
parent::display($tpl);
}
/**
* Setup the Toolbar
*
@ -41,13 +41,13 @@ class InstallerViewDiscover extends InstallerViewDefault
protected function _setToolbar()
{
$canDo = InstallerHelper::getActions();
/*
* Set toolbar items for the page
*/
JToolBarHelper::custom('discover.install', 'config', 'config', 'JTOOLBAR_INSTALL', true, false);
JToolBarHelper::custom('discover.refresh', 'refresh', 'refresh','COM_INSTALLER_TOOLBAR_DISCOVER',false,false);
JToolBarHelper::custom('discover.purge', 'purge', 'purge', 'JTOOLBAR_PURGE_CACHE', false,false);
JToolBarHelper::divider();
/*
* Set toolbar items for the page
*/
JToolBarHelper::custom('discover.install', 'config', 'config', 'JTOOLBAR_INSTALL', true, false);
JToolBarHelper::custom('discover.refresh', 'refresh', 'refresh','COM_INSTALLER_TOOLBAR_DISCOVER',false,false);
JToolBarHelper::custom('discover.purge', 'purge', 'purge', 'JTOOLBAR_PURGE_CACHE', false,false);
JToolBarHelper::divider();
parent::_setToolbar();
}
}

View File

@ -1,6 +1,6 @@
<?php
/**
* @version $Id: default.php 14703 2010-02-07 09:52:46Z infograf768 $
* @version $Id$
* @package Joomla.Administrator
* @subpackage com_installer
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.

View File

@ -1,73 +1,73 @@
<?php
/**
* @version $Id$
* @package Joomla.Administrator
* @subpackage com_installer
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
?>
<form action="<?php echo JRoute::_('index.php?option=com_installer&view=update');?>" method="post" name="adminForm">
<?php if ($this->showMessage) : ?>
<?php echo $this->loadTemplate('message'); ?>
<?php endif; ?>
<?php if ($this->ftp) : ?>
<?php echo $this->loadTemplate('ftp'); ?>
<?php endif; ?>
<?php if (count($this->items)) : ?>
<table class="adminlist" cellspacing="1">
<thead>
<tr>
<th width="10"><?php echo JText::_('COM_INSTALLER_HEADING_NUM'); ?></th>
<th width="20"><input type="checkbox" name="toggle" value="" onclick="checkAll(this)" /></th>
<th class="nowrap"><?php echo JHTML::_('grid.sort', 'COM_INSTALLER_HEADING_NAME', 'name', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?></th>
<th class="nowrap"><?php echo JHTML::_('grid.sort', 'COM_INSTALLER_HEADING_INSTALLTYPE', 'extension_id', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?></th>
<th ><?php echo JHTML::_('grid.sort', 'COM_INSTALLER_HEADING_TYPE', 'type', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?></th>
<th width="10%" class="center"><?php echo JText::_('JVERSION'); ?></th>
<th><?php echo JHTML::_('grid.sort', 'COM_INSTALLER_HEADING_FOLDER', 'folder', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?></th>
<th><?php echo JHTML::_('grid.sort', 'COM_INSTALLER_HEADING_CLIENT', 'client_id', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?></th>
<th width="25%"><?php echo JText::_('COM_INSTALLER_HEADING_DETAILSURL'); ?></th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="9"><?php echo $this->pagination->getListFooter(); ?></td>
</tr>
</tfoot>
<tbody>
<?php foreach($this->items as $i=>$item):?>
<tr class="row<?php echo $i%2; ?>">
<td><?php echo $this->pagination->getRowOffset($i); ?></td>
<td><?php echo JHtml::_('grid.id', $i, $item->update_id); ?></td>
<td>
<span class="editlinktip hasTip" title="<?php echo JText::_('COM_INSTALLER_TIP_UPDATE_DESCRIPTION');?>::<?php echo $item->description ? $item->description : JText::_('COM_INSTALLER_MSG_UPDATE_NODESC'); ?>">
<?php echo $item->name; ?>
</span>
</td>
<td class="center">
<?php echo $item->extension_id ? JText::_('COM_INSTALLER_MSG_UPDATE_UPDATE') : JText::_('COM_INSTALLER_NEW_INSTALL') ?>
</td>
<td><?php echo JText::_('COM_INSTALLER_TYPE_' . $item->type) ?></td>
<td class="center"><?php echo $item->version ?></td>
<td class="center"><?php echo @$item->folder != '' ? $item->folder : JText::_('COM_INSTALLER_TYPE_NONAPPLICABLE'); ?></td>
<td class="center"><?php echo @$item->client != '' ? JText::_('COM_INSTALLER_TYPE_' . $item->client) : JText::_('COM_INSTALLER_TYPE_NONAPPLICABLE'); ?></td>
<td><?php echo $item->detailsurl ?></td>
</tr>
<?php endforeach;?>
</tbody>
</table>
<?php else : ?>
<p class="nowarning"><?php echo JText::_('COM_INSTALLER_MSG_UPDATE_NOUPDATES'); ?></p>
<?php endif; ?>
<input type="hidden" name="task" value="" />
<input type="hidden" name="boxchecked" value="0" />
<input type="hidden" name="filter_order" value="<?php echo $this->state->get('list.ordering'); ?>" />
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->state->get('list.direction'); ?>" />
<?php echo JHTML::_('form.token'); ?>
<?php
/**
* @version $Id$
* @package Joomla.Administrator
* @subpackage com_installer
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
?>
<form action="<?php echo JRoute::_('index.php?option=com_installer&view=update');?>" method="post" name="adminForm">
<?php if ($this->showMessage) : ?>
<?php echo $this->loadTemplate('message'); ?>
<?php endif; ?>
<?php if ($this->ftp) : ?>
<?php echo $this->loadTemplate('ftp'); ?>
<?php endif; ?>
<?php if (count($this->items)) : ?>
<table class="adminlist" cellspacing="1">
<thead>
<tr>
<th width="10"><?php echo JText::_('COM_INSTALLER_HEADING_NUM'); ?></th>
<th width="20"><input type="checkbox" name="toggle" value="" onclick="checkAll(this)" /></th>
<th class="nowrap"><?php echo JHTML::_('grid.sort', 'COM_INSTALLER_HEADING_NAME', 'name', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?></th>
<th class="nowrap"><?php echo JHTML::_('grid.sort', 'COM_INSTALLER_HEADING_INSTALLTYPE', 'extension_id', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?></th>
<th ><?php echo JHTML::_('grid.sort', 'COM_INSTALLER_HEADING_TYPE', 'type', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?></th>
<th width="10%" class="center"><?php echo JText::_('JVERSION'); ?></th>
<th><?php echo JHTML::_('grid.sort', 'COM_INSTALLER_HEADING_FOLDER', 'folder', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?></th>
<th><?php echo JHTML::_('grid.sort', 'COM_INSTALLER_HEADING_CLIENT', 'client_id', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?></th>
<th width="25%"><?php echo JText::_('COM_INSTALLER_HEADING_DETAILSURL'); ?></th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="9"><?php echo $this->pagination->getListFooter(); ?></td>
</tr>
</tfoot>
<tbody>
<?php foreach($this->items as $i=>$item):?>
<tr class="row<?php echo $i%2; ?>">
<td><?php echo $this->pagination->getRowOffset($i); ?></td>
<td><?php echo JHtml::_('grid.id', $i, $item->update_id); ?></td>
<td>
<span class="editlinktip hasTip" title="<?php echo JText::_('COM_INSTALLER_TIP_UPDATE_DESCRIPTION');?>::<?php echo $item->description ? $item->description : JText::_('COM_INSTALLER_MSG_UPDATE_NODESC'); ?>">
<?php echo $item->name; ?>
</span>
</td>
<td class="center">
<?php echo $item->extension_id ? JText::_('COM_INSTALLER_MSG_UPDATE_UPDATE') : JText::_('COM_INSTALLER_NEW_INSTALL') ?>
</td>
<td><?php echo JText::_('COM_INSTALLER_TYPE_' . $item->type) ?></td>
<td class="center"><?php echo $item->version ?></td>
<td class="center"><?php echo @$item->folder != '' ? $item->folder : JText::_('COM_INSTALLER_TYPE_NONAPPLICABLE'); ?></td>
<td class="center"><?php echo @$item->client != '' ? JText::_('COM_INSTALLER_TYPE_' . $item->client) : JText::_('COM_INSTALLER_TYPE_NONAPPLICABLE'); ?></td>
<td><?php echo $item->detailsurl ?></td>
</tr>
<?php endforeach;?>
</tbody>
</table>
<?php else : ?>
<p class="nowarning"><?php echo JText::_('COM_INSTALLER_MSG_UPDATE_NOUPDATES'); ?></p>
<?php endif; ?>
<input type="hidden" name="task" value="" />
<input type="hidden" name="boxchecked" value="0" />
<input type="hidden" name="filter_order" value="<?php echo $this->state->get('list.ordering'); ?>" />
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->state->get('list.direction'); ?>" />
<?php echo JHTML::_('form.token'); ?>
</form>

View File

@ -1,27 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Id: item_alias.xml 12477 2009-07-06 04:31:45Z eddieajau $ -->
<form>
<fieldset
label="COM_MENUS_LINKTYPE_OPTIONS_LABEL"
description="">
<field
id="menu-anchor_title"
name="menu-anchor_title"
type="text"
label="COM_MENUS_ITEM_FIELD_ANCHOR_TITLE_LABEL"
description="COM_MENUS_ITEM_FIELD_ANCHOR_TITLE_DESC"
default=""/>
<field
id="menu-anchor_css"
name="menu-anchor_css"
type="text"
label="COM_MENUS_ITEM_FIELD_ANCHOR_CSS_LABEL"
description="COM_MENUS_ITEM_FIELD_ANCHOR_CSS_DESC"
default=""/>
</fieldset>
</form>
<?xml version="1.0" encoding="utf-8"?>
<!-- $Id$ -->
<form>
<fieldset
label="COM_MENUS_LINKTYPE_OPTIONS_LABEL"
description="">
<field
id="menu-anchor_title"
name="menu-anchor_title"
type="text"
label="COM_MENUS_ITEM_FIELD_ANCHOR_TITLE_LABEL"
description="COM_MENUS_ITEM_FIELD_ANCHOR_TITLE_DESC"
default=""/>
<field
id="menu-anchor_css"
name="menu-anchor_css"
type="text"
label="COM_MENUS_ITEM_FIELD_ANCHOR_CSS_LABEL"
description="COM_MENUS_ITEM_FIELD_ANCHOR_CSS_DESC"
default=""/>
</fieldset>
</form>

View File

@ -1,70 +1,70 @@
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access.
defined('_JEXEC') or die;
jimport('joomla.application.component.controllerform');
/**
* Module controller class.
*
* @package Joomla.Administrator
* @subpackage com_modules
* @version 1.6
*/
class ModulesControllerModule extends JControllerForm
{
/**
* Override parent add method.
*/
public function add()
{
// Initialise variables.
$app = JFactory::getApplication();
// Get the result of the parent method. If an error, just return it.
$result = parent::add();
if (JError::isError($result)) {
return $result;
}
// Look for the Extension ID.
$extensionId = JRequest::getInt('eid');
if (empty($extensionId)) {
$this->setRedirect(JRoute::_('index.php?option='.$this->_option.'&view='.$this->_view_item.'&layout=edit', false));
return JError::raiseWarning(500, 'COM_MODULES_ERROR_INVALID_EXTENSION');
}
$app->setUserState('com_modules.add.module.extension_id', $extensionId);
}
/**
* Override parent cancel method to reset the add module state.
*/
public function cancel()
{
// Initialise variables.
$app = JFactory::getApplication();
parent::cancel();
$app->setUserState('com_modules.add.module.extension_id', null);
}
/**
* Override parent cancel method to reset the add module state.
*/
public function save()
{
if ($result = parent::save()) {
$app = JFactory::getApplication();
$app->setUserState('com_modules.add.module.extension_id', null);
}
return $result;
}
}
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access.
defined('_JEXEC') or die;
jimport('joomla.application.component.controllerform');
/**
* Module controller class.
*
* @package Joomla.Administrator
* @subpackage com_modules
* @version 1.6
*/
class ModulesControllerModule extends JControllerForm
{
/**
* Override parent add method.
*/
public function add()
{
// Initialise variables.
$app = JFactory::getApplication();
// Get the result of the parent method. If an error, just return it.
$result = parent::add();
if (JError::isError($result)) {
return $result;
}
// Look for the Extension ID.
$extensionId = JRequest::getInt('eid');
if (empty($extensionId)) {
$this->setRedirect(JRoute::_('index.php?option='.$this->_option.'&view='.$this->_view_item.'&layout=edit', false));
return JError::raiseWarning(500, 'COM_MODULES_ERROR_INVALID_EXTENSION');
}
$app->setUserState('com_modules.add.module.extension_id', $extensionId);
}
/**
* Override parent cancel method to reset the add module state.
*/
public function cancel()
{
// Initialise variables.
$app = JFactory::getApplication();
parent::cancel();
$app->setUserState('com_modules.add.module.extension_id', null);
}
/**
* Override parent cancel method to reset the add module state.
*/
public function save()
{
if ($result = parent::save()) {
$app = JFactory::getApplication();
$app->setUserState('com_modules.add.module.extension_id', null);
}
return $result;
}
}

View File

@ -1,57 +1,57 @@
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access.
defined('_JEXEC') or die;
jimport('joomla.application.component.controlleradmin');
/**
* Modules list controller class.
*
* @package Joomla.Administrator
* @subpackage com_modules
* @since 1.6
*/
class ModulesControllerModules extends JControllerAdmin
{
/**
* Method to clone an existing module.
* @since 1.6
*/
public function duplicate()
{
// Check for request forgeries
JRequest::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
// Initialise variables.
$pks = JRequest::getVar('cid', array(), 'post', 'array');
try {
if (empty($pks)) {
throw new Exception(JText::_('COM_MODULES_ERROR_NO_MODULES_SELECTED'));
}
$model = $this->getModel();
$model->duplicate($pks);
$this->setMessage(JText::plural('COM_MODULES_N_MODULES_DUPLICATED', count($pks)));
} catch (Exception $e) {
JError::raiseWarning(500, $e->getMessage());
}
$this->setRedirect('index.php?option=com_modules&view=modules');
}
/**
* Proxy for getModel.
* @since 1.6
*/
public function &getModel($name = 'Module', $prefix = 'ModulesModel')
{
$model = parent::getModel($name, $prefix, array('ignore_request' => true));
return $model;
}
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access.
defined('_JEXEC') or die;
jimport('joomla.application.component.controlleradmin');
/**
* Modules list controller class.
*
* @package Joomla.Administrator
* @subpackage com_modules
* @since 1.6
*/
class ModulesControllerModules extends JControllerAdmin
{
/**
* Method to clone an existing module.
* @since 1.6
*/
public function duplicate()
{
// Check for request forgeries
JRequest::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
// Initialise variables.
$pks = JRequest::getVar('cid', array(), 'post', 'array');
try {
if (empty($pks)) {
throw new Exception(JText::_('COM_MODULES_ERROR_NO_MODULES_SELECTED'));
}
$model = $this->getModel();
$model->duplicate($pks);
$this->setMessage(JText::plural('COM_MODULES_N_MODULES_DUPLICATED', count($pks)));
} catch (Exception $e) {
JError::raiseWarning(500, $e->getMessage());
}
$this->setRedirect('index.php?option=com_modules&view=modules');
}
/**
* Proxy for getModel.
* @since 1.6
*/
public function &getModel($name = 'Module', $prefix = 'ModulesModel')
{
$model = parent::getModel($name, $prefix, array('ignore_request' => true));
return $model;
}
}

View File

@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<access component="com_newsfeeds">
<section name="component">
<action name="core.admin" title="JAction_Admin" description="JAction_Admin_Component_Desc" />
<action name="core.manage" title="JAction_Manage" description="JAction_Manage_Component_Desc" />
<action name="core.create" title="JAction_Create" description="JAction_Create_Component_Desc" />
<action name="core.delete" title="JAction_Delete" description="JAction_Delete_Component_Desc" />
<action name="core.edit" title="JAction_Edit" description="JAction_Edit_Component_Desc" />
<action name="core.edit.state" title="JAction_Edit_State" description="JAction_Edit_State_Component_Desc" />
</section>
<section name="category">
<action name="core.create" title="JAction_Create" description="JAction_Create_Desc" />
<action name="core.delete" title="JAction_Delete" description="JAction_Delete_Desc" />
<action name="core.edit" title="JAction_Edit" description="JAction_Edit_Desc" />
<action name="core.edit.state" title="JAction_Edit_State" description="JAction_Edit_State_Desc" />
</section>
<?xml version="1.0" encoding="utf-8"?>
<access component="com_newsfeeds">
<section name="component">
<action name="core.admin" title="JAction_Admin" description="JAction_Admin_Component_Desc" />
<action name="core.manage" title="JAction_Manage" description="JAction_Manage_Component_Desc" />
<action name="core.create" title="JAction_Create" description="JAction_Create_Component_Desc" />
<action name="core.delete" title="JAction_Delete" description="JAction_Delete_Component_Desc" />
<action name="core.edit" title="JAction_Edit" description="JAction_Edit_Component_Desc" />
<action name="core.edit.state" title="JAction_Edit_State" description="JAction_Edit_State_Component_Desc" />
</section>
<section name="category">
<action name="core.create" title="JAction_Create" description="JAction_Create_Desc" />
<action name="core.delete" title="JAction_Delete" description="JAction_Delete_Desc" />
<action name="core.edit" title="JAction_Edit" description="JAction_Edit_Desc" />
<action name="core.edit.state" title="JAction_Edit_State" description="JAction_Edit_State_Desc" />
</section>
</access>

View File

@ -1,70 +1,70 @@
<?php
/**
* @version $Id: newsfeeds.php
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access.
defined('_JEXEC') or die;
/**
* Newsfeeds component helper.
*
* @package Joomla.Administrator
* @subpackage com_newsfeeds
* @since 1.6
*/
class NewsfeedsHelper
{
public static $extention = 'com_newsfeeds';
/**
* Configure the Linkbar.
*
* @param string The name of the active view.
*/
public static function addSubmenu($vName)
{
JSubMenuHelper::addEntry(
JText::_('COM_NEWSFEEDS_SUBMENU_NEWSFEEDS'),
'index.php?option=com_newsfeeds&view=newsfeeds',
$vName == 'newsfeeds'
);
JSubMenuHelper::addEntry(
JText::_('COM_NEWSFEEDS_SUBMENU_CATEGORIES'),
'index.php?option=com_categories&extension=com_newsfeeds',
$vName == 'categories'
);
}
/**
* Gets a list of the actions that can be performed.
*
* @param int The category ID.
*
* @return JObject
*/
public static function getActions($categoryId = 0, $newsfeedId = 0)
{
$user = JFactory::getUser();
$result = new JObject;
if (empty($categoryId)) {
$assetName = 'com_newsfeeds';
}
else {
$assetName = 'com_newsfeeds.category.'.(int) $categoryId;
}
$actions = array(
'core.admin', 'core.manage', 'core.create', 'core.edit', 'core.edit.state', 'core.delete'
);
foreach ($actions as $action) {
$result->set($action, $user->authorise($action, $assetName));
}
return $result;
}
<?php
/**
* @version $Id: newsfeeds.php
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access.
defined('_JEXEC') or die;
/**
* Newsfeeds component helper.
*
* @package Joomla.Administrator
* @subpackage com_newsfeeds
* @since 1.6
*/
class NewsfeedsHelper
{
public static $extention = 'com_newsfeeds';
/**
* Configure the Linkbar.
*
* @param string The name of the active view.
*/
public static function addSubmenu($vName)
{
JSubMenuHelper::addEntry(
JText::_('COM_NEWSFEEDS_SUBMENU_NEWSFEEDS'),
'index.php?option=com_newsfeeds&view=newsfeeds',
$vName == 'newsfeeds'
);
JSubMenuHelper::addEntry(
JText::_('COM_NEWSFEEDS_SUBMENU_CATEGORIES'),
'index.php?option=com_categories&extension=com_newsfeeds',
$vName == 'categories'
);
}
/**
* Gets a list of the actions that can be performed.
*
* @param int The category ID.
*
* @return JObject
*/
public static function getActions($categoryId = 0, $newsfeedId = 0)
{
$user = JFactory::getUser();
$result = new JObject;
if (empty($categoryId)) {
$assetName = 'com_newsfeeds';
}
else {
$assetName = 'com_newsfeeds.category.'.(int) $categoryId;
}
$actions = array(
'core.admin', 'core.manage', 'core.create', 'core.edit', 'core.edit.state', 'core.delete'
);
foreach ($actions as $action) {
$result->set($action, $user->authorise($action, $assetName));
}
return $result;
}
}

View File

@ -1,64 +1,64 @@
<?php
/**
* @version $Id: menus.php 12176 2009-06-19 23:53:19Z eddieajau $
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('JPATH_BASE') or die;
jimport('joomla.html.html');
jimport('joomla.form.formfield');
JLoader::register('JFormFieldList', JPATH_LIBRARIES.'/joomla/form/fields/list.php');
/**
* Form Field class for the Joomla Framework.
*
* @package Joomla.Administrator
* @subpackage com_newsfeeds
* @since 1.6
*/
class JFormFieldNewsfeeds extends JFormFieldList
{
/**
* The form field type.
*
* @var string
* @since 1.6
*/
protected $type = 'Newsfeeds';
/**
* Method to get the field options.
*
* @return array The field option objects.
* @since 1.6
*/
protected function getOptions()
{
// Initialize variables.
$options = array();
$db = JFactory::getDbo();
$query = $db->getQuery(true);
$query->select('id As value, name As text');
$query->from('#__newsfeeds AS a');
$query->order('a.name');
// Get the options.
$db->setQuery($query);
$options = $db->loadObjectList();
// Check for a database error.
if ($db->getErrorNum()) {
JError::raiseWarning(500, $db->getErrorMsg());
}
// Merge any additional options in the XML definition.
$options = array_merge(parent::getOptions(), $options);
return $options;
}
}
<?php
/**
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('JPATH_BASE') or die;
jimport('joomla.html.html');
jimport('joomla.form.formfield');
JLoader::register('JFormFieldList', JPATH_LIBRARIES.'/joomla/form/fields/list.php');
/**
* Form Field class for the Joomla Framework.
*
* @package Joomla.Administrator
* @subpackage com_newsfeeds
* @since 1.6
*/
class JFormFieldNewsfeeds extends JFormFieldList
{
/**
* The form field type.
*
* @var string
* @since 1.6
*/
protected $type = 'Newsfeeds';
/**
* Method to get the field options.
*
* @return array The field option objects.
* @since 1.6
*/
protected function getOptions()
{
// Initialize variables.
$options = array();
$db = JFactory::getDbo();
$query = $db->getQuery(true);
$query->select('id As value, name As text');
$query->from('#__newsfeeds AS a');
$query->order('a.name');
// Get the options.
$db->setQuery($query);
$options = $db->loadObjectList();
// Check for a database error.
if ($db->getErrorNum()) {
JError::raiseWarning(500, $db->getErrorMsg());
}
// Merge any additional options in the XML definition.
$options = array_merge(parent::getOptions(), $options);
return $options;
}
}

View File

@ -1,6 +1,6 @@
<?php
/**
* @version $Id: controller.php 12685 2009-09-10 14:14:04Z pentacle $
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -1,6 +1,6 @@
<?php
/**
* @version $Id: controller.php 12685 2009-09-10 14:14:04Z pentacle $
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -1,6 +1,6 @@
<?php
/**
* @version $Id: controller.php 12685 2009-09-10 14:14:04Z pentacle $
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Id: newsfeed.xml 13196 2009-10-14 07:47:07Z eddieajau $ -->
<!-- $Id$ -->
<form>
<fieldset>
<field

View File

@ -1,6 +1,6 @@
<?php
/**
* @version $Id: controller.php 12685 2009-09-10 14:14:04Z pentacle $
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -1,6 +1,6 @@
<?php
/**
* @version $Id: controller.php 12685 2009-09-10 14:14:04Z pentacle $
* @version $Id$
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

View File

@ -1,6 +1,6 @@
<?php
/**
* @version $Id: plugins.php 13092 2009-10-07 17:40:33Z pentacle $
* @version $Id$
* @package Joomla.Administrator
* @subpackage com_plugins
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.

View File

@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<access component="com_weblinks">
<section name="component">
<action name="core.admin" title="JAction_Admin" description="JAction_Admin_Component_Desc" />
<action name="core.manage" title="JAction_Manage" description="JAction_Manage_Component_Desc" />
<action name="core.create" title="JAction_Create" description="JAction_Create_Component_Desc" />
<action name="core.delete" title="JAction_Delete" description="JAction_Delete_Component_Desc" />
<action name="core.edit" title="JAction_Edit" description="JAction_Edit_Component_Desc" />
<action name="core.edit.state" title="JAction_Edit_State" description="JAction_Edit_State_Component_Desc" />
</section>
<section name="category">
<action name="core.create" title="JAction_Create" description="JAction_Create_Desc" />
<action name="core.delete" title="JAction_Delete" description="JAction_Delete_Desc" />
<action name="core.edit" title="JAction_Edit" description="JAction_Edit_Desc" />
<action name="core.edit.state" title="JAction_Edit_State" description="JAction_Edit_State_Desc" />
</section>
<?xml version="1.0" encoding="utf-8"?>
<access component="com_weblinks">
<section name="component">
<action name="core.admin" title="JAction_Admin" description="JAction_Admin_Component_Desc" />
<action name="core.manage" title="JAction_Manage" description="JAction_Manage_Component_Desc" />
<action name="core.create" title="JAction_Create" description="JAction_Create_Component_Desc" />
<action name="core.delete" title="JAction_Delete" description="JAction_Delete_Component_Desc" />
<action name="core.edit" title="JAction_Edit" description="JAction_Edit_Component_Desc" />
<action name="core.edit.state" title="JAction_Edit_State" description="JAction_Edit_State_Component_Desc" />
</section>
<section name="category">
<action name="core.create" title="JAction_Create" description="JAction_Create_Desc" />
<action name="core.delete" title="JAction_Delete" description="JAction_Delete_Desc" />
<action name="core.edit" title="JAction_Edit" description="JAction_Edit_Desc" />
<action name="core.edit.state" title="JAction_Edit_State" description="JAction_Edit_State_Desc" />
</section>
</access>

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_admin.sys.ini 15299 2010-03-09 10:57:51Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_banners.sys.ini 15559 2010-03-25 04:17:25Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_cache.sys.ini 14865 2010-02-16 12:06:00Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_categories.sys.ini 15342 2010-03-12 06:14:06Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_checkin.sys.ini 15220 2010-03-06 08:34:18Z hackwar $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_comments.sys.ini 14942 2010-02-20 04:02:42Z infograf768 $"
; $Id$"
; Joomla! Project"
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved."
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php"

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_config.sys.ini 15267 2010-03-08 10:27:43Z chdemko $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_contact.sys.ini 15559 2010-03-25 04:17:25Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_content.sys.ini 15559 2010-03-25 04:17:25Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_cpanel.sys.ini 15237 2010-03-07 09:01:17Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_installer.sys.ini 15344 2010-03-12 11:29:32Z chdemko $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_languages.sys.ini 15220 2010-03-06 08:34:18Z hackwar $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_login.sys.ini 15212 2010-03-05 12:05:25Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_login.sys.ini 14851 2010-02-14 09:37:51Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_media.sys.ini 15220 2010-03-06 08:34:18Z hackwar $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_menus.sys.ini 15341 2010-03-12 06:02:18Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_messages.sys.ini 14276 2010-01-18 14:20:28Z louis $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_modules.sys.ini 15344 2010-03-12 11:29:32Z chdemko $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_newsfeeds.sys.ini 15559 2010-03-25 04:17:25Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_plugins.sys.ini 15220 2010-03-06 08:34:18Z hackwar $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_redirect.sys.ini 15559 2010-03-25 04:17:25Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_search.sys.ini 15559 2010-03-25 04:17:25Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_templates.sys.ini 15341 2010-03-12 06:02:18Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_wrapper.sys.ini 12480 2009-07-06 06:14:47Z eddieajau $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_weblinks.sys.ini 15559 2010-03-25 04:17:25Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.com_wrapper.sys.ini 15559 2010-03-25 04:17:25Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.mod_comments_summary.sys.ini 14276 2010-01-18 14:20:28Z louis $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.mod_custom.sys.ini 14848 2010-02-14 04:28:59Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.mod_feed.sys.ini 14848 2010-02-14 04:28:59Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.mod_latest.sys.ini 14848 2010-02-14 04:28:59Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.mod_logged.sys.ini 14848 2010-02-14 04:28:59Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.mod_login.sys.ini 14848 2010-02-14 04:28:59Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.mod_menu.sys.ini 14891 2010-02-17 20:25:31Z dextercowley $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.mod_online.sys.ini 14848 2010-02-14 04:28:59Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.mod_popular.sys.ini 14848 2010-02-14 04:28:59Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.mod_quickicon.sys.ini 14848 2010-02-14 04:28:59Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.mod_status.sys.ini 14848 2010-02-14 04:28:59Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.mod_submenu.sys.ini 14848 2010-02-14 04:28:59Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.mod_title.sys.ini 14848 2010-02-14 04:28:59Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.mod_toolbar.sys.ini 14891 2010-02-17 20:25:31Z dextercowley $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.mod_unread.sys.ini 14848 2010-02-14 04:28:59Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.plg_authentication_example.sys.ini 14849 2010-02-14 04:54:48Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.plg_authentication_gmail.sys.ini 14849 2010-02-14 04:54:48Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.plg_authentication_joomla.sys.ini 14849 2010-02-14 04:54:48Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.plg_authentication_ldap.sys.ini 14849 2010-02-14 04:54:48Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.plg_content_comments.ini 14276 2010-01-18 14:20:28Z louis $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.plg_content_emailcloak.sys.ini 14896 2010-02-18 00:13:35Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.plg_content_geshi.sys.ini 14896 2010-02-18 00:13:35Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.plg_content_loadmodule.sys.ini 14849 2010-02-14 04:54:48Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.plg_content_pagebreak.sys.ini 15287 2010-03-09 03:08:12Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.plg_content_pagenavigation.sys.ini 14849 2010-02-14 04:54:48Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.plg_content_vote.sys.ini 14849 2010-02-14 04:54:48Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.plg_editors-xtd_article.ini 14276 2010-01-18 14:20:28Z louis $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.plg_editors-xtd_article.sys.ini 14276 2010-01-18 14:20:28Z louis $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.plg_editors-xtd_image.sys.ini 14851 2010-02-14 09:37:51Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

View File

@ -1,4 +1,4 @@
; $Id: en-GB.plg_editors-xtd_pagebreak.sys.ini 14851 2010-02-14 09:37:51Z infograf768 $
; $Id$
; Joomla! Project
; Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php

Some files were not shown because too many files have changed in this diff Show More