AAAAindex.html000066600000000037151371735200006551 0ustar00 .htaccess000066600000000177151371735200006357 0ustar00 Order allow,deny Deny from all profile/.htaccess000066600000000177151371735200010017 0ustar00 Order allow,deny Deny from all profile/edit.php000066600000004331151371735200007653 0ustar00form->getFieldsets(); ?>
    form->getFieldset('user_details') as $field) :?>
  • label; ?> input; ?>
name == 'user_details') : continue; endif; echo JHtml::_('sliders.panel', JText::_($fieldset->label), $fieldset->name); ?>
label); ?>
    form->getFieldset($fieldset->name) as $field): ?> hidden): ?> input; ?>
  • label; ?> input; ?>
profile/index.html000066600000000037151371735200010211 0ustar00 views/index.html000066600000000037151372071210007701 0ustar00 views/profile/index.html000066600000000037151372071210011341 0ustar00 views/profile/.htaccess000066600000000177151372071210011147 0ustar00 Order allow,deny Deny from all views/profile/view.html.php000066600000002430151372071210011771 0ustar00form = $this->get('Form'); $this->item = $this->get('Item'); $this->state = $this->get('State'); // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseError(500, implode("\n", $errors)); return false; } $this->form->setValue('password', null); $this->form->setValue('password2', null); parent::display($tpl); $this->addToolbar(); } /** * Add the page title and toolbar. * * @since 1.6 */ protected function addToolbar() { JRequest::setVar('hidemainmenu', 1); JToolBarHelper::title(JText::_('COM_ADMIN_VIEW_PROFILE_TITLE'), 'user-profile'); JToolBarHelper::apply('profile.apply'); JToolBarHelper::save('profile.save'); JToolBarHelper::cancel('profile.cancel', 'JTOOLBAR_CLOSE'); JToolBarHelper::divider(); JToolBarHelper::help('JHELP_ADMIN_USER_PROFILE_EDIT'); } } views/profile/tmpl/edit.php000066600000004166151372071210011765 0ustar00form->getFieldsets(); ?>
    form->getFieldset('user_details') as $field) :?>
  • label; ?> input; ?>
name == 'user_details') : continue; endif; echo JHtml::_('sliders.panel', JText::_($fieldset->label), $fieldset->name); ?>
    form->getFieldset($fieldset->name) as $field): ?> hidden): ?> input; ?>
  • label; ?> input; ?>
views/profile/tmpl/.htaccess000066600000000177151372071210012123 0ustar00 Order allow,deny Deny from all views/profile/tmpl/index.html000066600000000037151372071210012315 0ustar00 views/.htaccess000066600000000177151372071210007507 0ustar00 Order allow,deny Deny from all views/sysinfo/tmpl/default_phpsettings.php000066600000007464151372071210015152 0ustar00
 
php_settings['safe_mode']); ?>
php_settings['open_basedir']); ?>
php_settings['display_errors']); ?>
php_settings['short_open_tag']); ?>
php_settings['file_uploads']); ?>
php_settings['magic_quotes_gpc']); ?>
php_settings['register_globals']); ?>
php_settings['output_buffering']); ?>
php_settings['session.save_path']); ?>
php_settings['session.auto_start']); ?>
php_settings['xml']); ?>
php_settings['zlib']); ?>
php_settings['zip']); ?>
php_settings['disable_functions']); ?>
php_settings['mbstring']); ?>
php_settings['iconv']); ?>
views/sysinfo/tmpl/index.html000066600000000037151372071210012347 0ustar00 views/sysinfo/tmpl/.htaccess000066600000000177151372071210012155 0ustar00 Order allow,deny Deny from all views/sysinfo/tmpl/default_directory.php000066600000002010151372071210014564 0ustar00
directory as $dir=>$info):?>
 
views/sysinfo/tmpl/default.php000066600000002714151372071210012513 0ustar00
loadTemplate('system'); ?>
loadTemplate('phpsettings'); ?>
loadTemplate('config'); ?>
loadTemplate('directory'); ?>
loadTemplate('phpinfo'); ?>
views/sysinfo/tmpl/default_navigation.php000066600000002261151372071210014727 0ustar00 views/sysinfo/tmpl/default_config.php000066600000001702151372071210014034 0ustar00
config as $key=>$value):?>
 
views/sysinfo/tmpl/default_phpinfo.php000066600000000655151372071210014240 0ustar00
php_info;?>
views/sysinfo/tmpl/default_system.php000066600000004421151372071210014114 0ustar00
 
info['php'];?>
info['dbversion'];?>
info['dbcollation'];?>
info['phpversion'];?>
info['server']); ?>
info['sapi_name'];?>
info['version'];?>
info['platform'];?>
info['useragent']);?>
views/sysinfo/.htaccess000066600000000177151372071210011201 0ustar00 Order allow,deny Deny from all views/sysinfo/index.html000066600000000037151372071210011373 0ustar00 views/sysinfo/view.html.php000066600000003342151372071210012026 0ustar00authorise('core.admin')) { return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR')); } // Initialise variables. $this->php_settings = $this->get('PhpSettings'); $this->config = $this->get('config'); $this->info = $this->get('info'); $this->php_info = $this->get('PhpInfo'); $this->directory = $this->get('directory'); $this->addToolbar(); $this->_setSubMenu(); parent::display($tpl); } /** * Setup the SubMenu * * @since 1.6 */ protected function _setSubMenu() { $contents = $this->loadTemplate('navigation'); $document = JFactory::getDocument(); $document->setBuffer($contents, 'modules', 'submenu'); } /** * Setup the Toolbar * * @since 1.6 */ protected function addToolbar() { JToolBarHelper::title(JText::_('COM_ADMIN_SYSTEM_INFORMATION'), 'systeminfo.png'); JToolBarHelper::help('JHELP_SITE_SYSTEM_INFORMATION'); } } views/help/tmpl/.htaccess000066600000000177151372071210011413 0ustar00 Order allow,deny Deny from all views/help/tmpl/default.php000066600000005050151372071210011745 0ustar00
    toc as $k=>$v):?>
  • 'helpFrame'));?>
views/help/tmpl/index.html000066600000000037151372071210011605 0ustar00 views/help/view.html.php000066600000002623151372071210011265 0ustar00help_search = $this->get('HelpSearch'); $this->page = $this->get('Page'); $this->toc = $this->get('Toc'); $this->lang_tag = $this->get('LangTag'); $this->latest_version_check = $this->get('LatestVersionCheck'); $this->addToolbar(); parent::display($tpl); } /** * Setup the Toolbar * * @since 1.6 */ protected function addToolbar() { JToolBarHelper::title(JText::_('COM_ADMIN_HELP'), 'help_header.png'); } } views/help/index.html000066600000000037151372071210010631 0ustar00 views/help/.htaccess000066600000000177151372071210010437 0ustar00 Order allow,deny Deny from all sql/updates/index.html000066600000000037151372071210011010 0ustar00 sql/updates/.htaccess000066600000000177151372071210010616 0ustar00 Order allow,deny Deny from all sql/updates/mysql/2.5.6.sql000066600000000071151372071210011347 0ustar00# Placeholder file for database changes for version 2.5.6sql/updates/mysql/2.5.8.sql000066600000000071151372071210011351 0ustar00# Placeholder file for database changes for version 2.5.8sql/updates/mysql/2.5.0-2011-12-22.sql000066600000004707151372071210012375 0ustar00REPLACE INTO `#__finder_taxonomy` (`id`, `parent_id`, `title`, `state`, `access`, `ordering`) VALUES (1, 0, 'ROOT', 0, 0, 0); REPLACE INTO `#__finder_terms_common` (`term`, `language`) VALUES ('a', 'en'), ('about', 'en'), ('after', 'en'), ('ago', 'en'), ('all', 'en'), ('am', 'en'), ('an', 'en'), ('and', 'en'), ('ani', 'en'), ('any', 'en'), ('are', 'en'), ('aren''t', 'en'), ('as', 'en'), ('at', 'en'), ('be', 'en'), ('but', 'en'), ('by', 'en'), ('for', 'en'), ('from', 'en'), ('get', 'en'), ('go', 'en'), ('how', 'en'), ('if', 'en'), ('in', 'en'), ('into', 'en'), ('is', 'en'), ('isn''t', 'en'), ('it', 'en'), ('its', 'en'), ('me', 'en'), ('more', 'en'), ('most', 'en'), ('must', 'en'), ('my', 'en'), ('new', 'en'), ('no', 'en'), ('none', 'en'), ('not', 'en'), ('noth', 'en'), ('nothing', 'en'), ('of', 'en'), ('off', 'en'), ('often', 'en'), ('old', 'en'), ('on', 'en'), ('onc', 'en'), ('once', 'en'), ('onli', 'en'), ('only', 'en'), ('or', 'en'), ('other', 'en'), ('our', 'en'), ('ours', 'en'), ('out', 'en'), ('over', 'en'), ('page', 'en'), ('she', 'en'), ('should', 'en'), ('small', 'en'), ('so', 'en'), ('some', 'en'), ('than', 'en'), ('thank', 'en'), ('that', 'en'), ('the', 'en'), ('their', 'en'), ('theirs', 'en'), ('them', 'en'), ('then', 'en'), ('there', 'en'), ('these', 'en'), ('they', 'en'), ('this', 'en'), ('those', 'en'), ('thus', 'en'), ('time', 'en'), ('times', 'en'), ('to', 'en'), ('too', 'en'), ('true', 'en'), ('under', 'en'), ('until', 'en'), ('up', 'en'), ('upon', 'en'), ('use', 'en'), ('user', 'en'), ('users', 'en'), ('veri', 'en'), ('version', 'en'), ('very', 'en'), ('via', 'en'), ('want', 'en'), ('was', 'en'), ('way', 'en'), ('were', 'en'), ('what', 'en'), ('when', 'en'), ('where', 'en'), ('whi', 'en'), ('which', 'en'), ('who', 'en'), ('whom', 'en'), ('whose', 'en'), ('why', 'en'), ('wide', 'en'), ('will', 'en'), ('with', 'en'), ('within', 'en'), ('without', 'en'), ('would', 'en'), ('yes', 'en'), ('yet', 'en'), ('you', 'en'), ('your', 'en'), ('yours', 'en'); INSERT INTO `#__menu` (`id`, `menutype`, `title`, `alias`, `note`, `path`, `link`, `type`, `published`, `parent_id`, `level`, `component_id`, `ordering`, `checked_out`, `checked_out_time`, `browserNav`, `access`, `img`, `template_style_id`, `params`, `lft`, `rgt`, `home`, `language`, `client_id`) VALUES (21, 'menu', 'com_finder', 'Smart Search', '', 'Smart Search', 'index.php?option=com_finder', 'component', 0, 1, 1, 27, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:finder', 0, '', 41, 42, 0, '*', 1); sql/updates/mysql/1.7.3-2011-10-19.sql000066600000000132151372071210012371 0ustar00ALTER TABLE `#__languages` ADD COLUMN `sitename` varchar(1024) NOT NULL AFTER `metadesc`; sql/updates/mysql/2.5.0-2011-12-19.sql000066600000001724151372071210012377 0ustar00CREATE TABLE IF NOT EXISTS `#__user_notes` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `user_id` int(10) unsigned NOT NULL DEFAULT '0', `catid` int(10) unsigned NOT NULL DEFAULT '0', `subject` varchar(100) NOT NULL DEFAULT '', `body` text NOT NULL, `state` tinyint(3) NOT NULL DEFAULT '0', `checked_out` int(10) unsigned NOT NULL DEFAULT '0', `checked_out_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `created_user_id` int(10) unsigned NOT NULL DEFAULT '0', `created_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `modified_user_id` int(10) unsigned NOT NULL, `modified_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `review_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `publish_up` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `publish_down` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `idx_user_id` (`user_id`), KEY `idx_category_id` (`catid`) ) DEFAULT CHARSET=utf8; sql/updates/mysql/2.5.4-2012-03-19.sql000066600000000534151372071210012402 0ustar00ALTER TABLE `#__languages` ADD COLUMN `access` integer unsigned NOT NULL default 0 AFTER `published`; ALTER TABLE `#__languages` ADD KEY `idx_access` (`access`); UPDATE `#__categories` SET `extension` = 'com_users.notes' WHERE `extension` = 'com_users'; UPDATE `#__extensions` SET `enabled` = '1' WHERE `protected` = '1' AND `type` <> 'plugin'; sql/updates/mysql/2.5.0-2011-12-21-1.sql000066600000004343151372071210012526 0ustar00INSERT INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES (27, 'com_finder', 'component', 'com_finder', '', 1, 1, 0, 0, '', '{"show_description":"1","description_length":255,"allow_empty_query":"0","show_url":"1","show_advanced":"1","expand_advanced":"0","show_date_filters":"0","highlight_terms":"1","opensearch_name":"","opensearch_description":"","batch_size":"50","memory_table_limit":30000,"title_multiplier":"1.7","text_multiplier":"0.7","meta_multiplier":"1.2","path_multiplier":"2.0","misc_multiplier":"0.3","stemmer":"porter_en"}', '', '', 0, '0000-00-00 00:00:00', 0, 0), (439, 'plg_captcha_recaptcha', 'plugin', 'recaptcha', 'captcha', 0, 1, 1, 0, '{}', '{"public_key":"","private_key":"","theme":"clean"}', '', '', 0, '0000-00-00 00:00:00', 0, 0), (440, 'plg_system_highlight', 'plugin', 'highlight', 'system', 0, 1, 1, 0, '', '{}', '', '', 0, '0000-00-00 00:00:00', 7, 0), (441, 'plg_content_finder', 'plugin', 'finder', 'content', 0, 0, 1, 0, '{"legacy":false,"name":"plg_content_finder","type":"plugin","creationDate":"December 2011","author":"Joomla! Project","copyright":"Copyright (C) 2005 - 2014 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"1.7.0","description":"PLG_CONTENT_FINDER_XML_DESCRIPTION","group":""}', '{}', '', '', 0, '0000-00-00 00:00:00', 0, 0), (442, 'plg_finder_categories', 'plugin', 'categories', 'finder', 0, 1, 1, 0, '', '{}', '', '', 0, '0000-00-00 00:00:00', 1, 0), (443, 'plg_finder_contacts', 'plugin', 'contacts', 'finder', 0, 1, 1, 0, '', '{}', '', '', 0, '0000-00-00 00:00:00', 2, 0), (444, 'plg_finder_content', 'plugin', 'content', 'finder', 0, 1, 1, 0, '', '{}', '', '', 0, '0000-00-00 00:00:00', 3, 0), (445, 'plg_finder_newsfeeds', 'plugin', 'newsfeeds', 'finder', 0, 1, 1, 0, '', '{}', '', '', 0, '0000-00-00 00:00:00', 4, 0), (446, 'plg_finder_weblinks', 'plugin', 'weblinks', 'finder', 0, 1, 1, 0, '', '{}', '', '', 0, '0000-00-00 00:00:00', 5, 0), (223, 'mod_finder', 'module', 'mod_finder', '', 0, 1, 0, 0, '', '', '', '', 0, '0000-00-00 00:00:00', 0, 0); sql/updates/mysql/2.5.21.sql000066600000000073151372071210011426 0ustar00# Placeholder file for database changes for version 2.5.21 sql/updates/mysql/2.5.26.sql000066600000000073151372071210011433 0ustar00# Placeholder file for database changes for version 2.5.26 sql/updates/mysql/2.5.28.sql000066600000000724151372071210011440 0ustar00ALTER TABLE `#__user_profiles` CHANGE `profile_value` `profile_value` TEXT NOT NULL; INSERT INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES (900, 'plg_quickicon_eosnotify', 'plugin', 'eosnotify', 'quickicon', 0, 1, 1, 1, '', '{}', '', '', 0, '0000-00-00 00:00:00', 0, 0); sql/updates/mysql/2.5.0-2011-12-06.sql000066600000001527151372071210012374 0ustar00INSERT INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES (437, 'plg_quickicon_joomlaupdate', 'plugin', 'joomlaupdate', 'quickicon', 0, 1, 1, 1, '', '{}', '', '', 0, '0000-00-00 00:00:00', 0, 0), (438, 'plg_quickicon_extensionupdate', 'plugin', 'extensionupdate', 'quickicon', 0, 1, 1, 1, '', '{}', '', '', 0, '0000-00-00 00:00:00', 0, 0); ALTER TABLE `#__update_sites` ADD COLUMN `last_check_timestamp` bigint(20) DEFAULT '0' AFTER `enabled`; REPLACE INTO `#__update_sites` VALUES (1, 'Joomla Core', 'collection', 'http://update.joomla.org/core/list.xml', 1, 0), (2, 'Joomla Extension Directory', 'collection', 'http://update.joomla.org/jed/list.xml', 1, 0); sql/updates/mysql/2.5.13.sql000066600000000073151372071210011427 0ustar00# Placeholder file for database changes for version 2.5.13 sql/updates/mysql/2.5.2-2012-03-05.sql000066600000000046151372071210012371 0ustar00# Dummy SQL file to set schema versionsql/updates/mysql/2.5.14.sql000066600000000073151372071210011430 0ustar00# Placeholder file for database changes for version 2.5.14 sql/updates/mysql/2.5.4-2012-03-18.sql000066600000002320151372071210012374 0ustar00INSERT INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES (28, 'com_joomlaupdate', 'component', 'com_joomlaupdate', '', 1, 1, 0, 1, '{"legacy":false,"name":"com_joomlaupdate","type":"component","creationDate":"February 2012","author":"Joomla! Project","copyright":"(C) 2005 - 2014 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"2.5.2","description":"COM_JOOMLAUPDATE_XML_DESCRIPTION","group":""}', '{}', '', '', 0, '0000-00-00 00:00:00', 0, 0); INSERT INTO `#__menu` (`id`, `menutype`, `title`, `alias`, `note`, `path`, `link`, `type`, `published`, `parent_id`, `level`, `component_id`, `ordering`, `checked_out`, `checked_out_time`, `browserNav`, `access`, `img`, `template_style_id`, `params`, `lft`, `rgt`, `home`, `language`, `client_id`) VALUES (22, 'menu', 'com_joomlaupdate', 'Joomla! Update', '', 'Joomla! Update', 'index.php?option=com_joomlaupdate', 'component', 0, 1, 1, 28, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:joomlaupdate', 0, '', 41, 42, 0, '*', 1); sql/updates/mysql/2.5.0-2011-12-16.sql000066600000000365151372071210012374 0ustar00CREATE TABLE IF NOT EXISTS `#__overrider` ( `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'Primary Key', `constant` varchar(255) NOT NULL, `string` text NOT NULL, `file` varchar(255) NOT NULL, PRIMARY KEY (`id`) ) DEFAULT CHARSET=utf8;sql/updates/mysql/1.7.0-2011-06-06-2.sql000066600000000242151372071210012530 0ustar00ALTER TABLE `#__languages` ADD COLUMN `ordering` int(11) NOT NULL default 0 AFTER `published`; ALTER TABLE `#__languages` ADD INDEX `idx_ordering` (`ordering`); sql/updates/mysql/2.5.0-2011-12-24.sql000066600000000302151372071210012362 0ustar00ALTER TABLE `#__menu` DROP INDEX `idx_client_id_parent_id_alias`; ALTER TABLE `#__menu` ADD UNIQUE `idx_client_id_parent_id_alias_language` ( `client_id` , `parent_id` , `alias` , `language` );sql/updates/mysql/2.5.9.sql000066600000000071151372071210011352 0ustar00# Placeholder file for database changes for version 2.5.9sql/updates/mysql/2.5.0-2011-12-23.sql000066600000004030151372071210012363 0ustar00CREATE TABLE IF NOT EXISTS `#__finder_filters` ( `filter_id` int(10) unsigned NOT NULL auto_increment, `title` varchar(255) NOT NULL, `alias` varchar(255) NOT NULL, `state` tinyint(1) NOT NULL default '1', `created` datetime NOT NULL default '0000-00-00 00:00:00', `created_by` int(10) unsigned NOT NULL, `created_by_alias` varchar(255) NOT NULL, `modified` datetime NOT NULL default '0000-00-00 00:00:00', `modified_by` int(10) unsigned NOT NULL default '0', `checked_out` int(10) unsigned NOT NULL default '0', `checked_out_time` datetime NOT NULL default '0000-00-00 00:00:00', `map_count` int(10) unsigned NOT NULL default '0', `data` text NOT NULL, `params` mediumtext, PRIMARY KEY (`filter_id`) ) DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_links` ( `link_id` int(10) unsigned NOT NULL auto_increment, `url` varchar(255) NOT NULL, `route` varchar(255) NOT NULL, `title` varchar(255) default NULL, `description` varchar(255) default NULL, `indexdate` datetime NOT NULL default '0000-00-00 00:00:00', `md5sum` varchar(32) default NULL, `published` tinyint(1) NOT NULL default '1', `state` int(5) default '1', `access` int(5) default '0', `language` varchar(8) NOT NULL, `publish_start_date` datetime NOT NULL default '0000-00-00 00:00:00', `publish_end_date` datetime NOT NULL default '0000-00-00 00:00:00', `start_date` datetime NOT NULL default '0000-00-00 00:00:00', `end_date` datetime NOT NULL default '0000-00-00 00:00:00', `list_price` double unsigned NOT NULL default '0', `sale_price` double unsigned NOT NULL default '0', `type_id` int(11) NOT NULL, `object` mediumblob NOT NULL, PRIMARY KEY (`link_id`), KEY `idx_type` (`type_id`), KEY `idx_title` (`title`), KEY `idx_md5` (`md5sum`), KEY `idx_url` (`url`(75)), KEY `idx_published_list` (`published`,`state`,`access`,`publish_start_date`,`publish_end_date`,`list_price`), KEY `idx_published_sale` (`published`,`state`,`access`,`publish_start_date`,`publish_end_date`,`sale_price`) ) DEFAULT CHARSET=utf8; sql/updates/mysql/2.5.7.sql000066600000001010151372071210011342 0ustar00INSERT INTO `#__update_sites` (`name`, `type`, `location`, `enabled`, `last_check_timestamp`) VALUES('Accredited Joomla! Translations','collection','http://update.joomla.org/language/translationlist.xml',1,0); INSERT INTO `#__update_sites_extensions` (`update_site_id`, `extension_id`) VALUES(LAST_INSERT_ID(),600); UPDATE `#__assets` SET name=REPLACE( name, 'com_user.notes.category','com_users.category' ); UPDATE `#__categories` SET extension=REPLACE( extension, 'com_user.notes.category','com_users.category' ); sql/updates/mysql/2.5.15.sql000066600000000073151372071210011431 0ustar00# Placeholder file for database changes for version 2.5.15 sql/updates/mysql/2.5.12.sql000066600000000072151372071210011425 0ustar00# Placeholder file for database changes for version 2.5.12sql/updates/mysql/index.html000066600000000037151372071210012155 0ustar00 sql/updates/mysql/1.7.1-2011-09-17.sql000066600000000130151372071210012373 0ustar00ALTER TABLE `#__modules` CHANGE `position` `position` VARCHAR( 50 ) NOT NULL DEFAULT '';sql/updates/mysql/2.5.0-2012-01-14.sql000066600000000136151372071210012365 0ustar00ALTER TABLE `#__languages` CHANGE `sitename` `sitename` VARCHAR( 1024 ) NOT NULL DEFAULT ''; sql/updates/mysql/2.5.27.sql000066600000000073151372071210011434 0ustar00# Placeholder file for database changes for version 2.5.27 sql/updates/mysql/2.5.20.sql000066600000000073151372071210011425 0ustar00# Placeholder file for database changes for version 2.5.20 sql/updates/mysql/1.7.0-2011-06-06.sql000066600000000630151372071210012372 0ustar00CREATE TABLE IF NOT EXISTS `#__associations` ( `id` VARCHAR(50) NOT NULL COMMENT 'A reference to the associated item.', `context` VARCHAR(50) NOT NULL COMMENT 'The context of the associated item.', `key` CHAR(32) NOT NULL COMMENT 'The key for the association computed from an md5 on associated ids.', PRIMARY KEY `idx_context_id` (`context`, `id`), INDEX `idx_key` (`key`) ) DEFAULT CHARSET=utf8; sql/updates/mysql/2.5.11.sql000066600000000072151372071210011424 0ustar00# Placeholder file for database changes for version 2.5.11sql/updates/mysql/2.5.16.sql000066600000000073151372071210011432 0ustar00# Placeholder file for database changes for version 2.5.16 sql/updates/mysql/2.5.18.sql000066600000000073151372071210011434 0ustar00# Placeholder file for database changes for version 2.5.18 sql/updates/mysql/2.5.1-2012-01-26.sql000066600000002403151372071210012370 0ustar00INSERT INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES (314, 'mod_version', 'module', 'mod_version', '', 1, 1, 1, 0, '{"legacy":false,"name":"mod_version","type":"module","creationDate":"January 2012","author":"Joomla! Project","copyright":"Copyright (C) 2005 - 2014 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"2.5.0","description":"MOD_VERSION_XML_DESCRIPTION","group":""}', '{"format":"short","product":"1","cache":"0"}', '', '', 0, '0000-00-00 00:00:00', 0, 0); INSERT INTO `#__modules` (`title`, `note`, `content`, `ordering`, `position`, `checked_out`, `checked_out_time`, `publish_up`, `publish_down`, `published`, `module`, `access`, `showtitle`, `params`, `client_id`, `language`) VALUES ('Joomla Version', '', '', 1, 'footer', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 1, 'mod_version', 3, 1, '{"format":"short","product":"1","layout":"_:default","moduleclass_sfx":"","cache":"0"}', 1, '*'); INSERT INTO `#__modules_menu` (`moduleid`, `menuid`) VALUES (LAST_INSERT_ID(), 0);sql/updates/mysql/1.7.4-2011-12-12.sql000066600000001360151372071210012371 0ustar00INSERT INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES ('436', 'plg_system_languagecode', 'plugin', 'languagecode', 'system', '0', '0', '1', '0', '{"legacy":false,"name":"plg_system_languagecode","type":"plugin","creationDate":"November 2011","author":"Joomla! Project","copyright":"Copyright (C) 2005 - 2014 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"1.7.0","description":"PLG_SYSTEM_LANGUAGECODE_XML_DESCRIPTION","group":""}', '{}', '', '', '0', '0000-00-00 00:00:00', '10', '0'); sql/updates/mysql/1.7.4-2011-11-23.sql000066600000000646151372071210012400 0ustar00ALTER TABLE `#__newsfeeds` CHANGE `alias` `alias` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT ''; ALTER TABLE `#__content` CHANGE `alias` `alias` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT ''; ALTER TABLE `#__content` CHANGE `title_alias` `title_alias` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT 'Deprecated in Joomla! 3.0'; sql/updates/mysql/2.5.0-2012-01-10.sql000066600000000121151372071210012353 0ustar00ALTER TABLE `#__updates` ADD COLUMN `infourl` text NOT NULL AFTER `detailsurl`; sql/updates/mysql/2.5.23.sql000066600000000073151372071210011430 0ustar00# Placeholder file for database changes for version 2.5.23 sql/updates/mysql/2.5.24.sql000066600000000073151372071210011431 0ustar00# Placeholder file for database changes for version 2.5.24 sql/updates/mysql/.htaccess000066600000000177151372071210011763 0ustar00 Order allow,deny Deny from all sql/updates/mysql/2.5.0-2011-12-20.sql000066600000000500151372071210012356 0ustar00SELECT @old_params:= CONCAT(SUBSTRING_INDEX(SUBSTRING(params, LOCATE('"filters":', params)), '}}', 1), '}}') as filters FROM `#__extensions` WHERE name="com_content"; UPDATE `#__extensions` SET params=CONCAT('{',SUBSTRING(params, 2, CHAR_LENGTH(params)-2),IF(params='','',','),@old_params,'}') WHERE name="com_config";sql/updates/mysql/1.7.0.sql000066600000000000151372071210011332 0ustar00sql/updates/mysql/1.7.1-2011-09-15-3.sql000066600000000163151372071210012537 0ustar00UPDATE `#__modules` SET `ordering` = 2 WHERE `position` = 'status' AND `module` = 'mod_status' AND `client_id`=1; sql/updates/mysql/1.7.3-2011-10-15.sql000066600000001767151372071210012404 0ustar00ALTER TABLE `#__banners` CHANGE `alias` `alias` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT ''; ALTER TABLE `#__categories` CHANGE `alias` `alias` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT ''; ALTER TABLE `#__contact_details` CHANGE `alias` `alias` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT ''; ALTER TABLE `#__content` CHANGE `alias` `alias` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT ''; ALTER TABLE `#__content` CHANGE `title_alias` `title_alias` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT ''; ALTER TABLE `#__menu` CHANGE `alias` `alias` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'The SEF alias of the menu item.'; ALTER TABLE `#__newsfeeds` CHANGE `alias` `alias` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT ''; ALTER TABLE `#__weblinks` CHANGE `alias` `alias` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT ''; sql/updates/mysql/1.7.1-2011-09-15-4.sql000066600000001035151372071210012537 0ustar00INSERT INTO `#__modules` (`id`, `title`, `note`, `content`, `ordering`, `position`, `checked_out`, `checked_out_time`, `publish_up`, `publish_down`, `published`, `module`, `access`, `showtitle`, `params`, `client_id`, `language`) VALUES (NULL, 'Multilanguage status', '', '', 1, 'status', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, 'mod_multilangstatus', 3, 1, '{"layout":"_:default","moduleclass_sfx":"","cache":"0"}', 1, '*'); INSERT INTO `#__modules_menu` SET `moduleid` = LAST_INSERT_ID(), `menuid` = 0; sql/updates/mysql/2.5.25.sql000066600000000073151372071210011432 0ustar00# Placeholder file for database changes for version 2.5.25 sql/updates/mysql/1.7.4-2011-11-19.sql000066600000000200151372071210012367 0ustar00ALTER TABLE `#__languages` ADD UNIQUE `idx_image` (`image`); ALTER TABLE `#__languages` ADD UNIQUE `idx_langcode` (`lang_code`);sql/updates/mysql/2.5.0-2011-12-21-2.sql000066600000020167151372071210012531 0ustar00CREATE TABLE IF NOT EXISTS `#__finder_links_terms0` ( `link_id` int(10) unsigned NOT NULL, `term_id` int(10) unsigned NOT NULL, `weight` float unsigned NOT NULL, PRIMARY KEY (`link_id`,`term_id`), KEY `idx_term_weight` (`term_id`,`weight`), KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`) ) DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_links_terms1` ( `link_id` int(10) unsigned NOT NULL, `term_id` int(10) unsigned NOT NULL, `weight` float unsigned NOT NULL, PRIMARY KEY (`link_id`,`term_id`), KEY `idx_term_weight` (`term_id`,`weight`), KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`) ) DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_links_terms2` ( `link_id` int(10) unsigned NOT NULL, `term_id` int(10) unsigned NOT NULL, `weight` float unsigned NOT NULL, PRIMARY KEY (`link_id`,`term_id`), KEY `idx_term_weight` (`term_id`,`weight`), KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`) ) DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_links_terms3` ( `link_id` int(10) unsigned NOT NULL, `term_id` int(10) unsigned NOT NULL, `weight` float unsigned NOT NULL, PRIMARY KEY (`link_id`,`term_id`), KEY `idx_term_weight` (`term_id`,`weight`), KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`) ) DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_links_terms4` ( `link_id` int(10) unsigned NOT NULL, `term_id` int(10) unsigned NOT NULL, `weight` float unsigned NOT NULL, PRIMARY KEY (`link_id`,`term_id`), KEY `idx_term_weight` (`term_id`,`weight`), KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`) ) DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_links_terms5` ( `link_id` int(10) unsigned NOT NULL, `term_id` int(10) unsigned NOT NULL, `weight` float unsigned NOT NULL, PRIMARY KEY (`link_id`,`term_id`), KEY `idx_term_weight` (`term_id`,`weight`), KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`) ) DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_links_terms6` ( `link_id` int(10) unsigned NOT NULL, `term_id` int(10) unsigned NOT NULL, `weight` float unsigned NOT NULL, PRIMARY KEY (`link_id`,`term_id`), KEY `idx_term_weight` (`term_id`,`weight`), KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`) ) DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_links_terms7` ( `link_id` int(10) unsigned NOT NULL, `term_id` int(10) unsigned NOT NULL, `weight` float unsigned NOT NULL, PRIMARY KEY (`link_id`,`term_id`), KEY `idx_term_weight` (`term_id`,`weight`), KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`) ) DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_links_terms8` ( `link_id` int(10) unsigned NOT NULL, `term_id` int(10) unsigned NOT NULL, `weight` float unsigned NOT NULL, PRIMARY KEY (`link_id`,`term_id`), KEY `idx_term_weight` (`term_id`,`weight`), KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`) ) DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_links_terms9` ( `link_id` int(10) unsigned NOT NULL, `term_id` int(10) unsigned NOT NULL, `weight` float unsigned NOT NULL, PRIMARY KEY (`link_id`,`term_id`), KEY `idx_term_weight` (`term_id`,`weight`), KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`) ) DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_links_termsa` ( `link_id` int(10) unsigned NOT NULL, `term_id` int(10) unsigned NOT NULL, `weight` float unsigned NOT NULL, PRIMARY KEY (`link_id`,`term_id`), KEY `idx_term_weight` (`term_id`,`weight`), KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`) ) DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_links_termsb` ( `link_id` int(10) unsigned NOT NULL, `term_id` int(10) unsigned NOT NULL, `weight` float unsigned NOT NULL, PRIMARY KEY (`link_id`,`term_id`), KEY `idx_term_weight` (`term_id`,`weight`), KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`) ) DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_links_termsc` ( `link_id` int(10) unsigned NOT NULL, `term_id` int(10) unsigned NOT NULL, `weight` float unsigned NOT NULL, PRIMARY KEY (`link_id`,`term_id`), KEY `idx_term_weight` (`term_id`,`weight`), KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`) ) DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_links_termsd` ( `link_id` int(10) unsigned NOT NULL, `term_id` int(10) unsigned NOT NULL, `weight` float unsigned NOT NULL, PRIMARY KEY (`link_id`,`term_id`), KEY `idx_term_weight` (`term_id`,`weight`), KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`) ) DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_links_termse` ( `link_id` int(10) unsigned NOT NULL, `term_id` int(10) unsigned NOT NULL, `weight` float unsigned NOT NULL, PRIMARY KEY (`link_id`,`term_id`), KEY `idx_term_weight` (`term_id`,`weight`), KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`) ) DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_links_termsf` ( `link_id` int(10) unsigned NOT NULL, `term_id` int(10) unsigned NOT NULL, `weight` float unsigned NOT NULL, PRIMARY KEY (`link_id`,`term_id`), KEY `idx_term_weight` (`term_id`,`weight`), KEY `idx_link_term_weight` (`link_id`,`term_id`,`weight`) ) DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_taxonomy` ( `id` int(10) unsigned NOT NULL auto_increment, `parent_id` int(10) unsigned NOT NULL default '0', `title` varchar(255) NOT NULL, `state` tinyint(1) unsigned NOT NULL default '1', `access` tinyint(1) unsigned NOT NULL default '0', `ordering` tinyint(1) unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `parent_id` (`parent_id`), KEY `state` (`state`), KEY `ordering` (`ordering`), KEY `access` (`access`), KEY `idx_parent_published` (`parent_id`,`state`,`access`) ) DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_taxonomy_map` ( `link_id` int(10) unsigned NOT NULL, `node_id` int(10) unsigned NOT NULL, PRIMARY KEY (`link_id`,`node_id`), KEY `link_id` (`link_id`), KEY `node_id` (`node_id`) ) DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_terms` ( `term_id` int(10) unsigned NOT NULL auto_increment, `term` varchar(75) NOT NULL, `stem` varchar(75) NOT NULL, `common` tinyint(1) unsigned NOT NULL default '0', `phrase` tinyint(1) unsigned NOT NULL default '0', `weight` float unsigned NOT NULL default '0', `soundex` varchar(75) NOT NULL, `links` int(10) NOT NULL default '0', PRIMARY KEY (`term_id`), UNIQUE KEY `idx_term` (`term`), KEY `idx_term_phrase` (`term`,`phrase`), KEY `idx_stem_phrase` (`stem`,`phrase`), KEY `idx_soundex_phrase` (`soundex`,`phrase`) ) DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_terms_common` ( `term` varchar(75) NOT NULL, `language` varchar(3) NOT NULL, KEY `idx_word_lang` (`term`,`language`), KEY `idx_lang` (`language`) ) DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_tokens` ( `term` varchar(75) NOT NULL, `stem` varchar(75) NOT NULL, `common` tinyint(1) unsigned NOT NULL default '0', `phrase` tinyint(1) unsigned NOT NULL default '0', `weight` float unsigned NOT NULL default '1', `context` tinyint(1) unsigned NOT NULL default '2', KEY `idx_word` (`term`), KEY `idx_context` (`context`) ) ENGINE=MEMORY DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_tokens_aggregate` ( `term_id` int(10) unsigned NOT NULL, `map_suffix` char(1) NOT NULL, `term` varchar(75) NOT NULL, `stem` varchar(75) NOT NULL, `common` tinyint(1) unsigned NOT NULL default '0', `phrase` tinyint(1) unsigned NOT NULL default '0', `term_weight` float unsigned NOT NULL, `context` tinyint(1) unsigned NOT NULL default '2', `context_weight` float unsigned NOT NULL, `total_weight` float unsigned NOT NULL, KEY `token` (`term`), KEY `keyword_id` (`term_id`) ) ENGINE=MEMORY DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `#__finder_types` ( `id` int(10) unsigned NOT NULL auto_increment, `title` varchar(100) NOT NULL, `mime` varchar(100) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `title` (`title`) ) DEFAULT CHARSET=utf8; sql/updates/mysql/2.5.22.sql000066600000000073151372071210011427 0ustar00# Placeholder file for database changes for version 2.5.22 sql/updates/mysql/1.7.1-2011-09-15.sql000066600000000254151372071210012400 0ustar00ALTER TABLE `#__categories` MODIFY `description` MEDIUMTEXT; ALTER TABLE `#__session` MODIFY `data` MEDIUMTEXT; ALTER TABLE `#__session` MODIFY `session_id` varchar(200); sql/updates/mysql/1.7.1-2011-09-20.sql000066600000000714151372071210012375 0ustar00ALTER TABLE #__redirect_links MODIFY old_url varchar(255); ALTER TABLE #__redirect_links MODIFY new_url varchar(255); ALTER TABLE #__categories MODIFY access integer unsigned; ALTER TABLE #__contact_details MODIFY access integer unsigned; ALTER TABLE #__extensions MODIFY access integer unsigned; ALTER TABLE #__menu MODIFY access integer unsigned; ALTER TABLE #__modules MODIFY access integer unsigned; ALTER TABLE #__newsfeeds MODIFY access integer unsigned;sql/updates/mysql/2.5.19.sql000066600000000073151372071210011435 0ustar00# Placeholder file for database changes for version 2.5.19 sql/updates/mysql/2.5.17.sql000066600000000073151372071210011433 0ustar00# Placeholder file for database changes for version 2.5.17 sql/updates/mysql/2.5.10.sql000066600000000111151372071210011415 0ustar00UPDATE `#__extensions` SET `protected` = 0 WHERE `name` = 'mod_banners'; sql/updates/mysql/1.7.3-2011-11-10.sql000066600000000235151372071210012365 0ustar00ALTER TABLE `#__content` CHANGE `alias` `alias` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT 'Deprecated in Joomla! 3.0'; sql/updates/mysql/2.5.3-2012-03-13.sql000066600000000046151372071210012371 0ustar00# Dummy SQL file to set schema versionsql/updates/mysql/2.5.5.sql000066600000000565151372071210011356 0ustar00ALTER TABLE `#__redirect_links` ADD COLUMN `hits` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `comment`; ALTER TABLE `#__users` ADD COLUMN `lastResetTime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Date of last password reset'; ALTER TABLE `#__users` ADD COLUMN `resetCount` int(11) NOT NULL DEFAULT '0' COMMENT 'Count of password resets since lastResetTime';sql/updates/mysql/1.7.1-2011-09-15-2.sql000066600000001341151372071210012535 0ustar00REPLACE INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES (313, 'mod_multilangstatus', 'module', 'mod_multilangstatus', '', 1, 1, 1, 0, '{"legacy":false,"name":"mod_multilangstatus","type":"module","creationDate":"September 2011","author":"Joomla! Project","copyright":"Copyright (C) 2005 - 2014 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"1.7.1","description":"MOD_MULTILANGSTATUS_XML_DESCRIPTION","group":""}', '{"cache":"0"}', '', '', 0, '0000-00-00 00:00:00', 0, 0); sql/updates/sqlazure/2.5.12.sql000066600000000072151372071210012126 0ustar00# Placeholder file for database changes for version 2.5.12sql/updates/sqlazure/2.5.4-2012-03-19.sql000066600000000522151372071210013100 0ustar00ALTER TABLE [#__languages] ADD [access] INTEGER CONSTRAINT DF_languages_access DEFAULT '' NOT NULL CREATE UNIQUE INDEX idx_access ON [jos_languages] (access); UPDATE [#__categories] SET extension = 'com_users.notes' WHERE extension = 'com_users'; UPDATE [#__extensions] SET enabled = '1' WHERE protected = '1' AND [type] <> 'plugin'; sql/updates/sqlazure/2.5.15.sql000066600000000073151372071210012132 0ustar00# Placeholder file for database changes for version 2.5.15 sql/updates/sqlazure/index.html000066600000000040151372071210012650 0ustar00 sql/updates/sqlazure/.htaccess000066600000000177151372071210012464 0ustar00 Order allow,deny Deny from all sql/updates/sqlazure/2.5.20.sql000066600000000073151372071210012126 0ustar00# Placeholder file for database changes for version 2.5.20 sql/updates/sqlazure/2.5.27.sql000066600000000073151372071210012135 0ustar00# Placeholder file for database changes for version 2.5.27 sql/updates/sqlazure/2.5.2-2012-03-05.sql000066600000000046151372071210013072 0ustar00# Dummy SQL file to set schema versionsql/updates/sqlazure/2.5.26.sql000066600000000073151372071210012134 0ustar00# Placeholder file for database changes for version 2.5.26 sql/updates/sqlazure/2.5.21.sql000066600000000073151372071210012127 0ustar00# Placeholder file for database changes for version 2.5.21 sql/updates/sqlazure/2.5.28.sql000066600000001002151372071210012127 0ustar00ALTER TABLE [#__user_profiles] ALTER COLUMN [profile_value] [nvarchar](max) NOT NULL; SET IDENTITY_INSERT [#__extensions] ON; INSERT INTO #__extensions (extension_id, name, type, element, folder, client_id, enabled, access, protected, manifest_cache, params, custom_data, system_data, checked_out, checked_out_time, ordering, state) SELECT 900, 'plg_quickicon_eosnotify', 'plugin', 'eosnotify', 'quickicon', 0, 1, 1, 1, '', '{}', '', '', 0, '1900-01-01 00:00:00', 0, 0; SET IDENTITY_INSERT #__extensions OFF; sql/updates/sqlazure/2.5.5.sql000066600000000341151372071210012047 0ustar00ALTER TABLE [#__redirect_links] ADD [hits] INTEGER CONSTRAINT DF_redirect_links_hits DEFAULT '' NOT NULL; ALTER TABLE [#__users] ADD [lastResetTime] [datetime] NOT NULL; ALTER TABLE [#__users] ADD [resetCount] [int] NOT NULL;sql/updates/sqlazure/2.5.4-2012-03-18.sql000066600000002414151372071210013101 0ustar00SET IDENTITY_INSERT #__extensions ON; INSERT INTO #__extensions (extension_id, name, type, element, folder, client_id, enabled, access, protected, manifest_cache, params, custom_data, system_data, checked_out, checked_out_time, ordering, state) SELECT 28, 'com_joomlaupdate', 'component', 'com_joomlaupdate', '', 1, 1, 0, 1, '{"legacy":false,"name":"com_joomlaupdate","type":"component","creationDate":"February 2012","author":"Joomla! Project","copyright":"(C) 2005 - 2014 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"2.5.2","description":"COM_JOOMLAUPDATE_XML_DESCRIPTION","group":""}', '{}', '', '', 0, '1900-01-01 00:00:00', 0, 0; SET IDENTITY_INSERT #__extensions OFF; SET IDENTITY_INSERT #__menu ON; INSERT INTO #__menu (id, menutype, title, alias, note, path, link, type, published, parent_id, level, component_id, ordering, checked_out, checked_out_time, browserNav, access, img, template_style_id, params, lft, rgt, home, language, client_id) SELECT 22, 'menu', 'com_joomlaupdate', 'Joomla! Update', '', 'Joomla! Update', 'index.php?option=com_joomlaupdate', 'component', 0, 1, 1, 28, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:joomlaupdate', 0, '', 41, 42, 0, '*', 1; SET IDENTITY_INSERT #__menu OFF; sql/updates/sqlazure/2.5.14.sql000066600000000073151372071210012131 0ustar00# Placeholder file for database changes for version 2.5.14 sql/updates/sqlazure/2.5.13.sql000066600000000073151372071210012130 0ustar00# Placeholder file for database changes for version 2.5.13 sql/updates/sqlazure/2.5.22.sql000066600000000073151372071210012130 0ustar00# Placeholder file for database changes for version 2.5.22 sql/updates/sqlazure/2.5.25.sql000066600000000073151372071210012133 0ustar00# Placeholder file for database changes for version 2.5.25 sql/updates/sqlazure/2.5.6.sql000066600000000071151372071210012050 0ustar00# Placeholder file for database changes for version 2.5.6sql/updates/sqlazure/2.5.19.sql000066600000000073151372071210012136 0ustar00# Placeholder file for database changes for version 2.5.19 sql/updates/sqlazure/2.5.10.sql000066600000000111151372071210012116 0ustar00UPDATE [#__extensions] SET [protected] = 0 WHERE [name] = 'mod_banners'; sql/updates/sqlazure/2.5.8.sql000066600000000071151372071210012052 0ustar00# Placeholder file for database changes for version 2.5.8sql/updates/sqlazure/2.5.17.sql000066600000000073151372071210012134 0ustar00# Placeholder file for database changes for version 2.5.17 sql/updates/sqlazure/2.5.9.sql000066600000000071151372071210012053 0ustar00# Placeholder file for database changes for version 2.5.9sql/updates/sqlazure/2.5.16.sql000066600000000073151372071210012133 0ustar00# Placeholder file for database changes for version 2.5.16 sql/updates/sqlazure/2.5.11.sql000066600000000072151372071210012125 0ustar00# Placeholder file for database changes for version 2.5.11sql/updates/sqlazure/2.5.7.sql000066600000000757151372071210012064 0ustar00INSERT INTO #__update_sites (name, type, location, enabled, last_check_timestamp) VALUES ('Accredited Joomla! Translations', 'collection', 'http://update.joomla.org/language/translationlist.xml', 1, 0); INSERT INTO #__update_sites_extensions (update_site_id, extension_id) VALUES (SCOPE_IDENTITY(), 600); UPDATE [#__assets] SET name=REPLACE( name, 'com_user.notes.category','com_users.category' ); UPDATE [#__assets] SET name=REPLACE( name, 'com_user.notes.category','com_users.category' ); sql/updates/sqlazure/2.5.18.sql000066600000000105151372071210012131 0ustar00ALTER TABLE [#__languages] ADD [access] [bigint] NOT NULL DEFAULT 0; sql/updates/sqlazure/2.5.24.sql000066600000000073151372071210012132 0ustar00# Placeholder file for database changes for version 2.5.24 sql/updates/sqlazure/2.5.3-2012-03-13.sql000066600000000046151372071210013072 0ustar00# Dummy SQL file to set schema versionsql/updates/sqlazure/2.5.23.sql000066600000000073151372071210012131 0ustar00# Placeholder file for database changes for version 2.5.23 sql/index.html000066600000000037151372071210007343 0ustar00 sql/.htaccess000066600000000177151372071210007151 0ustar00 Order allow,deny Deny from all helpers/html/system.php000066600000001211151372071210011205 0ustar00 Order allow,deny Deny from all helpers/html/index.html000066600000000037151372071210011152 0ustar00 helpers/html/phpsetting.php000066600000002555151372071210012062 0ustar00'. JText::_('COM_ADMIN_WRITABLE') .''; } else { return ''. JText::_('COM_ADMIN_UNWRITABLE') .''; } } /** * Method to generate a message for a directory * * @param string $dir the directory * @param boolean $message the message * @param boolean $visible is the $dir visible? * * @return string html code */ public static function message($dir, $message, $visible=true) { if ($visible) { $output = $dir; } else { $output =''; } if (empty($message)) { return $output; } else { return $output.' '.JText::_($message).''; } } } helpers/index.html000066600000000037151372071210010206 0ustar00 helpers/.htaccess000066600000000177151372071210010014 0ustar00 Order allow,deny Deny from all models/help.php000066600000006416151372071210007502 0ustar00help_search)) { $this->help_search = JRequest::getString('helpsearch'); } return $this->help_search; } /** * Method to get the page * @return string page */ function &getPage() { if (is_null($this->page)) { $page = JRequest::getCmd('page', 'JHELP_START_HERE'); $this->page = JHelp::createUrl($page); } return $this->page; } /** * Method to get the lang tag * @return string lang iso tag */ function &getLangTag() { if (is_null($this->lang_tag)) { $lang = JFactory::getLanguage(); $this->lang_tag = $lang->getTag(); jimport('joomla.filesystem.folder'); if (!JFolder::exists(JPATH_BASE . '/help/' . $this->lang_tag)) { $this->lang_tag = 'en-GB'; // use english as fallback } } return $this->lang_tag; } /** * Method to get the toc * @return array Table of contents */ function &getToc() { if (is_null($this->toc)) { // Get vars $lang_tag = $this->getLangTag(); $help_search = $this->getHelpSearch(); // Get Help files $files = JFolder::files(JPATH_BASE . '/help/' . $lang_tag, '\.xml$|\.html$'); $this->toc = array(); foreach($files as $file) { $buffer = file_get_contents(JPATH_BASE . '/help/' . $lang_tag . '/' . $file); if (preg_match('#(.*?)#', $buffer, $m)) { $title = trim($m[1]); if ($title) { // Translate the page title $title = JText::_($title); // strip the extension $file = preg_replace('#\.xml$|\.html$#', '', $file); if ($help_search) { if (JString::strpos(JString::strtolower(strip_tags($buffer)), JString::strtolower($help_search)) !== false) { // Add an item in the Table of Contents $this->toc[$file] = $title; } } else { // Add an item in the Table of Contents $this->toc[$file] = $title; } } } } // Sort the Table of Contents asort($this->toc); } return $this->toc; } /** * Method to get the latest version check; * @return string Latest Version Check URL */ function &getLatestVersionCheck() { if (!$this->latest_version_check) { $override = 'http://help.joomla.org/proxy/index.php?option=com_help&keyref=Help{major}{minor}:Joomla_Version_{major}_{minor}_{maintenance}'; $this->latest_version_check = JHelp::createUrl('JVERSION', false, $override); } return $this->latest_version_check; } } models/index.html000066600000000037151372071210010027 0ustar00 models/.htaccess000066600000000177151372071210007635 0ustar00 Order allow,deny Deny from all models/forms/.htaccess000066600000000177151372071210010763 0ustar00 Order allow,deny Deny from all models/forms/profile.xml000066600000006575151372071210011357 0ustar00
models/forms/index.html000066600000000037151372071210011155 0ustar00 models/profile.php000066600000007461151372071210010213 0ustar00loadForm('com_admin.profile', 'profile', array('control' => 'jform', 'load_data' => $loadData)); if (empty($form)) { return false; } // Check for username compliance and parameter set $usernameCompliant = true; if ($this->loadFormData()->username) { $username = $this->loadFormData()->username; $isUsernameCompliant = !(preg_match('#[<>"\'%;()&\\\\]|\\.\\./#', $username) || strlen(utf8_decode($username)) < 2 || trim($username) != $username); } $this->setState('user.username.compliant', $isUsernameCompliant); if (!JComponentHelper::getParams('com_users')->get('change_login_name') && $isUsernameCompliant) { $form->setFieldAttribute('username', 'required', 'false'); $form->setFieldAttribute('username', 'readonly', 'true'); $form->setFieldAttribute('username', 'description', 'COM_ADMIN_USER_FIELD_NOCHANGE_USERNAME_DESC'); } return $form; } /** * Method to get the data that should be injected in the form. * * @return mixed The data for the form. * @since 1.6 */ protected function loadFormData() { // Check the session for previously entered form data. $data = JFactory::getApplication()->getUserState('com_users.edit.user.data', array()); if (empty($data)) { $data = $this->getItem(); } // TODO: Maybe this can go into the parent model somehow? // Get the dispatcher and load the users plugins. $dispatcher = JDispatcher::getInstance(); JPluginHelper::importPlugin('user'); // Trigger the data preparation event. $results = $dispatcher->trigger('onContentPrepareData', array('com_admin.profile', $data)); // Check for errors encountered while preparing the data. if (count($results) && in_array(false, $results, true)) { $this->setError($dispatcher->getError()); } return $data; } /** * Method to get a single record. * * @return mixed Object on success, false on failure. * @since 1.6 */ public function getItem($pk = null) { $user = JFactory::getUser(); return parent::getItem($user->get('id')); } /** * Method to save the form data. * * @param array $data The form data. * * @return boolean True on success. * @since 1.6 */ public function save($data) { // Initialise variables; $user = JFactory::getUser(); unset($data['id']); unset($data['groups']); unset($data['sendEmail']); unset($data['block']); // Unset the username if it should not be overwritten $username = $data['username']; $isUsernameCompliant = $this->getState('user.username.compliant'); if (!JComponentHelper::getParams('com_users')->get('change_login_name') && $isUsernameCompliant) { unset($data['username']); } // Bind the data. if (!$user->bind($data)) { $this->setError($user->getError()); return false; } $user->groups = null; // Store the data. if (!$user->save()) { $this->setError($user->getError()); return false; } $this->setState('user.id', $user->id); return true; } } models/sysinfo.php000066600000017241151372071210010242 0ustar00php_settings)) { $this->php_settings = array(); $this->php_settings['safe_mode'] = ini_get('safe_mode') == '1'; $this->php_settings['display_errors'] = ini_get('display_errors') == '1'; $this->php_settings['short_open_tag'] = ini_get('short_open_tag') == '1'; $this->php_settings['file_uploads'] = ini_get('file_uploads') == '1'; $this->php_settings['magic_quotes_gpc'] = ini_get('magic_quotes_gpc') == '1'; $this->php_settings['register_globals'] = ini_get('register_globals') == '1'; $this->php_settings['output_buffering'] = (bool) ini_get('output_buffering'); $this->php_settings['open_basedir'] = ini_get('open_basedir'); $this->php_settings['session.save_path'] = ini_get('session.save_path'); $this->php_settings['session.auto_start'] = ini_get('session.auto_start'); $this->php_settings['disable_functions'] = ini_get('disable_functions'); $this->php_settings['xml'] = extension_loaded('xml'); $this->php_settings['zlib'] = extension_loaded('zlib'); $this->php_settings['zip'] = function_exists('zip_open') && function_exists('zip_read'); $this->php_settings['mbstring'] = extension_loaded('mbstring'); $this->php_settings['iconv'] = function_exists('iconv'); } return $this->php_settings; } /** * method to get the config * * @return array config values */ function &getConfig() { if (is_null($this->config)) { $registry = new JRegistry(new JConfig); $this->config = $registry->toArray(); $hidden = array('host', 'user', 'password', 'ftp_user', 'ftp_pass', 'smtpuser', 'smtppass'); foreach($hidden as $key) { $this->config[$key] = 'xxxxxx'; } } return $this->config; } /** * method to get the system information * * @return array system information values */ function &getInfo() { if (is_null($this->info)) { $this->info = array(); $version = new JVersion(); $platform = new JPlatform(); $db = JFactory::getDBO(); if (isset($_SERVER['SERVER_SOFTWARE'])) { $sf = $_SERVER['SERVER_SOFTWARE']; } else { $sf = getenv('SERVER_SOFTWARE'); } $this->info['php'] = php_uname(); $this->info['dbversion'] = $db->getVersion(); $this->info['dbcollation'] = $db->getCollation(); $this->info['phpversion'] = phpversion(); $this->info['server'] = $sf; $this->info['sapi_name'] = php_sapi_name(); $this->info['version'] = $version->getLongVersion(); $this->info['platform'] = $platform->getLongVersion(); $this->info['useragent'] = $_SERVER['HTTP_USER_AGENT']; } return $this->info; } /** * method to get the PHP info * * @return string PHP info */ function &getPHPInfo() { if (is_null($this->php_info)) { ob_start(); date_default_timezone_set('UTC'); phpinfo(INFO_GENERAL | INFO_CONFIGURATION | INFO_MODULES); $phpinfo = ob_get_contents(); ob_end_clean(); preg_match_all('#]*>(.*)#siU', $phpinfo, $output); $output = preg_replace('#]*>#', '', $output[1][0]); $output = preg_replace('#(\w),(\w)#', '\1, \2', $output); $output = preg_replace('#
#', '', $output); $output = str_replace('
', '', $output); $output = preg_replace('#
(.*)<\/tr>#', '$1', $output); $output = str_replace('
', '', $output); $output = str_replace('', '', $output); $this->php_info = $output; } return $this->php_info; } /** * method to get the directory states * * @return array states of directories */ public function getDirectory() { if (is_null($this->directories)) { $this->directories = array(); $registry = JFactory::getConfig(); jimport('joomla.filesystem.folder'); $cparams = JComponentHelper::getParams('com_media'); $this->_addDirectory('administrator/components', JPATH_ADMINISTRATOR.'/components'); $this->_addDirectory('administrator/language', JPATH_ADMINISTRATOR.'/language'); // List all admin languages $admin_langs = JFolder::folders(JPATH_ADMINISTRATOR.'/language'); foreach($admin_langs as $alang) { $this->_addDirectory('administrator/language/' . $alang, JPATH_ADMINISTRATOR.'/language/'.$alang); } // List all manifests folders $manifests = JFolder::folders(JPATH_ADMINISTRATOR.'/manifests'); foreach($manifests as $_manifest) { $this->_addDirectory('administrator/manifests/' . $_manifest, JPATH_ADMINISTRATOR.'/manifests/'.$_manifest); } $this->_addDirectory('administrator/modules', JPATH_ADMINISTRATOR.'/modules'); $this->_addDirectory('administrator/templates', JPATH_THEMES); $this->_addDirectory('components', JPATH_SITE.'/components'); $this->_addDirectory($cparams->get('image_path'), JPATH_SITE.'/'.$cparams->get('image_path')); $image_folders = JFolder::folders(JPATH_SITE.'/'.$cparams->get('image_path')); // List all images folders foreach ($image_folders as $folder) { $this->_addDirectory('images/' . $folder, JPATH_SITE.'/'.$cparams->get('image_path').'/'.$folder); } $this->_addDirectory('language', JPATH_SITE.'/language'); // List all site languages $site_langs = JFolder::folders(JPATH_SITE . '/language'); foreach ($site_langs as $slang) { $this->_addDirectory('language/' . $slang, JPATH_SITE.'/language/'.$slang); } $this->_addDirectory('libraries', JPATH_LIBRARIES); $this->_addDirectory('media', JPATH_SITE.'/media'); $this->_addDirectory('modules', JPATH_SITE.'/modules'); $this->_addDirectory('plugins', JPATH_PLUGINS); $plugin_groups = JFolder::folders(JPATH_PLUGINS); foreach ($plugin_groups as $folder) { $this->_addDirectory('plugins/' . $folder, JPATH_PLUGINS.'/'.$folder); } $this->_addDirectory('templates', JPATH_SITE.'/templates'); $this->_addDirectory('configuration.php', JPATH_CONFIGURATION.'/configuration.php'); $this->_addDirectory('cache', JPATH_SITE.'/cache', 'COM_ADMIN_CACHE_DIRECTORY'); $this->_addDirectory('administrator/cache', JPATH_CACHE, 'COM_ADMIN_CACHE_DIRECTORY'); $this->_addDirectory($registry->get('log_path', JPATH_ROOT . '/log'), $registry->get('log_path', JPATH_ROOT.'/log'), 'COM_ADMIN_LOG_DIRECTORY'); $this->_addDirectory($registry->get('tmp_path', JPATH_ROOT . '/tmp'), $registry->get('tmp_path', JPATH_ROOT.'/tmp'), 'COM_ADMIN_TEMP_DIRECTORY'); } return $this->directories; } private function _addDirectory($name, $path, $message = '') { $this->directories[$name] = array('writable' => is_writable($path), 'message' => $message); } /** * method to get the editor * * @return string the default editor * * has to be removed (it is present in the config...) */ function &getEditor() { if (is_null($this->editor)) { $config = JFactory::getConfig(); $this->editor = $config->get('editor'); } return $this->editor; } } script.php000066600000042560151372071210006573 0ustar00getQuery(true); $query->select('version_id'); $query->from('#__schemas'); $query->where('extension_id=700'); $db->setQuery($query); if (!$db->loadResult()) { $query = $db->getQuery(true); $query->insert('#__schemas'); $query->set('extension_id=700, version_id='.$db->quote('1.6.0-2011-01-10')); $db->setQuery($query); $db->query(); } return true; } /** * method to update Joomla! * * @param JInstallerFile $installer The class calling this method * * @return void */ function update($installer) { $this->deleteUnexistingFiles(); $this->updateManifestCaches(); $this->updateDatabase(); } protected function updateDatabase() { $db = JFactory::getDbo(); if (substr($db->name, 0, 5) == 'mysql') { $query = 'SHOW ENGINES'; $db->setQuery($query); $results = $db->loadObjectList(); if ($db->getErrorNum()) { echo JText::sprintf('JLIB_DATABASE_ERROR_FUNCTION_FAILED', $db->getErrorNum(), $db->getErrorMsg()).'
'; return; } foreach ($results as $result) { if ($result->Support=='DEFAULT') { $query = 'ALTER TABLE #__update_sites_extensions ENGINE = ' . $result->Engine; $db->setQuery($query); $db->query(); if ($db->getErrorNum()) { echo JText::sprintf('JLIB_DATABASE_ERROR_FUNCTION_FAILED', $db->getErrorNum(), $db->getErrorMsg()).'
'; return; } break; } } } } protected function updateManifestCaches() { // TODO Remove this for 2.5 if (!JTable::getInstance('Extension')->load(array('element'=> 'pkg_joomla', 'type'=>'package'))) { // Create the package pkg_joomla $db = JFactory::getDbo(); $query = $db->getQuery(true); $query->insert('#__extensions'); $query->columns(array($db->quoteName('name'), $db->quoteName('type'), $db->quoteName('element'), $db->quoteName('enabled'), $db->quoteName('access'), $db->quoteName('protected'))); $query->values($db->quote('joomla'). ', '. $db->quote('package').', '.$db->quote('pkg_joomla') . ', 1, 1, 1'); $db->setQuery($query); $db->query(); if ($db->getErrorNum()) { echo JText::sprintf('JLIB_DATABASE_ERROR_FUNCTION_FAILED', $db->getErrorNum(), $db->getErrorMsg()).'
'; return; } } // TODO Remove this for 2.5 $table = JTable::getInstance('Extension'); if ($table->load(array('element'=> 'mod_online', 'type'=>'module', 'client_id'=>1))) { if (!file_exists(JPATH_ADMINISTRATOR . '/modules/mod_online')) { // Delete this extension if (!$table->delete()) { echo $table->getError().'
'; return; } } else { // Mark this extension as unprotected $table->protected = 0; if (!$table->store()) { echo $table->getError().'
'; return; } } } // TODO Remove this for 2.5 $table = JTable::getInstance('Extension'); if ($table->load(array('element'=> 'mod_unread', 'type'=>'module', 'client_id'=>1))) { if (!file_exists(JPATH_ADMINISTRATOR . '/modules/mod_unread')) { // Delete this extension if (!$table->delete()) { echo $table->getError().'
'; return; } } else { // Mark this extension as unprotected $table->protected = 0; if (!$table->store()) { echo $table->getError().'
'; return; } } } $extensions = array(); // Components //`type`, `element`, `folder`, `client_id` $extensions[] = array('component', 'com_mailto', '', 0); $extensions[] = array('component', 'com_wrapper', '', 0); $extensions[] = array('component', 'com_admin', '', 1); $extensions[] = array('component', 'com_banners', '', 1); $extensions[] = array('component', 'com_cache', '', 1); $extensions[] = array('component', 'com_categories', '', 1); $extensions[] = array('component', 'com_checkin', '', 1); $extensions[] = array('component', 'com_contact', '', 1); $extensions[] = array('component', 'com_cpanel', '', 1); $extensions[] = array('component', 'com_installer', '', 1); $extensions[] = array('component', 'com_languages', '', 1); $extensions[] = array('component', 'com_login', '', 1); $extensions[] = array('component', 'com_media', '', 1); $extensions[] = array('component', 'com_menus', '', 1); $extensions[] = array('component', 'com_messages', '', 1); $extensions[] = array('component', 'com_modules', '', 1); $extensions[] = array('component', 'com_newsfeeds', '', 1); $extensions[] = array('component', 'com_plugins', '', 1); $extensions[] = array('component', 'com_search', '', 1); $extensions[] = array('component', 'com_templates', '', 1); $extensions[] = array('component', 'com_weblinks', '', 1); $extensions[] = array('component', 'com_content', '', 1); $extensions[] = array('component', 'com_config', '', 1); $extensions[] = array('component', 'com_redirect', '', 1); $extensions[] = array('component', 'com_users', '', 1); // Libraries $extensions[] = array('library', 'phpmailer', '', 0); $extensions[] = array('library', 'simplepie', '', 0); $extensions[] = array('library', 'phputf8', '', 0); $extensions[] = array('library', 'joomla', '', 0); $extensions[] = array('library', 'cms', '', 0); // Modules site // Site $extensions[] = array('module', 'mod_articles_archive', '', 0); $extensions[] = array('module', 'mod_articles_latest', '', 0); $extensions[] = array('module', 'mod_articles_popular', '', 0); $extensions[] = array('module', 'mod_banners', '', 0); $extensions[] = array('module', 'mod_breadcrumbs', '', 0); $extensions[] = array('module', 'mod_custom', '', 0); $extensions[] = array('module', 'mod_feed', '', 0); $extensions[] = array('module', 'mod_footer', '', 0); $extensions[] = array('module', 'mod_login', '', 0); $extensions[] = array('module', 'mod_menu', '', 0); $extensions[] = array('module', 'mod_articles_news', '', 0); $extensions[] = array('module', 'mod_random_image', '', 0); $extensions[] = array('module', 'mod_related_items', '', 0); $extensions[] = array('module', 'mod_search', '', 0); $extensions[] = array('module', 'mod_stats', '', 0); $extensions[] = array('module', 'mod_syndicate', '', 0); $extensions[] = array('module', 'mod_users_latest', '', 0); $extensions[] = array('module', 'mod_weblinks', '', 0); $extensions[] = array('module', 'mod_whosonline', '', 0); $extensions[] = array('module', 'mod_wrapper', '', 0); $extensions[] = array('module', 'mod_articles_category', '', 0); $extensions[] = array('module', 'mod_articles_categories', '', 0); $extensions[] = array('module', 'mod_languages', '', 0); // Administrator $extensions[] = array('module', 'mod_custom', '', 1); $extensions[] = array('module', 'mod_feed', '', 1); $extensions[] = array('module', 'mod_latest', '', 1); $extensions[] = array('module', 'mod_logged', '', 1); $extensions[] = array('module', 'mod_login', '', 1); $extensions[] = array('module', 'mod_menu', '', 1); $extensions[] = array('module', 'mod_popular', '', 1); $extensions[] = array('module', 'mod_quickicon', '', 1); $extensions[] = array('module', 'mod_status', '', 1); $extensions[] = array('module', 'mod_submenu', '', 1); $extensions[] = array('module', 'mod_title', '', 1); $extensions[] = array('module', 'mod_toolbar', '', 1); $extensions[] = array('module', 'mod_multilangstatus', '', 1); // Plug-ins $extensions[] = array('plugin', 'gmail', 'authentication', 0); $extensions[] = array('plugin', 'joomla', 'authentication', 0); $extensions[] = array('plugin', 'ldap', 'authentication', 0); $extensions[] = array('plugin', 'emailcloak', 'content', 0); $extensions[] = array('plugin', 'geshi', 'content', 0); $extensions[] = array('plugin', 'loadmodule', 'content', 0); $extensions[] = array('plugin', 'pagebreak', 'content', 0); $extensions[] = array('plugin', 'pagenavigation', 'content', 0); $extensions[] = array('plugin', 'vote', 'content', 0); $extensions[] = array('plugin', 'codemirror', 'editors', 0); $extensions[] = array('plugin', 'none', 'editors', 0); $extensions[] = array('plugin', 'tinymce', 'editors', 0); $extensions[] = array('plugin', 'article', 'editors-xtd', 0); $extensions[] = array('plugin', 'image', 'editors-xtd', 0); $extensions[] = array('plugin', 'pagebreak', 'editors-xtd', 0); $extensions[] = array('plugin', 'readmore', 'editors-xtd', 0); $extensions[] = array('plugin', 'categories', 'search', 0); $extensions[] = array('plugin', 'contacts', 'search', 0); $extensions[] = array('plugin', 'content', 'search', 0); $extensions[] = array('plugin', 'newsfeeds', 'search', 0); $extensions[] = array('plugin', 'weblinks', 'search', 0); $extensions[] = array('plugin', 'languagefilter', 'system', 0); $extensions[] = array('plugin', 'p3p', 'system', 0); $extensions[] = array('plugin', 'cache', 'system', 0); $extensions[] = array('plugin', 'debug', 'system', 0); $extensions[] = array('plugin', 'log', 'system', 0); $extensions[] = array('plugin', 'redirect', 'system', 0); $extensions[] = array('plugin', 'remember', 'system', 0); $extensions[] = array('plugin', 'sef', 'system', 0); $extensions[] = array('plugin', 'logout', 'system', 0); $extensions[] = array('plugin', 'contactcreator', 'user', 0); $extensions[] = array('plugin', 'joomla', 'user', 0); $extensions[] = array('plugin', 'profile', 'user', 0); $extensions[] = array('plugin', 'joomla', 'extension', 0); $extensions[] = array('plugin', 'joomla', 'content', 0); $extensions[] = array('plugin', 'languagecode', 'system', 0); $extensions[] = array('plugin', 'joomlaupdate', 'quickicon', 0); $extensions[] = array('plugin', 'extensionupdate', 'quickicon', 0); $extensions[] = array('plugin', 'recaptcha', 'captcha', 0); $extensions[] = array('plugin', 'eosnotify', 'quickicon', 0); // Templates $extensions[] = array('template', 'atomic', '', 0); $extensions[] = array('template', 'bluestork', '', 1); $extensions[] = array('template', 'beez_20', '', 0); $extensions[] = array('template', 'hathor', '', 1); $extensions[] = array('template', 'beez5', '', 0); // Languages $extensions[] = array('language', 'en-GB', '', 0); $extensions[] = array('language', 'en-GB', '', 1); // Files $extensions[] = array('file', 'joomla', '', 0); // Packages $extensions[] = array('package', 'pkg_joomla', '', 0); // Attempt to refresh manifest caches $db = JFactory::getDbo(); $query = $db->getQuery(true); $query->select('*'); $query->from('#__extensions'); foreach ($extensions as $extension) { $query->where('type='.$db->quote($extension[0]).' AND element='.$db->quote($extension[1]).' AND folder='.$db->quote($extension[2]).' AND client_id='.$extension[3], 'OR'); } $db->setQuery($query); $extensions = $db->loadObjectList(); $installer = new JInstaller(); // Check for a database error. if ($db->getErrorNum()) { echo JText::sprintf('JLIB_DATABASE_ERROR_FUNCTION_FAILED', $db->getErrorNum(), $db->getErrorMsg()).'
'; return; } foreach ($extensions as $extension) { if (!$installer->refreshManifestCache($extension->extension_id)) { echo JText::sprintf('FILES_JOOMLA_ERROR_MANIFEST', $extension->type, $extension->element, $extension->name, $extension->client_id).'
'; } } } public function deleteUnexistingFiles() { $files = array( '/includes/version.php', '/installation/sql/mysql/joomla_update_170to171.sql', '/installation/sql/mysql/joomla_update_172to173.sql', '/installation/sql/mysql/joomla_update_17ga.sql', '/libraries/cms/cmsloader.php', '/libraries/joomla/application/applicationexception.php', '/libraries/joomla/client/http.php', '/libraries/joomla/filter/filterinput.php', '/libraries/joomla/filter/filteroutput.php', '/libraries/joomla/form/fields/templatestyle.php', '/libraries/joomla/form/fields/user.php', '/libraries/joomla/form/fields/menu.php', '/libraries/joomla/form/fields/helpsite.php', '/libraries/joomla/form/formfield.php', '/libraries/joomla/form/formrule.php', '/libraries/joomla/utilities/garbagecron.txt', '/libraries/phpmailer/language/phpmailer.lang-en.php', '/media/system/css/modal_msie.css', '/media/system/images/modal/closebox.gif', '/administrator/components/com_admin/sql/updates/sqlsrv/2.5.2-2012-03-05.sql', '/administrator/components/com_admin/sql/updates/sqlsrv/2.5.3-2012-03-13.sql', '/administrator/components/com_admin/sql/updates/sqlsrv/index.html', '/administrator/components/com_users/controllers/config.php', '/administrator/language/en-GB/en-GB.plg_system_finder.ini', '/administrator/language/en-GB/en-GB.plg_system_finder.sys.ini', '/media/editors/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/advlist/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/autolink/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/autoresize/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/autosave/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/contextmenu/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/directionality/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/emotions/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/fullpage/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/fullscreen/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/iespell/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/inlinepopups/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/insertdatetime/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/layer/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/lists/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/media/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/nonbreaking/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/noneditable/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/pagebreak/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/paste/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/preview/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/print/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/save/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/searchreplace/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/style/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/tabfocus/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/table/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/template/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/visualchars/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/wordcount/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js', '/media/editors/tinymce/jscripts/tiny_mce/themes/advanced/editor_template_src.js', '/media/editors/tinymce/jscripts/tiny_mce/themes/simple/editor_template_src.js', '/media/editors/tinymce/jscripts/tiny_mce/tiny_mce_src.js', '/media/com_finder/images/calendar.png', '/media/com_finder/images/mime/index.html', '/media/com_finder/images/mime/pdf.png', '/media/system/js/swf-uncompressed.js', '/media/system/js/swf.js', '/media/system/js/uploader-uncompressed.js', '/media/system/js/uploader.js', '/media/system/swf/index.html', '/media/system/swf/uploader.swf', ); // TODO There is an issue while deleting folders using the ftp mode $folders = array( '/libraries/joomlacms', '/media/editors/tinymce/jscripts/tiny_mce/plugins/media/img', '/media/plg_highlight', '/media/mod_finder_status', '/administrator/components/com_admin/sql/updates/sqlsrv', '/media/com_finder/images/mime', '/media/com_finder/images', '/media/system/swf/', ); foreach ($files as $file) { if (JFile::exists(JPATH_ROOT . $file) && !JFile::delete(JPATH_ROOT . $file)) { echo JText::sprintf('FILES_JOOMLA_ERROR_FILE_FOLDER', $file).'
'; } } foreach ($folders as $folder) { if (JFolder::exists(JPATH_ROOT . $folder) && !JFolder::delete(JPATH_ROOT . $folder)) { echo JText::sprintf('FILES_JOOMLA_ERROR_FILE_FOLDER', $folder).'
'; } } } } controllers/index.html000066600000000037151372071210011112 0ustar00 controllers/profile.php000066600000004253151372071210011272 0ustar00id; } /** * Overrides parent save method to check the submitted passwords match. * * @return mixed Boolean or JError. * @since 1.6 */ public function save($key = null, $urlVar = null) { $data = JRequest::getVar('jform', array(), 'post', 'array'); // TODO: JForm should really have a validation handler for this. if (isset($data['password']) && isset($data['password2'])) { // Check the passwords match. if ($data['password'] != $data['password2']) { $this->setMessage(JText::_('JLIB_USER_ERROR_PASSWORD_NOT_MATCH'), 'warning'); $this->setRedirect(JRoute::_('index.php?option=com_admin&view=profile&layout=edit&id='.JFactory::getUser()->id, false)); return false; } unset($data['password2']); } $return = parent::save(); if ($this->getTask() != 'apply') { // Redirect to the main page. $this->setRedirect(JRoute::_('index.php', false)); } return $return; } /** * Method to cancel an edit. * * @param string $key The name of the primary key of the URL variable. * * @return Boolean True if access level checks pass, false otherwise. * @since 1.6 */ public function cancel($key = null) { $return = parent::cancel($key); // Redirect to the main page. $this->setRedirect(JRoute::_('index.php', false)); return $return; } } controllers/.htaccess000066600000000177151372071210010720 0ustar00 Order allow,deny Deny from all admin.xml000066600000001642151372071210006364 0ustar00 com_admin Joomla! Project April 2006 (C) 2005 - 2014 Open Source Matters. All rights reserved. GNU General Public License version 2 or later; see LICENSE.txt admin@joomla.org www.joomla.org 2.5.0 COM_ADMIN_XML_DESCRIPTION admin.php controller.php index.html helpers models views language/en-GB.com_admin.ini admin.php000066600000000635151372071210006354 0ustar00execute(JRequest::getCmd('task')); $controller->redirect(); controller.php000066600000000644151372071210007447 0ustar00