From: <be...@us...> - 2012-07-07 17:50:49
|
Revision: 9798 http://xoops.svn.sourceforge.net/xoops/?rev=9798&view=rev Author: beckmi Date: 2012-07-07 17:50:40 +0000 (Sat, 07 Jul 2012) Log Message: ----------- Renaming system "plugins" to "extensions" Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/xoops/css/icons.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/docs/changelog.txt XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/language/english/modinfo.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/xoops_version.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/docs/changelog.txt XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/mailusers/admin/menu.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/mailusers/xoops_version.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/about.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/center.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/dump.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/header.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/index.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/menu.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/class/form/maintenance.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/class/maintenance.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/docs/changelog.txt XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/language/english/admin.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/language/english/modinfo.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/xoops_version.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/xoops_version.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/docs/changelog.txt XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/xoops_version.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/preferences/main.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/module.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/css/admin.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/header.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/admin.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/modinfo.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/default.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/language/english/admin.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/dashboard.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/icons.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/xotpl/menu.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/xoops_version.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/docs/changelog.txt XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/userrank/xoops_version.php Added Paths: ----------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/extensions/ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/extensions/index.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/extensions/main.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/extensions/xoops_version.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/extension.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/css/extension.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/admin/extensions.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/help/extensions.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/system_extensions.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/icons/extensions.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/icons/extensions_small.png Removed Paths: ------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/plugins/ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/plugin.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/css/plugin.css XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/admin/plugins.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/help/plugins.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/system_plugins.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/icons/plugins.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/themes/default/icons/plugins_small.png Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/xoops/css/icons.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/xoops/css/icons.css 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/xoops/css/icons.css 2012-07-07 17:50:40 UTC (rev 9798) @@ -784,14 +784,14 @@ .ico-pill-add{background-position: -234px -1924px;} .ico-pill-delete{background-position: -234px -1950px;} .ico-pill-go{background-position: -234px -1976px;} -.ico-plugin{background-position: -260px 0;} -.ico-plugin-add{background-position: -260px -26px;} -.ico-plugin-delete{background-position: -260px -52px;} -.ico-plugin-disabled{background-position: -260px -78px;} -.ico-plugin-edit{background-position: -260px -104px;} -.ico-plugin-error{background-position: -260px -130px;} -.ico-plugin-go{background-position: -260px -156px;} -.ico-plugin-link{background-position: -260px -182px;} +.ico-extension{background-position: -260px 0;} +.ico-extension-add{background-position: -260px -26px;} +.ico-extension-delete{background-position: -260px -52px;} +.ico-extension-disabled{background-position: -260px -78px;} +.ico-extension-edit{background-position: -260px -104px;} +.ico-extension-error{background-position: -260px -130px;} +.ico-extension-go{background-position: -260px -156px;} +.ico-extension-link{background-position: -260px -182px;} .ico-pound{background-position: -260px -208px;} .ico-printer{background-position: -260px -234px;} .ico-printer-add{background-position: -260px -260px;} Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/docs/changelog.txt =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/docs/changelog.txt 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/docs/changelog.txt 2012-07-07 17:50:40 UTC (rev 9798) @@ -1,3 +1,3 @@ Version 0.1 ------------------- -Create avatars plugin \ No newline at end of file +Create avatars extension \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/language/english/modinfo.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/language/english/modinfo.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/language/english/modinfo.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -10,7 +10,7 @@ */ /** - * Avatars plugin + * Avatars extension * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) @@ -21,7 +21,7 @@ */ // Info module define("_MI_AVATARS_NAME", "Avatars"); -define("_MI_AVATARS_DESC", "Plugin for managing avatars"); +define("_MI_AVATARS_DESC", "Extension for managing avatars"); // Menu define("_MI_AVATARS_INDEX", "Home"); define("_MI_AVATARS_SYSTEM", "System avatars"); Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/xoops_version.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/xoops_version.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/xoops_version.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -10,7 +10,7 @@ */ /** - * avatars plugin + * avatars extension * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) @@ -46,10 +46,10 @@ $modversion['system_menu'] = 1; /* - Manage plugin + Manage extension */ -$modversion['plugin'] = 1; -$modversion['plugin_module'][] = 'system'; +$modversion['extension'] = 1; +$modversion['extension_module'][] = 'system'; // Admin things $modversion['hasAdmin'] = 1; Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/docs/changelog.txt =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/docs/changelog.txt 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/docs/changelog.txt 2012-07-07 17:50:40 UTC (rev 9798) @@ -1,4 +1,4 @@ Version 0.1 ------------------- -Create banners plugin +Create banners extension Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/mailusers/admin/menu.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/mailusers/admin/menu.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/mailusers/admin/menu.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -10,7 +10,7 @@ */ /** - * mail user plugin + * mail user extension * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/mailusers/xoops_version.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/mailusers/xoops_version.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/mailusers/xoops_version.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -10,7 +10,7 @@ */ /** - * Mailusers Plugin + * Mailusers Extension * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) @@ -52,10 +52,10 @@ $modversion['system_menu'] = 1; /* - Manage plugin + Manage extension */ -$modversion['plugin'] = 1; -$modversion['plugin_module'][] = 'system'; +$modversion['extension'] = 1; +$modversion['extension_module'][] = 'system'; // Admin things $modversion['hasAdmin'] = 1; Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/about.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/about.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/about.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -10,7 +10,7 @@ */ /** - * maintenance plugins + * maintenance extensions * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/center.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/center.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/center.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -10,7 +10,7 @@ */ /** - * maintenance plugins + * maintenance extensions * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/dump.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/dump.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/dump.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -10,7 +10,7 @@ */ /** - * maintenance plugins + * maintenance extensions * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/header.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/header.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/header.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -10,7 +10,7 @@ */ /** - * maintenance plugins + * maintenance extensions * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/index.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/index.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/index.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -10,7 +10,7 @@ */ /** - * maintenance plugins + * maintenance extensions * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/menu.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/menu.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/admin/menu.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -10,7 +10,7 @@ */ /** - * maintenance plugins + * maintenance extensions * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/class/form/maintenance.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/class/form/maintenance.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/class/form/maintenance.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -10,7 +10,7 @@ */ /** - * maintenance plugins + * maintenance extensions * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/class/maintenance.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/class/maintenance.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/class/maintenance.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -10,7 +10,7 @@ */ /** - * maintenance plugins + * maintenance extensions * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/docs/changelog.txt =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/docs/changelog.txt 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/docs/changelog.txt 2012-07-07 17:50:40 UTC (rev 9798) @@ -1,3 +1,3 @@ Version 0.1 ------------------- -Create maintenance plugin \ No newline at end of file +Create maintenance extension \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/language/english/admin.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/language/english/admin.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/language/english/admin.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -10,7 +10,7 @@ */ /** - * maintenance plugins + * maintenance extensions * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/language/english/modinfo.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/language/english/modinfo.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/language/english/modinfo.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -10,7 +10,7 @@ */ /** - * maintenance plugins + * maintenance extensions * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) @@ -22,7 +22,7 @@ // Info module define("_MI_MAINTENANCE_NAME", "Maintenance"); -define("_MI_MAINTENANCE_DESC", "Plugins for maintenance"); +define("_MI_MAINTENANCE_DESC", "Extensions for maintenance"); // Menu define("_MI_MAINTENANCE_INDEX", "Home"); define("_MI_MAINTENANCE_CENTER", "Maintenance"); Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/xoops_version.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/xoops_version.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/maintenance/xoops_version.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -10,7 +10,7 @@ */ /** - * maintenance plugins + * maintenance extensions * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) @@ -55,10 +55,10 @@ $modversion['system_menu'] = 1; /* - Manage plugin + Manage extension */ -$modversion['plugin'] = 1; -$modversion['plugin_module'][] = 'system'; +$modversion['extension'] = 1; +$modversion['extension_module'][] = 'system'; /* Admin things Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/xoops_version.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/xoops_version.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/xoops_version.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -55,10 +55,10 @@ $modversion['system_menu'] = 1; /* - Manage plugin + Manage extension */ -$modversion['plugin'] = 1; -$modversion['plugin_module'][] = 'system'; +$modversion['extension'] = 1; +$modversion['extension_module'][] = 'system'; /* Mysql and tables Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/docs/changelog.txt =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/docs/changelog.txt 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/docs/changelog.txt 2012-07-07 17:50:40 UTC (rev 9798) @@ -1,3 +1,3 @@ Version 0.1 ------------------- -Create smilies plugin \ No newline at end of file +Create smilies extension \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/xoops_version.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/xoops_version.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/xoops_version.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -55,10 +55,10 @@ $modversion['system_menu'] = 1; /* - Manage plugin + Manage extension */ -$modversion['plugin'] = 1; -$modversion['plugin_module'][] = 'system'; +$modversion['extension'] = 1; +$modversion['extension_module'][] = 'system'; /* Admin things Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/extensions ___________________________________________________________________ Added: tsvn:autoprops + *.php = svn:executable=*;svn:keywords=Author Date Id Rev URL; Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/extensions/index.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/extensions/index.html (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/extensions/index.html 2012-07-07 17:50:40 UTC (rev 9798) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/extensions/main.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/extensions/main.php (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/extensions/main.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -0,0 +1,170 @@ +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +*/ + +/** + * Plugins Manager + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Andricq Nicolas (AKA MusS) + * @package system + * @version $Id$ + */ + +defined('XOOPS_ROOT_PATH') or die('Restricted access'); + +// Get main instance +$xoops = Xoops::getInstance(); +$system = System::getInstance(); + +// Check users rights +if (!$xoops->isUser() || !$xoops->isModule() || !$xoops->user->isAdmin($xoops->module->mid())) { + exit(_NOPERM); +} + +if (isset($_POST)) { + foreach ($_POST as $k => $v) { + ${$k} = $v; + } +} +$system->loadLanguage('modulesadmin','system'); +// Get Action type +$op = $system->cleanVars($_REQUEST, 'op', 'list', 'string'); + +switch ($op) { + + case 'list': + // Call Header + $xoops->header('system_extensions.html'); + // Define Stylesheet + $xoops->theme->addStylesheet('modules/system/css/admin.css'); + // Define scripts + $xoops->theme->addScript('media/jquery/plugins/jquery.jeditable.js'); + $xoops->theme->addScript('modules/system/js/admin.js'); + $xoops->theme->addScript('modules/system/js/module.js'); + // Define Breadcrumb and tips + $admin_page = new XoopsModuleAdmin(); + $admin_page->addBreadcrumbLink(_AM_SYSTEM_CPANEL, XOOPS_URL . '/admin.php', true); + $admin_page->addBreadcrumbLink(_AM_SYSTEM_EXTENSIONS_ADMIN, $system->adminVersion('extensions', 'adminpath')); + $admin_page->addBreadcrumbLink(_AM_SYSTEM_EXTENSIONS_MAIN); + $admin_page->addTips(_AM_SYSTEM_EXTENSIONS_TIPS); + $admin_page->renderBreadcrumb(); + $admin_page->renderTips(); + + $system_extension = new SystemExtension(); + + $extension = $system_extension->getExtensionList(); + + $xoops->tpl->assign('xoops', $xoops); + $xoops->tpl->assign('extension_list', $extension); + // Call Footer + $xoops->footer(); + break; + + case 'install': + $module = $system->cleanVars($_POST, 'dirname', '', 'string'); + // Call Header + $xoops->header('system_modules_logger.html'); + // Define Stylesheet + $xoops->theme->addStylesheet('modules/system/css/admin.css'); + // Define Breadcrumb and tips + $admin_page = new XoopsModuleAdmin(); + $admin_page->addBreadcrumbLink(_AM_SYSTEM_CPANEL, XOOPS_URL . '/admin.php', true); + $admin_page->addBreadcrumbLink(_AM_SYSTEM_EXTENSIONS_ADMIN, $system->adminVersion('extensions', 'adminpath')); + $admin_page->addBreadcrumbLink(_AM_SYSTEM_EXTENSIONS_INSTALL); + $admin_page->renderBreadcrumb(); + + $ret = array(); + $system_extension = new SystemExtension(); + $ret = $system_extension->install($module); + if ($ret) { + $xoops->tpl->assign('install', 1); + $xoops->tpl->assign('module', $ret); + $xoops->tpl->assign('from_title', _AM_SYSTEM_EXTENSIONS_ADMIN); + $xoops->tpl->assign('from_link', $system->adminVersion('extensions', 'adminpath')); + $xoops->tpl->assign('title', _AM_SYSTEM_EXTENSIONS_INSTALL); + $xoops->tpl->assign('log', $system_extension->trace); + } else { + print_r($system_extension->error); + //print_r($system_extension->trace); + } + //Set active modules in cache folder + $xoops->setActiveModules(); + // Call Footer + $xoops->footer(); + break; + + case 'uninstall': + $mid = $system->cleanVars($_POST, 'mid', 0, 'int'); + $module_handler = $xoops->getHandlerModule(); + $module = $module_handler->getById($mid); + // Call Header + $xoops->header('system_modules_logger.html'); + // Define Stylesheet + $xoops->theme->addStylesheet('modules/system/css/admin.css'); + // Define Breadcrumb and tips + $admin_page = new XoopsModuleAdmin(); + $admin_page->addBreadcrumbLink(_AM_SYSTEM_CPANEL, XOOPS_URL . '/admin.php', true); + $admin_page->addBreadcrumbLink(_AM_SYSTEM_EXTENSIONS_ADMIN, $system->adminVersion('extensions', 'adminpath')); + $admin_page->addBreadcrumbLink(_AM_SYSTEM_EXTENSIONS_UNINSTALL); + $admin_page->renderBreadcrumb(); + + $ret = array(); + $system_extension = new SystemExtension(); + $ret = $system_extension->uninstall($module->getVar('dirname')); + $xoops->tpl->assign('module', $ret); + if ($ret) { + $xoops->tpl->assign('from_title', _AM_SYSTEM_EXTENSIONS_ADMIN); + $xoops->tpl->assign('from_link', $system->adminVersion('extensions', 'adminpath')); + $xoops->tpl->assign('title', _AM_SYSTEM_EXTENSIONS_UNINSTALL); + $xoops->tpl->assign('log', $system_extension->trace); + } + $folder = array(1, 3); + $system->CleanCache($folder); + // Call Footer + $xoops->footer(); + break; + + case 'update': + $mid = $system->cleanVars($_POST, 'mid', 0, 'int'); + $module_handler = $xoops->getHandlerModule(); + $block_handler = $xoops->getHandlerBlock(); + $module = $module_handler->getById($mid); + // Call Header + $xoops->header('system_modules_logger.html'); + // Define Stylesheet + $xoops->theme->addStylesheet('modules/system/css/admin.css'); + // Define Breadcrumb and tips + $admin_page = new XoopsModuleAdmin(); + $admin_page->addBreadcrumbLink(_AM_SYSTEM_CPANEL, XOOPS_URL . '/admin.php', true); + $admin_page->addBreadcrumbLink(_AM_SYSTEM_EXTENSIONS_ADMIN, $system->adminVersion('extensions', 'adminpath')); + $admin_page->addBreadcrumbLink(_AM_SYSTEM_EXTENSIONS_UPDATE); + $admin_page->renderBreadcrumb(); + + $ret = array(); + $system_extension = new SystemExtension(); + $ret = $system_extension->update($module->getVar('dirname')); + $xoops->tpl->assign('module', $ret); + if ($ret) { + $xoops->tpl->assign('install', 1); + $xoops->tpl->assign('from_title', _AM_SYSTEM_EXTENSIONS_ADMIN); + $xoops->tpl->assign('from_link', $system->adminVersion('extensions', 'adminpath')); + $xoops->tpl->assign('title', _AM_SYSTEM_EXTENSIONS_UPDATE); + $xoops->tpl->assign('log', $system_extension->trace); + } + $folder = array(1, 3); + $system->CleanCache($folder); + //Set active modules in cache folder + $xoops->setActiveModules(); + // Call Footer + $xoops->footer(); + break; +} \ No newline at end of file Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/extensions/main.php ___________________________________________________________________ Added: svn:executable + * Added: svn:keywords + Author Date Id Rev URL Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/extensions/xoops_version.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/extensions/xoops_version.php (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/extensions/xoops_version.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -0,0 +1,35 @@ +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +*/ + +/** + * Plugin manager config + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Andricq Nicolas (AKA MusS) + * @package system + * @version $Id$ + */ + +defined('XOOPS_ROOT_PATH') or die('Restricted access'); + +$modversion['name'] = _AM_SYSTEM_EXTENSIONS; +$modversion['version'] = '1.0'; +$modversion['description'] = _AM_SYSTEM_EXTENSIONS_DESC; +$modversion['author'] = ''; +$modversion['credits'] = 'The XOOPS Project; Andricq Nicolas (AKA MusS)'; +$modversion['help'] = 'page=extension'; +$modversion['license'] = "GPL see LICENSE"; +$modversion['official'] = 1; +$modversion['image'] = 'extensions.png'; +$modversion['hasAdmin'] = 1; +$modversion['adminpath'] = 'admin.php?fct=extensions'; +$modversion['category'] = XOOPS_SYSTEM_MODULE; Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/extensions/xoops_version.php ___________________________________________________________________ Added: svn:executable + * Added: svn:keywords + Author Date Id Rev URL Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/preferences/main.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/preferences/main.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/preferences/main.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -99,7 +99,7 @@ // Define Breadcrumb and tips $admin_page = new XoopsModuleAdmin(); $admin_page->addBreadcrumbLink(_AM_SYSTEM_CPANEL, XOOPS_URL . '/admin.php', true); - $admin_page->addBreadcrumbLink(_AM_SYSTEM_PREFERENCES_NAV_MAIN, $system->adminVersion('plugins', 'adminpath')); + $admin_page->addBreadcrumbLink(_AM_SYSTEM_PREFERENCES_NAV_MAIN, $system->adminVersion('extensions', 'adminpath')); $admin_page->addBreadcrumbLink($module->getVar('name')); $admin_page->renderBreadcrumb(); @@ -182,7 +182,7 @@ // Define Breadcrumb and tips $admin_page = new XoopsModuleAdmin(); $admin_page->addBreadcrumbLink(_AM_SYSTEM_CPANEL, XOOPS_URL . '/admin.php', true); - $admin_page->addBreadcrumbLink(_AM_SYSTEM_PREFERENCES_NAV_MAIN, $system->adminVersion('plugins', 'adminpath')); + $admin_page->addBreadcrumbLink(_AM_SYSTEM_PREFERENCES_NAV_MAIN, $system->adminVersion('extensions', 'adminpath')); $admin_page->addBreadcrumbLink(_AM_SYSTEM_PREFERENCES_MAIN); $admin_page->addTips(_AM_SYSTEM_PREFERENCES_NAV_TIPS); $admin_page->renderBreadcrumb(); Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -120,7 +120,7 @@ $admin_dir = XOOPS_ROOT_PATH . '/modules/system/admin'; $dirlist = XoopsLists::getDirListAsArray($admin_dir); - $inactive_section = array('blocksadmin', 'groups', 'modulesadmin', 'preferences', 'tplsets', 'plugins'); + $inactive_section = array('blocksadmin', 'groups', 'modulesadmin', 'preferences', 'tplsets', 'extensions'); foreach ($dirlist as $directory) { if (file_exists($file = $admin_dir . '/' . $directory . '/xoops_version.php')) { require $file; Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/extension.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/extension.php (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/extension.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -0,0 +1,104 @@ +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +*/ + +/** + * + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Andricq Nicolas (AKA MusS) + * @package System + * @version $Id$ + */ + +class SystemExtension extends SystemModule +{ + + public function getExtension( $mod = '' ) + { + $ret = array(); + $extension = $this->getExtensionList(); + foreach( $extension as $list ) { + /* @var $list XoopsModule */ + if ( $list->getInfo('install') ) { + if ( !is_array( $list->getInfo('extension_module') ) ) { + $ret[] = $list; + } else { + if ( array_search( $mod, $list->getInfo('extension_module')) !== false ){ + $ret[] = $list; + //echo $list->getInfo('name') . is_array( $list->getInfo('extension_module') ); + } + } + unset($list); + } + } + + return $ret; + } + + /** + * Return all extensions + * @return array + */ + public function getExtensionList() + { + // Get main instance + $xoops = Xoops::getInstance(); + $module_handler = $xoops->getHandlerModule(); + $moduleperm_handler = $xoops->getHandlerGroupperm(); + + $ret = array(); + $i = 0; + foreach ($this->_list as $file) { + if (file_exists(XOOPS_ROOT_PATH . '/modules/' . $file . '/xoops_version.php')) { + clearstatcache(); + $file = trim($file); + /* @var $module XoopsModule */ + $module = $module_handler->create(); + $module->loadInfo($file); + if ($module->getInfo('extension')) { + if (in_array($file, $this->_mods)) { + $module->setInfo('install', true); + $extension = $module_handler->getByDirname($module->getInfo('dirname')); + $module->setInfo('mid', $extension->getVar('mid')); + $module->setInfo('update', XoopsLocal::formatTimestamp($extension->getVar('last_update'), 's')); + if (round($module->getInfo('version'), 2) != $extension->getVar('version')) { + $module->setInfo('warning_update', true); + } + $sadmin = $moduleperm_handler->checkRight('module_admin', $module->getInfo('mid'), $xoops->user->getGroups()); + if ($sadmin && ($module->getVar('hasnotification') || is_array($module->getInfo('config')) || is_array($module->getInfo('comments')))) { + $module->setInfo('link_pref', XOOPS_URL . '/modules/system/admin.php?fct=preferences&op=showmod&mod=' . $module->getInfo('mid')); + } + } else { + $module->setInfo('install', false); + } + $module->setInfo('version', round($module->getInfo('version'), 2)); + if (file_exists(XOOPS_ROOT_PATH . '/modules/' . $module->getInfo('dirname') . '/icons/logo_small.png')) { + $module->setInfo('logo_small', XOOPS_URL . '/modules/' . $module->getInfo('dirname') . '/icons/logo_small.png'); + } else { + $module->setInfo('logo_small', XOOPS_URL . '/media/xoops/images/icons/16/default.png'); + } + if (file_exists(XOOPS_ROOT_PATH . '/modules/' . $module->getInfo('dirname') . '/icons/logo_large.png')) { + $module->setInfo('logo_large', XOOPS_URL . '/modules/' . $module->getInfo('dirname') . '/icons/logo_large.png'); + } else { + $module->setInfo('logo_large', XOOPS_URL . '/media/xoops/images/icons/32/default.png'); + } + $module->setInfo('link_admin', XOOPS_URL . '/modules/' . $module->getInfo('dirname') . '/' . $module->getInfo('adminindex')); + $module->setInfo('options', $module->getAdminMenu()); + $ret[] = $module; + unset($module); + $i++; + } + } + } + return $ret; + } +} Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/extension.php ___________________________________________________________________ Added: svn:executable + * Added: svn:keywords + Author Date Id Rev URL Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/module.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/module.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/module.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -68,7 +68,7 @@ $ret = $module_handler->getObjects($criteria, true); $list = array(); foreach (array_keys($ret) as $i) { - if (!$ret[$i]->getInfo('plugin')) { + if (!$ret[$i]->getInfo('extension')) { if ($ret[$i]->getInfo('dirname') == 'system') { $ret[$i]->setInfo('can_delete', false); $ret[$i]->setInfo('can_disable', false); @@ -120,7 +120,7 @@ /* @var $module XoopsModule */ $module = $module_handler->create(); $module->loadInfo($file); - if (!$module->getInfo('plugin')) { + if (!$module->getInfo('extension')) { $module->setInfo('mid', $i); $module->setInfo('version', round($module->getInfo('version'), 2)); $ret[] = $module; Deleted: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/plugin.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/plugin.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/plugin.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -1,104 +0,0 @@ -<?php -/* - You may not change or alter any portion of this comment or credits - of supporting developers from this source code or any supporting source code - which is considered copyrighted (c) material of the original comment or credit authors. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ - -/** - * - * - * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) - * @author Andricq Nicolas (AKA MusS) - * @package System - * @version $Id$ - */ - -class SystemPlugin extends SystemModule -{ - - public function getPlugin( $mod = '' ) - { - $ret = array(); - $plugin = $this->getPluginList(); - foreach( $plugin as $list ) { - /* @var $list XoopsModule */ - if ( $list->getInfo('install') ) { - if ( !is_array( $list->getInfo('plugin_module') ) ) { - $ret[] = $list; - } else { - if ( array_search( $mod, $list->getInfo('plugin_module')) !== false ){ - $ret[] = $list; - //echo $list->getInfo('name') . is_array( $list->getInfo('plugin_module') ); - } - } - unset($list); - } - } - - return $ret; - } - - /** - * Return all plugins - * @return array - */ - public function getPluginList() - { - // Get main instance - $xoops = Xoops::getInstance(); - $module_handler = $xoops->getHandlerModule(); - $moduleperm_handler = $xoops->getHandlerGroupperm(); - - $ret = array(); - $i = 0; - foreach ($this->_list as $file) { - if (file_exists(XOOPS_ROOT_PATH . '/modules/' . $file . '/xoops_version.php')) { - clearstatcache(); - $file = trim($file); - /* @var $module XoopsModule */ - $module = $module_handler->create(); - $module->loadInfo($file); - if ($module->getInfo('plugin')) { - if (in_array($file, $this->_mods)) { - $module->setInfo('install', true); - $plugin = $module_handler->getByDirname($module->getInfo('dirname')); - $module->setInfo('mid', $plugin->getVar('mid')); - $module->setInfo('update', XoopsLocal::formatTimestamp($plugin->getVar('last_update'), 's')); - if (round($module->getInfo('version'), 2) != $plugin->getVar('version')) { - $module->setInfo('warning_update', true); - } - $sadmin = $moduleperm_handler->checkRight('module_admin', $module->getInfo('mid'), $xoops->user->getGroups()); - if ($sadmin && ($module->getVar('hasnotification') || is_array($module->getInfo('config')) || is_array($module->getInfo('comments')))) { - $module->setInfo('link_pref', XOOPS_URL . '/modules/system/admin.php?fct=preferences&op=showmod&mod=' . $module->getInfo('mid')); - } - } else { - $module->setInfo('install', false); - } - $module->setInfo('version', round($module->getInfo('version'), 2)); - if (file_exists(XOOPS_ROOT_PATH . '/modules/' . $module->getInfo('dirname') . '/icons/logo_small.png')) { - $module->setInfo('logo_small', XOOPS_URL . '/modules/' . $module->getInfo('dirname') . '/icons/logo_small.png'); - } else { - $module->setInfo('logo_small', XOOPS_URL . '/media/xoops/images/icons/16/default.png'); - } - if (file_exists(XOOPS_ROOT_PATH . '/modules/' . $module->getInfo('dirname') . '/icons/logo_large.png')) { - $module->setInfo('logo_large', XOOPS_URL . '/modules/' . $module->getInfo('dirname') . '/icons/logo_large.png'); - } else { - $module->setInfo('logo_large', XOOPS_URL . '/media/xoops/images/icons/32/default.png'); - } - $module->setInfo('link_admin', XOOPS_URL . '/modules/' . $module->getInfo('dirname') . '/' . $module->getInfo('adminindex')); - $module->setInfo('options', $module->getAdminMenu()); - $ret[] = $module; - unset($module); - $i++; - } - } - } - return $ret; - } -} Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/css/admin.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/css/admin.css 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/css/admin.css 2012-07-07 17:50:40 UTC (rev 9798) @@ -1,7 +1,7 @@ @import url(button.css); @import url(help.css); @import url(module.css); -@import url(plugin.css); +@import url(extension.css); a {outline:none} Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/css/extension.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/css/extension.css (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/css/extension.css 2012-07-07 17:50:40 UTC (rev 9798) @@ -0,0 +1,4 @@ + +.xo-extension-detail { + margin: 0 0 0 25px; +} \ No newline at end of file Deleted: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/css/plugin.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/css/plugin.css 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/css/plugin.css 2012-07-07 17:50:40 UTC (rev 9798) @@ -1,4 +0,0 @@ - -.xo-plugin-detail { - margin: 0 0 0 25px; -} \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/header.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/header.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/header.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -25,7 +25,7 @@ XoopsLoad::load('system', 'system'); XoopsLoad::load('module', 'system'); -XoopsLoad::load('plugin', 'system'); +XoopsLoad::load('extension', 'system'); $system = System::getInstance(); Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/admin/extensions.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/admin/extensions.php (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/admin/extensions.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -0,0 +1,45 @@ +<?php +/** + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * _LANGCODE en + * _CHARSET UTF-8 + * @version $Id$ + */ + +// Navigation +define("_AM_SYSTEM_EXTENSIONS_ADMIN", "Extensions Administration"); +define("_AM_SYSTEM_EXTENSIONS_MAIN", "Main"); + +// Messages +define("_AM_SYSTEM_EXTENSIONS_MSG_INSTALL", "Install extension"); +define("_AM_SYSTEM_EXTENSIONS_MSG_UPDATE", "Update extension"); +define("_AM_SYSTEM_EXTENSIONS_MSG_UNINSTALL", "Uninstall extension"); + +define("_AM_SYSTEM_EXTENSIONS_MENUADMIN","Manage Extensions"); + +// Table +define("_AM_SYSTEM_EXTENSIONS_NAME","Name"); +define("_AM_SYSTEM_EXTENSIONS_VERSION","Version"); +define("_AM_SYSTEM_EXTENSIONS_DETAIL","Detail"); +define("_AM_SYSTEM_EXTENSIONS_ACTIONS","Actions"); + +// Buttons +define("_AM_SYSTEM_EXTENSIONS_INSTALL", "Install"); +define("_AM_SYSTEM_EXTENSIONS_UNINSTALL","Uninstall"); +define("_AM_SYSTEM_EXTENSIONS_UPDATE","Update"); + +// Other +define("_AM_SYSTEM_EXTENSIONS_VERSION2","Version:"); +define("_AM_SYSTEM_EXTENSIONS_AUTHOR","Author:"); +define("_AM_SYSTEM_EXTENSIONS_DESCRIPTION","Description:"); +define("_AM_SYSTEM_EXTENSIONS_LICENSE","License:"); +define("_AM_SYSTEM_EXTENSIONS_LASTUP","Last Update:"); +define("_AM_SYSTEM_EXTENSIONS_WEB","Web:"); + +// Tips +define("_AM_SYSTEM_EXTENSIONS_TIPS", +"<ul> +<li>If you install a new extension, remember to setup module preferences and users permissions!</li> +<li>Delete unused extension files from your server to avoid security issues and keep your website safe.</li> +</ul>"); Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/admin/extensions.php ___________________________________________________________________ Added: svn:executable + * Added: svn:keywords + Author Date Id Rev URL Deleted: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/admin/plugins.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/admin/plugins.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/admin/plugins.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -1,45 +0,0 @@ -<?php -/** - * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * _LANGCODE en - * _CHARSET UTF-8 - * @version $Id$ - */ - -// Navigation -define("_AM_SYSTEM_PLUGINS_ADMIN", "Plugins Administration"); -define("_AM_SYSTEM_PLUGINS_MAIN", "Main"); - -// Messages -define("_AM_SYSTEM_PLUGINS_MSG_INSTALL", "Install plugin"); -define("_AM_SYSTEM_PLUGINS_MSG_UPDATE", "Update plugin"); -define("_AM_SYSTEM_PLUGINS_MSG_UNINSTALL", "Uninstall plugin"); - -define("_AM_SYSTEM_PLUGINS_MENUADMIN","Manage Plugins"); - -// Table -define("_AM_SYSTEM_PLUGINS_NAME","Name"); -define("_AM_SYSTEM_PLUGINS_VERSION","Version"); -define("_AM_SYSTEM_PLUGINS_DETAIL","Detail"); -define("_AM_SYSTEM_PLUGINS_ACTIONS","Actions"); - -// Buttons -define("_AM_SYSTEM_PLUGINS_INSTALL", "Install"); -define("_AM_SYSTEM_PLUGINS_UNINSTALL","Uninstall"); -define("_AM_SYSTEM_PLUGINS_UPDATE","Update"); - -// Other -define("_AM_SYSTEM_PLUGINS_VERSION2","Version:"); -define("_AM_SYSTEM_PLUGINS_AUTHOR","Author:"); -define("_AM_SYSTEM_PLUGINS_DESCRIPTION","Description:"); -define("_AM_SYSTEM_PLUGINS_LICENSE","License:"); -define("_AM_SYSTEM_PLUGINS_LASTUP","Last Update:"); -define("_AM_SYSTEM_PLUGINS_WEB","Web:"); - -// Tips -define("_AM_SYSTEM_PLUGINS_TIPS", -"<ul> -<li>If you install a new plugin, remember to setup module preferences and users permissions!</li> -<li>Delete unused plugin files from your server to avoid security issues and keep your website safe.</li> -</ul>"); Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/admin.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/admin.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/admin.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -40,9 +40,9 @@ define("_AM_SYSTEM_BLOCKS","Blocks"); define("_AM_SYSTEM_BLOCKS_DESC","With blocks you can <br /> add many thing for <br /> your users"); define("_AM_SYSTEM_MODULES","Modules"); -define("_AM_SYSTEM_MODULES_DESC","At here you can install <br /> and unistall your xoops <br /> modules. Do you know <br /> what module is ?"); -define("_AM_SYSTEM_PLUGINS","Plugins"); -define("_AM_SYSTEM_PLUGINS_DESC","At here you can install <br /> and uninstall your xoops <br /> plugins."); +define("_AM_SYSTEM_MODULES_DESC","At here you can install <br /> and unistall your XOOPS <br /> modules. Do you know <br /> what module is ?"); +define("_AM_SYSTEM_EXTENSIONS","Extensions"); +define("_AM_SYSTEM_EXTENSIONS_DESC","At here you can install <br /> and uninstall your XOOPS <br /> extensions."); define("_AM_SYSTEM_THEME","Themes"); define("_AM_SYSTEM_THEME_DESC","You can manage themes"); define("_AM_SYSTEM_USER","Users"); Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/help/extensions.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/help/extensions.html (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/help/extensions.html 2012-07-07 17:50:40 UTC (rev 9798) @@ -0,0 +1,8 @@ +<h1 class="head">Help: Plugins</h1> + +<h4>Description</h4> +<p> + +Empty... + +</p> \ No newline at end of file Deleted: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/help/plugins.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/help/plugins.html 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/help/plugins.html 2012-07-07 17:50:40 UTC (rev 9798) @@ -1,8 +0,0 @@ -<h1 class="head">Help: Plugins</h1> - -<h4>Description</h4> -<p> - -Empty... - -</p> \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/modinfo.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/modinfo.php 2012-07-07 17:47:15 UTC (rev 9797) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/language/english/modinfo.php 2012-07-07 17:50:40 UTC (rev 9798) @@ -61,7 +61,7 @@ define("_MI_SYSTEM_PREFERENCE_ACTIVE_PREFERENCES",""); define("_MI_SYSTEM_PREFERENCE_ACTIVE_TPLSETS",""); define("_MI_SYSTEM_PREFERENCE_ACTIVE_USERS","Active Users"); -define("_MI_SYSTEM_PREFERENCE_ACTIVE_PLUGINS","Plugins"); +define("_MI_SYSTEM_PREFERENCE_ACTIVE_EXTENSIONS","Extensions"); define("_MI_SYSTEM_PREFERENCE_ACTIVE_THEMES","Themes"); define("_MI_SYSTEM_PREFERENCE_BREAK_PAGER","Number of rows to display in the administration"); Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/system_extensions.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/system_extensions.html (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/system_extensions.html 2012-07-07 17:50:40 UTC (rev 9798) @@ -0,0 +1,178 @@ +<{includeq file="admin:system|admin_breadcrumb.html"}> +<{includeq file="admin:system|admin_tips.html"}> + +<table class="outer"> + <thead> + <tr> + <th>#</th> + <th><{$smarty.const._AM_SYSTEM_EXTENSIONS_NAME}></th> + <th><{$smarty.const._AM_SYSTEM_EXTENSIONS_VERSION}></th> + <th><{$smarty.const._AM_SYSTEM_EXTENSIONS_DETAIL}></th> + <th><{$smarty.const._AM_SYSTEM_EXTENSIONS_ACTIONS}></th> + </tr> + </thead> + <tbody> + <{foreach item=extension from=$extension_list}> + <tr> + <td class="span1"> + <{if $extension->getInfo('install')}> + <a href="<{$xoops_url}>/modules/<{$extension->getInfo('dirname')}>/<{$extension->getInfo('adminindex')}>"> + <img class="xo-tooltip" src="<{$extension->getInfo('logo_small')}>" alt="<{$extension->getInfo('name')}>" title="<{$extension->getInfo('name')}>" /> + </a> + <{else}> + <img class="xo-tooltip" src="<{$extension->getInfo('logo_small')}>" alt="<{$extension->getInfo('name')}>" title="<{$extension->getInfo('name')}>" /> + <{/if}> + </td> + <td class="span4"> + <{if $extension->getInfo('install')}> + <a href="<{$xoops_url}>/modules/<{$extension->getInfo('dirname')}>/<{$extension->getInfo('adminindex')}>"> + <{$extension->getInfo('name')}> + </a> + <{else}> + <{$extension->getInfo('name')}> + <{/if}> + </td> + <td class="span2"> + <{$extension->getInfo('version')}> + </td> + <td> + <ul class="xo-extension-detail"> + <li><span class="bold"><{$smarty.const._AM_SYSTEM_EXTENSIONS_AUTHOR}></span> <{$extension->getInfo('author')}></li> + <li class="hide detail-<{$extension->getInfo(dirname)}>"><span class="bold"><{$smarty.const._AM_SYSTEM_EXTENSIONS_LICENSE}></span> <{$extension->getInfo('license')}></li> + <li class="hide detail-<{$extension->getInfo(dirname)}>"><span class="bold"><{$smarty.const._AM_SYSTEM_EXTENSIONS_DESCRIPTION}></span> <{$extension->getInfo(description)}></li> + </ul> + </td> + <td class="span4"> + <a class="xo-tooltip" href="javascript:" onclick="$('li.detail-<{$extension->getInfo(dirname)}>').toggle('slow');" title="<{$smarty.const._AM_SYSTEM_EXTENSIONS_DETAIL}>"><span class="ico-magnifier"></span></a> + <{if $extension->getInfo('install')}> + <a class="xo-tooltip" href="javascript:" onclick="module_Update(<{$extension->getInfo(mid)}>)" title="<{$smarty.const._AM_SYSTEM_EXTENSIONS_UPDATE}>"><span class="ico-arrow-refresh-small"></span></a> + <a class="xo-tooltip" href="javascript:" onclick="module_Uninstall(<{$extension->getInfo(mid)}>)" title="<{$smarty.const._AM_SYSTEM_EXTENSIONS_UNINSTALL}>"><span class="ico-application-delete"></span></a> + <{else}> + <a class="xo-tooltip" href="javascript:" onclick="module_Install('<{$extension->getInfo(dirname)}>')" title="<{$smarty.const._AM_SYSTEM_EXTENSIONS_INSTALL}> <{$extension->getInfo(name)}>"><span class="ico-application-go"></span></a> + <{/if}> + </td> + </tr> + <{/foreach}> + </tbody> +</table> +<{foreach item=extension from=$extension_list}> +<div id="data-<{$extension->getInfo('mid')}>" class="hide"> + <div class="module_card"> + <div class="module_image"> + <a class="rounded xo-tooltip" style="background: url('<{$xoops_url}>/modules/<{$extension->getInfo(dirname)}>/<{$extension->getInfo(image)}>') no-repeat scroll center center transparent;" title="<{$extension->getVar('name')}>"> + <span class="rounded"> </span> + </a> + </div> + <div class="module_data"> + <div class="name"><{$extension->getInfo('name')}></div> + <div class="data"> + <div><span class="bold"><{$smarty.const._AM_SYSTEM_EXTENSIONS_VERSION2}></span> <{$extension->getInfo('version')}></div> + <div><span class="bold"><{$smarty.const._AM_SYSTEM_EXTENSIONS_LASTUP}></span> <{$extension->getInfo('update')}></div> + </div> + </div> + <div class="modu... [truncated message content] |