|
From: <red...@us...> - 2013-08-20 00:16:44
|
Revision: 11949
http://sourceforge.net/p/xoops/svn/11949
Author: redheadedrod
Date: 2013-08-20 00:16:39 +0000 (Tue, 20 Aug 2013)
Log Message:
-----------
Added Paths:
-----------
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/config.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/form/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/form/configs.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/form/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/form/modules.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/helper.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/item.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/option.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/plugin/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/plugin/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/plugin/interface.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/plugin/menus.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/plugin/system.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/icons/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/icons/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/icons/logo_large.png
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/icons/logo_small.png
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/images/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/images/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/images/logo.png
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/index.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/language/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/language/english/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/language/english/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/language/english/main.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/language/english/modinfo.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/language/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/preloads/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/preloads/core.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/preloads/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/sql/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/sql/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/sql/mysql.sql
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/templates/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/templates/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/templates/list.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/xoops_version.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/admin/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/admin/about.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/admin/header.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/admin/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/admin/index.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/admin/menu.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/admin/userrank.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/class/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/class/form/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/class/form/ranks.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/docs/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/docs/changelog.txt
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/docs/credits.txt
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/docs/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/docs/install.txt
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/docs/lang_diff.txt
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/docs/licence.txt
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/docs/readme.txt
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/icons/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/icons/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/icons/logo_large.png
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/icons/logo_small.png
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/images/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/images/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/images/logo.png
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/include/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/include/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/language/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/language/english/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/language/english/admin.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/language/english/help/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/language/english/help/help.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/language/english/help/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/language/english/images/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/language/english/images/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/language/english/images/lightbox-blank.gif
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/language/english/images/lightbox-btn-close.gif
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/language/english/images/lightbox-btn-next.gif
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/language/english/images/lightbox-btn-prev.gif
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/language/english/images/lightbox-ico-loading.gif
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/language/english/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/language/english/modinfo.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/language/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/sql/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/sql/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/sql/mysql.english.sql
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/templates/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/templates/admin/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/templates/admin/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/templates/admin/userrank.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/templates/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userrank/xoops_version.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/admin/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/admin/about.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/admin/footer.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/admin/header.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/admin/index.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/admin/menu.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/class/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/class/form/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/class/form/captcha.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/class/form/image.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/class/form/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/class/form/recaptcha.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/class/form/text.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/class/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/class/xcaptcha.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/css/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/css/help.css
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/css/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/css/moduladmin.css
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/docs/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/docs/changelog.txt
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/docs/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/icons/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/icons/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/icons/logo_large.png
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/icons/logo_small.png
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/images/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/images/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/images/recaptcha/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/images/recaptcha/blackglass.png
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/images/recaptcha/clean.png
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/images/recaptcha/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/images/recaptcha/red.png
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/images/recaptcha/white.png
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/images/xcaptcha_logo.png
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/language/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/language/english/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/language/english/admin.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/language/english/help/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/language/english/help/help.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/language/english/help/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/language/english/help.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/language/english/image.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/language/english/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/language/english/modinfo.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/language/english/recaptcha.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/language/english/text.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/language/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/plugins/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/plugins/image.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/plugins/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/plugins/recaptcha.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/plugins/text.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xcaptcha/xoops_version.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/admin/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/admin/about.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/admin/footer.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/admin/header.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/admin/index.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/admin/menu.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/api.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/blocks/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/blocks/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/blocks/xlanguage_blocks.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/class/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/class/form/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/class/form/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/class/form/language.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/class/form/tinymce.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/class/helper.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/class/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/class/xlanguage.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/css/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/css/block.css
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/css/help.css
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/css/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/css/moduladmin.css
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/docs/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/docs/changelog.txt
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/docs/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/icons/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/icons/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/icons/logo_large.png
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/icons/logo_small.png
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/images/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/images/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/images/xlanguage_logo.png
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/include/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/include/autoload.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/include/functions.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/include/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/include/vars.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/install/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/install/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/install/install.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/install/update.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/language/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/language/english/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/language/english/admin.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/language/english/blocks.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/language/english/help/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/language/english/help/help.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/language/english/help/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/language/english/help.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/language/english/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/language/english/modinfo.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/language/english/tinymce.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/language/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/media/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/media/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/media/jquery/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/media/jquery/jquery.language/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/media/jquery/jquery.language/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/media/jquery/jquery.language/jquery.language.css
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/media/jquery/jquery.language/jquery.language.js
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/preloads/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/preloads/core.php
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/preloads/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/sql/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/sql/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/sql/mysql.sql
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/templates/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/templates/admin/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/templates/admin/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/templates/admin/xlanguage_admin_list.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/templates/blocks/
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/templates/blocks/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/templates/blocks/xlanguage_block.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/templates/blocks/xlanguage_block_bootstrap.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/templates/blocks/xlanguage_block_images.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/templates/blocks/xlanguage_block_jquery.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/templates/blocks/xlanguage_block_select.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/templates/blocks/xlanguage_block_text.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/templates/index.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/templates/xlanguage_tinymce.html
XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/xlanguage/xoops_version.php
Added: XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/config.php
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/config.php (rev 0)
+++ XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/config.php 2013-08-20 00:16:39 UTC (rev 11949)
@@ -0,0 +1,372 @@
+<?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.
+ */
+
+/**
+ * Userconfigs
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @author trabis <lus...@gm...>
+ * @version $Id: config.php 11043 2013-02-12 19:28:00Z trabis $
+ */
+
+defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
+
+class UserconfigsConfigHandler extends XoopsObjectHandler
+{
+ /**
+ * holds reference to config item handler(DAO) class
+ *
+ * @var UserconfigsItemHandler
+ * @access private
+ */
+ private $_iHandler;
+
+ /**
+ * holds reference to config option handler(DAO) class
+ *
+ * @var UserconfigsOptionHandler
+ * @access private
+ */
+ private $_oHandler;
+
+ /**
+ * holds an array of cached references to config value arrays,
+ * indexed on module id and user id
+ *
+ * @var array
+ * @access private
+ */
+ private $_cachedConfigs = array();
+
+ /**
+ * Constructor
+ */
+ public function __construct()
+ {
+ $helper = Userconfigs::getInstance();
+ $this->_iHandler = $helper->getHandlerItem();
+ $this->_oHandler = $helper->getHandlerOption();
+ }
+
+ /**
+ * Create a config
+ *
+ * @see UserconfigsItem
+ * @return UserconfigsItem {@link UserconfigsItem}
+ */
+ public function createConfig()
+ {
+ $instance = $this->_iHandler->create();
+ return $instance;
+ }
+
+ /**
+ * Get a config
+ *
+ * @param int $id ID of the config
+ * @param bool $withoptions load the config's options now?
+ *
+ * @return UserconfigsItem {@link UserconfigsItem}
+ */
+ public function getConfig($id, $withoptions = false)
+ {
+ /* @var $config UserconfigsItem */
+ $config = $this->_iHandler->get($id);
+ if ($withoptions == true) {
+ $config->setConfOptions($this->getConfigOptions(new Criteria('conf_id', $id)));
+ }
+ return $config;
+ }
+
+ /**
+ * insert a new config in the database
+ *
+ * @param UserconfigsItem $config {@link UserconfigsItem}
+ *
+ * @return bool
+ */
+ public function insertConfig(UserconfigsItem $config)
+ {
+ if (!$this->_iHandler->insert($config)) {
+ return false;
+ }
+ $options = $config->getConfOptions();
+ $count = count($options);
+ $conf_id = $config->getVar('conf_id');
+ for ($i = 0; $i < $count; $i++) {
+ $options[$i]->setVar('conf_id', $conf_id);
+ if (!$this->_oHandler->insert($options[$i])) {
+ foreach ($options[$i]->getErrors() as $msg) {
+ $config->setErrors($msg);
+ }
+ }
+ }
+ if (!empty($this->_cachedConfigs[$config->getVar('conf_modid')][$config->getVar('conf_uid')])) {
+ unset($this->_cachedConfigs[$config->getVar('conf_modid')][$config->getVar('conf_uid')]);
+ }
+ return true;
+ }
+
+ /**
+ * Delete a config from the database
+ *
+ * @param UserconfigsItem $config {@link UserconfigsItem}
+ *
+ * @return bool
+ */
+ public function deleteConfig(UserconfigsItem $config)
+ {
+ if (!$this->_iHandler->delete($config, true)) {
+ return false;
+ }
+ $options = $config->getConfOptions();
+ $count = count($options);
+ if ($count == 0) {
+ $options = $this->getConfigOptions(new Criteria('conf_id', $config->getVar('conf_id')));
+ $count = count($options);
+ }
+ if (is_array($options) && $count > 0) {
+ for ($i = 0; $i < $count; $i++) {
+ $this->_oHandler->delete($options[$i], true);
+ }
+ }
+ if (!empty($this->_cachedConfigs[$config->getVar('conf_modid')][$config->getVar('conf_uid')])) {
+ unset($this->_cachedConfigs[$config->getVar('conf_modid')][$config->getVar('conf_uid')]);
+ }
+ return true;
+ }
+
+ /**
+ * get one or more Configs
+ *
+ * @param CriteriaElement|null $criteria {@link CriteriaElement}
+ * @param bool $id_as_key Use the configs' ID as keys?
+ *
+ * @return array Array of {@link UserconfigsItem} objects
+ */
+ public function getConfigs(CriteriaElement $criteria = null, $id_as_key = false)
+ {
+ $criteria2 = new CriteriaCompo();
+ if ($criteria) {
+ $criteria2->add($criteria);
+ if (!$criteria->getSort()) {
+ $criteria2->setSort('conf_order');
+ $criteria2->setOrder('ASC');
+ }
+ } else {
+ $criteria2->setSort('conf_order');
+ $criteria2->setOrder('ASC');
+ }
+ return $this->_iHandler->getObjects($criteria2, $id_as_key);
+ }
+
+ /**
+ * Count some configs
+ *
+ * @param CriteriaElement|null $criteria {@link CriteriaElement}
+ *
+ * @return int
+ */
+ public function getConfigCount(CriteriaElement $criteria = null)
+ {
+ return $this->_iHandler->getCount($criteria);
+ }
+
+ /**
+ * Get configs from a certain module
+ *
+ * @param int $module ID of a module
+ *
+ * @return array array of {@link UserconfigsConfig}s
+ */
+ public function getConfigsByModule($module = 0)
+ {
+ $ret = array();
+ $criteria = new Criteria('conf_modid', intval($module));
+ $configs = $this->getConfigs($criteria, true);
+ if (is_array($configs)) {
+ foreach (array_keys($configs) as $i) {
+ $ret[$configs[$i]->getVar('conf_name')] = $configs[$i]->getConfValueForOutput();
+ }
+ }
+ $_cachedConfigs[$module] = $ret;
+ return $_cachedConfigs[$module];
+ }
+
+ /**
+ * Deletes configs from a certain module
+ *
+ * @param int $module
+ *
+ * @return bool
+ */
+ public function deleteConfigsByModule($module = 0)
+ {
+ $criteria = new Criteria('conf_modid', intval($module));
+ $configs = $this->getConfigs($criteria, true);
+ if (is_array($configs)) {
+ foreach (array_keys($configs) as $i) {
+ $this->deleteConfig($configs[$i]);
+ }
+ return true;
+ }
+ return false;
+ }
+
+ /**
+ * Get configs from a certain user
+ *
+ * @param int $uid ID of a user
+ * @param int $moduleId ID of a module
+ *
+ * @return array array of {@link UserconfigsConfig}s
+ */
+ public function getConfigsByUser($uid, $moduleId)
+ {
+ static $_cachedConfigs;
+ if (!empty($_cachedConfigs[$moduleId][$uid])) {
+ return $_cachedConfigs[$moduleId][$uid];
+ } else {
+ $ret = array();
+ $criteria = new CriteriaCompo(new Criteria('conf_modid', intval($moduleId)));
+ $criteria->add(new Criteria('conf_uid', intval($uid)));
+ $configs = $this->getConfigs($criteria, true);
+ if (is_array($configs)) {
+ foreach (array_keys($configs) as $i) {
+ $ret[$configs[$i]->getVar('conf_name')] = $configs[$i]->getConfValueForOutput();
+ }
+ }
+ $_cachedConfigs[$moduleId][$uid] = $ret;
+ return $_cachedConfigs[$moduleId][$uid];
+ }
+ }
+
+ /**
+ * Make a new {@link UserconfigsOption}
+ *
+ * @return UserconfigsOption {@link UserconfigsOption}
+ */
+ public function createConfigOption()
+ {
+ $inst = $this->_oHandler->create();
+ return $inst;
+ }
+
+ /**
+ * Get a {@link UserconfigsOption}
+ *
+ * @param int $id ID of the config option
+ *
+ * @return UserconfigsOption {@link UserconfigsOption}
+ */
+ public function getConfigOption($id)
+ {
+ $inst = $this->_oHandler->get($id);
+ return $inst;
+ }
+
+ /**
+ * Get one or more {@link UserconfigsOption}s
+ *
+ * @param CriteriaElement|null $criteria {@link CriteriaElement}
+ * @param bool $id_as_key Use IDs as keys in the array?
+ *
+ * @return array Array of {@link UserconfigsOption}s
+ */
+ public function getConfigOptions(CriteriaElement $criteria = null, $id_as_key = false)
+ {
+ return $this->_oHandler->getObjects($criteria, $id_as_key);
+ }
+
+ /**
+ * Count some {@link UserconfigsOption}s
+ *
+ * @param CriteriaElement|null $criteria {@link CriteriaElement}
+ *
+ * @return int Count of {@link UserconfigsOption}s matching $criteria
+ */
+ public function getConfigOptionsCount(CriteriaElement $criteria = null)
+ {
+ return $this->_oHandler->getCount($criteria);
+ }
+
+ /**
+ * Get a list of configs
+ *
+ * @param int $conf_modid ID of the modules
+ * @param int $conf_uid ID of the user
+ *
+ * @return array Associative array of name=>value pairs.
+ */
+ public function getConfigList($conf_modid, $conf_uid = 0)
+ {
+ if (!empty($this->_cachedConfigs[$conf_modid][$conf_uid])) {
+ return $this->_cachedConfigs[$conf_modid][$conf_uid];
+ } else {
+ $criteria = new CriteriaCompo(new Criteria('conf_modid', $conf_modid));
+ if (empty($conf_uid)) {
+ $criteria->add(new Criteria('conf_uid', $conf_uid));
+ }
+ $criteria->setSort('conf_order');
+ $criteria->setOrder('ASC');
+ $configs = $this->_iHandler->getObjects($criteria);
+ $confcount = count($configs);
+ $ret = array();
+ for ($i = 0; $i < $confcount; $i++) {
+ $ret[$configs[$i]->getVar('conf_name')] = $configs[$i]->getConfValueForOutput();
+ }
+ $this->_cachedConfigs[$conf_modid][$conf_uid] = $ret;
+ return $ret;
+ }
+ }
+
+ public function createDefaultUserConfigs($uid, XoopsModule $module)
+ {
+ /* @var $plugin UserconfigsPluginInterface */
+ if ($plugin = Xoops_Module_Plugin::getPlugin($module->getVar('dirname'), 'userconfigs')) {
+ // now reinsert them with the new settings
+ $configs = $plugin->configs();
+ if (!is_array($configs)) {
+ $configs = array();
+ }
+
+ if (is_array($configs) && count($configs) > 0) {
+ $order = 0;
+ foreach ($configs as $config) {
+ $confobj = $this->createConfig();
+ $confobj->setVar('conf_modid', $module->getVar('mid'));
+ $confobj->setVar('conf_uid', $uid);
+ $confobj->setVar('conf_name', $config['name']);
+ $confobj->setVar('conf_title', $config['title'], true);
+ $confobj->setVar('conf_desc', $config['description'], true);
+ $confobj->setVar('conf_formtype', $config['formtype']);
+ $confobj->setVar('conf_valuetype', $config['valuetype']);
+ $confobj->setConfValueForInput($config['default'], true);
+ $confobj->setVar('conf_order', $order);
+ if (isset($config['options']) && is_array($config['options'])) {
+ foreach ($config['options'] as $key => $value) {
+ $confop = $this->createConfigOption();
+ $confop->setVar('confop_name', $key, true);
+ $confop->setVar('confop_value', $value, true);
+ $confobj->setConfOptions($confop);
+ unset($confop);
+ }
+ }
+ $order++;
+ $this->insertConfig($confobj);
+ unset($confobj);
+ }
+ unset($configs);
+ }
+ }
+ }
+}
\ No newline at end of file
Added: XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/form/configs.php
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/form/configs.php (rev 0)
+++ XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/form/configs.php 2013-08-20 00:16:39 UTC (rev 11949)
@@ -0,0 +1,291 @@
+<?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)
+ * @author trabis <lus...@gm...>
+ * @package userconfigs
+ * @version $Id: configs.php 11012 2013-02-10 00:51:04Z trabis $
+ */
+
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
+
+class UserconfigsConfigsForm extends XoopsSimpleForm
+{
+ /**
+ * @param null $obj
+ */
+ public function __construct($obj = null)
+ {
+ }
+
+ /**
+ * @param array $obj
+ * @param XoopsModule $mod
+ */
+ public function getForm(&$obj, XoopsModule $mod)
+ {
+ $xoops = Xoops::getInstance();
+ $helper = Userconfigs::getInstance();
+ $config_handler = $helper->getHandlerConfig();
+ /* @var $plugin UserconfigsPluginInterface */
+ if ($plugin = Xoops_Module_Plugin::getPlugin($mod->getVar('dirname'), 'userconfigs')) {
+
+ parent::__construct('', 'pref_form', 'index.php', 'post', true);
+ if ($mod->getVar('dirname') != 'system') {
+ $xoops->loadLanguage('modinfo', $mod->getVar('dirname'));
+ $xoops->loadLocale($mod->getVar('dirname'));
+ }
+ $configs = $plugin->configs();
+ $configNames = array();
+ foreach (array_keys($configs) as $i) {
+ $configNames[$configs[$i]['name']] =& $configs[$i];
+ }
+ $configCats = $plugin->categories();
+ if (!$configCats) {
+ $configCats = array(
+ 'default' => array(
+ 'name' => _MD_USERCONFIGS_CONFIGS,
+ 'description' => ''
+ )
+ );
+ }
+
+ if (!in_array('default', array_keys($configCats))) {
+ $configCats['default'] = array(
+ 'name' => _MD_USERCONFIGS_CONFIGS,
+ 'description' => ''
+ );
+ }
+
+ foreach (array_keys($configNames) as $name) {
+ if (!isset($configNames[$name]['category'])) {
+ $configNames[$name]['category'] = 'default';
+ }
+ }
+
+ $tabtray = new XoopsFormTabTray('', 'pref_tabtay', $xoops->getModuleConfig('jquery_theme', 'system'));
+ $tabs = array();
+ foreach ($configCats as $name => $info) {
+ $tabs[$name] = new XoopsFormTab($info['name'], 'pref_tab_' . $name);
+ if (isset($info['description']) && $info['description'] != '') {
+ $tabs[$name]->addElement(new XoopsFormLabel('', $info['description']));
+ }
+ }
+ $count = count($obj);
+ for ($i = 0; $i < $count; $i++) {
+ $title = Xoops_Locale::translate($obj[$i]->getVar('conf_title'), $mod->getVar('dirname'));
+ $desc = ($obj[$i]->getVar('conf_desc') != '') ? Xoops_Locale::translate($obj[$i]->getVar('conf_desc'), $mod->getVar('dirname')) : '';
+ switch ($obj[$i]->getVar('conf_formtype')) {
+
+ case 'textarea':
+ $myts = MyTextSanitizer::getInstance();
+ if ($obj[$i]->getVar('conf_valuetype') == 'array') {
+ // this is exceptional.. only when value type is arrayneed a smarter way for this
+ $ele = ($obj[$i]->getVar('conf_value') != '') ? new XoopsFormTextArea($title, $obj[$i]->getVar('conf_name'), $myts->htmlspecialchars(implode('|', $obj[$i]->getConfValueForOutput())), 5, 5) : new XoopsFormTextArea($title, $obj[$i]->getVar('conf_name'), '', 5, 5);
+ } else {
+ $ele = new XoopsFormTextArea($title, $obj[$i]->getVar('conf_name'), $myts->htmlspecialchars($obj[$i]->getConfValueForOutput()), 5, 5);
+ }
+ break;
+
+ case 'select':
+ $ele = new XoopsFormSelect($title, $obj[$i]->getVar('conf_name'), $obj[$i]->getConfValueForOutput());
+ $options = $config_handler->getConfigOptions(new Criteria('conf_id', $obj[$i]->getVar('conf_id')));
+ $opcount = count($options);
+ for ($j = 0; $j < $opcount; $j++) {
+ $optval = Xoops_Locale::translate($options[$j]->getVar('confop_value'), $mod->getVar('dirname'));
+ $optkey = Xoops_Locale::translate($options[$j]->getVar('confop_name'), $mod->getVar('dirname'));
+ $ele->addOption($optval, $optkey);
+ }
+ break;
+
+ case 'select_multi':
+ $ele = new XoopsFormSelect($title, $obj[$i]->getVar('conf_name'), $obj[$i]->getConfValueForOutput(), 5, true);
+ $options = $config_handler->getConfigOptions(new Criteria('conf_id', $obj[$i]->getVar('conf_id')));
+ $opcount = count($options);
+ for ($j = 0; $j < $opcount; $j++) {
+ $optval = Xoops_Locale::translate($options[$j]->getVar('confop_value'), $mod->getVar('dirname'));
+ $optkey = Xoops_Locale::translate($options[$j]->getVar('confop_name'), $mod->getVar('dirname'));
+ $ele->addOption($optval, $optkey);
+ }
+ break;
+
+ case 'yesno':
+ $ele = new XoopsFormRadioYN($title, $obj[$i]->getVar('conf_name'), $obj[$i]->getConfValueForOutput());
+ break;
+
+ case 'theme':
+ case 'theme_multi':
+ $ele = ($obj[$i]->getVar('conf_formtype') != 'theme_multi') ? new XoopsFormSelect($title, $obj[$i]->getVar('conf_name'), $obj[$i]->getConfValueForOutput()) : new XoopsFormSelect($title, $obj[$i]->getVar('conf_name'), $obj[$i]->getConfValueForOutput(), 5, true);
+ $dirlist = XoopsLists::getThemesList();
+ if (!empty($dirlist)) {
+ asort($dirlist);
+ $ele->addOptionArray($dirlist);
+ }
+ break;
+ case 'tplset':
+ $ele = new XoopsFormSelect($title, $obj[$i]->getVar('conf_name'), $obj[$i]->getConfValueForOutput());
+ $tplset_handler = $xoops->getHandlerTplset();
+ $tplsetlist = $tplset_handler->getNameList();
+ asort($tplsetlist);
+ foreach ($tplsetlist as $key => $name) {
+ $ele->addOption($key, $name);
+ }
+ break;
+
+ case 'cpanel':
+ $ele = new XoopsFormHidden($obj[$i]->getVar('conf_name'), $obj[$i]->getConfValueForOutput());
+ /*
+ $ele = new XoopsFormSelect($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput());
+ XoopsLoad::load("cpanel", "system");
+ $list = XoopsSystemCpanel::getGuis();
+ $ele->addOptionArray($list); */
+ break;
+
+ case 'timezone':
+ $ele = new XoopsFormSelectTimezone($title, $obj[$i]->getVar('conf_name'), $obj[$i]->getConfValueForOutput());
+ break;
+
+ case 'language':
+ $ele = new XoopsFormSelectLang($title, $obj[$i]->getVar('conf_name'), $obj[$i]->getConfValueForOutput());
+ break;
+
+ case 'locale':
+ $ele = new XoopsFormSelectLang($title, $obj[$i]->getVar('conf_name'), $obj[$i]->getConfValueForOutput());
+ break;
+
+ case 'startpage':
+ $ele = new XoopsFormSelect($title, $obj[$i]->getVar('conf_name'), $obj[$i]->getConfValueForOutput());
+
+ $module_handler = $xoops->getHandlerModule();
+ $criteria = new CriteriaCompo(new Criteria('hasmain', 1));
+ $criteria->add(new Criteria('isactive', 1));
+ $moduleslist = $module_handler->getNameList($criteria, true);
+ $moduleslist['--'] = XoopsLocale::NONE;
+ $ele->addOptionArray($moduleslist);
+ break;
+
+ case 'group':
+ $ele = new XoopsFormSelectGroup($title, $obj[$i]->getVar('conf_name'), false, $obj[$i]->getConfValueForOutput(), 1, false);
+ break;
+
+ case 'group_multi':
+ $ele = new XoopsFormSelectGroup($title, $obj[$i]->getVar('conf_name'), false, $obj[$i]->getConfValueForOutput(), 5, true);
+ break;
+
+ // RMV-NOTIFY: added 'user' and 'user_multi'
+ case 'user':
+ $ele = new XoopsFormSelectUser($title, $obj[$i]->getVar('conf_name'), false, $obj[$i]->getConfValueForOutput(), 1, false);
+ break;
+
+ case 'user_multi':
+ $ele = new XoopsFormSelectUser($title, $obj[$i]->getVar('conf_name'), false, $obj[$i]->getConfValueForOutput(), 5, true);
+ break;
+ case 'module_cache':
+ $module_handler = $xoops->getHandlerModule();
+ $modules = $module_handler->getObjectsArray(new Criteria('hasmain', 1), true);
+ $currrent_val = $obj[$i]->getConfValueForOutput();
+ $cache_options = array(
+ '0' => XoopsLocale::NO_CACHE,
+ '30' => sprintf(XoopsLocale::F_SECONDS, 30),
+ '60' => XoopsLocale::ONE_MINUTE,
+ '300' => sprintf(XoopsLocale::F_MINUTES, 5),
+ '1800' => sprintf(XoopsLocale::F_MINUTES, 30),
+ '3600' => XoopsLocale::ONE_HOUR,
+ '18000' => sprintf(XoopsLocale::F_HOURS, 5),
+ '86400' => XoopsLocale::ONE_DAY,
+ '259200' => sprintf(XoopsLocale::F_DAYS, 3),
+ '604800' => XoopsLocale::ONE_WEEK,
+ '2592000' => XoopsLocale::ONE_MONTH
+ );
+ if (count($modules) > 0) {
+ $ele = new XoopsFormElementTray($title, '<br />');
+ foreach (array_keys($modules) as $mid) {
+ $c_val = isset($currrent_val[$mid]) ? intval($currrent_val[$mid]) : null;
+ $selform = new XoopsFormSelect($modules[$mid]->getVar('name'), $obj[$i]->getVar('conf_name') . "[$mid]", $c_val);
+ $selform->addOptionArray($cache_options);
+ $ele->addElement($selform);
+ unset($selform);
+ }
+ } else {
+ $ele = new XoopsFormLabel($title, SystemLocale::NO_MODULE_TO_CACHE);
+ }
+ break;
+
+ case 'site_cache':
+ $ele = new XoopsFormSelect($title, $obj[$i]->getVar('conf_name'), $obj[$i]->getConfValueForOutput());
+ $ele->addOptionArray(array(
+ '0' => XoopsLocale::NO_CACHE,
+ '30' => sprintf(XoopsLocale::F_SECONDS, 30),
+ '60' => XoopsLocale::ONE_MINUTE,
+ '300' => sprintf(XoopsLocale::F_MINUTES, 5),
+ '1800' => sprintf(XoopsLocale::F_MINUTES, 30),
+ '3600' => XoopsLocale::ONE_HOUR,
+ '18000' => sprintf(XoopsLocale::F_HOURS, 5),
+ '86400' => XoopsLocale::ONE_DAY,
+ '259200' => sprintf(XoopsLocale::F_DAYS, 3),
+ '604800' => XoopsLocale::ONE_WEEK,
+ '2592000' => XoopsLocale::ONE_MONTH
+ ));
+ break;
+
+ case 'password':
+ $myts = MyTextSanitizer::getInstance();
+ $ele = new XoopsFormPassword($title, $obj[$i]->getVar('conf_name'), 5, 255, $myts->htmlspecialchars($obj[$i]->getConfValueForOutput()));
+ break;
+
+ case 'color':
+ $myts = MyTextSanitizer::getInstance();
+ $ele = new XoopsFormColorPicker($title, $obj[$i]->getVar('conf_name'), $myts->htmlspecialchars($obj[$i]->getConfValueForOutput()));
+ break;
+
+ case 'hidden':
+ $myts = MyTextSanitizer::getInstance();
+ $ele = new XoopsFormHidden($obj[$i]->getVar('conf_name'), $myts->htmlspecialchars($obj[$i]->getConfValueForOutput()));
+ break;
+
+ case 'textbox':
+ default:
+ $myts = MyTextSanitizer::getInstance();
+ $ele = new XoopsFormText($title, $obj[$i]->getVar('conf_name'), 5, 255, $myts->htmlspecialchars($obj[$i]->getConfValueForOutput()));
+ break;
+ }
+ $hidden = new XoopsFormHidden('conf_ids[]', $obj[$i]->getVar('conf_id'));
+ if (isset($ele)) {
+ $ele->setDescription($desc);
+ if ($obj[$i]->getVar('conf_formtype') != 'hidden') {
+ $name = 'default';
+ if (isset($configNames[$obj[$i]->getVar('conf_name')]['category'])) {
+ $name = $configNames[$obj[$i]->getVar('conf_name')]['category'];
+ }
+ $tabs[$name]->addElement($ele);
+ } else {
+ $this->addElement($ele);
+ }
+ $this->addElement($hidden);
+ unset($ele);
+ unset($hidden);
+ }
+ }
+ foreach (array_keys($tabs) as $name) {
+ if ($tabs[$name]->getElements()) {
+ $tabtray->addElement($tabs[$name]);
+ }
+ }
+ $this->addElement($tabtray);
+ $this->addElement(new XoopsFormHidden('op', 'save'));
+ $this->addElement(new XoopsFormHidden('mid', $mod->getVar('mid')));
+ $this->addElement(new XoopsFormButton('', 'button', XoopsLocale::A_SUBMIT, 'submit'));
+ }
+ }
+}
Added: XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/form/index.html
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/form/index.html (rev 0)
+++ XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/form/index.html 2013-08-20 00:16:39 UTC (rev 11949)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/form/modules.php
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/form/modules.php (rev 0)
+++ XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/form/modules.php 2013-08-20 00:16:39 UTC (rev 11949)
@@ -0,0 +1,55 @@
+<?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 trabis <lus...@gm...>
+ * @package userconfigs
+ * @version $Id: modules.php 10909 2013-01-26 18:59:04Z trabis $
+ */
+
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
+
+class UserconfigsModulesForm extends XoopsThemeForm
+{
+ /**
+ * @param null $obj
+ */
+ public function __construct($obj = null)
+ {
+ }
+
+ /**
+ * @param XoopsModule|null $mod
+ */
+ public function getModulesForm($mod = null)
+ {
+ $xoops = Xoops::getInstance();
+ $mid = 0;
+ if ($mod instanceof XoopsModule) {
+ $mid = $mod->getVar('mid');
+ }
+ /* @var $plugin UserconfigsPluginInterface */
+ if ($plugins = Xoops_Module_Plugin::getPlugins('userconfigs')) {
+ parent::__construct('', 'pref_form', 'index.php', 'post', true, 'inline');
+
+ $ele = new XoopsFormSelect(_MD_USERCONFIGS_CHOOSE_MODULE, 'mid', $mid);
+ foreach (array_keys($plugins) as $dirname) {
+ $mHelper = $xoops->getModuleHelper($dirname);
+ $ele->addOption($mHelper->getModule()->getVar('mid'), $mHelper->getModule()->getVar('name'));
+ }
+ $this->addElement($ele);
+ $this->addElement(new XoopsFormHidden('op', 'showmod'));
+ $this->addElement(new XoopsFormButton('', 'button', XoopsLocale::A_SUBMIT, 'submit'));
+ }
+ }
+}
Added: XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/helper.php
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/helper.php (rev 0)
+++ XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/helper.php 2013-08-20 00:16:39 UTC (rev 11949)
@@ -0,0 +1,66 @@
+<?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.
+ */
+
+/**
+ * Userconfigs
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @author trabis <lus...@gm...>
+ * @version $Id: helper.php 10651 2013-01-03 23:57:19Z trabis $
+ */
+
+defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
+
+class Userconfigs extends Xoops_Module_Helper_Abstract
+{
+ /**
+ * Init the module
+ *
+ * @return null|void
+ */
+ public function init()
+ {
+ $this->setDirname('userconfigs');
+ }
+
+ /**
+ * @return Userconfigs
+ */
+ static function getInstance()
+ {
+ return parent::getInstance();
+ }
+
+ /**
+ * @return UserconfigsConfigHandler
+ */
+ public function getHandlerConfig()
+ {
+ return $this->getHandler('config');
+ }
+
+ /**
+ * @return UserconfigsItemHandler
+ */
+ public function getHandlerItem()
+ {
+ return $this->getHandler('item');
+ }
+
+ /**
+ * @return UserconfigsOptionHandler
+ */
+ public function getHandlerOption()
+ {
+ return $this->getHandler('option');
+ }
+}
\ No newline at end of file
Added: XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/index.html
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/index.html (rev 0)
+++ XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/index.html 2013-08-20 00:16:39 UTC (rev 11949)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/item.php
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/item.php (rev 0)
+++ XoopsCore/branches/2.6.x/2.6.0_redheadedrod/modules/userconfigs/class/item.php 2013-08-20 00:16:39 UTC (rev 11949)
@@ -0,0 +1,255 @@
+<?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.
+ */
+
+/**
+ * Userconfigs
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @author trabis <lus...@gm...>
+ * @version $Id: item.php 10651 2013-01-03 23:57:19Z trabis $
+ */
+
+defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
+
+/**
+ * @author Kazumi Ono <on...@xo...>
+ * @copyright copyright (c) 2000-2003 XOOPS.org
+ */
+class UserconfigsItem extends XoopsObject
+{
+
+ /**
+ * Config options
+ *
+ * @var array
+ * @access private
+ */
+ private $_confOptions = array();
+
+ /**
+ * Constructor
+ */
+ public function __construct()
+ {
+ $this->initVar('conf_id', XOBJ_DTYPE_INT, null, false);
+ $this->initVar('conf_modid', XOBJ_DTYPE_INT, null, false);
+ $this->initVar('conf_uid', XOBJ_DTYPE_INT, null, false);
+ $this->initVar('conf_name', XOBJ_DTYPE_OTHER);
+ $this->initVar('conf_title', XOBJ_DTYPE_TXTBOX);
+ $this->initVar('conf_value', XOBJ_DTYPE_TXTAREA);
+ $this->initVar('conf_desc', XOBJ_DTYPE_OTHER);
+ $this->initVar('conf_formtype', XOBJ_DTYPE_OTHER);
+ $this->initVar('conf_valuetype', XOBJ_DTYPE_OTHER);
+ $this->initVar('conf_order', XOBJ_DTYPE_INT);
+ }
+
+ /**
+ * @param string $format
+ * @return mixed
+ */
+ public function id($format = 'n')
+ {
+ return $this->getVar('conf_id', $format);
+ }
+
+ /**
+ * @param string $format
+ * @return mixed
+ */
+ public function conf_id($format = '')
+ {
+ return $this->getVar('conf_id', $format);
+ }
+
+ /**
+ * @param string $format
+ * @return mixed
+ */
+ public function conf_modid($format = '')
+ {
+ return $this->getVar('conf_modid', $format);
+ }
+
+ /**
+ * @param string $format
+ * @return mixed
+ */
+ public function conf_uid($format = '')
+ {
+ return $this->getVar('conf_uid', $format);
+ }
+
+ /**
+ * @param string $format
+ * @return mixed
+ */
+ public function conf_name($format = '')
+ {
+ return $this->getVar('conf_name', $format);
+ }
+
+ /**
+ * @param string $format
+ * @return mixed
+ */
+ public function conf_title($format = '')
+ {
+ return $this->getVar('conf_title', $format);
+ }
+
+ /**
+ * @param string $format
+ * @return mixed
+ */
+ public function conf_value($format = '')
+ {
+ return $this->getVar('conf_value', $format);
+ }
+
+ /**
+ * @param string $format
+ * @return mixed
+ */
+ public function conf_desc($format = '')
+ {
+ return $this->getVar('conf_desc', $format);
+ }
+
+ /**
+ * @param string $format
+ * @return mixed
+ */
+ public function conf_formtype($format = '')
+ {
+ return $this->getVar('conf_formtype', $format);
+ }
+
+ /**
+ * @param string $format
+ * @return mixed
+ */
+ public function conf_valuetype($format = '')
+ {
+ return $this->getVar('conf_valuetype', $format);
+ }
+
+ /**
+ * @param string $format
+ * @return mixed
+ */
+ public function conf_order($format = '')
+ {
+ return $this->getVar('conf_order', $format);
+ }
+
+ /**
+ * Get a config value in a format ready for output
+ *
+ * @return string
+ */
+ public function getConfValueForOutput()
+ {
+ switch ($this->getVar('conf_valuetype')) {
+ case 'int':
+ return intval($this->getVar('conf_value', 'n'));
+ break;
+ case 'array':
+ $value = @unserialize($this->getVar('conf_value', 'n'));
+ return $value ? $value : array();
+ case 'float':
+ $value = $this->getVar('conf_value', 'n');
+ return (float)$value;
+ break;
+ case 'textarea':
+ return $this->getVar('conf_value');
+ default:
+ return $this->getVar('conf_value', 'n');
+ break;
+ }
+ }
+
+ /**
+ * Set a config value
+ *
+ * @param mixed &$value Value
+ * @param bool $force_slash
+ */
+ public function setConfValueForInput(&$value, $force_slash = false)
+ {
+ switch ($this->getVar('conf_valuetype')) {
+ case 'array':
+ if (!is_array($value)) {
+ $value = explode('|', trim($value));
+ }
+ $this->setVar('conf_value', serialize($value), $force_slash);
+ break;
+ case 'text':
+ $this->setVar('conf_va...
[truncated message content] |