You can subscribe to this list here.
2012 |
Jan
|
Feb
(214) |
Mar
(139) |
Apr
(198) |
May
(187) |
Jun
(151) |
Jul
(210) |
Aug
(169) |
Sep
(58) |
Oct
(53) |
Nov
(54) |
Dec
(301) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2013 |
Jan
(348) |
Feb
(178) |
Mar
(219) |
Apr
(154) |
May
(117) |
Jun
(194) |
Jul
(61) |
Aug
(132) |
Sep
(121) |
Oct
(110) |
Nov
(11) |
Dec
(18) |
2014 |
Jan
(34) |
Feb
(50) |
Mar
(82) |
Apr
(98) |
May
(39) |
Jun
(111) |
Jul
(67) |
Aug
(36) |
Sep
(33) |
Oct
(26) |
Nov
(53) |
Dec
(44) |
2015 |
Jan
(29) |
Feb
(47) |
Mar
(25) |
Apr
(19) |
May
(23) |
Jun
(20) |
Jul
(49) |
Aug
(7) |
Sep
(10) |
Oct
(10) |
Nov
(4) |
Dec
(25) |
2016 |
Jan
(8) |
Feb
(7) |
Mar
(1) |
Apr
|
May
(3) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
(7) |
Dec
(5) |
2017 |
Jan
(4) |
Feb
|
Mar
|
Apr
|
May
(15) |
Jun
|
Jul
(18) |
Aug
(24) |
Sep
|
Oct
(14) |
Nov
|
Dec
|
2018 |
Jan
|
Feb
(22) |
Mar
|
Apr
(11) |
May
(1) |
Jun
(17) |
Jul
(2) |
Aug
(2) |
Sep
|
Oct
(6) |
Nov
(5) |
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
From: <vo...@us...> - 2012-08-29 08:04:06
|
Revision: 10129 http://xoops.svn.sourceforge.net/xoops/?rev=10129&view=rev Author: voltan1 Date: 2012-08-29 08:03:55 +0000 (Wed, 29 Aug 2012) Log Message: ----------- Update to mamba version for start changes Modified Paths: -------------- XoopsModules/oledrion/branches/voltan/oledrion/pdf/catalog.php XoopsModules/oledrion/branches/voltan/oledrion/pdf/config/tcpdf_config.php Modified: XoopsModules/oledrion/branches/voltan/oledrion/pdf/catalog.php =================================================================== --- XoopsModules/oledrion/branches/voltan/oledrion/pdf/catalog.php 2012-08-29 08:02:31 UTC (rev 10128) +++ XoopsModules/oledrion/branches/voltan/oledrion/pdf/catalog.php 2012-08-29 08:03:55 UTC (rev 10129) @@ -2,7 +2,7 @@ /** * **************************************************************************** * oledrion - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * 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 @@ -11,10 +11,10 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @copyright Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @package oledrion - * @author Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * Version : $Id: * **************************************************************************** Modified: XoopsModules/oledrion/branches/voltan/oledrion/pdf/config/tcpdf_config.php =================================================================== --- XoopsModules/oledrion/branches/voltan/oledrion/pdf/config/tcpdf_config.php 2012-08-29 08:02:31 UTC (rev 10128) +++ XoopsModules/oledrion/branches/voltan/oledrion/pdf/config/tcpdf_config.php 2012-08-29 08:03:55 UTC (rev 10129) @@ -113,12 +113,12 @@ /** * document creator */ - define("PDF_CREATOR", "Instant Zero (http://www.instant-zero.com)"); + define("PDF_CREATOR", "Instant Zero (http://www.herve-thouzard.com/)"); /** * document author */ - define("PDF_AUTHOR", "Instant Zero (http://www.instant-zero.com)"); + define("PDF_AUTHOR", "Instant Zero (http://www.herve-thouzard.com/)"); /** * header title This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2012-08-29 08:02:46
|
Revision: 10128 http://xoops.svn.sourceforge.net/xoops/?rev=10128&view=rev Author: voltan1 Date: 2012-08-29 08:02:31 +0000 (Wed, 29 Aug 2012) Log Message: ----------- Update to mamba version for start changes Modified Paths: -------------- XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/attributes.php XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/categories.php XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/dashboard.php XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/discounts.php XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/files.php XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/gateways.php XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/lists.php XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/lowstock.php XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/manufacturers.php XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/newsletter.php XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/orders.php XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/products.php XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/property.php XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/texts.php XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/vat.php XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/vendors.php XoopsModules/oledrion/branches/voltan/oledrion/admin/dbupdate.php XoopsModules/oledrion/branches/voltan/oledrion/admin/exports/csv.php XoopsModules/oledrion/branches/voltan/oledrion/admin/exports/dbase.php XoopsModules/oledrion/branches/voltan/oledrion/admin/exports/export.php XoopsModules/oledrion/branches/voltan/oledrion/admin/functions.php XoopsModules/oledrion/branches/voltan/oledrion/admin/gateways/gateway.php XoopsModules/oledrion/branches/voltan/oledrion/admin/gateways/paypal/gateway.php XoopsModules/oledrion/branches/voltan/oledrion/admin/gateways/paypal/language/english/main.php XoopsModules/oledrion/branches/voltan/oledrion/admin/gateways/paypal/language/french/main.php XoopsModules/oledrion/branches/voltan/oledrion/admin/index.php XoopsModules/oledrion/branches/voltan/oledrion/admin/menu.php XoopsModules/oledrion/branches/voltan/oledrion/admin/productsselector.php XoopsModules/oledrion/branches/voltan/oledrion/admin/tablefunctions.php XoopsModules/oledrion/branches/voltan/oledrion/ajax.php XoopsModules/oledrion/branches/voltan/oledrion/all-lists.php XoopsModules/oledrion/branches/voltan/oledrion/all-products.php XoopsModules/oledrion/branches/voltan/oledrion/blocks/oledrion_best_sales.php XoopsModules/oledrion/branches/voltan/oledrion/blocks/oledrion_block_tag.php XoopsModules/oledrion/branches/voltan/oledrion/blocks/oledrion_cart.php XoopsModules/oledrion/branches/voltan/oledrion/blocks/oledrion_categories.php XoopsModules/oledrion/branches/voltan/oledrion/blocks/oledrion_categoy_lists.php XoopsModules/oledrion/branches/voltan/oledrion/blocks/oledrion_mostviewed_lists.php XoopsModules/oledrion/branches/voltan/oledrion/blocks/oledrion_my_lists.php XoopsModules/oledrion/branches/voltan/oledrion/blocks/oledrion_new.php XoopsModules/oledrion/branches/voltan/oledrion/blocks/oledrion_promotion.php XoopsModules/oledrion/branches/voltan/oledrion/blocks/oledrion_random.php XoopsModules/oledrion/branches/voltan/oledrion/blocks/oledrion_random_lists.php XoopsModules/oledrion/branches/voltan/oledrion/blocks/oledrion_rated.php XoopsModules/oledrion/branches/voltan/oledrion/blocks/oledrion_recent_lists.php XoopsModules/oledrion/branches/voltan/oledrion/blocks/oledrion_recentlysold.php XoopsModules/oledrion/branches/voltan/oledrion/blocks/oledrion_recommended.php XoopsModules/oledrion/branches/voltan/oledrion/blocks/oledrion_top.php XoopsModules/oledrion/branches/voltan/oledrion/caddy.php XoopsModules/oledrion/branches/voltan/oledrion/cancel-payment.php XoopsModules/oledrion/branches/voltan/oledrion/categories-map.php XoopsModules/oledrion/branches/voltan/oledrion/category.php XoopsModules/oledrion/branches/voltan/oledrion/cgv.php XoopsModules/oledrion/branches/voltan/oledrion/checkout.php XoopsModules/oledrion/branches/voltan/oledrion/class/PEAR.php XoopsModules/oledrion/branches/voltan/oledrion/class/PersistableObjectHandler.php XoopsModules/oledrion/branches/voltan/oledrion/class/classheader.php XoopsModules/oledrion/branches/voltan/oledrion/class/lite.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_attributes.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_caddy.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_caddy_attributes.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_cat.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_commands.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_currency.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_discounts.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_files.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_gateways.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_gateways_options.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_handlers.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_lists.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_manufacturer.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_parameters.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_persistent_cart.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_plugins.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_products.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_products_list.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_productsmanu.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_reductions.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_related.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_shelf.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_shelf_parameters.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_utils.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_vat.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_vendors.php XoopsModules/oledrion/branches/voltan/oledrion/class/oledrion_votedata.php XoopsModules/oledrion/branches/voltan/oledrion/class/registryfile.php XoopsModules/oledrion/branches/voltan/oledrion/comment_delete.php XoopsModules/oledrion/branches/voltan/oledrion/comment_edit.php XoopsModules/oledrion/branches/voltan/oledrion/comment_new.php XoopsModules/oledrion/branches/voltan/oledrion/comment_post.php XoopsModules/oledrion/branches/voltan/oledrion/comment_reply.php XoopsModules/oledrion/branches/voltan/oledrion/config.php XoopsModules/oledrion/branches/voltan/oledrion/download.php XoopsModules/oledrion/branches/voltan/oledrion/extra/modules/rss/plugins/rssfit.oledrion.php XoopsModules/oledrion/branches/voltan/oledrion/extra/modules/sitemap/plugins/oledrion.php XoopsModules/oledrion/branches/voltan/oledrion/gateway-notify.php XoopsModules/oledrion/branches/voltan/oledrion/header.php XoopsModules/oledrion/branches/voltan/oledrion/include/comment_functions.php XoopsModules/oledrion/branches/voltan/oledrion/include/common.php XoopsModules/oledrion/branches/voltan/oledrion/include/functions.php XoopsModules/oledrion/branches/voltan/oledrion/include/notification.inc.php XoopsModules/oledrion/branches/voltan/oledrion/include/plugin.tag.php XoopsModules/oledrion/branches/voltan/oledrion/include/product_search_form.php XoopsModules/oledrion/branches/voltan/oledrion/include/search.inc.php XoopsModules/oledrion/branches/voltan/oledrion/index.php XoopsModules/oledrion/branches/voltan/oledrion/invoice.php XoopsModules/oledrion/branches/voltan/oledrion/js/attributes.js XoopsModules/oledrion/branches/voltan/oledrion/js/jquery/jquery.js XoopsModules/oledrion/branches/voltan/oledrion/language/english/addtocart.png XoopsModules/oledrion/branches/voltan/oledrion/language/english/addtowishlist.png XoopsModules/oledrion/branches/voltan/oledrion/language/english/admin.php XoopsModules/oledrion/branches/voltan/oledrion/language/english/blocks.php XoopsModules/oledrion/branches/voltan/oledrion/language/english/main.php XoopsModules/oledrion/branches/voltan/oledrion/language/english/modinfo.php XoopsModules/oledrion/branches/voltan/oledrion/language/french/Copie de addtowishlist.png XoopsModules/oledrion/branches/voltan/oledrion/language/french/addtowishlist.png XoopsModules/oledrion/branches/voltan/oledrion/language/french/admin.php XoopsModules/oledrion/branches/voltan/oledrion/language/french/blocks.php XoopsModules/oledrion/branches/voltan/oledrion/language/french/mail_template/command_client.tpl XoopsModules/oledrion/branches/voltan/oledrion/language/french/mail_template/command_client_cancel.tpl XoopsModules/oledrion/branches/voltan/oledrion/language/french/mail_template/command_client_verified.tpl XoopsModules/oledrion/branches/voltan/oledrion/language/french/mail_template/command_shop.tpl XoopsModules/oledrion/branches/voltan/oledrion/language/french/mail_template/command_shop_cancel.tpl XoopsModules/oledrion/branches/voltan/oledrion/language/french/mail_template/command_shop_failed.tpl XoopsModules/oledrion/branches/voltan/oledrion/language/french/mail_template/command_shop_fraud.tpl XoopsModules/oledrion/branches/voltan/oledrion/language/french/mail_template/command_shop_pending.tpl XoopsModules/oledrion/branches/voltan/oledrion/language/french/mail_template/command_shop_verified.tpl XoopsModules/oledrion/branches/voltan/oledrion/language/french/mail_template/global_newcategory_notify.tpl XoopsModules/oledrion/branches/voltan/oledrion/language/french/mail_template/global_newproduct_notify.tpl XoopsModules/oledrion/branches/voltan/oledrion/language/french/mail_template/shop_lowstock.tpl XoopsModules/oledrion/branches/voltan/oledrion/language/french/main.php XoopsModules/oledrion/branches/voltan/oledrion/language/french/messages.js XoopsModules/oledrion/branches/voltan/oledrion/language/french/modinfo.php XoopsModules/oledrion/branches/voltan/oledrion/language/french/newsletter.php XoopsModules/oledrion/branches/voltan/oledrion/language/persian/admin.php XoopsModules/oledrion/branches/voltan/oledrion/language/persian/blocks.php XoopsModules/oledrion/branches/voltan/oledrion/language/persian/main.php XoopsModules/oledrion/branches/voltan/oledrion/language/persian/modinfo.php XoopsModules/oledrion/branches/voltan/oledrion/list.php XoopsModules/oledrion/branches/voltan/oledrion/list.tag.php XoopsModules/oledrion/branches/voltan/oledrion/manufacturer.php XoopsModules/oledrion/branches/voltan/oledrion/media.php XoopsModules/oledrion/branches/voltan/oledrion/my-lists.php XoopsModules/oledrion/branches/voltan/oledrion/notification_update.php XoopsModules/oledrion/branches/voltan/oledrion/paypal-notify.php XoopsModules/oledrion/branches/voltan/oledrion/plugins/actions/newelements/plugins.php XoopsModules/oledrion/branches/voltan/oledrion/plugins/models/oledrion_action.php XoopsModules/oledrion/branches/voltan/oledrion/plugins/models/oledrion_filter.php XoopsModules/oledrion/branches/voltan/oledrion/product.php XoopsModules/oledrion/branches/voltan/oledrion/rate-product.php XoopsModules/oledrion/branches/voltan/oledrion/recommended.php XoopsModules/oledrion/branches/voltan/oledrion/rss.php XoopsModules/oledrion/branches/voltan/oledrion/search.php XoopsModules/oledrion/branches/voltan/oledrion/templates/blocks/oledrion_block_bestsales.html XoopsModules/oledrion/branches/voltan/oledrion/templates/blocks/oledrion_block_cart.html XoopsModules/oledrion/branches/voltan/oledrion/templates/blocks/oledrion_block_categories.html XoopsModules/oledrion/branches/voltan/oledrion/templates/blocks/oledrion_block_category_lists.html XoopsModules/oledrion/branches/voltan/oledrion/templates/blocks/oledrion_block_mostviewed_lists.html XoopsModules/oledrion/branches/voltan/oledrion/templates/blocks/oledrion_block_my_lists.html XoopsModules/oledrion/branches/voltan/oledrion/templates/blocks/oledrion_block_new.html XoopsModules/oledrion/branches/voltan/oledrion/templates/blocks/oledrion_block_promotion.html XoopsModules/oledrion/branches/voltan/oledrion/templates/blocks/oledrion_block_random.html XoopsModules/oledrion/branches/voltan/oledrion/templates/blocks/oledrion_block_random_lists.html XoopsModules/oledrion/branches/voltan/oledrion/templates/blocks/oledrion_block_rated.html XoopsModules/oledrion/branches/voltan/oledrion/templates/blocks/oledrion_block_recent_lists.html XoopsModules/oledrion/branches/voltan/oledrion/templates/blocks/oledrion_block_recentlysold.html XoopsModules/oledrion/branches/voltan/oledrion/templates/blocks/oledrion_block_recommended.html XoopsModules/oledrion/branches/voltan/oledrion/templates/blocks/oledrion_block_top.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_admin_discounts.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_all_lists.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_allproducts.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_bill.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_caddy.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_cancelpurchase.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_categories_list.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_category.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_cgv.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_chunk.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_command.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_index.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_list.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_manufacturer.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_map.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_mylists.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_product.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_productsselector.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_rate_product.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_recommended.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_search.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_thankyou.html XoopsModules/oledrion/branches/voltan/oledrion/templates/oledrion_whoswho.html XoopsModules/oledrion/branches/voltan/oledrion/thankyou.php XoopsModules/oledrion/branches/voltan/oledrion/view.tag.php XoopsModules/oledrion/branches/voltan/oledrion/whoswho.php XoopsModules/oledrion/branches/voltan/oledrion/xoops_version.php Added Paths: ----------- XoopsModules/oledrion/branches/voltan/oledrion/admin/about.php XoopsModules/oledrion/branches/voltan/oledrion/admin/admin_footer.php XoopsModules/oledrion/branches/voltan/oledrion/admin/admin_header.php XoopsModules/oledrion/branches/voltan/oledrion/admin/main.php XoopsModules/oledrion/branches/voltan/oledrion/class/PEAR5.php XoopsModules/oledrion/branches/voltan/oledrion/docs/ XoopsModules/oledrion/branches/voltan/oledrion/docs/changelog.txt XoopsModules/oledrion/branches/voltan/oledrion/docs/credits.txt XoopsModules/oledrion/branches/voltan/oledrion/docs/index.html XoopsModules/oledrion/branches/voltan/oledrion/docs/install.txt XoopsModules/oledrion/branches/voltan/oledrion/docs/lang_diff.txt XoopsModules/oledrion/branches/voltan/oledrion/docs/licence.txt XoopsModules/oledrion/branches/voltan/oledrion/docs/readme.txt XoopsModules/oledrion/branches/voltan/oledrion/language/english/help/ Removed Paths: ------------- XoopsModules/oledrion/branches/voltan/oledrion/error_log Added: XoopsModules/oledrion/branches/voltan/oledrion/admin/about.php =================================================================== --- XoopsModules/oledrion/branches/voltan/oledrion/admin/about.php (rev 0) +++ XoopsModules/oledrion/branches/voltan/oledrion/admin/about.php 2012-08-29 08:02:31 UTC (rev 10128) @@ -0,0 +1,29 @@ +<?php +/** + * Birthday module + * + * 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://www.xoops.org) + * @license {@link http://www.gnu.org/licenses/gpl-2.0.html GNU Public License} + * @package birthday + * @since 2.5.0 + * @author XOOPS Module Team + * @version $Id $ + **/ + +include_once dirname(__FILE__) . '/admin_header.php'; + +xoops_cp_header(); + +$aboutAdmin = new ModuleAdmin(); + +echo $aboutAdmin->addNavigation('about.php'); +echo $aboutAdmin->renderAbout('6KJ7RW5DR3VTJ', false); + +include 'admin_footer.php'; \ No newline at end of file Modified: XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/attributes.php =================================================================== --- XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/attributes.php 2012-08-29 06:21:14 UTC (rev 10127) +++ XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/attributes.php 2012-08-29 08:02:31 UTC (rev 10128) @@ -2,7 +2,7 @@ /** * **************************************************************************** * oledrion - MODULE FOR XOOPS - * Copyright (c) Hervé Thouzard of Instant Zero (http://www.instant-zero.com) + * Copyright (c) Hervé Thouzard (http://www.herve-thouzard.com/) * * 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 @@ -11,10 +11,10 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright Hervé Thouzard of Instant Zero (http://www.instant-zero.com) + * @copyright Hervé Thouzard (http://www.herve-thouzard.com/) * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @package oledrion - * @author Hervé Thouzard of Instant Zero (http://www.instant-zero.com) + * @author Hervé Thouzard (http://www.herve-thouzard.com/) * * Version : $Id: * **************************************************************************** @@ -182,7 +182,7 @@ if(isset($pagenav) && is_object($pagenav)) { echo "<div align='right'>".$pagenav->renderNav()."</div>"; } - show_footer(); + include_once 'admin_footer.php'; break; // **************************************************************************************************************** @@ -243,7 +243,7 @@ echo "<tr>\n"; } echo '</table>'; - show_footer(); + include_once 'admin_footer.php'; } break; @@ -354,7 +354,7 @@ oledrion_utils::callJavascriptFile('attributes.js', false, true); $sform = oledrion_utils::formMarkRequiredFields($sform); $sform->display(); - show_footer(); + include_once 'admin_footer.php'; break; // **************************************************************************************************************** Modified: XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/categories.php =================================================================== --- XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/categories.php 2012-08-29 06:21:14 UTC (rev 10127) +++ XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/categories.php 2012-08-29 08:02:31 UTC (rev 10128) @@ -2,7 +2,7 @@ /** * **************************************************************************** * oledrion - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * 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 @@ -11,10 +11,10 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @copyright Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @package oledrion - * @author Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * Version : $Id: * **************************************************************************** @@ -82,7 +82,7 @@ $sform->addElement($button_tray); $sform = oledrion_utils::formMarkRequiredFields($sform); $sform->display(); - show_footer(); + include_once 'admin_footer.php'; break; @@ -175,7 +175,7 @@ $sform = oledrion_utils::formMarkRequiredFields($sform); $sform->display(); - show_footer(); + include_once 'admin_footer.php'; break; @@ -245,7 +245,7 @@ oledrion_utils::redirect(_AM_OLEDRION_ERROR_10, $baseurl, 5); } $msg = sprintf(_AM_OLEDRION_CONF_DEL_CATEG, $category->getVar('cat_title')); - xoops_confirm(array( 'op' => 'categories', 'action' => 'confdelete', 'id' => $id), 'index.php', $msg); + xoops_confirm(array( 'op' => 'categories', 'action' => 'confdelete', 'id' => $id), 'main.php', $msg); break; Modified: XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/dashboard.php =================================================================== --- XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/dashboard.php 2012-08-29 06:21:14 UTC (rev 10127) +++ XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/dashboard.php 2012-08-29 08:02:31 UTC (rev 10128) @@ -2,7 +2,7 @@ /** * **************************************************************************** * oledrion - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * 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 @@ -11,10 +11,10 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @copyright Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @package oledrion - * @author Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * Version : $Id: * **************************************************************************** @@ -121,7 +121,7 @@ echo "</td></tr>\n"; echo "</table>\n"; } - show_footer(); + include_once 'admin_footer.php'; break; Modified: XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/discounts.php =================================================================== --- XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/discounts.php 2012-08-29 06:21:14 UTC (rev 10127) +++ XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/discounts.php 2012-08-29 08:02:31 UTC (rev 10128) @@ -2,7 +2,7 @@ /** * **************************************************************************** * oledrion - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * 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 @@ -11,10 +11,10 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @copyright Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @package oledrion - * @author Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * Version : $Id: * **************************************************************************** @@ -31,7 +31,7 @@ case 'default': // Gestion des r\xE9ductions // **************************************************************************************************************** xoops_cp_header(); - oledrion_adminMenu(7); + //oledrion_adminMenu(7); $form = "<form method='post' action='$baseurl' name='frmadddiscount' id='frmadddiscount'><input type='hidden' name='op' id='op' value='discounts' /><input type='hidden' name='action' id='action' value='add' /><input type='submit' name='btngo' id='btngo' value='"._AM_OLEDRION_ADD_ITEM."' /></form>"; echo $form; oledrion_utils::htitle(_MI_OLEDRION_ADMENU6, 4); @@ -74,15 +74,16 @@ } $oledrion_reductions = new oledrion_reductions(); - show_footer(); + include_once 'admin_footer.php'; break; // **************************************************************************************************************** case 'add': // Ajout d'une promotion case 'edit': // Edition d'une promo // **************************************************************************************************************** - xoops_cp_header(); - oledrion_adminMenu(7); + + xoops_cp_header(); + //oledrion_adminMenu(7); if($action == 'edit') { $title = _AM_OLEDRION_EDIT_DISCOUNT; $id = isset($_GET['id']) ? intval($_GET['id']) : 0; @@ -103,8 +104,10 @@ $label_submit = _AM_OLEDRION_ADD; $edit = false; } + include_once XOOPS_ROOT_PATH.'/class/template.php'; - $xoopsTpl = new XoopsTpl(); + global $xoopsTpl; +// $xoopsTpl = new XoopsTpl(); $xoopsTpl->assign('formTitle', $title); $xoopsTpl->assign('action', 'edit'); $xoopsTpl->assign('baseurl', $baseurl); @@ -242,10 +245,13 @@ $xoopsTpl->assign('discount', $discountForTemplate); $xoopsTpl->assign('currencyName', oledrion_utils::getModuleOption('money_full')); - $editor = oledrion_utils::getWysiwygForm(_AM_OLEDRION_DISCOUNT_DESCR, 'disc_description', $item->getVar('disc_description','e'), 15, 60, 'description_hidden'); - $xoopsTpl->assign('editor', $editor->render()); + //$editor = oledrion_utils::getWysiwygForm(_AM_OLEDRION_DISCOUNT_DESCR, 'disc_description', $item->getVar('disc_description','e'), 15, 60, 'description_hidden'); + //$xoopsTpl->assign('editor', $editor->render()); + $xoopsTpl->display('db:oledrion_admin_discounts.html'); - show_footer(); + include_once 'admin_footer.php'; + + break; // **************************************************************************************************************** Modified: XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/files.php =================================================================== --- XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/files.php 2012-08-29 06:21:14 UTC (rev 10127) +++ XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/files.php 2012-08-29 08:02:31 UTC (rev 10128) @@ -2,7 +2,7 @@ /** * **************************************************************************** * oledrion - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * 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 @@ -11,10 +11,10 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @copyright Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @package oledrion - * @author Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * Version : $Id: * **************************************************************************** @@ -74,7 +74,7 @@ if(isset($pagenav) && is_object($pagenav)) { echo "<div align='right'>".$pagenav->renderNav()."</div>"; } - show_footer(); + include_once 'admin_footer.php'; break; // **************************************************************************************************************** @@ -134,7 +134,7 @@ $sform->addElement($button_tray); $sform = oledrion_utils::formMarkRequiredFields($sform); $sform->display(); - show_footer(); + include_once 'admin_footer.php'; break; // **************************************************************************************************************** Modified: XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/gateways.php =================================================================== --- XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/gateways.php 2012-08-29 06:21:14 UTC (rev 10127) +++ XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/gateways.php 2012-08-29 08:02:31 UTC (rev 10128) @@ -2,7 +2,7 @@ /** * **************************************************************************** * oledrion - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * 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 @@ -11,10 +11,10 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @copyright Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @package oledrion - * @author Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * Version : $Id: * **************************************************************************** @@ -68,7 +68,7 @@ echo '<br />'._AM_OLEDRION_GATEWAYS_CREDITS.$gatewayInformation['credits']; } echo "</td>\n"; - echo "<td>".formatTimestamp(strtotime($gatewayInformation['releaseDate']), 's')."</td>\n"; + echo "<td align='center'>".formatTimestamp(strtotime($gatewayInformation['releaseDate']), 's')."</td>\n"; echo "<td align='center'>"; $checked = ''; $isCurrentGateway = false; @@ -94,7 +94,7 @@ echo "</tr>\n"; } echo "</table>\n"; - show_footer(); + include_once 'admin_footer.php'; break; // **************************************************************************************************************** @@ -114,7 +114,7 @@ echo $logContent; echo "</pre>\n"; echo "</div>\n"; - show_footer(); + include_once 'admin_footer.php'; break; // **************************************************************************************************************** Modified: XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/lists.php =================================================================== --- XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/lists.php 2012-08-29 06:21:14 UTC (rev 10127) +++ XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/lists.php 2012-08-29 08:02:31 UTC (rev 10128) @@ -2,7 +2,7 @@ /** * **************************************************************************** * oledrion - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * 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 @@ -11,10 +11,10 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @copyright Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @package oledrion - * @author Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * Version : $Id: * **************************************************************************** @@ -74,7 +74,7 @@ if(isset($pagenav) && is_object($pagenav)) { echo "<div align='right'>".$pagenav->renderNav()."</div>"; } - show_footer(); + include_once 'admin_footer.php'; break; // **************************************************************************************************************** Modified: XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/lowstock.php =================================================================== --- XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/lowstock.php 2012-08-29 06:21:14 UTC (rev 10127) +++ XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/lowstock.php 2012-08-29 08:02:31 UTC (rev 10128) @@ -2,7 +2,7 @@ /** * **************************************************************************** * oledrion - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * 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 @@ -11,10 +11,10 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @copyright Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @package oledrion - * @author Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * Version : $Id: * **************************************************************************** @@ -51,7 +51,7 @@ echo "<tr class='".$class."'>\n"; $name = 'qty_'.$id; $names[] = $id; - echo '<td>'.$link."</td><td align='right'>".$item->getVar('product_stock')."</td><td align='right'>".$item->getVar('product_alert_stock')."</td><td align='center'><input type='text' name='$name' id='$name' size='3' maxlength='5' value='' /></td>\n"; + echo '<td>'.$link."</td><td align='center'>".$item->getVar('product_stock')."</td><td align='center'>".$item->getVar('product_alert_stock')."</td><td align='center'><input type='text' name='$name' id='$name' size='3' maxlength='5' value='' /></td>\n"; echo "<tr>\n"; } $class = ($class == 'even') ? 'odd' : 'even'; @@ -62,7 +62,7 @@ if(isset($pagenav) && is_object($pagenav)) { echo "<div align='right'>".$pagenav->renderNav().'</div>'; } - show_footer(); + include_once 'admin_footer.php'; break; // **************************************************************************************************************** Modified: XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/manufacturers.php =================================================================== --- XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/manufacturers.php 2012-08-29 06:21:14 UTC (rev 10127) +++ XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/manufacturers.php 2012-08-29 08:02:31 UTC (rev 10128) @@ -2,7 +2,7 @@ /** * **************************************************************************** * oledrion - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * 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 @@ -11,10 +11,10 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @copyright Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @package oledrion - * @author Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * Version : $Id: * **************************************************************************** @@ -73,7 +73,7 @@ if(isset($pagenav) && is_object($pagenav)) { echo "<div align='right'>".$pagenav->renderNav()."</div>"; } - show_footer(); + include_once 'admin_footer.php'; break; @@ -140,7 +140,7 @@ $sform = oledrion_utils::formMarkRequiredFields($sform); $sform->display(); - show_footer(); + include_once 'admin_footer.php'; break; // **************************************************************************************************************** Modified: XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/newsletter.php =================================================================== --- XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/newsletter.php 2012-08-29 06:21:14 UTC (rev 10127) +++ XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/newsletter.php 2012-08-29 08:02:31 UTC (rev 10128) @@ -2,7 +2,7 @@ /** * **************************************************************************** * oledrion - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * 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 @@ -11,10 +11,10 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @copyright Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @package oledrion - * @author Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * Version : $Id: * **************************************************************************** @@ -59,7 +59,7 @@ $sform->addElement($button_tray); $sform = oledrion_utils::formMarkRequiredFields($sform); $sform->display(); - show_footer(); + include_once 'admin_footer.php'; break; // **************************************************************************************************************** @@ -129,7 +129,7 @@ fclose($fp); $newsfile = OLEDRION_NEWSLETTER_URL; echo "<a href='$newsfile' target='_blank'>"._AM_OLEDRION_NEWSLETTER_READY."</a>"; - show_footer(); + include_once 'admin_footer.php'; break; } ?> \ No newline at end of file Modified: XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/orders.php =================================================================== --- XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/orders.php 2012-08-29 06:21:14 UTC (rev 10127) +++ XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/orders.php 2012-08-29 08:02:31 UTC (rev 10128) @@ -2,7 +2,7 @@ /** * **************************************************************************** * oledrion - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * 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 @@ -11,10 +11,10 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @copyright Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @package oledrion - * @author Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * Version : $Id: * **************************************************************************** @@ -88,7 +88,7 @@ $actions[] = "<a href='$baseurl?op=orders&action=delete&id=".$id."' title='"._OLEDRION_DELETE."'".$conf_msg.">".$icones['delete'].'</a>'; $actions[] = "<a href='$baseurl?op=orders&action=validate&id=".$id."' ".$confValidateOrder." title='"._OLEDRION_VALIDATE_COMMAND."'>".$icones['ok'].'</a>'; echo "<tr class='".$class."'>\n"; - echo "<td align='right'>".$id."</td><td align='center'>".$date."</td><td align='center'>".$item->getVar('cmd_lastname').' '.$item->getVar('cmd_firstname')."</td><td align='center'>".$oledrion_Currency->amountForDisplay($item->getVar('cmd_total', 'n')).' / '.$oledrion_Currency->amountForDisplay($item->getVar('cmd_shipping'))."</td><td align='center'>".implode(' ', $actions)."</td>\n"; + echo "<td align='center'>".$id."</td><td align='center'>".$date."</td><td align='center'>".$item->getVar('cmd_lastname').' '.$item->getVar('cmd_firstname')."</td><td align='center'>".$oledrion_Currency->amountForDisplay($item->getVar('cmd_total', 'n')).' / '.$oledrion_Currency->amountForDisplay($item->getVar('cmd_shipping'))."</td><td align='center'>".implode(' ', $actions)."</td>\n"; echo "<tr>\n"; $totalOrder += floatval($item->getVar('cmd_total', 'n')); } @@ -98,7 +98,7 @@ if(isset($pagenav) && is_object($pagenav)) { echo "<div align='right'>".$pagenav->renderNav()."</div>"; } - show_footer(); + include_once 'admin_footer.php'; break; // **************************************************************************************************************** @@ -112,7 +112,7 @@ } $item = $h_oledrion_commands->get($id); if(is_object($item)) { - xoops_confirm(array( 'op' => 'orders', 'action' => 'remove', 'id' => $id), 'index.php', _AM_OLEDRION_CONF_DELITEM); + xoops_confirm(array( 'op' => 'orders', 'action' => 'remove', 'id' => $id), 'main.php', _AM_OLEDRION_CONF_DELITEM); } else { oledrion_utils::redirect(_AM_OLEDRION_NOT_FOUND, $baseurl.'?op='.$opRedirect,5); } @@ -186,7 +186,7 @@ } else { oledrion_utils::redirect(_AM_OLEDRION_ERROR_11); } - show_footer(); + include_once 'admin_footer.php'; break; } Modified: XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/products.php =================================================================== --- XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/products.php 2012-08-29 06:21:14 UTC (rev 10127) +++ XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/products.php 2012-08-29 08:02:31 UTC (rev 10128) @@ -2,7 +2,7 @@ /** * **************************************************************************** * oledrion - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * 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 @@ -11,10 +11,10 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @copyright Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @package oledrion - * @author Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * Version : $Id: * **************************************************************************** @@ -200,7 +200,7 @@ if(isset($pagenav) && is_object($pagenav)) { echo "<div align='right'>".$pagenav->renderNav()."</div>"; } - show_footer(); + //include_once 'admin_footer.php'; break; @@ -477,8 +477,8 @@ } $downloadFile = new XoopsFormFile(_OLEDRION_ATTACHED_FILE , 'attachedfile3', oledrion_utils::getModuleOption('maxuploadsize')); $downloadFile->setDescription(_AM_OLEDRION_ATTACHED_HLP); - $sform->addElement($downloadFile, false); - + $sform->addElement($downloadFile, false); + if(oledrion_utils::getModuleOption('product_property1')) { $property1select = new XoopsFormSelect(_AM_OLEDRION_PRODUCT_PROPERTY1, 'product_property1', $item->getVar('product_property1')); $property1Array = explode('|',oledrion_utils::getModuleOption('product_property1')); @@ -486,8 +486,8 @@ $property1select->addOption($property1); } $sform->addElement($property1select, false); - } - + } + if(oledrion_utils::getModuleOption('product_property2')) { $property2select = new XoopsFormSelect(_AM_OLEDRION_PRODUCT_PROPERTY2, 'product_property2', $item->getVar('product_property2')); $property2Array = explode('|',oledrion_utils::getModuleOption('product_property2')); @@ -495,8 +495,8 @@ $property2select->addOption($property2); } $sform->addElement($property2select, false); - } - + } + if(oledrion_utils::getModuleOption('product_property3')) { $property3select = new XoopsFormSelect(_AM_OLEDRION_PRODUCT_PROPERTY3, 'product_property3', $item->getVar('product_property3')); $property3Array = explode('|',oledrion_utils::getModuleOption('product_property3')); @@ -504,8 +504,8 @@ $property3select->addOption($property3); } $sform->addElement($property3select, false); - } - + } + if(oledrion_utils::getModuleOption('product_property4')) { $property4select = new XoopsFormSelect(_AM_OLEDRION_PRODUCT_PROPERTY4, 'product_property4', $item->getVar('product_property4')); $property4Array = explode('|',oledrion_utils::getModuleOption('product_property4')); @@ -513,8 +513,8 @@ $property4select->addOption($property4); } $sform->addElement($property4select, false); - } - + } + if(oledrion_utils::getModuleOption('product_property5')) { $property5select = new XoopsFormSelect(_AM_OLEDRION_PRODUCT_PROPERTY5, 'product_property5', $item->getVar('product_property5')); $property5Array = explode('|',oledrion_utils::getModuleOption('product_property5')); @@ -522,8 +522,8 @@ $property5select->addOption($property5); } $sform->addElement($property5select, false); - } - + } + $button_tray = new XoopsFormElementTray('' ,''); $submit_btn = new XoopsFormButton('', 'post', $label_submit, 'submit'); $button_tray->addElement($submit_btn); @@ -531,7 +531,7 @@ $sform = oledrion_utils::formMarkRequiredFields($sform); $sform->display(); - show_footer(); + include_once 'admin_footer.php'; break; @@ -710,7 +710,7 @@ if(!is_object($item)) { oledrion_utils::redirect(_AM_OLEDRION_NOT_FOUND, $baseurl, 5); } - xoops_confirm(array( 'op' => 'products', 'action' => 'delete', 'id' => $id), 'index.php', _AM_OLEDRION_CONF_DELITEM.'<br />'.$item->getVar('product_title')); + xoops_confirm(array( 'op' => 'products', 'action' => 'delete', 'id' => $id), 'main.php', _AM_OLEDRION_CONF_DELITEM.'<br />'.$item->getVar('product_title')); break; @@ -756,7 +756,7 @@ echo "<tr>\n"; } echo '</table>'; - show_footer(); + include_once 'admin_footer.php'; } break; } Modified: XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/property.php =================================================================== --- XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/property.php 2012-08-29 06:21:14 UTC (rev 10127) +++ XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/property.php 2012-08-29 08:02:31 UTC (rev 10128) @@ -1,41 +1,41 @@ -<?php -/** - * **************************************************************************** - * oledrion - MODULE FOR XOOPS - * Copyright (c) Hervé Thouzard of Instant Zero (http://www.instant-zero.com) - * - * 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 Hervé Thouzard of Instant Zero (http://www.instant-zero.com) - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @package oledrion - * @author Hervé Thouzard of Instant Zero (http://www.instant-zero.com) - * - * Version : $Id: - * **************************************************************************** - */ - -/** - * Gestion des textes affichés sur certaines pages pour les utilisateurs - */ -if(!defined("OLEDRION_ADMIN")) exit(); - +<?php +/** + * **************************************************************************** + * oledrion - MODULE FOR XOOPS + * Copyright (c) Hervé Thouzard (http://www.herve-thouzard.com/) + * + * 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 Hervé Thouzard (http://www.herve-thouzard.com/) + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package oledrion + * @author Hervé Thouzard (http://www.herve-thouzard.com/) + * + * Version : $Id: + * **************************************************************************** + */ + +/** + * Gestion des textes affichés sur certaines pages pour les utilisateurs + */ +if(!defined("OLEDRION_ADMIN")) exit(); + $configHandler =& xoops_gethandler('config'); $moduleIdCriteria = new Criteria('conf_modid',$xoopsModule->getVar('mid')); - -switch($action) { - - case 'default': - xoops_cp_header(); +switch($action) { + + case 'default': + + xoops_cp_header(); - $sform = new XoopsThemeForm(_MI_OLEDRION_ADMENU17, 'property', $baseurl); - $sform->addElement(new XoopsFormHidden('op', 'property')); + $sform = new XoopsThemeForm(_MI_OLEDRION_ADMENU17, 'property', $baseurl); + $sform->addElement(new XoopsFormHidden('op', 'property')); $sform->addElement(new XoopsFormHidden('action', 'fromproperty')); $property1 = new XoopsFormTextArea ( _AM_OLEDRION_PRODUCT_PROPERTY1, 'product_property1', oledrion_utils::getModuleOption('product_property1'), 5, 90 ); @@ -58,15 +58,15 @@ $property5->setDescription ( _AM_OLEDRION_PRODUCT_PROPERTY5_DESC ); $sform->addElement ( $property5 ); - $button_tray = new XoopsFormElementTray('' ,''); - $submit_btn = new XoopsFormButton('', 'post', _AM_OLEDRION_MODIFY, 'submit'); - $button_tray->addElement($submit_btn); - $sform->addElement($button_tray); - $sform = oledrion_utils::formMarkRequiredFields($sform); + $button_tray = new XoopsFormElementTray('' ,''); + $submit_btn = new XoopsFormButton('', 'post', _AM_OLEDRION_MODIFY, 'submit'); + $button_tray->addElement($submit_btn); + $sform->addElement($button_tray); + $sform = oledrion_utils::formMarkRequiredFields($sform); $sform->display(); - - show_footer(); - + + include_once 'admin_footer.php'; + break; case 'fromproperty': @@ -173,8 +173,8 @@ } } - oledrion_utils::updateCache(); - oledrion_utils::redirect(_AM_OLEDRION_SAVE_OK, $baseurl.'?op=property', 2); + oledrion_utils::updateCache(); + oledrion_utils::redirect(_AM_OLEDRION_SAVE_OK, $baseurl.'?op=property', 2); break; -} +} ?> \ No newline at end of file Modified: XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/texts.php =================================================================== --- XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/texts.php 2012-08-29 06:21:14 UTC (rev 10127) +++ XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/texts.php 2012-08-29 08:02:31 UTC (rev 10128) @@ -2,7 +2,7 @@ /** * **************************************************************************** * oledrion - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * 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 @@ -11,10 +11,10 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @copyright Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @package oledrion - * @author Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * Version : $Id: * **************************************************************************** Modified: XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/vat.php =================================================================== --- XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/vat.php 2012-08-29 06:21:14 UTC (rev 10127) +++ XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/vat.php 2012-08-29 08:02:31 UTC (rev 10128) @@ -2,7 +2,7 @@ /** * **************************************************************************** * oledrion - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * 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 @@ -11,10 +11,10 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @copyright Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @package oledrion - * @author Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * @author Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * Version : $Id: * **************************************************************************** @@ -46,7 +46,7 @@ $actions[] = "<a href='$baseurl?op=vat&action=edit&id=".$id."' title='"._OLEDRION_EDIT."'>".$icones['edit'].'</a>'; $actions[] = "<a href='$baseurl?op=vat&action=delete&id=".$id."' title='"._OLEDRION_DELETE."'".$conf_msg.">".$icones['delete'].'</a>'; echo "<tr class='".$class."'>\n"; - echo "<td>".$id."</td><td align='right'>".$oledrion_Currency->amountInCurrency($item->getVar('vat_rate'))."</td><td align='left'>".ucfirst($item->getVar('vat_country'))."</td><td align='center'>".implode(' ', $actions)."</td>\n"; + echo "<td align='center'>".$id."</td><td align='center'>".$oledrion_Currency->amountInCurrency($item->getVar('vat_rate'))."</td><td align='center'>".ucfirst($item->getVar('vat_country'))."</td><td align='center'>".implode(' ', $actions)."</td>\n"; echo "<tr>\n"; } $class = ($class == 'even') ? 'odd' : 'even'; @@ -54,7 +54,7 @@ echo "<td colspan='3' align='center'>".$form."</td>\n"; echo "</tr>\n"; echo '</table>'; - show_footer(); + include_once 'admin_footer.php'; break; // **************************************************************************************************************** @@ -96,7 +96,7 @@ $sform->addElement($button_tray); $sform = oledrion_utils::formMarkRequiredFields($sform); $sform->display(); - show_footer(); + include_once 'admin_footer.php'; break; // **************************************************************************************************************** Modified: XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/vendors.php =================================================================== --- XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/vendors.php 2012-08-29 06:21:14 UTC (rev 10127) +++ XoopsModules/oledrion/branches/voltan/oledrion/admin/actions/vendors.php 2012-08-29 08:02:31 UTC (rev 10128) @@ -2,7 +2,7 @@ /** * **************************************************************************** * oledrion - MODULE FOR XOOPS - * Copyright (c) Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com) + * Copyright (c) Herv\xE9 Thouzard (http://www.herve-thouzard.com/) * * 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 @@ -11,10 +11,10 @@ * but WITHOUT ANY WARRANTY; without even ... [truncated message content] |
From: <vo...@us...> - 2012-08-29 06:21:23
|
Revision: 10127 http://xoops.svn.sourceforge.net/xoops/?rev=10127&view=rev Author: voltan1 Date: 2012-08-29 06:21:14 +0000 (Wed, 29 Aug 2012) Log Message: ----------- Add ajax method Added Paths: ----------- XoopsModules/contact/branches/voltan/v1.8/contact/ajax.php XoopsModules/contact/branches/voltan/v1.8/contact/docs/ajax.html Added: XoopsModules/contact/branches/voltan/v1.8/contact/ajax.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/ajax.php (rev 0) +++ XoopsModules/contact/branches/voltan/v1.8/contact/ajax.php 2012-08-29 06:21:14 UTC (rev 10127) @@ -0,0 +1,34 @@ +<?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. +*/ + +/** + * Contact module + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @author Hossein Azizabadi (AKA Voltan) + * @version $Id$ + */ + +include 'header.php'; + +if(!empty($_POST)) { + // Info Processing + $contact = $contact_handler->Contact_InfoProcessing($_POST); + // Save info + $obj = $contact_handler->create(); + $obj->setVars($contact); + $contact_handler->insert($obj); + // send mail can seet message + $message = $contact_handler->Contact_SendMail($contact); +} + +?> \ No newline at end of file Added: XoopsModules/contact/branches/voltan/v1.8/contact/docs/ajax.html =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/docs/ajax.html (rev 0) +++ XoopsModules/contact/branches/voltan/v1.8/contact/docs/ajax.html 2012-08-29 06:21:14 UTC (rev 10127) @@ -0,0 +1,65 @@ +<script src="<{$xoops_url}>/browse.php?Frameworks/jquery/jquery.js" type="text/javascript"></script> +<script src="<{$xoops_url}>/browse.php?Frameworks/jquery/plugins/jquery.ui.js" type="text/javascript"></script> +<link rel="stylesheet" href="<{$xoops_url}>/modules/system/css/ui/base/ui.all.css" type="text/css" /> +<script type="text/javascript"> +$(function() { + + $( "#dialog:ui-dialog" ).dialog( "destroy" ); + + + + var contact_name = $( "#contact_name" ), contact_mail = $( "#contact_mail" ), contact_phone = $( "#contact_phone" ), contact_subject = $( "#contact_subject" ), contact_message = $( "#contact_message" ), contact_uid = $( "#contact_uid" ), + allFields = $( [] ).add( contact_name ).add( contact_mail ).add( contact_phone ).add( contact_subject ).add( contact_message ).add( contact_uid ), + tips = $( ".validateTips" ); + + $( "#dialog-form" ).dialog({ + autoOpen: false, + height: 400, + width: 350, + modal: true, + buttons: { + "Contact Us": function() { + $.ajax({ + type: "POST", + url: "<{$xoops_url}>/modules/contact/ajax.php", + data: allFields, + }); + $( this ).dialog( "close" ); + }, + "Cancel": function() { + $( this ).dialog( "close" ); + } + }, + close: function() { + allFields.val( "" ).removeClass( "ui-state-error" ); + } + }); + + $( "#create-user" ) + .button() + .click(function() { + $( "#dialog-form" ).dialog( "open" ); + }); +}); +</script> + +<div class="demo"> + <div id="dialog-form" title="Contact Us"> + <p class="validateTips">Contact us</p> + <form enctype="multipart/form-data"> + <{xoMemberInfo assign=member_info}> + <label for="name">Name</label> + <input name="contact_name" title="Name" id="contact_name" size="20" maxlength="255" value="<{$xoops_uname}>" type="text" class="text ui-widget-content ui-corner-all" /> + <br /><label for="email">Email</label> + <input name="contact_mail" title="Email" id="contact_mail" size="20" maxlength="255" value="<{$member_info.email}>" type="text" class="text ui-widget-content ui-corner-all" /> + <br /><label for="password">Phone</label> + <input name="contact_phone" title="Phone" id="contact_phone" size="20" maxlength="255" value="" type="text" class="text ui-widget-content ui-corner-all" /> + <br /><label for="password">Subject</label> + <input name="contact_subject" title="Subject" id="contact_subject" size="20" maxlength="255" value="" type="text" class="text ui-widget-content ui-corner-all" /> + <br /><label for="password">Comment</label> + <textarea name="contact_message" id="contact_message" title="Comment" rows="5" cols="60"></textarea> + <input name="contact_uid" id="contact_uid" value="<{$xoops_userid}>" type="hidden"> + </form> + </div> + <button id="create-user">Contact Us</button> +</div> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2012-08-29 05:12:06
|
Revision: 10126 http://xoops.svn.sourceforge.net/xoops/?rev=10126&view=rev Author: voltan1 Date: 2012-08-29 05:11:55 +0000 (Wed, 29 Aug 2012) Log Message: ----------- Add slideshow module Added Paths: ----------- XoopsModules/slideshow/trunk/ XoopsModules/slideshow/trunk/admin/ XoopsModules/slideshow/trunk/admin/backend.php XoopsModules/slideshow/trunk/admin/header.php XoopsModules/slideshow/trunk/admin/index.html XoopsModules/slideshow/trunk/admin/index.php XoopsModules/slideshow/trunk/admin/marquee.php XoopsModules/slideshow/trunk/admin/menu.php XoopsModules/slideshow/trunk/admin/slideshow.php XoopsModules/slideshow/trunk/admin/topic.php XoopsModules/slideshow/trunk/blocks/ XoopsModules/slideshow/trunk/blocks/index.html XoopsModules/slideshow/trunk/blocks/slideshow.php XoopsModules/slideshow/trunk/class/ XoopsModules/slideshow/trunk/class/index.html XoopsModules/slideshow/trunk/class/item.php XoopsModules/slideshow/trunk/class/topic.php XoopsModules/slideshow/trunk/css/ XoopsModules/slideshow/trunk/css/index.html XoopsModules/slideshow/trunk/css/marquee/ XoopsModules/slideshow/trunk/css/marquee/index.html XoopsModules/slideshow/trunk/css/marquee/marquee.css XoopsModules/slideshow/trunk/css/slideshow/ XoopsModules/slideshow/trunk/css/slideshow/index.html XoopsModules/slideshow/trunk/css/slideshow/scrollable.css XoopsModules/slideshow/trunk/css/slideshow/sliderkit-core.css XoopsModules/slideshow/trunk/css/slideshow/sliderkit-demos.css XoopsModules/slideshow/trunk/images/ XoopsModules/slideshow/trunk/images/cancel.png XoopsModules/slideshow/trunk/images/home.png XoopsModules/slideshow/trunk/images/index.html XoopsModules/slideshow/trunk/images/item.png XoopsModules/slideshow/trunk/images/logo.png XoopsModules/slideshow/trunk/images/ok.png XoopsModules/slideshow/trunk/images/puce.png XoopsModules/slideshow/trunk/images/topic.png XoopsModules/slideshow/trunk/include/ XoopsModules/slideshow/trunk/include/functions.php XoopsModules/slideshow/trunk/include/index.html XoopsModules/slideshow/trunk/include/install.php XoopsModules/slideshow/trunk/include/update.php XoopsModules/slideshow/trunk/index.php XoopsModules/slideshow/trunk/js/ XoopsModules/slideshow/trunk/js/admin.js XoopsModules/slideshow/trunk/js/index.html XoopsModules/slideshow/trunk/js/marquee/ XoopsModules/slideshow/trunk/js/marquee/index.html XoopsModules/slideshow/trunk/js/marquee/marquee.js XoopsModules/slideshow/trunk/js/marquee/setting.js XoopsModules/slideshow/trunk/js/order.js XoopsModules/slideshow/trunk/js/slideshow/ XoopsModules/slideshow/trunk/js/slideshow/index.html XoopsModules/slideshow/trunk/js/slideshow/scrollable.js XoopsModules/slideshow/trunk/js/slideshow/setting.js XoopsModules/slideshow/trunk/js/slideshow/sliderkit.min.js XoopsModules/slideshow/trunk/js/slideshow/sliderkitsetting.js XoopsModules/slideshow/trunk/language/ XoopsModules/slideshow/trunk/language/english/ XoopsModules/slideshow/trunk/language/english/admin.php XoopsModules/slideshow/trunk/language/english/blocks.php XoopsModules/slideshow/trunk/language/english/index.html XoopsModules/slideshow/trunk/language/english/main.php XoopsModules/slideshow/trunk/language/english/modinfo.php XoopsModules/slideshow/trunk/language/index.html XoopsModules/slideshow/trunk/language/persian/ XoopsModules/slideshow/trunk/language/persian/admin.php XoopsModules/slideshow/trunk/language/persian/blocks.php XoopsModules/slideshow/trunk/language/persian/index.html XoopsModules/slideshow/trunk/language/persian/main.php XoopsModules/slideshow/trunk/language/persian/modinfo.php XoopsModules/slideshow/trunk/sql/ XoopsModules/slideshow/trunk/sql/index.html XoopsModules/slideshow/trunk/sql/mysql.sql XoopsModules/slideshow/trunk/templates/ XoopsModules/slideshow/trunk/templates/admin/ XoopsModules/slideshow/trunk/templates/admin/index.html XoopsModules/slideshow/trunk/templates/admin/slideshow_header.html XoopsModules/slideshow/trunk/templates/admin/slideshow_index.html XoopsModules/slideshow/trunk/templates/admin/slideshow_marquee.html XoopsModules/slideshow/trunk/templates/admin/slideshow_slideshow.html XoopsModules/slideshow/trunk/templates/admin/slideshow_topic.html XoopsModules/slideshow/trunk/templates/blocks/ XoopsModules/slideshow/trunk/templates/blocks/index.html XoopsModules/slideshow/trunk/templates/blocks/slideshow_item1.html XoopsModules/slideshow/trunk/templates/blocks/slideshow_item2.html XoopsModules/slideshow/trunk/templates/blocks/slideshow_item3.html XoopsModules/slideshow/trunk/templates/index.html XoopsModules/slideshow/trunk/xoops_version.php Added: XoopsModules/slideshow/trunk/admin/backend.php =================================================================== --- XoopsModules/slideshow/trunk/admin/backend.php (rev 0) +++ XoopsModules/slideshow/trunk/admin/backend.php 2012-08-29 05:11:55 UTC (rev 10126) @@ -0,0 +1,183 @@ +<?php +/** + * XOOPS slideshow module + * + * 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) + * @package module + * @since 2.5.0 + * @author Mohtava Project <http://www.mohtava.com> + * @author Hossein Azizabadi <djv...@gm...> + * @version $Id: $ + */ + +require 'header.php'; + +$op = slideshow_CleanVars ( $_REQUEST, 'op', 'new', 'string' ); +// Admin header +xoops_cp_header (); +// Redirect to content page +if (! isset ( $_REQUEST )) { + + redirect_header("index.php", 3, _AM_SLIDESHOW_MSG_NOTINFO); + // Include footer + xoops_cp_footer (); + exit (); +} + +switch ($op) { + case 'addtopic' : + $obj = $topic_handler->create (); + $obj->setVars ( $_REQUEST ); + $obj->setVar ( 'topic_created', time () ); + + if (! $topic_handler->insert ( $obj )) { + redirect_header ( 'onclick="javascript:history.go(-1);"', 1, _AM_SLIDESHOW_MSG_ERROR ); + xoops_cp_footer (); + exit (); + } + + // Redirect page + redirect_header ( 'topic.php', 1, _AM_SLIDESHOW_MSG_WAIT ); + xoops_cp_footer (); + exit (); + break; + + case 'edittopic' : + $topic_id = slideshow_CleanVars ( $_REQUEST, 'topic_id', 0, 'int' ); + if ($topic_id > 0) { + $obj = $topic_handler->get ( $topic_id ); + $obj->setVars ( $_POST ); + + if (! $topic_handler->insert ( $obj )) { + redirect_header ( 'onclick="javascript:history.go(-1);"', 1, _AM_SLIDESHOW_MSG_ERROR ); + xoops_cp_footer (); + exit (); + } + } + + // Redirect page + redirect_header ( 'topic.php', 1, _AM_SLIDESHOW_MSG_WAIT ); + xoops_cp_footer (); + exit (); + break; + + case 'deletetopic' : + $topic_id = slideshow_CleanVars ( $_REQUEST, 'topic_id', 0, 'int' ); + $obj = $topic_handler->get ( $topic_id ); + if (! $topic_handler->delete ( $obj )) { + echo $obj->getHtmlErrors (); + } + + // Redirect page + redirect_header ( 'topic.php', 1, _AM_SLIDESHOW_MSG_WAIT ); + xoops_cp_footer (); + exit (); + break; + + case 'additem' : + $obj = $item_handler->create (); + $obj->setVars ( $_REQUEST ); + $obj->setVar ( 'item_create', time () ); + $obj->setVar ( 'item_order', $item_handler->setitemorder() ); + $item_handler->uploadimg ( $obj, $_REQUEST ['item_img'] ); + $item_handler->uploadthumb ( $obj, $_REQUEST ['item_thumb'] ); + + if($_REQUEST['item_default'] == 1) { + $item_handler->updateAll ( 'item_default', 0, $obj ); + } + + if (! $item_handler->insert ( $obj )) { + redirect_header ( 'onclick="javascript:history.go(-1);"', 1, _AM_SLIDESHOW_MSG_ERROR ); + xoops_cp_footer (); + exit (); + } + + // Redirect page + redirect_header ( 'index.php', 1, _AM_SLIDESHOW_MSG_WAIT ); + xoops_cp_footer (); + exit (); + break; + + case 'edititem' : + $item_id = slideshow_CleanVars ( $_REQUEST, 'item_id', 0, 'int' ); + if ($item_id > 0) { + $obj = $item_handler->get ($item_id); + $obj->setVars ( $_REQUEST ); + + $obj->setVar ( 'item_order', $item_handler->setitemorder() ); + $item_handler->uploadimg ( $obj, $_REQUEST ['item_img'] ); + + if($_REQUEST['item_default'] == 1) { + $item_handler->updateAll ( 'item_default', 0, $obj ); + } + + if (! $item_handler->insert ( $obj )) { + redirect_header ( 'onclick="javascript:history.go(-1);"', 1, _AM_SLIDESHOW_MSG_ERROR ); + xoops_cp_footer (); + exit (); + } + } + // Redirect page + redirect_header ( 'index.php', 1, _AM_SLIDESHOW_MSG_WAIT ); + xoops_cp_footer (); + exit (); + break; + + case 'deleteitem' : + $item_id = slideshow_CleanVars ( $_REQUEST, 'item_id', 0, 'int' ); + $obj = $item_handler->get ( $item_id ); + unlink(XOOPS_URL . '/uploads/slideshow/image/' .$obj->getVar ( 'item_img')); + unlink(XOOPS_URL . '/uploads/slideshow/thumb/' .$obj->getVar ( 'item_thumb')); + if (! $item_handler->delete ( $obj )) { + echo $obj->getHtmlErrors (); + } + // Redirect page + redirect_header ( 'index.php', 1, _AM_SLIDESHOW_MSG_WAIT ); + xoops_cp_footer (); + exit (); + break; + + case 'item_status' : + $item_id = slideshow_CleanVars ( $_REQUEST, 'item_id', 0, 'int' ); + if ($item_id > 0) { + $obj = & $item_handler->get ( $item_id ); + $old = $obj->getVar ( 'item_status' ); + $obj->setVar ( 'item_status', ! $old ); + if ($item_handler->insert ( $obj )) { + exit (); + } + echo $obj->getHtmlErrors (); + } + break; + + case 'item_default' : + $item_id = slideshow_CleanVars ( $_REQUEST, 'item_id', 0, 'int' ); + $topic_id = slideshow_CleanVars ( $_REQUEST, 'topic_id', 0, 'int' ); + if ($item_id > 0) { + $criteria = new CriteriaCompo (); + $criteria->add ( new Criteria ( 'item_topic', $topic_id ) ); + $item_handler->updateAll ( 'item_default', 0, $criteria ); + $obj = & $item_handler->get ( $item_id ); + $obj->setVar ( 'item_default', 1 ); + if ($item_handler->insert ( $obj )) { + exit (); + } + echo $obj->getHtmlErrors (); + } + break; +} + +// Redirect page +redirect_header("index.php", 3, _AM_SLIDESHOW_MSG_NOTINFO); +// Include footer +xoops_cp_footer (); +exit (); +?> \ No newline at end of file Added: XoopsModules/slideshow/trunk/admin/header.php =================================================================== --- XoopsModules/slideshow/trunk/admin/header.php (rev 0) +++ XoopsModules/slideshow/trunk/admin/header.php 2012-08-29 05:11:55 UTC (rev 10126) @@ -0,0 +1,42 @@ +<?php +/** + * XOOPS slideshow module + * + * 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) + * @package module + * @since 2.5.0 + * @author Mohtava Project <http://www.mohtava.com> + * @author Hossein Azizabadi <djv...@gm...> + * @version $Id: $ + */ + +require '../../../mainfile.php'; +require_once XOOPS_ROOT_PATH . '/include/cp_header.php'; +require_once XOOPS_ROOT_PATH . '/class/tree.php'; +include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + +include XOOPS_ROOT_PATH . '/modules/slideshow/include/functions.php'; + +if ( file_exists($GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'); + //return true; +}else{ + redirect_header("../../../admin.php", 5, _AM_MODULEADMIN_MISSING, false); + //return false; +} + +xoops_load('xoopsformloader'); + + +$item_handler = xoops_getmodulehandler('item', 'slideshow'); +$topic_handler = xoops_getmodulehandler('topic', 'slideshow'); + +?> \ No newline at end of file Added: XoopsModules/slideshow/trunk/admin/index.html =================================================================== --- XoopsModules/slideshow/trunk/admin/index.html (rev 0) +++ XoopsModules/slideshow/trunk/admin/index.html 2012-08-29 05:11:55 UTC (rev 10126) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/slideshow/trunk/admin/index.php =================================================================== --- XoopsModules/slideshow/trunk/admin/index.php (rev 0) +++ XoopsModules/slideshow/trunk/admin/index.php 2012-08-29 05:11:55 UTC (rev 10126) @@ -0,0 +1,43 @@ +<?php +/** + * XOOPS slideshow module + * + * 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) + * @package module + * @since 2.5.0 + * @author Mohtava Project <http://www.mohtava.com> + * @author Hossein Azizabadi <djv...@gm...> + * @version $Id: $ + */ + +require 'header.php'; +xoops_cp_header(); +// Add module stylesheet +$xoTheme->addStylesheet(XOOPS_URL . '/modules/system/css/admin.css'); +// module admin +$index_admin = new ModuleAdmin(); +$folder = array( + XOOPS_ROOT_PATH . '/uploads/slideshow/', +); +$index_admin = new ModuleAdmin(); +$index_admin->addInfoBox(_AM_SLIDESHOW_INDEX_INFO); +$index_admin->addInfoBoxLine(_AM_SLIDESHOW_INDEX_INFO, _AM_SLIDESHOW_INDEX_TOPICS, $topic_handler->topicCount()); +$index_admin->addInfoBoxLine(_AM_SLIDESHOW_INDEX_INFO, _AM_SLIDESHOW_INDEX_ITEMS, $item_handler->itemCount()); +foreach (array_keys( $folder) as $i) { + $index_admin->addConfigBoxLine($folder[$i], 'folder'); + $index_admin->addConfigBoxLine(array($folder[$i], '777'), 'chmod'); +} +$xoopsTpl->assign('renderindex', $index_admin->renderIndex()); +// Call template file +$xoopsTpl->display(XOOPS_ROOT_PATH . '/modules/slideshow/templates/admin/slideshow_index.html'); +// footer +xoops_cp_footer(); +?> \ No newline at end of file Added: XoopsModules/slideshow/trunk/admin/marquee.php =================================================================== --- XoopsModules/slideshow/trunk/admin/marquee.php (rev 0) +++ XoopsModules/slideshow/trunk/admin/marquee.php 2012-08-29 05:11:55 UTC (rev 10126) @@ -0,0 +1,127 @@ +<?php +/** + * XOOPS slideshow module + * + * 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) + * @package module + * @since 2.5.0 + * @author Mohtava Project <http://www.mohtava.com> + * @author Hossein Azizabadi <djv...@gm...> + * @version $Id: $ + */ + +require 'header.php'; +xoops_cp_header(); + +$op = slideshow_CleanVars($_REQUEST, 'op', '', 'string'); + +switch ($op) +{ + case 'new_item': + $obj = $item_handler->create(); + $obj->getMarqueeForm(); + break; + + case 'edit_item': + $item_id = slideshow_CleanVars($_REQUEST, 'item_id', 0, 'int'); + if ($item_id > 0) { + $obj = $item_handler->get($item_id); + $obj->getMarqueeForm(); + } else { + redirect_header('item.php', 1, _AM_SLIDESHOW_MSG_EDIT_ERROR); + } + break; + + case 'delete_item': + $item_id = slideshow_CleanVars($_REQUEST, 'item_id', 0, 'int'); + if ($item_id > 0) { + // Prompt message + xoops_confirm(array("item_id"=>$item_id), 'backend.php?op=deleteitem', _AM_SLIDESHOW_MSG_DELETE); + xoops_cp_footer(); + } + break; + + case 'order': + if (isset($_POST['mod'])) { + $i = 1; + foreach ($_POST['mod'] as $order) { + if ($order > 0) { + $contentorder = $item_handler->get($order); + $contentorder->setVar('item_order', $i); + if (!$item_handler->insert($contentorder)) { + $error = true; + } + $i++; + } + } + } + exit; + break; + + default: + + // Define scripts + $xoTheme->addScript('browse.php?Frameworks/jquery/jquery.js'); + $xoTheme->addScript('browse.php?Frameworks/jquery/plugins/jquery.ui.js'); + $xoTheme->addScript(XOOPS_URL . '/modules/slideshow/js/order.js'); + $xoTheme->addScript(XOOPS_URL . '/modules/slideshow/js/admin.js'); + // Add module stylesheet + $xoTheme->addStylesheet(XOOPS_URL . '/modules/system/css/ui/' . xoops_getModuleOption('jquery_theme', 'system') . '/ui.all.css'); + $xoTheme->addStylesheet(XOOPS_URL . '/modules/system/css/admin.css'); + + $info = array(); + $info['item_sort'] = 'item_order'; + $info['item_order'] = 'DESC'; + + // get item from topic + if (isset($_REQUEST['topic'])) { + $info['topic'] = $_REQUEST['topic']; + } else { + $info['topic'] = null; + } + + // get limited information + if (isset($_REQUEST['limit'])) { + $info['item_limit'] = slideshow_CleanVars($_REQUEST, 'limit', 0, 'int'); + } else { + $info['item_limit'] = 40; + } + + // get start information + if (isset($_REQUEST['start'])) { + $info['item_start'] = slideshow_CleanVars($_REQUEST, 'start', 0, 'int'); + } else { + $info['item_start'] = 0; + } + + $info ['type'] = 'marquee'; + $info['alltopics'] = $topic_handler->getall(); + $items = $item_handler->itemSAdminList($info); + $item_numrows = $item_handler->itemCount($info); + + if ($item_numrows > $info['item_limit']) { + $item_pagenav = new XoopsPageNav($item_numrows, $info['item_limit'], $info['item_start'], 'start', 'limit=' . $info['item_limit']); + $item_pagenav = $item_pagenav->renderNav(4); + } else { + $item_pagenav = ''; + } + + $xoopsTpl->assign('items', $items); + $xoopsTpl->assign('item_pagenav', $item_pagenav); + + // Call template file + $xoopsTpl->display(XOOPS_ROOT_PATH . '/modules/slideshow/templates/admin/slideshow_marquee.html'); + break; +} + +// footer +xoops_cp_footer(); +?> \ No newline at end of file Added: XoopsModules/slideshow/trunk/admin/menu.php =================================================================== --- XoopsModules/slideshow/trunk/admin/menu.php (rev 0) +++ XoopsModules/slideshow/trunk/admin/menu.php 2012-08-29 05:11:55 UTC (rev 10126) @@ -0,0 +1,41 @@ +<?php +/** + * XOOPS slideshow module + * + * 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) + * @package module + * @since 2.5.0 + * @author Mohtava Project <http://www.mohtava.com> + * @author Hossein Azizabadi <djv...@gm...> + * @version $Id: $ + */ + +$i = 1; +$adminmenu[$i] = array( + 'title' => _AM_SLIDESHOW_HOME, + 'link' => 'admin/index.php', + 'icon' => 'images/home.png'); +$i++; +$adminmenu[$i] = array( + 'title' => _AM_SLIDESHOW_TOPIC, + 'link' => 'admin/topic.php', + 'icon' => 'images/topic.png'); +$i++; +$adminmenu[$i] = array( + 'title' => _AM_SLIDESHOW_SLIDESHOW, + 'link' => 'admin/slideshow.php', + 'icon' => 'images/item.png'); +$i++; +$adminmenu[$i] = array( + 'title' => _AM_SLIDESHOW_MARQUEE, + 'link' => 'admin/marquee.php', + 'icon' => 'images/item.png'); +?> \ No newline at end of file Added: XoopsModules/slideshow/trunk/admin/slideshow.php =================================================================== --- XoopsModules/slideshow/trunk/admin/slideshow.php (rev 0) +++ XoopsModules/slideshow/trunk/admin/slideshow.php 2012-08-29 05:11:55 UTC (rev 10126) @@ -0,0 +1,127 @@ +<?php +/** + * XOOPS slideshow module + * + * 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) + * @package module + * @since 2.5.0 + * @author Mohtava Project <http://www.mohtava.com> + * @author Hossein Azizabadi <djv...@gm...> + * @version $Id: $ + */ + +require 'header.php'; +xoops_cp_header(); + +$op = slideshow_CleanVars($_REQUEST, 'op', '', 'string'); + +switch ($op) +{ + case 'new_item': + $obj = $item_handler->create(); + $obj->getSlideshowForm(); + break; + + case 'edit_item': + $item_id = slideshow_CleanVars($_REQUEST, 'item_id', 0, 'int'); + if ($item_id > 0) { + $obj = $item_handler->get($item_id); + $obj->getSlideshowForm(); + } else { + redirect_header('item.php', 1, _AM_SLIDESHOW_MSG_EDIT_ERROR); + } + break; + + case 'delete_item': + $item_id = slideshow_CleanVars($_REQUEST, 'item_id', 0, 'int'); + if ($item_id > 0) { + // Prompt message + xoops_confirm(array("item_id"=>$item_id), 'backend.php?op=deleteitem', _AM_SLIDESHOW_MSG_DELETE); + xoops_cp_footer(); + } + break; + + case 'order': + if (isset($_POST['mod'])) { + $i = 1; + foreach ($_POST['mod'] as $order) { + if ($order > 0) { + $contentorder = $item_handler->get($order); + $contentorder->setVar('item_order', $i); + if (!$item_handler->insert($contentorder)) { + $error = true; + } + $i++; + } + } + } + exit; + break; + + default: + + // Define scripts + $xoTheme->addScript('browse.php?Frameworks/jquery/jquery.js'); + $xoTheme->addScript('browse.php?Frameworks/jquery/plugins/jquery.ui.js'); + $xoTheme->addScript(XOOPS_URL . '/modules/slideshow/js/order.js'); + $xoTheme->addScript(XOOPS_URL . '/modules/slideshow/js/admin.js'); + // Add module stylesheet + $xoTheme->addStylesheet(XOOPS_URL . '/modules/system/css/ui/' . xoops_getModuleOption('jquery_theme', 'system') . '/ui.all.css'); + $xoTheme->addStylesheet(XOOPS_URL . '/modules/system/css/admin.css'); + + $info = array(); + $info['item_sort'] = 'item_order'; + $info['item_order'] = 'DESC'; + + // get item from topic + if (isset($_REQUEST['topic'])) { + $info['topic'] = $_REQUEST['topic']; + } else { + $info['topic'] = null; + } + + // get limited information + if (isset($_REQUEST['limit'])) { + $info['item_limit'] = slideshow_CleanVars($_REQUEST, 'limit', 0, 'int'); + } else { + $info['item_limit'] = 40; + } + + // get start information + if (isset($_REQUEST['start'])) { + $info['item_start'] = slideshow_CleanVars($_REQUEST, 'start', 0, 'int'); + } else { + $info['item_start'] = 0; + } + + $info ['type'] = 'slideshow'; + $info['alltopics'] = $topic_handler->getall(); + $items = $item_handler->itemSAdminList($info); + $item_numrows = $item_handler->itemCount($info); + + if ($item_numrows > $info['item_limit']) { + $item_pagenav = new XoopsPageNav($item_numrows, $info['item_limit'], $info['item_start'], 'start', 'limit=' . $info['item_limit']); + $item_pagenav = $item_pagenav->renderNav(4); + } else { + $item_pagenav = ''; + } + + $xoopsTpl->assign('items', $items); + $xoopsTpl->assign('item_pagenav', $item_pagenav); + + // Call template file + $xoopsTpl->display(XOOPS_ROOT_PATH . '/modules/slideshow/templates/admin/slideshow_slideshow.html'); + break; +} + +// footer +xoops_cp_footer(); +?> \ No newline at end of file Added: XoopsModules/slideshow/trunk/admin/topic.php =================================================================== --- XoopsModules/slideshow/trunk/admin/topic.php (rev 0) +++ XoopsModules/slideshow/trunk/admin/topic.php 2012-08-29 05:11:55 UTC (rev 10126) @@ -0,0 +1,92 @@ +<?php +/** + * XOOPS slideshow module + * + * 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) + * @package module + * @since 2.5.0 + * @author Mohtava Project <http://www.mohtava.com> + * @author Hossein Azizabadi <djv...@gm...> + * @version $Id: $ + */ + +require 'header.php'; +xoops_cp_header(); + +$op = slideshow_CleanVars($_REQUEST, 'op', '', 'string'); + +$xoTheme->addStylesheet(XOOPS_URL . '/modules/system/css/admin.css'); + +switch ($op) +{ + case 'new_topic': + $obj = $topic_handler->create(); + $obj->getTopicForm(); + break; + + case 'edit_topic': + $topic_id = slideshow_CleanVars($_REQUEST, 'topic_id', 0, 'int'); + if ($topic_id > 0) { + $obj = $topic_handler->get($topic_id); + $obj->getTopicForm(); + } else { + redirect_header('topic.php', 1, _AM_SLIDESHOW_MSG_EDIT_ERROR); + } + break; + + case 'delete_topic': + $topic_id = slideshow_CleanVars($_REQUEST, 'topic_id', 0, 'int'); + if ($topic_id > 0) { + // Prompt message + xoops_confirm(array("topic_id"=>$topic_id), 'backend.php?op=deletetopic', _AM_SLIDESHOW_MSG_DELETE); + xoops_cp_footer(); + } + break; + + default: + $info = array(); + $info['topic_sort'] = 'topic_id'; + $info['topic_order'] = 'DESC'; + // get limited information + if (isset($_REQUEST['limit'])) { + $info['topic_limit'] = slideshow_CleanVars($_REQUEST, 'limit', 0, 'int'); + } else { + $info['topic_limit'] = 15; + } + + // get start information + if (isset($_REQUEST['start'])) { + $info['topic_start'] = slideshow_CleanVars($_REQUEST, 'start', 0, 'int'); + } else { + $info['topic_start'] = 0; + } + + $topics = $topic_handler->topicList($info); + $topic_numrows = $topic_handler->topicCount(); + + if ($topic_numrows > $info['topic_limit']) { + $topic_pagenav = new XoopsPageNav($topic_numrows, $info['topic_limit'], $info['topic_start'], 'start', 'limit=' . $info['topic_limit']); + $topic_pagenav = $topic_pagenav->renderNav(4); + } else { + $topic_pagenav = ''; + } + + $xoopsTpl->assign('topics', $topics); + $xoopsTpl->assign('topic_pagenav', $topic_pagenav); + + // Call template file + $xoopsTpl->display(XOOPS_ROOT_PATH . '/modules/slideshow/templates/admin/slideshow_topic.html'); + break; +} + +// footer +xoops_cp_footer(); +?> \ No newline at end of file Added: XoopsModules/slideshow/trunk/blocks/index.html =================================================================== --- XoopsModules/slideshow/trunk/blocks/index.html (rev 0) +++ XoopsModules/slideshow/trunk/blocks/index.html 2012-08-29 05:11:55 UTC (rev 10126) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/slideshow/trunk/blocks/slideshow.php =================================================================== --- XoopsModules/slideshow/trunk/blocks/slideshow.php (rev 0) +++ XoopsModules/slideshow/trunk/blocks/slideshow.php 2012-08-29 05:11:55 UTC (rev 10126) @@ -0,0 +1,167 @@ +<?php +/** + * XOOPS slideshow module + * + * 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) + * @package module + * @since 2.5.0 + * @author Mohtava Project <http://www.mohtava.com> + * @author Hossein Azizabadi <djv...@gm...> + * @version $Id: $ + */ + +function slideshow_list_show($options) { + global $xoTheme; + $block = array(); + $block['slidewidth'] = $options[0]; + $block['slideheight'] = $options[1]; + $block['imagewidth'] = $options[2]; + $block['imageheight'] = $options[3]; + $info['topic'] = $options[4]; + $block['showtype'] = $options[5]; + $info['limit'] = $options[6]; + $block['style'] = $options[7]; + + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + + if($block['style']) { + switch($block['showtype']) { + case 'marquee': + $xoTheme->addScript("browse.php?Frameworks/jquery/jquery.js"); + $xoTheme->addScript(XOOPS_URL . '/modules/slideshow/js/marquee/marquee.js'); + $xoTheme->addScript(XOOPS_URL . '/modules/slideshow/js/marquee/setting.js'); + $xoTheme->addStylesheet(XOOPS_URL . '/modules/slideshow/css/marquee/marquee.css'); + $info ['type'] = 'marquee'; + break; + + case 'slideshow': + $style = ' + .slider { + width: '. $block['slidewidth'] .'px; + height: '. $block['slideheight']*1.06 .'px; + } + .slider .main { + height: '. $block['slideheight']*1.06 .'px; + } + .slider .page { + width: '. $block['slidewidth'] .'px; + height: '. $block['slideheight'] .'px; + } + .slider .scrollable { + width: '. $block['slidewidth'] .'px; + height: '. $block['slideheight'] .'px; + } + .slider .item { + width: '. $block['slidewidth'] .'px; + height: '. $block['slideheight'] .'px; + } + .slider .item .itemleft img { + width: '. $block['slidewidth']/2 .'px; + } + '; + + $xoTheme->addScript("browse.php?Frameworks/jquery/jquery.js"); + $xoTheme->addScript(XOOPS_URL . '/modules/slideshow/js/slideshow/scrollable.js'); + $xoTheme->addScript(XOOPS_URL . '/modules/slideshow/js/slideshow/setting.js'); + $xoTheme->addStylesheet(XOOPS_URL . '/modules/slideshow/css/slideshow/scrollable.css'); + $xoTheme->addStylesheet( null, array ('rel' => 'stylesheet'), $style ); + $info ['type'] = 'slideshow'; + break; + + case 'slideshow1': + $xoTheme->addScript("browse.php?Frameworks/jquery/jquery.js"); + $xoTheme->addScript(XOOPS_URL . '/modules/slideshow/js/slideshow/sliderkit.min.js'); + $xoTheme->addScript(XOOPS_URL . '/modules/slideshow/js/slideshow/sliderkitsetting.js'); + $xoTheme->addStylesheet(XOOPS_URL . '/modules/slideshow/css/slideshow/sliderkit-core.css'); + $xoTheme->addStylesheet(XOOPS_URL . '/modules/slideshow/css/slideshow/sliderkit-demos.css'); + $info ['type'] = 'slideshow'; + break; + } + } else { + switch($block['showtype']) { + case 'marquee': + $info ['type'] = 'marquee'; + break; + + case 'slideshow': + $info ['type'] = 'slideshow'; + break; + + case 'slideshow1': + $info ['type'] = 'slideshow'; + break; + } + } + + $item_handler = xoops_getmodulehandler('item', 'slideshow'); + $block['items'] = $item_handler->itemBlockList($info); + + return $block; +} + +function slideshow_list_edit($options) { + + $topic_handler = xoops_getmodulehandler('topic', 'slideshow'); + + $criteria = new CriteriaCompo(); + $criteria->setSort("topic_id"); + $criteria->setOrder("ASC"); + $topics = $topic_handler->getall($criteria); + + $form = _MB_SLIDESHOW_OP1 . ": <input type=\"text\" name=\"options[0]\" value=\"" . $options[0] . "\" /><br />"; + $form .= _MB_SLIDESHOW_OP2 . ": <input type=\"text\" name=\"options[1]\" value=\"" . $options[1] . "\" /><br />"; + $form .= _MB_SLIDESHOW_OP3 . ": <input type=\"text\" name=\"options[2]\" value=\"" . $options[2] . "\" /><br />"; + $form .= _MB_SLIDESHOW_OP4 . ": <input type=\"text\" name=\"options[3]\" value=\"" . $options[3] . "\" /><br />"; + + $topic = new XoopsFormSelect(_MB_SLIDESHOW_OP5, 'options[4]', $options[4]); + $i = 1; + foreach (array_keys($topics) as $i) { + $topic->addOption($topics[$i]->getVar("topic_id"), $topics[$i]->getVar("topic_title") .' - '. $topics[$i]->getVar("topic_showtype")); + } + $form .= _MB_SLIDESHOW_OP5 . " : " . $topic->render() . '<br />'; + + $type = new XoopsFormSelect(_MB_SLIDESHOW_OP6, 'options[5]', $options[5]); + $type->addOption('slideshow',_MB_SLIDESHOW_SLIDESHOW); + $type->addOption('slideshow1',_MB_SLIDESHOW_SLIDESHOW1); + $type->addOption('marquee',_MB_SLIDESHOW_MARQUEE); + $form .= _MB_SLIDESHOW_OP6 . " : " . $type->render() . '<br />'; + $form .= _MB_SLIDESHOW_OP7 . ": <input type=\"text\" name=\"options[6]\" value=\"" . $options[6] . "\" /><br />"; + + if ($options[7] == false){ + $checked_yes = ''; + $checked_no = 'checked="checked"'; + }else{ + $checked_yes = 'checked="checked"'; + $checked_no = ''; + } + $form .= _MB_SLIDESHOW_STYLE . " : <input name=\"options[7]\" value=\"1\" type=\"radio\" " . $checked_yes . "/>" . _YES . " \n"; + $form .= "<input name=\"options[7]\" value=\"0\" type=\"radio\" " . $checked_no . "/>" . _NO . "<br />\n"; + + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + + return $form; +} + +?> \ No newline at end of file Added: XoopsModules/slideshow/trunk/class/index.html =================================================================== --- XoopsModules/slideshow/trunk/class/index.html (rev 0) +++ XoopsModules/slideshow/trunk/class/index.html 2012-08-29 05:11:55 UTC (rev 10126) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/slideshow/trunk/class/item.php =================================================================== --- XoopsModules/slideshow/trunk/class/item.php (rev 0) +++ XoopsModules/slideshow/trunk/class/item.php 2012-08-29 05:11:55 UTC (rev 10126) @@ -0,0 +1,278 @@ +<?php +/** + * XOOPS slideshow module + * + * 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) + * @package module + * @since 2.5.0 + * @author Mohtava Project <http://www.mohtava.com> + * @author Hossein Azizabadi <djv...@gm...> + * @version $Id: $ + */ + +class slideshow_item extends XoopsObject { + + public function slideshow_item() { + $this->initVar ( 'item_id', XOBJ_DTYPE_INT ); + $this->initVar ( 'item_title', XOBJ_DTYPE_TXTBOX ); + $this->initVar ( 'item_text', XOBJ_DTYPE_TXTAREA, '' ); + $this->initVar ( 'item_topic', XOBJ_DTYPE_INT ); + $this->initVar ( 'item_link', XOBJ_DTYPE_TXTBOX ); + $this->initVar ( 'item_status', XOBJ_DTYPE_INT , '1'); + $this->initVar ( 'item_create', XOBJ_DTYPE_INT ); + $this->initVar ( 'item_uid', XOBJ_DTYPE_INT ); + $this->initVar ( 'item_order', XOBJ_DTYPE_INT ); + $this->initVar ( 'item_img', XOBJ_DTYPE_TXTBOX ); + $this->initVar ( 'item_thumb', XOBJ_DTYPE_TXTBOX ); + $this->initVar ( 'item_default', XOBJ_DTYPE_INT , '0'); + $this->initVar ( 'item_type', XOBJ_DTYPE_TXTBOX ); + $this->initVar ( 'dohtml', XOBJ_DTYPE_INT, 1 ); + $this->initVar ( 'dobr', XOBJ_DTYPE_INT, 1 ); + + $this->db = $GLOBALS ['xoopsDB']; + $this->table = $this->db->prefix ( 'slideshow_item' ); + } + + public function getMarqueeForm() { + $form = new XoopsThemeForm ( _AM_SLIDESHOW_ITEM_FORM, 'item', 'backend.php', 'post' ); + $form->setExtra ( 'enctype="multipart/form-data"' ); + if ($this->isNew ()) { + $form->addElement ( new XoopsFormHidden ( 'op', 'additem' ) ); + $form->addElement ( new XoopsFormHidden ( 'item_uid', $GLOBALS ['xoopsUser']->getVar ( 'uid' ) ) ); + } else { + $form->addElement ( new XoopsFormHidden ( 'op', 'edititem' ) ); + } + $form->addElement ( new XoopsFormHidden ( 'item_id', $this->getVar ( 'item_id', 'e' ) ) ); + $form->addElement ( new XoopsFormHidden ( 'item_type', 'marquee' ) ); + // Topic + $topic_handler = xoops_getmodulehandler('topic', 'slideshow'); + $criteria = new CriteriaCompo (); + $criteria->add ( new Criteria ( 'topic_showtype', 'marquee' ) ); + $topics = $topic_handler->getObjects ( $criteria ); + $topic_sel = new XoopsFormSelect(_AM_SLIDESHOW_ITEM_TOPIC, 'item_topic', $this->getVar ( 'item_topic' )); + $i = 1; + foreach (array_keys($topics) as $i) { + $topic_sel->addOption($topics[$i]->getVar("topic_id"), $topics[$i]->getVar("topic_title") . ' - ' . $topics[$i]->getVar("topic_showtype")); + } + $form->addElement($topic_sel); + $form->addElement ( new XoopsFormText ( _AM_SLIDESHOW_ITEM_TITLE, 'item_title', 50, 255, $this->getVar ( 'item_title', 'e' ) ), true ); + $form->addElement ( new XoopsFormText ( _AM_SLIDESHOW_ITEM_LINK, 'item_link', 50, 255, $this->getVar ( 'item_link', 'e' ) ), true ); + $form->addElement ( new XoopsFormRadioYN ( _AM_SLIDESHOW_ITEM_STATUS, 'item_status', $this->getVar ( 'item_status', 'e' ) ) ); + $form->addElement ( new XoopsFormRadioYN ( _AM_SLIDESHOW_ITEM_DEFAULT, 'item_default', $this->getVar ( 'item_default', 'e' ) ) ); + // Button + $button_tray = new XoopsFormElementTray ( '', '' ); + $submit_btn = new XoopsFormButton ( '', 'post', _SUBMIT, 'submit' ); + $button_tray->addElement ( $submit_btn ); + $cancel_btn = new XoopsFormButton ( '', 'cancel', _CANCEL, 'cancel' ); + $cancel_btn->setExtra ( 'onclick="javascript:history.go(-1);"' ); + $button_tray->addElement ( $cancel_btn ); + $form->addElement ( $button_tray ); + $form->display (); + } + + public function getSlideshowForm() { + $form = new XoopsThemeForm ( _AM_SLIDESHOW_ITEM_FORM, 'item', 'backend.php', 'post' ); + $form->setExtra ( 'enctype="multipart/form-data"' ); + if ($this->isNew ()) { + $form->addElement ( new XoopsFormHidden ( 'op', 'additem' ) ); + $form->addElement ( new XoopsFormHidden ( 'item_uid', $GLOBALS ['xoopsUser']->getVar ( 'uid' ) ) ); + } else { + $form->addElement ( new XoopsFormHidden ( 'op', 'edititem' ) ); + } + $form->addElement ( new XoopsFormHidden ( 'item_id', $this->getVar ( 'item_id', 'e' ) ) ); + $form->addElement ( new XoopsFormHidden ( 'item_type', 'slideshow' ) ); + // Topic + $topic_handler = xoops_getmodulehandler('topic', 'slideshow'); + $criteria = new CriteriaCompo (); + $criteria->add ( new Criteria ( 'topic_showtype', 'slideshow' ) ); + $topics = $topic_handler->getObjects ( $criteria ); + $topic_sel = new XoopsFormSelect(_AM_SLIDESHOW_ITEM_TOPIC, 'item_topic', $this->getVar ( 'item_topic' )); + $i = 1; + foreach (array_keys($topics) as $i) { + $topic_sel->addOption($topics[$i]->getVar("topic_id"), $topics[$i]->getVar("topic_title") . ' - ' . $topics[$i]->getVar("topic_showtype")); + } + $form->addElement($topic_sel); + $form->addElement ( new XoopsFormText ( _AM_SLIDESHOW_ITEM_TITLE, 'item_title', 50, 255, $this->getVar ( 'item_title', 'e' ) ), true ); + $form->addElement ( new XoopsFormTextArea ( _AM_SLIDESHOW_ITEM_TEXT, 'item_text', $this->getVar ( 'item_text', 'e' ), 5, 80 ) ); + $form->addElement ( new XoopsFormText ( _AM_SLIDESHOW_ITEM_LINK, 'item_link', 50, 255, $this->getVar ( 'item_link', 'e' ) ), true ); + $form->addElement ( new XoopsFormRadioYN ( _AM_SLIDESHOW_ITEM_STATUS, 'item_status', $this->getVar ( 'item_status', 'e' ) ) ); + $form->addElement ( new XoopsFormRadioYN ( _AM_SLIDESHOW_ITEM_DEFAULT, 'item_default', $this->getVar ( 'item_default', 'e' ) ) ); + // Image + $item_img = $this->getVar ( 'item_img' ) ? $this->getVar ( 'item_img' ) : 'blank.gif'; + $imgdir = '/uploads/slideshow/image/'; + $fileseltray_item_img = new XoopsFormElementTray ( _AM_SLIDESHOW_ITEM_IMG, '<br />' ); + $fileseltray_item_img->addElement ( new XoopsFormLabel ( '', "<img style='max-width: 500px; max-height: 500px;' src='" . XOOPS_URL . $imgdir . $item_img . "' name='image_item' id='image_item' alt='' />" ) ); + $fileseltray_item_img->addElement ( new XoopsFormFile ( _AM_SLIDESHOW_ITEM_FORMUPLOAD, 'item_img', xoops_getModuleOption ( 'img_size', 'slideshow' ) ), false ); + $form->addElement ( $fileseltray_item_img ); + // thumb + $item_thumb = $this->getVar ( 'item_thumb' ) ? $this->getVar ( 'item_thumb' ) : 'blank.gif'; + $thumbdir = '/uploads/slideshow/thumb/'; + $fileseltray_item_thumb = new XoopsFormElementTray ( _AM_SLIDESHOW_ITEM_THUMB, '<br />' ); + $fileseltray_item_thumb->addElement ( new XoopsFormLabel ( '', "<img style='max-width: 200px; max-height: 200px;' src='" . XOOPS_URL . $thumbdir . $thumb_img . "' name='image_item' id='image_item' alt='' />" ) ); + $fileseltray_item_thumb->addElement ( new XoopsFormFile ( _AM_SLIDESHOW_ITEM_FORMUPLOAD, 'item_thumb', xoops_getModuleOption ( 'img_size', 'slideshow' ) ), false ); + $form->addElement ( $fileseltray_item_thumb ); + // Button + $button_tray = new XoopsFormElementTray ( '', '' ); + $submit_btn = new XoopsFormButton ( '', 'post', _SUBMIT, 'submit' ); + $button_tray->addElement ( $submit_btn ); + $cancel_btn = new XoopsFormButton ( '', 'cancel', _CANCEL, 'cancel' ); + $cancel_btn->setExtra ( 'onclick="javascript:history.go(-1);"' ); + $button_tray->addElement ( $cancel_btn ); + $form->addElement ( $button_tray ); + $form->display (); + } + + public function toArray() { + $ret = array (); + $vars = $this->getVars (); + foreach ( array_keys ( $vars ) as $i ) { + $ret [$i] = $this->getVar ( $i ); + } + return $ret; + } +} + +class slideshowItemHandler extends XoopsPersistableObjectHandler { + + public function slideshowItemHandler($db) { + parent::XoopsPersistableObjectHandler ( $db, 'slideshow_item', 'slideshow_item', 'item_id', 'item_title' ); + } + + public function setitemorder() { + $criteria = new CriteriaCompo (); + $criteria->setSort ( 'item_order' ); + $criteria->setOrder ( 'DESC' ); + $criteria->setLimit ( 1 ); + $last = $this->getObjects ( $criteria ); + $order = 1; + foreach ( $last as $item ) { + $order = $item->getVar ( 'item_order' ) + 1; + } + return $order; + } + + public function uploadimg($obj, $image) { + include_once XOOPS_ROOT_PATH . "/class/uploader.php"; + $uploader_img = new XoopsMediaUploader ( + XOOPS_ROOT_PATH . '/uploads/slideshow/image/', + xoops_getModuleOption ( 'img_mime', 'slideshow' ), + xoops_getModuleOption ( 'img_size', 'slideshow' ), + xoops_getModuleOption ( 'img_maxwidth', 'slideshow' ), + xoops_getModuleOption ( 'img_maxheight', 'slideshow' ) + ); + if ($uploader_img->fetchMedia ( 'item_img' )) { + $uploader_img->setPrefix ( 'slideshow_' ); + $uploader_img->fetchMedia ( 'item_img' ); + if (! $uploader_img->upload ()) { + $errors = $uploader_img->getErrors (); + fmcontent_Redirect ( "javascript:history.go(-1)", 3, $errors ); + xoops_cp_footer (); + exit (); + } else { + $obj->setVar ( 'item_img', $uploader_img->getSavedFileName () ); + } + } else { + if (isset ( $image )) { + $obj->setVar ( 'item_img', $image ); + } + } + } + + public function uploadthumb($obj, $thumb) { + include_once XOOPS_ROOT_PATH . "/class/uploader.php"; + $uploader_thumb = new XoopsMediaUploader ( + XOOPS_ROOT_PATH . '/uploads/slideshow/thumb/', + xoops_getModuleOption ( 'img_mime', 'slideshow' ), + xoops_getModuleOption ( 'img_size', 'slideshow' ), + xoops_getModuleOption ( 'img_maxwidth', 'slideshow' ), + xoops_getModuleOption ( 'img_maxheight', 'slideshow' ) + ); + if ($uploader_thumb->fetchMedia ( 'item_thumb' )) { + $uploader_thumb->setPrefix ( 'slideshow_' ); + $uploader_thumb->fetchMedia ( 'item_thumb' ); + if (! $uploader_thumb->upload ()) { + $errors = $uploader_thumb->getErrors (); + fmcontent_Redirect ( "javascript:history.go(-1)", 3, $errors ); + xoops_cp_footer (); + exit (); + } else { + $obj->setVar ( 'item_thumb', $uploader_thumb->getSavedFileName () ); + } + } else { + if (isset ( $thumb )) { + $obj->setVar ( 'item_thumb', $thumb ); + } + } + } + + public function itemSAdminList($info) { + $ret = array (); + $criteria = new CriteriaCompo (); + if($info ['topic']) { + $criteria->add ( new Criteria ( 'item_topic', $info ['topic'] ) ); + } + $criteria->add ( new Criteria ( 'item_type', $info ['type'] ) ); + $criteria->setSort ( $info ['item_sort'] ); + $criteria->setOrder ( $info ['item_order'] ); + $criteria->setLimit ( $info ['item_limit'] ); + $criteria->setStart ( $info ['item_start'] ); + + $obj = $this->getObjects ( $criteria, false ); + if ($obj) { + foreach ( $obj as $root ) { + $tab = array (); + $tab = $root->toArray (); + + if(is_array($info['alltopics'])) { + foreach ( array_keys ( $info['alltopics'] ) as $i ) { + $list [$i] ['topic_title'] = $info['alltopics'] [$i]->getVar ( "topic_title" ); + $list [$i] ['topic_id'] = $info['alltopics'] [$i]->getVar ( "topic_id" ); + } + } + $tab ['imgurl'] = XOOPS_URL . '/uploads/slideshow/image/' . $root->getVar ( 'item_img' ); + $tab ['topictitle'] = $list [$root->getVar ( 'item_topic' )] ['topic_title']; + $ret [] = $tab; + } + } + + return $ret; + } + + public function itemCount($info = null) { + $criteria = new CriteriaCompo (); + $criteria->add ( new Criteria ( 'item_type', $info ['type'] ) ); + return $this->getCount ( $criteria ); + } + + public function itemBlockList($info) { + $ret = array (); + $criteria = new CriteriaCompo (); + $criteria->add ( new Criteria ( 'item_topic', $info ['topic'] ) ); + $criteria->add ( new Criteria ( 'item_type', $info ['type'] ) ); + $criteria->add ( new Criteria ( 'item_status', '1' ) ); + $criteria->setSort ( 'item_order' ); + $criteria->setOrder ( 'DESC' ); + $obj = $this->getObjects ( $criteria, false ); + if ($obj) { + foreach ( $obj as $root ) { + $tab = array (); + $tab = $root->toArray (); + $tab ['imgurl'] = XOOPS_URL . '/uploads/slideshow/image/' . $root->getVar ( 'item_img' ); + $tab ['thumburl'] = XOOPS_URL . '/uploads/slideshow/thumb/' . $root->getVar ( 'item_thumb' ); + $ret [] = $tab; + } + } + return $ret; + } + +} + +?> \ No newline at end of file Added: XoopsModules/slideshow/trunk/class/topic.php =================================================================== --- XoopsModules/slideshow/trunk/class/topic.php (rev 0) +++ XoopsModules/slideshow/trunk/class/topic.php 2012-08-29 05:11:55 UTC (rev 10126) @@ -0,0 +1,104 @@ +<?php +/** + * XOOPS slideshow module + * + * 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) + * @package module + * @since 2.5.0 + * @author Mohtava Project <http://www.mohtava.com> + * @author Hossein Azizabadi <djv...@gm...> + * @version $Id: $ + */ + +class slideshow_topic extends XoopsObject { + + public function slideshow_topic() { + $this->initVar ( 'topic_id', XOBJ_DTYPE_INT ); + $this->initVar ( 'topic_title', XOBJ_DTYPE_TXTBOX ); + $this->initVar ( 'topic_showtype', XOBJ_DTYPE_TXTBOX ); + $this->initVar ( 'topic_created', XOBJ_DTYPE_INT ); + + $this->db = $GLOBALS ['xoopsDB']; + $this->table = $this->db->prefix ( 'slideshow_topic' ); + } + + public function getTopicForm() { + $form = new XoopsThemeForm ( _AM_SLIDESHOW_TOPIC_FORM, 'topic', 'backend.php', 'post' ); + $form->setExtra ( 'enctype="multipart/form-data"' ); + if ($this->isNew ()) { + $form->addElement ( new XoopsFormHidden ( 'op', 'addtopic' ) ); + } else { + $form->addElement ( new XoopsFormHidden ( 'op', 'edittopic' ) ); + } + $form->addElement ( new XoopsFormHidden ( 'topic_id', $this->getVar ( 'topic_id', 'e' ) ) ); + $form->addElement ( new XoopsFormText ( _AM_SLIDESHOW_TOPIC_TITLE, 'topic_title', 50, 255, $this->getVar ( 'topic_title', 'e' ) ), true ); + + if ($this->isNew ()) { + $select = new XoopsFormSelect(_AM_SLIDESHOW_TOPIC_SHOWTYPE, 'topic_showtype',$this->getVar ( 'topic_showtype', 'e' )); + $select->addOption("slideshow", _AM_SLIDESHOW_TOPIC_SLIDESHOW); + $select->addOption("marquee", _AM_SLIDESHOW_TOPIC_MARQUEE); + $form->addElement($select); + } + // Submit buttons + $button_tray = new XoopsFormElementTray ( '', '' ); + $submit_btn = new XoopsFormButton ( '', 'post', _SUBMIT, 'submit' ); + $button_tray->addElement ( $submit_btn ); + $cancel_btn = new XoopsFormButton ( '', 'cancel', _CANCEL, 'cancel' ); + $cancel_btn->setExtra ( 'onclick="javascript:history.go(-1);"' ); + $button_tray->addElement ( $cancel_btn ); + $form->addElement ( $button_tray ); + $form->display (); + } + + public function toArray() { + $ret = array (); + $vars = $this->getVars (); + foreach ( array_keys ( $vars ) as $i ) { + $ret [$i] = $this->getVar ( $i ); + } + return $ret; + } +} + +class slideshowTopicHandler extends XoopsPersistableObjectHandler { + + public function slideshowTopicHandler($db) { + parent::XoopsPersistableObjectHandler ( $db, 'slideshow_topic', 'slideshow_topic', 'topic_id', 'topic_title' ); + } + + public function topicList($info) { + $ret = array (); + $criteria = new CriteriaCompo (); + $criteria->setSort ( $info ['topic_sort'] ); + $criteria->setOrder ( $info ['topic_order'] ); + $criteria->setLimit ( $info ['topic_limit'] ); + $criteria->setStart ( $info ['topic_start'] ); + + $obj = $this->getObjects ( $criteria, false ); + if ($obj) { + foreach ( $obj as $root ) { + $tab = array (); + $tab = $root->toArray (); + $ret [] = $tab; + } + } + + return $ret; + } + + public function topicCount() { + $criteria = new CriteriaCompo (); + return $this->getCount ( $criteria ); + } + +} + +?> \ No newline at end of file Added: XoopsModules/slideshow/trunk/css/index.html =================================================================== --- XoopsModules/slideshow/trunk/css/index.html (rev 0) +++ XoopsModules/slideshow/trunk/css/index.html 2012-08-29 05:11:55 UTC (rev 10126) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/slideshow/trunk/css/marquee/index.html =================================================================== --- XoopsModules/slideshow/trunk/css/marquee/index.html (rev 0) +++ XoopsModules/slideshow/trunk/css/marquee/index.html 2012-08-29 05:11:55 UTC (rev 10126) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/slideshow/trunk/css/marquee/marquee.css =================================================================== --- XoopsModules/slideshow/trunk/css/marquee/marquee.css (rev 0) +++ XoopsModules/slideshow/trunk/css/marquee/marquee.css 2012-08-29 05:11:55 UTC (rev 10126) @@ -0,0 +1,34 @@ +#marquee { + height: 40px; + font-size: 1.1em; + font-weight: bold; + text-align: center; +} + + +ul.marquee { + display: block; + padding: 0; + margin: 0; + list-style: none; + line-height: 1; + position: relative; + overflow: hidden; + height: 25px; +} + +ul.marquee li { + position: absolute; + top: -999em; + display: block; + padding-top: 5px; + white-space: nowrap; + text-align: center !important; +} + +ul.marquee li a { + text-align: center !important; +} + +ul.marquee li a:hover { +} \ No newline at end of file Added: XoopsModules/slideshow/trunk/css/slideshow/index.html =================================================================== --- XoopsModules/slideshow/trunk/css/slideshow/index.html (rev 0) +++ XoopsModules/slideshow/trunk/css/slideshow/index.html 2012-08-29 05:11:55 UTC (rev 10126) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/slideshow/trunk/css/slideshow/scrollable.css =================================================================== Added: XoopsModules/slideshow/trunk/css/slideshow/sliderkit-core.css =================================================================== --- XoopsModules/slideshow/trunk/css/slideshow/sliderkit-core.css (rev 0) +++ XoopsModules/slideshow/trunk/css/slideshow/sliderkit-core.css 2012-08-29 05:11:55 UTC (rev 10126) @@ -0,0 +1,60 @@ +/* + * sliderkit-core.css + * > Core CSS styles + * + * This file is part of Slider Kit jQuery plugin. + * http://www.kyrielles.net/sliderkit/ + * + * Copyright (c) 2010-2011 Alan Frog + * Licensed under the GNU General Public License + * See <license.txt> or <http://www.gnu.org/licenses/> + * + */ + +/* + * PLUGIN BASICS + * ------------------------------------------------ + */ +.sliderkit{display:none;position:relative;overflow:hidden;text-align:left;} +.sliderkit a, +.sliderkit a:hover{text-decoration:none;} +.sliderkit a:focus{outline:1px dotted #000;/*optional*/} +.sliderkit img{border:0;} + +/*--------------------------------- + * Navigation + *---------------------------------*/ +.sliderkit .sliderkit-nav{z-index:10;position:absolute;text-align:center;} + +/* Nav > Clip */ +.sliderkit .sliderkit-nav-clip{position:relative;overflow:hidden;margin:0 auto;} +.sliderkit .sliderkit-nav-clip ul{position:relative;left:0;top:0;list-style:none;margin:0;padding:0;} +.sliderkit .sliderkit-nav-clip ul li{float:left;} +.sliderkit .sliderkit-nav-clip ul li a{display:block;overflow:hidden;} + +/*--------------------------------- + * Buttons + *---------------------------------*/ +.sliderkit .sliderkit-btn{z-index:10;} + +/*--------------------------------- + * Panels + *---------------------------------*/ +.sliderkit .sliderkit-panel{z-index:1;position:absolute;overflow:hidden;} +.sliderkit .sliderkit-panel-active{z-index:5;} +.sliderkit .sliderkit-panel-old{z-index:4;} + +/* Panels > Overlay */ +.sliderkit .sliderkit-panel .sliderkit-panel-textbox{position:absolute;z-index:1;} +.sliderkit .sliderkit-panel .sliderkit-panel-text{position:absolute;z-index:3;top:0;left:0;} +.sliderkit .sliderkit-panel .sliderkit-panel-overlay{position:absolute;z-index:2;top:0;left:0;} + +/*--------------------------------- + * Counter + *---------------------------------*/ +.sliderkit .sliderkit-count{position:absolute;top:5px;right:5px;z-index:10;padding:5px;color:#fff;background:#000;} + +/*--------------------------------- + * Loader + *---------------------------------*/ +.sliderkit .sliderkit-timer{position:absolute;top:0;left:0;z-index:10;height:3px;background:#ccc;} Added: XoopsModules/slideshow/trunk/css/slideshow/sliderkit-demos.css =================================================================== --- XoopsModules/slideshow/trunk/css/slideshow/sliderkit-demos.css (rev 0) +++ XoopsModules/slideshow/trunk/css/slideshow/sliderkit-demos.css 2012-08-29 05:11:55 UTC (rev 10126) @@ -0,0 +1,38 @@ +/*--------------------------------- + * Photos slider > 1 click + *---------------------------------*/ +.photoslider-1click{width:280px;height:220px;} + +/* Nav */ +.photoslider-1click .sliderkit-nav{position:absolute;bottom:10px;right:10px;} +.photoslider-1click .sliderkit-nav-clip ul li{float:left;margin:0 1px 0 0;} +.photoslider-1click .sliderkit-nav-clip ul li a{display:block;padding:2px 6px;color:#fff;background:#000} +.photoslider-1click .sliderkit-nav-clip ul li.sliderkit-selected a{color:#000;background:#fff;} +.photoslider-1click .sliderkit-nav-clip ul a:hover{color:#fff;background:#00668d;} + + +/*--------------------------------- + * News slider > Vertical + *---------------------------------*/ +.newslide... [truncated message content] |
From: <vo...@us...> - 2012-08-29 05:07:31
|
Revision: 10125 http://xoops.svn.sourceforge.net/xoops/?rev=10125&view=rev Author: voltan1 Date: 2012-08-29 05:07:25 +0000 (Wed, 29 Aug 2012) Log Message: ----------- Add slideshow module Added Paths: ----------- XoopsModules/slideshow/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ir...@us...> - 2012-08-28 07:36:42
|
Revision: 10124 http://xoops.svn.sourceforge.net/xoops/?rev=10124&view=rev Author: irmtfan Date: 2012-08-28 07:36:30 +0000 (Tue, 28 Aug 2012) Log Message: ----------- improve text links - add display.php to the package Modified Paths: -------------- XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt XoopsModules/newbb/branches/irmtfan/newbb/class/icon.php XoopsModules/newbb/branches/irmtfan/newbb/include/functions.render.php XoopsModules/newbb/branches/irmtfan/newbb/include/plugin.php Added Paths: ----------- XoopsModules/newbb/branches/irmtfan/newbb/include/display.php Modified: XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt 2012-08-27 11:18:20 UTC (rev 10123) +++ XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt 2012-08-28 07:36:30 UTC (rev 10124) @@ -1,3 +1,11 @@ +date 2012-08-28 +================================================ +1- improve text link instead of buttons feature. Ability to set the display setting for each link in newbb/include/display.php +newbb/include/plugin.php, newbb/include/display.php, newbb/include/functions.render.php + +2- add id={$image} for <img> html tag +newbb/class/icon.php + date: 2012-08-27 - 2 ================================================ 1- improve text link instead of buttons to only show text buttons when: a) alt key is set b)display is not set to true c)only buttons like reply, edit Modified: XoopsModules/newbb/branches/irmtfan/newbb/class/icon.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/class/icon.php 2012-08-27 11:18:20 UTC (rev 10123) +++ XoopsModules/newbb/branches/irmtfan/newbb/class/icon.php 2012-08-28 07:36:30 UTC (rev 10124) @@ -129,7 +129,8 @@ { if (!isset($this->images[$image])) { $image_src = $this->getImageSource($image); - $this->images[$image] = "<img src=\"{$image_src}\" alt=\"{$alt}\" title=\"{$alt}\" align=\"middle\" {$extra} />"; + // irmtfan add id={$image} + $this->images[$image] = "<img src=\"{$image_src}\" alt=\"{$alt}\" title=\"{$alt}\" align=\"middle\" {$extra} id={$image} />"; } } Added: XoopsModules/newbb/branches/irmtfan/newbb/include/display.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/include/display.php (rev 0) +++ XoopsModules/newbb/branches/irmtfan/newbb/include/display.php 2012-08-28 07:36:30 UTC (rev 10124) @@ -0,0 +1,237 @@ +<?php +/** + * CBB 4.0, or newbb, the forum module for XOOPS project + * + * @copyright The XOOPS Project http://xoops.sf.net + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @author Taiwen Jiang (phppp or D.J.) <ph...@us...>, irmtfan <ir...@us...> + * @since 4.3 + * @version $Id $ + * @package module::newbb + */ + +/* + 1- Dispaly Text links instead of images and vice versa => text links=true/images=false + The overall value is defined in include/plugin.php $customConfig["display_text_links"]. + It means if you set $customConfig["display_text_links"] to true it will show all images in text links (and vice versa) + You can overwrite that overall value here for each link one by one. + If you change any setting in this file: + - the image will be shown in text (if set to true) OR, + - the text link will be shown as image (if set to false) + regardless of setting of $customConfig["display_text_links"] + =============================================================== + Find images in newbb/templates/images + =============================================================== + * Priority for image path OR style.css path: + * NEWBB_ROOT - IF EXISTS XOOPS_THEME/modules/newbb/images/, TAKE IT; + * ELSEIF EXISTS XOOPS_THEME_DEFAULT/modules/newbb/images/, TAKE IT; + * ELSE TAKE XOOPS_ROOT/modules/newbb/templates/images/. + =============================================================== + 2- If you choose to show text links (set to true): + 2-1- customize the text show in style.css with the help of class="forum_icon" id=$image_name + eg: + For buttons: + all buttons: + button.forum_icon + button.forum_icon:hover + button.forum_icon:active + + each button (p_edit): + button.forum_icon#p_edit + button.forum_icon#p_edit:hover + button.forum_icon#p_edit:active + + For other images: + all images: + span.forum_icon + span.forum_icon:hover + span.forum_icon:active + each image (pdf): + span.forum_icon#pdf + span.forum_icon#pdf:hover + span.forum_icon#pdf:active + + 2-2- no style means plain text links + + 3- If you choose to show images (set to false): + 3-1- customize the image show in style.css with the help of class="forum_icon" id=$image_name + all images: + img.forum_icon + img.forum_icon:hover + img.forum_icon:active + + each image (p_edit): + img.forum_icon#p_edit + img.forum_icon#p_edit:hover + img.forum_icon#p_edit:active + 3-2- no style means just image +*/ + +// uncomment to show text link instead of images (set to true) +$displayText[''] = +//$displayText['blank'] = + +//$displayText['attachment'] = +//$displayText['whosonline'] = +//$displayText['statistik'] = +//$displayText['lastposticon'] = + +//$displayText['plus'] = +//$displayText['minus'] = + +//$displayText['forum'] = +//$displayText['forum_new'] = + +//$displayText['topic'] = +//$displayText['topic_hot'] = +//$displayText['topic_sticky'] = +//$displayText['topic_digest'] = +//$displayText['topic_locked'] = +//$displayText['topic_new'] = +//$displayText['topic_hot_new'] = +//$displayText['topic_my'] = + +//$displayText['post'] = + +//$displayText['poll'] = +//$displayText['rss'] = +//$displayText['pdf'] = +//$displayText['subforum'] = + +//$displayText['admin_move'] = +//$displayText['admin_merge'] = +//$displayText['admin_edit'] = +//$displayText['admin_delete'] = + +//$displayText['document'] = + +//$displayText['previous'] = +//$displayText['next'] = +//$displayText['right'] = +//$displayText['down'] = +//$displayText['up'] = +//$displayText['printer'] = +//$displayText['new_forum'] = + +//$displayText['facebook'] = +//$displayText['twitter'] = +//$displayText['linkedin'] = +//$displayText['googleplus'] = +//$displayText['stumbleupon'] = +//$displayText['friendfeed'] = +//$displayText['digg'] = +//$displayText['reddit'] = +//$displayText['delicious'] = +//$displayText['technorati'] = +//$displayText['wong'] = +//$displayText['anonym'] = + +$displayText['p_delete'] = +$displayText['p_reply'] = +$displayText['p_quote'] = +$displayText['p_edit'] = +$displayText['p_report'] = + +$displayText['t_new'] = +$displayText['t_poll'] = +$displayText['t_qr'] = +$displayText['t_reply'] = + +//$displayText['online'] = +//$displayText['offline'] = + +//$displayText['new_subforum'] = + +$displayText['p_bann'] = + +true; + +for($i = 1; $i <= 5; $i++ ) { + //$displayText['rate'.$i] = true; +} + +// uncomment to show images instead of text links (set to false) +$displayText[''] = +//$displayText['blank'] = + +//$displayText['attachment'] = +//$displayText['whosonline'] = +//$displayText['statistik'] = +//$displayText['lastposticon'] = + +//$displayText['plus'] = +//$displayText['minus'] = + +//$displayText['forum'] = +//$displayText['forum_new'] = + +//$displayText['topic'] = +//$displayText['topic_hot'] = +//$displayText['topic_sticky'] = +//$displayText['topic_digest'] = +//$displayText['topic_locked'] = +//$displayText['topic_new'] = +//$displayText['topic_hot_new'] = +//$displayText['topic_my'] = + +//$displayText['post'] = + +//$displayText['poll'] = +//$displayText['rss'] = +//$displayText['pdf'] = +//$displayText['subforum'] = + +//$displayText['admin_move'] = +//$displayText['admin_merge'] = +//$displayText['admin_edit'] = +//$displayText['admin_delete'] = + +//$displayText['document'] = + +//$displayText['previous'] = +//$displayText['next'] = +//$displayText['right'] = +//$displayText['down'] = +//$displayText['up'] = +//$displayText['printer'] = +//$displayText['new_forum'] = + +//$displayText['facebook'] = +//$displayText['twitter'] = +//$displayText['linkedin'] = +//$displayText['googleplus'] = +//$displayText['stumbleupon'] = +//$displayText['friendfeed'] = +//$displayText['digg'] = +//$displayText['reddit'] = +//$displayText['delicious'] = +//$displayText['technorati'] = +//$displayText['wong'] = +//$displayText['anonym'] = + +//$displayText['p_delete'] = +//$displayText['p_reply'] = +//$displayText['p_quote'] = +//$displayText['p_edit'] = +//$displayText['p_report'] = + +//$displayText['t_new'] = +//$displayText['t_poll'] = +//$displayText['t_qr'] = +//$displayText['t_reply'] = + +//$displayText['online'] = +//$displayText['offline'] = + +//$displayText['new_subforum'] = + +//$displayText['p_bann'] = + +false; + +for($i = 1; $i <= 5; $i++ ) { + //$displayText['rate'.$i] = false; +} + +return $displayText; +?> \ No newline at end of file Modified: XoopsModules/newbb/branches/irmtfan/newbb/include/functions.render.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/include/functions.render.php 2012-08-27 11:18:20 UTC (rev 10123) +++ XoopsModules/newbb/branches/irmtfan/newbb/include/functions.render.php 2012-08-28 07:36:30 UTC (rev 10124) @@ -99,8 +99,15 @@ // START hacked by irmtfan // to show text links instead of buttons - func_num_args()==2 => only when $image, $alt is set and optional $display not set global $xoopsModuleConfig; - if (!empty($xoopsModuleConfig['display_text_links']) && func_num_args()== 2){ - $display=false; + if (func_num_args()== 2){ + // overall setting + if( !empty($xoopsModuleConfig['display_text_links']) ){ + $display=false; + } + // if set for each link => overwrite $display + if (isset($xoopsModuleConfig['display_text_each_link'][$image])){ + $display = empty($xoopsModuleConfig['display_text_each_link'][$image]); + } } // END hacked by irmtfan if (empty($display)) { Modified: XoopsModules/newbb/branches/irmtfan/newbb/include/plugin.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/include/plugin.php 2012-08-27 11:18:20 UTC (rev 10123) +++ XoopsModules/newbb/branches/irmtfan/newbb/include/plugin.php 2012-08-28 07:36:30 UTC (rev 10124) @@ -85,8 +85,16 @@ $customConfig["do_latestedit"] = 1; // START hacked by irmtfan -// Display text links instead of image buttons for edit, reply, .... set true or false +// Dispaly Text links instead of images and vice versa => text links=true/images=false +// This is overall value. +// It means if you set $customConfig["display_text_links"] to true it will show all images in text links (and vice versa) $customConfig["display_text_links"] = false; +// Dispaly Text links instead of images and vice versa => text links=true/images=false +// This is for each link. +// It means you can overwrite the above $customConfig["display_text_links"] overall value for each link one by one. +// go to /modules/newbb/include/display.php to set for each link +$customConfig["display_text_each_link"] = include XOOPS_ROOT_PATH."/modules/newbb/include/display.php"; // END hacked by irmtfan + return $customConfig; ?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ir...@us...> - 2012-08-27 11:18:26
|
Revision: 10123 http://xoops.svn.sourceforge.net/xoops/?rev=10123&view=rev Author: irmtfan Date: 2012-08-27 11:18:20 +0000 (Mon, 27 Aug 2012) Log Message: ----------- improve text link instead of buttons, correct some extra spaces Modified Paths: -------------- XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt XoopsModules/newbb/branches/irmtfan/newbb/class/icon.php XoopsModules/newbb/branches/irmtfan/newbb/include/functions.render.php XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewtopic.html XoopsModules/newbb/branches/irmtfan/newbb/viewtopic.php Modified: XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt 2012-08-27 08:04:06 UTC (rev 10122) +++ XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt 2012-08-27 11:18:20 UTC (rev 10123) @@ -1,3 +1,11 @@ +date: 2012-08-27 - 2 +================================================ +1- improve text link instead of buttons to only show text buttons when: a) alt key is set b)display is not set to true c)only buttons like reply, edit +newbb/include/functions.render.php, newbb/class/icon.php + +2- add alt key for quickreply button and remove one extra space ( ) and sort reply - addpoll - newtopic +newbb/viewtopic.php, newbb/templates/newbb_viewtopic.html + date: 2012-08-27 ================================================ 1- remove icon_path and use newbb_displayImage Modified: XoopsModules/newbb/branches/irmtfan/newbb/class/icon.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/class/icon.php 2012-08-27 08:04:06 UTC (rev 10122) +++ XoopsModules/newbb/branches/irmtfan/newbb/class/icon.php 2012-08-27 11:18:20 UTC (rev 10123) @@ -150,12 +150,13 @@ function assignImage($image, $alt = "", $extra = "") { $this->setImage($image, $alt, $extra); - // START hacked by iemrfan - improve to CSS3 buttons - if ($alt !='') { - return "<button {$extra} id={$image}>$alt</button>"; + // START hacked by irmtfan - improve function to CSS3 buttons + $tag="span"; + if (in_array( substr($image,0,2),array('t_','p_','up') )) { + $tag="button"; } - return true; - // END hacked by iemrfan - improve to CSS3 buttons + return "<{$tag} align=\"middle\" {$extra} id={$image}>$alt</{$tag}>"; + // END hacked by irmtfan - improve function to CSS3 buttons } function assignImages($images) Modified: XoopsModules/newbb/branches/irmtfan/newbb/include/functions.render.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/include/functions.render.php 2012-08-27 08:04:06 UTC (rev 10122) +++ XoopsModules/newbb/branches/irmtfan/newbb/include/functions.render.php 2012-08-27 11:18:20 UTC (rev 10123) @@ -97,12 +97,12 @@ { $icon_handler = newbb_getIconHandler(); // START hacked by irmtfan - // to show text links instead of buttons + // to show text links instead of buttons - func_num_args()==2 => only when $image, $alt is set and optional $display not set global $xoopsModuleConfig; - if (!empty($xoopsModuleConfig['display_text_links'])){ + if (!empty($xoopsModuleConfig['display_text_links']) && func_num_args()== 2){ $display=false; } - // END hacked by irmtfan + // END hacked by irmtfan if (empty($display)) { return $icon_handler->assignImage($image, $alt, $extra); } else { Modified: XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewtopic.html =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewtopic.html 2012-08-27 08:04:06 UTC (rev 10122) +++ XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewtopic.html 2012-08-27 11:18:20 UTC (rev 10123) @@ -204,7 +204,7 @@ <br /> <div class="left" style="padding: 5px;"> - <{$forum_addpoll}> <{$forum_reply}> <{$forum_post_or_register}> + <{$forum_reply}> <{$forum_addpoll}> <{$forum_post_or_register}> </div> <div class="clear"></div> <br /> Modified: XoopsModules/newbb/branches/irmtfan/newbb/viewtopic.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/viewtopic.php 2012-08-27 08:04:06 UTC (rev 10122) +++ XoopsModules/newbb/branches/irmtfan/newbb/viewtopic.php 2012-08-27 11:18:20 UTC (rev 10123) @@ -463,7 +463,7 @@ if (!$topic_obj->getVar('topic_haspoll')) { if ( is_object($xoopsUser) && $xoopsUser->getVar("uid")==$topic_obj->getVar("topic_poster") ) { $t_poll = newbb_displayImage('t_poll',_MD_ADDPOLL); - $xoopsTpl->assign('forum_addpoll', "<a href=\"".XOOPS_URL."/modules/".$xoopsModule->getVar("dirname", "n")."/polls.php?op=add&topic_id=".$topic_id."\">".$t_poll."</a> "); + $xoopsTpl->assign('forum_addpoll', "<a href=\"".XOOPS_URL."/modules/".$xoopsModule->getVar("dirname", "n")."/polls.php?op=add&topic_id=".$topic_id."\">".$t_poll."</a>"); } } elseif ($isadmin || (is_object($poll) && is_object($xoopsUser) && $xoopsUser->getVar("uid")==$poll->getVar("user_id") ) @@ -623,7 +623,7 @@ $toggles = newbb_getcookie('G', true); $display = (in_array('qr', $toggles)) ? 'none;' : 'block;'; - $xoopsTpl->assign('quickreply', array( 'show' => 1, 'display' => $display, 'icon' => newbb_displayImage('t_qr'), 'form' => $forum_form->render())); + $xoopsTpl->assign('quickreply', array( 'show' => 1, 'display' => $display, 'icon' => newbb_displayImage('t_qr',_MD_QUICKREPLY), 'form' => $forum_form->render())); unset($forum_form); } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ir...@us...> - 2012-08-27 08:04:14
|
Revision: 10122 http://xoops.svn.sourceforge.net/xoops/?rev=10122&view=rev Author: irmtfan Date: 2012-08-27 08:04:06 +0000 (Mon, 27 Aug 2012) Log Message: ----------- remove icon_path, simplyify infobox, css3 text buttons introduced Modified Paths: -------------- XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt XoopsModules/newbb/branches/irmtfan/newbb/class/forum.php XoopsModules/newbb/branches/irmtfan/newbb/class/icon.php XoopsModules/newbb/branches/irmtfan/newbb/class/user.php XoopsModules/newbb/branches/irmtfan/newbb/docs/lang_diff.txt XoopsModules/newbb/branches/irmtfan/newbb/include/images.php XoopsModules/newbb/branches/irmtfan/newbb/include/js/newbb_toggle.js XoopsModules/newbb/branches/irmtfan/newbb/language/english/main.php XoopsModules/newbb/branches/irmtfan/newbb/language/persian/main.php XoopsModules/newbb/branches/irmtfan/newbb/templates/images/language/english/style.css XoopsModules/newbb/branches/irmtfan/newbb/templates/images/language/persian/style.css XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_index.html XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_thread.html XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewforum_subforum.html XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewtopic.html XoopsModules/newbb/branches/irmtfan/newbb/viewpost.php XoopsModules/newbb/branches/irmtfan/newbb/viewtopic.php Added Paths: ----------- XoopsModules/newbb/branches/irmtfan/newbb/templates/images/icon/less.png Modified: XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt 2012-08-26 19:06:53 UTC (rev 10121) +++ XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt 2012-08-27 08:04:06 UTC (rev 10122) @@ -1,3 +1,22 @@ +date: 2012-08-27 +================================================ +1- remove icon_path and use newbb_displayImage +newbb/class/forum.php, newbb/templates/newbb_index.html, newbb/templates/newbb_viewforum_subforum.html + +2- remove icon_path and define anonym icon and use newbb_displayImage +newbb/viewpost.php, newbb/viewtopic.php, newbb/include/images.php, newbb/templates/newbb_thread.html + +3- simplyify infobox and add alt and title show/hide definitions and alt key +newbb/viewtopic.php, newbb/templates/newbb_thread.html, newbb/include/js/newbb_toggle.js, newbb/language/english/main.php newbb/docs/lang_diff.txt +newbb/templates/images/language/english/style.css +newbb/templates/images/icon/less.png + +4- a little correctness. dot removed +newbb/class/user.php + +5- feature improve: css3 text buttons introduced and used (DCrussader/irmtfan) +newbb/class/icon.php, newbb/templates/images/language/english/style.css class="forum_icon" id=$image_name + date: 2012-08-26 ================================================ 1- merge with alfred. Modified: XoopsModules/newbb/branches/irmtfan/newbb/class/forum.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/class/forum.php 2012-08-26 19:06:53 UTC (rev 10121) +++ XoopsModules/newbb/branches/irmtfan/newbb/class/forum.php 2012-08-27 08:04:06 UTC (rev 10122) @@ -804,9 +804,8 @@ } $_forum_data['forum_lastpost_subject'] = $subject; } - $icon_handler = newbb_getIconHandler(); - $_forum_data['forum_icon_path']= $icon_handler->getPath("icon"); - $_forum_data['forum_lastpost_icon'] = 'lastposticon.png'; + // irmtfan - remove icon_path and use newbb_displayImage + $_forum_data['forum_lastpost_icon'] = newbb_displayImage('lastposticon',_MD_NEWBB_GOTOLASTPOST); endif; Modified: XoopsModules/newbb/branches/irmtfan/newbb/class/icon.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/class/icon.php 2012-08-26 19:06:53 UTC (rev 10121) +++ XoopsModules/newbb/branches/irmtfan/newbb/class/icon.php 2012-08-27 08:04:06 UTC (rev 10122) @@ -150,9 +150,12 @@ function assignImage($image, $alt = "", $extra = "") { $this->setImage($image, $alt, $extra); - // START hacked by iemrfan - return $alt; - // END hacked by iemrfan + // START hacked by iemrfan - improve to CSS3 buttons + if ($alt !='') { + return "<button {$extra} id={$image}>$alt</button>"; + } + return true; + // END hacked by iemrfan - improve to CSS3 buttons } function assignImages($images) Modified: XoopsModules/newbb/branches/irmtfan/newbb/class/user.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/class/user.php 2012-08-26 19:06:53 UTC (rev 10121) +++ XoopsModules/newbb/branches/irmtfan/newbb/class/user.php 2012-08-27 08:04:06 UTC (rev 10122) @@ -180,14 +180,14 @@ $userinfo["rank_image"] = $userrank['image']; $userinfo["rank_title"] = $userrank['title']; } - // END hacked by irmtfan - easier rank getting + // END hacked by irmtfan - easier rank getting - a little correctness dot removed // START hacked by irmtfan - easier groups getting - can we use $_SESSION['xoopsUserGroups']??? //checks for user's groups $userinfo["groups"] = array(); $member_handler =& xoops_gethandler('member'); $usergroups =& $member_handler->getGroupsByUser($userinfo["uid"], true); foreach ($usergroups as $group) { - $userinfo["groups"][] .= $group->getVar('name'); + $userinfo["groups"][] = $group->getVar('name'); } // END hacked by irmtfan - easier groups getting - can we use $_SESSION['xoopsUserGroups']??? $userinfo["from"] = $user->getVar('user_from'); Modified: XoopsModules/newbb/branches/irmtfan/newbb/docs/lang_diff.txt =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/docs/lang_diff.txt 2012-08-26 19:06:53 UTC (rev 10121) +++ XoopsModules/newbb/branches/irmtfan/newbb/docs/lang_diff.txt 2012-08-27 08:04:06 UTC (rev 10122) @@ -35,3 +35,12 @@ added: define('_MD_NEWBB_MAXPIC','Images at the max. Size %s X %s pixels.'); define('_MD_NEWBB_SEARCHDISABLED','The search is disabled and can not be used.'); + +Version 4.3 rev.10109 +---------------- +main.php +--------- +revise: +define('_MD_NEWBB_SEEUSERDATA','See User information'); +added: +define('_MD_NEWBB_HIDEUSERDATA','Hide User information'); Modified: XoopsModules/newbb/branches/irmtfan/newbb/include/images.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/include/images.php 2012-08-26 19:06:53 UTC (rev 10121) +++ XoopsModules/newbb/branches/irmtfan/newbb/include/images.php 2012-08-27 08:04:06 UTC (rev 10122) @@ -25,6 +25,7 @@ */ // Forum image type +// irmtfan add anonym.png icon $forumImage[''] = $forumImage['blank'] = $forumImage['attachment'] = @@ -80,7 +81,7 @@ $forumImage['delicious'] = $forumImage['technorati'] = $forumImage['wong'] = - +$forumImage['anonym'] = "icon"; for($i = 1; $i <= 5; $i++ ) { Modified: XoopsModules/newbb/branches/irmtfan/newbb/include/js/newbb_toggle.js =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/include/js/newbb_toggle.js 2012-08-26 19:06:53 UTC (rev 10121) +++ XoopsModules/newbb/branches/irmtfan/newbb/include/js/newbb_toggle.js 2012-08-27 08:04:06 UTC (rev 10122) @@ -62,7 +62,7 @@ } } -function ToggleBlockCategory(block, icon, src_expand, src_collapse) +function ToggleBlockCategory(block, icon, src_expand, src_collapse, alt_expand, alt_collapse) { if (document.getElementById) { @@ -70,12 +70,18 @@ { document.getElementById(block).style.display = 'none'; icon.src = src_collapse; + icon.alt= alt_collapse; + icon.title= alt_collapse; + SaveCollapsed(block, true); } else { document.getElementById(block).style.display = 'block'; icon.src = src_expand; + icon.alt= alt_expand; + icon.title= alt_expand; + SaveCollapsed(block, false); } } @@ -85,12 +91,18 @@ { document.all[block].style.display = 'none'; icon.src = src_collapse; + icon.alt= alt_collapse; + icon.title= alt_collapse; + SaveCollapsed(block, true); } else { document.all[block].style.display = 'block'; icon.src = src_expand; + icon.alt= alt_expand; + icon.title= alt_expand; + SaveCollapsed(block, false); } } @@ -160,4 +172,3 @@ } return null; } - Modified: XoopsModules/newbb/branches/irmtfan/newbb/language/english/main.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/language/english/main.php 2012-08-26 19:06:53 UTC (rev 10121) +++ XoopsModules/newbb/branches/irmtfan/newbb/language/english/main.php 2012-08-27 08:04:06 UTC (rev 10122) @@ -479,10 +479,11 @@ //4.3 define("_MD_GO","Go"); -define('_MD_NEWBB_SEEUSERDATA','User information'); +define('_MD_NEWBB_SEEUSERDATA','See User information'); define('_MD_NEWBB_MAXKB','File is too big (max %s Kb possible).'); define('_MD_NEWBB_UPLOAD_ERRNODEF','undefined Error'); define('_MD_NEWBB_MAXUPLOADFILEINI','The uploaded file exceeds the upload_max_filesize directive in php.ini.'); define('_MD_NEWBB_MAXPIC','Images at the max. Size %s X %s pixels.'); define('_MD_NEWBB_SEARCHDISABLED','The search is disabled and can not be used.'); +define('_MD_NEWBB_HIDEUSERDATA','Hide User information'); ?> \ No newline at end of file Modified: XoopsModules/newbb/branches/irmtfan/newbb/language/persian/main.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/language/persian/main.php 2012-08-26 19:06:53 UTC (rev 10121) +++ XoopsModules/newbb/branches/irmtfan/newbb/language/persian/main.php 2012-08-27 08:04:06 UTC (rev 10122) @@ -479,10 +479,11 @@ //4.3 define("_MD_GO","Go"); -define('_MD_NEWBB_SEEUSERDATA','نمایش/مخفی کردن اطلاعات کاربر'); +define('_MD_NEWBB_SEEUSERDATA','نمایش اطلاعات کاربر'); define('_MD_NEWBB_MAXKB','فایل خیلی بزرگ است (حداکثر %s Kb ممکن است).'); define('_MD_NEWBB_UPLOAD_ERRNODEF','یک ارور در بارگذاری اتفاق افتاد.'); define('_MD_NEWBB_MAXUPLOADFILEINI','فایل بارگذاری شده بیشتر از مقدار مجاز در متغیر upload_max_filesize تعریف شده در php.ini است.'); define('_MD_NEWBB_MAXPIC','تصاویر در حداکثر اندازه خود میتوانند %s X %s پیکسل داشته باشند.'); define('_MD_NEWBB_SEARCHDISABLED','امکان جستجو در سایت غیر فعال شده است. برای فعال کردن آن به مدیریت سیستم مراجعه کنید.'); +define('_MD_NEWBB_HIDEUSERDATA','مخفی کردن اطلاعات کاربر'); ?> \ No newline at end of file Added: XoopsModules/newbb/branches/irmtfan/newbb/templates/images/icon/less.png =================================================================== (Binary files differ) Property changes on: XoopsModules/newbb/branches/irmtfan/newbb/templates/images/icon/less.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: XoopsModules/newbb/branches/irmtfan/newbb/templates/images/language/english/style.css =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/templates/images/language/english/style.css 2012-08-26 19:06:53 UTC (rev 10121) +++ XoopsModules/newbb/branches/irmtfan/newbb/templates/images/language/english/style.css 2012-08-27 08:04:06 UTC (rev 10122) @@ -316,4 +316,42 @@ text-align: center; margin: 3px; } +.pointer { + cursor:pointer; + padding:2px; +} +/* irmtfan source: http://jsfiddle.net/VTLmj/ +you can customize each button like this: +button.forum_icon#p_edit +button.forum_icon#p_edit:hover +button.forum_icon#p_edit:active +find all image names in newbb/include/images.php +*/ +button.forum_icon { +background: #407DC7; +background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#407DC7), to(#4279B8)); +background-image: -webkit-linear-gradient(top, #407DC7, #4279B8); +background-image: -moz-linear-gradient(top, #407DC7, #4279B8); +background-image: -ms-linear-gradient(top, #407DC7, #4279B8); +background-image: -o-linear-gradient(top, #407DC7, #4279B8); +border-width: 1px; +color: white; +padding: 4px 4px; +text-shadow: 0 1px 0 gray; +border-color: white #A1C1E6 #2B4763 #A1C1E6; +border-style: solid; +border-radius: 5px; +box-shadow: 0 1px 7px #080808; +font-family: Tahoma; +} +button.forum_icon:hover { +box-shadow: 0 1px 5px #222; +} + +button.forum_icon:active { +box-shadow: inset 0 1px 7px #565656; +border-width: 1px; +border-color: white #a1c1e6 black #a1c1e6; +border-style: solid; +} /* color - end */ \ No newline at end of file Modified: XoopsModules/newbb/branches/irmtfan/newbb/templates/images/language/persian/style.css =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/templates/images/language/persian/style.css 2012-08-26 19:06:53 UTC (rev 10121) +++ XoopsModules/newbb/branches/irmtfan/newbb/templates/images/language/persian/style.css 2012-08-27 08:04:06 UTC (rev 10122) @@ -319,4 +319,42 @@ text-align: center; margin: 3px; } +.pointer { + cursor:pointer; + padding:2px; +} +/* irmtfan source: http://jsfiddle.net/VTLmj/ +you can customize each button like this: +button.forum_icon#p_edit +button.forum_icon#p_edit:hover +button.forum_icon#p_edit:active +find all image names in newbb/include/images.php +*/ +button.forum_icon { +background: #407DC7; +background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#407DC7), to(#4279B8)); +background-image: -webkit-linear-gradient(top, #407DC7, #4279B8); +background-image: -moz-linear-gradient(top, #407DC7, #4279B8); +background-image: -ms-linear-gradient(top, #407DC7, #4279B8); +background-image: -o-linear-gradient(top, #407DC7, #4279B8); +border-width: 1px; +color: white; +padding: 4px 4px; +text-shadow: 0 1px 0 gray; +border-color: white #A1C1E6 #2B4763 #A1C1E6; +border-style: solid; +border-radius: 5px; +box-shadow: 0 1px 7px #080808; +font-family: Tahoma; +} +button.forum_icon:hover { +box-shadow: 0 1px 5px #222; +} + +button.forum_icon:active { +box-shadow: inset 0 1px 7px #565656; +border-width: 1px; +border-color: white #a1c1e6 black #a1c1e6; +border-style: solid; +} /* color - end */ \ No newline at end of file Modified: XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_index.html =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_index.html 2012-08-26 19:06:53 UTC (rev 10121) +++ XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_index.html 2012-08-27 08:04:06 UTC (rev 10122) @@ -1,360 +1,360 @@ -<div class="forum_header"> -<!-- irmtfan hardcode remove style="float: left;" --> - <div class="forum_title"> - <h2><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php"><{$index_title}></a></h2> -<!-- irmtfan hardcode remove align="left" --> - <hr class="align_left" width="50%" size="1" /> - <{$index_desc}> - </div> -</div> -<div style="clear:both;"></div> - -<{if $viewer_level gt 1}> - <br /> - <div class="forum_stats"> - <div class="forum_stats_left"> - <{$smarty.const._MD_TOPIC}>: - <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/list.topic.php?status=active#admin" target="_self" title="<{$smarty.const._MD_TYPE_ADMIN}>"><{$smarty.const._MD_TYPE_ADMIN}></a> | - <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/list.topic.php?status=pending#admin" target="_self" title="<{$smarty.const._MD_TYPE_PENDING}>"><{if $wait_new_topic}>(<font color="red"><b><{$wait_new_topic}></b></font>) <{/if}><{$smarty.const._MD_TYPE_PENDING}></a> | - <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/list.topic.php?status=deleted#admin" target="_self" title="<{$smarty.const._MD_TYPE_DELETED}>"><{if $delete_topic}>(<font color="red"><b><{$delete_topic}></b></font>) <{/if}><{$smarty.const._MD_TYPE_DELETED}></a><br /> - <{$smarty.const._MD_POST2}>: - <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewpost.php?status=active#admin" target="_self" title="<{$smarty.const._MD_TYPE_ADMIN}>"><{$smarty.const._MD_TYPE_ADMIN}></a> | - <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewpost.php?status=pending#admin" target="_self" title="<{$smarty.const._MD_TYPE_PENDING}>"><{if $wait_new_post}>(<font color="red"><b><{$wait_new_post}></b></font>) <{/if}><{$smarty.const._MD_TYPE_PENDING}></a> | - <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewpost.php?status=deleted#admin" target="_self" title="<{$smarty.const._MD_TYPE_DELETED}>"><{if $delete_post}>(<font color="red"><b><{$delete_post}></b></font>) <{/if}><{$smarty.const._MD_TYPE_DELETED}></a> - </div> - <div class="forum_stats_right"> - <{if $report_post}><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/admin/admin_report.php"><{$report_post}></a><{/if}> - <br /><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/moderate.php" target="_self" title="<{$smarty.const._MD_TYPE_SUSPEND}>"><{$smarty.const._MD_TYPE_SUSPEND}></a> | - <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/admin/index.php" target="_self" title="<{$smarty.const._MD_ADMINCP}>"><{$smarty.const._MD_ADMINCP}></a> - </div> - <div style="clear:both;"></div> - </div> -<{/if}> -<br style="clear: both;" /> -<div class="dropdown"> - <{includeq file="db:newbb_index_menu.html"}> -</div> -<br style="clear: both;" /> -<br /> - -<!-- start forum categories --> -<div class="index_category"> - <!-- start forum categories --> - <{foreachq item=category from=$categories}> - <table class="index_category" cellspacing="0" width="100%"> - <tr class="head"> - <td width="3%" valign="middle" align="center"> - <img onclick="ToggleBlockCategory('<{$category.cat_element_id}>', this, '<{$category_icon.expand}>', '<{$category_icon.collapse}>')" src="<{$category.cat_icon_display}>" alt="" /> - </td> - <{if $category.cat_image}> - <td width="8%"><img src="<{$category.cat_image}>" alt="<{$category.cat_title}>" /></td> - <{/if}> -<!-- irmtfan hardcode removed align="left" --> - <td class="align_left"> - <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php?cat=<{$category.cat_id}>"><{$category.cat_title}></a> - <{if $category.cat_description}><p class="desc"><{$category.cat_description}></p><{/if}> - </td> - <{if $category.cat_sponsor}> -<!-- irmtfan hardcode removed align="right" --> - <td width="15%" nowrap="nowrap" class="align_right"> - <p class="desc"><a href="<{$category.cat_sponsor.link}>" title="<{$category.cat_sponsor.title}>" target="_blank"><{$category.cat_sponsor.title}></a></p> - </td> - <{/if}> - </tr> - </table> - - <div id="<{$category.cat_element_id}>" style="display: <{$category.cat_display}>"> - <table border="0" cellspacing="2" cellpadding="0" width="100%"> - <{if $category.forums}> - <tr class="head" align="center"> - <td width="5%"> </td> - <{if $subforum_display == "expand"}> -<!-- irmtfan hardcode removed align="left" --> - <td colspan="2" width="37%" nowrap="nowrap" class="align_left"><{$smarty.const._MD_FORUM}></td> - <{else}> -<!-- irmtfan hardcode removed align="left" --> - <td width="37%" nowrap="nowrap" class="align_left"><{$smarty.const._MD_FORUM}></td> - <{/if}> - <td width="9%" nowrap="nowrap"><{$smarty.const._MD_TOPICS}></td> - <td width="9%" nowrap="nowrap"><{$smarty.const._MD_POSTS}></td> - <td width="40%" nowrap="nowrap"><{$smarty.const._MD_LASTPOST}></td> - </tr> - <{/if}> - - <!-- start forums --> - <{if $subforum_display == "expand"}> - <{foreachq item=forum from=$category.forums}> - <tr> - <td width="5%" class="even" align="center" valign="middle"><{$forum.forum_folder}></td> - <td colspan="2" class="odd"> - <div id="index_forum"> - <span class="item"><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewforum.php?forum=<{$forum.forum_id}>"><{$forum.forum_name}></a> - <{if $rss_enable}> - (<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/rss.php?f=<{$forum.forum_id}>" target="_blank" title="RSS feed">RSS</a>) - <{/if}> - <br /><{$forum.forum_desc}> - </span> - <{if $forum.forum_moderators}> - <span class="extra"> - <{$smarty.const._MD_MODERATOR}>: <{$forum.forum_moderators}> - </span> - <{/if}> - </div> - </td> - <td class="even" align="center" valign="middle"> - <{if $stats[$forum.forum_id].topic.day}><strong><{$stats[$forum.forum_id].topic.day}></strong>/<{/if}> - <{$forum.forum_topics}> - </td> - <td class="odd" align="center" valign="middle"> - <{if $stats[$forum.forum_id].post.day}><strong><{$stats[$forum.forum_id].post.day}></strong>/<{/if}> - <{$forum.forum_posts}> - </td> -<!-- irmtfan hardcode removed align="right" --> - <td class="even" class="align_right" valign="middle"> - <{if $forum.forum_lastpost_subject}> - <{$forum.forum_lastpost_time}> <{$smarty.const._MD_BY}> <{$forum.forum_lastpost_user}><br /> - <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?post_id=<{$forum.forum_lastpost_id}>"> - <{$forum.forum_lastpost_subject}> -<!-- irmtfan hardcode removed icon_path --> -<img src="<{$xoops_url}><{$forum.forum_icon_path}>/<{$forum.forum_lastpost_icon}>" alt="<{$smarty.const._MD_NEWBB_GOTOLASTPOST}>" title="<{$smarty.const._MD_NEWBB_GOTOLASTPOST}>" /> - </a> - <{else}> - <{$smarty.const._AM_NEWBB_NOTOPIC}> - <{/if}> - </td> - </tr> - - <{if $forum.subforum}> - <tr class="head" > - <td width="5%"> </td> - <td width="5%" align="center"><{$img_subforum}> </td> - <td width="32%" align="center"><{$smarty.const._MD_SUBFORUMS}> </td> - <td width="9%" nowrap="nowrap"> </td> - <td width="9%" nowrap="nowrap"> </td> - <td width="40%" nowrap="nowrap"> </td> - </tr> - <{foreachq item=subforum from=$forum.subforum}> - <tr> - <td class="odd" width="5%"> </td> - <td class="even" align="center" valign="middle" width="5%"><{$subforum.forum_folder}></td> - <td width="32%" class="odd"> - <div id="index_forum"> - <span class="item"><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewforum.php?forum=<{$subforum.forum_id}>"><strong><{$subforum.forum_name}></strong></a> - <{if $rss_enable}> - (<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/rss.php?f=<{$subforum.forum_id}>" target="_blank" title="RSS feed">RSS</a>) - <{/if}> - <br /><{$subforum.forum_desc}> - </span> - <{if $subforum.forum_moderators}> - <span class="extra"> - <{$smarty.const._MD_MODERATOR}>: <{$subforum.forum_moderators}> - </span> - <{/if}> - </div> - </td> - <td class="even" width="9%" align="center" valign="middle"> - <{if $stats[$subforum.forum_id].topic.day}><strong><{$stats[$subforum.forum_id].topic.day}></strong>/<{/if}> - <{$subforum.forum_topics}> - </td> - <td class="odd" width="9%" align="center" valign="middle"> - <{if $stats[$subforum.forum_id].post.day}><strong><{$stats[$subforum.forum_id].post.day}></strong>/<{/if}> - <{$subforum.forum_posts}> - </td> -<!-- irmtfan hardcode removed align="right" --> - - <td class="even" width="40%" class="align_right" valign="middle"> - <{if $subforum.forum_lastpost_subject}> - <{$subforum.forum_lastpost_time}> <{$smarty.const._MD_BY}> <{$subforum.forum_lastpost_user}><br /> - <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?post_id=<{$subforum.forum_lastpost_id}>"> - <{$subforum.forum_lastpost_subject}> -<!-- irmtfan hardcode removed icon_path --> -<img src="<{$xoops_url}><{$subforum.forum_icon_path}>/<{$subforum.forum_lastpost_icon}>" alt="<{$smarty.const._MD_NEWBB_GOTOLASTPOST}>" title="<{$smarty.const._MD_NEWBB_GOTOLASTPOST}>" /> - </a> - <{else}> - <{$smarty.const._AM_NEWBB_NOTOPIC}> - <{/if}> - </td> - </tr> - <{/foreach}> - <{/if}> - <{/foreach}> - - <{elseif $subforum_display == "collapse"}> - - <{foreachq item=forum from=$category.forums}> - <tr> - <{if $forum.subforum}> - <td class="even" rowspan="2" align="center" valign="middle"><{$forum.forum_folder}></td> - <{else}> - <td class="even" align="center" valign="middle"><{$forum.forum_folder}></td> - <{/if}> - <td class="odd"> - <div id="index_forum"> - <span class="item"><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewforum.php?forum=<{$forum.forum_id}>"><{$forum.forum_name}></a> - <{if $rss_enable}> - (<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/rss.php?f=<{$forum.forum_id}>" target="_blank" title="RSS feed">RSS</a>) - <{/if}> - <br /><{$forum.forum_desc}> - </span> - <{if $forum.forum_moderators}> - <span class="extra"> - <{$smarty.const._MD_MODERATOR}>: <{$forum.forum_moderators}> - </span> - <{/if}> - </div> - </td> - <td class="even" align="center" valign="middle"> - <{if $stats[$forum.forum_id].topic.day}><strong><{$stats[$forum.forum_id].topic.day}></strong>/<{/if}> - <{$forum.forum_topics}> - </td> - <td class="odd" align="center" valign="middle"> - <{if $stats[$forum.forum_id].post.day}><strong><{$stats[$forum.forum_id].post.day}></strong>/<{/if}> - <{$forum.forum_posts}> - </td> -<!-- irmtfan hardcode removed align="right" --> - <td class="even" class="align_right" valign="middle"> - <{if $forum.forum_lastpost_subject}> - <{$forum.forum_lastpost_time}> <{$smarty.const._MD_BY}> <{$forum.forum_lastpost_user}><br /> - <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?post_id=<{$forum.forum_lastpost_id}>"> - <{$forum.forum_lastpost_subject}> -<!-- irmtfan hardcode removed icon_path --> -<img src="<{$xoops_url}><{$forum.forum_icon_path}>/<{$forum.forum_lastpost_icon}>" alt="<{$smarty.const._MD_NEWBB_GOTOLASTPOST}>" title="<{$smarty.const._MD_NEWBB_GOTOLASTPOST}>" /> - </a> - <{else}> - <{$smarty.const._AM_NEWBB_NOTOPIC}> - <{/if}> - </td> - </tr> - - <{if $forum.subforum}> - <tr> -<!-- irmtfan hardcode removed align="left" --> - - <td class="odd" colspan="4" class="align_left"><{$smarty.const._MD_SUBFORUMS}> <{$img_subforum}> - <{foreachq item=subforum from=$forum.subforum}> - [<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewforum.php?forum=<{$subforum.forum_id}>"><{$subforum.forum_name}></a>] - <{/foreach}> - </td> - </tr> - <{/if}> - <{/foreach}> - - <{else}> - - <{foreachq item=forum from=$category.forums}> - <tr> - <td class="even" align="center" valign="middle"><{$forum.forum_folder}></td> - <td class="odd"> - <div id="index_forum"> - <span class="item"><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewforum.php?forum=<{$forum.forum_id}>"><{$forum.forum_name}></a> - <{if $rss_enable}> - (<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/rss.php?f=<{$forum.forum_id}>" target="_blank" title="RSS feed">RSS</a>) - <{/if}> - <br /><{$forum.forum_desc}> - </span> - <{if $forum.forum_moderators}> - <span class="extra"> - <{$smarty.const._MD_MODERATOR}>: <{$forum.forum_moderators}> - </span> - <{/if}> - </div> - </td> - <td class="even" align="center" valign="middle"> - <{if $stats[$forum.forum_id].topic.day}><strong><{$stats[$forum.forum_id].topic.day}></strong>/<{/if}> - <{$forum.forum_topics}> - </td> - <td class="odd" align="center" valign="middle"> - <{if $stats[$forum.forum_id].post.day}><strong><{$stats[$forum.forum_id].post.day}></strong>/<{/if}> - <{$forum.forum_posts}> - </td> -<!-- irmtfan hardcode removed align="right" --> - <td class="even" class="align_right" valign="middle"> - <{if $forum.forum_lastpost_subject}> - <{$forum.forum_lastpost_time}> <{$smarty.const._MD_BY}> <{$forum.forum_lastpost_user}><br /> - <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?post_id=<{$forum.forum_lastpost_id}>"> - <{$forum.forum_lastpost_subject}> -<!-- irmtfan hardcode removed icon_path --> -<img src="<{$xoops_url}><{$forum.forum_icon_path}>/<{$forum.forum_lastpost_icon}>" alt="<{$smarty.const._MD_NEWBB_GOTOLASTPOST}>" title="<{$smarty.const._MD_NEWBB_GOTOLASTPOST}>" /> - </a> - <{else}> - <{$smarty.const._AM_NEWBB_NOTOPIC}> - <{/if}> - </td> - </tr> - <{/foreach}> - - <{/if}> - <!-- end forums --> - </table> - <br /> - </div> - <{/foreach}> - <!-- end forum categories --> -</div> -<!-- irmtfan hardcode removed style="float: left; text-align: left;" --> -<div class="icon_left"> - <{$img_forum_new}> = <{$smarty.const._MD_NEWPOSTS}><br /> - <{$img_forum}> = <{$smarty.const._MD_NONEWPOSTS}><br /> -</div> -<br style="clear:both;"/> -<!-- irmtfan hardcode removed style="float: right; text-align: right;" --> -<div class="icon_right"> - <form action="<{$xoops_url}>/modules/<{$xoops_dirname}>/search.php" method="post" name="search" id="search"> - <input name="term" id="term" type="text" size="20" /> - <input type="hidden" name="forum" id="forum" value="all" /> - <input type="hidden" name="sortby" id="sortby" value="p.post_time desc" /> - <input type="hidden" name="searchin" id="searchin" value="both" /> - <input type="submit" name="submit" id="submit" value="<{$smarty.const._MD_SEARCH}>" /> - <br /> - [ <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/search.php"><{$smarty.const._MD_ADVSEARCH}></a> ] - </form> - <{if $rss_button}> - <br /> - <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/rss.php?c=<{$viewcat}>" target="_blank" title="RSS FEED"> - <{$rss_button}> - </a> - <br /><font size="0.7em;"><a href="http://www.simple-xoops.de">NewBB Version <{$version/100}></a></font> - <br /> - <{/if}> -</div> -<br style="clear: both;" /> -<{if $currenttime}> - <div> - <div class="even" style="padding: 5px; line-height: 150%;"> - <span style="padding: 2px;"><{$online.statistik}></span> - <strong><{$smarty.const._MD_NEWBB_STATS}></strong> - </div> - - <div class="forum_stats odd" style="padding: 5px; line-height: 150%;"> - <div class="forum_stats_left odd"> - <{$currenttime}><br /> - <{$smarty.const._MD_TOTALTOPICSC}> - <strong><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/list.topic.php" title="<{$smarty.const._MD_ALL}>"><{$stats[0].topic.total}></a></strong> - | <{$smarty.const._MD_TOTALPOSTSC}><strong><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewpost.php" title="<{$smarty.const._MD_ALLPOSTS}>"><{$stats[0].post.total}></a></strong> - <{if $stats[0].digest.total}> - | <{$smarty.const._MD_TOTALDIGESTSC}><strong><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/list.topic.php?status=digest" title="<{$smarty.const._MD_TOTALDIGESTSC}>"><{$stats[0].digest.total}></a></strong> - <{/if}> - <{if $userstats}> - <br /><br /> - <{$userstats.lastvisit}><br /><{$userstats.lastpost}> - <{/if}> - </div> - <div class="forum_stats_right odd"> - <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewpost.php?status=new" title="<{$smarty.const._MD_VIEW_NEWPOSTS}>"><{$smarty.const._MD_VIEW_NEWPOSTS}></a><br /> - <{$smarty.const._MD_TODAYTOPICSC}><strong><{$stats[0].topic.day|default:0}></strong> - | <{$smarty.const._MD_TODAYPOSTSC}><strong><{$stats[0].post.day|default:0}></strong> - <{if $userstats}> - <br /><br /> - <{$userstats.topics}> | <{$userstats.posts}><{if $userstats.digests}><br /><{$userstats.digests}><{/if}> - <{/if}> - </div> - </div> - </div> - <br style="clear:both;"/> -<{/if}> -<br style="clear: both;" /> -<{if $online}> - <{includeq file="db:newbb_online.html"}> -<{/if}> -<{includeq file='db:newbb_notification_select.html'}> +<div class="forum_header"> +<!-- irmtfan hardcode remove style="float: left;" --> + <div class="forum_title"> + <h2><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php"><{$index_title}></a></h2> +<!-- irmtfan hardcode remove align="left" --> + <hr class="align_left" width="50%" size="1" /> + <{$index_desc}> + </div> +</div> +<div style="clear:both;"></div> + +<{if $viewer_level gt 1}> + <br /> + <div class="forum_stats"> + <div class="forum_stats_left"> + <{$smarty.const._MD_TOPIC}>: + <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/list.topic.php?status=active#admin" target="_self" title="<{$smarty.const._MD_TYPE_ADMIN}>"><{$smarty.const._MD_TYPE_ADMIN}></a> | + <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/list.topic.php?status=pending#admin" target="_self" title="<{$smarty.const._MD_TYPE_PENDING}>"><{if $wait_new_topic}>(<font color="red"><b><{$wait_new_topic}></b></font>) <{/if}><{$smarty.const._MD_TYPE_PENDING}></a> | + <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/list.topic.php?status=deleted#admin" target="_self" title="<{$smarty.const._MD_TYPE_DELETED}>"><{if $delete_topic}>(<font color="red"><b><{$delete_topic}></b></font>) <{/if}><{$smarty.const._MD_TYPE_DELETED}></a><br /> + <{$smarty.const._MD_POST2}>: + <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewpost.php?status=active#admin" target="_self" title="<{$smarty.const._MD_TYPE_ADMIN}>"><{$smarty.const._MD_TYPE_ADMIN}></a> | + <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewpost.php?status=pending#admin" target="_self" title="<{$smarty.const._MD_TYPE_PENDING}>"><{if $wait_new_post}>(<font color="red"><b><{$wait_new_post}></b></font>) <{/if}><{$smarty.const._MD_TYPE_PENDING}></a> | + <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewpost.php?status=deleted#admin" target="_self" title="<{$smarty.const._MD_TYPE_DELETED}>"><{if $delete_post}>(<font color="red"><b><{$delete_post}></b></font>) <{/if}><{$smarty.const._MD_TYPE_DELETED}></a> + </div> + <div class="forum_stats_right"> + <{if $report_post}><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/admin/admin_report.php"><{$report_post}></a><{/if}> + <br /><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/moderate.php" target="_self" title="<{$smarty.const._MD_TYPE_SUSPEND}>"><{$smarty.const._MD_TYPE_SUSPEND}></a> | + <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/admin/index.php" target="_self" title="<{$smarty.const._MD_ADMINCP}>"><{$smarty.const._MD_ADMINCP}></a> + </div> + <div style="clear:both;"></div> + </div> +<{/if}> +<br style="clear: both;" /> +<div class="dropdown"> + <{includeq file="db:newbb_index_menu.html"}> +</div> +<br style="clear: both;" /> +<br /> + +<!-- start forum categories --> +<div class="index_category"> + <!-- start forum categories --> + <{foreachq item=category from=$categories}> + <table class="index_category" cellspacing="0" width="100%"> + <tr class="head"> + <td width="3%" valign="middle" align="center"> + <img onclick="ToggleBlockCategory('<{$category.cat_element_id}>', this, '<{$category_icon.expand}>', '<{$category_icon.collapse}>')" src="<{$category.cat_icon_display}>" alt="" /> + </td> + <{if $category.cat_image}> + <td width="8%"><img src="<{$category.cat_image}>" alt="<{$category.cat_title}>" /></td> + <{/if}> +<!-- irmtfan hardcode removed align="left" --> + <td class="align_left"> + <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php?cat=<{$category.cat_id}>"><{$category.cat_title}></a> + <{if $category.cat_description}><p class="desc"><{$category.cat_description}></p><{/if}> + </td> + <{if $category.cat_sponsor}> +<!-- irmtfan hardcode removed align="right" --> + <td width="15%" nowrap="nowrap" class="align_right"> + <p class="desc"><a href="<{$category.cat_sponsor.link}>" title="<{$category.cat_sponsor.title}>" target="_blank"><{$category.cat_sponsor.title}></a></p> + </td> + <{/if}> + </tr> + </table> + + <div id="<{$category.cat_element_id}>" style="display: <{$category.cat_display}>"> + <table border="0" cellspacing="2" cellpadding="0" width="100%"> + <{if $category.forums}> + <tr class="head" align="center"> + <td width="5%"> </td> + <{if $subforum_display == "expand"}> +<!-- irmtfan hardcode removed align="left" --> + <td colspan="2" width="37%" nowrap="nowrap" class="align_left"><{$smarty.const._MD_FORUM}></td> + <{else}> +<!-- irmtfan hardcode removed align="left" --> + <td width="37%" nowrap="nowrap" class="align_left"><{$smarty.const._MD_FORUM}></td> + <{/if}> + <td width="9%" nowrap="nowrap"><{$smarty.const._MD_TOPICS}></td> + <td width="9%" nowrap="nowrap"><{$smarty.const._MD_POSTS}></td> + <td width="40%" nowrap="nowrap"><{$smarty.const._MD_LASTPOST}></td> + </tr> + <{/if}> + + <!-- start forums --> + <{if $subforum_display == "expand"}> + <{foreachq item=forum from=$category.forums}> + <tr> + <td width="5%" class="even" align="center" valign="middle"><{$forum.forum_folder}></td> + <td colspan="2" class="odd"> + <div id="index_forum"> + <span class="item"><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewforum.php?forum=<{$forum.forum_id}>"><{$forum.forum_name}></a> + <{if $rss_enable}> + (<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/rss.php?f=<{$forum.forum_id}>" target="_blank" title="RSS feed">RSS</a>) + <{/if}> + <br /><{$forum.forum_desc}> + </span> + <{if $forum.forum_moderators}> + <span class="extra"> + <{$smarty.const._MD_MODERATOR}>: <{$forum.forum_moderators}> + </span> + <{/if}> + </div> + </td> + <td class="even" align="center" valign="middle"> + <{if $stats[$forum.forum_id].topic.day}><strong><{$stats[$forum.forum_id].topic.day}></strong>/<{/if}> + <{$forum.forum_topics}> + </td> + <td class="odd" align="center" valign="middle"> + <{if $stats[$forum.forum_id].post.day}><strong><{$stats[$forum.forum_id].post.day}></strong>/<{/if}> + <{$forum.forum_posts}> + </td> +<!-- irmtfan hardcode removed align="right" --> + <td class="even" class="align_right" valign="middle"> + <{if $forum.forum_lastpost_subject}> + <{$forum.forum_lastpost_time}> <{$smarty.const._MD_BY}> <{$forum.forum_lastpost_user}><br /> + <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?post_id=<{$forum.forum_lastpost_id}>"> + <{$forum.forum_lastpost_subject}> +<!-- irmtfan remove icon_path --> +<{$forum.forum_lastpost_icon}> + </a> + <{else}> + <{$smarty.const._AM_NEWBB_NOTOPIC}> + <{/if}> + </td> + </tr> + + <{if $forum.subforum}> + <tr class="head" > + <td width="5%"> </td> + <td width="5%" align="center"><{$img_subforum}> </td> + <td width="32%" align="center"><{$smarty.const._MD_SUBFORUMS}> </td> + <td width="9%" nowrap="nowrap"> </td> + <td width="9%" nowrap="nowrap"> </td> + <td width="40%" nowrap="nowrap"> </td> + </tr> + <{foreachq item=subforum from=$forum.subforum}> + <tr> + <td class="odd" width="5%"> </td> + <td class="even" align="center" valign="middle" width="5%"><{$subforum.forum_folder}></td> + <td width="32%" class="odd"> + <div id="index_forum"> + <span class="item"><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewforum.php?forum=<{$subforum.forum_id}>"><strong><{$subforum.forum_name}></strong></a> + <{if $rss_enable}> + (<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/rss.php?f=<{$subforum.forum_id}>" target="_blank" title="RSS feed">RSS</a>) + <{/if}> + <br /><{$subforum.forum_desc}> + </span> + <{if $subforum.forum_moderators}> + <span class="extra"> + <{$smarty.const._MD_MODERATOR}>: <{$subforum.forum_moderators}> + </span> + <{/if}> + </div> + </td> + <td class="even" width="9%" align="center" valign="middle"> + <{if $stats[$subforum.forum_id].topic.day}><strong><{$stats[$subforum.forum_id].topic.day}></strong>/<{/if}> + <{$subforum.forum_topics}> + </td> + <td class="odd" width="9%" align="center" valign="middle"> + <{if $stats[$subforum.forum_id].post.day}><strong><{$stats[$subforum.forum_id].post.day}></strong>/<{/if}> + <{$subforum.forum_posts}> + </td> +<!-- irmtfan hardcode removed align="right" --> + + <td class="even" width="40%" class="align_right" valign="middle"> + <{if $subforum.forum_lastpost_subject}> + <{$subforum.forum_lastpost_time}> <{$smarty.const._MD_BY}> <{$subforum.forum_lastpost_user}><br /> + <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?post_id=<{$subforum.forum_lastpost_id}>"> + <{$subforum.forum_lastpost_subject}> +<!-- irmtfan remove icon_path --> +<{$subforum.forum_lastpost_icon}> + </a> + <{else}> + <{$smarty.const._AM_NEWBB_NOTOPIC}> + <{/if}> + </td> + </tr> + <{/foreach}> + <{/if}> + <{/foreach}> + + <{elseif $subforum_display == "collapse"}> + + <{foreachq item=forum from=$category.forums}> + <tr> + <{if $forum.subforum}> + <td class="even" rowspan="2" align="center" valign="middle"><{$forum.forum_folder}></td> + <{else}> + <td class="even" align="center" valign="middle"><{$forum.forum_folder}></td> + <{/if}> + <td class="odd"> + <div id="index_forum"> + <span class="item"><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewforum.php?forum=<{$forum.forum_id}>"><{$forum.forum_name}></a> + <{if $rss_enable}> + (<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/rss.php?f=<{$forum.forum_id}>" target="_blank" title="RSS feed">RSS</a>) + <{/if}> + <br /><{$forum.forum_desc}> + </span> + <{if $forum.forum_moderators}> + <span class="extra"> + <{$smarty.const._MD_MODERATOR}>: <{$forum.forum_moderators}> + </span> + <{/if}> + </div> + </td> + <td class="even" align="center" valign="middle"> + <{if $stats[$forum.forum_id].topic.day}><strong><{$stats[$forum.forum_id].topic.day}></strong>/<{/if}> + <{$forum.forum_topics}> + </td> + <td class="odd" align="center" valign="middle"> + <{if $stats[$forum.forum_id].post.day}><strong><{$stats[$forum.forum_id].post.day}></strong>/<{/if}> + <{$forum.forum_posts}> + </td> +<!-- irmtfan hardcode removed align="right" --> + <td class="even" class="align_right" valign="middle"> + <{if $forum.forum_lastpost_subject}> + <{$forum.forum_lastpost_time}> <{$smarty.const._MD_BY}> <{$forum.forum_lastpost_user}><br /> + <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?post_id=<{$forum.forum_lastpost_id}>"> + <{$forum.forum_lastpost_subject}> +<!-- irmtfan remove icon_path --> +<{$forum.forum_lastpost_icon}> + </a> + <{else}> + <{$smarty.const._AM_NEWBB_NOTOPIC}> + <{/if}> + </td> + </tr> + + <{if $forum.subforum}> + <tr> +<!-- irmtfan hardcode removed align="left" --> + + <td class="odd" colspan="4" class="align_left"><{$smarty.const._MD_SUBFORUMS}> <{$img_subforum}> + <{foreachq item=subforum from=$forum.subforum}> + [<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewforum.php?forum=<{$subforum.forum_id}>"><{$subforum.forum_name}></a>] + <{/foreach}> + </td> + </tr> + <{/if}> + <{/foreach}> + + <{else}> + + <{foreachq item=forum from=$category.forums}> + <tr> + <td class="even" align="center" valign="middle"><{$forum.forum_folder}></td> + <td class="odd"> + <div id="index_forum"> + <span class="item"><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewforum.php?forum=<{$forum.forum_id}>"><{$forum.forum_name}></a> + <{if $rss_enable}> + (<a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/rss.php?f=<{$forum.forum_id}>" target="_blank" title="RSS feed">RSS</a>) + <{/if}> + <br /><{$forum.forum_desc}> + </span> + <{if $forum.forum_moderators}> + <span class="extra"> + <{$smarty.const._MD_MODERATOR}>: <{$forum.forum_moderators}> + </span> + <{/if}> + </div> + </td> + <td class="even" align="center" valign="middle"> + <{if $stats[$forum.forum_id].topic.day}><strong><{$stats[$forum.forum_id].topic.day}></strong>/<{/if}> + <{$forum.forum_topics}> + </td> + <td class="odd" align="center" valign="middle"> + <{if $stats[$forum.forum_id].post.day}><strong><{$stats[$forum.forum_id].post.day}></strong>/<{/if}> + <{$forum.forum_posts}> + </td> +<!-- irmtfan hardcode removed align="right" --> + <td class="even" class="align_right" valign="middle"> + <{if $forum.forum_lastpost_subject}> + <{$forum.forum_lastpost_time}> <{$smarty.const._MD_BY}> <{$forum.forum_lastpost_user}><br /> + <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?post_id=<{$forum.forum_lastpost_id}>"> + <{$forum.forum_lastpost_subject}> +<!-- irmtfan remove icon_path --> +<{$forum.forum_lastpost_icon}> + </a> + <{else}> + <{$smarty.const._AM_NEWBB_NOTOPIC}> + <{/if}> + </td> + </tr> + <{/foreach}> + + <{/if}> + <!-- end forums --> + </table> + <br /> + </div> + <{/foreach}> + <!-- end forum categories --> +</div> +<!-- irmtfan hardcode removed style="float: left; text-align: left;" --> +<div class="icon_left"> + <{$img_forum_new}> = <{$smarty.const._MD_NEWPOSTS}><br /> + <{$img_forum}> = <{$smarty.const._MD_NONEWPOSTS}><br /> +</div> +<br style="clear:both;"/> +<!-- irmtfan hardcode removed style="float: right; text-align: right;" --> +<div class="icon_right"> + <form action="<{$xoops_url}>/modules/<{$xoops_dirname}>/search.php" method="post" name="search" id="search"> + <input name="term" id="term" type="text" size="20" /> + <input type="hidden" name="forum" id="forum" value="all" /> + <input type="hidden" name="sortby" id="sortby" value="p.post_time desc" /> + <input type="hidden" name="searchin" id="searchin" value="both" /> + <input type="submit" name="submit" id="submit" value="<{$smarty.const._MD_SEARCH}>" /> + <br /> + [ <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/search.php"><{$smarty.const._MD_ADVSEARCH}></a> ] + </form> + <{if $rss_button}> + <br /> + <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/rss.php?c=<{$viewcat}>" target="_blank" title="RSS FEED"> + <{$rss_button}> + </a> + <br /><font size="0.7em;"><a href="http://www.simple-xoops.de">NewBB Version <{$version/100}></a></font> + <br /> + <{/if}> +</div> +<br style="clear: both;" /> +<{if $currenttime}> + <div> + <div class="even" style="padding: 5px; line-height: 150%;"> + <span style="padding: 2px;"><{$online.statistik}></span> + <strong><{$smarty.const._MD_NEWBB_STATS}></strong> + </div> + + <div class="forum_stats odd" style="padding: 5px; line-height: 150%;"> + <div class="forum_stats_left odd"> + <{$currenttime}><br /> + <{$smarty.const._MD_TOTALTOPICSC}> + <strong><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/list.topic.php" title="<{$smarty.const._MD_ALL}>"><{$stats[0].topic.total}></a></strong> + | <{$smarty.const._MD_TOTALPOSTSC}><strong><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewpost.php" title="<{$smarty.const._MD_ALLPOSTS}>"><{$stats[0].post.total}></a></strong> + <{if $stats[0].digest.total}> + | <{$smarty.const._MD_TOTALDIGESTSC}><strong><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/list.topic.php?status=digest" title="<{$smarty.const._MD_TOTALDIGESTSC}>"><{$stats[0].digest.total}></a></strong> + <{/if}> + <{if $userstats}> + <br /><br /> + <{$userstats.lastvisit}><br /><{$userstats.lastpost}> + <{/if}> + </div> + <div class="forum_stats_right odd"> + <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewpost.php?status=new" title="<{$smarty.const._MD_VIEW_NEWPOSTS}>"><{$smarty.const._MD_VIEW_NEWPOSTS}></a><br /> + <{$smarty.const._MD_TODAYTOPICSC}><strong><{$stats[0].topic.day|default:0}></strong> + | <{$smarty.const._MD_TODAYPOSTSC}><strong><{$stats[0].post.day|default:0}></strong> + <{if $userstats}> + <br /><br /> + <{$userstats.topics}> | <{$userstats.posts}><{if $userstats.digests}><br /><{$userstats.digests}><{/if}> + <{/if}> + </div> + </div> + </div> + <br style="clear:both;"/> +<{/if}> +<br style="clear: both;" /> +<{if $online}> + <{includeq file="db:newbb_online.html"}> +<{/if}> +<{includeq file='db:newbb_notification_select.html'}> <!-- end module contents --> \ No newline at end of file Modified: XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_thread.html =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_thread.html 2012-08-26 19:06:53 UTC (rev 10121) +++ XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_thread.html 2012-08-27 08:04:06 UTC (rev 10122) @@ -28,14 +28,20 @@ <{if $topic_post.poster.avatar != "blank.gif"}> <br /><img class="comUserImg" src="<{$xoops_upload_url}>/<{$topic_post.poster.avatar}>" alt="" /> <{else}> -<!-- irmtfan hardcode removed icon_path --> - <br /><img class="comUserImg" src="<{$xoops_url}><{$icon_path}>/anonym.png" alt="" /> +<!-- irmtfan remove icon_path --> + <br /><{$anonym_avatar}> <{/if}> <br /> - <{if $infobox gt 0}> - <div> -<!-- irmtfan hardcode removed icon_path --> - <img style="padding:2px;" onclick="ToggleBlockCategory('<{$topic_post.post_id}>', this, '<{$xoops_url}><{$icon_path}>/more.png', '<{$xoops_url}><{$icon_path}>/more.png')" src="<{$xoops_url}><{$icon_path}>/more.png" alt="<{$smarty.const._MD_NEWBB_SEEUSERDATA}>" title="<{$smarty.const._MD_NEWBB_SEEUSERDATA}>" /> + <{if $infobox gt 0}> + <!-- irmtfan simplify onclick method remove hardcode style="padding:2px;"--> + <div class="pointer"> + <img onclick="ToggleBlockCategory('<{$topic_post.post_id}>', this, '<{$xoops_url}><{$icon_path}>/less.png', '<{$xoops_url}><{$icon_path}>/more.png','<{$smarty.const._MD_NEWBB_HIDEUSERDATA}>','<{$smarty.const._MD_NEWBB_SEEUSERDATA}>')" + <{if $infobox == 1}> + src="<{$xoops_url}><{$icon_path}>/more.png" alt="<{$smarty.const._MD_NEWBB_SEEUSERDATA}>" title="<{$smarty.const._MD_NEWBB_SEEUSERDATA}>" + <{else}> + src="<{$xoops_url}><{$icon_path}>/less.png" alt="<{$smarty.const._MD_NEWBB_HIDEUSERDATA}>" title="<{$smarty.const._MD_NEWBB_HIDEUSERDATA}>" + <{/if}> + /> </div> <div id="<{$topic_post.post_id}>" <{if $infobox == 1}> style="display: none;" @@ -126,8 +132,9 @@ <!-- irmtfan removed hardcode style="text-align:left;" --> <td class="left"> <{if $topic_post.thread_action}> - <{foreachq item=btn from=$topic_post.thread_action}> - <a href="<{$btn.link}>&post_id=<{$topic_post.post_id}>" title="<{$btn.name}>" <{if $btn.target}>target="<{$btn.target}>"<{/if}>> <{$btn.image}></a> + <{foreachq item=btn from=$topic_post.thread_action}> + <!-- irmtfan add alt key --> + <a href="<{$btn.link}>&post_id=<{$topic_post.post_id}>" alt="<{$btn.name}>" title="<{$btn.name}>" <{if $btn.target}>target="<{$btn.target}>"<{/if}>> <{$btn.image}></a> <{/foreach}> <{/if}> </td> @@ -140,8 +147,9 @@ <input type="checkbox" name="post_id[]" id="post_id[<{$topic_post.post_id}>]" value="<{$topic_post.post_id}>" /> <{else}> <{if $topic_post.thread_buttons}> - <{foreachq item=btn from=$topic_post.thread_buttons}> - <a href="<{$btn.link}>&post_id=<{$topic_post.post_id}>" title="<{$btn.name}>"> <{$btn.image}></a> + <{foreachq item=btn from=$topic_post.thread_buttons}> + <!-- irmtfan add alt key --> + <a href="<{$btn.link}>&post_id=<{$topic_post.post_id}>" alt="<{$btn.name}>" title="<{$btn.name}>"> <{$btn.image}></a> <{/foreach}> <{/if}> <{/if}> Modified: XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewforum_subforum.html =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewforum_subforum.html 2012-08-26 19:06:53 UTC (rev 10121) +++ XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewforum_subforum.html 2012-08-27 08:04:06 UTC (rev 10122) @@ -29,8 +29,8 @@ <{$sforum.forum_lastpost_time}> <{$smarty.const._MD_BY}> <{$sforum.forum_lastpost_user}><br /> <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?post_id=<{$sforum.forum_lastpost_id}>"> <{$sforum.forum_lastpost_subject}> -<!-- irmtfan hardcode removed icon_path --> -<img src="<{$xoops_url}><{$sforum.forum_icon_path}>/<{$sforum.forum_lastpost_icon}>" alt="<{$smarty.const._MD_NEWBB_GOTOLASTPOST}>" title="<{$smarty.const._MD_NEWBB_GOTOLASTPOST}>" /> +<!-- irmtfan removed icon_path --> +<{$sforum.forum_lastpost_icon}> </a> <{else}> <{$smarty.const._MD_NONEWPOSTS}> Modified: XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewtopic.html =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewtopic.html 2012-08-26 19:06:53 UTC (rev 10121) +++ XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewtopic.html 2012-08-27 08:04:06 UTC (rev 10122) @@ -95,7 +95,7 @@ </span> <!-- irmtfan hardcode removed style="float: right; text-align:right;"" --> <span class="icon_right"> - <{$forum_reply}><{$forum_addpoll}> <{$forum_post_or_register}> + <{$forum_reply}> <{$forum_addpoll}> <{$forum_post_or_register}> </span> </div> <div class="clear"></div> Modified: XoopsModules/newbb/branches/irmtfan/newbb/viewpost.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/viewpost.php 2012-08-26 19:06:53 UTC (rev 10121) +++ XoopsModules/newbb/branches/irmtfan/newbb/viewpost.php 2012-08-27 08:04:06 UTC (rev 10122) @@ -175,8 +175,8 @@ } $xoopsTpl->assign('xoops_module_header', $xoops_module_header); $xoopsTpl->assign('xoops_pagetitle', $xoops_pagetitle); -$icon_handler = newbb_getIconHandler(); -$xoopsTpl->assign("icon_path", $icon_handler->getPath("icon")); +// irmtfan - remove icon_path and use newbb_displayImage +$xoopsTpl->assign("anonym_avatar", newbb_displayImage('anonym')); $userid_array=array(); if (count($poster_array)>0) { $member_handler =& xoops_gethandler('member'); Modified: XoopsModules/newbb/branches/irmtfan/newbb/viewtopic.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/viewtopic.php 2012-08-26 19:06:53 UTC (rev 10121) +++ XoopsModules/newbb/branches/irmtfan/newbb/viewtopic.php 2012-08-27 08:04:06 UTC (rev 10122) @@ -131,6 +131,9 @@ $infobox = intval($xoopsModuleConfig['show_infobox']); //4.05 $xoopsTpl->assign('infobox', $infobox); //4.05 $xoopsTpl->assign("parentforum", $forum_handler->getParents($forum_obj)); +// irmtfan - remove icon_path and use newbb_displayImage +$xoopsTpl->assign("anonym_avatar", newbb_displayImage('anonym')); +// icon_path use for infobox onclick image more/less $icon_handler = newbb_getIconHandler(); $xoopsTpl->assign("icon_path", $icon_handler->getPath("icon")); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lor...@us...> - 2012-08-26 19:06:59
|
Revision: 10121 http://xoops.svn.sourceforge.net/xoops/?rev=10121&view=rev Author: lord_venom Date: 2012-08-26 19:06:53 +0000 (Sun, 26 Aug 2012) Log Message: ----------- bug date Modified Paths: -------------- XoopsModules/TDMStats/trunk/TDMStats/include/gd.php XoopsModules/TDMStats/trunk/TDMStats/include/stats.php Modified: XoopsModules/TDMStats/trunk/TDMStats/include/gd.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/include/gd.php 2012-08-26 18:43:48 UTC (rev 10120) +++ XoopsModules/TDMStats/trunk/TDMStats/include/gd.php 2012-08-26 19:06:53 UTC (rev 10121) @@ -18,22 +18,7 @@ * * **************************************************************************** */ - -// get result from mysql -function getResult($query) { - $result = mysql_query($query); - $row = mysql_fetch_array($result); - while($row != NULL) { - $data[] = $row; - $row = mysql_fetch_array($result); - } - - if (isset($data)) { - return $data; - } -} -*/ if (function_exists('imagecreate')) { // only run if gd installed include ('../../../mainfile.php'); include_once ('getresult.php'); @@ -47,7 +32,7 @@ $sum_hour = getResult("select sum(count) as sum from ".XOOPS_DB_PREFIX."_TDMStats_hour"); $max_hour = getResult("select max(count) as max from ".XOOPS_DB_PREFIX."_TDMStats_hour"); $days = getResult("select count(distinct date) as days from ".XOOPS_DB_PREFIX."_TDMStats_daycount"); -$today_max = getResult("select max(count) as max from ".XOOPS_DB_PREFIX."_TDMStats_today_hour"); +//$today_max = getResult("select max(count) as max from ".XOOPS_DB_PREFIX."_TDMStats_today_hour"); if ($sum_hour[0]['sum'] > 0){ $max_percent = $max_hour[0]['max'] / $sum_hour[0]['sum']; @@ -128,7 +113,6 @@ $x+=25; } - imagejpeg($im); imagedestroy($im); } Modified: XoopsModules/TDMStats/trunk/TDMStats/include/stats.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/include/stats.php 2012-08-26 18:43:48 UTC (rev 10120) +++ XoopsModules/TDMStats/trunk/TDMStats/include/stats.php 2012-08-26 19:06:53 UTC (rev 10121) @@ -441,6 +441,14 @@ ///$seconde = $total; //echo "$heure H : $minute min : $seconde sec"; +//purge auto +//echo date("Y").date("m").date("d")+1; +$old = mktime(0, 0, 0, date("m") , date("d") + $xoopsModuleConfig['maxusercount'], date("Y")); +$dateold = gmdate('Y/m/d',$old ); +mysql_query("delete from ".$xoopsDB->prefix("TDMStats_usercount")." WHERE date > '$dateold'"); +///////////////////// + + $user_info = getResult("select *, SUM(count) AS sum from ".$xoopsDB->prefix("TDMStats_usercount")." GROUP BY ip order by count desc"); $user_total = getResult("select SUM(count) AS sum from ".$xoopsDB->prefix("TDMStats_usercount").""); @@ -466,5 +474,8 @@ } } + +// echo '<img src="include/gd.php" border = 5 width="800" heigth="600"> '; //////////////////////////////// + ?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dh...@us...> - 2012-08-26 18:43:54
|
Revision: 10120 http://xoops.svn.sourceforge.net/xoops/?rev=10120&view=rev Author: dhcst Date: 2012-08-26 18:43:48 +0000 (Sun, 26 Aug 2012) Log Message: ----------- add new style.css Modified Paths: -------------- XoopsModules/newbb/branches/alfred/newbb/templates/style.css Modified: XoopsModules/newbb/branches/alfred/newbb/templates/style.css =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/templates/style.css 2012-08-26 18:40:40 UTC (rev 10119) +++ XoopsModules/newbb/branches/alfred/newbb/templates/style.css 2012-08-26 18:43:48 UTC (rev 10120) @@ -62,11 +62,13 @@ .ThreadUserName a { font-weight: bold; margin-bottom: 2px; + /*color: #000; irmtfan */ } .ThreadTitle, .ThreadTitle a{ font-weight: bold; margin-bottom: 2px; + /*color: #fff; irmtfan */ } .icon_left { @@ -269,12 +271,13 @@ /* color -- dropdown menu for Forum */ div.dropdown a, div.dropdown .menubar a{ - color:#FFF; + /* irmtfan remove hardcode color color:#FFF; */ } div.dropdown .menu, div.dropdown .menubar, div.dropdown .item, div.dropdown .separator{ - background-color: #436792; /* same color set as in your theme/style.ss .th{} is recommended */ - color:#FFF; + /* irmtfan remove hardcode color background-color: #436792;*/ + /* same color set as in your theme/style.ss .th{} is recommended */ + /* irmtfan remove hardcode color color:#FFF; */ } div.dropdown .separator{ @@ -284,4 +287,33 @@ div.dropdown .menu a:hover, div.dropdown .userbar a:hover{ color: #333; } +/* irmtfan class added for solve some hard codes */ +.post_edit { + float: right; + padding: 5px; + margin-top: 10px; + border:1px solid #000; +} +.post_ip { + float: right; + padding: 5px; + margin-top: 10px; +} +.pagenav { + float: right; + text-align: right; + padding: 5px; +} +.align_left, #align_left { + margin-left: 0; + text-align: left; +} +.align_right, #align_right { + margin-right: 0; + text-align: right; +} +.poll { + text-align: center; + margin: 3px; +} /* color - end */ \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dh...@us...> - 2012-08-26 18:40:48
|
Revision: 10119 http://xoops.svn.sourceforge.net/xoops/?rev=10119&view=rev Author: dhcst Date: 2012-08-26 18:40:40 +0000 (Sun, 26 Aug 2012) Log Message: ----------- bug fix: load user ranks has been wrongly linked in newbb_thread.html (black_beard reported it) Modified Paths: -------------- XoopsModules/newbb/branches/alfred/newbb/templates/newbb_thread.html Modified: XoopsModules/newbb/branches/alfred/newbb/templates/newbb_thread.html =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/templates/newbb_thread.html 2012-08-26 08:22:06 UTC (rev 10118) +++ XoopsModules/newbb/branches/alfred/newbb/templates/newbb_thread.html 2012-08-26 18:40:40 UTC (rev 10119) @@ -1,13 +1,13 @@ <{if $post_id == $topic_post.post_id}><div id="aktuell"></div><{/if}> <table class="outer" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" style="border-bottom-width: 0px;"> <tr> - <th width="20%" align="left"> + <th width="20%" class="left"> <div class="ThreadUserName"><{$topic_post.poster.link}></div> </th> - <th width="75%" align="left"><div class="comTitle"><{$topic_post.post_title}></div></th> - <th align="right"> - <div class="ThreadTitle" style="float: right;"> + <th width="75%" class="left"><div class="comTitle"><{$topic_post.post_title}></div></th> + <th class="right"> + <div class="ThreadTitle"> <{if $topic_post.post_id > 0}> <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?post_id=<{$topic_post.post_id}>">#<{$topic_post.post_no}></a> <{/if}> @@ -18,7 +18,7 @@ <{if $topic_post.poster.uid gt -1}> <td width="20%" class="odd" rowspan="2" valign="top"> <{if $topic_post.poster.uid != 0}> - <div class="comUserRankText"><{$topic_post.poster.rank_title}><br /><img class="comUserImg" src="<{$xoops_upload_url}>/ranks/<{$topic_post.poster.rank_image}>" alt="" /></div> + <div class="comUserRankText"><{if $topic_post.poster.rank_title !=""}> <{$topic_post.poster.rank_title}><br /><img src="<{$xoops_upload_url}>/<{$topic_post.poster.rank_image}>" alt="<{$topic_post.poster.rank_title}>" /><{/if}></div> <{if $topic_post.poster.avatar != "blank.gif"}> <br /><img class="comUserImg" src="<{$xoops_upload_url}>/<{$topic_post.poster.avatar}>" alt="1" /> <{else}> @@ -77,7 +77,7 @@ <{/if}> <div class="clear"></div> <br /> - <div style="float: right; padding: 5px; margin-top: 10px;"> + <div class="post_ip"> <{if $topic_post.poster_ip}> IP: <a href="http://www.whois.sc/<{$topic_post.poster_ip}>" target="_blank"><{$topic_post.poster_ip}></a> | <{/if}> @@ -87,7 +87,7 @@ <{if $topic_post.post_edit}> <div class="clear"></div> <br /> - <div style="float: right; padding: 5px; margin-top: 10px; border:1px solid #000;"> + <div class="post_edit"> <small><{$topic_post.post_edit}></small> </div> <{/if}> @@ -113,14 +113,14 @@ <td colspan="3" class="foot"> <table style="border: 0; padding: 0; margin: 0"> <tr> - <td style="text-align:left;"> + <td class="left"> <{if $topic_post.thread_action}> <{foreachq item=btn from=$topic_post.thread_action}> <a href="<{$btn.link}>&post_id=<{$topic_post.post_id}>" title="<{$btn.name}>" <{if $btn.target}>target="<{$btn.target}>"<{/if}>> <{$btn.image}></a> <{/foreach}> <{/if}> </td> - <td style="text-align: right;"> + <td class="right"> <{if $mode gt 1}> <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/action.post.php?post_id=<{$topic_post.post_id}>&op=split&mode=1" target="_self" title="<{$smarty.const._MD_SPLIT_ONE}>"><{$smarty.const._MD_SPLIT_ONE}></a> | <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/action.post.php?post_id=<{$topic_post.post_id}>&op=split&mode=2" target="_self" title="<{$smarty.const._MD_SPLIT_TREE}>"><{$smarty.const._MD_SPLIT_TREE}></a> | This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ir...@us...> - 2012-08-26 08:22:15
|
Revision: 10118 http://xoops.svn.sourceforge.net/xoops/?rev=10118&view=rev Author: irmtfan Date: 2012-08-26 08:22:06 +0000 (Sun, 26 Aug 2012) Log Message: ----------- merge with alfred rev.10109, bug fix in polls.php, better style.css localization Modified Paths: -------------- XoopsModules/newbb/branches/irmtfan/newbb/docs/changelog.txt XoopsModules/newbb/branches/irmtfan/newbb/header.php XoopsModules/newbb/branches/irmtfan/newbb/polls.php XoopsModules/newbb/branches/irmtfan/newbb/print.php XoopsModules/newbb/branches/irmtfan/newbb/seo.php XoopsModules/newbb/branches/irmtfan/newbb/votepolls.php Added Paths: ----------- XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt Added: XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt (rev 0) +++ XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt 2012-08-26 08:22:06 UTC (rev 10118) @@ -0,0 +1,10 @@ +date: 2012-08-26 +================================================ +1- merge with alfred. +newbb/votepolls.php, newbb/polls.php, newbb/print.php, newbb/seo.php + +2- bug in getting $op and typo: addmor -> addmore +newbb/polls.php + +3- better method for getting the customize/localize newbb style.css +newbb/header.php \ No newline at end of file Modified: XoopsModules/newbb/branches/irmtfan/newbb/docs/changelog.txt =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/docs/changelog.txt 2012-08-25 20:35:24 UTC (rev 10117) +++ XoopsModules/newbb/branches/irmtfan/newbb/docs/changelog.txt 2012-08-26 08:22:06 UTC (rev 10118) @@ -1,6 +1,6 @@ newBB Changelog 4.3 -08/17/2012 +08/25/2012 =========================================== 1 Fix Cache Config for SEO 2 Fix Typos in templates @@ -26,6 +26,10 @@ 22 Fix vulnerabilities in seo.php 23 Add enable/disable all editmessage in posts 24 Fix hardcoded Path for icon (irmtfan) +25 Fix print hardcodes removed (irmtfan) +26 NEW local stylesheet (xoops_header) in print.php +27 Fix error in newbb/polls.php when the strtotime is not defined in XoopsLocal class (irmtfan) +28 Fix using header php command instead of redirect_header XOOPS function (deka87/irmtfan) in newbb/search.php newBB Changelog 4.2 Modified: XoopsModules/newbb/branches/irmtfan/newbb/header.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/header.php 2012-08-25 20:35:24 UTC (rev 10117) +++ XoopsModules/newbb/branches/irmtfan/newbb/header.php 2012-08-26 08:22:06 UTC (rev 10118) @@ -1,140 +1,128 @@ -<?php -/** - * CBB 4.0, or newbb, the forum module for XOOPS project - * - * @copyright The XOOPS Project http://xoops.sf.net - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @author Taiwen Jiang (phppp or D.J.) <ph...@us...> - * @since 4.00 - * @version $Id$ - * @package module::newbb - */ -include_once '../../mainfile.php'; -defined('XOOPS_ROOT_PATH') or die('Restricted access'); -$xoopsLogger->startTime('newBB_Header'); - -if (!empty($xoopsModuleConfig['do_rewrite'])) { - include_once "seo_url.php"; - /* for seo */ - $toseo_url = array("index.php","viewforum.php","viewtopic.php","rss.php"); - - if(((strpos(getenv('REQUEST_URI'), '.html') === false) && !empty($xoopsModuleConfig['do_rewrite']) && (!isset($_POST) || count($_POST) <= 0))) - { - $redir = false; - if ( strpos(getenv("REQUEST_URI"),"mark_read=") == true || strpos(getenv("REQUEST_URI"),"mark=") == true) { - // Mark Forums - } else { - if ( in_array(basename(getenv('SCRIPT_NAME')),$toseo_url) ) { - //rewrite only for files - - if ( trim(getenv("SCRIPT_NAME")) != '' ) { - if ( strpos(getenv("REQUEST_URI") , "/".SEO_MODULE_NAME."/") === false ) { - $redir = true; - } else if ( getenv("QUERY_STRING") ) { - $redir = true; - } - } - } - } - - if ($redir == true) { - $s = "http://" . getenv('HTTP_HOST') . getenv("REQUEST_URI"); - $s = str_replace("/".REAL_MODULE_NAME."/","/".SEO_MODULE_NAME."/",$s); - $newurl = seo_urls('<a href="'.$s.'"></a>'); - $newurl = str_replace('<a href="','',$newurl); - $newurl = str_replace('"></a>','',$newurl); - if ( !headers_sent() ) { - header("HTTP/1.1 301 Moved Permanently"); - header("Location: $newurl"); - exit(); - } - } - } -} - -include_once XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar("dirname")."/include/vars.php"; - -mod_loadFunctions("user", "newbb"); -mod_loadFunctions("topic", "newbb"); - -require_once XOOPS_ROOT_PATH."/class/xoopsformloader.php"; -require_once XOOPS_ROOT_PATH."/class/module.textsanitizer.php"; -$myts = MyTextSanitizer::getInstance(); - -$menumode = 0; -$menumode_other = array(); -$menu_url = htmlSpecialChars(preg_replace("/&menumode=[^&]/", "", $_SERVER[ 'REQUEST_URI' ])); -$menu_url .= ( false === strpos($menu_url, "?") ) ? "?menumode=" : "&menumode="; -foreach ($xoopsModuleConfig["valid_menumodes"] as $key => $val) { - if ($key != $menumode) $menumode_other[] = array("title"=>$val, "link"=>$menu_url.$key); -} - - -$newbb_module_header = ''; -$newbb_module_header .= '<link rel="alternate" type="application/rss+xml" title="'.$xoopsModule->getVar("name").'" href="'.XOOPS_URL.'/modules/'.$xoopsModule->getVar('dirname', "n").'/rss.php" />'; -if (!empty($xoopsModuleConfig['pngforie_enabled'])) { - $newbb_module_header .= '<style type="text/css">img {behavior:url("include/pngbehavior.htc");}</style>'; -} -// START hacked by irmtfan to add localization/customization for newbb style.css -$dirname=$xoopsModule->getVar('dirname'); -$theme_path = "{$xoopsConfig['theme_set']}/modules/{$dirname}"; -$theme_default_path= "default/modules/{$dirname}"; -$default_path = "modules/{$dirname}/templates"; -$lang_path = "images/language/{$xoopsConfig['language']}"; - - // get from setted theme -if (is_file(XOOPS_THEME_PATH . '/'.$theme_path . '/' . $lang_path . '/style.css')) { - $rel_path=$theme_path . '/' . $lang_path; - // get from default theme -} else if (is_file(XOOPS_THEME_PATH . '/'.$theme_default_path . '/' . $lang_path . '/style.css')) { - $rel_path=$theme_default_path . '/' . $lang_path; - // get from module default path -} else if (is_file(XOOPS_ROOT_PATH. '/'.$default_path . '/' . $lang_path . '/style.css')) { - $rel_path=$default_path . '/' . $lang_path; - // if no one is found get the english from default path -} else if (is_file(XOOPS_ROOT_PATH. '/'.$default_path . '/images/language/english/style.css')) { - $rel_path=$default_path . '/images/language/english'; - // for backward compatibility - as before -} else { - $rel_path=$default_path; -} - -$newbb_module_header .= ' - <link rel="stylesheet" type="text/css" href="'.XOOPS_URL . '/' . $rel_path . '/style.css" /> - <script type="text/javascript">var toggle_cookie="'.$forumCookie['prefix'].'G'.'";</script> - <script src="'.XOOPS_URL.'/modules/'.$xoopsModule->getVar("dirname").'/include/js/newbb_toggle.js" type="text/javascript"></script> - '; -// END hacked by irmtfan to add localization/customization for newbb style.css -if ($menumode == 2) { - $newbb_module_header .= ' - <link rel="stylesheet" type="text/css" href="'.XOOPS_URL.'/modules/'.$xoopsModule->getVar("dirname").'templates/newbb_menu_hover.css" /> - <style type="text/css">body {behavior:url("include/newbb.htc");}</style> - '; -} - -if ($menumode == 1) { - $newbb_module_header .= ' - <link rel="stylesheet" type="text/css" href="'.XOOPS_URL.'/modules/'.$xoopsModule->getVar("dirname").'templates/newbb_menu_click.css" /> - <script src="include/js/newbb_menu_click.js" type="text/javascript"></script> - '; -} - -$xoops_module_header = $newbb_module_header; // for cache hack - -if (!empty($xoopsModuleConfig["welcome_forum"]) && is_object($xoopsUser) && !$xoopsUser->getVar('posts')) { - mod_loadFunctions("welcome", "newbb"); -} - -$pollmodules = NULL; -//$module_handler = &xoops_gethandler('module'); -$xoopspoll = &$module_handler->getByDirname('xoopspoll'); -if (is_object($xoopspoll) && $xoopspoll->getVar('isactive')) { - $pollmodules = 'xoopspoll'; -} else { - //Umfrage - $xoopspoll = &$module_handler->getByDirname('umfrage'); - if (is_object($xoopspoll) && $xoopspoll->getVar('isactive')) - $pollmodules = 'umfrage'; -} -$xoopsLogger->stopTime('newBB_Header'); +<?php +/** + * CBB 4.0, or newbb, the forum module for XOOPS project + * + * @copyright The XOOPS Project http://xoops.sf.net + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @author Taiwen Jiang (phppp or D.J.) <ph...@us...> + * @since 4.00 + * @version $Id$ + * @package module::newbb + */ +include_once '../../mainfile.php'; +defined('XOOPS_ROOT_PATH') or die('Restricted access'); +$xoopsLogger->startTime('newBB_Header'); +// irmtfan assign newbb dirname then replace all. include xoops header.php +$dirname = $xoopsModule->getVar("dirname"); +include_once XOOPS_ROOT_PATH . "/header.php"; + +if (!empty($xoopsModuleConfig['do_rewrite'])) { + include_once "seo_url.php"; + /* for seo */ + $toseo_url = array("index.php","viewforum.php","viewtopic.php","rss.php"); + + if(((strpos(getenv('REQUEST_URI'), '.html') === false) && !empty($xoopsModuleConfig['do_rewrite']) && (!isset($_POST) || count($_POST) <= 0))) + { + $redir = false; + if ( strpos(getenv("REQUEST_URI"),"mark_read=") == true || strpos(getenv("REQUEST_URI"),"mark=") == true) { + // Mark Forums + } else { + if ( in_array(basename(getenv('SCRIPT_NAME')),$toseo_url) ) { + //rewrite only for files + + if ( trim(getenv("SCRIPT_NAME")) != '' ) { + if ( strpos(getenv("REQUEST_URI") , "/".SEO_MODULE_NAME."/") === false ) { + $redir = true; + } else if ( getenv("QUERY_STRING") ) { + $redir = true; + } + } + } + } + + if ($redir == true) { + $s = "http://" . getenv('HTTP_HOST') . getenv("REQUEST_URI"); + $s = str_replace("/".REAL_MODULE_NAME."/","/".SEO_MODULE_NAME."/",$s); + $newurl = seo_urls('<a href="'.$s.'"></a>'); + $newurl = str_replace('<a href="','',$newurl); + $newurl = str_replace('"></a>','',$newurl); + if ( !headers_sent() ) { + header("HTTP/1.1 301 Moved Permanently"); + header("Location: $newurl"); + exit(); + } + } + } +} + +include_once XOOPS_ROOT_PATH."/modules/".$dirname."/include/vars.php"; + +mod_loadFunctions("user", $dirname); +mod_loadFunctions("topic", $dirname); + +require_once XOOPS_ROOT_PATH."/class/xoopsformloader.php"; +require_once XOOPS_ROOT_PATH."/class/module.textsanitizer.php"; +$myts = MyTextSanitizer::getInstance(); + +$menumode = 0; +$menumode_other = array(); +$menu_url = htmlSpecialChars(preg_replace("/&menumode=[^&]/", "", $_SERVER[ 'REQUEST_URI' ])); +$menu_url .= ( false === strpos($menu_url, "?") ) ? "?menumode=" : "&menumode="; +foreach ($xoopsModuleConfig["valid_menumodes"] as $key => $val) { + if ($key != $menumode) $menumode_other[] = array("title"=>$val, "link"=>$menu_url.$key); +} + + +$newbb_module_header = ''; +$newbb_module_header .= '<link rel="alternate" type="application/rss+xml" title="'.$xoopsModule->getVar("name").'" href="'.XOOPS_URL.'/modules/'.$dirname.'/rss.php" />'; +if (!empty($xoopsModuleConfig['pngforie_enabled'])) { + $newbb_module_header .= '<style type="text/css">img {behavior:url("include/pngbehavior.htc");}</style>'; +} +// START hacked by irmtfan to add localization/customization for newbb style.css +mod_loadFunctions("render", $dirname); +$icon_handler = newbb_getIconHandler(); +// get from setted language +$rel_path=$icon_handler->getPath("language/" . $xoopsConfig['language'], $dirname ,"language/english"); +if (!file_exists(XOOPS_ROOT_PATH . $rel_path . '/style.css')) { + // for backward compatibility - as before + $rel_path="/modules/" . $dirname . "/templates"; +} +$newbb_module_header .= ' + <link rel="stylesheet" type="text/css" href="'.XOOPS_URL . $rel_path . '/style.css" /> + <script type="text/javascript">var toggle_cookie="'.$forumCookie['prefix'].'G'.'";</script> + <script src="'.XOOPS_URL.'/modules/'.$dirname.'/include/js/newbb_toggle.js" type="text/javascript"></script> + '; +// END hacked by irmtfan to add localization/customization for newbb style.css +if ($menumode == 2) { + $newbb_module_header .= ' + <link rel="stylesheet" type="text/css" href="'.XOOPS_URL.'/modules/'.$dirname.'templates/newbb_menu_hover.css" /> + <style type="text/css">body {behavior:url("include/newbb.htc");}</style> + '; +} + +if ($menumode == 1) { + $newbb_module_header .= ' + <link rel="stylesheet" type="text/css" href="'.XOOPS_URL.'/modules/'.$dirname.'templates/newbb_menu_click.css" /> + <script src="include/js/newbb_menu_click.js" type="text/javascript"></script> + '; +} + +$xoops_module_header = $newbb_module_header; // for cache hack + +if (!empty($xoopsModuleConfig["welcome_forum"]) && is_object($xoopsUser) && !$xoopsUser->getVar('posts')) { + mod_loadFunctions("welcome", $dirname); +} + +$pollmodules = NULL; +//$module_handler = &xoops_gethandler('module'); +$xoopspoll = &$module_handler->getByDirname('xoopspoll'); +if (is_object($xoopspoll) && $xoopspoll->getVar('isactive')) { + $pollmodules = 'xoopspoll'; +} else { + //Umfrage + $xoopspoll = &$module_handler->getByDirname('umfrage'); + if (is_object($xoopspoll) && $xoopspoll->getVar('isactive')) + $pollmodules = 'umfrage'; +} +$xoopsLogger->stopTime('newBB_Header'); ?> \ No newline at end of file Modified: XoopsModules/newbb/branches/irmtfan/newbb/polls.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/polls.php 2012-08-25 20:35:24 UTC (rev 10117) +++ XoopsModules/newbb/branches/irmtfan/newbb/polls.php 2012-08-26 08:22:06 UTC (rev 10118) @@ -1,583 +1,588 @@ -<?php -/** - * Newbb module - * - * 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 http://www.fsf.org/copyleft/gpl.html GNU public license - * @package newbb - * @since 4.0 - * @author Taiwen Jiang <ph...@us...> - * @version $Id: polls.php 2175 2008-09-23 14:07:03Z phppp $ - */ - - -include_once dirname(__FILE__) . "/header.php"; - -include_once XOOPS_ROOT_PATH . "/class/xoopsformloader.php"; -include_once XOOPS_ROOT_PATH . "/class/xoopslists.php"; -include_once XOOPS_ROOT_PATH . "/class/xoopsblock.php"; - -if ( $pollmodules == 'xoopspoll') -{ - include XOOPS_ROOT_PATH . "/modules/xoopspoll/include/constants.php"; - include_once XOOPS_ROOT_PATH . "/modules/xoopspoll/class/xoopspoll.php"; - include_once XOOPS_ROOT_PATH . "/modules/xoopspoll/class/xoopspolloption.php"; - include_once XOOPS_ROOT_PATH . "/modules/xoopspoll/class/xoopspolllog.php"; - include_once XOOPS_ROOT_PATH . "/modules/xoopspoll/class/xoopspollrenderer.php"; -} -elseif ($pollmodules == 'umfrage') -{ - include XOOPS_ROOT_PATH."/modules/umfrage/include/constants.php"; - include_once XOOPS_ROOT_PATH."/modules/umfrage/class/umfrage.php"; - include_once XOOPS_ROOT_PATH."/modules/umfrage/class/umfrageoption.php"; - include_once XOOPS_ROOT_PATH."/modules/umfrage/class/umfragelog.php"; - include_once XOOPS_ROOT_PATH."/modules/umfrage/class/umfragerenderer.php"; -} -else -{ - redirect_header("javascript:history.go(-1);", 2, _MD_POLLMODULE_ERROR); - exit(); -} - -$op = "add"; -if (isset($_GET['op'])) $op = $_GET['op']; -if (isset($_POST['op'])) $op = $_POST['op']; -if (isset($_GET['poll_id'])) $poll_id = intval($_GET['poll_id']); -if (isset($_POST['poll_id'])) $poll_id = intval($_POST['poll_id']); -if (isset($_GET['topic_id'])) $topic_id = intval($_GET['topic_id']); -if (isset($_POST['topic_id'])) $topic_id = intval($_POST['topic_id']); - -if (!isset($module_handler)) $module_handler =& xoops_gethandler('module'); -$xoopspoll =& $module_handler->getByDirname($pollmodules); -if (!is_object($xoopspoll) || !$xoopspoll->getVar('isactive')) { - redirect_header("javascript:history.go(-1);", 2, _MD_POLLMODULE_ERROR); - exit(); -} - -include XOOPS_ROOT_PATH . "/header.php"; - -$topic_handler =& xoops_getmodulehandler('topic', 'newbb'); -$topic_obj =& $topic_handler->get($topic_id); -$forum = $topic_obj->getVar('forum_id'); -$forum_handler =& xoops_getmodulehandler('forum', 'newbb'); -$forum_obj =& $forum_handler->get($forum); -if (!$forum_handler->getPermission($forum_obj)) { - redirect_header("index.php", 2, _MD_NORIGHTTOACCESS); - exit(); -} -if (!$topic_handler->getPermission($forum_obj, $topic_obj->getVar('topic_status'), "view")) { - redirect_header("viewforum.php?forum=" . $forum_obj->getVar('forum_id'), 2, _MD_NORIGHTTOVIEW); - exit(); -} - -$isadmin = newbb_isAdmin($forum_obj); -$perm = false; -if ($isadmin) { - $perm = true; -} elseif ($topic_handler->getPermission($forum_obj, $topic_obj->getVar('topic_status'), "addpoll") - //&& $forum_obj->getVar('allow_polls') == 1 -) { - if ( ($op=="add" || $op=="save") && !$topic_obj->getVar("topic_haspoll") && is_object($xoopsUser) && $xoopsUser->getVar("uid") == $topic_obj->getVar("topic_poster") ) { - $perm = true; - } elseif (!empty($poll_id)) { - $poll = new XoopsPoll($poll_id); - if (is_object($xoopsUser) && $xoopsUser->getVar("uid") == $poll->getVar("user_id")) { - $perm = true; - } - } -} -if (!$perm) { - redirect_header("viewtopic.php?topic_id=" . $topic_id, 2, _NOPERM); -} - -if ( $op == "add" ) { - $poll_form = new XoopsThemeForm(_MD_POLL_CREATNEWPOLL, "poll_form", "polls.php"); - - $question_text = new XoopsFormText(_MD_POLL_POLLQUESTION, "question", 50, 255); - $poll_form->addElement($question_text, true); - - $desc_tarea = new XoopsFormTextarea(_MD_POLL_POLLDESC, "description"); - $poll_form->addElement($desc_tarea); - - $currenttime = formatTimestamp(time(), "Y-m-d H:i:s"); - $endtime = formatTimestamp(time() + 604800, "Y-m-d H:i:s"); - $expire_text = new XoopsFormText(_MD_POLL_EXPIRATION . "<br /><small>" . _MD_POLL_FORMAT . "<br />" . sprintf(_MD_POLL_CURRENTTIME, $currenttime) . "</small>", "end_time", 30, 19, $endtime); - $poll_form->addElement($expire_text); - - $weight_text = new XoopsFormText(_MD_POLL_DISPLAYORDER, "weight", 6, 5, 0); - $poll_form->addElement($weight_text); - - $multi_yn = new XoopsFormRadioYN(_MD_POLL_ALLOWMULTI, "multiple", 0); - $poll_form->addElement($multi_yn); - - $notify_yn = new XoopsFormRadioYN(_MD_POLL_NOTIFY, "notify", 1); - $poll_form->addElement($notify_yn); - - $option_tray = new XoopsFormElementTray(_MD_POLL_POLLOPTIONS, ""); - $barcolor_array = XoopsLists::getImgListAsArray(XOOPS_ROOT_PATH . "/modules/".$pollmodules."/images/colorbars/"); - for($i = 0; $i < 10; $i++) { - $current_bar = (current($barcolor_array) != "blank.gif") ? current($barcolor_array) : next($barcolor_array); - $option_text = new XoopsFormText("", "option_text[]", 50, 255); - $option_tray->addElement($option_text); - $color_select = new XoopsFormSelect("", "option_color[{$i}]", $current_bar); - $color_select->addOptionArray($barcolor_array); - $color_select->setExtra("onchange='showImgSelected(\"option_color_image[{$i}]\", \"option_color[{$i}]\", \"modules/".$pollmodules."/images/colorbars\", \"\", \"" . XOOPS_URL . "\")'"); - $color_label = new XoopsFormLabel("", "<img src='" . XOOPS_URL . "/modules/".$pollmodules."/images/colorbars/" . $current_bar . "' name='option_color_image[{$i}]' id='option_color_image[{$i}]' width='30' align='bottom' height='15' alt='' /><br />"); - $option_tray->addElement($color_select); - $option_tray->addElement($color_label); - if ( !next($barcolor_array) ) { - reset($barcolor_array); - } - unset($color_select, $color_label); - } - $poll_form->addElement($option_tray); - - $submit_button = new XoopsFormButton("", "poll_submit", _SUBMIT, "submit"); - $poll_form->addElement($submit_button); - $op_hidden = new XoopsFormHidden("op", "save"); - $poll_form->addElement($op_hidden); - $poll_topic_id_hidden = new XoopsFormHidden("topic_id", $topic_id); - $poll_form->addElement($poll_topic_id_hidden); - //include XOOPS_ROOT_PATH . "/header.php"; - echo "<h4>" . _MD_POLL_POLLCONF . "</h4>"; - $poll_form->display(); - //include XOOPS_ROOT_PATH . "/footer.php"; - //exit(); -} - -if ( $op == "save" ) { - /* - * The option check should be done before submitting - */ - $option_empty = true; - if (empty($_POST['option_text'])) { - redirect_header("javascript:history.go(-1);", 2, _MD_ERROROCCURED . ': ' . _MD_POLL_POLLOPTIONS . ' !'); - } - $option_text = $_POST['option_text']; - foreach ( $option_text as $optxt ) { - if ( trim($optxt) != "" ) { - $option_empty = false; - break; - } - } - if ($option_empty) { - redirect_header("javascript:history.go(-1);", 2, _MD_ERROROCCURED . ': ' . _MD_POLL_POLLOPTIONS . ' !'); - } - if ( $pollmodules == 'xoopspoll') - $poll = new XoopsPoll(); - else if ( $pollmodules == 'umfrage') - $poll = new Umfrage(); - else die("POLL-ERROR: polls.php Line 190"); - $poll->setVar("question", @$_POST['question']); - $poll->setVar("description", @$_POST['description']); - if ( !empty($_POST['end_time']) ) { - $timezone = is_object($xoopsUser) ? $xoopsUser->getVar("timezone") : null; -// Start user input time in hegira date - hacked by irmtfan (www.jadoogaran.org) -// $_POST['end_time']=inputTimeToGregorian($_POST['end_time']); -// if method is not exist use the original strtotime function - $poll->setVar("end_time", userTimeToServerTime(method_exists('XoopsLocal', 'strtotime') ? XoopsLocal::strtotime($_POST['end_time']) : strtotime($_POST['end_time']), $timezone)); -// End user input time in hegira date - hacked by irmtfan (www.jadoogaran.org) - } else { - // if expiration date is not set, set it to 10 days from now - $poll->setVar("end_time", time() + (86400 * 10)); - } - $poll->setVar("display", 0); - $poll->setVar("weight", intval(@$_POST['weight'])); - $poll->setVar("multiple", intval(@$_POST['multiple'])); - if ( !empty($_POST["notify"]) ) { - // if notify, set mail status to "not mailed" - $poll->setVar("mail_status", POLL_NOTMAILED); - } else { - // if not notify, set mail status to already "mailed" - $poll->setVar("mail_status", POLL_MAILED); - } - $uid = is_object($xoopsUser) ? $xoopsUser->getVar("uid") : 0; - $poll->setVar("user_id", $uid); - $new_poll_id = $poll->store(); - $option_color = empty($_POST['option_color']) ? NULL : $_POST['option_color']; - if ( !empty($new_poll_id) ) { - $i = 0; - foreach ( $option_text as $optxt ) { - $optxt = trim($optxt); - if ( $optxt != "" ) { - if ( $pollmodules == 'xoopspoll') - $option = new XoopsPollOption(); - else if ( $pollmodules == 'umfrage') - $option = new UmfrageOption(); - else die("POLL-ERROR: polls.php Line 223"); - $option->setVar("option_text", $optxt); - $option->setVar("option_color", $option_color[$i]); - $option->setVar("poll_id", $new_poll_id); - $option->store(); - } - $i++; - } - $sql = "UPDATE " . $xoopsDB->prefix("bb_topics") . " SET topic_haspoll = 1, poll_id = {$new_poll_id} WHERE topic_id = {$topic_id}"; - if ( !$result = $xoopsDB->query($sql) ) { - xoops_error($xoopsDB->error()); - } - include_once XOOPS_ROOT_PATH . '/class/template.php'; - xoops_template_clear_module_cache($xoopsModule->getVar('mid')); - } else { - xoops_error($poll->getHtmlErrors()); - exit(); - } - redirect_header("viewtopic.php?topic_id={$topic_id}",1,_MD_POLL_DBUPDATED); - //exit(); -} - -if ( $op == "edit" ) { - $pollid = intval($_GET['poll_id']); - if ( $pollmodules == 'xoopspoll') - $poll = new XoopsPoll($pollid); - else if ( $pollmodules == 'umfrage') - $poll = new Umfrage($pollid); - $poll_form = new XoopsThemeForm(_MD_POLL_EDITPOLL, "poll_form", "polls.php"); - $author_label = new XoopsFormLabel(_MD_POLL_AUTHOR, "<a href='" . XOOPS_URL . "/userinfo.php?uid=" . $poll->getVar("user_id") . "'>" . newbb_getUnameFromId($poll->getVar("user_id"), $xoopsModuleConfig['show_realname']) . "</a>"); - $poll_form->addElement($author_label); - $question_text = new XoopsFormText(_MD_POLL_POLLQUESTION, "question", 50, 255, $poll->getVar("question", "E")); - $poll_form->addElement($question_text); - $desc_tarea = new XoopsFormTextarea(_MD_POLL_POLLDESC, "description", $poll->getVar("description", "E")); - $poll_form->addElement($desc_tarea); - $date = formatTimestamp($poll->getVar("end_time"), "Y-m-d H:i:s"); - if ( !$poll->hasExpired() ) { - $expire_text = new XoopsFormText(_MD_POLL_EXPIRATION . "<br /><small>" . _MD_POLL_FORMAT . "<br />" . sprintf(_MD_POLL_CURRENTTIME, formatTimestamp(time(), "Y-m-d H:i:s")) . "</small>", "end_time", 20, 19, $date); - $poll_form->addElement($expire_text); - } else { - $restart_label = new XoopsFormLabel(_MD_POLL_EXPIRATION, sprintf(_MD_POLL_EXPIREDAT, $date) . "<br /><a href='polls.php?op=restart&poll_id=" . $poll->getVar("poll_id") . "'>" . _MD_POLL_RESTART . "</a>"); - $poll_form->addElement($restart_label); - } - $weight_text = new XoopsFormText(_MD_POLL_DISPLAYORDER, "weight", 6, 5, $poll->getVar("weight")); - $poll_form->addElement($weight_text); - $multi_yn = new XoopsFormRadioYN(_MD_POLL_ALLOWMULTI, "multiple", $poll->getVar("multiple")); - $poll_form->addElement($multi_yn); - if ( $pollmodules == 'xoopspoll') - $options_arr = XoopsPollOption::getAllByPollId($poll->getVar("poll_id")); - else - $options_arr =& UmfrageOption::getAllByPollId($poll->getVar("poll_id")); - $notify_value = 1; - if ( $poll->getVar("mail_status") != 0 ) { - $notify_value = 0; - } - $notify_yn = new XoopsFormRadioYN(_MD_POLL_NOTIFY, "notify", $notify_value); - $poll_form->addElement($notify_yn); - $option_tray = new XoopsFormElementTray(_MD_POLL_POLLOPTIONS, ""); - $barcolor_array = XoopsLists::getImgListAsArray(XOOPS_ROOT_PATH . "/modules/".$pollmodules."/images/colorbars/"); - $i = 0; - foreach ($options_arr as $option) { - $option_text = new XoopsFormText("", "option_text[]", 50, 255, $option->getVar("option_text")); - $option_tray->addElement($option_text); - $option_id_hidden = new XoopsFormHidden("option_id[]", $option->getVar("option_id")); - $option_tray->addElement($option_id_hidden); - $color_select = new XoopsFormSelect("", "option_color[{$i}]", $option->getVar("option_color")); - $color_select->addOptionArray($barcolor_array); - $color_select->setExtra("onchange='showImgSelected(\"option_color_image[{$i}]\", \"option_color[".$i."]\", \"modules/".$pollmodules."/images/colorbars\", \"\", \"" . XOOPS_URL . "\")'"); - $color_label = new XoopsFormLabel("", "<img src='" . XOOPS_URL . "/modules/".$pollmodules."/images/colorbars/" . $option->getVar("option_color", "E") . "' name='option_color_image[{$i}]' id='option_color_image[{$i}]' width='30' align='bottom' height='15' alt='' /><br />"); - $option_tray->addElement($color_select); - $option_tray->addElement($color_label); - unset($color_select, $color_label, $option_id_hidden, $option_text); - $i++; - } - $more_label = new XoopsFormLabel("", "<br /><a href='polls.php?op=addmore&poll_id=" . $poll->getVar("poll_id") . "&topic_id=" . $topic_id . "'>" . _MD_POLL_ADDMORE . "</a>"); - $option_tray->addElement($more_label); - $poll_form->addElement($option_tray); - $op_hidden = new XoopsFormHidden("op", "update"); - $poll_form->addElement($op_hidden); - $poll_topic_id_hidden = new XoopsFormHidden("topic_id", $topic_id); - $poll_form->addElement($poll_topic_id_hidden); - $poll_id_hidden = new XoopsFormHidden("poll_id", $poll->getVar("poll_id")); - $poll_form->addElement($poll_id_hidden); - $submit_button = new XoopsFormButton("", "poll_submit", _SUBMIT, "submit"); - $poll_form->addElement($submit_button); - //include XOOPS_ROOT_PATH . "/header.php"; - echo "<h4>" . _MD_POLL_POLLCONF . "</h4>"; - $poll_form->display(); - //include XOOPS_ROOT_PATH . "/footer.php"; - //exit(); -} - -if ( $op == "update" ) { - $option_empty = true; - if (empty($_POST['option_text'])) { - redirect_header("javascript:history.go(-1);", 2, _MD_ERROROCCURED . ': ' . _MD_POLL_POLLOPTIONS . ' !'); - } - $option_text = $_POST['option_text']; - foreach ( $option_text as $optxt ) { - if ( trim($optxt) != "" ) { - $option_empty = false; - break; - } - } - if ($option_empty) redirect_header("javascript:history.go(-1);", 2, _MD_ERROROCCURED . ': ' . _MD_POLL_POLLOPTIONS . ' !'); - - if ( $pollmodules == 'xoopspoll') - $poll = new XoopsPoll($poll_id); - else - $poll = new Umfrage($poll_id); - $poll->setVar("question", @$_POST['question']); - $poll->setVar("description", @$_POST['description']); - $end_time = (empty($_POST['end_time'])) ? "" : $_POST['end_time']; - if ( !empty($end_time) ) { - $timezone = is_object($xoopsUser) ? $xoopsUser->getVar("timezone") : null; -// Start user input time in hegira date - hacked by irmtfan (www.jadoogaran.org) -// $end_time=inputTimeToGregorian($end_time); -// if method is not exist use the original strtotime function - $poll->setVar("end_time", userTimeToServerTime(method_exists('XoopsLocal', 'strtotime') ? XoopsLocal::strtotime($end_time) : strtotime($end_time), $timezone)); -// End user input time in hegira date - hacked by irmtfan (www.jadoogaran.org) - - } - $poll->setVar("display", 0); - $poll->setVar("weight", intval(@$_POST['weight'])); - $poll->setVar("multiple", intval(@$_POST['multiple'])); - if ( !empty($_POST["notify"]) && $end_time > time() ) { - // if notify, set mail status to "not mailed" - $poll->setVar("mail_status", POLL_NOTMAILED); - } else { - // if not notify, set mail status to already "mailed" - $poll->setVar("mail_status", POLL_MAILED); - } - if ( !$poll->store() ) { - exit(); - } - $i = 0; - $option_id = (empty($_POST['option_id'])) ? NULL : $_POST['option_id']; - $option_color = (empty($_POST['option_color'])) ? NULL : $_POST['option_color']; - foreach ( $option_id as $opid ) { - if ( $pollmodules == 'xoopspoll') { - $option = new XoopsPollOption($opid); - $option_text[$i] = trim ($option_text[$i]); - if ( $option_text[$i] != "" ) { - $option->setVar("option_text", $option_text[$i]); - $option->setVar("option_color", $option_color[$i]); - $option->store(); - } else { - if ( $option->delete() != false ) { - XoopsPollLog::deleteByOptionId($option->getVar("option_id")); - } - } - } else { - $option = new UmfrageOption($opid); - $option_text[$i] = trim ($option_text[$i]); - if ( $option_text[$i] != "" ) { - $option->setVar("option_text", $option_text[$i]); - $option->setVar("option_color", $option_color[$i]); - $option->store(); - } else { - if ( $option->delete() != false ) { - UmfrageLog::deleteByOptionId($option->getVar("option_id")); - } - } - } - $i++; - } - $poll->updateCount(); - include_once XOOPS_ROOT_PATH . '/class/template.php'; - xoops_template_clear_module_cache($xoopsModule->getVar('mid')); - redirect_header("viewtopic.php?topic_id={$topic_id}", 1, _MD_POLL_DBUPDATED); - //exit(); -} - -if ( $op == "addmore" ) { - $pollid = intval($_GET['poll_id']); - if ( $pollmodules == 'xoopspoll') - $poll = new XoopsPoll($pollid); - else if ( $pollmodules == 'umfrage') - $poll = new Umfrage($pollid); - $poll_form = new XoopsThemeForm(_MD_POLL_ADDMORE, "poll_form", "polls.php"); - $question_label = new XoopsFormLabel(_MD_POLL_POLLQUESTION, $poll->getVar("question")); - $poll_form->addElement($question_label); - $option_tray = new XoopsFormElementTray(_MD_POLL_POLLOPTIONS, ""); - $barcolor_array = XoopsLists::getImgListAsArray(XOOPS_ROOT_PATH . "/modules/".$pollmodules."/images/colorbars/"); - for($i = 0; $i < 10; $i++) { - $current_bar = (current($barcolor_array) != "blank.gif") ? current($barcolor_array) : next($barcolor_array); - $option_text = new XoopsFormText("", "option_text[]", 50, 255); - $option_tray->addElement($option_text); - $color_select = new XoopsFormSelect("", "option_color[{$i}]", $current_bar); - $color_select->addOptionArray($barcolor_array); - $color_select->setExtra("onchange='showImgSelected(\"option_color_image[{$i}]\", \"option_color[{$i}]\", \"modules/".$pollmodules."/images/colorbars\", \"\", \"" . XOOPS_URL . "\")'"); - $color_label = new XoopsFormLabel("", "<img src='" . XOOPS_URL . "/modules/".$pollmodules."/images/colorbars/{$current_bar}' name='option_color_image[{$i}]' id='option_color_image[{$i}]' width='30' align='bottom' height='15' alt='' /><br />"); - $option_tray->addElement($color_select); - $option_tray->addElement($color_label); - unset($color_select, $color_label, $option_text); - if ( !next($barcolor_array) ) { - reset($barcolor_array); - } - } - $poll_form->addElement($option_tray); - $submit_button = new XoopsFormButton("", "poll_submit", _SUBMIT, "submit"); - $poll_form->addElement($submit_button); - $op_hidden = new XoopsFormHidden("op", "savemore"); - $poll_form->addElement($op_hidden); - $poll_topic_id_hidden = new XoopsFormHidden("topic_id", $topic_id); - $poll_form->addElement($poll_topic_id_hidden); - $poll_id_hidden = new XoopsFormHidden("poll_id", $poll->getVar("poll_id")); - $poll_form->addElement($poll_id_hidden); - //include XOOPS_ROOT_PATH . "/header.php"; - echo "<h4>" . _MD_POLL_POLLCONF . "</h4>"; - $poll_form->display(); - //include XOOPS_ROOT_PATH . "/footer.php"; - //exit(); -} - -if ( $op == "savemore" ) { - $option_empty = true; - if (empty($_POST['option_text'])) { - redirect_header("javascript:history.go(-1);", 2, _MD_ERROROCCURED . ': ' . _MD_POLL_POLLOPTIONS . ' !'); - } - $option_text = $_POST['option_text']; - foreach ( $option_text as $optxt ) { - if ( trim($optxt) != "" ) { - $option_empty = false; - break; - } - } - if ($option_empty) redirect_header("javascript:history.go(-1);", 2, _MD_ERROROCCURED . ': ' . _MD_POLL_POLLOPTIONS . ' !'); - - if ( $pollmodules == 'xoopspoll') - $poll = new XoopsPoll($poll_id); - else - $poll = new Umfrage($poll_id); - $i = 0; - $option_color = (empty($_POST['option_color'])) ? NULL : $_POST['option_color']; - foreach ( $option_text as $optxt ) { - $optxt = trim($optxt); - if ( $optxt != "" ) { - if ( $pollmodules == 'xoopspoll') $option = new XoopsPollOption(); - else $option = new UmfrageOption(); - $option->setVar("option_text", $optxt); - $option->setVar("poll_id", $poll->getVar("poll_id")); - $option->setVar("option_color", $option_color[$i]); - $option->store(); - } - $i++; - } - include_once XOOPS_ROOT_PATH . '/class/template.php'; - xoops_template_clear_module_cache($xoopsModule->getVar('mid')); - redirect_header("polls.php?op=edit&poll_id=" . $poll->getVar("poll_id") . "&topic_id=" . $topic_id, 1, _MD_POLL_DBUPDATED); - //exit(); -} - -if ( $op == "delete" ) { - //include XOOPS_ROOT_PATH . "/header.php"; - echo "<h4>" . _MD_POLL_POLLCONF . "</h4>"; - $poll = new XoopsPoll($_GET['poll_id']); - xoops_confirm(array('op' => 'delete_ok', 'topic_id' => $topic_id, 'poll_id' => $poll->getVar('poll_id')), 'polls.php', sprintf(_MD_POLL_RUSUREDEL, $poll->getVar("question"))); - //include XOOPS_ROOT_PATH . "/footer.php"; - //exit(); -} - -if ( $op == "delete_ok" ) { - if ( $pollmodules == 'xoopspoll') - $poll = new XoopsPoll($poll_id); - else - $poll = new Umfrage($poll_id); - if ( $poll->delete() != false ) { - if ( $pollmodules == 'xoopspoll') { - XoopsPollOption::deleteByPollId($poll->getVar("poll_id")); - XoopsPollLog::deleteByPollId($poll->getVar("poll_id")); - } else { - UmfrageOption::deleteByPollId($poll->getVar("poll_id")); - UmfrageLog::deleteByPollId($poll->getVar("poll_id")); - } - include_once XOOPS_ROOT_PATH . '/class/template.php'; - xoops_template_clear_module_cache($xoopsModule->getVar('mid')); - // delete comments for this poll - xoops_comment_delete($xoopsModule->getVar('mid'), $poll->getVar('poll_id')); - $sql = "UPDATE " . $xoopsDB->prefix("bb_topics") . " SET votes = 0, topic_haspoll = 0, poll_id = 0 WHERE topic_id = {$topic_id}"; - if ( !$result = $xoopsDB->query($sql) ) { - //xoops_error($xoopsDB->error()); - } - } - redirect_header("viewtopic.php?topic_id={$topic_id}", 1, _MD_POLL_DBUPDATED); - //exit(); -} - -if ( $op == "restart" ) { - $pollid = intval($_GET['poll_id']); - if ( $pollmodules == 'xoopspoll') - $poll = new XoopsPoll($pollid); - else if ( $pollmodules == 'umfrage') - $poll = new Umfrage($pollid); - $poll_form = new XoopsThemeForm(_MD_POLL_RESTARTPOLL, "poll_form", "polls.php"); - $expire_text = new XoopsFormText(_MD_POLL_EXPIRATION . "<br /><small>" . _MD_POLL_FORMAT . "<br />" . sprintf(_MD_POLL_CURRENTTIME, formatTimestamp(time(), "Y-m-d H:i:s")) . "</small>", "end_time", 20, 19, formatTimestamp(time() + 604800, "Y-m-d H:i:s")); - $poll_form->addElement($expire_text); - $notify_yn = new XoopsFormRadioYN(_MD_POLL_NOTIFY, "notify", 1); - $poll_form->addElement($notify_yn); - $reset_yn = new XoopsFormRadioYN(_MD_POLL_RESET, "reset", 0); - $poll_form->addElement($reset_yn); - $op_hidden = new XoopsFormHidden("op", "restart_ok"); - $poll_form->addElement($op_hidden); - $poll_topic_id_hidden = new XoopsFormHidden("topic_id", $topic_id); - $poll_form->addElement($poll_topic_id_hidden); - $poll_id_hidden = new XoopsFormHidden("poll_id", $poll->getVar("poll_id")); - $poll_form->addElement($poll_id_hidden); - $submit_button = new XoopsFormButton("", "poll_submit", _MD_POLL_RESTART, "submit"); - $poll_form->addElement($submit_button); - //include XOOPS_ROOT_PATH . "/header.php"; - echo "<h4>" . _MD_POLL_POLLCONF . "</h4>"; - $poll_form->display(); - //include XOOPS_ROOT_PATH . "/footer.php"; - //exit(); -} - -if ( $op == "restart_ok" ) { - if ( $pollmodules == 'xoopspoll') - $poll = new XoopsPoll($poll_id); - else - $poll = new Umfrage($poll_id); - $end_time = (empty($_POST['end_time'])) ? "" : $_POST['end_time']; - if ( !empty($end_time) ) { - $timezone = is_object($xoopsUser) ? $xoopsUser->getVar("timezone") : null; -// Start user input time in hegira date - hacked by irmtfan (www.jadoogaran.org) -// $end_time=inputTimeToGregorian($end_time); -// if method is not exist use the original strtotime function - $poll->setVar("end_time", userTimeToServerTime(method_exists('XoopsLocal', 'strtotime') ? XoopsLocal::strtotime($end_time) : strtotime($end_time), $timezone)); -// End user input time in hegira date - hacked by irmtfan (www.jadoogaran.org) - } else { - $poll->setVar("end_time", time() + (86400 * 10)); - } - if ( !empty($_POST["notify"]) && $end_time > time() ) { - // if notify, set mail status to "not mailed" - $poll->setVar("mail_status", POLL_NOTMAILED); - } else { - // if not notify, set mail status to already "mailed" - $poll->setVar("mail_status", POLL_MAILED); - } - if ( !empty($_POST["reset"]) ) { - // reset all logs - if ( $pollmodules == 'xoopspoll') { - XoopsPollLog::deleteByPollId($poll->getVar("poll_id")); - XoopsPollOption::resetCountByPollId($poll->getVar("poll_id")); - } else { - UmfrageLog::deleteByPollId($poll->getVar("poll_id")); - UmfrageOption::resetCountByPollId($poll->getVar("poll_id")); - } - } - if (!$poll->store()) { - //xoops_error($poll->getHtmlErrors()); - exit(); - } - $poll->updateCount(); - include_once XOOPS_ROOT_PATH . '/class/template.php'; - xoops_template_clear_module_cache($xoopsModule->getVar('mid')); - redirect_header("viewtopic.php?topic_id={$topic_id}", 1, _MD_POLL_DBUPDATED); - //exit(); -} - -if ( $op == "log" ) { - //include XOOPS_ROOT_PATH . "/header.php"; - echo "<h4>" . _MD_POLL_POLLCONF . "</h4>"; - echo "<br />View Log<br /> Sorry, not yet. ;-)"; - //include XOOPS_ROOT_PATH . "/footer.php"; - //exit(); -} - -include XOOPS_ROOT_PATH . "/footer.php"; +<?php +/** + * Newbb module + * + * 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 http://www.fsf.org/copyleft/gpl.html GNU public license + * @package newbb + * @since 4.0 + * @author Taiwen Jiang <ph...@us...> + * @version $Id: polls.php 2175 2008-09-23 14:07:03Z phppp $ + */ + + +include_once dirname(__FILE__) . "/header.php"; + +include_once XOOPS_ROOT_PATH . "/class/xoopsformloader.php"; +include_once XOOPS_ROOT_PATH . "/class/xoopslists.php"; +include_once XOOPS_ROOT_PATH . "/class/xoopsblock.php"; + +$pollmodules = NULL; +$xoopspoll = &$module_handler->getByDirname('xoopspoll'); +if (is_object($xoopspoll) && $xoopspoll->getVar('isactive')) { + $pollmodules = 'xoopspoll'; +} else { + //Umfrage + $xoopspoll = &$module_handler->getByDirname('umfrage'); + if (is_object($xoopspoll) && $xoopspoll->getVar('isactive')) + $pollmodules = 'umfrage'; +} + +if ( $pollmodules == 'xoopspoll') +{ + include XOOPS_ROOT_PATH . "/modules/xoopspoll/include/constants.php"; + include_once XOOPS_ROOT_PATH . "/modules/xoopspoll/class/xoopspoll.php"; + include_once XOOPS_ROOT_PATH . "/modules/xoopspoll/class/xoopspolloption.php"; + include_once XOOPS_ROOT_PATH . "/modules/xoopspoll/class/xoopspolllog.php"; + include_once XOOPS_ROOT_PATH . "/modules/xoopspoll/class/xoopspollrenderer.php"; +} +elseif ($pollmodules == 'umfrage') +{ + include XOOPS_ROOT_PATH."/modules/umfrage/include/constants.php"; + include_once XOOPS_ROOT_PATH."/modules/umfrage/class/umfrage.php"; + include_once XOOPS_ROOT_PATH."/modules/umfrage/class/umfrageoption.php"; + include_once XOOPS_ROOT_PATH."/modules/umfrage/class/umfragelog.php"; + include_once XOOPS_ROOT_PATH."/modules/umfrage/class/umfragerenderer.php"; +} +else +{ + redirect_header("javascript:history.go(-1);", 2, _MD_POLLMODULE_ERROR); + exit(); +} +// irmtfan correct the way and typo=addmor -> addmore +$op = "add"; +if (isset($_REQUEST['op'])) $op = $_REQUEST['op']; +if ( !in_array( $op,array('add','save','edit','update','addmore','savemore','delete','delete_ok','restart','restart_ok','log')) ) $op = "add"; +if (isset($_GET['poll_id'])) $poll_id = intval($_GET['poll_id']); +if (isset($_POST['poll_id'])) $poll_id = intval($_POST['poll_id']); +if (isset($_GET['topic_id'])) $topic_id = intval($_GET['topic_id']); +if (isset($_POST['topic_id'])) $topic_id = intval($_POST['topic_id']); + +if (!isset($module_handler)) $module_handler =& xoops_gethandler('module'); +$xoopspoll =& $module_handler->getByDirname($pollmodules); +if (!is_object($xoopspoll) || !$xoopspoll->getVar('isactive')) { + redirect_header("javascript:history.go(-1);", 2, _MD_POLLMODULE_ERROR); + exit(); +} + +include XOOPS_ROOT_PATH . "/header.php"; + +$topic_handler =& xoops_getmodulehandler('topic', 'newbb'); +$topic_obj =& $topic_handler->get($topic_id); +$forum = $topic_obj->getVar('forum_id'); +$forum_handler =& xoops_getmodulehandler('forum', 'newbb'); +$forum_obj =& $forum_handler->get($forum); +if (!$forum_handler->getPermission($forum_obj)) { + redirect_header("index.php", 2, _MD_NORIGHTTOACCESS); + exit(); +} +if (!$topic_handler->getPermission($forum_obj, $topic_obj->getVar('topic_status'), "view")) { + redirect_header("viewforum.php?forum=" . $forum_obj->getVar('forum_id'), 2, _MD_NORIGHTTOVIEW); + exit(); +} + +$isadmin = newbb_isAdmin($forum_obj); +$perm = false; +if ($isadmin) { + $perm = true; +} elseif ($topic_handler->getPermission($forum_obj, $topic_obj->getVar('topic_status'), "addpoll") + //&& $forum_obj->getVar('allow_polls') == 1 +) { + if ( ($op=="add" || $op=="save") && !$topic_obj->getVar("topic_haspoll") && is_object($xoopsUser) && $xoopsUser->getVar("uid") == $topic_obj->getVar("topic_poster") ) { + $perm = true; + } elseif (!empty($poll_id)) { + $poll = new XoopsPoll($poll_id); + if (is_object($xoopsUser) && $xoopsUser->getVar("uid") == $poll->getVar("user_id")) { + $perm = true; + } + } +} +if (!$perm) { + redirect_header("viewtopic.php?topic_id=" . $topic_id, 2, _NOPERM); + exit(); +} + +if ( $op == "add" ) { + $poll_form = new XoopsThemeForm(_MD_POLL_CREATNEWPOLL, "poll_form", "polls.php"); + + $question_text = new XoopsFormText(_MD_POLL_POLLQUESTION, "question", 50, 255); + $poll_form->addElement($question_text, true); + + $desc_tarea = new XoopsFormTextarea(_MD_POLL_POLLDESC, "description"); + $poll_form->addElement($desc_tarea); + + $currenttime = formatTimestamp(time(), "Y-m-d H:i:s"); + $endtime = formatTimestamp(time() + 604800, "Y-m-d H:i:s"); + $expire_text = new XoopsFormText(_MD_POLL_EXPIRATION . "<br /><small>" . _MD_POLL_FORMAT . "<br />" . sprintf(_MD_POLL_CURRENTTIME, $currenttime) . "</small>", "end_time", 30, 19, $endtime); + $poll_form->addElement($expire_text); + + $weight_text = new XoopsFormText(_MD_POLL_DISPLAYORDER, "weight", 6, 5, 0); + $poll_form->addElement($weight_text); + + $multi_yn = new XoopsFormRadioYN(_MD_POLL_ALLOWMULTI, "multiple", 0); + $poll_form->addElement($multi_yn); + + $notify_yn = new XoopsFormRadioYN(_MD_POLL_NOTIFY, "notify", 1); + $poll_form->addElement($notify_yn); + + $option_tray = new XoopsFormElementTray(_MD_POLL_POLLOPTIONS, ""); + $barcolor_array = XoopsLists::getImgListAsArray(XOOPS_ROOT_PATH . "/modules/".$pollmodules."/images/colorbars/"); + for($i = 0; $i < 10; $i++) { + $current_bar = (current($barcolor_array) != "blank.gif") ? current($barcolor_array) : next($barcolor_array); + $option_text = new XoopsFormText("", "option_text[]", 50, 255); + $option_tray->addElement($option_text); + $color_select = new XoopsFormSelect("", "option_color[{$i}]", $current_bar); + $color_select->addOptionArray($barcolor_array); + $color_select->setExtra("onchange='showImgSelected(\"option_color_image[{$i}]\", \"option_color[{$i}]\", \"modules/".$pollmodules."/images/colorbars\", \"\", \"" . XOOPS_URL . "\")'"); + $color_label = new XoopsFormLabel("", "<img src='" . XOOPS_URL . "/modules/".$pollmodules."/images/colorbars/" . $current_bar . "' name='option_color_image[{$i}]' id='option_color_image[{$i}]' width='30' align='bottom' height='15' alt='' /><br />"); + $option_tray->addElement($color_select); + $option_tray->addElement($color_label); + if ( !next($barcolor_array) ) { + reset($barcolor_array); + } + unset($color_select, $color_label); + } + $poll_form->addElement($option_tray); + + $submit_button = new XoopsFormButton("", "poll_submit", _SUBMIT, "submit"); + $poll_form->addElement($submit_button); + $op_hidden = new XoopsFormHidden("op", "save"); + $poll_form->addElement($op_hidden); + $poll_topic_id_hidden = new XoopsFormHidden("topic_id", $topic_id); + $poll_form->addElement($poll_topic_id_hidden); + //include XOOPS_ROOT_PATH . "/header.php"; + echo "<h4>" . _MD_POLL_POLLCONF . "</h4>"; + $poll_form->display(); + //include XOOPS_ROOT_PATH . "/footer.php"; + //exit(); +} + +if ( $op == "save" ) { + /* + * The option check should be done before submitting + */ + $option_empty = true; + if (empty($_POST['option_text'])) { + redirect_header("javascript:history.go(-1);", 2, _MD_ERROROCCURED . ': ' . _MD_POLL_POLLOPTIONS . ' !'); + } + $option_text = $_POST['option_text']; + foreach ( $option_text as $optxt ) { + if ( trim($optxt) != "" ) { + $option_empty = false; + break; + } + } + if ($option_empty) { + redirect_header("javascript:history.go(-1);", 2, _MD_ERROROCCURED . ': ' . _MD_POLL_POLLOPTIONS . ' !'); + } + if ( $pollmodules == 'xoopspoll') + $poll = new XoopsPoll(); + else if ( $pollmodules == 'umfrage') + $poll = new Umfrage(); + else die("POLL-ERROR: polls.php Line 190"); + $poll->setVar("question", @$_POST['question']); + $poll->setVar("description", @$_POST['description']); + if ( !empty($_POST['end_time']) ) { + $timezone = is_object($xoopsUser) ? $xoopsUser->getVar("timezone") : null; + //$poll->setVar("end_time", userTimeToServerTime(strtotime($_POST['end_time']), $timezone)); + //Hack by irmtfan + $poll->setVar("end_time", userTimeToServerTime(method_exists('XoopsLocal', 'strtotime') ? XoopsLocal::strtotime($_POST['end_time']) : strtotime($_POST['end_time']), $timezone)); + } else { + // if expiration date is not set, set it to 10 days from now + $poll->setVar("end_time", time() + (86400 * 10)); + } + $poll->setVar("display", 0); + $poll->setVar("weight", intval(@$_POST['weight'])); + $poll->setVar("multiple", intval(@$_POST['multiple'])); + if ( !empty($_POST["notify"]) ) { + // if notify, set mail status to "not mailed" + $poll->setVar("mail_status", POLL_NOTMAILED); + } else { + // if not notify, set mail status to already "mailed" + $poll->setVar("mail_status", POLL_MAILED); + } + $uid = is_object($xoopsUser) ? $xoopsUser->getVar("uid") : 0; + $poll->setVar("user_id", $uid); + $new_poll_id = $poll->store(); + $option_color = empty($_POST['option_color']) ? NULL : $_POST['option_color']; + if ( !empty($new_poll_id) ) { + $i = 0; + foreach ( $option_text as $optxt ) { + $optxt = trim($optxt); + if ( $optxt != "" ) { + if ( $pollmodules == 'xoopspoll') + $option = new XoopsPollOption(); + else if ( $pollmodules == 'umfrage') + $option = new UmfrageOption(); + else die("POLL-ERROR: polls.php Line 223"); + $option->setVar("option_text", $optxt); + $option->setVar("option_color", $option_color[$i]); + $option->setVar("poll_id", $new_poll_id); + $option->store(); + } + $i++; + } + $sql = "UPDATE " . $xoopsDB->prefix("bb_topics") . " SET topic_haspoll = 1, poll_id = {$new_poll_id} WHERE topic_id = {$topic_id}"; + if ( !$result = $xoopsDB->query($sql) ) { + xoops_error($xoopsDB->error()); + } + include_once XOOPS_ROOT_PATH . '/class/template.php'; + xoops_template_clear_module_cache($xoopsModule->getVar('mid')); + } else { + xoops_error($poll->getHtmlErrors()); + exit(); + } + redirect_header("viewtopic.php?topic_id={$topic_id}",1,_MD_POLL_DBUPDATED); + //exit(); +} + +if ( $op == "edit" ) { + $pollid = intval($_GET['poll_id']); + if ( $pollmodules == 'xoopspoll') + $poll = new XoopsPoll($pollid); + else if ( $pollmodules == 'umfrage') + $poll = new Umfrage($pollid); + $poll_form = new XoopsThemeForm(_MD_POLL_EDITPOLL, "poll_form", "polls.php"); + $author_label = new XoopsFormLabel(_MD_POLL_AUTHOR, "<a href='" . XOOPS_URL . "/userinfo.php?uid=" . $poll->getVar("user_id") . "'>" . newbb_getUnameFromId($poll->getVar("user_id"), $xoopsModuleConfig['show_realname']) . "</a>"); + $poll_form->addElement($author_label); + $question_text = new XoopsFormText(_MD_POLL_POLLQUESTION, "question", 50, 255, $poll->getVar("question", "E")); + $poll_form->addElement($question_text); + $desc_tarea = new XoopsFormTextarea(_MD_POLL_POLLDESC, "description", $poll->getVar("description", "E")); + $poll_form->addElement($desc_tarea); + $date = formatTimestamp($poll->getVar("end_time"), "Y-m-d H:i:s"); + if ( !$poll->hasExpired() ) { + $expire_text = new XoopsFormText(_MD_POLL_EXPIRATION . "<br /><small>" . _MD_POLL_FORMAT . "<br />" . sprintf(_MD_POLL_CURRENTTIME, formatTimestamp(time(), "Y-m-d H:i:s")) . "</small>", "end_time", 20, 19, $date); + $poll_form->addElement($expire_text); + } else { + $restart_label = new XoopsFormLabel(_MD_POLL_EXPIRATION, sprintf(_MD_POLL_EXPIREDAT, $date) . "<br /><a href='polls.php?op=restart&poll_id=" . $poll->getVar("poll_id") . "'>" . _MD_POLL_RESTART . "</a>"); + $poll_form->addElement($restart_label); + } + $weight_text = new XoopsFormText(_MD_POLL_DISPLAYORDER, "weight", 6, 5, $poll->getVar("weight")); + $poll_form->addElement($weight_text); + $multi_yn = new XoopsFormRadioYN(_MD_POLL_ALLOWMULTI, "multiple", $poll->getVar("multiple")); + $poll_form->addElement($multi_yn); + if ( $pollmodules == 'xoopspoll') + $options_arr = XoopsPollOption::getAllByPollId($poll->getVar("poll_id")); + else + $options_arr =& UmfrageOption::getAllByPollId($poll->getVar("poll_id")); + $notify_value = 1; + if ( $poll->getVar("mail_status") != 0 ) { + $notify_value = 0; + } + $notify_yn = new XoopsFormRadioYN(_MD_POLL_NOTIFY, "notify", $notify_value); + $poll_form->addElement($notify_yn); + $option_tray = new XoopsFormElementTray(_MD_POLL_POLLOPTIONS, ""); + $barcolor_array = XoopsLists::getImgListAsArray(XOOPS_ROOT_PATH . "/modules/".$pollmodules."/images/colorbars/"); + $i = 0; + foreach ($options_arr as $option) { + $option_text = new XoopsFormText("", "option_text[]", 50, 255, $option->getVar("option_text")); + $option_tray->addElement($option_text); + $option_id_hidden = new XoopsFormHidden("option_id[]", $option->getVar("option_id")); + $option_tray->addElement($option_id_hidden); + $color_select = new XoopsFormSelect("", "option_color[{$i}]", $option->getVar("option_color")); + $color_select->addOptionArray($barcolor_array); + $color_select->setExtra("onchange='showImgSelected(\"option_color_image[{$i}]\", \"option_color[".$i."]\", \"modules/".$pollmodules."/images/colorbars\", \"\", \"" . XOOPS_URL . "\")'"); + $color_label = new XoopsFormLabel("", "<img src='" . XOOPS_URL . "/modules/".$pollmodules."/images/colorbars/" . $option->getVar("option_color", "E") . "' name='option_color_image[{$i}]' id='option_color_image[{$i}]' width='30' align='bottom' height='15' alt='' /><br />"); + $option_tray->addElement($color_select); + $option_tray->addElement($color_label); + unset($color_select, $color_label, $option_id_hidden, $option_text); + $i++; + } + $more_label = new XoopsFormLabel("", "<br /><a href='polls.php?op=addmore&poll_id=" . $poll->getVar("poll_id") . "&topic_id=" . $topic_id . "'>" . _MD_POLL_ADDMORE . "</a>"); + $option_tray->addElement($more_label); + $poll_form->addElement($option_tray); + $op_hidden = new XoopsFormHidden("op", "update"); + $poll_form->addElement($op_hidden); + $poll_topic_id_hidden = new XoopsFormHidden("topic_id", $topic_id); + $poll_form->addElement($poll_topic_id_hidden); + $poll_id_hidden = new XoopsFormHidden("poll_id", $poll->getVar("poll_id")); + $poll_form->addElement($poll_id_hidden); + $submit_button = new XoopsFormButton("", "poll_submit", _SUBMIT, "submit"); + $poll_form->addElement($submit_button); + //include XOOPS_ROOT_PATH . "/header.php"; + echo "<h4>" . _MD_POLL_POLLCONF . "</h4>"; + $poll_form->display(); + //include XOOPS_ROOT_PATH . "/footer.php"; + //exit(); +} + +if ( $op == "update" ) { + $option_empty = true; + if (empty($_POST['option_text'])) { + redirect_header("javascript:history.go(-1);", 2, _MD_ERROROCCURED . ': ' . _MD_POLL_POLLOPTIONS . ' !'); + } + $option_text = $_POST['option_text']; + foreach ( $option_text as $optxt ) { + if ( trim($optxt) != "" ) { + $option_empty = false; + break; + } + } + if ($option_empty) redirect_header("javascript:history.go(-1);", 2, _MD_ERROROCCURED . ': ' . _MD_POLL_POLLOPTIONS . ' !'); + + if ( $pollmodules == 'xoopspoll') + $poll = new XoopsPoll($poll_id); + else + $poll = new Umfrage($poll_id); + $poll->setVar("question", @$_POST['question']); + $poll->setVar("description", @$_POST['description']); + $end_time = (empty($_POST['end_time'])) ? "" : $_POST['end_time']; + if ( !empty($end_time) ) { + $timezone = is_object($xoopsUser) ? $xoopsUser->getVar("timezone") : null; + //$poll->setVar("end_time", userTimeToServerTime(strtotime($end_time), $timezone)); + //Hack by Irmtfan + $poll->setVar("end_time", userTimeToServerTime(method_exists('XoopsLocal', 'strtotime') ? XoopsLocal::strtotime($end_time) : strtotime($end_time), $timezone)); + } + $poll->setVar("display", 0); + $poll->setVar("weight", intval(@$_POST['weight'])); + $poll->setVar("multiple", intval(@$_POST['multiple'])); + if ( !empty($_POST["notify"]) && $end_time > time() ) { + // if notify, set mail status to "not mailed" + $poll->setVar("mail_status", POLL_NOTMAILED); + } else { + // if not notify, set mail status to already "mailed" + $poll->setVar("mail_status", POLL_MAILED); + } + if ( !$poll->store() ) { + exit(); + } + $i = 0; + $option_id = (empty($_POST['option_id'])) ? NULL : $_POST['option_id']; + $option_color = (empty($_POST['option_color'])) ? NULL : $_POST['option_color']; + foreach ( $option_id as $opid ) { + if ( $pollmodules == 'xoopspoll') { + $option = new XoopsPollOption($opid); + $option_text[$i] = trim ($option_text[$i]); + if ( $option_text[$i] != "" ) { + $option->setVar("option_text", $option_text[$i]); + $option->setVar("option_color", $option_color[$i]); + $option->store(); + } else { + if ( $option->delete() != false ) { + XoopsPollLog::deleteByOptionId($option->getVar("option_id")); + } + } + } else { + $option = new UmfrageOption($opid); + $option_text[$i] = trim ($option_text[$i]); + if ( $option_text[$i] != "" ) { + $option->setVar("option_text", $option_text[$i]); + ... [truncated message content] |
From: <ren...@us...> - 2012-08-25 20:35:32
|
Revision: 10117 http://xoops.svn.sourceforge.net/xoops/?rev=10117&view=rev Author: renetjuh Date: 2012-08-25 20:35:24 +0000 (Sat, 25 Aug 2012) Log Message: ----------- Upload NL language files soapbox 1.60 Added Paths: ----------- XoopsLanguages/dutch/modules/soapbox/ XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/ XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/ XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/admin.php XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/blocks.php XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/help/ XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/help/help.html XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/help/index.html XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/index.html XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/ XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/article_approve_notify.tpl XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/column_articlesubmit_notify.tpl XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/column_newarticle_notify.tpl XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/global_articlesubmit_notify.tpl XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/global_newarticle_notify.tpl XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/global_newcolumn_notify.tpl XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/main.php XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/modinfo.php Property changes on: XoopsLanguages/dutch/modules/soapbox ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/dutch/modules/soapbox/soapbox 1.60 ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/admin.php =================================================================== --- XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/admin.php (rev 0) +++ XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/admin.php 2012-08-25 20:35:24 UTC (rev 10117) @@ -0,0 +1,150 @@ +<?php +/** + * $Id: admin.php v 1.5 23 August 2004 hsalazar Exp $ + * Module: Soapbox + * Version: v 1.5 + * Release Date: 23 August 2004 + * Author: hsalazar + * Licence: GNU + */ + +define("_AM_SB_ABOUT", "Over"); +define("_AM_SB_ACTION", "Actie"); +define("_AM_SB_ADMINARTMNGMT", "Artikelenbeheer"); +define("_AM_SB_ADMINCOLMNGMT", "Kolommenbeheer"); +define("_AM_SB_ALLOWCOMMENTS", "Kunnen er reacties gegeven worden op het artikel?"); +define("_AM_SB_ARTAUTHORIZED", "Het artikel is geautoriseerd."); +define("_AM_SB_ARTBODY", "Body text<span style='font-size: xx-small; font-weight: normal; display: block;'>(You can create multi-page articles by inserting the tag [pagebreak] wherever you want to put a break.)</span>"); +define("_AM_SB_ARTCOLNAME", "Kolomnaam"); +define("_AM_SB_ARTCREATED", "Aangemaakt"); +define("_AM_SB_ARTCREATEDOK", "Het artikel is succesvol aangemaakt!"); +define("_AM_SB_ARTHEADLINE", "Titel"); +define("_AM_SB_ARTID", "ID"); +define("_AM_SB_ARTISDELETED", "Het artikel is verwijderd."); +define("_AM_SB_ARTISOFF", "Artikel is offline"); +define("_AM_SB_ARTISON", "Artikel is online"); +define("_AM_SB_ARTISSUB", "Artikel is nog niet goedgekeurd."); +define("_AM_SB_ARTLEAD", "Intro paragraaf<span style='font-size: xx-small; font-weight: normal; display: block;'>(Eerste paragraaf van het artikel.)</span>"); +define("_AM_SB_ARTMODIFIED", "Het artikel is succesvol bewerkt!"); +define("_AM_SB_ARTNOTCREATED", "Sorry. Het was niet mogelijk om het artikel aan te maken!"); +define("_AM_SB_ARTNOTUPDATED", "Sorry. Het wat niet mogelijk om het artikel te bewerken!"); +define("_AM_SB_ARTS", "Artikelen"); +define("_AM_SB_ARTTEASER", "Artikel teaser<span style='font-size: xx-small; font-weight: normal; display: block;'>(Paragraaf die wordt weergegeven in de indexpagina.)</span>"); +define("_AM_SB_ARTSTEXT", "Dit overzicht toont de gepubliceerde artikelen aanwezig in deze module, online en offline."); +define("_AM_SB_AUTHART", "Indienen authoriseren"); +define("_AM_SB_AUTHOR", "Auteur"); +define("_AM_SB_AUTHORIZE", "Authorizeren"); +define("_AM_SB_AUTOTEASER", "Teaser automatisch aanmmaken?:"); +define("_AM_SB_AUTOTEASERAMOUNT", "Auto-teaser karakters:"); +define("_AM_SB_BACK2IDX", "Geannuleerd. Terug naar de indexpagina"); +define("_AM_SB_BLOCK", "Toevoegen aan artikelen blok?"); +define("_AM_SB_BLOCKS", "Blokken"); +define("_AM_SB_BY", "Door"); +define("_AM_SB_BREAKS", "Gebruik linebreak conversie?"); +define("_AM_SB_CANCEL", "Annuleren"); +define("_AM_SB_CLEAR", "Legen"); +define("_AM_SB_COLCREATED", "Nieuwe kolom is aangemaakt en opgeslagen! Stel nu de permissies is."); +define("_AM_SB_COLDESCRIPT", "Kolomomschrijving"); +define("_AM_SB_COLIMAGE", "Kolomafbeelding"); +define("_AM_SB_COLIMAGEUPLOAD", "Kolomafbeelding uploaden"); +define("_AM_SB_COLISDELETED", "Kolom %s is verwijderd"); +define("_AM_SB_COLMODIFIED", "De gekozen kolom is bijgewerkt en opgeslagen!"); +define("_AM_SB_COLNAME", "Kolomnaam"); +define("_AM_SB_COLPERMS", "Kolompermissies"); +define("_AM_SB_COLPOSIT", "Kolompositie"); +define("_AM_SB_COLS", "Kolommen"); +define("_AM_SB_COLSHEADER", "Module kolombeheer"); +define("_AM_SB_COLSTEXT", "Dit overzicht toont alle kolommen aanwezig in deze module."); +define("_AM_SB_CREATE", "Toevoegen"); +define("_AM_SB_CREATEART", "Artikel toevoegen"); +define("_AM_SB_CREATECOL", "Kolom toevoegen"); +define("_AM_SB_CREATINGART", " > Nieuw artikel aamaken"); +define("_AM_SB_CREATINGCOL", " > Nieuwe kolom aanmaken"); +define("_AM_SB_CREATEIN", "Aanmaken in categorie:"); +define("_AM_SB_DELETE", "Verwijderen"); +define("_AM_SB_DELETEART", "Artikel verwijderen"); +define("_AM_SB_DELETECOL", "Kolom verwijderen"); +define("_AM_SB_DELETESUBM", "Ingediend artikel verwijderen"); +define("_AM_SB_DELETETHISARTICLE", "Dit artikel verwijderen?"); +define("_AM_SB_DELETETHISCOL", "Deze kolom zeker weten verwijderen?"); +define("_AM_SB_DESCRIP", "Kolomomschrijving"); +define("_AM_SB_DOHTML", "HTML tags inschakelen"); +define("_AM_SB_DOSMILEY", "Smilies inschakelen"); +define("_AM_SB_DOXCODE", "XOOPS codes ingeschakelen"); +define("_AM_SB_EDITART", "Artikel bewerken"); +define("_AM_SB_EDITCOL", "Kolom bewerken"); +define("_AM_SB_EDITING", "> Bewerken '"); +define("_AM_SB_EDITSUBM", "Ingediend artikel bewerken"); +define("_AM_SB_FILEEXISTS", "Een bestand met die naam bestaat al op de server. Kies een andere naam!"); +define("_AM_SB_GOMOD", "Ga naar module"); +define("_AM_SB_HELP", "Hulp"); +define("_AM_SB_HILITE", "Hoogtepunt blokken"); +define("_AM_SB_ID", "ID"); +define("_AM_SB_IDXINTRO", "Vandaag, %s, de module content is als volgt:"); +define("_AM_SB_INDEX", "Index"); +define("_AM_SB_INVENTORY", "Items overzicht"); +define("_AM_SB_MODADMIN", " Module admin: "); +define("_AM_SB_MODART", "Artikel bijwerken"); +define("_AM_SB_MODCOL", "Bestaande kolom bewerken"); +define("_AM_SB_MODCONTENT", "Module's content"); +define("_AM_SB_MODIFY", "Bewerken"); +define("_AM_SB_MODIFYCOL", "Kolom bijwerken"); +define("_AM_SB_MODIFYTHISCOL", "Deze kolom bewerken?"); +define("_AM_SB_MODULEHEAD", "Artikelen en kolommen"); +define("_AM_SB_NEEDONECOLUMN", "Om een artikel aan te maken dient er eerst een kolom aangemaakt te worden."); +define("_AM_SB_NEWART", "Artikel toevoegen"); +define("_AM_SB_NEWCOL", "Kolom toevoegen"); +define("_AM_SB_NO", "Nee"); +define("_AM_SB_NOARTS", "Geen artikelen om weer te geven"); +define("_AM_SB_NOCOLS", "Geen kolommen om weer te geven"); +define("_AM_SB_NOCOLTOEDIT", "Er zijn geen kolommen om te bewerken!"); +define("_AM_SB_NOHILITE", "Geen kolom geaccentueerd"); +define("_AM_SB_NOPERMSSET", "Kan permissies niet instellen: Nog geen kolommen aangemaakt!"); +define("_AM_SB_NOSUBMISSYET", "Er zijn geen ingediende artikelen die wachten op goedkeuring."); +define("_AM_SB_NOTUPDATED", "Er was een error tijdens het bijwerken van de database!"); +define("_AM_SB_OPTIONS", "Opties"); +define("_AM_SB_OPTS", "Module opties"); +define("_AM_SB_ORDERUPDATED", "Gewicht herordend"); +define("_AM_SB_PERMS", "Permissies"); +define("_AM_SB_PERMSMNGMT", "Permissies beheer"); +define("_AM_SB_PERMSNOTE", "<div><b>OPMERKING:</b> Zelfs als alle permissies om te bekijken hiet goed staan, is het mogelijk dat een groep niet de artikelen en blokken ziet als deze geen permissies hebben om de module te gebruiken. Ga naar <b>Systeem admin > Groepen</b>, Kies de juiste groep en klik de checkboxen om de juiste rechten te geven.</div>"); +define("_AM_SB_REORDERCOL", "Kolommen herordenen"); +define("_AM_SB_SELALL", "Alle artikelen"); +define("_AM_SB_SELAPV", "Goedgekeurde artikelen"); +define("_AM_SB_SELOFF", "Offline artikelen"); +define("_AM_SB_SELONL", "Online artikelen"); +define("_AM_SB_SELSUB", "Ingediende artikelen"); +define("_AM_SB_SELECT_COLS", "Selecteer kolommen die door elke groep bekeken mag worden"); +define("_AM_SB_SELECTSTATUS", "Selecteer een status: "); +define("_AM_SB_SELECT_IMG", "Selecteer artikelafbeelding:"); +define("_AM_SB_SHOWARTS", "Artikelen"); +define("_AM_SB_SHOWCOLS", "Kolommen"); +define("_AM_SB_SHOWSUBMISSIONS", "Artikelen wachtend op goedkeuring"); +define("_AM_SB_SHWALL", "Alle artikelen weergeven"); +define("_AM_SB_SHWAPV", "Goedgekeurde artikelen weergeven"); +define("_AM_SB_SHWOFF", "Offline artikelen weergeven"); +define("_AM_SB_SHWONL", "Online artikelen weergeven"); +define("_AM_SB_SHWSUB", "Ingediende artikelen weergeven"); +define("_AM_SB_STATUS", "Status"); +define("_AM_SB_SUBS", "Artikelen > Authorizeren '"); +define("_AM_SB_SUBTEXT", "Deze lijst toont de ingediende artikelen van de auteurs; Deze artikelen wacthen op goedkeuring."); +define("_AM_SB_SUBMITS", "Indiende artikelen"); +define("_AM_SB_SUBMITSMNGMT", "Ingediende artikelen beheer"); +define("_AM_SB_SWITCHOFFLINE", "Maak artikel offline?"); +define("_AM_SB_TOTART", "Gepubliceerde artikelen: <strong>%s</strong> "); +define("_AM_SB_TOTCOL", "kolommen: <strong>%s</strong> "); +define("_AM_SB_TOTOFF", "Off-line artikelen: <strong>%s</strong> "); +define("_AM_SB_TOTSUB", "Ingediende artikelen: <strong>%s</strong> "); + +define("_AM_SB_UPLOADIMAGE", "Artikelafbeelding uploaden:"); +define("_AM_SB_WEIGHT", "Gewicht"); +define("_AM_SB_YES", "Ja"); +//add by domifara +define("_AM_SB_DATESUBNOCHANGE", "Datum van artikel niet veranderen"); +define("_AM_SB_NOTIFY", "Notificatie bij publiceren?"); +define("_AM_SB_POSTED", "Gepubliceerd:"); +define("_AM_SB_REORDERART", "Artikelen herordenen(gewicht)"); +//1.06 +//ModuleAdmin +define('_AM_SB_MODULEADMIN_MISSING','ERROR: De ModuleAdmin class ontbreekt. Installeer de ModuleAdmin Class in de map /Frameworks (lees /docs/readme.txt)'); +define("_AM_SB_NEED_APPROVAL", "Goedkeuring benodigd: <strong>%s</strong> "); \ No newline at end of file Added: XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/blocks.php =================================================================== --- XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/blocks.php (rev 0) +++ XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/blocks.php 2012-08-25 20:35:24 UTC (rev 10117) @@ -0,0 +1,40 @@ +<?php +/** + * $Id: blocks.php v 1.5 23 August 2004 hsalazar Exp $ + * Module: Soapbox + * Version: v 1.5 + * Release Date: 23 August 2004 + * Author: hsalazar + * License: GNU + */ +// Blocks +define("_MB_SB_ARTCLS", "Artikelen"); +define("_MB_SB_ARTICLEID", "Artikel Id"); +define("_MB_SB_ARTSTOSHOW", "<br />Artikelen om weer te geven: "); +define("_MB_SB_BY", "Door "); +define("_MB_SB_CHARS", "Lengte van de titel"); +define("_MB_SB_DATE", "Gepubliceerde datum"); +define("_MB_SB_DISP", "Weergeven"); +define("_MB_SB_HIT", "Klikken: "); +define("_MB_SB_HITS", "Aantal klikken"); +define("_MB_SB_HORIZONTAL", "Horizontaal"); +define("_MB_SB_LENGTH", " karakters"); +define("_MB_SB_MOREHERE", "Meer in deze kolom..."); +define("_MB_SB_NOTHINGYET", "Er is geen spotlight artikel omdat er nog geen artikelen zijn. Geef de webmaster door om de ze aan te maken..."); +define("_MB_SB_ORDER", "Weergavevolgorde"); +define("_MB_SB_RATE", " | Beoordeling: "); +define("_MB_SB_RATING", "Gesorteerd op beoordelingen"); +define("_MB_SB_SELECTCOL", "Selecteer een kolom ;"); +define("_MB_SB_SHOWBYLINE", "Gemaakt door weergeven?"); +define("_MB_SB_SHOWDATE", "Datum weergeven?"); +define("_MB_SB_SHOWPIC", "Afbeelding weergeven?"); +define("_MB_SB_SHOWSTATS", "Mini-stats weergeven?"); +define("_MB_SB_TEMPLATE", "Sjabloon akkoord?"); +define("_MB_SB_TITLE", "Titel"); +// Spotlight block +define("_MB_SB_VERTICAL", "Vertikaal"); +define("_MB_SB_VOTE", " | Stemmen: "); +define("_MB_SB_WEIGHT", "Gesorteerd op gewicht"); +define("_MB_SB_SPOTLIGHT","Spotlight functie inschakelen"); +define("_MB_SB_SPOTLIGHT_TOPIC","Selecteer kolom(men) om te gebruiken"); +?> \ No newline at end of file Property changes on: XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/help ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/help/help.html =================================================================== --- XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/help/help.html (rev 0) +++ XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/help/help.html 2012-08-25 20:35:24 UTC (rev 10117) @@ -0,0 +1,44 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" + href="<{$xoops_url}>/modules/soapbox/admin/index.php" + title="Terug naar de administratie van Soapbox"> Soapbox <img + src="<{xoAdminIcons home.png}>" + alt="Terug naar de administratie van Soapbox"/> + </a></h1> + + <h4 class="odd">Omschrijving</h4><br/> + + Deze kleine module heeft een enkele functie: helpen bij het maken van een site met bewerkbare kolomstructuur en waar kolommen en artikelen te beheren zijn.<br/><br/> + + Het maakt gebruik van smarty sjablonen, can omgaan met reacties, volledig doorzoekbaar, bevat notificatie-opties, en geeft gebruikers de gelegenheid om artikelen te beoordelen en auterus prive-berichten te sturen. + Ook is het mogelijk om aan te geven welke groepen bepaalde kolommen mogen bekijken.<br/><br/> + + + <h4 class="odd">Installeren/de-installeren</h4> + + Geen speciale maatregelen zijn nodig, volg de standaard installatieprocedure – + pak de /contact map uit in de ../modules map. Installeer de module + via Administratie -> Modules -> Systeembeheer -> Modules. <br/><br/> + Gedetailleerde instructies voor het installeren van modules zijn beschikbaar in de <a + href="http://goo.gl/adT2i">XOOPS Gebruikershandleiding</a> </p> + + + <h4 class="odd">Operating instructions</h4><br/> + + Om deze module te gebruiken dient het volgende te gebeuren:<br/><br/> + i) Pas de juiste instellingen aan voor de module (see ‘Instellingen’) en optioneel de Soapbox blok als deze benodigd is(zie + ‘Blokken’)<br/><br/> + ii) Controleer dat de groepen de juiste rechten bezitten die benodigd zijn voor toegang + tot en gebruik van de module en blokken. Permissies zijn in te stellen via + de Administratie -> Modules -> Systeembeheer -> Groepen. <br/><br/> + + Gedetailleerde instructies voor het instellen van permissies voor gebruikersgroepen zijn beschikbaar in de <a + href="http://goo.gl/adT2i">XOOPS Gebruikershandleiding</a></p> + + <h4 class="odd">Handleiding</h4> + + <p class="even"> + Niet beschikbaar op dit moment. + +</div> \ No newline at end of file Added: XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/help/index.html =================================================================== --- XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/help/index.html (rev 0) +++ XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/help/index.html 2012-08-25 20:35:24 UTC (rev 10117) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/index.html =================================================================== Property changes on: XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/article_approve_notify.tpl =================================================================== --- XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/article_approve_notify.tpl (rev 0) +++ XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/article_approve_notify.tpl 2012-08-25 20:35:24 UTC (rev 10117) @@ -0,0 +1,21 @@ +Hello {X_UNAME}, + +Your submitted article "{ARTICLE_NAME}" has been approved at {X_SITENAME}. + +You can view this link here: +{ARTICLE_URL} + +----------- + +You are receiving this message because you selected to be notified when this article was approved. + +If this is an error or you wish not to receive further such notifications, please update your subscriptions by visiting the link below: +{X_UNSUBSCRIBE_URL} + +Please do not reply to this message. + +----------- + +{X_SITENAME} ({X_SITEURL}) +webmaster +{X_ADMINMAIL} Added: XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/column_articlesubmit_notify.tpl =================================================================== --- XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/column_articlesubmit_notify.tpl (rev 0) +++ XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/column_articlesubmit_notify.tpl 2012-08-25 20:35:24 UTC (rev 10117) @@ -0,0 +1,22 @@ +Hello {X_UNAME}, + +A new article "{ARTICLE_NAME}" has been submitted at {X_SITENAME} +in {COLUMN_NAME} and is awaiting approval. + +You can view this article submission here: +{WAITINGSTORIES_URL} + +----------- + +You are receiving this message because you selected to be notified when new articles are submitted to our site. + +If this is an error or you wish not to receive further such notifications, please update your subscriptions by visiting the link below: +{X_UNSUBSCRIBE_URL} + +Please do not reply to this message. + +----------- + +{X_SITENAME} ({X_SITEURL}) +webmaster +{X_ADMINMAIL} Added: XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/column_newarticle_notify.tpl =================================================================== --- XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/column_newarticle_notify.tpl (rev 0) +++ XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/column_newarticle_notify.tpl 2012-08-25 20:35:24 UTC (rev 10117) @@ -0,0 +1,21 @@ +Hello {X_UNAME}, + +A new article "{ARTICLE_NAME}" has been added at {X_SITENAME} in {COLUMN_NAME}. + +You can view this article here: +{ARTICLE_URL} + +----------- + +You are receiving this message because you selected to be notified when new articles are added to our site. + +If this is an error or you wish not to receive further such notifications, please update your subscriptions by visiting the link below: +{X_UNSUBSCRIBE_URL} + +Please do not reply to this message. + +----------- + +{X_SITENAME} ({X_SITEURL}) +webmaster +{X_ADMINMAIL} Added: XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/global_articlesubmit_notify.tpl =================================================================== --- XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/global_articlesubmit_notify.tpl (rev 0) +++ XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/global_articlesubmit_notify.tpl 2012-08-25 20:35:24 UTC (rev 10117) @@ -0,0 +1,22 @@ +Hello {X_UNAME}, + +A new article "{ARTICLE_NAME}" has been submitted at {X_SITENAME} +in {COLUMN_NAME} and is awaiting approval. + +You can view this article submission here: +{WAITINGSTORIES_URL} + +----------- + +You are receiving this message because you selected to be notified when new articles are submitted to our site. + +If this is an error or you wish not to receive further such notifications, please update your subscriptions by visiting the link below: +{X_UNSUBSCRIBE_URL} + +Please do not reply to this message. + +----------- + +{X_SITENAME} ({X_SITEURL}) +webmaster +{X_ADMINMAIL} Added: XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/global_newarticle_notify.tpl =================================================================== --- XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/global_newarticle_notify.tpl (rev 0) +++ XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/global_newarticle_notify.tpl 2012-08-25 20:35:24 UTC (rev 10117) @@ -0,0 +1,22 @@ +Hello {X_UNAME}, + +A new article "{ARTICLE_NAME}" has been added at {X_SITENAME} +in {COLUMN_NAME}. + +You can view this article here: +{ARTICLE_URL} + +----------- + +You are receiving this message because you selected to be notified when new articles are added to our site. + +If this is an error or you wish not to receive further such notifications, please update your subscriptions by visiting the link below: +{X_UNSUBSCRIBE_URL} + +Please do not reply to this message. + +----------- + +{X_SITENAME} ({X_SITEURL}) +webmaster +{X_ADMINMAIL} Added: XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/global_newcolumn_notify.tpl =================================================================== --- XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/global_newcolumn_notify.tpl (rev 0) +++ XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/mail_template/global_newcolumn_notify.tpl 2012-08-25 20:35:24 UTC (rev 10117) @@ -0,0 +1,21 @@ +Hello {X_UNAME}, + +A new news column "{COLUMN_NAME}" has been created at {X_SITENAME}. + +Follow this link to view the news index page: +{COLUMN_URL} + +----------- + +You are receiving this message because you selected to be notified when new news columns are added to our site. + +If this is an error or you wish not to receive further such notifications, please update your subscriptions by visiting the link below: +{X_UNSUBSCRIBE_URL} + +Please do not reply to this message. + +----------- + +{X_SITENAME} ({X_SITEURL}) +webmaster +{X_ADMINMAIL} Added: XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/main.php =================================================================== --- XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/main.php (rev 0) +++ XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/main.php 2012-08-25 20:35:24 UTC (rev 10117) @@ -0,0 +1,93 @@ +<?php +/** + * $Id: main.php v 1.5 23 August 2004 hsalazar Exp $ + * Module: Soapbox + * Version: v 1.5 + * Release Date: 23 August 2004 + * Author: hsalazar + * Licence: GNU + */ +define("_MD_SB_NOCOLEXISTS", "Sorry, Er is nog geen kolom aangemaakt met deze naam.<br />Neem contact op met de webmaster om dit te melden."); +define("_MD_SB_ALLOWCOMMENTS", "Reacties toestaan?"); +define("_MD_SB_ARTBODY", "Kern"); +define("_MD_SB_ARTCOUNT", "Deze kolom heeft"); +define("_MD_SB_ARTHEADLINE", "Artikeltitel"); +define("_MD_SB_ARTREAD", "Dit artikel is gelezen"); +define("_MD_SB_ARTICLES", " artikelen."); +define("_MD_SB_ARTLEAD", "Intro paragraaf<span style='font-size: xx-small; font-weight: normal; display: block;'>(Eerste paragraaf van het artikel.)</span>"); +define("_MD_SB_ARTTEASER", "Artikel teaser<span style='font-size: xx-small; font-weight: normal; display: block;'>(Paragraaf die wordt weergegeven in de indexpagina.)</span>"); +define("_MD_SB_AUTHORPRN", "Auteur: "); +define("_MD_SB_AUTOTEASER", "Maak teaser automatisch aan?"); +define("_MD_SB_AUTOTEASERAMOUNT", "Karakters in auto-teaser"); +define("_MD_SB_BY", "Door "); +define("_MD_SB_CANTVOTEOWN", "Er kan niet gestemd op eigen ingediende artikelen.<br>Alle stemmen worden gelogd en bekeken."); +define("_MD_SB_COLUMN", "Kolomnaam"); +define("_MD_SB_COLUMNPRN", "Kolom: "); +define("_MD_SB_CREATE", "Artikel indienen"); +define("_MD_SB_DELART", "Artikel verwijderen"); +define("_MD_SB_EDITART", "Artikel bewerken"); +define("_MD_SB_ERRORSAVINGDB", "ERROR: Database is NIET bijgewerkt door een opgetreden fout!"); +define("_MD_SB_GOODDAY", "Goededag, "); +define("_MD_SB_HITS", "Klikken: "); +define("_MD_SB_HOME", "Terug"); +define("_MD_SB_INTARTFOUND", "Hier is een interessant artikel die ik heb gevonden op %s"); +define("_MD_SB_INTARTICLE", "Bekijk ook eens dit artikel op %s"); +define("_AM_SB_ISADMINNOTICE", "Afbeelding niet gevonden. Bekijk deze!"); +define("_MD_SB_MAINHEAD", "Welkom bij %s"); +define("_MD_SB_MAININDEXTOTAL", "Artikelen in deze kolom: "); +define("_MD_SB_MAININTRO", "In dit gedeelte van de site is een overzicht van alle kolommen, evenals de laatste artikelen van elke auteur. Klik op een kolomnaam om alle bijbehorende artikelen te bekijken, of op een artikelnaam om het artikel direct te lezen. Afhankelijk van de permissies is het mogelijk om te stemmen op een artikel, notificatie-opties in te stellen of een reactie achter te laten."); +define("_MD_SB_MAINNOSELECTCAT", "Er is geen juiste kolom geselecteerd"); +define("_MD_SB_MAINNOTOPICS", "Er zijn geen artikelen in deze kolom"); +define("_MD_SB_MORE", "¶ Lees het artikel"); +define("_MD_SB_MOREHERE", "Meer in deze kolom..."); +define("_MD_SB_MOREBY", "Meer artikelen door "); +define("_MD_SB_NO", "Nee"); +define("_MD_SB_NOTHING", "Sorry voor het ongemak maar er is nog geen content gemaakt. Binnenkort is hier een selectie te vinden van kolommen en artikelen."); +define("_MD_SB_NORATING", "Er is geen selectie gemaakt voor het beoordelen van dit artikel!"); +define("_MD_SB_NOTIFY", "Notificatie bij publiceren?"); +define("_MD_SB_NOTRATED", "Dit artikel is nog niet beoordeeld"); +define("_MD_SB_PAGE", "Pagina "); +define("_MD_SB_POSTED", "Gepubliceerd: "); +define("_MD_SB_PUBLISHEDPRN", "Gepubliceerd: "); +define("_MD_SB_PRINTERFRIENDLY", "Print dit artikel in een printvriendelijk formaat"); +define("_MD_SB_RATE", " | Beoordeling: "); +define("_MD_SB_RATETHIS", "Beoordeel dit artikel!"); +define("_MD_SB_RATING", "Beoordeling"); +define("_MD_SB_READMORE", "Doorzoek alle artikelen"); +define("_MD_SB_RECEIVED", "Het verzonden artikel is ontvangen. Het wordt zo snel mogelijk bekijken."); +define("_MD_SB_RECEIVEDANDAPPROVED", "Het verzonden artikel is ontvangen. Aangezien de auto-goedkeuring is ingeschakeld, dit artikel is gepubliceerd."); +define("_MD_SB_RETURN", "Return"); +define("_MD_SB_RETURN2INDEX", "Terugkeren naar index"); +define("_MD_SB_SECTIONNAME", "Soapbox"); +define("_MD_SB_SELECT_IMG", "Afbeelding kiezen"); +define("_MD_SB_SENDSTORY", "Zend dit artikel naar een vriend"); +define("_MD_SB_SUB_SMNAME", "Vul dit formulier in om het artikel te verzenden"); +define("_MD_SB_SUB_SNEWNAME", "Artikel indienen Submit an article to %s"); +define("_MD_SB_SUB_SNEWNAMEDESC", "Vul het formulier volledig in om een artikel in te dienen. Zoals bekend dient het artikel eerst goedgekeurd te worden de webmaster voordat het gepubliceerd wordt. Als de webmaster de auto-goedkeuring heeft ingeschakeld, wordt dit artikel is automatisch gepubliceerd."); +define("_MD_SB_SUBMITART", "Artikel indienen"); +define("_MD_SB_THANKYOU", "Bedankt voor het stemmen op %s"); +define("_MD_SB_TIMES", " aantal maal."); +define("_MD_SB_TIMESREAD", "Aantal maal gelezen: "); +define("_MD_SB_UNKNOWNERROR", "ERROR. Terug naar waar je vandaan kwam!"); +define("_MD_SB_VOTEAPPRE", "Je stem is ontvangen."); +define("_MD_SB_VOTEONCE", "Stem niet meer dan één keer op hetzelfde artikel."); +define("_MD_SB_VOTE", " | Stemmen: "); +define("_MD_SB_VOTES", "Stemmen"); +define("_MD_SB_WRITEAUTHOR", "Verzend een prive-bericht naar de auteur van dit artikel"); +define("_MD_SB_YES", "Ja"); +define("_MD_SB_PRINTART", "Artikel printen"); +define("_MD_SB_SENDTOFRIEND", "Zend dit artikel naar een vriend."); +define("_MD_SB_INTART", "Een interessant artikel gevonden."); +//add domifara +define("_MD_SB_BLOCK", " Toevoegen aan het blok artikelen?"); +define("_MD_SB_SWITCHOFFLINE", " Artikel offline maken?"); +define("_AM_SB_SWITCHSUBMITS", "Artikel niet goedgekeurd maken (Niet tonen) ?"); +define("_MDSB_DATESUBNOCHANGE", "Datum van dit artikel niet veranderen"); +define("_MD_SB_SELOFF", "Offline"); +define("_MD_SB_SELSUBMITS", "Niet goedgekeurd (Niet tonen)"); +define("_MD_SB_SELWAITEPUBLISH", "Niet gepubliceerd (Niet tonen)"); +//add domifara +define("_MD_SB_ATOZ","(A tot Z)"); +define("_MD_SB_ZTOA","(Z tot A)"); +//1.60 +define("_MD_SB_WGT", "Gewicht"); \ No newline at end of file Added: XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/modinfo.php =================================================================== --- XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/modinfo.php (rev 0) +++ XoopsLanguages/dutch/modules/soapbox/soapbox 1.60/nederlands/modinfo.php 2012-08-25 20:35:24 UTC (rev 10117) @@ -0,0 +1,187 @@ +<?php +/** + * $Id: modinfo.php v 1.5 23 August 2004 hsalazar Exp $ + * Module: Soapbox + * Version: v 1.5 + * Release Date: 23 August 2004 + * Author: hsalazar + * Licence: GNU + */ + +// Module Info +// The name of this module +global $xoopsModule; +define("_MI_SB_MD_NAME", "Soapbox"); + +// A brief description of this module +define("_MI_SB_MD_DESC", "OpEd voor de site"); + +// Sub menus in main menu block +define("_MI_SB_SUB_SMNAME1", "Artikel indienen"); + +// A brief description of this module +define("_MI_SB_ALLOWSUBMIT", "1. Gebruikersindieningen:"); +define("_MI_SB_ALLOWSUBMITDSC", "Geeft gebruikers de gelegenheid om artikelen in te dienen."); + +define("_MI_SB_AUTOAPPROVE", "2. Auto-goedkeuring artikelen:"); +define("_MI_SB_AUTOAPPROVEDSC", "Keurt automatisch de ingediende artikelen goed zonder tussenkomst van een webmaster."); + +define("_MI_SB_ALLOWADMINHITS", "3. Admin counter reads:"); +define("_MI_SB_ALLOWADMINHITSDSC", "Admin klikken opnemen in statistieken?"); + +define("_MI_SB_PERPAGE", "4. Maximum artikelen per pagina (Beheerzijde):"); +define("_MI_SB_PERPAGEDSC", "Maximum aantal artikelen die gelijktijdig per pagina getoond worden aan de beheerzijde."); + +define("_MI_SB_PERPAGEINDEX", "5. Maximum artikelen per pagina (Gebruikerzijde):"); +define("_MI_SB_PERPAGEINDEXDSC", "Maximum aantal artikelen die gelijktijdig per pagina getoond worden aan de gebruikerzijde."); + +define("_MI_SB_IMGDIR", "6. Afbeeldingen basismap:"); +define("_MI_SB_IMGDIRDSC", "Dit is de map waarin de operationele afbeeldingen zich bevinden. (Geen tekens \"/\")"); + +define("_MI_SB_UPLOADDIR", "7. Afbeeldingen uploadmap:"); +define("_MI_SB_UPLOADDIRDSC", "Dit is de map waar de kolommen en artikelen afbeeldingen worden opgeslagen. (geen tekens \"/\")"); + +define("_MI_SB_IMGWIDTH", "8. Maximum afbeeldingsbreedte:"); +define("_MI_SB_IMGWIDTHDSC", "Instellen van de maximum toegstane breedte wanneer een afbeelding wordt opgeslagen."); + +define("_MI_SB_IMGHEIGHT", "9. Maximum afbeeldingshoogte:"); +define("_MI_SB_IMGHEIGHTDSC", "Instellen van de maximum toegstane hoogte wanneer een afbeelding wordt opgeslagen."); + +define("_MI_SB_MAXFILESIZE", "10. Maximum bestandsgrootte:"); +define("_MI_SB_MAXFILESIZEDSC", "Instellen van de maximum toegstane bestandsgrootte wanneer een afbeelding wordt opgeslagen."); + +define("_MI_SB_DATEFORMAT", "11. Datumformaat:"); +define("_MI_SB_DATEFORMATDSC", "Instellen van het datumformaat gebruikt voor weergave bij artikelen."); + +define("_MI_SB_ALLOWCOMMENTS", "12. Beheer reacties op artikelniveau:"); +define("_MI_SB_ALLOWCOMMENTSDSC", "Als deze optie ingesteld is op 'JA', dan zijn alleen reacties te zien bij artikelen waarvan de optie reacties is aangevinkt aan de adminzijde. <br /><br />Selecteer 'NEE' om op een globaal niveau de reacties te beheren (Zie ook bij 'reactieregels'."); + +define("_MI_SB_MOREARTS", "13. Artikelen in auteur overzichtsbox:"); +define("_MI_SB_MOREARTSDSC", "Instellen van het aantal artikelen weergegeven in de overzichtsbox."); + +define("_MI_SB_COLSINMENU", "14. Kolommen toevoegen in menu?:"); +define("_MI_SB_COLSINMENUDSC", "Als deze optie ingesteld is op 'JA', geautoriseerde gebruikers zijn in staat om de kolomnamen te zien in het gebruikersmenu. Dit is niet aan te raden voor sites met veel kolommen."); + +define("_MI_SB_COLSPERINDEX", "15. Kolomteasers op de indexpagina?:"); +define("_MI_SB_COLSPERINDEXDSC", "Hoeveel kolomteasers dienen weergegeven te worden op de index pagina? [Standaard = 3]"); + +define("_MI_SB_ALLOWRATING", "16. Mogelijk tot stemmen toevoegen aan artikelen?:"); +define("_MI_SB_ALLOWRATINGDSC", "Als deze optie is ingesteld op 'JA', artikelen worden getoond met stemknoppen om te kunnen stemmen op het artikel? [Standaard = Ja]"); + +define("_MI_SB_INTROTIT", "17. IntroductieTitel:"); +define("_MI_SB_INTROTITDSC", "Titel weergeven op de indexpagina."); +define("_MI_SB_INTROTITDFLT", "Welkom op deze ruimte"); + +define("_MI_SB_INTROTEXT", "18. Introductietekst:"); +define("_MI_SB_INTROTEXTDSC", "Introductietekst voor de indexpagina."); +define("_MI_SB_INTROTEXTDFLT", "In this area of the site you will find our catalogue of editorial columns, as well as the latest article from each of our authors. Click on a column's name to see all the articles associated to that column, or on an article's name to read directly the article. Depending on privileges, you can rate each article, select notification options or leave your comments."); + +define("_MI_SB_BUTTSTXT", "19. Zichtbare toevoeg knoppen:"); +define("_MI_SB_BUTTSTXTDSC", "Als deze optie ingesteld is op 'JA', tabellen van de indexpagina in de adminzijde toont een 'Toevoegen' knop. Standaard = Nee."); + +define("_MI_SB_WARNING", "Deze module wordt vrijgegeven zonder enkele garantie. Deze module is niet in beta maar constant in ontwikkeling. Deze release kan gebruikt worden in een productie-omgeving, maar met eigen verantwoordelijkheid, wat betekend dat de auteur niet verantwoordelijk is."); +define("_MI_SB_AUTHORMSG","Soapbox is de eerste XOOPS module gemaakt door mij en bevat daarmee fouten die een beginner in de wereld van PHP doorgaans maakt. De eerste stappen maakte ik met hulp van Catzwolf, waar Soapbox veel aan te danken heeft.<br /><br />De geschiedenis van Soapbox wordt in meer detail verteld in de documentatie, maar dank gaat uit naar meerdere XOOPS gebruikers, inclusief herko, w4z004, marcan, ackbarr, Mithrandir, Predator en meer.<br /><br />Natuurlijk worden hiermee ook diegene bedoeld die de module hebben beoordeeld en getest, diegene die hebben gekeken naar de ontwikkeling, en iedereen in het algemeen die het risico hebben geaccepteerd en de module gebruiken."); + +// Names of admin menu items +define("_MI_SB_ADMENU1", "Beheer"); +define("_MI_SB_ADMENU2", "Kolom toevoegen"); +define("_MI_SB_ADMENU3", "Artikel toevoegen"); +define("_MI_SB_ADMENU4", "Permissies"); +define("_MI_SB_ADMENU5", "Blokken"); +define("_MI_SB_ADMENU6", "Ga naar de module"); + +//Names of Blocks and Block information +define("_MI_SB_ARTSRATED", "Best beoordeelde artikelen"); +define("_MI_SB_ARTSRATED_DSC", "Toont best beoordeelde artikelen"); +define("_MI_SB_ARTSNEW", "Recente artikelen"); +define("_MI_SB_ARTSNEW_DSC", "Toont meest recente artikelen"); +define("_MI_SB_ARTSTOP", "Meest gelezen artikelen"); +define("_MI_SB_ARTSTOP_DSC", "Toont meest gelezen artikelen"); +define("_MI_SB_ARTSPOTLIGHT", "Spotlight artikelen [Enkele kolom]"); +define("_MI_SB_ARTSPOTLIGHT_DSC", "Toont spotlight artikelen [enkele kolom]"); +define("_MI_SB_ARTSPOTLIGHT2", "Spotlight artikelen [meerdere kolommen]"); +define("_MI_SB_ARTSPOTLIGHT2_DSC", "Toont spotlight artikelen [meerdere kolommen]"); + +// Defines for the About page +define("_MI_SB_AUTHOR_INFO","Auteur informatie"); +define("_MI_SB_AUTHOR_WEBSITE","Auteur website"); +define("_MI_SB_AUTHOR_EMAIL","Autheur e-mail"); +define("_MI_SB_AUTHOR_CREDITS","Module credits"); +define("_MI_SB_MODULE_INFO","Algemene module informatie"); +define("_MI_SB_MODULE_STATUS","Versie"); +define("_MI_SB_MODULE_DEMO","Demo websaite"); +define("_MI_SB_MODULE_SUPPORT","Support website"); +define("_MI_SB_MODULE_BUG","Fout registreren"); +define("_MI_SB_MODULE_FEATURE","Verbetering verzoeken"); +define("_MI_SB_MODULE_DISCLAIMER","Disclaimer"); +define("_MI_SB_AUTHOR_WORD","Auteur reactie"); + +// Text for notifications +define("_MI_SB_GLOBAL_NOTIFY", "Algemeen"); +define("_MI_SB_GLOBAL_NOTIFYDSC", "Algemene notificatie-opties."); + +define("_MI_SB_COLUMN_NOTIFY", "Kolom"); +define("_MI_SB_COLUMN_NOTIFYDSC", "Notificatie-opties voor de huidige kolom."); + +define("_MI_SB_ARTICLE_NOTIFY", "Artikel"); +define("_MI_SB_ARTICLE_NOTIFYDSC", "Notificatie-opties voor het huidige artikel."); + +define("_MI_SB_GLOBAL_NEWCOLUMN_NOTIFY", "Nieuwe kolom"); +define("_MI_SB_GLOBAL_NEWCOLUMN_NOTIFYCAP", "Notificeer mij wanneer een nieuwe kolom is toegevoegd."); +define("_MI_SB_GLOBAL_NEWCOLUMN_NOTIFYDSC", "Ontvang notificatie wanneer een nieuwe kolom is toegevoegd."); +define("_MI_SB_GLOBAL_NEWCOLUMN_NOTIFYSBJ", "[{X_SITENAME}] {X_MODULE} auto-notificatie : Nieuwe kolom"); + +define("_MI_SB_GLOBAL_ARTICLEMODIFY_NOTIFY", "Verzoek om artikel te bewerken"); +define("_MI_SB_GLOBAL_ARTICLEMODIFY_NOTIFYCAP", "Notificeer mij wanneer een artikelwijziging is verzocht."); +define("_MI_SB_GLOBAL_ARTICLEMODIFY_NOTIFYDSC", "Ontvang notificatie wanneer een artikelwijziging is verzocht."); +define("_MI_SB_GLOBAL_ARTICLEMODIFY_NOTIFYSBJ", "[{X_SITENAME}] {X_MODULE} auto-notifictie : Artikelwijziging verzocht"); + +define("_MI_SB_GLOBAL_ARTICLEBROKEN_NOTIFY", "Gebroken artikel ingediend"); +define("_MI_SB_GLOBAL_ARTICLEBROKEN_NOTIFYCAP", "Notificeer mij wanneer een gebroken artikel is gerapporteeerd."); +define("_MI_SB_GLOBAL_ARTICLEBROKEN_NOTIFYDSC", "Ontvang notificatie wanneer een gebroken artikel is gerapporteerd."); +define("_MI_SB_GLOBAL_ARTICLEBROKEN_NOTIFYSBJ", "[{X_SITENAME}] {X_MODULE} auto-notificatie : Gebroken artikel gerapporteerd"); + +define("_MI_SB_GLOBAL_ARTICLESUBMIT_NOTIFY", "Artikel ingediend"); +define("_MI_SB_GLOBAL_ARTICLESUBMIT_NOTIFYCAP", "Notificeer mij wanneer een nieuw artikel is ingediend (wacht op goedkeuring)."); +define("_MI_SB_GLOBAL_ARTICLESUBMIT_NOTIFYDSC", "Ontvang notificatie wanneer een nieuw artikel is ingediend (Wacht op goedkeuring)."); +define("_MI_SB_GLOBAL_ARTICLESUBMIT_NOTIFYSBJ", "[{X_SITENAME}] {X_MODULE} auto-notificatie : Nieuw artikel ingediend"); + +define("_MI_SB_GLOBAL_NEWARTICLE_NOTIFY", "Nieuw artikel"); +define("_MI_SB_GLOBAL_NEWARTICLE_NOTIFYCAP", "Notificeer mij wanneer een nieuw artikel is gepubliceerd."); +define("_MI_SB_GLOBAL_NEWARTICLE_NOTIFYDSC", "Ontvang notificatie wanneer een nieuw artikel is gepubliceer."); +define("_MI_SB_GLOBAL_NEWARTICLE_NOTIFYSBJ", "[{X_SITENAME}] {X_MODULE} auto-notificatie : Nieuw artikel"); + +define("_MI_SB_COLUMN_ARTICLESUBMIT_NOTIFY", "Artikel goedgekeurd"); +define("_MI_SB_COLUMN_ARTICLESUBMIT_NOTIFYCAP", "Notificeer mij wanneer een nieuw artikel is ingediend (wacht op goedkeuring) in de huidige kolom."); +define("_MI_SB_COLUMN_ARTICLESUBMIT_NOTIFYDSC", "Ontvang notificatie wanneer een nieuw artikel is ingediend (wacht op goedkeuring) in de huidige kolom."); +define("_MI_SB_COLUMN_ARTICLESUBMIT_NOTIFYSBJ", "[{X_SITENAME}] {X_MODULE} auto-notificatie : Nieuw artikel ingediend in kolom"); + +define("_MI_SB_COLUMN_NEWARTICLE_NOTIFY", "Nieuw artikel"); +define("_MI_SB_COLUMN_NEWARTICLE_NOTIFYCAP", "Notificeer mij wanneer een nieuw artikel is toegevoegd aan de huidige kolom"); +define("_MI_SB_COLUMN_NEWARTICLE_NOTIFYDSC", "Ontvang notificatie wanneer een nieuw artikel is toegevoegd aan de huidige kolom."); +define("_MI_SB_COLUMN_NEWARTICLE_NOTIFYSBJ", "[{X_SITENAME}] {X_MODULE} auto-notificatie : Nieuw artikel in kolom"); + +define("_MI_SB_ARTICLE_APPROVE_NOTIFY", "Artikel goedgekeurd"); +define("_MI_SB_ARTICLE_APPROVE_NOTIFYCAP", "Notificeer mij wanneer dit artikel is goedgekeurd."); +define("_MI_SB_ARTICLE_APPROVE_NOTIFYDSC", "Notificatie ontvangen wanneer artikel is goedgekeurd."); +define("_MI_SB_ARTICLE_APPROVE_NOTIFYSBJ", "[{X_SITENAME}] {X_MODULE} auto-notificatie : Artikel goedgekeurd"); + +define("_MI_SB_ALLOWEDSUBMITGROUPS","Welke groepen kunnen artikelen indienen?"); +define("_MI_SB_ALLOWEDSUBMITGROUPSDSC","User groups that can submit articles."); + +//HACK by domifara +define("_MI_SB_FORM_OPTIONS","Formulier opties"); +define("_MI_SB_FORM_OPTIONS_DESC","Selecteer de editor om te gebruiken. If you have a 'simple' install (e.g you use only xoops core editor class, provided in the standard xoops core package), then you can just select DHTML"); +define("_MI_SB_FORM_COMPACT","Compact"); +define("_MI_SB_FORM_DHTML","DHTML"); +define("_MI_SB_FORM_SPAW","Spaw Editor"); +define("_MI_SB_FORM_HTMLAREA","HtmlArea Editor"); +define("_MI_SB_FORM_FCK","FCK Editor"); +define("_MI_SB_FORM_KOIVI","Koivi Editor"); +define("_MI_SB_FORM_TINYMCE","TinyMCE Editor"); + +// 1.06 +define("_MI_SB_SUBMITS", 'Ingediende artikelen'); +define("_MI_SB_ADD_ARTICLE", 'Artikel toevoegen'); +define("_MI_SB_ADD_COLUMN", 'Kolom toevoegen'); + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ren...@us...> - 2012-08-25 20:34:27
|
Revision: 10116 http://xoops.svn.sourceforge.net/xoops/?rev=10116&view=rev Author: renetjuh Date: 2012-08-25 20:34:19 +0000 (Sat, 25 Aug 2012) Log Message: ----------- Upload NL language files shoutbox 5.01 Added Paths: ----------- XoopsLanguages/dutch/modules/shoutbox/ XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/ XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/ XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/admin.php XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/blocks.php XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/help/ XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/help/help.html XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/help/index.html XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/index.html XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/main.php XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/modinfo.php Property changes on: XoopsLanguages/dutch/modules/shoutbox ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01 ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/admin.php =================================================================== --- XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/admin.php (rev 0) +++ XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/admin.php 2012-08-25 20:34:19 UTC (rev 10116) @@ -0,0 +1,49 @@ +<?php +// General usage +define('_AM_SH_CONFIG','Shoutbox Admin'); +define('_AM_SH_POSTER','gebruiker'); +define('_AM_SH_MESSAGE','Bericht'); +define('_AM_SH_INVALID_ID','ID bevat geen shout'); + +// index.php +define('_AM_SH_CHOOSE','Wat dient er te gebeuren?'); +define('_AM_SH_EDIT_DB','Shouts in database bewerken'); +define('_AM_SH_EDIT_FILE','Shouts in bestand bewerken'); +define('_AM_SH_EDIT_INUSE','In gebruik'); +define('_AM_SH_STATUSOF','Status van shoutbox'); + +// shoutboxEdit.php +define('_AM_SH_EDIT_TITLE','Shout bewerken [geplaatst op %s]'); +define('_AM_SH_EDIT_FROM','Van'); // Ex: "From: 127.0.0.1" + +// shoutboxList.php +define('_AM_SH_LIST_TIME','Tijd'); +define('_AM_SH_LIST_ACTION','Actie'); +define('_AM_SH_LIST_NOSHOUTS','Geen Shouts'); + +// shoutboxRemove.php +define('_AM_SH_REMOVE_TITLE','Shout verwijderen [geplaatst op %s]'); +define('_AM_SH_REMOVE_SUCCES','Shout verwijderd!'); +define('_AM_SH_REMOVE_FAILURE','ERROR - kon query niet uitvoeren...'); +define('_AM_SH_REMOVE_FROM','Van'); + +// shoutboxStatus.php +define('_AM_SH_STATUS_TITLE','Shoutbox Status'); +define('_AM_SH_STATUS_STORAGETYPE','Opslagtype'); +define('_AM_SH_STATUS_INDB','Shouts in database'); +define('_AM_SH_STATUS_INFILE','Shouts in bestand'); +define('_AM_SH_STATUS_SIZEDB','Tabelgrootte shoutbox'); +define('_AM_SH_STATUS_SIZEFILE','Bestandsgrootte shoutbox'); + +// shoutboxFile.php +define('_AM_SH_FILE_TITLE','shout.cvs bewerken'); +define('_AM_SH_FILE_SOURCE','Bron van shout.cvs'); +define('_AM_SH_FILE_SOURCED','Regels van shout.cvs bewerken/verwijderen. Laat de structuur van het bestand intact. (wijzig regel voor regel).'); +define('_AM_SH_FILE_HASH','Update forceren'); +define('_AM_SH_FILE_HASHD','Hashcontrole overslaan zodat bestand bijgewerkt kan worden.'); // Hash fail: file has been updated (read: shout added) during editing +define('_AM_SH_FILE_HASH_FAILED','Hashcontrole mislukt!'); +define('_AM_SH_FILE_UPDATED','Bestand bijgewerkt'); +define('_AM_SH_FILE_FAILED','Kon bestand niet openen!'); + +//5.01 +define('_AM_SHOUTBOX_CURRENT_SELECTION','Huidige selectie'); \ No newline at end of file Added: XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/blocks.php =================================================================== --- XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/blocks.php (rev 0) +++ XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/blocks.php 2012-08-25 20:34:19 UTC (rev 10116) @@ -0,0 +1,16 @@ +<?php +// Blocks +define("_MB_SHOUTBOX_TITLE","Shoutbox"); +define("_MB_SHOUTBOX_SHOUT","Plaatsen"); +define("_MB_SHOUTBOX_CLEAR","Alles verwijderen"); +define("_MB_SHOUTBOX_BBCODEON","BBcode=aan"); +define("_MB_SHOUTBOX_BBCODEOFF","BBcode=uit"); +define("_MB_SHOUTBOX_AUTOREFRESH","Auto-vernieuwen ingeschakeld"); +define("_MB_SHOUTBOX_REFRESH", "Vernieuwen"); +define("_MB_SHOUTBOX_POPUP", "Popup"); + +define("_MB_SHOUTBOX_SHOUT_TITLE", "Shout"); +define("_MB_SHOUTBOX_NICK", "Alias"); + +define("_MB_SHOUTBOX_CONFIRMDEL", "Zeker weten om alle shouts te verwijderen uit de database/bestand"); +?> \ No newline at end of file Property changes on: XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/help ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/help/help.html =================================================================== --- XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/help/help.html (rev 0) +++ XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/help/help.html 2012-08-25 20:34:19 UTC (rev 10116) @@ -0,0 +1,33 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/shoutbox/admin/index.php" + title="Terug naar de administratie pagina van houtbox"> Shoutbox + <img src="<{xoAdminIcons home.png}>" + alt="Terug naar de administratie pagina van Shoutbox"/> + </a></h1> + + <h4 class="odd">Omschrijving</h4> + + <p class="even">Shoutbox is een XOOPS module die zorgt voor een interactief blok en pop-upscherm voor bezoekers om korte berichten te plaatsen en bekijken alszijnde chat.<br /> <br /> + </p> + + <h4 class="odd">Installeren/De-installeren</h4> + + Geen speciale maatregelen zijn nodig, volg de standaard installatieprocedure – + pak de /contact map uit in de ../modules map. Installeer de module + via Administratie -> Modules -> Systeembeheer -> Modules. <br/><br/> + Gedetailleerde instructies voor het installeren van modules zijn beschikbaar in de <a + href="http://goo.gl/adT2i">XOOPS Gebruikershandleiding</a> </p> + + + <h4 class="odd">Operating instructions</h4> + + Deze module en zijn werking is zeer eenvoudig.<br /> <br /> + Gedetailleerde instructies voor het instellen van permissies voor gebruikersgroepen zijn beschikbaar in de <a + href="http://goo.gl/adT2i">XOOPS Gebruikershandleiding</a></p> + + <h4 class="odd">Handleiding</h4> + + <p class="even">Niet beschikbaar op dit moment.</p> + +</div> \ No newline at end of file Added: XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/help/index.html =================================================================== --- XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/help/index.html (rev 0) +++ XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/help/index.html 2012-08-25 20:34:19 UTC (rev 10116) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/index.html =================================================================== --- XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/index.html (rev 0) +++ XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/index.html 2012-08-25 20:34:19 UTC (rev 10116) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/main.php =================================================================== --- XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/main.php (rev 0) +++ XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/main.php 2012-08-25 20:34:19 UTC (rev 10116) @@ -0,0 +1,17 @@ +<?php +define("_MD_SHOUTBOX_POPUP_ONLINE","Wie is online"); +define("_MD_SHOUTBOX_POPUP_MESSAGES","Shout berichten"); +define("_MD_SHOUTBOX_POPUP_CONSOLE","Invul Console"); +define("_MD_SHOUTBOX_POPUP_ENTERNAME","Vul een gebruikersnaam in: "); +define("_MD_SHOUTBOX_POPUP_FORCE","Kracht: "); +define("_MD_SHOUTBOX_POPUP_USE_AUTOREFRESH","Auto-vernieuwing? "); +define("_MD_SHOUTBOX_POPUP_REFRESHTIME","Vernieuwtijd: "); +define("_MD_SHOUTBOX_POPUP_CONNECT","Connectie"); +define("_MD_SHOUTBOX_POPUP_SHOUT","Shout"); +define("_MD_SHOUTBOX_POPUP_TITLE","Shoutbox Chat"); +define("_MD_SHOUTBOX_POPUP_CONNECTED",": verbonden als "); +define("_MD_SHOUTBOX_POPUP_REFRESH","Vernieuwen"); +define("_MD_SHOUTBOX_POPUP_NOSHOUTS","Geen shouts!"); +define("_MD_SHOUTBOX_POPUP_AUTOFOCUS","Auto-Focus"); +define("_MD_SHOUTBOX_POPUP_SOUND_ON","Geluid bij nieuw bericht ingeschakeld"); +?> \ No newline at end of file Added: XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/modinfo.php =================================================================== --- XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/modinfo.php (rev 0) +++ XoopsLanguages/dutch/modules/shoutbox/shoutbox 5.01/nederlands/modinfo.php 2012-08-25 20:34:19 UTC (rev 10116) @@ -0,0 +1,117 @@ +<?php + +// The name of this module +define("_MI_SHOUTBOX_NAME","Shoutbox"); + +// A brief description of this module +define("_MI_SHOUTBOX_DESC","Enables a shoutbox block with an additional popup."); + +// Menu +define('_MI_SHOUTBOX_MENU_DB','Database'); +define('_MI_SHOUTBOX_MENU_FILE','Bestand'); +define('_MI_SHOUTBOX_MENU_STATUS','Status'); + +// Names of blocks for this module (Not all module has blocks) +define("_MI_SHOUTBOX_BLOCK","Shoutbox"); + +// Categories +define("_MI_SHOUTBOX_CAT1","--- Algemene instellingen ---"); +define("_MI_SHOUTBOX_PREF_CAT1","Algemene instellingen"); +define("_MI_SHOUTBOX_CAT2","--- Blok instellingen ---"); +define("_MI_SHOUTBOX_PREF_CAT2","Blok instellingen"); +define("_MI_SHOUTBOX_CAT3","--- PopUp instellingen ---"); +define("_MI_SHOUTBOX_PREF_CAT3","PopUp instellingen"); +define("_MI_SHOUTBOX_CAT4","--- Tekst Input instellingen ---"); +define("_MI_SHOUTBOX_PREF_CAT4","Tekst Input instellingen"); + +// Config language definitions... +define("_MI_SHOUTBOX_TITLE1", "Mogen gasten plaatsen?"); +define("_MI_SHOUTBOX_TITLE2", "Mogen gasten een naam kiezen?"); +define("_MI_SHOUTBOX_DESC2", "Als gasten mogen plaatsen, mogen ze ook een eigen naam kiezen?"); +define("_MI_SHOUTBOX_TITLE3", "bbcode toestaan"); +define("_MI_SHOUTBOX_DESC3", "Sta gebruikers toe om bbcode te gebruiken? bv [b], [url=], enz.."); +define("_MI_SHOUTBOX_TITLE4", "Tijdsaanduiding formaat"); +define("_MI_SHOUTBOX_DESC4", "In welk formaat wordt de tijd van de shout weergegeven? (<a href='http://www.php.net/manual/en/function.date.php' target='_blank'>Beschrijving</a>)"); +define("_MI_SHOUTBOX_TITLE5", "Trimming"); +define("_MI_SHOUTBOX_DESC5", "Maximum shouts before trimming takes place. (0 = no trimming, be cautious!!!)"); +define("_MI_SHOUTBOX_TITLE6", "Max Shouts"); +define("_MI_SHOUTBOX_DESC6", "Hoeveeel shouts worden weergegeven?"); +define("_MI_SHOUTBOX_TITLE7", "Opslag"); +define("_MI_SHOUTBOX_DESC7", "Definieer waar de shouts worden opgeslagen"); +define("_MI_SHOUTBOX_TITLE8", "Echte naam"); +define("_MI_SHOUTBOX_DESC8", "Wordt de echte naam van de gebruiker getoont? Bij 'Nee', gebruikersnaam wordt getoond"); +define("_MI_SHOUTBOX_OP7_F", "Bestand [csv]"); +define("_MI_SHOUTBOX_OP7_D", "Database [mysql]"); +define("_MI_SHOUTBOX_TITLE11","Smiley bar weergeven in blok?"); +define("_MI_SHOUTBOX_TITLE12", "Shout berichten blok IFrame breedte"); +define("_MI_SHOUTBOX_DESC12", "De breedte van het iframe in het blok."); +define("_MI_SHOUTBOX_TITLE13", "Shout berichten blok IFrame hoogte"); +define("_MI_SHOUTBOX_DESC13", "De hoogte van het iframein het blok."); +define("_MI_SHOUTBOX_TITLE14", "Shout berichten IFrame randbreedte"); +define("_MI_SHOUTBOX_TITLE15", "PopUp scherm actief"); +define("_MI_SHOUTBOX_DESC15", "Mogen gebruikers het blok gebruiken?"); +define("_MI_SHOUTBOX_TITLE16", "Auto-vernieuwing opties weergeven"); +define("_MI_SHOUTBOX_DESC16", "Auto-vernieuwing opties weergeven in blok"); +define("_MI_SHOUTBOX_OP16_BA0", "Auto-vernieuwing opties niet weergeven"); +define("_MI_SHOUTBOX_OP16_BA1", "Auto-refresh opties weergeven"); +define("_MI_SHOUTBOX_TITLE17", "Shout berichten woord afbreken Instelling"); +define("_MI_SHOUTBOX_DESC17", "Deze waarde stelt een limiet op het aantal tekens per regel weer te geven in het shoutbox blok iframe. Het instellen van deze waarde op 0 schakelt afbreken van woorden in."); +define("_MI_SHOUTBOX_TITLE18", "Avatar weergeven"); +define("_MI_SHOUTBOX_DESC18", "Determines if avatars are displayed in ShoutBox block"); +define("_MI_SHOUTBOX_TITLE19", "Gast Avatar"); +define("_MI_SHOUTBOX_DESC19", "<table><tr> + <td><img src=\"".XOOPS_URL."/modules/shoutbox/images/guestavatars/guest1.gif\" width=60></td> + <td><img src=\"".XOOPS_URL."/modules/shoutbox/images/guestavatars/guest2.gif\" width=60></td> + <td><img src=\"".XOOPS_URL."/modules/shoutbox/images/guestavatars/guest3.gif\" width=60></td> + <td><img src=\"".XOOPS_URL."/modules/shoutbox/images/guestavatars/guest4.gif\" width=60></td> + <td><img src=\"".XOOPS_URL."/modules/shoutbox/images/guestavatars/guest5.gif\" width=60></td> + </tr><tr> + <td>gast1</td> + <td>gast2</td> + <td>gast3</td> + <td>gast4</td> + <td>gast5</td> + </tr></table>"); +define("_MI_SHOUTBOX_OP19_GA0", "Geen"); +define("_MI_SHOUTBOX_OP19_GA1", "gast1"); +define("_MI_SHOUTBOX_OP19_GA2", "gast2"); +define("_MI_SHOUTBOX_OP19_GA3", "gast3"); +define("_MI_SHOUTBOX_OP19_GA4", "gast4"); +define("_MI_SHOUTBOX_OP19_GA5", "gast5"); + +define("_MI_SHOUTBOX_TITLE31", "'Wie is online' weergeven"); +define("_MI_SHOUTBOX_DESC31", "In de popup 'wie is online' weergeven. Waarschuwing: Wie is online blok moet ingeschakeld zijn!"); +define("_MI_SHOUTBOX_TITLE32", "Smiley bar in PopUp weergeven"); +define("_MI_SHOUTBOX_TITLE33", "Geluid afspelen bij nieuw bericht?"); +define("_MI_SHOUTBOX_TITLE34", "Mogen gasten de popup gebruiken?"); +define("_MI_SHOUTBOX_DESC34", "Mogen gasten de popup gebruiken als deze is geactiveerd?"); +define("_MI_SHOUTBOX_TITLE35", "IRC-kloon"); +define("_MI_SHOUTBOX_DESC35", "IRC commandos activeren. Op dit moment worden alleen /quit en /nick ondersteund."); +define("_MI_SHOUTBOX_TITLE36", "Auto-focus"); +define("_MI_SHOUTBOX_DESC36", "Focust automatisch het popup scherm wanneer er een nieuw bericht is."); +define("_MI_SHOUTBOX_TITLE37", "PopUp breedte"); +define("_MI_SHOUTBOX_DESC37", "Standaard popup breedte (in pixels)"); +define("_MI_SHOUTBOX_TITLE38", "PopUp hoogte"); +define("_MI_SHOUTBOX_DESC38", "Standaar popup hoogte (in pixels)"); +define("_MI_SHOUTBOX_TITLE40", "Shout Tekst invoer Type"); +define("_MI_SHOUTBOX_DESC40", "Shout tekst invoer selectie"); +define("_MI_SHOUTBOX_OP40_TL", "Enkele lijn Tekst"); +define("_MI_SHOUTBOX_OP40_TA", "Multi-lijn Tekstveld"); +define("_MI_SHOUTBOX_TITLE41", "Tekstveld rijen"); +define("_MI_SHOUTBOX_DESC41", "Hoogte van tekstveld in rijen<br />Alleen mogelijk wanneer Shout tekst invoer selectie = Multi-lijn tekstveld"); +define("_MI_SHOUTBOX_TITLE42", "Tekstveld kolommen"); +define("_MI_SHOUTBOX_DESC42", "Breedte van tekstveld in kolommen<br />Alleen mogelijk wanneer Shout tekst invoer selectie = Multi-lijn tekstveld"); +define("_MI_SHOUTBOX_TITLE43", "Tekstlijn lengte"); +define("_MI_SHOUTBOX_DESC43", "Breedte van enkele tekstlijn invoer in kakakters"); +define("_MI_SHOUTBOX_TITLE44", "Tekst Max karakters"); +define("_MI_SHOUTBOX_DESC44", "Maximum lengte voor tekstinvoer"); +define("_MI_SHOUTBOX_TITLE45", "Text Input Maximum waarschuwingen"); +define("_MI_SHOUTBOX_DESC45", "Activeert waarschuwingsberichten wanneer maximum tekstveldlimiet is bereikt"); +define("_MI_SHOUTBOX_TITLE46", "Captcha inschakelen"); +define("_MI_SHOUTBOX_DESC46", "Activeert captcha bevestigingscode (anti-spam instellinge)"); +define("_MI_SHOUTBOX_OP46_A", "Uitgeschakeld - Frameworks/captcha niet gevonden"); +define("_MI_SHOUTBOX_OP46_B", "Disable Captcha"); +define("_MI_SHOUTBOX_OP46_C", "Enable Frameworks Captcha"); +define("_MI_SHOUTBOX_OP46_D", "Enable Core Captcha"); +define('_MI_SHOUTBOX_EMPTY', ''); +?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ren...@us...> - 2012-08-25 18:29:22
|
Revision: 10115 http://xoops.svn.sourceforge.net/xoops/?rev=10115&view=rev Author: renetjuh Date: 2012-08-25 18:29:14 +0000 (Sat, 25 Aug 2012) Log Message: ----------- Upload NL language files mastop_go2 1.01 Added Paths: ----------- XoopsLanguages/dutch/modules/mastop_go2/ XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/ XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/ XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/admin.php XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/blocks.php XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/help/ XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/help/help.html XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/help/index.html XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/index.html XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/main.php XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/modinfo.php Property changes on: XoopsLanguages/dutch/modules/mastop_go2 ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01 ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/admin.php =================================================================== --- XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/admin.php (rev 0) +++ XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/admin.php 2012-08-25 18:29:14 UTC (rev 10115) @@ -0,0 +1,95 @@ +<?php +### ============================================================= +### Mastop InfoDigital - Paixão por Internet +### ============================================================= +### Arquivo de Tradução em ingls para Administração +### ============================================================= +### Developer: Fernando Santos (topet05), fer...@ma... +### Copyright: Mastop InfoDigital © 2003-2007 +### ------------------------------------------------------------- +### www.mastop.com.br +### ============================================================= +### $Id: admin.php,v 1.1 2007/05/01 21:11:11 topet05 Exp $ +### ============================================================= +// Geral +define("MGO_ADM_SEC", "Secties"); +define("MGO_ADM_GO2", "Spotlights"); +define("MGO_ADM_GER", "Beheer"); +define("MGO_ADM_ID", "ID"); +define("MGO_ADM_NOME", "Naam"); +define("MGO_ADM_IMAGEM", "Afbeelding"); +define("MGO_ADM_ATIVO", "Actief"); +define("MGO_ADM_SHOWHIDEMENU", "Toon/verberg menu"); +define("MGO_ADM_PORPAGINA", "records per pagina"); +define("MGO_ADM_FILTROS", "Filters"); +define("MGO_ADM_ACAO", "Actie"); +define("MGO_ADM_SEMRESULT", "Geen record gevonden!"); +define("MGO_ADM_GRP_ERR_SEL", "Selecteer een record!"); +define("MGO_ADM_GRP_ACTION", "Group acties: "); +define("MGO_ADM_GRP_DEL", "Verwijder selectie"); +define("MGO_ADM_GRP_DEL_SURE", "Zeker weten om de geselecteerde records te verwijderen?"); +define("MGO_ADM_SELECIONE", "Selecteren"); +define("MGO_ADM_SEARCH", "Zoeken"); +define("MGO_ADM_EXIBIR", "Weergeven "); +define("MGO_ADM_EXIBINDO", "Weergeven van %u tot %u of <b>%u</b> records."); +define("MGO_ADM_SUCESS_ADD", "Informatie succesvol toegevoegd"); +define("MGO_ADM_SUCESS_UPD", "Informatie bijgewerkt"); +define("MGO_ADM_SUCESS_DEL", "Informatie succesvol verwijderd"); +define("MGO_ADM_SUCESS2", "Informatie bijgewerkt"); +define("MGO_ADM_403", "Het is niet toegestaan om deze pagina te bekijken!"); +define("MGO_ADM_404", "ERROR: Record niet gevonden!"); +define("MGO_ADM_DB_ERRO", "ERROR: Opslaan in de database mislukt!"); +define("MGO_ADM_BLOCKS", "Blokken"); +define("MGO_ADM_IMAGEMS", "Afbeeldingen"); +define("MGO_ADM_GRUPOS", "Groepen"); +define("MGO_ADM_SECTION", "Sectie"); +define("MGO_ADM_DSTAC", "Spotlight"); +define("MGO_ADM_FEEDBACK", "Feedback"); +define("MGO_ADM_FEEDBACKN", "Feedback versturen"); +define("MGO_ADM_CHKVERSION", "Controleren voor update"); + + +// sec.php +define("MGO_ADM_SEC_TITULO", "Sectie beheer"); +define("MGO_ADM_SEC_NEW", "Sectie toevoegen"); +define("MGO_ADM_SEC_EDIT", "Sectie bewerken"); +define("MGO_ADM_SEC_CONFIRMA_DEL", "Zeker weteom om sectie <b># %u</b> - %s te verwijderen gezamelijk met alle bijbehorende spotlights?"); + +// go2.php +define("MGO_ADM_GO2_30_NOME", "Tekst"); +define("MGO_ADM_GO2_30_LINK", "URL"); +define("MGO_ADM_GO2_10_ACESSOS", "Klikken"); +define("MGO_ADM_GO2_11_TARGET", "Open URL in"); +define("MGO_ADM_GO2_11_TARGET_0", "Zelfde venster"); +define("MGO_ADM_GO2_11_TARGET_1", "Nieuw venster"); +define("MGO_ADM_GO2_TITULO", "Spotlights Administratie"); +define("MGO_ADM_GO2_NEW", "Spotlight toevoegen"); +define("MGO_ADM_GO2_EDIT", "Spotlight bewerken"); +define("MGO_ADM_GO2_CONFIRMA_DEL", "Zeker weten om spotlight '# %u - %s' te verwijderen?"); +define("MGO_ADM_GO2_ATIVA_SEL", "Selectie activeren"); +define("MGO_ADM_GO2_DESATIVA_SEL", "Selectie de-activeren"); +define("MGO_ADM_GO2_ZERA_COUNT", "Klikken legen"); + +// feedback.php +define("MGO_ADM_YNAME", "Je Naam"); +define("MGO_ADM_YEMAIL", "Je E-mail"); +define("MGO_ADM_YSITE", "website"); +define("MGO_ADM_FEEDTYPE", "Feedbacktype<br /><span style='font-size:10px; font-weight:normal'>* Verklaringen worden geplaatst op de Mastop Go2 hoofdpagina</span>"); +define("MGO_ADM_TBUGS", "Fout"); +define("MGO_ADM_TESTIMONIAL", "Verklaring"); +define("MGO_ADM_TSUGGESTION", "Suggesties"); +define("MGO_ADM_TFEATURES", "Middelen"); +define("MGO_ADM_TOTHERS", "Anders"); +define("MGO_ADM_DESC", "Omschrijving"); +define("MGO_ADM_FEEDSUCCESS", "Reactie succesvol verstuurd!"); + +//1.01 +define("_AM_TOPPAGE", "Toppagina"); +define("_AM_ALLPAGES", "Alle pagina's"); +define("_AM_BADMIN", "Pagina"); +define("_AM_TITLE", "Titel"); +define("_AM_SIDE", "Zijde"); +define("_AM_WEIGHT", "Gewicht"); +define("_AM_VISIBLE", "Zichtbaar"); +define("_AM_VISIBLEIN", "Zichtbaar in"); +define("_AM_ACTION", "Actie"); Added: XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/blocks.php =================================================================== --- XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/blocks.php (rev 0) +++ XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/blocks.php 2012-08-25 18:29:14 UTC (rev 10115) @@ -0,0 +1,22 @@ +<?php +### ============================================================= +### Mastop InfoDigital - Paixão por Internet +### ============================================================= +### Arquivo de Tradução em inglês para Informações de Blocos +### ============================================================= +### Developer: Fernando Santos (topet05), fer...@ma... +### Copyright: Mastop InfoDigital © 2003-2007 +### ------------------------------------------------------------- +### www.mastop.com.br +### ============================================================= +### $Id: blocks.php,v 1.1 2007/05/01 21:11:11 topet05 Exp $ +### ============================================================= +define("MGO_BLO_MODDIR", "mastop_go2"); +define("MGO_BLO_SHOW_SECTION", "Sectie weergeven"); +define("MGO_BLO_ALTURA", "Hoogte van het blok (pixels)"); +define("MGO_BLO_SETAS", "Navigatiepijlen weergeven?"); +define("MGO_BLO_BARRA", "Tekstbar weergeven?"); +define("MGO_BLO_DELAY", "Transitietijd tussen spotlights (seconden)"); +define("MGO_BLO_BGCOLOR", "Tekstbarkleur"); +define("MGO_BLO_TXTCOLOR", "Tekstkleur"); +define("MGO_BLO_TRANSP", "Tekstbar Transparantie"); \ No newline at end of file Property changes on: XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/help ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/help/help.html =================================================================== --- XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/help/help.html (rev 0) +++ XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/help/help.html 2012-08-25 18:29:14 UTC (rev 10115) @@ -0,0 +1,37 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/mastop_go2/admin/index.php" + title="Terug naar de administratie van Mastop Go2"> Mastop Go2 <img src="<{xoAdminIcons home.png}>" + alt="Back to the Administration of Mastop Go2"/> + </a></h1> + <!-- -----Help Content ---------- --> + + <h4 class="odd">Omschrijving</h4> + + <p class="even"> + Mastop Go2 is a new concept in Spotlights Management for XOOPS sites, following the standards of OO development, facilitating the inclusion of new resources. Even being simple, Mastop Go2 module came to meet the basic needs for any Xoops site: Let the site more beautiful and speed up the publication of any information, may it be written or graphical.<br /><br /> + <h4 class="odd">Installeren/de-installeren</h4> + + Geen speciale maatregelen zijn nodig, volg de standaard installatieprocedure – + pak de /mastop_go2 map uit in de ../modules map. Installeer de module + via Administratie -> Modules -> Systeembeheer -> Modules. <br/><br/> + Gedetailleerde instructies voor het installeren van modules zijn beschikbaar in de + <a href="http://goo.gl/adT2i">XOOPS Gebruikershandleiding</a><br/><br/> + + <h4 class="odd">Gebruikersaanwijziging</h4> + <p class="even"> + +To set up this module you need to:<br /><br /> +i) Set the access permissions to anonymous users (only doing that you can use the code generator to put yours Spotlights everywhere).)<br /><br /> +ii) Go to administration and submit sections and spotlights.<br /><br /> +iii) Go to Mastop Go2 Blocks Administration and active / configure / clone blocks as you want.<br /><br /> +iv) If you want to use the Spotlights in other site (or if you want allow your guests to promote yours spotlights), go to Code Generator at the Home of your Mastop Go2.<br /><br /> +v) Ensure that relevant user groups have access rights to a) the Polls module and b) the Polls block so that they can see it and vote. Detailed instructions on configuring the access rights for user groups are available in the <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a><br /><br /> + </p> + <h4 class="odd">Handleiding</h4><br/> + + Vindt een meer gedetailleerde handleiding <a href="http://goo.gl/bz94i">hier</a><br/> + + <!-- -----Help Content ---------- --> + +</div> \ No newline at end of file Added: XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/help/index.html =================================================================== --- XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/help/index.html (rev 0) +++ XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/help/index.html 2012-08-25 18:29:14 UTC (rev 10115) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/index.html =================================================================== --- XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/index.html (rev 0) +++ XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/index.html 2012-08-25 18:29:14 UTC (rev 10115) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/main.php =================================================================== --- XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/main.php (rev 0) +++ XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/main.php 2012-08-25 18:29:14 UTC (rev 10115) @@ -0,0 +1,31 @@ +<?php +### ============================================================= +### Mastop InfoDigital - Paixão por Internet +### ============================================================= +### Arquivo de Tradução em inglês para a Home do Módulo +### ============================================================= +### Developer: Fernando Santos (topet05), fer...@ma... +### Copyright: Mastop InfoDigital © 2003-2007 +### ------------------------------------------------------------- +### www.mastop.com.br +### ============================================================= +### $Id: main.php,v 1.2 2007/05/02 00:27:32 topet05 Exp $ +### ============================================================= +define("MGO_MAI_DESC", "Promote us! Use the form below to create the code to put in your site."); +define("MGO_MAI_FORM_TITLE", "Code Generator"); +define("MGO_MAI_COPY_PASTE", "Kopieer de onderstaande code en plak deze in je site om de bovenstaande spotlights weer te geven."); +define("MGO_MAI_SECTION", "Sectie"); +define("MGO_MAI_WIDTH", "Schijnwerper breedte"); +define("MGO_MAI_HEIGHT", "Schijnwerper hoogte (pixels)"); +define("MGO_MAI_SETAS", "Navigatiepijlen weergeven?"); +define("MGO_MAI_BARRA", "Show Text Bar?"); +define("MGO_MAI_DELAY", "Transitie tijd tussen afbeeldingen<br /> (seconden)"); +define("MGO_MAI_BARCOLOR", "Text Bar kleur"); +define("MGO_MAI_TEXTCOLOR", "Tekstkleur"); +define("MGO_MAI_TRANSP", "Text Bar Transparantie"); +define("MGO_MAI_GENERATE", "Genereer!"); +define("MGO_MAI_ALIGN", "Uitlijnen"); +define("MGO_MAI_ALIGN_MIDDLE", "Midden"); +define("MGO_MAI_ALIGN_LEFT", "Links"); +define("MGO_MAI_ALIGN_RIGHT", "Rechts"); +define("MGO_MAI_SEC_404", "Er is geen actieve spoplight in sectie %s."); \ No newline at end of file Added: XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/modinfo.php =================================================================== --- XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/modinfo.php (rev 0) +++ XoopsLanguages/dutch/modules/mastop_go2/mastop_go2 1.01/nederlands/modinfo.php 2012-08-25 18:29:14 UTC (rev 10115) @@ -0,0 +1,38 @@ +<?php +### ============================================================= +### Mastop InfoDigital - Paixão por Internet +### ============================================================= +### Arquivo de Tradução em inglês para Informações do Módulo +### ============================================================= +### Developer: Fernando Santos (topet05), fer...@ma... +### Copyright: Mastop InfoDigital © 2003-2007 +### ------------------------------------------------------------- +### www.mastop.com.br +### ============================================================= +### $Id: modinfo.php,v 1.1 2007/05/01 21:11:11 topet05 Exp $ +### ============================================================= +// xoops_version.php +define("MGO_MOD_NOME", "Mastop Go2"); +define("MGO_MOD_DESC", "A Spotlights Module"); +define("MGO_MOD_DIR", "mastop_go2"); +define("MGO_MOD_TABELA0", "mgo_sec_section"); +define("MGO_MOD_TABELA1", "mgo_go2_go2"); +define("MGO_MOD_BLOCOS", "Blocks"); + +define("MGO_MOD_BLOCO1", "Spotlights"); +define("MGO_MOD_BLOCO1_DESC", "Blok om spotlights weer te geven"); +define("MGO_MOD_BLOCO1_FILE", "mgo_go2.bloco.php"); +define("MGO_MOD_BLOCO1_SHOW", "mgo_go2_exibe"); +define("MGO_MOD_BLOCO1_EDIT", "mgo_go2_edita"); +define("MGO_MOD_BLOCO1_TEMPLATE", "mgo_go2.block.tpl.html"); + +define("MGO_MOD_DSTAC_IMG", "Spotlights Afbeeldingen"); +define("MGO_MOD_DSTAC_IMG_DES", "Selecteer de afbeeldingenbibliotheek waar de spotlight afbeeldingen worden bewaard<br /> +Selecteer door gebruik te maken van <B>CTRL</B>.<br /> +<p style='font-weight:bold; color:red; width: 550px'>Wanneer er een afbeeldingsbibliotheek is toegevoegd na de installatie van deze module, update het dan zodat de categorie ook wordt weergegeven.</p>"); +// admin/menu.php +define('MGO_MOD_MENU_SEC','Secties'); +define('MGO_MOD_MENU_GO2','Spotlights'); +define("MGO_ADM_HOME", "Home"); +define("MGO_ADM_ABOUT", "Over"); +?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ren...@us...> - 2012-08-25 18:26:14
|
Revision: 10114 http://xoops.svn.sourceforge.net/xoops/?rev=10114&view=rev Author: renetjuh Date: 2012-08-25 18:26:06 +0000 (Sat, 25 Aug 2012) Log Message: ----------- Upload NL language files iplog 1.01 Added Paths: ----------- XoopsLanguages/dutch/modules/iplog/ XoopsLanguages/dutch/modules/iplog/iplog 1.01/ XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/ XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/admin.php XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/help/ XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/help/help.html XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/help/index.html XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/index.html XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/mail_template/ XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/mail_template/index.html XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/modinfo.php Property changes on: XoopsLanguages/dutch/modules/iplog ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/dutch/modules/iplog/iplog 1.01 ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/admin.php =================================================================== --- XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/admin.php (rev 0) +++ XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/admin.php 2012-08-25 18:26:06 UTC (rev 10114) @@ -0,0 +1,44 @@ +<?php +// $Id: admin.php 4751 2010-05-01 15:35:45Z trabis $ +// _LANGCODE: nl +// _CHARSET : UTF-8 +// Translator: NLXOOPS, Flipse + +define("_AM_IPLOG_SECONDS", "Seconden"); + +define("_AM_IPLOG_TH_IP_ID", "IP ID"); +define("_AM_IPLOG_TH_UNAME", "Gebruikersnaam"); +define("_AM_IPLOG_TH_IP", "IP"); +define("_AM_IPLOG_TH_COUNTRY_CODE", "Land Code"); +define("_AM_IPLOG_TH_NAME", "IP Land"); +define("_AM_IPLOG_TH_REGION", "IP Regio"); +define("_AM_IPLOG_TH_CONTINENT", "IP Continent"); +define("_AM_IPLOG_TH_NETWORK_ADDY", "NetBIOS"); +define("_AM_IPLOG_TH_PROXY_IP", "Proxy IP"); +define("_AM_IPLOG_TH_USERAGENT", "User Agent"); +define("_AM_IPLOG_TH_START", "Start Sessie"); +define("_AM_IPLOG_TH_END", "Einde Sessie"); +define("_AM_IPLOG_TH_ONLINE", "Tijd Online"); +define("_AM_IPLOG_TH_ACTIONS", "Aktie"); + +define("_AM_IPLOG_LOG_H1", "Bezoekers IP Logfile"); +define("_AM_IPLOG_LOG_P", "Deze logfile toont de recente bezoekers, het door hen gebruikte IP adres, Netbios en land/ regio/ continent van herkomst"); + +//Version 1.72 +//Dashboard +define('_AM_IPLOG_ADMIN_COUNTS_BY_COUNTRY', 'Gebruikers sessies per Land'); +define('_AM_IPLOG_ADMIN_COUNTS_BY_REGION', 'Gebruikers sessies per Regio'); +define('_AM_IPLOG_ADMIN_COUNTS_BY_CONTINENT', 'Gebruikers sessies per Continent'); +define('_AM_IPLOG_ADMIN_SUM_BY_COUNTRY', 'Totaal minuten per Land'); +define('_AM_IPLOG_ADMIN_SUM_BY_REGION', 'Totaal minuten per Regio'); +define('_AM_IPLOG_ADMIN_SUM_BY_CONTINENT', 'Totaal minuten per Continent'); +define('_AM_IPLOG_ADMIN_AVG_BY_COUNTRY', 'Minuten gemiddeld per Land'); +define('_AM_IPLOG_ADMIN_AVG_BY_REGION', 'Minuten gemiddeld per Regio'); +define('_AM_IPLOG_ADMIN_AVG_BY_CONTINENT', 'Minuten gemiddeld per Continent'); + +//About +define('_AM_IPLOG_ABOUT_MAKEDONATE', 'Doneer een bijdrage aan Chronolabs co-op, de ontwikkelaar van deze module'); + +define('_AM_MSG_LOG_DELETE', 'Wilt u dit adres echt verwijderen?'); +define('_AM_MSG_LOG_DELETED', 'IP adres succesvol verwijderd!'); + Property changes on: XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/help ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/help/help.html =================================================================== --- XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/help/help.html (rev 0) +++ XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/help/help.html 2012-08-25 18:26:06 UTC (rev 10114) @@ -0,0 +1,27 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/profile/admin/index.php" + title="Terug naar de administratie van "> Profile Module <img src="<{xoAdminIcons home.png}>" + alt="Back to the Administration of Profile"/> + </a></h1> + <!-- -----Help Content ---------- --> + + <h4 class="odd">Omschrijving</h4> + + <p class="even"> + IP log is een Module voor het loggen van IP adressen van gebruikers.<br /><br /> + </p> + <h4 class="odd">Installeren/de-installeren</h4><br/> + + Geen speciale maatregelen zijn nodig, volg de standaard installatieprocedure – + pak de /contact map uit in de ../modules map. Installeer de module + via Administratie -> Modules -> Systeembeheer -> Modules. <br/><br/> + Gedetailleerde instructies voor het installeren van modules zijn beschikbaar in de + <a href="http://goo.gl/adT2i">XOOPS Gebruikershandleiding</a><br/><br/> + + <h4 class="odd">Handleiding</h4><br/> + + Een meer gedetaileerde handleidin gvolgt snel...........</a><br/> + + <!-- -----Help Content ---------- --> +</div> \ No newline at end of file Added: XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/help/index.html =================================================================== --- XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/help/index.html (rev 0) +++ XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/help/index.html 2012-08-25 18:26:06 UTC (rev 10114) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/index.html =================================================================== --- XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/index.html (rev 0) +++ XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/index.html 2012-08-25 18:26:06 UTC (rev 10114) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/mail_template ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/mail_template/index.html =================================================================== --- XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/mail_template/index.html (rev 0) +++ XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/mail_template/index.html 2012-08-25 18:26:06 UTC (rev 10114) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/modinfo.php =================================================================== --- XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/modinfo.php (rev 0) +++ XoopsLanguages/dutch/modules/iplog/iplog 1.01/nederlands/modinfo.php 2012-08-25 18:26:06 UTC (rev 10114) @@ -0,0 +1,81 @@ +<?php +/* + * Logs Guest and users IP Addresses for a period of time and provides + * basic statistic of them in XOOPS Copyright (C) 2012 Simon Roberts + * Contact: wishcraft - si...@ch... + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * See /docs/license.pdf for full license. + * + * Shouts:- Mamba (www.xoops.org), flipse (www.nlxoops.nl) + * Many thanks for your additional work with version 1.01 + * + * Version: 1.01 Final + * Published: Chronolabs + * Download: http://code.google.com/p/chronolabs + * This File: modinfo.php + * Description: Module Global Language Defines & constants + * Date: 28/07/2015 5:45PM AEST + * License: GNU3 + * Translation: NLXOOPS, Flipse + */ + +define("_MI_IPLOG_NAME", "User IP Logger"); +define("_MI_IPLOG_DESC", "Module voor het loggen van IP adressen van gebruikers"); + +//Admin links +define("_MI_IPLOG_INDEX", "Index"); +define("_MI_IPLOG_LOG", "IP Log"); +define("_MI_IPLOG_GRAPHS", "Grafieken"); +define('_MI_IPLOG_DASHBOARD', 'Overzicht'); +define('_MI_IPLOG_ABOUT', 'Over de Module'); + +//Preferences +define('_MI_IPLOG_LOGDROPS', 'Log wordt opgeschoond na'); +define('_MI_IPLOG_LOGDROPS_DESC', 'Hoe lang moet de logfile worden bewaard? Gegevens die de gekozen leeftijd bereiken worden automatisch verwijderd!'); +define('_MI_IPLOG_LOGDROPS_24HOURS', '24 Uur'); +define('_MI_IPLOG_LOGDROPS_1WEEK', '1 Week'); +define('_MI_IPLOG_LOGDROPS_FORTNIGHT', '2 Weken'); +define('_MI_IPLOG_LOGDROPS_1MONTH', '1 Maand'); +define('_MI_IPLOG_LOGDROPS_2MONTHS', '2 Maanden'); +define('_MI_IPLOG_LOGDROPS_3MONTHS', '3 Maanden'); +define('_MI_IPLOG_LOGDROPS_4MONTHS', '4 Maanden'); +define('_MI_IPLOG_LOGDROPS_5MONTHS', '5 Maanden'); +define('_MI_IPLOG_LOGDROPS_6MONTHS', '6 Maanden'); +define('_MI_IPLOG_LOGDROPS_12MONTHS', '1 Jaar'); +define('_MI_IPLOG_LOGDROPS_24MONTHS', '2 Jaar'); +define('_MI_IPLOG_LOGDROPS_36MONTHS', '3 Jaar'); + +define('_MI_IPLOG_IPDB_APIKEY', 'IPDB API Key'); +define('_MI_IPLOG_IPDB_APIKEY_DESC', 'Registreer uzelf bij <a href="http://ipinfodb.com/register.php">IPDB</a> voor een API Key (sleutel). Zonder ingevoerde API Key worden de statistieken niet correct weergegeven!'); +define('_MI_IPLOG_USER_AGENT', 'cURL User-agent'); +define('_MI_IPLOG_USER_AGENT_DESC', 'Dit is hoe uw site zich bij het starten van de cURL sessie identificeert. cURL is het protocol dat wordt gebruikt om gegevens uit te wisselen met de IPDB database. De standaard instelling kunt u doorgaans zo laten staan.'); +define('_MI_IPLOG_CURL_CONNECTION_TIMEOUT', 'cURL DNS Connectie Time-out'); +define('_MI_IPLOG_CURL_CONNECTION_TIMEOUT_DESC', 'Maximaal aantal seconden waarbinnen de DNS server gegevens moet uitwisselen met het cURL protocol'); +define('_MI_IPLOG_CURL_TIMEOUT', 'cURL Communicatie Time-out'); +define('_MI_IPLOG_CURL_TIMEOUT_DESC', 'Het aantal seconden waarbinnen het cURL protocol moet reageren voor een timeout plaatsvindt'); +define('_MI_IPLOG_CURL_SSL_VERIFY_PEER', 'cURL Valideert SSL Certificaten'); +define('_MI_IPLOG_CURL_SSL_VERIFY_PEER_DESC', 'Voor deze instelling heeft u een geldig SSL certificaat nodig, zodat u cURL via https:// kunt gebruiken'); +define('_MI_IPLOG_CURL_VERBOSE', 'Gebruik cURL in Verbose modus'); +define('_MI_IPLOG_CURL_VERBOSE_DESC', 'Via deze optie werkt cURL in verbose modus!'); + +// Version 1.02 +define("_MI_IPLOG_GUEST", "Gast"); +define('_MI_IPLOG_ANONYMOUS', 'Anonieme gebruikers tonen in de logfile?'); +define('_MI_IPLOG_ANONYMOUS_DESC', 'Staat deze optie aan dan worden ook niet ingelogde bezoekers in de logfile getoond'); +define('_MI_IPLOG_IPV4', 'IPv4'); +define('_MI_IPLOG_IPV6', 'IPv6'); + +?> + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ren...@us...> - 2012-08-25 18:23:34
|
Revision: 10113 http://xoops.svn.sourceforge.net/xoops/?rev=10113&view=rev Author: renetjuh Date: 2012-08-25 18:23:26 +0000 (Sat, 25 Aug 2012) Log Message: ----------- Upload NL Language files contact 1.72 Added Paths: ----------- XoopsLanguages/dutch/modules/contact/contact 1.72/ XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/ XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/admin.php XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/help/ XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/help/help.html XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/help/index.html XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/index.html XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/main.php XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/modinfo.php Property changes on: XoopsLanguages/dutch/modules/contact/contact 1.72 ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/admin.php =================================================================== --- XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/admin.php (rev 0) +++ XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/admin.php 2012-08-25 18:23:26 UTC (rev 10113) @@ -0,0 +1,60 @@ +<?php +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------- // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// 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. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // + +//1.71 + +// About.php +define("_AM_CONTACT_ABOUT_RELEASEDATE", "Verschijningsdatum: "); +define("_AM_CONTACT_ABOUT_UPDATEDATE", "Bijgewerkt: "); +define("_AM_CONTACT_ABOUT_AUTHOR", "Auteur: "); +define("_AM_CONTACT_ABOUT_CREDITS", "Medewerking: "); +define("_AM_CONTACT_ABOUT_LICENSE", "Licentie: "); +define("_AM_CONTACT_ABOUT_MODULE_STATUS", "Status: "); +define("_AM_CONTACT_ABOUT_WEBSITE", "Website: "); +define("_AM_CONTACT_ABOUT_AUTHOR_NAME", "Naam Auteur: "); +define("_AM_CONTACT_ABOUT_CHANGELOG", "Wijzigingshistorie"); +define("_AM_CONTACT_ABOUT_MODULE_INFO", "Module Info"); +define("_AM_CONTACT_ABOUT_AUTHOR_INFO", "Auteur Info"); +define("_AM_CONTACT_ABOUT_DESCRIPTION", "Omschrijving: "); + +//ModuleAdmin +define('_AM_CONTACT_MODULEADMIN_MISSING','ERROR: De ModuleAdmin class ontbreekt. Installeer de ModuleAdmin Class in de map /Frameworks (lees /docs/readme.txt)'); + +// index.php +define("_AM_CONTACT_ADMIN_INDEX", "Index"); +define("_AM_CONTACT_ADMIN_ABOUT", "Over"); +define("_AM_CONTACT_ADMIN_HELP", "Help"); +define("_AM_CONTACT_ADMIN_SLIDES", "Slides"); +define("_AM_CONTACT_ADMIN_PAGES", "Pagina's"); +define("_AM_CONTACT_ADMIN_UPDATE", "Bijwerken"); +define("_AM_CONTACT_ADMIN_PREFERENCES", "Instellingen"); +define("_AM_CONTACT_ADMIN_INDEX_TXT1", "This module lets you display on your pages with <strong>\"slideshow \"</strong> images with links to pages on your site or pages externes.<br />By default, the module is delivered with 7 flash slideshow templates, javascript or css, you can naturally incorporate or create new ones <em>(make based on those existing for example)</em> with some knowledge of development"); + +// text in admin footer +define("_AM_CONTACT_ADMIN_FOOTER", "<div class='right smallsmall italic pad5'><b>" . $xoopsModule->getVar("name") . "</b> is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); + +define('_CONTACT_ADMIN_'," "); // +?> Property changes on: XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/help ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/help/help.html =================================================================== --- XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/help/help.html (rev 0) +++ XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/help/help.html 2012-08-25 18:23:26 UTC (rev 10113) @@ -0,0 +1,32 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/contact/admin/index.php" + title="Terug naar de administratie van Contact"> Contact + <img src="<{xoAdminIcons home.png}>" + alt="Terug naar de administratie van Contact"/> + </a></h1> + + <h4 class="odd">Omschrijving</h4> + + 'Contact Us' is een simpele module. Het voorziet in een link in het hoofdmenu + naar een contactformulier die bezoekers kunnen gebruiken om een e-mail bericht te sturen aan andere gebruikers van de site.</p> + + + Wijzig de inhoud van het contactformulier in 'instellingen'r/><br/><br/> + + <h4 class="odd">Installeren/de-installeren</h4><br/> + + Geen speciale maatregelen zijn nodig, volg de standaard installatieprocedure – + pak de /contact map uit in de ../modules map. Installeer de module + via Administratie -> Modules -> Systeembeheer -> Modules. <br/><br/> + Gedetailleerde instructies voor het installeren van modules zijn beschikbaar in de + <a href="http://goo.gl/adT2i">XOOPS Gebruikershandleiding</a><br/><br/> + + + <h4 class="odd">Gebruikersaanwijzing</h4><br/> + Er is geen extra informatie benodigd voor de beheerzijde, behalve het instellingen van de voorkeuren.<br/><br/> + <h4 class="odd">Handleiding</h4><br/> + + Vindt een meer gedetailleerde handleiding <a href="http://goo.gl/bz94i">hier</a><br/> + +</div> \ No newline at end of file Added: XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/help/index.html =================================================================== --- XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/help/index.html (rev 0) +++ XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/help/index.html 2012-08-25 18:23:26 UTC (rev 10113) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/index.html =================================================================== Added: XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/main.php =================================================================== --- XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/main.php (rev 0) +++ XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/main.php 2012-08-25 18:23:26 UTC (rev 10113) @@ -0,0 +1,29 @@ +<?php +define("_CT_NAME","Naam:"); +define("_CT_EMAIL","E-mail:"); +define("_CT_URL","Website:"); +define("_CT_ICQ","ICQ:"); +define("_CT_COMPANY","Bedrijf:"); +define("_CT_LOCATION","Locatie:"); +define("_CT_COMMENTS","Bericht:"); +define("_CT_SUBMIT","Verzenden"); +define("_CT_YOURMESSAGE","Uw bericht:"); +define("_CT_WEBMASTER","Webmaster"); +define("_CT_HELLO","Hallo %s,"); +define("_CT_THANKYOUCOMMENTS","Dank u voor uw bericht aan %s."); +define("_CT_SENTTOWEBMASTER","Uw bericht is verzonden aan %s."); +define("_CT_SUBMITTED","%s heeft de volgende informatie toegevoegd:"); +define("_CT_MESSAGESENT","Bericht aan %s is verzonden"); +define("_CT_CONFIRM","Bevestiging"); +define("_CT_SENDCONFIRMEMAIL","Verstuur bevestigingse-mail aan %s"); +define("_CT_SENDCONFIRM","Bevestigings-email is aan u verzonden!" ); +define("_CT_SENTASCONFIRM","Uw opmerkingen zijn verzonden aan: %s als een goedkeuringse-mail."); +define("_CT_ADDRESS","Adres"); +define("_CT_SECURITY_CODE","Beveiligingscode" ); +define("_CT_SECURITY_TYPE","Geef code:" ); +define("_CT_ERROR_CONDITIONHEAD","Fout"); +define("_CT_ERROR_CONDITION","<b>Corrigeer de fout alstublieft!</b><br />" ); +define("_CT_ERROR_BADSECVALUE_MSG","De beveiligingscode is onjuist!<br />"); +define("_CT_ERROR_BADEMAIL_MSG","Controleer het opgegeven emailadres!<br />"); +define("_CT_NO_SPAM","Geen SPAM! Beveiligingscontrole"); +?> \ No newline at end of file Added: XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/modinfo.php =================================================================== --- XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/modinfo.php (rev 0) +++ XoopsLanguages/dutch/modules/contact/contact 1.72/nederlands/modinfo.php 2012-08-25 18:23:26 UTC (rev 10113) @@ -0,0 +1,110 @@ +<?php +// $Id: modinfo.php,v 1.8 2004/12/26 19:11:54 onokazu Exp $ +// Module Info + +// The name of this module +define("_MI_CONTACT_NAME","Contact"); +// A brief description of this module +define("_MI_CONTACT_DESC","E-mail contact module"); + +define('_MI_CONTACT_SETTINGS','Instellingen'); +define('_MI_CONTACT_SETTINGS_DSC','Contacteer ons Verzameling instellingen'); +define('_MI_CONTACT_GEN','Algemeen' ); +define('_MI_CONTACT_GEN_DSC','Algemene instellingen voor intro en onderwerp/e-mail definities' ); + +// Config stuff +define("_MI_CONTACT_GETICQ","Bewaar ICQ" ); +define("_MI_CONTACT_GETICQDSC","Ja - vraag naar ICQ" ); + +define("_MI_CONTACT_ALLOWSENDCONFIRM","Sta bevestigingsberichten toe" ); +define("_MI_CONTACT_ALLOWSENDCONFIRMDSC","Ja - toon een check box aan de gebruiker, om " +."een bevestigingse-mail toe te sturen." ); + +define("_MI_CONTACT_GETURL","Bewaar gebruikers URL" ); +define("_MI_CONTACT_GETURLDSC","Ja - vraag naar de website van de gebruiker" ); + +define("_MI_CONTACT_GETCOMPANY","Bewaar gebruikers bedrijfsnaam" ); +define("_MI_CONTACT_GETCOMPANYDSC","Ja - vraag naar de bedrijfsnaam van de gebruiker" ); + +define("_MI_CONTACT_GETLOC","Bewaar gebruikers locatie" ); +define("_MI_CONTACT_GETLOCDSC","Ja - vraag naar de locatie van de gebruiker, niet het volledige adres" ); + +define("_MI_CONTACT_ADDRESS","Bewaar gebruikers adres" ); +define("_MI_CONTACT_ADDRESSDSC","Ja - Vraag naar het adres van de gebruiker" ); + +define("_MI_CONTACT_INTROHEAD","Introductie Titel weergave" ); +define("_MI_CONTACT_INTROHEAD_DESC","Dit is de titel, gekoppeld aan de <b>Introductie Tekst</b>"); +define("_MI_CONTACT_INTRO_DEFAULT","Vul het formulier volledig in en verstuur, we zullen <br /> zo spoedig mogelijk reageren!"); + +define("_MI_CONTACT_INTRO","Introductie Tekst" ); +define("_MI_CONTACT_INTRO_DESC","Tekst die kan worden toegevoegd aan het begin van de <b>Contacteer ons</b><br />" +."boodschap. B.v. - Welkomst tekst, e-mailadres, telefoonnummers etc" ); + +define("_MI_CONTACT_SECURITY","Beveiligingscheck" ); +define("_MI_CONTACT_SECURITYDSC","Ja - Activeer <b>Beveiligingscheck</b> om gebruikers toe te staan om berichtn te verzenden.<br />" +."Dit help <b>Contacteer ons</b> tevens om SPAM te voorkomen!" ); + +define("_MI_CONTACT_SITEKEY","Willekeurige sleutel" ); +define("_MI_CONTACT_SITEKEYDSC","Maakt mix van letters en/of cijfers om <b>Beveiligingscheck</b><br />" +."meer wisselend en korrellig te maken!" ); + +define("_MI_CONTACT_HEAD","Contacteer Titel" ); +define("_MI_CONTACT_HEADDSC","Titel voor Contacteer ons Formulier"); +define("_MI_CONTACT_HEADDEFAULT","Contactformulier"); + +define("_MI_CONTACT_THANKYOU","Dank bericht"); +define("_MI_CONTACT_THANKYOUDSC","Bericht aan gebruiker om hem te bedanken voor het opnemen van contact"); +define("_MI_CONTACT_THANKYOUDEFAULT","Bedankt voor het bericht. We zullen zo spoedig mogelijk contact opnemen!"); + +define("_MI_CONTACT_TIMEOUT","Redirect Pagina Timeout"); +define("_MI_CONTACT_TIMEOUTDSC","Dit is het aantal seconden dat de redirect pagina wordt getoond na het versturen van een bericht."); + +define("_MI_CONTACT_SHOWDEPT","Tonen \"Sectie/Onderwerp\"Sectie"); +define("_MI_CONTACT_SHOWDEPTDSC","Ja - toont een dropdown menu met aanwezige secties/onderwerpen<br />" +."Als er geen secties worden getoont, worden alle berichten verzonden naar het e-mailadres van de website" ); + +define("_MI_CONTACT_DEPTTITLE","\"Sectie/Onderwerp\" Titel"); +define("_MI_CONTACT_DEPTTITLEDSC","Titel tonen in \"Sectie/Onderwerp\" van het Contacteer ons formulier"); +define("_MI_CONTACT_DEPTTITLEDEFAULT","Sectie/Onderwerp"); + +define("_MI_CONTACT_DEPT","Secties" ); +define("_MI_CONTACT_DEPTDSC","Secties maken het u mogelijk om e-mailadressen gekoppeld aan secties te defineren. Berichten, die<br />" +."door gebruikers vanuit een specifieke Sectie/onderwerp worden verstuurd, naar het <br />" +."door u gedefineerde e-mailadres.<br /><br />" +."Defineer ieder sectie/e-mail als volgt:<br /><br />" +."sectie1,e-maildres1|sectie2,e-mailadres2|sectie3,e-mailadres3 etc. - elke sectie en e-mailadres moeten worden gescheiden<br />" +."door een komma ',', en iedere sectie/e-mail combinatie moeten worden gescheiden door een: '|'" ); + +define("_MI_CONTACT_VALIDATEDOMAIN","Valideer E-mail Domein"); +define("_MI_CONTACT_VALIDATEDOMAINDSC","Ja - Activeer \"deep-check\" van domein.tld opgegeven in het e-mailadres.<br />" +."Nee - Doet een simpele controle of het e-mailadres is ingevoerd."); + +define("_MI_CONTACT_SHOWMOREINFO","Tonen \"Meer Informatie\" Sectie" ); +define("_MI_CONTACT_SHOWMOREINFODSC","Ja - Toont een sectie met multi-checkbox die u heeft gedefineerd bij \"Meer Informatie\""); + +define("_MI_CONTACT_MOREINFOTITLE","\"Meer Informatie\" Titel" ); +define("_MI_CONTACT_MOREINFOTITLEDSC","Toont titel in \"Meer Informatie\" gedeelte van het Contacteer ons formulier" ); +define("_MI_CONTACT_MOREINFOTITLEDEFAULT","Een vraag om meer informatie"); + +define("_MI_CONTACT_MOREINFO","\"Meer Informatie\" Items"); +define("_MI_CONTACT_MOREINFODSC","\"Meer Informatie\" items maken het mogelijk om gebruikers items te tonen die zij kunnen bekijken<br />" +."als ze geinteresseerd zijn of meer willen weten. Het is een mogelijkheid om uw bezoekers te sturen<br />" +."als u dat zou willen. Als voorbeeld van een commerciele applicatie - een winkel zal eerst<br />" +."algemene informatie willen verstrekken, waarbij de klant wel een specifieke verkoper kan benaderen. Dit is tevens een<br />" +."manier om klanten te vergaren.<br /><br />" +."Defineer ieder item als volgt:<br /><br />" +."item1|item2|item3 etc. - ieder item moet worden gescheiden door een: '|'"); + +//1.71 +// index.php +//define("_MI_CONTACT_ADMIN_INDEX", "Home"); + +define('_MI_CONTACT_MENU_00',"Overzicht"); +define("_MI_CONTACT_ADMIN_HOME_DESC","Ga terug naar begin"); + +define("_MI_CONTACT_ADMIN_ABOUT", "Over"); +define("_MI_CONTACT_ADMIN_ABOUT_DESC" , "Over deze module"); + +define("_MI_CONTACT_ADMIN_HELP", "Help"); +define("_MI_CONTACT_ADMIN_HELP_DESC" , "Module help"); +?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lor...@us...> - 2012-08-25 17:27:13
|
Revision: 10112 http://xoops.svn.sourceforge.net/xoops/?rev=10112&view=rev Author: lord_venom Date: 2012-08-25 17:27:07 +0000 (Sat, 25 Aug 2012) Log Message: ----------- add usercount table Modified Paths: -------------- XoopsModules/TDMStats/trunk/TDMStats/admin/main.php Modified: XoopsModules/TDMStats/trunk/TDMStats/admin/main.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/admin/main.php 2012-08-25 17:18:47 UTC (rev 10111) +++ XoopsModules/TDMStats/trunk/TDMStats/admin/main.php 2012-08-25 17:27:07 UTC (rev 10112) @@ -103,6 +103,11 @@ $result1=$xoopsDB->queryF($sq1); $pays=$xoopsDB->fetchArray($result1); //////////////// +//TDMStats_usercounts +$sq1 = "SHOW TABLE STATUS FROM `".XOOPS_DB_NAME."` LIKE '".$xoopsDB->prefix("TDMStats_usercount")."'"; +$result1=$xoopsDB->queryF($sq1); +$user=$xoopsDB->fetchArray($result1); +//////////////// include_once XOOPS_ROOT_PATH.'/modules/'.$xoopsModule->dirname().'/class/menu.php'; include_once XOOPS_ROOT_PATH.'/modules/'.$xoopsModule->dirname().'/include/function.php'; @@ -259,6 +264,14 @@ echo '<br/><br/>'; echo _AM_ISTATS_TOTAL.':<b> ' . istats_PrettySize($pays['Data_length'] + $pays['Index_length']) . '</b>'; echo '<br /><br /> + </fieldset><br /><br /> + + <fieldset><legend class="CPmediumTitle">'.$user['Name'].'</legend> + <br/>'; + echo _AM_ISTATS_FREE.':<b> ' . istats_PrettySize($user['Data_free']).' <a href="main.php?op=optimise&table=TDMStats_usercount">'._AM_ISTATS_OPT.'</a></b>'; + echo '<br/><br/>'; + echo _AM_ISTATS_TOTAL.':<b> ' . istats_PrettySize($user['Data_length'] + $user['Index_length']) . '</b>'; + echo '<br /><br /> </fieldset><br /><br />'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lor...@us...> - 2012-08-25 17:18:53
|
Revision: 10111 http://xoops.svn.sourceforge.net/xoops/?rev=10111&view=rev Author: lord_venom Date: 2012-08-25 17:18:47 +0000 (Sat, 25 Aug 2012) Log Message: ----------- Removed Paths: ------------- XoopsModules/TDMMp/trunk/Desktop.ini Deleted: XoopsModules/TDMMp/trunk/Desktop.ini =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lor...@us...> - 2012-08-25 17:10:56
|
Revision: 10110 http://xoops.svn.sourceforge.net/xoops/?rev=10110&view=rev Author: lord_venom Date: 2012-08-25 17:10:48 +0000 (Sat, 25 Aug 2012) Log Message: ----------- Modified Paths: -------------- XoopsModules/TDMStats/trunk/TDMStats/counter.php Modified: XoopsModules/TDMStats/trunk/TDMStats/counter.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/counter.php 2012-08-25 16:27:50 UTC (rev 10109) +++ XoopsModules/TDMStats/trunk/TDMStats/counter.php 2012-08-25 17:10:48 UTC (rev 10110) @@ -31,7 +31,7 @@ * @changelog * passer par session */ -$time = time(); + $time = time(); if ( isset($_SESSION['xoops_stats_expire']) && $_SESSION['xoops_stats_expire'] > $time ) { return; } else { @@ -70,9 +70,10 @@ * @feature * Keeps total count of pages served, including refreshes and revisits */ - $page = $_REQUEST['page']; -if ($page != "") { + +if ($_REQUEST['page']) { + $page = $_REQUEST['page']; $check_page = getResult("SELECT * FROM ".XOOPS_DB_PREFIX."_TDMStats_page WHERE page='$page'"); if ($check_page) { mysql_query("UPDATE ".XOOPS_DB_PREFIX."_TDMStats_page SET count=count+1 WHERE page='$page'"); @@ -86,17 +87,17 @@ * @feature * Keeps total count of pages served, including refreshes and revisits */ -if ($_REQUEST['ismodule'] != "") { -$ismodule = $_REQUEST['ismodule']; - $check_page = getResult("SELECT * FROM ".XOOPS_DB_PREFIX."_TDMStats_modules WHERE modules='$ismodule'"); - if ($check_page) { + +if ($_REQUEST['ismodule']) { + $ismodule = $_REQUEST['ismodule']; + $check_module = getResult("SELECT * FROM ".XOOPS_DB_PREFIX."_TDMStats_modules WHERE modules='$ismodule"); + if ($check_module) { mysql_query("UPDATE ".XOOPS_DB_PREFIX."_TDMStats_modules SET count=count+1 WHERE modules='$ismodule'"); } else { mysql_query("INSERT INTO ".XOOPS_DB_PREFIX."_TDMStats_modules VALUES('', '$ismodule', '1')"); } } - /** * @note * trouver le pays et la ville . This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dh...@us...> - 2012-08-25 16:27:56
|
Revision: 10109 http://xoops.svn.sourceforge.net/xoops/?rev=10109&view=rev Author: dhcst Date: 2012-08-25 16:27:50 +0000 (Sat, 25 Aug 2012) Log Message: ----------- Update Path for XOOPS_URL Modified Paths: -------------- XoopsModules/newbb/branches/alfred/newbb/seo.php Modified: XoopsModules/newbb/branches/alfred/newbb/seo.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/seo.php 2012-08-25 16:21:24 UTC (rev 10108) +++ XoopsModules/newbb/branches/alfred/newbb/seo.php 2012-08-25 16:27:50 UTC (rev 10109) @@ -1,6 +1,6 @@ <?php /* - * $Id: seo.php 62 2012-08-17 10:15:26Z alfred $ + * $Id: seo.php,v 1.5 2006/08/15 19:52:08 malanciault Exp $ * Module: newbbss * Author: Sudhaker Raj <http://xoops.biz> * Licence: GNU @@ -26,7 +26,9 @@ { // module specific dispatching logic, other module must implement as // per their requirements. - $newUrl = XOOPS_URL . '/modules/newbb/' . $seoMap[$seoOp]; + $ori_self = $_SERVER['PHP_SELF']; + $ori_self = explode("modules/newbb", $ori_self); + $newUrl = $ori_self[0] . 'modules/newbb/' . $seoMap[$seoOp]; $_ENV['PHP_SELF'] = $newUrl; $_SERVER['SCRIPT_NAME'] = $newUrl; $_SERVER['PHP_SELF'] = $newUrl; @@ -80,28 +82,24 @@ // Leerzeichen am Anfang und Ende beseitigen $value = trim($value); - // pr\xFCfe auf javascript include - $str = strstr( $value , '<script' ); - if( $str !== false ) { - $value = ''; - } + // pruefe auf javascript include + if ( strstr($value , '<script') !== false ) $value = ''; - // pr\xFCfe auf Kommentare (SQL-Injections) - $str = strstr( $value , '/*' ) ; - if( $str !== false ) { - $value = ''; - } + // pruefe auf Kommentare (SQL-Injections) + if ( strstr($value , '/*' !== false) ) $value = ''; - //pr\xFCfe Verzeichnis - $str = strstr( $value , '../' ) ; - if( $str !== false ) { - $value = ''; - } + // pruefe UNION Injections + if ( preg_match('/\sUNION\s+(ALL|SELECT)/i' , $value) ) $value = ''; + // Nullbyte Injection + if ( strstr($value , chr(0)) !== false ) $value = ''; + + //pruefe Verzeichnis + if ( strstr($value , '../') !== false ) $value = ''; + + //pruefe auf externe $str = strstr( $value , '://' ) ; - if( $str !== false ) { - $value = ''; - } + if ( strstr($value , '://') !== false ) $value = ''; return $value; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dh...@us...> - 2012-08-25 16:21:30
|
Revision: 10108 http://xoops.svn.sourceforge.net/xoops/?rev=10108&view=rev Author: dhcst Date: 2012-08-25 16:21:24 +0000 (Sat, 25 Aug 2012) Log Message: ----------- edit read Usergroups in classes Modified Paths: -------------- XoopsModules/newbb/branches/alfred/newbb/class/user.php Modified: XoopsModules/newbb/branches/alfred/newbb/class/user.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/class/user.php 2012-08-25 16:16:48 UTC (rev 10107) +++ XoopsModules/newbb/branches/alfred/newbb/class/user.php 2012-08-25 16:21:24 UTC (rev 10108) @@ -180,6 +180,16 @@ $userinfo["rank_title"] = $userrank['title']; } // END hacked by irmtfan - easier rank getting + + // START hacked by irmtfan - easier groups getting - can we use $_SESSION['xoopsUserGroups']??? + //checks for user's groups + $userinfo["groups"] = array(); + $member_handler =& xoops_gethandler('member'); + $usergroups =& $member_handler->getGroupsByUser($userinfo["uid"], true); + foreach ($usergroups as $group) { + $userinfo["groups"][] .= $group->getVar('name'); + } + // END hacked by irmtfan - easier groups getting - can we use $_SESSION['xoopsUserGroups']??? $userinfo["from"] = $user->getVar('user_from'); @@ -242,29 +252,7 @@ $this->userlist[$uid]["status"] = empty($onlines[$uid]) ? $image_offline : $image_online; } } - - function loadUserGroups() - { - GLOBAL $xoopsDB; - if (empty($this->users) || !$this->enableGroup) return; - - $groups = array(); - $member_handler =& xoops_gethandler('member'); - $groups_obj = $member_handler->getGroups(); - $count = count($groups_obj); - for ($i = 0; $i < $count; $i++) { - $groups[$groups_obj[$i]->getVar('groupid')] = $groups_obj[$i]->getVar('name'); - } - unset($groups_obj); - - $sql = 'SELECT groupid, uid FROM ' . $xoopsDB->prefix('groups_users_link') . " WHERE uid IN( " . implode(", ", array_keys($this->users)) . ")"; - $result = $xoopsDB->query($sql); - while ($myrow = $xoopsDB->fetchArray($result)) { - $this->userlist[$myrow['uid']]["groups"][] = $groups[$myrow['groupid']]; - } - } - function loadUserDigest() { GLOBAL $xoopsDB; @@ -278,22 +266,12 @@ } } - function loadUserRank() - { - - $GLOBALS['xoopsLogger']->addDeprecated("Function 'USER::loadUserRank' in /newbb/class/user.php is deprecated!"); - - return true; - } - + function getUsers() { $this->loadUserInfo(); $this->loadUserOnline(); - $this->loadUserGroups(); - //$this->loadUserRank(); - $this->loadUserDigest(); - + $this->loadUserDigest(); return $this->userlist; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-08-25 16:17:00
|
Revision: 10107 http://xoops.svn.sourceforge.net/xoops/?rev=10107&view=rev Author: beckmi Date: 2012-08-25 16:16:48 +0000 (Sat, 25 Aug 2012) Log Message: ----------- Adding Polish translation for Core 2.5.5 Modified Paths: -------------- XoopsLanguages/polish/core/2.5.4/htdocs/xoops_lib/modules/protector/language/polish/modinfo.php Added Paths: ----------- XoopsLanguages/polish/core/2.5.5/ XoopsLanguages/polish/core/2.5.5/docs/ XoopsLanguages/polish/core/2.5.5/docs/install.html XoopsLanguages/polish/core/2.5.5/extras/ XoopsLanguages/polish/core/2.5.5/extras/modules/ XoopsLanguages/polish/core/2.5.5/extras/modules/system/ XoopsLanguages/polish/core/2.5.5/extras/modules/system/language/ XoopsLanguages/polish/core/2.5.5/extras/modules/system/language/polish/ XoopsLanguages/polish/core/2.5.5/extras/modules/system/language/polish/admin/ XoopsLanguages/polish/core/2.5.5/extras/modules/system/language/polish/admin/filemanager.php XoopsLanguages/polish/core/2.5.5/extras/modules/system/language/polish/admin/index.html XoopsLanguages/polish/core/2.5.5/extras/modules/system/language/polish/index.html XoopsLanguages/polish/core/2.5.5/htdocs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/ XoopsLanguages/polish/core/2.5.5/htdocs/class/mail/ XoopsLanguages/polish/core/2.5.5/htdocs/class/mail/phpmailer/ XoopsLanguages/polish/core/2.5.5/htdocs/class/mail/phpmailer/language/ XoopsLanguages/polish/core/2.5.5/htdocs/class/mail/phpmailer/language/phpmailer.lang-en.php XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/dhtmltextarea/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/dhtmltextarea/language/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/dhtmltextarea/language/polish.php XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/textarea/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/textarea/language/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/textarea/language/polish.php XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/language/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/language/polish.php XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/pl.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/pl_dlg.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/pl_dlg.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/pl_dlg.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/pl.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/pl_dlg.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/pl.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/pl_dlg.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/pl_dlg.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/pl_dlg.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/pl_dlg.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/pl_dlg.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/pl_dlg.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/pl_dlg.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/langs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/langs/pl_dlg.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/pl_dlg.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/pl.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/pl_dlg.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/pl.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/pl_dlg.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/pl.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/pl_dlg.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/pl.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/pl_dlg.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/pl.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/pl_dlg.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/pl.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/pl_dlg.js XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/langs/ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/langs/pl.js XoopsLanguages/polish/core/2.5.5/htdocs/frameworks/ XoopsLanguages/polish/core/2.5.5/htdocs/frameworks/moduleclasses/ XoopsLanguages/polish/core/2.5.5/htdocs/frameworks/moduleclasses/moduleadmin/ XoopsLanguages/polish/core/2.5.5/htdocs/frameworks/moduleclasses/moduleadmin/language/ XoopsLanguages/polish/core/2.5.5/htdocs/frameworks/moduleclasses/moduleadmin/language/polish/ XoopsLanguages/polish/core/2.5.5/htdocs/frameworks/moduleclasses/moduleadmin/language/polish/index.html XoopsLanguages/polish/core/2.5.5/htdocs/frameworks/moduleclasses/moduleadmin/language/polish/main.php XoopsLanguages/polish/core/2.5.5/htdocs/install/ XoopsLanguages/polish/core/2.5.5/htdocs/install/language/ XoopsLanguages/polish/core/2.5.5/htdocs/install/language/polish/ XoopsLanguages/polish/core/2.5.5/htdocs/install/language/polish/finish.php XoopsLanguages/polish/core/2.5.5/htdocs/install/language/polish/index.html XoopsLanguages/polish/core/2.5.5/htdocs/install/language/polish/install.php XoopsLanguages/polish/core/2.5.5/htdocs/install/language/polish/install2.php XoopsLanguages/polish/core/2.5.5/htdocs/install/language/polish/mysql.lang.data.sql XoopsLanguages/polish/core/2.5.5/htdocs/install/language/polish/style.css XoopsLanguages/polish/core/2.5.5/htdocs/install/language/polish/support.php XoopsLanguages/polish/core/2.5.5/htdocs/install/language/polish/support.png XoopsLanguages/polish/core/2.5.5/htdocs/install/language/polish/welcome.php XoopsLanguages/polish/core/2.5.5/htdocs/language/ XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/ XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/admin.php XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/auth.php XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/backend.php XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/banners.php XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/calendar.php XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/captcha.php XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/comment.php XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/countries.php XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/errors.php XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/findusers.php XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/formdhtmltextarea.php XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/global.php XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/index.html XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/locale.php XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/logger.php XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/mail.php XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/mail_template/ XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/mail_template/activated.tpl XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/mail_template/adminactivate.tpl XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/mail_template/comment_notify.tpl XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/mail_template/commentsubmit_notify.tpl XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/mail_template/default_notify.tpl XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/mail_template/index.html XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/mail_template/lostpass1.tpl XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/mail_template/lostpass2.tpl XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/mail_template/register.tpl XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/mail_template/tellfriend.tpl XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/mail_template/welcome.tpl XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/misc.php XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/notification.php XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/pmsg.php XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/search.php XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/style.css XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/timezone.php XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/uploader.php XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/user.php XoopsLanguages/polish/core/2.5.5/htdocs/language/polish/xoopsmailerlocal.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/pm/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/pm/language/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/pm/language/polish/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/pm/language/polish/admin.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/pm/language/polish/help/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/pm/language/polish/help/help.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/pm/language/polish/help/index.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/pm/language/polish/index.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/pm/language/polish/main.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/pm/language/polish/modinfo.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/profile/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/profile/language/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/profile/language/polish/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/profile/language/polish/admin.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/profile/language/polish/help/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/profile/language/polish/help/help.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/profile/language/polish/help/index.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/profile/language/polish/index.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/profile/language/polish/mail_template/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/profile/language/polish/mail_template/emailchanged.tpl XoopsLanguages/polish/core/2.5.5/htdocs/modules/profile/language/polish/mail_template/index.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/profile/language/polish/main.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/profile/language/polish/modinfo.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/protector/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/protector/language/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/protector/language/polish/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/protector/language/polish/help/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/protector/language/polish/help/help.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/protector/language/polish/help/index.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/admin/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/admin/avatars.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/admin/banners.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/admin/blocksadmin.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/admin/comments.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/admin/groups.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/admin/images.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/admin/index.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/admin/mailusers.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/admin/maintenance.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/admin/modulesadmin.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/admin/preferences.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/admin/smilies.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/admin/tplsets.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/admin/userrank.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/admin/users.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/admin.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/blocks.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/cpanel.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/help/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/help/avatars.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/help/banners.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/help/blocksadmin.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/help/comments.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/help/groups.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/help/help_center.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/help/images.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/help/index.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/help/mailusers.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/help/maintenance.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/help/module_index.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/help/modulesadmin.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/help/preferences.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/help/smilies.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/help/tplsets.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/help/userrank.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/help/users.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/images/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/images/index.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/images/lightbox-btn-close.gif XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/images/lightbox-btn-next.gif XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/images/lightbox-btn-prev.gif XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/index.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/language/polish/modinfo.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/themes/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/themes/default/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/themes/default/language/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/themes/default/language/polish/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/themes/default/language/polish/admin.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/themes/default/language/polish/index.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/themes/default/language/polish/localsupport.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/themes/zetadigme/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/themes/zetadigme/css/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/themes/zetadigme/css/en.css XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/themes/zetadigme/language/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/themes/zetadigme/language/polish/ XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/themes/zetadigme/language/polish/admin.php XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/themes/zetadigme/language/polish/index.html XoopsLanguages/polish/core/2.5.5/htdocs/modules/system/themes/zetadigme/language/polish/localsupport.php XoopsLanguages/polish/core/2.5.5/htdocs/themes/ XoopsLanguages/polish/core/2.5.5/htdocs/themes/suico/ XoopsLanguages/polish/core/2.5.5/htdocs/themes/suico/language/ XoopsLanguages/polish/core/2.5.5/htdocs/themes/suico/language/polish/ XoopsLanguages/polish/core/2.5.5/htdocs/themes/suico/language/polish/index.html XoopsLanguages/polish/core/2.5.5/htdocs/themes/suico/language/polish/main.php XoopsLanguages/polish/core/2.5.5/htdocs/themes/suico/language/polish/script.js XoopsLanguages/polish/core/2.5.5/htdocs/themes/suico/language/polish/style.css XoopsLanguages/polish/core/2.5.5/htdocs/themes/zetagenesis/ XoopsLanguages/polish/core/2.5.5/htdocs/themes/zetagenesis/language/ XoopsLanguages/polish/core/2.5.5/htdocs/themes/zetagenesis/language/polish/ XoopsLanguages/polish/core/2.5.5/htdocs/themes/zetagenesis/language/polish/index.html XoopsLanguages/polish/core/2.5.5/htdocs/themes/zetagenesis/language/polish/main.php XoopsLanguages/polish/core/2.5.5/htdocs/themes/zetagenesis/language/polish/script.js XoopsLanguages/polish/core/2.5.5/htdocs/themes/zetagenesis/language/polish/style.css XoopsLanguages/polish/core/2.5.5/htdocs/xoops_data/ XoopsLanguages/polish/core/2.5.5/htdocs/xoops_data/readme.txt XoopsLanguages/polish/core/2.5.5/htdocs/xoops_lib/ XoopsLanguages/polish/core/2.5.5/htdocs/xoops_lib/modules/ XoopsLanguages/polish/core/2.5.5/htdocs/xoops_lib/modules/protector/ XoopsLanguages/polish/core/2.5.5/htdocs/xoops_lib/modules/protector/language/ XoopsLanguages/polish/core/2.5.5/htdocs/xoops_lib/modules/protector/language/polish/ XoopsLanguages/polish/core/2.5.5/htdocs/xoops_lib/modules/protector/language/polish/admin.php XoopsLanguages/polish/core/2.5.5/htdocs/xoops_lib/modules/protector/language/polish/index.html XoopsLanguages/polish/core/2.5.5/htdocs/xoops_lib/modules/protector/language/polish/main.php XoopsLanguages/polish/core/2.5.5/htdocs/xoops_lib/modules/protector/language/polish/modinfo.php XoopsLanguages/polish/core/2.5.5/htdocs/xoops_lib/readme.txt XoopsLanguages/polish/core/2.5.5/instalacja_pl.txt XoopsLanguages/polish/core/2.5.5/upgrade/ XoopsLanguages/polish/core/2.5.5/upgrade/cnt-2.2.x-to-2.3.0/ XoopsLanguages/polish/core/2.5.5/upgrade/cnt-2.2.x-to-2.3.0/language/ XoopsLanguages/polish/core/2.5.5/upgrade/cnt-2.2.x-to-2.3.0/language/polish.php XoopsLanguages/polish/core/2.5.5/upgrade/language/ XoopsLanguages/polish/core/2.5.5/upgrade/language/polish/ XoopsLanguages/polish/core/2.5.5/upgrade/language/polish/index.html XoopsLanguages/polish/core/2.5.5/upgrade/language/polish/style.css XoopsLanguages/polish/core/2.5.5/upgrade/language/polish/upgrade.php XoopsLanguages/polish/core/2.5.5/upgrade/upd-2.0.18-to-2.3.0/ XoopsLanguages/polish/core/2.5.5/upgrade/upd-2.0.18-to-2.3.0/language/ XoopsLanguages/polish/core/2.5.5/upgrade/upd-2.0.18-to-2.3.0/language/polish.php Modified: XoopsLanguages/polish/core/2.5.4/htdocs/xoops_lib/modules/protector/language/polish/modinfo.php =================================================================== --- XoopsLanguages/polish/core/2.5.4/htdocs/xoops_lib/modules/protector/language/polish/modinfo.php 2012-08-25 16:09:32 UTC (rev 10106) +++ XoopsLanguages/polish/core/2.5.4/htdocs/xoops_lib/modules/protector/language/polish/modinfo.php 2012-08-25 16:16:48 UTC (rev 10107) @@ -32,9 +32,7 @@ define($constpref."_NAME","Protector"); // A brief description of this module -define($constpref."_DESC","Moduł zabezpieczający Xoopsa, przed różnymi -rodzajami ataków z sieci, takich jak: DoS , SQL Injection i skażeniem -zmiennych."); +define($constpref."_DESC","Moduł zabezpieczający Xoopsa, przed różnymi rodzajami ataków z sieci, takich jak: DoS , SQL Injection i skażeniem zmiennych."); // Menu define($constpref."_ADMININDEX","Centrum zabezpieczeń"); @@ -58,22 +56,17 @@ define($constpref.'_HIJACK_TOPBIT','Chronione bity numeru IP w sesji'); define($constpref.'_HIJACK_TOPBITDSC','Ta funkcja chroni przed przechwytywaniem sesji, ograniczając ilość bitów IP, które mogą się zmienić w trakcie sesji. Domyślnie 32 bitów - wszystkie bity chronione (IP nie może się zmienić). Jeśli masz dynamiczne IP, zmieniające się w określonym zakresie, możesz ustawić ilość chronionych bitów tak, by mniej więcej dopasować do zakresu. Na przykład, jeśli twoje IP może się zmieniać w zakresie od 192.168.0.0 do 192.168.0.255, ustaw 24 bity. Gdyby cracker znał IP twojej sesji, ale próbował się wedrzeć spoza tego zakresu (powiedzmy, z 192.168.2.50), nie uda mu się. Autor modułu sugeruje wartość 16 bitów jako optymalną dla ogólnego użycia.'); -define($constpref.'_HIJACK_DENYGP','Grupy nieuprawnione do zmieniania -swojego IP w trakcie sesji'); +define($constpref.'_HIJACK_DENYGP','Grupy nieuprawnione do zmieniania swojego IP w trakcie sesji'); define($constpref.'_HIJACK_DENYGPDSC','Wskaźnik chroniący przed przechwytywaniem. Wybrane grupy nie mogą zmieniać IP w trakcie trwania sesji. Domyślnie wymienia grupę webmasters i poleca się tego nie zmieniać, bo konsekwencje przechwycenia sesji administratora mogłyby być naprawdę poważne.)'); define($constpref.'_SAN_NULLBYTE','Sterylizowanie pustych bajtów'); define($constpref.'_SAN_NULLBYTEDSC','Znak kończący "\\0" jest często używany we wrogich atakach. Pusty bajt zmieni się w spację, jeśli ta opcja jest włączona (co jest domyślne, i stanowczo poleca się pozostawić ją włączoną).'); -define($constpref.'_DIE_NULLBYTE','Wyjdź jeśli stwierdzone zostaną -puste bajty'); +define($constpref.'_DIE_NULLBYTE','Wyjdź jeśli stwierdzone zostaną puste bajty'); define($constpref.'_DIE_NULLBYTEDSC','Znak zakończenia "\\0" jest zwykle używany podczas atak-u na serwisy.<br />(należy suatwić tą opcję włączoną)'); -define($constpref.'_DIE_BADEXT','Wyjdź jeśli wgrywane są podejrzane -pliki (tak/nie)'); +define($constpref.'_DIE_BADEXT','Wyjdź jeśli wgrywane są podejrzane pliki (tak/nie)'); define($constpref.'_DIE_BADEXTDSC','Jeśli ktoś próbuje wgrać pliki z niebezpiecznymi rozszerzeniami, jak .php ,Protector zamknie XOOPSa. Jeśli często dołączasz pliki php do B-Wiki albo PukiWikiMod, być może będziesz musiał wyłączyć tę funkcję.'); -define($constpref.'_CONTAMI_ACTION','Działanie w przypadku wykrycia -próby skażenia zmiennych'); +define($constpref.'_CONTAMI_ACTION','Działanie w przypadku wykrycia próby skażenia zmiennych'); define($constpref.'_CONTAMI_ACTIONDS','Wybierz działanie, jakie ma być podjęte, gdy ktoś próbuje skazić globalne zmienne systemu w Twoim XOOPSie. Możliwości:)'); -define($constpref.'_ISOCOM_ACTION','Działanie w przypadku wykrycia -izolowanego otwarcia komentarza.'); +define($constpref.'_ISOCOM_ACTION','Działanie w przypadku wykrycia izolowanego otwarcia komentarza.'); define($constpref.'_ISOCOM_ACTIONDSC','Ochrona przed skażeniem SQL. Określ działanie wobec znalezienia izolowanego "/*". Możliwości:'); define($constpref.'_UNION_ACTION','Działanie w przypadku wykrycia próby dodania instrukcji UNION lub podobnej.'); define($constpref.'_UNION_ACTIONDSC','Ochrona przed skażeniem SQL. Określ działanie wobec znalezienia składni UNION w SQL. Możliwości:'); @@ -85,8 +78,7 @@ define($constpref.'_BF_COUNT','Ochrona przed atakami na siłę (Brute Force)'); define($constpref.'_BF_COUNTDSC','Tutaj możesz określić ilość dopuszczalnych prób zalogowania w ciągu 10 minut. Jeśli ktoś poda złe dane więcej razy, niż wynosi limit, jego IP zostanie zbanowane. Ta funkcja chroni przed próbami złamania haseł dostępu metodą prób i błędów. Domyślnie ustawiona wartość wynosi 10.'); -define($constpref.'_DOS_SKIPMODS','Moduły wyłączone z ochrony przed -DoS/Crawler'); +define($constpref.'_DOS_SKIPMODS','Moduły wyłączone z ochrony przed DoS/Crawler'); define($constpref.'_DOS_SKIPMODSDSC','Protector może banować IP inicjujące ataki DoS lub robaki, które zabierają duże zasoby (patrz niżej). Możesz jednak wyłączyć poszczególne moduły z tej ochrony, wpisując tutaj nazwy ich katalogów. Kolejne moduły oddzielaj pionową kreską. Funkcja przydaje się do modułów takich jak np. czat.'); define($constpref.'_DOS_EXPIRE','Czas dozorowania masowych odświeżań (w sek.)'); define($constpref.'_DOS_EXPIREDSC','Ta wartość określa czas obserwowania licznych/częstych odświeżań (atak F5) i robaków zajmujących transfer. Domyślnie 60 sekund. .'); Added: XoopsLanguages/polish/core/2.5.5/docs/install.html =================================================================== --- XoopsLanguages/polish/core/2.5.5/docs/install.html (rev 0) +++ XoopsLanguages/polish/core/2.5.5/docs/install.html 2012-08-25 16:16:48 UTC (rev 10107) @@ -0,0 +1,138 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <title>XOOPS Installation Instructions</title> + <meta name="keywords" content="XOOPS" /> + <meta name="description" content="XOOPS installation guide" /> + <style type="text/css"> + body { + font-family: Lucida Grande, Verdana, Geneva, Sans-serif; + margin: 0; + padding: 0; + font-size: 13px; + color: #333; + background-color: #fff; + } + + a { + color: #3D9DD3; + background-color: transparent; + text-decoration: none; + font-weight: normal; + } + + a:visited { + color: #3D9DD3; + background-color: transparent; + text-decoration: none; + } + + a:hover { + color: #3D9DD3; + text-decoration: none; + background-color: transparent; + } + + .page { + background-color: #fff; + margin: 10px 30px 0; + padding: 0; + } + + .page h1 { + background-color: transparent; + border-bottom: 1px solid #999; + color: #000; + font-size: 18px; + font-weight: bold; + margin: 28px 0 16px 0; + padding: 5px 0 6px 0; + } + + .page h2 { + background-color: transparent; + color: #000; + font-size: 16px; + font-weight: bold; + margin: 28px 0 16px 0; + padding: 5px 0 6px 0; + } + + .page h3 { + background-color: transparent; + color: #000; + font-size: 14px; + font-weight: bold; + } + + .page ul { + margin: 20px 0 15px 0; + } + + .page li { + margin-bottom: 9px; + } + + .page li p { + margin-left: 0; + margin-right: 0; + } + + p { } + + </style> +</head> +<body> + +<div class="page"> +<h1>Installing XOOPS</h1> + +<h2>First time installation</h2> +<h3>Preface:</h3> +<p> + <acronym title="eXtensible Object-Oriented Portal System">XOOPS</acronym> is an open-source + Object-Oriented Web publishing system written in PHP. It is an ideal tool for + developing small to large dynamic community websites, intra company portals, corporate portals, weblogs and much more. +</p> + +<p> + XOOPS is released under the terms of the + <a href="http://www.gnu.org/copyleft/gpl.html" target="_blank">GNU General Public License (GPL)</a> + and is free to use and modify. + It is free to redistribute as long as you abide by the distribution terms of the GPL. +</p> + +<h2>Requirements</h2> +<ul> + <li>WWW Server (<a href="http://www.apache.org/" target="_blank">Apache</a>, IIS, Roxen, etc)</li> + <li><a href="http://www.php.net/" target="_blank">PHP</a> 5.2.0 or higher</li> + <li><a href="http://www.mysql.com/" target="_blank">MySQL</a> 5.1 or higher</li> +</ul> + +<h2>Before you install</h2> +<ol> + <li>Setup WWW server, PHP and database server properly.</li> + <li>Prepare a database for your XOOPS site.</li> + <li>Prepare user account and grant the user the access to the database.</li> + <li>Make the directory <em>/uploads/</em> and the file <em>mainfile.php</em> writable</li> + <li>For security considerations, you are strongly advised to move the two directories <em>/xoops_lib/</em> (for XOOPS libraries) and <em>/xoops_data/</em> (for XOOPS data) out of <a href="http://phpsec.org/projects/guide/3.html" target="_blank">document root</a> and change the folder names.</li> + <li>Make the directory <em>/xoops_data/</em> writable; Create (if not already present) and make the directories <em>/xoops_data/configs/</em>, <em>/xoops_data/caches/</em>, <em>/xoops_data/caches/xoops_cache/</em>, <em>/xoops_data/caches/smarty_cache/</em> and <em>/xoops_data/caches/smarty_compile/</em> writable.</li> + <li>Turn cookie and JavaScript of your browser on.</li> +</ol> + + +<h2>Installing locally</h2> +<p>If you are running a local environment for development or testing, make sure that you have the previous requirements met. Once this is done, copy the contents of the htdocs directory (from the XOOPS distribution file or SVN) to the root document path of your web environment. Once the files are copied there, you can start the install by typing "http://yoursite.com". This will start the install process.</p> + + +<h2>Installing on a hosted platform</h2> +<p>If you are running in a hosted environment, unpack the XOOPS files locally or on the server if you have telnet or SSH access. Once you done this, make sure to move or copy all XOOPS files from the htdocs directory to your root web directory (your provider usually provides this location with directions). Once the files are copied there, you can start the install by typing "http://yoursite.com". This will start the install process.</p> + + +<h2>Continuing the install</h2> +<p>Just follow step-by-step instructions in installer.</p> + +</div> +</body> +</html> \ No newline at end of file Added: XoopsLanguages/polish/core/2.5.5/extras/modules/system/language/polish/admin/filemanager.php =================================================================== --- XoopsLanguages/polish/core/2.5.5/extras/modules/system/language/polish/admin/filemanager.php (rev 0) +++ XoopsLanguages/polish/core/2.5.5/extras/modules/system/language/polish/admin/filemanager.php 2012-08-25 16:16:48 UTC (rev 10107) @@ -0,0 +1,63 @@ +<?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$ + */ + + //Nav +define('_AM_SYSTEM_FILEMANAGER_NAV_MANAGER','Menadżer Plików'); +define('_AM_SYSTEM_FILEMANAGER_NAV_MAIN','Menadżer Plików'); + +//Tips +define('_AM_SYSTEM_FILEMANAGER_NAV_TIPS',' +<ul> +<li>Zmień uprawnienia plików, treść lub usuń nieużywane pliki Xoops.</li> +</ul> +'); + +// Main +define('_AM_SYSTEM_FILEMANAGER_DIRECTORY','Folder'); +define('_AM_SYSTEM_FILEMANAGER_FILES','Pliki'); +define('_AM_SYSTEM_FILEMANAGER_GENERATE','Wygenerowana opłata dodatkowa'); +define('_AM_SYSTEM_FILEMANAGER_SELECT_THEME','Wybierz skórkę'); +define('_AM_SYSTEM_FILEMANAGER_FORCE_GENERATED','Wymuszona generacja'); +define('_AM_SYSTEM_FILEMANAGER_NAV_FILE_GENERATED','Pliki wygenerowane'); +define('_AM_SYSTEM_FILEMANAGER_NOT_CREATED','Nie utworzono plików'); +define('_AM_SYSTEM_FILEMANAGER_HOME','Home'); +define('_AM_SYSTEM_FILEMANAGER_SAVE','Zapisz'); +define('_AM_SYSTEM_FILEMANAGER_CANCEL','Anuluj'); +define('_AM_SYSTEM_FILEMANAGER_RESTORE','Przywróć'); +define('_AM_SYSTEM_FILEMANAGER_REFRESH','Odśwież'); +define('_AM_SYSTEM_FILEMANAGER_UPLOAD','Wyślij plik'); +define('_AM_SYSTEM_FILEMANAGER_UPLOAD_CHOOSE','Wybierz plik do wysyłki'); +define('_AM_SYSTEM_FILEMANAGER_ADDDIR','Dodaj folder'); +define('_AM_SYSTEM_FILEMANAGER_ADDDIR_NAME','Wybierz nazwę dla folderu'); +define('_AM_SYSTEM_FILEMANAGER_ADDFILE','Dodaj nowy plik'); +define('_AM_SYSTEM_FILEMANAGER_DELDIR','Usuń folder'); + +define('_AM_SYSTEM_FILEMANAGER_RESTORE_ERROR_FILE_EXISTS','Błąd : Plik nie istnieje'); +define('_AM_SYSTEM_FILEMANAGER_RESTORE_ERROR_FILE_DELETE','Błąd : Plik nie został skasowany'); +define('_AM_SYSTEM_FILEMANAGER_RESTORE_ERROR_FILE_RENAME','Błąd : Nazwa pliku nie została zmieniona'); +define('_AM_SYSTEM_FILEMANAGER_BACK','Wróć'); +define('_AM_SYSTEM_FILEMANAGER_DELETE','Usuń'); +define('_AM_SYSTEM_FILEMANAGER_ERROR','Błąd'); +define('_AM_SYSTEM_FILEMANAGER_EDIT','Edycja :'); +define('_AM_SYSTEM_FILEMANAGER_EMPTY_FILE','Plik pusty'); +define('_AM_SYSTEM_FILEMANAGER_DELDIR_NOTOK','Błąd : Folder nie został usunięty'); +define('_AM_SYSTEM_FILEMANAGER_DELDIR_OK','Folder pomyślnie usunięty'); + +// Message +define('_AM_SYSTEM_FILEMANAGER_UPLOAD_FILE','Pliki pomyślnie załadowane'); +define('_AM_SYSTEM_FILEMANAGER_EXTRACT_FILE','Pliki pomyślnie rozpakowane'); +define('_AM_SYSTEM_FILEMANAGER_EXTRACT_ERROR','Nie udało się rozpakować plików'); +define('_AM_SYSTEM_FILEMANAGER_DELETE_FILE','Pliki pomyślnie usunięte'); +define('_AM_SYSTEM_FILEMANAGER_DIR_SUCCESS','Folder utworzony'); +define('_AM_SYSTEM_FILEMANAGER_DIR_ERROR','Nie udało się utworzyć folderu'); +define('_AM_SYSTEM_FILEMANAGER_DIR_RYSDEL','Czy jesteś pewien, że chcesz usunąć ten folder ?'); +define('_AM_SYSTEM_FILEMANAGER_FILE_SUCCESS','Plik utworzony'); +define('_AM_SYSTEM_FILEMANAGER_SUREDEL','Czy jesteś pewien że chces usunąć ten plik %s ?'); +define('_AM_SYSTEM_FILEMANAGER_DIR_SUREDEL','Czy jesteś pewien, że chcesz usunąć ten folder %s ?<br />UWAGA: wszystkie podfoldery i pliki zostaną usunięte'); +?> Added: XoopsLanguages/polish/core/2.5.5/extras/modules/system/language/polish/admin/index.html =================================================================== --- XoopsLanguages/polish/core/2.5.5/extras/modules/system/language/polish/admin/index.html (rev 0) +++ XoopsLanguages/polish/core/2.5.5/extras/modules/system/language/polish/admin/index.html 2012-08-25 16:16:48 UTC (rev 10107) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/polish/core/2.5.5/extras/modules/system/language/polish/index.html =================================================================== --- XoopsLanguages/polish/core/2.5.5/extras/modules/system/language/polish/index.html (rev 0) +++ XoopsLanguages/polish/core/2.5.5/extras/modules/system/language/polish/index.html 2012-08-25 16:16:48 UTC (rev 10107) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/polish/core/2.5.5/htdocs/class/mail/phpmailer/language/phpmailer.lang-en.php =================================================================== --- XoopsLanguages/polish/core/2.5.5/htdocs/class/mail/phpmailer/language/phpmailer.lang-en.php (rev 0) +++ XoopsLanguages/polish/core/2.5.5/htdocs/class/mail/phpmailer/language/phpmailer.lang-en.php 2012-08-25 16:16:48 UTC (rev 10107) @@ -0,0 +1,23 @@ +<?php +/** + * PHPMailer language file. + * English Version + */ + +$PHPMAILER_LANG = array(); + +$PHPMAILER_LANG["provide_address"] = 'You must provide at least one ' . + 'recipient email address.'; +$PHPMAILER_LANG["mailer_not_supported"] = ' mailer is not supported.'; +$PHPMAILER_LANG["execute"] = 'Could not execute: '; +$PHPMAILER_LANG["instantiate"] = 'Could not instantiate mail function.'; +$PHPMAILER_LANG["authenticate"] = 'SMTP Error: Could not authenticate.'; +$PHPMAILER_LANG["from_failed"] = 'The following From address failed: '; +$PHPMAILER_LANG["recipients_failed"] = 'SMTP Error: The following ' . + 'recipients failed: '; +$PHPMAILER_LANG["data_not_accepted"] = 'SMTP Error: Data not accepted.'; +$PHPMAILER_LANG["connect_host"] = 'SMTP Error: Could not connect to SMTP host.'; +$PHPMAILER_LANG["file_access"] = 'Could not access file: '; +$PHPMAILER_LANG["file_open"] = 'File Error: Could not open file: '; +$PHPMAILER_LANG["encoding"] = 'Unknown encoding: '; +?> Added: XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/dhtmltextarea/language/polish.php =================================================================== --- XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/dhtmltextarea/language/polish.php (rev 0) +++ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/dhtmltextarea/language/polish.php 2012-08-25 16:16:48 UTC (rev 10107) @@ -0,0 +1,17 @@ +<?php +/** + * XOOPS editor + * + * @copyright The XOOPS project http://www.xoops.org/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Taiwen Jiang (phppp or D.J.) <ph...@ho...> + * @since 2.3.0 + * @version $Id: english.php 8066 2011-11-06 05:09:33Z beckmi $ + * @package xoopseditor + */ +/** + * Assocated with editor_registry.php + */ +define( '_XOOPS_EDITOR_DHTMLTEXTAREA', 'DHTML Form with xCode' ); + +?> Added: XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/textarea/language/polish.php =================================================================== --- XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/textarea/language/polish.php (rev 0) +++ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/textarea/language/polish.php 2012-08-25 16:16:48 UTC (rev 10107) @@ -0,0 +1,17 @@ +<?php +/** + * Editor framework for XOOPS + * + * @copyright The XOOPS project http://www.xoops.org/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Taiwen Jiang (phppp or D.J.) <ph...@ho...> + * @since 1.00 + * @version $Id: english.php 8066 2011-11-06 05:09:33Z beckmi $ + * @package xoopseditor + */ + +/* + * Assocated with editor_registry.php + */ +define("_XOOPS_EDITOR_TEXTAREA", "Plain Text"); +?> Added: XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/language/polish.php =================================================================== --- XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/language/polish.php (rev 0) +++ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/language/polish.php 2012-08-25 16:16:48 UTC (rev 10107) @@ -0,0 +1,25 @@ +<?php +/** + * TinyMCE adapter for XOOPS + * + * @copyright The XOOPS project http://www.xoops.org/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package core + * @subpackage xoopseditor + * @since 2.3.0 + * @author Taiwen Jiang <ph...@us...> + * @version $Id: english.php 2154 2008-09-22 02:38:32Z phppp $ + */ +/* + * Assocated with editor_registry.php + */ +// Name of the editor +define("_XOOPS_EDITOR_TINYMCE","TinyMCE"); + +// The value must be the same as /tinymce/jscripts/langs/your_language_code, for example, "en" for English, "fr" for French +// For details, check http://tinymce.moxiecode.com/download_i18n.php +define("_XOOPS_EDITOR_TINYMCE_LANGUAGE","pl"); + +// FONT LIST, FORMAT: "Name=value1,value2;Name=value" +define("_XOOPS_EDITOR_TINYMCE_FONTS","Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings"); +?> \ No newline at end of file Added: XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/pl.js =================================================================== --- XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/pl.js (rev 0) +++ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/pl.js 2012-08-25 16:16:48 UTC (rev 10107) @@ -0,0 +1 @@ +tinyMCE.addI18n({pl:{common:{"more_colors":"Wi\u0119cej kolor\u00f3w","invalid_data":"B\u0142\u0105d: Zosta\u0142y wprowadzone b\u0142\u0119dne dane, s\u0105 zaznaczone na czerwono.","popup_blocked":"Zauwa\u017cyli\u015bmy, \u017ce opcja blokowania wyskakuj\u0105cych okienek wy\u0142\u0105czy\u0142a okno, kt\u00f3re dostarcza funkcjonalno\u015b\u0107 aplikacji. Aby w pe\u0142ni wykorzysta\u0107 to narz\u0119dzie musisz wy\u0142\u0105czy\u0107 blokowanie wyskakuj\u0105cych okienek na tej stronie.","clipboard_no_support":"Aktualnie nie jest obs\u0142ugiwany przez Twoj\u0105 przegl\u0105dark\u0119, u\u017cyj skr\u00f3t\u00f3w klawiaturowych w zamian.","clipboard_msg":"Akcje Kopiuj/Wytnij/Wklej nie s\u0105 dost\u0119pne w Mozilli i Firefox.\nCzy chcesz wi\u0119cej informacji o tym problemie?","not_set":"-- Brak --","class_name":"Klasa",browse:"Przegl\u0105daj",close:"Zamknij",cancel:"Anuluj",update:"Aktualizuj",insert:"Wstaw",apply:"Zastosuj","edit_confirm":"Czy chcesz u\u017cy\u0107 trybu WYSIWYG dla tego pola formularza?","invalid_data_number":"{#field} musi by\u0107 liczb\u0105","invalid_data_min":"{#field} musi by\u0107 liczb\u0105 wi\u0119ksz\u0105 od {#min}","invalid_data_size":"{#field} musi by\u0107 liczb\u0105 lub warto\u015bci\u0105 procentow\u0105",value:"(warto\u015b\u0107)"},contextmenu:{full:"Wyjustuj",right:"Do prawej",center:"Do \u015brodka",left:"Do lewej",align:"Wyr\u00f3wnanie"},insertdatetime:{"day_short":"N,Pn,Wt,\u015ar,Cz,Pt,So,N","day_long":"Niedziela,Poniedzia\u0142ek,Wtorek,\u015aroda,Czwartek,Pi\u0105tek,Sobota,Niedziela","months_short":"Sty,Lut,Mar,Kwi,Maj,Cze,Lip,Sie,Wrz,Pa\u017a,Lis,Gru","months_long":"Stycze\u0144,Luty,Marzec,Kwiecie\u0144,Maj,Czerwiec,Lipiec,Sierpie\u0144,Wrzesie\u0144,Pa\u017adziernik,Listopad,Grudzie\u0144","inserttime_desc":"Wstaw czas","insertdate_desc":"Wstaw dat\u0119","time_fmt":"%H:%M:%S","date_fmt":"%Y-%m-%d"},print:{"print_desc":"Drukuj"},preview:{"preview_desc":"Podgl\u0105d"},directionality:{"rtl_desc":"Kierunek od prawej do lewej","ltr_desc":"Kierunek od lewej do prawej"},layer:{content:"Nowa warstwa...","absolute_desc":"Prze\u0142\u0105cz pozycjonowanie absolutne","backward_desc":"Przesu\u0144 pod sp\u00f3d","forward_desc":"Przesu\u0144 na wierzch","insertlayer_desc":"Wstaw now\u0105 warstw\u0119"},save:{"save_desc":"Zachowaj","cancel_desc":"Anuluj wszystkie zmiany"},nonbreaking:{"nonbreaking_desc":"Wstaw tward\u0105 spacj\u0119"},iespell:{download:"ieSpell nie wykryte. Czy przeprowadzi\u0107 instalacj\u0119 tego komponentu?","iespell_desc":"Sprawd\u017a pisowni\u0119"},advhr:{"advhr_desc":"Pozioma linia","delta_height":"","delta_width":""},emotions:{"emotions_desc":"Emotikony","delta_height":"","delta_width":""},searchreplace:{"replace_desc":"Znajd\u017a/zamie\u0144","search_desc":"Znajd\u017a","delta_width":"","delta_height":""},advimage:{"image_desc":"Wstaw/edytuj obraz","delta_width":"","delta_height":""},advlink:{"link_desc":"Wstaw/edytuj link","delta_height":"","delta_width":""},xhtmlxtras:{"attribs_desc":"Wstaw / Edytuj atrybuty","ins_desc":"Wstawienie","del_desc":"Usuni\u0119cie","acronym_desc":"Akronim","abbr_desc":"Skr\u00f3t","cite_desc":"Cytat","attribs_delta_height":"","attribs_delta_width":"","ins_delta_height":"","ins_delta_width":"","del_delta_height":"","del_delta_width":"","acronym_delta_height":"","acronym_delta_width":"","abbr_delta_height":"","abbr_delta_width":"","cite_delta_height":"","cite_delta_width":""},style:{desc:"Edytuj Style CSS","delta_height":"","delta_width":""},paste:{"plaintext_mode":"Wklejanie jest teraz dost\u0119pne w trybie tekstowym. Kliknij ponownie, aby prze\u0142\u0105czy\u0107 si\u0119 z powrotem do trybu wklejania sformatowanego tekstu.","plaintext_mode_sticky":"Wklejanie jest teraz dost\u0119pne w trybie tekstowym. Kliknij ponownie, aby prze\u0142\u0105czy\u0107 si\u0119 z powrotem do trybu wklejania sformatowanego tekstu. Po wklejeniu tekstu nast\u0105pi powr\u00f3t do trybu wklejania sformatowanego tekstu.","selectall_desc":"Zaznacz wszystko","paste_word_desc":"Wklej z Worda","paste_text_desc":"Wklej jako zwyk\u0142y tekst"},"paste_dlg":{"word_title":"U\u017cyj CTRL+V na swojej klawiaturze \u017ceby wklei\u0107 tekst do okna.","text_linebreaks":"Zachowaj ko\u0144ce linii.","text_title":"U\u017cyj CTRL+V na swojej klawiaturze \u017ceby wklei\u0107 tekst do okna."},table:{cell:"Kom\u00f3rka",col:"Kolumna",row:"Wiersz",del:"Usu\u0144 tabel\u0119","copy_row_desc":"Kopiuj wiersz...","cut_row_desc":"Wytnij wiersz...","paste_row_after_desc":"Wklej wiersz po...","paste_row_before_desc":"Wklej wiersz przed...","props_desc":"W\u0142a\u015bciwo\u015bci tabeli","cell_desc":"W\u0142a\u015bciwo\u015bci kom\u00f3rki","row_desc":"W\u0142a\u015bciwo\u015bci wiersza","merge_cells_desc":"Po\u0142\u0105cz kom\u00f3rki","split_cells_desc":"Podziel po\u0142\u0105czone kom\u00f3rki","delete_col_desc":"Usu\u0144 kolumn\u0119","col_after_desc":"Wstaw kolumn\u0119 po...","col_before_desc":"Wstaw kolumn\u0119 przed...","delete_row_desc":"Usu\u0144 wiersz","row_after_desc":"Wstaw nowy wiersz po...","row_before_desc":"Wstaw nowy wiersz przed...",desc:"Wstaw now\u0105 tabel\u0119","merge_cells_delta_height":"","merge_cells_delta_width":"","table_delta_height":"","table_delta_width":"","cellprops_delta_height":"","cellprops_delta_width":"","rowprops_delta_height":"","rowprops_delta_width":""},autosave:{"warning_message":"Je\u015bli przywr\u00f3cisz zapisan\u0105 tre\u015b\u0107, stracisz ca\u0142\u0105 tre\u015b\u0107, kt\u00f3ra teraz si\u0119 znajduje w edytorze.\n\nJeste\u015b pewien, \u017ce chcesz przywr\u00f3ci\u0107 zapisan\u0105 tre\u015b\u0107?","restore_content":"Przywr\u00f3\u0107 tre\u015b\u0107 zapisan\u0105 automatycznie.","unload_msg":"Zmiany, kt\u00f3rych dokona\u0142e\u015b zostan\u0105 utracone je\u015bli opu\u015bcisz t\u0119 stron\u0119."},fullscreen:{desc:"Prze\u0142\u0105cz tryb pe\u0142noekranowy"},media:{"delta_height":"",edit:"Edytuj wbudowane media",desc:"Wstaw/edytuj wbudowane media","delta_width":""},fullpage:{desc:"W\u0142a\u015bciwo\u015bci dokumentu","delta_width":"","delta_height":""},template:{desc:"Wstaw tre\u015b\u0107 szablonu"},visualchars:{desc:"W\u0142\u0105cz/wy\u0142\u0105cz znaki kontrolne."},spellchecker:{desc:"Sprawdzanie pisowni",menu:"Ustawienia sprawdzania pisowni","ignore_word":"Ignoruj s\u0142owo","ignore_words":"Ignoruj wszystkie",langs:"J\u0119zyki",wait:"Prosz\u0119 czeka\u0107...",sug:"Sugestie","no_sug":"Brak sugestii","no_mpell":"Nie znaleziono b\u0142\u0119d\u00f3w.","learn_word":"Dowiedz si\u0119 s\u0142owa"},pagebreak:{desc:"Wstaw znak nowej strony."},advlist:{types:"Rodzaje",def:"Domy\u015blny","lower_alpha":"Ma\u0142e alfabetu","lower_greek":"Ma\u0142e greckie","lower_roman":"Ma\u0142e rzymskie","upper_alpha":"Du\u017ce alfabetu","upper_roman":"Du\u017ce rzymskie",circle:"Ko\u0142o",disc:"Elipsa",square:"Kwadrat"},colors:{"333300":"Ciemnooliwkowy","993300":"Ochra","000000":"Czarny","003300":"Ciemnozielony","003366":"Ciemnolazurowy","000080":"Granatowy","333399":"Indygo","333333":"Bardzo ciemnoszary","800000":"Rdzawy",FF6600:"Pomara\u0144czowy","808000":"Oliwkowy","008000":"Zielony","008080":"Morski","0000FF":"Niebieski","666699":"Siny","808080":"Szary",FF0000:"Czerwony",FF9900:"Bursztynowy","99CC00":"\u017b\u00f3\u0142tozielony","339966":"Akwamaryna","33CCCC":"Turkusowy","3366FF":"B\u0142\u0119kit kr\u00f3lewski","800080":"Purpurowy","999999":"\u015arednioszary",FF00FF:"Fuksja",FFCC00:"Z\u0142oty",FFFF00:"\u017b\u00f3\u0142ty","00FF00":"Limonkowy","00FFFF":"Cyjan","00CCFF":"B\u0142\u0119kitny","993366":"Br\u0105zowy",C0C0C0:"Srebrny",FF99CC:"R\u00f3\u017cowy",FFCC99:"Brzoskwiniowy",FFFF99:"Jasno\u017c\u00f3\u0142ty",CCFFCC:"Bladozielony",CCFFFF:"Bladoturkusowy","99CCFF":"Jasnob\u0142\u0119kitny",CC99FF:"\u015aliwkowy",FFFFFF:"Bia\u0142y"},aria:{"rich_text_area":"Pole tekstowe"},wordcount:{words:"S\u0142owa:"}}}); \ No newline at end of file Added: XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/pl_dlg.js =================================================================== --- XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/pl_dlg.js (rev 0) +++ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/pl_dlg.js 2012-08-25 16:16:48 UTC (rev 10107) @@ -0,0 +1 @@ +tinyMCE.addI18n('pl.advhr_dlg',{size:"Wysoko\u015b\u0107",noshade:"Bez cienia",width:"Szeroko\u015b\u0107",normal:"Normalny",widthunits:"Jednostki"}); \ No newline at end of file Added: XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/pl_dlg.js =================================================================== --- XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/pl_dlg.js (rev 0) +++ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/pl_dlg.js 2012-08-25 16:16:48 UTC (rev 10107) @@ -0,0 +1 @@ +tinyMCE.addI18n('pl.advimage_dlg',{"image_list":"Lista obrazk\u00f3w","align_right":"Prawy","align_left":"Lewy","align_textbottom":"Tekst dolny","align_texttop":"Tekst g\u00f3rny","align_bottom":"Dolny","align_middle":"\u015arodkowy","align_top":"G\u00f3rny","align_baseline":"G\u0142\u00f3wna linia",align:"Wyr\u00f3wnanie",hspace:"Odst\u0119p poziomy",vspace:"Odst\u0119p pionowy",dimensions:"Rozmiary",border:"Obramowanie",list:"Lista obrazk\u00f3w",alt:"Opis obrazka",src:"URL obrazka","dialog_title":"Wklej/edytuj obraz","missing_alt":"Czy jeste\u015b pewien, \u017ce chcesz kontynuowa\u0107 bez opisu obrazka? Obrazek bez opisu mo\u017ce nie by\u0107 dost\u0119pny dla u\u017cytkownik\u00f3w u\u017cywaj\u0105cych tekstowe przegl\u0105darki lub przegl\u0105daj\u0105cych stron\u0119 z wy\u0142\u0105czonymi obrazkami.","example_img":"Podgl\u0105d wygl\u0105du obrazka",misc:"R\u00f3\u017cne",mouseout:"dla mouseout",mouseover:"dla mouseover","alt_image":"alternatywny obrazek","swap_image":"Zamiana obrazka",map:"Mapa obrazu",id:"Id",rtl:"Z prawej do lewej",ltr:"Z lewej do prawej",classes:"Klasy",style:"Styl","long_desc":"D\u0142ugi opis linku",langcode:"Kod j\u0119zyka",langdir:"Kierunek j\u0119zyka","constrain_proportions":"Zachowaj proporcje",preview:"Podgl\u0105d",title:"Tytu\u0142",general:"Og\u00f3lne","tab_advanced":"Zaawansowane","tab_appearance":"Wygl\u0105d","tab_general":"Og\u00f3lne",width:"Szeroko\u015b\u0107",height:"Wysoko\u015b\u0107"}); \ No newline at end of file Added: XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/pl_dlg.js =================================================================== --- XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/pl_dlg.js (rev 0) +++ XoopsLanguages/polish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/pl_dlg.js 2012-08-25 16:16:48 UTC (rev 10107) @@ -0,0 +1 @@ +tinyMCE.addI18n('pl.advlink_dlg',{"target_name":"Nazwa celu",classes:"Klasy",style:"Styl",id:"Id","popup_position":"Pozycja (X/Y)",langdir:"Kierunek czytania tekstu","popup_size":"Rozmiar","popup_dependent":"Zale\u017cny (Mozilla/Firefox wy\u0142\u0105cznie)","popup_resizable":"Stw\u00f3rz okno z mo\u017cliwo\u015bci\u0105 zmiany rozmiaru","popup_location":"Poka\u017c pasek adresu","popup_menubar":"Poka\u017c pasek menu","... [truncated message content] |
From: <dh...@us...> - 2012-08-25 16:09:38
|
Revision: 10106 http://xoops.svn.sourceforge.net/xoops/?rev=10106&view=rev Author: dhcst Date: 2012-08-25 16:09:32 +0000 (Sat, 25 Aug 2012) Log Message: ----------- update changelog.txt Modified Paths: -------------- XoopsModules/newbb/branches/alfred/newbb/docs/changelog.txt Modified: XoopsModules/newbb/branches/alfred/newbb/docs/changelog.txt =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/docs/changelog.txt 2012-08-25 16:00:29 UTC (rev 10105) +++ XoopsModules/newbb/branches/alfred/newbb/docs/changelog.txt 2012-08-25 16:09:32 UTC (rev 10106) @@ -1,6 +1,6 @@ newBB Changelog 4.3 -08/17/2012 +08/25/2012 =========================================== 1 Fix Cache Config for SEO 2 Fix Typos in templates @@ -26,6 +26,10 @@ 22 Fix vulnerabilities in seo.php 23 Add enable/disable all editmessage in posts 24 Fix hardcoded Path for icon (irmtfan) +25 Fix print hardcodes removed (irmtfan) +26 NEW local stylesheet (xoops_header) in print.php +27 Fix error in newbb/polls.php when the strtotime is not defined in XoopsLocal class (irmtfan) +28 Fix using header php command instead of redirect_header XOOPS function (deka87/irmtfan) in newbb/search.php newBB Changelog 4.2 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dh...@us...> - 2012-08-25 16:00:35
|
Revision: 10105 http://xoops.svn.sourceforge.net/xoops/?rev=10105&view=rev Author: dhcst Date: 2012-08-25 16:00:29 +0000 (Sat, 25 Aug 2012) Log Message: ----------- print hardcodes removed Modified Paths: -------------- XoopsModules/newbb/branches/alfred/newbb/print.php Modified: XoopsModules/newbb/branches/alfred/newbb/print.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/print.php 2012-08-25 15:50:49 UTC (rev 10104) +++ XoopsModules/newbb/branches/alfred/newbb/print.php 2012-08-25 16:00:29 UTC (rev 10105) @@ -1,5 +1,5 @@ <?php -// $Id: print.php 62 2012-08-17 10:15:26Z alfred $ +// $Id: print.php,v 1.3 2005/10/19 17:20:28 phppp Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -98,25 +98,15 @@ $isPost = 1; } -header('Content-Type: text/html; charset='._CHARSET); +xoops_header(false); if (empty($isPost)) { - echo "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>\n"; - echo "<html>\n<head>\n"; - echo "<title>" . htmlspecialchars($xoopsConfig['sitename']) . "</title>\n"; - echo "<meta http-equiv='Content-Type' content='text/html; charset=" . _CHARSET . "' />\n"; - echo "<meta name='AUTHOR' content='" . htmlspecialchars($xoopsConfig['sitename'], ENT_QUOTES) . "' />\n"; - echo "<meta name='COPYRIGHT' content='Copyright (c) ".date('Y')." by " . htmlspecialchars($xoopsConfig['sitename'], ENT_QUOTES) . "' />\n"; - echo "<meta name='DESCRIPTION' content='" . htmlspecialchars($xoopsConfig['slogan'], ENT_QUOTES) . "' />\n"; - echo "<meta name='GENERATOR' content='" . XOOPS_VERSION . "' />\n\n\n"; - echo "<body bgcolor='#ffffff' text='#000000' onload='window.print()'> - <div style='width: 750px; border: 1px solid #000; padding: 20px;'> - <div style='text-align: center; display: block; margin: 0 0 6px 0;'> - <img src='" . XOOPS_URL . "/modules/newbb/images/xoopsbb_slogo.png' border='0' alt='' /> - <br /> - <br /> - "; + echo "</head><body style='background-color:#ffffff; color:#000000;' onload='window.print()'> + <div style='width: 750px; border: 1px solid #000; padding: 20px;'> + <div style='text-align: center; display: block; margin: 0 0 6px 0;'> + <img src='" . XOOPS_URL . "/modules/newbb/images/xoopsbb_slogo.png' border='0' alt='' /> + <br /><br /> "; $postsArray = $topic_handler->getAllPosts($topic_obj); foreach ($postsArray as $post) { @@ -125,7 +115,7 @@ echo "<h2 style='margin: 0;'>".$post_data['subject']."</h2> <div align='center'>" ._POSTEDBY. " ".$post_data['author']." "._ON." ".formatTimestamp($post_data['date'])."</div> <div style='text-align: center; display: block; padding-bottom: 12px; margin: 0 0 6px 0; border-bottom: 2px solid #ccc;'></div> - <div style='text-align: left'>".$post_data['text']."</div> + <div>".$post_data['text']."</div> <div style='padding-top: 12px; border-top: 2px solid #ccc;'></div><br />"; } echo "<p>"._MD_COMEFROM . " ".XOOPS_URL."/newbb/viewtopic.php?forum=".$forum_id."&topic_id=".$topic_id."</p>"; @@ -134,27 +124,16 @@ } else { - echo "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>\n"; - echo "<html>\n<head>\n"; - echo "<title>" . htmlspecialchars($xoopsConfig['sitename']) . "</title>\n"; - echo "<meta http-equiv='Content-Type' content='text/html; charset=" . _CHARSET . "' />\n"; - echo "<meta name='AUTHOR' content='" . htmlspecialchars($xoopsConfig['sitename'], ENT_QUOTES) . "' />\n"; - echo "<meta name='COPYRIGHT' content='Copyright (c) ".date('Y')." by " . htmlspecialchars($xoopsConfig['sitename'], ENT_QUOTES) . "' />\n"; - echo "<meta name='DESCRIPTION' content='" . htmlspecialchars($xoopsConfig['slogan'], ENT_QUOTES) . "' />\n"; - echo "<meta name='GENERATOR' content='" . XOOPS_VERSION . "' />\n\n\n"; - echo "</head>\n\n\n"; - echo "<body bgcolor='#ffffff' text='#000000' onload='window.print()'> - <div style='width: 750px; border: 1px solid #000; padding: 20px;'> - <div style='text-align: center; display: block; margin: 0 0 6px 0;'> - <img src='" . XOOPS_URL . "/modules/newbb/images/xoopsbb_slogo.png' border='0' alt='' /> - <h2 style='margin: 0;'>".$post_data['subject']."</h2></div> - <div align='center'>" ._POSTEDBY. " ".$post_data['author']." "._ON." ".formatTimestamp($post_data['date'])."</div> - <div style='text-align: center; display: block; padding-bottom: 12px; margin: 0 0 6px 0; border-bottom: 2px solid #ccc;'></div> - <div style='text-align: left'>".$post_data['text']."</div> + echo "</head><body style='background-color:#ffffff; color:#000000;' onload='window.print()'> + <div style='width: 750px; border: 1px solid #000; padding: 20px;'> + <div style='text-align: center; display: block; margin: 0 0 6px 0;'> + <h2 style='margin: 0;'>".$post_data['subject']."</h2></div> + <div align='center'>" ._POSTEDBY. " ".$post_data['author']." "._ON." ".formatTimestamp($post_data['date'])."</div> + <div style='text-align: center; display: block; padding-bottom: 12px; margin: 0 0 6px 0; border-bottom: 2px solid #ccc;'></div> + <div>".$post_data['text']."</div> <div style='padding-top: 12px; border-top: 2px solid #ccc;'></div> <p>"._MD_COMEFROM . " ".$post_data["url"]."</p> </div> - <br />"; - echo "<br /></body></html>"; + <br /><br /></body></html>"; } ?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |