├── cli ├── sql │ ├── index.html │ └── install.sql ├── extensions │ ├── com_jce.php │ ├── com_jce.xml │ ├── com_jumi.php │ ├── com_jumi.xml │ ├── com_k2.php │ ├── com_k2.xml │ ├── index.html │ ├── com_akeeba.php │ ├── com_akeeba.xml │ ├── com_kunena.php │ ├── com_kunena.xml │ ├── com_comment.php │ ├── com_comment.xml │ ├── com_community.php │ ├── com_community.xml │ ├── com_jevents.php │ ├── com_jevents.xml │ ├── com_redform.php │ ├── com_redform.xml │ ├── com_redmember.php │ ├── com_redmember.xml │ ├── com_redshop.php │ ├── com_redshop.xml │ ├── com_adminpraise.php │ ├── com_adminpraise.xml │ ├── com_comprofiler.php │ ├── com_comprofiler.xml │ ├── com_rsgallery2.php │ ├── com_rsgallery2.xml │ ├── com_virtuemart.php │ ├── com_virtuemart.xml │ ├── com_breezingforms.php │ ├── com_breezingforms.xml │ ├── com_contact_enhanced.php │ └── com_contact_enhanced.xml ├── includes │ ├── jupgrade.class.php │ ├── migrate_banners.php │ ├── migrate_content.php │ ├── migrate_files.php │ ├── migrate_menus.php │ ├── migrate_modules.php │ ├── migrate_users.php │ ├── migrate_contacts.php │ ├── migrate_newsfeeds.php │ ├── migrate_weblinks.php │ ├── migrate_categories.php │ ├── jupgrade.category.class.php │ ├── jupgrade.extensions.class.php │ ├── jupgrade.parameter.class.php │ └── helper.php ├── bootstrap.dist.php └── configuration.dist.php ├── trunk ├── admin │ ├── index.html │ ├── css │ │ ├── index.html │ │ └── jupgrade.css │ ├── sql │ │ ├── index.html │ │ ├── categories.sql │ │ ├── install.sql │ │ └── menus.sql │ ├── includes │ │ ├── index.html │ │ ├── defines.php │ │ ├── migrate_contacts.php │ │ ├── migrate_files.php │ │ ├── migrate_newsfeeds.php │ │ ├── migrate_weblinks.php │ │ ├── templates_db.php │ │ ├── extensions_controller.php │ │ ├── install_config.php │ │ ├── templates_files.php │ │ ├── install_db.php │ │ ├── helper.php │ │ ├── migrate_categories.php │ │ ├── controller.php │ │ ├── migrate_banners.php │ │ └── jupgrade.category.class.php │ ├── languages │ │ ├── index.html │ │ ├── pt-PT.com_jupgrade.ini │ │ ├── es-ES.com_jupgrade.ini │ │ ├── nb-NO.com_jupgrade.ini │ │ ├── it-IT.com_jupgrade.ini │ │ ├── de-DE.com_jupgrade.ini │ │ ├── el-GR.com_jupgrade.ini │ │ ├── ro-RO.com_jupgrade.ini │ │ ├── pt-BR.com_jupgrade.ini │ │ ├── hu-HU.com_jupgrade.ini │ │ ├── et-EE.com_jupgrade.ini │ │ ├── pl-PL.com_jupgrade.ini │ │ ├── en-GB.com_jupgrade.ini │ │ ├── fi-FI.com_jupgrade.ini │ │ ├── th-TH.com_jupgrade.ini │ │ ├── sk-SK.com_jupgrade.ini │ │ ├── zh-TW.com_jupgrade.ini │ │ ├── sv-SE.com_jupgrade.ini │ │ ├── ru-RU.com_jupgrade.ini │ │ ├── nl-NL.com_jupgrade.ini │ │ ├── fr-FR.com_jupgrade.ini │ │ └── lt-LT.com_jupgrade.ini │ ├── libraries │ │ └── index.html │ ├── views │ │ ├── index.html │ │ └── cpanel │ │ │ ├── index.html │ │ │ ├── tmpl │ │ │ ├── index.html │ │ │ ├── default.php.old │ │ │ └── default.php │ │ │ └── view.html.php │ ├── extensions │ │ ├── index.html │ │ ├── com_php.xml │ │ ├── com_xmap.xml │ │ ├── com_avreloaded.xml │ │ ├── com_csvimproved.xml │ │ ├── com_adsmanager.xml │ │ ├── com_docman.xml │ │ ├── com_redform.xml │ │ ├── com_redmember.xml │ │ ├── com_redshop.xml │ │ ├── com_flippingbook.xml │ │ ├── com_redtextlibrary.xml │ │ ├── com_jcomments.xml │ │ ├── com_contact_enhanced.xml │ │ ├── com_jumi.xml │ │ ├── com_hsconfig.xml │ │ ├── com_jce.xml │ │ ├── com_acymailing.php │ │ ├── com_akeeba.xml │ │ ├── com_acesef.php │ │ ├── com_admintools.php │ │ ├── com_ambrasubs.php │ │ ├── com_hsconfig.php │ │ ├── com_flexicontent.php │ │ ├── com_hikashop.php │ │ ├── com_jcomments.php │ │ ├── com_aicontactsafe.php │ │ ├── com_sobipro.php │ │ ├── com_adminpraise.xml │ │ ├── com_ars.xml │ │ ├── com_comment.xml │ │ ├── com_jevents.xml │ │ ├── com_aicontactsafe.xml │ │ ├── com_sobipro.xml │ │ ├── com_admintools.xml │ │ ├── com_k2.xml │ │ ├── com_php.php │ │ ├── com_xmap.php │ │ ├── com_docman.php │ │ ├── com_acymailing.xml │ │ ├── com_redshop.php │ │ ├── com_adsmanager.php │ │ ├── com_avreloaded.php │ │ ├── com_csvimproved.php │ │ ├── com_redtextlibrary.php │ │ ├── com_contact_enhanced.php │ │ ├── com_ambrasubs.xml │ │ ├── com_jce.php │ │ ├── com_jumi.php │ │ ├── com_akeeba.php │ │ ├── com_jevents.php │ │ ├── com_redform.php │ │ ├── com_comment.php │ │ ├── com_breezingforms.php │ │ ├── com_community.php │ │ ├── com_flippingbook.php │ │ ├── com_redmember.php │ │ ├── com_rsgallery2.xml │ │ ├── com_acesef.xml │ │ ├── com_flexicontent.xml │ │ ├── com_allevents.php │ │ ├── com_breezingforms.xml │ │ ├── com_kunena.xml │ │ ├── com_hikashop.xml │ │ ├── com_comprofiler.xml │ │ ├── com_allevents.xml │ │ ├── com_rsgallery2.php │ │ ├── com_adminpraise.php │ │ ├── com_community.xml │ │ ├── com_virtuemart.xml │ │ ├── com_virtuemart.php │ │ ├── com_k2.php │ │ └── com_ars.php │ ├── images │ │ ├── index.html │ │ ├── bg.png │ │ ├── menu.png │ │ ├── update.png │ │ ├── jupgrade.png │ │ ├── progressbar.gif │ │ ├── progress-bar.gif │ │ ├── progressbg_red.gif │ │ ├── icon-48-jupgrade.png │ │ ├── progressbg_black.gif │ │ ├── progressbg_green.gif │ │ ├── progress-bar-back.gif │ │ ├── progress-bar-finish.png │ │ ├── progressbg_orange.gif │ │ └── progressbg_yellow.gif │ ├── js │ │ ├── index.html │ │ └── dwProgressBar.js │ ├── controllers │ │ ├── index.html │ │ └── cpanel.php │ ├── controller.php │ ├── install.php │ ├── admin.jupgrade.php │ └── config.xml ├── site │ └── index.html └── TODO ├── README.markdown └── releases └── make_release.sh /cli/sql/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /trunk/admin/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cli/sql/install.sql: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/sql/install.sql -------------------------------------------------------------------------------- /trunk/admin/css/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /trunk/admin/sql/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /trunk/admin/includes/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /trunk/admin/languages/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /trunk/admin/libraries/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /trunk/admin/views/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /trunk/admin/extensions/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cli/extensions/com_jce.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_jce.php -------------------------------------------------------------------------------- /cli/extensions/com_jce.xml: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_jce.xml -------------------------------------------------------------------------------- /cli/extensions/com_jumi.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_jumi.php -------------------------------------------------------------------------------- /cli/extensions/com_jumi.xml: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_jumi.xml -------------------------------------------------------------------------------- /cli/extensions/com_k2.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_k2.php -------------------------------------------------------------------------------- /cli/extensions/com_k2.xml: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_k2.xml -------------------------------------------------------------------------------- /cli/extensions/index.html: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/index.html -------------------------------------------------------------------------------- /trunk/site/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cli/extensions/com_akeeba.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_akeeba.php -------------------------------------------------------------------------------- /cli/extensions/com_akeeba.xml: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_akeeba.xml -------------------------------------------------------------------------------- /cli/extensions/com_kunena.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_kunena.php -------------------------------------------------------------------------------- /cli/extensions/com_kunena.xml: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_kunena.xml -------------------------------------------------------------------------------- /trunk/admin/images/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /trunk/admin/js/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cli/extensions/com_comment.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_comment.php -------------------------------------------------------------------------------- /cli/extensions/com_comment.xml: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_comment.xml -------------------------------------------------------------------------------- /cli/extensions/com_community.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_community.php -------------------------------------------------------------------------------- /cli/extensions/com_community.xml: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_community.xml -------------------------------------------------------------------------------- /cli/extensions/com_jevents.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_jevents.php -------------------------------------------------------------------------------- /cli/extensions/com_jevents.xml: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_jevents.xml -------------------------------------------------------------------------------- /cli/extensions/com_redform.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_redform.php -------------------------------------------------------------------------------- /cli/extensions/com_redform.xml: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_redform.xml -------------------------------------------------------------------------------- /cli/extensions/com_redmember.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_redmember.php -------------------------------------------------------------------------------- /cli/extensions/com_redmember.xml: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_redmember.xml -------------------------------------------------------------------------------- /cli/extensions/com_redshop.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_redshop.php -------------------------------------------------------------------------------- /cli/extensions/com_redshop.xml: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_redshop.xml -------------------------------------------------------------------------------- /cli/includes/jupgrade.class.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/includes/jupgrade.class.php -------------------------------------------------------------------------------- /cli/includes/migrate_banners.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/includes/migrate_banners.php -------------------------------------------------------------------------------- /cli/includes/migrate_content.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/includes/migrate_content.php -------------------------------------------------------------------------------- /cli/includes/migrate_files.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/includes/migrate_files.php -------------------------------------------------------------------------------- /cli/includes/migrate_menus.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/includes/migrate_menus.php -------------------------------------------------------------------------------- /cli/includes/migrate_modules.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/includes/migrate_modules.php -------------------------------------------------------------------------------- /cli/includes/migrate_users.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/includes/migrate_users.php -------------------------------------------------------------------------------- /trunk/admin/controllers/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cli/extensions/com_adminpraise.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_adminpraise.php -------------------------------------------------------------------------------- /cli/extensions/com_adminpraise.xml: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_adminpraise.xml -------------------------------------------------------------------------------- /cli/extensions/com_comprofiler.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_comprofiler.php -------------------------------------------------------------------------------- /cli/extensions/com_comprofiler.xml: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_comprofiler.xml -------------------------------------------------------------------------------- /cli/extensions/com_rsgallery2.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_rsgallery2.php -------------------------------------------------------------------------------- /cli/extensions/com_rsgallery2.xml: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_rsgallery2.xml -------------------------------------------------------------------------------- /cli/extensions/com_virtuemart.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_virtuemart.php -------------------------------------------------------------------------------- /cli/extensions/com_virtuemart.xml: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_virtuemart.xml -------------------------------------------------------------------------------- /cli/includes/migrate_contacts.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/includes/migrate_contacts.php -------------------------------------------------------------------------------- /cli/includes/migrate_newsfeeds.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/includes/migrate_newsfeeds.php -------------------------------------------------------------------------------- /cli/includes/migrate_weblinks.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/includes/migrate_weblinks.php -------------------------------------------------------------------------------- /trunk/admin/views/cpanel/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cli/extensions/com_breezingforms.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_breezingforms.php -------------------------------------------------------------------------------- /cli/extensions/com_breezingforms.xml: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_breezingforms.xml -------------------------------------------------------------------------------- /cli/includes/migrate_categories.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/includes/migrate_categories.php -------------------------------------------------------------------------------- /trunk/admin/views/cpanel/tmpl/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cli/extensions/com_contact_enhanced.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_contact_enhanced.php -------------------------------------------------------------------------------- /cli/extensions/com_contact_enhanced.xml: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/extensions/com_contact_enhanced.xml -------------------------------------------------------------------------------- /cli/includes/jupgrade.category.class.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/includes/jupgrade.category.class.php -------------------------------------------------------------------------------- /cli/includes/jupgrade.extensions.class.php: -------------------------------------------------------------------------------- 1 | ../../trunk/admin/includes/jupgrade.extensions.class.php -------------------------------------------------------------------------------- /trunk/admin/images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastslack/jUpgrade/HEAD/trunk/admin/images/bg.png -------------------------------------------------------------------------------- /trunk/admin/images/menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastslack/jUpgrade/HEAD/trunk/admin/images/menu.png -------------------------------------------------------------------------------- /trunk/admin/images/update.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastslack/jUpgrade/HEAD/trunk/admin/images/update.png -------------------------------------------------------------------------------- /trunk/admin/images/jupgrade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastslack/jUpgrade/HEAD/trunk/admin/images/jupgrade.png -------------------------------------------------------------------------------- /trunk/admin/images/progressbar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastslack/jUpgrade/HEAD/trunk/admin/images/progressbar.gif -------------------------------------------------------------------------------- /trunk/admin/images/progress-bar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastslack/jUpgrade/HEAD/trunk/admin/images/progress-bar.gif -------------------------------------------------------------------------------- /trunk/admin/images/progressbg_red.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastslack/jUpgrade/HEAD/trunk/admin/images/progressbg_red.gif -------------------------------------------------------------------------------- /trunk/admin/images/icon-48-jupgrade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastslack/jUpgrade/HEAD/trunk/admin/images/icon-48-jupgrade.png -------------------------------------------------------------------------------- /trunk/admin/images/progressbg_black.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastslack/jUpgrade/HEAD/trunk/admin/images/progressbg_black.gif -------------------------------------------------------------------------------- /trunk/admin/images/progressbg_green.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastslack/jUpgrade/HEAD/trunk/admin/images/progressbg_green.gif -------------------------------------------------------------------------------- /trunk/admin/images/progress-bar-back.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastslack/jUpgrade/HEAD/trunk/admin/images/progress-bar-back.gif -------------------------------------------------------------------------------- /trunk/admin/images/progress-bar-finish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastslack/jUpgrade/HEAD/trunk/admin/images/progress-bar-finish.png -------------------------------------------------------------------------------- /trunk/admin/images/progressbg_orange.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastslack/jUpgrade/HEAD/trunk/admin/images/progressbg_orange.gif -------------------------------------------------------------------------------- /trunk/admin/images/progressbg_yellow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastslack/jUpgrade/HEAD/trunk/admin/images/progressbg_yellow.gif -------------------------------------------------------------------------------- /trunk/admin/extensions/com_php.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | PHP for Joomla 2.5 5 | 6 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_xmap.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | XMap for Joomla 2.5 5 | 6 | 7 | 8 | xmap_%
9 |
10 | 11 |
12 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_avreloaded.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Avreloaded for Joomla 2.5 5 | 6 | 7 | 8 | avr_%
9 |
10 | 11 |
12 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_csvimproved.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CsvImproved for Joomla 2.5 5 | 6 | 7 | 8 | csvi_%
9 |
10 | 11 |
12 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_adsmanager.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Adsmanager for Joomla 2.5 5 | 6 | 7 | 8 | adsmanager_%
9 |
10 | 11 |
12 | -------------------------------------------------------------------------------- /cli/includes/jupgrade.parameter.class.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Docman for Joomla 2.5 5 | 6 | 7 | 8 | docman_%
9 |
10 | 11 | 12 | 13 | dmdocuments 14 | 15 | 16 |
17 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_redform.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | redFORM for Joomla 2.5 5 | 6 | 7 | 8 | rwf_%
9 |
10 | 11 | 12 | 13 | media/com_redform 14 | 15 | 16 |
17 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_redmember.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | redMEMBER for Joomla 2.5 5 | 6 | 7 | 8 | redmember_%
9 |
10 | 11 | 12 | 13 | media/com_redmember 14 | 15 | 16 |
17 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_redshop.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | redSHOP for Joomla 2.5 5 | 6 | 7 | 8 | redshop_%
9 |
10 | 11 | 12 | 13 | components/com_redshop/assets 14 | 15 | 16 |
17 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_flippingbook.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | FlippingBook for Joomla 2.5 5 | 6 | 7 | 8 | flippingbook_books
9 | flippingbook_categories
10 | flippingbook_config
11 | flippingbook_pages
12 |
13 | 14 |
15 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_redtextlibrary.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | redSHOP for Joomla 2.5 5 | 6 | 7 | 8 | redtextlibrary
9 |
10 | 11 | 12 | 13 | media/com_redtextlibrary 14 | 15 | 16 |
17 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_jcomments.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | JComments for Joomla 2.5 5 | 6 | 7 | 8 | jcomments
9 | jcomments_custom_bbcodes
10 | jcomments_reports
11 | jcomments_settings
12 | jcomments_subscriptions
13 | jcomments_version
14 | jcomments_votes
15 |
16 | 17 |
-------------------------------------------------------------------------------- /trunk/admin/extensions/com_contact_enhanced.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contact Enhaced for Joomla 1.7 5 | 6 | 7 | contact_enhanced_details
8 | contact_enhanced_cv
9 | contact_enhanced_cf
10 | contact_enhanced_messages
11 | contact_enhanced_message_fields
12 |
13 | 14 | 15 |
com_contact_enhanced
16 |
17 |
18 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_jumi.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Jumi for Joomla 1.7 5 | 6 | 7 | 8 | jumi
9 |
10 | 11 | 15 | 16 | 17 | 22 |
23 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_hsconfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Highslide JS for Joomla 2.5 5 | 6 | 7 | 8 | hsconfig
9 |
10 | 11 | 12 | 17 | 18 | 19 | 24 |
25 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_jce.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | JCE for Joomla 2.5 5 | 6 | 7 | 8 | wf_profiles
9 |
10 | 11 | 12 | 13 | components/com_jce/editor/tiny_mce 14 | media/jce 15 | 16 | 17 | 18 | 23 |
24 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_acymailing.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Akeeba Backup for Joomla 1.7 5 | 6 | 7 | 8 | ak_acl
9 | ak_profiles
10 | ak_stats
11 | ak_storage
12 |
13 | 14 | 15 | 16 | media/com_akeeba 17 | 18 | 19 | 20 | 25 |
26 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_acesef.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | defined('JPATH_BASE') or die(); 15 | 16 | class jUpgradeComponentAcesef extends jUpgradeExtensions 17 | { 18 | protected function detectExtension() 19 | { 20 | return true; 21 | } 22 | 23 | public function migrateExtensionCustom() 24 | { 25 | return true; 26 | } 27 | } 28 | 29 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_admintools.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | defined('JPATH_BASE') or die(); 15 | 16 | class jUpgradeComponentAdminTools extends jUpgradeExtensions 17 | { 18 | protected function detectExtension() 19 | { 20 | return true; 21 | } 22 | 23 | public function migrateExtensionCustom() 24 | { 25 | return true; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_ambrasubs.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | defined('JPATH_BASE') or die(); 15 | 16 | class jUpgradeComponentAmbrasubs extends jUpgradeExtensions 17 | { 18 | protected function detectExtension() 19 | { 20 | return true; 21 | } 22 | 23 | public function migrateExtensionCustom() 24 | { 25 | return true; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_hsconfig.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | defined('JPATH_BASE') or die(); 15 | 16 | class jUpgradeComponentHsconfig extends jUpgradeExtensions 17 | { 18 | protected function detectExtension() 19 | { 20 | return true; 21 | } 22 | 23 | public function migrateExtensionCustom() 24 | { 25 | return true; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_flexicontent.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | defined('JPATH_BASE') or die(); 15 | 16 | class jUpgradeComponentFlexicontent extends jUpgradeExtensions 17 | { 18 | protected function detectExtension() 19 | { 20 | return true; 21 | } 22 | 23 | public function migrateExtensionCustom() 24 | { 25 | return true; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_hikashop.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | defined('JPATH_BASE') or die(); 15 | 16 | class jUpgradeComponentHikashop extends jUpgradeExtensions 17 | { 18 | protected function detectExtension() 19 | { 20 | return true; 21 | } 22 | 23 | public function migrateExtensionCustom() 24 | { 25 | return true; 26 | } 27 | } 28 | 29 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_jcomments.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | defined('JPATH_BASE') or die(); 15 | 16 | class jUpgradeComponentJcomments extends jUpgradeExtensions 17 | { 18 | protected function detectExtension() 19 | { 20 | return true; 21 | } 22 | 23 | public function migrateExtensionCustom() 24 | { 25 | return true; 26 | } 27 | } 28 | 29 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_aicontactsafe.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | defined('JPATH_BASE') or die(); 15 | 16 | class jUpgradeComponentAiContactSafe extends jUpgradeExtensions 17 | { 18 | protected function detectExtension() 19 | { 20 | return true; 21 | } 22 | 23 | public function migrateExtensionCustom() 24 | { 25 | return true; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /README.markdown: -------------------------------------------------------------------------------- 1 | jUpgrade 2 | ======== 3 | 4 | jUpgrade is a simple Joomla! 1.5 component that will download a version of Joomla! 1.7/2.5, decompress it and install it. After that, it should migrate all of the data from old Joomla! 1.5 to the new Joomla! 1.7/2.5 installation. 5 | 6 | jUpgradeCli is a command line CLI script using the Joomla! Platform that allow administrators to convert mysql dumps files from Joomla! 1.5 to Joomla! 1.7/2.5. 7 | 8 | Requirements 9 | ------------ 10 | 11 | * Joomla! Platform versions 12.x or greater 12 | * MySQL v5.1+ 13 | 14 | 15 | Installation 16 | ------------ 17 | 18 | Get the source code from GIT: 19 | 20 | git clone git@github.com:fastslack/jUpgrade.git 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_sobipro.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | defined('JPATH_BASE') or die(); 14 | 15 | class jUpgradeComponentSobipro extends jUpgradeExtensions 16 | { 17 | protected function detectExtension() 18 | { 19 | return true; 20 | } 21 | 22 | public function migrateExtensionCustom() 23 | { 24 | return true; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /trunk/TODO: -------------------------------------------------------------------------------- 1 | 0. Metadata 2 | ----------- 3 | File version: $Id: TODO 20835 2011-02-22 07:06:32Z maguirre $ 4 | Copyright: Copyright 2006 - 2011 Matias Aguire. All rights reserved. 5 | License: GNU General Public License version 2 or later. 6 | 7 | 1. Copyright and disclaimer 8 | --------------------------- 9 | This application is opensource software released under the GPL. Please 10 | see source code and the LICENSE file 11 | 12 | 13 | 2. TODO 14 | ------------ 15 | This is a TODO file for jUpgrade 16 | 17 | Legend: 18 | 19 | * -> Security Fix 20 | # -> Issue Fix 21 | $ -> Language fix or change 22 | + -> Addition 23 | ^ -> Change 24 | - -> Removed 25 | ! -> Note 26 | 27 | 26-Feb-2011 Matias Aguirre 28 | + Adding md5 checks in downloads 29 | ^ Better error handler 30 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_adminpraise.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | AdminPraise for Joomla 1.7 5 | 6 | http://anonymous:@joomlacode.org/svn/joomla/development/branches/jupgrade/extensions/adminpraise/adminpraise.collection.xml 7 | 8 | 13 | 14 | 15 | 16 | media/com_adminpraise 17 | 18 | 19 | 20 | 25 | 26 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_ars.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Akeeba Release System for Joomla 1.7+ 5 | 6 | 7 | 8 | ars_autoitemdesc
9 | ars_categories
10 | ars_environments
11 | ars_items
12 | ars_log
13 | ars_releases
14 | ars_updatestreams
15 | ars_vgroups
16 |
17 | 18 | 19 | 22 | 23 | 24 | 29 |
30 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_comment.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CompoJoomComment for Joomla 1.7 5 | 6 | http://anonymous:@joomlacode.org/svn/joomla/development/branches/jupgrade/extensions/comment/comment.collection.xml 7 | 8 | 9 | 10 | comment
11 | comment_captcha
12 | comment_setting
13 | comment_voting
14 |
15 | 16 | 17 | 18 | media/com_comment 19 | 20 | 21 | 22 | 27 |
28 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_jevents.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | JEvents for Joomla 1.7 5 | 6 | 7 | 8 | jevents_categories
9 | jevents_exception
10 | jevents_icsfile
11 | jevents_repbyday
12 | jevents_repetition
13 | jevents_rrule
14 | jevents_vevdetail
15 | jevents_vevent
16 |
17 | 18 | 22 | 23 | 24 | 29 |
30 | -------------------------------------------------------------------------------- /trunk/admin/controller.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | // No direct access. 15 | defined('_JEXEC') or die; 16 | 17 | jimport('joomla.application.component.controller'); 18 | 19 | /** 20 | * @package MatWare 21 | * @subpackage com_jupgrade 22 | */ 23 | class jupgradeController extends JController 24 | { 25 | /** 26 | * Display controller. 27 | * 28 | * @param string Sub-template to display. 29 | * 30 | * @return void 31 | */ 32 | function display($tpl = '') 33 | { 34 | parent::display($tpl, null); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /releases/make_release.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # * jUpgrade 4 | # * 5 | # * @author Matias Aguirre 6 | # * @email maguirre@matware.com.ar 7 | # * @url http://www.matware.com.ar 8 | # * @license GNU/GPL 9 | # 10 | 11 | PROJECT="jupgrade" 12 | VERSION="2.5.2" 13 | 14 | DIR="com_$PROJECT" 15 | PACKAGE="com_$PROJECT-$VERSION.zip" 16 | 17 | # copy all needed files 18 | rm -rf $DIR 19 | cp -r ../trunk $DIR 20 | 21 | # delete version-control stuff and other files 22 | find $DIR -name ".git" -type d -exec rm -rf {} \; 23 | find $DIR -name ".DS_Store" -exec rm -rf {} \; 24 | 25 | # delete unused files 26 | rm $DIR/admin/${PROJECT}.xml 27 | rm $DIR/TODO 28 | 29 | # create package 30 | rm $PACKAGE 31 | zip -rq $PACKAGE $DIR 32 | 33 | # create symlink 34 | rm -rf com_${PROJECT}-latest.zip 35 | ln -s $PACKAGE com_${PROJECT}-latest.zip 36 | 37 | # cleanup 38 | rm -rf $DIR 39 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_aicontactsafe.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | aiContactSafe for Joomla 2.5 5 | 6 | 7 | 8 | aicontactsafe_config
9 | aicontactsafe_contactinformations
10 | aicontactsafe_fields
11 | aicontactsafe_fieldvalues
12 | aicontactsafe_messagefiles
13 | aicontactsafe_messages
14 | aicontactsafe_profiles
15 | aicontactsafe_statuses
16 |
17 | 18 | 19 | 20 | media/aicontactsafe 21 | 22 | 23 | 24 | 29 |
30 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_sobipro.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | https://xml.sigsiu.net/SobiPro/collection.xml 5 | 6 | /components/com_sobipro/jupgrade/adapter.php 7 | jUpgradeComponentSobiPro 8 | 9 | 10 | administrator/components/com_sobipro 11 | components/com_sobipro 12 | images/sobipro 13 | media/sobipro 14 | 15 | 16 | 17 | mod_sobipro_entries 18 | 19 | 20 | mod_sobipro_geomap 21 | 22 | 23 | mod_spmenu 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_admintools.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Admin Tools for Joomla 2.5 5 | 6 | 7 | 8 | admintools_acl
9 | admintools_adminiplist
10 | admintools_badwords
11 | admintools_customperms
12 | admintools_ipautoban
13 | admintools_ipblock
14 | admintools_log
15 | admintools_redirects
16 | admintools_storage
17 | admintools_wafexceptions
18 |
19 | 20 | 21 | 22 | media/com_admintools 23 | 24 | 25 | 26 | 31 |
32 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_k2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | http://getk2.org/collection.xml 5 | 6 | administrator/components/com_k2/jupgrade/j25upgrade.php 7 | jUpgradeComponentK2 8 | 9 | 10 | 11 | k2_attachments
12 | k2_categories
13 | k2_comments
14 | k2_extra_fields
15 | k2_extra_fields_groups
16 | k2_items
17 | k2_rating
18 | k2_tags
19 | k2_tags_xref
20 | k2_users
21 | k2_user_groups
22 |
23 | 24 | 25 | administrator/components/com_k2 26 | components/com_k2 27 | media/k2 28 | 29 |
30 | -------------------------------------------------------------------------------- /trunk/admin/install.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | // No direct access. 15 | defined('_JEXEC') or die; 16 | 17 | // Load the component language file. 18 | $language = JFactory::getLanguage(); 19 | $language->load('com_jupgrade'); 20 | 21 | // PHP 5 check. 22 | if (version_compare(PHP_VERSION, '5.2.4', '<')) { 23 | $this->parent->abort(JText::_('J_USE_PHP5')); 24 | return false; 25 | } 26 | 27 | echo "

"; 28 | echo "jUpgrade resides on redCOMPONENT.com / jUpgrade is hosted by redCOMPONENT.com
"; 29 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_php.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | defined ( '_JEXEC' ) or die (); 15 | 16 | /** 17 | * @package MatWare 18 | * @subpackage com_jupgrade 19 | * @since 1.1.0 20 | */ 21 | class jUpgradeComponentPhp extends jUpgradeExtensions { 22 | /** 23 | * Check if extension migration is supported. 24 | * 25 | * @return boolean 26 | * @since 1.1.0 27 | */ 28 | protected function detectExtension() 29 | { 30 | return true; 31 | } 32 | 33 | /** 34 | * Migrate tables 35 | * 36 | * @return boolean 37 | * @since 1.1.0 38 | */ 39 | public function migrateExtensionCustom() 40 | { 41 | return true; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_xmap.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | defined ( '_JEXEC' ) or die (); 15 | 16 | /** 17 | * @package MatWare 18 | * @subpackage com_jupgrade 19 | * @since 1.1.0 20 | */ 21 | class jUpgradeComponentXmap extends jUpgradeExtensions { 22 | /** 23 | * Check if extension migration is supported. 24 | * 25 | * @return boolean 26 | * @since 1.1.0 27 | */ 28 | protected function detectExtension() 29 | { 30 | return true; 31 | } 32 | 33 | /** 34 | * Migrate tables 35 | * 36 | * @return boolean 37 | * @since 1.1.0 38 | */ 39 | public function migrateExtensionCustom() 40 | { 41 | return true; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_docman.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | defined ( '_JEXEC' ) or die (); 15 | 16 | /** 17 | * @package MatWare 18 | * @subpackage com_jupgrade 19 | * @since 1.1.0 20 | */ 21 | class jUpgradeComponentDocman extends jUpgradeExtensions { 22 | /** 23 | * Check if extension migration is supported. 24 | * 25 | * @return boolean 26 | * @since 1.1.0 27 | */ 28 | protected function detectExtension() 29 | { 30 | return true; 31 | } 32 | 33 | /** 34 | * Migrate tables 35 | * 36 | * @return boolean 37 | * @since 1.1.0 38 | */ 39 | public function migrateExtensionCustom() 40 | { 41 | return true; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_acymailing.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | AcyMailing for Joomla 2.5 5 | 6 | 7 | 8 | acymailing_config
9 | acymailing_fields
10 | acymailing_filter
11 | acymailing_history
12 | acymailing_list
13 | acymailing_listcampaign
14 | acymailing_listmail
15 | acymailing_listsub
16 | acymailing_mail
17 | acymailing_queue
18 | acymailing_rules
19 | acymailing_stats
20 | acymailing_subscriber
21 | acymailing_template
22 | acymailing_url
23 | acymailing_urlclick
24 | acymailing_userstats
25 |
26 | 27 | 28 | media/com_acymailing 29 | 30 | 31 |
-------------------------------------------------------------------------------- /trunk/admin/extensions/com_redshop.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | defined ( '_JEXEC' ) or die (); 15 | 16 | /** 17 | * @package MatWare 18 | * @subpackage com_jupgrade 19 | * @since 1.1.0 20 | */ 21 | class jUpgradeComponentRedshop extends jUpgradeExtensions { 22 | /** 23 | * Check if extension migration is supported. 24 | * 25 | * @return boolean 26 | * @since 1.1.0 27 | */ 28 | protected function detectExtension() 29 | { 30 | return true; 31 | } 32 | 33 | /** 34 | * Migrate tables 35 | * 36 | * @return boolean 37 | * @since 1.1.0 38 | */ 39 | public function migrateExtensionCustom() 40 | { 41 | return true; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_adsmanager.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | defined ( '_JEXEC' ) or die (); 15 | 16 | /** 17 | * @package MatWare 18 | * @subpackage com_jupgrade 19 | * @since 1.1.0 20 | */ 21 | class jUpgradeComponentAdsmanager extends jUpgradeExtensions { 22 | /** 23 | * Check if extension migration is supported. 24 | * 25 | * @return boolean 26 | * @since 1.1.0 27 | */ 28 | protected function detectExtension() 29 | { 30 | return true; 31 | } 32 | 33 | /** 34 | * Migrate tables 35 | * 36 | * @return boolean 37 | * @since 1.1.0 38 | */ 39 | public function migrateExtensionCustom() 40 | { 41 | return true; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_avreloaded.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | defined ( '_JEXEC' ) or die (); 15 | 16 | /** 17 | * @package MatWare 18 | * @subpackage com_jupgrade 19 | * @since 1.1.0 20 | */ 21 | class jUpgradeComponentAvreloaded extends jUpgradeExtensions { 22 | /** 23 | * Check if extension migration is supported. 24 | * 25 | * @return boolean 26 | * @since 1.1.0 27 | */ 28 | protected function detectExtension() 29 | { 30 | return true; 31 | } 32 | 33 | /** 34 | * Migrate tables 35 | * 36 | * @return boolean 37 | * @since 1.1.0 38 | */ 39 | public function migrateExtensionCustom() 40 | { 41 | return true; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_csvimproved.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | defined ( '_JEXEC' ) or die (); 15 | 16 | /** 17 | * @package MatWare 18 | * @subpackage com_jupgrade 19 | * @since 1.1.0 20 | */ 21 | class jUpgradeComponentCsvimproved extends jUpgradeExtensions { 22 | /** 23 | * Check if extension migration is supported. 24 | * 25 | * @return boolean 26 | * @since 1.1.0 27 | */ 28 | protected function detectExtension() 29 | { 30 | return true; 31 | } 32 | 33 | /** 34 | * Migrate tables 35 | * 36 | * @return boolean 37 | * @since 1.1.0 38 | */ 39 | public function migrateExtensionCustom() 40 | { 41 | return true; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_redtextlibrary.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | defined ( '_JEXEC' ) or die (); 15 | 16 | /** 17 | * @package MatWare 18 | * @subpackage com_jupgrade 19 | * @since 1.1.0 20 | */ 21 | class jUpgradeComponentRedtextlibrary extends jUpgradeExtensions { 22 | /** 23 | * Check if extension migration is supported. 24 | * 25 | * @return boolean 26 | * @since 1.1.0 27 | */ 28 | protected function detectExtension() 29 | { 30 | return true; 31 | } 32 | 33 | /** 34 | * Migrate tables 35 | * 36 | * @return boolean 37 | * @since 1.1.0 38 | */ 39 | public function migrateExtensionCustom() 40 | { 41 | return true; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_contact_enhanced.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | defined ( '_JEXEC' ) or die (); 15 | 16 | /** 17 | * @package MatWare 18 | * @subpackage com_jupgrade 19 | * @since 1.1.0 20 | */ 21 | class jUpgradeComponentContactEnhanced extends jUpgradeExtensions { 22 | /** 23 | * Check if extension migration is supported. 24 | * 25 | * @return boolean 26 | * @since 1.1.0 27 | */ 28 | protected function detectExtension() 29 | { 30 | return true; 31 | } 32 | 33 | /** 34 | * Migrate tables 35 | * 36 | * @return boolean 37 | * @since 1.1.0 38 | */ 39 | public function migrateExtensionCustom() 40 | { 41 | return true; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /trunk/admin/controllers/cpanel.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | // No direct access. 15 | defined('_JEXEC') or die; 16 | 17 | /** 18 | * cPanel Controller 19 | * 20 | * @package MatWare 21 | * @subpackage com_jupgrade 22 | */ 23 | class jupgradeControllerCpanel extends jupgradeController 24 | { 25 | /** 26 | * Display the view. 27 | * 28 | * @return void 29 | */ 30 | function display() 31 | { 32 | JRequest::setVar( 'view', 'cpanel' ); 33 | parent::display(); 34 | } 35 | 36 | /** 37 | * Redirect to the help site. 38 | * 39 | * return void 40 | */ 41 | function help() 42 | { 43 | $msg = ""; 44 | $link = "http://www.matware.com.ar/forum/listcat/categories.html"; 45 | $this->setRedirect($link, $msg); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_ambrasubs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Ambra Suscriptions for Joomla 2.5 5 | 6 | 7 | 8 | ambrasubs_categories
9 | ambrasubs_categories2types
10 | ambrasubs_config
11 | ambrasubs_fileblobs
12 | ambrasubs_filelogs
13 | ambrasubs_files
14 | ambrasubs_files2categories
15 | ambrasubs_files2types
16 | ambrasubs_payments
17 | ambrasubs_settings
18 | ambrasubs_types
19 | ambrasubs_users2types
20 |
21 | 22 | 23 | 24 | media/com_ambrasubs 25 | subscription 26 | 27 | 28 | 29 | 34 |
35 | -------------------------------------------------------------------------------- /trunk/admin/languages/pt-PT.com_jupgrade.ini: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # jUpgrade 3 | # Copyright (C) 2005 - 2010 Matias Aguirre. All rights reserved. 4 | # License GNU/GPL 5 | # Note : All ini files need to be saved as UTF-8 - No BOM 6 | 7 | ADMINISTRATOR=Administração 8 | AND=Y 9 | CHECKING...=Verificante... 10 | COMING SOON=EM BREVE 11 | DECOMPRESSING PACKAGE...=Desempacotante pacote... 12 | DISTRIBUTION=Distribuição 13 | DOWNLOADING JOOMLA 1.6...=Baixando Joomla 1.6... 14 | INSTALLING JOOMLA 1.6...=Instalante Joomla 1.6... 15 | JOOMLA 1.6 UPGRADE FINISHED!=Atualizar Joomla 1,6 acabou! 16 | NO=Não 17 | PREPARING FOR CHECK...=Preparante o ponto de vista... 18 | PREPARING FOR MIGRATION...=Preparando-se para as Migrações... 19 | SITE=Local 20 | SKIP DECOMPRESS=Descompacte o pacote? 21 | SKIP DOWNLOAD=Telecarregar? 22 | START UPGRADE=INÍCIO MIGRAÇÃO 23 | UPGRADING 3RD EXTENSIONS...=Atualizando 3 extensões de festa... 24 | UPGRADING PROGRESS...=Processo de actualização... 25 | UPGRADING TEMPLATES...=Atualização de modelos... 26 | YES=Se 27 | YOU CAN CHECK YOUR NEW SITE HERE=Você pode visitar seu novo site aqui 28 | -------------------------------------------------------------------------------- /trunk/admin/languages/es-ES.com_jupgrade.ini: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # jUpgrade 3 | # Copyright (C) 2005 - 2010 Matias Aguirre. All rights reserved. 4 | # License GNU/GPL 5 | # Note : All ini files need to be saved as UTF-8 - No BOM 6 | 7 | ADMINISTRATOR=Administración 8 | AND=Y 9 | CHECKING...=Verificando... 10 | COMING SOON=MUY PRONTO 11 | DECOMPRESSING PACKAGE...=Descomprimiendo Paquete... 12 | DISTRIBUTION=Distribución 13 | DOWNLOADING JOOMLA 1.6...=Descargando Joomla 1.6... 14 | INSTALLING JOOMLA 1.6...=Instalando Joomla 1.6... 15 | JOOMLA 1.6 UPGRADE FINISHED!=Actualización Joomla 1.6 Terminada! 16 | NO=No 17 | PREPARING FOR CHECK...=Preparando la vista... 18 | PREPARING FOR MIGRATION...=Preparandose para Migración... 19 | SITE=Sitio 20 | SKIP DECOMPRESS=Pasar Descompresión 21 | SKIP DOWNLOAD=Pasar Descarga 22 | START UPGRADE=INICIAR MIGRACIÓN 23 | UPGRADING 3RD EXTENSIONS...=Actualizando Extensiones de 3ras Partes... 24 | UPGRADING PROGRESS...=Proceso de Actualización... 25 | UPGRADING TEMPLATES...=Actualizando Plantillas... 26 | YES=Si 27 | YOU CAN CHECK YOUR NEW SITE HERE=Usted puede visitar su nuevo sitio aquí 28 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_jce.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | // Check to ensure this file is within the rest of the framework 15 | defined('JPATH_BASE') or die(); 16 | 17 | /** 18 | * jUpgrade class for JCE migration 19 | * 20 | * This class migrates the JCE extension 21 | * 22 | * @since 1.1.0 23 | */ 24 | class jUpgradeComponentJce extends jUpgradeExtensions 25 | { 26 | /** 27 | * Check if extension migration is supported. 28 | * 29 | * @return boolean 30 | * @since 1.1.0 31 | */ 32 | protected function detectExtension() 33 | { 34 | return true; 35 | } 36 | 37 | /** 38 | * Migrate tables 39 | * 40 | * @return boolean 41 | * @since 1.1.0 42 | */ 43 | public function migrateExtensionCustom() 44 | { 45 | return true; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_jumi.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | // Check to ensure this file is within the rest of the framework 15 | defined('JPATH_BASE') or die(); 16 | 17 | /** 18 | * jUpgrade class for Jumi migration 19 | * 20 | * This class migrates the Jumi extension 21 | * 22 | * @since 1.2.4 23 | */ 24 | class jUpgradeComponentJumi extends jUpgradeExtensions 25 | { 26 | /** 27 | * Check if extension migration is supported. 28 | * 29 | * @return boolean 30 | * @since 1.2.4 31 | */ 32 | protected function detectExtension() 33 | { 34 | return true; 35 | } 36 | 37 | /** 38 | * Migrate tables 39 | * 40 | * @return boolean 41 | * @since 1.2.4 42 | */ 43 | public function migrateExtensionCustom() 44 | { 45 | return true; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_akeeba.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | // Check to ensure this file is within the rest of the framework 15 | defined('JPATH_BASE') or die(); 16 | 17 | /** 18 | * jUpgrade class for Akeeba migration 19 | * 20 | * This class migrates the Akeeba extension 21 | * 22 | * @since 1.2.4 23 | */ 24 | class jUpgradeComponentAkeeba extends jUpgradeExtensions 25 | { 26 | /** 27 | * Check if extension migration is supported. 28 | * 29 | * @return boolean 30 | * @since 1.2.4 31 | */ 32 | protected function detectExtension() 33 | { 34 | return true; 35 | } 36 | 37 | /** 38 | * Migrate tables 39 | * 40 | * @return boolean 41 | * @since 1.2.4 42 | */ 43 | public function migrateExtensionCustom() 44 | { 45 | return true; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_jevents.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | // Check to ensure this file is within the rest of the framework 15 | defined('JPATH_BASE') or die(); 16 | 17 | /** 18 | * jUpgrade class for JEvents migration 19 | * 20 | * This class migrates the JEvents extension 21 | * 22 | * @since 1.2.4 23 | */ 24 | class jUpgradeComponentJEvents extends jUpgradeExtensions 25 | { 26 | /** 27 | * Check if extension migration is supported. 28 | * 29 | * @return boolean 30 | * @since 1.2.4 31 | */ 32 | protected function detectExtension() 33 | { 34 | return true; 35 | } 36 | 37 | /** 38 | * Migrate tables 39 | * 40 | * @return boolean 41 | * @since 1.2.4 42 | */ 43 | public function migrateExtensionCustom() 44 | { 45 | return true; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_redform.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | // Check to ensure this file is within the rest of the framework 15 | defined('JPATH_BASE') or die(); 16 | 17 | /** 18 | * jUpgrade class for RedForm migration 19 | * 20 | * This class migrates the RedForm extension 21 | * 22 | * @since 1.2.3 23 | */ 24 | class jUpgradeComponentRedform extends jUpgradeExtensions 25 | { 26 | /** 27 | * Check if extension migration is supported. 28 | * 29 | * @return boolean 30 | * @since 1.2.3 31 | */ 32 | protected function detectExtension() 33 | { 34 | return true; 35 | } 36 | 37 | /** 38 | * Migrate tables 39 | * 40 | * @return boolean 41 | * @since 1.2.3 42 | */ 43 | public function migrateExtensionCustom() 44 | { 45 | return true; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /trunk/admin/languages/nb-NO.com_jupgrade.ini: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # jUpgrade 3 | # Copyright (C) 2005 - 2010 Matias Aguirre. All rights reserved. 4 | # Copyright (C) Translation 2011 Rune Rasmussen - Joomla! i Norge. 5 | # License GNU/GPL 6 | # Note : All ini files need to be saved as UTF-8 - No BOM 7 | 8 | ADMINISTRATOR=Administrator 9 | AND=og 10 | CHECKING...=Sjekker … 11 | COMING SOON=KOMMER SNART 12 | DECOMPRESSING PACKAGE...=Pakker ut … 13 | DISTRIBUTION=Distribusjon 14 | DOWNLOADING JOOMLA 1.6...=Laster ned Joomla 1.6 … 15 | INSTALLING JOOMLA 1.6...=Installerer Joomla 1.6 … 16 | JOOMLA 1.6 UPGRADE FINISHED!=Oppdatering til Joomla 1.6 er fullført! 17 | NO=Nei 18 | PREPARING FOR CHECK...=Forbereder sjekk … 19 | PREPARING FOR MIGRATION...=Forbereder migrering … 20 | SITE=Side 21 | SKIP DECOMPRESS=Hopp over utpakking 22 | SKIP DOWNLOAD=Hopp over nedlasting 23 | START UPGRADE=START OPPDATERING 24 | UPGRADING 3RD EXTENSIONS...=Oppdaterer tredjepartsutvidelser … 25 | UPGRADING PROGRESS...=Oppdateringsfremdrift … 26 | UPGRADING TEMPLATES...=Oppdaterer desinmaler … 27 | YES=Ja 28 | YOU CAN CHECK YOUR NEW SITE HERE=Du kan se din nye side her 29 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_comment.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | // Check to ensure this file is within the rest of the framework 15 | defined('JPATH_BASE') or die(); 16 | 17 | /** 18 | * jUpgrade class for Virtuemart migration 19 | * 20 | * This class migrates the Adminpraise extension 21 | * 22 | * @since 1.2.0 23 | */ 24 | class jUpgradeComponentComment extends jUpgradeExtensions 25 | { 26 | /** 27 | * Check if extension migration is supported. 28 | * 29 | * @return boolean 30 | * @since 1.2.0 31 | */ 32 | protected function detectExtension() 33 | { 34 | return true; 35 | } 36 | 37 | /** 38 | * Migrate tables 39 | * 40 | * @return boolean 41 | * @since 1.2.0 42 | */ 43 | public function migrateExtensionCustom() 44 | { 45 | return true; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_breezingforms.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | // Check to ensure this file is within the rest of the framework 14 | defined('JPATH_BASE') or die(); 15 | 16 | /** 17 | * jUpgrade class for Virtuemart migration 18 | * 19 | * This class migrates the Adminpraise extension 20 | * 21 | * @since 1.2.0 22 | */ 23 | class jUpgradeComponentFacileforms extends jUpgradeExtensions 24 | { 25 | /** 26 | * Check if extension migration is supported. 27 | * 28 | * @return boolean 29 | * @since 1.2.0 30 | */ 31 | protected function detectExtension() 32 | { 33 | return true; 34 | } 35 | 36 | /** 37 | * Migrate tables 38 | * 39 | * @return boolean 40 | * @since 1.2.0 41 | */ 42 | public function migrateExtensionCustom() 43 | { 44 | return true; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_community.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | // Check to ensure this file is within the rest of the framework 15 | defined('JPATH_BASE') or die(); 16 | 17 | /** 18 | * jUpgrade class for Community migration 19 | * 20 | * This class migrates the Community extension 21 | * 22 | * @since 1.2.3 23 | */ 24 | class jUpgradeComponentCommunity extends jUpgradeExtensions 25 | { 26 | /** 27 | * Check if extension migration is supported. 28 | * 29 | * @return boolean 30 | * @since 1.2.3 31 | */ 32 | protected function detectExtension() 33 | { 34 | return true; 35 | } 36 | 37 | /** 38 | * Migrate tables 39 | * 40 | * @return boolean 41 | * @since 1.2.3 42 | */ 43 | public function migrateExtensionCustom() 44 | { 45 | return true; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_flippingbook.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | // Check to ensure this file is within the rest of the framework 15 | defined('JPATH_BASE') or die(); 16 | 17 | /** 18 | * jUpgrade class for Flippingbook migration 19 | * 20 | * This class migrates the JCE extension 21 | * 22 | * @since 1.1.0 23 | */ 24 | class jUpgradeComponentFlippingbook extends jUpgradeExtensions 25 | { 26 | /** 27 | * Check if extension migration is supported. 28 | * 29 | * @return boolean 30 | * @since 1.1.0 31 | */ 32 | protected function detectExtension() 33 | { 34 | return true; 35 | } 36 | 37 | /** 38 | * Migrate tables 39 | * 40 | * @return boolean 41 | * @since 1.1.0 42 | */ 43 | public function migrateExtensionCustom() 44 | { 45 | return true; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_redmember.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | // Check to ensure this file is within the rest of the framework 15 | defined('JPATH_BASE') or die(); 16 | 17 | /** 18 | * jUpgrade class for RedMember migration 19 | * 20 | * This class migrates the RedMember extension 21 | * 22 | * @since 1.2.3 23 | */ 24 | class jUpgradeComponentRedMember extends jUpgradeExtensions 25 | { 26 | /** 27 | * Check if extension migration is supported. 28 | * 29 | * @return boolean 30 | * @since 1.2.3 31 | */ 32 | protected function detectExtension() 33 | { 34 | return true; 35 | } 36 | 37 | /** 38 | * Migrate tables 39 | * 40 | * @return boolean 41 | * @since 1.2.3 42 | */ 43 | public function migrateExtensionCustom() 44 | { 45 | return true; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /trunk/admin/languages/it-IT.com_jupgrade.ini: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # jUpgrade 3 | # Copyright (C) 2005 - 2010 Matias Aguirre. All rights reserved. 4 | # License GNU/GPL 5 | # Note : All ini files need to be saved as UTF-8 - No BOM 6 | 7 | ADMINISTRATOR=Amministrazione 8 | AND=Y 9 | CHECKING...=Verifica... 10 | COMING SOON=MOLTO PRESTO 11 | DECOMPRESSING PACKAGE...=Decompressione del pacchetto... 12 | DISTRIBUTION=Distribuzione 13 | DOWNLOADING JOOMLA 1.6...=Scaricamento di Joomla 1.6... 14 | INSTALLING JOOMLA 1.6...=Installazione di Joomla 1.6... 15 | JOOMLA 1.6 UPGRADE FINISHED!=Aggiornamento di Joomla 1.6 completato! 16 | NO=No 17 | PREPARING FOR CHECK...=Preparazione alle verifiche... 18 | PREPARING FOR MIGRATION...=Preparazione alla migrazione... 19 | SITE=Sito 20 | SKIP DECOMPRESS=Saltare la decompressione? 21 | SKIP DOWNLOAD=Saltare il download? 22 | START UPGRADE=INIZIO MIGRAZIONE 23 | UPGRADING 3RD EXTENSIONS...=Aggiornamento estensioni di terze parti... 24 | UPGRADING PROGRESS...=Processo di aggiornamento... 25 | UPGRADING TEMPLATES...=Aggiornamento dei modelli... 26 | YES=Si 27 | YOU CAN CHECK YOUR NEW SITE HERE=È possibile visitare il nuovo sito qui 28 | -------------------------------------------------------------------------------- /trunk/admin/languages/de-DE.com_jupgrade.ini: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # jUpgrade 3 | # Copyright (C) 2005 - 2010 Matias Aguirre. All rights reserved. 4 | # License GNU/GPL 5 | # Note : All ini files need to be saved as UTF-8 - No BOM 6 | # Translated by Niko Winckel - www.nik-o-mat.de 7 | 8 | ADMINISTRATOR=Administration 9 | AND=und 10 | CHECKING...=Prüfe... 11 | COMING SOON=Kommt bald 12 | DECOMPRESSING PACKAGE...=Entpacke Paket... 13 | DISTRIBUTION=Distribution 14 | DOWNLOADING JOOMLA 1.6...=Lade Joomla 1.6 herunter... 15 | INSTALLING JOOMLA 1.6...=Installiere Joomla 1.6... 16 | JOOMLA 1.6 UPGRADE FINISHED!=Joomla 1.6 Upgrade Abgeschlossen! 17 | NO=Nein 18 | PREPARING FOR CHECK...=Bereite Prüfung vor... 19 | PREPARING FOR MIGRATION...=Bereite für Migration vor... 20 | SITE=Seite 21 | SKIP DECOMPRESS=Auspacken überspringen 22 | SKIP DOWNLOAD=Download überspringen 23 | START UPGRADE=Upgrade starten 24 | UPGRADING 3RD EXTENSIONS...=Aktualisiere Erweiterungen von Drittanbietern... 25 | UPGRADING PROGRESS...=Aktualisierungsprozess läuft... 26 | UPGRADING TEMPLATES...=Aktualisiere Templates... 27 | YES=Ja 28 | YOU CAN CHECK YOUR NEW SITE HERE=Sie können Ihre neue Seite hier anschauen 29 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_rsgallery2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | RSGallery2 for Joomla 1.7 5 | 6 | http://anonymous:@joomlacode.org/svn/joomla/development/branches/jupgrade/extensions/rsgallery2/rsgallery2.collection.xml 7 | 8 | 9 | 10 | http://joomlacode.org/gf/download/frsrelease/14893/64924/com_rsgallery2_v3RC1.zip 11 | 12 | 13 | 14 | 15 | rsgallery2_acl
16 | rsgallery2_comments
17 | rsgallery2_config
18 | rsgallery2_files
19 | rsgallery2_galleries
20 |
21 | 22 | 23 | 24 | images/rsgallery/display 25 | images/rsgallery/original 26 | images/rsgallery/thumb 27 | images/rsgallery/watermarked 28 | 29 | 30 | 31 |
32 | -------------------------------------------------------------------------------- /trunk/admin/languages/el-GR.com_jupgrade.ini: -------------------------------------------------------------------------------- 1 | # $Id: en-GB.com_jupgrade.ini 14401 2010-01-26 14:10:00Z alakentu $ 2 | # jUpgrade 3 | # Copyright (C) 2005 - 2010 Matias Aguirre. All rights reserved. 4 | # License GNU/GPL 5 | # Note : All ini files need to be saved as UTF-8 - No BOM 6 | 7 | DISTRIBUTION=Διανομή 8 | SKIP DOWNLOAD=Παράβλεψη λήψης 9 | SKIP DECOMPRESS=Παράβλεψη αποσυμπίεσης 10 | NO=Όχι 11 | YES=Ναι 12 | START UPGRADE=ΕΚΚΙΝΗΣΗ ΑΝΑΒΑΒΘΜΙΣΗΣ 13 | CHECKING...=Γίνεται έλεγχος... 14 | PREPARING FOR CHECK...=Προετοιμασία για έλεγχο... 15 | DOWNLOADING JOOMLA 1.6...=Λήψη του Joomla 1.6... 16 | DECOMPRESSING PACKAGE...=Αποσυμπίεση πακέτου... 17 | INSTALLING JOOMLA 1.6...=Εγκατάσταση του Joomla 1.6... 18 | UPGRADING PROGRESS...=Εξέλιξη αναβάθμισης... 19 | PREPARING FOR MIGRATION...=Προετοιμασία για μετάβαση... 20 | UPGRADING TEMPLATES...=Αναβάθμιση προτύπων... 21 | UPGRADING 3RD EXTENSIONS...=Αναβάθμιση επεκτάσεων τρίτων... 22 | COMING SOON=ΠΡΟΣΕΧΩΣ 23 | JOOMLA 1.6 UPGRADE FINISHED!=Η Αναβάθμιση σε Joomla 1.6 Ολοκληρώθηκε! 24 | YOU CAN CHECK YOUR NEW SITE HERE=Μπορείτε να ελέγξετε την νέα σας σελίδα εδώ 25 | AND=Και 26 | SITE=Σελίδα 27 | ADMINISTRATOR=Διαχειριστής 28 | -------------------------------------------------------------------------------- /trunk/admin/admin.jupgrade.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | // No direct access. 15 | defined('_JEXEC') or die; 16 | 17 | // Require the base controller 18 | require_once JPATH_COMPONENT.'/controller.php' ; 19 | 20 | // Require specific controller if requested 21 | $controller = JRequest::getVar('controller', 'cpanel'); 22 | $task = JRequest::getVar('task'); 23 | 24 | if ($controller) { 25 | $path = JPATH_COMPONENT.'/controllers/'.$controller.'.php'; 26 | 27 | if (file_exists($path)) { 28 | require_once $path; 29 | } 30 | else { 31 | $controller = 'cpanel'; 32 | } 33 | } 34 | 35 | // Create the controller 36 | $classname = 'jupgradeController'.$controller; 37 | $controller = new $classname( ); 38 | 39 | // Perform the Request task 40 | $controller->execute( $task ); 41 | 42 | // Redirect if set by the controller 43 | $controller->redirect(); 44 | -------------------------------------------------------------------------------- /trunk/admin/includes/defines.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | // no direct access 15 | defined('_JEXEC') or die; 16 | 17 | $directory = $_GET['directory']; 18 | 19 | define('JPATH_ROOT', dirname(dirname(dirname(dirname(JPATH_BASE))))); 20 | define('JPATH_SITE', JPATH_ROOT.DS.$directory); 21 | define('JPATH_CONFIGURATION', JPATH_ROOT.DS.$directory); 22 | define('JPATH_ADMINISTRATOR', JPATH_ROOT.DS.$directory.DS.'administrator'); 23 | define('JPATH_XMLRPC', JPATH_ROOT.DS.$directory.DS.'xmlrpc'); 24 | define('JPATH_LIBRARIES', JPATH_ROOT.DS.$directory.DS.'libraries'); 25 | define('JPATH_PLUGINS', JPATH_ROOT.DS.$directory.DS.'plugins' ); 26 | define('JPATH_INSTALLATION', JPATH_ROOT.DS.$directory.DS.'installation'); 27 | define('JPATH_THEMES' , JPATH_BASE.DS.$directory.DS.'templates'); 28 | define('JPATH_CACHE', JPATH_BASE.DS.$directory.DS.'cache'); 29 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_acesef.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | AceSEF for Joomla 2.5 5 | 6 | 7 | 8 | acesef_bookmarks
9 | acesef_bookmarks_backup
10 | acesef_extensions
11 | acesef_extensions_backup
12 | acesef_ilinks
13 | acesef_ilinks_backup
14 | acesef_metadata
15 | acesef_metadata_backup
16 | acesef_sitemap
17 | acesef_sitemap_backup
18 | acesef_tags
19 | acesef_tags_backup
20 | acesef_tags_map
21 | acesef_tags_map_backup
22 | acesef_urls
23 | acesef_urls_backup
24 | acesef_urls_moved
25 | acesef_urls_moved_backup
26 |
27 | 28 | 33 | 34 | 39 | 40 |
-------------------------------------------------------------------------------- /trunk/admin/languages/ro-RO.com_jupgrade.ini: -------------------------------------------------------------------------------- 1 | # $Id: en-GB.com_jupgrade.ini 20605 2011-02-08 00:25:11Z eddieajau $ 2 | # jUpgrade 3 | # Copyright (C) 2005 - 2010 Matias Aguirre. All rights reserved. 4 | # License GNU/GPL 5 | # Note : All ini files need to be saved as UTF-8 - No BOM 6 | 7 | J_USE_PHP5="You cannot use this extension or Joomla 1.6 because your version of PHP is out of date. Contact your host to about upgrading to PHP 5.2.4." 8 | 9 | ADMINISTRATOR=Administrare 10 | AND=Si 11 | CHECKING...=Verific... 12 | COMING SOON=In Curand 13 | DECOMPRESSING PACKAGE...=Dezarhivare pachet... 14 | DISTRIBUTION=Distributie 15 | DOWNLOADING JOOMLA 1.6...=Descarcare Joomla 1.6... 16 | INSTALLING JOOMLA 1.6...=Instalare Joomla 1.6... 17 | JOOMLA 1.6 UPGRADE FINISHED!=Actualizare Joomla 1.6 Finalizata ! 18 | NO=Nu 19 | PREPARING FOR CHECK...=Pregatire pentru verificare... 20 | PREPARING FOR MIGRATION...=Pregatire pentru migrare... 21 | SITE=Site 22 | SKIP DECOMPRESS=Sari peste Dezarhivare 23 | SKIP DOWNLOAD=Sari peste Descarcare 24 | START UPGRADE=PORNESTE ACTUALIZARE 25 | UPGRADING 3RD EXTENSIONS...=Actualizare extensiile 3rd... 26 | UPGRADING PROGRESS...=Progres Actualizare... 27 | UPGRADING TEMPLATES...=Actualizare Tema... 28 | YES=Da 29 | YOU CAN CHECK YOUR NEW SITE HERE=Poti verifica noul Site aici 30 | -------------------------------------------------------------------------------- /trunk/admin/languages/pt-BR.com_jupgrade.ini: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # jUpgrade 3 | # Copyright (C) 2005 - 2010 Matias Aguirre. All rights reserved. 4 | # License GNU/GPL 5 | # Note : All ini files need to be saved as UTF-8 - No BOM 6 | # Translate: gnumax at gmail dot com 7 | 8 | J_USE_PHP5="Você não pode usar esta extensão ou Joomla 1.6 porque a versão do PHP está desatualizada. Contate com seu Hosting para atualizar seu PHP à versão 5.2.4" 9 | 10 | ADMINISTRATOR=Administração 11 | AND=e 12 | CHECKING...=Verificando... 13 | COMING SOON=EM BREVE 14 | DECOMPRESSING PACKAGE...=Descomprimindo Pacote... 15 | DISTRIBUTION=Distribuição 16 | DOWNLOADING JOOMLA 1.6...=Baixando Joomla 1.6... 17 | INSTALLING JOOMLA 1.6...=Instalando Joomla! 1.6... 18 | JOOMLA 1.6 UPGRADE FINISHED!=Atualização Joomla! 1.6 Terminada! 19 | NO=Não 20 | PREPARING FOR CHECK...=Preparando para verificação... 21 | PREPARING FOR MIGRATION...=Preparando-se para migração... 22 | SITE=Site 23 | SKIP DECOMPRESS=Passar Descompressão 24 | SKIP DOWNLOAD=Passar Download 25 | START UPGRADE=INICIAR MIGRAÇÃO 26 | UPGRADING 3RD EXTENSIONS...=Atualizando Extensões de 3ras Partes... 27 | UPGRADING PROGRESS...=Processo de Atualização... 28 | UPGRADING TEMPLATES...=Atualizando Planilhas... 29 | YES=Sim 30 | YOU CAN CHECK YOUR NEW SITE HERE=Você pode conferir o novo site aqui 31 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_flexicontent.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | FLEXIcontent for Joomla 2.5 5 | 6 | 7 | 8 | flexicontent_cats_item_relations
9 | flexicontent_favourites
10 | flexicontent_fields
11 | flexicontent_fields_item_relations
12 | flexicontent_fields_type_relations
13 | flexicontent_files
14 | flexicontent_items_ext
15 | flexicontent_items_extravote
16 | flexicontent_items_versions
17 | flexicontent_tags
18 | flexicontent_tags_item_relations
19 | flexicontent_templates
20 | flexicontent_types
21 | flexicontent_versions
22 |
23 | 24 | 25 | 26 | components/com_flexicontent/uploads 27 | components/com_flexicontent/medias 28 | components/com_flexicontent/templates 29 | 30 | 31 | 32 | 37 |
38 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_allevents.php: -------------------------------------------------------------------------------- 1 | 8 | * @author Christophe Avonture 9 | * @link http://avonture.be/allevents/christophe-avonture 10 | */ 11 | 12 | // Check to ensure this file is within the rest of the framework 13 | defined('JPATH_BASE') or die(); 14 | 15 | /** 16 | * jUpgrade class for AllEvents migration 17 | * 18 | * This class migrates the AllEvents extension 19 | * 20 | * @since 1.1.0 21 | */ 22 | class jUpgradeComponentAllEvents extends jUpgradeExtensions { 23 | 24 | /** 25 | * Check if extension migration is supported. 26 | * 27 | * @return boolean 28 | * @since 1.1.0 29 | */ 30 | protected function detectExtension() { 31 | // Detect if AllEvents is installed 32 | return file_exists(JPATH_ROOT.DS.'administrator/components/com_allevents/admin.allevents.php'); 33 | } 34 | /** 35 | * Migrate tables 36 | * 37 | * @return boolean 38 | * @since 1.1.0 39 | */ 40 | public function migrateExtensionCustom() { 41 | return true; 42 | } 43 | } 44 | 45 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_breezingforms.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | BreezingForms for Joomla 1.7 5 | 6 | http://anonymous:@joomlacode.org/svn/joomla/development/branches/jupgrade/extensions/facileforms/facileforms.collection.xml 7 | 8 | 9 | 10 | facileforms_compmenus
11 | facileforms_config
12 | facileforms_elements
13 | facileforms_forms
14 | facileforms_integrator_criteria_fixed
15 | facileforms_integrator_criteria_form
16 | facileforms_integrator_criteria_joomla
17 | facileforms_integrator_items
18 | facileforms_integrator_rules
19 | facileforms_packages
20 | facileforms_pieces
21 | facileforms_records
22 | facileforms_scripts
23 | facileforms_subrecords
24 |
25 | 26 | 30 | 31 | 35 |
36 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_kunena.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | administrator/components/com_kunena 7 | components/com_kunena 8 | media/kunena 9 | 10 | 11 | 12 | 13 | 14 | plg_system_kunena 15 | 16 | 17 | mod_kunenalatest 18 | 19 | 20 | mod_kunenalogin 21 | 22 | 23 | mod_kunenasearch 24 | 25 | 26 | mod_kunenastats 27 | 28 | 29 | plg_community_kunenagroups 30 | 31 | 32 | plg_community_kunenamenu 33 | 34 | 35 | plg_community_mykunena 36 | 37 | 38 | plg_jxfinder_kunena 39 | 40 | 41 | plg_system_kunenadiscuss 42 | 43 | 44 | plg_search_kunenasearch 45 | 46 | 47 | com_kunenaimporter 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /trunk/admin/languages/hu-HU.com_jupgrade.ini: -------------------------------------------------------------------------------- 1 | # $Id: hu-HU.com_jupgrade.ini 20605 2011-02-08 00:25:11Z zvaranka $ 2 | # jUpgrade 3 | # Copyright (C) 2005 - 2010 Matias Aguirre. All rights reserved. 4 | # License GNU/GPL 5 | # Note : All ini files need to be saved as UTF-8 - No BOM 6 | 7 | ADMINISTRATOR=Adminisztrációs felület 8 | AND=És 9 | CHECKING...=Ellenőrzés... 10 | COMING SOON=HAMAROSAN 11 | DECOMPRESSING PACKAGE...=Csomag kitömörítése... 12 | DISTRIBUTION=Disztribúció 13 | DOWNLOADING JOOMLA 1.6...=Joomla 1.6 letöltése... 14 | INSTALLING JOOMLA 1.6...=Joomla 1.6 telepítése... 15 | JOOMLA 1.6 UPGRADE FINISHED!=A Joomla 1.6 verzióra áttérés befejeződött! 16 | J_USE_PHP5="Nem használható sem ez a bővítmény sem a Joomla 1.6, mert a PHP verzió elavult. Fel kell venni a kapcsolatot a szolgáltatóval a PHP 5.2.4 verzióra frissítés érdekében." 17 | NO=Nem 18 | PREPARING FOR CHECK...=Felkészülés az ellenőrzésre... 19 | PREPARING FOR MIGRATION...=Felkészülés a migrálásra... 20 | SITE=Webes felület 21 | SKIP DECOMPRESS=Kitömörítés átlépése 22 | SKIP DOWNLOAD=Letöltés átlépése 23 | START UPGRADE=MŰVELET INDÍTÁSA 24 | UPGRADING 3RD EXTENSIONS...=Külső bővítmények frissítése... 25 | UPGRADING PROGRESS...=Műveletek végrehajtása... 26 | UPGRADING TEMPLATES...=Sablonok frissítése... 27 | YES=Igen 28 | YOU CAN CHECK YOUR NEW SITE HERE=Az új webhely ellenőrzése 29 | -------------------------------------------------------------------------------- /trunk/admin/languages/et-EE.com_jupgrade.ini: -------------------------------------------------------------------------------- 1 | # $Id: et-EE.com_jupgrade.ini 20605 2011-02-22 13:33:11Z Eraser $ 2 | # jUpgrade 3 | # Copyright (C) 2005 - 2010 Matias Aguirre. All rights reserved. 4 | # License GNU/GPL 5 | # Note : All ini files need to be saved as UTF-8 - No BOM 6 | 7 | J_USE_PHP5="Sa ei saa kasutada seda lisaprogrammi või Joomla versiooni 1.6 kuna sinu PHP versioon pole ajakohane. Võta ühendust oma veebiteenuse pakkujaga ning uuri PHP versioonile 5.2.4 uuendamise võimaluse kohta." 8 | 9 | ADMINISTRATOR=Admin 10 | AND=Ja 11 | CHECKING...=Kontrollimine... 12 | COMING SOON=TULEMAS VARSTI 13 | DECOMPRESSING PACKAGE...=Paki lahtipakkimine... 14 | DISTRIBUTION=Distributsioon 15 | DOWNLOADING JOOMLA 1.6...=Joomla 1.6 allalaadimine... 16 | INSTALLING JOOMLA 1.6...=Joomla 1.6 paigaldamine... 17 | JOOMLA 1.6 UPGRADE FINISHED!=Joomla 1.6-le uuendamine on lõpetatud! 18 | NO=Ei 19 | PREPARING FOR CHECK...=Valmistumine kontrolliks... 20 | PREPARING FOR MIGRATION...=Valmistumine uuendamiseks... 21 | SITE=Sait 22 | SKIP DECOMPRESS=Jäta lahtipakkimine vahele 23 | SKIP DOWNLOAD=Jäta allalaadmine vahele 24 | START UPGRADE=ALUSTA UUENDAMIST 25 | UPGRADING 3RD EXTENSIONS...=Lisaprogrammide uuendamine... 26 | UPGRADING PROGRESS...=Uuendamise edenemine... 27 | UPGRADING TEMPLATES...=Kujunduste uuendamine... 28 | YES=Jah 29 | YOU CAN CHECK YOUR NEW SITE HERE=Sa saad vaadata oma uut saiti siit -------------------------------------------------------------------------------- /trunk/admin/languages/pl-PL.com_jupgrade.ini: -------------------------------------------------------------------------------- 1 | # $Id: pl-PL.com_jupgrade.ini 20605 2011-02-15 00:25:11Z eddieajau $ 2 | # jUpgrade 3 | # Copyright (C) 2005 - 2010 Matias Aguirre. All rights reserved. 4 | # License GNU/GPL 5 | # Note : All ini files need to be saved as UTF-8 - No BOM 6 | # Translated by Bartosz KOWA - eter.kowa.pl 7 | 8 | J_USE_PHP5="Nie możesz użyć tego rozszerzenia ponieważ Twoja wersja PHP jest przestarzała. Skontaktuj się ze swoim operatorem hostingowym w sprawie aktualizacji PHP do wersji co najmniej 5.2.4." 9 | 10 | ADMINISTRATOR=Admin 11 | AND=i 12 | CHECKING...=Sprawdzam... 13 | COMING SOON=JUŻ WKRÓTCE 14 | DECOMPRESSING PACKAGE...=Rozpakowywanie... 15 | DISTRIBUTION=Dystrybutor 16 | DOWNLOADING JOOMLA 1.6...=Pobieranie Joomla 1.6... 17 | INSTALLING JOOMLA 1.6...=Instalowanie Joomla 1.6... 18 | JOOMLA 1.6 UPGRADE FINISHED!=Migracja do Joomla 1.6 ukończona! 19 | NO=Nie 20 | PREPARING FOR CHECK...=Przygotowanie do sprawdzenia... 21 | PREPARING FOR MIGRATION...=Przygotowanie do migracji... 22 | SITE=Strona 23 | SKIP DECOMPRESS=Pomiń rozpakowywanie 24 | SKIP DOWNLOAD=Pomiń pobieranie 25 | START UPGRADE=ROZPOCZNIJ MIGRACJĘ 26 | UPGRADING 3RD EXTENSIONS...=Migracja rozszerzeń trzecich... 27 | UPGRADING PROGRESS...=Trwa przenoszenie... 28 | UPGRADING TEMPLATES...=Przenoszenie templetki... 29 | YES=Tak 30 | YOU CAN CHECK YOUR NEW SITE HERE=Rezultat poznasz tutaj 31 | -------------------------------------------------------------------------------- /trunk/admin/includes/migrate_contacts.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | /** 15 | * Upgrade class for Contacts 16 | * 17 | * This class takes the contacts from the existing site and inserts them into the new site. 18 | * 19 | * @since 0.4.5 20 | */ 21 | class jUpgradeContacts extends jUpgrade 22 | { 23 | /** 24 | * @var string The name of the source database table. 25 | * @since 0.4.5 26 | */ 27 | protected $source = '#__contact_details'; 28 | 29 | /** 30 | * Get the raw data for this part of the upgrade. 31 | * 32 | * @return array Returns a reference to the source data array. 33 | * @since 0.4.5 34 | * @throws Exception 35 | */ 36 | protected function &getSourceData() 37 | { 38 | $rows = parent::getSourceData( 39 | '*', 40 | null, 41 | 'id' 42 | ); 43 | 44 | // Do some custom post processing on the list. 45 | foreach ($rows as &$row) 46 | { 47 | $row['access'] = $row['access'] == 0 ? 1 : $row['access'] + 1; 48 | $row['params'] = $this->convertParams($row['params']); 49 | } 50 | 51 | return $rows; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /trunk/admin/languages/en-GB.com_jupgrade.ini: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # jUpgrade 3 | # Copyright (C) 2005 - 2012 Matias Aguirre. All rights reserved. 4 | # License GNU/GPL 5 | # Note : All ini files need to be saved as UTF-8 - No BOM 6 | 7 | J_USE_PHP5="You cannot use this extension or Joomla 1.6 because your version of PHP is out of date. Contact your host to about upgrading to PHP 5.2.4." 8 | 9 | ADMINISTRATOR=Administrator 10 | AND=And 11 | CHECKING...=Checking... 12 | COMING SOON=COMING SOON 13 | DECOMPRESSING PACKAGE...=Decompressing package... 14 | DISTRIBUTION=Distribution 15 | DOWNLOADING JOOMLA 1.6...=Downloading Joomla 1.6... 16 | DOWNLOADING JOOMLA 1.7...=Downloading Joomla 1.7... 17 | DOWNLOADING MOLAJO...=Downloading Molajo... 18 | INSTALLING JOOMLA 1.6...=Installing Joomla 1.6... 19 | JOOMLA 1.6 UPGRADE FINISHED!=Joomla 1.6 Upgrade Finished! 20 | JOOMLA 1.7 UPGRADE FINISHED!=Joomla 1.7 Upgrade Finished! 21 | MOLAJO UPGRADE FINISHED!=Molajo Upgrade Finished! 22 | NO=No 23 | PREPARING FOR CHECK...=Preparing for check... 24 | PREPARING FOR MIGRATION...=Preparing for migration... 25 | SITE=Site 26 | SKIP DECOMPRESS=Skip Decompress 27 | SKIP DOWNLOAD=Skip Download 28 | START UPGRADE=START UPGRADE 29 | UPGRADING 3RD EXTENSIONS...=Upgrading 3rd extensions... 30 | UPGRADING PROGRESS...=Upgrading progress... 31 | UPGRADING TEMPLATES...=Upgrading templates... 32 | YES=Yes 33 | YOU CAN CHECK YOUR NEW SITE HERE=You can check your new site here 34 | -------------------------------------------------------------------------------- /trunk/admin/languages/fi-FI.com_jupgrade.ini: -------------------------------------------------------------------------------- 1 | # jUpgrade 2 | # Copyright (C) 2005 - 2010 Matias Aguirre. All rights reserved. 3 | # License GNU/GPL 4 | # Note : All ini files need to be saved as UTF-8 - No BOM 5 | 6 | J_USE_PHP5="Et voi käyttää tätä lisäosaa tai Joomla 1.6:sta, koska PHP-versiosi on vanhentunut. Ota yhteyttä palveluntarjoajaasi ja keskustele PHP:n päivittämistä versioon 5.2.4 tai uudempaan." 7 | 8 | ADMINISTRATOR=Ylläpito 9 | AND=ja 10 | CHECKING...=Tarkistetaan... 11 | COMING SOON=PIAN TULOSSA 12 | DECOMPRESSING PACKAGE...=Puretaan pakettia... 13 | DISTRIBUTION=Jakelupaketti 14 | DOWNLOADING JOOMLA 1.6...=Noudetaan Joomla 1.6... 15 | DOWNLOADING JOOMLA 1.7...=Noudetaan Joomla 1.7... 16 | DOWNLOADING MOLAJO...=Noudetaan Molajo... 17 | INSTALLING JOOMLA 1.6...=Asennetaan Joomla 1.6... 18 | JOOMLA 1.6 UPGRADE FINISHED!=Joomla 1.6 päivitys valmis! 19 | JOOMLA 1.7 UPGRADE FINISHED!=Joomla 1.7 päivitys valmis! 20 | MOLAJO UPGRADE FINISHED!=Molajon päivitys valmis! 21 | NO=Ei 22 | PREPARING FOR CHECK...=Valmistellaan tarkistusta... 23 | PREPARING FOR MIGRATION...=Valmistellaan migraatiota... 24 | SITE=Sivusto 25 | SKIP DECOMPRESS=Ohita paketin purku 26 | SKIP DOWNLOAD=Ohita paketin nouto 27 | START UPGRADE=ALOITA PÄIVITYS 28 | UPGRADING 3RD EXTENSIONS...=Päivitetään lisäosia... 29 | UPGRADING PROGRESS...=Päivitys käynnissä... 30 | UPGRADING TEMPLATES...=Päivitetään sivukohjia... 31 | YES=Kyllä 32 | YOU CAN CHECK YOUR NEW SITE HERE=Voit kokeilla uutta sivustoasi täältä 33 | -------------------------------------------------------------------------------- /trunk/admin/languages/th-TH.com_jupgrade.ini: -------------------------------------------------------------------------------- 1 | # $Id: th-TH.com_jupgrade.ini 21691 2011-06-27 02:05:42Z maguirre $ 2 | # jUpgrade 3 | # Author Pisan Chueachatchai 4 | # Copyright (C) 2005 - 2010 Matias Aguirre. All rights reserved. 5 | # License GNU/GPL 6 | # Note : All ini files need to be saved as UTF-8 - No BOM 7 | 8 | J_USE_PHP5="โฮสของคุณไม่สามารถใช้ Joomla 1.6 เพราะ PHP ของคุรเก่าเกินไป กรุณาอัพเกรดโฮสเป็น PHP 5.2.4." 9 | 10 | ADMINISTRATOR=หน้าผู้ดูแล 11 | AND=และ 12 | CHECKING...=ตรวจสอบ... 13 | COMING SOON=เร็วๆนี้ 14 | DECOMPRESSING PACKAGE...=กำลังแตกไฟล์... 15 | DISTRIBUTION=Distribution 16 | DOWNLOADING JOOMLA 1.6...=กำลังดาวน์โหลด จูมล่า 1.6... 17 | DOWNLOADING JOOMLA 1.7...=กำลังดาวน์โหลด จูมล่า 1.7... 18 | DOWNLOADING MOLAJO...=กำลังดาวน์โหลด โมลาโจ... 19 | INSTALLING JOOMLA 1.6...=ติดตั้งจูมล่า 1.6... 20 | JOOMLA 1.6 UPGRADE FINISHED!=อัพเกรดเป็น จูมล่า 1.6 21 | JOOMLA 1.7 UPGRADE FINISHED!=อัพเกรดเป็น จูมล่า 1.7 22 | MOLAJO UPGRADE FINISHED!=อัพเกรดเป็น โมลาโจ 23 | NO=ไม่ 24 | PREPARING FOR CHECK...=การเตรียมความพร้อมสำหรับการตรวจสอบ.. 25 | PREPARING FOR MIGRATION...=การเตรียมการสำหรับการอัพเกรดเ... 26 | SITE=หน้าเว็บ 27 | SKIP DECOMPRESS=ข้ามการแตกไฟล์ 28 | SKIP DOWNLOAD=ข้ามการดาวน์โหลด 29 | START UPGRADE=เริ่มการอัพเกรด 30 | UPGRADING 3RD EXTENSIONS...=อัพเกรดส่วนเสริม... 31 | UPGRADING PROGRESS...=ความคืบหน้าของการอัพเกรด... 32 | UPGRADING TEMPLATES...=กำลังอัพเกรดแทมเพลต... 33 | YES=ใช่ 34 | YOU CAN CHECK YOUR NEW SITE HERE=คุณสามารถตรวจสอบเว็บใหม่ได้ที่นี่ 35 | -------------------------------------------------------------------------------- /trunk/admin/languages/sk-SK.com_jupgrade.ini: -------------------------------------------------------------------------------- 1 | # $Id: sk-SK.com_jupgrade.ini 21691 2011-06-27 02:05:42Z maguirre $ 2 | # jUpgrade 3 | # Copyright (C) 2005 - 2010 Matias Aguirre. All rights reserved. 4 | # License GNU/GPL 5 | # Note : All ini files need to be saved as UTF-8 - No BOM 6 | 7 | J_USE_PHP5="Nemôžete použiť tento doplnok pretože Vaša verzia PHP je zastaralá. Kontaktujte Váš webhosting pre aktualizáciu PHP na verziu PHP 5.2.4 alebo vyššiu." 8 | 9 | ADMINISTRATOR=Administrátor 10 | AND=A 11 | CHECKING...=Kontrolovanie... 12 | COMING SOON=Už čoskoro 13 | DECOMPRESSING PACKAGE...=Rozbaľujem balík... 14 | DISTRIBUTION=Distribúcia 15 | DOWNLOADING JOOMLA 1.6...=Sťahovanie Joomla 1.6... 16 | DOWNLOADING JOOMLA 1.7...=Sťahovanie Joomla 1.7... 17 | DOWNLOADING MOLAJO...=Sťahovanie Molajo... 18 | INSTALLING JOOMLA 1.6...=Inštalujem Joomla 1.6... 19 | INSTALLING JOOMLA 1.7...=Inštalujem Joomla 1.7... 20 | JOOMLA 1.6 UPGRADE FINISHED!=Upgrade na Joomla 1.6 dokončené! 21 | JOOMLA 1.7 UPGRADE FINISHED!=Upgrade na Joomla 1.7 dokončené! 22 | MOLAJO UPGRADE FINISHED!=Upgrade Molajo dokončené! 23 | NO=Nie 24 | PREPARING FOR CHECK...=Pripravený pre kontrolu... 25 | PREPARING FOR MIGRATION...=Pripravený pre migráciu... 26 | SITE=Stránka 27 | SKIP DECOMPRESS=Preskočiť rozbaľovanie 28 | SKIP DOWNLOAD=Preskočiť sťahovanie 29 | START UPGRADE=ZAČAŤ AKTUALIZÁCIU 30 | UPGRADING 3RD EXTENSIONS...=Aktualizácia doplnkov... 31 | UPGRADING PROGRESS...=Proces aktualizácie... 32 | UPGRADING TEMPLATES...=Aktualizácia tém... 33 | YES=Áno 34 | YOU CAN CHECK YOUR NEW SITE HERE=Tu si môžete skontrolovať Vašu novú stránku 35 | -------------------------------------------------------------------------------- /trunk/admin/languages/zh-TW.com_jupgrade.ini: -------------------------------------------------------------------------------- 1 | # $Id: zh-TW.com_jupgrade.ini 2011-03-25 $ 2 | # jUpgrade 3 | # Copyright (C) 2005 - 2010 Matias Aguirre. All rights reserved. 4 | # License GNU/GPL 5 | # Traditional Chinese Translated: A-Bo Kuo (abokuo [at] gmail [dot] com) 6 | # Note : All ini files need to be saved as UTF-8 - No BOM 7 | 8 | J_USE_PHP5="您無法使用這個擴充套件或是 Joomla! 1.6 因為您的 PHP 版本過舊,請聯絡您的主機管理者將 PHP 升級成 5.2.4 或更新版本。" 9 | 10 | ADMINISTRATOR=系統管理(後台) 11 | AND=和 12 | CHECKING...=確認中... 13 | COMING SOON=即將推出 14 | DECOMPRESSING PACKAGE...=解壓縮套件中... 15 | GLOBAL=全域設定 16 | DISTRIBUTION=套件名稱 17 | TARGET DIRECTORY=目標目錄 18 | PREFIX FOR OLD DATABASE=舊有資料庫前綴字 19 | PREFIX FOR NEW DATABASE=新資料庫前綴字 20 | DOWNLOADING JOOMLA 1.6...=下載 Joomla! 1.6 中... 21 | DOWNLOADING JOOMLA 1.7...=下載 Joomla! 1.7 中... 22 | DOWNLOADING MOLAJO...=正在下載 Molajo... 23 | INSTALLING JOOMLA 1.6...=安裝 Joomla 1.6 中... 24 | JOOMLA 1.6 UPGRADE FINISHED!=升級 Joomla! 1.6 完成! 25 | JOOMLA 1.7 UPGRADE FINISHED!=升級 Joomla! 1.7 完成! 26 | MOLAJO UPGRADE FINISHED!=升級至 Molajo 完成! 27 | NO=否 28 | PREPARING FOR CHECK...=進行確認前準備... 29 | PREPARING FOR MIGRATION...=進行轉移前準備... 30 | SITE=網站(前台) 31 | SKIPS=省略執行動作 32 | SKIP CHECKS=省略檢查動作 33 | SKIP DOWNLOAD=省略檔案下載 34 | SKIP DECOMPRESS=省略解壓縮動作 35 | SKIP TEMPLATES COPY=省略佈景主題複製動作 36 | SKIP 3RD PARTY EXTENSIONS=省略第三方擴充套件轉換動作 37 | START UPGRADE=開始升級 38 | UPGRADING 3RD EXTENSIONS...=升級第三方擴充套件... 39 | UPGRADING PROGRESS...=升級動作進行中... 40 | UPGRADING TEMPLATES...=升級佈景主題中... 41 | YES=是 42 | YOU CAN CHECK YOUR NEW SITE HERE=您可在此確認新網站內容 43 | TEMPLATES=佈景主題 44 | KEEP ORIGINAL POSITIONS?=保持原有的位置設定? 45 | DEBUG=除錯設定 46 | ENABLE DEBUG=啟動程式除錯程序 -------------------------------------------------------------------------------- /trunk/admin/languages/sv-SE.com_jupgrade.ini: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | # jUpgrade 3 | # Copyright (C) 2005 - 2010 Matias Aguirre. All rights reserved. 4 | # License GNU/GPL 5 | # Note : All ini files need to be saved as UTF-8 - No BOM 6 | # @author JOKR Solutions - http://www.jokrsolutions.se 7 | J_USE_PHP5="Du kan inte använda detta tillägg, du kan inte använda Joomla 1.6 heller då PHP-versionen på din server är för gammal. Kontakta ditt webbhotell så att de uppdaterar till PHP 5.2.4 eller högre." 8 | 9 | ADMINISTRATOR=Administrator 10 | AND=och 11 | CHECKING...=Kontrollerar... 12 | COMING SOON=Kommer snart 13 | DECOMPRESSING PACKAGE...=Dekomprimerar paket... 14 | DISTRIBUTION=Distribution 15 | DOWNLOADING JOOMLA 1.6...=Laddar ner Joomla 1.6... 16 | DOWNLOADING JOOMLA 1.7...=Laddar ner Joomla 1.7... 17 | DOWNLOADING MOLAJO...=Laddar ner Molajo... 18 | INSTALLING JOOMLA 1.6...=Installerar Joomla 1.6... 19 | JOOMLA 1.6 UPGRADE FINISHED!=Uppgradering till Joomla 1.6 slutfördes! 20 | JOOMLA 1.7 UPGRADE FINISHED!=Uppgradering till Joomla 1.7 slutfördes! 21 | MOLAJO UPGRADE FINISHED!=Uppgradering av Molajo slutfördes! 22 | NO=Nej 23 | PREPARING FOR CHECK...=Förbereder för kontroll... 24 | PREPARING FOR MIGRATION...=Förbereder för migration... 25 | SITE=Sida 26 | SKIP DECOMPRESS=Hoppa över dekomprimering 27 | SKIP DOWNLOAD=Hoppa över nedladdning 28 | START UPGRADE=Starta uppgradering 29 | UPGRADING 3RD EXTENSIONS...=Uppgraderat tredjeparts tillägg... 30 | UPGRADING PROGRESS...=Pågående uppgradering... 31 | UPGRADING TEMPLATES...=Uppgraderar mall... 32 | YES=Ja 33 | YOU CAN CHECK YOUR NEW SITE HERE=Du kan kontrollera din nya sida här 34 | -------------------------------------------------------------------------------- /trunk/admin/languages/ru-RU.com_jupgrade.ini: -------------------------------------------------------------------------------- 1 | # $Id: en-GB.com_jupgrade.ini 21691 2011-06-27 02:05:42Z maguirre $ 2 | # jUpgrade 3 | # Copyright (C) 2005 - 2010 Matias Aguirre. All rights reserved. 4 | # License GNU/GPL 5 | # Note : All ini files need to be saved as UTF-8 - No BOM 6 | 7 | J_USE_PHP5="На сервере, которым Вы пользуетесь установлена устаревшая версия PHP-интерпретатора, поэтому использовать ни Joomla 1.6, ни данное расширение невозможно. Обратитесь к Вашему хостинг-провайдеру по поводу его обновления до версии 5.2.4." 8 | 9 | ADMINISTRATOR=Администратор 10 | AND=И 11 | CHECKING...=Проверка... 12 | COMING SOON=Доступно в скором времени 13 | DECOMPRESSING PACKAGE...=Распаковка архива... 14 | DISTRIBUTION=Дистрибутив 15 | DOWNLOADING JOOMLA 1.6...=Загрузка Joomla 1.6... 16 | DOWNLOADING JOOMLA 1.7...=Загрузка Joomla 1.7... 17 | DOWNLOADING MOLAJO...=Загрузка Molajo... 18 | INSTALLING JOOMLA 1.6...=Installing Joomla 1.6... 19 | JOOMLA 1.6 UPGRADE FINISHED!=Обновление до Joomla 1.6 завершено 20 | JOOMLA 1.7 UPGRADE FINISHED!=Обновление до Joomla 1.7 завершено 21 | MOLAJO UPGRADE FINISHED!=Обновление (до) Molajo завершено 22 | NO=Нет 23 | PREPARING FOR CHECK...=Подготовка к проверке... 24 | PREPARING FOR MIGRATION...=Подготовка к переходу (миграции)... 25 | SITE=Сайт 26 | SKIP DECOMPRESS=Пропустить распаковку 27 | SKIP DOWNLOAD=Пропустить загрузку 28 | START UPGRADE=Начать обновление 29 | UPGRADING 3RD EXTENSIONS...=Обновление сторонних расширений... 30 | UPGRADING PROGRESS...=Процесс обновления... 31 | UPGRADING TEMPLATES...=Обновление шаблонов... 32 | YES=Да 33 | YOU CAN CHECK YOUR NEW SITE HERE=Переход на обновленный сайт -------------------------------------------------------------------------------- /trunk/admin/languages/nl-NL.com_jupgrade.ini: -------------------------------------------------------------------------------- 1 | # $Id: nl-NL.com_jupgrade.ini 20605 2011-02-18 09:45:11Z marksken58 $ 2 | # jUpgrade 3 | # Copyright (C) 2005 - 2010 Matias Aguirre. All rights reserved. 4 | # License GNU/GPL 5 | # Note : All ini files need to be saved as UTF-8 - No BOM 6 | # Vertaling: Marksken58 - marksken58@gmail.com 7 | 8 | J_USE_PHP5="Je kunt deze extensie van Joomla 1.6 niet gebruiken omdat jouw PHP-versie verouderd is. Neem contact met jouw provider om naar PHP-versie 5.2.4 up te graden." 9 | 10 | JUPGRADE=jUpgrade 11 | VERSION=Versie 12 | DEVELOPED BY=Ontworpen door 13 | LICENSED AS=Licentie 14 | GNU=GNU General Public License v2 15 | PROJECT SITE=Website 16 | PROJECT SUPPORT=Hulp 17 | WANT TO DONATE?=Wil je een schenking doen? 18 | 19 | ADMINISTRATOR=Administrator 20 | AND=EN 21 | CHECKING...=Controleren... 22 | COMING SOON=VOLGT BINNENKORT 23 | DECOMPRESSING PACKAGE...=Uitpakken bestanden... 24 | DISTRIBUTION=Distributie 25 | DOWNLOADING JOOMLA 1.6...=Downloaden Joomla 1.6... 26 | INSTALLING JOOMLA 1.6...=Installatie Joomla 1.6... 27 | JOOMLA 1.6 UPGRADE FINISHED!=De migratie naar Joomla 1.6 is beëindigd! 28 | NO=Nee 29 | PREPARING FOR CHECK...=Voorbereiden controle... 30 | PREPARING FOR MIGRATION...=Voorbereiden migratie... 31 | SITE=Website 32 | SKIP DECOMPRESS=Uitpakken overslaan 33 | SKIP DOWNLOAD=Download overslaan 34 | START UPGRADE=START BIJWERKEN 35 | UPGRADING 3RD EXTENSIONS...=Bijwerken 3rd extensies... 36 | UPGRADING PROGRESS...=Vooruitgang bijwerking... 37 | UPGRADING TEMPLATES...=Bijwerken sjablonen... 38 | YES=Ja 39 | YOU CAN CHECK YOUR NEW SITE HERE=Je kunt jouw nieuwe website hier controleren 40 | -------------------------------------------------------------------------------- /trunk/admin/languages/fr-FR.com_jupgrade.ini: -------------------------------------------------------------------------------- 1 | # $Id: fr-FR.com_jupgrade.ini 14401 2010-01-26 14:10:00Z alakentu $ 2 | # jUpgrade 3 | # Copyright (C) 2005 - 2010 Matias Aguirre. All rights reserved. 4 | # License GNU/GPL 5 | # Note : All ini files need to be saved as UTF-8 - No BOM 6 | # Translated by Olivier BONNER - www.papyweb.fr 7 | 8 | J_USE_PHP5="Vous ne pouvez pas utiliser cette extension ou Joomla 1.6 parce que votre version de PHP est obsolète. Contactez votre hébergeur pour une mise à niveau vers PHP 5.2.4." 9 | 10 | 11 | DISTRIBUTION=Distribution 12 | SKIP DOWNLOAD=Passer le téléchargement 13 | SKIP DECOMPRESS=Passer la décompression 14 | NO=Non 15 | YES=Oui 16 | START UPGRADE=Commencer la mise à jour 17 | CHECKING...=Vérification... 18 | PREPARING FOR CHECK...=Préparation... 19 | DOWNLOADING JOOMLA 1.6...=Téléchargement de Joomla 1.6... 20 | DECOMPRESSING PACKAGE...=Décompression du fichier... 21 | INSTALLING JOOMLA 1.6...=Installation de Joomla 1.6... 22 | UPGRADING PROGRESS...=Mise à jour en cours... 23 | PREPARING FOR MIGRATION...=Préparation de la migration... 24 | UPGRADING TEMPLATES...=Mise à jour des Templates... 25 | UPGRADING 3RD EXTENSIONS...=Mise à jour 3rd extensions... 26 | COMING SOON=Prochainement 27 | JOOMLA 1.6 UPGRADE FINISHED!=La migration vers Joomla 1.6 est terminée! 28 | YOU CAN CHECK YOUR NEW SITE HERE=Vous pouvez voir votre nouveau site ici 29 | AND=et 30 | SITE=Site 31 | ADMINISTRATOR=Administration 32 | 33 | DOWNLOADING JOOMLA 1.7...=Téléchargement de Joomla 1.7... 34 | INSTALLING JOOMLA 1.7...=Installation de Joomla 1.7... 35 | JOOMLA 1.7 UPGRADE FINISHED!=La migration vers Joomla 1.7 est terminée! 36 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_hikashop.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | HikaShop for Joomla 2.5 5 | 6 | 7 | 8 | acymailing_config
9 | hikashop_address
10 | hikashop_banner
11 | hikashop_cart
12 | hikashop_cart_product
13 | hikashop_category
14 | hikashop_characteristic
15 | hikashop_click
16 | hikashop_config
17 | hikashop_currency
18 | hikashop_discount
19 | hikashop_download
20 | hikashop_entry
21 | hikashop_field
22 | hikashop_file
23 | hikashop_filter
24 | hikashop_geolocation
25 | hikashop_history
26 | hikashop_limit
27 | hikashop_order
28 | hikashop_order_product
29 | hikashop_payment
30 | hikashop_price
31 | hikashop_product
32 | hikashop_product_category
33 | hikashop_product_related
34 | hikashop_shipping
35 | hikashop_tax
36 | hikashop_taxation
37 | hikashop_user
38 | hikashop_variant
39 | hikashop_waitlist
40 | hikashop_widget
41 | hikashop_zone
42 | hikashop_zone_link
43 |
44 | 45 | 46 | media/com_hikashop 47 | 48 | 49 |
-------------------------------------------------------------------------------- /trunk/admin/extensions/com_comprofiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | administrator/components/com_comprofiler 7 | components/com_comprofiler 8 | images/comprofiler 9 | modules/mod_cblogin 10 | modules/mod_comprofilermoderator 11 | modules/mod_comprofileronline 12 | modules/mod_cbcontent 13 | modules/mod_cbgroupjive 14 | modules/mod_cblatestposts 15 | modules/mod_cbgallery 16 | modules/mod_cbsubscriptions 17 | administrator/modules/mod_cb_adminnav 18 | 19 | 20 | 21 | 22 | 23 | mod_cblogin 24 | 25 | 26 | mod_comprofilermoderator 27 | 28 | 29 | mod_comprofileronline 30 | 31 | 32 | mod_cbcontent 33 | 34 | 35 | mod_cbgroupjive 36 | 37 | 38 | mod_cblatestposts 39 | 40 | 41 | mod_cbgallery 42 | 43 | 44 | mod_cbsubscriptions 45 | 46 | 47 | mod_cb_adminnav 48 | 49 | 50 | plg_system_cbpaidsubsbot 51 | 52 | 53 | plg_content_cbcontentbot 54 | 55 | 56 | -------------------------------------------------------------------------------- /trunk/admin/views/cpanel/view.html.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | // No direct access. 15 | defined('_JEXEC') or die; 16 | 17 | jimport( 'joomla.application.component.view' ); 18 | 19 | /** 20 | * @package MatWare 21 | * @subpackage com_jupgrade 22 | */ 23 | class jupgradeViewCpanel extends JView 24 | { 25 | /** 26 | * Display the view. 27 | * 28 | * @param string $tpl The subtemplate to display. 29 | * 30 | * @return void 31 | */ 32 | function display($tpl = null) 33 | { 34 | JToolBarHelper::title(JText::_( 'jUpgrade' ), 'jupgrade'); 35 | JToolBarHelper::custom('cpanel', 'back.png', 'back_f2.png', 'Back', false, false); 36 | JToolBarHelper::preferences('com_jupgrade', '500'); 37 | JToolBarHelper::spacer(); 38 | JToolBarHelper::custom('help', 'help.png', 'help_f2.png', 'Help', false, false); 39 | JToolBarHelper::spacer(); 40 | 41 | // get params 42 | $params = JComponentHelper::getParams('com_jupgrade'); 43 | 44 | // Set timelimit to 0 45 | if(!@ini_get('safe_mode')) { 46 | if ($params->get('timelimit') == 0) { 47 | set_time_limit(0); 48 | } 49 | } 50 | 51 | $xmlfile = JPATH_COMPONENT.'/jupgrade.xml'; 52 | $xml = new JSimpleXML; 53 | $xml->loadFile($xmlfile); 54 | $attrib = $xml->document->version[0]; 55 | 56 | $this->assignRef('version', $attrib->data()); 57 | $this->assignRef('params', $params); 58 | 59 | parent::display($tpl); 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_allevents.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | AllEvents 5 | 6 | 7 | 8 | 9 | 10 | administrator/components/com_allevents/jupgrade.php 11 | jUpgradeComponentAllEvents 12 | 13 | 14 | allevents_activities
15 | allevents_agenda
16 | allevents_albums
17 | allevents_categories
18 | allevents_countries
19 | allevents_enrolments
20 | allevents_events
21 | allevents_forms
22 | allevents_formsfields
23 | allevents_formsfieldstype
24 | allevents_groups
25 | allevents_links
26 | allevents_pictures
27 | allevents_places
28 | allevents_public
29 | allevents_ressources
30 | allevents_sections
31 | allevents_settings
32 | allevents_users
33 |
34 | 35 | 37 | media/com_allevents 38 | 39 |
40 | 41 | -------------------------------------------------------------------------------- /trunk/admin/includes/migrate_files.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | define('_JEXEC', 1); 15 | define('JPATH_BASE', dirname(__FILE__)); 16 | define('DS', DIRECTORY_SEPARATOR); 17 | 18 | require_once JPATH_BASE.'/defines.php'; 19 | require_once JPATH_BASE.'/jupgrade.class.php'; 20 | 21 | /** 22 | * Upgrade class for 3rd party templates 23 | * 24 | * This class search for templates to be migrated 25 | * 26 | * @since 1.2.0 27 | */ 28 | class jUpgradeFiles extends jUpgrade 29 | { 30 | /** 31 | * Sets the data in the destination database. 32 | * 33 | * @return void 34 | * @since 1.2.0 35 | * @throws Exception 36 | */ 37 | protected function copyImagesDirectory() 38 | { 39 | $src = JPATH_SITE.DS.'images'; 40 | $dest = JPATH_SITE.DS.'images.orig'; 41 | JFolder::move($src, $dest); 42 | 43 | $src = JPATH_ROOT.DS.'images'; 44 | $dest = JPATH_SITE.DS.'images'; 45 | JFolder::copy($src, $dest); 46 | } 47 | 48 | /** 49 | * The public entry point for the class. 50 | * 51 | * @return boolean 52 | * @since 1.2.0 53 | */ 54 | public function upgrade() 55 | { 56 | try 57 | { 58 | $this->copyImagesDirectory(); 59 | } 60 | catch (Exception $e) 61 | { 62 | echo JError::raiseError(500, $e->getMessage()); 63 | 64 | return false; 65 | } 66 | 67 | return true; 68 | } 69 | } 70 | 71 | // Copy the images folder 72 | $files = new jUpgradeFiles; 73 | $files->upgrade(); 74 | -------------------------------------------------------------------------------- /trunk/admin/includes/migrate_newsfeeds.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | /** 15 | * Upgrade class for Newsfeeds 16 | * 17 | * This class takes the newsfeeds from the existing site and inserts them into the new site. 18 | * 19 | * @since 0.4.5 20 | */ 21 | class jUpgradeNewsfeeds extends jUpgrade 22 | { 23 | /** 24 | * @var string The name of the source database table. 25 | * @since 0.4.5 26 | */ 27 | protected $source = '#__newsfeeds'; 28 | 29 | /** 30 | * Get the raw data for this part of the upgrade. 31 | * 32 | * @return array Returns a reference to the source data array. 33 | * @since 0.4.5 34 | * @throws Exception 35 | */ 36 | protected function &getSourceData() 37 | { 38 | $rows = parent::getSourceData( 39 | '`catid`,`id`,`name`,`alias`,`link`,`filename`,`published`,`numarticles`,`cache_time`, ' 40 | .'`checked_out`,`checked_out_time`,`ordering`,`rtl`', 41 | null, 42 | 'id' 43 | ); 44 | 45 | // Getting the categories id's 46 | $categories = $this->getMapList('categories', 'com_newsfeeds'); 47 | 48 | // Do some custom post processing on the list. 49 | foreach ($rows as &$row) 50 | { 51 | // Convert HTML entities to UTF-8 on escaped entries 52 | $row['name'] = $this->entities2Utf8($row['name']); 53 | 54 | $row['access'] = empty($row['access']) ? 1 : $row['access'] + 1; 55 | $row['language'] = '*'; 56 | 57 | $cid = $row['catid']; 58 | $row['catid'] = &$categories[$cid]->new; 59 | } 60 | 61 | return $rows; 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_rsgallery2.php: -------------------------------------------------------------------------------- 1 | 11 | */ 12 | defined ( '_JEXEC' ) or die (); 13 | 14 | /** 15 | * RSGallery2 migration class from Joomla 1.5 to Joomla 1.6 16 | * 17 | * @since 1.1.1 18 | */ 19 | class jUpgradeComponentRsgallery2 extends jUpgradeExtensions { 20 | /** 21 | * Check if extension migration is supported. 22 | * 23 | * @return boolean 24 | * @since 1.1.1 25 | */ 26 | protected function detectExtension() { 27 | //Take one RSGallery2 file to see if the components files are present 28 | if (!file_exists(JPATH_ROOT.DS.'administrator/components/com_rsgallery2/init.rsgallery2.php')) { 29 | return false; 30 | } 31 | //Let's not try to take the version into account right now... but a check could be done here 32 | return true; 33 | } 34 | 35 | /** 36 | * Get folders to be migrated. 37 | * 38 | * @return array List of folders relative to JPATH_ROOT 39 | * @since 1.1.1 40 | */ 41 | protected function getCopyFolders() { 42 | //Using xml file 43 | return parent::getCopyFolders(); 44 | } 45 | 46 | /** 47 | * Get tables to be migrated. 48 | * 49 | * @return array List of tables without prefix 50 | * @since 1.1.1 51 | */ 52 | protected function getCopyTables() { 53 | //Using xml file 54 | return parent::getCopyTables(); 55 | } 56 | 57 | /** 58 | * Migrate the folders. 59 | * 60 | * @return boolean Ready (true/false) 61 | * @since 1.1.1 62 | */ 63 | protected function migrateExtensionFolders() 64 | { 65 | return parent::migrateExtensionFolders(); 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /trunk/admin/includes/migrate_weblinks.php: -------------------------------------------------------------------------------- 1 | 9 | * @link http://www.matware.com.ar 10 | * @copyright Copyright 2006 - 2011 Matias Aguire. All rights reserved. 11 | * @license GNU General Public License version 2 or later; see LICENSE.txt 12 | */ 13 | 14 | /** 15 | * Upgrade class for Weblinks 16 | * 17 | * This class takes the weblinks from the existing site and inserts them into the new site. 18 | * 19 | * @since 0.4.5 20 | */ 21 | class jUpgradeWeblinks extends jUpgrade 22 | { 23 | /** 24 | * @var string The name of the source database table. 25 | * @since 0.4.5 26 | */ 27 | protected $source = '#__weblinks'; 28 | 29 | /** 30 | * Get the raw data for this part of the upgrade. 31 | * 32 | * @return array Returns a reference to the source data array. 33 | * @since 0.4.5 34 | * @throws Exception 35 | */ 36 | protected function &getSourceData() 37 | { 38 | $rows = parent::getSourceData( 39 | '`id`, `catid`, `sid`, `title`, `alias`, `url`, `description`, `date`, `hits`, ' 40 | .' `published` AS state, `checked_out`, `checked_out_time`, `ordering`, `archived`, `approved`,`params`', 41 | null, 42 | 'id' 43 | ); 44 | 45 | // Getting the categories id's 46 | $categories = $this->getMapList('categories', 'com_weblinks'); 47 | 48 | // Do some custom post processing on the list. 49 | foreach ($rows as &$row) 50 | { 51 | // Convert HTML entities to UTF-8 on escaped entries 52 | $row['title'] = $this->entities2Utf8($row['title']); 53 | 54 | $row['params'] = $this->convertParams($row['params']); 55 | 56 | $cid = $row['catid']; 57 | $row['catid'] = &$categories[$cid]->new; 58 | } 59 | 60 | return $rows; 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /trunk/admin/includes/templates_db.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | define('_JEXEC', 1); 15 | define('JPATH_BASE', dirname(__FILE__)); 16 | define('DS', DIRECTORY_SEPARATOR); 17 | 18 | require_once JPATH_BASE.'/defines.php'; 19 | require_once JPATH_BASE.'/jupgrade.class.php'; 20 | 21 | /** 22 | * Upgrade class for 3rd party templates 23 | * 24 | * This class search for templates to be migrated 25 | * 26 | * @since 0.4.8 27 | */ 28 | class jUpgradeTemplates extends jUpgrade 29 | { 30 | /** 31 | * @var string The name of the destination database table. 32 | * @since 0.4.8 33 | */ 34 | public $destination = '#__template_styles'; 35 | 36 | 37 | /** 38 | * Get the raw data for this part of the upgrade. 39 | * 40 | * @return array Returns a reference to the source data array. 41 | * @since 0.4.8 42 | * @throws Exception 43 | */ 44 | protected function &getSourceData() 45 | { 46 | 47 | $folders = JFolder::folders(JPATH_ROOT.DS.'templates'); 48 | $folders = array_diff($folders, array("system", "beez")); 49 | sort($folders); 50 | //print_r($folders); 51 | 52 | $rows = array(); 53 | // Do some custom post processing on the list. 54 | for($i=0;$iupgrade(); 74 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_adminpraise.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | // Check to ensure this file is within the rest of the framework 15 | defined('JPATH_BASE') or die(); 16 | 17 | /** 18 | * jUpgrade class for Adminpraise migration 19 | * 20 | * This class migrates the Adminpraise extension 21 | * 22 | * @since 1.1.0 23 | */ 24 | class jUpgradeComponentAdminpraise extends jUpgradeExtensions 25 | { 26 | /** 27 | * Check if extension migration is supported. 28 | * 29 | * @return boolean 30 | * @since 1.1.0 31 | */ 32 | protected function detectExtension() 33 | { 34 | return true; 35 | } 36 | 37 | /** 38 | * Migrate tables 39 | * 40 | * @return boolean 41 | * @since 1.1.0 42 | */ 43 | public function migrateExtensionCustom() 44 | { 45 | 46 | // name -> title 47 | $query = "ALTER TABLE `#__adminpraise_menu` CHANGE `name` `title` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL"; 48 | $this->db_new->setQuery($query); 49 | //$this->db_new->query(); 50 | 51 | // Check for query error. 52 | $error = $this->db_new->getErrorMsg(); 53 | 54 | if ($error) { 55 | throw new Exception($error); 56 | } 57 | 58 | // parent -> parent_id 59 | $query = "ALTER TABLE `#__adminpraise_menu` CHANGE `parent` `parent_id` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0'"; 60 | $this->db_new->setQuery($query); 61 | //$this->db_new->query(); 62 | 63 | // Check for query error. 64 | $error = $this->db_new->getErrorMsg(); 65 | 66 | if ($error) { 67 | throw new Exception($error); 68 | } 69 | 70 | return true; 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /trunk/admin/js/dwProgressBar.js: -------------------------------------------------------------------------------- 1 | //class is in 2 | var dwProgressBar = new Class({ 3 | 4 | //implements 5 | Implements: [Options], 6 | 7 | //options 8 | options: { 9 | container: $$('body')[0], 10 | boxID:'', 11 | percentageID:'', 12 | displayID:'', 13 | startPercentage: 0, 14 | displayText: false, 15 | speed:10 16 | }, 17 | 18 | //initialization 19 | initialize: function(options) { 20 | //set options 21 | this.setOptions(options); 22 | //create elements 23 | this.createElements(); 24 | }, 25 | 26 | //creates the box and percentage elements 27 | createElements: function() { 28 | var box = new Element('div', { id:this.options.boxID }); 29 | var perc = new Element('div', { id:this.options.percentageID, 'style':'width:0px;' }); 30 | perc.inject(box); 31 | box.inject(this.options.container); 32 | if(this.options.displayText) { 33 | var text = new Element('div', { id:this.options.displayID }); 34 | text.inject(this.options.container); 35 | } 36 | this.set(this.options.startPercentage); 37 | }, 38 | 39 | //calculates width in pixels from percentage 40 | calculate: function(percentage) { 41 | return ($(this.options.boxID).getStyle('width').replace('px','') * (percentage / 100)).toInt(); 42 | }, 43 | 44 | //animates the change in percentage 45 | animate: function(to) { 46 | $(this.options.percentageID).set('morph', { duration: this.options.speed, link:'cancel' }).morph({width:this.calculate(to.toInt())}); 47 | if(this.options.displayText) { 48 | $(this.options.displayID).set('text', to.toInt() + '%'); 49 | } 50 | }, 51 | 52 | finish: function() { 53 | $(this.options.percentageID).setStyle('background-image', 'url(components/com_jupgrade/images/progress-bar-finish.png)'); 54 | }, 55 | 56 | //sets the percentage from its current state to desired percentage 57 | set: function(to) { 58 | this.animate(to); 59 | } 60 | 61 | }); 62 | -------------------------------------------------------------------------------- /trunk/admin/sql/categories.sql: -------------------------------------------------------------------------------- 1 | INSERT INTO `#__categories` (`id`, `asset_id`, `parent_id`, `lft`, `rgt`, `level`, `path`, `extension`, `title`, `alias`, `note`, `description`, `published`, `checked_out`, `checked_out_time`, `access`, `params`, `metadesc`, `metakey`, `metadata`, `created_user_id`, `created_time`, `modified_user_id`, `modified_time`, `hits`, `language`) VALUES 2 | (NULL, 27, 1, 1, 2, 1, 'uncategorised', 'com_content', 'Uncategorised', 'uncategorised', '', '', 1, 0, '0000-00-00 00:00:00', 1, '{"target":"","image":""}', '', '', '{"page_title":"","author":"","robots":""}', 42, '2010-06-28 13:26:37', 0, '0000-00-00 00:00:00', 0, '*'), 3 | (NULL, 28, 1, 3, 4, 1, 'uncategorised', 'com_banners', 'Uncategorised', 'uncategorised', '', '', 1, 0, '0000-00-00 00:00:00', 1, '{"target":"","image":"","foobar":""}', '', '', '{"page_title":"","author":"","robots":""}', 42, '2010-06-28 13:27:35', 0, '0000-00-00 00:00:00', 0, '*'), 4 | (NULL, 29, 1, 5, 6, 1, 'uncategorised', 'com_contact', 'Uncategorised', 'uncategorised', '', '', 1, 0, '0000-00-00 00:00:00', 1, '{"target":"","image":""}', '', '', '{"page_title":"","author":"","robots":""}', 42, '2010-06-28 13:27:57', 0, '0000-00-00 00:00:00', 0, '*'), 5 | (NULL, 30, 1, 7, 8, 1, 'uncategorised', 'com_newsfeeds', 'Uncategorised', 'uncategorised', '', '', 1, 0, '0000-00-00 00:00:00', 1, '{"target":"","image":""}', '', '', '{"page_title":"","author":"","robots":""}', 42, '2010-06-28 13:28:15', 0, '0000-00-00 00:00:00', 0, '*'), 6 | (NULL, 31, 1, 9, 10, 1, 'uncategorised', 'com_weblinks', 'Uncategorised', 'uncategorised', '', '', 1, 0, '0000-00-00 00:00:00', 1, '{"target":"","image":""}', '', '', '{"page_title":"","author":"","robots":""}', 42, '2010-06-28 13:28:33', 0, '0000-00-00 00:00:00', 0, '*'), 7 | (NULL, 32, 1, 11, 12, 1, 'uncategorised', 'com_users', 'Uncategorised', 'uncategorised', '', '', 1, 0, '0000-00-00 00:00:00', 1, '{"target":"","image":""}', '', '', '{"page_title":"","author":"","robots":""}', 42, '2010-06-28 13:28:33', 0, '0000-00-00 00:00:00', 0, '*'); 8 | -------------------------------------------------------------------------------- /cli/bootstrap.dist.php: -------------------------------------------------------------------------------- 1 | 9 | * @link http://www.matware.com.ar 10 | * @copyright Copyright 2006 - 2011 Matias Aguire. All rights reserved. 11 | * @license GNU General Public License version 2 or later; see LICENSE.txt 12 | */ 13 | 14 | define('_JEXEC', 1); 15 | define('JPATH_BASE', dirname(__FILE__)); 16 | define('DS', DIRECTORY_SEPARATOR); 17 | require_once JPATH_BASE.'/defines.php'; 18 | require_once JPATH_BASE.'/jupgrade.class.php'; 19 | require_once JPATH_BASE.'/jupgrade.category.class.php'; 20 | require_once JPATH_BASE.'/jupgrade.extensions.class.php'; 21 | 22 | // jUpgrade class 23 | $jupgrade = new jUpgrade; 24 | 25 | // Check the last step id 26 | $query = "SELECT id FROM jupgrade_steps ORDER BY id DESC LIMIT 1"; 27 | $jupgrade->db_new->setQuery($query); 28 | $lastid = $jupgrade->db_new->loadResult()+1; 29 | 30 | // Check for query error. 31 | $error = $jupgrade->db_new->getErrorMsg(); 32 | 33 | // Select the step 34 | $query = "SELECT * FROM jupgrade_steps AS s WHERE s.status != 1 AND s.extension = 1 ORDER BY s.id ASC LIMIT 1"; 35 | $jupgrade->db_new->setQuery($query); 36 | $step = $jupgrade->db_new->loadObject(); 37 | 38 | // Check for query error. 39 | $error = $jupgrade->db_new->getErrorMsg(); 40 | 41 | if (!$step) { 42 | // No steps to run, terminate 43 | echo ";|;{$lastid};|;ready;|;{$lastid}"; 44 | return; 45 | } 46 | $step->lastid = $lastid; 47 | 48 | // Get jUpgradeExtensions instance 49 | $extension = jUpgradeExtensions::getInstance($step); 50 | 51 | if ($step->id == 10) { 52 | $success = $extension->upgrade(); 53 | }else{ 54 | $success = $extension->upgradeExtension(); 55 | } 56 | 57 | echo ";|;{$step->id};|;{$step->name};|;{$step->lastid}"; 58 | 59 | if ($extension->isReady()) { 60 | // updating the status flag 61 | $query = "UPDATE jupgrade_steps SET status = 1" 62 | ." WHERE name = '{$step->name}'"; 63 | $jupgrade->db_new->setQuery($query); 64 | $jupgrade->db_new->query(); 65 | 66 | // Check for query error. 67 | $error = $jupgrade->db_new->getErrorMsg(); 68 | } 69 | -------------------------------------------------------------------------------- /trunk/admin/includes/install_config.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | define('_JEXEC', 1); 15 | define('JPATH_BASE', dirname(__FILE__)); 16 | define('DS', DIRECTORY_SEPARATOR); 17 | 18 | require_once JPATH_BASE.'/defines.php'; 19 | if (file_exists(JPATH_LIBRARIES.'/joomla/import.php')) { 20 | require_once JPATH_LIBRARIES.'/joomla/import.php'; 21 | }else if (file_exists(JPATH_LIBRARIES.'/import.php')) { 22 | require_once JPATH_LIBRARIES.'/import.php'; 23 | } 24 | if (file_exists(JPATH_LIBRARIES.'/cms/model/legacy.php')) { 25 | require_once JPATH_LIBRARIES.'/cms/model/legacy.php'; 26 | } 27 | require_once JPATH_LIBRARIES.'/joomla/methods.php'; 28 | require_once JPATH_LIBRARIES.'/joomla/factory.php'; 29 | require_once JPATH_LIBRARIES.'/joomla/error/error.php'; 30 | require_once JPATH_LIBRARIES.'/joomla/base/object.php'; 31 | if (file_exists(JPATH_LIBRARIES.'/joomla/utilities/arrayhelper.php')) { 32 | require_once JPATH_LIBRARIES.'/joomla/utilities/arrayhelper.php'; 33 | } 34 | if (file_exists(JPATH_LIBRARIES.'/joomla/log/log.php')) { 35 | require_once JPATH_LIBRARIES.'/joomla/log/log.php'; 36 | } 37 | 38 | require_once JPATH_INSTALLATION.'/models/configuration.php'; 39 | 40 | require JPATH_ROOT.'/configuration.php'; 41 | 42 | $jconfig = new JConfig(); 43 | $jconfig->db_type = 'mysqli'; 44 | $jconfig->db_host = $jconfig->host; 45 | $jconfig->db_user = $jconfig->user; 46 | $jconfig->db_pass = $jconfig->password; 47 | $jconfig->db_name = $jconfig->db; 48 | 49 | $prefix_new = $_GET['prefix_new']; 50 | 51 | $jconfig->db_prefix = $prefix_new; 52 | $jconfig->site_name = $jconfig->sitename; 53 | 54 | $jconfig->admin_email = $jconfig->mailfrom; 55 | $jconfig->site_metadesc = $jconfig->MetaDesc; 56 | $jconfig->site_metakeys = $jconfig->MetaKeys; 57 | $jconfig->site_offline = $jconfig->offline; 58 | 59 | $jconfig->ftp_enable = 0; 60 | $jconfig->ftp_save = 0; 61 | 62 | // Run the configuration creation 63 | if (JInstallationModelConfiguration::_createConfiguration($jconfig) > 0) { 64 | echo 1; 65 | }else { 66 | echo 0; 67 | } 68 | -------------------------------------------------------------------------------- /trunk/admin/includes/templates_files.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | define('_JEXEC', 1); 15 | define('JPATH_BASE', dirname(__FILE__)); 16 | define('DS', DIRECTORY_SEPARATOR); 17 | 18 | require_once JPATH_BASE.'/defines.php'; 19 | require_once JPATH_BASE.'/jupgrade.class.php'; 20 | 21 | /** 22 | * Upgrade class for 3rd party templates 23 | * 24 | * This class search for templates to be migrated 25 | * 26 | * @since 0.4.8 27 | */ 28 | class jUpgradeTemplatesFiles extends jUpgrade 29 | { 30 | /** 31 | * @var string The name of the destination database table. 32 | * @since 0.4.8 33 | */ 34 | public $destination = '#__template_styles'; 35 | 36 | 37 | /** 38 | * Get the raw data for this part of the upgrade. 39 | * 40 | * @return array Returns a reference to the source data array. 41 | * @since 0.4.8 42 | * @throws Exception 43 | */ 44 | protected function &getSourceData() 45 | { 46 | 47 | $folders = JFolder::folders(JPATH_ROOT.DS.'templates'); 48 | $folders = array_diff($folders, array("system", "beez")); 49 | sort($folders); 50 | //print_r($folders); 51 | 52 | $rows = array(); 53 | // Do some custom post processing on the list. 54 | for($i=0;$igetSourceData(); 78 | //$table = empty($this->destination) ? $this->source : $this->destination; 79 | 80 | for($i=0;$iupgrade(); 92 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_community.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | JomSocial for Joomla 1.7 5 | 6 | 7 | 8 | community_activities
9 | community_activities_hide
10 | community_apps
11 | community_avatar
12 | community_blocklist
13 | community_config
14 | community_connect_users
15 | community_connection
16 | community_events
17 | community_events_category
18 | community_events_members
19 | community_featured
20 | community_fields
21 | community_fields_values
22 | community_groups
23 | community_groups_bulletins
24 | community_groups_category
25 | community_groups_discuss
26 | community_groups_invite
27 | community_groups_members
28 | community_invitations
29 | community_likes
30 | community_location_cache
31 | community_mailq
32 | community_memberlist
33 | community_memberlist_criteria
34 | community_msg
35 | community_msg_recepient
36 | community_oauth
37 | community_photos
38 | community_photos_albums
39 | community_photos_tag
40 | community_photos_tokens
41 | community_profiles
42 | community_profiles_fields
43 | community_register
44 | community_register_auth_token
45 | community_reports
46 | community_reports_actions
47 | community_reports_reporter
48 | community_storage_s3
49 | community_tags
50 | community_tags_words
51 | community_user_status
52 | community_userpoints
53 | community_users
54 | community_videos
55 | community_videos_category
56 | community_wall
57 |
58 | 59 | 64 | 65 | 66 | 71 |
72 | -------------------------------------------------------------------------------- /trunk/admin/languages/lt-LT.com_jupgrade.ini: -------------------------------------------------------------------------------- 1 | # $Id: lt-LT.com_jupgrade.ini 2011-08-12 16:54:42Z Martis $ 2 | # jUpgrade 3 | # Copyright (C) 2005 - 2010 Matias Aguirre. All rights reserved. 4 | # License GNU/GPL 5 | # Note : All ini files need to be saved as UTF-8 - No BOM 6 | # Translated by Martis - www.joomla123.lt 7 | 8 | J_USE_PHP5="Jūs negalite naudoti šio išplėtimo su Joomla 1.6, nes Jūsų PHP versija yra pasenusi. Susisiekite su savo serveriu, kad atnaujintų PHP iki 5.2.4 versijos." 9 | 10 | ADMINISTRATOR=Administracija 11 | AND=Ir 12 | CHECKING...=Tikrinama... 13 | COMING SOON=BUS ARTIMIAUSIU METU 14 | DECOMPRESSING PACKAGE...=Išpakuojamas paketas... 15 | DISTRIBUTION=Distributorius 16 | DOWNLOADING JOOMLA 1.6...=Parsisiunčiama Joomla 1.6... 17 | DOWNLOADING JOOMLA 1.7...=Parsisiunčiama Joomla 1.7... 18 | DOWNLOADING MOLAJO...=Parsisiunčiama Molajo... 19 | INSTALLING JOOMLA 1.6...=Įdiegiama Joomla 1.6... 20 | JOOMLA 1.6 UPGRADE FINISHED!=Atnaujinimas iki Joomla 1.6 baigtas! 21 | JOOMLA 1.7 UPGRADE FINISHED!=Atnaujinimas iki 1.7 baigtas! 22 | MOLAJO UPGRADE FINISHED!=Atnaujinimas iki Molajo baigtas! 23 | NO=Ne 24 | PREPARING FOR CHECK...=Pasiruošimas patikrinimui... 25 | PREPARING FOR MIGRATION...=Pasiruošimas migracijai... 26 | SITE=Svetainė 27 | SKIP DECOMPRESS=Praleisti išpakavimą 28 | SKIP DOWNLOAD=Praleisti parsisiuntimą 29 | START UPGRADE=PRADĖTI ATNAUJINIMĄ 30 | UPGRADING 3RD EXTENSIONS...=Atnaujinami 3-ių šalių išplėtimai... 31 | UPGRADING PROGRESS...=Atnaujinimo progresas... 32 | UPGRADING TEMPLATES...=Atnaujinami šablonai... 33 | YES=Taip 34 | YOU CAN CHECK YOUR NEW SITE HERE=Jūs galite patikrinti savo naują svetainę čia 35 | 36 | # Added language strings 37 | 38 | COPYING IMAGES/MEDIA FILES...=Kopijuojami paveikslėliai, medijos failai... 39 | COPYING TEMPLATES...=Kopijuojami šablonai... 40 | DEVELOPED BY=Sukūrė 41 | ENABLE DEBUG=Įgalinti derinimą 42 | INSTALLING JOOMLA 1.7...=Įdiegiama Joomla 1.7... 43 | INSTALLING MOLAJO...=Įdiegiama Molajo... 44 | KEEP ORIGINAL POSITIONS?=Palikti originalias pozicijas? 45 | MOOTOOLS 1.2 NOT LOADED. PLEASE ENABLE "SYSTEM - MOOTOOLS UPGRADE" PLUGIN.=Nėra įkeltas mootools 1.2. Įgalinkite "System - Mootools upgrade" įskiepį 46 | PREFIX FOR NEW DATABASE=Naujos duomenų bazės lentelės priešdėlis 47 | PREFIX FOR OLD DATABASE=Senos duomenų bazės lentelės priešdėlis 48 | PREPARING FOR 3RD EXTENSIONS MIGRATION=Pasiruošimas 3-ių šalių išplėtimų migracijai 49 | PREPARING FOR MIGRATION=Pasiruošimas migracijai 50 | SKIP 3RD PARTY EXTENSIONS=Praleisti 3-ių šalių išplėtimus 51 | SKIP CHECKS=Praleisti tikrinimus 52 | SKIP TEMPLATES COPY=Praleisti šablonų kopijavimą 53 | TARGET DIRECTORY=Įdiegimo katalogas 54 | -------------------------------------------------------------------------------- /trunk/admin/includes/install_db.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | define('_JEXEC', 1); 15 | define('JPATH_BASE', dirname(__FILE__)); 16 | define('DS', DIRECTORY_SEPARATOR); 17 | 18 | $directory = ''; 19 | 20 | if (ctype_alpha($_GET['directory'])) { 21 | $directory = $_GET['directory']; 22 | } 23 | 24 | require_once JPATH_BASE.'/defines.php'; 25 | if (file_exists(JPATH_LIBRARIES.'/joomla/import.php')) { 26 | require_once JPATH_LIBRARIES.'/joomla/import.php'; 27 | }else if (file_exists(JPATH_LIBRARIES.'/import.php')) { 28 | require_once JPATH_LIBRARIES.'/import.php'; 29 | } 30 | if (file_exists(JPATH_LIBRARIES.'/cms/model/legacy.php')) { 31 | require_once JPATH_LIBRARIES.'/cms/model/legacy.php'; 32 | } 33 | require_once JPATH_LIBRARIES.'/joomla/methods.php'; 34 | require_once JPATH_LIBRARIES.'/joomla/factory.php'; 35 | require_once JPATH_LIBRARIES.'/joomla/error/error.php'; 36 | require_once JPATH_LIBRARIES.'/joomla/base/object.php'; 37 | require_once JPATH_LIBRARIES.'/joomla/database/database.php'; 38 | require_once JPATH_INSTALLATION.'/models/database.php'; 39 | 40 | require_once JPATH_LIBRARIES.'/cms/schema/changeset.php'; 41 | require_once JPATH_ADMINISTRATOR.'/components/com_installer/models/database.php'; 42 | 43 | // jUpgrade class 44 | require_once JPATH_BASE.'/jupgrade.class.php'; 45 | 46 | // jUpgrade class 47 | $jupgrade = new jUpgrade; 48 | 49 | // Getting the component parameter with global settings 50 | $params = $jupgrade->getParams(); 51 | 52 | // getting config 53 | $jconfig = new JConfig(); 54 | 55 | $config = array(); 56 | $config['dbo'] = & JInstallationHelperDatabase::getDBO('mysql', $jconfig->host, $jconfig->user, $jconfig->password, $jconfig->db, $params->prefix_new); 57 | 58 | // getting helper 59 | $installHelper = new JInstallationModelDatabase($config); 60 | 61 | // installing global database 62 | $schema = JPATH_INSTALLATION.'/sql/mysql/joomla.sql'; 63 | 64 | if (!$installHelper->populateDatabase($config['dbo'], $schema) > 0) { 65 | return false; 66 | exit; 67 | } 68 | 69 | $query = "UPDATE #__modules SET `published` = '0' WHERE `id` IN (1,16,17)"; 70 | $jupgrade->db_new->setQuery($query); 71 | $jupgrade->db_new->query(); 72 | 73 | // Check for query error. 74 | $error = $jupgrade->db_new->getErrorMsg(); 75 | 76 | if ($error) { 77 | return false; 78 | exit; 79 | } 80 | 81 | // Fixing the database schema 82 | $changeSet = $jupgrade->getChangeSet(); 83 | $changeSet->fix(); 84 | 85 | $jupgrade->fixSchemaVersion($changeSet); 86 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_virtuemart.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Virtuemart 5 | http://www.expertcms.net/update/virtuemart-collection.xml 6 | 7 | 8 | 9 | 10 | 11 | vm_auth_group
12 | vm_auth_user_group
13 | vm_auth_user_vendor
14 | vm_cart
15 | vm_category
16 | vm_category_xref
17 | vm_country
18 | vm_coupons
19 | vm_creditcard
20 | vm_csv
21 | vm_currency
22 | vm_export
23 | vm_function
24 | vm_manufacturer
25 | vm_manufacturer_category
26 | vm_module
27 | vm_orders
28 | vm_order_history
29 | vm_order_item
30 | vm_order_payment
31 | vm_order_status
32 | vm_order_user_info
33 | vm_payment_method
34 | vm_product
35 | vm_product_attribute
36 | vm_product_attribute_sku
37 | vm_product_category_xref
38 | vm_product_discount
39 | vm_product_download
40 | vm_product_files
41 | vm_product_mf_xref
42 | vm_product_price
43 | vm_product_product_type_xref
44 | vm_product_relations
45 | vm_product_reviews
46 | vm_product_type
47 | vm_product_type_parameter
48 | vm_product_votes
49 | vm_shipping_carrier
50 | vm_shipping_label
51 | vm_shipping_rate
52 | vm_shopper_group
53 | vm_shopper_vendor_xref
54 | vm_state
55 | vm_tax_rate
56 | vm_userfield
57 | vm_userfield_values
58 | vm_user_info
59 | vm_vendor
60 | vm_vendor_category
61 | vm_waiting_list
62 | vm_zone_shipping
63 |
64 | 65 | 66 | 67 | administrator/components/com_virtuemart 68 | components/com_virtuemart 69 | 70 | 71 | 72 | 77 |
78 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_virtuemart.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | // Check to ensure this file is within the rest of the framework 15 | defined('JPATH_BASE') or die(); 16 | 17 | /** 18 | * jUpgrade class for Virtuemart migration 19 | * 20 | * This class migrates the Adminpraise extension 21 | * 22 | * @since 1.2.0 23 | */ 24 | class jUpgradeComponentVirtuemart extends jUpgradeExtensions 25 | { 26 | /** 27 | * Check if extension migration is supported. 28 | * 29 | * @return boolean 30 | * @since 1.2.0 31 | */ 32 | protected function detectExtension() 33 | { 34 | return true; 35 | } 36 | 37 | /** 38 | * Migrate custom information. 39 | * 40 | * This function gets called after all folders and tables have been copied. 41 | * 42 | * If you want to split this task into smaller chunks, 43 | * please store your custom state variables into $this->state and return false. 44 | * Returning false will force jUpgrade to call this function again, 45 | * which allows you to continue import by reading $this->state before continuing. 46 | * 47 | * @return boolean Ready (true/false) 48 | * @since 1.1.0 49 | * @throws Exception 50 | */ 51 | protected function migrateExtensionCustom() { 52 | $app = JFactory::getApplication('administrator'); 53 | 54 | // Get component object 55 | $component = JTable::getInstance ( 'extension', 'JTable', array('dbo'=>$this->db_new) ); 56 | $component->load(array('type'=>'component', 'element'=>$this->name)); 57 | 58 | // Mark Virtuemart as discovered and install it 59 | $component->client_id = 1; 60 | $component->state = -1; 61 | $component->store(); 62 | jimport('joomla.installer.installer'); 63 | $installer = JInstaller::getInstance(); 64 | $installer->discover_install($component->extension_id); 65 | 66 | $query = "INSERT INTO #__update_sites_extensions 67 | SELECT update_site_id, '{$component->extension_id}' FROM #__update_sites WHERE name='Virtuemart' 68 | "; 69 | $this->db_new->setQuery($query); 70 | $this->db_new->query(); 71 | 72 | // Update Virtuemart 73 | //~ jimport('joomla.updater.update'); 74 | //~ $updater = JUpdater::getInstance(); 75 | //~ $updater->findUpdates($component->extension_id); 76 | //~ $update = JTable::getInstance ( 'update', 'JTable', array('dbo'=>$this->db_new) ); 77 | //~ $update 78 | //~ ->load( 79 | //~ array( 80 | //~ 'element' => 'com_virtuemart', 'type' => 'component', 81 | //~ 'client_id' => '1', 82 | //~ 'folder' => '' 83 | //~ ) 84 | //~ ); 85 | //~ if ($update->uid) { 86 | //~ $updater->update($update->uid); 87 | //~ echo "Virtuemart successfully upgraded to version 1.2"; 88 | //~ } 89 | return true; 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /trunk/admin/includes/helper.php: -------------------------------------------------------------------------------- 1 | setQuery($query); 39 | //echo $query .'
'; 40 | echo "."; 41 | $db->query() or die($db->getErrorMsg()); 42 | 43 | JUpgradeHelper::getDBErrors($errors, $db ); 44 | } 45 | } 46 | 47 | return count($errors); 48 | } 49 | 50 | /** 51 | * @param string 52 | * @return array 53 | */ 54 | function splitSql($sql) 55 | { 56 | $sql = trim($sql); 57 | $sql = preg_replace('/\n\#[^\n]*/', '', "\n".$sql); 58 | $buffer = array (); 59 | $ret = array (); 60 | $in_string = false; 61 | 62 | for ($i = 0; $i < strlen($sql) - 1; $i ++) { 63 | if ($sql[$i] == ";" && !$in_string) 64 | { 65 | $ret[] = substr($sql, 0, $i); 66 | $sql = substr($sql, $i +1); 67 | $i = 0; 68 | } 69 | 70 | if ($in_string && ($sql[$i] == $in_string) && $buffer[1] != "\\") 71 | { 72 | $in_string = false; 73 | } 74 | elseif (!$in_string && ($sql[$i] == '"' || $sql[$i] == "'") && (!isset ($buffer[0]) || $buffer[0] != "\\")) 75 | { 76 | $in_string = $sql[$i]; 77 | } 78 | if (isset ($buffer[1])) 79 | { 80 | $buffer[0] = $buffer[1]; 81 | } 82 | $buffer[1] = $sql[$i]; 83 | } 84 | 85 | if (!empty ($sql)) 86 | { 87 | $ret[] = $sql; 88 | } 89 | return ($ret); 90 | } 91 | 92 | 93 | function & getDBO($driver, $host, $user, $password, $database, $prefix, $select = true) 94 | { 95 | static $db = null; 96 | 97 | if ( ! $db ) 98 | { 99 | jimport('joomla.database.database'); 100 | $options = array ( 'driver' => $driver, 'host' => $host, 'user' => $user, 'password' => $password, 'database' => $database, 'prefix' => $prefix, 'select' => $select ); 101 | $db = & JDatabase::getInstance( $options ); 102 | } 103 | 104 | return $db; 105 | } 106 | 107 | function getDBErrors( & $errors, $db ) 108 | { 109 | if ($db->getErrorNum() > 0) 110 | { 111 | $errors[] = array('msg' => $db->getErrorMsg(), 'sql' => $db->_sql); 112 | } 113 | } 114 | } 115 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_k2.php: -------------------------------------------------------------------------------- 1 | 18 | * 19 | * 20 | * administrator/components/com_k2/jupgrade/j16upgrade.php 21 | * jUpgradeComponentK2 22 | * 23 | * 24 | * For more information, see ./j16upgrade.xml 25 | */ 26 | class jUpgradeComponentK2 extends jUpgradeExtensions 27 | { 28 | /** 29 | * Check if K2 migration is supported. 30 | */ 31 | protected function detectExtension() 32 | { 33 | return true; 34 | } 35 | 36 | /** 37 | * Migrate custom information. 38 | * 39 | * This function gets called after all folders and tables have been copied. 40 | * 41 | * If you want to split this task into smaller chunks, 42 | * please store your custom state variables into $this->state and return false. 43 | * Returning false will force jUpgrade to call this function again, 44 | * which allows you to continue import by reading $this->state before continuing. 45 | * 46 | * @return boolean Ready (true/false) 47 | * @since 1.6.4 48 | * @throws Exception 49 | */ 50 | protected function migrateExtensionCustom() 51 | { 52 | return true; 53 | } 54 | 55 | protected function copyTable_k2_categories($table) { 56 | $this->source = $this->destination = "#__{$table}"; 57 | 58 | // Clone table 59 | $this->cloneTable($this->source, $this->destination); 60 | 61 | // Get data 62 | $rows = parent::getSourceData('*'); 63 | 64 | // Do some custom post processing on the list. 65 | foreach ($rows as &$row) { 66 | $row['access'] = $row['access'] == 0 ? 1 : $row['access'] + 1; 67 | $row['params'] = $this->convertParams($row['params']); 68 | } 69 | $this->setDestinationData($rows); 70 | return true; 71 | } 72 | 73 | protected function copyTable_k2_items($table) { 74 | $this->source = $this->destination = "#__{$table}"; 75 | 76 | // Clone table 77 | $this->cloneTable($this->source, $this->destination); 78 | 79 | // Get data 80 | $rows = parent::getSourceData('*'); 81 | 82 | // Do some custom post processing on the list. 83 | foreach ($rows as &$row) { 84 | $row['access'] = $row['access'] == 0 ? 1 : $row['access'] + 1; 85 | $row['params'] = $this->convertParams($row['params']); 86 | $row['plugins'] = $this->convertParams($row['plugins']); 87 | } 88 | $this->setDestinationData($rows); 89 | return true; 90 | } 91 | 92 | } 93 | 94 | -------------------------------------------------------------------------------- /cli/includes/helper.php: -------------------------------------------------------------------------------- 1 | setQuery($query); 41 | //echo $query .'
'; 42 | echo "."; 43 | $db->query() or die($db->getErrorMsg()); 44 | 45 | JUpgradeHelper::getDBErrors($errors, $db ); 46 | } 47 | } 48 | 49 | echo "\n"; 50 | 51 | return count($errors); 52 | } 53 | 54 | /** 55 | * @param string 56 | * @return array 57 | */ 58 | function splitSql($sql) 59 | { 60 | $sql = trim($sql); 61 | $sql = preg_replace('/\n\#[^\n]*/', '', "\n".$sql); 62 | $buffer = array (); 63 | $ret = array (); 64 | $in_string = false; 65 | 66 | for ($i = 0; $i < strlen($sql) - 1; $i ++) { 67 | if ($sql[$i] == ";" && !$in_string) 68 | { 69 | $ret[] = substr($sql, 0, $i); 70 | $sql = substr($sql, $i +1); 71 | $i = 0; 72 | } 73 | 74 | if ($in_string && ($sql[$i] == $in_string) && $buffer[1] != "\\") 75 | { 76 | $in_string = false; 77 | } 78 | elseif (!$in_string && ($sql[$i] == '"' || $sql[$i] == "'") && (!isset ($buffer[0]) || $buffer[0] != "\\")) 79 | { 80 | $in_string = $sql[$i]; 81 | } 82 | if (isset ($buffer[1])) 83 | { 84 | $buffer[0] = $buffer[1]; 85 | } 86 | $buffer[1] = $sql[$i]; 87 | } 88 | 89 | if (!empty ($sql)) 90 | { 91 | $ret[] = $sql; 92 | } 93 | return ($ret); 94 | } 95 | 96 | 97 | function & getDBO($driver, $host, $user, $password, $database, $prefix, $select = true) 98 | { 99 | static $db = null; 100 | 101 | if ( ! $db ) 102 | { 103 | jimport('joomla.database.database'); 104 | $options = array ( 'driver' => $driver, 'host' => $host, 'user' => $user, 'password' => $password, 'database' => $database, 'prefix' => $prefix, 'select' => $select ); 105 | $db = & JDatabase::getInstance( $options ); 106 | } 107 | 108 | return $db; 109 | } 110 | 111 | function getDBErrors( & $errors, $db ) 112 | { 113 | if ($db->getErrorNum() > 0) 114 | { 115 | $errors[] = array('msg' => $db->getErrorMsg(), 'sql' => $db->_sql); 116 | } 117 | } 118 | } 119 | ?> 120 | -------------------------------------------------------------------------------- /trunk/admin/includes/migrate_categories.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | /** 15 | * Upgrade class for categories 16 | * 17 | * This class takes the categories from the existing site and inserts them into the new site. 18 | * 19 | * @since 0.4.5 20 | */ 21 | class jUpgradeCategories extends jUpgradeCategory 22 | { 23 | /** 24 | * @var string The name of the source database table. 25 | * @since 0.4.5 26 | */ 27 | protected $source = '#__categories'; 28 | 29 | /** 30 | * @var string The name of the destination database table. 31 | * @since 0.4.5 32 | */ 33 | protected $destination = '#__categories'; 34 | 35 | /** 36 | * Sets the data in the destination database. 37 | * 38 | * @return void 39 | * @since 0.4. 40 | * @throws Exception 41 | */ 42 | protected function setDestinationData() 43 | { 44 | // Delete uncategorized categories 45 | $query = "DELETE FROM {$this->destination} WHERE id > 1"; 46 | $this->db_new->setQuery($query); 47 | $this->db_new->query(); 48 | 49 | /** 50 | * Inserting the categories 51 | * @since 2.5.1 52 | */ 53 | // Content categories 54 | $this->section = 'com_content'; 55 | // Get the source data. 56 | $categories = $this->getSourceData(); 57 | // rootidmap 58 | $rootidmap = 0; 59 | 60 | // JTable:store() run an update if id exists so we create them first 61 | foreach ($categories as $category) 62 | { 63 | $object = new stdClass(); 64 | 65 | if ($category['id'] == 1) { 66 | $query = "SELECT id+1" 67 | ." FROM #__categories" 68 | ." ORDER BY id DESC LIMIT 1"; 69 | $this->db_old->setQuery($query); 70 | $rootidmap = $this->db_old->loadResult(); 71 | 72 | $object->id = $rootidmap; 73 | }else{ 74 | $object->id = $category['id']; 75 | } 76 | 77 | // Inserting the menu 78 | if (!$this->db_new->insertObject($this->destination, $object)) { 79 | throw new Exception($this->db_new->getErrorMsg()); 80 | } 81 | } 82 | 83 | /** 84 | * Inserting the sections 85 | * 86 | * @since 2.5.1 87 | */ 88 | // Content categories 89 | $this->source = '#__sections'; 90 | // Get the source data. 91 | $sections = $this->getSourceData(); 92 | 93 | // Insert the sections 94 | foreach ($sections as $section) 95 | { 96 | // Inserting the category 97 | $this->insertCategory($section); 98 | } 99 | 100 | /** 101 | * Updating the categories 102 | * 103 | * @since 2.5.1 104 | */ 105 | $catmap = $this->getMapList('categories', 'com_section'); 106 | 107 | // Insert the categories 108 | foreach ($categories as $i=>$category) 109 | { 110 | if ($category['id'] == 1) { 111 | $category['id'] = $rootidmap; 112 | } 113 | 114 | $category['asset_id'] = null; 115 | $category['parent_id'] = isset($catmap[$category['extension']]->new) ? $catmap[$category['extension']]->new : 1; 116 | $category['lft'] = $i; 117 | $category['rgt'] = null; 118 | $category['level'] = null; 119 | 120 | // Inserting the category 121 | $this->insertCategory($category); 122 | } 123 | 124 | // Check if Cli is enabled 125 | $jconfig = new JConfig(); 126 | 127 | if (!empty($jconfig->cli) && $jconfig->cli == 1) { 128 | $helperpath = JPATH_BASE; 129 | }else{ 130 | $helperpath = JPATH_ROOT.'/administrator/components/com_jupgrade'; 131 | } 132 | 133 | // Require the files 134 | require_once $helperpath.'/includes/helper.php'; 135 | 136 | // The sql file with menus 137 | $sqlfile = $helperpath.'/sql/categories.sql'; 138 | 139 | // Import the sql file 140 | $errors = array(); 141 | if (JUpgradeHelper::populateDatabase($this->db_new, $sqlfile, $errors) > 0 ) { 142 | return false; 143 | } 144 | 145 | } // end method 146 | } // end class 147 | -------------------------------------------------------------------------------- /trunk/admin/extensions/com_ars.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.schultschik.de 12 | */ 13 | 14 | // Check to ensure this file is within the rest of the framework 15 | defined('JPATH_BASE') or die(); 16 | 17 | /** 18 | * jUpgrade class for Akeeba migration 19 | * 20 | * This class migrates the Akeeba extension 21 | * 22 | * @since 1.2.4 23 | */ 24 | class jUpgradeComponentArs extends jUpgradeExtensions 25 | { 26 | /** 27 | * Check if extension migration is supported. 28 | * 29 | * @return boolean 30 | * @since 1.2.4 31 | */ 32 | protected function detectExtension() 33 | { 34 | return true; 35 | } 36 | 37 | /** 38 | * Migrate tables 39 | * 40 | * @return boolean 41 | * @since 1.2.4 42 | */ 43 | public function migrateExtensionCustom() 44 | { 45 | return true; 46 | } 47 | 48 | 49 | /** 50 | * Copy ars_categories table from old site to new site. 51 | * 52 | * You can create custom copy functions for all your tables. 53 | * 54 | * If you want to copy your table in many smaller chunks, 55 | * please store your custom state variables into $this->state and return false. 56 | * Returning false will force jUpgrade to call this function again, 57 | * which allows you to continue import by reading $this->state before continuing. 58 | * 59 | * @return boolean Ready (true/false) 60 | * @since 1.1.0 61 | * @throws Exception 62 | */ 63 | protected function copyTable_ars_categories($table) { 64 | $this->source = $this->destination = "#__{$table}"; 65 | 66 | // Clone table 67 | $this->cloneTable($this->source, $this->destination); 68 | 69 | // Get data 70 | $rows = parent::getSourceData('*'); 71 | 72 | // Do some custom post processing on the list. 73 | foreach ($rows as &$row) { 74 | $row['access']++; 75 | } 76 | $this->setDestinationData($rows); 77 | return true; 78 | } 79 | 80 | /** 81 | * Copy ars_items table from old site to new site. 82 | * 83 | * You can create custom copy functions for all your tables. 84 | * 85 | * If you want to copy your table in many smaller chunks, 86 | * please store your custom state variables into $this->state and return false. 87 | * Returning false will force jUpgrade to call this function again, 88 | * which allows you to continue import by reading $this->state before continuing. 89 | * 90 | * @return boolean Ready (true/false) 91 | * @since 1.1.0 92 | * @throws Exception 93 | */ 94 | protected function copyTable_ars_items($table) { 95 | $this->source = $this->destination = "#__{$table}"; 96 | 97 | // Clone table 98 | $this->cloneTable($this->source, $this->destination); 99 | 100 | // Get data 101 | $rows = parent::getSourceData('*'); 102 | 103 | // Do some custom post processing on the list. 104 | foreach ($rows as &$row) { 105 | $row['access']++; 106 | } 107 | $this->setDestinationData($rows); 108 | return true; 109 | } 110 | 111 | /** 112 | * Copy ars_releases table from old site to new site. 113 | * 114 | * You can create custom copy functions for all your tables. 115 | * 116 | * If you want to copy your table in many smaller chunks, 117 | * please store your custom state variables into $this->state and return false. 118 | * Returning false will force jUpgrade to call this function again, 119 | * which allows you to continue import by reading $this->state before continuing. 120 | * 121 | * @return boolean Ready (true/false) 122 | * @since 1.1.0 123 | * @throws Exception 124 | */ 125 | protected function copyTable_ars_releases($table) { 126 | $this->source = $this->destination = "#__{$table}"; 127 | 128 | // Clone table 129 | $this->cloneTable($this->source, $this->destination); 130 | 131 | // Get data 132 | $rows = parent::getSourceData('*'); 133 | 134 | // Do some custom post processing on the list. 135 | foreach ($rows as &$row) { 136 | $row['access']++; 137 | } 138 | $this->setDestinationData($rows); 139 | return true; 140 | } 141 | } -------------------------------------------------------------------------------- /trunk/admin/includes/controller.php: -------------------------------------------------------------------------------- 1 | 9 | * @link http://www.matware.com.ar 10 | * @copyright Copyright 2006 - 2011 Matias Aguire. All rights reserved. 11 | * @license GNU General Public License version 2 or later; see LICENSE.txt 12 | */ 13 | 14 | define('_JEXEC', 1); 15 | define('JPATH_BASE', dirname(__FILE__)); 16 | define('DS', DIRECTORY_SEPARATOR); 17 | require_once JPATH_BASE.'/defines.php'; 18 | require_once JPATH_BASE.'/jupgrade.class.php'; 19 | require_once JPATH_BASE.'/jupgrade.category.class.php'; 20 | 21 | // jUpgrade class 22 | $jupgrade = new jUpgrade; 23 | 24 | // Select the steps 25 | $query = "SELECT * FROM jupgrade_steps AS s WHERE s.status != 1 AND s.extension = 0 ORDER BY s.id ASC LIMIT 1"; 26 | $jupgrade->db_new->setQuery($query); 27 | $step = $jupgrade->db_new->loadObject(); 28 | 29 | // Check for query error. 30 | $error = $jupgrade->db_new->getErrorMsg(); 31 | 32 | // Check if steps is an object 33 | if (!is_object($step)) { 34 | echo ";|;9;|;end"; 35 | exit; 36 | } 37 | 38 | // Require the file 39 | require_once JPATH_BASE.'/migrate_'.$step->name.'.php'; 40 | 41 | switch ($step->name) { 42 | case 'users': 43 | // Migrate the users. 44 | $u1 = new jUpgradeUsers($step); 45 | $u1->upgrade(); 46 | 47 | // Migrate the usergroups. 48 | $u2 = new jUpgradeUsergroups($step); 49 | $u2->upgrade(); 50 | 51 | // Migrate the user-to-usergroup mapping. 52 | $u2 = new jUpgradeUsergroupMap($step); 53 | $u2->upgrade(); 54 | 55 | break; 56 | case 'modules': 57 | // Migrate the Modules. 58 | $modules = new jUpgradeModules($step); 59 | $modules->upgrade(); 60 | 61 | // Migrate the Modules Menus. 62 | $modulesmenu = new jUpgradeModulesMenu($step); 63 | $modulesmenu->upgrade(); 64 | 65 | break; 66 | case 'categories': 67 | // Migrate the Categories. 68 | $categories = new jUpgradeCategories($step); 69 | $categories->upgrade(); 70 | 71 | break; 72 | case 'content': 73 | // Migrate the Content. 74 | $content = new jUpgradeContent($step); 75 | $content->upgrade(); 76 | 77 | // Migrate the Frontpage Content. 78 | $frontpage = new jUpgradeContentFrontpage($step); 79 | $frontpage->upgrade(); 80 | 81 | break; 82 | case 'menus': 83 | // Migrate the menu. 84 | $menu = new jUpgradeMenu; 85 | $menu->upgrade(); 86 | 87 | // Migrate the menu types. 88 | $menutypes = new jUpgradeMenuTypes($step); 89 | $menutypes->upgrade(); 90 | 91 | break; 92 | case 'banners': 93 | // Migrate the categories of banners. 94 | $cat = new jUpgradeCategory($step); 95 | $cat->section = "com_banner"; 96 | $cat->upgrade(); 97 | 98 | // Migrate the banners. 99 | $banners = new jUpgradeBanners($step); 100 | $banners->upgrade(); 101 | 102 | // Migrate the banners. 103 | $clients = new jUpgradeBannersClients($step); 104 | $clients->upgrade(); 105 | 106 | // Migrate the banners. 107 | $tracks = new jUpgradeBannersTracks($step); 108 | $tracks->upgrade(); 109 | 110 | break; 111 | case 'contacts': 112 | // Migrate the categories of contacts. 113 | $cat = new jUpgradeCategory($step); 114 | $cat->section = "com_contact_details"; 115 | $cat->upgrade(); 116 | 117 | // Migrate the contacts. 118 | $contacts = new jUpgradeContacts($step); 119 | $contacts->upgrade(); 120 | 121 | break; 122 | case 'newsfeeds': 123 | // Migrate the categories of newsfeeds. 124 | $cat = new jUpgradeCategory($step); 125 | $cat->section = "com_newsfeeds"; 126 | $cat->upgrade(); 127 | 128 | // Migrate the newsfeeds. 129 | $newsfeeds = new jUpgradeNewsfeeds; 130 | $newsfeeds->upgrade(); 131 | 132 | break; 133 | case 'weblinks': 134 | // Migrate the categories of weblinks. 135 | $cat = new jUpgradeCategory($step); 136 | $cat->section = "com_weblinks"; 137 | $cat->upgrade(); 138 | 139 | // Migrate the weblinks. 140 | $weblinks = new jUpgradeWeblinks($step); 141 | $weblinks->upgrade(); 142 | 143 | break; 144 | } 145 | 146 | 147 | // updating the status flag 148 | $query = "UPDATE jupgrade_steps SET status = 1" 149 | ." WHERE name = '{$step->name}'"; 150 | $jupgrade->db_new->setQuery($query); 151 | $jupgrade->db_new->query(); 152 | 153 | // Check for query error. 154 | $error = $jupgrade->db_new->getErrorMsg(); 155 | 156 | echo ";|;".$step->id.";|;".$step->name; 157 | -------------------------------------------------------------------------------- /trunk/admin/sql/menus.sql: -------------------------------------------------------------------------------- 1 | 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 2 | (NULL, 'menu', 'com_banners', 'Banners', '', 'Banners', 'index.php?option=com_banners', 'component', 0, 1, 1, 4, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:banners', 0, '', 13, 22, 0, '*', 1), 3 | (NULL, 'menu', 'com_banners', 'Banners', '', 'Banners/Banners', 'index.php?option=com_banners', 'component', 0, 2, 2, 4, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:banners', 0, '', 14, 15, 0, '*', 1), 4 | (NULL, 'menu', 'com_banners_categories', 'Categories', '', 'Banners/Categories', 'index.php?option=com_categories&extension=com_banners', 'component', 0, 2, 2, 6, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:banners-cat', 0, '', 16, 17, 0, '*', 1), 5 | (NULL, 'menu', 'com_banners_clients', 'Clients', '', 'Banners/Clients', 'index.php?option=com_banners&view=clients', 'component', 0, 2, 2, 4, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:banners-clients', 0, '', 18, 19, 0, '*', 1), 6 | (NULL, 'menu', 'com_banners_tracks', 'Tracks', '', 'Banners/Tracks', 'index.php?option=com_banners&view=tracks', 'component', 0, 2, 2, 4, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:banners-tracks', 0, '', 20, 21, 0, '*', 1), 7 | (NULL, 'menu', 'com_contact', 'Contacts', '', 'Contacts', 'index.php?option=com_contact', 'component', 0, 1, 1, 8, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:contact', 0, '', 23, 28, 0, '*', 1), 8 | (NULL, 'menu', 'com_contact', 'Contacts', '', 'Contacts/Contacts', 'index.php?option=com_contact', 'component', 0, 7, 2, 8, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:contact', 0, '', 24, 25, 0, '*', 1), 9 | (NULL, 'menu', 'com_contact_categories', 'Categories', '', 'Contacts/Categories', 'index.php?option=com_categories&extension=com_contact', 'component', 0, 7, 2, 6, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:contact-cat', 0, '', 26, 27, 0, '*', 1), 10 | (NULL, 'menu', 'com_messages', 'Messaging', '', 'Messaging', 'index.php?option=com_messages', 'component', 0, 1, 1, 15, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:messages', 0, '', 29, 34, 0, '*', 1), 11 | (NULL, 'menu', 'com_messages_add', 'New Private Message', '', 'Messaging/New Private Message', 'index.php?option=com_messages&task=message.add', 'component', 0, 10, 2, 15, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:messages-add', 0, '', 30, 31, 0, '*', 1), 12 | (NULL, 'menu', 'com_messages_read', 'Read Private Message', '', 'Messaging/Read Private Message', 'index.php?option=com_messages', 'component', 0, 10, 2, 15, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:messages-read', 0, '', 32, 33, 0, '*', 1), 13 | (NULL, 'menu', 'com_newsfeeds', 'News Feeds', '', 'News Feeds', 'index.php?option=com_newsfeeds', 'component', 0, 1, 1, 17, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:newsfeeds', 0, '', 35, 40, 0, '*', 1), 14 | (NULL, 'menu', 'com_newsfeeds_feeds', 'Feeds', '', 'News Feeds/Feeds', 'index.php?option=com_newsfeeds', 'component', 0, 13, 2, 17, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:newsfeeds', 0, '', 36, 37, 0, '*', 1), 15 | (NULL, 'menu', 'com_newsfeeds_categories', 'Categories', '', 'News Feeds/Categories', 'index.php?option=com_categories&extension=com_newsfeeds', 'component', 0, 13, 2, 6, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:newsfeeds-cat', 0, '', 38, 39, 0, '*', 1), 16 | (NULL, 'menu', 'com_redirect', 'Redirect', '', 'Redirect', 'index.php?option=com_redirect', 'component', 0, 1, 1, 24, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:redirect', 0, '', 53, 54, 0, '*', 1), 17 | (NULL, 'menu', 'com_search', 'Basic Search', '', 'Search', 'index.php?option=com_search', 'component', 0, 1, 1, 19, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:search', 0, '', 43, 44, 0, '*', 1), 18 | (NULL, 'menu', 'com_weblinks', 'Weblinks', '', 'Weblinks', 'index.php?option=com_weblinks', 'component', 0, 1, 1, 21, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:weblinks', 0, '', 47, 52, 0, '*', 1), 19 | (NULL, 'menu', 'com_weblinks_links', 'Links', '', 'Weblinks/Links', 'index.php?option=com_weblinks', 'component', 0, 18, 2, 21, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:weblinks', 0, '', 48, 49, 0, '*', 1), 20 | (NULL, 'menu', 'com_weblinks_categories', 'Categories', '', 'Weblinks/Categories', 'index.php?option=com_categories&extension=com_weblinks', 'component', 0, 18, 2, 6, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:weblinks-cat', 0, '', 50, 51, 0, '*', 1), 21 | (NULL, '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); 22 | -------------------------------------------------------------------------------- /trunk/admin/css/jupgrade.css: -------------------------------------------------------------------------------- 1 | /** 2 | * jUpgrade 3 | * 4 | * @version $Id$ 5 | * @package MatWare 6 | * @subpackage com_jupgrade 7 | * @author Matias Aguirre 8 | * @link http://www.matware.com.ar 9 | * @license GNU General Public License version 2 or later; see LICENSE.txt 10 | */ 11 | 12 | /* Toolbar */ 13 | .icon-48-jupgrade { 14 | background: url(../images/icon-48-jupgrade.png) no-repeat left; 15 | } 16 | 17 | div#error { 18 | width: 400px; 19 | height: 15px; 20 | padding: 5px; 21 | margin: 5px 0px 5px 0px; 22 | text-align: center; 23 | } 24 | 25 | div#ap-content-inner { 26 | background: #fff; 27 | } 28 | 29 | div#update{ 30 | color: #777; 31 | text-shadow: 0 1px 0 #FFF; 32 | background: #F8F8F8; /* Old browsers */ 33 | background: -moz-linear-gradient(top, #F8F8F8 0%, #e5e5e5 100%); /* FF3.6+ */ 34 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F8F8F8), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */ 35 | background: -webkit-linear-gradient(top, #F8F8F8 0%,#e5e5e5 100%); /* Chrome10+,Safari5.1+ */ 36 | background: -o-linear-gradient(top, #F8F8F8 0%,#e5e5e5 100%); /* Opera11.10+ */ 37 | background: -ms-linear-gradient(top, #F8F8F8 0%,#e5e5e5 100%); /* IE10+ */ 38 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F8F8F8', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */ 39 | background: linear-gradient(top, #F8F8F8 0%,#e5e5e5 100%); /* W3C */ 40 | border: 1px solid #CCC !important; 41 | -moz-box-shadow:0 5px 0 #DDD, 0 1px 0 #FFF inset, 0 12px 4px #999, 0 -1px 0 #FFF inset; 42 | -webkit-box-shadow:0 5px 0 #DDD, 0 1px 0 #FFF inset, 0 12px 4px #999, 0 -1px 0 #FFF inset; 43 | box-shadow:0 5px 0 #DDD, 0 1px 0 #FFF inset, 0 12px 4px #999, 0 -1px 0 #FFF inset;' 44 | -moz-border-radius: 12px; 45 | -webkit-border-radius: 12px; 46 | border-radius: 12px; 47 | width: 300px; 48 | margin: 10px auto 0 auto; 49 | } 50 | div#update:hover{ 51 | cursor: pointer; 52 | } 53 | div#update:active{ 54 | -moz-box-shadow:0 2px 0 #DDD, 0 1px 0 #FFF inset, 0 2px 1px #FFF, 0 -1px 0 #FFF inset; 55 | -webkit-box-shadow:0 2px 0 #DDD, 0 1px 0 #FFF inset, 0 2px 1px #FFF, 0 -1px 0 #FFF inset; 56 | box-shadow:0 2px 0 #DDD, 0 1px 0 #FFF inset, 0 2px 1px #FFF, 0 -1px 0 #FFF inset; 57 | top: 5px; 58 | color: #878787; 59 | } 60 | 61 | div#update h2 { 62 | font-family: arial, serif; 63 | font-size: 18pt; 64 | text-shadow: 0 1px 1px #FFFFFF; 65 | } 66 | 67 | div#info { 68 | width: 330px; 69 | padding: 7px; 70 | text-align: center; 71 | margin: 20px auto 10px auto; 72 | } 73 | 74 | #donate { 75 | border: none; 76 | } 77 | 78 | #info_title { 79 | margin: 10px; 80 | color: #0b141b; 81 | font-size: 25pt; 82 | } 83 | 84 | #info_version { 85 | color: #18232f; 86 | font-size: 9pt; 87 | } 88 | 89 | #info_thanks { 90 | margin: 10px; 91 | font-size: 9pt; 92 | } 93 | 94 | #checks, #download, #decompress, #install, #migration, #templates, #files, #extensions, #done { 95 | color: #777; 96 | text-shadow: 0 1px 0 #FFF; 97 | background: #F8F8F8; /* Old browsers */ 98 | background: -moz-linear-gradient(top, #F8F8F8 0%, #e5e5e5 100%); /* FF3.6+ */ 99 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F8F8F8), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */ 100 | background: -webkit-linear-gradient(top, #F8F8F8 0%,#e5e5e5 100%); /* Chrome10+,Safari5.1+ */ 101 | background: -o-linear-gradient(top, #F8F8F8 0%,#e5e5e5 100%); /* Opera11.10+ */ 102 | background: -ms-linear-gradient(top, #F8F8F8 0%,#e5e5e5 100%); /* IE10+ */ 103 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F8F8F8', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */ 104 | background: linear-gradient(top, #F8F8F8 0%,#e5e5e5 100%); /* W3C */ 105 | border: 1px solid #CCC !important; 106 | -moz-border-radius: 12px; 107 | -webkit-border-radius: 12px; 108 | border-radius: 12px; 109 | width: 300px; 110 | height: 120px; 111 | margin: 10px auto 0 auto; 112 | } 113 | 114 | .text { 115 | font-family: Arial,Helvetica,sans-serif; 116 | font-size: 11pt; 117 | } 118 | 119 | #pb0-box, #pb1-box, #pb2-box, #pb3-box, #pb4-box, #pb5-box, #pb6-box, #pb7-box { 120 | background:url(../images/progress-bar-back.gif) no-repeat scroll right center transparent; 121 | width:200px; 122 | height:19px; 123 | } 124 | 125 | #pb0-perc, #pb1-perc, #pb2-perc, #pb3-perc, #pb4-perc, #pb5-perc, #pb6-perc, #pb7-perc { 126 | background:url(../images/progress-bar.gif) no-repeat scroll right center transparent; 127 | height:19px; 128 | float:left; 129 | } 130 | 131 | #downloadtext { 132 | display: block; 133 | } 134 | 135 | #checktext { 136 | color: red; 137 | font-weight: bolder; 138 | } 139 | 140 | -------------------------------------------------------------------------------- /trunk/admin/includes/migrate_banners.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | /** 15 | * Upgrade class for Banners 16 | * 17 | * This class takes the banners from the existing site and inserts them into the new site. 18 | * 19 | * @since 0.4.5 20 | */ 21 | class jUpgradeBanners extends jUpgrade 22 | { 23 | /** 24 | * @var string The name of the source database table. 25 | * @since 0.4.5 26 | */ 27 | protected $source = '#__banner'; 28 | 29 | /** 30 | * @var string The name of the destination database table. 31 | * @since 0.4.5 32 | */ 33 | protected $destination = '#__banners'; 34 | 35 | 36 | /** 37 | * Get the raw data for this part of the upgrade. 38 | * 39 | * @return array Returns a reference to the source data array. 40 | * @since 0.4.5 41 | * @throws Exception 42 | */ 43 | protected function &getSourceData() 44 | { 45 | $rows = parent::getSourceData( 46 | '`bid` AS id, `cid`, `type`, `name`, `alias`, `imptotal`, `impmade`, ' 47 | .'`clicks`, `imageurl`, `clickurl`, `date`, `showBanner` AS state, `checked_out`, ' 48 | .'`checked_out_time`, `editor`, `custombannercode`, `catid`, `description`, ' 49 | .'`sticky`, `ordering`, `publish_up`, `publish_down`, `tags`, `params`', null, 'bid'); 50 | 51 | // Getting the categories id's 52 | $categories = $this->getMapList('categories', 'com_banners'); 53 | 54 | // Do some custom post processing on the list. 55 | foreach ($rows as $index => &$row) 56 | { 57 | // Convert HTML entities to UTF-8 on escaped entries 58 | $row['name'] = $this->entities2Utf8($row['name']); 59 | 60 | $row['params'] = $this->convertParams($row['params']); 61 | 62 | $cid = $row['catid']; 63 | $row['catid'] = &$categories[$cid]->new; 64 | } 65 | 66 | return $rows; 67 | } 68 | 69 | /** 70 | * Sets the data in the destination database. 71 | * 72 | * @return void 73 | * @since 0.4. 74 | * @throws Exception 75 | */ 76 | protected function setDestinationData() 77 | { 78 | $rows = $this->getSourceData(); 79 | 80 | foreach($rows as &$row) 81 | { 82 | $temp = new JParameter($row['params']); 83 | $temp->set('imageurl', 'images/banners/' . $row['imageurl']); 84 | $row['params'] = json_encode($temp->toObject()); 85 | 86 | $row['language'] = '*'; 87 | 88 | unset($row['imageurl']); 89 | unset($row['date']); 90 | unset($row['editor']); 91 | unset($row['tags']); 92 | } 93 | 94 | parent::setDestinationData($rows); 95 | } 96 | } 97 | 98 | /** 99 | * Upgrade class for banners clients 100 | * 101 | * @package MatWare 102 | * @subpackage com_jupgrade 103 | * @since 2.5.2 104 | */ 105 | class jUpgradeBannersClients extends jUpgrade 106 | { 107 | /** 108 | * @var string The name of the source database table. 109 | * @since 2.5.2 110 | */ 111 | protected $source = '#__bannerclient'; 112 | 113 | /** 114 | * @var string The name of the destination database table. 115 | * @since 2.5.2 116 | */ 117 | protected $destination = '#__banner_clients'; 118 | 119 | /** 120 | * Get the raw data for this part of the upgrade. 121 | * 122 | * @return array Returns a reference to the source data array. 123 | * @since 2.5.2 124 | * @throws Exception 125 | */ 126 | protected function &getSourceData() 127 | { 128 | $rows = parent::getSourceData('`cid` AS id, `name`, `contact`, `email`, `extrainfo`, `checked_out`, `checked_out_time`'); 129 | 130 | return $rows; 131 | } 132 | } 133 | 134 | /** 135 | * Upgrade class for banners tracks 136 | * 137 | * @package MatWare 138 | * @subpackage com_jupgrade 139 | * @since 2.5.2 140 | */ 141 | class jUpgradeBannersTracks extends jUpgrade 142 | { 143 | /** 144 | * @var string The name of the source database table. 145 | * @since 2.5.2 146 | */ 147 | protected $source = '#__bannertrack'; 148 | 149 | /** 150 | * @var string The name of the destination database table. 151 | * @since 2.5.2 152 | */ 153 | protected $destination = '#__banner_tracks'; 154 | } 155 | -------------------------------------------------------------------------------- /trunk/admin/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | -------------------------------------------------------------------------------- /trunk/admin/includes/jupgrade.category.class.php: -------------------------------------------------------------------------------- 1 | 9 | * @link http://www.matware.com.ar 10 | * @copyright Copyright 2006 - 2011 Matias Aguirre. All rights reserved. 11 | * @license GNU General Public License version 2 or later; see LICENSE.txt 12 | */ 13 | 14 | // Check to ensure this file is included in Joomla! 15 | defined('_JEXEC') or die; 16 | 17 | /** 18 | * Upgrade class for categories 19 | * 20 | * This class takes the categories banners from the existing site and inserts them into the new site. 21 | * 22 | * @since 1.2.2 23 | */ 24 | class jUpgradeCategory extends jUpgrade 25 | { 26 | /** 27 | * @var string The name of the section of the categories. 28 | * @since 1.2.2 29 | */ 30 | public $section = ''; 31 | /** 32 | * @var string The name of the source database table. 33 | * @since 0.5.6 34 | */ 35 | protected $source = '#__categories'; 36 | 37 | /** 38 | * Get the raw data for this part of the upgrade. 39 | * 40 | * @return array Returns a reference to the source data array. 41 | * @since 0.5.6 42 | * @throws Exception 43 | */ 44 | protected function &getSourceData() 45 | { 46 | 47 | if ($this->section == 'com_content' && $this->source == '#__categories') { 48 | $select = '`id`, `id` AS sid, `title`, `alias`, `section` AS extension, `description`, `published`, `checked_out`, `checked_out_time`, `access`, `params`'; 49 | $where = "section REGEXP '^[\\-\\+]?[[:digit:]]*\\.?[[:digit:]]*$'"; 50 | $order = 'section ASC, ordering ASC'; 51 | }else if ($this->source == '#__categories') { 52 | $select = '`id`, `id` AS sid, `title`, `alias`, `section` AS extension, `description`, `published`, `checked_out`, `checked_out_time`, `access`, `params`'; 53 | $where = "section = '{$this->section}'"; 54 | $order = 'ordering ASC'; 55 | }else if ($this->source == '#__sections') { 56 | $select = '`id` AS sid, `title`, `alias`, \'com_section\' AS extension, `description`, `published`, `checked_out`, `checked_out_time`, `access`, `params`'; 57 | $where = "scope = 'content'"; 58 | $order = 'ordering ASC'; 59 | } 60 | 61 | $rows = parent::getSourceData( 62 | $select, 63 | null, 64 | $where, 65 | $order 66 | ); 67 | 68 | // Initialize values 69 | $aliases = array(); 70 | $unique_alias_suffix = 1; 71 | 72 | // Do some custom post processing on the list. 73 | foreach ($rows as &$row) 74 | { 75 | $row['params'] = $this->convertParams($row['params']); 76 | $row['access'] = $row['access'] == 0 ? 1 : $row['access'] + 1; 77 | 78 | // Convert HTML entities to UTF-8 on escaped entries 79 | $row['title'] = $this->entities2Utf8($row['title']); 80 | $row['description'] = str_replace("'", "'", $row['description']); 81 | $row['language'] = '*'; 82 | 83 | if ($row['extension'] == 'com_banner') { 84 | $row['extension'] = "com_banners"; 85 | }else if ($row['extension'] == 'com_contact_details') { 86 | $row['extension'] = "com_contact"; 87 | } 88 | 89 | // Correct alias 90 | if ($row['alias'] == "") { 91 | $row['alias'] = JFilterOutput::stringURLSafe($row['title']); 92 | } 93 | 94 | // The Joomla 1.6 database structure does not allow duplicate aliases 95 | if (in_array($row['alias'], $aliases, true)) { 96 | $row['alias'] .= $unique_alias_suffix; 97 | $unique_alias_suffix++; 98 | } 99 | $aliases[] = $row['alias']; 100 | } 101 | 102 | return $rows; 103 | } 104 | 105 | 106 | /** 107 | * Sets the data in the destination database. 108 | * 109 | * @return void 110 | * @since 0.5.6 111 | * @throws Exception 112 | */ 113 | protected function setDestinationData() 114 | { 115 | // Get the source data. 116 | $categories = $this->getSourceData(); 117 | 118 | // Remove id 119 | foreach ($categories as $category) 120 | { 121 | unset($category->id); 122 | } 123 | 124 | // Insert the categories 125 | foreach ($categories as $category) 126 | { 127 | $this->insertCategory($category); 128 | } 129 | } 130 | 131 | /** 132 | * The public entry point for the class. 133 | * 134 | * @return void 135 | * @since 0.5.6 136 | * @throws Exception 137 | */ 138 | public function upgrade() 139 | { 140 | if (parent::upgrade()) { 141 | // Rebuild the categories table 142 | $table = JTable::getInstance('Category', 'JTable', array('dbo' => $this->db_new)); 143 | 144 | if (!$table->rebuild()) { 145 | echo JError::raiseError(500, $table->getError()); 146 | } 147 | } 148 | } 149 | 150 | /** 151 | * Inserts a category 152 | * 153 | * @access public 154 | * @param object An object whose properties match table fields 155 | * @since 0.4. 156 | */ 157 | public function insertCategory($object, $parent = false) 158 | { 159 | // Getting the category table 160 | $category = JTable::getInstance('Category', 'JTable', array('dbo' => $this->db_new)); 161 | 162 | // Get old id 163 | $oldlist = new stdClass(); 164 | $oldlist->section = isset($object['extension']) ? $object['extension'] : ''; 165 | $oldlist->old = isset($object['sid']) ? $object['sid'] : $object['id']; 166 | unset($object['sid']); 167 | 168 | // Correct extension 169 | if (isset($object['extension'])) { 170 | if (is_numeric($object['extension']) || $object['extension'] == "" || $object['extension'] == "category") { 171 | $object['extension'] = "com_content"; 172 | } 173 | 174 | // Fixing extension name if it's section 175 | if ($object['extension'] == 'com_section') { 176 | $object['extension'] = "com_content"; 177 | 178 | $category->setLocation(1, 'last-child'); 179 | } 180 | } 181 | 182 | // @@ TODO: maybe $parent flag is unused 183 | // If has parent made $path and get parent id 184 | if ($parent !== false) { 185 | // Setting the location of the new category 186 | $category->setLocation($parent, 'last-child'); 187 | } 188 | 189 | // Bind data to save category 190 | if (!$category->bind($object)) { 191 | echo JError::raiseError(500, $category->getError()); 192 | } 193 | 194 | // Insert the category 195 | if (!$category->store()) { 196 | echo JError::raiseError(500, $category->getError()); 197 | } 198 | 199 | // Get new id 200 | $oldlist->new = $category->id; 201 | 202 | // Save old and new id 203 | if (!$this->db_new->insertObject('jupgrade_categories', $oldlist)) { 204 | throw new Exception($this->db_new->getErrorMsg()); 205 | } 206 | 207 | return true; 208 | } 209 | } 210 | -------------------------------------------------------------------------------- /trunk/admin/views/cpanel/tmpl/default.php.old: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | // No direct access. 15 | defined('_JEXEC') or die; 16 | 17 | $version = "v{$this->version}"; 18 | 19 | ?> 20 | 21 | 22 | 23 | 29 | 30 | 82 | 83 | 84 | 171 |
85 |
86 |
87 | START UPDATE 88 |
89 |
90 | 95 | 96 | 97 |
98 | 99 | 100 | 101 | 102 | 170 |
172 | -------------------------------------------------------------------------------- /trunk/admin/views/cpanel/tmpl/default.php: -------------------------------------------------------------------------------- 1 | 11 | * @link http://www.matware.com.ar 12 | */ 13 | 14 | // No direct access. 15 | defined('_JEXEC') or die; 16 | 17 | $version = "v{$this->version}"; 18 | 19 | JHTML::_('behavior.mootools'); 20 | 21 | // Check if "System - Mootools Upgrade" is enabled 22 | $mtupgrade = JPluginHelper::isEnabled( 'system', 'mtupgrade' ); 23 | 24 | // get params 25 | $params = $this->params; 26 | 27 | // Determine which package is being downloaded 28 | $mode = $params->get("mode"); 29 | 30 | // Set the correct package name 31 | if ($mode == 1) { 32 | $package = 'Joomla 2.5'; 33 | } else if ($mode == 2) { 34 | $package = 'Molajo'; 35 | } 36 | 37 | // get document to add scripts 38 | $document = JFactory::getDocument(); 39 | $document->addScript('components/com_jupgrade/js/dwProgressBar.js'); 40 | 41 | $document->addScript('components/com_jupgrade/js/migrate.js'); 42 | $document->addStyleSheet("components/com_jupgrade/css/jupgrade.css"); 43 | ?> 44 | 75 | 76 | 77 | 78 | 79 | 169 | 170 | 171 |
80 | 81 |
82 | 83 |
84 | 85 | 86 |
87 |

88 |


89 |
90 | 91 |
92 |

93 |
94 |
95 |
96 | 97 |
98 |

99 |
100 |
101 | 0 bytes / 102 | 0 bytes 103 |
104 | 105 |
106 | 107 |
108 |

109 |
110 | 111 |
112 | 113 |
114 |

115 |
116 |
117 | 118 |
119 |

120 |
121 |
122 |
123 | 124 |
125 |

126 |
127 |
128 | 129 |
130 |

131 |
132 |
133 | 134 |
135 |

136 |
137 |
138 |
139 | 140 |
141 |

142 |

143 | :
144 | and 145 | 146 |

147 |
148 |
149 |
'.$this->version.''; ?>
150 |
151 |

152 | Matware © Copyleft 2006-2012
153 | Licensed as GNU General Public License v2
154 |

155 |

156 | Project Site / 157 | Project Community / 158 | FAQ
159 |

160 |
161 |
162 | 163 | 164 |
165 |
166 |
167 | 168 |
172 | 173 |
174 | 175 | 176 |
177 | 178 | --------------------------------------------------------------------------------