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) |
From: <be...@us...> - 2012-03-18 02:53:38
|
Revision: 9149 http://xoops.svn.sourceforge.net/xoops/?rev=9149&view=rev Author: beckmi Date: 2012-03-18 02:53:31 +0000 (Sun, 18 Mar 2012) Log Message: ----------- Fix: Anonymous couldn't access XoopsPartners Modified Paths: -------------- XoopsModules/xoopspartners/branches/formuss/xoopspartners/header.php Modified: XoopsModules/xoopspartners/branches/formuss/xoopspartners/header.php =================================================================== --- XoopsModules/xoopspartners/branches/formuss/xoopspartners/header.php 2012-03-17 18:56:37 UTC (rev 9148) +++ XoopsModules/xoopspartners/branches/formuss/xoopspartners/header.php 2012-03-18 02:53:31 UTC (rev 9149) @@ -17,12 +17,10 @@ $path = dirname(dirname(dirname(__FILE__))); require_once $path . '/mainfile.php'; -include_once $path . '/include/cp_functions.php'; -require_once $path . '/include/cp_header.php'; +require_once $path . '/header.php'; +//include_once $path . '/include/cp_functions.php'; +//require_once $path . '/include/cp_header.php'; -//include dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'mainfile.php'; - - require_once XOOPS_ROOT_PATH . '/modules/' . $GLOBALS['xoopsModule']->getVar('dirname') . '/include/functions.php'; // Xoops Class xoops_load('xoopsformloader'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-03-17 18:56:48
|
Revision: 9148 http://xoops.svn.sourceforge.net/xoops/?rev=9148&view=rev Author: txmodxoops Date: 2012-03-17 18:56:37 +0000 (Sat, 17 Mar 2012) Log Message: ----------- Updated to alpha 4 - Added class file xpdf_broken.php - Added admin file broken.php - Added admin file modified.php - Added root file moddoc.php - Added root file brokendoc.php - Added root file rss.php - Added root file notifyupdate.php - Added template file xpdf_brokendoc.html - Added template file xpdf_moddoc.html - Added template file xpdf_rss.html - More champs and tables in mysql file - Update more code in many files - Update more code in template files - Added icons in Frameworks 32 Added Paths: ----------- XoopsModules/xpdf/releases/1.01a/ XoopsModules/xpdf/releases/1.01a/Frameworks/ XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/ XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/ XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/16/ XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/16/green_ball.png XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/16/grey_ball.png XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/16/orange_ball.png XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/16/red_ball.png XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/32/ XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/32/dashboard.png XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/32/pdf_broken.png XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/32/pdf_category.png XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/32/pdf_document.png XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/32/pdf_file.png XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/32/pdf_modified.png XoopsModules/xpdf/releases/1.01a/class/ XoopsModules/xpdf/releases/1.01a/class/xoopslists.php XoopsModules/xpdf/releases/1.01a/language/ XoopsModules/xpdf/releases/1.01a/language/english/ XoopsModules/xpdf/releases/1.01a/language/english/global.php XoopsModules/xpdf/releases/1.01a/language/italian/ XoopsModules/xpdf/releases/1.01a/language/italian/global.php XoopsModules/xpdf/releases/1.01a/modules/ XoopsModules/xpdf/releases/1.01a/modules/xpdf/ XoopsModules/xpdf/releases/1.01a/modules/xpdf/admin/ XoopsModules/xpdf/releases/1.01a/modules/xpdf/admin/about.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/admin/admin_footer.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/admin/admin_header.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/admin/broken.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/admin/categories.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/admin/documents.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/admin/index.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/admin/index.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/admin/menu.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/admin/modified.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/admin/permissions.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/blocks/ XoopsModules/xpdf/releases/1.01a/modules/xpdf/blocks/blocks_doc.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/blocks/index.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/brokendoc.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/class/ XoopsModules/xpdf/releases/1.01a/modules/xpdf/class/index.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/class/xpdf_broken.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/class/xpdf_cat.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/class/xpdf_doc.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/class/xpdf_mod.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/class/xpdf_purchase.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/class/xpdf_viewlimit.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/css/ XoopsModules/xpdf/releases/1.01a/modules/xpdf/css/index.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/css/style.css XoopsModules/xpdf/releases/1.01a/modules/xpdf/docs/ XoopsModules/xpdf/releases/1.01a/modules/xpdf/docs/changelog.txt XoopsModules/xpdf/releases/1.01a/modules/xpdf/docs/credits.txt XoopsModules/xpdf/releases/1.01a/modules/xpdf/docs/index.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/docs/install.txt XoopsModules/xpdf/releases/1.01a/modules/xpdf/docs/lang_diff.txt XoopsModules/xpdf/releases/1.01a/modules/xpdf/docs/licence.txt XoopsModules/xpdf/releases/1.01a/modules/xpdf/docs/readme.txt XoopsModules/xpdf/releases/1.01a/modules/xpdf/header.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/images/ XoopsModules/xpdf/releases/1.01a/modules/xpdf/images/icons/ XoopsModules/xpdf/releases/1.01a/modules/xpdf/images/icons/index.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/images/icons/off.png XoopsModules/xpdf/releases/1.01a/modules/xpdf/images/icons/on.png XoopsModules/xpdf/releases/1.01a/modules/xpdf/images/index.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/images/menu/ XoopsModules/xpdf/releases/1.01a/modules/xpdf/images/menu/bg.png XoopsModules/xpdf/releases/1.01a/modules/xpdf/images/menu/index.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/images/menu/left_both.png XoopsModules/xpdf/releases/1.01a/modules/xpdf/images/menu/right_both.png XoopsModules/xpdf/releases/1.01a/modules/xpdf/images/xpdf_slogo.png XoopsModules/xpdf/releases/1.01a/modules/xpdf/include/ XoopsModules/xpdf/releases/1.01a/modules/xpdf/include/configs.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/include/functions.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/include/index.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/include/install.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/include/makeimg.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/include/makepdf.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/include/notification.inc.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/include/search.inc.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/include/update.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/index.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/language/ XoopsModules/xpdf/releases/1.01a/modules/xpdf/language/english/ XoopsModules/xpdf/releases/1.01a/modules/xpdf/language/english/admin.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/language/english/blocks.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/language/english/help/ XoopsModules/xpdf/releases/1.01a/modules/xpdf/language/english/help/help.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/language/english/help/index.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/language/english/index.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/language/english/main.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/language/english/modinfo.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/language/index.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/language/italian/ XoopsModules/xpdf/releases/1.01a/modules/xpdf/language/italian/admin.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/language/italian/blocks.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/language/italian/help/ XoopsModules/xpdf/releases/1.01a/modules/xpdf/language/italian/help/help.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/language/italian/help/index.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/language/italian/index.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/language/italian/main.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/language/italian/modinfo.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/list.tag.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/makepdf.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/moddoc.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/notifyupdate.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/print.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/rss.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/singledoc.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/sql/ XoopsModules/xpdf/releases/1.01a/modules/xpdf/sql/index.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/sql/mysql.sql XoopsModules/xpdf/releases/1.01a/modules/xpdf/submit.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/templates/ XoopsModules/xpdf/releases/1.01a/modules/xpdf/templates/admin/ XoopsModules/xpdf/releases/1.01a/modules/xpdf/templates/admin/index.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/templates/admin/xpdf_admin_about.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/templates/admin/xpdf_admin_help.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/templates/blocks/ XoopsModules/xpdf/releases/1.01a/modules/xpdf/templates/blocks/index.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/templates/blocks/xpdf_doc_block_day.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/templates/blocks/xpdf_doc_block_random.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/templates/blocks/xpdf_doc_block_recent.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/templates/index.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/templates/xpdf_brokendoc.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/templates/xpdf_footer.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/templates/xpdf_header.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/templates/xpdf_index.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/templates/xpdf_moddoc.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/templates/xpdf_rss.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/templates/xpdf_singledoc.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/templates/xpdf_submit.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/templates/xpdf_viewcat.html XoopsModules/xpdf/releases/1.01a/modules/xpdf/view.tag.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/viewcat.php XoopsModules/xpdf/releases/1.01a/modules/xpdf/xoops_version.php XoopsModules/xpdf/releases/1.01a/uploads/ XoopsModules/xpdf/releases/1.01a/uploads/xpdf/ XoopsModules/xpdf/releases/1.01a/uploads/xpdf/files/ XoopsModules/xpdf/releases/1.01a/uploads/xpdf/files/index.html XoopsModules/xpdf/releases/1.01a/uploads/xpdf/files/test.pdf XoopsModules/xpdf/releases/1.01a/uploads/xpdf/images/ XoopsModules/xpdf/releases/1.01a/uploads/xpdf/images/cat/ XoopsModules/xpdf/releases/1.01a/uploads/xpdf/images/cat/blank.gif XoopsModules/xpdf/releases/1.01a/uploads/xpdf/images/cat/cat_pdf01.png XoopsModules/xpdf/releases/1.01a/uploads/xpdf/images/cat/cat_pdf02.png XoopsModules/xpdf/releases/1.01a/uploads/xpdf/images/cat/index.html XoopsModules/xpdf/releases/1.01a/uploads/xpdf/images/doc/ XoopsModules/xpdf/releases/1.01a/uploads/xpdf/images/doc/blank.gif XoopsModules/xpdf/releases/1.01a/uploads/xpdf/images/doc/doc_pdf01.png XoopsModules/xpdf/releases/1.01a/uploads/xpdf/images/doc/doc_pdf02.png XoopsModules/xpdf/releases/1.01a/uploads/xpdf/images/doc/index.html XoopsModules/xpdf/releases/1.01a/uploads/xpdf/images/index.html XoopsModules/xpdf/releases/1.01a/uploads/xpdf/index.html Added: XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/16/green_ball.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/16/green_ball.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/16/grey_ball.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/16/grey_ball.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/16/orange_ball.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/16/orange_ball.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/16/red_ball.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/16/red_ball.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/32/dashboard.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/32/dashboard.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/32/pdf_broken.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/32/pdf_broken.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/32/pdf_category.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/32/pdf_category.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/32/pdf_document.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/32/pdf_document.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/32/pdf_file.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/32/pdf_file.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/32/pdf_modified.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xpdf/releases/1.01a/Frameworks/moduleclasses/icons/32/pdf_modified.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xpdf/releases/1.01a/class/xoopslists.php =================================================================== --- XoopsModules/xpdf/releases/1.01a/class/xoopslists.php (rev 0) +++ XoopsModules/xpdf/releases/1.01a/class/xoopslists.php 2012-03-17 18:56:37 UTC (rev 9148) @@ -0,0 +1,640 @@ +<?php +/** + * XOOPS listing utilities + * + * 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 kernel + * @since 2.0.0 + * @version $Id: xoopslists.php 8066 2011-11-06 05:09:33Z beckmi $ + * @version $Id: xoopslists.php 9146 2012-03-16 12:09:53Z timgno $ + */ + + +defined('XOOPS_ROOT_PATH') or die('Restricted access'); + +if (!defined('XOOPS_LISTS_INCLUDED')) { + define('XOOPS_LISTS_INCLUDED', 1); + + /** + * XoopsLists + * + * @author John Neill <cat...@xo...> + * @copyright copyright (c) XOOPS.org + * @package kernel + * @subpackage form + * @access public + */ + class XoopsLists + { + function getTimeZoneList() + { + xoops_loadLanguage('timezone'); + + $time_zone_list = array( + '-12' => _TZ_GMTM12 , + '-11' => _TZ_GMTM11 , + '-10' => _TZ_GMTM10 , + '-9' => _TZ_GMTM9 , + '-8' => _TZ_GMTM8 , + '-7' => _TZ_GMTM7 , + '-6' => _TZ_GMTM6 , + '-5' => _TZ_GMTM5 , + '-4' => _TZ_GMTM4 , + '-3.5' => _TZ_GMTM35 , + '-3' => _TZ_GMTM3 , + '-2' => _TZ_GMTM2 , + '-1' => _TZ_GMTM1 , + '0' => _TZ_GMT0 , + '1' => _TZ_GMTP1 , + '2' => _TZ_GMTP2 , + '3' => _TZ_GMTP3 , + '3.5' => _TZ_GMTP35 , + '4' => _TZ_GMTP4 , + '4.5' => _TZ_GMTP45 , + '5' => _TZ_GMTP5 , + '5.5' => _TZ_GMTP55 , + '6' => _TZ_GMTP6 , + '7' => _TZ_GMTP7 , + '8' => _TZ_GMTP8 , + '9' => _TZ_GMTP9 , + '9.5' => _TZ_GMTP95 , + '10' => _TZ_GMTP10 , + '11' => _TZ_GMTP11 , + '12' => _TZ_GMTP12); + + return $time_zone_list; + } + + /** + * gets list of themes folder from themes directory + */ + function getThemesList() + { + return XoopsLists::getDirListAsArray(XOOPS_THEME_PATH . '/'); + } + + /** + * gets a list of module folders from the modules directory + */ + function getModulesList() + { + return XoopsLists::getDirListAsArray(XOOPS_ROOT_PATH . '/modules/'); + } + + /** + * gets list of editors folder from xoopseditor directory + */ + function getEditorList() + { + return XoopsLists::getDirListAsArray(XOOPS_ROOT_PATH . '/class/xoopseditor/'); + } + + /** + * gets list of fonts folder from Frameworks/tcpdf/fonts directory + * @author TXMod Xoops <in...@tx...> + */ + function getFontList() + { + return XoopsLists::getFontListAsArray(XOOPS_ROOT_PATH . '/Frameworks/tcpdf/fonts/'); + } + + /** + * gets list of name of directories inside a directory + */ + function getDirListAsArray($dirname) + { + $ignored = array( + 'cvs' , + '_darcs'); + $list = array(); + if (substr($dirname, - 1) != '/') { + $dirname .= '/'; + } + if ($handle = opendir($dirname)) { + while ($file = readdir($handle)) { + if (substr($file, 0, 1) == '.' || in_array(strtolower($file), $ignored)) + continue; + if (is_dir($dirname . $file)) { + $list[$file] = $file; + } + } + closedir($handle); + asort($list); + reset($list); + } + return $list; + } + + /** + * gets list of all files in a directory + */ + function getFileListAsArray($dirname, $prefix = '') + { + $filelist = array(); + if (substr($dirname, - 1) == '/') { + $dirname = substr($dirname, 0, - 1); + } + if (is_dir($dirname) && $handle = opendir($dirname)) { + while (false !== ($file = readdir($handle))) { + if (! preg_match('/^[\.]{1,2}$/', $file) && is_file($dirname . '/' . $file)) { + $file = $prefix . $file; + $filelist[$file] = $file; + } + } + closedir($handle); + asort($filelist); + reset($filelist); + } + return $filelist; + } + + /** + * gets list of image file names in a directory + */ + function getImgListAsArray($dirname, $prefix = '') + { + $filelist = array(); + if ($handle = opendir($dirname)) { + while (false !== ($file = readdir($handle))) { + if (preg_match('/(\.gif|\.jpg|\.png)$/i', $file)) { + $file = $prefix . $file; + $filelist[$file] = $file; + } + } + closedir($handle); + asort($filelist); + reset($filelist); + } + return $filelist; + } + + /** + * gets list of font file names in a directory + * @author TXMod Xoops <in...@tx...> + */ + function getFontListAsArray($dirname, $prefix = '') + { + $fontlist = array(); + if ($handle = opendir($dirname)) { + while (false !== ($font = readdir($handle))) { + if (preg_match('/(\.php)$/i', $font)) { + $font = $prefix . $font; + $fontlist[$font] = substr($font, 0, strpos($font, '.')); + } + } + closedir($handle); + asort($fontlist); + reset($fontlist); + } + return $fontlist; + } + + /** + * gets list of html file names in a certain directory + */ + function getHtmlListAsArray($dirname, $prefix = '') + { + $filelist = array(); + if ($handle = opendir($dirname)) { + while (false !== ($file = readdir($handle))) { + if ((preg_match('/(\.htm|\.html|\.xhtml)$/i', $file) && ! is_dir($file))) { + $file = $prefix . $file; + $filelist[$file] = $prefix . $file; + } + } + closedir($handle); + asort($filelist); + reset($filelist); + } + return $filelist; + } + + /** + * gets list of avatar file names in a certain directory + * if directory is not specified, default directory will be searched + */ + function getAvatarsList($avatar_dir = '') + { + $avatars = array(); + if ($avatar_dir != '') { + $avatars = XoopsLists::getImgListAsArray(XOOPS_ROOT_PATH . '/images/avatar/' . $avatar_dir . '/', $avatar_dir . '/'); + } else { + $avatars = XoopsLists::getImgListAsArray(XOOPS_ROOT_PATH . '/images/avatar/'); + } + return $avatars; + } + + /** + * gets list of all avatar image files inside default avatars directory + */ + function getAllAvatarsList() + { + $avatars = array(); + $dirlist = array(); + $dirlist = XoopsLists::getDirListAsArray(XOOPS_ROOT_PATH . '/images/avatar/'); + if (count($dirlist) > 0) { + foreach($dirlist as $dir) { + $avatars[$dir] = &XoopsLists::getImgListAsArray(XOOPS_ROOT_PATH . '/images/avatar/' . $dir . '/', $dir . '/'); + } + } else { + return false; + } + return $avatars; + } + + /** + * gets list of subject icon image file names in a certain directory + * if directory is not specified, default directory will be searched + */ + function getSubjectsList($sub_dir = '') + { + $subjects = array(); + if ($sub_dir != '') { + $subjects = XoopsLists::getImgListAsArray(XOOPS_ROOT_PATH . '/images/subject/' . $sub_dir, $sub_dir . '/'); + } else { + $subjects = XoopsLists::getImgListAsArray(XOOPS_ROOT_PATH . '/images/subject/'); + } + return $subjects; + } + + /** + * gets list of language folders inside default language directory + */ + function getLangList() + { + $lang_list = array(); + $lang_list = XoopsLists::getDirListAsArray(XOOPS_ROOT_PATH . '/language/'); + return $lang_list; + } + + /** + * XoopsLists::getCountryList() + * + * @return + */ + function getCountryList() + { + xoops_loadLanguage('countries'); + $country_list = array ( + "" => "-", + "AD" => _COUNTRY_AD, + "AE" => _COUNTRY_AE, + "AF" => _COUNTRY_AF, + "AG" => _COUNTRY_AG, + "AI" => _COUNTRY_AI, + "AL" => _COUNTRY_AL, + "AM" => _COUNTRY_AM, + "AN" => _COUNTRY_AN, + "AO" => _COUNTRY_AO, + "AQ" => _COUNTRY_AQ, + "AR" => _COUNTRY_AR, + "AS" => _COUNTRY_AS, + "AT" => _COUNTRY_AT, + "AU" => _COUNTRY_AU, + "AW" => _COUNTRY_AW, + "AX" => _COUNTRY_AX, + "AZ" => _COUNTRY_AZ, + "BA" => _COUNTRY_BA, + "BB" => _COUNTRY_BB, + "BD" => _COUNTRY_BD, + "BE" => _COUNTRY_BE, + "BF" => _COUNTRY_BF, + "BG" => _COUNTRY_BG, + "BH" => _COUNTRY_BH, + "BI" => _COUNTRY_BI, + "BJ" => _COUNTRY_BJ, + "BL" => _COUNTRY_BL, + "BM" => _COUNTRY_BM, + "BN" => _COUNTRY_BN, + "BO" => _COUNTRY_BO, + "BR" => _COUNTRY_BR, + "BS" => _COUNTRY_BS, + "BT" => _COUNTRY_BT, + "BV" => _COUNTRY_BV, + "BW" => _COUNTRY_BW, + "BY" => _COUNTRY_BY, + "BZ" => _COUNTRY_BZ, + "CA" => _COUNTRY_CA, + "CC" => _COUNTRY_CC, + "CD" => _COUNTRY_CD, + "CF" => _COUNTRY_CF, + "CG" => _COUNTRY_CG, + "CH" => _COUNTRY_CH, + "CI" => _COUNTRY_CI, + "CK" => _COUNTRY_CK, + "CL" => _COUNTRY_CL, + "CM" => _COUNTRY_CM, + "CN" => _COUNTRY_CN, + "CO" => _COUNTRY_CO, + "CR" => _COUNTRY_CR, + "CS" => _COUNTRY_CS, // Not listed in ISO 3166 + "CU" => _COUNTRY_CU, + "CV" => _COUNTRY_CV, + "CX" => _COUNTRY_CX, + "CY" => _COUNTRY_CY, + "CZ" => _COUNTRY_CZ, + "DE" => _COUNTRY_DE, + "DJ" => _COUNTRY_DJ, + "DK" => _COUNTRY_DK, + "DM" => _COUNTRY_DM, + "DO" => _COUNTRY_DO, + "DZ" => _COUNTRY_DZ, + "EC" => _COUNTRY_EC, + "EE" => _COUNTRY_EE, + "EG" => _COUNTRY_EG, + "EH" => _COUNTRY_EH, + "ER" => _COUNTRY_ER, + "ES" => _COUNTRY_ES, + "ET" => _COUNTRY_ET, + "FI" => _COUNTRY_FI, + "FJ" => _COUNTRY_FJ, + "FK" => _COUNTRY_FK, + "FM" => _COUNTRY_FM, + "FO" => _COUNTRY_FO, + "FR" => _COUNTRY_FR, + "FX" => _COUNTRY_FX, // Not listed in ISO 3166 + "GA" => _COUNTRY_GA, + "GB" => _COUNTRY_GB, + "GD" => _COUNTRY_GD, + "GE" => _COUNTRY_GE, + "GF" => _COUNTRY_GF, + "GG" => _COUNTRY_GG, + "GH" => _COUNTRY_GH, + "GI" => _COUNTRY_GI, + "GL" => _COUNTRY_GL, + "GM" => _COUNTRY_GM, + "GN" => _COUNTRY_GN, + "GP" => _COUNTRY_GP, + "GQ" => _COUNTRY_GQ, + "GR" => _COUNTRY_GR, + "GS" => _COUNTRY_GS, + "GT" => _COUNTRY_GT, + "GU" => _COUNTRY_GU, + "GW" => _COUNTRY_GW, + "GY" => _COUNTRY_GY, + "HK" => _COUNTRY_HK, + "HM" => _COUNTRY_HM, + "HN" => _COUNTRY_HN, + "HR" => _COUNTRY_HR, + "HT" => _COUNTRY_HT, + "HU" => _COUNTRY_HU, + "ID" => _COUNTRY_ID, + "IE" => _COUNTRY_IE, + "IL" => _COUNTRY_IL, + "IM" => _COUNTRY_IM, + "IN" => _COUNTRY_IN, + "IO" => _COUNTRY_IO, + "IQ" => _COUNTRY_IQ, + "IR" => _COUNTRY_IR, + "IS" => _COUNTRY_IS, + "IT" => _COUNTRY_IT, + "JM" => _COUNTRY_JM, + "JO" => _COUNTRY_JO, + "JP" => _COUNTRY_JP, + "KE" => _COUNTRY_KE, + "KG" => _COUNTRY_KG, + "KH" => _COUNTRY_KH, + "KI" => _COUNTRY_KI, + "KM" => _COUNTRY_KM, + "KN" => _COUNTRY_KN, + "KP" => _COUNTRY_KP, + "KR" => _COUNTRY_KR, + "KW" => _COUNTRY_KW, + "KY" => _COUNTRY_KY, + "KZ" => _COUNTRY_KZ, + "LA" => _COUNTRY_LA, + "LB" => _COUNTRY_LB, + "LC" => _COUNTRY_LC, + "LI" => _COUNTRY_LI, + "LK" => _COUNTRY_LK, + "LR" => _COUNTRY_LR, + "LS" => _COUNTRY_LS, + "LT" => _COUNTRY_LT, + "LU" => _COUNTRY_LU, + "LV" => _COUNTRY_LV, + "LY" => _COUNTRY_LY, + "MA" => _COUNTRY_MA, + "MC" => _COUNTRY_MC, + "MD" => _COUNTRY_MD, + "ME" => _COUNTRY_ME, + "MF" => _COUNTRY_MF, + "MG" => _COUNTRY_MG, + "MH" => _COUNTRY_MH, + "MK" => _COUNTRY_MK, + "ML" => _COUNTRY_ML, + "MM" => _COUNTRY_MM, + "MN" => _COUNTRY_MN, + "MO" => _COUNTRY_MO, + "MP" => _COUNTRY_MP, + "MQ" => _COUNTRY_MQ, + "MR" => _COUNTRY_MR, + "MS" => _COUNTRY_MS, + "MT" => _COUNTRY_MT, + "MU" => _COUNTRY_MU, + "MV" => _COUNTRY_MV, + "MW" => _COUNTRY_MW, + "MX" => _COUNTRY_MX, + "MY" => _COUNTRY_MY, + "MZ" => _COUNTRY_MZ, + "NA" => _COUNTRY_NA, + "NC" => _COUNTRY_NC, + "NE" => _COUNTRY_NE, + "NF" => _COUNTRY_NF, + "NG" => _COUNTRY_NG, + "NI" => _COUNTRY_NI, + "NL" => _COUNTRY_NL, + "NO" => _COUNTRY_NO, + "NP" => _COUNTRY_NP, + "NR" => _COUNTRY_NR, + "NT" => _COUNTRY_NT, // Not listed in ISO 3166 + "NU" => _COUNTRY_NU, + "NZ" => _COUNTRY_NZ, + "OM" => _COUNTRY_OM, + "PA" => _COUNTRY_PA, + "PE" => _COUNTRY_PE, + "PF" => _COUNTRY_PF, + "PG" => _COUNTRY_PG, + "PH" => _COUNTRY_PH, + "PK" => _COUNTRY_PK, + "PL" => _COUNTRY_PL, + "PM" => _COUNTRY_PM, + "PN" => _COUNTRY_PN, + "PR" => _COUNTRY_PR, + "PS" => _COUNTRY_PS, + "PT" => _COUNTRY_PT, + "PW" => _COUNTRY_PW, + "PY" => _COUNTRY_PY, + "QA" => _COUNTRY_QA, + "RE" => _COUNTRY_RE, + "RO" => _COUNTRY_RO, + "RS" => _COUNTRY_RS, + "RU" => _COUNTRY_RU, + "RW" => _COUNTRY_RW, + "SA" => _COUNTRY_SA, + "SB" => _COUNTRY_SB, + "SC" => _COUNTRY_SC, + "SD" => _COUNTRY_SD, + "SE" => _COUNTRY_SE, + "SG" => _COUNTRY_SG, + "SH" => _COUNTRY_SH, + "SI" => _COUNTRY_SI, + "SJ" => _COUNTRY_SJ, + "SK" => _COUNTRY_SK, + "SL" => _COUNTRY_SL, + "SM" => _COUNTRY_SM, + "SN" => _COUNTRY_SN, + "SO" => _COUNTRY_SO, + "SR" => _COUNTRY_SR, + "ST" => _COUNTRY_ST, + "SU" => _COUNTRY_SU, // Not listed in ISO 3166 + "SV" => _COUNTRY_SV, + "SY" => _COUNTRY_SY, + "SZ" => _COUNTRY_SZ, + "TC" => _COUNTRY_TC, + "TD" => _COUNTRY_TD, + "TF" => _COUNTRY_TF, + "TG" => _COUNTRY_TG, + "TH" => _COUNTRY_TH, + "TJ" => _COUNTRY_TJ, + "TK" => _COUNTRY_TK, + "TL" => _COUNTRY_TL, + "TM" => _COUNTRY_TM, + "TN" => _COUNTRY_TN, + "TO" => _COUNTRY_TO, + "TP" => _COUNTRY_TP, // Not listed in ISO 3166 + "TR" => _COUNTRY_TR, + "TT" => _COUNTRY_TT, + "TV" => _COUNTRY_TV, + "TW" => _COUNTRY_TW, + "TZ" => _COUNTRY_TZ, + "UA" => _COUNTRY_UA, + "UG" => _COUNTRY_UG, + "UK" => _COUNTRY_UK, // Not listed in ISO 3166 + "UM" => _COUNTRY_UM, + "US" => _COUNTRY_US, + "UY" => _COUNTRY_UY, + "UZ" => _COUNTRY_UZ, + "VA" => _COUNTRY_VA, + "VC" => _COUNTRY_VC, + "VE" => _COUNTRY_VE, + "VG" => _COUNTRY_VG, + "VI" => _COUNTRY_VI, + "VN" => _COUNTRY_VN, + "VU" => _COUNTRY_VU, + "WF" => _COUNTRY_WF, + "WS" => _COUNTRY_WS, + "YE" => _COUNTRY_YE, + "YT" => _COUNTRY_YT, + "YU" => _COUNTRY_YU, // Not listed in ISO 3166 + "ZA" => _COUNTRY_ZA, + "ZM" => _COUNTRY_ZM, + "ZR" => _COUNTRY_ZR, // Not listed in ISO 3166 + "ZW" => _COUNTRY_ZW + ); + asort($country_list); + reset($country_list); + return $country_list; + } + + /** + * XoopsLists::getHtmlList() + * + * This Function is no longer being used by the core + * + * @return + */ + function getHtmlList() + { + $html_list = array( + 'a' => '<a>', + 'abbr' => '<abbr>', + 'acronym' => '<acronym>', + 'address' => '<address>', + 'b' => '<b>', + 'bdo' => '<bdo>', + 'big' => '<big>', + 'blockquote' => '<blockquote>', + 'br' => '<br>', + 'caption' => '<caption>', + 'cite' => '<cite>', + 'code' => '<code>', + 'col' => '<col>', + 'colgroup' => '<colgroup>', + 'dd' => '<dd>', + 'del' => '<del>', + 'dfn' => '<dfn>', + 'div' => '<div>', + 'dl' => '<dl>', + 'dt' => '<dt>', + 'em' => '<em>', + 'font' => '<font>', + 'h1' => '<h1>', + 'h2' => '<h2>', + 'h3' => '<h3>', + 'h4' => '<h4>', + 'h5' => '<h5>', + 'h6' => '<h6>', + 'hr' => '<hr>', + 'i' => '<i>', + 'img' => '<img>', + 'ins' => '<ins>', + 'kbd' => '<kbd>', + 'li' => '<li>', + 'map' => '<map>', + 'object' => '<object>', + 'ol' => '<ol>', + 'p' => '<p>', + 'pre' => '<pre>', + 's' => '<s>', + 'samp' => '<samp>', + 'small' => '<small>', + 'span' => '<span>', + 'strike' => '<strike>', + 'strong' => '<strong>', + 'sub' => '<sub>', + 'sup' => '<sup>', + 'table' => '<table>', + 'tbody' => '<tbody>', + 'td' => '<td>', + 'tfoot' => '<tfoot>', + 'th' => '<th>', + 'thead' => '<thead>', + 'tr' => '<tr>', + 'tt' => '<tt>', + 'u' => '<u>', + 'ul' => '<ul>', + 'var' => '<var>'); + asort($html_list); + reset($html_list); + return $html_list; + } + + /** + * XoopsLists::getUserRankList() + * + * @return + */ + function getUserRankList() + { + $db =& XoopsDatabaseFactory::getDatabaseConnection(); + $myts =& MyTextSanitizer::getInstance(); + $sql = sprintf('SELECT rank_id, rank_title FROM ' . $db->prefix('ranks') . ' WHERE rank_special = %u', 1); + $ret = array(); + $result = $db->query($sql); + while ($myrow = $db->fetchArray($result)) { + $ret[$myrow['rank_id']] = $myts->htmlspecialchars($myrow['rank_title']); + } + return $ret; + } + } +} + +?> \ No newline at end of file Added: XoopsModules/xpdf/releases/1.01a/language/english/global.php =================================================================== --- XoopsModules/xpdf/releases/1.01a/language/english/global.php (rev 0) +++ XoopsModules/xpdf/releases/1.01a/language/english/global.php 2012-03-17 18:56:37 UTC (rev 9148) @@ -0,0 +1,239 @@ +<?php +// $Id: global.php 8066 2011-11-06 05:09:33Z beckmi $ +// _LANGCODE: en +// _CHARSET : UTF-8 +// Translator: XOOPS Translation Team +define('_PLEASEWAIT', 'Please Wait'); +define('_FETCHING', 'Loading...'); +define('_TAKINGBACK', 'Taking you back to where you were....'); +define('_LOGOUT', 'Logout'); +define('_SUBJECT', 'Subject'); +define('_MESSAGEICON', 'Message Icon'); +define('_COMMENTS', 'Comments'); +define('_POSTANON', 'Post Anonymously'); +define('_DISABLESMILEY', 'Disable smiley'); +define('_DISABLEHTML', 'Disable html'); +define('_PREVIEW', 'Preview'); +define('_GO', 'Go!'); +define('_NESTED', 'Nested'); +define('_NOCOMMENTS', 'No Comments'); +define('_FLAT', 'Flat'); +define('_THREADED', 'Threaded'); +define('_OLDESTFIRST', 'Oldest First'); +define('_NEWESTFIRST', 'Newest First'); +define('_MORE', 'more...'); +define('_MULTIPAGE', 'To have your article span multiple pages, insert the word <font color=red>[pagebreak]</font> (with brackets) in the article.'); +define('_IFNOTRELOAD', 'If the page does not automatically reload, please click <a href=\'%s\'>here</a>'); +// Error messages issued by XoopsObject::cleanVars() +define('_XOBJ_ERR_REQUIRED', '%s is required'); +define('_XOBJ_ERR_SHORTERTHAN', '%s must be shorter than %d characters.'); +// %%%%%% File Name themeuserpost.php %%%%% +define('_PROFILE', 'Profile'); +define('_POSTEDBY', 'Posted by'); +define('_VISITWEBSITE', 'Visit Website'); +define('_SENDPMTO', 'Send Private Message to %s'); +define('_SENDEMAILTO', 'Send Email to %s'); +define('_ADD', 'Add'); +define('_REPLY', 'Reply'); +define('_DATE', 'Date'); // Posted date +// %%%%%% File Name admin_functions.php %%%%% +define('_MAIN', 'Main'); +define('_MANUAL', 'Manual'); +define('_INFO', 'Info'); +define('_CPHOME', 'Control Panel Home'); +define('_YOURHOME', 'Home Page'); +// %%%%%% File Name misc.php (who's-online popup) %%%%% +define('_WHOSONLINE', 'Who\'s Online'); +define('_GUESTS', 'Guests'); +define('_MEMBERS', 'Members'); +define('_ONLINEPHRASE', '<strong>%s</strong> user(s) are online'); +define('_ONLINEPHRASEX', '<strong>%s</strong> user(s) are browsing <strong>%s</strong>'); +define('_CLOSE', 'Close'); // Close window +// %%%%%% File Name module.textsanitizer.php %%%%% +define('_QUOTEC', 'Quote:'); +// %%%%%% File Name admin.php %%%%% +define('_NOPERM', 'Sorry, you don\'t have the permission to access this area.'); +// %%%%% Common Phrases %%%%% +define('_NO', 'No'); +define('_YES', 'Yes'); +define('_ONLINE', 'Online'); +define('_OFFLINE', 'Offline'); +define('_EDIT', 'Edit'); +define('_DELETE', 'Delete'); +define('_SUBMIT', 'Submit'); +define('_MODULENOEXIST', 'Selected module does not exist!'); +define('_ALIGN', 'Align'); +define('_LEFT', 'Left'); +define('_CENTER', 'Center'); +define('_RIGHT', 'Right'); +define('_FORM_ENTER', 'Please enter %s'); +define('_MUSTWABLE', 'File %s must be writable by the server!'); // %s represents file name +// Module info +define('_PREFERENCES', 'Preferences'); +define('_VERSION', 'Version'); +define('_DESCRIPTION', 'Description'); +define('_AUTHOR', 'Author'); +define('_CREDITS', 'Credits'); +define('_LICENCE', 'Licence'); +define('_ERRORS', 'Errors'); +define('_NONE', 'None'); +define('_ON', 'on'); +define('_READS', 'reads'); +define('_WELCOMETO', 'Welcome to %s'); +define('_SEARCH', 'Search'); +define('_ALL', 'All'); +define('_TITLE', 'Title'); +define('_OPTIONS', 'Options'); +define('_QUOTE', 'Quote'); +define('_LIST', 'List'); +define('_LOGIN', 'User Login'); +define('_USERNAME', 'Username: '); +define('_PASSWORD', 'Password: '); +define('_SELECT', 'Select'); +define('_IMAGE', 'Image'); +define('_SEND', 'Send'); +define('_CANCEL', 'Cancel'); +define('_ASCENDING', 'Ascending order'); +define('_DESCENDING', 'Descending order'); +define('_BACK', 'Back'); +define('_NOTITLE', 'No title'); +/** +* Image manager +*/ +define("_MD_ADDIMGCAT","Add Category"); +define("_MD_IMGCATNAME","Category name"); +define("_MD_IMGCATRGRP","Select groups for image manager use"); +define("_MD_IMGCATWGRP","Select groups allowed to upload images"); +define("_MD_IMGCATWEIGHT","Display order in image manager"); +define("_MD_IMGCATDISPLAY","Display"); +define("_MD_IMGCATSTRTYPE","Images are uploaded to:"); +define("_MD_STRTYOPENG","This can not be changed afterwards!"); +define("_MD_ASFILE","Store as files (in uploads directory)"); +define("_MD_INDB","Store in the database (as binary \"blob\" data)"); +define("_MD_IMGMAIN","Category"); +define("_MD_EDITIMGCAT", "Images Settings"); +define('_IMGMANAGER', 'Image Manager'); +define('_NUMIMAGES', '%s images'); +define('_ADDIMAGE', 'Add Image File'); +define('_IMAGENAME', 'Name:'); +define('_IMGMAXSIZE', 'Max size allowed (bytes):'); +define('_IMGMAXWIDTH', 'Max width allowed (pixels):'); +define('_IMGMAXHEIGHT', 'Max height allowed (pixels):'); +define('_IMAGECAT', 'Category:'); +define('_IMAGEFILE', 'Image file:'); +define('_IMGWEIGHT', 'Display order in image manager:'); +define('_IMGDISPLAY', 'Display this image?'); +define('_IMAGEMIME', 'MIME type:'); +define('_FAILFETCHIMG', 'Could not get uploaded file %s'); +define('_FAILSAVEIMG', 'Failed storing image %s into the database'); +define('_NOCACHE', 'No Cache'); +define('_CLONE', 'Clone'); +// %%%%% For xoopsform files %%%%% +define('_STARTSWITH', 'Starts with'); +define('_ENDSWITH', 'Ends with'); +define('_MATCHES', 'Matches'); +define('_CONTAINS', 'Contains'); +define('_REQUIRED', 'Required'); +// %%%%%% File Name commentform.php %%%%% +define('_REGISTER', 'Register'); +// %%%%%% File Name xoopscodes.php %%%%% +define('_SIZE', 'SIZE'); // font size +define('_FONT', 'FONT'); // font family +define('_COLOR', 'COLOR'); // font color +define('_EXAMPLE', 'SAMPLE'); +define('_ENTERURL', 'Enter the URL of the link you want to add:'); +define('_ENTERWEBTITLE', 'Enter the web site title:'); +define('_ENTERIMGURL', 'Enter the URL of the image you want to add.'); +define('_ENTERIMGPOS', 'Now, enter the position of the image.'); +define('_IMGPOSRORL', '\'R\' or \'r\' for right, \'L\' or \'l\' for left, or leave it blank.'); +define('_ERRORIMGPOS', 'ERROR! Enter the position of the image.'); +define('_ENTEREMAIL', 'Enter the email address you want to add.'); +define('_ENTERCODE', 'Enter the codes that you want to add.'); +define('_ENTERQUOTE', 'Enter the text that you want to be quoted.'); +define('_ENTERTEXTBOX', 'Please input text into the textbox.'); +define('_ALLOWEDCHAR', 'Allowed max chars length: '); +define('_CURRCHAR', 'Current chars length: '); +define('_PLZCOMPLETE', 'Please complete the subject and message fields.'); +define('_MESSAGETOOLONG', 'Your message is too long.'); +/** +* xoops smilie +*/ +define('_AM_ADDSMILE',' Add a new smilie'); +define('_AM_SMILECODE','Code'); +define('_AM_SMILEEMOTION','Description'); +define('_AM_DISPLAYF','Display in the form'); +// %%%%% TIME FORMAT SETTINGS %%%%% +define('_SECOND', '1 second'); +define('_SECONDS', '%s seconds'); +define('_MINUTE', '1 minute'); +define('_MINUTES', '%s minutes'); +define('_HOUR', '1 hour'); +define('_HOURS', '%s hours'); +define('_DAY', '1 day'); +define('_DAYS', '%s days'); +define('_WEEK', '1 week'); +define('_MONTH', '1 month'); +define('_DATESTRING', 'Y/n/j G:i:s'); +define('_MEDIUMDATESTRING', 'Y/n/j G:i'); +define('_SHORTDATESTRING', 'Y/n/j'); +/** +* The following characters are recognized in the format string: +* a - 'am' or 'pm' +* A - 'AM' or 'PM' +* d - day of the month, 2 digits with leading zeros; i.e. '01' to '31' +* D - day of the week, textual, 3 letters; i.e. 'Fri' +* F - month, textual, long; i.e. 'January' +* h - hour, 12-hour format; i.e. '01' to '12' +* H - hour, 24-hour format; i.e. '00' to '23' +* g - hour, 12-hour format without leading zeros; i.e. '1' to '12' +* G - hour, 24-hour format without leading zeros; i.e. '0' to '23' +* i - minutes; i.e. '00' to '59' +* j - day of the month without leading zeros; i.e. '1' to '31' +* l (lowercase 'L') - day of the week, textual, long; i.e. 'Friday' +* L - boolean for whether it is a leap year; i.e. '0' or '1' +* m - month; i.e. '01' to '12' +* n - month without leading zeros; i.e. '1' to '12' +* M - month, textual, 3 letters; i.e. 'Jan' +* s - seconds; i.e. '00' to '59' +* S - English ordinal suffix, textual, 2 characters; i.e. 'th', 'nd' +* t - number of days in the given month; i.e. '28' to '31' +* T - Timezone setting of this machine; i.e. 'MDT' +* U - seconds since the epoch +* w - day of the week, numeric, i.e. '0' (Sunday) to '6' (Saturday) +* Y - year, 4 digits; i.e. '1999' +* y - year, 2 digits; i.e. '99' +* z - day of the year; i.e. '0' to '365' +* Z - timezone offset in seconds (i.e. '-43200' to '43200') +*/ +// %%%%% LANGUAGE SPECIFIC SETTINGS %%%%% +define('_CHARSET', 'UTF-8'); +define('_LANGCODE', 'en'); +// change 0 to 1 if this language is a multi-bytes language +define('XOOPS_USE_MULTIBYTES', '0'); +/** +* Additions to 2.4.0 +**/ +define('_RESET', 'Reset'); +define('_RE', 'Re:'); +// Module vars +define ("_ID", "Id"); +define ("_PID", "Sub Id"); +define ("_ABOUT", "About"); +define ("_WEIGHT", "Weight"); +define ("_CATEGORY", "Category"); +define ("_CATEGORIES", "Categories"); +define ("_PERMISSION", "Permission"); +define ("_PERMISSIONS", "Permissions"); +define ("_DASHBOARD", "Dashboard"); +define ("_SUBMITTER", "Submitter"); +define ("_CREATED", "Created"); +define ("_PUBLISHED", "Published"); +define ("_PUBLISHER", "Publisher"); +define ("_EXPIRED", "Expired"); +define ("_STATUS", "Status"); +define ("_KEYWORDS", "Keywords"); +define ("_WAITING", "Pending"); +define ("_FORMACTION", "Action"); +define ("_FORMUPLOAD", "Upload File"); +define ("_FILENAME","Filename"); +?> \ No newline at end of file Added: XoopsModules/xpdf/releases/1.01a/language/italian/global.php =================================================================== --- XoopsModules/xpdf/releases/1.01a/language/italian/global.php (rev 0) +++ XoopsModules/xpdf/releases/1.01a/language/italian/global.php 2012-03-17 18:56:37 UTC (rev 9148) @@ -0,0 +1,243 @@ +<?php +// $Id: global.php 8889 2010-11-01 11:03:22Z kris_fr $ +// _LANGCODE: it +// _CHARSET : UTF-8 +// Translator: Xoops Italia Team - www.xoopsitalia.org +// Last translation update: 08/03/2011 +define("_PLEASEWAIT","Attendere prego..."); +define("_FETCHING","Caricamento..."); +define("_TAKINGBACK","Stai per essere riportato alla pagina in cui eri..."); +define("_LOGOUT","Esci"); +define("_SUBJECT","Oggetto"); +define("_MESSAGEICON","Icona del messaggio"); +define("_COMMENTS","Commenti"); +define("_POSTANON","Invia come anonimo"); +define("_DISABLESMILEY","Disabilita faccine"); +define("_DISABLEHTML","Disabilita tag HTML"); +define("_PREVIEW","Anteprima"); +define("_GO","Vai!"); +define("_NESTED","Annidati"); +define("_NOCOMMENTS","Nessun commento"); +define("_FLAT","Piatti"); +define("_THREADED","Ad albero"); +define("_OLDESTFIRST","I più vecchi prima"); +define("_NEWESTFIRST","I più nuovi prima"); +define("_MORE","altro..."); +define("_MULTIPAGE","Per visualizzare l'articolo su più pagine, inserire il codice <font color=red>[pagebreak]</font> (con le quadre), all'interno della news."); +define("_IFNOTRELOAD","Se la pagina non dovesse caricarsi in automatico, premere <a href=%s>qui</a>"); +// Error messages issued by XoopsObject::cleanVars() +define( "_XOBJ_ERR_REQUIRED", "%s è richiesta/o" ); +define( "_XOBJ_ERR_SHORTERTHAN", "%s deve contenere meno di %d caratteri." ); +//%%%%%% File Name themeuserpost.php %%%%% +define("_PROFILE","Profilo"); +define("_POSTEDBY","Inviato da"); +define("_VISITWEBSITE","Visita il sito web"); +define("_SENDPMTO","Invia un messaggio privato a %s"); +define("_SENDEMAILTO","Invia un email a %s"); +define("_ADD","Aggiungi"); +define("_REPLY","Rispondi"); +define("_DATE","Data"); // Posted date +//%%%%%% File Name admin_functions.php %%%%% +define("_MAIN","Principale"); +define("_MANUAL","Manuale"); +define("_INFO","Informazioni"); +define("_CPHOME","Pannello di Controllo"); +define("_YOURHOME","Home Page"); +//%%%%%% File Name misc.php (who's-online popup) %%%%% +define("_WHOSONLINE","Utenti online"); +define('_GUESTS', 'Ospiti'); +define('_MEMBERS', 'Iscritti'); +define("_ONLINEPHRASE","<b>%s</b> utente(i) online<br />"); +define("_ONLINEPHRASEX","<b>%s</b> utente(i) in <b>%s</b>"); +define("_CLOSE","Chiudi"); // Close window +//%%%%%% File Name module.textsanitizer.php %%%%% +define("_QUOTEC","Citazione:"); +//%%%%%% File Name admin.php %%%%% +define("_NOPERM","Non si possiedono i permessi per accedere a quest'area"); +//%%%%% Common Phrases %%%%% +define("_NO","No"); +define("_YES","Si"); +define("_ONLINE", "Online"); +define("_OFFLINE", "Offline"); +define("_EDIT","Modifica"); +define("_DELETE","Elimina"); +define("_SUBMIT","Invia"); +define("_MODULENOEXIST","Il modulo selezionato non esiste!"); +define("_ALIGN","Allineamento"); +define("_LEFT","Sinistra"); +define("_CENTER","Centro"); +define("_RIGHT","Destra"); +define("_FORM_ENTER", "Per favore inserire %s"); +define("_MUSTWABLE","Il file %s non deve essere protetto in scrittura sul server!"); // %s represents file name +// Module info +define('_PREFERENCES', 'Preferenze'); +define("_VERSION", "Versione"); +define("_DESCRIPTION", "Descrizione"); +define("_AUTHOR", "Autore"); +define("_CREDITS", "Crediti"); +define("_LICENCE", "Licenza"); +define("_ERRORS", "Errori"); +define("_NONE", "Nessuno"); +define('_ON','il'); +define('_READS','letture'); +define('_WELCOMETO','Benvenuto %s'); +define('_SEARCH','Cerca'); +define('_ALL', 'Tutto'); +define('_TITLE', 'Titolo'); +define('_OPTIONS', 'Opzioni'); +define('_QUOTE', 'Citazione'); +define('_LIST', 'Elenco'); +define('_LOGIN','Login utente'); +define('_USERNAME','Nome utente: '); +define('_PASSWORD','Password: '); +define("_SELECT","Seleziona"); +define("_IMAGE","Immagine"); +define("_SEND","Invia"); +define("_CANCEL","Annulla"); +define("_ASCENDING","Ordine crescente"); +define("_DESCENDING","Ordine decrescente"); +define('_BACK', 'Indietro'); +define('_NOTITLE', 'Nessun titolo');; +/** +* Image manager +*/ +define("_MD_ADDIMGCAT","Nuova Categoria"); +define("_MD_IMGCATNAME","Nome"); +define("_MD_IMGCATRGRP","Gruppi autorizzati ad accedere alla categoria:"); +define("_MD_IMGCATWGRP","Gruppi autorizzati a caricare immagini nella categoria:"); +define("_MD_IMGCATWEIGHT","Ordine di visualizzazione nel gestore immagini:"); +define("_MD_IMGCATDISPLAY","Categoria visibile nel gestore immagini?"); +define("_MD_IMGCATSTRTYPE","Modalità di salvataggio delle immagini:"); +define("_MD_STRTYOPENG","Non è possibile modificare questa scelta in seguito!"); +define("_MD_ASFILE","Come file nella cartella 'uploads'"); +define("_MD_INDB","Come dato binario (blob) nel database"); +define("_MD_IMGMAIN","Categoria"); +define("_MD_EDITIMGCAT", "Modifica categoria"); +define('_IMGMANAGER', 'Gestore immagini'); +define('_NUMIMAGES', '%s immagine(i)'); +define('_ADDIMAGE', 'Nuova Immagine'); +define('_IMAGENAME', 'Nome:'); +define('_IMGMAXSIZE', 'Dimensione massima (bytes):'); +define('_IMGMAXWIDTH', 'Larghezza massima(pixels):'); +define('_IMGMAXHEIGHT', 'Altezza massima (pixels):'); +define('_IMAGECAT', 'Categoria:'); +define('_IMAGEFILE', 'File dell\'immagine:'); +define('_IMGWEIGHT', 'Ordine di visualizzazione nel gestore immagini:'); +define('_IMGDISPLAY', 'Immagine visibile nel gestore immagini?'); +define('_IMAGEMIME', 'Estensione file (myme type):'); +define('_FAILFETCHIMG', 'Impossibile eseguire l\'upload del file %s'); +define('_FAILSAVEIMG', 'Impossibile salvare l\'immagine %s nel database'); +define('_NOCACHE', 'Nessuna cache'); +define('_CLONE', 'Duplica'); +// %%%%% For xoopsform files %%%%% +define("_STARTSWITH", "Inizia con"); +define("_ENDSWITH", "Termina con"); +define("_MATCHES", "Corrsiponde a"); +define("_CONTAINS", "Contiene"); +define('_REQUIRED', 'Richiesto'); +// %%%%%% File Name commentform.php %%%%% +define('_REGISTER', 'Registrati'); +// %%%%%% File Name xoopscodes.php %%%%% +define("_SIZE","DIMENSIONE"); // font size +define("_FONT","CARATTERE"); // font family +define("_COLOR","COLORE"); // font color +define("_EXAMPLE","ESEMPIO"); +define("_ENTERURL","Indirizzo del link che si desidera inserire: "); +define("_ENTERWEBTITLE","Testo del link: "); +define("_ENTERIMGURL","Indirizzo web dell'immagine che si desidera inserire:"); +define("_ENTERIMGPOS","Allineamento dell'immagine."); +define("_IMGPOSRORL","'r' destra, 'l' sinistra, o lasciare vuoto."); +define("_ERRORIMGPOS","ERRORE! Si prega di specificare l'allineamento dell'immagine."); +define("_ENTEREMAIL","Indirizzo email che si desidera inserire:"); +define("_ENTERCODE","Codice che si desidera inserire:"); +define("_ENTERQUOTE","Testo che si desidera citare:"); +define("_ENTERTEXTBOX","Per favore, inserire del testo nella casella."); +define("_ALLOWEDCHAR","Numero massimo di caratteri consentiti: "); +define("_CURRCHAR","Caratteri utilizzati fino a questo momento: "); +define("_PLZCOMPLETE","Per favore, inserire oggetto e corpo del messaggio."); +define("_MESSAGETOOLONG","Il messaggio è troppo lungo."); +/** +* xoops smilie +*/ +define('_AM_ADDSMILE',' Nuova Faccina'); +define('_AM_SMILECODE','Combinazione'); +define('_AM_SMILEEMOTION','Descrizione'); +define('_AM_DISPLAYF','Visibile nei form?'); +// %%%%% TIME FORMAT SETTINGS %%%%% +define('_SECOND', '1 secondo'); +define('_SECONDS', '%s secondi'); +define('_MINUTE', '1 minuto'); +define('_MINUTES', '%s minuti'); +define('_HOUR', '1 ora'); +define('_HOURS', '%s ore'); +define('_DAY', '1 giorno'); +define('_DAYS', '%s giorni'); +define('_WEEK', '1 settimana'); +define('_MONTH', '1 mese'); +define("_DATESTRING","j/n/Y G:i:s"); +define("_MEDIUMDATESTRING","j/n/Y G:i"); +define("_SHORTDATESTRING","j/n/Y"); +/** +* The following characters are recognized in the format string: +* a - 'am' or 'pm' +* A - 'AM' or 'PM' +* d - day of the month, 2 digits with leading zeros; i.e. '01' to '31' +* D - day of the week, textual, 3 letters; i.e. 'Fri' +* F - month, textual, long; i.e. 'January' +* h - hour, 12-hour format; i.e. '01' to '12' +* H - hour, 24-hour format; i.e. '00' to '23' +* g - hour, 12-hour format without leading zeros; i.e. '1' to '12' +* G - hour, 24-hour format without leading zeros; i.e. '0' to '23' +* i - minutes; i.e. '00' to '59' +* j - day of the month without leading zeros; i.e. '1' to '31' +* l (lowercase 'L') - day of the week, textual, long; i.e. 'Friday' +* L - boolean for whether it is a leap year; i.e. '0' or '1' +* m - month; i.e. '01' to '12' +* n - month without leading zeros; i.e. '1' to '12' +* M - month, textual, 3 letters; i.e. 'Jan' +* s - seconds; i.e. '00' to '59' +* S - English ordinal suffix, textual, 2 characters; i.e. 'th', 'nd' +* t - number of days in the given month; i.e. '28' to '31' +* T - Timezone setting of this machine; i.e. 'MDT' +* U - seconds since the epoch +* w - day of the week, numeric, i.e. '0' (Sunday) to '6' (Saturday) +* Y - year, 4 digits; i.e. '1999' +* y - year, 2 digits; i.e. '99' +* z - day of the year; i.e. '0' to '365' +* Z - timezone offset in seconds (i.e. '-43200' to '43200') +*/ +//%%%%% LANGUAGE SPECIFIC SETTINGS %%%%% +/* ATTENZIONE! In caso di aggiornamento da versioni precedenti e di mantenimento della collazione del database in +'latin_swedish' decommentare la linea successiva e commentare: define('_CHARSET', 'UTF-8'), per preservare la visualizzazione delle parole accentate nel sito.*/ +//define('_CHARSET', 'ISO-8859-1'); +define('_CHARSET', 'UTF-8'); +define('_LANGCODE', 'it_IT'); +// cambiare da 0 a 1 se questa lingua \xE8 multi-bytes (non modificare) +define('XOOPS_USE_MULTIBYTES', '0'); +/** +* Additions to 2.4.0 +**/ +define('_RESET', 'Reset'); +define('_RE', 'Re:'); +// Module vars +define("_ID","Id"); +define("_PID","Sub Id"); +define("_ABOUT","Informazioni"); +define("_WEIGHT","Peso"); +define("_CATEGORY","Categoria"); +define("_CATEGORIES","Categorie"); +define("_PERMISSION","Permesso"); +define("_PERMISSIONS","Permessi"); +define("_DASHBOARD","Cruscotto"); +define("_SUBMITTER","Inviato da"); +define("_CREATED","Creato il"); +define("_PUBLISHED","Pubblicato il"); +define("_PUBLISHER","Pubblicatore"); +define("_EXPIRED","Terminato"); +define("_STATUS","Stato"); +define("_KEYWORDS","Parole chiave"); +define("_WAITING","In attesa"); +define("_FORMACTION","Azione"); +define("_FORMUPLOAD","Carica File"); +define("_FILENAME","Nome File"); +?> \ No newline at end of file Added: XoopsModules/xpdf/releases/1.01a/modules/xpdf/admin/about.php =================================================================== --- XoopsModules/xpdf/releases/1.01a/modules/xpdf/admin/about.php (rev 0) +++ XoopsModules/xpdf/releases/1.01a/modules/xpdf/admin/about.php 2012-03-17 18:56:37 UTC (rev 9148) @@ -0,0 +1,30 @@ +<?php +/** + * **************************************************************************** ... [truncated message content] |
From: <txm...@us...> - 2012-03-17 11:57:34
|
Revision: 9147 http://xoops.svn.sourceforge.net/xoops/?rev=9147&view=rev Author: txmodxoops Date: 2012-03-17 11:57:26 +0000 (Sat, 17 Mar 2012) Log Message: ----------- Updated mach files Modified and added Font Function in XoopsList class Added Selector Font in Document Modified Paths: -------------- XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/categories.php XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/documents.php XoopsModules/xpdf/releases/1.01/modules/xpdf/class/xpdf_cat.php XoopsModules/xpdf/releases/1.01/modules/xpdf/class/xpdf_doc.php XoopsModules/xpdf/releases/1.01/modules/xpdf/language/english/modinfo.php XoopsModules/xpdf/releases/1.01/modules/xpdf/language/italian/modinfo.php XoopsModules/xpdf/releases/1.01/modules/xpdf/sql/mysql.sql XoopsModules/xpdf/releases/1.01/modules/xpdf/xoops_version.php Added Paths: ----------- XoopsModules/xpdf/releases/1.01/class/ XoopsModules/xpdf/releases/1.01/class/xoopslists.php XoopsModules/xpdf/releases/1.01/modules/xpdf/include/update.php Property Changed: ---------------- XoopsModules/xpdf/releases/1.01/modules/xpdf/sql/ Added: XoopsModules/xpdf/releases/1.01/class/xoopslists.php =================================================================== --- XoopsModules/xpdf/releases/1.01/class/xoopslists.php (rev 0) +++ XoopsModules/xpdf/releases/1.01/class/xoopslists.php 2012-03-17 11:57:26 UTC (rev 9147) @@ -0,0 +1,640 @@ +<?php +/** + * XOOPS listing utilities + * + * 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 kernel + * @since 2.0.0 + * @version $Id: xoopslists.php 8066 2011-11-06 05:09:33Z beckmi $ + * @version $Id: xoopslists.php 9146 2012-03-16 12:09:53Z timgno $ + */ + + +defined('XOOPS_ROOT_PATH') or die('Restricted access'); + +if (!defined('XOOPS_LISTS_INCLUDED')) { + define('XOOPS_LISTS_INCLUDED', 1); + + /** + * XoopsLists + * + * @author John Neill <cat...@xo...> + * @copyright copyright (c) XOOPS.org + * @package kernel + * @subpackage form + * @access public + */ + class XoopsLists + { + function getTimeZoneList() + { + xoops_loadLanguage('timezone'); + + $time_zone_list = array( + '-12' => _TZ_GMTM12 , + '-11' => _TZ_GMTM11 , + '-10' => _TZ_GMTM10 , + '-9' => _TZ_GMTM9 , + '-8' => _TZ_GMTM8 , + '-7' => _TZ_GMTM7 , + '-6' => _TZ_GMTM6 , + '-5' => _TZ_GMTM5 , + '-4' => _TZ_GMTM4 , + '-3.5' => _TZ_GMTM35 , + '-3' => _TZ_GMTM3 , + '-2' => _TZ_GMTM2 , + '-1' => _TZ_GMTM1 , + '0' => _TZ_GMT0 , + '1' => _TZ_GMTP1 , + '2' => _TZ_GMTP2 , + '3' => _TZ_GMTP3 , + '3.5' => _TZ_GMTP35 , + '4' => _TZ_GMTP4 , + '4.5' => _TZ_GMTP45 , + '5' => _TZ_GMTP5 , + '5.5' => _TZ_GMTP55 , + '6' => _TZ_GMTP6 , + '7' => _TZ_GMTP7 , + '8' => _TZ_GMTP8 , + '9' => _TZ_GMTP9 , + '9.5' => _TZ_GMTP95 , + '10' => _TZ_GMTP10 , + '11' => _TZ_GMTP11 , + '12' => _TZ_GMTP12); + + return $time_zone_list; + } + + /** + * gets list of themes folder from themes directory + */ + function getThemesList() + { + return XoopsLists::getDirListAsArray(XOOPS_THEME_PATH . '/'); + } + + /** + * gets a list of module folders from the modules directory + */ + function getModulesList() + { + return XoopsLists::getDirListAsArray(XOOPS_ROOT_PATH . '/modules/'); + } + + /** + * gets list of editors folder from xoopseditor directory + */ + function getEditorList() + { + return XoopsLists::getDirListAsArray(XOOPS_ROOT_PATH . '/class/xoopseditor/'); + } + + /** + * gets list of fonts folder from Frameworks/tcpdf/fonts directory + * @author TXMod Xoops <in...@tx...> + */ + function getFontList() + { + return XoopsLists::getFontListAsArray(XOOPS_ROOT_PATH . '/Frameworks/tcpdf/fonts/'); + } + + /** + * gets list of name of directories inside a directory + */ + function getDirListAsArray($dirname) + { + $ignored = array( + 'cvs' , + '_darcs'); + $list = array(); + if (substr($dirname, - 1) != '/') { + $dirname .= '/'; + } + if ($handle = opendir($dirname)) { + while ($file = readdir($handle)) { + if (substr($file, 0, 1) == '.' || in_array(strtolower($file), $ignored)) + continue; + if (is_dir($dirname . $file)) { + $list[$file] = $file; + } + } + closedir($handle); + asort($list); + reset($list); + } + return $list; + } + + /** + * gets list of all files in a directory + */ + function getFileListAsArray($dirname, $prefix = '') + { + $filelist = array(); + if (substr($dirname, - 1) == '/') { + $dirname = substr($dirname, 0, - 1); + } + if (is_dir($dirname) && $handle = opendir($dirname)) { + while (false !== ($file = readdir($handle))) { + if (! preg_match('/^[\.]{1,2}$/', $file) && is_file($dirname . '/' . $file)) { + $file = $prefix . $file; + $filelist[$file] = $file; + } + } + closedir($handle); + asort($filelist); + reset($filelist); + } + return $filelist; + } + + /** + * gets list of image file names in a directory + */ + function getImgListAsArray($dirname, $prefix = '') + { + $filelist = array(); + if ($handle = opendir($dirname)) { + while (false !== ($file = readdir($handle))) { + if (preg_match('/(\.gif|\.jpg|\.png)$/i', $file)) { + $file = $prefix . $file; + $filelist[$file] = $file; + } + } + closedir($handle); + asort($filelist); + reset($filelist); + } + return $filelist; + } + + /** + * gets list of font file names in a directory + * @author TXMod Xoops <in...@tx...> + */ + function getFontListAsArray($dirname, $prefix = '') + { + $fontlist = array(); + if ($handle = opendir($dirname)) { + while (false !== ($font = readdir($handle))) { + if (preg_match('/(\.php)$/i', $font)) { + $font = $prefix . $font; + $fontlist[$font] = substr($font, 0, strpos($font, '.')); + } + } + closedir($handle); + asort($fontlist); + reset($fontlist); + } + return $fontlist; + } + + /** + * gets list of html file names in a certain directory + */ + function getHtmlListAsArray($dirname, $prefix = '') + { + $filelist = array(); + if ($handle = opendir($dirname)) { + while (false !== ($file = readdir($handle))) { + if ((preg_match('/(\.htm|\.html|\.xhtml)$/i', $file) && ! is_dir($file))) { + $file = $prefix . $file; + $filelist[$file] = $prefix . $file; + } + } + closedir($handle); + asort($filelist); + reset($filelist); + } + return $filelist; + } + + /** + * gets list of avatar file names in a certain directory + * if directory is not specified, default directory will be searched + */ + function getAvatarsList($avatar_dir = '') + { + $avatars = array(); + if ($avatar_dir != '') { + $avatars = XoopsLists::getImgListAsArray(XOOPS_ROOT_PATH . '/images/avatar/' . $avatar_dir . '/', $avatar_dir . '/'); + } else { + $avatars = XoopsLists::getImgListAsArray(XOOPS_ROOT_PATH . '/images/avatar/'); + } + return $avatars; + } + + /** + * gets list of all avatar image files inside default avatars directory + */ + function getAllAvatarsList() + { + $avatars = array(); + $dirlist = array(); + $dirlist = XoopsLists::getDirListAsArray(XOOPS_ROOT_PATH . '/images/avatar/'); + if (count($dirlist) > 0) { + foreach($dirlist as $dir) { + $avatars[$dir] = &XoopsLists::getImgListAsArray(XOOPS_ROOT_PATH . '/images/avatar/' . $dir . '/', $dir . '/'); + } + } else { + return false; + } + return $avatars; + } + + /** + * gets list of subject icon image file names in a certain directory + * if directory is not specified, default directory will be searched + */ + function getSubjectsList($sub_dir = '') + { + $subjects = array(); + if ($sub_dir != '') { + $subjects = XoopsLists::getImgListAsArray(XOOPS_ROOT_PATH . '/images/subject/' . $sub_dir, $sub_dir . '/'); + } else { + $subjects = XoopsLists::getImgListAsArray(XOOPS_ROOT_PATH . '/images/subject/'); + } + return $subjects; + } + + /** + * gets list of language folders inside default language directory + */ + function getLangList() + { + $lang_list = array(); + $lang_list = XoopsLists::getDirListAsArray(XOOPS_ROOT_PATH . '/language/'); + return $lang_list; + } + + /** + * XoopsLists::getCountryList() + * + * @return + */ + function getCountryList() + { + xoops_loadLanguage('countries'); + $country_list = array ( + "" => "-", + "AD" => _COUNTRY_AD, + "AE" => _COUNTRY_AE, + "AF" => _COUNTRY_AF, + "AG" => _COUNTRY_AG, + "AI" => _COUNTRY_AI, + "AL" => _COUNTRY_AL, + "AM" => _COUNTRY_AM, + "AN" => _COUNTRY_AN, + "AO" => _COUNTRY_AO, + "AQ" => _COUNTRY_AQ, + "AR" => _COUNTRY_AR, + "AS" => _COUNTRY_AS, + "AT" => _COUNTRY_AT, + "AU" => _COUNTRY_AU, + "AW" => _COUNTRY_AW, + "AX" => _COUNTRY_AX, + "AZ" => _COUNTRY_AZ, + "BA" => _COUNTRY_BA, + "BB" => _COUNTRY_BB, + "BD" => _COUNTRY_BD, + "BE" => _COUNTRY_BE, + "BF" => _COUNTRY_BF, + "BG" => _COUNTRY_BG, + "BH" => _COUNTRY_BH, + "BI" => _COUNTRY_BI, + "BJ" => _COUNTRY_BJ, + "BL" => _COUNTRY_BL, + "BM" => _COUNTRY_BM, + "BN" => _COUNTRY_BN, + "BO" => _COUNTRY_BO, + "BR" => _COUNTRY_BR, + "BS" => _COUNTRY_BS, + "BT" => _COUNTRY_BT, + "BV" => _COUNTRY_BV, + "BW" => _COUNTRY_BW, + "BY" => _COUNTRY_BY, + "BZ" => _COUNTRY_BZ, + "CA" => _COUNTRY_CA, + "CC" => _COUNTRY_CC, + "CD" => _COUNTRY_CD, + "CF" => _COUNTRY_CF, + "CG" => _COUNTRY_CG, + "CH" => _COUNTRY_CH, + "CI" => _COUNTRY_CI, + "CK" => _COUNTRY_CK, + "CL" => _COUNTRY_CL, + "CM" => _COUNTRY_CM, + "CN" => _COUNTRY_CN, + "CO" => _COUNTRY_CO, + "CR" => _COUNTRY_CR, + "CS" => _COUNTRY_CS, // Not listed in ISO 3166 + "CU" => _COUNTRY_CU, + "CV" => _COUNTRY_CV, + "CX" => _COUNTRY_CX, + "CY" => _COUNTRY_CY, + "CZ" => _COUNTRY_CZ, + "DE" => _COUNTRY_DE, + "DJ" => _COUNTRY_DJ, + "DK" => _COUNTRY_DK, + "DM" => _COUNTRY_DM, + "DO" => _COUNTRY_DO, + "DZ" => _COUNTRY_DZ, + "EC" => _COUNTRY_EC, + "EE" => _COUNTRY_EE, + "EG" => _COUNTRY_EG, + "EH" => _COUNTRY_EH, + "ER" => _COUNTRY_ER, + "ES" => _COUNTRY_ES, + "ET" => _COUNTRY_ET, + "FI" => _COUNTRY_FI, + "FJ" => _COUNTRY_FJ, + "FK" => _COUNTRY_FK, + "FM" => _COUNTRY_FM, + "FO" => _COUNTRY_FO, + "FR" => _COUNTRY_FR, + "FX" => _COUNTRY_FX, // Not listed in ISO 3166 + "GA" => _COUNTRY_GA, + "GB" => _COUNTRY_GB, + "GD" => _COUNTRY_GD, + "GE" => _COUNTRY_GE, + "GF" => _COUNTRY_GF, + "GG" => _COUNTRY_GG, + "GH" => _COUNTRY_GH, + "GI" => _COUNTRY_GI, + "GL" => _COUNTRY_GL, + "GM" => _COUNTRY_GM, + "GN" => _COUNTRY_GN, + "GP" => _COUNTRY_GP, + "GQ" => _COUNTRY_GQ, + "GR" => _COUNTRY_GR, + "GS" => _COUNTRY_GS, + "GT" => _COUNTRY_GT, + "GU" => _COUNTRY_GU, + "GW" => _COUNTRY_GW, + "GY" => _COUNTRY_GY, + "HK" => _COUNTRY_HK, + "HM" => _COUNTRY_HM, + "HN" => _COUNTRY_HN, + "HR" => _COUNTRY_HR, + "HT" => _COUNTRY_HT, + "HU" => _COUNTRY_HU, + "ID" => _COUNTRY_ID, + "IE" => _COUNTRY_IE, + "IL" => _COUNTRY_IL, + "IM" => _COUNTRY_IM, + "IN" => _COUNTRY_IN, + "IO" => _COUNTRY_IO, + "IQ" => _COUNTRY_IQ, + "IR" => _COUNTRY_IR, + "IS" => _COUNTRY_IS, + "IT" => _COUNTRY_IT, + "JM" => _COUNTRY_JM, + "JO" => _COUNTRY_JO, + "JP" => _COUNTRY_JP, + "KE" => _COUNTRY_KE, + "KG" => _COUNTRY_KG, + "KH" => _COUNTRY_KH, + "KI" => _COUNTRY_KI, + "KM" => _COUNTRY_KM, + "KN" => _COUNTRY_KN, + "KP" => _COUNTRY_KP, + "KR" => _COUNTRY_KR, + "KW" => _COUNTRY_KW, + "KY" => _COUNTRY_KY, + "KZ" => _COUNTRY_KZ, + "LA" => _COUNTRY_LA, + "LB" => _COUNTRY_LB, + "LC" => _COUNTRY_LC, + "LI" => _COUNTRY_LI, + "LK" => _COUNTRY_LK, + "LR" => _COUNTRY_LR, + "LS" => _COUNTRY_LS, + "LT" => _COUNTRY_LT, + "LU" => _COUNTRY_LU, + "LV" => _COUNTRY_LV, + "LY" => _COUNTRY_LY, + "MA" => _COUNTRY_MA, + "MC" => _COUNTRY_MC, + "MD" => _COUNTRY_MD, + "ME" => _COUNTRY_ME, + "MF" => _COUNTRY_MF, + "MG" => _COUNTRY_MG, + "MH" => _COUNTRY_MH, + "MK" => _COUNTRY_MK, + "ML" => _COUNTRY_ML, + "MM" => _COUNTRY_MM, + "MN" => _COUNTRY_MN, + "MO" => _COUNTRY_MO, + "MP" => _COUNTRY_MP, + "MQ" => _COUNTRY_MQ, + "MR" => _COUNTRY_MR, + "MS" => _COUNTRY_MS, + "MT" => _COUNTRY_MT, + "MU" => _COUNTRY_MU, + "MV" => _COUNTRY_MV, + "MW" => _COUNTRY_MW, + "MX" => _COUNTRY_MX, + "MY" => _COUNTRY_MY, + "MZ" => _COUNTRY_MZ, + "NA" => _COUNTRY_NA, + "NC" => _COUNTRY_NC, + "NE" => _COUNTRY_NE, + "NF" => _COUNTRY_NF, + "NG" => _COUNTRY_NG, + "NI" => _COUNTRY_NI, + "NL" => _COUNTRY_NL, + "NO" => _COUNTRY_NO, + "NP" => _COUNTRY_NP, + "NR" => _COUNTRY_NR, + "NT" => _COUNTRY_NT, // Not listed in ISO 3166 + "NU" => _COUNTRY_NU, + "NZ" => _COUNTRY_NZ, + "OM" => _COUNTRY_OM, + "PA" => _COUNTRY_PA, + "PE" => _COUNTRY_PE, + "PF" => _COUNTRY_PF, + "PG" => _COUNTRY_PG, + "PH" => _COUNTRY_PH, + "PK" => _COUNTRY_PK, + "PL" => _COUNTRY_PL, + "PM" => _COUNTRY_PM, + "PN" => _COUNTRY_PN, + "PR" => _COUNTRY_PR, + "PS" => _COUNTRY_PS, + "PT" => _COUNTRY_PT, + "PW" => _COUNTRY_PW, + "PY" => _COUNTRY_PY, + "QA" => _COUNTRY_QA, + "RE" => _COUNTRY_RE, + "RO" => _COUNTRY_RO, + "RS" => _COUNTRY_RS, + "RU" => _COUNTRY_RU, + "RW" => _COUNTRY_RW, + "SA" => _COUNTRY_SA, + "SB" => _COUNTRY_SB, + "SC" => _COUNTRY_SC, + "SD" => _COUNTRY_SD, + "SE" => _COUNTRY_SE, + "SG" => _COUNTRY_SG, + "SH" => _COUNTRY_SH, + "SI" => _COUNTRY_SI, + "SJ" => _COUNTRY_SJ, + "SK" => _COUNTRY_SK, + "SL" => _COUNTRY_SL, + "SM" => _COUNTRY_SM, + "SN" => _COUNTRY_SN, + "SO" => _COUNTRY_SO, + "SR" => _COUNTRY_SR, + "ST" => _COUNTRY_ST, + "SU" => _COUNTRY_SU, // Not listed in ISO 3166 + "SV" => _COUNTRY_SV, + "SY" => _COUNTRY_SY, + "SZ" => _COUNTRY_SZ, + "TC" => _COUNTRY_TC, + "TD" => _COUNTRY_TD, + "TF" => _COUNTRY_TF, + "TG" => _COUNTRY_TG, + "TH" => _COUNTRY_TH, + "TJ" => _COUNTRY_TJ, + "TK" => _COUNTRY_TK, + "TL" => _COUNTRY_TL, + "TM" => _COUNTRY_TM, + "TN" => _COUNTRY_TN, + "TO" => _COUNTRY_TO, + "TP" => _COUNTRY_TP, // Not listed in ISO 3166 + "TR" => _COUNTRY_TR, + "TT" => _COUNTRY_TT, + "TV" => _COUNTRY_TV, + "TW" => _COUNTRY_TW, + "TZ" => _COUNTRY_TZ, + "UA" => _COUNTRY_UA, + "UG" => _COUNTRY_UG, + "UK" => _COUNTRY_UK, // Not listed in ISO 3166 + "UM" => _COUNTRY_UM, + "US" => _COUNTRY_US, + "UY" => _COUNTRY_UY, + "UZ" => _COUNTRY_UZ, + "VA" => _COUNTRY_VA, + "VC" => _COUNTRY_VC, + "VE" => _COUNTRY_VE, + "VG" => _COUNTRY_VG, + "VI" => _COUNTRY_VI, + "VN" => _COUNTRY_VN, + "VU" => _COUNTRY_VU, + "WF" => _COUNTRY_WF, + "WS" => _COUNTRY_WS, + "YE" => _COUNTRY_YE, + "YT" => _COUNTRY_YT, + "YU" => _COUNTRY_YU, // Not listed in ISO 3166 + "ZA" => _COUNTRY_ZA, + "ZM" => _COUNTRY_ZM, + "ZR" => _COUNTRY_ZR, // Not listed in ISO 3166 + "ZW" => _COUNTRY_ZW + ); + asort($country_list); + reset($country_list); + return $country_list; + } + + /** + * XoopsLists::getHtmlList() + * + * This Function is no longer being used by the core + * + * @return + */ + function getHtmlList() + { + $html_list = array( + 'a' => '<a>', + 'abbr' => '<abbr>', + 'acronym' => '<acronym>', + 'address' => '<address>', + 'b' => '<b>', + 'bdo' => '<bdo>', + 'big' => '<big>', + 'blockquote' => '<blockquote>', + 'br' => '<br>', + 'caption' => '<caption>', + 'cite' => '<cite>', + 'code' => '<code>', + 'col' => '<col>', + 'colgroup' => '<colgroup>', + 'dd' => '<dd>', + 'del' => '<del>', + 'dfn' => '<dfn>', + 'div' => '<div>', + 'dl' => '<dl>', + 'dt' => '<dt>', + 'em' => '<em>', + 'font' => '<font>', + 'h1' => '<h1>', + 'h2' => '<h2>', + 'h3' => '<h3>', + 'h4' => '<h4>', + 'h5' => '<h5>', + 'h6' => '<h6>', + 'hr' => '<hr>', + 'i' => '<i>', + 'img' => '<img>', + 'ins' => '<ins>', + 'kbd' => '<kbd>', + 'li' => '<li>', + 'map' => '<map>', + 'object' => '<object>', + 'ol' => '<ol>', + 'p' => '<p>', + 'pre' => '<pre>', + 's' => '<s>', + 'samp' => '<samp>', + 'small' => '<small>', + 'span' => '<span>', + 'strike' => '<strike>', + 'strong' => '<strong>', + 'sub' => '<sub>', + 'sup' => '<sup>', + 'table' => '<table>', + 'tbody' => '<tbody>', + 'td' => '<td>', + 'tfoot' => '<tfoot>', + 'th' => '<th>', + 'thead' => '<thead>', + 'tr' => '<tr>', + 'tt' => '<tt>', + 'u' => '<u>', + 'ul' => '<ul>', + 'var' => '<var>'); + asort($html_list); + reset($html_list); + return $html_list; + } + + /** + * XoopsLists::getUserRankList() + * + * @return + */ + function getUserRankList() + { + $db =& XoopsDatabaseFactory::getDatabaseConnection(); + $myts =& MyTextSanitizer::getInstance(); + $sql = sprintf('SELECT rank_id, rank_title FROM ' . $db->prefix('ranks') . ' WHERE rank_special = %u', 1); + $ret = array(); + $result = $db->query($sql); + while ($myrow = $db->fetchArray($result)) { + $ret[$myrow['rank_id']] = $myts->htmlspecialchars($myrow['rank_title']); + } + return $ret; + } + } +} + +?> \ No newline at end of file Modified: XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/categories.php =================================================================== --- XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/categories.php 2012-03-16 16:24:37 UTC (rev 9146) +++ XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/categories.php 2012-03-17 11:57:26 UTC (rev 9147) @@ -71,9 +71,11 @@ $cat =& $catHandler->get($cat_arr[$i]->getVar("cat_pid")); $cat_cat = $cat->getVar("cat_pid"); + $cat_img = $cat_arr[$i]->getVar("cat_imgurl"); + $cat_img_name = substr($cat_img, 0, strpos($cat_img, '.')); echo "<td class='center'>".$cat_arr[$i]->getVar("cat_id")."</td>"; echo "<td class='center'>".$cat_arr[$i]->getVar("cat_title")."</td>"; - echo "<td class='center'><img src='".XOOPS_UPLOAD_URL."/xpdf/images/cat/".$cat_arr[$i]->getVar("cat_imgurl")."' height='10px' title='cat_imgurl' alt='cat_imgurl'></td>"; + echo "<td class='center'><img src='".XOOPS_UPLOAD_URL."/xpdf/images/cat/".$cat_img."' height='10px' title='".$cat_img_name."' alt='".$cat_img_name."'></td>"; echo "<td class='center'>".$cat_arr[$i]->getVar("cat_description")."</td>"; echo "<td class='center'>".$cat_arr[$i]->getVar("cat_weight")."</td>"; Modified: XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/documents.php =================================================================== --- XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/documents.php 2012-03-16 16:24:37 UTC (rev 9146) +++ XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/documents.php 2012-03-17 11:57:26 UTC (rev 9147) @@ -25,11 +25,8 @@ include "admin_header.php"; xoops_cp_header(); global $pathImageIcon; - -//On recupere la valeur de l argument op dans l URL$ $op = xpdf_CleanVars($_REQUEST, 'op', 'list_doc', 'string'); -$status_menu = xpdf_CleanVars($_REQUEST, 'status_display', 1, 'int'); - +$status_menu = xpdf_CleanVars($_REQUEST, 'doc_status', 1, 'int'); $docAdmin = new ModuleAdmin(); switch ($op) { @@ -44,7 +41,7 @@ } echo $docAdmin->renderButton(); $criteria = new CriteriaCompo(); - $criteria->setSort("doc_id"); + $criteria->setSort("doc_id ASC, doc_title"); $criteria->setOrder("ASC"); $numrows = $docHandler->getCount(); $doc_arr = $docHandler->getall($criteria); @@ -60,10 +57,10 @@ <th class='center'>"._SUBJECT."</th> <th class='center'>"._SUBMITTER."</th> <th class='center'>"._CREATED."</th> - <th class='center'>"._PUBLISHED."</th> - <th class='center'>"._WEIGHT."</th> + <th class='center'>"._PUBLISHED."</th> <th class='center'>"._STATUS."</th> <th class='center'>"._WAITING."</th> + <th class='center'>"._WEIGHT."</th> <th class='center'>"._ONLINE."</th> <th class='center'>"._FORMACTION."</th> </tr>"; @@ -83,8 +80,7 @@ echo "<td class='center'>".$doc_arr[$i]->getVar("doc_subject")."</td>"; echo "<td class='center'>".XoopsUser::getUnameFromId($doc_arr[$i]->getVar("doc_submitter"),"S")."</td>"; echo "<td class='center'>".formatTimeStamp($doc_arr[$i]->getVar("doc_created"),"S")."</td>"; - echo "<td class='center'>".formatTimeStamp($doc_arr[$i]->getVar("doc_published"),"S")."</td>"; - echo "<td class='center'>".$doc_arr[$i]->getVar("doc_weight")."</td>"; + echo "<td class='center'>".formatTimeStamp($doc_arr[$i]->getVar("doc_published"),"S")."</td>"; if ( $doc_arr[$i]->getVar("doc_status") == 1 ) { echo "<td class='center'><a href='./documents.php?op=delete_pdf_file&doc_id='".$doc_arr[$i]->getVar("doc_id")."&doc_status=0' title='"._AM_XPDF_DELETEPDF."'><img src=".$pathImageIcon."/green_ball.png border='0' alt='"._AM_XPDF_DELETEPDF."' /></a></td>"; @@ -97,7 +93,7 @@ } else { echo "<td class='center'><img src=".$pathImageIcon."/grey_ball.png border='0' alt='' /></td>"; } - + echo "<td class='center'>".$doc_arr[$i]->getVar("doc_weight")."</td>"; if ( $doc_arr[$i]->getVar("doc_online") == 1 ) { echo "<td class='center'><a href='./documents.php?op=update_online_doc&doc_id=".$doc_arr[$i]->getVar("doc_id")."&doc_online=0'><img src=".$pathImageIcon."/on.png border='0' alt='"._ONLINE."' title='"._ONLINE."'></a></td>"; } else { @@ -147,6 +143,8 @@ $obj->setVar("doc_image", $_REQUEST["doc_image"]); //Form doc_subject $obj->setVar("doc_subject", $_REQUEST["doc_subject"]); + //Form doc_subject + $obj->setVar("doc_font", $_REQUEST["doc_font"]); //Form doc_description $obj->setVar("doc_keywords", $_REQUEST["doc_keywords"]); //Form doc_submitter Modified: XoopsModules/xpdf/releases/1.01/modules/xpdf/class/xpdf_cat.php =================================================================== --- XoopsModules/xpdf/releases/1.01/modules/xpdf/class/xpdf_cat.php 2012-03-16 16:24:37 UTC (rev 9146) +++ XoopsModules/xpdf/releases/1.01/modules/xpdf/class/xpdf_cat.php 2012-03-17 11:57:26 UTC (rev 9147) @@ -39,10 +39,6 @@ die("XOOPS root path not defined"); } -if (!class_exists("XoopsPersistableObjectHandler")) { - include_once XOOPS_ROOT_PATH."/modules/xpdf/class/object.php"; -} - class xpdf_cat extends XoopsObject { //Constructor @@ -73,8 +69,10 @@ include_once(XOOPS_ROOT_PATH."/class/xoopsformloader.php"); $form = new XoopsThemeForm($title, "form", $action, "post", true); - $form->setExtra('enctype="multipart/form-data"'); - + $form->setExtra('enctype="multipart/form-data"'); + // Title + $form->addElement(new XoopsFormText(_TITLE, "cat_title", 50, 255, $this->getVar("cat_title")), true); + // Subcategories include_once(XOOPS_ROOT_PATH."/class/tree.php"); $catHandler =& xoops_getModuleHandler("xpdf_cat", "xpdf"); $criteria = new CriteriaCompo(); @@ -82,9 +80,8 @@ $criteria->setOrder('ASC'); $cat_arr = $catHandler->getall(); $mytree = new XoopsObjectTree($cat_arr, "cat_id", "cat_pid"); - $form->addElement(new XoopsFormLabel(_PID, $mytree->makeSelBox("cat_pid", "cat_title","--", $this->getVar("cat_pid"),true))); - $form->addElement(new XoopsFormText(_TITLE, "cat_title", 50, 255, $this->getVar("cat_title")), true); - + $form->addElement(new XoopsFormLabel(_PID, $mytree->makeSelBox("cat_pid", "cat_title","--", $this->getVar("cat_pid"),true))); + // Categories Images $cat_imgurl = $this->getVar("cat_imgurl") ? $this->getVar("cat_imgurl") : 'blank.gif'; $uploadirectory = '/uploads/xpdf/images/cat'; $imgtray = new XoopsFormElementTray(_IMAGE,'<br />'); @@ -98,11 +95,11 @@ $imgtray->addElement($imageselect, false); $imgtray->addElement( new XoopsFormLabel( '', "<br /><img src='".XOOPS_URL."/".$uploadirectory."/".$cat_imgurl."' name='image' id='image' alt='' />" ) ); $fileseltray = new XoopsFormElementTray('','<br />'); - $fileseltray->addElement(new XoopsFormFile(_FORMUPLOAD , "cat_imgurl", $GLOBALS['xoopsModuleConfig']['cat_imgurl_size']),false); + $fileseltray->addElement(new XoopsFormFile(_FORMUPLOAD , "cat_imgurl", $GLOBALS['xoopsModuleConfig']['size']), false); $fileseltray->addElement(new XoopsFormLabel(''), false); $imgtray->addElement($fileseltray); $form->addElement($imgtray); - + // Description $editor_configs=array(); $editor_configs["name"] ="cat_description"; $editor_configs["value"] = $this->getVar("cat_description", "e"); @@ -112,10 +109,9 @@ $editor_configs["height"] = "400px"; $editor_configs["editor"] = $GLOBALS['xoopsModuleConfig']["xpdf_editor"]; $form->addElement( new XoopsFormEditor(_DESCRIPTION, "cat_description", $editor_configs), false ); - - $form->addElement(new XoopsFormText(_WEIGHT, "cat_weight", 10, 25, $this->getVar("cat_weight")), true); - - //permissions + // Weight + $form->addElement(new XoopsFormText(_WEIGHT, "cat_weight", 10, 25, $this->getVar("cat_weight")), true); + //Permissions $member_handler = & xoops_gethandler('member'); $group_list = &$member_handler->getGroupList(); $gperm_handler = &xoops_gethandler('groupperm'); @@ -126,26 +122,26 @@ $groups_ids_submit = $gperm_handler->getGroupIds('xpdf_submit', $this->getVar('cat_id'), $xoopsModule->getVar('mid')); $groups_ids_download = $gperm_handler->getGroupIds('xpdf_download', $this->getVar('cat_id'), $xoopsModule->getVar('mid')); $groups_ids_view = array_values($groups_ids_view); - $groups_doc_can_view_checkbox = new XoopsFormCheckBox(_AM_XPDF_PERM_VIEW_DSC, 'groups_view[]', $groups_ids_view); + $groups_candoc_view_checkbox = new XoopsFormCheckBox(_AM_XPDF_PERM_VIEW_DSC, 'groups_view[]', $groups_ids_view); $groups_ids_submit = array_values($groups_ids_submit); - $groups_doc_can_submit_checkbox = new XoopsFormCheckBox(_AM_XPDF_PERM_SUBMIT_DSC, 'groups_submit[]', $groups_ids_submit); + $groups_candoc_submit_checkbox = new XoopsFormCheckBox(_AM_XPDF_PERM_SUBMIT_DSC, 'groups_submit[]', $groups_ids_submit); $groups_ids_download = array_values($groups_ids_download); - $groups_doc_can_download_checkbox = new XoopsFormCheckBox(_AM_XPDF_PERM_DOWNLOAD_DSC, 'groups_download[]', $groups_ids_download); + $groups_candoc_download_checkbox = new XoopsFormCheckBox(_AM_XPDF_PERM_DOWNLOAD_DSC, 'groups_download[]', $groups_ids_download); } else { - $groups_doc_can_view_checkbox = new XoopsFormCheckBox(_AM_XPDF_PERM_VIEW_DSC, 'groups_view[]', $full_list); - $groups_doc_can_submit_checkbox = new XoopsFormCheckBox(_AM_XPDF_PERM_SUBMIT_DSC, 'groups_submit[]', $full_list); - $groups_doc_can_download_checkbox = new XoopsFormCheckBox(_AM_XPDF_PERM_DOWNLOAD_DSC, 'groups_download[]', $full_list); + $groups_candoc_view_checkbox = new XoopsFormCheckBox(_AM_XPDF_PERM_VIEW_DSC, 'groups_view[]', $full_list); + $groups_candoc_submit_checkbox = new XoopsFormCheckBox(_AM_XPDF_PERM_SUBMIT_DSC, 'groups_submit[]', $full_list); + $groups_candoc_download_checkbox = new XoopsFormCheckBox(_AM_XPDF_PERM_DOWNLOAD_DSC, 'groups_download[]', $full_list); } // For view - $groups_doc_can_view_checkbox->addOptionArray($group_list); - $form->addElement($groups_doc_can_view_checkbox); + $groups_candoc_view_checkbox->addOptionArray($group_list); + $form->addElement($groups_candoc_view_checkbox); // For submit - $groups_doc_can_submit_checkbox->addOptionArray($group_list); - $form->addElement($groups_doc_can_submit_checkbox); + $groups_candoc_submit_checkbox->addOptionArray($group_list); + $form->addElement($groups_candoc_submit_checkbox); // For download - if ($GLOBALS['xoopsModuleConfig']['permission_download'] == 1) { - $groups_doc_can_download_checkbox->addOptionArray($group_list); - $form->addElement($groups_doc_can_download_checkbox); + if ($GLOBALS['xoopsModuleConfig']['permission_view'] == 1) { + $groups_candoc_view_checkbox->addOptionArray($group_list); + $form->addElement($groups_candoc_view_checkbox); } // For "cid" if you modify a category Modified: XoopsModules/xpdf/releases/1.01/modules/xpdf/class/xpdf_doc.php =================================================================== --- XoopsModules/xpdf/releases/1.01/modules/xpdf/class/xpdf_doc.php 2012-03-16 16:24:37 UTC (rev 9146) +++ XoopsModules/xpdf/releases/1.01/modules/xpdf/class/xpdf_doc.php 2012-03-17 11:57:26 UTC (rev 9147) @@ -37,8 +37,9 @@ $this->initVar("doc_filename", XOBJ_DTYPE_TXTBOX, null, false, 50); $this->initVar("doc_title", XOBJ_DTYPE_TXTBOX, null, false, 255); $this->initVar("doc_description", XOBJ_DTYPE_TXTAREA, null, false); - $this->initVar("doc_image", XOBJ_DTYPE_TXTBOX, null, false, 30); + $this->initVar("doc_image", XOBJ_DTYPE_TXTBOX, null, false, 50); $this->initVar("doc_subject", XOBJ_DTYPE_TXTBOX, null, false, 100); + $this->initVar("doc_font", XOBJ_DTYPE_TXTBOX, null, false, 50); $this->initVar("doc_keywords", XOBJ_DTYPE_TXTBOX, null, false, 255); $this->initVar("doc_submitter", XOBJ_DTYPE_INT, null, false, 10); $this->initVar("doc_created", XOBJ_DTYPE_INT, null, false, 10); @@ -95,8 +96,16 @@ $cat_arr = $catHandler->getall(); $mytree = new XoopsObjectTree($cat_arr, "cat_id", "cat_pid"); $form->addElement(new XoopsFormLabel(_CATEGORY, $mytree->makeSelBox("cat_pid", "cat_title","--", $this->getVar("cat_pid"),false))); - // + // Subject $form->addElement(new XoopsFormText(_SUBJECT, "doc_subject", 50, 100, $this->getVar("doc_subject")), true); + // Font + $docs_font = $this->getVar('doc_font') ? $this->getVar('doc_font') : 'helvetica'; + $fontselect = new XoopsFormSelect(_FONT, 'doc_font', $docs_font); + $fonts_array = XoopsLists::getFontList(); + foreach( $fonts_array as $font ) { + $fontselect->addOption("{$font}", $font); + } + $form->addElement($fontselect); // Name description $editor_configs=array(); $editor_configs["name"] ="doc_description"; @@ -108,7 +117,7 @@ $editor_configs["editor"] = $GLOBALS['xoopsModuleConfig']['xpdf_editor']; $form->addElement( new XoopsFormEditor(_DESCRIPTION, "doc_description", $editor_configs), true); // - $form->addElement(new XoopsFormText(_IMAGE, "doc_image", 50, 255, $this->getVar("doc_image")), true); + //$form->addElement(new XoopsFormText(_IMAGE, "doc_image", 50, 255, $this->getVar("doc_image")), true); //image if ( $GLOBALS['xoopsModuleConfig']['useshots']){ $uploaddir = XOOPS_ROOT_PATH . '/uploads/xpdf/images/doc/' .$this->getVar('doc_image'); @@ -122,14 +131,14 @@ $imageselect= new XoopsFormSelect($imgpath, 'doc_img',$docs_img); $topics_array = XoopsLists::getImgListAsArray( XOOPS_ROOT_PATH . $uploadirectory ); foreach( $topics_array as $image ) { - $imageselect->addOption("$image", $image); + $imageselect->addOption("{$image}", $image); } $imageselect->setExtra( "onchange='showImgSelected(\"image3\", \"doc_img\", \"" . $uploadirectory . "\", \"\", \"" . XOOPS_URL . "\")'" ); $imgtray->addElement($imageselect,false); $imgtray->addElement( new XoopsFormLabel( '', "<br /><img src='" . XOOPS_URL . "/" . $uploadirectory . "/" . $docs_img . "' name='image3' id='image3' alt='' />" ) ); $fileseltray= new XoopsFormElementTray('','<br />'); if ($perm_upload == true) { - $fileseltray->addElement(new XoopsFormFile(_AM_XPDF_FORMUPLOAD , 'attachedimage', $GLOBALS['xoopsModuleConfig']['maxuploadsize']), false); + $fileseltray->addElement(new XoopsFormFile(_AM_XPDF_FORMUPLOAD , 'attachedimage', $GLOBALS['xoopsModuleConfig']['size']), false); } $imgtray->addElement($fileseltray); $form->addElement($imgtray); Added: XoopsModules/xpdf/releases/1.01/modules/xpdf/include/update.php =================================================================== --- XoopsModules/xpdf/releases/1.01/modules/xpdf/include/update.php (rev 0) +++ XoopsModules/xpdf/releases/1.01/modules/xpdf/include/update.php 2012-03-17 11:57:26 UTC (rev 9147) @@ -0,0 +1,29 @@ +<?php +/** + * **************************************************************************** + * - A project for the Xoops CMS - (http://www.xoops.org) + * **************************************************************************** + * XPDF - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * 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 TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package xpdf + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sun 2012/02/05 1:04:25 : Timgno Exp $ + * **************************************************************************** + */ +function xoops_module_update_xpdf() +{ + return true; +} +?> \ No newline at end of file Modified: XoopsModules/xpdf/releases/1.01/modules/xpdf/language/english/modinfo.php =================================================================== --- XoopsModules/xpdf/releases/1.01/modules/xpdf/language/english/modinfo.php 2012-03-16 16:24:37 UTC (rev 9146) +++ XoopsModules/xpdf/releases/1.01/modules/xpdf/language/english/modinfo.php 2012-03-17 11:57:26 UTC (rev 9147) @@ -23,7 +23,7 @@ * **************************************************************************** */ // Admin -define("_MI_XPDF_NAME","Xpdf"); +define("_MI_XPDF_NAME","xPdf"); define("_MI_XPDF_DESC","This module create a pdf documents"); //Menu @@ -42,22 +42,53 @@ define("_MI_XPDF_DOC_BLOCK_RANDOM","Documents random"); //Config +define("_MI_XPDF_BREAK_GENERAL","<b class='red'>General<b/>"); define("_MI_XPDF_EDITOR","Editor"); define("_MI_XPDF_KEYWORDS","Keywords"); -define("_MI_XPDF_KEYWORDS_DESC","Insert here the keywords (separate by comma)"); +define("_MI_XPDF_KEYWORDS_DESC","Insert here the general keywords (separate by comma) for index page"); define("_MI_XPDF_SIZE","Mime size"); +define("_MI_XPDF_SIZE_DESC","Mime size for images"); define("_MI_XPDF_MIMETYPES","Mime Types"); -define("_MI_XPDF_CAT_IMGURL_SIZE","Mime size cat_imgurl"); -define("_MI_XPDF_CAT_IMGURL_MIMETYPES","Mime Types cat_imgurl"); - -define("_MI_XPDF_IDPAYPAL", "Paypal ID"); -define("_MI_XPDF_IDPAYPAL_DESC", "Insert here your id paypal for donactions."); +define("_MI_XPDF_MIMETYPES_DESC","Mime Types for images"); +define("_MI_XPDF_SHOTWIDTH", "Logo width"); +define("_MI_XPDF_SHOTWIDTH_DESC", "Larghezza massima per l'immagine del documento"); +define("_MI_XPDF_USESHOTS", "Use logo ?"); +define("_MI_XPDF_USESHOTS_DESC", "Selezionare 'Si' per visualizzare il logo"); +define("_MI_XPDF_BREAK_ADMIN", "<b class='red'>Administration<b/>"); +define("_MI_XPDF_ADMINPERPAGE", "Items per page administration"); +define("_MI_XPDF_ADMINPERPAGE_DESC", "Number of items per page in the administration"); +define("_MI_XPDF_BREAK_DOCS", "<b class='red'>Documents<b/>"); +define("_MI_XPDF_PERMISSIONVIEW","Type of permission"); +define("_MI_XPDF_PERMISSIONVIEW_DESC","Select the type of permission for 'View Permission'"); +define("_MI_XPDF_NBCOLCAT","Columns of categories"); +define("_MI_XPDF_NBCOLCAT_DESC","This option allows you to choose the number of columns of categories"); +define("_MI_XPDF_PERMISSIONVIEW1","Permission by category"); +define("_MI_XPDF_PERMISSIONVIEW2","Permission by document"); +define("_MI_XPDF_BREAK_USER","<b class='red'>User<b/>"); +define("_MI_XPDF_USERPERPAGE", "Items per page"); +define("_MI_XPDF_USERPERPAGE_DESC", "Number of items user per page"); +define("_MI_XPDF_NBCOLDOC","Columns of documents"); +define("_MI_XPDF_NBCOLDOC_DESC","This option allows you to choose the number of columns of documents"); +define("_MI_XPDF_USETELLAFRIEND", "Use Tellafriend module with the link tell a friend?"); +define("_MI_XPDF_USETELLAFRIEND_DESC", "You have to install Tellafriend module in order to use this option"); +define("_MI_XPDF_USETAG", "Use TAG module to generate tags"); +define("_MI_XPDF_USETAG_DESC", "You have to install TAG module in order to use this option"); +define("_MI_XPDF_BREAK_ADVERTISE","<b class='red'>Payments</b>"); +define("_MI_XPDF_PAYPALID", "Paypal ID"); +define("_MI_XPDF_PAYPALID_DESC", "Insert here your id paypal for donactions."); +define("_MI_XPDF_PAYPALIMG", "Paypal Image"); +define("_MI_XPDF_PAYPALIMG_DESC", "Insert here your image paypal for donactions."); +define("_MI_XPDF_PAYMENTSID", "Payments ID"); +define("_MI_XPDF_PAYMENTSID_DESC", "Insert here your id paypal for Payments."); +define("_MI_XPDF_PAYMENTSIMG", "Payments Image"); +define("_MI_XPDF_PAYMENTSIMG_DESC", "Insert here your image paypal for Payments."); define("_MI_XPDF_ADVERTISE","Code of advertise"); -define("_MI_XPDF_ADVERTISE_DESC","Insert here the code of advertisement"); -define("_MI_XPDF_ACTSOCIALNETWORKS","View Socialnetworks?"); -define("_MI_XPDF_CTSOCIALNETWORKS_DESC","If you want to see the buttons of socialnetworks, click on Yes"); -define("_MI_XPDF_SOCIALNETWORKS","Code of socialnetworks"); -define("_MI_XPDF_SOCIALNETWORKS_DESC","Ensert here the code of socialnetworks"); +define("_MI_XPDF_ADVERTISE_DESC","Insert here the code of advertisement (For example Google AdSense)"); +define("_MI_XPDF_BREAK_SOCIAL","<b class='red'>Social Networks</b>"); +define("_MI_XPDF_SHOWSOCIAL","View Social Networks?"); +define("_MI_XPDF_SHOWSOCIAL_DESC","If you want to see the buttons of social networks, click on Yes"); +define("_MI_XPDF_CODESOCIAL","Code of social networks"); +define("_MI_XPDF_CODESOCIAL_DESC","Insert here the code of social networks"); // Notifications define("_MI_XPDF_GLOBAL_NOTIFY", "Global"); Modified: XoopsModules/xpdf/releases/1.01/modules/xpdf/language/italian/modinfo.php =================================================================== --- XoopsModules/xpdf/releases/1.01/modules/xpdf/language/italian/modinfo.php 2012-03-16 16:24:37 UTC (rev 9146) +++ XoopsModules/xpdf/releases/1.01/modules/xpdf/language/italian/modinfo.php 2012-03-17 11:57:26 UTC (rev 9147) @@ -23,7 +23,7 @@ * **************************************************************************** */ // Admin -define("_MI_XPDF_NAME","Xpdf"); +define("_MI_XPDF_NAME","xPdf"); define("_MI_XPDF_DESC","This module create a pdf documents"); //Menu @@ -42,22 +42,53 @@ define("_MI_XPDF_DOC_BLOCK_RANDOM","Documents random"); //Config +define("_MI_XPDF_BREAK_GENERAL","<b>Generale<b/>"); define("_MI_XPDF_EDITOR","Editor"); define("_MI_XPDF_KEYWORDS","Keywords"); -define("_MI_XPDF_KEYWORDS_DESC","Insert here the keywords (separate by comma)"); +define("_MI_XPDF_KEYWORDS_DESC","Insert here the general keywords (separate by comma) for index page"); define("_MI_XPDF_SIZE","Mime size"); +define("_MI_XPDF_SIZE_DESC","Mime size for images"); define("_MI_XPDF_MIMETYPES","Mime Types"); -define("_MI_XPDF_CAT_IMGURL_SIZE","Mime size cat_imgurl"); -define("_MI_XPDF_CAT_IMGURL_MIMETYPES","Mime Types cat_imgurl"); - -define("_MI_XPDF_IDPAYPAL", "Paypal ID"); -define("_MI_XPDF_IDPAYPAL_DESC", "Insert here your id paypal for donactions."); +define("_MI_XPDF_MIMETYPES_DESC","Mime Types for images"); +define("_MI_XPDF_SHOTWIDTH", "Larghezza Logo"); +define("_MI_XPDF_SHOTWIDTH_DESC", "Larghezza massima per l'immagine del documento"); +define("_MI_XPDF_USESHOTS", "Usare il logo?"); +define("_MI_XPDF_USESHOTS_DESC", "Selezionare 'Si' per visualizzare il logo"); +define("_MI_XPDF_BREAK_ADMIN", "<b class='red'>Administration<b/>"); +define("_MI_XPDF_ADMINPERPAGE", "Admin per page"); +define("_MI_XPDF_ADMINPERPAGE_DESC", "Number of items per page in the administration"); +define("_MI_XPDF_BREAK_DOCS", "<b class='red'>Documents<b/>"); +define("_MI_XPDF_PERMISSIONVIEW","Type of permission"); +define("_MI_XPDF_PERMISSIONVIEW_DESC","Select the type of permission for 'View Permission'"); +define("_MI_XPDF_PERMISSIONVIEW1","Permission by category"); +define("_MI_XPDF_PERMISSIONVIEW2","Permission by document"); +define("_MI_XPDF_NBCOLCAT","Columns of categories"); +define("_MI_XPDF_NBCOLCAT_DESC","This option allows you to choose the number of columns of categories"); +define("_MI_XPDF_BREAK_USER","<b>Utente<b/>"); +define("_MI_XPDF_USERPERPAGE", "User per page"); +define("_MI_XPDF_USERPERPAGE_DESC", "Number of items user per page"); +define("_MI_XPDF_NBCOLDOC","Columns of documents"); +define("_MI_XPDF_NBCOLDOC_DESC","This option allows you to choose the number of columns of documents"); +define("_MI_XPDF_USETELLAFRIEND", "Use Tellafriend?"); +define("_MI_XPDF_USETELLAFRIEND_DESC", "You have to install Tellafriend module in order to use this option"); +define("_MI_XPDF_USETAG", "Use TAG?"); +define("_MI_XPDF_USETAG_DESC", "You have to install TAG module in order to use this option"); +define("_MI_XPDF_BREAK_ADVERTISE","<b>Pagamenti</b>"); +define("_MI_XPDF_PAYPALID", "Paypal ID"); +define("_MI_XPDF_PAYPALID_DESC", "Insert here your id paypal for donactions."); +define("_MI_XPDF_PAYPALIMG", "Paypal Image"); +define("_MI_XPDF_PAYPALIMG_DESC", "Insert here your image paypal for donactions."); +define("_MI_XPDF_PAYMENTSID", "Payments ID"); +define("_MI_XPDF_PAYMENTSID_DESC", "Insert here your id paypal for Payments."); +define("_MI_XPDF_PAYMENTSIMG", "Payments Image"); +define("_MI_XPDF_PAYMENTSIMG_DESC", "Insert here your image paypal for Payments."); define("_MI_XPDF_ADVERTISE","Code of advertise"); -define("_MI_XPDF_ADVERTISE_DESC","Insert here the code of advertisement"); -define("_MI_XPDF_ACTSOCIALNETWORKS","View Socialnetworks?"); -define("_MI_XPDF_CTSOCIALNETWORKS_DESC","If you want to see the buttons of socialnetworks, click on Yes"); -define("_MI_XPDF_SOCIALNETWORKS","Code of socialnetworks"); -define("_MI_XPDF_SOCIALNETWORKS_DESC","Ensert here the code of socialnetworks"); +define("_MI_XPDF_ADVERTISE_DESC","Insert here the code of advertisement (For example Google AdSense)"); +define("_MI_XPDF_BREAK_SOCIAL","<b>Social Network</b>"); +define("_MI_XPDF_SHOWSOCIAL","View Social Networks?"); +define("_MI_XPDF_SHOWSOCIAL_DESC","If you want to see the buttons of social networks, click on Yes"); +define("_MI_XPDF_CODESOCIAL","Code of social networks"); +define("_MI_XPDF_CODESOCIAL_DESC","Insert here the code of social networks"); // Notifications define("_MI_XPDF_GLOBAL_NOTIFY", "Global"); Property changes on: XoopsModules/xpdf/releases/1.01/modules/xpdf/sql ___________________________________________________________________ Added: svn:ignore + mysql101.sql Modified: XoopsModules/xpdf/releases/1.01/modules/xpdf/sql/mysql.sql =================================================================== --- XoopsModules/xpdf/releases/1.01/modules/xpdf/sql/mysql.sql 2012-03-16 16:24:37 UTC (rev 9146) +++ XoopsModules/xpdf/releases/1.01/modules/xpdf/sql/mysql.sql 2012-03-17 11:57:26 UTC (rev 9147) @@ -43,6 +43,7 @@ `doc_image` varchar (30) NOT NULL default '', `doc_subject` varchar (255) NOT NULL default '', `doc_keywords` varchar (255) NOT NULL default '', +`doc_font` int (10) NOT NULL default '0', `doc_submitter` int (10) NOT NULL default '0', `doc_created` int (10) NOT NULL default '0', `doc_published` int (10) NOT NULL default '0', Modified: XoopsModules/xpdf/releases/1.01/modules/xpdf/xoops_version.php =================================================================== --- XoopsModules/xpdf/releases/1.01/modules/xpdf/xoops_version.php 2012-03-16 16:24:37 UTC (rev 9146) +++ XoopsModules/xpdf/releases/1.01/modules/xpdf/xoops_version.php 2012-03-17 11:57:26 UTC (rev 9147) @@ -1,4 +1,4 @@ -<?php +<?php /** * **************************************************************************** * - A project for the Xoops CMS - (http://www.xoops.org) @@ -22,173 +22,279 @@ * Version : 1.01 Sun 2012/02/05 1:04:25 : Timgno Exp $ * **************************************************************************** */ -if (!defined('XOOPS_ROOT_PATH')){ exit(); } +if(!defined('XOOPS_ROOT_PATH')){exit();} +$dirname=basename(dirname(__FILE__)); -$dirname = basename( dirname( __FILE__ ) ); - $modversion['name'] = _MI_XPDF_NAME; $modversion['version'] = 1.01; $modversion['description'] = _MI_XPDF_DESC; -$modversion['author'] = "TXMod Xoops"; +$modversion['author'] = "TXModXoops"; $modversion['author_mail'] = "in...@tx..."; $modversion['author_website_url'] = "http://www.txmodxoops.org"; -$modversion['author_website_name'] = "TXMod Xoops"; +$modversion['author_website_name'] = "TXModXoops"; $modversion['credits'] = "Timgno"; -$modversion['license'] = "Only for personal use"; +$modversion['license'] = "Onlyforpersonaluse"; $modversion['help'] = "page=help"; $modversion['license_url'] = "http://www.txmodxoops.org"; $modversion['release_info'] = "Alpha 3 16/03/2012"; -$modversion['release_file'] = XOOPS_URL."/modules/".$dirname."/docs/changelog.txt"; +$modversion['release_file'] = XOOPS_URL."/modules/{$dirname}/docs/changelog.txt"; $modversion['release_date'] = "2012/03/01"; -$modversion['manual'] = "Install Manual"; -$modversion['manual_file'] = XOOPS_URL."/modules/".$dirname."/docs/install.txt"; +$modversion['manual'] = "InstallManual"; +$modversion['manual_file'] = XOOPS_URL."/modules/{$dirname}/docs/install.txt"; $modversion['min_php'] = "5.2"; $modversion['min_xoops'] = "2.5"; -$modversion['min_admin']= "1.1"; -$modversion['min_db']= array('mysql'=>'5.0.7', 'mysqli'=>'5.0.7'); -$modversion['image'] = "images/xpdf_slogo.png"; -$modversion['dirname'] = "$dirname"; +$modversion['min_admin'] = "1.1"; +$modversion['min_db'] = array('mysql'=>'5.0.7','mysqli'=>'5.0.7'); +$modversion['image'] = "images/{$dirname}_slogo.png"; +$modversion['dirname'] = "{$dirname}"; -$modversion['dirmoduleadmin'] = 'Frameworks/moduleclasses'; -$modversion['icons16'] = 'Frameworks/moduleclasses/icons/16'; -$modversion['icons32'] = 'Frameworks/moduleclasses/icons/32'; +$modversion['dirmoduleadmin'] = "Frameworks/moduleclasses"; +$modversion['icons16'] = "Frameworks/moduleclasses/icons/16"; +$modversion['icons32'] = "Frameworks/moduleclasses/icons/32"; //About $modversion['demo_site_url'] = "http://www.txmodxoops.org/modules/xpdf"; -$modversion['demo_site_name'] = "PDF Documents TXMod Xoops"; +$modversion['demo_site_name'] = "PDFDocumentsTXModXoops"; $modversion['forum_site_url'] = "http://www.txmodxoops.org/modules/newbb/"; -$modversion['forum_site_name'] = "TXMod Xoops Community"; +$modversion['forum_site_name'] = "TXModXoopsCommunity"; $modversion['module_website_url'] = "http://www.txmodxoops.org/"; -$modversion['module_website_name'] = "TXMod Xoops"; +$modversion['module_website_name'] = "TXModXoops"; $modversion['release'] = "16-03-2012"; $modversion['module_status'] = "Alpha 3"; -// Admin things +//Adminthings $modversion['hasAdmin'] = 1; -// Admin system menu +//Adminsystemmenu $modversion['system_menu'] = 1; -$modversion["adminindex"] = "admin/index.php"; -$modversion["adminmenu"] = "admin/menu.php"; +$modversion['adminindex'] = "admin/index.php"; +$modversion['adminmenu'] = "admin/menu.php"; -// Mysql file +//Mysqlfile $modversion['sqlfile']['mysql'] = "sql/mysql.sql"; -// Tables +//Tables $modversion['tables'][1] = "xpdf_cat"; $modversion['tables'][2] = "xpdf_doc"; -// Scripts to run upon installation or update -$modversion["onInstall"] = "include/install.php"; -//$modversion["onUpdate"] = "include/update.php"; +//Scripts to run up on installation or update +$modversion['onInstall'] = "include/install.php"; +//$modversion['onUpdate'] = "include/update.php"; -// Menu -$modversion["hasMain"] = 1; +//Menu +$modversion['hasMain'] = 1; //Search -$modversion["hasSearch"] = 1; -$modversion["search"]["file"] = "include/search.inc.php"; -$modversion["search"]["func"] = "xpdf_search"; +$modversion['hasSearch'] = 1; +$modversion['search']['file'] = "include/search.inc.php"; +$modversion['search']['func'] = "xpdf_search"; -// Templates -$i = 1; -$modversion["templates"][$i]["file"] = "xpdf_header.html"; -$modversion["templates"][$i]["description"] = "xpdf header page"; +//Templates +$i=1; +$modversion['templates'][$i]['file'] = "xpdf_header.html"; +$modversion['templates'][$i]['description'] = "xpdfheaderpage"; $i++; -$modversion["templates"][$i]["file"] = "xpdf_index.html"; -$modversion["templates"][$i]["description"] = "xpdf index page"; +$modversion['templates'][$i]['file'] = "xpdf_index.html"; +$modversion['templates'][$i]['description'] = "xpdfindexpage"; $i++; -$modversion["templates"][$i]["file"] = "xpdf_viewcat.html"; -$modversion["templates"][$i]["description"] = "xpdf cat page"; +$modversion['templates'][$i]['file'] = "xpdf_viewcat.html"; +$modversion['templates'][$i]['description'] = "xpdfcatpage"; $i++; -$modversion["templates"][$i]["file"] = "xpdf_singledoc.html"; -$modversion["templates"][$i]["description"] = "xpdf doc page"; +$modversion['templates'][$i]['file'] = "xpdf_singledoc.html"; +$modversion['templates'][$i]['description'] = "xpdfdocpage"; $i++; -$modversion["templates"][$i]["file"] = "xpdf_submit.html"; -$modversion["templates"][$i]["description"] = "xpdf submit page"; +$modversion['templates'][$i]['file'] = "xpdf_submit.html"; +$modversion['templates'][$i]['description'] = "xpdfsubmitpage"; $i++; -$modversion["templates"][$i]["file"] = "xpdf_footer.html"; -$modversion["templates"][$i]["description"] = "xpdf footer page"; -unset( $i ); +$modversion['templates'][$i]['file'] = "xpdf_footer.html"; +$modversion['templates'][$i]['description'] = "xpdffooterpage"; +unset($i); //Blocs -$i = 1; -$modversion["blocks"][$i]["file"] = "blocks_doc.php"; -$modversion["blocks"][$i]["name"] = _MI_XPDF_DOC_BLOCK_RECENT; -$modversion["blocks"][$i]["description"] = ""; -$modversion["blocks"][$i]["show_func"] = "b_xpdf_doc"; -$modversion["blocks"][$i]["edit_func"] = "b_xpdf_doc_edit"; -$modversion["blocks"][$i]["options"] = "recent|5|25|0"; -$modversion["blocks"][$i]["template"] = "xpdf_doc_block_recent.html"; +$i=1; +$modversion['blocks'][$i]['file'] = "blocks_doc.php"; +$modversion['blocks'][$i]['name'] = _MI_XPDF_DOC_BLOCK_RECENT; +$modversion['blocks'][$i]['description'] = ""; +$modversion['blocks'][$i]['show_func'] = "b_xpdf_doc"; +$modversion['blocks'][$i]['edit_func'] = "b_xpdf_doc_edit"; +$modversion['blocks'][$i]['options'] = "recent|5|25|0"; +$modversion['blocks'][$i]['template'] = "xpdf_doc_block_recent.html"; $i++; -$modversion["blocks"][$i]["file"] = "blocks_doc.php"; -$modversion["blocks"][$i]["name"] = _MI_XPDF_DOC_BLOCK_DAY; -$modversion["blocks"][$i]["description"] = ""; -$modversion["blocks"][$i]["show_func"] = "b_xpdf_doc"; -$modversion["blocks"][$i]["edit_func"] = "b_xpdf_doc_edit"; -$modversion["blocks"][$i]["options"] = "day|5|25|0"; -$modversion["blocks"][$i]["template"] = "xpdf_doc_block_day.html"; +$modversion['blocks'][$i]['file'] = "blocks_doc.php"; +$modversion['blocks'][$i]['name'] = _MI_XPDF_DOC_BLOCK_DAY; +$modversion['blocks'][$i]['description'] = ""; +$modversion['blocks'][$i]['show_func'] = "b_xpdf_doc"; +$modversion['blocks'][$i]['edit_func'] = "b_xpdf_doc_edit"; +$modversion['blocks'][$i]['options'] = "day|5|25|0"; +$modversion['blocks'][$i]['template'] = "xpdf_doc_block_day.html"; $i++; -$modversion["blocks"][$i]["file"] = "blocks_doc.php"; -$modversion["blocks"][$i]["name"] = _MI_XPDF_DOC_BLOCK_RANDOM; -$modversion["blocks"][$i]["description"] = ""; -$modversion["blocks"][$i]["show_func"] = "b_xpdf_doc"; -$modversion["blocks"][$i]["edit_func"] = "b_xpdf_doc_edit"; -$modversion["blocks"][$i]["options"] = "random|5|25|0"; -$modversion["blocks"][$i]["template"] = "xpdf_doc_block_random.html"; -unset( $i ); +$modversion['blocks'][$i]['file'] = "blocks_doc.php"; +$modversion['blocks'][$i]['name'] = _MI_XPDF_DOC_BLOCK_RANDOM; +$modversion['blocks'][$i]['description'] = ""; +$modversion['blocks'][$i]['show_func'] = "b_xpdf_doc"; +$modversion['blocks'][$i]['edit_func'] = "b_xpdf_doc_edit"; +$modversion['blocks'][$i]['options'] = "random|5|25|0"; +$modversion['blocks'][$i]['template'] = "xpdf_doc_block_random.html"; +unset($i); -// Config -$i = 1; -include_once XOOPS_ROOT_PATH . "/class/xoopslists.php"; -$modversion["config"][$i]["name"] = "xpdf_editor"; -$modversion["config"][$i]["title"] = "_MI_XPDF_EDITOR"; -$modversion["config"][$i]["description"] = "_MI_XPDF_EDITOR_DESC"; -$modversion["config"][$i]["formtype"] = "select"; -$modversion["config"][$i]["valuetype"] = "text"; -$modversion["config"][$i]["default"] = "dhtmltextarea"; -$modversion["config"][$i]["options"] = XoopsLists::getDirListAsArray(XOOPS_ROOT_PATH . "/class/xoopseditor"); -$modversion... [truncated message content] |
From: <txm...@us...> - 2012-03-16 16:24:48
|
Revision: 9146 http://xoops.svn.sourceforge.net/xoops/?rev=9146&view=rev Author: txmodxoops Date: 2012-03-16 16:24:37 +0000 (Fri, 16 Mar 2012) Log Message: ----------- dashboard icon Added Paths: ----------- XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/32/dashboard.png Added: XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/32/dashboard.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/32/dashboard.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-03-16 16:13:40
|
Revision: 9145 http://xoops.svn.sourceforge.net/xoops/?rev=9145&view=rev Author: txmodxoops Date: 2012-03-16 16:13:26 +0000 (Fri, 16 Mar 2012) Log Message: ----------- Updated to alpha 3 - Added class file xpdf_viewlimit.php - Added class file xpdf_mod.php - Added class file xpdf_purchase.php - More champs and tables in mysql file - Update more code in many files - Added icons Frameworks 16/32 Added Paths: ----------- XoopsModules/xpdf/releases/1.01/ XoopsModules/xpdf/releases/1.01/Frameworks/ XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/ XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/ XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/16/ XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/16/green_ball.png XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/16/grey_ball.png XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/16/orange_ball.png XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/16/red_ball.png XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/32/ XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/32/pdf_category.png XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/32/pdf_document.png XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/32/pdf_file.png XoopsModules/xpdf/releases/1.01/language/ XoopsModules/xpdf/releases/1.01/language/english/ XoopsModules/xpdf/releases/1.01/language/english/global.php XoopsModules/xpdf/releases/1.01/language/italian/ XoopsModules/xpdf/releases/1.01/language/italian/global.php XoopsModules/xpdf/releases/1.01/modules/ XoopsModules/xpdf/releases/1.01/modules/xpdf/ XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/ XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/about.php XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/admin_footer.php XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/admin_header.php XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/categories.php XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/documents.php XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/index.html XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/index.php XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/menu.php XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/permissions.php XoopsModules/xpdf/releases/1.01/modules/xpdf/blocks/ XoopsModules/xpdf/releases/1.01/modules/xpdf/blocks/blocks_doc.php XoopsModules/xpdf/releases/1.01/modules/xpdf/blocks/index.html XoopsModules/xpdf/releases/1.01/modules/xpdf/class/ XoopsModules/xpdf/releases/1.01/modules/xpdf/class/index.html XoopsModules/xpdf/releases/1.01/modules/xpdf/class/xpdf_cat.php XoopsModules/xpdf/releases/1.01/modules/xpdf/class/xpdf_doc.php XoopsModules/xpdf/releases/1.01/modules/xpdf/class/xpdf_mod.php XoopsModules/xpdf/releases/1.01/modules/xpdf/class/xpdf_purchase.php XoopsModules/xpdf/releases/1.01/modules/xpdf/class/xpdf_viewlimit.php XoopsModules/xpdf/releases/1.01/modules/xpdf/css/ XoopsModules/xpdf/releases/1.01/modules/xpdf/css/index.html XoopsModules/xpdf/releases/1.01/modules/xpdf/css/style.css XoopsModules/xpdf/releases/1.01/modules/xpdf/docs/ XoopsModules/xpdf/releases/1.01/modules/xpdf/docs/changelog.txt XoopsModules/xpdf/releases/1.01/modules/xpdf/docs/credits.txt XoopsModules/xpdf/releases/1.01/modules/xpdf/docs/index.html XoopsModules/xpdf/releases/1.01/modules/xpdf/docs/install.txt XoopsModules/xpdf/releases/1.01/modules/xpdf/docs/lang_diff.txt XoopsModules/xpdf/releases/1.01/modules/xpdf/docs/licence.txt XoopsModules/xpdf/releases/1.01/modules/xpdf/docs/readme.txt XoopsModules/xpdf/releases/1.01/modules/xpdf/header.php XoopsModules/xpdf/releases/1.01/modules/xpdf/images/ XoopsModules/xpdf/releases/1.01/modules/xpdf/images/icons/ XoopsModules/xpdf/releases/1.01/modules/xpdf/images/icons/index.html XoopsModules/xpdf/releases/1.01/modules/xpdf/images/icons/off.png XoopsModules/xpdf/releases/1.01/modules/xpdf/images/icons/on.png XoopsModules/xpdf/releases/1.01/modules/xpdf/images/index.html XoopsModules/xpdf/releases/1.01/modules/xpdf/images/menu/ XoopsModules/xpdf/releases/1.01/modules/xpdf/images/menu/bg.png XoopsModules/xpdf/releases/1.01/modules/xpdf/images/menu/index.html XoopsModules/xpdf/releases/1.01/modules/xpdf/images/menu/left_both.png XoopsModules/xpdf/releases/1.01/modules/xpdf/images/menu/right_both.png XoopsModules/xpdf/releases/1.01/modules/xpdf/images/xpdf_slogo.png XoopsModules/xpdf/releases/1.01/modules/xpdf/include/ XoopsModules/xpdf/releases/1.01/modules/xpdf/include/configs.php XoopsModules/xpdf/releases/1.01/modules/xpdf/include/functions.php XoopsModules/xpdf/releases/1.01/modules/xpdf/include/index.html XoopsModules/xpdf/releases/1.01/modules/xpdf/include/install.php XoopsModules/xpdf/releases/1.01/modules/xpdf/include/makeimg.php XoopsModules/xpdf/releases/1.01/modules/xpdf/include/makepdf.php XoopsModules/xpdf/releases/1.01/modules/xpdf/include/notification.inc.php XoopsModules/xpdf/releases/1.01/modules/xpdf/include/search.inc.php XoopsModules/xpdf/releases/1.01/modules/xpdf/index.php XoopsModules/xpdf/releases/1.01/modules/xpdf/language/ XoopsModules/xpdf/releases/1.01/modules/xpdf/language/english/ XoopsModules/xpdf/releases/1.01/modules/xpdf/language/english/admin.php XoopsModules/xpdf/releases/1.01/modules/xpdf/language/english/blocks.php XoopsModules/xpdf/releases/1.01/modules/xpdf/language/english/help/ XoopsModules/xpdf/releases/1.01/modules/xpdf/language/english/help/help.html XoopsModules/xpdf/releases/1.01/modules/xpdf/language/english/help/index.html XoopsModules/xpdf/releases/1.01/modules/xpdf/language/english/index.html XoopsModules/xpdf/releases/1.01/modules/xpdf/language/english/main.php XoopsModules/xpdf/releases/1.01/modules/xpdf/language/english/modinfo.php XoopsModules/xpdf/releases/1.01/modules/xpdf/language/index.html XoopsModules/xpdf/releases/1.01/modules/xpdf/language/italian/ XoopsModules/xpdf/releases/1.01/modules/xpdf/language/italian/admin.php XoopsModules/xpdf/releases/1.01/modules/xpdf/language/italian/blocks.php XoopsModules/xpdf/releases/1.01/modules/xpdf/language/italian/help/ XoopsModules/xpdf/releases/1.01/modules/xpdf/language/italian/help/help.html XoopsModules/xpdf/releases/1.01/modules/xpdf/language/italian/help/index.html XoopsModules/xpdf/releases/1.01/modules/xpdf/language/italian/index.html XoopsModules/xpdf/releases/1.01/modules/xpdf/language/italian/main.php XoopsModules/xpdf/releases/1.01/modules/xpdf/language/italian/modinfo.php XoopsModules/xpdf/releases/1.01/modules/xpdf/list.tag.php XoopsModules/xpdf/releases/1.01/modules/xpdf/makepdf.php XoopsModules/xpdf/releases/1.01/modules/xpdf/print.php XoopsModules/xpdf/releases/1.01/modules/xpdf/rss.php XoopsModules/xpdf/releases/1.01/modules/xpdf/singledoc.php XoopsModules/xpdf/releases/1.01/modules/xpdf/sql/ XoopsModules/xpdf/releases/1.01/modules/xpdf/sql/index.html XoopsModules/xpdf/releases/1.01/modules/xpdf/sql/mysql.sql XoopsModules/xpdf/releases/1.01/modules/xpdf/submit.php XoopsModules/xpdf/releases/1.01/modules/xpdf/templates/ XoopsModules/xpdf/releases/1.01/modules/xpdf/templates/admin/ XoopsModules/xpdf/releases/1.01/modules/xpdf/templates/admin/index.html XoopsModules/xpdf/releases/1.01/modules/xpdf/templates/admin/xpdf_admin_about.html XoopsModules/xpdf/releases/1.01/modules/xpdf/templates/admin/xpdf_admin_help.html XoopsModules/xpdf/releases/1.01/modules/xpdf/templates/blocks/ XoopsModules/xpdf/releases/1.01/modules/xpdf/templates/blocks/index.html XoopsModules/xpdf/releases/1.01/modules/xpdf/templates/blocks/xpdf_doc_block_day.html XoopsModules/xpdf/releases/1.01/modules/xpdf/templates/blocks/xpdf_doc_block_random.html XoopsModules/xpdf/releases/1.01/modules/xpdf/templates/blocks/xpdf_doc_block_recent.html XoopsModules/xpdf/releases/1.01/modules/xpdf/templates/index.html XoopsModules/xpdf/releases/1.01/modules/xpdf/templates/xpdf_footer.html XoopsModules/xpdf/releases/1.01/modules/xpdf/templates/xpdf_header.html XoopsModules/xpdf/releases/1.01/modules/xpdf/templates/xpdf_index.html XoopsModules/xpdf/releases/1.01/modules/xpdf/templates/xpdf_singledoc.html XoopsModules/xpdf/releases/1.01/modules/xpdf/templates/xpdf_submit.html XoopsModules/xpdf/releases/1.01/modules/xpdf/templates/xpdf_viewcat.html XoopsModules/xpdf/releases/1.01/modules/xpdf/view.tag.php XoopsModules/xpdf/releases/1.01/modules/xpdf/viewcat.php XoopsModules/xpdf/releases/1.01/modules/xpdf/xoops_version.php XoopsModules/xpdf/releases/1.01/uploads/ XoopsModules/xpdf/releases/1.01/uploads/xpdf/ XoopsModules/xpdf/releases/1.01/uploads/xpdf/files/ XoopsModules/xpdf/releases/1.01/uploads/xpdf/files/index.html XoopsModules/xpdf/releases/1.01/uploads/xpdf/files/test.pdf XoopsModules/xpdf/releases/1.01/uploads/xpdf/images/ XoopsModules/xpdf/releases/1.01/uploads/xpdf/images/cat/ XoopsModules/xpdf/releases/1.01/uploads/xpdf/images/cat/blank.gif XoopsModules/xpdf/releases/1.01/uploads/xpdf/images/cat/cat_pdf01.png XoopsModules/xpdf/releases/1.01/uploads/xpdf/images/cat/index.html XoopsModules/xpdf/releases/1.01/uploads/xpdf/images/doc/ XoopsModules/xpdf/releases/1.01/uploads/xpdf/images/doc/blank.gif XoopsModules/xpdf/releases/1.01/uploads/xpdf/images/doc/doc_pdf01.png XoopsModules/xpdf/releases/1.01/uploads/xpdf/images/doc/doc_pdf02.png XoopsModules/xpdf/releases/1.01/uploads/xpdf/images/doc/index.html XoopsModules/xpdf/releases/1.01/uploads/xpdf/images/index.html XoopsModules/xpdf/releases/1.01/uploads/xpdf/index.html Added: XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/16/green_ball.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/16/green_ball.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/16/grey_ball.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/16/grey_ball.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/16/orange_ball.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/16/orange_ball.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/16/red_ball.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/16/red_ball.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/32/pdf_category.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/32/pdf_category.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/32/pdf_document.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/32/pdf_document.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/32/pdf_file.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xpdf/releases/1.01/Frameworks/moduleclasses/icons/32/pdf_file.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xpdf/releases/1.01/language/english/global.php =================================================================== --- XoopsModules/xpdf/releases/1.01/language/english/global.php (rev 0) +++ XoopsModules/xpdf/releases/1.01/language/english/global.php 2012-03-16 16:13:26 UTC (rev 9145) @@ -0,0 +1,239 @@ +<?php +// $Id: global.php 8066 2011-11-06 05:09:33Z beckmi $ +// _LANGCODE: en +// _CHARSET : UTF-8 +// Translator: XOOPS Translation Team +define('_PLEASEWAIT', 'Please Wait'); +define('_FETCHING', 'Loading...'); +define('_TAKINGBACK', 'Taking you back to where you were....'); +define('_LOGOUT', 'Logout'); +define('_SUBJECT', 'Subject'); +define('_MESSAGEICON', 'Message Icon'); +define('_COMMENTS', 'Comments'); +define('_POSTANON', 'Post Anonymously'); +define('_DISABLESMILEY', 'Disable smiley'); +define('_DISABLEHTML', 'Disable html'); +define('_PREVIEW', 'Preview'); +define('_GO', 'Go!'); +define('_NESTED', 'Nested'); +define('_NOCOMMENTS', 'No Comments'); +define('_FLAT', 'Flat'); +define('_THREADED', 'Threaded'); +define('_OLDESTFIRST', 'Oldest First'); +define('_NEWESTFIRST', 'Newest First'); +define('_MORE', 'more...'); +define('_MULTIPAGE', 'To have your article span multiple pages, insert the word <font color=red>[pagebreak]</font> (with brackets) in the article.'); +define('_IFNOTRELOAD', 'If the page does not automatically reload, please click <a href=\'%s\'>here</a>'); +// Error messages issued by XoopsObject::cleanVars() +define('_XOBJ_ERR_REQUIRED', '%s is required'); +define('_XOBJ_ERR_SHORTERTHAN', '%s must be shorter than %d characters.'); +// %%%%%% File Name themeuserpost.php %%%%% +define('_PROFILE', 'Profile'); +define('_POSTEDBY', 'Posted by'); +define('_VISITWEBSITE', 'Visit Website'); +define('_SENDPMTO', 'Send Private Message to %s'); +define('_SENDEMAILTO', 'Send Email to %s'); +define('_ADD', 'Add'); +define('_REPLY', 'Reply'); +define('_DATE', 'Date'); // Posted date +// %%%%%% File Name admin_functions.php %%%%% +define('_MAIN', 'Main'); +define('_MANUAL', 'Manual'); +define('_INFO', 'Info'); +define('_CPHOME', 'Control Panel Home'); +define('_YOURHOME', 'Home Page'); +// %%%%%% File Name misc.php (who's-online popup) %%%%% +define('_WHOSONLINE', 'Who\'s Online'); +define('_GUESTS', 'Guests'); +define('_MEMBERS', 'Members'); +define('_ONLINEPHRASE', '<strong>%s</strong> user(s) are online'); +define('_ONLINEPHRASEX', '<strong>%s</strong> user(s) are browsing <strong>%s</strong>'); +define('_CLOSE', 'Close'); // Close window +// %%%%%% File Name module.textsanitizer.php %%%%% +define('_QUOTEC', 'Quote:'); +// %%%%%% File Name admin.php %%%%% +define('_NOPERM', 'Sorry, you don\'t have the permission to access this area.'); +// %%%%% Common Phrases %%%%% +define('_NO', 'No'); +define('_YES', 'Yes'); +define('_ONLINE', 'Online'); +define('_OFFLINE', 'Offline'); +define('_EDIT', 'Edit'); +define('_DELETE', 'Delete'); +define('_SUBMIT', 'Submit'); +define('_MODULENOEXIST', 'Selected module does not exist!'); +define('_ALIGN', 'Align'); +define('_LEFT', 'Left'); +define('_CENTER', 'Center'); +define('_RIGHT', 'Right'); +define('_FORM_ENTER', 'Please enter %s'); +define('_MUSTWABLE', 'File %s must be writable by the server!'); // %s represents file name +// Module info +define('_PREFERENCES', 'Preferences'); +define('_VERSION', 'Version'); +define('_DESCRIPTION', 'Description'); +define('_AUTHOR', 'Author'); +define('_CREDITS', 'Credits'); +define('_LICENCE', 'Licence'); +define('_ERRORS', 'Errors'); +define('_NONE', 'None'); +define('_ON', 'on'); +define('_READS', 'reads'); +define('_WELCOMETO', 'Welcome to %s'); +define('_SEARCH', 'Search'); +define('_ALL', 'All'); +define('_TITLE', 'Title'); +define('_OPTIONS', 'Options'); +define('_QUOTE', 'Quote'); +define('_LIST', 'List'); +define('_LOGIN', 'User Login'); +define('_USERNAME', 'Username: '); +define('_PASSWORD', 'Password: '); +define('_SELECT', 'Select'); +define('_IMAGE', 'Image'); +define('_SEND', 'Send'); +define('_CANCEL', 'Cancel'); +define('_ASCENDING', 'Ascending order'); +define('_DESCENDING', 'Descending order'); +define('_BACK', 'Back'); +define('_NOTITLE', 'No title'); +/** +* Image manager +*/ +define("_MD_ADDIMGCAT","Add Category"); +define("_MD_IMGCATNAME","Category name"); +define("_MD_IMGCATRGRP","Select groups for image manager use"); +define("_MD_IMGCATWGRP","Select groups allowed to upload images"); +define("_MD_IMGCATWEIGHT","Display order in image manager"); +define("_MD_IMGCATDISPLAY","Display"); +define("_MD_IMGCATSTRTYPE","Images are uploaded to:"); +define("_MD_STRTYOPENG","This can not be changed afterwards!"); +define("_MD_ASFILE","Store as files (in uploads directory)"); +define("_MD_INDB","Store in the database (as binary \"blob\" data)"); +define("_MD_IMGMAIN","Category"); +define("_MD_EDITIMGCAT", "Images Settings"); +define('_IMGMANAGER', 'Image Manager'); +define('_NUMIMAGES', '%s images'); +define('_ADDIMAGE', 'Add Image File'); +define('_IMAGENAME', 'Name:'); +define('_IMGMAXSIZE', 'Max size allowed (bytes):'); +define('_IMGMAXWIDTH', 'Max width allowed (pixels):'); +define('_IMGMAXHEIGHT', 'Max height allowed (pixels):'); +define('_IMAGECAT', 'Category:'); +define('_IMAGEFILE', 'Image file:'); +define('_IMGWEIGHT', 'Display order in image manager:'); +define('_IMGDISPLAY', 'Display this image?'); +define('_IMAGEMIME', 'MIME type:'); +define('_FAILFETCHIMG', 'Could not get uploaded file %s'); +define('_FAILSAVEIMG', 'Failed storing image %s into the database'); +define('_NOCACHE', 'No Cache'); +define('_CLONE', 'Clone'); +// %%%%% For xoopsform files %%%%% +define('_STARTSWITH', 'Starts with'); +define('_ENDSWITH', 'Ends with'); +define('_MATCHES', 'Matches'); +define('_CONTAINS', 'Contains'); +define('_REQUIRED', 'Required'); +// %%%%%% File Name commentform.php %%%%% +define('_REGISTER', 'Register'); +// %%%%%% File Name xoopscodes.php %%%%% +define('_SIZE', 'SIZE'); // font size +define('_FONT', 'FONT'); // font family +define('_COLOR', 'COLOR'); // font color +define('_EXAMPLE', 'SAMPLE'); +define('_ENTERURL', 'Enter the URL of the link you want to add:'); +define('_ENTERWEBTITLE', 'Enter the web site title:'); +define('_ENTERIMGURL', 'Enter the URL of the image you want to add.'); +define('_ENTERIMGPOS', 'Now, enter the position of the image.'); +define('_IMGPOSRORL', '\'R\' or \'r\' for right, \'L\' or \'l\' for left, or leave it blank.'); +define('_ERRORIMGPOS', 'ERROR! Enter the position of the image.'); +define('_ENTEREMAIL', 'Enter the email address you want to add.'); +define('_ENTERCODE', 'Enter the codes that you want to add.'); +define('_ENTERQUOTE', 'Enter the text that you want to be quoted.'); +define('_ENTERTEXTBOX', 'Please input text into the textbox.'); +define('_ALLOWEDCHAR', 'Allowed max chars length: '); +define('_CURRCHAR', 'Current chars length: '); +define('_PLZCOMPLETE', 'Please complete the subject and message fields.'); +define('_MESSAGETOOLONG', 'Your message is too long.'); +/** +* xoops smilie +*/ +define('_AM_ADDSMILE',' Add a new smilie'); +define('_AM_SMILECODE','Code'); +define('_AM_SMILEEMOTION','Description'); +define('_AM_DISPLAYF','Display in the form'); +// %%%%% TIME FORMAT SETTINGS %%%%% +define('_SECOND', '1 second'); +define('_SECONDS', '%s seconds'); +define('_MINUTE', '1 minute'); +define('_MINUTES', '%s minutes'); +define('_HOUR', '1 hour'); +define('_HOURS', '%s hours'); +define('_DAY', '1 day'); +define('_DAYS', '%s days'); +define('_WEEK', '1 week'); +define('_MONTH', '1 month'); +define('_DATESTRING', 'Y/n/j G:i:s'); +define('_MEDIUMDATESTRING', 'Y/n/j G:i'); +define('_SHORTDATESTRING', 'Y/n/j'); +/** +* The following characters are recognized in the format string: +* a - 'am' or 'pm' +* A - 'AM' or 'PM' +* d - day of the month, 2 digits with leading zeros; i.e. '01' to '31' +* D - day of the week, textual, 3 letters; i.e. 'Fri' +* F - month, textual, long; i.e. 'January' +* h - hour, 12-hour format; i.e. '01' to '12' +* H - hour, 24-hour format; i.e. '00' to '23' +* g - hour, 12-hour format without leading zeros; i.e. '1' to '12' +* G - hour, 24-hour format without leading zeros; i.e. '0' to '23' +* i - minutes; i.e. '00' to '59' +* j - day of the month without leading zeros; i.e. '1' to '31' +* l (lowercase 'L') - day of the week, textual, long; i.e. 'Friday' +* L - boolean for whether it is a leap year; i.e. '0' or '1' +* m - month; i.e. '01' to '12' +* n - month without leading zeros; i.e. '1' to '12' +* M - month, textual, 3 letters; i.e. 'Jan' +* s - seconds; i.e. '00' to '59' +* S - English ordinal suffix, textual, 2 characters; i.e. 'th', 'nd' +* t - number of days in the given month; i.e. '28' to '31' +* T - Timezone setting of this machine; i.e. 'MDT' +* U - seconds since the epoch +* w - day of the week, numeric, i.e. '0' (Sunday) to '6' (Saturday) +* Y - year, 4 digits; i.e. '1999' +* y - year, 2 digits; i.e. '99' +* z - day of the year; i.e. '0' to '365' +* Z - timezone offset in seconds (i.e. '-43200' to '43200') +*/ +// %%%%% LANGUAGE SPECIFIC SETTINGS %%%%% +define('_CHARSET', 'UTF-8'); +define('_LANGCODE', 'en'); +// change 0 to 1 if this language is a multi-bytes language +define('XOOPS_USE_MULTIBYTES', '0'); +/** +* Additions to 2.4.0 +**/ +define('_RESET', 'Reset'); +define('_RE', 'Re:'); +// Module vars +define ("_ID", "Id"); +define ("_PID", "Sub Id"); +define ("_ABOUT", "About"); +define ("_WEIGHT", "Weight"); +define ("_CATEGORY", "Category"); +define ("_CATEGORIES", "Categories"); +define ("_PERMISSION", "Permission"); +define ("_PERMISSIONS", "Permissions"); +define ("_DASHBOARD", "Dashboard"); +define ("_SUBMITTER", "Submitter"); +define ("_CREATED", "Created"); +define ("_PUBLISHED", "Published"); +define ("_PUBLISHER", "Publisher"); +define ("_EXPIRED", "Expired"); +define ("_STATUS", "Status"); +define ("_KEYWORDS", "Keywords"); +define ("_WAITING", "Pending"); +define ("_FORMACTION", "Action"); +define ("_FORMUPLOAD", "Upload File"); +define ("_FILENAME","Filename"); +?> \ No newline at end of file Added: XoopsModules/xpdf/releases/1.01/language/italian/global.php =================================================================== --- XoopsModules/xpdf/releases/1.01/language/italian/global.php (rev 0) +++ XoopsModules/xpdf/releases/1.01/language/italian/global.php 2012-03-16 16:13:26 UTC (rev 9145) @@ -0,0 +1,243 @@ +<?php +// $Id: global.php 8889 2010-11-01 11:03:22Z kris_fr $ +// _LANGCODE: it +// _CHARSET : UTF-8 +// Translator: Xoops Italia Team - www.xoopsitalia.org +// Last translation update: 08/03/2011 +define("_PLEASEWAIT","Attendere prego..."); +define("_FETCHING","Caricamento..."); +define("_TAKINGBACK","Stai per essere riportato alla pagina in cui eri..."); +define("_LOGOUT","Esci"); +define("_SUBJECT","Oggetto"); +define("_MESSAGEICON","Icona del messaggio"); +define("_COMMENTS","Commenti"); +define("_POSTANON","Invia come anonimo"); +define("_DISABLESMILEY","Disabilita faccine"); +define("_DISABLEHTML","Disabilita tag HTML"); +define("_PREVIEW","Anteprima"); +define("_GO","Vai!"); +define("_NESTED","Annidati"); +define("_NOCOMMENTS","Nessun commento"); +define("_FLAT","Piatti"); +define("_THREADED","Ad albero"); +define("_OLDESTFIRST","I più vecchi prima"); +define("_NEWESTFIRST","I più nuovi prima"); +define("_MORE","altro..."); +define("_MULTIPAGE","Per visualizzare l'articolo su più pagine, inserire il codice <font color=red>[pagebreak]</font> (con le quadre), all'interno della news."); +define("_IFNOTRELOAD","Se la pagina non dovesse caricarsi in automatico, premere <a href=%s>qui</a>"); +// Error messages issued by XoopsObject::cleanVars() +define( "_XOBJ_ERR_REQUIRED", "%s è richiesta/o" ); +define( "_XOBJ_ERR_SHORTERTHAN", "%s deve contenere meno di %d caratteri." ); +//%%%%%% File Name themeuserpost.php %%%%% +define("_PROFILE","Profilo"); +define("_POSTEDBY","Inviato da"); +define("_VISITWEBSITE","Visita il sito web"); +define("_SENDPMTO","Invia un messaggio privato a %s"); +define("_SENDEMAILTO","Invia un email a %s"); +define("_ADD","Aggiungi"); +define("_REPLY","Rispondi"); +define("_DATE","Data"); // Posted date +//%%%%%% File Name admin_functions.php %%%%% +define("_MAIN","Principale"); +define("_MANUAL","Manuale"); +define("_INFO","Informazioni"); +define("_CPHOME","Pannello di Controllo"); +define("_YOURHOME","Home Page"); +//%%%%%% File Name misc.php (who's-online popup) %%%%% +define("_WHOSONLINE","Utenti online"); +define('_GUESTS', 'Ospiti'); +define('_MEMBERS', 'Iscritti'); +define("_ONLINEPHRASE","<b>%s</b> utente(i) online<br />"); +define("_ONLINEPHRASEX","<b>%s</b> utente(i) in <b>%s</b>"); +define("_CLOSE","Chiudi"); // Close window +//%%%%%% File Name module.textsanitizer.php %%%%% +define("_QUOTEC","Citazione:"); +//%%%%%% File Name admin.php %%%%% +define("_NOPERM","Non si possiedono i permessi per accedere a quest'area"); +//%%%%% Common Phrases %%%%% +define("_NO","No"); +define("_YES","Si"); +define("_ONLINE", "Online"); +define("_OFFLINE", "Offline"); +define("_EDIT","Modifica"); +define("_DELETE","Elimina"); +define("_SUBMIT","Invia"); +define("_MODULENOEXIST","Il modulo selezionato non esiste!"); +define("_ALIGN","Allineamento"); +define("_LEFT","Sinistra"); +define("_CENTER","Centro"); +define("_RIGHT","Destra"); +define("_FORM_ENTER", "Per favore inserire %s"); +define("_MUSTWABLE","Il file %s non deve essere protetto in scrittura sul server!"); // %s represents file name +// Module info +define('_PREFERENCES', 'Preferenze'); +define("_VERSION", "Versione"); +define("_DESCRIPTION", "Descrizione"); +define("_AUTHOR", "Autore"); +define("_CREDITS", "Crediti"); +define("_LICENCE", "Licenza"); +define("_ERRORS", "Errori"); +define("_NONE", "Nessuno"); +define('_ON','il'); +define('_READS','letture'); +define('_WELCOMETO','Benvenuto %s'); +define('_SEARCH','Cerca'); +define('_ALL', 'Tutto'); +define('_TITLE', 'Titolo'); +define('_OPTIONS', 'Opzioni'); +define('_QUOTE', 'Citazione'); +define('_LIST', 'Elenco'); +define('_LOGIN','Login utente'); +define('_USERNAME','Nome utente: '); +define('_PASSWORD','Password: '); +define("_SELECT","Seleziona"); +define("_IMAGE","Immagine"); +define("_SEND","Invia"); +define("_CANCEL","Annulla"); +define("_ASCENDING","Ordine crescente"); +define("_DESCENDING","Ordine decrescente"); +define('_BACK', 'Indietro'); +define('_NOTITLE', 'Nessun titolo');; +/** +* Image manager +*/ +define("_MD_ADDIMGCAT","Nuova Categoria"); +define("_MD_IMGCATNAME","Nome"); +define("_MD_IMGCATRGRP","Gruppi autorizzati ad accedere alla categoria:"); +define("_MD_IMGCATWGRP","Gruppi autorizzati a caricare immagini nella categoria:"); +define("_MD_IMGCATWEIGHT","Ordine di visualizzazione nel gestore immagini:"); +define("_MD_IMGCATDISPLAY","Categoria visibile nel gestore immagini?"); +define("_MD_IMGCATSTRTYPE","Modalità di salvataggio delle immagini:"); +define("_MD_STRTYOPENG","Non è possibile modificare questa scelta in seguito!"); +define("_MD_ASFILE","Come file nella cartella 'uploads'"); +define("_MD_INDB","Come dato binario (blob) nel database"); +define("_MD_IMGMAIN","Categoria"); +define("_MD_EDITIMGCAT", "Modifica categoria"); +define('_IMGMANAGER', 'Gestore immagini'); +define('_NUMIMAGES', '%s immagine(i)'); +define('_ADDIMAGE', 'Nuova Immagine'); +define('_IMAGENAME', 'Nome:'); +define('_IMGMAXSIZE', 'Dimensione massima (bytes):'); +define('_IMGMAXWIDTH', 'Larghezza massima(pixels):'); +define('_IMGMAXHEIGHT', 'Altezza massima (pixels):'); +define('_IMAGECAT', 'Categoria:'); +define('_IMAGEFILE', 'File dell\'immagine:'); +define('_IMGWEIGHT', 'Ordine di visualizzazione nel gestore immagini:'); +define('_IMGDISPLAY', 'Immagine visibile nel gestore immagini?'); +define('_IMAGEMIME', 'Estensione file (myme type):'); +define('_FAILFETCHIMG', 'Impossibile eseguire l\'upload del file %s'); +define('_FAILSAVEIMG', 'Impossibile salvare l\'immagine %s nel database'); +define('_NOCACHE', 'Nessuna cache'); +define('_CLONE', 'Duplica'); +// %%%%% For xoopsform files %%%%% +define("_STARTSWITH", "Inizia con"); +define("_ENDSWITH", "Termina con"); +define("_MATCHES", "Corrsiponde a"); +define("_CONTAINS", "Contiene"); +define('_REQUIRED', 'Richiesto'); +// %%%%%% File Name commentform.php %%%%% +define('_REGISTER', 'Registrati'); +// %%%%%% File Name xoopscodes.php %%%%% +define("_SIZE","DIMENSIONE"); // font size +define("_FONT","CARATTERE"); // font family +define("_COLOR","COLORE"); // font color +define("_EXAMPLE","ESEMPIO"); +define("_ENTERURL","Indirizzo del link che si desidera inserire: "); +define("_ENTERWEBTITLE","Testo del link: "); +define("_ENTERIMGURL","Indirizzo web dell'immagine che si desidera inserire:"); +define("_ENTERIMGPOS","Allineamento dell'immagine."); +define("_IMGPOSRORL","'r' destra, 'l' sinistra, o lasciare vuoto."); +define("_ERRORIMGPOS","ERRORE! Si prega di specificare l'allineamento dell'immagine."); +define("_ENTEREMAIL","Indirizzo email che si desidera inserire:"); +define("_ENTERCODE","Codice che si desidera inserire:"); +define("_ENTERQUOTE","Testo che si desidera citare:"); +define("_ENTERTEXTBOX","Per favore, inserire del testo nella casella."); +define("_ALLOWEDCHAR","Numero massimo di caratteri consentiti: "); +define("_CURRCHAR","Caratteri utilizzati fino a questo momento: "); +define("_PLZCOMPLETE","Per favore, inserire oggetto e corpo del messaggio."); +define("_MESSAGETOOLONG","Il messaggio è troppo lungo."); +/** +* xoops smilie +*/ +define('_AM_ADDSMILE',' Nuova Faccina'); +define('_AM_SMILECODE','Combinazione'); +define('_AM_SMILEEMOTION','Descrizione'); +define('_AM_DISPLAYF','Visibile nei form?'); +// %%%%% TIME FORMAT SETTINGS %%%%% +define('_SECOND', '1 secondo'); +define('_SECONDS', '%s secondi'); +define('_MINUTE', '1 minuto'); +define('_MINUTES', '%s minuti'); +define('_HOUR', '1 ora'); +define('_HOURS', '%s ore'); +define('_DAY', '1 giorno'); +define('_DAYS', '%s giorni'); +define('_WEEK', '1 settimana'); +define('_MONTH', '1 mese'); +define("_DATESTRING","j/n/Y G:i:s"); +define("_MEDIUMDATESTRING","j/n/Y G:i"); +define("_SHORTDATESTRING","j/n/Y"); +/** +* The following characters are recognized in the format string: +* a - 'am' or 'pm' +* A - 'AM' or 'PM' +* d - day of the month, 2 digits with leading zeros; i.e. '01' to '31' +* D - day of the week, textual, 3 letters; i.e. 'Fri' +* F - month, textual, long; i.e. 'January' +* h - hour, 12-hour format; i.e. '01' to '12' +* H - hour, 24-hour format; i.e. '00' to '23' +* g - hour, 12-hour format without leading zeros; i.e. '1' to '12' +* G - hour, 24-hour format without leading zeros; i.e. '0' to '23' +* i - minutes; i.e. '00' to '59' +* j - day of the month without leading zeros; i.e. '1' to '31' +* l (lowercase 'L') - day of the week, textual, long; i.e. 'Friday' +* L - boolean for whether it is a leap year; i.e. '0' or '1' +* m - month; i.e. '01' to '12' +* n - month without leading zeros; i.e. '1' to '12' +* M - month, textual, 3 letters; i.e. 'Jan' +* s - seconds; i.e. '00' to '59' +* S - English ordinal suffix, textual, 2 characters; i.e. 'th', 'nd' +* t - number of days in the given month; i.e. '28' to '31' +* T - Timezone setting of this machine; i.e. 'MDT' +* U - seconds since the epoch +* w - day of the week, numeric, i.e. '0' (Sunday) to '6' (Saturday) +* Y - year, 4 digits; i.e. '1999' +* y - year, 2 digits; i.e. '99' +* z - day of the year; i.e. '0' to '365' +* Z - timezone offset in seconds (i.e. '-43200' to '43200') +*/ +//%%%%% LANGUAGE SPECIFIC SETTINGS %%%%% +/* ATTENZIONE! In caso di aggiornamento da versioni precedenti e di mantenimento della collazione del database in +'latin_swedish' decommentare la linea successiva e commentare: define('_CHARSET', 'UTF-8'), per preservare la visualizzazione delle parole accentate nel sito.*/ +//define('_CHARSET', 'ISO-8859-1'); +define('_CHARSET', 'UTF-8'); +define('_LANGCODE', 'it_IT'); +// cambiare da 0 a 1 se questa lingua \xE8 multi-bytes (non modificare) +define('XOOPS_USE_MULTIBYTES', '0'); +/** +* Additions to 2.4.0 +**/ +define('_RESET', 'Reset'); +define('_RE', 'Re:'); +// Module vars +define("_ID","Id"); +define("_PID","Sub Id"); +define("_ABOUT","Informazioni"); +define("_WEIGHT","Peso"); +define("_CATEGORY","Categoria"); +define("_CATEGORIES","Categorie"); +define("_PERMISSION","Permesso"); +define("_PERMISSIONS","Permessi"); +define("_DASHBOARD","Cruscotto"); +define("_SUBMITTER","Inviato da"); +define("_CREATED","Creato il"); +define("_PUBLISHED","Pubblicato il"); +define("_PUBLISHER","Pubblicatore"); +define("_EXPIRED","Terminato"); +define("_STATUS","Stato"); +define("_KEYWORDS","Parole chiave"); +define("_WAITING","In attesa"); +define("_FORMACTION","Azione"); +define("_FORMUPLOAD","Carica File"); +define("_FILENAME","Nome File"); +?> \ No newline at end of file Added: XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/about.php =================================================================== --- XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/about.php (rev 0) +++ XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/about.php 2012-03-16 16:13:26 UTC (rev 9145) @@ -0,0 +1,30 @@ +<?php +/** + * **************************************************************************** + * - A project for the Xoops CMS - (http://www.xoops.org) + * **************************************************************************** + * XPDF - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * 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 TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package xpdf + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sun 2012/02/05 1:04:25 : Timgno Exp $ + * **************************************************************************** + */ +include "admin_header.php"; +xoops_cp_header(); +$aboutAdmin = new ModuleAdmin(); +echo $aboutAdmin->addNavigation("about.php"); +echo $aboutAdmin->renderabout('25J998Y3QEDZW', false); +include "admin_footer.php"; \ No newline at end of file Added: XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/admin_footer.php =================================================================== --- XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/admin_footer.php (rev 0) +++ XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/admin_footer.php 2012-03-16 16:13:26 UTC (rev 9145) @@ -0,0 +1,31 @@ +<?php +/** + * **************************************************************************** + * - A project for the Xoops CMS - (http://www.xoops.org) + * **************************************************************************** + * XPDF - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * 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 TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package xpdf + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sun 2012/02/05 1:04:25 : Timgno Exp $ + * **************************************************************************** + */ +global $pathImageAdmin; +echo "<div align='center'><a href='http://www.xoops.org' target='_blank'> + <img src='".$pathImageAdmin."/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a></div>"; +echo "<div class='center smallsmall italic pad5'> + <strong>" . $xoopsModule->getVar('name') . "</strong> "._AM_XPDF_MAINTAINEDBY." + <a href='http://www.txmodxoops.org/modules/newbb/' title='Visit TXMod Xoops Community' class='tooltip' rel='external'>TXMod Xoops Community</a></div>"; +xoops_cp_footer(); Added: XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/admin_header.php =================================================================== --- XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/admin_header.php (rev 0) +++ XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/admin_header.php 2012-03-16 16:13:26 UTC (rev 9145) @@ -0,0 +1,70 @@ +<?php +/** + * **************************************************************************** + * - A project for the Xoops CMS - (http://www.xoops.org) + * **************************************************************************** + * XPDF - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * 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 TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package xpdf + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sun 2012/02/05 1:04:25 : Timgno Exp $ + * **************************************************************************** + */ +include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; +include_once XOOPS_ROOT_PATH . '/include/cp_functions.php'; +include_once '../include/functions.php'; + +$pathDir = $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin'); +if ( file_exists($pathDir.'/moduleadmin.php')){ + include_once $pathDir.'/moduleadmin.php'; +} else { + xoops_cp_header(); + echo xoops_error(_AM_ERROR_NOFRAMEWORKS); + xoops_cp_footer(); +} +$dirname = basename(dirname(dirname( __FILE__ ) )); +$module_handler =& xoops_gethandler('module'); +$xoopsModule = & $module_handler->getByDirname($dirname); +$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); +$pathImageIcon = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16'); +$pathImageAdmin = XOOPS_URL .'/'. $moduleInfo->getInfo('icons32'); + +$catHandler=& xoops_getModuleHandler('xpdf_cat', $dirname); +$docHandler=& xoops_getModuleHandler('xpdf_doc', $dirname); + +$myts =& MyTextSanitizer::getInstance(); + +if ($xoopsUser) { + $moduleperm_handler =& xoops_gethandler('groupperm'); + if (!$moduleperm_handler->checkRight('module_admin', $xoopsModule->getVar( 'mid' ), $xoopsUser->getGroups())) { + redirect_header(XOOPS_URL, 1, _NOPERM); + exit(); + } +} else { + redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM); + exit(); +} + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once(XOOPS_ROOT_PATH."/class/template.php"); + $xoopsTpl = new XoopsTpl(); +} + +$xoopsTpl->assign('pathImageIcon', $pathImageIcon); +$xoopsTpl->assign('pathImageAdmin', $pathImageAdmin); +//Load languages +xoops_loadLanguage('admin', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('modinfo', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('main', $xoopsModule->getVar("dirname")); Added: XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/categories.php =================================================================== --- XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/categories.php (rev 0) +++ XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/categories.php 2012-03-16 16:13:26 UTC (rev 9145) @@ -0,0 +1,173 @@ +<?php +/** + * **************************************************************************** + * - A project for the Xoops CMS - (http://www.xoops.org) + * **************************************************************************** + * XPDF - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * 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 TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package xpdf + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sun 2012/02/05 1:04:25 : Timgno Exp $ + * **************************************************************************** + */ +include "admin_header.php"; +xoops_cp_header(); +global $pathImageIcon; + +// CleanVars +$op = xpdf_CleanVars($_REQUEST, 'op', 'list_cat', 'string'); +$status_menu = xpdf_CleanVars($_REQUEST, 'status_display', 1, 'int'); + +$catAdmin = new ModuleAdmin(); +switch ($op) +{ + case "list_cat": + default: + echo $catAdmin->addNavigation('categories.php'); + if ($status_menu == 1){ + $catAdmin->addItemButton(_AM_XPDF_NEWCAT, 'categories.php?op=new_cat', 'add'); + }else{ + $catAdmin->addItemButton(_AM_XPDF_CATLIST, 'categories.php?op=list_cat', 'list'); + $catAdmin->addItemButton(_AM_XPDF_NEWCAT, 'categories.php?op=new_cat', 'add'); + } + echo $catAdmin->renderButton(); + $criteria = new CriteriaCompo(); + $criteria->setSort("cat_id"); + $criteria->setOrder("ASC"); + $numrows = $catHandler->getCount(); + $cat_arr = $catHandler->getall($criteria); + + //Affichage du tableau + if ($numrows>0) + { + echo "<table width='100%' cellspacing='1' class='outer'> + <tr> + <th class='center'>"._ID."</th> + <th class='center'>"._TITLE."</th> + <th class='center'>"._IMAGE."</th> + <th class='center'>"._DESCRIPTION."</th> + <th class='center'>"._WEIGHT."</th> + <th class='center'>"._FORMACTION."</th> + </tr>"; + + $class = "odd"; + + foreach (array_keys($cat_arr) as $i) + { + echo "<tr class='".$class."'>"; + $class = ($class == "even") ? "odd" : "even"; + + $cat =& $catHandler->get($cat_arr[$i]->getVar("cat_pid")); + $cat_cat = $cat->getVar("cat_pid"); + echo "<td class='center'>".$cat_arr[$i]->getVar("cat_id")."</td>"; + echo "<td class='center'>".$cat_arr[$i]->getVar("cat_title")."</td>"; + echo "<td class='center'><img src='".XOOPS_UPLOAD_URL."/xpdf/images/cat/".$cat_arr[$i]->getVar("cat_imgurl")."' height='10px' title='cat_imgurl' alt='cat_imgurl'></td>"; + echo "<td class='center'>".$cat_arr[$i]->getVar("cat_description")."</td>"; + echo "<td class='center'>".$cat_arr[$i]->getVar("cat_weight")."</td>"; + + echo "<td align='center' width='10%'> + <a href='categories.php?op=edit_cat&cat_id=".$cat_arr[$i]->getVar("cat_id")."'><img src=".$pathImageIcon."/edit.png alt='"._EDIT."' title='"._EDIT."'></a> + <a href='categories.php?op=delete_cat&cat_id=".$cat_arr[$i]->getVar("cat_id")."'><img src=".$pathImageIcon."/delete.png alt='"._DELETE."' title='"._DELETE."'></a> + </td>"; + echo "</tr>"; + } + echo "</table><br><br>"; + } + break; + + case "new_cat": + echo $catAdmin->addNavigation("categories.php"); + $catAdmin->addItemButton(_AM_XPDF_CATLIST, 'categories.php?op=list_cat', 'list'); + echo $catAdmin->renderButton(); + + $obj =& $catHandler->create(); + $form = $obj->getForm(); + $form->display(); + break; + + case "save_cat": + if ( !$GLOBALS["xoopsSecurity"]->check() ) { + redirect_header("categories.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); + } + if (isset($_REQUEST["cat_id"])) { + $obj =& $catHandler->get($_REQUEST["cat_id"]); + } else { + $obj =& $catHandler->create(); + } + + //Form cat_pid + $obj->setVar("cat_pid", $_REQUEST["cat_pid"]); + //Form cat_title + $obj->setVar("cat_title", $_REQUEST["cat_title"]); + //Form cat_imgurl + include_once XOOPS_ROOT_PATH."/class/uploader.php"; + $uploaddir = XOOPS_UPLOAD_PATH."/xpdf/images/cat/"; + $uploader = new XoopsMediaUploader($uploaddir, $GLOBALS["xoopsModuleConfig"]["cat_imgurl_mimetypes"], + $GLOBALS["xoopsModuleConfig"]["cat_imgurl_size"], null, null); + if ($uploader->fetchMedia($_POST['xoops_upload_file'][0])) { + $uploader->setPrefix("cat_imgurl_") ; + $uploader->fetchMedia($_POST['xoops_upload_file'][0]); + if (!$uploader->upload()) { + $errors = $uploader->getErrors(); + redirect_header("javascript:history.go(-1)",3, $errors); + } else { + $obj->setVar("cat_imgurl", $uploader->getSavedFileName()); + } + } else { + $obj->setVar("cat_imgurl", $_REQUEST["cat_imgurl"]); + } + //Form cat_description + $obj->setVar("cat_description", $_REQUEST["cat_description"]); + //Form cat_weight + $obj->setVar("cat_weight", $_REQUEST["cat_weight"]); + + + if ($catHandler->insert($obj)) { + redirect_header("categories.php?op=list_cat", 2, _AM_XPDF_FORMOK); + } + + echo $obj->getHtmlErrors(); + $form =& $obj->getForm(); + $form->display(); + break; + + case "edit_cat": + echo $catAdmin->addNavigation("categories.php"); + $catAdmin->addItemButton(_AM_XPDF_NEWCAT, 'categories.php?op=new_cat', 'add'); + $catAdmin->addItemButton(_AM_XPDF_CATLIST, 'categories.php?op=list_cat', 'list'); + echo $catAdmin->renderButton(); + $obj = $catHandler->get($_REQUEST["cat_id"]); + $form = $obj->getForm(); + $form->display(); + break; + + case "delete_cat": + $obj =& $catHandler->get($_REQUEST["cat_id"]); + if (isset($_REQUEST["ok"]) && $_REQUEST["ok"] == 1) { + if ( !$GLOBALS["xoopsSecurity"]->check() ) { + redirect_header("categories.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); + } + if ($catHandler->delete($obj)) { + redirect_header("categories.php", 3, _AM_XPDF_FORMDELOK); + } else { + echo $obj->getHtmlErrors(); + } + } else { + xoops_confirm(array("ok" => 1, "cat_id" => $_REQUEST["cat_id"], "op" => "delete_cat"), $_SERVER["REQUEST_URI"], sprintf(_AM_XPDF_FORMSUREDEL, $obj->getVar("cat"))); + } + break; +} +include "admin_footer.php"; +?> \ No newline at end of file Added: XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/documents.php =================================================================== --- XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/documents.php (rev 0) +++ XoopsModules/xpdf/releases/1.01/modules/xpdf/admin/documents.php 2012-03-16 16:13:26 UTC (rev 9145) @@ -0,0 +1,315 @@ +<?php +/** + * **************************************************************************** + * - A project for the Xoops CMS - (http://www.xoops.org) + * **************************************************************************** + * XPDF - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * 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 TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package xpdf + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sun 2012/02/05 1:04:25 : Timgno Exp $ + * **************************************************************************** + */ +include "admin_header.php"; +xoops_cp_header(); +global $pathImageIcon; + +//On recupere la valeur de l argument op dans l URL$ +$op = xpdf_CleanVars($_REQUEST, 'op', 'list_doc', 'string'); +$status_menu = xpdf_CleanVars($_REQUEST, 'status_display', 1, 'int'); + +$docAdmin = new ModuleAdmin(); +switch ($op) +{ + case "list_doc": + default: + echo $docAdmin->addNavigation('documents.php'); + if ($status_menu == 1){ + $docAdmin->addItemButton(_AM_XPDF_NEWDOC, 'documents.php?op=new_doc', 'add'); + }else{ + $docAdmin->addItemButton(_AM_XPDF_DOCLIST, 'documents.php?op=list_doc', 'list'); + $docAdmin->addItemButton(_AM_XPDF_NEWDOC, 'documents.php?op=new_doc', 'add'); + } + echo $docAdmin->renderButton(); + $criteria = new CriteriaCompo(); + $criteria->setSort("doc_id"); + $criteria->setOrder("ASC"); + $numrows = $docHandler->getCount(); + $doc_arr = $docHandler->getall($criteria); + + //Affichage du tableau + if ($numrows>0) + { + echo "<table cellspacing='1' class='outer width100'> + <tr> + <th class='center'>"._ID."</th> + <th class='center'>"._CATEGORY."</th> + <th class='center'>"._TITLE."</th> + <th class='center'>"._SUBJECT."</th> + <th class='center'>"._SUBMITTER."</th> + <th class='center'>"._CREATED."</th> + <th class='center'>"._PUBLISHED."</th> + <th class='center'>"._WEIGHT."</th> + <th class='center'>"._STATUS."</th> + <th class='center'>"._WAITING."</th> + <th class='center'>"._ONLINE."</th> + <th class='center'>"._FORMACTION."</th> + </tr>"; + + $class = "odd"; + + foreach (array_keys($doc_arr) as $i) + { + echo "<tr class='".$class."'>"; + $class = ($class == "even") ? "odd" : "even"; + + echo "<td class='center'>".$doc_arr[$i]->getVar("doc_id")."</td>"; + $cat =& $catHandler->get($doc_arr[$i]->getVar("doc_cid")); + $doc_cat = $cat->getVar("cat_id"); + echo "<td class='center'>".$doc_cat."</td>"; + echo "<td class='center'>".$doc_arr[$i]->getVar("doc_title")."</td>"; + echo "<td class='center'>".$doc_arr[$i]->getVar("doc_subject")."</td>"; + echo "<td class='center'>".XoopsUser::getUnameFromId($doc_arr[$i]->getVar("doc_submitter"),"S")."</td>"; + echo "<td class='center'>".formatTimeStamp($doc_arr[$i]->getVar("doc_created"),"S")."</td>"; + echo "<td class='center'>".formatTimeStamp($doc_arr[$i]->getVar("doc_published"),"S")."</td>"; + echo "<td class='center'>".$doc_arr[$i]->getVar("doc_weight")."</td>"; + + if ( $doc_arr[$i]->getVar("doc_status") == 1 ) { + echo "<td class='center'><a href='./documents.php?op=delete_pdf_file&doc_id='".$doc_arr[$i]->getVar("doc_id")."&doc_status=0' title='"._AM_XPDF_DELETEPDF."'><img src=".$pathImageIcon."/green_ball.png border='0' alt='"._AM_XPDF_DELETEPDF."' /></a></td>"; + } else { + echo "<td class='center'><a href='./documents.php?op=create_pdf_file&doc_id='".$doc_arr[$i]->getVar("doc_id")."&doc_status=1' title='"._AM_XPDF_CREATEPDF."'><img src=".$pathImageIcon."/red_ball.png border='0' alt='"._AM_XPDF_CREATEPDF."' /></a></td>"; + } + + if ( $doc_arr[$i]->getVar("doc_waiting") == 1 ) { + echo "<td class='center'><a href='./documents.php?op=approve_doc&doc_id='".$doc_arr[$i]->getVar("doc_id")."&doc_waiting=0' title='"._AM_XPDF_CREATEPDF."'><img src=".$pathImageIcon."/orange_ball.png border='0' alt='' /></a></td>"; + } else { + echo "<td class='center'><img src=".$pathImageIcon."/grey_ball.png border='0' alt='' /></td>"; + } + + if ( $doc_arr[$i]->getVar("doc_online") == 1 ) { + echo "<td class='center'><a href='./documents.php?op=update_online_doc&doc_id=".$doc_arr[$i]->getVar("doc_id")."&doc_online=0'><img src=".$pathImageIcon."/on.png border='0' alt='"._ONLINE."' title='"._ONLINE."'></a></td>"; + } else { + echo "<td class='center'><a href='./documents.php?op=update_online_doc&doc_id=".$doc_arr[$i]->getVar("doc_id")."&doc_online=1'><img src=".$pathImageIcon."/off.png border='0' alt='"._OFFLINE."' title='"._OFFLINE."'></a></td>"; + } + + echo "<td class='center width10'> + <a href='documents.php?op=edit_doc&doc_id=".$doc_arr[$i]->getVar("doc_id")."'><img src=".$pathImageIcon."/edit.png alt='"._EDIT."' title='"._EDIT."'></a> + <a href='documents.php?op=delete_doc&doc_id=".$doc_arr[$i]->getVar("doc_id")."'><img src=".$pathImageIcon."/delete.png alt='"._DELETE."' title='"._DELETE."'></a> + </td>"; + echo "</tr>"; + } + echo "</table><br><br>"; + } + break; + + case "new_doc": + echo $docAdmin->addNavigation("documents.php"); + $docAdmin->addItemButton(_AM_XPDF_DOCLIST, 'documents.php?op=list_doc', 'list'); + echo $docAdmin->renderButton(); + + $obj =& $docHandler->create(); + $form = $obj->getForm(); + $form->display(); + break; + + case "save_doc": + if ( !$GLOBALS["xoopsSecurity"]->check() ) { + redirect_header("documents.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); + } + $doc_id = xpdf_CleanVars($_REQUEST, 'doc_id', 1, 'int'); + if (isset($_REQUEST["doc_id"])) { + $obj =& $docHandler->get($doc_id); + } else { + $obj =& $docHandler->create(); + } + + //Form doc_cid + $obj->setVar("doc_cid", $_REQUEST["doc_cid"]); + //Form doc_filename + $obj->setVar("doc_filename", strtolower($_REQUEST["doc_filename"])); + //Form doc_title + $obj->setVar("doc_title", $_REQUEST["doc_title"]); + //Form doc_description + $obj->setVar("doc_description", $_REQUEST["doc_description"]); + //Form doc_image + $obj->setVar("doc_image", $_REQUEST["doc_image"]); + //Form doc_subject + $obj->setVar("doc_subject", $_REQUEST["doc_subject"]); + //Form doc_description + $obj->setVar("doc_keywords", $_REQUEST["doc_keywords"]); + //Form doc_submitter + $obj->setVar("doc_submitter", $_REQUEST["doc_submitter"]); + //Form doc_created + $obj->setVar("doc_created", strtotime($_REQUEST["doc_created"])); + //Form doc_created + $obj->setVar("doc_published", strtotime($_REQUEST["doc_published"])); + //Form doc_paypal + $obj->setVar("doc_paypal", $_REQUEST["doc_paypal"]); + //Form doc_paypal + $obj->setVar("doc_view", $_REQUEST["doc_view"]); + //Form doc_weight + $obj->setVar("doc_comments", $_REQUEST["doc_comments"]); + //Form doc_status + $verif_doc_status = ($_REQUEST["doc_status"] == 1) ? "1" : "0"; + $obj->setVar("doc_status", $verif_doc_status); + //Form doc_waiting + $verif_doc_waiting = ($_REQUEST["doc_waiting"] == 1) ? "1" : "0"; + $obj->setVar("doc_waiting", $verif_doc_waiting); + //Form doc_online + $verif_doc_online = ($_REQUEST["doc_online"] == 1) ? "1" : "0"; + $obj->setVar("doc_online", $verif_doc_online); + //Form doc_paypal + $obj->setVar("doc_paypal", $_REQUEST["doc_paypal"]); + + if ($docHandler->insert($obj)) { + redirect_header("documents.php?op=list_doc", 2, _AM_XPDF_FORMOK); + } + + echo $obj->getHtmlErrors(); + $form =& $obj->getForm(); + $form->display(); + break; + + case "create_pdf_file": + if (isset($_REQUEST["doc_id"])) { + $obj =& $docHandler->get($_REQUEST["doc_id"]); + } + $obj->setVar("doc_status", $_REQUEST["doc_status"]); + if ($docHandler->insert($obj)) { + redirect_header("documents.php", 3, _AM_XPDF_FILECREATEDOK); + } + echo $obj->getHtmlErrors(); + //include_once XOOPS_URL.'/Frameworks/tcpdf/tcpdf.php'; + require_once XOOPS_ROOT_PATH.'/Frameworks/tcpdf/tcpdf.php'; + $filename = XOOPS_ROOT_PATH.'/Frameworks/tcpdf/config/lang/'._LANGCODE.'.php'; + if(file_exists($filename)) { + include_once $filename; + } else { + include_once XOOPS_ROOT_PATH.'/Frameworks/tcpdf/config/lang/en.php'; + } + // create new PDF document + $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false); + // set document information + $pdf->SetCreator(PDF_CREATOR); + $pdf->SetAuthor($obj->getVar("doc_submitter")); + $pdf->SetTitle($obj->getVar("doc_title", 's')); + $pdf->SetSubject($obj->getVar("doc_subject"));//'XPDF Test' + $pdf->SetKeywords($obj->getVar("doc_keywords"));//'XPDF, PDF, example, test, guide' + + // set default header data + $pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE, PDF_HEADER_STRING); + + //set margins + $pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP + 10, PDF_MARGIN_RIGHT); + //set auto page breaks + $pdf->SetAutoPageBreak(true, PDF_MARGIN_BOTTOM); + $pdf->SetHeaderMargin(PDF_MARGIN_HEADER); + $pdf->SetFooterMargin(PDF_MARGIN_FOOTER); + $pdf->setImageScale(1); //set image scale factor + + $pdf->setLanguageArray($l); //set language items + + //initialize document + $pdf->AliasNbPages(); + + // Add a page + // This method has several options, check the source code documentation for more information. + $pdf->AddPage(); + $description = $obj->getVar("doc_description", 's'); + // Print text using writeHTML() + $pdf->writeHTML($description, true, 0); + + // --------------------------------------------------------- + // Close and output PDF document + // This method has several options, check the source code documentation for more information. + $pdf_file = XOOPS_UPLOAD_PATH."/xpdf/doc/".strtolower($obj->getVar("doc_filename")).".pdf"; + $pdf->Output($pdf_file, 'F'); + break; + + case "delete_pdf_file": + /*if (isset($_REQUEST["doc_id"])) { + $obj =& $docHandler->get($_REQUEST["doc_id"]); + } + + if ($docHandler->delete($obj)) { + redirect_header("documents.php", 3, _AM_XPDF_FILEDELETEDOK); + }*/ + + $obj->setVar("doc_status", $_REQUEST["doc_status"]); + $obj =& $docHandler->get($_REQUEST['doc_id']); + if (isset($_REQUEST['ok']) && $_REQUEST['ok'] == 1) { + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header('documents.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); + } + if ($docHandler->delete($obj)) { + $GLOBALS['xoopsDB']->queryF("DELETE FROM ".$GLOBALS['xoopsDB']->prefix("xpdf_doc")." WHERE doc_id = ".$_REQUEST['doc_id']); + redirect_header('documents.php', 3, _AM_XPDF_FILEDELETEDOK); + } else { + echo $obj->getHtmlErrors(); + } + } else { + xoops_confirm(array('ok' => 1, 'doc_id' => $_REQUEST['doc_id'], 'op' => 'delete_doc'), $_SERVER['REQUEST_URI'], sprintf(_AM_XPDF_FORMSUREDEL, $obj->getVar('doc_title'))); + } + break; + + case "edit_doc": + echo $docAdmin->addNavigation("documents.php"); + $docAdmin->addItemButton(_AM_XPDF_NEWDOC, 'documents.php?op=new_doc', 'add'); + $docAdmin->addItemButton(_AM_XPDF_DOCLIST, 'documents.php?op=list_doc', 'list'); + echo $docAdmin->renderButton(); + $obj = $docHandler->get($_REQUEST["doc_id"]); + $form = $obj->getForm(); + $form->display(); + break; + + case "approve_doc": + if (isset($_REQUEST["doc_id"])) { + $obj =& $docHandler->get($_REQUEST["doc_id"]); + } + $obj->setVar("doc_waiting", $_REQUEST["doc_waiting"]); + if ($docHandler->insert($obj)) { + redirect_header("documents.php", 3, _AM_XPDF_FILEAPPROVATEDOK); + } + echo $obj->getHtmlErrors(); ... [truncated message content] |
From: <txm...@us...> - 2012-03-15 19:38:57
|
Revision: 9144 http://xoops.svn.sourceforge.net/xoops/?rev=9144&view=rev Author: txmodxoops Date: 2012-03-15 19:38:47 +0000 (Thu, 15 Mar 2012) Log Message: ----------- Removed Paths: ------------- XoopsModules/xpdf/releases/1.0/xpdf/fpdf/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-03-15 19:35:04
|
Revision: 9143 http://xoops.svn.sourceforge.net/xoops/?rev=9143&view=rev Author: txmodxoops Date: 2012-03-15 19:34:57 +0000 (Thu, 15 Mar 2012) Log Message: ----------- Updated Used TCPDF Libraries Delete FPDF Libraries Modified Paths: -------------- XoopsModules/xpdf/releases/1.0/xpdf/admin/documents.php XoopsModules/xpdf/releases/1.0/xpdf/class/xpdf_doc.php XoopsModules/xpdf/releases/1.0/xpdf/docs/changelog.txt XoopsModules/xpdf/releases/1.0/xpdf/header.php XoopsModules/xpdf/releases/1.0/xpdf/include/functions.php XoopsModules/xpdf/releases/1.0/xpdf/include/install.php XoopsModules/xpdf/releases/1.0/xpdf/index.php XoopsModules/xpdf/releases/1.0/xpdf/makepdf.php XoopsModules/xpdf/releases/1.0/xpdf/sql/mysql.sql XoopsModules/xpdf/releases/1.0/xpdf/templates/xpdf_index.html XoopsModules/xpdf/releases/1.0/xpdf/xoops_version.php Modified: XoopsModules/xpdf/releases/1.0/xpdf/admin/documents.php =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/admin/documents.php 2012-03-15 18:29:14 UTC (rev 9142) +++ XoopsModules/xpdf/releases/1.0/xpdf/admin/documents.php 2012-03-15 19:34:57 UTC (rev 9143) @@ -150,10 +150,14 @@ //Form doc_cid $obj->setVar("doc_cid", $_REQUEST["doc_cid"]); + //Form doc_filename + $obj->setVar("doc_filename", strtolower($_REQUEST["doc_filename"])); //Form doc_title $obj->setVar("doc_title", $_REQUEST["doc_title"]); //Form doc_description $obj->setVar("doc_description", $_REQUEST["doc_description"]); + //Form doc_image + $obj->setVar("doc_image", $_REQUEST["doc_image"]); //Form doc_subject $obj->setVar("doc_subject", $_REQUEST["doc_subject"]); //Form doc_description @@ -237,7 +241,7 @@ // --------------------------------------------------------- // Close and output PDF document // This method has several options, check the source code documentation for more information. - $pdf_file = XOOPS_UPLOAD_PATH."/xpdf/doc/".str_replace(" ", "_", strtolower($obj->getVar("doc_title"))).".pdf"; + $pdf_file = XOOPS_UPLOAD_PATH."/xpdf/doc/".strtolower($obj->getVar("doc_filename")).".pdf"; $pdf->Output($pdf_file, 'F'); break; Modified: XoopsModules/xpdf/releases/1.0/xpdf/class/xpdf_doc.php =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/class/xpdf_doc.php 2012-03-15 18:29:14 UTC (rev 9142) +++ XoopsModules/xpdf/releases/1.0/xpdf/class/xpdf_doc.php 2012-03-15 19:34:57 UTC (rev 9143) @@ -53,8 +53,10 @@ $this->XoopsObject(); $this->initVar("doc_id", XOBJ_DTYPE_INT, null, false, 5); $this->initVar("doc_cid", XOBJ_DTYPE_INT, null, false, 5); + $this->initVar("doc_filename", XOBJ_DTYPE_TXTBOX, null, false, 50); $this->initVar("doc_title", XOBJ_DTYPE_TXTBOX, null, false, 255); $this->initVar("doc_description", XOBJ_DTYPE_TXTAREA, null, false); + $this->initVar("doc_image", XOBJ_DTYPE_TXTBOX, null, false, 30); $this->initVar("doc_subject", XOBJ_DTYPE_TXTBOX, null, false, 100); $this->initVar("doc_keywords", XOBJ_DTYPE_TXTBOX, null, false, 255); $this->initVar("doc_submitter", XOBJ_DTYPE_INT, null, false, 10); @@ -86,6 +88,8 @@ $form = new XoopsThemeForm($title, "form", $action, "post", true); $form->setExtra('enctype="multipart/form-data"'); // + $form->addElement(new XoopsFormText(_FILENAME, "doc_filrname", 50, 255, $this->getVar("doc_filrname")), true); + // $form->addElement(new XoopsFormText(_TITLE, "doc_title", 50, 255, $this->getVar("doc_title")), true); // include_once(XOOPS_ROOT_PATH."/class/tree.php"); @@ -108,6 +112,8 @@ $editor_configs["height"] = "400px"; $editor_configs["editor"] = $GLOBALS['xoopsModuleConfig']['xpdf_editor']; $form->addElement( new XoopsFormEditor(_DESCRIPTION, "doc_description", $editor_configs), true); + // + $form->addElement(new XoopsFormText(_IMAGE, "doc_image", 50, 255, $this->getVar("doc_image")), true); // submitter $form->addElement(new XoopsFormSelectUser(_SUBMITTER, "doc_submitter", false, $this->getVar("doc_submitter"), 1, false), true); // keywords Modified: XoopsModules/xpdf/releases/1.0/xpdf/docs/changelog.txt =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/docs/changelog.txt 2012-03-15 18:29:14 UTC (rev 9142) +++ XoopsModules/xpdf/releases/1.0/xpdf/docs/changelog.txt 2012-03-15 19:34:57 UTC (rev 9143) @@ -1,5 +1,10 @@ +==================================== + 2012/03/15 19:54:55 Version 1.01 alpha 2 +==================================== +- Added makefile.php from tcpdf library (Timgno) +- More code in file index.php and template (Timgno) ==================================== - 2012/02/05 1:04:25 Version 1.01 alpha + 2012/02/05 1:04:25 Version 1.01 alpha 1 ==================================== - Original release xpdf (TXMod Xoops) Modified: XoopsModules/xpdf/releases/1.0/xpdf/header.php =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/header.php 2012-03-15 18:29:14 UTC (rev 9142) +++ XoopsModules/xpdf/releases/1.0/xpdf/header.php 2012-03-15 19:34:57 UTC (rev 9143) @@ -55,17 +55,11 @@ $groups = XOOPS_GROUP_ANONYMOUS; } xoops_loadLanguage("admin", $xoopsModule->getVar("dirname", "e")); -/* -$perm_approve = ($gperm_handler->checkRight('xpdf_ac', 4, $groups, $xoopsModule->getVar('mid'))) ? true : false ; -$perm_submit = ($gperm_handler->checkRight('xpdf_ac', 8, $groups, $xoopsModule->getVar('mid'))) ? true : false ; -$perm_view = ($gperm_handler->checkRight('xpdf_ac', 16, $groups, $xoopsModule->getVar('mid'))) ? true : false ; -$perm_down = ($gperm_handler->checkRight('xpdf_ac', 32, $groups, $xoopsModule->getVar('mid'))) ? true : false ; -$perm_autoapprove = ($gperm_handler->checkRight('xpdf_ac', 64, $groups, $xoopsModule->getVar('mid'))) ? true : false ;*/ $perm_submit = ($gperm_handler->checkRight('xpdf_ac', 4, $groups, $xoopsModule->getVar('mid'))) ? true : false ; $perm_modif = ($gperm_handler->checkRight('xpdf_ac', 8, $groups, $xoopsModule->getVar('mid'))) ? true : false ; $perm_vote = ($gperm_handler->checkRight('xpdf_ac', 16, $groups, $xoopsModule->getVar('mid'))) ? true : false ; -$perm_upload = ($gperm_handler->checkRight('xpdf_ac', 32, $groups, $xoopsModule->getVar('mid'))) ? true : false ; +$perm_down = ($gperm_handler->checkRight('xpdf_ac', 32, $groups, $xoopsModule->getVar('mid'))) ? true : false ; $perm_autoapprove = ($gperm_handler->checkRight('xpdf_ac', 64, $groups, $xoopsModule->getVar('mid'))) ? true : false ; // For the files Modified: XoopsModules/xpdf/releases/1.0/xpdf/include/functions.php =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/include/functions.php 2012-03-15 18:29:14 UTC (rev 9142) +++ XoopsModules/xpdf/releases/1.0/xpdf/include/functions.php 2012-03-15 19:34:57 UTC (rev 9143) @@ -63,6 +63,21 @@ } } +function xpdf_MygetItemIds($permtype,$dirname) +{ + global $xoopsUser; + static $permissions = array(); + if(is_array($permissions) && array_key_exists($permtype, $permissions)) { + return $permissions[$permtype]; + } + $module_handler =& xoops_gethandler('module'); + $xpdfModule =& $module_handler->getByDirname($dirname); + $groups = is_object($xoopsUser) ? $xoopsUser->getGroups() : XOOPS_GROUP_ANONYMOUS; + $gperm_handler =& xoops_gethandler('groupperm'); + $categories = $gperm_handler->getItemIds($permtype, $groups, $xpdfModule->getVar('mid')); + return $categories; +} + function xpdf_CleanVars( &$global, $key, $default = '', $type = 'int' ) { switch ( $type ) { case 'string': Modified: XoopsModules/xpdf/releases/1.0/xpdf/include/install.php =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/include/install.php 2012-03-15 18:29:14 UTC (rev 9142) +++ XoopsModules/xpdf/releases/1.0/xpdf/include/install.php 2012-03-15 19:34:57 UTC (rev 9143) @@ -36,44 +36,44 @@ * **************************************************************************** */ -$indexFile = XOOPS_ROOT_PATH."/modules/TDMCreate/include/index.html"; -$blankFile = XOOPS_ROOT_PATH."/modules/TDMCreate/images/deco/blank.gif"; +$indexFile = XOOPS_UPLOAD_PATH."/index.html"; +$blankFile = XOOPS_UPLOAD_PATH."/blank.gif"; //Creation du dossier "uploads" pour le module à la racine du site -$module_uploads = XOOPS_ROOT_PATH."/uploads/xpdf"; +$module_uploads = XOOPS_UPLOAD_PATH."/xpdf"; if(!is_dir($module_uploads)) mkdir($module_uploads, 0777); chmod($module_uploads, 0777); -copy($indexFile, XOOPS_ROOT_PATH."/uploads/xpdf/index.html"); +copy($indexFile, XOOPS_UPLOAD_PATH."/xpdf/index.html"); //Creation du fichier cat dans uploads -$module_uploads = XOOPS_ROOT_PATH."/uploads/xpdf/images"; +$module_uploads = XOOPS_UPLOAD_PATH."/xpdf/images"; if(!is_dir($module_uploads)) mkdir($module_uploads, 0777); chmod($module_uploads, 0777); -copy($indexFile, XOOPS_ROOT_PATH."/uploads/xpdf/images/index.html"); +copy($indexFile, XOOPS_UPLOAD_PATH."/xpdf/images/index.html"); //Creation du fichier cat dans uploads -$module_uploads = XOOPS_ROOT_PATH."/uploads/xpdf/images/cat"; +$module_uploads = XOOPS_UPLOAD_PATH."/xpdf/images/cat"; if(!is_dir($module_uploads)) mkdir($module_uploads, 0777); chmod($module_uploads, 0777); -copy($indexFile, XOOPS_ROOT_PATH."/uploads/xpdf/images/cat/index.html"); -copy($blankFile, XOOPS_ROOT_PATH."/uploads/xpdf/images/cat/blank.gif"); +copy($indexFile, XOOPS_UPLOAD_PATH."/xpdf/images/cat/index.html"); +copy($blankFile, XOOPS_UPLOAD_PATH."/xpdf/images/cat/blank.gif"); //Creation du dossier "uploads" pour le module à la racine du site -$module_uploads = XOOPS_ROOT_PATH."/uploads/xpdf/images/doc"; +$module_uploads = XOOPS_UPLOAD_PATH."/xpdf/images/doc"; if(!is_dir($module_uploads)) mkdir($module_uploads, 0777); chmod($module_uploads, 0777); -copy($indexFile, XOOPS_ROOT_PATH."/uploads/xpdf/images/doc/index.html"); -copy($blankFile, XOOPS_ROOT_PATH."/uploads/xpdf/images/doc/blank.gif"); +copy($indexFile, XOOPS_UPLOAD_PATH."/xpdf/images/doc/index.html"); +copy($blankFile, XOOPS_UPLOAD_PATH."/xpdf/images/doc/blank.gif"); //Creation du fichier doc dans uploads -$module_uploads = XOOPS_ROOT_PATH."/uploads/xpdf/files"; +$module_uploads = XOOPS_UPLOAD_PATH."/xpdf/files"; if(!is_dir($module_uploads)) mkdir($module_uploads, 0777); chmod($module_uploads, 0777); -copy($indexFile, XOOPS_ROOT_PATH."/uploads/xpdf/files/index.html"); +copy($indexFile, XOOPS_UPLOAD_PATH."/xpdf/files/index.html"); ?> \ No newline at end of file Modified: XoopsModules/xpdf/releases/1.0/xpdf/index.php =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/index.php 2012-03-15 18:29:14 UTC (rev 9142) +++ XoopsModules/xpdf/releases/1.0/xpdf/index.php 2012-03-15 19:34:57 UTC (rev 9143) @@ -37,17 +37,62 @@ */ include "header.php"; - $xoopsOption['template_main'] = 'xpdf_index.html'; include_once XOOPS_ROOT_PATH."/header.php"; //keywords -$keywords = $xoopsModuleConfig['keywords']; +$keywords = ''; $keywords .= substr($keywords, 0); $xoTheme->addMeta('meta', 'keywords', $keywords); //description $xoTheme->addMeta('meta', 'description', _MD_XPDF_DESC); $xoopsTpl->assign('adv', $xoopsModuleConfig['advertise']); +$docHandler =& xoops_getModuleHandler("xpdf_doc", "xpdf"); +// Variables +$criteria = new CriteriaCompo(); +$criteria->add(new CriteriaCompo('doc_id', 0, '>')); +$criteria->setSort("doc_created"); +$criteria->setOrder("DESC"); +$numrows = $docHandler->getCount(); +if (isset($_REQUEST['limit'])) { + $criteria->setLimit($_REQUEST['limit']); + $limit = $_REQUEST['limit']; +} else { + $criteria->setLimit($GLOBALS['xoopsModuleConfig']['perpageuser']); + $limit = $GLOBALS['xoopsModuleConfig']['perpageuser']; +} +if (isset($_REQUEST['start'])) { + $criteria->setStart($_REQUEST['start']); + $start = $_REQUEST['start']; +} else { + $criteria->setStart(0); + $start = 0; +} +$feed_arr = $docHandler->getall($criteria); +if ( $numrows > $limit ) { + include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + $pagenav = new XoopsPageNav($numrows, $limit, $start, 'start', 'limit=' . $limit); + $pagenav = $pagenav->renderNav(4); +} else { + $pagenav = ''; +} +$GLOBALS['xoopsTpl']->assign('pagenav', $pagenav); +unset($criteria); +$count = 1; +//Affichage du tableau +if ($numrows>0) +{ + foreach (array_keys($feed_arr) as $i) + { + $doc_title = $feed_arr[$i]->getVar("doc_title"); + $doc_description = $feed_arr[$i]->getVar("doc_description"); + $doc_img = $feed_arr[$i]->getVar("doc_img"); + $doc_online = $feed_arr[$i]->getVar("doc_online"); + $image = "<img src='".XOOPS_UPLOAD_URL."/xpdf/images/".$doc_img."' title='".$doc_title."' alt='".$doc_title."' />"; + $GLOBALS['xoopsTpl']->append('pdfs', array('title' => $doc_title, 'description' => $doc_description, 'count' => $count, 'image' => $image, 'online' => $doc_online)); + $count++; + } +} if($xoopsModuleConfig['act_socialnetworks']== 1){ $social = $xoopsModuleConfig['socialnetworks']; Modified: XoopsModules/xpdf/releases/1.0/xpdf/makepdf.php =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/makepdf.php 2012-03-15 18:29:14 UTC (rev 9142) +++ XoopsModules/xpdf/releases/1.0/xpdf/makepdf.php 2012-03-15 19:34:57 UTC (rev 9143) @@ -1,151 +1,122 @@ <?php -// $Id: makepdf.php,v 1.1.4.2 2005/01/07 05:27:34 phppp Exp $ -// ------------------------------------------------------------------------ // -// 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 // -// ------------------------------------------------------------------------ // -// Author: Kazumi Ono (AKA onokazu) // -// URL: http://www.myweb.ne.jp/, http://www.xoops.org/, http://jp.xoops.org/ // -// Project: The XOOPS Project // -// ------------------------------------------------------------------------- // - +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * XPDF - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package xpdf + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sun 2012/02/05 1:04:25 : Timgno Exp $ + * **************************************************************************** + */ error_reporting(0); -include_once 'header.php'; +include 'header.php'; -$lid = isset($_GET['doc_id']) ? intval($_GET['doc_id']) : 0; -$cid = isset($_GET['doc_cid']) ? intval($_GET['doc_cid']) : 0; -if ( empty($lid) ) { - die("No lid!"); -} elseif ( empty($cid) ) { - die("No cid!"); -} +$lid = xpdf_CleanVars( $_REQUEST, 'doc_id', 0, 'int' ); +$cid = xpdf_CleanVars( $_REQUEST, 'doc_cid', 0, 'int' ); +$docHandler =& xoops_getModuleHandler("xpdf_doc", "xpdf"); +$criteria = new CriteriaCompo(); +$criteria->add(new Criteria('doc_id', $lid, 'AND')); +$criteria->add(new Criteria('doc_cid', $cid)); +$criteria->add(new Criteria('doc_status', 0, '>')); +$doc_all = $docHandler->getall($criteria); -$result = $xoopsDB->query("select doc_id, doc_cid, doc_title, doc_description, doc_status, doc_published, doc_created from ".$xoopsDB->prefix("xpdf_doc")." where doc_id=$lid and doc_status>0"); +require_once XOOPS_ROOT_PATH.'/Frameworks/tcpdf/config/lang/eng.php'; +require_once XOOPS_ROOT_PATH.'/Frameworks/tcpdf/tcpdf.php'; -list($doc_id, $doc_cid, $doc_title, $doc_description, $doc_status, $doc_published, $doc_created) = $xoopsDB->fetchRow($result); - -if ( empty($doc_id) ) { - die("No data! Please check its doc_cid and doc_id!"); +foreach($doc_all as $doc) { + $pdf_data['title'] = $doc->getVar('doc_title'); + $pdf_data['filename'] = $doc->getVar('doc_filename'); + $pdf_data['subject'] = $doc->getVar('doc_subject'); + $pdf_data['published'] = formatTimestamp($doc->getVar('doc_published')); + $pdf_data['creator'] = $xoopsConfig['sitename']; + $pdf_data['content'] = $doc->getVar('doc_description', 'n'); + $pdf_data['author'] = $doc->getVar('doc_submitter'); } -$can_pdf = 0; -if ( $mylinks_can_pdf == 0 ) { - $can_pdf = 0; -} -else if ( $mylinks_can_pdf == 1) { - $can_pdf = 1; -} -else if ( $mylinks_can_pdf == 2) { - if ( $xoopsUser ) { - $can_pdf =1; - } - else { - $can_pdf =0; - } -} -else { - $can_pdf = 0; -} +// create new PDF document +$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, _CHARSET, false); -if ( empty($can_pdf) ) { - die("Not allowed now!"); -} +$pdf->SetCreator($pdf_data['creator']); +$pdf->SetTitle($pdf_data['title']); +$pdf->SetAuthor($pdf_data['author']); +$pdf->SetSubject($pdf_data['subject']); +$pdf->SetKeywords('TCPDF, PDF, example, test, guide'); -$myts =& MyTextSanitizer::getInstance(); -require_once XOOPSMYLINKPATH.'/fpdf/fpdf.inc.php'; +// set default header data +$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 001', PDF_HEADER_STRING); -$pdf_data['title'] = $myts->makeTboxData4Show($ltitle); -$pdf_data['subtitle'] = ""; +// set header and footer fonts +$pdf->setHeaderFont(array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN)); +$pdf->setFooterFont(array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA)); -$pdf_data['subsubtitle'] = $myts->makeTboxData4Show($url); -$pdf_data['date'] = formatTimestamp($time); -$pdf_data['filename'] = ''; -$pdf_data['content'] = $myts->makeTareaData4Show($description,0); +// set default monospaced font +$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED); -$pdf_data['author'] = ""; +//set margins +$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT); +$pdf->SetHeaderMargin(PDF_MARGIN_HEADER); +$pdf->SetFooterMargin(PDF_MARGIN_FOOTER); -//Other stuff -$puff='<br />'; -$puffer='<br /><br /><br />'; +//set auto page breaks +$pdf->SetAutoPageBreak(true, PDF_MARGIN_BOTTOM); -//create the A4-PDF... -$pdf_config['slogan']=$xoopsConfig['sitename'].' - '.$xoopsConfig['slogan']; +//set image scale factor +$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); +//set some language-dependent strings +$pdf->setLanguageArray($l); -$pdf=new PDF(); -if(method_exists($pdf, "encoding")){ - $pdf->encoding($pdf_data, _CHARSET); -} -$pdf->SetCreator($pdf_config['creator']); -$pdf->SetTitle($pdf_data['title']); -$pdf->SetAuthor($pdf_config['url']); -$pdf->SetSubject($pdf_data['author']); -$out=$pdf_config['url'].', '.$pdf_data['author'].', '.$pdf_data['title'].', '.$pdf_data['subtitle'].', '.$pdf_data['subsubtitle']; -$pdf->SetKeywords($out); -$pdf->SetAutoPageBreak(true,25); -$pdf->SetMargins($pdf_config['margin']['left'],$pdf_config['margin']['top'],$pdf_config['margin']['right']); -$pdf->Open(); +// --------------------------------------------------------- -//First page -$pdf->AddPage(); -$pdf->SetXY(24,25); -$pdf->SetTextColor(10,60,160); -$pdf->SetFont($pdf_config['font']['slogan']['family'],$pdf_config['font']['slogan']['style'],$pdf_config['font']['slogan']['size']); -$pdf->WriteHTML($pdf_config['slogan'], $pdf_config['scale']); -//$pdf->Image($pdf_config['logo']['path'],$pdf_config['logo']['left'],$pdf_config['logo']['top'],$pdf_config['logo']['width'],$pdf_config['logo']['height'],'',$pdf_config['url']); -$pdf->Line(25,30,190,30); -$pdf->SetXY(25,35); -$pdf->SetFont($pdf_config['font']['title']['family'],$pdf_config['font']['title']['style'],$pdf_config['font']['title']['size']); -$pdf->WriteHTML($pdf_data['title'],$pdf_config['scale']); +// set default font subsetting mode +$pdf->setFontSubsetting(true); -if ($pdf_data['subtitle']<>''){ - $pdf->WriteHTML($puff,$pdf_config['scale']); - $pdf->SetFont($pdf_config['font']['subtitle']['family'],$pdf_config['font']['subtitle']['style'],$pdf_config['font']['subtitle']['size']); - $pdf->WriteHTML($pdf_data['subtitle'],$pdf_config['scale']); -} -if ($pdf_data['subsubtitle']<>'') { - $pdf->WriteHTML($puff,$pdf_config['scale']); - $pdf->SetFont($pdf_config['font']['subsubtitle']['family'],$pdf_config['font']['subsubtitle']['style'],$pdf_config['font']['subsubtitle']['size']); - $pdf->WriteHTML($pdf_data['subsubtitle'],$pdf_config['scale']); -} +// Set font +// dejavusans is a UTF-8 Unicode font, if you only need to +// print standard ASCII chars, you can use core fonts like +// helvetica or times to reduce file size. +$pdf->SetFont('dejavusans', '', 14, '', true); -$pdf->WriteHTML($puff,$pdf_config['scale']); -$pdf->SetFont($pdf_config['font']['author']['family'],$pdf_config['font']['author']['style'],$pdf_config['font']['author']['size']); -$out=''; -$out.=$pdf_data['author']; -$pdf->WriteHTML($out,$pdf_config['scale']); -$pdf->WriteHTML($puff,$pdf_config['scale']); -$out='Date:'; -$out.=$pdf_data['date']; -$pdf->WriteHTML($out,$pdf_config['scale']); -$pdf->WriteHTML($puff,$pdf_config['scale']); +// Add a page +// This method has several options, check the source code documentation for more information. +$pdf->AddPage(); -$pdf->SetTextColor(0,0,0); -$pdf->WriteHTML($puffer,$pdf_config['scale']); +// Set some content to print +$html = $pdf_data['content']; -$pdf->SetFont($pdf_config['font']['content']['family'],$pdf_config['font']['content']['style'],$pdf_config['font']['content']['size']); -$pdf->WriteHTML($pdf_data['content'],$pdf_config['scale']); +// Print text using writeHTMLCell() +$pdf->writeHTMLCell($w=0, $h=0, $x='', $y='', $html, $border=0, $ln=1, $fill=0, $reseth=true, $align='', $autopadding=true); -//$pdf->Output($pdf_data['filename'],''); -$pdf->Output(); +// --------------------------------------------------------- + +// Close and output PDF document +// This method has several options, check the source code documentation for more information. +$pdf->Output($pdf_data['filename'].'.pdf', 'I'); ?> \ No newline at end of file Modified: XoopsModules/xpdf/releases/1.0/xpdf/sql/mysql.sql =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/sql/mysql.sql 2012-03-15 18:29:14 UTC (rev 9142) +++ XoopsModules/xpdf/releases/1.0/xpdf/sql/mysql.sql 2012-03-15 19:34:57 UTC (rev 9143) @@ -6,31 +6,33 @@ CREATE TABLE `xpdf_cat` ( `cat_id` int (5) unsigned NOT NULL auto_increment, `cat_pid` int (5) unsigned NOT NULL default '0', -`cat_title` varchar (255) NOT NULL default ' ', -`cat_imgurl` varchar (255) NOT NULL default ' ', -`cat_description` text NOT NULL , -`cat_weight` int (11) NOT NULL default '0', +`cat_title` varchar (255) NOT NULL default ' ', +`cat_imgurl` varchar (255) NOT NULL default ' ', +`cat_description` text NOT NULL , +`cat_weight` int (11) NOT NULL default '0', PRIMARY KEY (`cat_id`), KEY `cat_pid` (`cat_pid`) ) ENGINE=MyISAM; # -# Table structure for table `xpdf_doc` 10 +# Table structure for table `xpdf_doc` 15 # CREATE TABLE `xpdf_doc` ( `doc_id` int (5) unsigned NOT NULL auto_increment, -`doc_cid` int (5) NOT NULL default '0', -`doc_title` varchar (255) NOT NULL default ' ', -`doc_description` text NOT NULL , -`doc_subject` varchar (255) NOT NULL default ' ', -`doc_keywords` varchar (255) NOT NULL default ' ', -`doc_submitter` int (10) NOT NULL default '0', -`doc_created` int (10) NOT NULL default '0000-00-00', -`doc_published` int (10) NOT NULL default '0000-00-00', -`doc_weight` int (11) NOT NULL default '0', -`doc_status` tinyint (1) NOT NULL default '0', -`doc_waiting` tinyint (1) NOT NULL default '0', -`doc_online` tinyint (1) NOT NULL default '0', +`doc_cid` int (5) NOT NULL default '0', +`doc_filename` varchar (50) NOT NULL default '', +`doc_title` varchar (255) NOT NULL default '', +`doc_description` text NOT NULL , +`doc_image` varchar (30) NOT NULL default '', +`doc_subject` varchar (255) NOT NULL default '', +`doc_keywords` varchar (255) NOT NULL default '', +`doc_submitter` int (10) NOT NULL default '0', +`doc_created` int (10) NOT NULL default '0', +`doc_published` int (10) NOT NULL default '0', +`doc_weight` int (11) NOT NULL default '0', +`doc_status` tinyint (1) NOT NULL default '0', +`doc_waiting` tinyint (1) NOT NULL default '0', +`doc_online` tinyint (1) NOT NULL default '0', PRIMARY KEY (`doc_id`), KEY `doc_cid` (`doc_cid`) ) ENGINE=MyISAM; \ No newline at end of file Modified: XoopsModules/xpdf/releases/1.0/xpdf/templates/xpdf_index.html =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/templates/xpdf_index.html 2012-03-15 18:29:14 UTC (rev 9142) +++ XoopsModules/xpdf/releases/1.0/xpdf/templates/xpdf_index.html 2012-03-15 19:34:57 UTC (rev 9143) @@ -1,9 +1,33 @@ <{include file="db:xpdf_header.html"}> <div class="outer"> - <div class = "center">XPDF</div> +<{if count($pdfs) gt 0}> + <table border="0" cellpadding="2" cellspacing="2"> + <tr> + <!-- Start pdfs loop --> + <{foreach item=pdf from=$pdfs }> + <{if $pdf.online == 1 }> + <td> + <table border="0" cellpadding="2" cellspacing="2"> + <tr class="even center"> + <th class="title" colspan="2"><span><{$pdf.title}></span></th> + </tr> + <tr class="odd center"> + <td class="image" valign="middle"><{$pdf.image}></td> + <td class="image" valign="top"><{$pdf.description}></td> + </tr> + <tr class="even"> + <td class="view" colspan="2"><a href="<{$xoops_url}>/modules/xpdf/index.php?doc_title=<{$pdf.doc_title}>"> </a></td> + </tr> + </table> + </td> + <{/if}> + <{if $pdf.count is div by $divideby}> + </tr><tr> + <{/if}> + <{/foreach}> + <!-- End pdfs loop --> + </tr> +</table> +<{/if}> </div> -<div class="outer"> - <div class = "center">Xpdf</div> - <br /> -</div> <{include file="db:xpdf_footer.html"}> Modified: XoopsModules/xpdf/releases/1.0/xpdf/xoops_version.php =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/xoops_version.php 2012-03-15 18:29:14 UTC (rev 9142) +++ XoopsModules/xpdf/releases/1.0/xpdf/xoops_version.php 2012-03-15 19:34:57 UTC (rev 9143) @@ -48,13 +48,13 @@ $modversion['author_website_url'] = "http://www.txmodxoops.org"; $modversion['author_website_name'] = "TXMod Xoops"; $modversion['credits'] = "Timgno"; -$modversion['license'] = "Only personal usage"; +$modversion['license'] = "Only for personal use"; $modversion['help'] = "page=help"; $modversion['license_url'] = "http://www.txmodxoops.org"; -$modversion['release_info'] = "Alpha 1 05/02/2012"; +$modversion['release_info'] = "Alpha 2 15/03/2012"; $modversion['release_file'] = XOOPS_URL."/modules/".$dirname."/docs/readme.txt"; -$modversion['release_date'] = "2012/02/05"; +$modversion['release_date'] = "2012/03/01"; $modversion['manual'] = "Install Manual"; $modversion['manual_file'] = XOOPS_URL."/modules/".$dirname."/docs/install.txt"; @@ -76,8 +76,8 @@ $modversion['forum_site_name'] = "TXMod Xoops Community"; $modversion['module_website_url'] = "http://www.txmodxoops.org/"; $modversion['module_website_name'] = "TXMod Xoops"; -$modversion['release'] = "05-02-2012"; -$modversion['module_status'] = "Alpha 1"; +$modversion['release'] = "15-03-2012"; +$modversion['module_status'] = "Alpha 2"; // Admin things $modversion['hasAdmin'] = 1; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-03-15 18:29:24
|
Revision: 9142 http://xoops.svn.sourceforge.net/xoops/?rev=9142&view=rev Author: djculex Date: 2012-03-15 18:29:14 +0000 (Thu, 15 Mar 2012) Log Message: ----------- deleting .bak files Removed Paths: ------------- XoopsLanguages/danish/core/2.5.4/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/findusers.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/global.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/pmsg.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/user.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/modules/pm/language/danish/main.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/modules/profile/language/danish/admin.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/modules/profile/language/danish/modinfo.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/blocksadmin.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/tplsets.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/users.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/xoops_lib/modules/protector/language/danish/admin.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/xoops_lib/modules/protector/language/danish/modinfo.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/findusers.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/global.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/pmsg.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/user.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/modules/pm/language/danish/main.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/modules/profile/language/danish/admin.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/modules/profile/language/danish/modinfo.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/blocksadmin.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/tplsets.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/users.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/xoops_lib/modules/protector/language/danish/admin.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/xoops_lib/modules/protector/language/danish/modinfo.php.bak Deleted: XoopsLanguages/danish/core/2.5.4/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php.bak =================================================================== --- XoopsLanguages/danish/core/2.5.4/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php.bak 2012-03-15 18:25:29 UTC (rev 9141) +++ XoopsLanguages/danish/core/2.5.4/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php.bak 2012-03-15 18:29:14 UTC (rev 9142) @@ -1,26 +0,0 @@ -<?php -/** -* PHPMailer language file: refer to English translation for definitive list -* Danish Version -* Author: Mikael Stokkebro <in...@st...> -*/ - -$PHPMAILER_LANG['authenticate'] = 'SMTP fejl: Kunne ikke logge p\xE5.'; -$PHPMAILER_LANG['connect_host'] = 'SMTP fejl: Kunne ikke tilslutte SMTP serveren.'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP fejl: Data kunne ikke accepteres.'; -//$PHPMAILER_LANG['empty_message'] = 'Message body empty'; -$PHPMAILER_LANG['encoding'] = 'Ukendt encode-format: '; -$PHPMAILER_LANG['execute'] = 'Kunne ikke k\xF8re: '; -$PHPMAILER_LANG['file_access'] = 'Ingen adgang til fil: '; -$PHPMAILER_LANG['file_open'] = 'Fil fejl: Kunne ikke \xE5bne filen: '; -$PHPMAILER_LANG['from_failed'] = 'F\xF8lgende afsenderadresse er forkert: '; -$PHPMAILER_LANG['instantiate'] = 'Kunne ikke initialisere email funktionen.'; -//$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' mailer underst\xF8ttes ikke.'; -$PHPMAILER_LANG['provide_address'] = 'Du skal indtaste mindst en modtagers emailadresse.'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP fejl: F\xF8lgende modtagere er forkerte: '; -//$PHPMAILER_LANG['signing'] = 'Signing Error: '; -//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; -//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; -//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; -?> \ No newline at end of file Deleted: XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/findusers.php.bak =================================================================== --- XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/findusers.php.bak 2012-03-15 18:25:29 UTC (rev 9141) +++ XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/findusers.php.bak 2012-03-15 18:29:14 UTC (rev 9142) @@ -1,65 +0,0 @@ -<?php -// $Id: findusers.php 4897 2010-06-19 02:55:48Z phppp $ -// _LANGCODE: en -// _CHARSET : UTF-8 -// Translator: XOOPS Translation Team -define("_MA_USER_MORE", "Søg brugere"); -define("_MA_USER_REMOVE", "Fjern markerede brugere"); - -//%%%%%% File Name findusers.php %%%%% -define("_MA_USER_ADD_SELECTED", "Tilføj valgte brugere"); -define("_MA_USER_GROUP", "Gruppe"); -define("_MA_USER_LEVEL", "Niveau"); -define("_MA_USER_LEVEL_ACTIVE", "Aktive"); -define("_MA_USER_LEVEL_INACTIVE", "Inaktive"); -define("_MA_USER_LEVEL_DISABLED", "Disabled"); -define("_MA_USER_RANK", "Rang"); -define("_MA_USER_FINDUS", "Find brugere"); -define("_MA_USER_AVATAR", "Avatar"); -define("_MA_USER_REALNAME", "Rigtige navn"); -define("_MA_USER_REGDATE", "Indmeldt dato"); -define("_MA_USER_EMAIL", "E-mail"); -define("_MA_USER_PREVIOUS", "Forrige"); -define("_MA_USER_NEXT", "Næste"); -define("_MA_USER_USERSFOUND", "%s bruger(e) fundet"); -define("_MA_USER_ACTUS", "Aktive brugere: %s "); -define("_MA_USER_INACTUS", "Inaktive brugere: %s "); -define("_MA_USER_NOFOUND", "Ingen brugere fundet"); -define("_MA_USER_UNAME", "Bruger navn"); -define("_MA_USER_ICQ", "ICQ"); -define("_MA_USER_AIM", "AIM"); -define("_MA_USER_YIM", "YIM"); -define("_MA_USER_MSNM", "MSNM"); -define("_MA_USER_LOCATION", "Beliggenhed indeholder"); -define("_MA_USER_OCCUPATION", "Beskæftigelse indeholder"); -define("_MA_USER_INTEREST", "Interesse indeholder"); -define("_MA_USER_URLC", "URL indeholder"); -define("_MA_USER_SORT", "Sorter efter"); -define("_MA_USER_ORDER", "Sortering"); -define("_MA_USER_LASTLOGIN", "Sidste login"); -define("_MA_USER_POSTS", "Antal indlæg"); -define("_MA_USER_ASC", "Stigende orden"); -define("_MA_USER_DESC", "Faldende orden"); -define("_MA_USER_LIMIT", "Antal brugere per side"); -define("_MA_USER_RESULTS", "Søgeresultater"); -define("_MA_USER_SHOWMAILOK", "Type af brugere som skal vises"); -define("_MA_USER_MAILOK", "Kun brugere der accepterer mail"); -define("_MA_USER_MAILNG", "Kun brugere, som ikke acceptere mail"); -define("_MA_USER_BOTH", "Alle"); -define("_MA_USER_RANGE_LAST_LOGIN", "Logget ind i de sidste <span style=\'color:#ff0000;\'>X</span> dage"); -define("_MA_USER_RANGE_USER_REGDATE", "Registreret i de tidligere <span style=\'color:#ff0000;\'>X</span> dage"); -define("_MA_USER_RANGE_POSTS", "Indlæg"); -define("_MA_USER_HASAVATAR", "Har avatar"); -define("_MA_USER_MODE_SIMPLE", "Simpel måde"); -define("_MA_USER_MODE_ADVANCED", "Avanceret måde"); -define("_MA_USER_MODE_QUERY", "Forespørgsel måde"); -define("_MA_USER_QUERY", "Forespørgsel"); -define("_MA_USER_SEARCHAGAIN", "Søg igen"); -define("_MA_USER_NOUSERSELECTED", "Ingen valgte bruger"); -define("_MA_USER_USERADDED", "Brugere er blevet tilføjet"); -define("_MA_USER_SENDMAIL", "Send Email"); - -//2.5.4 -define('_MA_USER_FACEBOOK', 'Facebook Link'); //TO DO -define('_MA_USER_SKYPE', 'Skype Link');//TO DO -?> \ No newline at end of file Deleted: XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/global.php.bak =================================================================== --- XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/global.php.bak 2012-03-15 18:25:29 UTC (rev 9141) +++ XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/global.php.bak 2012-03-15 18:29:14 UTC (rev 9142) @@ -1,216 +0,0 @@ -<?php -// $Id: global.php 8066 2011-11-06 05:09:33Z beckmi $ -// _LANGCODE: en -// _CHARSET : UTF-8 -// Translator: XOOPS Translation Team -define("_PLEASEWAIT", "Vent venligst"); -define("_FETCHING", "Indlæser ..."); -define("_TAKINGBACK", "Bringer dig tilbage til hvor du var ...."); -define("_LOGOUT", "Log ud"); -define("_SUBJECT", "Om"); -define("_MESSAGEICON", "Meddelelses ikon"); -define("_COMMENTS", "Kommentarer"); -define("_POSTANON", "Post anonymt"); -define("_DISABLESMILEY", "Deaktiver smiley"); -define("_DISABLEHTML", "Deaktiver html"); -define("_PREVIEW", "Prøvevisning"); -define("_GO", "OK!"); -define("_NESTED", "Nedarvet"); -define("_NOCOMMENTS", "Ingen kommentarer"); -define("_FLAT", "Flad"); -define("_THREADED", "Tråd"); -define("_OLDESTFIRST", "Ældste først"); -define("_NEWESTFIRST", "Nyeste først"); -define("_MORE", "mere ..."); -define("_MULTIPAGE", "For at få din artikel til at strækker sig over flere sider, indsætte ordet <font color=red>[pagebreak]</font> (med specialtegn) i artiklen."); -define("_IFNOTRELOAD", "Hvis siden ikke automatisk indlæser, klik <a href=\'%s\'>her</a>"); -// Error messages issued by XoopsObject::cleanVars() -define("_XOBJ_ERR_REQUIRED", "%s er påkrævet"); -define("_XOBJ_ERR_SHORTERTHAN", "%s skal være kortere end %d tegn."); -// %%%%%% File Name themeuserpost.php %%%%% -define("_PROFILE", "Profil"); -define("_POSTEDBY", "Indsendt af"); -define("_VISITWEBSITE", "Besøg hjemmeside"); -define("_SENDPMTO", "Send privat besked til %s"); -define("_SENDEMAILTO", "Send email til %s"); -define("_ADD", "Tilføj"); -define("_REPLY", "Svar"); -define("_DATE", "Dato"); // Posted date -// %%%%%% File Name admin_functions.php %%%%% -define("_MAIN", "Hoved"); -define("_MANUAL", "Manuel"); -define("_INFO", "Info"); -define("_CPHOME", "Kontrolpanel"); -define("_YOURHOME", "Hjemmeside"); -// %%%%%% File Name misc.php (who's-online popup) %%%%% -define("_WHOSONLINE", "Hvem er Online"); -define("_GUESTS", "Gæster"); -define("_MEMBERS", "Medlemmer"); -define("_ONLINEPHRASE", "<strong>%s</strong> bruger(e) er online"); -define("_ONLINEPHRASEX", "<strong>%s</strong> bruger(e) kigger på <strong>%s </strong>"); -define("_CLOSE", "Luk"); // Close window -// %%%%%% File Name module.textsanitizer.php %%%%% -define("_QUOTEC", "Citat:"); -// %%%%%% File Name admin.php %%%%% -define("_NOPERM", "Beklager, du har ikke rettighed til dette område."); -// %%%%% Common Phrases %%%%% -define("_NO", "Nej"); -define("_YES", "Ja"); -define("_EDIT", "Redigér"); -define("_DELETE", "Slet"); -define("_SUBMIT", "Indsend"); -define("_MODULENOEXIST", "Valgte modul findes ikke!"); -define("_ALIGN", "Juster"); -define("_LEFT", "Venstre"); -define("_CENTER", "Center"); -define("_RIGHT", "Højre"); -define("_FORM_ENTER", "Indtast venligst %s"); -define("_MUSTWABLE", "Fil %s skal være skrivbar af serveren!"); // %s represents file name -// Module info -define("_PREFERENCES", "Indstillinger"); -define("_VERSION", "Version"); -define("_DESCRIPTION", "Beskrivelse"); -define("_AUTHOR", "Forfatter"); -define("_CREDITS", "Medvirkende"); -define("_LICENCE", "Licens"); -define("_ERRORS", "Fejl"); -define("_NONE", "Ingen"); -define("_ON", "den"); -define("_READS", "læst"); -define("_WELCOMETO", "Velkommen til %s"); -define("_SEARCH", "Søg"); -define("_ALL", "Alle"); -define("_TITLE", "Titel"); -define("_OPTIONS", "Muligheder"); -define("_QUOTE", "Citat"); -define("_LIST", "Liste"); -define("_LOGIN", "Bruger log ind"); -define("_USERNAME", "Brugernavn:"); -define("_PASSWORD", "Password:"); -define("_SELECT", "Vælg"); -define("_IMAGE", "Billed"); -define("_SEND", "Send"); -define("_CANCEL", "Annuller"); -define("_ASCENDING", "Stigende orden"); -define("_DESCENDING", "Faldende orden"); -define("_BACK", "Tilbage"); -define("_NOTITLE", "Ingen titel"); -/** -* Image manager -*/ -define("_MD_ADDIMGCAT","Tilføj kategori"); -define("_MD_IMGCATNAME","Kategori navn"); -define("_MD_IMGCATRGRP","Vælg grupper der kan bruge billedmanager"); -define("_MD_IMGCATWGRP","Vælg grupper der kan oploade billeder"); -define("_MD_IMGCATWEIGHT","visnings orden i billed manager"); -define("_MD_IMGCATDISPLAY","vis"); -define("_MD_IMGCATSTRTYPE","Billeder oploades til:"); -define("_MD_STRTYOPENG","Dette kan ikke ændres senere!"); -define("_MD_ASFILE","Gem som filer (i oploadsmappen)"); -define("_MD_INDB","Gem i databasen (som binary \"blob\" data)"); -define ("_MD_IMGMAIN","Kategori"); -define ("_MD_EDITIMGCAT", "Billed instillinger"); -define('_IMGMANAGER', 'Billed manager'); -define('_NUMIMAGES', '%s billeder'); -define('_ADDIMAGE', 'Tilføj billed'); -define('_IMAGENAME', 'Navn:'); -define('_IMGMAXSIZE', 'Max tilladte størrelse (bytes):'); -define('_IMGMAXWIDTH', 'Max tilladte bredte (pixels):'); -define('_IMGMAXHEIGHT', 'Max tilladte højde (pixels):'); -define('_IMAGECAT', 'Kategori:'); -define('_IMAGEFILE', 'Billed fil:'); -define('_IMGWEIGHT', 'visnings orden i billed manager:'); -define('_IMGDISPLAY', 'Vis dette billede?'); -define('_IMAGEMIME', 'MIME type:'); -define('_FAILFETCHIMG', 'Kunne ikke hente oploadet fil %s'); -define('_FAILSAVEIMG', 'FEJL ved gemning af billed %s i databasen'); -define('_NOCACHE', 'Ingen Cache'); -define('_CLONE', 'Clone'); -// %%%%% For xoopsform files %%%%% -define("_STARTSWITH", "Begynder med"); -define("_ENDSWITH", "Slutter med"); -define("_MATCHES", "Er lig med"); -define("_CONTAINS", "Indeholder"); -define("_REQUIRED", "Påkrævet"); -// %%%%%% File Name commentform.php %%%%% -define("_REGISTER", "Registrer"); -// %%%%%% File Name xoopscodes.php %%%%% -define('_SIZE', 'STØRRELSE'); // font size -define('_FONT', 'FONT'); // font family -define('_COLOR', 'FARVE'); // font color -define('_EXAMPLE', 'PRØVE'); -define('_ENTERURL', 'Skriv URL på det link du vil tilføje:'); -define('_ENTERWEBTITLE', 'Skriv sidens titel:'); -define('_ENTERIMGURL', 'Skriv URL på det billed du vil tilføje.'); -define('_ENTERIMGPOS', 'Position på billedet.'); -define('_IMGPOSRORL', '\'R\' eller \'r\' for right, \'L\' eller \'l\' for left, eller lad være tomt.'); -define('_ERRORIMGPOS', 'FEJÆ! Skriv position på billedet.'); -define('_ENTEREMAIL', 'Skriv email addressen du vil tilføje.'); -define('_ENTERCODE', 'Skriv coderne du vil tilføje.'); -define('_ENTERQUOTE', 'Skriv tekst du vil ha citeret.'); -define('_ENTERTEXTBOX', 'Skriv venligst tekst i boksen.'); -define('_ALLOWEDCHAR', 'Tilladt max tegnslængde: '); -define('_CURRCHAR', 'Nuværende tegnlængde: '); -define('_PLZCOMPLETE', 'Udfyld venligst emne og besked felt.'); -define('_MESSAGETOOLONG', 'Din besked er for lang.'); -/** -* xoops smilie -*/ -define('_AM_ADDSMILE',' Tilføj en ny smilie'); -define('_AM_SMILECODE','Kode'); -define('_AM_SMILEEMOTION','Beskrivelse'); -define('_AM_DISPLAYF','Vis i formen'); -// %%%%% TIME FORMAT SETTINGS %%%%% -define("_SECOND", "1 sekund"); -define("_SECONDS", "%s sekunder"); -define("_MINUTE", "1 minut"); -define("_MINUTES", "%s minutter"); -define("_HOUR", "1 time"); -define("_HOURS", "%s timer"); -define("_DAY", "1 dag"); -define("_DAYS", "%s dage"); -define("_WEEK", "1 uge"); -define("_MONTH", "1 måned"); -define("_DATESTRING", "j/n/Y G:i:s"); -define("_MEDIUMDATESTRING", "j/n/Y G:i"); -define("_SHORTDATESTRING", "j/n/Y"); -/** -* The following characters are recognized in the format string: -* a - 'am' or 'pm' -* A - 'AM' or 'PM' -* d - day of the month, 2 digits with leading zeros; i.e. '01' to '31' -* D - day of the week, textual, 3 letters; i.e. 'Fri' -* F - month, textual, long; i.e. 'January' -* h - hour, 12-hour format; i.e. '01' to '12' -* H - hour, 24-hour format; i.e. '00' to '23' -* g - hour, 12-hour format without leading zeros; i.e. '1' to '12' -* G - hour, 24-hour format without leading zeros; i.e. '0' to '23' -* i - minutes; i.e. '00' to '59' -* j - day of the month without leading zeros; i.e. '1' to '31' -* l (lowercase 'L') - day of the week, textual, long; i.e. 'Friday' -* L - boolean for whether it is a leap year; i.e. '0' or '1' -* m - month; i.e. '01' to '12' -* n - month without leading zeros; i.e. '1' to '12' -* M - month, textual, 3 letters; i.e. 'Jan' -* s - seconds; i.e. '00' to '59' -* S - English ordinal suffix, textual, 2 characters; i.e. 'th', 'nd' -* t - number of days in the given month; i.e. '28' to '31' -* T - Timezone setting of this machine; i.e. 'MDT' -* U - seconds since the epoch -* w - day of the week, numeric, i.e. '0' (Sunday) to '6' (Saturday) -* Y - year, 4 digits; i.e. '1999' -* y - year, 2 digits; i.e. '99' -* z - day of the year; i.e. '0' to '365' -* Z - timezone offset in seconds (i.e. '-43200' to '43200') -*/ -// %%%%% LANGUAGE SPECIFIC SETTINGS %%%%% -define("_CHARSET", "UTF-8"); -define("_LANGCODE", "da"); -// change 0 to 1 if this language is a multi-bytes language -define('XOOPS_USE_MULTIBYTES', '0'); -/** -* Additions to 2.4.0 -**/ -define("_RESET", "Nulstil"); -define("_RE", "Re:"); -?><?php // Translation done by xtransam & anderssk - 2010-10-11 22:40 ?> Deleted: XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/pmsg.php.bak =================================================================== --- XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/pmsg.php.bak 2012-03-15 18:25:29 UTC (rev 9141) +++ XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/pmsg.php.bak 2012-03-15 18:29:14 UTC (rev 9142) @@ -1,45 +0,0 @@ -<?php -// $Id: pmsg.php 4897 2010-06-19 02:55:48Z phppp $ -// _LANGCODE: en -// _CHARSET : UTF-8 -// Translator: XOOPS Translation Team -//%%%%%% File Name readpmsg.php %%%%% -define("_PM_DELETED", "Din(e) besked(er) er blevet slettet"); -define("_PM_PRIVATEMESSAGE", "Private meddelelser"); -define("_PM_INBOX", "Indbakke"); -define("_PM_FROM", "Fra"); -define("_PM_YOUDONTHAVE", "Du har ikke nogen private beskeder"); -define("_PM_FROMC", "Fra:"); -define("_PM_SENTC", "Sendt:"); // The date of message sent -define("_PM_PROFILE", "Profil"); -// %s is a username -define("_PM_PREVIOUS", "Forrige besked"); -define("_PM_NEXT", "Næste besked"); -//%%%%%% File Name pmlite.php %%%%% -define("_PM_SORRY", "Undskyld! Du er ikke en registreret bruger."); -define("_PM_REGISTERNOW", "Registrer dig nu!"); -define("_PM_GOBACK", "Gå tilbage"); -define("_PM_USERNOEXIST", "Den valgte bruger findes ikke i databasen."); -define("_PM_PLZTRYAGAIN", "Tjek venligst navnet og prøv igen."); -define("_PM_MESSAGEPOSTED", "Din besked er blevet sendt"); -define("_PM_CLICKHERE", "Du kan klikke her for at se dine private meddelelser"); -define("_PM_ORCLOSEWINDOW", "Eller klik her for at lukke dette vindue."); -define("_PM_USERWROTE", "%s skrev:"); -define("_PM_TO", "Til:"); -define("_PM_SUBJECTC", "Emne:"); -define("_PM_MESSAGEC", "Besked:"); -define("_PM_CLEAR", "Ryd"); -define("_PM_CANCELSEND", "Annuller send"); -define("_PM_SUBMIT", "Sennd"); -//%%%%%% File Name viewpmsg.php %%%%% -define("_PM_SUBJECT", "Om"); -define("_PM_DATE", "Dato"); -define("_PM_NOTREAD", "Ikke Læst"); -define("_PM_SEND", "Send"); -define("_PM_DELETE", "Slet"); -define("_PM_REPLY", "Svar"); -define("_PM_PLZREG", "Du skal registrerer din som bruger før du kan sende private meddelelser!"); -define("_PM_ONLINE", "Online"); -define('_PM_SURE_TO_DELETE',"Er du sikker på du vil slette besked(erne)?"); - -?><?php // Translation done by culex 06-10-2011 14:30 ?> \ No newline at end of file Deleted: XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/user.php.bak =================================================================== --- XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/user.php.bak 2012-03-15 18:25:29 UTC (rev 9141) +++ XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/user.php.bak 2012-03-15 18:29:14 UTC (rev 9142) @@ -1,131 +0,0 @@ -<?php -// $Id: user.php 4897 2010-06-19 02:55:48Z phppp $ -// _LANGCODE: en -// _CHARSET : UTF-8 -// Translator: XOOPS Translation Team -//%%%%%% File Name user.php %%%%% -define("_US_NOTREGISTERED", 'Ikke registreret? Klik <a href="register.php">her</a>.'); -define("_US_LOSTPASSWORD", "Mistet din adgangskode?"); -define("_US_NOPROBLEM", "Ingen problem. Du skal blot indtaste den e-mail-adresse, vi har registreret på din konto."); -define("_US_YOUREMAIL", "Din e-mail:"); -define("_US_SENDPASSWORD", "Send Password"); -define("_US_LOGGEDOUT", "Du er nu logget ud"); -define("_US_THANKYOUFORVISIT", "Tak for dit besøg på vores hjemmeside!"); -define("_US_INCORRECTLOGIN", "Forkert Log ind!"); -define("_US_LOGGINGU", "Tak fordi du logger ind, %s."); -// 2001-11-17 ADD -define("_US_NOACTTPADM", "Den valgte bruger er blevet deaktiveret eller ikke er blevet aktiveret endnu. <br /> Kontakt venligst administrator for detaljer."); -define("_US_ACTKEYNOT", "Aktiveringsnøgle ikke korrekt!"); -define("_US_ACONTACT", "Valgte konto er allerede aktiveret!"); -define("_US_ACTLOGIN", "Din konto er blevet aktiveret. Log ind med den registrerede adgangskode."); -define("_US_NOPERMISS", "Beklager, du har ikke rettigheder til at udføre denne handling!"); -define("_US_SURETODEL", "Er du sikker på du vil slette din konto?"); -define("_US_REMOVEINFO", "Dette vil fjerne alle dine info fra vores database."); -define("_US_BEENDELED", "Din konto er blevet slettet."); -define("_US_ACTFAILD", "Aktivering mislykkedes!"); -//%%%%%% File Name register.php %%%%% -define("_US_USERREG", "Bruger registrering"); -define("_US_NICKNAME", "Brugernavn"); -define("_US_EMAIL", "E-mail"); -define("_US_ALLOWVIEWEMAIL", "Tillad andre brugere at se din email adresse"); -define("_US_WEBSITE", "Website"); -define("_US_TIMEZONE", "Tids Zone"); -define("_US_AVATAR", "Avatar"); -define("_US_VERIFYPASS", "Bekræft adgangskode"); -define("_US_SUBMIT", "Indsend"); -define("_US_USERNAME", "Brugernavn"); -define("_US_FINISH", "Færdig"); -define("_US_REGISTERNG", "Kunne ikke registrere ny bruger."); -define("_US_MAILOK", "Modtag lejlighedsvise e-mail meddelelser <br /> fra administratorer og moderatorer?"); -define("_US_DISCLAIMER", "Ansvarsfraskrivelse"); -define("_US_IAGREE", "Jeg accepterer ovenstående"); -define("_US_UNEEDAGREE", "Beklager, du skal accepterer vores ansvarsfraskrivelse for at blive registreret."); -define("_US_NOREGISTER", "Beklager, vi tilbyder øjeblikket ikke nye bruger registreringer"); -// %s is username. This is a subject for email -define("_US_USERKEYFOR", "Bruger aktiveringsnøgle for %s"); -define("_US_YOURREGISTERED", "Du er nu registreret. En e-mail indeholdende en bruger aktiveringsnøgle er blevet sendt til den e-mail-konto du har opgivet. Følg instruktionerne i e-mailen for at aktivere din konto."); -define("_US_YOURREGMAILNG", "Du er nu registreret. Men vi var ude af stand til at sende aktiverings mail til din e-mail konto på grund af en intern fejl, der er opstået på vores server. Vi beklager ulejligheden. Du bedes sende webmaster en e-mail om situationen."); -define("_US_YOURREGISTERED2", "Du er nu registreret. Vent venligst til din konto skal aktiveres af adminstrators. Du vil modtage en e-mail, når du er aktiveret. Dette kan tage et stykke tid, så vær tålmodig."); -// %s is your site name -define("_US_NEWUSERREGAT", "Ny bruger registrering ved %s"); -// %s is a username -define("_US_HASJUSTREG", "%s har netop registreret!"); -define("_US_INVALIDMAIL", "FEJL: Ugyldig e-mail"); -define("_US_EMAILNOSPACES", "FEJL: E-mail adresser kan ikke indeholder mellemrum."); -define("_US_INVALIDNICKNAME", "FEJL: Ugyldigt brugernavn"); -define("_US_NICKNAMETOOLONG", "Brugernavn er for langt. Det skal være mindre end %s tegn."); -define("_US_NICKNAMETOOSHORT", "Brugernavn er for kort. Det skal være mere end %s tegn."); -define("_US_NAMERESERVED", "FEJL: Navn er reserveret."); -define("_US_NICKNAMENOSPACES", "Der kan ikke være nogen mellemrum i brugernavnet."); -define("_US_NICKNAMETAKEN", "FEJL: Brugernavn taget."); -define("_US_EMAILTAKEN", "FEJL: E-mail adressen er allerede registreret."); -define("_US_ENTERPWD", "FEJL: Du skal angive en adgangskode."); -define("_US_SORRYNOTFOUND", "Beklager, ingen tilsvarende brugerinfo fundet."); -// %s is your site name -define("_US_NEWPWDREQ", "Ny adgangskode anmodet hos %s"); -define("_US_YOURACCOUNT", "Din konto hos %s"); -define("_US_MAILPWDNG", "mail_password: kunne ikke opdatere brugerens adgang. Kontakt Administrator"); -// %s is a username -define("_US_PWDMAILED", "Adgangskode for %s mailes."); -define("_US_CONFMAIL", "Bekræftelse Mail for %s mailes."); -define("_US_ACTVMAILNG", "Mislykket afsendelse af anmeldelsen mail til %s"); -define("_US_ACTVMAILOK", "Anmeldelse mail til %s afsendt."); -//%%%%%% File Name userinfo.php %%%%% -define("_US_SELECTNG", "Ingen brugeren valgt! Gå venligst tilbage og prøv igen."); -define("_US_PM", "PM"); -define("_US_ICQ", "ICQ"); -define("_US_AIM", "AIM"); -define("_US_YIM", "YIM"); -define("_US_MSNM", "MSNM"); -define("_US_LOCATION", "Beliggenhed"); -define("_US_OCCUPATION", "Beskæftigelse"); -define("_US_INTEREST", "Interesser"); -define("_US_SIGNATURE", "Underskrift"); -define("_US_EXTRAINFO", "Ekstra Info"); -define("_US_EDITPROFILE", "Redigér profil"); -define("_US_LOGOUT", "Log ud"); -define("_US_INBOX", "Indbakke"); -define("_US_MEMBERSINCE", "Medlem siden"); -define("_US_RANK", "Rang"); -define("_US_POSTS", "Kommentarer/indlæg"); -define("_US_LASTLOGIN", "Sidste login"); -define("_US_ALLABOUT", "Alt om %s"); -define("_US_STATISTICS", "Statistik"); -define("_US_MYINFO", "Min Info"); -define("_US_BASICINFO", "Grundlæggende oplysninger"); -define("_US_MOREABOUT", "Mere om mig"); -define("_US_SHOWALL", "Vis alle"); -//%%%%%% File Name edituser.php %%%%% -define("_US_PROFILE", "Profil"); -define("_US_REALNAME", "Rigtige navn"); -define("_US_SHOWSIG", "Vedhæft altid min signatur"); -define("_US_CDISPLAYMODE", "Kommentarer visnings måde"); -define("_US_CSORTORDER", "Kommentarer sorteringsrækkefølge"); -define("_US_PASSWORD", "Adgangskode"); -define("_US_TYPEPASSTWICE", "(Skriv et ny adgangskode to gange for at ændre det)"); -define("_US_SAVECHANGES", "Gem ændringer"); -define("_US_NOEDITRIGHT", "Beklager, men du har ikke ret til at redigere denne brugers info."); -define("_US_PASSNOTSAME", "Begge adgangskoder er forskellige. De skal være identiske."); -define("_US_PWDTOOSHORT", "Beklager, adgangskoden skal du være <strong>mindst %s</strong> tegn."); -define("_US_PROFUPDATED", "Din profil Opdateret!"); -define("_US_USECOOKIE", "Gem mit brugernavn i en cookie i 1 år"); -define("_US_NO", "Ingen"); -define("_US_DELACCOUNT", "Slet konto"); -define("_US_MYAVATAR", "Min avatar"); -define("_US_UPLOADMYAVATAR", "Upload Avatar"); -define("_US_MAXPIXEL", "Maks. Pixels"); -define("_US_MAXIMGSZ", "Maks. Billedstørrelse (Bytes)"); -define("_US_SELFILE", "Vælg fil"); -define("_US_OLDDELETED", "Din gamle avatar vil blive slettet!"); -define("_US_CHOOSEAVT", "Vælg avatar fra den tilgængelige liste"); -define("_US_PRESSLOGIN", "Tryk på knappen nedenfor for at logge ind"); -define("_US_ADMINNO", "Bruger i webmasters gruppen ikke kan fjernes"); -define("_US_GROUPS", "Brugers grupper"); -define("_US_REMEMBERME", "Husk mig"); -// Welcoming emai/PM subject -define("_US_WELCOME_SUBJECT", "Velkommen til %s"); - -//XOOPS 2.5.4 -define('_US_SKYPE', 'Skype'); -define('_US_FACEBOOK', 'Facebook'); -?><?php // Translation done by xtransam & anderssk - 2010-10-11 22:40 ?> \ No newline at end of file Deleted: XoopsLanguages/danish/core/2.5.4/htdocs/modules/pm/language/danish/main.php.bak =================================================================== --- XoopsLanguages/danish/core/2.5.4/htdocs/modules/pm/language/danish/main.php.bak 2012-03-15 18:25:29 UTC (rev 9141) +++ XoopsLanguages/danish/core/2.5.4/htdocs/modules/pm/language/danish/main.php.bak 2012-03-15 18:29:14 UTC (rev 9142) @@ -1,102 +0,0 @@ -<?php -// $Id: main.php 3355 2009-07-14 21:36:49Z trabis $ -// _LANGCODE: en -// _CHARSET : UTF-8 -// Translator: XOOPS Translation Team - -//%%%%%% File Name readpmsg.php %%%%% -define("_PM_DELETED", "Dine meddelelser er blevet slettet"); -define("_PM_PRIVATEMESSAGE", "Private meddelelser"); -define("_PM_INBOX", "Indbakke"); -define("_PM_FROM", "Fra"); -define("_PM_YOUDONTHAVE", "Du har ikke nogen private meddelelser"); -define("_PM_FROMC", "Fra:"); -define("_PM_SENTC", "Sendt:"); // The date of message sent -define("_PM_PROFILE", "Profil"); - -// %s is a username -define("_PM_PREVIOUS", "Forrige meddelelse"); -define("_PM_NEXT", "Næste meddelelse"); - -//%%%%%% File Name pmlite.php %%%%% -define("_PM_SORRY", "Undskyld! Du er ikke en registreret bruger."); -define("_PM_REGISTERNOW", "Registrer dig nu!"); -define("_PM_GOBACK", "Gå tilbage"); -define("_PM_USERNOEXIST", "Den valgte bruger findes ikke i databasen."); -define("_PM_PLZTRYAGAIN", "Tjek venligst navn, og prøv igen."); -define("_PM_MESSAGEPOSTED", "Din meddelelse er blevet sendt"); -define("_PM_CLICKHERE", "Du kan klikke her for at se dine private meddelelser"); -define("_PM_ORCLOSEWINDOW", "Eller klik her for at lukke dette vindue."); -define("_PM_USERWROTE", "%s skrev:"); -define("_PM_TO", "Til:"); -define("_PM_SUBJECTC", "Om:"); -define("_PM_MESSAGEC", "Meddelelse:"); -define("_PM_CLEAR", "Ryd"); -define("_PM_CANCELSEND", "Annuller Send"); -define("_PM_SUBMIT", "Indsend"); -define("_PM_SAVEINOUTBOX", "Gem en kopi i din udbakke?"); - -//%%%%%% File Name viewpmsg.php %%%%% -define("_PM_SUBJECT", "Om"); -define("_PM_DATE", "Dato"); -define("_PM_NOTREAD", "Ikke Læst"); -define("_PM_SEND", "Send ny meddelelse"); -define("_PM_DELETE", "Slet"); -define("_PM_TOSAVE", "Flyt til gemt"); -define("_PM_UNSAVE", "Flyt ud af gemt "); -define("_PM_EMPTY", "Tomme"); -define("_PM_REPLY", "Svar"); -define("_PM_PLZREG", "Register dig som bruger for at sende private meddelelser!"); -define("_PM_SAVED_PART", "Du er tilladt %d i din gemt boks og du gemte %d meddelelser"); -define("_PM_SAVED_ALL", "Meddelelser er blevet flyttet til gemt"); -define("_PM_UNSAVED", "Meddelelser er blevet fjernet fra gemt"); -define("_PM_EMPTIED", "Boksen er blevet tømt"); -define("_PM_RUSUREEMPTY", "Er du sikker på du vil tømme?"); -define("_PM_RUSUREDELETE", "Er du sikker på du vil slette disse meddelelser?"); - -define("_PM_ONLINE", "Online"); - -define("_PM_RECEIVE", "MODTAG"); -define("_PM_POST", "POST"); -define("_PM_READBOX", "LÆS"); -define("_PM_RSAVEBOX", "Modtag_GEMT"); -define("_PM_OUTBOX", "Udbakke"); -define("_PM_SAVEBOX", "GEMT"); -define("_PM_SENTBOX", "Udbakke"); -define("_PM_PSAVEBOX", "Post_GEMT"); -define("_PM_SAVE", "GEM"); -define("_PM_SAVED", "Gemt"); -define("_PM_TOC", "Fra:"); - -//WANISYS.NET PM HACK1.5 -define("_PM_SORT", "Sortér"); -define("_PM_ORDER", "Rækkefølge"); -define("_PM_UID", "Partner's UID"); -define("_PM_TIME", "Dato"); -define("_PM_ASC", "Stigende"); -define("_PM_DESC", "Faldende"); -define("_PM_LIMIT", "PM'er pr side"); -define("_PM_BACKTOBOX", "Tilbage"); -define("_PM_SORTSUBMIT", "Indsend"); -define("_PM_PREVIOUSP", "Forrige"); -define("_PM_NEXTP", "Næste"); - -define("_PM_MAILNOTIFY", "%s-Du fik en ny PM fra %s "); -define("_PM_MAILMESSAGE", "Hej!\nA Der er kommet en ny PM fra %s\n\nTitlen på PM er\n%s\n\nDu kan se din PM her\n%s\n\n-----------\nDu modtager denne besked, fordi du valgte at blive underrettet, når du modtager en ny PM \n\n\Du kan ændre din PM-konfiguration\n%s\n\nBesvar ikke at besvare denne meddelelse\n\n---------\nMed venlig hilsen\n%s\n%s\n%s "); - -define("_PM_EMAIL", "Videresend til e-mail"); -define("_PM_EMAIL_DESC", "Kære %s, dette er en meddelelse fra din konto på ".$GLOBALS['xoopsConfig']['sitename']); -define("_PM_EMAIL_FROM", "Fra %s "); -define("_PM_EMAIL_TO", "Til %s "); -define("_PM_EMAIL_SUBJECT", "[Besked] %s "); -define("_PM_EMAIL_MESSAGE", "Besked indhold"); - -define("_PM_ACTION_DONE", "Udført med succes"); -define("_PM_ACTION_ERROR", "Operation mislykkedes"); - -//XOOPS 2.5.2 -define("_PM_READ","Allerede læst"); -define("_PM_SUBJECT_ICONS","Emne ikoner: "); - -?> -<?php // Translation done by xtransam & anderssk - 2010-10-19 07:26 ?> Deleted: XoopsLanguages/danish/core/2.5.4/htdocs/modules/profile/language/danish/admin.php.bak =================================================================== --- XoopsLanguages/danish/core/2.5.4/htdocs/modules/profile/language/danish/admin.php.bak 2012-03-15 18:25:29 UTC (rev 9141) +++ XoopsLanguages/danish/core/2.5.4/htdocs/modules/profile/language/danish/admin.php.bak 2012-03-15 18:29:14 UTC (rev 9142) @@ -1,115 +0,0 @@ -<?php -// $Id: admin.php 4751 2010-05-01 15:35:45Z trabis $ -// _LANGCODE: en -// _CHARSET : UTF-8 -// Translator: XOOPS Translation Team - -define("_PROFILE_AM_FIELD", "Felt"); -define("_PROFILE_AM_FIELDS", "Felter"); -define("_PROFILE_AM_CATEGORY", "Kategori"); -define("_PROFILE_AM_STEP", "Trin"); - -define("_PROFILE_AM_SAVEDSUCCESS", "%s er gemt"); -define("_PROFILE_AM_DELETEDSUCCESS", "%s er slettet"); -define("_PROFILE_AM_RUSUREDEL", "Er du sikker på du vil slette %s"); -define("_PROFILE_AM_FIELDNOTCONFIGURABLE", "Feltet kan ikke konfigureres."); - -define("_PROFILE_AM_ADD", "Tilføj %s"); -define("_PROFILE_AM_EDIT", "Redigér %s"); -define("_PROFILE_AM_TYPE", "Felt type"); -define("_PROFILE_AM_VALUETYPE", "Værdi type"); -define("_PROFILE_AM_NAME", "Navn"); -define("_PROFILE_AM_TITLE", "Titel"); -define("_PROFILE_AM_DESCRIPTION", "Beskrivelse"); -define("_PROFILE_AM_REQUIRED", "Obligatorisk?"); -define("_PROFILE_AM_MAXLENGTH", "Maksimal længde"); -define("_PROFILE_AM_WEIGHT", "Vægt"); -define("_PROFILE_AM_DEFAULT", "Standard"); -define("_PROFILE_AM_NOTNULL", "Ikke nul?"); - -define("_PROFILE_AM_ARRAY", "Array"); -define("_PROFILE_AM_EMAIL", "Email"); -define("_PROFILE_AM_INT", "Integer"); -define("_PROFILE_AM_TXTAREA", "Tekst område"); -define("_PROFILE_AM_TXTBOX", "Tekst felt"); -define("_PROFILE_AM_URL", "URL"); -define("_PROFILE_AM_OTHER", "Andet"); -define("_PROFILE_AM_FLOAT", "Floating Point"); -define("_PROFILE_AM_DECIMAL", "Decimaltal"); -define("_PROFILE_AM_UNICODE_ARRAY", "Unicode Array"); -define("_PROFILE_AM_UNICODE_EMAIL", "Unicode Email"); -define("_PROFILE_AM_UNICODE_TXTAREA", "Unicode-tekst Område"); -define("_PROFILE_AM_UNICODE_TXTBOX", "Unicode-tekst felt"); -define("_PROFILE_AM_UNICODE_URL", "Unicode URL"); - -define("_PROFILE_AM_PROF_VISIBLE_ON", "Felter synligt på disse gruppers profiler"); -define("_PROFILE_AM_PROF_VISIBLE_FOR", "Felter synlig i profilen for disse grupper"); -define("_PROFILE_AM_PROF_VISIBLE", "Synlighed"); -define("_PROFILE_AM_PROF_EDITABLE", "Felt kan rettes fra profil"); -define("_PROFILE_AM_PROF_REGISTER", "Vis i registrerings formular"); -define("_PROFILE_AM_PROF_SEARCH", "Søgebare af disse grupper"); -define("_PROFILE_AM_PROF_ACCESS", "Profil tilgængelige for disse grupper"); -define("_PROFILE_AM_PROF_ACCESS_DESC", - "<ul>" . - "<li>Admin grupper: Hvis en bruger tilhører en admin gruppe, har den aktuelle bruger adgang, hvis og kun hvis en af den aktuelle brugers grupper har rettighed til admin-gruppen; ellers</li>" . - "<li>Ikke grundlæggende grupper: Hvis en bruger tilhører en eller flere ikke grundlæggende grupper (IKKE admin, bruger-, anonyme), har den aktuelle bruger adgang, hvis og kun hvis en af den aktuelle brugers grupper får rettighed til at adgang via en af de ikke grundlæggende grupper ; Ellers</li>" . - "<li>Bruger Gruppe: Hvis en bruger kun tilhører bruger gruppe har den aktuelle bruger adgang, hvis og kun hvis en af hans grupper har rettighed til at få adgang til Bruger-gruppe</li>" . - "</ul>"); - -define("_PROFILE_AM_FIELDVISIBLE", "Feltet "); -define("_PROFILE_AM_FIELDVISIBLEFOR", " er synligt for "); -define("_PROFILE_AM_FIELDVISIBLEON", " ser en profil "); -define("_PROFILE_AM_FIELDVISIBLETOALL", "- alle"); -define("_PROFILE_AM_FIELDNOTVISIBLE", "er ikke synligt"); - -define("_PROFILE_AM_CHECKBOX", "Afkrydsningsfelt"); -define("_PROFILE_AM_GROUP", "Vælg gruppe"); -define("_PROFILE_AM_GROUPMULTI", "Multi vælg gruppe"); -define("_PROFILE_AM_LANGUAGE", "Vælg sprog"); -define("_PROFILE_AM_RADIO", "Radio knapper"); -define("_PROFILE_AM_SELECT", "Vælg"); -define("_PROFILE_AM_SELECTMULTI", "Multi vælg"); -define("_PROFILE_AM_TEXTAREA", "Tekst område"); -define("_PROFILE_AM_DHTMLTEXTAREA", "DHTML Tekst område"); -define("_PROFILE_AM_TEXTBOX", "Tekst felt"); -define("_PROFILE_AM_TIMEZONE", "Tidszone"); -define("_PROFILE_AM_YESNO", "Radio Ja/Nej"); -define("_PROFILE_AM_DATE", "Dato"); -define("_PROFILE_AM_AUTOTEXT", "Auto Tekst"); -define("_PROFILE_AM_DATETIME", "Dato og Tid"); -define("_PROFILE_AM_LONGDATE", "Lang Dato"); - -define("_PROFILE_AM_ADDOPTION", "Tilføj muligheder"); -define("_PROFILE_AM_REMOVEOPTIONS", "Fjern muligheder"); -define("_PROFILE_AM_KEY", "Værdi der skal gemmes"); -define("_PROFILE_AM_VALUE", "Tekst der skal vises"); - -// User management -define("_PROFILE_AM_EDITUSER", "Edit User"); -define("_PROFILE_AM_SELECTUSER", "Select User"); -define("_PROFILE_AM_ADDUSER","Add User"); -define("_PROFILE_AM_THEME","Theme"); -define("_PROFILE_AM_RANK","Rank"); -define("_PROFILE_AM_USERDONEXIT","User doesn't exist!"); -define("_PROFILE_MA_USERLEVEL", "User Level"); - -define("_PROFILE_MA_ACTIVE", "Active"); -define("_PROFILE_MA_INACTIVE", "Inactive"); -define("_PROFILE_AM_USERCREATED", "User Created"); - -define("_PROFILE_AM_CANNOTDELETESELF", "Deleting your own account is not allowed - use your profile page to delete your own account"); -define("_PROFILE_AM_CANNOTDELETEADMIN", "Deleting an administrator account is not allowed"); - -define("_PROFILE_AM_NOSELECTION", "No user selected"); -define("_PROFILE_AM_USER_ACTIVATED", "User activated"); -define("_PROFILE_AM_USER_DEACTIVATED", "User deactivated"); -define("_PROFILE_AM_USER_NOT_ACTIVATED", "Error: User NOT activated"); -define("_PROFILE_AM_USER_NOT_DEACTIVATED", "Error: User NOT deactivated"); - -define("_PROFILE_AM_STEPNAME", "Step name"); -define("_PROFILE_AM_STEPORDER", "Step order"); -define("_PROFILE_AM_STEPSAVE", "Save after step"); -define("_PROFILE_AM_STEPINTRO", "Step description"); -//1.62 -define('_PROFILE_AM_ACTION', 'Handling'); -?> Deleted: XoopsLanguages/danish/core/2.5.4/htdocs/modules/profile/language/danish/modinfo.php.bak =================================================================== --- XoopsLanguages/danish/core/2.5.4/htdocs/modules/profile/language/danish/modinfo.php.bak 2012-03-15 18:25:29 UTC (rev 9141) +++ XoopsLanguages/danish/core/2.5.4/htdocs/modules/profile/language/danish/modinfo.php.bak 2012-03-15 18:29:14 UTC (rev 9142) @@ -1,58 +0,0 @@ -<?php -// $Id: modinfo.php 2980 2009-03-15 22:27:16Z beckmi $ -// _LANGCODE: en -// _CHARSET : UTF-8 -// Translator: XOOPS Translation Team - -define("_PROFILE_MI_NAME", "Bruger profiler"); -define("_PROFILE_MI_DESC", "Modul til at administrer bruger profil felter"); - -//Main menu links -define("_PROFILE_MI_EDITACCOUNT", "Ret konto"); -define("_PROFILE_MI_CHANGEPASS", "Skift password"); -define("_PROFILE_MI_CHANGEMAIL", "Skift email"); - -//Admin links -define("_PROFILE_MI_INDEX", "Indeks"); -define("_PROFILE_MI_CATEGORIES", "Kategorier"); -define("_PROFILE_MI_FIELDS", "Felter"); -define("_PROFILE_MI_USERS", "Brugere"); -define("_PROFILE_MI_STEPS", "Registrerings trin"); -define("_PROFILE_MI_PERMISSIONS", "Tilladelser"); - -//User Profile Category -define("_PROFILE_MI_CATEGORY_TITLE", "Bruger Profil"); -define("_PROFILE_MI_CATEGORY_DESC", "Til de bruger felter"); - -//User Profile Fields -define("_PROFILE_MI_URL_TITLE", "Hjemmeside"); - -//Configuration categories -define("_PROFILE_MI_CAT_SETTINGS", "Generelle indstillinger"); -define("_PROFILE_MI_CAT_SETTINGS_DSC", ""); -define("_PROFILE_MI_CAT_USER", "Bruger indstillinger"); -define("_PROFILE_MI_CAT_USER_DSC", ""); - -//Configuration items -define("_PROFILE_MI_PROFILE_SEARCH", "Vis de seneste indlæg/kommentarer fra bruger i profil"); - -//Pages -define("_PROFILE_MI_PAGE_INFO", "Bruger info"); -define("_PROFILE_MI_PAGE_EDIT", "Ret bruger"); -define("_PROFILE_MI_PAGE_SEARCH", "Søg"); - -define("_PROFILE_MI_STEP_BASIC", "Grundlæggende"); -define("_PROFILE_MI_STEP_COMPLEMENTARY", "Supplerende"); - -define("_PROFILE_MI_CATEGORY_PERSONAL", "Personlig"); -define("_PROFILE_MI_CATEGORY_MESSAGING", "Meddelelser"); -define("_PROFILE_MI_CATEGORY_SETTINGS", "Indstillinger"); -define("_PROFILE_MI_CATEGORY_COMMUNITY", "Community"); - -define("_PROFILE_MI_NEVER_LOGGED_IN", "Aldrig logget ind"); -//1.62 -define("_PROFILE_MI_ABOUT", "Om"); -define("_PROFILE_MI_HOME", "Hjem"); - -?> -<?php // Translation done by xtransam & anderssk - 2010-10-18 23:12 ? \ No newline at end of file Deleted: XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/blocksadmin.php.bak =================================================================== --- XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/blocksadmin.php.bak 2012-03-15 18:25:29 UTC (rev 9141) +++ XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/blocksadmin.php.bak 2012-03-15 18:29:14 UTC (rev 9142) @@ -1,89 +0,0 @@ -<?php -/** - * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * _LANGCODE en - * _CHARSET UTF-8 - * @version $Id: blocksadmin.php 5116 2010-08-27 22:57:09Z trabis $ - */ - -// Navigation -define("_AM_SYSTEM_BLOCKS_ADMIN", "Blok Administration"); -define("_AM_SYSTEM_BLOCKS_MANAGMENT", "Administrer"); -define("_AM_SYSTEM_BLOCKS_ADDBLOCK", "Tilføj en ny blok"); -define("_AM_SYSTEM_BLOCKS_EDITBLOCK", "Redigér Højre"); -define( '_AM_SYSTEM_BLOCKS_CLONEBLOCK', 'Opret en klonet blok' ); - -// Forms -define( '_AM_SYSTEM_BLOCKS_SAVE', 'Gem' ); -define( '_AM_SYSTEM_BLOCKS_CUSTOM', 'Special blok' ); -define( '_AM_SYSTEM_BLOCKS_TYPES', 'Alle typer' ); -define( '_AM_SYSTEM_BLOCKS_GENERATOR', 'Moduler' ); -define( '_AM_SYSTEM_BLOCKS_GROUP', 'Grupper' ); -define( '_AM_SYSTEM_BLOCKS_SVISIBLEIN', 'Side'); -define( '_AM_SYSTEM_BLOCKS_DISPLAY', 'Vis blok ' ); -define( '_AM_SYSTEM_BLOCKS_HIDE', 'Skjul blok ' ); -define( '_AM_SYSTEM_BLOCKS_CLONE', 'kopier'); -define( '_AM_SYSTEM_BLOCKS_SIDELEFT', 'Venstre'); -define( '_AM_SYSTEM_BLOCKS_SIDETOPLEFT', 'Top venstre'); -define( '_AM_SYSTEM_BLOCKS_SIDETOPCENTER', 'Top Center'); -define( '_AM_SYSTEM_BLOCKS_SIDETOPRIGHT', 'Top højre'); -define( '_AM_SYSTEM_BLOCKS_SIDERIGHT', 'Højre'); -define( '_AM_SYSTEM_BLOCKS_SIDEBOTTOMLEFT', 'Bund venstre'); -define( '_AM_SYSTEM_BLOCKS_SIDEBOTTOMCENTER', 'Bund center'); -define( '_AM_SYSTEM_BLOCKS_SIDEBOTTOMRIGHT', 'Bund højre'); -define( '_AM_SYSTEM_BLOCKS_ADD', 'Tilføj blok'); -define( '_AM_SYSTEM_BLOCKS_MANAGE', 'Vedligehold blok'); -define( '_AM_SYSTEM_BLOCKS_NAME', 'Navn' ); -define( '_AM_SYSTEM_BLOCKS_TYPE', 'Blok type' ); -define( '_AM_SYSTEM_BLOCKS_SBLEFT','Side Block - venstre' ); -define( '_AM_SYSTEM_BLOCKS_SBRIGHT','Side Block - højre' ); -define("_AM_SYSTEM_BLOCKS_CBLEFT", "Center Blok - Venstre"); -define("_AM_SYSTEM_BLOCKS_CBRIGHT", "Center Blok - Højre"); -define("_AM_SYSTEM_BLOCKS_CBCENTER", "Center Blok - Center"); -define("_AM_SYSTEM_BLOCKS_CBBOTTOMLEFT", "Center Blok - Nederst til venstre"); -define("_AM_SYSTEM_BLOCKS_CBBOTTOMRIGHT", "Center Blok - Nederst til højre"); -define("_AM_SYSTEM_BLOCKS_CBBOTTOM", "Center Blok - Bund"); -define("_AM_SYSTEM_BLOCKS_WEIGHT", "Vægt"); -define("_AM_SYSTEM_BLOCKS_VISIBLE", "Synlig"); -define("_AM_SYSTEM_BLOCKS_VISIBLEIN", "Synlig i"); -define("_AM_SYSTEM_BLOCKS_TOPPAGE", "Forsiden"); -define("_AM_SYSTEM_BLOCKS_ALLPAGES", "Alle sider"); -define("_AM_SYSTEM_BLOCKS_UNASSIGNED", "Ikke-tildelte"); -define("_AM_SYSTEM_BLOCKS_TITLE", "Titel"); -define("_AM_SYSTEM_BLOCKS_CONTENT", "Indhold"); -define("_AM_SYSTEM_BLOCKS_USEFULTAGS", "Nyttige tags:"); -define("_AM_SYSTEM_BLOCKS_BLOCKTAG", "%s vil skrive %s"); -define("_AM_SYSTEM_BLOCKS_CTYPE", "Indholdstype"); -define("_AM_SYSTEM_BLOCKS_HTML", "HTML"); -define("_AM_SYSTEM_BLOCKS_PHP", "PHP Script"); -define("_AM_SYSTEM_BLOCKS_AFWSMILE", "Auto-format (smilies aktiveret)"); -define("_AM_SYSTEM_BLOCKS_AFNOSMILE", "Auto-format (smilies deaktiveret)"); -define("_AM_SYSTEM_BLOCKS_BCACHETIME", "Cache levetid"); -define("_AM_SYSTEM_BLOCKS_CUSTOMHTML", "Speciel blok (HTML)"); -define("_AM_SYSTEM_BLOCKS_CUSTOMPHP", "Speciel blok (PHP)"); -define("_AM_SYSTEM_BLOCKS_CUSTOMSMILE", "Speciel blok (Auto Format + smilies)"); -define("_AM_SYSTEM_BLOCKS_CUSTOMNOSMILE", "Speciel blok (Auto Format)"); -define("_AM_SYSTEM_BLOCKS_EDITTPL", "Redigér skabelon"); -define("_AM_SYSTEM_BLOCKS_OPTIONS", "Muligheder"); -define("_AM_SYSTEM_BLOCKS_DRAG", "Træk eller sortér blok"); - -// Messages -define( '_AM_SYSTEM_BLOCKS_DBUPDATED', _AM_SYSTEM_DBUPDATED ); -define("_AM_SYSTEM_BLOCKS_RUSUREDEL", "Er du sikker på du vil slette blokken %s ?"); -define("_AM_SYSTEM_BLOCKS_SYSTEMCANT", "Systemets blokke kan ikke slettes!"); -define("_AM_SYSTEM_BLOCKS_MODULECANT", "Denne blok kan ikke slettes direkte! Hvis du ønsker at deaktivere denne blok, deaktivere modulet."); - -// Error -define("_AM_SYSTEM_BLOCKS_PSEUDO_ERROR", "Brugernavn %s findes allerede"); -define("_AM_SYSTEM_BLOCKS_MAIL_ERROR", "Bruger mail %s findes allerede"); - -// Tips -define( '_AM_SYSTEM_BLOCKS_TIPS', -'<ul> -<li>Du kan nemt ændre side eller position ved at trække og slippe, klik på <img class="tooltip" src="%s" alt="'._AM_SYSTEM_BLOCKS_DRAG.'" title="'._AM_SYSTEM_BLOCKS_DRAG.'" /> dette billed og placér det hvor du ønsker på din side</li> -<li>Tilføj en ny blok</li> -<li>Sæt blokke online eller offline ved at klikke på <img class="tooltip" width="16" src="%s" alt="'._AM_SYSTEM_BLOCKS_DISPLAY.'" title="'._AM_SYSTEM_BLOCKS_DISPLAY.'"/> or <img class="tooltip" width="16" src="%s" alt="'._AM_SYSTEM_BLOCKS_HIDE.'" title="'._AM_SYSTEM_BLOCKS_HIDE.'" /></li> -</ul>' ); - -?><?php // Translation done by xtransam & anderssk - 2010-10-19 07:12 ?> Deleted: XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/tplsets.php.bak =================================================================== --- XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/tplsets.php.bak 2012-03-15 18:25:29 UTC (rev 9141) +++ XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/tplsets.php.bak 2012-03-15 18:29:14 UTC (rev 9142) @@ -1,46 +0,0 @@ -<?php -/** - * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * _LANGCODE en - * _CHARSET UTF-8 - * @version $Id: tplsets.php 5054 2010-08-26 09:13:17Z forxoops $ - */ - - //Nav -define("_AM_SYSTEM_TEMPLATES_NAV_MANAGER", "Skabeloner Manager"); -define("_AM_SYSTEM_TEMPLATES_NAV_MAIN", "Skabeloner Manager"); -//Tips -define('_AM_SYSTEM_TEMPLATES_NAV_TIPS',' -<ul> -<li>Edit theme and modules templates, stylsheet online.</li> -<li>Generate all overide modules templates.</li> -<li>If you force generate, this will erase all previous modification.</li> -</ul> -'); - -define("_AM_SYSTEM_TEMPLATES_YOUR_THEMES", "Dine temaer:"); -define("_AM_SYSTEM_TEMPLATES_GENERATE", "Genereret tillæg"); -define("_AM_SYSTEM_TEMPLATES_SELECT_THEME", "Vælg tema"); -define("_AM_SYSTEM_TEMPLATES_FORCE_GENERATED", "Tvungen fil generation"); -define("_AM_SYSTEM_TEMPLATES_NAV_FILE_GENERATED", "Filer genereret"); -define("_AM_SYSTEM_TEMPLATES_NOT_CREATED", "Ingen oprettede filer"); -define("_AM_SYSTEM_TEMPLATES_SAVE", "Gem"); -define("_AM_SYSTEM_TEMPLATES_RESTORE", "Gendan"); -define("_AM_SYSTEM_TEMPLATES_CANCEL", "Annuller"); -define("_AM_SYSTEM_TEMPLATES_ERROR", "Fejl"); -define("_AM_SYSTEM_TEMPLATES_EDIT", "Redigering af:"); -define("_AM_SYSTEM_TEMPLATES_SELECT_MODULES", "Vælg Modul"); -define("_AM_SYSTEM_TEMPLATES_MODULES", "Moduler:"); -define("_AM_SYSTEM_TEMPLATES_FILES", "Filer"); -define("_AM_SYSTEM_TEMPLATES_TYPES", "Typer"); -define("_AM_SYSTEM_TEMPLATES_STATUS", "Status"); -define("_AM_SYSTEM_TEMPLATES_TEMPLATES", "Skabeloner"); -define("_AM_SYSTEM_TEMPLATES_BLOCKS", "Blokke"); -define("_AM_SYSTEM_TEMPLATES_SELECT_TEMPLATES", "Vælg Skabeloner"); -define("_AM_SYSTEM_TEMPLATES_ALL_MODULES", "Alle moduler"); -define("_AM_SYSTEM_TEMPLATES_RESTORE_OK", "Successfuly gendannet"); -define("_AM_SYSTEM_TEMPLATES_RESTORE_NOTOK", "Successfuly ikke gendannet"); - -?> -<?php // Translation done by xtransam & anderssk - 2010-10-19 07:12 ?> Deleted: XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/users.php.bak =================================================================== --- XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/users.php.bak 2012-03-15 18:25:29 UTC (rev 9141) +++ XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/users.php.bak 2012-03-15 18:29:14 UTC (rev 9142) @@ -1,159 +0,0 @@ -<?php -/** - * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * _LANGCODE en - * _CHARSET UTF-8 - * @version $Id: users.php 5075 2010-08-26 11:56:22Z forxoops $ - */ - -// Navigation -define("_AM_SYSTEM_USERS_NAV_MANAGER", "Brugere vedligehold"); -define("_AM_SYSTEM_USERS_NAV_MAIN", "Brugere"); -define("_AM_SYSTEM_USERS_NAV_ADVANCED_SEARCH", "Avanceret søgning"); -define("_AM_SYSTEM_USERS_NAV_ADD_USER", "Tilføj bruger"); -define("_AM_SYSTEM_USERS_NAV_EDIT_USER", "Redigér bruger"); -define("_AM_SYSTEM_USERS_NAV_DELETE_USER", "Slet bruger"); - -// Tips -define('_AM_SYSTEM_USERS_NAV_TIPS',' -<ul> -<li>Vedligehold XOOPS brugere</li> -</ul>'); - -// Main -define("_AM_SYSTEM_USERS_USER", "Bruger"); -define("_AM_SYSTEM_USERS_ADMIN", "Admin"); -define("_AM_SYSTEM_USERS_UID", "Uid"); -define("_AM_SYSTEM_USERS_STATUS", "Status"); -define("_AM_SYSTEM_USERS_NAME", "Navn"); -define("_AM_SYSTEM_USERS_UNAME", "Uname"); -define("_AM_SYSTEM_USERS_EMAIL", "E-mail"); -define("_AM_SYSTEM_USERS_EDIT_GROUPS", "Redigér grupper"); -define("_AM_SYSTEM_USERS_REG_DATE", "Registreret dato"); -define("_AM_SYSTEM_USERS_LAST_LOGIN", "Sidste login"); -define("_AM_SYSTEM_USERS_POSTS", "Kommentarer/indlæg"); -define("_AM_SYSTEM_USERS_LEVEL", "Niveau"); -define("_AM_SYSTEM_USERS_ACTION", "Handling"); -define("_AM_SYSTEM_USERS_FINDUS", "Find Brugere"); -define("_AM_SYSTEM_USERS_AVATAR", "Avatar"); -define("_AM_SYSTEM_USERS_REALNAME", "Rigtige navn"); -define("_AM_SYSTEM_USERS_REGDATE", "Tilmeldt Dato"); -define("_AM_SYSTEM_USERS_PM", "PM"); -define("_AM_SYSTEM_USERS_URL", "URL"); -define("_AM_SYSTEM_USERS_PREVIOUS", "Forrige"); -define("_AM_SYSTEM_USERS_NEXT", "Næste"); -define("_AM_SYSTEM_USERS_USERSFOUND", "%s bruger(e) fundet"); -define("_AM_SYSTEM_USERS_ACTUS", "Aktive Brugere: %s"); -define("_AM_SYSTEM_USERS_INACTUS", "Inaktive brugere: %s"); -define("_AM_SYSTEM_USERS_NOFOUND", "Ingen brugere fundet"); -define("_AM_SYSTEM_USERS_ICQ", "ICQ Nummer"); -define("_AM_SYSTEM_USERS_AIM", "AIM"); -define("_AM_SYSTEM_USERS_YIM", "YIM"); -define("_AM_SYSTEM_USERS_MSNM", "MSNM"); -define("_AM_SYSTEM_USERS_TIMEZONE", "Tids Zone"); -define("_AM_SYSTEM_USERS_SHOWSIG", "Vedhæft altid min signatur"); -define("_AM_SYSTEM_USERS_CDISPLAYMODE", "Kommentarer visings metode"); -define("_AM_SYSTEM_USERS_CSORTORDER", "Kommentarer sorteringsrækkefølge"); -define("_AM_SYSTEM_USERS_EXTRAINFO", "Ekstra Info"); -define("_AM_SYSTEM_USERS_LOCATION", "Beliggenhed indeholder"); -define("_AM_SYSTEM_USERS_OCCUPATION", "Beskæftigelse indeholder"); -define("_AM_SYSTEM_USERS_INTEREST", "Interesse indeholder"); -define("_AM_SYSTEM_USERS_URLC", "URL indeholder"); -define("_AM_SYSTEM_USERS_LASTLOGMORE", "Sidste login er mere end <span style='color:#ff0000;'>X</span> dage siden"); -define("_AM_SYSTEM_USERS_LASTLOGLESS", "Sidste login er mindre end <span style='color:#ff0000;'>X</span> dage siden"); -define("_AM_SYSTEM_USERS_REGMORE", "Tilmeldt Dato er mere end <span style='color:#ff0000;'>X</span> dage siden"); -define("_AM_SYSTEM_USERS_REGLESS", "Tilmeldt Dato er mindre end <span style='color:#ff0000;'>X</span> dage siden"); -define("_AM_SYSTEM_USERS_POSTSMORE", "Antal indlæg er større end <span style='color:#ff0000;'>X</span>"); -define("_AM_SYSTEM_USERS_POSTSLESS", "Antal indlæg er mindre end <span style='color:#ff0000;'>X</span>"); -define("_AM_SYSTEM_USERS_SORT", "Sortér efter"); -define("_AM_SYSTEM_USERS_ORDER", "Rækkefølge"); -define("_AM_SYSTEM_USERS_LASTLOGIN", "Sidste login"); -define("_AM_SYSTEM_USERS_ASC", "Stigende orden"); -define("_AM_SYSTEM_USERS_DESC", "Faldende orden"); -define("_AM_SYSTEM_USERS_LIMIT", "Antallet af brugere pr side"); -define("_AM_SYSTEM_USERS_RESULTS", "Søgeresultater"); -define("_AM_SYSTEM_USERS_SHOWMAILOK", "Type af brugere der skal vises"); -define("_AM_SYSTEM_USERS_MAILOK", "Kun brugere der accepterer mail"); -define("_AM_SYSTEM_USERS_MAILNG", "Kun brugere, der ikke accepterer mail"); -define("_AM_SYSTEM_USERS_SHOWTYPE", "Type af brugere der skal vises"); -define("_AM_SYSTEM_USERS_ACTIVE", "Kun aktive brugere"); -define("_AM_SYSTEM_USERS_INACTIVE", "Kun inaktive brugere"); -define("_AM_SYSTEM_USERS_BOTH", "Alle brugere"); -define("_AM_SYSTEM_USERS_SENDMAIL", "Send mail"); -define("_AM_SYSTEM_USERS_ADD2GROUP", "Tilføj brugerne til %s gruppen"); -define("_AM_SYSTEM_USERS_GROUPS", "Grupper"); -define("_AM_SYSTEM_USERS_ADD_GROUPS", "Tilføj gruppe"); -define("_AM_SYSTEM_USERS_DELETE_GROUPS", "Slet gruppe"); -define("_AM_SYSTEM_USERS_AYSYWTDU", "Er du sikker på du vil slette brugeren %s?"); -define("_AM_SYSTEM_USERS_BYTHIS", "Ved at gøre dette, vil alle informationer vedr. denne bruger blive fjernet permanent."); -define("_AM_SYSTEM_USERS_YES", "Ja"); -define("_AM_SYSTEM_USERS_NO", "Nej"); -define("_AM_SYSTEM_USERS_YMCACF", "Du skal udfylde alle obligatoriske felter"); -define("_AM_SYSTEM_USERS_CNRNU", "Kunne ikke registrere ny bruger."); -define("_AM_SYSTEM_USERS_EDEUSER", "Rediger/Slet brugere"); -define("_AM_SYSTEM_USERS_NICKNAME", "Kaldenavn"); -define("_AM_SYSTEM_USERS_MODIFYUSER", "Redigér Bruger"); -define("_AM_SYSTEM_USERS_DELUSER", "Slet bruger"); -define("_AM_SYSTEM_USERS_GO", "Go!"); -define("_AM_SYSTEM_USERS_ADDUSER", "Tilføj bruger"); -define("_AM_SYSTEM_USERS_OPTION", "Mulighed"); -define("_AM_SYSTEM_USERS_THEME", "Tema"); -define("_AM_SYSTEM_USERS_AOUTVTEAD", "Tillad andre brugere at se denne e-mail-adresse"); -define("_AM_SYSTEM_USERS_RANK", "Rang"); -define("_AM_SYSTEM_USERS_NSRA", "Ingen speciel Rank"); -define("_AM_SYSTEM_USERS_NSRID", "Ingen særlig Ranks i Database"); -define("_AM_SYSTEM_USERS_ACCESSLEV", "Adgangs Niveau"); -define("_AM_SYSTEM_USERS_SIGNATURE", "Signatur"); -define("_AM_SYSTEM_USERS_PASSWORD", "Adgangskode"); -define("_AM_SYSTEM_USERS_INDICATECOF", "* Angiver obligatoriske felter"); -define("_AM_SYSTEM_USERS_NOTACTIVE", "Denne bruger er ikke blevet aktiveret. Ønsker du at aktivere denne bruger?"); -define("_AM_SYSTEM_USERS_UPDATEUSER", "Opdatér bruger"); -define("_AM_SYSTEM_USERS_USERINFO", "Bruger Info"); -define("_AM_SYSTEM_USERS_USERID", "Bruger-id"); -define("_AM_SYSTEM_USERS_RETYPEPD", "Gentag adgangskode"); -define("_AM_SYSTEM_USERS_CHANGEONLY", "(For ændringer kun)"); -define("_AM_SYSTEM_USERS_USERPOST", "Brugeres indlæg"); -define("_AM_SYSTEM_USERS_STORIES", "Historier"); -define("_AM_SYSTEM_USERS_COMMENTS", "Kommentarer"); -define("_AM_SYSTEM_USERS_PTBBTSDIYT", "Tryk på knappen nedenfor for at synkronisere data, hvis du mener, at ovenstående brugeren info ikke angiver den aktuelle status"); -define("_AM_SYSTEM_USERS_SYNCHRONIZE", "Synkroniser"); -define("_AM_SYSTEM_USERS_USERDONEXIT", "Bruger eksisterer ikke!"); -define("_AM_SYSTEM_USERS_STNPDNM", "Vi beklager, men det nye kodeord ikke passer. Klik tilbage og prøv igen"); -define("_AM_SYSTEM_USERS_CNGTCOM", "Kunne ikke indlæse det totale antal kommentarer"); -define("_AM_SYSTEM_USERS_CNGTST", "Kunne ikke indlæse det totale antal historier"); -define("_AM_SYSTEM_USERS_CNUUSER", "Kunne ikke opdatere brugeren"); -define("_AM_SYSTEM_USERS_CNGUSERID", "Kunne ikke få bruger IDS"); -define("_AM_SYSTEM_USERS_LIST", "Liste"); -define("_AM_SYSTEM_USERS_NOUSERS", "Ingen markerede brugere"); -define("_AM_SYSTEM_USERS_CNRNU2", "Den nye bruger kunne ikke tilføjes til grupper: %s."); -define("_AM_SYSTEM_USERS_SEARCH", "Søg"); -define("_AM_SYSTEM_USERS_SEARCH_USER", "Søg Bruger:"); -define("_AM_SYSTEM_USERS_ADVANCED_SEARCH", "Avanceret søgning"); -define("_AM_SYSTEM_USERS_EDIT", "Redigér medlem"); -define("_AM_SYSTEM_USERS_DEL", "Slet medlem"); -define("_AM_SYSTEM_USERS_DELETE", "Slet"); -define("_AM_SYSTEM_USERS_SUBMIT", "Indsend"); -define("_AM_SYSTEM_USERS_PURGE", "Slet"); -define("_AM_SYSTEM_USERS_ADD", "Tilføj medlem"); -define("_AM_SYSTEM_USERS_VIEW", "Se info medlem"); -define("_AM_SYSTEM_USERS_NO_FOUND", "Ingen fundet brugere"); -define("_AM_SYSTEM_USERS_NOT_CONNECT", "Aldrig logget ind"); -define("_AM_SYSTEM_USERS_FORM_SURE_DEL", "Slet bruger: %s"); -define("_AM_SYSTEM_USERS_FORM_SURE_DEL2", "Slet"); -define("_AM_SYSTEM_USERS_NO_SUPP", "Brugeren kan ikke slettes: %s<br />"); -define("_AM_SYSTEM_USERS_NO_ADMINSUPP", "Administrator bruger kan ikke slettes: %s<br />"); -define("_AM_SYSTEM_USERS_ERROR", "Fejl: <br /><br /> % S"); -define("_AM_SYSTEM_USERS_ALLGROUP", "Alle grupper"); -define("_AM_SYSTEM_USERS_ALLUSER", "Alle brugere"); -define("_AM_SYSTEM_USERS_ACTIVEUSER", "Kun aktive brugere"); -define("_AM_SYSTEM_USERS_INACTIVEUSER", "Kun inaktive brugere"); - -// Error -define("_AM_SYSTEM_USERS_PSEUDO_ERROR","Brugernavn %s findes allerede"); -define("_AM_SYSTEM_USERS_MAIL_ERROR","brugers email %s findes allerede"); - -//2.5.4 -define("_AM_SYSTEM_USERS_ACCEPT_EMAIL","Accepter email fra Admin"); - -?> \ No newline at end of file Deleted: XoopsLanguages/danish/core/2.5.4/htdocs/xoops_lib/modules/protector/language/danish/admin.php.bak =================================================================== --- XoopsLanguages/danish/core/2.5.4/htdocs/xoops_lib/modules/protector/language/danish/admin.php.bak 2012-03-15 18:25:29 UTC (rev 9141) +++ XoopsLanguages/danish/core/2.5.4/htdocs/xoops_lib/modules/protector/language/danish/admin.php.bak 2012-03-15 18:29:14 UTC (rev 9142) @@ -1,62 +0,0 @@ -<?php - -// mymenu -define('_MD_A_MYMENU_MYTPLSADMIN',''); -define('_MD_A_MYMENU_MYBLOCKSADMIN','Permissions'); -define('_MD_A_MYMENU_MYPREFERENCES','Preferences'); - -// index.php -define( "_AM_TH_DATETIME", "Tid"); -define( "_AM_TH_USER", "Bruger"); -define( "_AM_TH_IP", "IP"); -define( "_AM_TH_AGENT", "agent"); -define( "_AM_TH_TYPE", "type"); -define( "_AM_TH_DESCRIPTION", "Beskrivelse"); - -define( "_AM_TH_BADIPS" , 'Skadelige IP-adresser<br /><br /><span style="font-weight:normal;">Skriv hver IP-adresse på en linje<br />blank= alle IP-adresser er er tilladte</span>' ) ; - -define( "_AM_TH_GROUP1IPS" , 'Tilladte IP-adresser for gruppe=1<br /><br /><span style="font-weight:normal;">Skriv hver IP-adresse på en linje.<br />192.168. er er lig 192.168.*<br />blank= alle IP-adresser er er tilladte</span>' ) ; - -define( "_AM_LABEL_COMPACTLOG" , "Kompakt log" ) ; -define( "_AM_BUTTON_COMPACTLOG" , "Gør den kompakt!" ) ; -define( "_AM_JS_COMPACTLOGCONFIRM" , "Duplikerede (IP-adresser, type) vil blive fjernet" ) ; -define( "_AM_LABEL_REMOVEALL","Fjern alle poster"); -define( "_AM_BUTTON_REMOVEALL","Fjern alle!"); -define( "_AM_JS_REMOVEALLCONFIRM", "Alle logfiler fjernes helt. Er det virkelig OK?"); -define( "_AM_LABEL_REMOVE", "Fjern alle markerede records:"); -define( "_AM_BUTTON_REMOVE" , "Fjern!" ) ; -define( "_AM_JS_REMOVECONFIRM" , "OK at fjerne?" ) ; -define( "_AM_MSG_IPFILESUPDATED" , "Filer til IP-adresser er blevet opdateret" ) ; -define( "_AM_MSG_BADIPSCANTOPEN" , "Filen for slemme IP-adresser kan ikke nås" ) ; -define( "_AM_MSG_GROUP1IPSCANTOPEN" , "Den fil, der indeholder tilladte IP-adresser for gruppe=1 kan ikke åbnes" ) ; -define( "_AM_MSG_REMOVED" , "Records er fjernet" ) ; -define( "_AM_FMT_CONFIGSNOTWRITABLE" , "Gør configs-mappen skrivbar: %s" ) ; - -// prefix_manager.php -define( "_AM_H3_PREFIXMAN" , "Præfiks vedligehold" ) ; -define( "_AM_MSG_DBUPDATED" , "Databasen opdateret uden fejl!"); -define( "_AM_CONFIRM_DELETE" , "Alle data vil blive slettet. OK?" ) ; -define( "_AM_TXT_HOWTOCHANGEDB" , "Hvis du ønsker at ændre præfiks,<br /> skal du rediger %s/mainfile.php manuelt.<br /><br />define('XOOPS_DB_PREFIX', '<b>%s</b>');" ) ; - -// advisory.php -define("_AM_ADV_NOTSECURE","Ikke sikker"); - -def... [truncated message content] |
From: <dj...@us...> - 2012-03-15 18:25:45
|
Revision: 9141 http://xoops.svn.sourceforge.net/xoops/?rev=9141&view=rev Author: djculex Date: 2012-03-15 18:25:29 +0000 (Thu, 15 Mar 2012) Log Message: ----------- Danish language files for 2.5.5 Added Paths: ----------- XoopsLanguages/danish/core/2.5.5/ XoopsLanguages/danish/core/2.5.5/docs/ XoopsLanguages/danish/core/2.5.5/docs/install.html XoopsLanguages/danish/core/2.5.5/extras/ XoopsLanguages/danish/core/2.5.5/extras/modules/ XoopsLanguages/danish/core/2.5.5/extras/modules/system/ XoopsLanguages/danish/core/2.5.5/extras/modules/system/language/ XoopsLanguages/danish/core/2.5.5/extras/modules/system/language/danish/ XoopsLanguages/danish/core/2.5.5/extras/modules/system/language/danish/admin/ XoopsLanguages/danish/core/2.5.5/extras/modules/system/language/danish/admin/filemanager.php XoopsLanguages/danish/core/2.5.5/extras/modules/system/language/danish/admin/index.html XoopsLanguages/danish/core/2.5.5/extras/modules/system/language/danish/index.html XoopsLanguages/danish/core/2.5.5/files.txt XoopsLanguages/danish/core/2.5.5/htdocs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/ XoopsLanguages/danish/core/2.5.5/htdocs/class/mail/ XoopsLanguages/danish/core/2.5.5/htdocs/class/mail/phpmailer/ XoopsLanguages/danish/core/2.5.5/htdocs/class/mail/phpmailer/language/ XoopsLanguages/danish/core/2.5.5/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php XoopsLanguages/danish/core/2.5.5/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/dhtmltextarea/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/dhtmltextarea/language/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/dhtmltextarea/language/danish.php XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/textarea/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/textarea/language/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/textarea/language/danish.php XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/language/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/language/danish.php XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/da.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/da_dlg.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/da_dlg.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/da_dlg.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/da.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/da_dlg.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/da.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/da_dlg.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/da_dlg.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/da_dlg.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/da_dlg.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/da_dlg.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/da_dlg.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/da_dlg.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/langs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/langs/da_dlg.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/da_dlg.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/da.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/da_dlg.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/da.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/da_dlg.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/da.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/da_dlg.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/da.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/da_dlg.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/da.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/da_dlg.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/da.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/da_dlg.js XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/langs/ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/langs/da.js XoopsLanguages/danish/core/2.5.5/htdocs/install/ XoopsLanguages/danish/core/2.5.5/htdocs/install/language/ XoopsLanguages/danish/core/2.5.5/htdocs/install/language/danish/ XoopsLanguages/danish/core/2.5.5/htdocs/install/language/danish/finish.php XoopsLanguages/danish/core/2.5.5/htdocs/install/language/danish/index.html XoopsLanguages/danish/core/2.5.5/htdocs/install/language/danish/install.php XoopsLanguages/danish/core/2.5.5/htdocs/install/language/danish/install2.php XoopsLanguages/danish/core/2.5.5/htdocs/install/language/danish/mysql.lang.data.sql XoopsLanguages/danish/core/2.5.5/htdocs/install/language/danish/style.css XoopsLanguages/danish/core/2.5.5/htdocs/install/language/danish/support.php XoopsLanguages/danish/core/2.5.5/htdocs/install/language/danish/support.png XoopsLanguages/danish/core/2.5.5/htdocs/install/language/danish/welcome.php XoopsLanguages/danish/core/2.5.5/htdocs/language/ XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/ XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/admin.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/auth.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/backend.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/banners.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/calendar.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/captcha.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/comment.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/countries.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/errors.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/findusers.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/findusers.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/formdhtmltextarea.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/global.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/global.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/index.html XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/locale.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/logger.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/mail.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/mail_template/ XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/mail_template/activated.tpl XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/mail_template/adminactivate.tpl XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/mail_template/comment_notify.tpl XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/mail_template/commentsubmit_notify.tpl XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/mail_template/default_notify.tpl XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/mail_template/index.html XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/mail_template/lostpass1.tpl XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/mail_template/lostpass2.tpl XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/mail_template/register.tpl XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/mail_template/tellfriend.tpl XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/mail_template/welcome.tpl XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/misc.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/notification.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/pmsg.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/pmsg.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/search.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/timezone.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/uploader.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/user.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/user.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/xoopsmailerlocal.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/ XoopsLanguages/danish/core/2.5.5/htdocs/modules/pm/ XoopsLanguages/danish/core/2.5.5/htdocs/modules/pm/language/ XoopsLanguages/danish/core/2.5.5/htdocs/modules/pm/language/danish/ XoopsLanguages/danish/core/2.5.5/htdocs/modules/pm/language/danish/admin.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/pm/language/danish/index.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/pm/language/danish/main.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/pm/language/danish/main.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/modules/pm/language/danish/modinfo.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/profile/ XoopsLanguages/danish/core/2.5.5/htdocs/modules/profile/language/ XoopsLanguages/danish/core/2.5.5/htdocs/modules/profile/language/danish/ XoopsLanguages/danish/core/2.5.5/htdocs/modules/profile/language/danish/admin.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/profile/language/danish/admin.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/modules/profile/language/danish/index.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/profile/language/danish/mail_template/ XoopsLanguages/danish/core/2.5.5/htdocs/modules/profile/language/danish/mail_template/emailchanged.tpl XoopsLanguages/danish/core/2.5.5/htdocs/modules/profile/language/danish/mail_template/index.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/profile/language/danish/main.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/profile/language/danish/modinfo.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/profile/language/danish/modinfo.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/ XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/ XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/ XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/ XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/avatars.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/banners.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/blocksadmin.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/blocksadmin.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/comments.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/groups.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/images.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/index.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/mailusers.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/maintenance.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/modulesadmin.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/preferences.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/smilies.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/tplsets.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/tplsets.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/userrank.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/users.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/users.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/blocks.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/cpanel.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/help/ XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/help/avatars.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/help/banners.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/help/blocksadmin.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/help/comments.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/help/groups.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/help/help_center.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/help/images.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/help/index.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/help/mailusers.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/help/maintenance.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/help/module_index.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/help/modulesadmin.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/help/preferences.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/help/smilies.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/help/tplsets.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/help/userrank.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/help/users.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/images/ XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/images/index.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/images/lightbox-blank.gif XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/images/lightbox-btn-close.gif XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/images/lightbox-btn-next.gif XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/images/lightbox-btn-prev.gif XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/images/lightbox-ico-loading.gif XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/index.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/modinfo.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/themes/ XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/themes/default/ XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/themes/default/language/ XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/themes/default/language/danish/ XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/themes/default/language/danish/admin.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/themes/default/language/danish/index.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/themes/default/language/danish/localsupport.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/themes/zetadigme/ XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/themes/zetadigme/language/ XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/themes/zetadigme/language/danish/ XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/themes/zetadigme/language/danish/admin.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/themes/zetadigme/language/danish/index.html XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/themes/zetadigme/language/danish/localsupport.php XoopsLanguages/danish/core/2.5.5/htdocs/themes/ XoopsLanguages/danish/core/2.5.5/htdocs/themes/suico/ XoopsLanguages/danish/core/2.5.5/htdocs/themes/suico/language/ XoopsLanguages/danish/core/2.5.5/htdocs/themes/suico/language/danish/ XoopsLanguages/danish/core/2.5.5/htdocs/themes/suico/language/danish/index.html XoopsLanguages/danish/core/2.5.5/htdocs/themes/suico/language/danish/main.php XoopsLanguages/danish/core/2.5.5/htdocs/themes/suico/language/danish/script.js XoopsLanguages/danish/core/2.5.5/htdocs/themes/suico/language/danish/style.css XoopsLanguages/danish/core/2.5.5/htdocs/themes/zetagenesis/ XoopsLanguages/danish/core/2.5.5/htdocs/themes/zetagenesis/language/ XoopsLanguages/danish/core/2.5.5/htdocs/themes/zetagenesis/language/danish/ XoopsLanguages/danish/core/2.5.5/htdocs/themes/zetagenesis/language/danish/index.html XoopsLanguages/danish/core/2.5.5/htdocs/themes/zetagenesis/language/danish/main.php XoopsLanguages/danish/core/2.5.5/htdocs/themes/zetagenesis/language/danish/script.js XoopsLanguages/danish/core/2.5.5/htdocs/themes/zetagenesis/language/danish/style.css XoopsLanguages/danish/core/2.5.5/htdocs/xoops_lib/ XoopsLanguages/danish/core/2.5.5/htdocs/xoops_lib/modules/ XoopsLanguages/danish/core/2.5.5/htdocs/xoops_lib/modules/protector/ XoopsLanguages/danish/core/2.5.5/htdocs/xoops_lib/modules/protector/language/ XoopsLanguages/danish/core/2.5.5/htdocs/xoops_lib/modules/protector/language/danish/ XoopsLanguages/danish/core/2.5.5/htdocs/xoops_lib/modules/protector/language/danish/admin.php XoopsLanguages/danish/core/2.5.5/htdocs/xoops_lib/modules/protector/language/danish/admin.php.bak XoopsLanguages/danish/core/2.5.5/htdocs/xoops_lib/modules/protector/language/danish/index.html XoopsLanguages/danish/core/2.5.5/htdocs/xoops_lib/modules/protector/language/danish/main.php XoopsLanguages/danish/core/2.5.5/htdocs/xoops_lib/modules/protector/language/danish/modinfo.php XoopsLanguages/danish/core/2.5.5/htdocs/xoops_lib/modules/protector/language/danish/modinfo.php.bak XoopsLanguages/danish/core/2.5.5/upgrade/ XoopsLanguages/danish/core/2.5.5/upgrade/cnt-2.2.x-to-2.3.0/ XoopsLanguages/danish/core/2.5.5/upgrade/cnt-2.2.x-to-2.3.0/language/ XoopsLanguages/danish/core/2.5.5/upgrade/cnt-2.2.x-to-2.3.0/language/danish.php XoopsLanguages/danish/core/2.5.5/upgrade/language/ XoopsLanguages/danish/core/2.5.5/upgrade/language/danish/ XoopsLanguages/danish/core/2.5.5/upgrade/language/danish/index.html XoopsLanguages/danish/core/2.5.5/upgrade/language/danish/style.css XoopsLanguages/danish/core/2.5.5/upgrade/language/danish/upgrade.php XoopsLanguages/danish/core/2.5.5/upgrade/upd-2.0.18-to-2.3.0/ XoopsLanguages/danish/core/2.5.5/upgrade/upd-2.0.18-to-2.3.0/language/ XoopsLanguages/danish/core/2.5.5/upgrade/upd-2.0.18-to-2.3.0/language/danish.php Added: XoopsLanguages/danish/core/2.5.5/docs/install.html =================================================================== --- XoopsLanguages/danish/core/2.5.5/docs/install.html (rev 0) +++ XoopsLanguages/danish/core/2.5.5/docs/install.html 2012-03-15 18:25:29 UTC (rev 9141) @@ -0,0 +1,136 @@ +<!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>Installation af XOOPS</h1> + +<h2>Første gang installation</h2> +<h3>Forord:</h3> +<p> + <acronym title="eXtensible Object-Oriented Portal System">XOOPS</acronym> er et open-source Objektorienteret web-publicering system skrevet i PHP. Det er et ideelt værktøj til udvikling af små til store brugerbaserede hjemmesider, Firma netværks websites, Korporate portaler, weblogs og meget mere. +</p> + +<p> + XOOPS er udgivet under betingelserne i + <a href="http://www.gnu.org/copyleft/gpl.html" target="_blank">GNU General Public License (GPL)</a> + og er gratis at bruge og ændre. + Det er gratis at omfordele, så længe du overholder fordelingen betingelserne i GPL. +</p> + +<h2>Krav</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.1.0 or higher</li> + <li><a href="http://www.mysql.com/" target="_blank">MySQL</a> 5.1 or higher</li> +</ul> + +<h2>Før du installerer</h2> +<ol> + <li>Opsæt WWW server, PHP og database server ordentligt.</li> + <li>Forbered en database til dit XOOPS websted.</li> + <li>Forbered brugerkonto og give brugeren adgang til databasen.</li> + <li>Gør mappen <em>/uploads/</em> og filen <em>mainfile.php</em> skrivbar</li> + <li>Af sikkerhedsmæssige overvejelser, anbefales du kraftigt at flytte de to mapper <em>/xoops_lib/</em> (XOOPS libs) og <em>/xoops_data/</em> (XOOPS data) ud af <a href="http://phpsec.org/projects/guide/3.html" target="_blank">document root</a> og ændre mappernes navne.</li> + <li>Gør mappen <em>/xoops_data/</em> skrivbar; Opret (hvis de ikke allerede findes) og gør mapperne <em>/xoops_data/configs/</em>, <em>/xoops_data/caches/</em>, <em>/xoops_data/caches/xoops_cache/</em>, <em>/xoops_data/caches/smarty_cache/</em> og <em>/xoops_data/caches/smarty_compile/</em> skrivbar.</li> + <li>Tillad cookies og JavaScript i din browser.</li> +</ol> + + +<h2>Installation af lokalt</h2> +<p>Hvis du kører et lokalt miljø for udvikling eller afprøvning, så sørg for at du har opfyldt de tidligere krav. Når dette er gjort, skal du kopiere indholdet af htdocs mappen til rod af din webserver. Når filerne er kopieret, kan du starte installationen ved at skrive "http://yoursite.com". Dette vil starte installationen med processen.</p> + + +<h2>Installation på en hosted platform</h2> +<p>Hvis du kører i et hosted miljø, udpakke XOOPS filer lokalt eller på serveren, hvis du har Telnet eller SSH adgang. Når du har gjort dette, skal du sørge for at flytte eller kopiere alle XOOPS filer fra htdocs mappen til dit rod webdirectory (din udbyder angiver normalt dette sted med anvisninger). Når filerne er kopieret dertil, kan du starte installationen ved at skrive "http://yoursite.com". Dette vil starte installationen.</p> + + +<h2>Installationen fortsættes</h2> +<p>Bare følg trin-for-trin instruktionerne i installationsprogrammet.</p> + +</div> +</body> +</html> \ No newline at end of file Added: XoopsLanguages/danish/core/2.5.5/extras/modules/system/language/danish/admin/filemanager.php =================================================================== --- XoopsLanguages/danish/core/2.5.5/extras/modules/system/language/danish/admin/filemanager.php (rev 0) +++ XoopsLanguages/danish/core/2.5.5/extras/modules/system/language/danish/admin/filemanager.php 2012-03-15 18:25:29 UTC (rev 9141) @@ -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','Fil Manager'); +define('_AM_SYSTEM_FILEMANAGER_NAV_MAIN','Fil Manager'); + +//Tips +define('_AM_SYSTEM_FILEMANAGER_NAV_TIPS',' +<ul> +<li>Skift fil rettigheder, indhold eller slet ubrugte filer i XOOPS.</li> +</ul> +'); + +// Main +define('_AM_SYSTEM_FILEMANAGER_DIRECTORY','Mappe'); +define('_AM_SYSTEM_FILEMANAGER_FILES','Filer'); +define('_AM_SYSTEM_FILEMANAGER_GENERATE','Genereret tillæg'); +define('_AM_SYSTEM_FILEMANAGER_SELECT_THEME','Vælg tema'); +define('_AM_SYSTEM_FILEMANAGER_FORCE_GENERATED','Tvangs generer'); +define('_AM_SYSTEM_FILEMANAGER_NAV_FILE_GENERATED','Filer genereret'); +define('_AM_SYSTEM_FILEMANAGER_NOT_CREATED','Ingen filer genereret'); +define('_AM_SYSTEM_FILEMANAGER_HOME','Hjem'); +define('_AM_SYSTEM_FILEMANAGER_SAVE','Gem'); +define('_AM_SYSTEM_FILEMANAGER_CANCEL','Fortryd'); +define('_AM_SYSTEM_FILEMANAGER_RESTORE','Gendan'); +define('_AM_SYSTEM_FILEMANAGER_REFRESH','Opdatér'); +define('_AM_SYSTEM_FILEMANAGER_UPLOAD','Upload fil'); +define('_AM_SYSTEM_FILEMANAGER_UPLOAD_CHOOSE','Vælg en fil til upload'); +define('_AM_SYSTEM_FILEMANAGER_ADDDIR','Tilføj mappe'); +define('_AM_SYSTEM_FILEMANAGER_ADDDIR_NAME','Vælg navnet på mappen'); +define('_AM_SYSTEM_FILEMANAGER_ADDFILE','Tilføj ny fil'); +define('_AM_SYSTEM_FILEMANAGER_DELDIR','Slet mappe'); + +define('_AM_SYSTEM_FILEMANAGER_RESTORE_ERROR_FILE_EXISTS','Fejl : Filen eksisterer ikke'); +define('_AM_SYSTEM_FILEMANAGER_RESTORE_ERROR_FILE_DELETE','Fejl : Filen blev ikke slettet'); +define('_AM_SYSTEM_FILEMANAGER_RESTORE_ERROR_FILE_RENAME','Fejl : Filen blev ikke omdøbt'); +define('_AM_SYSTEM_FILEMANAGER_BACK','Tilbage'); +define('_AM_SYSTEM_FILEMANAGER_DELETE','Slet'); +define('_AM_SYSTEM_FILEMANAGER_ERROR','Fejl'); +define('_AM_SYSTEM_FILEMANAGER_EDIT','Redigering af:'); +define('_AM_SYSTEM_FILEMANAGER_EMPTY_FILE','Filen er tom'); +define('_AM_SYSTEM_FILEMANAGER_DELDIR_NOTOK','Fejl : Sletning af mappen lykkeds ikke'); +define('_AM_SYSTEM_FILEMANAGER_DELDIR_OK','Mappen blev slettet'); + +// Message +define('_AM_SYSTEM_FILEMANAGER_UPLOAD_FILE','Filer blev uploaded'); +define('_AM_SYSTEM_FILEMANAGER_EXTRACT_FILE','Filer blev udpakket'); +define('_AM_SYSTEM_FILEMANAGER_EXTRACT_ERROR','Filer kunne ikke udpakkes'); +define('_AM_SYSTEM_FILEMANAGER_DELETE_FILE','Filer slettet'); +define('_AM_SYSTEM_FILEMANAGER_DIR_SUCCESS','Mapper oprettet'); +define('_AM_SYSTEM_FILEMANAGER_DIR_ERROR','Mapper kunne ikke oprettes'); +define('_AM_SYSTEM_FILEMANAGER_DIR_RYSDEL','Er du sikker på at du vil slette denne mappe?'); +define('_AM_SYSTEM_FILEMANAGER_FILE_SUCCESS','Fil oprettet'); +define('_AM_SYSTEM_FILEMANAGER_SUREDEL', 'Er du sikker på at du vil slette denne fil %s ?'); +define('_AM_SYSTEM_FILEMANAGER_DIR_SUREDEL', 'Er du sikker på at du vil slette denne mappe %s ?<br />Advarsel: alle underliggende mapper og filer bliver også slettet'); +?> Added: XoopsLanguages/danish/core/2.5.5/extras/modules/system/language/danish/admin/index.html =================================================================== --- XoopsLanguages/danish/core/2.5.5/extras/modules/system/language/danish/admin/index.html (rev 0) +++ XoopsLanguages/danish/core/2.5.5/extras/modules/system/language/danish/admin/index.html 2012-03-15 18:25:29 UTC (rev 9141) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/danish/core/2.5.5/extras/modules/system/language/danish/index.html =================================================================== --- XoopsLanguages/danish/core/2.5.5/extras/modules/system/language/danish/index.html (rev 0) +++ XoopsLanguages/danish/core/2.5.5/extras/modules/system/language/danish/index.html 2012-03-15 18:25:29 UTC (rev 9141) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/danish/core/2.5.5/files.txt =================================================================== --- XoopsLanguages/danish/core/2.5.5/files.txt (rev 0) +++ XoopsLanguages/danish/core/2.5.5/files.txt 2012-03-15 18:25:29 UTC (rev 9141) @@ -0,0 +1,145 @@ + htdocs/class/mail/phpmailer/language/phpmailer.lang-da.php + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/da.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/da.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/da.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/da.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/da.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/da.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/da.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/da.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/da_dlg.js + htdocs/install/language/persian/finish.php + htdocs/install/language/persian/index.html + htdocs/install/language/persian/install.php + htdocs/install/language/persian/install2.php + htdocs/install/language/persian/mysql.lang.data.sql + htdocs/install/language/persian/style.css + htdocs/install/language/persian/support.php + htdocs/install/language/persian/support.png + htdocs/install/language/persian/welcome.php + htdocs/language/persian/admin.php + htdocs/language/persian/auth.php + htdocs/language/persian/backend.php + htdocs/language/persian/banners.php + htdocs/language/persian/calendar.php + htdocs/language/persian/captcha.php + htdocs/language/persian/comment.php + htdocs/language/persian/countries.php + htdocs/language/persian/errors.php + htdocs/language/persian/findusers.php + htdocs/language/persian/formdhtmltextarea.php + htdocs/language/persian/global.php + htdocs/language/persian/index.html + htdocs/language/persian/locale.php + htdocs/language/persian/logger.php + htdocs/language/persian/mail.php + htdocs/language/persian/misc.php + htdocs/language/persian/notification.php + htdocs/language/persian/pmsg.php + htdocs/language/persian/search.php + htdocs/language/persian/timezone.php + htdocs/language/persian/uploader.php + htdocs/language/persian/user.php + htdocs/language/persian/xoopsmailerlocal.php + htdocs/language/persian/mail_template/activated.tpl + htdocs/language/persian/mail_template/adminactivate.tpl + htdocs/language/persian/mail_template/comment_notify.tpl + htdocs/language/persian/mail_template/commentsubmit_notify.tpl + htdocs/language/persian/mail_template/default_notify.tpl + htdocs/language/persian/mail_template/index.html + htdocs/language/persian/mail_template/lostpass1.tpl + htdocs/language/persian/mail_template/lostpass2.tpl + htdocs/language/persian/mail_template/register.tpl + htdocs/language/persian/mail_template/tellfriend.tpl + htdocs/language/persian/mail_template/welcome.tpl + htdocs/modules/pm/language/persian/admin.php + htdocs/modules/pm/language/persian/index.html + htdocs/modules/pm/language/persian/main.php + htdocs/modules/pm/language/persian/modinfo.php + htdocs/modules/profile/language/persian/admin.php + htdocs/modules/profile/language/persian/index.html + htdocs/modules/profile/language/persian/main.php + htdocs/modules/profile/language/persian/modinfo.php + htdocs/modules/profile/language/persian/mail_template/emailchanged.tpl + htdocs/modules/profile/language/persian/mail_template/index.html + htdocs/modules/system/language/persian/admin/avatars.php + htdocs/modules/system/language/persian/admin/banners.php + htdocs/modules/system/language/persian/admin/blocksadmin.php + htdocs/modules/system/language/persian/admin/comments.php + htdocs/modules/system/language/persian/admin/groups.php + htdocs/modules/system/language/persian/admin/images.php + htdocs/modules/system/language/persian/admin/index.html + htdocs/modules/system/language/persian/admin/mailusers.php + htdocs/modules/system/language/persian/admin/maintenance.php + htdocs/modules/system/language/persian/admin/modulesadmin.php + htdocs/modules/system/language/persian/admin/preferences.php + htdocs/modules/system/language/persian/admin/smilies.php + htdocs/modules/system/language/persian/admin/tplsets.php + htdocs/modules/system/language/persian/admin/userrank.php + htdocs/modules/system/language/persian/admin/users.php + htdocs/modules/system/language/persian/admin.php + htdocs/modules/system/language/persian/blocks.php + htdocs/modules/system/language/persian/cpanel.php + htdocs/modules/system/language/persian/index.html + htdocs/modules/system/language/persian/modinfo.php + htdocs/modules/system/language/persian/help/ + htdocs/modules/system/language/persian/help/avatars.html + htdocs/modules/system/language/persian/help/banners.html + htdocs/modules/system/language/persian/help/blocksadmin.html + htdocs/modules/system/language/persian/help/comments.html + htdocs/modules/system/language/persian/help/groups.html + htdocs/modules/system/language/persian/help/help_center.html + htdocs/modules/system/language/persian/help/images.html + htdocs/modules/system/language/persian/help/index.html + htdocs/modules/system/language/persian/help/mailusers.html + htdocs/modules/system/language/persian/help/maintenance.html + htdocs/modules/system/language/persian/help/module_index.html + htdocs/modules/system/language/persian/help/modulesadmin.html + htdocs/modules/system/language/persian/help/preferences.html + htdocs/modules/system/language/persian/help/smilies.html + htdocs/modules/system/language/persian/help/tplsets.html + htdocs/modules/system/language/persian/help/userrank.html + htdocs/modules/system/language/persian/help/users.html + htdocs/modules/system/language/persian/images/index.html + htdocs/modules/system/language/persian/images/lightbox-blank.gif + htdocs/modules/system/language/persian/images/lightbox-btn-close.gif + htdocs/modules/system/language/persian/images/lightbox-btn-next.gif + htdocs/modules/system/language/persian/images/lightbox-btn-prev.gif + htdocs/modules/system/language/persian/images/lightbox-ico-loading.gif + htdocs/modules/system/themes/default/language/persian/admin.php + htdocs/modules/system/themes/default/language/persian/index.html + htdocs/modules/system/themes/default/language/persian/localsupport.php + htdocs/modules/system/themes/zetadigme/language/persian/admin.php + htdocs/modules/system/themes/zetadigme/language/persian/index.html + htdocs/modules/system/themes/zetadigme/language/persian/localsupport.php + htdocs/themes/suico/language/persian/index.html + htdocs/themes/suico/language/persian/main.php + htdocs/themes/suico/language/persian/script.js + htdocs/themes/suico/language/persian/style.css + htdocs/themes/zetagenesis/language/persian/index.html + htdocs/themes/zetagenesis/language/persian/main.php + htdocs/themes/zetagenesis/language/persian/script.js + htdocs/themes/zetagenesis/language/persian/style.css + htdocs/xoops_lib/modules/protector/language/persian/admin.php + htdocs/xoops_lib/modules/protector/language/persian/index.html + htdocs/xoops_lib/modules/protector/language/persian/main.php + htdocs/xoops_lib/modules/protector/language/persian/modinfo.php + extras/modules/system/language/danish/admin/filemanager.php + extras/modules/system/language/danish/admin/index.html Added: XoopsLanguages/danish/core/2.5.5/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php =================================================================== --- XoopsLanguages/danish/core/2.5.5/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php (rev 0) +++ XoopsLanguages/danish/core/2.5.5/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php 2012-03-15 18:25:29 UTC (rev 9141) @@ -0,0 +1,26 @@ +<?php +/** +* PHPMailer language file: refer to English translation for definitive list +* Danish Version +* Author: Mikael Stokkebro <in...@st...> +*/ + +$PHPMAILER_LANG['authenticate'] = 'SMTP fejl: Kunne ikke logge p\xE5.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP fejl: Kunne ikke tilslutte SMTP serveren.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP fejl: Data kunne ikke accepteres.'; +//$PHPMAILER_LANG['empty_message'] = 'Message body empty'; +$PHPMAILER_LANG['encoding'] = 'Ukendt encode-format: '; +$PHPMAILER_LANG['execute'] = 'Kunne ikke k\xF8re: '; +$PHPMAILER_LANG['file_access'] = 'Ingen adgang til fil: '; +$PHPMAILER_LANG['file_open'] = 'Fil fejl: Kunne ikke \xE5bne filen: '; +$PHPMAILER_LANG['from_failed'] = 'F\xF8lgende afsenderadresse er forkert: '; +$PHPMAILER_LANG['instantiate'] = 'Kunne ikke initialisere email funktionen.'; +//$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer underst\xF8ttes ikke.'; +$PHPMAILER_LANG['provide_address'] = 'Du skal indtaste mindst en modtagers emailadresse.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP fejl: F\xF8lgende modtagere er forkerte: '; +//$PHPMAILER_LANG['signing'] = 'Signing Error: '; +//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; +//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; +//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; +?><?php // Translation done by Culex - 2012-03-15 18:40 ?> \ No newline at end of file Added: XoopsLanguages/danish/core/2.5.5/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php.bak =================================================================== --- XoopsLanguages/danish/core/2.5.5/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php.bak (rev 0) +++ XoopsLanguages/danish/core/2.5.5/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php.bak 2012-03-15 18:25:29 UTC (rev 9141) @@ -0,0 +1,26 @@ +<?php +/** +* PHPMailer language file: refer to English translation for definitive list +* Danish Version +* Author: Mikael Stokkebro <in...@st...> +*/ + +$PHPMAILER_LANG['authenticate'] = 'SMTP fejl: Kunne ikke logge p\xE5.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP fejl: Kunne ikke tilslutte SMTP serveren.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP fejl: Data kunne ikke accepteres.'; +//$PHPMAILER_LANG['empty_message'] = 'Message body empty'; +$PHPMAILER_LANG['encoding'] = 'Ukendt encode-format: '; +$PHPMAILER_LANG['execute'] = 'Kunne ikke k\xF8re: '; +$PHPMAILER_LANG['file_access'] = 'Ingen adgang til fil: '; +$PHPMAILER_LANG['file_open'] = 'Fil fejl: Kunne ikke \xE5bne filen: '; +$PHPMAILER_LANG['from_failed'] = 'F\xF8lgende afsenderadresse er forkert: '; +$PHPMAILER_LANG['instantiate'] = 'Kunne ikke initialisere email funktionen.'; +//$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer underst\xF8ttes ikke.'; +$PHPMAILER_LANG['provide_address'] = 'Du skal indtaste mindst en modtagers emailadresse.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP fejl: F\xF8lgende modtagere er forkerte: '; +//$PHPMAILER_LANG['signing'] = 'Signing Error: '; +//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; +//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; +//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; +?> \ No newline at end of file Added: XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/dhtmltextarea/language/danish.php =================================================================== --- XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/dhtmltextarea/language/danish.php (rev 0) +++ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/dhtmltextarea/language/danish.php 2012-03-15 18:25:29 UTC (rev 9141) @@ -0,0 +1,22 @@ +<?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 4941 2010-07-22 17:13:36Z beckmi $ + * @package xoopseditor + */ +/** + * Assocated with editor_registry.php + */ + +// _LANGCODE: da +// _CHARSET : UTF-8 +// Translator: Anders Kristiansen (anderssk) www.xoopsnordic.org + +define( '_XOOPS_EDITOR_DHTMLTEXTAREA', 'DHTML med xCode' ); + +?> Added: XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/textarea/language/danish.php =================================================================== --- XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/textarea/language/danish.php (rev 0) +++ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/textarea/language/danish.php 2012-03-15 18:25:29 UTC (rev 9141) @@ -0,0 +1,20 @@ +<?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 4941 2010-07-22 17:13:36Z beckmi $ + * @package xoopseditor + */ +// _LANGCODE: da +// _CHARSET : UTF-8 +// Translator: Anders Kristiansen (anderssk) www.xoopsnordic.org + +/* + * Assocated with editor_registry.php + */ +define("_XOOPS_EDITOR_TEXTAREA", "Ren tekst"); +?> Added: XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/language/danish.php =================================================================== --- XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/language/danish.php (rev 0) +++ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/language/danish.php 2012-03-15 18:25:29 UTC (rev 9141) @@ -0,0 +1,29 @@ +<?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 1138 2010-03-25 11:21:46Z kris_fr $ + */ +/* + * Assocated with editor_registry.php + */ +// _LANGCODE: da +// _CHARSET : UTF-8 +// Translator: Anders Kristiansen (anderssk) www.xoopsnordic.org + +// 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", "da"); + +// 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"); +?> Added: XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/da.js =================================================================== --- XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/da.js (rev 0) +++ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/da.js 2012-03-15 18:25:29 UTC (rev 9141) @@ -0,0 +1,170 @@ +tinyMCE.addI18n({en:{ +common:{ +edit_confirm:"Do you want to use the WYSIWYG mode for this textarea?", +apply:"Apply", +insert:"Insert", +update:"Update", +cancel:"Cancel", +close:"Close", +browse:"Browse", +class_name:"Class", +not_set:"-- Not set --", +clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?", +clipboard_no_support:"Currently not supported by your browser, use keyboard shortcuts instead.", +popup_blocked:"Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.", +invalid_data:"Error: Invalid values entered, these are marked in red.", +more_colors:"More colors" +}, +contextmenu:{ +align:"Alignment", +left:"Left", +center:"Center", +right:"Right", +full:"Full" +}, +insertdatetime:{ +date_fmt:"%Y-%m-%d", +time_fmt:"%H:%M:%S", +insertdate_desc:"Insert date", +inserttime_desc:"Insert time", +months_long:"January,February,March,April,May,June,July,August,September,October,November,December", +months_short:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec", +day_long:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday", +day_short:"Sun,Mon,Tue,Wed,Thu,Fri,Sat,Sun" +}, +print:{ +print_desc:"Print" +}, +preview:{ +preview_desc:"Preview" +}, +directionality:{ +ltr_desc:"Direction left to right", +rtl_desc:"Direction right to left" +}, +layer:{ +insertlayer_desc:"Insert new layer", +forward_desc:"Move forward", +backward_desc:"Move backward", +absolute_desc:"Toggle absolute positioning", +content:"New layer..." +}, +save:{ +save_desc:"Save", +cancel_desc:"Cancel all changes" +}, +nonbreaking:{ +nonbreaking_desc:"Insert non-breaking space character" +}, +iespell:{ +iespell_desc:"Run spell checking", +download:"ieSpell not detected. Do you want to install it now?" +}, +advhr:{ +advhr_desc:"Horizontal rule" +}, +emotions:{ +emotions_desc:"Emotions" +}, +searchreplace:{ +search_desc:"Find", +replace_desc:"Find/Replace" +}, +advimage:{ +image_desc:"Insert/edit image" +}, +advlink:{ +link_desc:"Insert/edit link" +}, +xhtmlxtras:{ +cite_desc:"Citation", +abbr_desc:"Abbreviation", +acronym_desc:"Acronym", +del_desc:"Deletion", +ins_desc:"Insertion", +attribs_desc:"Insert/Edit Attributes" +}, +style:{ +desc:"Edit CSS Style" +}, +paste:{ +paste_text_desc:"Paste as Plain Text", +paste_word_desc:"Paste from Word", +selectall_desc:"Select All", +plaintext_mode_sticky:"Paste is now in plain text mode. Click again to toggle back to regular paste mode. After you paste something you will be returned to regular paste mode.", +plaintext_mode:"Paste is now in plain text mode. Click again to toggle back to regular paste mode." +}, +paste_dlg:{ +text_title:"Use CTRL+V on your keyboard to paste the text into the window.", +text_linebreaks:"Keep linebreaks", +word_title:"Use CTRL+V on your keyboard to paste the text into the window." +}, +table:{ +desc:"Inserts a new table", +row_before_desc:"Insert row before", +row_after_desc:"Insert row after", +delete_row_desc:"Delete row", +col_before_desc:"Insert column before", +col_after_desc:"Insert column after", +delete_col_desc:"Remove column", +split_cells_desc:"Split merged table cells", +merge_cells_desc:"Merge table cells", +row_desc:"Table row properties", +cell_desc:"Table cell properties", +props_desc:"Table properties", +paste_row_before_desc:"Paste table row before", +paste_row_after_desc:"Paste table row after", +cut_row_desc:"Cut table row", +copy_row_desc:"Copy table row", +del:"Delete table", +row:"Row", +col:"Column", +cell:"Cell" +}, +autosave:{ +unload_msg:"The changes you made will be lost if you navigate away from this page.", +restore_content:"Restore auto-saved content.", +warning_message:"If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?." +}, +fullscreen:{ +desc:"Toggle fullscreen mode" +}, +media:{ +desc:"Insert / edit embedded media", +edit:"Edit embedded media" +}, +fullpage:{ +desc:"Document properties" +}, +template:{ +desc:"Insert predefined template content" +}, +visualchars:{ +desc:"Visual control characters on/off." +}, +spellchecker:{ +desc:"Toggle spellchecker", +menu:"Spellchecker settings", +ignore_word:"Ignore word", +ignore_words:"Ignore all", +langs:"Languages", +wait:"Please wait...", +sug:"Suggestions", +no_sug:"No suggestions", +no_mpell:"No misspellings found." +}, +pagebreak:{ +desc:"Insert page break." +}, +advlist:{ +types:"Types", +def:"Default", +lower_alpha:"Lower alpha", +lower_greek:"Lower greek", +lower_roman:"Lower roman", +upper_alpha:"Upper alpha", +upper_roman:"Upper roman", +circle:"Circle", +disc:"Disc", +square:"Square" +}}}); \ No newline at end of file Added: XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/da_dlg.js =================================================================== --- XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/da_dlg.js (rev 0) +++ XoopsLanguages/danish/core/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/da_dlg.js 2012-03-15 18:25:29 UTC (re... [truncated message content] |
From: <dj...@us...> - 2012-03-15 17:58:51
|
Revision: 9140 http://xoops.svn.sourceforge.net/xoops/?rev=9140&view=rev Author: djculex Date: 2012-03-15 17:58:36 +0000 (Thu, 15 Mar 2012) Log Message: ----------- Danish language files for xoops 2.5.4 Added Paths: ----------- XoopsLanguages/danish/core/2.5.4/ XoopsLanguages/danish/core/2.5.4/docs/ XoopsLanguages/danish/core/2.5.4/docs/install.html XoopsLanguages/danish/core/2.5.4/extras/ XoopsLanguages/danish/core/2.5.4/extras/modules/ XoopsLanguages/danish/core/2.5.4/extras/modules/system/ XoopsLanguages/danish/core/2.5.4/extras/modules/system/language/ XoopsLanguages/danish/core/2.5.4/extras/modules/system/language/danish/ XoopsLanguages/danish/core/2.5.4/extras/modules/system/language/danish/admin/ XoopsLanguages/danish/core/2.5.4/extras/modules/system/language/danish/admin/filemanager.php XoopsLanguages/danish/core/2.5.4/extras/modules/system/language/danish/admin/index.html XoopsLanguages/danish/core/2.5.4/extras/modules/system/language/danish/index.html XoopsLanguages/danish/core/2.5.4/files.txt XoopsLanguages/danish/core/2.5.4/htdocs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/ XoopsLanguages/danish/core/2.5.4/htdocs/class/mail/ XoopsLanguages/danish/core/2.5.4/htdocs/class/mail/phpmailer/ XoopsLanguages/danish/core/2.5.4/htdocs/class/mail/phpmailer/language/ XoopsLanguages/danish/core/2.5.4/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php XoopsLanguages/danish/core/2.5.4/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/dhtmltextarea/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/dhtmltextarea/language/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/dhtmltextarea/language/danish.php XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/textarea/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/textarea/language/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/textarea/language/danish.php XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/language/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/language/danish.php XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/da.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/da_dlg.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/da_dlg.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/da_dlg.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/da.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/da_dlg.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/da.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/da_dlg.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/da_dlg.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/da_dlg.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/da_dlg.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/da_dlg.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/da_dlg.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/da_dlg.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/langs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/langs/da_dlg.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/da_dlg.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/da.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/da_dlg.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/da.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/da_dlg.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/da.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/da_dlg.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/da.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/da_dlg.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/da.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/da_dlg.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/da.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/da_dlg.js XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/langs/ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/langs/da.js XoopsLanguages/danish/core/2.5.4/htdocs/install/ XoopsLanguages/danish/core/2.5.4/htdocs/install/language/ XoopsLanguages/danish/core/2.5.4/htdocs/install/language/danish/ XoopsLanguages/danish/core/2.5.4/htdocs/install/language/danish/finish.php XoopsLanguages/danish/core/2.5.4/htdocs/install/language/danish/index.html XoopsLanguages/danish/core/2.5.4/htdocs/install/language/danish/install.php XoopsLanguages/danish/core/2.5.4/htdocs/install/language/danish/install2.php XoopsLanguages/danish/core/2.5.4/htdocs/install/language/danish/mysql.lang.data.sql XoopsLanguages/danish/core/2.5.4/htdocs/install/language/danish/style.css XoopsLanguages/danish/core/2.5.4/htdocs/install/language/danish/support.php XoopsLanguages/danish/core/2.5.4/htdocs/install/language/danish/support.png XoopsLanguages/danish/core/2.5.4/htdocs/install/language/danish/welcome.php XoopsLanguages/danish/core/2.5.4/htdocs/language/ XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/ XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/admin.php XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/auth.php XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/backend.php XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/banners.php XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/calendar.php XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/captcha.php XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/comment.php XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/countries.php XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/errors.php XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/findusers.php XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/findusers.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/formdhtmltextarea.php XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/global.php XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/global.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/index.html XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/locale.php XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/logger.php XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/mail.php XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/mail_template/ XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/mail_template/activated.tpl XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/mail_template/adminactivate.tpl XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/mail_template/comment_notify.tpl XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/mail_template/commentsubmit_notify.tpl XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/mail_template/default_notify.tpl XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/mail_template/index.html XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/mail_template/lostpass1.tpl XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/mail_template/lostpass2.tpl XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/mail_template/register.tpl XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/mail_template/tellfriend.tpl XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/mail_template/welcome.tpl XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/misc.php XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/notification.php XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/pmsg.php XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/pmsg.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/search.php XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/timezone.php XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/uploader.php XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/user.php XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/user.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/language/danish/xoopsmailerlocal.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/ XoopsLanguages/danish/core/2.5.4/htdocs/modules/pm/ XoopsLanguages/danish/core/2.5.4/htdocs/modules/pm/language/ XoopsLanguages/danish/core/2.5.4/htdocs/modules/pm/language/danish/ XoopsLanguages/danish/core/2.5.4/htdocs/modules/pm/language/danish/admin.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/pm/language/danish/index.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/pm/language/danish/main.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/pm/language/danish/main.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/modules/pm/language/danish/modinfo.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/profile/ XoopsLanguages/danish/core/2.5.4/htdocs/modules/profile/language/ XoopsLanguages/danish/core/2.5.4/htdocs/modules/profile/language/danish/ XoopsLanguages/danish/core/2.5.4/htdocs/modules/profile/language/danish/admin.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/profile/language/danish/admin.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/modules/profile/language/danish/index.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/profile/language/danish/mail_template/ XoopsLanguages/danish/core/2.5.4/htdocs/modules/profile/language/danish/mail_template/emailchanged.tpl XoopsLanguages/danish/core/2.5.4/htdocs/modules/profile/language/danish/mail_template/index.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/profile/language/danish/main.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/profile/language/danish/modinfo.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/profile/language/danish/modinfo.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/ XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/ XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/ XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/ XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/avatars.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/banners.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/blocksadmin.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/blocksadmin.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/comments.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/groups.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/images.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/index.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/mailusers.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/maintenance.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/modulesadmin.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/preferences.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/smilies.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/tplsets.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/tplsets.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/userrank.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/users.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin/users.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/admin.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/blocks.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/cpanel.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/help/ XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/help/avatars.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/help/banners.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/help/blocksadmin.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/help/comments.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/help/groups.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/help/help_center.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/help/images.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/help/index.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/help/mailusers.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/help/maintenance.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/help/module_index.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/help/modulesadmin.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/help/preferences.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/help/smilies.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/help/tplsets.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/help/userrank.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/help/users.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/images/ XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/images/index.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/images/lightbox-blank.gif XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/images/lightbox-btn-close.gif XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/images/lightbox-btn-next.gif XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/images/lightbox-btn-prev.gif XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/images/lightbox-ico-loading.gif XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/index.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/language/danish/modinfo.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/themes/ XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/themes/default/ XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/themes/default/language/ XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/themes/default/language/danish/ XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/themes/default/language/danish/admin.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/themes/default/language/danish/index.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/themes/default/language/danish/localsupport.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/themes/zetadigme/ XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/themes/zetadigme/language/ XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/themes/zetadigme/language/danish/ XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/themes/zetadigme/language/danish/admin.php XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/themes/zetadigme/language/danish/index.html XoopsLanguages/danish/core/2.5.4/htdocs/modules/system/themes/zetadigme/language/danish/localsupport.php XoopsLanguages/danish/core/2.5.4/htdocs/themes/ XoopsLanguages/danish/core/2.5.4/htdocs/themes/suico/ XoopsLanguages/danish/core/2.5.4/htdocs/themes/suico/language/ XoopsLanguages/danish/core/2.5.4/htdocs/themes/suico/language/danish/ XoopsLanguages/danish/core/2.5.4/htdocs/themes/suico/language/danish/index.html XoopsLanguages/danish/core/2.5.4/htdocs/themes/suico/language/danish/main.php XoopsLanguages/danish/core/2.5.4/htdocs/themes/suico/language/danish/script.js XoopsLanguages/danish/core/2.5.4/htdocs/themes/suico/language/danish/style.css XoopsLanguages/danish/core/2.5.4/htdocs/themes/zetagenesis/ XoopsLanguages/danish/core/2.5.4/htdocs/themes/zetagenesis/language/ XoopsLanguages/danish/core/2.5.4/htdocs/themes/zetagenesis/language/danish/ XoopsLanguages/danish/core/2.5.4/htdocs/themes/zetagenesis/language/danish/index.html XoopsLanguages/danish/core/2.5.4/htdocs/themes/zetagenesis/language/danish/main.php XoopsLanguages/danish/core/2.5.4/htdocs/themes/zetagenesis/language/danish/script.js XoopsLanguages/danish/core/2.5.4/htdocs/themes/zetagenesis/language/danish/style.css XoopsLanguages/danish/core/2.5.4/htdocs/xoops_lib/ XoopsLanguages/danish/core/2.5.4/htdocs/xoops_lib/modules/ XoopsLanguages/danish/core/2.5.4/htdocs/xoops_lib/modules/protector/ XoopsLanguages/danish/core/2.5.4/htdocs/xoops_lib/modules/protector/language/ XoopsLanguages/danish/core/2.5.4/htdocs/xoops_lib/modules/protector/language/danish/ XoopsLanguages/danish/core/2.5.4/htdocs/xoops_lib/modules/protector/language/danish/admin.php XoopsLanguages/danish/core/2.5.4/htdocs/xoops_lib/modules/protector/language/danish/admin.php.bak XoopsLanguages/danish/core/2.5.4/htdocs/xoops_lib/modules/protector/language/danish/index.html XoopsLanguages/danish/core/2.5.4/htdocs/xoops_lib/modules/protector/language/danish/main.php XoopsLanguages/danish/core/2.5.4/htdocs/xoops_lib/modules/protector/language/danish/modinfo.php XoopsLanguages/danish/core/2.5.4/htdocs/xoops_lib/modules/protector/language/danish/modinfo.php.bak XoopsLanguages/danish/core/2.5.4/upgrade/ XoopsLanguages/danish/core/2.5.4/upgrade/cnt-2.2.x-to-2.3.0/ XoopsLanguages/danish/core/2.5.4/upgrade/cnt-2.2.x-to-2.3.0/language/ XoopsLanguages/danish/core/2.5.4/upgrade/cnt-2.2.x-to-2.3.0/language/danish.php XoopsLanguages/danish/core/2.5.4/upgrade/language/ XoopsLanguages/danish/core/2.5.4/upgrade/language/danish/ XoopsLanguages/danish/core/2.5.4/upgrade/language/danish/index.html XoopsLanguages/danish/core/2.5.4/upgrade/language/danish/style.css XoopsLanguages/danish/core/2.5.4/upgrade/language/danish/upgrade.php XoopsLanguages/danish/core/2.5.4/upgrade/upd-2.0.18-to-2.3.0/ XoopsLanguages/danish/core/2.5.4/upgrade/upd-2.0.18-to-2.3.0/language/ XoopsLanguages/danish/core/2.5.4/upgrade/upd-2.0.18-to-2.3.0/language/danish.php Added: XoopsLanguages/danish/core/2.5.4/docs/install.html =================================================================== --- XoopsLanguages/danish/core/2.5.4/docs/install.html (rev 0) +++ XoopsLanguages/danish/core/2.5.4/docs/install.html 2012-03-15 17:58:36 UTC (rev 9140) @@ -0,0 +1,136 @@ +<!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>Installation af XOOPS</h1> + +<h2>Første gang installation</h2> +<h3>Forord:</h3> +<p> + <acronym title="eXtensible Object-Oriented Portal System">XOOPS</acronym> er et open-source Objektorienteret web-publicering system skrevet i PHP. Det er et ideelt værktøj til udvikling af små til store brugerbaserede hjemmesider, Firma netværks websites, Korporate portaler, weblogs og meget mere. +</p> + +<p> + XOOPS er udgivet under betingelserne i + <a href="http://www.gnu.org/copyleft/gpl.html" target="_blank">GNU General Public License (GPL)</a> + og er gratis at bruge og ændre. + Det er gratis at omfordele, så længe du overholder fordelingen betingelserne i GPL. +</p> + +<h2>Krav</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.1.0 or higher</li> + <li><a href="http://www.mysql.com/" target="_blank">MySQL</a> 5.1 or higher</li> +</ul> + +<h2>Før du installerer</h2> +<ol> + <li>Opsæt WWW server, PHP og database server ordentligt.</li> + <li>Forbered en database til dit XOOPS websted.</li> + <li>Forbered brugerkonto og give brugeren adgang til databasen.</li> + <li>Gør mappen <em>/uploads/</em> og filen <em>mainfile.php</em> skrivbar</li> + <li>Af sikkerhedsmæssige overvejelser, anbefales du kraftigt at flytte de to mapper <em>/xoops_lib/</em> (XOOPS libs) og <em>/xoops_data/</em> (XOOPS data) ud af <a href="http://phpsec.org/projects/guide/3.html" target="_blank">document root</a> og ændre mappernes navne.</li> + <li>Gør mappen <em>/xoops_data/</em> skrivbar; Opret (hvis de ikke allerede findes) og gør mapperne <em>/xoops_data/configs/</em>, <em>/xoops_data/caches/</em>, <em>/xoops_data/caches/xoops_cache/</em>, <em>/xoops_data/caches/smarty_cache/</em> og <em>/xoops_data/caches/smarty_compile/</em> skrivbar.</li> + <li>Tillad cookies og JavaScript i din browser.</li> +</ol> + + +<h2>Installation af lokalt</h2> +<p>Hvis du kører et lokalt miljø for udvikling eller afprøvning, så sørg for at du har opfyldt de tidligere krav. Når dette er gjort, skal du kopiere indholdet af htdocs mappen til rod af din webserver. Når filerne er kopieret, kan du starte installationen ved at skrive "http://yoursite.com". Dette vil starte installationen med processen.</p> + + +<h2>Installation på en hosted platform</h2> +<p>Hvis du kører i et hosted miljø, udpakke XOOPS filer lokalt eller på serveren, hvis du har Telnet eller SSH adgang. Når du har gjort dette, skal du sørge for at flytte eller kopiere alle XOOPS filer fra htdocs mappen til dit rod webdirectory (din udbyder angiver normalt dette sted med anvisninger). Når filerne er kopieret dertil, kan du starte installationen ved at skrive "http://yoursite.com". Dette vil starte installationen.</p> + + +<h2>Installationen fortsættes</h2> +<p>Bare følg trin-for-trin instruktionerne i installationsprogrammet.</p> + +</div> +</body> +</html> \ No newline at end of file Added: XoopsLanguages/danish/core/2.5.4/extras/modules/system/language/danish/admin/filemanager.php =================================================================== --- XoopsLanguages/danish/core/2.5.4/extras/modules/system/language/danish/admin/filemanager.php (rev 0) +++ XoopsLanguages/danish/core/2.5.4/extras/modules/system/language/danish/admin/filemanager.php 2012-03-15 17:58:36 UTC (rev 9140) @@ -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','Fil Manager'); +define('_AM_SYSTEM_FILEMANAGER_NAV_MAIN','Fil Manager'); + +//Tips +define('_AM_SYSTEM_FILEMANAGER_NAV_TIPS',' +<ul> +<li>Skift fil rettigheder, indhold eller slet ubrugte filer i XOOPS.</li> +</ul> +'); + +// Main +define('_AM_SYSTEM_FILEMANAGER_DIRECTORY','Mappe'); +define('_AM_SYSTEM_FILEMANAGER_FILES','Filer'); +define('_AM_SYSTEM_FILEMANAGER_GENERATE','Genereret tillæg'); +define('_AM_SYSTEM_FILEMANAGER_SELECT_THEME','Vælg tema'); +define('_AM_SYSTEM_FILEMANAGER_FORCE_GENERATED','Tvangs generer'); +define('_AM_SYSTEM_FILEMANAGER_NAV_FILE_GENERATED','Filer genereret'); +define('_AM_SYSTEM_FILEMANAGER_NOT_CREATED','Ingen filer genereret'); +define('_AM_SYSTEM_FILEMANAGER_HOME','Hjem'); +define('_AM_SYSTEM_FILEMANAGER_SAVE','Gem'); +define('_AM_SYSTEM_FILEMANAGER_CANCEL','Fortryd'); +define('_AM_SYSTEM_FILEMANAGER_RESTORE','Gendan'); +define('_AM_SYSTEM_FILEMANAGER_REFRESH','Opdatér'); +define('_AM_SYSTEM_FILEMANAGER_UPLOAD','Upload fil'); +define('_AM_SYSTEM_FILEMANAGER_UPLOAD_CHOOSE','Vælg en fil til upload'); +define('_AM_SYSTEM_FILEMANAGER_ADDDIR','Tilføj mappe'); +define('_AM_SYSTEM_FILEMANAGER_ADDDIR_NAME','Vælg navnet på mappen'); +define('_AM_SYSTEM_FILEMANAGER_ADDFILE','Tilføj ny fil'); +define('_AM_SYSTEM_FILEMANAGER_DELDIR','Slet mappe'); + +define('_AM_SYSTEM_FILEMANAGER_RESTORE_ERROR_FILE_EXISTS','Fejl : Filen eksisterer ikke'); +define('_AM_SYSTEM_FILEMANAGER_RESTORE_ERROR_FILE_DELETE','Fejl : Filen blev ikke slettet'); +define('_AM_SYSTEM_FILEMANAGER_RESTORE_ERROR_FILE_RENAME','Fejl : Filen blev ikke omdøbt'); +define('_AM_SYSTEM_FILEMANAGER_BACK','Tilbage'); +define('_AM_SYSTEM_FILEMANAGER_DELETE','Slet'); +define('_AM_SYSTEM_FILEMANAGER_ERROR','Fejl'); +define('_AM_SYSTEM_FILEMANAGER_EDIT','Redigering af:'); +define('_AM_SYSTEM_FILEMANAGER_EMPTY_FILE','Filen er tom'); +define('_AM_SYSTEM_FILEMANAGER_DELDIR_NOTOK','Fejl : Sletning af mappen lykkeds ikke'); +define('_AM_SYSTEM_FILEMANAGER_DELDIR_OK','Mappen blev slettet'); + +// Message +define('_AM_SYSTEM_FILEMANAGER_UPLOAD_FILE','Filer blev uploaded'); +define('_AM_SYSTEM_FILEMANAGER_EXTRACT_FILE','Filer blev udpakket'); +define('_AM_SYSTEM_FILEMANAGER_EXTRACT_ERROR','Filer kunne ikke udpakkes'); +define('_AM_SYSTEM_FILEMANAGER_DELETE_FILE','Filer slettet'); +define('_AM_SYSTEM_FILEMANAGER_DIR_SUCCESS','Mapper oprettet'); +define('_AM_SYSTEM_FILEMANAGER_DIR_ERROR','Mapper kunne ikke oprettes'); +define('_AM_SYSTEM_FILEMANAGER_DIR_RYSDEL','Er du sikker på at du vil slette denne mappe?'); +define('_AM_SYSTEM_FILEMANAGER_FILE_SUCCESS','Fil oprettet'); +define('_AM_SYSTEM_FILEMANAGER_SUREDEL', 'Er du sikker på at du vil slette denne fil %s ?'); +define('_AM_SYSTEM_FILEMANAGER_DIR_SUREDEL', 'Er du sikker på at du vil slette denne mappe %s ?<br />Advarsel: alle underliggende mapper og filer bliver også slettet'); +?> Added: XoopsLanguages/danish/core/2.5.4/extras/modules/system/language/danish/admin/index.html =================================================================== --- XoopsLanguages/danish/core/2.5.4/extras/modules/system/language/danish/admin/index.html (rev 0) +++ XoopsLanguages/danish/core/2.5.4/extras/modules/system/language/danish/admin/index.html 2012-03-15 17:58:36 UTC (rev 9140) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/danish/core/2.5.4/extras/modules/system/language/danish/index.html =================================================================== --- XoopsLanguages/danish/core/2.5.4/extras/modules/system/language/danish/index.html (rev 0) +++ XoopsLanguages/danish/core/2.5.4/extras/modules/system/language/danish/index.html 2012-03-15 17:58:36 UTC (rev 9140) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/danish/core/2.5.4/files.txt =================================================================== --- XoopsLanguages/danish/core/2.5.4/files.txt (rev 0) +++ XoopsLanguages/danish/core/2.5.4/files.txt 2012-03-15 17:58:36 UTC (rev 9140) @@ -0,0 +1,145 @@ + htdocs/class/mail/phpmailer/language/phpmailer.lang-da.php + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/da.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/da.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/da.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopscode/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/da.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsemotions/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/da.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/da.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsmlcontent/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/da.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsquote/langs/da_dlg.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/da.js + htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/da_dlg.js + htdocs/install/language/persian/finish.php + htdocs/install/language/persian/index.html + htdocs/install/language/persian/install.php + htdocs/install/language/persian/install2.php + htdocs/install/language/persian/mysql.lang.data.sql + htdocs/install/language/persian/style.css + htdocs/install/language/persian/support.php + htdocs/install/language/persian/support.png + htdocs/install/language/persian/welcome.php + htdocs/language/persian/admin.php + htdocs/language/persian/auth.php + htdocs/language/persian/backend.php + htdocs/language/persian/banners.php + htdocs/language/persian/calendar.php + htdocs/language/persian/captcha.php + htdocs/language/persian/comment.php + htdocs/language/persian/countries.php + htdocs/language/persian/errors.php + htdocs/language/persian/findusers.php + htdocs/language/persian/formdhtmltextarea.php + htdocs/language/persian/global.php + htdocs/language/persian/index.html + htdocs/language/persian/locale.php + htdocs/language/persian/logger.php + htdocs/language/persian/mail.php + htdocs/language/persian/misc.php + htdocs/language/persian/notification.php + htdocs/language/persian/pmsg.php + htdocs/language/persian/search.php + htdocs/language/persian/timezone.php + htdocs/language/persian/uploader.php + htdocs/language/persian/user.php + htdocs/language/persian/xoopsmailerlocal.php + htdocs/language/persian/mail_template/activated.tpl + htdocs/language/persian/mail_template/adminactivate.tpl + htdocs/language/persian/mail_template/comment_notify.tpl + htdocs/language/persian/mail_template/commentsubmit_notify.tpl + htdocs/language/persian/mail_template/default_notify.tpl + htdocs/language/persian/mail_template/index.html + htdocs/language/persian/mail_template/lostpass1.tpl + htdocs/language/persian/mail_template/lostpass2.tpl + htdocs/language/persian/mail_template/register.tpl + htdocs/language/persian/mail_template/tellfriend.tpl + htdocs/language/persian/mail_template/welcome.tpl + htdocs/modules/pm/language/persian/admin.php + htdocs/modules/pm/language/persian/index.html + htdocs/modules/pm/language/persian/main.php + htdocs/modules/pm/language/persian/modinfo.php + htdocs/modules/profile/language/persian/admin.php + htdocs/modules/profile/language/persian/index.html + htdocs/modules/profile/language/persian/main.php + htdocs/modules/profile/language/persian/modinfo.php + htdocs/modules/profile/language/persian/mail_template/emailchanged.tpl + htdocs/modules/profile/language/persian/mail_template/index.html + htdocs/modules/system/language/persian/admin/avatars.php + htdocs/modules/system/language/persian/admin/banners.php + htdocs/modules/system/language/persian/admin/blocksadmin.php + htdocs/modules/system/language/persian/admin/comments.php + htdocs/modules/system/language/persian/admin/groups.php + htdocs/modules/system/language/persian/admin/images.php + htdocs/modules/system/language/persian/admin/index.html + htdocs/modules/system/language/persian/admin/mailusers.php + htdocs/modules/system/language/persian/admin/maintenance.php + htdocs/modules/system/language/persian/admin/modulesadmin.php + htdocs/modules/system/language/persian/admin/preferences.php + htdocs/modules/system/language/persian/admin/smilies.php + htdocs/modules/system/language/persian/admin/tplsets.php + htdocs/modules/system/language/persian/admin/userrank.php + htdocs/modules/system/language/persian/admin/users.php + htdocs/modules/system/language/persian/admin.php + htdocs/modules/system/language/persian/blocks.php + htdocs/modules/system/language/persian/cpanel.php + htdocs/modules/system/language/persian/index.html + htdocs/modules/system/language/persian/modinfo.php + htdocs/modules/system/language/persian/help/ + htdocs/modules/system/language/persian/help/avatars.html + htdocs/modules/system/language/persian/help/banners.html + htdocs/modules/system/language/persian/help/blocksadmin.html + htdocs/modules/system/language/persian/help/comments.html + htdocs/modules/system/language/persian/help/groups.html + htdocs/modules/system/language/persian/help/help_center.html + htdocs/modules/system/language/persian/help/images.html + htdocs/modules/system/language/persian/help/index.html + htdocs/modules/system/language/persian/help/mailusers.html + htdocs/modules/system/language/persian/help/maintenance.html + htdocs/modules/system/language/persian/help/module_index.html + htdocs/modules/system/language/persian/help/modulesadmin.html + htdocs/modules/system/language/persian/help/preferences.html + htdocs/modules/system/language/persian/help/smilies.html + htdocs/modules/system/language/persian/help/tplsets.html + htdocs/modules/system/language/persian/help/userrank.html + htdocs/modules/system/language/persian/help/users.html + htdocs/modules/system/language/persian/images/index.html + htdocs/modules/system/language/persian/images/lightbox-blank.gif + htdocs/modules/system/language/persian/images/lightbox-btn-close.gif + htdocs/modules/system/language/persian/images/lightbox-btn-next.gif + htdocs/modules/system/language/persian/images/lightbox-btn-prev.gif + htdocs/modules/system/language/persian/images/lightbox-ico-loading.gif + htdocs/modules/system/themes/default/language/persian/admin.php + htdocs/modules/system/themes/default/language/persian/index.html + htdocs/modules/system/themes/default/language/persian/localsupport.php + htdocs/modules/system/themes/zetadigme/language/persian/admin.php + htdocs/modules/system/themes/zetadigme/language/persian/index.html + htdocs/modules/system/themes/zetadigme/language/persian/localsupport.php + htdocs/themes/suico/language/persian/index.html + htdocs/themes/suico/language/persian/main.php + htdocs/themes/suico/language/persian/script.js + htdocs/themes/suico/language/persian/style.css + htdocs/themes/zetagenesis/language/persian/index.html + htdocs/themes/zetagenesis/language/persian/main.php + htdocs/themes/zetagenesis/language/persian/script.js + htdocs/themes/zetagenesis/language/persian/style.css + htdocs/xoops_lib/modules/protector/language/persian/admin.php + htdocs/xoops_lib/modules/protector/language/persian/index.html + htdocs/xoops_lib/modules/protector/language/persian/main.php + htdocs/xoops_lib/modules/protector/language/persian/modinfo.php + extras/modules/system/language/danish/admin/filemanager.php + extras/modules/system/language/danish/admin/index.html Added: XoopsLanguages/danish/core/2.5.4/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php =================================================================== --- XoopsLanguages/danish/core/2.5.4/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php (rev 0) +++ XoopsLanguages/danish/core/2.5.4/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php 2012-03-15 17:58:36 UTC (rev 9140) @@ -0,0 +1,26 @@ +<?php +/** +* PHPMailer language file: refer to English translation for definitive list +* Danish Version +* Author: Mikael Stokkebro <in...@st...> +*/ + +$PHPMAILER_LANG['authenticate'] = 'SMTP fejl: Kunne ikke logge p\xE5.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP fejl: Kunne ikke tilslutte SMTP serveren.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP fejl: Data kunne ikke accepteres.'; +//$PHPMAILER_LANG['empty_message'] = 'Message body empty'; +$PHPMAILER_LANG['encoding'] = 'Ukendt encode-format: '; +$PHPMAILER_LANG['execute'] = 'Kunne ikke k\xF8re: '; +$PHPMAILER_LANG['file_access'] = 'Ingen adgang til fil: '; +$PHPMAILER_LANG['file_open'] = 'Fil fejl: Kunne ikke \xE5bne filen: '; +$PHPMAILER_LANG['from_failed'] = 'F\xF8lgende afsenderadresse er forkert: '; +$PHPMAILER_LANG['instantiate'] = 'Kunne ikke initialisere email funktionen.'; +//$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer underst\xF8ttes ikke.'; +$PHPMAILER_LANG['provide_address'] = 'Du skal indtaste mindst en modtagers emailadresse.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP fejl: F\xF8lgende modtagere er forkerte: '; +//$PHPMAILER_LANG['signing'] = 'Signing Error: '; +//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; +//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; +//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; +?><?php // Translation done by Culex - 2012-03-15 18:40 ?> \ No newline at end of file Added: XoopsLanguages/danish/core/2.5.4/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php.bak =================================================================== --- XoopsLanguages/danish/core/2.5.4/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php.bak (rev 0) +++ XoopsLanguages/danish/core/2.5.4/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php.bak 2012-03-15 17:58:36 UTC (rev 9140) @@ -0,0 +1,26 @@ +<?php +/** +* PHPMailer language file: refer to English translation for definitive list +* Danish Version +* Author: Mikael Stokkebro <in...@st...> +*/ + +$PHPMAILER_LANG['authenticate'] = 'SMTP fejl: Kunne ikke logge p\xE5.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP fejl: Kunne ikke tilslutte SMTP serveren.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP fejl: Data kunne ikke accepteres.'; +//$PHPMAILER_LANG['empty_message'] = 'Message body empty'; +$PHPMAILER_LANG['encoding'] = 'Ukendt encode-format: '; +$PHPMAILER_LANG['execute'] = 'Kunne ikke k\xF8re: '; +$PHPMAILER_LANG['file_access'] = 'Ingen adgang til fil: '; +$PHPMAILER_LANG['file_open'] = 'Fil fejl: Kunne ikke \xE5bne filen: '; +$PHPMAILER_LANG['from_failed'] = 'F\xF8lgende afsenderadresse er forkert: '; +$PHPMAILER_LANG['instantiate'] = 'Kunne ikke initialisere email funktionen.'; +//$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer underst\xF8ttes ikke.'; +$PHPMAILER_LANG['provide_address'] = 'Du skal indtaste mindst en modtagers emailadresse.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP fejl: F\xF8lgende modtagere er forkerte: '; +//$PHPMAILER_LANG['signing'] = 'Signing Error: '; +//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; +//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; +//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; +?> \ No newline at end of file Added: XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/dhtmltextarea/language/danish.php =================================================================== --- XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/dhtmltextarea/language/danish.php (rev 0) +++ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/dhtmltextarea/language/danish.php 2012-03-15 17:58:36 UTC (rev 9140) @@ -0,0 +1,22 @@ +<?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 4941 2010-07-22 17:13:36Z beckmi $ + * @package xoopseditor + */ +/** + * Assocated with editor_registry.php + */ + +// _LANGCODE: da +// _CHARSET : UTF-8 +// Translator: Anders Kristiansen (anderssk) www.xoopsnordic.org + +define( '_XOOPS_EDITOR_DHTMLTEXTAREA', 'DHTML med xCode' ); + +?> Added: XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/textarea/language/danish.php =================================================================== --- XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/textarea/language/danish.php (rev 0) +++ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/textarea/language/danish.php 2012-03-15 17:58:36 UTC (rev 9140) @@ -0,0 +1,20 @@ +<?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 4941 2010-07-22 17:13:36Z beckmi $ + * @package xoopseditor + */ +// _LANGCODE: da +// _CHARSET : UTF-8 +// Translator: Anders Kristiansen (anderssk) www.xoopsnordic.org + +/* + * Assocated with editor_registry.php + */ +define("_XOOPS_EDITOR_TEXTAREA", "Ren tekst"); +?> Added: XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/language/danish.php =================================================================== --- XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/language/danish.php (rev 0) +++ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/language/danish.php 2012-03-15 17:58:36 UTC (rev 9140) @@ -0,0 +1,29 @@ +<?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 1138 2010-03-25 11:21:46Z kris_fr $ + */ +/* + * Assocated with editor_registry.php + */ +// _LANGCODE: da +// _CHARSET : UTF-8 +// Translator: Anders Kristiansen (anderssk) www.xoopsnordic.org + +// 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", "da"); + +// 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"); +?> Added: XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/da.js =================================================================== --- XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/da.js (rev 0) +++ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/da.js 2012-03-15 17:58:36 UTC (rev 9140) @@ -0,0 +1,170 @@ +tinyMCE.addI18n({en:{ +common:{ +edit_confirm:"Do you want to use the WYSIWYG mode for this textarea?", +apply:"Apply", +insert:"Insert", +update:"Update", +cancel:"Cancel", +close:"Close", +browse:"Browse", +class_name:"Class", +not_set:"-- Not set --", +clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?", +clipboard_no_support:"Currently not supported by your browser, use keyboard shortcuts instead.", +popup_blocked:"Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.", +invalid_data:"Error: Invalid values entered, these are marked in red.", +more_colors:"More colors" +}, +contextmenu:{ +align:"Alignment", +left:"Left", +center:"Center", +right:"Right", +full:"Full" +}, +insertdatetime:{ +date_fmt:"%Y-%m-%d", +time_fmt:"%H:%M:%S", +insertdate_desc:"Insert date", +inserttime_desc:"Insert time", +months_long:"January,February,March,April,May,June,July,August,September,October,November,December", +months_short:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec", +day_long:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday", +day_short:"Sun,Mon,Tue,Wed,Thu,Fri,Sat,Sun" +}, +print:{ +print_desc:"Print" +}, +preview:{ +preview_desc:"Preview" +}, +directionality:{ +ltr_desc:"Direction left to right", +rtl_desc:"Direction right to left" +}, +layer:{ +insertlayer_desc:"Insert new layer", +forward_desc:"Move forward", +backward_desc:"Move backward", +absolute_desc:"Toggle absolute positioning", +content:"New layer..." +}, +save:{ +save_desc:"Save", +cancel_desc:"Cancel all changes" +}, +nonbreaking:{ +nonbreaking_desc:"Insert non-breaking space character" +}, +iespell:{ +iespell_desc:"Run spell checking", +download:"ieSpell not detected. Do you want to install it now?" +}, +advhr:{ +advhr_desc:"Horizontal rule" +}, +emotions:{ +emotions_desc:"Emotions" +}, +searchreplace:{ +search_desc:"Find", +replace_desc:"Find/Replace" +}, +advimage:{ +image_desc:"Insert/edit image" +}, +advlink:{ +link_desc:"Insert/edit link" +}, +xhtmlxtras:{ +cite_desc:"Citation", +abbr_desc:"Abbreviation", +acronym_desc:"Acronym", +del_desc:"Deletion", +ins_desc:"Insertion", +attribs_desc:"Insert/Edit Attributes" +}, +style:{ +desc:"Edit CSS Style" +}, +paste:{ +paste_text_desc:"Paste as Plain Text", +paste_word_desc:"Paste from Word", +selectall_desc:"Select All", +plaintext_mode_sticky:"Paste is now in plain text mode. Click again to toggle back to regular paste mode. After you paste something you will be returned to regular paste mode.", +plaintext_mode:"Paste is now in plain text mode. Click again to toggle back to regular paste mode." +}, +paste_dlg:{ +text_title:"Use CTRL+V on your keyboard to paste the text into the window.", +text_linebreaks:"Keep linebreaks", +word_title:"Use CTRL+V on your keyboard to paste the text into the window." +}, +table:{ +desc:"Inserts a new table", +row_before_desc:"Insert row before", +row_after_desc:"Insert row after", +delete_row_desc:"Delete row", +col_before_desc:"Insert column before", +col_after_desc:"Insert column after", +delete_col_desc:"Remove column", +split_cells_desc:"Split merged table cells", +merge_cells_desc:"Merge table cells", +row_desc:"Table row properties", +cell_desc:"Table cell properties", +props_desc:"Table properties", +paste_row_before_desc:"Paste table row before", +paste_row_after_desc:"Paste table row after", +cut_row_desc:"Cut table row", +copy_row_desc:"Copy table row", +del:"Delete table", +row:"Row", +col:"Column", +cell:"Cell" +}, +autosave:{ +unload_msg:"The changes you made will be lost if you navigate away from this page.", +restore_content:"Restore auto-saved content.", +warning_message:"If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?." +}, +fullscreen:{ +desc:"Toggle fullscreen mode" +}, +media:{ +desc:"Insert / edit embedded media", +edit:"Edit embedded media" +}, +fullpage:{ +desc:"Document properties" +}, +template:{ +desc:"Insert predefined template content" +}, +visualchars:{ +desc:"Visual control characters on/off." +}, +spellchecker:{ +desc:"Toggle spellchecker", +menu:"Spellchecker settings", +ignore_word:"Ignore word", +ignore_words:"Ignore all", +langs:"Languages", +wait:"Please wait...", +sug:"Suggestions", +no_sug:"No suggestions", +no_mpell:"No misspellings found." +}, +pagebreak:{ +desc:"Insert page break." +}, +advlist:{ +types:"Types", +def:"Default", +lower_alpha:"Lower alpha", +lower_greek:"Lower greek", +lower_roman:"Lower roman", +upper_alpha:"Upper alpha", +upper_roman:"Upper roman", +circle:"Circle", +disc:"Disc", +square:"Square" +}}}); \ No newline at end of file Added: XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/da_dlg.js =================================================================== --- XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/da_dlg.js (rev 0) +++ XoopsLanguages/danish/core/2.5.4/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/da_dlg.js 2012-03-15 17:58:36 UTC (rev 9140) @@ -0,0 +1,5 @@ +tinyMCE.addI18n('da.advhr_dlg',{ +width:"Bredde", +size:"H... [truncated message content] |
From: <be...@us...> - 2012-03-15 15:37:45
|
Revision: 9139 http://xoops.svn.sourceforge.net/xoops/?rev=9139&view=rev Author: beckmi Date: 2012-03-15 15:37:34 +0000 (Thu, 15 Mar 2012) Log Message: ----------- Creating a branch for redheadedrod Added Paths: ----------- XoopsModules/xroster/branches/redheadedrod/xroster/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-03-15 15:36:54
|
Revision: 9138 http://xoops.svn.sourceforge.net/xoops/?rev=9138&view=rev Author: beckmi Date: 2012-03-15 15:36:43 +0000 (Thu, 15 Mar 2012) Log Message: ----------- Creating a branch for redheadedrod Added Paths: ----------- XoopsModules/xroster/branches/redheadedrod/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-03-15 14:43:12
|
Revision: 9137 http://xoops.svn.sourceforge.net/xoops/?rev=9137&view=rev Author: beckmi Date: 2012-03-15 14:43:01 +0000 (Thu, 15 Mar 2012) Log Message: ----------- Fixing add/edit Title Modified Paths: -------------- XoopsModules/xroster/trunk/xroster/admin/main.php Modified: XoopsModules/xroster/trunk/xroster/admin/main.php =================================================================== --- XoopsModules/xroster/trunk/xroster/admin/main.php 2012-03-15 14:13:24 UTC (rev 9136) +++ XoopsModules/xroster/trunk/xroster/admin/main.php 2012-03-15 14:43:01 UTC (rev 9137) @@ -303,22 +303,13 @@ redirect_header('main.php?op=Title_Editor', 1, _MD_TITLEDELETED); break; - case 'update': - $result = xRoster_Query("UPDATE {xRoster_titles} SET name=%s, weight=%u, active=%u WHERE ID=%u", $name, $weight, $active, $id); + $result = xRoster_Query("UPDATE {xRoster_titles} SET name=%s, weight=%u WHERE ID=%u", $name, $weight, $id); redirect_header("main.php?op=Title_Editor", 1, _MD_TITLEUPDATED); break; - /* - case "insert": - $sql = "INSERT INTO " . $db->prefix("xRoster_titles") . " (name,weight) VALUES ('$name',$weight)"; - if ( !$result = $db->query($sql) ) { - exit("Error in admin/main.php :: Title_Editor($t_action,$id,$name,$weight)"); - } - redirect_header("main.php?op=Title_Editor", 1, _MD_TITLEINSERTED); - break; -*/ + case 'insert': - $result = xRoster_Query("INSERT INTO {xRoster_titles} (name, weight, active) VALUES (%s, %u, %u)", $name, $weight, $active); + $result = xRoster_Query("INSERT INTO {xRoster_titles} (name, weight) VALUES (%s, %u)", $name, $weight); redirect_header('main.php?op=Title_Editor', 1, _MD_TITLEINSERTED); break; case 'add': @@ -329,7 +320,6 @@ $t_action == 'edit' ? '<input type="hidden" name="id" value="' . $id . '">' : '', '<table cellspacing=0 cellpadding=8 class="outer"> <tr><td>', _MD_TITLENAME, '</td><td><input type="text" name="name" value="', $name, '"></td></tr> <tr><td>', _MD_WEIGHT, '</td><td><input type="text" name="weight" value="', $weight, '"></td></tr> - <tr><td>', _MD_ACTIVE, '</td><td>', xRoster_YNDropDown('active', $active), '</td></tr> <tr><td> </td><td><input type="submit" value="', $t_action == 'edit' ? _MD_UPDATE : _MD_INSERT, '"> </td></tr> </table> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-03-15 14:13:31
|
Revision: 9136 http://xoops.svn.sourceforge.net/xoops/?rev=9136&view=rev Author: beckmi Date: 2012-03-15 14:13:24 +0000 (Thu, 15 Mar 2012) Log Message: ----------- replacing "msnbot" with "bingbot" in Protector Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.5/docs/changelog.250.txt XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/arabic/modinfo.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/de_utf8/modinfo.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/english/modinfo.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/fr_utf8/modinfo.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/french/modinfo.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/german/modinfo.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/italian/modinfo.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/ja_utf8/modinfo.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/japanese/modinfo.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/nederlands/modinfo.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/persian/modinfo.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/portuguesebr/modinfo.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/russian/modinfo.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/schinese_utf8/modinfo.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/spanish/modinfo.php XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/xoops_version.php Modified: XoopsCore/branches/2.5.x/2.5.5/docs/changelog.250.txt =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/docs/changelog.250.txt 2012-03-15 13:29:53 UTC (rev 9135) +++ XoopsCore/branches/2.5.x/2.5.5/docs/changelog.250.txt 2012-03-15 14:13:24 UTC (rev 9136) @@ -6,6 +6,9 @@ Bugfixes: - adding missing check for local timezone (XavierS) +Improved: + - replacing "msnbot" with "bingbot" in Protector (mamba) + =============================== 2011/02/19: Version 2.5.5 Beta =============================== Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/arabic/modinfo.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/arabic/modinfo.php 2012-03-15 13:29:53 UTC (rev 9135) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/arabic/modinfo.php 2012-03-15 14:13:24 UTC (rev 9136) @@ -81,7 +81,7 @@ define($constpref.'_DOS_CRACTION','\xC7\xE1\xDA\xE3\xE1 \xCD\xC7\xE1 \xC7\xDF\xCA\xD4\xC7\xDD \xDA\xE3\xE1\xED\xC7\xCA \xC7\xE4\xD4\xC7\xC1 \xD6\xDB\xD8 \xDA\xC7\xE1\xED \xDA\xE1\xEC \xC7\xE1\xE3\xE6\xDE\xDA'); define($constpref.'_DOS_CRSAFE','\xE3\xCD\xD1\xDF\xC7\xCA \xC7\xE1\xC8\xCD\xCB \xC7\xE1\xE3\xD3\xE3\xE6\xCD \xE1\xE5\xC7 '); -define($constpref.'_DOS_CRSAFEDSC','\xDF\xE1 \xE3\xCD\xD1\xDF\xC7\xCA \xC7\xE1\xC8\xCD\xCB \xC7\xE1\xE3\xD6\xC7\xDD\xC9 \xC8\xC7\xE1\xCD\xDE\xE1 \xE1\xE4 \xCA\xDA\xCA\xC8\xD1 \xE3\xCD\xD1\xDF\xC7\xCA \xC8\xCD\xCB \xD3\xED\xC6\xC9 \xC7\xE6 \xCA\xCD\xCF\xCB \xD6\xDB\xD8 \xDA\xE1\xEC \xC7\xE1\xE3\xE6\xDE\xDA<br />\xE3\xCB\xE1<br />eg) /(msnbot|Googlebot|Yahoo! Slurp)/i'); +define($constpref.'_DOS_CRSAFEDSC','\xDF\xE1 \xE3\xCD\xD1\xDF\xC7\xCA \xC7\xE1\xC8\xCD\xCB \xC7\xE1\xE3\xD6\xC7\xDD\xC9 \xC8\xC7\xE1\xCD\xDE\xE1 \xE1\xE4 \xCA\xDA\xCA\xC8\xD1 \xE3\xCD\xD1\xDF\xC7\xCA \xC8\xCD\xCB \xD3\xED\xC6\xC9 \xC7\xE6 \xCA\xCD\xCF\xCB \xD6\xDB\xD8 \xDA\xE1\xEC \xC7\xE1\xE3\xE6\xDE\xDA<br />\xE3\xCB\xE1<br />eg) /(bingbot|Googlebot|Yahoo! Slurp)/i'); define($constpref.'_OPT_NONE','\xE1\xC7\xD4\xED\xC1 \xDD\xDE\xD8 \xD3\xCC\xE1 \xC7\xE1\xDA\xE3\xE1\xED\xC9'); define($constpref.'_OPT_SAN','\xCA\xDA\xDE\xED\xE3 \xC7\xE1\xC7\xE3\xD1'); Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/de_utf8/modinfo.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/de_utf8/modinfo.php 2012-03-15 13:29:53 UTC (rev 9135) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/de_utf8/modinfo.php 2012-03-15 14:13:24 UTC (rev 9136) @@ -86,7 +86,7 @@ define($constpref.'_DOS_CRACTION','Masnahmen gegen Server-intensive Suchmaschinen'); define($constpref.'_DOS_CRSAFE','Zugelassene User-Agents'); -define($constpref.'_DOS_CRSAFEDSC','Ein regulaeer Perl-Ausdruck fur User-Agents.<br />Wenn der Ausdruck zutrifft, wird die Suchmaschine niemals als Server-intensiv eingestuft.<br />Bsp: (msnbot|Googlebot|Yahoo! Slurp)/i'); +define($constpref.'_DOS_CRSAFEDSC','Ein regulaeer Perl-Ausdruck fur User-Agents.<br />Wenn der Ausdruck zutrifft, wird die Suchmaschine niemals als Server-intensiv eingestuft.<br />Bsp: (bingbot|Googlebot|Yahoo! Slurp)/i'); define($constpref.'_OPT_NONE','Keine (nur logging)'); define($constpref.'_OPT_SAN','Sanitizing (Sauberung)'); Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/english/modinfo.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/english/modinfo.php 2012-03-15 13:29:53 UTC (rev 9135) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/english/modinfo.php 2012-03-15 14:13:24 UTC (rev 9136) @@ -81,7 +81,7 @@ define($constpref.'_DOS_CRACTION','Action against high loading Crawlers'); define($constpref.'_DOS_CRSAFE','Welcomed User-Agent'); -define($constpref.'_DOS_CRSAFEDSC','A perl regex pattern for User-Agent.<br />If it matches, the crawler is never considered as a high loading crawler.<br />eg) /(msnbot|Googlebot|Yahoo! Slurp)/i'); +define($constpref.'_DOS_CRSAFEDSC','A perl regex pattern for User-Agent.<br />If it matches, the crawler is never considered as a high loading crawler.<br />eg) /(bingbot|Googlebot|Yahoo! Slurp)/i'); define($constpref.'_OPT_NONE','None (only logging)'); define($constpref.'_OPT_SAN','Sanitizing'); Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/fr_utf8/modinfo.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/fr_utf8/modinfo.php 2012-03-15 13:29:53 UTC (rev 9135) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/fr_utf8/modinfo.php 2012-03-15 14:13:24 UTC (rev 9136) @@ -92,7 +92,7 @@ define($constpref."_DOS_CRACTION","Action lors des crawlers malicieux"); define($constpref."_DOS_CRSAFE","User-Agent autorisés"); -define($constpref."_DOS_CRSAFEDSC","Regex Perl pour les User-Agents.<br /> Evite de considérer le crawler comme un aspirateur.<br/> Ex.: msnbot|Googlebot|Yahoo! Slurp"); +define($constpref."_DOS_CRSAFEDSC","Regex Perl pour les User-Agents.<br /> Evite de considérer le crawler comme un aspirateur.<br/> Ex.: bingbot|Googlebot|Yahoo! Slurp"); define($constpref."_OPT_NONE","Aucune (enregistrer seulement)"); define($constpref."_OPT_SAN","Filtrer"); Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/french/modinfo.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/french/modinfo.php 2012-03-15 13:29:53 UTC (rev 9135) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/french/modinfo.php 2012-03-15 14:13:24 UTC (rev 9136) @@ -92,7 +92,7 @@ define($constpref."_DOS_CRACTION","Action si des crawlers malicieux sont détectés"); define($constpref."_DOS_CRSAFE","User-Agent autorisés"); -define($constpref."_DOS_CRSAFEDSC","Regex Perl pour les User-Agents.<br /> Si il coincide, le crawler n'est plus considéré comme un aspirateur.<br/> Ex.: msnbot|Googlebot|Yahoo! Slurp"); +define($constpref."_DOS_CRSAFEDSC","Regex Perl pour les User-Agents.<br /> Si il coincide, le crawler n'est plus considéré comme un aspirateur.<br/> Ex.: bingbot|Googlebot|Yahoo! Slurp"); define($constpref."_OPT_NONE","Aucune (enregistrer seulement)"); define($constpref."_OPT_SAN","Sanitiser"); Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/german/modinfo.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/german/modinfo.php 2012-03-15 13:29:53 UTC (rev 9135) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/german/modinfo.php 2012-03-15 14:13:24 UTC (rev 9136) @@ -99,7 +99,7 @@ define($constpref.'_DOS_CRACTION','Ma\xDFnahmen gegen Server-intensive Suchmaschinen'); define($constpref.'_DOS_CRSAFE','Zugelassene User-Agents'); -define($constpref.'_DOS_CRSAFEDSC','Ein regulaeer Perl-Ausdruck f\xFCrUser-Agents.<br />Wenn der Ausdruck zutrifft, wird die Suchmaschine niemals als Server-intensiv eingestuft.<br />Bsp: (msnbot|Googlebot|Yahoo! Slurp)/i'); +define($constpref.'_DOS_CRSAFEDSC','Ein regulaeer Perl-Ausdruck f\xFCrUser-Agents.<br />Wenn der Ausdruck zutrifft, wird die Suchmaschine niemals als Server-intensiv eingestuft.<br />Bsp: (bingbot|Googlebot|Yahoo! Slurp)/i'); define($constpref.'_OPT_NONE','Keine (nur logging)'); define($constpref.'_OPT_SAN','Sanitizing (S\xE4uberung)'); Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/italian/modinfo.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/italian/modinfo.php 2012-03-15 13:29:53 UTC (rev 9135) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/italian/modinfo.php 2012-03-15 14:13:24 UTC (rev 9136) @@ -83,7 +83,7 @@ define($constpref.'_DOS_CRACTION','Azione contro Crawler troppo invasivi'); define($constpref.'_DOS_CRSAFE','User-Agent benvenuti'); -define($constpref.'_DOS_CRSAFEDSC','Un pattern regex per gli User-Agent.<br />Se coincidente, il crawler non verrà mai considerato troppo invasivo.<br />(es.) /(msnbot|Googlebot|Yahoo! Slurp)/i'); +define($constpref.'_DOS_CRSAFEDSC','Un pattern regex per gli User-Agent.<br />Se coincidente, il crawler non verrà mai considerato troppo invasivo.<br />(es.) /(bingbot|Googlebot|Yahoo! Slurp)/i'); define($constpref.'_OPT_NONE','Nessuna (solo log)'); define($constpref.'_OPT_SAN','Sterilizzazione'); Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/ja_utf8/modinfo.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/ja_utf8/modinfo.php 2012-03-15 13:29:53 UTC (rev 9135) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/ja_utf8/modinfo.php 2012-03-15 14:13:24 UTC (rev 9136) @@ -81,7 +81,7 @@ define($constpref.'_DOS_CRACTION','悪意あるクローラーへの対処'); define($constpref.'_DOS_CRSAFE','拒否しない User-Agent'); -define($constpref.'_DOS_CRSAFEDSC','無条件でクロール許可するエージェント名を、perlの正規表現で記述します<br />例) /(msnbot|Googlebot|Yahoo! Slurp)/i'); +define($constpref.'_DOS_CRSAFEDSC','無条件でクロール許可するエージェント名を、perlの正規表現で記述します<br />例) /(bingbot|Googlebot|Yahoo! Slurp)/i'); define($constpref.'_OPT_NONE','なし (ログのみ取る)'); define($constpref.'_OPT_SAN','無害化'); Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/japanese/modinfo.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/japanese/modinfo.php 2012-03-15 13:29:53 UTC (rev 9135) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/japanese/modinfo.php 2012-03-15 14:13:24 UTC (rev 9136) @@ -81,7 +81,7 @@ define($constpref.'_DOS_CRACTION','\xB0\xAD\xB0դ\xA2\xA4륯\xA5\x{D87C}\xA5顼\xA4ؤ\xCE\xC2н\xE8'); define($constpref.'_DOS_CRSAFE','\xB5\xF1\xC8ݤ\xB7\xA4ʤ\xA4 User-Agent'); -define($constpref.'_DOS_CRSAFEDSC','̵\xBE\xF2\xB7\xEF\xA4ǥ\xAF\xA5\x{D87C}\xA5\xEB\xB5\xF6\xB2Ĥ\xB9\xA4륨\xA1\xBC\xA5\xB8\xA5\xA7\xA5\xF3\xA5\xC8̾\xA4\xF2\xA1\xA2perl\xA4\xCE\xC0\xB5\xB5\xACɽ\xB8\xBD\xA4ǵ\xAD\xBDҤ\xB7\xA4ޤ\xB9<br />\xCE\xE3) /(msnbot|Googlebot|Yahoo! Slurp)/i'); +define($constpref.'_DOS_CRSAFEDSC','̵\xBE\xF2\xB7\xEF\xA4ǥ\xAF\xA5\x{D87C}\xA5\xEB\xB5\xF6\xB2Ĥ\xB9\xA4륨\xA1\xBC\xA5\xB8\xA5\xA7\xA5\xF3\xA5\xC8̾\xA4\xF2\xA1\xA2perl\xA4\xCE\xC0\xB5\xB5\xACɽ\xB8\xBD\xA4ǵ\xAD\xBDҤ\xB7\xA4ޤ\xB9<br />\xCE\xE3) /(bingbot|Googlebot|Yahoo! Slurp)/i'); define($constpref.'_OPT_NONE','\xA4ʤ\xB7 (\xA5\x{D970}\xA4Τ\xE8\xA4\xEB)'); define($constpref.'_OPT_SAN','̵\xB3\xB2\xB2\xBD'); Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/nederlands/modinfo.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/nederlands/modinfo.php 2012-03-15 13:29:53 UTC (rev 9135) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/nederlands/modinfo.php 2012-03-15 14:13:24 UTC (rev 9136) @@ -94,7 +94,7 @@ define($constpref.'_DOS_CRACTION','Handeling tegen snel aanvragende web-crawlers'); define($constpref.'_DOS_CRSAFE','Gewenste user-agents'); -define($constpref.'_DOS_CRSAFEDSC','Een perl regex patroon om de user-agent te herkennen.<br />Als het overeenkomt, zal de web-crawler nooit als ongewenst worden beschouwd.<br />eg) /(msnbot|Googlebot|Yahoo! Slurp)/i'); +define($constpref.'_DOS_CRSAFEDSC','Een perl regex patroon om de user-agent te herkennen.<br />Als het overeenkomt, zal de web-crawler nooit als ongewenst worden beschouwd.<br />eg) /(bingbot|Googlebot|Yahoo! Slurp)/i'); define($constpref.'_OPT_NONE','Geen (alleen vastleggen in logbestand)'); define($constpref.'_OPT_SAN','Opschonen'); Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/persian/modinfo.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/persian/modinfo.php 2012-03-15 13:29:53 UTC (rev 9135) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/persian/modinfo.php 2012-03-15 14:13:24 UTC (rev 9136) @@ -91,7 +91,7 @@ define($constpref.'_DOS_CRACTION','عکس العمل در برابر لود بیش از حد به وسیله ی روبات های خزنده ی موتور های جستجو'); define($constpref.'_DOS_CRSAFE','رباط های خزنده مجاز به ورود'); -define($constpref.'_DOS_CRSAFEDSC','روش به کار رفته برای جدا سازی رباط های خزنده متور های جستجو (User-Agent) از هم.<br />اگر به خوبی تنظیم شود ( خزنده در لیست رو به رو باشد), رابط های خزنده نمیتوانند لود بیش از حد ایجاد کنند.<br />نمونه :) /(msnbot|Googlebot|Yahoo! Slurp)/i'); +define($constpref.'_DOS_CRSAFEDSC','روش به کار رفته برای جدا سازی رباط های خزنده متور های جستجو (User-Agent) از هم.<br />اگر به خوبی تنظیم شود ( خزنده در لیست رو به رو باشد), رابط های خزنده نمیتوانند لود بیش از حد ایجاد کنند.<br />نمونه :) /(bingbot|Googlebot|Yahoo! Slurp)/i'); define($constpref.'_OPT_NONE','هیچکدام( فقط گزارش)'); define($constpref.'_OPT_SAN','پاک سازی داده ها از کد های خطرناک '); Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/portuguesebr/modinfo.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/portuguesebr/modinfo.php 2012-03-15 13:29:53 UTC (rev 9135) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/portuguesebr/modinfo.php 2012-03-15 14:13:24 UTC (rev 9136) @@ -98,7 +98,7 @@ define($constpref.'_DOS_CRACTION',"Solu\xE7\xE3o para crawlers maliciosos"); define($constpref.'_DOS_CRSAFE',"User-Agent permitidos"); -define($constpref.'_DOS_CRSAFEDSC',"Descreva incondicionalmente o nome dos prov\xE1veis crawlers com uma perl regex pattern.<br />Ex.: /(msnbot|Googlebot|Yahoo! Slurp)/i"); +define($constpref.'_DOS_CRSAFEDSC',"Descreva incondicionalmente o nome dos prov\xE1veis crawlers com uma perl regex pattern.<br />Ex.: /(bingbot|Googlebot|Yahoo! Slurp)/i"); define($constpref.'_OPT_NONE',"Nenhuma (apenas gerar log)"); define($constpref.'_OPT_SAN',"Sanitiza\xE7\xE3o"); Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/russian/modinfo.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/russian/modinfo.php 2012-03-15 13:29:53 UTC (rev 9135) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/russian/modinfo.php 2012-03-15 14:13:24 UTC (rev 9136) @@ -105,7 +105,7 @@ define($constpref.'_DOS_CRACTION','\xC4\xE5\xE9\xF1\xF2\xE2\xE8\xE5 \xEF\xF0\xE8 \xEE\xE1\xED\xE0\xF0\xF3\xE6\xE5\xED\xE8\xE8 "\xCF\xEB\xEE\xF5\xE8\xF5" \xD0\xEE\xE1\xEE\xF2\xEE\xE2.'); define($constpref.'_DOS_CRSAFE','\xC0\xE3\xE5\xED\xF2\xFB \xEF\xEE\xEB\xFC\xE7\xEE\xE2\xE0\xF2\xE5\xEB\xFF (User-Agent) \xED\xE5 \xEE\xEF\xEE\xE7\xED\xE0\xE2\xE0\xE5\xEC\xFB\xE5 \xEA\xE0\xEA "\xCF\xEB\xEE\xF5\xE8\xE5"'); -define($constpref.'_DOS_CRSAFEDSC','\xD0\xE5\xE3\xF3\xEB\xFF\xF0\xED\xEE\xE5 \xE2\xFB\xF0\xE0\xE6\xE5\xED\xE8\xE5 perl \xE4\xEB\xFF \xEF\xEE\xEB\xFF \xC0\xE3\xE5\xED\xF2\xE0 \xCF\xEE\xEB\xFC\xE7\xEE\xE2\xE0\xF2\xE5\xEB\xFF (User-Agent).<br />\xC2 \xF1\xEB\xF3\xF7\xE0\xE5 \xF1\xEE\xE2\xEF\xE0\xE4\xE5\xED\xE8\xFF \xE0\xE3\xE5\xED\xF2\xE0 \xEF\xEE\xF1\xE5\xF2\xE8\xF2\xE5\xEB\xFF \xF1 \xF3\xEA\xE0\xE7\xE0\xED\xFB\xEC \xE2\xFB\xF0\xE0\xE6\xE5\xED\xE8\xE5\xEC - \xD0\xEE\xE1\xEE\xF2 \xED\xE8\xEA\xEE\xE3\xE4\xE0 \xED\xE5 \xF0\xE0\xF1\xEF\xEE\xE7\xED\xE0\xE5\xF2\xF1\xFF \xEA\xE0\xEA "\xCF\xEB\xEE\xF5\xEE\xE9".<br />\xCF\xF0\xE8\xEC\xE5\xF0: /(msnbot|Googlebot|Yandex|Yahoo! Slurp|StackRambler)/i'); +define($constpref.'_DOS_CRSAFEDSC','\xD0\xE5\xE3\xF3\xEB\xFF\xF0\xED\xEE\xE5 \xE2\xFB\xF0\xE0\xE6\xE5\xED\xE8\xE5 perl \xE4\xEB\xFF \xEF\xEE\xEB\xFF \xC0\xE3\xE5\xED\xF2\xE0 \xCF\xEE\xEB\xFC\xE7\xEE\xE2\xE0\xF2\xE5\xEB\xFF (User-Agent).<br />\xC2 \xF1\xEB\xF3\xF7\xE0\xE5 \xF1\xEE\xE2\xEF\xE0\xE4\xE5\xED\xE8\xFF \xE0\xE3\xE5\xED\xF2\xE0 \xEF\xEE\xF1\xE5\xF2\xE8\xF2\xE5\xEB\xFF \xF1 \xF3\xEA\xE0\xE7\xE0\xED\xFB\xEC \xE2\xFB\xF0\xE0\xE6\xE5\xED\xE8\xE5\xEC - \xD0\xEE\xE1\xEE\xF2 \xED\xE8\xEA\xEE\xE3\xE4\xE0 \xED\xE5 \xF0\xE0\xF1\xEF\xEE\xE7\xED\xE0\xE5\xF2\xF1\xFF \xEA\xE0\xEA "\xCF\xEB\xEE\xF5\xEE\xE9".<br />\xCF\xF0\xE8\xEC\xE5\xF0: /(bingbot|Googlebot|Yandex|Yahoo! Slurp|StackRambler)/i'); define($constpref.'_OPT_NONE','\xCD\xE8\xF7\xE5\xE3\xEE (\xF2\xEE\xEB\xFC\xEA\xEE \xE7\xE0\xEF\xE8\xF1\xFC \xE2 \xE6\xF3\xF0\xED\xE0\xEB\xE5)'); define($constpref.'_OPT_SAN','\xCE\xF7\xE8\xF1\xF2\xEA\xE0'); Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/schinese_utf8/modinfo.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/schinese_utf8/modinfo.php 2012-03-15 13:29:53 UTC (rev 9135) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/schinese_utf8/modinfo.php 2012-03-15 14:13:24 UTC (rev 9136) @@ -77,7 +77,7 @@ define($constpref.'_DOS_CRACTION','针对高负荷爬虫的措施'); define($constpref.'_DOS_CRSAFE','受欢迎的User-Agent'); -define($constpref.'_DOS_CRSAFEDSC','User-Agent的perl正则表达式.<br />如果符合该表达式, 该爬虫将不再当作高负荷爬虫处理.<br />例如 /(Baidu|msnbot|Googlebot|Yahoo! Slurp)/i'); +define($constpref.'_DOS_CRSAFEDSC','User-Agent的perl正则表达式.<br />如果符合该表达式, 该爬虫将不再当作高负荷爬虫处理.<br />例如 /(Baidu|bingbot|Googlebot|Yahoo! Slurp)/i'); define($constpref.'_OPT_NONE','否 (只记录)'); define($constpref.'_OPT_SAN','转换'); Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/spanish/modinfo.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/spanish/modinfo.php 2012-03-15 13:29:53 UTC (rev 9135) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/language/spanish/modinfo.php 2012-03-15 14:13:24 UTC (rev 9136) @@ -97,7 +97,7 @@ define($constpref.'_DOS_CRACTION','Acci\xF3n contra Crawlers de carga frecuente'); define($constpref.'_DOS_CRSAFE','Agente-Usuario bienvenido'); -define($constpref.'_DOS_CRSAFEDSC','Un patr\xF3n de perl regex para Agente-Usuario.<br />Si concuerda, el crawler nunca es considerado como de carga frecuente.<br />Por ejemplo: /(msnbot|Googlebot|Yahoo! Slurp)/i'); +define($constpref.'_DOS_CRSAFEDSC','Un patr\xF3n de perl regex para Agente-Usuario.<br />Si concuerda, el crawler nunca es considerado como de carga frecuente.<br />Por ejemplo: /(bingbot|Googlebot|Yahoo! Slurp)/i'); define($constpref.'_OPT_NONE','Ninguna (s\xF3lo registro)'); define($constpref.'_OPT_SAN','Limpieza'); Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/xoops_version.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/xoops_version.php 2012-03-15 13:29:53 UTC (rev 9135) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/xoops_lib/modules/protector/xoops_version.php 2012-03-15 14:13:24 UTC (rev 9136) @@ -277,7 +277,7 @@ 'description' => $constpref.'_DOS_CRSAFEDSC' , 'formtype' => 'text' , 'valuetype' => 'text' , - 'default' => "/(msnbot|Googlebot|Yahoo! Slurp)/i" , + 'default' => "/(bingbot|Googlebot|Yahoo! Slurp)/i" , 'options' => array() ) ; $modversion['config'][] = array( This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-03-15 13:30:05
|
Revision: 9135 http://xoops.svn.sourceforge.net/xoops/?rev=9135&view=rev Author: beckmi Date: 2012-03-15 13:29:53 +0000 (Thu, 15 Mar 2012) Log Message: ----------- Fixing add/edit of Category and Title Modified Paths: -------------- XoopsModules/xroster/trunk/xroster/admin/main.php Modified: XoopsModules/xroster/trunk/xroster/admin/main.php =================================================================== --- XoopsModules/xroster/trunk/xroster/admin/main.php 2012-03-15 12:43:08 UTC (rev 9134) +++ XoopsModules/xroster/trunk/xroster/admin/main.php 2012-03-15 13:29:53 UTC (rev 9135) @@ -1,208 +1,251 @@ <?php + + $xRoster_mydir = dirname(__FILE__); require_once "$xRoster_mydir/../../../include/cp_header.php"; -require_once file_exists("$xRoster_mydir/../language/" . $xoopsConfig['language'] . '/main.php') - ? "$xRoster_mydir/../language/" . $xoopsConfig['language'] . '/main.php' - : "$xRoster_mydir/../language/english/main.php"; +require_once file_exists("$xRoster_mydir/../language/" . $xoopsConfig['language'] . '/main.php') ? + "$xRoster_mydir/../language/" . $xoopsConfig['language'] + . '/main.php' : "$xRoster_mydir/../language/english/main.php"; require_once "$xRoster_mydir/../common.inc.php"; include_once 'admin_header.php'; $indexAdmin = new ModuleAdmin(); +function Members_Edit($id = 0) +{ + global $xoopsDB, $xRosterList_connspeed, $xRosterList_ahour, $xRosterList_weapon, $xRosterList_imnetworks, $indexAdmin; + if ($id) { -function Members_Edit($id = 0) { - global $xoopsDB, $xRosterList_connspeed, $xRosterList_ahour, $xRosterList_weapon, $xRosterList_imnetworks, $indexAdmin; - if($id) { - - $result = xRoster_Query("SELECT * FROM {xRoster} WHERE id = $id"); - if(!($member = $xoopsDB->fetchArray($result))) return false; - $member['since'] = formatTimestamp($member['since'], 's'); - } else{ - $member = array('member' => 1, 'since' => formatTimestamp(time(), 's')); - echo $indexAdmin->addNavigation('main.php?op=members_add'); + $result = xRoster_Query("SELECT * FROM {xRoster} WHERE id = $id"); + if (!($member = $xoopsDB->fetchArray($result))) { + return false; + } + $member['since'] = formatTimestamp($member['since'], 's'); + } else { + $member = array( + 'member' => 1, + 'since' => formatTimestamp(time(), 's') + ); + echo $indexAdmin->addNavigation('main.php?op=members_add'); } - $result = xRoster_Query('SELECT id, name FROM {xRoster_titles} ORDER BY weight, name'); - while($row = $xoopsDB->fetchArray($result)) - $titles[$row['id']] = $row['name']; - // Here comes the form - echo '<form method="post"> + $result = xRoster_Query('SELECT id, name FROM {xRoster_titles} ORDER BY weight, name'); + while ($row = $xoopsDB->fetchArray($result)) { + $titles[$row['id']] = $row['name']; + } + // Here comes the form + echo '<form method="post"> <input type="hidden" name="id" value="' . $id . '"> <input type="hidden" name="op" value="members_update"> <table cellspacing="8" cellpadding="8" class="outer">'; - echo '<tr><td>', _MD_REALNAME, '</td><td><input type="text" name="realname" value="', $member['realname'], '"></td></tr>'; - echo '<tr><td>', _MD_NAME, '</td><td><input type="text" name="membername" value="', $member['membername'], '"></td></tr>'; - echo '<tr><td>', _MD_EMAIL, '</td><td><input type="text" name="email" value="', $member['email'], '"></td></tr>'; - echo '<tr><td>', _MD_AGE, '</td><td><input type="text" name="age" value="', $member['age'], '"></td></tr>'; - echo '<tr><td>', _MD_CATEGORY, '</td><td>', xRoster_SQLDropDown('SELECT id, name FROM {xRoster_categories} ORDER BY weight, name', 'cid', $member['cid']), '</td></tr>'; - echo '<tr><td>', _MD_GROUP, '</td><td>', xRoster_SQLDropDown('SELECT id, name FROM {xRoster_groups} ORDER BY weight, name', 'gid', $member['gid']), '</td></tr>'; - echo '<tr><td>', _MD_LOCATION, '</td><td>', xRoster_LocationDropDown($member['location'] ? $member['location'] : 'US'), '</td></tr>'; - echo '<tr><td>', _MD_CONNECTION, '</td><td>', xRoster_DropDown('connection', $xRosterList_connspeed + array(_MD_OTHER=>_MD_OTHER), $member['connection']), '</td></tr>'; - echo '<tr><td>', _MD_AVAILABLEHOURS, '</td><td>', xRoster_DropDown('ahours', $xRosterList_ahour + array(_MD_TOOMANYHOURS=>_MD_TOOMANYHOURS), $member['ahours']), '</td></tr>'; - echo '<tr><td>', _MD_PRIMARYWEAPON, '</td><td>', xRoster_DropDown('pweapon', $xRosterList_weapon, $member['pweapon']), '</td></tr>'; - echo '<tr><td>', _MD_SECONDARYWEAPON, '</td><td>', xRoster_DropDown('sweapon', $xRosterList_weapon, $member['sweapon']), '</td></tr>'; - echo '<tr><td colspan="2">', _MD_CLANBEFORE, ' ', xRoster_YNDropDown('clan_before', $member['clan_before']), '</td></tr>'; - echo '<tr><td colspan="2">', _MD_NOTE3, '<br><textarea rows="3" name="why_play">', $member['why_play'], '</textarea></td></tr>'; - echo '<tr><td colspan="2">', _MD_NOTE4, '<br><textarea rows="3" name="skills_talents">', $member['skills_talents'], '</textarea></td></tr>'; - echo '<tr><td colspan="2">', _MD_NOTE1, '<br><textarea rows="3" name="additional_comments">', $member['additional_comments'], '</textarea></td></tr>'; - echo '<tr><td>', _MD_TITLE, '</td><td>', xRoster_DropDown('tid', $titles, $member['tid'], true), '</td></tr>'; - echo '<tr><td>', _MD_IMAGEPATH, '</td><td><input type="text" name="picture" value="', $member['picture'], '"></td></tr>'; - echo '<tr><td>', _MD_WEBSITENAME, '</td><td><input type="text" name="sitename" value="', $member['sitename'], '"></td></tr>'; - echo '<tr><td>', _MD_WEBSITEURL, '</td><td><input type="text" name="siteurl" value="', $member['siteurl'], '"></td></tr>'; - echo '<tr><td>', _MD_IMNETWORK, '</td><td>', xRoster_DropDown('impref', $xRosterList_imnetworks, $member['impref']), '</td></tr>'; - echo '<tr><td>', _MD_IMID, '</td><td><input type="text" name="imid" value="', $member['imid'], '"></td></tr>'; - echo '<tr><td colspan="2">', _MD_NOTE5, '<br><textarea rows="3" name="additional_info">', $member['additional_info'], '</textarea></td></tr>'; - echo '<tr><td>', _MD_SINCE, '</td><td>', $member['since'], '</td></tr>'; - echo '<tr><td colspan="2">', _MD_APPROVED, ' ', xRoster_YNDropDown('member', $member['member']), '</td></tr>'; - echo '<tr><td align="center" colspan="2"><input type="submit" value="', _MD_UPDATE, '"></td></tr> + echo '<tr><td>', _MD_REALNAME, '</td><td><input type="text" name="realname" value="', $member['realname'], '"></td></tr>'; + echo '<tr><td>', _MD_NAME, '</td><td><input type="text" name="membername" value="', $member['membername'], '"></td></tr>'; + echo '<tr><td>', _MD_EMAIL, '</td><td><input type="text" name="email" value="', $member['email'], '"></td></tr>'; + echo '<tr><td>', _MD_AGE, '</td><td><input type="text" name="age" value="', $member['age'], '"></td></tr>'; + echo '<tr><td>', _MD_CATEGORY, '</td><td>', xRoster_SQLDropDown('SELECT id, name FROM {xRoster_categories} ORDER BY weight, name', 'cid', $member['cid']), '</td></tr>'; + echo '<tr><td>', _MD_GROUP, '</td><td>', xRoster_SQLDropDown('SELECT id, name FROM {xRoster_groups} ORDER BY weight, name', 'gid', $member['gid']), '</td></tr>'; + echo '<tr><td>', _MD_LOCATION, '</td><td>', xRoster_LocationDropDown($member['location'] ? $member['location'] : 'US'), '</td></tr>'; + echo '<tr><td>', _MD_CONNECTION, '</td><td>', xRoster_DropDown( + 'connection', $xRosterList_connspeed + array(_MD_OTHER=> _MD_OTHER), $member['connection'] + ), '</td></tr>'; + echo '<tr><td>', _MD_AVAILABLEHOURS, '</td><td>', xRoster_DropDown( + 'ahours', $xRosterList_ahour + array(_MD_TOOMANYHOURS=> _MD_TOOMANYHOURS), $member['ahours'] + ), '</td></tr>'; + echo '<tr><td>', _MD_PRIMARYWEAPON, '</td><td>', xRoster_DropDown('pweapon', $xRosterList_weapon, $member['pweapon']), '</td></tr>'; + echo '<tr><td>', _MD_SECONDARYWEAPON, '</td><td>', xRoster_DropDown('sweapon', $xRosterList_weapon, $member['sweapon']), '</td></tr>'; + echo '<tr><td colspan="2">', _MD_CLANBEFORE, ' ', xRoster_YNDropDown('clan_before', $member['clan_before']), '</td></tr>'; + echo '<tr><td colspan="2">', _MD_NOTE3, '<br><textarea rows="3" name="why_play">', $member['why_play'], '</textarea></td></tr>'; + echo '<tr><td colspan="2">', _MD_NOTE4, '<br><textarea rows="3" name="skills_talents">', $member['skills_talents'], '</textarea></td></tr>'; + echo '<tr><td colspan="2">', _MD_NOTE1, '<br><textarea rows="3" name="additional_comments">', $member['additional_comments'], '</textarea></td></tr>'; + echo '<tr><td>', _MD_TITLE, '</td><td>', xRoster_DropDown('tid', $titles, $member['tid'], true), '</td></tr>'; + echo '<tr><td>', _MD_IMAGEPATH, '</td><td><input type="text" name="picture" value="', $member['picture'], '"></td></tr>'; + echo '<tr><td>', _MD_WEBSITENAME, '</td><td><input type="text" name="sitename" value="', $member['sitename'], '"></td></tr>'; + echo '<tr><td>', _MD_WEBSITEURL, '</td><td><input type="text" name="siteurl" value="', $member['siteurl'], '"></td></tr>'; + echo '<tr><td>', _MD_IMNETWORK, '</td><td>', xRoster_DropDown('impref', $xRosterList_imnetworks, $member['impref']), '</td></tr>'; + echo '<tr><td>', _MD_IMID, '</td><td><input type="text" name="imid" value="', $member['imid'], '"></td></tr>'; + echo '<tr><td colspan="2">', _MD_NOTE5, '<br><textarea rows="3" name="additional_info">', $member['additional_info'], '</textarea></td></tr>'; + echo '<tr><td>', _MD_SINCE, '</td><td>', $member['since'], '</td></tr>'; + echo '<tr><td colspan="2">', _MD_APPROVED, ' ', xRoster_YNDropDown('member', $member['member']), '</td></tr>'; + echo '<tr><td align="center" colspan="2"><input type="submit" value="', _MD_UPDATE, '"></td></tr> </table><form>'; } -function Members_List($op = 1) { +function Members_List($op = 1) +{ global $pathIcon16, $indexAdmin; - $db =& XoopsDatabaseFactory::getDatabaseConnection(); + $db =& XoopsDatabaseFactory::getDatabaseConnection(); echo $indexAdmin->addNavigation('main.php?op=members_list'); - $result = xRoster_Query("SELECT m.id, m.membername, m.member, t.name AS title, g.name AS xgroup, c.name AS game + $result = xRoster_Query( + "SELECT m.id, m.membername, m.member, t.name AS title, g.name AS xgroup, c.name AS game FROM {xRoster} m LEFT JOIN {xRoster_titles} t ON m.tid = t.id LEFT JOIN {xRoster_groups} g ON m.gid = g.id LEFT JOIN {xRoster_categories} c ON m.cid = c.id - WHERE m.member = $op ORDER BY c.weight, g.weight, t.weight, m.membername"); - if($db->getRowsNum($result)) { - echo '<table cellspacing="0" cellpadding="8" class="outer">'; - $last_game = ''; - $last_group = ''; - while($member = $db->fetchArray($result)) { - if($last_game != $member['game']) { - echo '<tr><td colspan="4"><h3>', $member['game'], '</h3></td></tr>'; - $last_game = $member['game']; - } - if($last_group != $member['xgroup'] || $last_game != $member['game']) { - echo '<tr><td colspan="4"><h4>', $member['xgroup'], '</h4></td></tr>'; - echo '<tr bgcolor="#cccccc"><td><strong>', _MD_MEMBERNAME, '</strong></td><td><strong>', _MD_MEMBERTITLE, '</strong></td><td>', _MD_ACTIONS, '</td></tr>'; - $last_group = $member['xgroup']; - } - echo '<tr bgcolor="#eeeeee"> + WHERE m.member = $op ORDER BY c.weight, g.weight, t.weight, m.membername" + ); + if ($db->getRowsNum($result)) { + echo '<table cellspacing="0" cellpadding="8" class="outer">'; + $last_game = ''; + $last_group = ''; + while ($member = $db->fetchArray($result)) { + if ($last_game != $member['game']) { + echo '<tr><td colspan="4"><h3>', $member['game'], '</h3></td></tr>'; + $last_game = $member['game']; + } + if ($last_group != $member['xgroup'] || $last_game != $member['game']) { + echo '<tr><td colspan="4"><h4>', $member['xgroup'], '</h4></td></tr>'; + echo '<tr bgcolor="#cccccc"><td><strong>', _MD_MEMBERNAME, '</strong></td><td><strong>', _MD_MEMBERTITLE, '</strong></td><td>', _MD_ACTIONS, '</td></tr>'; + $last_group = $member['xgroup']; + } + echo '<tr bgcolor="#eeeeee"> <td>', $member['membername'], '</td> <td>', $member['title'], '</td> -<td><a href="?op=members_edit&action=edit&id=', $member['id'], '">', '<img src='. $pathIcon16 .'/edit.png' . ' alt=' . _EDIT . ' title=' . _EDIT . ' />', '</a> <a href="?op=members_delete&action=confirm&id=', $member['id'], '">', '<img src='. $pathIcon16 .'/delete.png' . ' alt=' . _DELETE . ' title=' . _DELETE . ' />','</a> - <a href="?op=members_approve&action=approve&id=', $member['id'], '&subaction=', $member['member'] ? '0' : '1', '">', !$member['member'] ? '<img src='. $pathIcon16 .'/on.png' . ' alt=' . _MD_APPROVE . ' title=' . _MD_APPROVE . ' />' : '<img src='. $pathIcon16 .'/off.png' . ' alt=' . _MD_DISAPPROVE . ' title=' . _MD_DISAPPROVE . ' />', '</a>', - '</td></tr>'; +<td><a href="?op=members_edit&action=edit&id=', $member['id'], '">', + '<img src=' . $pathIcon16 . '/edit.png' . ' alt=' . _EDIT . ' title=' . _EDIT + . ' />', '</a> <a href="?op=members_delete&action=confirm&id=', $member['id'], '">', + '<img src=' . $pathIcon16 . '/delete.png' . ' alt=' . _DELETE . ' title=' . _DELETE . ' />', '</a> + <a href="?op=members_approve&action=approve&id=', $member['id'], '&subaction=', $member['member'] ? '0' : '1', '">', !$member['member'] + ? '<img src=' . $pathIcon16 . '/on.png' . ' alt=' . _MD_APPROVE . ' title=' . _MD_APPROVE . ' />' + : '<img src=' . $pathIcon16 . '/off.png' . ' alt=' . _MD_DISAPPROVE . ' title=' . _MD_DISAPPROVE + . ' />', '</a>', '</td></tr>'; + } + echo '</table>'; + } else { + echo '<p align="center">', $op == 0 ? _MD_NOAPPLICANTS : _MD_NOMEMBERS, '</p>'; } - echo '</table>'; - } else - echo '<p align="center">', $op == 0 ? _MD_NOAPPLICANTS : _MD_NOMEMBERS, '</p>'; } -function Members_Delete($id){ - $result = xRoster_Query('DELETE FROM {xRoster} WHERE id=%u', $id); - redirect_header('main.php?op=members_list', 1, _MD_MEMBERDELETED); +function Members_Delete($id) +{ + $result = xRoster_Query('DELETE FROM {xRoster} WHERE id=%u', $id); + redirect_header('main.php?op=members_list', 1, _MD_MEMBERDELETED); } -function Members_Approve($id, $action = 1){ - global $indexAdmin; +function Members_Approve($id, $action = 1) +{ + global $indexAdmin; echo $indexAdmin->addNavigation('main.php?op=members_approve'); - $action = (int)$action ? 1 : 0; - $result = xRoster_Query('UPDATE {xRoster} SET member=%u, since=%u WHERE id=%u', $action, time(), $id); - redirect_header('main.php?op=members_list', 1, _MD_MEMBERUPDATED); + $action = (int)$action ? 1 : 0; + $result = xRoster_Query('UPDATE {xRoster} SET member=%u, since=%u WHERE id=%u', $action, time(), $id); + redirect_header('main.php?op=members_list', 1, _MD_MEMBERUPDATED); } -function Group_Editor($g_action = '', $id = 0) { - global $pathIcon16, $indexAdmin; +function Group_Editor($g_action = '', $id = 0) +{ + global $pathIcon16, $indexAdmin; echo $indexAdmin->addNavigation('main.php?op=Group_Editor'); $indexAdmin->addItemButton(_MD_ADDGROUP, 'main.php?op=Group_Editor&g_action=add', 'add'); echo $indexAdmin->renderButton('right', ''); $db =& XoopsDatabaseFactory::getDatabaseConnection(); - switch($g_action) { - case 'delete': - $result = xRoster_Query('SELECT count(*) AS c FROM {xRoster} WHERE gid=%u', $id); - $row = $db->fetchArray($result); - if($row['c'] == 0) - $result = xRoster_Query('DELETE FROM {xRoster_groups} WHERE id=%u', $id); - else - printf('<br><br>' . _MD_CANTDELETEGROUP, $row['c']); - redirect_header('main.php?op=Group_Editor', 1, _MD_GROUPDELETED); - break; - case 'insert': - $sql = 'INSERT INTO {xRoster_groups} (name, weight) VALUES (%s, %u)'; - case 'update': - $name = xRoster_PostVar('name'); - $weight = xRoster_PostVar('weight'); - if(!isset($sql)) - $result = xRoster_Query('UPDATE {xRoster_groups} SET name=%s, weight=%u WHERE ID=%u', $name, $weight, $id); - else - $result = xRoster_Query($sql, $name, $weight); - redirect_header('main.php?op=Group_Editor', 1, _MD_GROUPUPDATED); - break; - case 'edit': - $form_params = array('id'=>$id, 'g_action'=>'update', 'btn_label'=>_MD_UPDATE); - $result = xRoster_Query('SELECT * FROM {xRoster_groups} WHERE id=%u', $id); - if($row = $db->fetchArray($result)) { - $name = $row['name']; - $weight = $row['weight']; - } - case 'add': - if(!isset($form_params)) - $form_params = array('id'=>0, 'g_action'=>'insert', 'btn_label'=>_MD_INSERT); - echo '<form method="post">'; - if($form_params['id']) - echo '<input type="hidden" name="id" value="', $form_params['id'], '">'; - echo '<input type="hidden" name="g_action" value="', $form_params['g_action'], '"> + switch ($g_action) { + case 'delete': + $result = xRoster_Query('SELECT count(*) AS c FROM {xRoster} WHERE gid=%u', $id); + $row = $db->fetchArray($result); + if ($row['c'] == 0) { + $result = xRoster_Query('DELETE FROM {xRoster_groups} WHERE id=%u', $id); + } else { + printf('<br><br>' . _MD_CANTDELETEGROUP, $row['c']); + } + redirect_header('main.php?op=Group_Editor', 1, _MD_GROUPDELETED); + break; + case 'insert': + $sql = 'INSERT INTO {xRoster_groups} (name, weight) VALUES (%s, %u)'; + case 'update': + $name = xRoster_PostVar('name'); + $weight = xRoster_PostVar('weight'); + if (!isset($sql)) { + $result = xRoster_Query('UPDATE {xRoster_groups} SET name=%s, weight=%u WHERE ID=%u', $name, $weight, $id); + } else { + $result = xRoster_Query($sql, $name, $weight); + } + redirect_header('main.php?op=Group_Editor', 1, _MD_GROUPUPDATED); + break; + case 'edit': + $form_params = array( + 'id' => $id, + 'g_action' => 'update', + 'btn_label'=> _MD_UPDATE + ); + $result = xRoster_Query('SELECT * FROM {xRoster_groups} WHERE id=%u', $id); + if ($row = $db->fetchArray($result)) { + $name = $row['name']; + $weight = $row['weight']; + } + case 'add': + if (!isset($form_params)) { + $form_params = array( + 'id' => 0, + 'g_action' => 'insert', + 'btn_label'=> _MD_INSERT + ); + } + echo '<form method="post">'; + if ($form_params['id']) { + echo '<input type="hidden" name="id" value="', $form_params['id'], '">'; + } + echo '<input type="hidden" name="g_action" value="', $form_params['g_action'], '"> <table cellspacing="0" cellpadding="8" class="outer"> <tr><td>', _MD_GROUPNAME, '</td><td><input type="text" name="name" value="', $name, '"></td></tr> <tr><td>', _MD_WEIGHT, '</td><td><input type="text" name="weight" value="', $weight, '" size="4" maxlength="3"></td></tr> <tr><td> </td><td><input type="submit" value="', $form_params['btn_label'], '"></td></tr> </table><form>'; - break; - default: - $result = xRoster_Query('SELECT * FROM {xRoster_groups} ORDER BY weight, name'); - if($db->getRowsNum($result)) { - //echo '<table cellspacing="0" cellpadding="8" class="outer" bgcolor="#eeeeee">'; - echo '<p><table cellspacing="0" cellpadding="8" class="outer"> + break; + default: + $result = xRoster_Query('SELECT * FROM {xRoster_groups} ORDER BY weight, name'); + if ($db->getRowsNum($result)) { + //echo '<table cellspacing="0" cellpadding="8" class="outer" bgcolor="#eeeeee">'; + echo '<p><table cellspacing="0" cellpadding="8" class="outer"> <tr bgcolor="#cccccc"><td>', _MD_GROUPNAME, '</td><td>', _MD_WEIGHT, '</td><td>', _MD_ACTIONS, '</td></tr>'; - while($row = $db->fetchArray($result)) { - echo '<tr> + while ($row = $db->fetchArray($result)) { + echo '<tr> <td>', $row['name'], '</td><td>', $row['weight'], '</td> - <td><a href="?op=Group_Editor&g_action=edit&id=', $row['id'], '">', '<img src='. $pathIcon16 .'/edit.png' . ' alt=' . _EDIT . ' title=' . _EDIT . ' />', '</a> - <a href="?op=Group_Editor&g_action=delete&id=', $row['id'], '">', '<img src='. $pathIcon16 .'/delete.png' . ' alt=' . _DELETE . ' title=' . _DELETE . ' />', '</a></td></tr>'; - } - echo '</table>'; - } else - echo '<p align="center">', _MD_NOGROUPS, '</p>'; - break; - } + <td><a href="?op=Group_Editor&g_action=edit&id=', $row['id'], '">', + '<img src=' . $pathIcon16 . '/edit.png' . ' alt=' . _EDIT . ' title=' . _EDIT . ' />', '</a> + <a href="?op=Group_Editor&g_action=delete&id=', $row['id'], '">', + '<img src=' . $pathIcon16 . '/delete.png' . ' alt=' . _DELETE . ' title=' . _DELETE + . ' />', '</a></td></tr>'; + } + echo '</table>'; + } else { + echo '<p align="center">', _MD_NOGROUPS, '</p>'; + } + break; + } } -function Category_Editor($c_action, $id, $name, $weight, $active = 1){ - global $pathIcon16, $indexAdmin; - echo $indexAdmin->addNavigation('main.php?op=Category_Editor'); +function Category_Editor($c_action, $id, $name, $weight, $active = 1) +{ + global $pathIcon16, $indexAdmin; + echo $indexAdmin->addNavigation('main.php?op=Category_Editor'); $indexAdmin->addItemButton(_MD_ADDCATEGORY, 'main.php?op=Category_Editor&c_action=add', 'add'); echo $indexAdmin->renderButton('right', ''); $db =& XoopsDatabaseFactory::getDatabaseConnection(); - switch($c_action) { - case 'delete': - $result = xRoster_Query('SELECT count(*) as count FROM {xRoster} WHERE cid=%u', $id); - $row = $db->fetchArray($result); - if($row['count'] == 0) { - xRoster_Query('DELETE FROM {xRoster_categories} WHERE ID=%u', $id); - redirect_header('main.php?op=Category_Editor', 1, _MD_CATEGORYDELETED); - } else - printf('<br><br>' . _MD_CANTDELECATEGORY, $row['count']); - break; - case 'update': - $result = xRoster_Query("UPDATE {xRoster_categories} SET name=%s, weight=%u, active=%u WHERE ID=%u", $name, $weight, $active, $id); - redirect_header("main.php?op=Category_Editor", 1, _MD_CATEGORYUPDATED); - break; - case 'insert': - $result = xRoster_Query("INSERT INTO {xRoster_categories} (name, weight, active) VALUES (%s, %u, %u)", $name, $weight, $active); - redirect_header('main.php?op=Category_Editor', 1, _MD_CATEGORYINSERTED); - break; - case 'add': case 'edit': - echo '<p> + + switch ($c_action) { + case 'delete': + $result = xRoster_Query('SELECT count(*) as count FROM {xRoster} WHERE cid=%u', $id); + $row = $db->fetchArray($result); + if ($row['count'] == 0) { + xRoster_Query('DELETE FROM {xRoster_categories} WHERE ID=%u', $id); + redirect_header('main.php?op=Category_Editor', 1, _MD_CATEGORYDELETED); + } else { + printf('<br><br>' . _MD_CANTDELECATEGORY, $row['count']); + } + break; + case 'update': + $result = xRoster_Query("UPDATE {xRoster_categories} SET name=%s, weight=%u, active=%u WHERE ID=%u", $name, $weight, $active, $id); + redirect_header("main.php?op=Category_Editor", 1, _MD_CATEGORYUPDATED); + break; + case 'insert': + $result = xRoster_Query("INSERT INTO {xRoster_categories} (name, weight, active) VALUES (%s, %u, %u)", $name, $weight, $active); + redirect_header('main.php?op=Category_Editor', 1, _MD_CATEGORYINSERTED); + break; + case 'add': + case 'edit': + echo '<p> <form method="post"> <input type="hidden" name="c_action" value="', $c_action == 'edit' ? 'update' : 'insert', '">', - $c_action == 'edit' ? '<input type="hidden" name="id" value="' . $id . '">' : '', - '<table cellspacing=0 cellpadding=8 class="outer"> + $c_action == 'edit' ? '<input type="hidden" name="id" value="' . $id . '">' : '', '<table cellspacing=0 cellpadding=8 class="outer"> <tr><td>', _MD_CATEGORYNAME, '</td><td><input type="text" name="name" value="', $name, '"></td></tr> <tr><td>', _MD_WEIGHT, '</td><td><input type="text" name="weight" value="', $weight, '"></td></tr> <tr><td>', _MD_ACTIVE, '</td><td>', xRoster_YNDropDown('active', $active), '</td></tr> @@ -210,152 +253,133 @@ </td></tr> </table> <form>'; - break; - default: - $result = xRoster_Query('SELECT id, name, weight, active FROM {xRoster_categories} ORDER BY weight'); - if($db->getRowsNum($result) > 0) { - echo '<p><table cellspacing="0" cellpadding="8" class="outer"> + break; + default: + $result = xRoster_Query('SELECT id, name, weight, active FROM {xRoster_categories} ORDER BY weight'); + if ($db->getRowsNum($result) > 0) { + echo '<p><table cellspacing="0" cellpadding="8" class="outer"> <tr bgcolor="#cccccc"><td>', _MD_CATEGORYNAME, '</td><td>', _MD_WEIGHT, '</td><td>', _MD_ACTIVE, '</td><td>', _MD_ACTIONS, '</td></tr>'; - while($row = $db->fetchArray($result)) { - echo '<tr bgcolor="#eeeeee"> + while ($row = $db->fetchArray($result)) { + echo '<tr bgcolor="#eeeeee"> <td>', $row['name'], '</td><td>', $row['weight'], '</td> <td>', $row['active'] ? _YES : _NO, '</td> - <td><a href="?op=Category_Editor&c_action=edit&id=', $row['id'], '&name=', $row['name'], '&weight=', $row['weight'], '&active=', $row['active'], '">', '<img src='. $pathIcon16 .'/edit.png' . ' alt=' . _EDIT . ' title=' . _EDIT . ' />', '</a> <a href="?op=Category_Editor&c_action=delete&id=', $row['id'], '">', '<img src='. $pathIcon16 .'/delete.png' . ' alt=' . _DELETE . ' title=' . _DELETE . ' />', '</a></td></tr>'; - } - echo '</table>'; - } else - echo '<p align="center">', _MD_NOCATEGORIES, '</p>'; - break; - } + <td><a href="?op=Category_Editor&c_action=edit&id=', $row['id'], '&name=', $row['name'], '&weight=', $row['weight'], '&active=', $row['active'], '">', + '<img src=' . $pathIcon16 . '/edit.png' . ' alt=' . _EDIT . ' title=' . _EDIT + . ' />', '</a> <a href="?op=Category_Editor&c_action=delete&id=', $row['id'], '">', + '<img src=' . $pathIcon16 . '/delete.png' . ' alt=' . _DELETE . ' title=' . _DELETE + . ' />', '</a></td></tr>'; + } + echo '</table>'; + } else { + echo '<p align="center">', _MD_NOCATEGORIES, '</p>'; + } + break; + } } /******************************************************************************/ /******************************************************************************/ /******************************************************************************/ -function Title_Editor($t_action, $id, $name, $weight){ - global $pathIcon16, $indexAdmin; - $db =& XoopsDatabaseFactory::getDatabaseConnection(); +function Title_Editor($t_action, $id, $name, $weight) +{ + global $pathIcon16, $indexAdmin; + $db =& XoopsDatabaseFactory::getDatabaseConnection(); echo $indexAdmin->addNavigation('main.php?op=Title_Editor'); + $indexAdmin->addItemButton(_MD_ADDTITLE, 'main.php?op=Title_Editor&t_action=add', 'add'); + echo $indexAdmin->renderButton('right', ''); $db =& XoopsDatabaseFactory::getDatabaseConnection(); -$indexAdmin->addItemButton(_MD_ADDTITLE, 'main.php?op=Title_Editor&t_action=add', 'add'); -echo $indexAdmin->renderButton('right', ''); - echo $t_action; + switch ($t_action) { + case "delete": + $result = xRoster_Query('SELECT count(*) as count FROM {xRoster} WHERE tid=%u', $id); + $row = $db->fetchArray($result); + if ($row['count'] == 0) { + xRoster_Query('DELETE FROM {xRoster_titles} WHERE ID=%u', $id); + } else { + printf('<br><br>' . _MD_CANTDELETETITLE, $row['count']); + } + redirect_header('main.php?op=Title_Editor', 1, _MD_TITLEDELETED); + break; - switch($t_action){ - case "delete": - $result = xRoster_Query('SELECT count(*) as count FROM {xRoster} WHERE tid=%u', $id); - $row = $db->fetchArray($result); - if($row['count'] == 0) - xRoster_Query('DELETE FROM {xRoster_titles} WHERE ID=%u', $id); - else - printf('<br><br>' . _MD_CANTDELETETITLE, $row['count']); - redirect_header('main.php?op=Title_Editor', 1, _MD_TITLEDELETED); - break; - case "update": - $sql = "UPDATE " . $db->prefix("xRoster_titles") . " SET name='$name',weight=$weight WHERE ID=$id"; - if ( !$result = $db->query($sql) ) { - exit("Error in admin/main.php :: Title_Editor($t_action,$id,$name,$weight)"); - } - redirect_header("main.php?op=Title_Editor", 1, _MD_TITLEUPDATED); - break; - case "insert": - $sql = "INSERT INTO " . $db->prefix("xRoster_titles") . " (name,weight) VALUES ('$name',$weight)"; - if ( !$result = $db->query($sql) ) { - exit("Error in admin/main.php :: Title_Editor($t_action,$id,$name,$weight)"); - } - redirect_header("main.php?op=Title_Editor", 1, _MD_TITLEINSERTED); - break; - case "add": -// echo("<p>"); -// echo("<form method=post>"); -// echo("<input type=\"hidden\" name=\"t_action\" value=\"insert\">"); -// echo("<table cellspacing=0 cellpadding=8 class=\"outer\">"); -// echo("<tr><td>"._MD_TITLENAME."</td><td><input type=\"text\" name=\"name\" value=\"".$name."\"></td></tr>"); -// echo("<tr><td>"._MD_WEIGHT."</td><td><input type=\"text\" name=\"weight\" value=\"".$weight."\"></td></tr>"); -// echo("<tr><td> </td><td><input type=\"submit\" value=\""._MD_INSERT."\"></td></tr>"); -// echo("</table>"); -// echo("<form>"); -// break; -echo 'ADDDDDDDD'; - if(!isset($form_params)) - $form_params = array('id'=>0, 't_action'=>'insert', 'btn_label'=>_MD_INSERT); - echo '<form method="post">'; - if($form_params['id']) - echo '<input type="hidden" name="id" value="', $form_params['id'], '">'; -// echo("<input type=\"hidden\" name=\"t_action\" value=\"insert\">"); - echo("<table cellspacing=0 cellpadding=8 class=\"outer\">"); - echo("<tr><td>"._MD_TITLENAME."</td><td><input type=\"text\" name=\"name\" value=\"".$name."\"></td></tr>"); - echo("<tr><td>"._MD_WEIGHT."</td><td><input type=\"text\" name=\"weight\" value=\"".$weight."\"></td></tr>"); - echo("<tr><td> </td><td><input type=\"submit\" value=\""._MD_INSERT."\"></td></tr>"); - echo("</table>"); - echo("<form>"); - break; + case 'update': + $result = xRoster_Query("UPDATE {xRoster_titles} SET name=%s, weight=%u, active=%u WHERE ID=%u", $name, $weight, $active, $id); + redirect_header("main.php?op=Title_Editor", 1, _MD_TITLEUPDATED); + break; + /* + case "insert": + $sql = "INSERT INTO " . $db->prefix("xRoster_titles") . " (name,weight) VALUES ('$name',$weight)"; + if ( !$result = $db->query($sql) ) { + exit("Error in admin/main.php :: Title_Editor($t_action,$id,$name,$weight)"); + } + redirect_header("main.php?op=Title_Editor", 1, _MD_TITLEINSERTED); + break; +*/ + case 'insert': + $result = xRoster_Query("INSERT INTO {xRoster_titles} (name, weight, active) VALUES (%s, %u, %u)", $name, $weight, $active); + redirect_header('main.php?op=Title_Editor', 1, _MD_TITLEINSERTED); + break; + case 'add': + case 'edit': + echo '<p> + <form method="post"> + <input type="hidden" name="t_action" value="', $t_action == 'edit' ? 'update' : 'insert', '">', + $t_action == 'edit' ? '<input type="hidden" name="id" value="' . $id . '">' : '', '<table cellspacing=0 cellpadding=8 class="outer"> + <tr><td>', _MD_TITLENAME, '</td><td><input type="text" name="name" value="', $name, '"></td></tr> + <tr><td>', _MD_WEIGHT, '</td><td><input type="text" name="weight" value="', $weight, '"></td></tr> + <tr><td>', _MD_ACTIVE, '</td><td>', xRoster_YNDropDown('active', $active), '</td></tr> + <tr><td> </td><td><input type="submit" value="', $t_action == 'edit' ? _MD_UPDATE : _MD_INSERT, '"> + </td></tr> + </table> + <form>'; + break; + case 'default': + xRoster_Query('UPDATE {xRoster_titles} SET isdefault=0 WHERE ID<>%u', $id); + xRoster_Query('UPDATE {xRoster_titles} SET isdefault=1 WHERE ID=%u', $id); + redirect_header('main.php?op=Title_Editor', 1, _MD_TITLEUPDATED); + break; + default: + $result = xRoster_Query('SELECT id, name, weight FROM {xRoster_titles} ORDER BY weight'); + $titles = $titles_assoc = array(); + while ($row = $db->fetchArray($result)) { + $titles[] = $row; + $titles_assoc[$row['id']] = $row['name']; + } + if (count($titles) > 0) { + echo("<p><table cellspacing=0 cellpadding=8 class=\"outer\">"); + echo("<tr bgcolor=\"#cccccc\"><td>" . _MD_TITLENAME . "</td><td>" . _MD_WEIGHT . "</td><td>" + . _MD_ACTIONS . "</td></tr>"); + for ($j = 0; $j < count($titles); $j++) { + echo("<tr bgcolor=\"#eeeeee\">"); + echo("<td>" . $titles[$j]['name'] . "</td>"); + echo("<td>" . $titles[$j]['weight'] . "</td>"); - - - - - - - case "edit": - echo("<p>"); - echo("<form method=post>"); - echo("<input type=\"hidden\" name=\"id\" value=\"$id\">"); - echo("<input type=\"hidden\" name=\"t_action\" value=\"update\">"); - echo("<table cellspacing=0 cellpadding=8 class=\"outer\">"); - echo("<tr><td>"._MD_TITLENAME."</td><td><input type=\"text\" name=\"name\" value=\"".$name."\"></td></tr>"); - echo("<tr><td>"._MD_WEIGHT."</td><td><input type=\"text\" name=\"weight\" value=\"".$weight."\"></td></tr>"); - echo("<tr><td> </td><td><input type=\"submit\" value=\""._MD_UPDATE."\"></td></tr>"); - echo("</table>"); - echo("<form>"); - break; - case 'default': - xRoster_Query('UPDATE {xRoster_titles} SET isdefault=0 WHERE ID<>%u', $id); - xRoster_Query('UPDATE {xRoster_titles} SET isdefault=1 WHERE ID=%u', $id); - redirect_header('main.php?op=Title_Editor', 1, _MD_TITLEUPDATED); - break; - default: - $result = xRoster_Query('SELECT id, name, weight FROM {xRoster_titles} ORDER BY weight'); - $titles = $titles_assoc = array(); - while($row = $db->fetchArray($result)) { - $titles[] = $row; - $titles_assoc[$row['id']] = $row['name']; - } - if(count($titles) > 0){ - echo("<p><table cellspacing=0 cellpadding=8 class=\"outer\">"); - echo("<tr bgcolor=\"#cccccc\"><td>"._MD_TITLENAME."</td><td>"._MD_WEIGHT."</td><td>"._MD_ACTIONS."</td></tr>"); - for($j=0;$j<count($titles);$j++){ - echo("<tr bgcolor=\"#eeeeee\">"); - echo("<td>".$titles[$j]['name']."</td>"); - echo("<td>".$titles[$j]['weight']."</td>"); - echo("<td><a href=\"?op=Title_Editor&t_action=edit&id=".$titles[$j]['id']."&name=".$titles[$j]['name']."&weight=".$titles[$j]['weight']."\">".'<img src='. $pathIcon16 .'/edit.png' . ' alt=' . _EDIT . ' title=' . _EDIT . ' />'."</a>"); - echo("<a href=\"?op=Title_Editor&t_action=delete&id=".$titles[$j]['id']."\">".'<img src='. $pathIcon16 .'/delete.png' . ' alt=' . _DELETE . ' title=' . _DELETE . ' />'."</a></td>"); - echo("</tr>"); - } - echo("</table>"); - // Default title - echo '<form method="post"><input type="hidden" name="t_action" value="default">', - _MD_DEFAULTTITLE, ':', xRoster_DropDown('id', $titles_assoc, xRoster_DefaultTitle(), true, null), - ' <input type="submit" value=">>"></form>'; - } else { - echo("<p align=\"center\">"._MD_NOTITLES."</p>"); - } - break; - } + echo("<td><a href=\"?op=Title_Editor&t_action=edit&id=" . $titles[$j]['id'] . "&name=" . $titles[$j]['name'] . "&weight=" . $titles[$j]['weight'] . "\">" . '<img src=' + . $pathIcon16 . '/edit.png' . ' alt=' . _EDIT . ' title=' . _EDIT . ' />' . "</a>"); + echo("<a href=\"?op=Title_Editor&t_action=delete&id=" . $titles[$j]['id'] . "\">" . '<img src=' + . $pathIcon16 . '/delete.png' . ' alt=' . _DELETE . ' title=' . _DELETE . ' />' . "</a></td>"); + echo("</tr>"); + } + echo("</table>"); + // Default title + echo '<form method="post"><input type="hidden" name="t_action" value="default">', _MD_DEFAULTTITLE, ':', xRoster_DropDown('id', $titles_assoc, xRoster_DefaultTitle(), true, null), ' <input type="submit" value=">>"></form>'; + } else { + echo("<p align=\"center\">" . _MD_NOTITLES . "</p>"); + } + break; + } } /************************************** * Main - Admin SwitchBox *************************************/ -if(!ini_get('register_globals')) { // hotfix for register_globals=off - extract($_GET); - extract($_POST); +if (!ini_get('register_globals')) { // hotfix for register_globals=off + extract($_GET); + extract($_POST); } //xRoster_AdminHeader(); @@ -365,66 +389,93 @@ $op = isset($_POST['op']) ? $_POST['op'] : (isset($_GET['op']) ? $_GET['op'] : 'xRosterConfig'); -switch($op) { - case 'Title_Editor': Title_Editor($t_action='', $id=0, $name='', $weight=0); break; - case 'Category_Editor': - Category_Editor($c_action='', $id=0, $name='', $weight=0, !isset($_REQUEST['active']) || (bool)$_REQUEST['active'] ? 1 : 0); - break; - case 'Group_Editor': - $g_action = isset($_REQUEST['g_action']) ? $_REQUEST['g_action'] : ''; - $id = isset($_REQUEST['id']) ? (int)$_REQUEST['id'] : 0; - Group_Editor($g_action, $id); - break; - case 'members_approve': - if(@$_GET['action']=='approve' && (int)@$_GET['id']) - Members_Approve($_GET['id'], isset($_GET['subaction']) ? (int)$_GET['subaction'] : 1); - else - Members_List(0); - break; - case 'members_list': Members_List(1); break; - case 'members_add': $id = 0; - case 'members_edit': Members_Edit($id); break; - case 'members_update': - $realname = xRoster_PostVar('realname'); - $membername = xRoster_PostVar('membername'); - $email = xRoster_PostVar('email'); - $age = (int)xRoster_PostVar('age'); - $gid = (int)xRoster_PostVar('gid'); - $cid = (int)xRoster_PostVar('cid'); - $location = xRoster_PostVar('location'); - $connection = xRoster_PostVar('connection'); - $ahours = xRoster_PostVar('ahours'); - $pweapon = xRoster_PostVar('pweapon'); - $sweapon = xRoster_PostVar('sweapon'); - $clan_before = (int)xRoster_PostVar('clan_before'); - $why_play = xRoster_PostVar('why_play'); - $skills_talents = xRoster_PostVar('skills_talents'); - $additional_comments = xRoster_PostVar('additional_comments'); - $tid = (int)xRoster_PostVar('tid'); - $picture = xRoster_PostVar('picture'); - $sitename = xRoster_PostVar('sitename'); - $siteurl = xRoster_PostVar('siteurl'); - $impref = xRoster_PostVar('impref'); - $imid = xRoster_PostVar('imid'); - $additional_info = xRoster_PostVar('additional_info'); - $member = (int)xRoster_PostVar('member', 0); - $id = (int)xRoster_PostVar('id', 0); - if($id) { - //Todo: when I update, if the user was member=0, and it's approved (member=1), I should update the "since" field to time() - $result = xRoster_Query('UPDATE {xRoster} SET realname=%s, membername=%s, email=%s, age=%d, gid=%d, cid=%d, location=%s, connection=%s, ahours=%s, pweapon=%s, - sweapon=%s, clan_before=%d, why_play=%s, skills_talents=%s, additional_comments=%s, tid=%d, picture=%s, sitename=%s, siteurl=%s, impref=%s, imid=%s, additional_info=%s, member=%d WHERE id = %d', - $realname, $membername, $email, $age, $gid, $cid, $location, $connection, $ahours, $pweapon, $sweapon, $clan_before, $why_play, $skills_talents, $additional_comments, $tid, $picture, $sitename, $siteurl, $impref, $imid, $additional_info, $member, $id); - redirect_header($member ? 'main.php?op=members_list' : 'main.php?op=members_approve', 1, _MD_MEMBERUPDATED); - } else { - $result = xRoster_Query('INSERT INTO {xRoster} +switch ($op) { + //case 'Title_Editor': Title_Editor($t_action='', $id=0, $name='', $weight=0); break; + case 'Title_Editor': + $t_action = isset($_REQUEST['t_action']) ? $_REQUEST['t_action'] : ''; + $id = isset($_REQUEST['id']) ? (int)$_REQUEST['id'] : 0; + $name = isset($_REQUEST['name']) ? $_REQUEST['name'] : ''; + $weight = isset($_REQUEST['weight']) ? $_REQUEST['weight'] : 0; + Title_Editor($t_action, $id, $name, $weight); + break; + case 'Category_Editor': + //Category_Editor($c_action='', $id=0, $name='', $weight=0, !isset($_REQUEST['active']) || (bool)$_REQUEST['active'] ? 1 : 0); + $c_action = isset($_REQUEST['c_action']) ? $_REQUEST['c_action'] : ''; + $id = isset($_REQUEST['id']) ? (int)$_REQUEST['id'] : 0; + $name = isset($_REQUEST['name']) ? $_REQUEST['name'] : ''; + $weight = isset($_REQUEST['weight']) ? $_REQUEST['weight'] : 0; + Category_Editor( + $c_action, $id, $name, $weight, !isset($_REQUEST['active']) || (bool)$_REQUEST['active'] ? 1 : 0 + ); + break; + case 'Group_Editor': + $g_action = isset($_REQUEST['g_action']) ? $_REQUEST['g_action'] : ''; + $id = isset($_REQUEST['id']) ? (int)$_REQUEST['id'] : 0; + Group_Editor($g_action, $id); + break; + case 'members_approve': + if (@$_GET['action'] == 'approve' && (int)@$_GET['id'] + ) { + Members_Approve($_GET['id'], isset($_GET['subaction']) ? (int)$_GET['subaction'] : 1); + } else { + Members_List(0); + } + break; + case 'members_list': + Members_List(1); + break; + case 'members_add': + $id = 0; + case 'members_edit': + Members_Edit($id); + break; + case 'members_update': + $realname = xRoster_PostVar('realname'); + $membername = xRoster_PostVar('membername'); + $email = xRoster_PostVar('email'); + $age = (int)xRoster_PostVar('age'); + $gid = (int)xRoster_PostVar('gid'); + $cid = (int)xRoster_PostVar('cid'); + $location = xRoster_PostVar('location'); + $connection = xRoster_PostVar('connection'); + $ahours = xRoster_PostVar('ahours'); + $pweapon = xRoster_PostVar('pweapon'); + $sweapon = xRoster_PostVar('sweapon'); + $clan_before = (int)xRoster_PostVar('clan_before'); + $why_play = xRoster_PostVar('why_play'); + $skills_talents = xRoster_PostVar('skills_talents'); + $additional_comments = xRoster_PostVar('additional_comments'); + $tid = (int)xRoster_PostVar('tid'); + $picture = xRoster_PostVar('picture'); + $sitename = xRoster_PostVar('sitename'); + $siteurl = xRoster_PostVar('siteurl'); + $impref = xRoster_PostVar('impref'); + $imid = xRoster_PostVar('imid'); + $additional_info = xRoster_PostVar('additional_info'); + $member = (int)xRoster_PostVar('member', 0); + $id = (int)xRoster_PostVar('id', 0); + if ($id) { + //Todo: when I update, if the user was member=0, and it's approved (member=1), I should update the "since" field to time() + $result = xRoster_Query( + 'UPDATE {xRoster} SET realname=%s, membername=%s, email=%s, age=%d, gid=%d, cid=%d, location=%s, connection=%s, ahours=%s, pweapon=%s, + sweapon=%s, clan_before=%d, why_play=%s, skills_talents=%s, additional_comments=%s, tid=%d, picture=%s, sitename=%s, siteurl=%s, impref=%s, imid=%s, additional_info=%s, member=%d WHERE id = %d', $realname, $membername, $email, $age, $gid, $cid, $location, $connection, $ahours, $pweapon, $sweapon, $clan_before, $why_play, $skills_talents, $additional_comments, $tid, $picture, $sitename, $siteurl, $impref, $imid, $additional_info, $member, $id + ); + redirect_header($member ? 'main.php?op=members_list' : 'main.php?op=members_approve', 1, _MD_MEMBERUPDATED); + } else { + $result = xRoster_Query( + 'INSERT INTO {xRoster} (realname, membername, email, age, gid, cid, location, connection, ahours, pweapon, sweapon, clan_before, why_play, skills_talents, additional_comments, tid, picture, sitename, siteurl, impref, imid, additional_info, member, since) - VALUES (%s, %s, %s, %d, %d, %d, %s, %s, %s, %s, %s, %d, %s, %s, %s, %d, %s, %s, %s, %s, %s, %s, %d, %d)', - $realname, $membername, $email, $age, $gid, $cid, $location, $connection, $ahours, $pweapon, $sweapon, $clan_before, $why_play, $skills_talents, $additional_comments, $tid, $picture, $sitename, $siteurl, $impref, $imid, $additional_info, $member, time()); - redirect_header('main.php?op=members_list', 1, _MD_MEMBERADDED); - } - break; - case 'members_delete': Members_Delete($id); break; - case 'ConfigUpdate': ConfigUpdate(); break; + VALUES (%s, %s, %s, %d, %d, %d, %s, %s, %s, %s, %s, %d, %s, %s, %s, %d, %s, %s, %s, %s, %s, %s, %d, %d)', $realname, $membername, $email, $age, $gid, $cid, $location, $connection, $ahours, $pweapon, $sweapon, $clan_before, $why_play, $skills_talents, $additional_comments, $tid, $picture, $sitename, $siteurl, $impref, $imid, $additional_info, $member, time() + ); + redirect_header('main.php?op=members_list', 1, _MD_MEMBERADDED); + } + break; + case 'members_delete': + Members_Delete($id); + break; + case 'ConfigUpdate': + ConfigUpdate(); + break; } //xoops_cp_footer(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wis...@us...> - 2012-03-15 12:43:26
|
Revision: 9134 http://xoops.svn.sourceforge.net/xoops/?rev=9134&view=rev Author: wishcraft Date: 2012-03-15 12:43:08 +0000 (Thu, 15 Mar 2012) Log Message: ----------- Video on Demand 1.15 - see changelog.txt for details on changes Added Paths: ----------- XoopsModules/vod/releases/1.21/ XoopsModules/vod/releases/1.21/docs/ XoopsModules/vod/releases/1.21/htdocs/ XoopsModules/vod/releases/1.21/htdocs/Frameworks/ XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/ XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/ XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/16/ XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/16/vod.cart.png XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/16/vod.category.png XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/16/vod.currency.png XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/16/vod.log.png XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/16/vod.mimetypes.png XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/16/vod.useragents.png XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/16/vod.video.png XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/32/ XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/32/vod.cart.png XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/32/vod.category.png XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/32/vod.currency.png XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/32/vod.log.png XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/32/vod.mimetypes.png XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/32/vod.useragents.png XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/32/vod.video.png XoopsModules/vod/releases/1.21/htdocs/modules/ XoopsModules/vod/releases/1.21/htdocs/modules/tag/ XoopsModules/vod/releases/1.21/htdocs/modules/tag/plugin/ XoopsModules/vod/releases/1.21/htdocs/modules/tag/plugin/vod.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/ XoopsModules/vod/releases/1.21/htdocs/modules/vod/admin/ XoopsModules/vod/releases/1.21/htdocs/modules/vod/admin/header.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/admin/index.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/admin/index.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/admin/menu.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/blocks/ XoopsModules/vod/releases/1.21/htdocs/modules/vod/blocks/flowplayer_block_player.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/blocks/index.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/class/ XoopsModules/vod/releases/1.21/htdocs/modules/vod/class/cart.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/class/category.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/class/currency.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/class/index.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/class/log.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/class/mimetypes.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/class/nw_stories.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/class/nw_topics.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/class/sessions.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/class/videos.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/cron/ XoopsModules/vod/releases/1.21/htdocs/modules/vod/cron/index.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/cron/notify.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/docs/ XoopsModules/vod/releases/1.21/htdocs/modules/vod/docs/changelog.txt XoopsModules/vod/releases/1.21/htdocs/modules/vod/docs/credits.txt XoopsModules/vod/releases/1.21/htdocs/modules/vod/docs/index.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/docs/install.txt XoopsModules/vod/releases/1.21/htdocs/modules/vod/docs/lang_diff.txt XoopsModules/vod/releases/1.21/htdocs/modules/vod/docs/licence.txt XoopsModules/vod/releases/1.21/htdocs/modules/vod/docs/readme.txt XoopsModules/vod/releases/1.21/htdocs/modules/vod/dojson_videos.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/header.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/images/ XoopsModules/vod/releases/1.21/htdocs/modules/vod/images/icons/ XoopsModules/vod/releases/1.21/htdocs/modules/vod/images/icons/admin/ XoopsModules/vod/releases/1.21/htdocs/modules/vod/images/icons/admin/index.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/images/icons/admin/video.png XoopsModules/vod/releases/1.21/htdocs/modules/vod/images/icons/index.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/images/index.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/images/vod_slogo.png XoopsModules/vod/releases/1.21/htdocs/modules/vod/include/ XoopsModules/vod/releases/1.21/htdocs/modules/vod/include/JSON.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/include/formobjects.vod.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/include/forms.vod.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/include/formselectcategory.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/include/formselectcurrency.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/include/formselectmimetype.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/include/formselectpackageid.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/include/formselectsupport.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/include/formselectvideos.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/include/functions.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/include/index.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/include/search.inc.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/include/update.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/include/uploader.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/index.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/js/ XoopsModules/vod/releases/1.21/htdocs/modules/vod/js/core.js XoopsModules/vod/releases/1.21/htdocs/modules/vod/js/flowplayer-3.2.6.min.js XoopsModules/vod/releases/1.21/htdocs/modules/vod/js/index.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/js/json_functions.js XoopsModules/vod/releases/1.21/htdocs/modules/vod/js/video.js XoopsModules/vod/releases/1.21/htdocs/modules/vod/language/ XoopsModules/vod/releases/1.21/htdocs/modules/vod/language/english/ XoopsModules/vod/releases/1.21/htdocs/modules/vod/language/english/admin.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/language/english/blocks.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/language/english/email.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/language/english/enum.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/language/english/forms.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/language/english/index.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/language/english/log.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/language/english/mail_templates/ XoopsModules/vod/releases/1.21/htdocs/modules/vod/language/english/mail_templates/vod_video_available_cart.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/language/english/mail_templates/vod_video_expired_cart.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/language/english/mail_templates/vod_video_expired_viewing_cart.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/language/english/main.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/language/english/mainfile.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/language/english/modinfo.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/language/english/style.css XoopsModules/vod/releases/1.21/htdocs/modules/vod/language/english/video-js.css XoopsModules/vod/releases/1.21/htdocs/modules/vod/language/index.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/plugins/ XoopsModules/vod/releases/1.21/htdocs/modules/vod/plugins/index.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/plugins/log.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/preloads/ XoopsModules/vod/releases/1.21/htdocs/modules/vod/preloads/core.php XoopsModules/vod/releases/1.21/htdocs/modules/vod/preloads/index.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/sql/ XoopsModules/vod/releases/1.21/htdocs/modules/vod/sql/index.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/sql/mysql.sql XoopsModules/vod/releases/1.21/htdocs/modules/vod/swf/ XoopsModules/vod/releases/1.21/htdocs/modules/vod/swf/flowplayer-3.2.7.swf XoopsModules/vod/releases/1.21/htdocs/modules/vod/swf/flowplayer.controls-3.2.5.swf XoopsModules/vod/releases/1.21/htdocs/modules/vod/swf/flowplayer.rtmp-3.2.3.swf XoopsModules/vod/releases/1.21/htdocs/modules/vod/swf/index.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/ XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/blocks/ XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/blocks/flowplayer_block_player.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/blocks/index.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/index.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_cpanel_cart_edit.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_cpanel_cart_list.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_cpanel_category_edit.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_cpanel_category_list.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_cpanel_currency_edit.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_cpanel_currency_list.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_cpanel_log_list.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_cpanel_mimetypes_edit.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_cpanel_mimetypes_list.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_cpanel_sessions_edit.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_cpanel_sessions_list.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_cpanel_useragents_list.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_cpanel_videos_edit.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_cpanel_videos_list.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_cart_view.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_cart_xpayment_form.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_category_list.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_category_view.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_flash_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_html5_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_http_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_iframe.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_iframe_flash_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_iframe_html5_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_iframe_http_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_iframe_ios_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_iframe_other_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_iframe_rtmp_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_iframe_rtsp_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_iframe_silverlight_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_ios_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_other_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_rstp_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_rtmp_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_silverlight_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_videos_list.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_index_videos_view.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_json_block_flash_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_json_block_html5_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_json_block_http_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_json_block_ios_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_json_block_other_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_json_block_rtmp_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_json_block_rtsp_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_json_block_silverlight_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_json_flash_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_json_html5_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_json_http_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_json_ios_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_json_other_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_json_rtmp_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_json_rtsp_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_json_silverlight_videos.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/templates/vod_news_hometext.html XoopsModules/vod/releases/1.21/htdocs/modules/vod/xoops_version.php XoopsModules/vod/releases/1.21/htdocs/modules/xpayment/ XoopsModules/vod/releases/1.21/htdocs/modules/xpayment/plugin/ XoopsModules/vod/releases/1.21/htdocs/modules/xpayment/plugin/vod.php Added: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/16/vod.cart.png =================================================================== (Binary files differ) Property changes on: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/16/vod.cart.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/16/vod.category.png =================================================================== (Binary files differ) Property changes on: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/16/vod.category.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/16/vod.currency.png =================================================================== (Binary files differ) Property changes on: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/16/vod.currency.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/16/vod.log.png =================================================================== (Binary files differ) Property changes on: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/16/vod.log.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/16/vod.mimetypes.png =================================================================== (Binary files differ) Property changes on: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/16/vod.mimetypes.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/16/vod.useragents.png =================================================================== (Binary files differ) Property changes on: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/16/vod.useragents.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/16/vod.video.png =================================================================== (Binary files differ) Property changes on: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/16/vod.video.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/32/vod.cart.png =================================================================== (Binary files differ) Property changes on: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/32/vod.cart.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/32/vod.category.png =================================================================== (Binary files differ) Property changes on: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/32/vod.category.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/32/vod.currency.png =================================================================== (Binary files differ) Property changes on: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/32/vod.currency.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/32/vod.log.png =================================================================== (Binary files differ) Property changes on: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/32/vod.log.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/32/vod.mimetypes.png =================================================================== (Binary files differ) Property changes on: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/32/vod.mimetypes.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/32/vod.useragents.png =================================================================== (Binary files differ) Property changes on: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/32/vod.useragents.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/32/vod.video.png =================================================================== (Binary files differ) Property changes on: XoopsModules/vod/releases/1.21/htdocs/Frameworks/moduleclasses/icons/32/vod.video.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/vod/releases/1.21/htdocs/modules/tag/plugin/vod.php =================================================================== --- XoopsModules/vod/releases/1.21/htdocs/modules/tag/plugin/vod.php (rev 0) +++ XoopsModules/vod/releases/1.21/htdocs/modules/tag/plugin/vod.php 2012-03-15 12:43:08 UTC (rev 9134) @@ -0,0 +1,76 @@ +<?php +if (!defined('XOOPS_ROOT_PATH')) { exit(); } + +function vod_tag_iteminfo(&$items) +{ + if (empty($items) || !is_array($items)) { + return false; + } + + $items_id = array(); + foreach (array_keys($items) as $cat_id) { + // Some handling here to build the link upon catid + // catid is not used in vod, so just skip it + foreach (array_keys($items[$cat_id]) as $item_id) { + // In vod, the item_id is "topic_id" + $items_id[] = intval($item_id); + } + } + $item_handler =& xoops_getmodulehandler('videos', 'vod'); + $items_obj = $item_handler->getObjects(new Criteria("vid", "(" . implode(", ", $items_id) . ")", "IN"), true); + $myts =& MyTextSanitizer::getInstance(); + foreach (array_keys($items) as $cat_id) { + foreach (array_keys($items[$cat_id]) as $item_id) { + $item_obj =& $items_obj[$item_id]; + if (is_object($item_obj)) + $items[$cat_id][$item_id] = array( + "title" => $item_obj->getVar("name"), + "uid" => $item_obj->getVar("uid"), + "link" => 'go.php?vid='.$item_id.'&cid='.$item_obj->getVar("cid"), + "time" => $item_obj->getVar("date"), + "tags" => tag_parse_tag($item_obj->getVar("tags", "n")), + "content" => $myts->displayTarea($item_obj->getVar("summary"),true,true,true,true,true,true) + ); + } + } + unset($items_obj); +} + +/** + * Remove orphan tag-item links + * + * @return boolean + * + */ +function vod_tag_synchronization($mid) +{ + $item_handler =& xoops_getmodulehandler('videos', 'vod'); + $link_handler =& xoops_getmodulehandler("link", "tag"); + + /* clear tag-item links */ + if (version_compare( mysql_get_server_info(), "4.1.0", "ge" )): + $sql = " DELETE FROM {$link_handler->table}" . + " WHERE " . + " tag_modid = {$mid}" . + " AND " . + " ( tag_itemid NOT IN " . + " ( SELECT DISTINCT {$item_handler->keyName} " . + " FROM {$item_handler->table} " . + " WHERE {$item_handler->table}.approved > 0" . + " ) " . + " )"; + else: + $sql = " DELETE {$link_handler->table} FROM {$link_handler->table}" . + " LEFT JOIN {$item_handler->table} AS aa ON {$link_handler->table}.tag_itemid = aa.{$item_handler->keyName} " . + " WHERE " . + " tag_modid = {$mid}" . + " AND " . + " ( aa.{$item_handler->keyName} IS NULL" . + " OR aa.approved < 1" . + " )"; + endif; + if (!$result = $link_handler->db->queryF($sql)) { + //xoops_error($link_handler->db->error()); + } +} +?> \ No newline at end of file Added: XoopsModules/vod/releases/1.21/htdocs/modules/vod/admin/header.php =================================================================== --- XoopsModules/vod/releases/1.21/htdocs/modules/vod/admin/header.php (rev 0) +++ XoopsModules/vod/releases/1.21/htdocs/modules/vod/admin/header.php 2012-03-15 12:43:08 UTC (rev 9134) @@ -0,0 +1,61 @@ +<?php + require_once (dirname(dirname(dirname(dirname(__FILE__)))).'/include/cp_header.php'); + + if (!defined('_CHARSET')) + define ("_CHARSET","UTF-8"); + if (!defined('_CHARSET_ISO')) + define ("_CHARSET_ISO","ISO-8859-1"); + + $GLOBALS['myts'] = MyTextSanitizer::getInstance(); + + $module_handler = xoops_gethandler('module'); + $config_handler = xoops_gethandler('config'); + $GLOBALS['vodModule'] = $module_handler->getByDirname('vod'); + $GLOBALS['vodModuleConfig'] = $config_handler->getConfigList($GLOBALS['vodModule']->getVar('mid')); + + xoops_load('pagenav'); + xoops_load('xoopslists'); + xoops_load('xoopsformloader'); + + include_once $GLOBALS['xoops']->path('class'.DS.'xoopsmailer.php'); + include_once $GLOBALS['xoops']->path('class'.DS.'xoopstree.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{ + echo vod_error("Error: You don't use the Frameworks \"admin module\". Please install this Frameworks"); + //return false; + } + $GLOBALS['vodImageIcon'] = XOOPS_URL .'/'. $GLOBALS['vodModule']->getInfo('icons16'); + $GLOBALS['vodImageAdmin'] = XOOPS_URL .'/'. $GLOBALS['vodModule']->getInfo('icons32'); + + if ($GLOBALS['xoopsUser']) { + $moduleperm_handler =& xoops_gethandler('groupperm'); + if (!$moduleperm_handler->checkRight('module_admin', $GLOBALS['vodModule']->getVar( 'mid' ), $GLOBALS['xoopsUser']->getGroups())) { + redirect_header(XOOPS_URL, 1, _NOPERM); + exit(); + } + } else { + redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM); + exit(); + } + + if (!isset($GLOBALS['xoopsTpl']) || !is_object($GLOBALS['xoopsTpl'])) { + include_once(XOOPS_ROOT_PATH."/class/template.php"); + $GLOBALS['xoopsTpl'] = new XoopsTpl(); + } + + $GLOBALS['xoopsTpl']->assign('pathImageIcon', $GLOBALS['vodImageIcon']); + $GLOBALS['xoopsTpl']->assign('pathImageAdmin', $GLOBALS['vodImageAdmin']); + + + require_once('../include/functions.php'); + require_once('../include/formobjects.vod.php'); + require_once('../include/forms.vod.php'); + + include_once(dirname(dirname(__FILE__)).'/language/'.$GLOBALS['xoopsConfig']['language'].'/modinfo.php'); + include_once(dirname(dirname(__FILE__)).'/language/'.$GLOBALS['xoopsConfig']['language'].'/forms.php'); + + +?> \ No newline at end of file Added: XoopsModules/vod/releases/1.21/htdocs/modules/vod/admin/index.html =================================================================== --- XoopsModules/vod/releases/1.21/htdocs/modules/vod/admin/index.html (rev 0) +++ XoopsModules/vod/releases/1.21/htdocs/modules/vod/admin/index.html 2012-03-15 12:43:08 UTC (rev 9134) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/vod/releases/1.21/htdocs/modules/vod/admin/index.php =================================================================== --- XoopsModules/vod/releases/1.21/htdocs/modules/vod/admin/index.php (rev 0) +++ XoopsModules/vod/releases/1.21/htdocs/modules/vod/admin/index.php 2012-03-15 12:43:08 UTC (rev 9134) @@ -0,0 +1,1060 @@ +<?php + + include('header.php'); + + xoops_loadLanguage('admin', 'vod'); + + xoops_cp_header(); + + $op = isset($_REQUEST['op'])?$_REQUEST['op']:"dashboard"; + $fct = isset($_REQUEST['fct'])?$_REQUEST['fct']:""; + $limit = !empty($_REQUEST['limit'])?intval($_REQUEST['limit']):30; + $start = !empty($_REQUEST['start'])?intval($_REQUEST['start']):0; + $order = !empty($_REQUEST['order'])?$_REQUEST['order']:'DESC'; + $sort = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'created'; + $filter = !empty($_REQUEST['filter'])?''.$_REQUEST['filter'].'':'1,1'; + + switch($op) { + case "dashboard": + default: + vod_adminMenu(0, 'index.php?op=dashboard'); + + $videos_handler = xoops_getmodulehandler('videos', 'vod'); + $mimetypes_handler = xoops_getmodulehandler('mimetypes', 'vod'); + $indexAdmin = new ModuleAdmin(); + $indexAdmin->addInfoBox(_AM_VOD_ADMIN_COUNTS); + $indexAdmin->addInfoBoxLine(_AM_VOD_ADMIN_COUNTS, "<label>"._AM_VOD_ADMIN_THEREARE_FLATFILES."</label>", $videos_handler->getCount(new Criteria('stream', '0', '=')), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_VOD_ADMIN_COUNTS, "<label>"._AM_VOD_ADMIN_THEREARE_RTMPSTREAMS."</label>", $videos_handler->getCount(new Criteria('LENGTH(`rtmp`)', '0', '>')), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_VOD_ADMIN_COUNTS, "<label>"._AM_VOD_ADMIN_THEREARE_RTSPSTREAMS."</label>", $videos_handler->getCount(new Criteria('LENGTH(`rtsp`)', '0', '>')), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_VOD_ADMIN_COUNTS, "<label>"._AM_VOD_ADMIN_THEREARE_FLASHSTREAMS."</label>", $videos_handler->getCount(new Criteria('LENGTH(`flash`)', '0', '>')), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_VOD_ADMIN_COUNTS, "<label>"._AM_VOD_ADMIN_THEREARE_SILVERLIGHTSTREAMS."</label>", $videos_handler->getCount(new Criteria('LENGTH(`silverlight`)', '0', '>')), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_VOD_ADMIN_COUNTS, "<label>"._AM_VOD_ADMIN_THEREARE_IOSSTREAMS."</label>", $videos_handler->getCount(new Criteria('LENGTH(`ios`)', '0', '>')), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_VOD_ADMIN_COUNTS, "<label>"._AM_VOD_ADMIN_THEREARE_HTTPSTREAMS."</label>", $videos_handler->getCount(new Criteria('LENGTH(`http`)', '0', '>')), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_VOD_ADMIN_COUNTS, "<label>"._AM_VOD_ADMIN_THEREARE_MIMETYPES."</label>", $mimetypes_handler->getCount(), 'Purple'); + $videos = $videos_handler->getObjects(new Criteria('`default`', '1'), false); + if (isset($videos[0])) { + $videos = $videos[0]; + $_SESSION['vod'][$videos->getVar('vid')]['main'] = true; + $indexAdmin->addInfoBox(_AM_VOD_ADMIN_DEFAULT); + $indexAdmin->addInfoBoxLine(_AM_VOD_ADMIN_DEFAULT, "<iframe src='".XOOPS_URL.'/modules/vod/?&state=admin&preview=0&vid='.$videos->getVar('vid')."&iframe=1&width=320px&height=200px' style='width:320px;height:200px;'></iframe>", '', 'Green'); + } + echo $indexAdmin->renderIndex(); + break; + case "about": + echo vod_adminMenu(9, 'index.php?op=about'); + $paypalitemno='VOD106'; + $aboutAdmin = new ModuleAdmin(); + $about = $aboutAdmin->renderabout($paypalitemno, false); + $donationform = array( 0 => '<form name="donation" id="donation" action="http://www.chronolabs.coop/modules/xpayment/" method="post" onsubmit="return xoopsFormValidate_donation();">', + 1 => '<table class="outer" cellspacing="1" width="100%"><tbody><tr><th colspan="2">'.constant('_AM_TWITTERBOMB_ABOUT_MAKEDONATE').'</th></tr><tr align="left" valign="top"><td class="head"><div class="xoops-form-element-caption-required"><span class="caption-text">Donation Amount</span><span class="caption-marker">*</span></div></td><td class="even"><select size="1" name="item[A][amount]" id="item[A][amount]" title="Donation Amount"><option value="5">5.00 AUD</option><option value="10">10.00 AUD</option><option value="20">20.00 AUD</option><option value="40">40.00 AUD</option><option value="60">60.00 AUD</option><option value="80">80.00 AUD</option><option value="90">90.00 AUD</option><option value="100">100.00 AUD</option><option value="200">200.00 AUD</option></select></td></tr><tr align="left" valign="top"><td class="head"></td><td class="even"><input class="formButton" name="submit" id="submit" value="'._SUBMIT.'" title="'._SUBMIT.'" type="submit"></td></tr></tbody></table>', + 2 => '<input name="op" id="op" value="createinvoice" type="hidden"><input name="plugin" id="plugin" value="donations" type="hidden"><input name="donation" id="donation" value="1" type="hidden"><input name="drawfor" id="drawfor" value="Chronolabs Co-Operative" type="hidden"><input name="drawto" id="drawto" value="%s" type="hidden"><input name="drawto_email" id="drawto_email" value="%s" type="hidden"><input name="key" id="key" value="%s" type="hidden"><input name="currency" id="currency" value="AUD" type="hidden"><input name="weight_unit" id="weight_unit" value="kgs" type="hidden"><input name="item[A][cat]" id="item[A][cat]" value="XDN%s" type="hidden"><input name="item[A][name]" id="item[A][name]" value="Donation for %s" type="hidden"><input name="item[A][quantity]" id="item[A][quantity]" value="1" type="hidden"><input name="item[A][shipping]" id="item[A][shipping]" value="0" type="hidden"><input name="item[A][handling]" id="item[A][handling]" value="0" type="hidden"><input name="item[A][weight]" id="item[A][weight]" value="0" type="hidden"><input name="item[A][tax]" id="item[A][tax]" value="0" type="hidden"><input name="return" id="return" value="http://www.chronolabs.coop/modules/donations/success.php" type="hidden"><input name="cancel" id="cancel" value="http://www.chronolabs.coop/modules/donations/success.php" type="hidden"></form>', 'D'=>'', + 3 => '', + 4 => '<!-- Start Form Validation JavaScript //--> +<script type="text/javascript"> +<!--// +function xoopsFormValidate_donation() { var myform = window.document.donation; +var hasSelected = false; var selectBox = myform.item[A][amount];for (i = 0; i < selectBox.options.length; i++ ) { if (selectBox.options[i].selected == true && selectBox.options[i].value != \'\') { hasSelected = true; break; } }if (!hasSelected) { window.alert("Please enter Donation Amount"); selectBox.focus(); return false; }return true; +} +//--></script> +<!-- End Form Validation JavaScript //-->'); + $paypalform = array( 0 => '<form action="https://www.paypal.com/cgi-bin/webscr" method="post">', + 1 => '<input name="cmd" value="_s-xclick" type="hidden">', + 2 => '<input name="hosted_button_id" value="%s" type="hidden">', + 3 => '<img alt="" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" height="1" border="0" width="1">', + 4 => '<input src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" border="0" type="poster">', + 5 => '</form>'); + for($key=0;$key<=4;$key++) { + switch ($key) { + case 2: + $donationform[$key] = sprintf($donationform[$key], $GLOBALS['xoopsConfig']['sitename'] . ' - ' . (strlen($GLOBALS['xoopsUser']->getVar('name'))>0?$GLOBALS['xoopsUser']->getVar('name'). ' ['.$GLOBALS['xoopsUser']->getVar('uname').']':$GLOBALS['xoopsUser']->getVar('uname')), $GLOBALS['xoopsUser']->getVar('email'), XOOPS_LICENSE_KEY, strtoupper($GLOBALS['vodModule']->getVar('dirname')), strtoupper($GLOBALS['vodModule']->getVar('dirname')). ' '.$GLOBALS['vodModule']->getVar('name')); + break; + } + } + + $istart = strpos($about, ($paypalform[0]), 1); + $iend = strpos($about, ($paypalform[5]), $istart+1)+strlen($paypalform[5])-1; + echo (substr($about, 0, $istart-1)); + echo implode("\n", $donationform); + echo (substr($about, $iend+1, strlen($about)-$iend-1)); + break; + case "agents": + vod_adminMenu(6, 'index.php?op=agents'); + + include_once $GLOBALS['xoops']->path( "/class/pagenav.php" ); + xoops_load('XoopsCache'); + $ret = XoopsCache::read('vod_user_agents'); + asort($ret, SORT_DESC); + $ttl = count($ret); + $pagenav = new XoopsPageNav($ttl, $limit, $start, 'start', 'limit='.$limit.'&sort='.$sort.'&order='.$order.'&op='.$op.'&fct='.$fct.'&filter='.$filter.'&fct='.$fct.'&filter='.$filter); + $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav()); + foreach (array( 'time','videos','agents','user') as $id => $key) { + $GLOBALS['xoopsTpl']->assign(strtolower(str_replace('-','_',$key).'_th'), '<a href="#">'.(defined('_AM_VOD_TH_'.strtoupper(str_replace('-','_',$key)))?constant('_AM_VOD_TH_'.strtoupper(str_replace('-','_',$key))):'_AM_VOD_TH_'.strtoupper(str_replace('-','_',$key))).'</a>'); + } + $GLOBALS['xoopsTpl']->assign('limit', $limit); + $GLOBALS['xoopsTpl']->assign('start', $start); + $GLOBALS['xoopsTpl']->assign('order', $order); + $GLOBALS['xoopsTpl']->assign('sort', $sort); + $GLOBALS['xoopsTpl']->assign('filter', $filter); + $GLOBALS['xoopsTpl']->assign('xoConfig', $GLOBALS['vodModuleConfig']); + $s=0; + $i=0; + foreach($ret as $time => $agent) { + if (is_array($agent)&&$s>=$start&&$i<=$limit) { + $GLOBALS['xoopsTpl']->append('useragents', array('time'=>date(_DATESTRING, $time), 'videos'=>$agent['videos'], 'user'=>$agent['user'], 'useragent'=>$agent['useragent'])); + $i++; + } + $s++; + } + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:vod_cpanel_useragents_list.html'); + break; + + case "currency": + switch ($fct) + { + default: + case "list": + vod_adminMenu(5, 'index.php?op=currency&fct=list'); + + include_once $GLOBALS['xoops']->path( "/class/pagenav.php" ); + + $currency_handler =& xoops_getmodulehandler('currency', 'vod'); + + $criteria = $currency_handler->getFilterCriteria($GLOBALS['filter']); + $ttl = $currency_handler->getCount($criteria); + $GLOBALS['sort'] = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'created'; + + $pagenav = new XoopsPageNav($ttl, $GLOBALS['limit'], $GLOBALS['start'], 'start', 'limit='.$GLOBALS['limit'].'&sort='.$GLOBALS['sort'].'&order='.$GLOBALS['order'].'&op='.$GLOBALS['op'].'&fct='.$GLOBALS['fct'].'&filter='.$GLOBALS['filter']); + $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav()); + + foreach ($currency_handler->filterFields() as $id => $key) { + $GLOBALS['xoopsTpl']->assign(strtolower(str_replace('-','_',$key).'_th'), '<a href="'.$_SERVER['PHP_SELF'].'?start='.$GLOBALS['start'].'&limit='.$GLOBALS['limit'].'&sort='.$key.'&order='.(($key==$GLOBALS['sort'])?($GLOBALS['order']=='DESC'?'ASC':'DESC'):$GLOBALS['order']).'&op='.$GLOBALS['op'].'&filter='.$GLOBALS['filter'].'">'.(defined('_AM_VOD_TH_'.strtoupper(str_replace('-','_',$key)))?constant('_AM_VOD_TH_'.strtoupper(str_replace('-','_',$key))):'_AM_VOD_TH_'.strtoupper(str_replace('-','_',$key))).'</a>'); + $GLOBALS['xoopsTpl']->assign('filter_'.strtolower(str_replace('-','_',$key)).'_th', $currency_handler->getFilterForm($GLOBALS['filter'], $key, $GLOBALS['sort'], $GLOBALS['op'], $GLOBALS['fct'])); + } + + $GLOBALS['xoopsTpl']->assign('limit', $GLOBALS['limit']); + $GLOBALS['xoopsTpl']->assign('start', $GLOBALS['start']); + $GLOBALS['xoopsTpl']->assign('order', $GLOBALS['order']); + $GLOBALS['xoopsTpl']->assign('sort', $GLOBALS['sort']); + $GLOBALS['xoopsTpl']->assign('filter', $GLOBALS['filter']); + $GLOBALS['xoopsTpl']->assign('xoConfig', $GLOBALS['vodModuleConfig']); + + $criteria->setStart($GLOBALS['start']); + $criteria->setLimit($GLOBALS['limit']); + $criteria->setSort('`'.$GLOBALS['sort'].'`'); + $criteria->setOrder($GLOBALS['order']); + + $currencys = $currency_handler->getObjects($criteria, true); + foreach($currencys as $cid => $currency) { + if (is_object($currency)) + $GLOBALS['xoopsTpl']->append('currency', $currency->toArray()); + } + $GLOBALS['xoopsTpl']->assign('form', vod_currency_get_form(false)); + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:vod_cpanel_currency_list.html'); + break; + + case "new": + case "edit": + + vod_adminMenu(5, 'index.php?op=currency&fct=list'); + + include_once $GLOBALS['xoops']->path( "/class/pagenav.php" ); + + $currency_handler =& xoops_getmodulehandler('currency', 'vod'); + if (isset($_REQUEST['id'])) { + $currency = $currency_handler->get(intval($_REQUEST['id'])); + } else { + $currency = $currency_handler->create(); + } + + $GLOBALS['xoopsTpl']->assign('form', $currency->getForm()); + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:vod_cpanel_currency_edit.html'); + break; + case "save": + + $currency_handler =& xoops_getmodulehandler('currency', 'vod'); + $id=0; + if ($id=intval($_REQUEST['id'])) { + $currency = $currency_handler->get($id); + } else { + $currency = $currency_handler->create(); + } + $currency->setVars($_POST[$id]); + if (!$id=$currency_handler->insert($currency)) { + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_CURRENCY_FAILEDTOSAVE); + exit(0); + } else { + if ($_REQUEST['state'][$_REQUEST['id']]=='new') + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=edit&id='.$_REQUEST['id'] . '&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_CURRENCY_SAVEDOKEY); + else + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_CURRENCY_SAVEDOKEY); + exit(0); + } + break; + case "savelist": + + $currency_handler =& xoops_getmodulehandler('currency', 'vod'); + foreach($_REQUEST['id'] as $id) { + $currency = $currency_handler->get($id); + $currency->setVars($_POST[$id]); + if (!$currency_handler->insert($currency)) { + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_CURRENCY_FAILEDTOSAVE); + exit(0); + } + } + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_CURRENCY_SAVEDOKEY); + exit(0); + break; + case "delete": + + $currency_handler =& xoops_getmodulehandler('currency', 'vod'); + $id=0; + if (isset($_POST['id'])&&$id=intval($_POST['id'])) { + $currency = $currency_handler->get($id); + if (!$currency_handler->delete($currency)) { + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_CURRENCY_FAILEDTODELETE); + exit(0); + } else { + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_CURRENCY_DELETED); + exit(0); + } + } else { + $currency = $currency_handler->get(intval($_REQUEST['id'])); + xoops_confirm(array('id'=>$_REQUEST['id'], 'op'=>$_REQUEST['op'], 'fct'=>$_REQUEST['fct'], 'limit'=>$_REQUEST['limit'], 'start'=>$_REQUEST['start'], 'order'=>$_REQUEST['order'], 'sort'=>$_REQUEST['sort'], 'filter'=>$_REQUEST['filter']), $_SERVER['PHP_SELF'], sprintf(_AM_VOD_MSG_CURRENCY_DELETE, $currency->getVar('name'))); + } + break; + } + break; + case "category": + switch ($fct) + { + default: + case "list": + vod_adminMenu(2, 'index.php?op=category&fct=list'); + + include_once $GLOBALS['xoops']->path( "/class/pagenav.php" ); + + $category_handler =& xoops_getmodulehandler('category', 'vod'); + + $criteria = $category_handler->getFilterCriteria($GLOBALS['filter']); + $ttl = $category_handler->getCount($criteria); + $GLOBALS['sort'] = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'created'; + + $pagenav = new XoopsPageNav($ttl, $GLOBALS['limit'], $GLOBALS['start'], 'start', 'limit='.$GLOBALS['limit'].'&sort='.$GLOBALS['sort'].'&order='.$GLOBALS['order'].'&op='.$GLOBALS['op'].'&fct='.$GLOBALS['fct'].'&filter='.$GLOBALS['filter']); + $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav()); + + foreach ($category_handler->filterFields() as $id => $key) { + $GLOBALS['xoopsTpl']->assign(strtolower(str_replace('-','_',$key).'_th'), '<a href="'.$_SERVER['PHP_SELF'].'?start='.$GLOBALS['start'].'&limit='.$GLOBALS['limit'].'&sort='.$key.'&order='.(($key==$GLOBALS['sort'])?($GLOBALS['order']=='DESC'?'ASC':'DESC'):$GLOBALS['order']).'&op='.$GLOBALS['op'].'&filter='.$GLOBALS['filter'].'">'.(defined('_AM_VOD_TH_'.strtoupper(str_replace('-','_',$key)))?constant('_AM_VOD_TH_'.strtoupper(str_replace('-','_',$key))):'_AM_VOD_TH_'.strtoupper(str_replace('-','_',$key))).'</a>'); + $GLOBALS['xoopsTpl']->assign('filter_'.strtolower(str_replace('-','_',$key)).'_th', $category_handler->getFilterForm($GLOBALS['filter'], $key, $GLOBALS['sort'], $GLOBALS['op'], $GLOBALS['fct'])); + } + + $GLOBALS['xoopsTpl']->assign('limit', $GLOBALS['limit']); + $GLOBALS['xoopsTpl']->assign('start', $GLOBALS['start']); + $GLOBALS['xoopsTpl']->assign('order', $GLOBALS['order']); + $GLOBALS['xoopsTpl']->assign('sort', $GLOBALS['sort']); + $GLOBALS['xoopsTpl']->assign('filter', $GLOBALS['filter']); + $GLOBALS['xoopsTpl']->assign('xoConfig', $GLOBALS['vodModuleConfig']); + + $criteria->setStart($GLOBALS['start']); + $criteria->setLimit($GLOBALS['limit']); + $criteria->setSort('`'.$GLOBALS['sort'].'`'); + $criteria->setOrder($GLOBALS['order']); + + $categorys = $category_handler->getObjects($criteria, true); + foreach($categorys as $cid => $category) { + if (is_object($category)) + $GLOBALS['xoopsTpl']->append('categories', $category->toArray()); + } + $GLOBALS['xoopsTpl']->assign('form', vod_category_get_form(false)); + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:vod_cpanel_category_list.html'); + break; + + case "new": + case "edit": + + vod_adminMenu(2, 'index.php?op=category&fct=list'); + + include_once $GLOBALS['xoops']->path( "/class/pagenav.php" ); + + $category_handler =& xoops_getmodulehandler('category', 'vod'); + if (isset($_REQUEST['id'])) { + $category = $category_handler->get(intval($_REQUEST['id'])); + } else { + $category = $category_handler->create(); + } + + $GLOBALS['xoopsTpl']->assign('form', $category->getForm()); + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:vod_cpanel_category_edit.html'); + break; + case "save": + + $category_handler =& xoops_getmodulehandler('category', 'vod'); + $id=0; + if ($id=intval($_REQUEST['id'])) { + $category = $category_handler->get($id); + } else { + $category = $category_handler->create(); + } + $category->setVars($_POST[$id]); + + if (!$id=$category_handler->insert($category)) { + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_CATEGORY_FAILEDTOSAVE); + exit(0); + } else { + + if (isset($_FILES['avata'])&&!empty($_FILES['avata']['name'])) { + + if (!is_dir($GLOBALS['xoops']->path($GLOBALS['vodModuleConfig']['upload_areas']))) { + foreach(explode('\\', $GLOBALS['xoops']->path($GLOBALS['vodModuleConfig']['upload_areas'])) as $folders) + foreach(explode('/', $folders) as $folder) { + $path .= DS . $folder; + mkdir($path, 0777); + } + } + + include_once($GLOBALS['xoops']->path('modules/vod/include/uploader.php')); + $category = $category_handler->get($id); + $uploader = new VodMediaUploader($GLOBALS['xoops']->path($GLOBALS['vodModuleConfig']['upload_areas']), explode('|', $GLOBALS['vodModuleConfig']['allowed_mimetype']), $GLOBALS['vodModuleConfig']['filesize_upload'], 0, 0, explode('|', $GLOBALS['vodModuleConfig']['allowed_extensions'])); + $uploader->setPrefix(substr(md5(microtime(true)), mt_rand(0,20), 13)); + + if ($uploader->fetchMedia('avata')) { + if (!$uploader->upload()) { + + vod_adminMenu(1); + echo $uploader->getErrors(); + vod_footer_adminMenu(); + xoops_cp_footer(); + exit(0); + } else { + + if (strlen($category->getVar('avata'))) + unlink($GLOBALS['xoops']->path($category->getVar('path')).$category->getVar('avata')); + + $category->setVar('path', $GLOBALS['vodModuleConfig']['upload_areas']); + $category->setVar('avata', $uploader->getSavedFileName()); + @$category_handler->insert($category); + + } + } else { + + vod_adminMenu(1); + echo $uploader->getErrors(); + vod_footer_adminMenu(); + xoops_cp_footer(); + exit(0); + } + } + + if ($_REQUEST['state'][$_REQUEST['id']]=='new') + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=edit&id='.$_REQUEST['id'] . '&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_CATEGORY_SAVEDOKEY); + else + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_CATEGORY_SAVEDOKEY); + exit(0); + } + break; + case "savelist": + + $category_handler =& xoops_getmodulehandler('category', 'vod'); + foreach($_REQUEST['id'] as $id) { + $category = $category_handler->get($id); + $category->setVars($_POST[$id]); + if (!$category_handler->insert($category)) { + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_CATEGORY_FAILEDTOSAVE); + exit(0); + } + } + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_CATEGORY_SAVEDOKEY); + exit(0); + break; + case "delete": + + $category_handler =& xoops_getmodulehandler('category', 'vod'); + $id=0; + if (isset($_POST['id'])&&$id=intval($_POST['id'])) { + $category = $category_handler->get($id); + if (!$category_handler->delete($category)) { + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_CATEGORY_FAILEDTODELETE); + exit(0); + } else { + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_CATEGORY_DELETED); + exit(0); + } + } else { + $category = $category_handler->get(intval($_REQUEST['id'])); + xoops_confirm(array('id'=>$_REQUEST['id'], 'op'=>$_REQUEST['op'], 'fct'=>$_REQUEST['fct'], 'limit'=>$_REQUEST['limit'], 'start'=>$_REQUEST['start'], 'order'=>$_REQUEST['order'], 'sort'=>$_REQUEST['sort'], 'filter'=>$_REQUEST['filter']), $_SERVER['PHP_SELF'], sprintf(_AM_VOD_MSG_CATEGORY_DELETE, $category->getVar('name'))); + } + break; + } + break; + + case "sessions": + switch ($fct) + { + default: + case "list": + vod_adminMenu(3, 'index.php?op=sessions&fct=list'); + + include_once $GLOBALS['xoops']->path( "/class/pagenav.php" ); + + $sessions_handler =& xoops_getmodulehandler('sessions', 'vod'); + + $criteria = $sessions_handler->getFilterCriteria($GLOBALS['filter']); + $ttl = $sessions_handler->getCount($criteria); + $GLOBALS['sort'] = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'created'; + + $pagenav = new XoopsPageNav($ttl, $GLOBALS['limit'], $GLOBALS['start'], 'start', 'limit='.$GLOBALS['limit'].'&sort='.$GLOBALS['sort'].'&order='.$GLOBALS['order'].'&op='.$GLOBALS['op'].'&fct='.$GLOBALS['fct'].'&filter='.$GLOBALS['filter']); + $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav()); + + foreach ($sessions_handler->filterFields() as $id => $key) { + $GLOBALS['xoopsTpl']->assign(strtolower(str_replace('-','_',$key).'_th'), '<a href="'.$_SERVER['PHP_SELF'].'?start='.$GLOBALS['start'].'&limit='.$GLOBALS['limit'].'&sort='.$key.'&order='.(($key==$GLOBALS['sort'])?($GLOBALS['order']=='DESC'?'ASC':'DESC'):$GLOBALS['order']).'&op='.$GLOBALS['op'].'&filter='.$GLOBALS['filter'].'">'.(defined('_AM_VOD_TH_'.strtoupper(str_replace('-','_',$key)))?constant('_AM_VOD_TH_'.strtoupper(str_replace('-','_',$key))):'_AM_VOD_TH_'.strtoupper(str_replace('-','_',$key))).'</a>'); + $GLOBALS['xoopsTpl']->assign('filter_'.strtolower(str_replace('-','_',$key)).'_th', $sessions_handler->getFilterForm($GLOBALS['filter'], $key, $GLOBALS['sort'], $GLOBALS['op'], $GLOBALS['fct'])); + } + + $GLOBALS['xoopsTpl']->assign('limit', $GLOBALS['limit']); + $GLOBALS['xoopsTpl']->assign('start', $GLOBALS['start']); + $GLOBALS['xoopsTpl']->assign('order', $GLOBALS['order']); + $GLOBALS['xoopsTpl']->assign('sort', $GLOBALS['sort']); + $GLOBALS['xoopsTpl']->assign('filter', $GLOBALS['filter']); + $GLOBALS['xoopsTpl']->assign('xoConfig', $GLOBALS['vodModuleConfig']); + + $criteria->setStart($GLOBALS['start']); + $criteria->setLimit($GLOBALS['limit']); + $criteria->setSort('`'.$GLOBALS['sort'].'`'); + $criteria->setOrder($GLOBALS['order']); + + $sessions = $sessions_handler->getObjects($criteria, true); + foreach($sessions as $cid => $session) { + if (is_object($session)) + $GLOBALS['xoopsTpl']->append('sessions', $session->toArray()); + } + $GLOBALS['xoopsTpl']->assign('form', vod_sessions_get_form(false)); + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:vod_cpanel_sessions_list.html'); + break; + + case "new": + case "edit": + + vod_adminMenu(3, 'index.php?op=sessions&fct=list'); + + include_once $GLOBALS['xoops']->path( "/class/pagenav.php" ); + + $sessions_handler =& xoops_getmodulehandler('sessions', 'vod'); + if (isset($_REQUEST['id'])) { + $sessions = $sessions_handler->get(intval($_REQUEST['id'])); + } else { + $sessions = $sessions_handler->create(); + } + + $GLOBALS['xoopsTpl']->assign('form', $sessions->getForm()); + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:vod_cpanel_sessions_edit.html'); + break; + case "save": + + $sessions_handler =& xoops_getmodulehandler('sessions', 'vod'); + $id=0; + if ($id=intval($_REQUEST['id'])) { + $sessions = $sessions_handler->get($id); + } else { + $sessions = $sessions_handler->create(); + } + $sessions->setVars($_POST[$id]); + if (!$id=$sessions_handler->insert($sessions)) { + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_SESSIONS_FAILEDTOSAVE); + exit(0); + } else { + if ($_REQUEST['state'][$_REQUEST['id']]=='new') + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=edit&id='.$_REQUEST['id'] . '&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_SESSIONS_SAVEDOKEY); + else + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_SESSIONS_SAVEDOKEY); + exit(0); + } + break; + case "savelist": + + $sessions_handler =& xoops_getmodulehandler('sessions', 'vod'); + foreach($_REQUEST['id'] as $id) { + $sessions = $sessions_handler->get($id); + $sessions->setVars($_POST[$id]); + if (!$sessions_handler->insert($sessions)) { + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_SESSIONS_FAILEDTOSAVE); + exit(0); + } + } + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_SESSIONS_SAVEDOKEY); + exit(0); + break; + case "delete": + + $sessions_handler =& xoops_getmodulehandler('sessions', 'vod'); + $id=0; + if (isset($_POST['id'])&&$id=intval($_POST['id'])) { + $sessions = $sessions_handler->get($id); + if (!$sessions_handler->delete($sessions)) { + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_SESSIONS_FAILEDTODELETE); + exit(0); + } else { + redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_VOD_MSG_SESSIONS_DELETED); + exit(0); + } + } else { + $sessions = $sessions_handler->get(intval($_REQUEST['id'])); + xoops_confirm(array('id'=>$_REQUEST['id'], 'op'=>$_REQUEST['op'], 'fct'=>$_REQUEST['fct'], 'limit'=>$_REQUEST['limit'], 'start'=>$_REQUEST['start'], 'order'=>$_REQUEST['order'], 'sort'=>$_REQUEST['sort'], 'filter'=>$_REQUEST['filter']), $_SERVER['PHP_SELF'], sprintf(_AM_VOD_MSG_SESSIONS_DELETE, $sessions->getVar('name'))); + } + break; + case 'cart': + vod_adminMenu(3, 'index.php?op=sessions&fct=list'); + + include_once $GLOBALS['xoops']->path( "/class/pagenav.php" ); + + $cart_handler =& xoops_getmodulehandler('cart', 'vod'); + + $criteria = $cart_handler->getFilterCriteria($GLOBALS['filter']); + $criteria->add(new Criteria('sessid', $_REQUEST['id'])); + $ttl = $cart_handler->getCount($criteria); + $GLOBALS['sort'] = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'created'; + + $pagenav = new XoopsPageNav($ttl, $GLOBALS['limit'], $GLOBALS['start'], 'start', 'id='.$_REQUEST['id'].'&limit='.$GLOBALS['limit'].'&sort='.$GLOBALS['sort'].'&order='.$GLOBALS['order'].'&op='.$GLOBALS['op'].'&fct='.$GLOBALS['fct'].'&filter='.$GLOBALS['filter']); + $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav()); + + foreach ($cart_handler->filterFields() as $id => $key) { + $GLOBALS['xoopsTpl']->assign(strtolower(str_replace('-','_',$key).'_th'), '<a href="'.$_SERVER['PHP_SELF'].'?id='.$_REQUEST['id'].'&start='.$GLOBALS['start'].'&limit='.$GLOBALS['limit'].'&sort='.$key.'&order='.(($key==$GLOBALS['sort'])?($GLOBALS['order']=='DESC'?'ASC':'DESC'):$GLOBALS['order']).'&op='.$GLOBALS['op'].'&filter='.$GLOBALS['filter'].'">'.(defined('_AM_VOD_TH_'.strtoupper(str_replace('-'... [truncated message content] |
From: <wis...@us...> - 2012-03-15 12:42:06
|
Revision: 9133 http://xoops.svn.sourceforge.net/xoops/?rev=9133&view=rev Author: wishcraft Date: 2012-03-15 12:41:50 +0000 (Thu, 15 Mar 2012) Log Message: ----------- Flowplayer 1.15 - see changelog.txt for details on changes Added Paths: ----------- XoopsModules/flowplayer/releases/1.15/ XoopsModules/flowplayer/releases/1.15/docs/ XoopsModules/flowplayer/releases/1.15/docs/licence.txt XoopsModules/flowplayer/releases/1.15/htdocs/ XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/ XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/moduleclasses/ XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/moduleclasses/icons/ XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/moduleclasses/icons/16/ XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/moduleclasses/icons/16/flowplayer.mimetypes.png XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/moduleclasses/icons/16/flowplayer.useragents.png XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/moduleclasses/icons/16/flowplayer.video.png XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/moduleclasses/icons/32/ XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/moduleclasses/icons/32/flowplayer.mimetypes.png XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/moduleclasses/icons/32/flowplayer.useragents.png XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/moduleclasses/icons/32/flowplayer.video.png XoopsModules/flowplayer/releases/1.15/htdocs/modules/ XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/ XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/admin/ XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/admin/header.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/admin/index.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/admin/index.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/admin/menu.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/blocks/ XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/blocks/flowplayer_block_player.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/blocks/index.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/class/ XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/class/index.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/class/mimetypes.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/class/player.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/docs/ XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/docs/changelog.txt XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/docs/credits.txt XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/docs/index.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/docs/install.txt XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/docs/lang_diff.txt XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/docs/licence.txt XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/docs/readme.txt XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/dojson_player.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/error_log XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/header.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/images/ XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/images/flowplayer_slogo.png XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/images/icons/ XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/images/icons/admin/ XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/images/icons/admin/index.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/images/icons/admin/video.png XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/images/icons/index.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/images/index.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/include/ XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/include/JSON.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/include/formobjects.flowplayer.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/include/forms.flowplayer.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/include/formselectmimetype.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/include/formselectplayer.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/include/formselectsupport.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/include/functions.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/include/index.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/include/update.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/include/uploader.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/index.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/js/ XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/js/core.js XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/js/flowplayer-3.2.6.min.js XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/js/index.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/js/json_functions.js XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/js/video.js XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/language/ XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/language/english/ XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/language/english/admin.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/language/english/block.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/language/english/blocks.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/language/english/forms.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/language/english/index.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/language/english/mainfile.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/language/english/modinfo.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/language/english/style.css XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/language/english/video-js.css XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/language/index.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/preloads/ XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/preloads/core.php XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/preloads/index.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/sql/ XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/sql/index.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/sql/mysql.sql XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/swf/ XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/swf/flowplayer-3.2.7.swf XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/swf/flowplayer-3_2_7-0.swf XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/swf/flowplayer.controls-3.2.5.swf XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/swf/flowplayer.rtmp-3.2.3.swf XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/swf/index.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/ XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/blocks/ XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/blocks/flowplayer_block_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/blocks/index.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_cpanel_mimetypes_edit.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_cpanel_mimetypes_list.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_cpanel_player_edit.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_cpanel_player_list.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_cpanel_useragents_list.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_index.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_index_flash_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_index_html5_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_index_http_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_index_iframe.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_index_iframe_flash_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_index_iframe_html5_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_index_iframe_http_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_index_iframe_ios_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_index_iframe_other_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_index_iframe_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_index_iframe_rtmp_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_index_iframe_rtsp_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_index_iframe_silverlight_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_index_ios_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_index_other_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_index_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_index_rstp_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_index_rtmp_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_index_silverlight_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_json_block_flash_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_json_block_html5_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_json_block_http_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_json_block_ios_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_json_block_other_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_json_block_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_json_block_rtmp_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_json_block_rtsp_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_json_block_silverlight_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_json_flash_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_json_html5_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_json_http_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_json_ios_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_json_other_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_json_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_json_rtmp_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_json_rtsp_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/flowplayer_json_silverlight_player.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/templates/index.html XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/xoops_version.php Added: XoopsModules/flowplayer/releases/1.15/docs/licence.txt =================================================================== --- XoopsModules/flowplayer/releases/1.15/docs/licence.txt (rev 0) +++ XoopsModules/flowplayer/releases/1.15/docs/licence.txt 2012-03-15 12:41:50 UTC (rev 9133) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + 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. + + 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., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/moduleclasses/icons/16/flowplayer.mimetypes.png =================================================================== (Binary files differ) Property changes on: XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/moduleclasses/icons/16/flowplayer.mimetypes.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/moduleclasses/icons/16/flowplayer.useragents.png =================================================================== (Binary files differ) Property changes on: XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/moduleclasses/icons/16/flowplayer.useragents.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/moduleclasses/icons/16/flowplayer.video.png =================================================================== (Binary files differ) Property changes on: XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/moduleclasses/icons/16/flowplayer.video.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/moduleclasses/icons/32/flowplayer.mimetypes.png =================================================================== (Binary files differ) Property changes on: XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/moduleclasses/icons/32/flowplayer.mimetypes.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/moduleclasses/icons/32/flowplayer.useragents.png =================================================================== (Binary files differ) Property changes on: XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/moduleclasses/icons/32/flowplayer.useragents.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/moduleclasses/icons/32/flowplayer.video.png =================================================================== (Binary files differ) Property changes on: XoopsModules/flowplayer/releases/1.15/htdocs/Frameworks/moduleclasses/icons/32/flowplayer.video.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/admin/header.php =================================================================== --- XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/admin/header.php (rev 0) +++ XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/admin/header.php 2012-03-15 12:41:50 UTC (rev 9133) @@ -0,0 +1,61 @@ +<?php + require_once (dirname(dirname(dirname(dirname(__FILE__)))).'/include/cp_header.php'); + + if (!defined('_CHARSET')) + define ("_CHARSET","UTF-8"); + if (!defined('_CHARSET_ISO')) + define ("_CHARSET_ISO","ISO-8859-1"); + + $GLOBALS['myts'] = MyTextSanitizer::getInstance(); + + $module_handler = xoops_gethandler('module'); + $config_handler = xoops_gethandler('config'); + $GLOBALS['flowplayerModule'] = $module_handler->getByDirname('flowplayer'); + $GLOBALS['flowplayerModuleConfig'] = $config_handler->getConfigList($GLOBALS['flowplayerModule']->getVar('mid')); + + xoops_load('pagenav'); + xoops_load('xoopslists'); + xoops_load('xoopsformloader'); + + include_once $GLOBALS['xoops']->path('class'.DS.'xoopsmailer.php'); + include_once $GLOBALS['xoops']->path('class'.DS.'xoopstree.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{ + echo flowplayer_error("Error: You don't use the Frameworks \"admin module\". Please install this Frameworks"); + //return false; + } + $GLOBALS['flowplayerImageIcon'] = XOOPS_URL .'/'. $GLOBALS['flowplayerModule']->getInfo('icons16'); + $GLOBALS['flowplayerImageAdmin'] = XOOPS_URL .'/'. $GLOBALS['flowplayerModule']->getInfo('icons32'); + + if ($GLOBALS['xoopsUser']) { + $moduleperm_handler =& xoops_gethandler('groupperm'); + if (!$moduleperm_handler->checkRight('module_admin', $GLOBALS['flowplayerModule']->getVar( 'mid' ), $GLOBALS['xoopsUser']->getGroups())) { + redirect_header(XOOPS_URL, 1, _NOPERM); + exit(); + } + } else { + redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM); + exit(); + } + + if (!isset($GLOBALS['xoopsTpl']) || !is_object($GLOBALS['xoopsTpl'])) { + include_once(XOOPS_ROOT_PATH."/class/template.php"); + $GLOBALS['xoopsTpl'] = new XoopsTpl(); + } + + $GLOBALS['xoopsTpl']->assign('pathImageIcon', $GLOBALS['flowplayerImageIcon']); + $GLOBALS['xoopsTpl']->assign('pathImageAdmin', $GLOBALS['flowplayerImageAdmin']); + + + require_once('../include/functions.php'); + require_once('../include/formobjects.flowplayer.php'); + require_once('../include/forms.flowplayer.php'); + + include_once(dirname(dirname(__FILE__)).'/language/'.$GLOBALS['xoopsConfig']['language'].'/modinfo.php'); + include_once(dirname(dirname(__FILE__)).'/language/'.$GLOBALS['xoopsConfig']['language'].'/forms.php'); + + +?> \ No newline at end of file Added: XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/admin/index.html =================================================================== --- XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/admin/index.html (rev 0) +++ XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/admin/index.html 2012-03-15 12:41:50 UTC (rev 9133) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/admin/index.php =================================================================== --- XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/admin/index.php (rev 0) +++ XoopsModules/flowplayer/releases/1.15/htdocs/modules/flowplayer/admin/index.php 2012-03-15 12:41:50 UTC (rev 9133) @@ -0,0 +1,400 @@ +<?php + + include('header.php'); + + xoops_loadLanguage('admin', 'flowplayer'); + + xoops_cp_header(); + + $op = isset($_REQUEST['op'])?$_REQUEST['op']:"dashboard"; + $fct = isset($_REQUEST['fct'])?$_REQUEST['fct']:""; + $limit = !empty($_REQUEST['limit'])?intval($_REQUEST['limit']):30; + $start = !empty($_REQUEST['start'])?intval($_REQUEST['start']):0; + $order = !empty($_REQUEST['order'])?$_REQUEST['order']:'DESC'; + $sort = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'created'; + $filter = !empty($_REQUEST['filter'])?''.$_REQUEST['filter'].'':'1,1'; + + switch($op) { + case "dashboard": + default: + echo flowplayer_adminMenu(0); + error_reporting(E_ALL); + $player_handler = xoops_getmodulehandler('player', 'flowplayer'); + $mimetypes_handler = xoops_getmodulehandler('mimetypes', 'flowplayer'); + $indexAdmin = new ModuleAdmin(); + $indexAdmin->addInfoBox(_AM_FLOWPLAYER_ADMIN_COUNTS); + $indexAdmin->addInfoBoxLine(_AM_FLOWPLAYER_ADMIN_COUNTS, "<label>"._AM_FLOWPLAYER_ADMIN_THEREARE_FLATFILES."</label>", $player_handler->getCount(new Criteria('stream', '0', '=')), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_FLOWPLAYER_ADMIN_COUNTS, "<label>"._AM_FLOWPLAYER_ADMIN_THEREARE_RTMPSTREAMS."</label>", $player_handler->getCount(new Criteria('LENGTH(`rtmp`)', '0', '>')), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_FLOWPLAYER_ADMIN_COUNTS, "<label>"._AM_FLOWPLAYER_ADMIN_THEREARE_RTSPSTREAMS."</label>", $player_handler->getCount(new Criteria('LENGTH(`rtsp`)', '0', '>')), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_FLOWPLAYER_ADMIN_COUNTS, "<label>"._AM_FLOWPLAYER_ADMIN_THEREARE_FLASHSTREAMS."</label>", $player_handler->getCount(new Criteria('LENGTH(`flash`)', '0', '>')), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_FLOWPLAYER_ADMIN_COUNTS, "<label>"._AM_FLOWPLAYER_ADMIN_THEREARE_SILVERLIGHTSTREAMS."</label>", $player_handler->getCount(new Criteria('LENGTH(`silverlight`)', '0', '>')), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_FLOWPLAYER_ADMIN_COUNTS, "<label>"._AM_FLOWPLAYER_ADMIN_THEREARE_IOSSTREAMS."</label>", $player_handler->getCount(new Criteria('LENGTH(`ios`)', '0', '>')), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_FLOWPLAYER_ADMIN_COUNTS, "<label>"._AM_FLOWPLAYER_ADMIN_THEREARE_HTTPSTREAMS."</label>", $player_handler->getCount(new Criteria('LENGTH(`http`)', '0', '>')), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_FLOWPLAYER_ADMIN_COUNTS, "<label>"._AM_FLOWPLAYER_ADMIN_THEREARE_MIMETYPES."</label>", $mimetypes_handler->getCount(), 'Purple'); + $players = $player_handler->getObjects(new Criteria('`default`', '1'), false); + if (is_object($players[0])) { + $player = $players[0]; + $indexAdmin->addInfoBox(_AM_FLOWPLAYER_ADMIN_DEFAULT); + $indexAdmin->addInfoBoxLine(_AM_FLOWPLAYER_ADMIN_DEFAULT, "<iframe src='".XOOPS_URL.'/modules/flowplayer/?fid='.$player->getVar('fid')."&iframe=1&width=320px&height=200px' style='width:320px;height:200px;'></iframe>", '', 'Green'); + } + echo $indexAdmin->renderIndex(); + break; + case "about": + echo flowplayer_adminMenu(4); + $paypalitemno='FLOWPLAYER106'; + $aboutAdmin = new ModuleAdmin(); + $about = $aboutAdmin->renderabout($paypalitemno, false); + $donationform = array( 0 => '<form name="donation" id="donation" action="http://www.chronolabs.coop/modules/xpayment/" method="post" onsubmit="return xoopsFormValidate_donation();">', + 1 => '<table class="outer" cellspacing="1" width="100%"><tbody><tr><th colspan="2">'.constant('_AM_TWITTERBOMB_ABOUT_MAKEDONATE').'</th></tr><tr align="left" valign="top"><td class="head"><div class="xoops-form-element-caption-required"><span class="caption-text">Donation Amount</span><span class="caption-marker">*</span></div></td><td class="even"><select size="1" name="item[A][amount]" id="item[A][amount]" title="Donation Amount"><option value="5">5.00 AUD</option><option value="10">10.00 AUD</option><option value="20">20.00 AUD</option><option value="40">40.00 AUD</option><option value="60">60.00 AUD</option><option value="80">80.00 AUD</option><option value="90">90.00 AUD</option><option value="100">100.00 AUD</option><option value="200">200.00 AUD</option></select></td></tr><tr align="left" valign="top"><td class="head"></td><td class="even"><input class="formButton" name="submit" id="submit" value="'._SUBMIT.'" title="'._SUBMIT.'" type="submit"></td></tr></tbody></table>', + 2 => '<input name="op" id="op" value="createinvoice" type="hidden"><input name="plugin" id="plugin" value="donations" type="hidden"><input name="donation" id="donation" value="1" type="hidden"><input name="drawfor" id="drawfor" value="Chronolabs Co-Operative" type="hidden"><input name="drawto" id="drawto" value="%s" type="hidden"><input name="drawto_email" id="drawto_email" value="%s" type="hidden"><input name="key" id="key" value="%s" type="hidden"><input name="currency" id="currency" value="AUD" type="hidden"><input name="weight_unit" id="weight_unit" value="kgs" type="hidden"><input name="item[A][cat]" id="item[A][cat]" value="XDN%s" type="hidden"><input name="item[A][name]" id="item[A][name]" value="Donation for %s" type="hidden"><input name="item[A][quantity]" id="item[A][quantity]" value="1" type="hidden"><input name="item[A][shipping]" id="item[A][shipping]" value="0" type="hidden"><input name="item[A][handling]" id="item[A][handling]" value="0" type="hidden"><input name="item[A][weight]" id="item[A][weight]" value="0" type="hidden"><input name="item[A][tax]" id="item[A][tax]" value="0" type="hidden"><input name="return" id="return" value="http://www.chronolabs.coop/modules/donations/success.php" type="hidden"><input name="cancel" id="cancel" value="http://www.chronolabs.coop/modules/donations/success.php" type="hidden"></form>', 'D'=>'', + 3 => '', + 4 => '<!-- Start Form Validation JavaScript //--> +<script type="text/javascript"> +<!--// +function xoopsFormValidate_donation() { var myform = window.document.donation; +var hasSelected = false; var selectBox = myform.item[A][amount];for (i = 0; i < selectBox.options.length; i++ ) { if (selectBox.options[i].selected == true && selectBox.options[i].value != \'\') { hasSelected = true; break; } }if (!hasSelected) { window.alert("Please enter Donation Amount"); selectBox.focus(); return false; }return true; +} +//--></script> +<!-- End Form Validation JavaScript //-->'); + $paypalform = array( 0 => '<form action="https://www.paypal.com/cgi-bin/webscr" method="post">', + 1 => '<input name="cmd" value="_s-xclick" type="hidden">', + 2 => '<input name="hosted_button_id" value="%s" type="hidden">', + 3 => '<img alt="" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" height="1" border="0" width="1">', + 4 => '<input src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" border="0" type="image">', + 5 => '</form>'); + for($key=0;$key<=4;$key++) { + switch ($key) { + case 2: + $donationform[$key] = sprintf($donationform[$key], $GLOBALS['xoopsConfig']['sitename'] . ' - ' . (strlen($GLOBALS['xoopsUser']->getVar('name'))>0?$GLOBALS['xoopsUser']->getVar('name'). ' ['.$GLOBALS['xoopsUser']->getVar('uname').']':$GLOBALS['xoopsUser']->getVar('uname')), $GLOBALS['xoopsUser']->getVar('email'), XOOPS_LICENSE_KEY, strtoupper($GLOBALS['flowplayerModule']->getVar('dirname')), strtoupper($GLOBALS['flowplayerModule']->getVar('dirname')). ' '.$GLOBALS['flowplayerModule']->getVar('name')); + break; + } + } + + $istart = strpos($about, ($paypalform[0]), 1); + $iend = strpos($about, ($paypalform[5]), $istart+1)+strlen($paypalform[5])-1; + echo (substr($about, 0, $istart-1)); + echo implode("\n", $donationform); + echo (substr($about, $iend+1, strlen($about)-$iend-1)); + break; + case "agents": + flowplayer_adminMenu(3); + + include_once $GLOBALS['xoops']->path( "/class/pagenav.php" ); + xoops_load('XoopsCache'); + $ret = XoopsCache::read('flowplayer_user_agents'); + asort($ret, SORT_DESC); + $ttl = count($ret); + $pagenav = new XoopsPageNav($ttl, $limit, $start, 'start', 'limit='.$limit.'&sort='.$sort.'&order='.$order.'&op='.$op.'&fct='.$fct.'&filter='.$filter.'&fct='.$fct.'&filter='.$filter); + $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav()); + foreach (array( 'time','player','agents','user') as $id => $key) { + $GLOBALS['xoopsTpl']->assign(strtolower(str_replace('-','_',$key).'_th'), '<a href="#">'.(defined('_AM_FLOWPLAYER_TH_'.strtoupper(str_replace('-','_',$key)))?constant('_AM_FLOWPLAYER_TH_'.strtoupper(str_replace('-','_',$key))):'_AM_FLOWPLAYER_TH_'.strtoupper(str_replace('-','_',$key))).'</a>'); + } + $GLOBALS['xoopsTpl']->assign('limit', $limit); + $GLOBALS['xoopsTpl']->assign('start', $start); + $GLOBALS['xoopsTpl']->assign('order', $order); + $GLOBALS['xoopsTpl']->assign('sort', $sort); + $GLOBALS['xoopsTpl']->assign('filter', $filter); + $GLOBALS['xoopsTpl']->assign('xoConfig', $GLOBALS['flowplayerModuleConfig']); + $s=0; + $i=0; + foreach($ret as $time => $agent) { + if (is_array($agent)&&$s>=$start&&$i<=$limit) { + $GLOBALS['xoopsTpl']->append('useragents', array('time'=>date(_DATESTRING, $time), 'player'=>$agent['player'], 'user'=>$agent['user'], 'useragent'=>$agent['useragent'])); + $i++; + } + $s++; + } + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:flowplayer_cpanel_useragents_list.html'); + break; + + + case "player": + switch ($fct) + { + default: + case "list": + flowplayer_adminMenu(1); + + include_once $GLOBALS['xoops']->path( "/class/pagenav.php" ); + + $player_handler =& xoops_getmodulehandler('player', 'flowplayer'); + $criteria = $player_handler->getFilterCriteria($filter); + $ttl = $player_handler->getCount($criteria); + $sort = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'created'; + + $pagenav = new XoopsPageNav($ttl, $limit, $start, 'start', 'limit='.$limit.'&sort='.$sort.'&order='.$order.'&op='.$op.'&fct='.$fct.'&filter='.$filter.'&fct='.$fct.'&filter='.$filter); + $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav()); + + foreach (array( 'fid','name','raw','reference','height','width','default','created','updated') as $id => $key) { + $GLOBALS['xoopsTpl']->assign(strtolower(str_replace('-','_',$key).'_th'), '<a href="'.$_SERVER['PHP_SELF'].'?start='.$start.'&limit='.$limit.'&sort='.str_replace('_','-',$key).'&order='.((str_replace('_','-',$key)==$sort)?($order=='DESC'?'ASC':'DESC'):$order).'&op='.$op.'&filter='.$filter.'">'.(defined('_AM_FLOWPLAYER_TH_'.strtoupper(str_replace('-','_',$key)))?constant('_AM_FLOWPLAYER_TH_'.strtoupper(str_replace('-','_',$key))):'_AM_FLOWPLAYER_TH_'.strtoupper(str_replace('-','_',$key))).'</a>'); + $GLOBALS['xoopsTpl']->assign('filter_'.strtolower(str_replace('-','_',$key)).'_th', $player_handler->getFilterForm($filter, $key, $sort, $op, $fct)); + } + + $GLOBALS['xoopsTpl']->assign('limit', $limit); + $GLOBALS['xoopsTpl']->assign('start', $start); + $GLOBALS['xoopsTpl']->assign('order', $order); + $GLOBALS['xoopsTpl']->assign('sort', $sort); + $GLOBALS['xoopsTpl']->assign('filter', $filter); + $GLOBALS['xoopsTpl']->assign('xoConfig', $GLOBALS['flowplayerModuleConfig']); + + $criteria->setStart($start); + $criteria->setLimit($limit); + $criteria->setSort('`'.$sort.'`'); + $criteria->setOrder($order); + + $players = $player_handler->getObjects($criteria, true); + foreach($players as $cid => $player) { + if (is_object($player)) + $GLOBALS['xoopsTpl']->append('players', $player->toArray()); + } + + $GLOBALS['xoopsTpl']->assign('form', flowplayer_player_get_form(false)); + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:flowplayer_cpanel_player_list.html'); + break; + + case "new": + case "edit": + + flowplayer_adminMenu(1); + + include_once $GLOBALS['xoops']->path( "/class/pagenav.php" ); + + + $player_handler =& xoops_getmodulehandler('player', 'flowplayer'); + if (isset($_REQUEST['id'])) { + $player = $player_handler->get(intval($_REQUEST['id'])); + } else { + $player = $player_handler->create(); + } + + $GLOBALS['xoopsTpl']->assign('form', flowplayer_player_get_form($player)); + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:flowplayer_cpanel_player_edit.html'); + break; + case "save": + + $player_handler =& xoops_getmodulehandler('player', 'flowplayer'); + $id=0; + if ($id=intval($_REQUEST['id'])) { + $player = $player_handler->get($id); + } else { + $player = $player_handler->create(); + } + $player->setVars($_POST[$id]); + if (!$id=$player_handler->insert($player)) { + redirect_header('index.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _AM_MSG_PLAYER_FAILEDTOSAVE); + exit(0); + } else { + if (isset($_FILES['image'])&&!empty($_FILES['image']['name'])) { + if (!is_dir($GLOBALS['xoops']->path($GLOBALS['flowplayerModuleConfig']['upload_areas']))) { + foreach(explode('\\', $GLOBALS['xoops']->path($GLOBALS['flowplayerModuleConfig']['upload_areas'])) as $folders) + foreach(explode('/', $folders) as $folder) { + $path .= DS . $folder; + mkdir($path, 0777); + } + } + include_once($GLOBALS['xoops']->path('modules/flowplayer/include/uploader.php')); + $player = $player_handler->get($id); + $uploader = new FlowplayerMediaUploader($GLOBALS['xoops']->path($GLOBALS['flowplayerModuleConfig']['upload_areas']), explode('|', $GLOBALS['flowplayerModuleConfig']['allowed_mimetype']), $GLOBALS['flowplayerModuleConfig']['filesize_upload'], 0, 0, explode('|', $GLOBALS['flowplayerModuleConfig']['allowed_extensions'])); + $uploader->setPrefix(substr(md5(microtime(true)), mt_rand(0,20), 13)); + if ($uploader->fetchMedia('image')) { + if (!$uploader->upload()) { + flowplayer_adminMenu(1); + echo $uploader->getErrors(); + flowplayer_footer_adminMenu(); + xoops_cp_footer(); + exit(0); + } else { + + if (strlen($player->getVar('poster'))) + unlink($GLOBALS['xoops']->path($player->getVar('path')).$player->getVar('poster')); + + $player->setVar('path', $GLOBALS['flowplayerModuleConfig']['upload_areas']); + $player->setVar('poster', $uploader->getSavedFileName()); + @$player_handler->insert($player); + } + } else { + flowplayer_adminMenu(1); + echo $uploader->getErrors(); + flowplayer_footer_adminMenu(); + xoops_cp_footer(); + exit(0); + } + } + switch($_REQUEST['mode']) { + case 'new': + redirect_header('index.php?op='.$op.'&fct=edit&id='.$id, 10, _AM_MSG_PLAYER_SAVEDOKEY); + break; + default: + case 'edit': + redirect_header('index.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _AM_MSG_PLAYER_SAVEDOKEY); + break; + } + exit(0); + } + break; + case "savelist": + + $player_handler =& xoops_getmodulehandler('player', 'flowplayer'); + foreach($_REQUEST['id'] as $id) { + $player = $player_handler->get($id); + $player->setVars($_POST[$id]); + if (!$player_handler->insert($player)) { + redirect_header('index.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _AM_MSG_PLAYER_FAILEDTOSAVE); + exit(0); + } + } + redirect_header('index.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _AM_MSG_PLAYER_SAVEDOKEY); + exit(0); + break; + case "delete": + + $player_handler =& xoops_getmodulehandler('player', 'flowplayer'); + $id=0; + if (isset($_POST['id'])&&$id=intval($_POST['id'])) { + $player = $player_handler->get($id); + if (!$player_handler->delete($player)) { + redirect_header('index.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _AM_MSG_PLAYER_FAILEDTODELETE); + exit(0); + } else { + redirect_header('index.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _AM_MSG_PLAYER_DELETED); + exit(0); + } + } else { + $player = $player_handler->get(intval($_REQUEST['id'])); + xoops_confirm(array('id'=>$_REQUEST['id'], 'op'=>$_REQUEST['op'], 'fct'=>$_REQUEST['fct'], 'limit'=>$_REQUEST['limit'], 'start'=>$_REQUEST['start'], 'order'=>$_REQUEST['order'], 'sort'=>$_REQUEST['sort'], 'filter'=>$_REQUEST['filter']), 'index.php', sprintf(_AM_MSG_PLAYER_DELETE, $player->getVar('name'))); + } + break; + } + break; + case "mimetypes": + switch ($fct) + { + default: + case "list": + flowplayer_adminMenu(2); + + include_once $GLOBALS['xoops']->path( "/class/pagenav.php" ); + + $mimetypes_handler =& xoops_getmodulehandler('mimetypes', 'flowplayer'); + $criteria = $mimetypes_handler->getFilterCriteria($filter); + $ttl = $mimetypes_handler->getCount($criteria); + $sort = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'created'; + + $pagenav = new XoopsPageNav($ttl, $limit, $start, 'start', 'limit='.$limit.'&sort='.$sort.'&order='.$order.'&op='.$op.'&fct='.$fct.'&filter='.$filter.'&fct='.$fct.'&filter='.$filter); + $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav()); + + foreach (array( 'mid','support','name','mimetype','codecs','default','created','updated') as $id => $key) { + $GLOBALS['xoopsTpl']->assign(strtolower(str_replace('-','_',$key).'_th'), '<a href="'.$_SERVER['PHP_SELF'].'?start='.$start.'&limit='.$limit.'&sort='.str_replace('_','-',$key).'&order='.((str_replace('_','-',$key)==$sort)?($order=='DESC'?'ASC':'DESC'):$order).'&op='.$op.'&filter='.$filter.'">'.(defined('_AM_FLOWPLAYER_TH_'.strtoupper(str_replace('-','_',$key)))?constant('_AM_FLOWPLAYER_TH_'.strtoupper(str_replace('-','_',$key))):'_AM_FLOWPLAYER_TH_'.strtoupper(str_replace('-','_',$key))).'</a>'); + $GLOBALS['xoopsTpl']->assign('filter_'.strtolower(str_replace('-','_',$key)).'_th', $mimetypes_handler->getFilterForm($filter, $key, $sort, $op, $fct)); + } + + $GLOBALS['xoopsTpl']->assign('limit', $limit); + $GLOBALS['xoopsTpl']->assign('start', $start); + $GLOBALS['xoopsTpl']->assign('order', $order); + $GLOBALS['xoopsTpl']->assign('sort', $sort); + $GLOBALS['xoopsTpl']->assign('filter', $filter); + $GLOBALS['xoopsTpl']->assign('xoConfig', $GLOBALS['flowplayerModuleConfig']); + + $criteria->setStart($start); + $criteria->setLimit($limit); + $criteria->setSort('`'.$sort.'`'); + $criteria->setOrder($order); + + $mimetypess = $mimetypes_handler->getObjects($criteria, true); + foreach($mimetypess as $cid => $mimetypes) { + if (is_object($mimetypes)) + $GLOBALS['xoopsTpl']->append('mimetypes', $mimetypes->toArray()); + } + + $GLOBALS['xoopsTpl']->assign('form', flowplayer_mimetypes_get_form(false)); + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:flowplayer_cpanel_mimetypes_list.html'); + break; + + case "new": + case "edit": + + flowplayer_adminMenu(2); + + include_once $GLOBALS['xoops']->path( "/class/pagenav.php" ); + + + $mimetypes_handler =& xoops_getmodulehandler('mimetypes', 'flowplayer'); + if (isset($_REQUEST['id'])) { + $mimetypes = $mimetypes_handler->get(intval($_REQUEST['id'])); + } else { + $mimetypes = $mimetypes_handler->create(); + } + + $GLOBALS['xoopsTpl']->assign('form', flowplayer_mimetypes_get_form($mimetypes)); + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:flowplayer_cpanel_mimetypes_edit.html'); + break; + case "save": + + $mimetypes_handler =& xoops_getmodulehandler('mimetypes', 'flowplayer'); + $id=0; + if ($id=intval($_REQUEST['id'])) { + $mimetypes = $mimetypes_handler->get($id); + } else { + $mimetypes = $mimetypes_handler->create(); + } + $mimetypes->setVars($_POST[$id]); + if (!$id=$mimetypes_handler->insert($mimetypes)) { + redirect_header('index.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _AM_MSG_MIMETYPES_FAILEDTOSAVE); + exit(0); + } else { + switch($_REQUEST['mode']) { + case 'new': + redirect_header('index.php?op='.$op.'&fct=edit&id='.$id, 10, _AM_MSG_MIMETYPES_SAVEDOKEY); + break; + default: + case 'edit': + redirect_header('index.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _AM_MSG_MIMETYPES_SAVEDOKEY); + break; + } + exit(0); + } + break; + case "savelist": + + $mimetypes_handler =& xoops_getmodulehandler('mimetypes', 'flowplayer'); + foreach($_REQUEST['id'] as $id) { + $mimetypes = $mimetypes_handler->get($id); + $mimetypes->setVars($_POST[$id]); + if (!$mimetypes_handler->insert($mimetypes)) { + redirect_header('index.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&... [truncated message content] |
From: <be...@us...> - 2012-03-14 20:48:54
|
Revision: 9132 http://xoops.svn.sourceforge.net/xoops/?rev=9132&view=rev Author: beckmi Date: 2012-03-14 20:48:48 +0000 (Wed, 14 Mar 2012) Log Message: ----------- Adding check for local timezone (by XavierS) Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.5/docs/changelog.250.txt XoopsCore/branches/2.5.x/2.5.5/htdocs/include/common.php Modified: XoopsCore/branches/2.5.x/2.5.5/docs/changelog.250.txt =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/docs/changelog.250.txt 2012-03-14 18:44:26 UTC (rev 9131) +++ XoopsCore/branches/2.5.x/2.5.5/docs/changelog.250.txt 2012-03-14 20:48:48 UTC (rev 9132) @@ -1,6 +1,12 @@ XOOPS 2.5.x Changelog (Language changes: see: /docs/lang_diff.txt) =============================== +2011/03/14: Version 2.5.5 RC +=============================== +Bugfixes: + - adding missing check for local timezone (XavierS) + +=============================== 2011/02/19: Version 2.5.5 Beta =============================== Security fixes: Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/include/common.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/include/common.php 2012-03-14 18:44:26 UTC (rev 9131) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/include/common.php 2012-03-14 20:48:48 UTC (rev 9132) @@ -128,6 +128,13 @@ trigger_error('File Path Error: ' . 'var/configs/xoopsconfig.php' . ' does not exist.'); } +//check if user set a local timezone +$xoops_server_timezone="Etc/GMT"; +if ($xoopsConfig["server_TZ"]>0) { + $xoops_server_timezone .="+".$xoopsConfig["server_TZ"]; } else{ + $xoops_server_timezone .=$xoopsConfig["server_TZ"]; } date_default_timezone_set($xoops_server_timezone); + + /** * Enable Gzip compression, r * Requires configs loaded and should go before any output This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-03-14 18:44:37
|
Revision: 9131 http://xoops.svn.sourceforge.net/xoops/?rev=9131&view=rev Author: txmodxoops Date: 2012-03-14 18:44:26 +0000 (Wed, 14 Mar 2012) Log Message: ----------- Added alpha release v1.01 Module for creation pdf Document Added Paths: ----------- XoopsModules/xpdf/ XoopsModules/xpdf/branches/ XoopsModules/xpdf/releases/ XoopsModules/xpdf/releases/1.0/ XoopsModules/xpdf/releases/1.0/xpdf/ XoopsModules/xpdf/releases/1.0/xpdf/admin/ XoopsModules/xpdf/releases/1.0/xpdf/admin/about.php XoopsModules/xpdf/releases/1.0/xpdf/admin/admin_footer.php XoopsModules/xpdf/releases/1.0/xpdf/admin/admin_header.php XoopsModules/xpdf/releases/1.0/xpdf/admin/categories.php XoopsModules/xpdf/releases/1.0/xpdf/admin/documents.php XoopsModules/xpdf/releases/1.0/xpdf/admin/index.html XoopsModules/xpdf/releases/1.0/xpdf/admin/index.php XoopsModules/xpdf/releases/1.0/xpdf/admin/menu.php XoopsModules/xpdf/releases/1.0/xpdf/admin/permissions.php XoopsModules/xpdf/releases/1.0/xpdf/blocks/ XoopsModules/xpdf/releases/1.0/xpdf/blocks/blocks_doc.php XoopsModules/xpdf/releases/1.0/xpdf/blocks/index.html XoopsModules/xpdf/releases/1.0/xpdf/class/ XoopsModules/xpdf/releases/1.0/xpdf/class/index.html XoopsModules/xpdf/releases/1.0/xpdf/class/xpdf_cat.php XoopsModules/xpdf/releases/1.0/xpdf/class/xpdf_doc.php XoopsModules/xpdf/releases/1.0/xpdf/css/ XoopsModules/xpdf/releases/1.0/xpdf/css/index.html XoopsModules/xpdf/releases/1.0/xpdf/css/style.css XoopsModules/xpdf/releases/1.0/xpdf/docs/ XoopsModules/xpdf/releases/1.0/xpdf/docs/changelog.txt XoopsModules/xpdf/releases/1.0/xpdf/docs/credits.txt XoopsModules/xpdf/releases/1.0/xpdf/docs/index.html XoopsModules/xpdf/releases/1.0/xpdf/docs/install.txt XoopsModules/xpdf/releases/1.0/xpdf/docs/lang_diff.txt XoopsModules/xpdf/releases/1.0/xpdf/docs/licence.txt XoopsModules/xpdf/releases/1.0/xpdf/docs/readme.txt XoopsModules/xpdf/releases/1.0/xpdf/fpdf/ XoopsModules/xpdf/releases/1.0/xpdf/fpdf/chinese.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/ex.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/ XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/courier.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/helvetica.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/helveticab.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/helveticabi.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/helveticai.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/index.html XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/ XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/cp1250.map XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/cp1251.map XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/cp1252.map XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/cp1253.map XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/cp1254.map XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/cp1255.map XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/cp1257.map XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/cp1258.map XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/cp874.map XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/index.html XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/iso-8859-1.map XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/iso-8859-11.map XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/iso-8859-15.map XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/iso-8859-16.map XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/iso-8859-2.map XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/iso-8859-4.map XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/iso-8859-5.map XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/iso-8859-7.map XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/iso-8859-9.map XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/koi8-r.map XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/koi8-u.map XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/makefont/makefont.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/symbol.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/times.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/timesb.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/timesbi.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/timesi.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/font/zapfdingbats.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/fpdf.inc.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/fpdf.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/gif.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/index.html XoopsModules/xpdf/releases/1.0/xpdf/fpdf/japanese.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/korean.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/language/ XoopsModules/xpdf/releases/1.0/xpdf/fpdf/language/english.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/language/french.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/language/index.html XoopsModules/xpdf/releases/1.0/xpdf/fpdf/language/italian.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/language/japanese.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/language/korean.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/language/schinese.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/language/tchinese.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/makepdf_class.php XoopsModules/xpdf/releases/1.0/xpdf/fpdf/makepdf_config.php XoopsModules/xpdf/releases/1.0/xpdf/header.php XoopsModules/xpdf/releases/1.0/xpdf/images/ XoopsModules/xpdf/releases/1.0/xpdf/images/icons/ XoopsModules/xpdf/releases/1.0/xpdf/images/icons/index.html XoopsModules/xpdf/releases/1.0/xpdf/images/icons/off.png XoopsModules/xpdf/releases/1.0/xpdf/images/icons/on.png XoopsModules/xpdf/releases/1.0/xpdf/images/index.html XoopsModules/xpdf/releases/1.0/xpdf/images/menu/ XoopsModules/xpdf/releases/1.0/xpdf/images/menu/bg.png XoopsModules/xpdf/releases/1.0/xpdf/images/menu/index.html XoopsModules/xpdf/releases/1.0/xpdf/images/menu/left_both.png XoopsModules/xpdf/releases/1.0/xpdf/images/menu/right_both.png XoopsModules/xpdf/releases/1.0/xpdf/images/xpdf_slogo.png XoopsModules/xpdf/releases/1.0/xpdf/include/ XoopsModules/xpdf/releases/1.0/xpdf/include/configs.php XoopsModules/xpdf/releases/1.0/xpdf/include/functions.php XoopsModules/xpdf/releases/1.0/xpdf/include/index.html XoopsModules/xpdf/releases/1.0/xpdf/include/install.php XoopsModules/xpdf/releases/1.0/xpdf/include/makeimg.php XoopsModules/xpdf/releases/1.0/xpdf/include/makepdf.php XoopsModules/xpdf/releases/1.0/xpdf/include/notification.inc.php XoopsModules/xpdf/releases/1.0/xpdf/include/search.inc.php XoopsModules/xpdf/releases/1.0/xpdf/index.php XoopsModules/xpdf/releases/1.0/xpdf/language/ XoopsModules/xpdf/releases/1.0/xpdf/language/english/ XoopsModules/xpdf/releases/1.0/xpdf/language/english/admin.php XoopsModules/xpdf/releases/1.0/xpdf/language/english/blocks.php XoopsModules/xpdf/releases/1.0/xpdf/language/english/help/ XoopsModules/xpdf/releases/1.0/xpdf/language/english/help/help.html XoopsModules/xpdf/releases/1.0/xpdf/language/english/help/index.html XoopsModules/xpdf/releases/1.0/xpdf/language/english/index.html XoopsModules/xpdf/releases/1.0/xpdf/language/english/main.php XoopsModules/xpdf/releases/1.0/xpdf/language/english/modinfo.php XoopsModules/xpdf/releases/1.0/xpdf/language/index.html XoopsModules/xpdf/releases/1.0/xpdf/language/italian/ XoopsModules/xpdf/releases/1.0/xpdf/language/italian/admin.php XoopsModules/xpdf/releases/1.0/xpdf/language/italian/blocks.php XoopsModules/xpdf/releases/1.0/xpdf/language/italian/help/ XoopsModules/xpdf/releases/1.0/xpdf/language/italian/help/help.html XoopsModules/xpdf/releases/1.0/xpdf/language/italian/help/index.html XoopsModules/xpdf/releases/1.0/xpdf/language/italian/index.html XoopsModules/xpdf/releases/1.0/xpdf/language/italian/main.php XoopsModules/xpdf/releases/1.0/xpdf/language/italian/modinfo.php XoopsModules/xpdf/releases/1.0/xpdf/list.tag.php XoopsModules/xpdf/releases/1.0/xpdf/makepdf.php XoopsModules/xpdf/releases/1.0/xpdf/print.php XoopsModules/xpdf/releases/1.0/xpdf/rss.php XoopsModules/xpdf/releases/1.0/xpdf/singledoc.php XoopsModules/xpdf/releases/1.0/xpdf/sql/ XoopsModules/xpdf/releases/1.0/xpdf/sql/index.html XoopsModules/xpdf/releases/1.0/xpdf/sql/mysql.sql XoopsModules/xpdf/releases/1.0/xpdf/submit.php XoopsModules/xpdf/releases/1.0/xpdf/templates/ XoopsModules/xpdf/releases/1.0/xpdf/templates/admin/ XoopsModules/xpdf/releases/1.0/xpdf/templates/admin/index.html XoopsModules/xpdf/releases/1.0/xpdf/templates/admin/xpdf_admin_about.html XoopsModules/xpdf/releases/1.0/xpdf/templates/admin/xpdf_admin_help.html XoopsModules/xpdf/releases/1.0/xpdf/templates/blocks/ XoopsModules/xpdf/releases/1.0/xpdf/templates/blocks/index.html XoopsModules/xpdf/releases/1.0/xpdf/templates/blocks/xpdf_doc_block_day.html XoopsModules/xpdf/releases/1.0/xpdf/templates/blocks/xpdf_doc_block_random.html XoopsModules/xpdf/releases/1.0/xpdf/templates/blocks/xpdf_doc_block_recent.html XoopsModules/xpdf/releases/1.0/xpdf/templates/index.html XoopsModules/xpdf/releases/1.0/xpdf/templates/xpdf_footer.html XoopsModules/xpdf/releases/1.0/xpdf/templates/xpdf_header.html XoopsModules/xpdf/releases/1.0/xpdf/templates/xpdf_index.html XoopsModules/xpdf/releases/1.0/xpdf/templates/xpdf_singledoc.html XoopsModules/xpdf/releases/1.0/xpdf/templates/xpdf_submit.html XoopsModules/xpdf/releases/1.0/xpdf/templates/xpdf_viewcat.html XoopsModules/xpdf/releases/1.0/xpdf/view.tag.php XoopsModules/xpdf/releases/1.0/xpdf/viewcat.php XoopsModules/xpdf/releases/1.0/xpdf/xoops_version.php XoopsModules/xpdf/trunk/ XoopsModules/xpdf/trunk/xpdf/ Added: XoopsModules/xpdf/releases/1.0/xpdf/admin/about.php =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/admin/about.php (rev 0) +++ XoopsModules/xpdf/releases/1.0/xpdf/admin/about.php 2012-03-14 18:44:26 UTC (rev 9131) @@ -0,0 +1,48 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * XPDF - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package xpdf + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sun 2012/02/05 1:04:25 : Timgno Exp $ + * **************************************************************************** + */ + + +include "admin_header.php"; +xoops_cp_header(); + +$aboutAdmin = new ModuleAdmin(); + +echo $aboutAdmin->addNavigation("about.php"); +echo $aboutAdmin->renderabout($GLOBALS['xoopsModuleConfig']['id_paypal'], false); + +include "admin_footer.php"; \ No newline at end of file Added: XoopsModules/xpdf/releases/1.0/xpdf/admin/admin_footer.php =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/admin/admin_footer.php (rev 0) +++ XoopsModules/xpdf/releases/1.0/xpdf/admin/admin_footer.php 2012-03-14 18:44:26 UTC (rev 9131) @@ -0,0 +1,45 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * XPDF - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package xpdf + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sun 2012/02/05 1:04:25 : Timgno Exp $ + * **************************************************************************** + */ + +global $pathImageAdmin; +echo "<div align='center'><a href='http://www.xoops.org' target='_blank'> + <img src='".$pathImageAdmin."/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a></div>"; +echo "<div class='center smallsmall italic pad5'> + <strong>" . $xoopsModule->getVar('name') . "</strong> "._AM_XPDF_MAINTAINEDBY." + <a href='http://www.txmodxoops.org/modules/newbb/' title='Visit TXMod Xoops Community' class='tooltip' rel='external'>TXMod Xoops Community</a></div>"; +xoops_cp_footer(); Added: XoopsModules/xpdf/releases/1.0/xpdf/admin/admin_header.php =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/admin/admin_header.php (rev 0) +++ XoopsModules/xpdf/releases/1.0/xpdf/admin/admin_header.php 2012-03-14 18:44:26 UTC (rev 9131) @@ -0,0 +1,96 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * XPDF - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package xpdf + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sun 2012/02/05 1:04:25 : Timgno Exp $ + * **************************************************************************** + */ + +include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; +include_once XOOPS_ROOT_PATH . '/include/cp_functions.php'; +include_once '../include/functions.php'; + +$pathDir = $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin'); +$globlang = $GLOBALS['xoopsConfig']['language']; + +if ( file_exists($pathDir.'/language/'.$globlang.'/main.php')){ + include_once $pathDir.'/language/'.$globlang.'/main.php'; + }else{ + include_once $pathDir.'/language/english/main.php'; + } + +if ( file_exists($pathDir.'/moduleadmin.php')){ + include_once $pathDir.'/moduleadmin.php'; + //return true; + }else{ + xoops_cp_header(); + echo xoops_error(_AM_ERROR_NOFRAMEWORKS); + xoops_cp_footer(); + //return false; + } +$dirname = basename(dirname(dirname( __FILE__ ) )); +$module_handler =& xoops_gethandler('module'); +$xoopsModule = & $module_handler->getByDirname($dirname); +$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); +$pathImageIcon = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16'); +$pathImageAdmin = XOOPS_URL .'/'. $moduleInfo->getInfo('icons32'); + +$catHandler=& xoops_getModuleHandler('xpdf_cat', $dirname); +$docHandler=& xoops_getModuleHandler('xpdf_doc', $dirname); + +$myts =& MyTextSanitizer::getInstance(); + +if ($xoopsUser) { + $moduleperm_handler =& xoops_gethandler('groupperm'); + if (!$moduleperm_handler->checkRight('module_admin', $xoopsModule->getVar( 'mid' ), $xoopsUser->getGroups())) { + redirect_header(XOOPS_URL, 1, _NOPERM); + exit(); + } +} else { + redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM); + exit(); +} + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once(XOOPS_ROOT_PATH."/class/template.php"); + $xoopsTpl = new XoopsTpl(); +} + +$xoopsTpl->assign('pathImageIcon', $pathImageIcon); +$xoopsTpl->assign('pathImageAdmin', $pathImageAdmin); +//xoops_cp_header(); + +//Load languages +xoops_loadLanguage('admin', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('modinfo', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('main', $xoopsModule->getVar("dirname")); Added: XoopsModules/xpdf/releases/1.0/xpdf/admin/categories.php =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/admin/categories.php (rev 0) +++ XoopsModules/xpdf/releases/1.0/xpdf/admin/categories.php 2012-03-14 18:44:26 UTC (rev 9131) @@ -0,0 +1,186 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * XPDF - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package xpdf + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sun 2012/02/05 1:04:25 : Timgno Exp $ + * **************************************************************************** + */ +include "admin_header.php"; +xoops_cp_header(); +global $pathImageIcon; + +// CleanVars +$op = xpdf_CleanVars($_REQUEST, 'op', 'list_cat', 'string'); +$status_menu = xpdf_CleanVars($_REQUEST, 'status_display', 1, 'int'); + +$catAdmin = new ModuleAdmin(); +switch ($op) +{ + case "list_cat": + default: + echo $catAdmin->addNavigation('categories.php'); + if ($status_menu == 1){ + $catAdmin->addItemButton(_AM_XPDF_NEWCAT, 'categories.php?op=new_cat', 'add'); + }else{ + $catAdmin->addItemButton(_AM_XPDF_CATLIST, 'categories.php?op=list_cat', 'list'); + $catAdmin->addItemButton(_AM_XPDF_NEWCAT, 'categories.php?op=new_cat', 'add'); + } + echo $catAdmin->renderButton(); + $criteria = new CriteriaCompo(); + $criteria->setSort("cat_id"); + $criteria->setOrder("ASC"); + $numrows = $catHandler->getCount(); + $cat_arr = $catHandler->getall($criteria); + + //Affichage du tableau + if ($numrows>0) + { + echo "<table width='100%' cellspacing='1' class='outer'> + <tr> + <th class='center'>"._ID."</th> + <th class='center'>"._TITLE."</th> + <th class='center'>"._IMAGE."</th> + <th class='center'>"._DESCRIPTION."</th> + <th class='center'>"._WEIGHT."</th> + <th class='center'>"._FORMACTION."</th> + </tr>"; + + $class = "odd"; + + foreach (array_keys($cat_arr) as $i) + { + echo "<tr class='".$class."'>"; + $class = ($class == "even") ? "odd" : "even"; + + $cat =& $catHandler->get($cat_arr[$i]->getVar("cat_pid")); + $cat_cat = $cat->getVar("cat_pid"); + echo "<td class='center'>".$cat_arr[$i]->getVar("cat_id")."</td>"; + echo "<td class='center'>".$cat_arr[$i]->getVar("cat_title")."</td>"; + echo "<td class='center'><img src='".XOOPS_UPLOAD_URL."/xpdf/images/cat/".$cat_arr[$i]->getVar("cat_imgurl")."' height='10px' title='cat_imgurl' alt='cat_imgurl'></td>"; + echo "<td class='center'>".$cat_arr[$i]->getVar("cat_description")."</td>"; + echo "<td class='center'>".$cat_arr[$i]->getVar("cat_weight")."</td>"; + + echo "<td align='center' width='10%'> + <a href='categories.php?op=edit_cat&cat_id=".$cat_arr[$i]->getVar("cat_id")."'><img src=".$pathImageIcon."/edit.png alt='"._EDIT."' title='"._EDIT."'></a> + <a href='categories.php?op=delete_cat&cat_id=".$cat_arr[$i]->getVar("cat_id")."'><img src=".$pathImageIcon."/delete.png alt='"._DELETE."' title='"._DELETE."'></a> + </td>"; + echo "</tr>"; + } + echo "</table><br><br>"; + } + break; + + case "new_cat": + echo $catAdmin->addNavigation("categories.php"); + $catAdmin->addItemButton(_AM_XPDF_CATLIST, 'categories.php?op=list_cat', 'list'); + echo $catAdmin->renderButton(); + + $obj =& $catHandler->create(); + $form = $obj->getForm(); + $form->display(); + break; + + case "save_cat": + if ( !$GLOBALS["xoopsSecurity"]->check() ) { + redirect_header("categories.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); + } + if (isset($_REQUEST["cat_id"])) { + $obj =& $catHandler->get($_REQUEST["cat_id"]); + } else { + $obj =& $catHandler->create(); + } + + //Form cat_pid + $obj->setVar("cat_pid", $_REQUEST["cat_pid"]); + //Form cat_title + $obj->setVar("cat_title", $_REQUEST["cat_title"]); + //Form cat_imgurl + include_once XOOPS_ROOT_PATH."/class/uploader.php"; + $uploaddir = XOOPS_UPLOAD_PATH."/xpdf/images/cat/"; + $uploader = new XoopsMediaUploader($uploaddir, $GLOBALS["xoopsModuleConfig"]["cat_imgurl_mimetypes"], + $GLOBALS["xoopsModuleConfig"]["cat_imgurl_size"], null, null); + if ($uploader->fetchMedia($_POST['xoops_upload_file'][0])) { + $uploader->setPrefix("cat_imgurl_") ; + $uploader->fetchMedia($_POST['xoops_upload_file'][0]); + if (!$uploader->upload()) { + $errors = $uploader->getErrors(); + redirect_header("javascript:history.go(-1)",3, $errors); + } else { + $obj->setVar("cat_imgurl", $uploader->getSavedFileName()); + } + } else { + $obj->setVar("cat_imgurl", $_REQUEST["cat_imgurl"]); + } + //Form cat_description + $obj->setVar("cat_description", $_REQUEST["cat_description"]); + //Form cat_weight + $obj->setVar("cat_weight", $_REQUEST["cat_weight"]); + + + if ($catHandler->insert($obj)) { + redirect_header("categories.php?op=list_cat", 2, _AM_XPDF_FORMOK); + } + + echo $obj->getHtmlErrors(); + $form =& $obj->getForm(); + $form->display(); + break; + + case "edit_cat": + echo $catAdmin->addNavigation("categories.php"); + $catAdmin->addItemButton(_AM_XPDF_NEWCAT, 'categories.php?op=new_cat', 'add'); + $catAdmin->addItemButton(_AM_XPDF_CATLIST, 'categories.php?op=list_cat', 'list'); + echo $catAdmin->renderButton(); + $obj = $catHandler->get($_REQUEST["cat_id"]); + $form = $obj->getForm(); + $form->display(); + break; + + case "delete_cat": + $obj =& $catHandler->get($_REQUEST["cat_id"]); + if (isset($_REQUEST["ok"]) && $_REQUEST["ok"] == 1) { + if ( !$GLOBALS["xoopsSecurity"]->check() ) { + redirect_header("categories.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); + } + if ($catHandler->delete($obj)) { + redirect_header("categories.php", 3, _AM_XPDF_FORMDELOK); + } else { + echo $obj->getHtmlErrors(); + } + } else { + xoops_confirm(array("ok" => 1, "cat_id" => $_REQUEST["cat_id"], "op" => "delete_cat"), $_SERVER["REQUEST_URI"], sprintf(_AM_XPDF_FORMSUREDEL, $obj->getVar("cat"))); + } + break; +} +include "admin_footer.php"; +?> \ No newline at end of file Added: XoopsModules/xpdf/releases/1.0/xpdf/admin/documents.php =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/admin/documents.php (rev 0) +++ XoopsModules/xpdf/releases/1.0/xpdf/admin/documents.php 2012-03-14 18:44:26 UTC (rev 9131) @@ -0,0 +1,318 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * XPDF - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package xpdf + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sun 2012/02/05 1:04:25 : Timgno Exp $ + * **************************************************************************** + */ +include "admin_header.php"; +xoops_cp_header(); +global $pathImageIcon; + +//On recupere la valeur de l argument op dans l URL$ +$op = xpdf_CleanVars($_REQUEST, 'op', 'list_doc', 'string'); +$status_menu = xpdf_CleanVars($_REQUEST, 'status_display', 1, 'int'); + +$docAdmin = new ModuleAdmin(); +switch ($op) +{ + case "list_doc": + default: + echo $docAdmin->addNavigation('documents.php'); + if ($status_menu == 1){ + $docAdmin->addItemButton(_AM_XPDF_NEWDOC, 'documents.php?op=new_doc', 'add'); + }else{ + $docAdmin->addItemButton(_AM_XPDF_DOCLIST, 'documents.php?op=list_doc', 'list'); + $docAdmin->addItemButton(_AM_XPDF_NEWDOC, 'documents.php?op=new_doc', 'add'); + } + echo $docAdmin->renderButton(); + $criteria = new CriteriaCompo(); + $criteria->setSort("doc_id"); + $criteria->setOrder("ASC"); + $numrows = $docHandler->getCount(); + $doc_arr = $docHandler->getall($criteria); + + //Affichage du tableau + if ($numrows>0) + { + echo "<table cellspacing='1' class='outer width100'> + <tr> + <th class='center'>"._ID."</th> + <th class='center'>"._CATEGORY."</th> + <th class='center'>"._TITLE."</th> + <th class='center'>"._SUBJECT."</th> + <th class='center'>"._SUBMITTER."</th> + <th class='center'>"._CREATED."</th> + <th class='center'>"._PUBLISHED."</th> + <th class='center'>"._WEIGHT."</th> + <th class='center'>"._STATUS."</th> + <th class='center'>"._WAITING."</th> + <th class='center'>"._ONLINE."</th> + <th class='center'>"._FORMACTION."</th> + </tr>"; + + $class = "odd"; + + foreach (array_keys($doc_arr) as $i) + { + echo "<tr class='".$class."'>"; + $class = ($class == "even") ? "odd" : "even"; + + echo "<td class='center'>".$doc_arr[$i]->getVar("doc_id")."</td>"; + $cat =& $catHandler->get($doc_arr[$i]->getVar("doc_cid")); + $doc_cat = $cat->getVar("cat_id"); + echo "<td class='center'>".$doc_cat."</td>"; + echo "<td class='center'>".$doc_arr[$i]->getVar("doc_title")."</td>"; + echo "<td class='center'>".$doc_arr[$i]->getVar("doc_subject")."</td>"; + echo "<td class='center'>".XoopsUser::getUnameFromId($doc_arr[$i]->getVar("doc_submitter"),"S")."</td>"; + echo "<td class='center'>".formatTimeStamp($doc_arr[$i]->getVar("doc_created"),"S")."</td>"; + echo "<td class='center'>".formatTimeStamp($doc_arr[$i]->getVar("doc_published"),"S")."</td>"; + echo "<td class='center'>".$doc_arr[$i]->getVar("doc_weight")."</td>"; + + if ( $doc_arr[$i]->getVar("doc_status") == 1 ) { + echo "<td class='center'><a href='./documents.php?op=delete_pdf_file&doc_id='".$doc_arr[$i]->getVar("doc_id")."&doc_status=0' title='"._AM_XPDF_DELETEPDF."'><img src=".$pathImageIcon."/green_ball.png border='0' alt='"._AM_XPDF_DELETEPDF."' /></a></td>"; + } else { + echo "<td class='center'><a href='./documents.php?op=create_pdf_file&doc_id='".$doc_arr[$i]->getVar("doc_id")."&doc_status=1' title='"._AM_XPDF_CREATEPDF."'><img src=".$pathImageIcon."/red_ball.png border='0' alt='"._AM_XPDF_CREATEPDF."' /></a></td>"; + } + + if ( $doc_arr[$i]->getVar("doc_waiting") == 1 ) { + echo "<td class='center'><a href='./documents.php?op=approve_doc&doc_id='".$doc_arr[$i]->getVar("doc_id")."&doc_waiting=0' title='"._AM_XPDF_CREATEPDF."'><img src=".$pathImageIcon."/orange_ball.png border='0' alt='' /></a></td>"; + } else { + echo "<td class='center'><img src=".$pathImageIcon."/grey_ball.png border='0' alt='' /></td>"; + } + + if ( $doc_arr[$i]->getVar("doc_online") == 1 ) { + echo "<td class='center'><a href='./documents.php?op=update_online_doc&doc_id=".$doc_arr[$i]->getVar("doc_id")."&doc_online=0'><img src=".$pathImageIcon."/on.png border='0' alt='"._ONLINE."' title='"._ONLINE."'></a></td>"; + } else { + echo "<td class='center'><a href='./documents.php?op=update_online_doc&doc_id=".$doc_arr[$i]->getVar("doc_id")."&doc_online=1'><img src=".$pathImageIcon."/off.png border='0' alt='"._OFFLINE."' title='"._OFFLINE."'></a></td>"; + } + + echo "<td class='center width10'> + <a href='documents.php?op=edit_doc&doc_id=".$doc_arr[$i]->getVar("doc_id")."'><img src=".$pathImageIcon."/edit.png alt='"._EDIT."' title='"._EDIT."'></a> + <a href='documents.php?op=delete_doc&doc_id=".$doc_arr[$i]->getVar("doc_id")."'><img src=".$pathImageIcon."/delete.png alt='"._DELETE."' title='"._DELETE."'></a> + </td>"; + echo "</tr>"; + } + echo "</table><br><br>"; + } + break; + + case "new_doc": + echo $docAdmin->addNavigation("documents.php"); + $docAdmin->addItemButton(_AM_XPDF_DOCLIST, 'documents.php?op=list_doc', 'list'); + echo $docAdmin->renderButton(); + + $obj =& $docHandler->create(); + $form = $obj->getForm(); + $form->display(); + break; + + case "save_doc": + if ( !$GLOBALS["xoopsSecurity"]->check() ) { + redirect_header("documents.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); + } + $doc_id = xpdf_CleanVars($_REQUEST, 'doc_id', 1, 'int'); + if (isset($_REQUEST["doc_id"])) { + $obj =& $docHandler->get($doc_id); + } else { + $obj =& $docHandler->create(); + } + + //Form doc_cid + $obj->setVar("doc_cid", $_REQUEST["doc_cid"]); + //Form doc_title + $obj->setVar("doc_title", $_REQUEST["doc_title"]); + //Form doc_description + $obj->setVar("doc_description", $_REQUEST["doc_description"]); + //Form doc_subject + $obj->setVar("doc_subject", $_REQUEST["doc_subject"]); + //Form doc_description + $obj->setVar("doc_keywords", $_REQUEST["doc_keywords"]); + //Form doc_submitter + $obj->setVar("doc_submitter", $_REQUEST["doc_submitter"]); + //Form doc_created + $obj->setVar("doc_created", strtotime($_REQUEST["doc_created"])); + //Form doc_created + $obj->setVar("doc_published", strtotime($_REQUEST["doc_published"])); + //Form doc_weight + $obj->setVar("doc_weight", $_REQUEST["doc_weight"]); + //Form doc_status + $verif_doc_status = ($_REQUEST["doc_status"] == 1) ? "1" : "0"; + $obj->setVar("doc_status", $verif_doc_status); + //Form doc_waiting + $verif_doc_waiting = ($_REQUEST["doc_waiting"] == 1) ? "1" : "0"; + $obj->setVar("doc_waiting", $verif_doc_waiting); + //Form doc_online + $verif_doc_online = ($_REQUEST["doc_online"] == 1) ? "1" : "0"; + $obj->setVar("doc_online", $verif_doc_online); + + if ($docHandler->insert($obj)) { + redirect_header("documents.php?op=list_doc", 2, _AM_XPDF_FORMOK); + } + + echo $obj->getHtmlErrors(); + $form =& $obj->getForm(); + $form->display(); + break; + + case "create_pdf_file": + if (isset($_REQUEST["doc_id"])) { + $obj =& $docHandler->get($_REQUEST["doc_id"]); + } + $obj->setVar("doc_status", $_REQUEST["doc_status"]); + if ($docHandler->insert($obj)) { + redirect_header("documents.php", 3, _AM_XPDF_FILECREATEDOK); + } + echo $obj->getHtmlErrors(); + //include_once XOOPS_URL.'/Frameworks/tcpdf/tcpdf.php'; + require_once XOOPS_ROOT_PATH.'/Frameworks/tcpdf/tcpdf.php'; + $filename = XOOPS_ROOT_PATH.'/Frameworks/tcpdf/config/lang/'._LANGCODE.'.php'; + if(file_exists($filename)) { + include_once $filename; + } else { + include_once XOOPS_ROOT_PATH.'/Frameworks/tcpdf/config/lang/en.php'; + } + // create new PDF document + $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false); + // set document information + $pdf->SetCreator(PDF_CREATOR); + $pdf->SetAuthor($obj->getVar("doc_submitter")); + $pdf->SetTitle($obj->getVar("doc_title", 's')); + $pdf->SetSubject($obj->getVar("doc_subject"));//'XPDF Test' + $pdf->SetKeywords($obj->getVar("doc_keywords"));//'XPDF, PDF, example, test, guide' + + // set default header data + $pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE, PDF_HEADER_STRING); + + //set margins + $pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP + 10, PDF_MARGIN_RIGHT); + //set auto page breaks + $pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM); + $pdf->SetHeaderMargin(PDF_MARGIN_HEADER); + $pdf->SetFooterMargin(PDF_MARGIN_FOOTER); + $pdf->setImageScale(1); //set image scale factor + + $pdf->setLanguageArray($l); //set language items + + //initialize document + $pdf->AliasNbPages(); + + // Add a page + // This method has several options, check the source code documentation for more information. + $pdf->AddPage(); + $description = $obj->getVar("doc_description", 's'); + // Print text using writeHTML() + $pdf->writeHTML($description, true, 0); + + // --------------------------------------------------------- + // Close and output PDF document + // This method has several options, check the source code documentation for more information. + $pdf_file = XOOPS_UPLOAD_PATH."/xpdf/doc/".str_replace(" ", "_", strtolower($obj->getVar("doc_title"))).".pdf"; + $pdf->Output($pdf_file, 'F'); + break; + + case "delete_pdf_file": + /*if (isset($_REQUEST["doc_id"])) { + $obj =& $docHandler->get($_REQUEST["doc_id"]); + } + + if ($docHandler->delete($obj)) { + redirect_header("documents.php", 3, _AM_XPDF_FILEDELETEDOK); + }*/ + + $obj->setVar("doc_status", $_REQUEST["doc_status"]); + $obj =& $docHandler->get($_REQUEST['doc_id']); + if (isset($_REQUEST['ok']) && $_REQUEST['ok'] == 1) { + if (!$GLOBALS['xoopsSecurity']->check()) { + redirect_header('documents.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); + } + if ($docHandler->delete($obj)) { + $GLOBALS['xoopsDB']->queryF("DELETE FROM ".$GLOBALS['xoopsDB']->prefix("xpdf_doc")." WHERE doc_id = ".$_REQUEST['doc_id']); + redirect_header('documents.php', 3, _AM_XPDF_FILEDELETEDOK); + } else { + echo $obj->getHtmlErrors(); + } + } else { + xoops_confirm(array('ok' => 1, 'doc_id' => $_REQUEST['doc_id'], 'op' => 'delete_doc'), $_SERVER['REQUEST_URI'], sprintf(_AM_XPDF_FORMSUREDEL, $obj->getVar('doc_title'))); + } + break; + + case "edit_doc": + echo $docAdmin->addNavigation("documents.php"); + $docAdmin->addItemButton(_AM_XPDF_NEWDOC, 'documents.php?op=new_doc', 'add'); + $docAdmin->addItemButton(_AM_XPDF_DOCLIST, 'documents.php?op=list_doc', 'list'); + echo $docAdmin->renderButton(); + $obj = $docHandler->get($_REQUEST["doc_id"]); + $form = $obj->getForm(); + $form->display(); + break; + + case "approve_doc": + if (isset($_REQUEST["doc_id"])) { + $obj =& $docHandler->get($_REQUEST["doc_id"]); + } + $obj->setVar("doc_waiting", $_REQUEST["doc_waiting"]); + if ($docHandler->insert($obj)) { + redirect_header("documents.php", 3, _AM_XPDF_FILEAPPROVATEDOK); + } + echo $obj->getHtmlErrors(); + break; + + case "delete_doc": + $obj =& $docHandler->get($_REQUEST["doc_id"]); + if (isset($_REQUEST["ok"]) && $_REQUEST["ok"] == 1) { + if ( !$GLOBALS["xoopsSecurity"]->check() ) { + redirect_header("documents.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); + } + if ($docHandler->delete($obj)) { + redirect_header("documents.php", 3, _AM_XPDF_FORMDELOK); + } else { + echo $obj->getHtmlErrors(); + } + } else { + xoops_confirm(array("ok" => 1, "doc_id" => $_REQUEST["doc_id"], "op" => "delete_doc"), $_SERVER["REQUEST_URI"], sprintf(_AM_XPDF_FORMSUREDEL, $obj->getVar("doc_title"))); + } + break; + case "update_online_doc": + if (isset($_REQUEST["doc_id"])) { + $obj =& $docHandler->get($_REQUEST["doc_id"]); + } + $obj->setVar("doc_online", $_REQUEST["doc_online"]); + if ($docHandler->insert($obj)) { + redirect_header("documents.php", 3, _AM_XPDF_FORMOK); + } + echo $obj->getHtmlErrors(); + break; +} +include "admin_footer.php"; +?> \ No newline at end of file Added: XoopsModules/xpdf/releases/1.0/xpdf/admin/index.html =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/admin/index.html (rev 0) +++ XoopsModules/xpdf/releases/1.0/xpdf/admin/index.html 2012-03-14 18:44:26 UTC (rev 9131) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/xpdf/releases/1.0/xpdf/admin/index.php =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/admin/index.php (rev 0) +++ XoopsModules/xpdf/releases/1.0/xpdf/admin/index.php 2012-03-14 18:44:26 UTC (rev 9131) @@ -0,0 +1,64 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * XPDF - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package xpdf + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sun 2012/02/05 1:04:25 : Timgno Exp $ + * **************************************************************************** + */ + +include "admin_header.php"; +xoops_cp_header(); + + $indexAdmin = new ModuleAdmin(); + + //count "total cat" + $count_cat = $catHandler->getCount(); + //count "total doc" + $count_doc = $docHandler->getCount(); + //count "online" + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria("doc_online", 1)); + $doc_online = $docHandler->getCount($criteria); + // InfoBox cat + $indexAdmin->addInfoBox(_AM_XPDF_CAT); + $indexAdmin->addInfoBoxLine(_AM_XPDF_CAT,_AM_XPDF_THEREARE_CAT, $count_cat); + // InfoBox doc + $indexAdmin->addInfoBox(_AM_XPDF_DOC); + $indexAdmin->addInfoBoxLine(_AM_XPDF_DOC,_AM_XPDF_THEREARE_DOC, $count_doc); + $indexAdmin->addInfoBoxLine(_AM_XPDF_DOC,_AM_XPDF_THEREARE_DOC_ONLINE, $doc_online); + // Render Index + echo $indexAdmin->addNavigation("index.php"); + echo $indexAdmin->renderIndex(); + +include "admin_footer.php"; +?> \ No newline at end of file Added: XoopsModules/xpdf/releases/1.0/xpdf/admin/menu.php =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/admin/menu.php (rev 0) +++ XoopsModules/xpdf/releases/1.0/xpdf/admin/menu.php 2012-03-14 18:44:26 UTC (rev 9131) @@ -0,0 +1,75 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * XPDF - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package xpdf + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sun 2012/02/05 1:04:25 : Timgno Exp $ + * **************************************************************************** + */ + + +$dirname = basename( dirname( dirname( __FILE__ ) ) ) ; + +$module_handler =& xoops_gethandler("module"); +$xoopsModule =& XoopsModule::getByDirname($dirname); +$moduleInfo =& $module_handler->get($xoopsModule->getVar("mid")); +$pathImageAdmin = $moduleInfo->getInfo("icons32"); + +$adminmenu = array(); + +$i = 1; +$adminmenu[$i]["title"] = _MI_XPDF_ADMENU1; +$adminmenu[$i]["link"] = "admin/index.php"; +//$adminmenu[$i]["desc"] = _MI_XPDF_ADMENU1_DESC; +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/home.png"; +$i++; +$adminmenu[$i]["title"] = _MI_XPDF_ADMENU2; +$adminmenu[$i]["link"] = "admin/categories.php"; +//$adminmenu[$i]["desc"] = _MI_XPDF_ADMENU2_DESC +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/pdf_category.png"; +$i++; +$adminmenu[$i]["title"] = _MI_XPDF_ADMENU3; +$adminmenu[$i]["link"] = "admin/documents.php"; +//$adminmenu[$i]["desc"] = _MI_XPDF_ADMENU3_DESC +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/pdf_document.png"; +$i++; +$adminmenu[$i]["title"] = _PERMISSIONS; +$adminmenu[$i]["link"] = "admin/permissions.php"; +//$adminmenu[$i]["desc"] = _MI_XPDF_ADMENU4_DESC +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/permissions.png"; +$i++; +$adminmenu[$i]["title"] = _ABOUT; +$adminmenu[$i]["link"] = "admin/about.php"; +//$adminmenu[$i]["desc"] = _MI_XPDF_ADMENU5_DESC; +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/about.png"; +unset( $i ); +?> \ No newline at end of file Added: XoopsModules/xpdf/releases/1.0/xpdf/admin/permissions.php =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/admin/permissions.php (rev 0) +++ XoopsModules/xpdf/releases/1.0/xpdf/admin/permissions.php 2012-03-14 18:44:26 UTC (rev 9131) @@ -0,0 +1,106 @@ +<?php +/** + * TDMArticle + * + * 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 Gregory Mage (Aka Mage) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Gregory Mage (Aka Mage) + */ + +include 'admin_header.php'; +include_once XOOPS_ROOT_PATH.'/class/xoopsform/grouppermform.php'; +if( !empty($_POST["submit"]) ) +{ + redirect_header( XOOPS_URL."/modules/".$xoopsModule->dirname()."/admin/permissions.php" , 1 , _MP_GPERMUPDATED ); +} +xoops_cp_header(); + +$permissions_admin = new ModuleAdmin(); +echo $permissions_admin->addNavigation("permissions.php"); + +$permtoset= isset($_POST["permtoset"]) ? intval($_POST["permtoset"]) : 1; +$selected=array("","","","","",""); +$selected[$permtoset-1]=" selected"; + +echo " +<form method='post' name='fselperm' action='permissions.php'> + <table border=0> + <tr> + <td> + <select name='permtoset' onChange='javascript: document.fselperm.submit()'> + <option value='1'".$selected[0].">"._AM_XPDF_APPROVEFORM."</option> + <option value='2'".$selected[1].">"._AM_XPDF_SUBMITFORM."</option> + <option value='3'".$selected[2].">"._AM_XPDF_VIEWFORM."</option> + <option value='4'".$selected[3].">"._AM_XPDF_DOWNFORM."</option> + <option value='5'".$selected[4].">"._AM_XPDF_ACCESSFORM."</option> + </select> + </td> + </tr> + </table> +</form>"; + +$module_id = $xoopsModule->getVar("mid"); + +switch($permtoset) +{ + case 1: + $titleForm = _AM_XPDF_APPROVEFORM; + $perm_name = "xpdf_approve"; + $perm_desc = _AM_XPDF_APPROVEFORM_DESC; + break; + case 2: + $titleForm = _AM_XPDF_SUBMITFORM; + $perm_name = "xpdf_submit"; + $perm_desc = _AM_XPDF_SUBMITFORM_DESC; + break; + case 3: + $titleForm = _AM_XPDF_VIEWFORM; + $perm_name = "xpdf_view"; + $perm_desc = _AM_XPDF_VIEWFORM_DESC; + break; + case 4: + $titleForm = _AM_XPDF_DOWNFORM; + $perm_name = "xpdf_down"; + $perm_desc = _AM_XPDF_DOWNFORM_DESC; + break; + case 5: + $titleForm = _AM_XPDF_ACCESSFORM; + $perm_name = "xpdf_ac"; + $perm_desc = _AM_XPDF_ACCESSFORM_DESC; + $global_perms_array = array( + '4' => _AM_XPDF_PERMISSIONS_4 , + '8' => _AM_XPDF_PERMISSIONS_8 , + '16' => _AM_XPDF_PERMISSIONS_16 , + '32' => _AM_XPDF_PERMISSIONS_32 , + '64' => _AM_XPDF_PERMISSIONS_64 + ); + break; +} + +$permform = new XoopsGroupPermForm($titleForm, $module_id, $perm_name, $perm_desc, "admin/permissions.php"); +if ($permtoset == 5){ + foreach( $global_perms_array as $perm_id => $perm_name ) { + $permform->addItem($perm_id , $perm_name) ; + } +} else { + $criteria = new CriteriaCompo(); + $criteria->setSort('cat_title'); + $criteria->setOrder('ASC'); + $cat_arr = $catHandler->getall($criteria); + foreach (array_keys($cat_arr) as $i) { + $permform->addItem($cat_arr[$i]->getVar('cat_id'), $cat_arr[$i]->getVar('cat_title')); + } +} +echo $permform->render(); +echo "<br /><br /><br /><br />\n"; +unset ($permform); + +include("admin_footer.php"); +?> \ No newline at end of file Added: XoopsModules/xpdf/releases/1.0/xpdf/blocks/blocks_doc.php =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/blocks/blocks_doc.php (rev 0) +++ XoopsModules/xpdf/releases/1.0/xpdf/blocks/blocks_doc.php 2012-03-14 18:44:26 UTC (rev 9131) @@ -0,0 +1,114 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * XPDF - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package xpdf + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sun 2012/02/05 1:04:25 : Timgno Exp $ + * **************************************************************************** + */ + +include_once XOOPS_ROOT_PATH."/modules/xpdf/include/functions.php"; + +function b_xpdf_doc($options) { + include_once XOOPS_ROOT_PATH."/modules/xpdf/class/doc.php"; + $myts =& MyTextSanitizer::getInstance(); + + $doc = array(); + $type_block = $options[0]; + $nb_doc = $options[1]; + $lenght_title = $options[2]; + + $docHandler =& xoops_getModuleHandler("xpdf_doc", "xpdf"); + $criteria = new CriteriaCompo(); + array_shift($options); + array_shift($options); + array_shift($options); + + switch ($type_block) + { + // pour le bloc: doc recents + case "recent": + $criteria->add(new Criteria("doc_online", 1)); + $criteria->setSort("doc_created"); + $criteria->setOrder("DESC"); + break; + // pour le bloc: doc du jour + case "day": + $criteria->add(new Criteria("doc_online", 1)); + $criteria->add(new Criteria("doc_created", strtotime(date("Y/m/d")), ">=")); + $criteria->add(new Criteria("doc_created", strtotime(date("Y/m/d"))+86400, "<=")); + $criteria->setSort("doc_created"); + $criteria->setOrder("ASC"); + break; + // pour le bloc: doc aléatoires + case "random": + $criteria->add(new Criteria("doc_online", 1)); + $criteria->setSort("RAND()"); + break; + } + + $criteria->setLimit($nb_doc); + $doc_arr = $docHandler->getall($criteria); + foreach (array_keys($doc_arr) as $i) + { + $doc[$i]["doc_id"] = $doc_arr[$i]->getVar("doc_id"); + $doc[$i]["doc_cid"] = $doc_arr[$i]->getVar("doc_cid"); + $doc[$i]["doc_title"] = $doc_arr[$i]->getVar("doc_title"); + $doc[$i]["doc_submitter"] = $doc_arr[$i]->getVar("doc_submitter"); + $doc[$i]["doc_created"] = $doc_arr[$i]->getVar("doc_created"); + $doc[$i]["doc_weight"] = $doc_arr[$i]->getVar("doc_weight"); + $doc[$i]["doc_status"] = $doc_arr[$i]->getVar("doc_status"); + $doc[$i]["doc_waiting"] = $doc_arr[$i]->getVar("doc_waiting"); + $doc[$i]["doc_online"] = $doc_arr[$i]->getVar("doc_online"); + + } + return $doc; +} + +function b_xpdf_doc_edit($options) { + $form = ""._MB_XPDF_DOC_DISPLAY."\n"; + $form .= "<input type=\"hidden\" name=\"options[0]\" value=\"".$options[0]."\" />"; + $form .= "<input name=\"options[1]\" size=\"5\" maxlength=\"255\" value=\"".$options[1]."\" type=\"text\" /> <br />"; + $form .= ""._MB_XPDF_DOC_TITLELENGTH." : <input name=\"options[2]\" size=\"5\" maxlength=\"255\" value=\"".$options[2]."\" type=\"text\" /><br /><br />"; + array_shift($options); + array_shift($options); + array_shift($options); + $form .= ""._MB_XPDF_DOC_CATTODISPLAY."<br /><select name=\"options[]\" multiple=\"multiple\" size=\"5\">"; + $form .= "<option value=\"0\" " . (array_search(0, $options) === false ? "" : "selected=\"selected\"") . ">" ._MB_XPDF_DOC_ALLCAT . "</option>"; + foreach (array_keys($topic_arr) as $i) { + $form .= "<option value=\"" . $topic_arr[$i]->getVar("topic_id") . "\" " . (array_search($topic_arr[$i]->getVar("topic_id"), $options) === false ? "" : "selected=\"selected\"") . ">".$topic_arr[$i]->getVar("topic_title")."</option>"; + } + $form .= "</select>"; + + return $form; +} +?> \ No newline at end of file Added: XoopsModules/xpdf/releases/1.0/xpdf/blocks/index.html =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/blocks/index.html (rev 0) +++ XoopsModules/xpdf/releases/1.0/xpdf/blocks/index.html 2012-03-14 18:44:26 UTC (rev 9131) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/xpdf/releases/1.0/xpdf/class/index.html =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/class/index.html (rev 0) +++ XoopsModules/xpdf/releases/1.0/xpdf/class/index.html 2012-03-14 18:44:26 UTC (rev 9131) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/xpdf/releases/1.0/xpdf/class/xpdf_cat.php =================================================================== --- XoopsModules/xpdf/releases/1.0/xpdf/class/xpdf_cat.php (rev 0) +++ XoopsModules/xpdf/releases/1.0/xpdf/class/xpdf_cat.php 2012-03-14 18:44:26 UTC (rev 9131) @@ -0,0 +1,169 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * XPDF - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package xpdf + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sun 2012/02/05 1:04:25 : Timgno Exp $ + * **************************************************************************** + */ +if (!defined("XOOPS_ROOT_PATH")) { + die("XOOPS root path not defined"); +} + +if (!class_exists("XoopsPersistableObjectHandler")) { + include_once XOOPS_ROOT_PATH."/modules/xpdf/class/object.php"; +} + +class xpdf_cat extends XoopsObject +{ + //Constructor + function __construct() + { + $this->XoopsObject(); + $this->initVar("cat_id", XOBJ_DTYPE_INT, null, false, 5); + $this->initVar("cat_pid", XOBJ_DTYPE_INT, null, false, 5); + $this->initVar("cat_title", XOBJ_DTYPE_TXTBOX, null, false, 255); + $this->initVar("cat_imgurl", XOBJ_DTYPE_TXTBOX, null, false, 255); + $this->initVar("cat_description", XOBJ_DTYPE_TXTAREA, null, false); + $this->initVar("cat_weight", XOBJ_DTYPE_INT, null, false, 11); + } + + function xpdf_cat() + { + $this->__construct(); + } + + function getForm($action = false) + { + if ($action === false) { + $action = $_SERVER["REQUEST_URI"]; + } + + $title = $this->isNew() ? sprintf(_AM_XPDF_CAT_ADD) : sprintf(_AM_XPDF_CAT_EDIT); + + include_once(XOOPS_ROOT_PATH."/class/... [truncated message content] |
From: <txm...@us...> - 2012-03-14 18:41:01
|
Revision: 9130 http://xoops.svn.sourceforge.net/xoops/?rev=9130&view=rev Author: txmodxoops Date: 2012-03-14 18:40:46 +0000 (Wed, 14 Mar 2012) Log Message: ----------- Added bet release v1.0 Added Paths: ----------- XoopsModules/gapply/ XoopsModules/gapply/branches/ XoopsModules/gapply/releases/ XoopsModules/gapply/releases/1.0/ XoopsModules/gapply/releases/1.0/gapply/ XoopsModules/gapply/releases/1.0/gapply/admin/ XoopsModules/gapply/releases/1.0/gapply/admin/about.php XoopsModules/gapply/releases/1.0/gapply/admin/admin_footer.php XoopsModules/gapply/releases/1.0/gapply/admin/admin_header.php XoopsModules/gapply/releases/1.0/gapply/admin/index.html XoopsModules/gapply/releases/1.0/gapply/admin/index.php XoopsModules/gapply/releases/1.0/gapply/admin/menu.php XoopsModules/gapply/releases/1.0/gapply/blocks/ XoopsModules/gapply/releases/1.0/gapply/blocks/index.html XoopsModules/gapply/releases/1.0/gapply/class/ XoopsModules/gapply/releases/1.0/gapply/class/index.html XoopsModules/gapply/releases/1.0/gapply/colorif.php XoopsModules/gapply/releases/1.0/gapply/css/ XoopsModules/gapply/releases/1.0/gapply/css/gcolorif.css XoopsModules/gapply/releases/1.0/gapply/css/index.html XoopsModules/gapply/releases/1.0/gapply/css/style.css XoopsModules/gapply/releases/1.0/gapply/docs/ XoopsModules/gapply/releases/1.0/gapply/docs/changelog.txt XoopsModules/gapply/releases/1.0/gapply/docs/credits.txt XoopsModules/gapply/releases/1.0/gapply/docs/index.html XoopsModules/gapply/releases/1.0/gapply/docs/install.txt XoopsModules/gapply/releases/1.0/gapply/docs/lang_diff.txt XoopsModules/gapply/releases/1.0/gapply/docs/licence.txt XoopsModules/gapply/releases/1.0/gapply/docs/readme.txt XoopsModules/gapply/releases/1.0/gapply/docsearch.php XoopsModules/gapply/releases/1.0/gapply/earth.php XoopsModules/gapply/releases/1.0/gapply/header.php XoopsModules/gapply/releases/1.0/gapply/images/ XoopsModules/gapply/releases/1.0/gapply/images/gapply_slogo.png XoopsModules/gapply/releases/1.0/gapply/images/icons/ XoopsModules/gapply/releases/1.0/gapply/images/icons/index.html XoopsModules/gapply/releases/1.0/gapply/images/icons/off.png XoopsModules/gapply/releases/1.0/gapply/images/icons/on.png XoopsModules/gapply/releases/1.0/gapply/images/index.html XoopsModules/gapply/releases/1.0/gapply/images/menu/ XoopsModules/gapply/releases/1.0/gapply/images/menu/bg.png XoopsModules/gapply/releases/1.0/gapply/images/menu/index.html XoopsModules/gapply/releases/1.0/gapply/images/menu/left_both.png XoopsModules/gapply/releases/1.0/gapply/images/menu/right_both.png XoopsModules/gapply/releases/1.0/gapply/images/txmodxoops_logo.png XoopsModules/gapply/releases/1.0/gapply/include/ XoopsModules/gapply/releases/1.0/gapply/include/configs.php XoopsModules/gapply/releases/1.0/gapply/include/functions.php XoopsModules/gapply/releases/1.0/gapply/include/index.html XoopsModules/gapply/releases/1.0/gapply/include/install.php XoopsModules/gapply/releases/1.0/gapply/index.php XoopsModules/gapply/releases/1.0/gapply/js/ XoopsModules/gapply/releases/1.0/gapply/js/common.js XoopsModules/gapply/releases/1.0/gapply/js/default.js XoopsModules/gapply/releases/1.0/gapply/js/gcolorif.js XoopsModules/gapply/releases/1.0/gapply/js/gearth.js XoopsModules/gapply/releases/1.0/gapply/js/gsmapsearch.js XoopsModules/gapply/releases/1.0/gapply/js/index.html XoopsModules/gapply/releases/1.0/gapply/js/jq.init.js XoopsModules/gapply/releases/1.0/gapply/js/main.js XoopsModules/gapply/releases/1.0/gapply/js/mod_control_api.js XoopsModules/gapply/releases/1.0/gapply/js/urchin.js XoopsModules/gapply/releases/1.0/gapply/language/ XoopsModules/gapply/releases/1.0/gapply/language/english/ XoopsModules/gapply/releases/1.0/gapply/language/english/admin.php XoopsModules/gapply/releases/1.0/gapply/language/english/blocks.php XoopsModules/gapply/releases/1.0/gapply/language/english/help/ XoopsModules/gapply/releases/1.0/gapply/language/english/help/help.html XoopsModules/gapply/releases/1.0/gapply/language/english/help/index.html XoopsModules/gapply/releases/1.0/gapply/language/english/index.html XoopsModules/gapply/releases/1.0/gapply/language/english/main.php XoopsModules/gapply/releases/1.0/gapply/language/english/modinfo.php XoopsModules/gapply/releases/1.0/gapply/language/index.html XoopsModules/gapply/releases/1.0/gapply/language/italian/ XoopsModules/gapply/releases/1.0/gapply/language/italian/admin.php XoopsModules/gapply/releases/1.0/gapply/language/italian/blocks.php XoopsModules/gapply/releases/1.0/gapply/language/italian/help/ XoopsModules/gapply/releases/1.0/gapply/language/italian/help/help.html XoopsModules/gapply/releases/1.0/gapply/language/italian/help/index.html XoopsModules/gapply/releases/1.0/gapply/language/italian/index.html XoopsModules/gapply/releases/1.0/gapply/language/italian/main.php XoopsModules/gapply/releases/1.0/gapply/language/italian/modinfo.php XoopsModules/gapply/releases/1.0/gapply/map.php XoopsModules/gapply/releases/1.0/gapply/search.php XoopsModules/gapply/releases/1.0/gapply/sql/ XoopsModules/gapply/releases/1.0/gapply/sql/index.html XoopsModules/gapply/releases/1.0/gapply/templates/ XoopsModules/gapply/releases/1.0/gapply/templates/admin/ XoopsModules/gapply/releases/1.0/gapply/templates/admin/gapply_admin_about.html XoopsModules/gapply/releases/1.0/gapply/templates/admin/gapply_admin_help.html XoopsModules/gapply/releases/1.0/gapply/templates/admin/index.html XoopsModules/gapply/releases/1.0/gapply/templates/blocks/ XoopsModules/gapply/releases/1.0/gapply/templates/blocks/index.html XoopsModules/gapply/releases/1.0/gapply/templates/gapply_colorif.html XoopsModules/gapply/releases/1.0/gapply/templates/gapply_docsearch.html XoopsModules/gapply/releases/1.0/gapply/templates/gapply_earth.html XoopsModules/gapply/releases/1.0/gapply/templates/gapply_footer.html XoopsModules/gapply/releases/1.0/gapply/templates/gapply_header.html XoopsModules/gapply/releases/1.0/gapply/templates/gapply_index.html XoopsModules/gapply/releases/1.0/gapply/templates/gapply_map.html XoopsModules/gapply/releases/1.0/gapply/templates/gapply_search.html XoopsModules/gapply/releases/1.0/gapply/templates/index.html XoopsModules/gapply/releases/1.0/gapply/xoops_version.php XoopsModules/gapply/trunk/ XoopsModules/gapply/trunk/gapply/ Added: XoopsModules/gapply/releases/1.0/gapply/admin/about.php =================================================================== --- XoopsModules/gapply/releases/1.0/gapply/admin/about.php (rev 0) +++ XoopsModules/gapply/releases/1.0/gapply/admin/about.php 2012-03-14 18:40:46 UTC (rev 9130) @@ -0,0 +1,48 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * GAPPLY - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package gapply + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Thu 2012/03/08 9:02:38 : Timgno Exp $ + * **************************************************************************** + */ + + +include "admin_header.php"; +xoops_cp_header(); + +$aboutAdmin = new ModuleAdmin(); + +echo $aboutAdmin->addNavigation("about.php"); +echo $aboutAdmin->renderabout($GLOBALS['xoopsModuleConfig']['id_paypal'], false); + +include "admin_footer.php"; \ No newline at end of file Added: XoopsModules/gapply/releases/1.0/gapply/admin/admin_footer.php =================================================================== --- XoopsModules/gapply/releases/1.0/gapply/admin/admin_footer.php (rev 0) +++ XoopsModules/gapply/releases/1.0/gapply/admin/admin_footer.php 2012-03-14 18:40:46 UTC (rev 9130) @@ -0,0 +1,45 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * GAPPLY - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package gapply + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Thu 2012/03/08 9:02:38 : Timgno Exp $ + * **************************************************************************** + */ + +global $pathImageAdmin; +echo "<div align='center'><a href='http://www.xoops.org' target='_blank'> + <img src='".$pathImageAdmin."/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a></div>"; +echo "<div class='center smallsmall italic pad5'> + <strong>" . $xoopsModule->getVar('name') . "</strong> "._AM_GAPPLY_MAINTAINEDBY." + <a href='http://www.txmodxoops.org/modules/newbb/' title='Visit TXMod Xoops Community' class='tooltip' rel='external'>TXMod Xoops Community</a></div>"; +xoops_cp_footer(); Added: XoopsModules/gapply/releases/1.0/gapply/admin/admin_header.php =================================================================== --- XoopsModules/gapply/releases/1.0/gapply/admin/admin_header.php (rev 0) +++ XoopsModules/gapply/releases/1.0/gapply/admin/admin_header.php 2012-03-14 18:40:46 UTC (rev 9130) @@ -0,0 +1,93 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * GAPPLY - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package gapply + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Thu 2012/03/08 9:02:38 : Timgno Exp $ + * **************************************************************************** + */ + +include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; +include_once XOOPS_ROOT_PATH . '/include/cp_functions.php'; +include_once '../include/functions.php'; + +$pathDir = $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin'); +$globlang = $GLOBALS['xoopsConfig']['language']; + +if ( file_exists($pathDir.'/language/'.$globlang.'/main.php')){ + include_once $pathDir.'/language/'.$globlang.'/main.php'; + }else{ + include_once $pathDir.'/language/english/main.php'; + } + +if ( file_exists($pathDir.'/moduleadmin.php')){ + include_once $pathDir.'/moduleadmin.php'; + //return true; + }else{ + xoops_cp_header(); + echo xoops_error(_AM_ERROR_NOFRAMEWORKS); + xoops_cp_footer(); + //return false; + } +$dirname = basename(dirname(dirname( __FILE__ ) )); +$module_handler =& xoops_gethandler('module'); +$xoopsModule = & $module_handler->getByDirname($dirname); +$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); +$pathImageIcon = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16'); +$pathImageAdmin = XOOPS_URL .'/'. $moduleInfo->getInfo('icons32'); + +$myts =& MyTextSanitizer::getInstance(); + +if ($xoopsUser) { + $moduleperm_handler =& xoops_gethandler('groupperm'); + if (!$moduleperm_handler->checkRight('module_admin', $xoopsModule->getVar( 'mid' ), $xoopsUser->getGroups())) { + redirect_header(XOOPS_URL, 1, _NOPERM); + exit(); + } +} else { + redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM); + exit(); +} + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once(XOOPS_ROOT_PATH."/class/template.php"); + $xoopsTpl = new XoopsTpl(); +} + +$xoopsTpl->assign('pathImageIcon', $pathImageIcon); +$xoopsTpl->assign('pathImageAdmin', $pathImageAdmin); +//xoops_cp_header(); + +//Load languages +xoops_loadLanguage('admin', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('modinfo', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('main', $xoopsModule->getVar("dirname")); Added: XoopsModules/gapply/releases/1.0/gapply/admin/index.html =================================================================== --- XoopsModules/gapply/releases/1.0/gapply/admin/index.html (rev 0) +++ XoopsModules/gapply/releases/1.0/gapply/admin/index.html 2012-03-14 18:40:46 UTC (rev 9130) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/gapply/releases/1.0/gapply/admin/index.php =================================================================== --- XoopsModules/gapply/releases/1.0/gapply/admin/index.php (rev 0) +++ XoopsModules/gapply/releases/1.0/gapply/admin/index.php 2012-03-14 18:40:46 UTC (rev 9130) @@ -0,0 +1,48 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * GAPPLY - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package gapply + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Thu 2012/03/08 9:02:38 : Timgno Exp $ + * **************************************************************************** + */ + +include "admin_header.php"; +xoops_cp_header(); + + $indexAdmin = new ModuleAdmin(); + + echo $indexAdmin->addNavigation("index.php") ; + echo $indexAdmin->renderIndex(); + +include "admin_footer.php"; +?> \ No newline at end of file Added: XoopsModules/gapply/releases/1.0/gapply/admin/menu.php =================================================================== --- XoopsModules/gapply/releases/1.0/gapply/admin/menu.php (rev 0) +++ XoopsModules/gapply/releases/1.0/gapply/admin/menu.php 2012-03-14 18:40:46 UTC (rev 9130) @@ -0,0 +1,60 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * GAPPLY - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package gapply + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Thu 2012/03/08 9:02:38 : Timgno Exp $ + * **************************************************************************** + */ + + +$dirname = basename( dirname( dirname( __FILE__ ) ) ) ; + +$module_handler =& xoops_gethandler("module"); +$xoopsModule =& XoopsModule::getByDirname($dirname); +$moduleInfo =& $module_handler->get($xoopsModule->getVar("mid")); +$pathImageAdmin = $moduleInfo->getInfo("icons32"); + +$adminmenu = array(); + +$i = 1; +$adminmenu[$i]["title"] = _MI_GAPPLY_ADMENU1; +$adminmenu[$i]["link"] = "admin/index.php"; +//$adminmenu[$i]["desc"] = _MI_GAPPLY_ADMENU1_DESC; +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/home.png"; +$i++; +$adminmenu[$i]["title"] = _MI_GAPPLY_ADMENU2; +$adminmenu[$i]["link"] = "admin/about.php"; +//$adminmenu[$i]["desc"] = _MI_GAPPLY_ADMENU2_DESC; +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/about.png"; +unset( $i ); +?> \ No newline at end of file Added: XoopsModules/gapply/releases/1.0/gapply/blocks/index.html =================================================================== --- XoopsModules/gapply/releases/1.0/gapply/blocks/index.html (rev 0) +++ XoopsModules/gapply/releases/1.0/gapply/blocks/index.html 2012-03-14 18:40:46 UTC (rev 9130) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/gapply/releases/1.0/gapply/class/index.html =================================================================== --- XoopsModules/gapply/releases/1.0/gapply/class/index.html (rev 0) +++ XoopsModules/gapply/releases/1.0/gapply/class/index.html 2012-03-14 18:40:46 UTC (rev 9130) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/gapply/releases/1.0/gapply/colorif.php =================================================================== --- XoopsModules/gapply/releases/1.0/gapply/colorif.php (rev 0) +++ XoopsModules/gapply/releases/1.0/gapply/colorif.php 2012-03-14 18:40:46 UTC (rev 9130) @@ -0,0 +1,70 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * GAPPLY - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package gapply + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Thu 2012/03/08 9:02:38 : Timgno Exp $ + * **************************************************************************** + */ +include "header.php"; +global $xoopsTpl; +$xoopsOption["template_main"] = "gapply_colorif.html"; +include_once XOOPS_ROOT_PATH."/header.php"; +// Include Styles +$xoTheme->addStylesheet($style); +// Include Scripts +$xoTheme->addScript($jq); +// Menu Toolbar +$toolbar['toolbar'] = gapply_toolbar(); +$xoopsTpl->assign('toolbar', $toolbar); +//keywords +$keywords = $xoopsModuleConfig['keywords']; +$xoTheme->addMeta("meta", "keywords", $keywords); +//description +$xoTheme->addMeta("meta", "description", _MD_GAPPLY_COLORIF_DESC); + +$xoopsTpl->assign('lang_title', _MD_GAPPLY_COLORIF_TITLE); +$xoopsTpl->assign('lang_desc', _MD_GAPPLY_COLORIF_DESC); +$xoopsTpl->assign('adv', $xoopsModuleConfig['advertise']); +$key = $xoopsModuleConfig['apikey']; + +$xoTheme->addScript('http://www.google.com/jsapi?key='.$key); +$xoTheme->addScript('modules/gapply/js/gcolorif.js'); +$xoTheme->addStylesheet('modules/gapply/css/gcolorif.css'); + +$xoopsTpl->assign("mod_url", $mod_url); +$xoopsTpl->assign("mod_img", $mod_img); +$xoopsTpl->assign("mod_name", $mod_name); +$xoopsTpl->assign("admin", $mod_admin); +$xoopsTpl->assign("copyright", $mod_copyright); +include_once XOOPS_ROOT_PATH."/footer.php"; +?> \ No newline at end of file Added: XoopsModules/gapply/releases/1.0/gapply/css/gcolorif.css =================================================================== --- XoopsModules/gapply/releases/1.0/gapply/css/gcolorif.css (rev 0) +++ XoopsModules/gapply/releases/1.0/gapply/css/gcolorif.css 2012-03-14 18:40:46 UTC (rev 9130) @@ -0,0 +1,24 @@ +table, p{ + background: #FFFFFF; + font: 12px Verdana, sans-serif; +} + +.gsc-trailing-more-results { + display: none; +} + +.gsc-resultsHeader { + display: none; +} + +.gsc-results { + padding-left: 20px; +} + +.gsc-control { + width: 650px; +} + +.gsc-tabsArea { + margin-bottom: 5px; +} \ No newline at end of file Added: XoopsModules/gapply/releases/1.0/gapply/css/index.html =================================================================== --- XoopsModules/gapply/releases/1.0/gapply/css/index.html (rev 0) +++ XoopsModules/gapply/releases/1.0/gapply/css/index.html 2012-03-14 18:40:46 UTC (rev 9130) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/gapply/releases/1.0/gapply/css/style.css =================================================================== --- XoopsModules/gapply/releases/1.0/gapply/css/style.css (rev 0) +++ XoopsModules/gapply/releases/1.0/gapply/css/style.css 2012-03-14 18:40:46 UTC (rev 9130) @@ -0,0 +1,37 @@ +@charset "UTF-8"; +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * - Revision By TXMod Xoops (http://www.txmodxoops.org) + * **************************************************************************** + * CODELINK - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * --------------------------------------------------------------------------- + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package codelink + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.36 Mon 2012/01/09 14:23:56 : Timgno Exp $ + * **************************************************************************** + */ + Added: XoopsModules/gapply/releases/1.0/gapply/docs/changelog.txt =================================================================== --- XoopsModules/gapply/releases/1.0/gapply/docs/changelog.txt (rev 0) +++ XoopsModules/gapply/releases/1.0/gapply/docs/changelog.txt 2012-03-14 18:40:46 UTC (rev 9130) @@ -0,0 +1,5 @@ + +==================================== + 2012/03/08 9:02:38 Version 1.01 +==================================== + - Original release gapply (TXMod Xoops) Added: XoopsModules/gapply/releases/1.0/gapply/docs/credits.txt =================================================================== --- XoopsModules/gapply/releases/1.0/gapply/docs/credits.txt (rev 0) +++ XoopsModules/gapply/releases/1.0/gapply/docs/credits.txt 2012-03-14 18:40:46 UTC (rev 9130) @@ -0,0 +1,4 @@ +Read Me First +============= + +Please make sure that you download the XOOPS Icon Set, and upload it to uploads/images directory \ No newline at end of file Added: XoopsModules/gapply/releases/1.0/gapply/docs/index.html =================================================================== --- XoopsModules/gapply/releases/1.0/gapply/docs/index.html (rev 0) +++ XoopsModules/gapply/releases/1.0/gapply/docs/index.html 2012-03-14 18:40:46 UTC (rev 9130) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/gapply/releases/1.0/gapply/docs/install.txt =================================================================== --- XoopsModules/gapply/releases/1.0/gapply/docs/install.txt (rev 0) +++ XoopsModules/gapply/releases/1.0/gapply/docs/install.txt 2012-03-14 18:40:46 UTC (rev 9130) @@ -0,0 +1,4 @@ +Read Me First +============= + +Please make sure that you download the XOOPS Icon Set, and upload it to uploads/images directory \ No newline at end of file Added: XoopsModules/gapply/releases/1.0/gapply/docs/lang_diff.txt =================================================================== --- XoopsModules/gapply/releases/1.0/gapply/docs/lang_diff.txt (rev 0) +++ XoopsModules/gapply/releases/1.0/gapply/docs/lang_diff.txt 2012-03-14 18:40:46 UTC (rev 9130) @@ -0,0 +1,4 @@ +Read Me First +============= + +Please make sure that you download the XOOPS Icon Set, and upload it to uploads/images directory \ No newline at end of file Added: XoopsModules/gapply/releases/1.0/gapply/docs/licence.txt =================================================================== --- XoopsModules/gapply/releases/1.0/gapply/docs/licence.txt (rev 0) +++ XoopsModules/gapply/releases/1.0/gapply/docs/licence.txt 2012-03-14 18:40:46 UTC (rev 9130) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + 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. + + 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., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: XoopsModules/gapply/releases/1.0/gapply/docs/readme.txt =================================================================== --- XoopsModules/gapply/releases/1.0/gapply/docs/readme.txt (rev 0) +++ XoopsModules/gapply/releases/1.0/gapply/docs/readme.txt 2012-03-14 18:40:46 UTC (rev 9130) @@ -0,0 +1,4 @@ +Read Me First +============= + +Please make sure that you download the XOOPS Icon Set, and upload it to uploads/images directory \ No newline at end of file Added: XoopsModules/gapply/releases/1.0/gapply/docsearch.php =================================================================== --- XoopsModules/gapply/releases/1.0/gapply/docsearch.php (rev 0) +++ XoopsModules/gapply/releases/1.0/gapply/docsearch.php 2012-03-14 18:40:46 UTC (rev 9130) @@ -0,0 +1,98 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * GAPPLY - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package gapply + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Thu 2012/03/08 9:02:38 : Timgno Exp $ + * **************************************************************************** + */ +include "header.php"; +global $xoopsTpl; +$xoopsOption["template_main"] = "gapply_docsearch.html"; +include_once XOOPS_ROOT_PATH."/header.php"; +// Include Styles +$xoTheme->addStylesheet($style); +// Include Scripts +$xoTheme->addScript($jq); +// Menu Toolbar +$toolbar['toolbar'] = gapply_toolbar(); +$xoopsTpl->assign('toolbar', $toolbar); +// +$default = $xoopsModuleConfig['default']; +//keywords +$keywords = $xoopsModuleConfig['keywords']; +$keywords .= substr($keywords, 0); +$xoTheme->addMeta('meta', 'keywords', $keywords); +//description +$xoTheme->addMeta('meta', 'description', _MD_GAPPLY_DOCSEARCH_DESC); + +$xoopsTpl->assign('lang_title', _MD_GAPPLY_DOCSEARCH_TITLE); +$xoopsTpl->assign('lang_desc', _MD_GAPPLY_DOCSEARCH_DESC); + +$gkey = $xoopsModuleConfig['apikey']; +$xoTheme->addScript('http://www.google.com/jsapi?key='.$gkey); +$xoTheme->addScript('', '', '//<![CDATA[ + google.load(\'search\', \'1\'); + + function OnLoad() { + + // create a search control + var searchControl = new google.search.SearchControl(); + + // web search, open, alternate root + var options = new google.search.SearcherOptions(); + options.setExpandMode(google.search.SearchControl.EXPAND_MODE_OPEN); + options.setRoot(document.getElementById("somewhere_else")); + searchControl.addSearcher(new google.search.BookSearch(), options); + searchControl.addSearcher(new google.search.ImageSearch(), options); + + searchControl.addSearcher(new google.search.LocalSearch()); + searchControl.addSearcher(new google.search.BlogSearch()); + searchControl.addSearcher(new google.search.VideoSearch()); + searchControl.addSearcher(new google.search.PatentSearch()); + + // tell the searcher to draw itself and tell it where to attach + searchControl.draw(document.getElementById("search_control")); + + // execute an inital search + searchControl.execute("'.$default.'"); + } + google.setOnLoadCallback(OnLoad); + //]]> +'); +//advertise +$xoopsTpl->assign('adv', $xoopsModuleConfig['advertise']); +$xoopsTpl->assign('copyright', $mod_copyright); +$xoopsTpl->assign('admin', $mod_admin); + +include_once XOOPS_ROOT_PATH."/footer.php"; +?> \ No newline at end of file Added: XoopsModules/gapply/releases/1.0/gapply/earth.php =================================================================== --- XoopsModules/gapply/releases/1.0/gapply/earth.php (rev 0) +++ XoopsModules/gapply/releases/1.0/gapply/earth.php 2012-03-14 18:40:46 UTC (rev 9130) @@ -0,0 +1,70 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * GAPPLY - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package gapply + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Thu 2012/03/08 9:02:38 : Timgno Exp $ + * **************************************************************************** + */ +include("header.php"); +$xoopsOption['template_main'] = "gapply_earth.html"; +include(XOOPS_ROOT_PATH."/header.php"); +// Include Styles +$xoTheme->addStylesheet($style); +// Include Scripts +$xoTheme->addScript($jq); +// Menu Toolbar +$toolbar['toolbar'] = gapply_toolbar(); +$xoopsTpl->assign('toolbar', $toolbar); +//keywords - description +$xoTheme->addMeta('meta', 'keywords', $xoopsModuleConfig['keywords']); +$xoTheme->addMeta('meta', 'description', _MI_GAPPLY_EARTH_DESC); + +$xoopsTpl->assign('lang_title', _MD_GAPPLY_EARTH_TITLE); +$xoopsTpl->assign('lang_desc', _MD_GAPPLY_EARTH_DESC); +// Width - Height Earth +$width = (isset($_GET['width'])) ? intval($_GET['width']) : $xoopsModuleConfig['width']; +$height = (isset($_GET['height'])) ? intval($_GET['height']) : $xoopsModuleConfig['height']; +// Google API Resource +$xoTheme->addScript('http://www.google.com/jsapi?key='.$xoopsModuleConfig['apikey']); +$script = XOOPS_URL.'/modules/gapply/js/gearth.js'; +$xoTheme->addScript($script); + +$xoopsTpl->assign('width', $width); +$xoopsTpl->assign('height', $height); +$xoopsTpl->assign('adv', $xoopsModuleConfig['advertise']); +// Config Main +$xoopsTpl->assign('mod_img', $mod_img); +$xoopsTpl->assign('admin', $mod_admin); +$xoopsTpl->assign('copyright', $mod_copyright); +include_once XOOPS_ROOT_PATH."/footer.php"; +?> \ No newline at end of file Added: XoopsModules/gapply/releases/1.0/gapply/header.php =================================================================== --- XoopsModules/gapply/releases/1.0/gapply/header.php (rev 0) +++ XoopsModules/gapply/releases/1.0/gapply/header.php 2012-03-14 18:40:46 UTC (rev 9130) @@ -0,0 +1,47 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * GAPPLY - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package gapply + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Thu 2012/03/08 9:02:38 : Timgno Exp $ + * **************************************************************************** + */ + +include "../../mainfile.php"; +global $xoopsConfig, $xoopsModule; +include XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar('dirname')."/include/configs.php"; +include XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar('dirname')."/include/functions.php"; +$myts =& MyTextSanitizer::getInstance(); +$jq = "modules/".$xoopsModule->getVar('dirname')."/js/jq.init.js"; +$style = "modules/".$xoopsModule->getVar('dirname')."/css/style.css"; +if(file_exists($style)); {return true;} +?> \ No newline at end of file Added: XoopsModules/gapply/releases/1.0/gapply/images/gapply_slogo.png =================================================================== (Binary files differ) Property changes on: XoopsModules/gapply/releases/1.0/gapply/images/gapply_slogo.png ___________________________________________________________________ Added: svn:m... [truncated message content] |
From: <be...@us...> - 2012-03-14 10:17:31
|
Revision: 9129 http://xoops.svn.sourceforge.net/xoops/?rev=9129&view=rev Author: beckmi Date: 2012-03-14 10:17:18 +0000 (Wed, 14 Mar 2012) Log Message: ----------- Converting to XOOPS 2.5.x Admin GUI Modified Paths: -------------- XoopsModules/xroster/trunk/xroster/admin/index.php XoopsModules/xroster/trunk/xroster/admin/menu.php XoopsModules/xroster/trunk/xroster/blocks/xroster_blocks.php XoopsModules/xroster/trunk/xroster/common.inc.php XoopsModules/xroster/trunk/xroster/index.php XoopsModules/xroster/trunk/xroster/language/english/main.php XoopsModules/xroster/trunk/xroster/language/english/modinfo.php XoopsModules/xroster/trunk/xroster/xoops_version.php XoopsModules/xroster/trunk/xroster/xroster.png Added Paths: ----------- XoopsModules/xroster/trunk/xroster/admin/about.php XoopsModules/xroster/trunk/xroster/admin/admin_footer.php XoopsModules/xroster/trunk/xroster/admin/admin_header.php XoopsModules/xroster/trunk/xroster/admin/main.php XoopsModules/xroster/trunk/xroster/docs/ XoopsModules/xroster/trunk/xroster/docs/changelog.txt XoopsModules/xroster/trunk/xroster/docs/credits.txt XoopsModules/xroster/trunk/xroster/docs/index.html XoopsModules/xroster/trunk/xroster/docs/install.txt XoopsModules/xroster/trunk/xroster/docs/lang_diff.txt XoopsModules/xroster/trunk/xroster/docs/licence.txt XoopsModules/xroster/trunk/xroster/docs/readme.txt XoopsModules/xroster/trunk/xroster/language/english/admin.php XoopsModules/xroster/trunk/xroster/language/english/help/ XoopsModules/xroster/trunk/xroster/language/english/help/help.html XoopsModules/xroster/trunk/xroster/language/english/help/index.html Removed Paths: ------------- XoopsModules/xroster/trunk/xroster/images/Thumbs.db Added: XoopsModules/xroster/trunk/xroster/admin/about.php =================================================================== --- XoopsModules/xroster/trunk/xroster/admin/about.php (rev 0) +++ XoopsModules/xroster/trunk/xroster/admin/about.php 2012-03-14 10:17:18 UTC (rev 9129) @@ -0,0 +1,31 @@ +<?php +/** + * XOOPS Profile 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 GNU GPL (http://www.gnu.org/licenses/gpl-2.0.html/) + * @package xoopsPoll + * @since 2.5.0 + * @author Mage, Mamba + * @version $Id $ + **/ + +include '../../../include/cp_header.php'; +include 'admin_header.php'; +xoops_cp_header(); + +$module_info =& $module_handler->get($xoopsModule->getVar("mid")); + +$aboutAdmin = new ModuleAdmin(); + +echo $aboutAdmin->addNavigation('about.php'); +echo $aboutAdmin->renderabout('6KJ7RW5DR3VTJ', false); + +include 'admin_footer.php'; \ No newline at end of file Added: XoopsModules/xroster/trunk/xroster/admin/admin_footer.php =================================================================== --- XoopsModules/xroster/trunk/xroster/admin/admin_footer.php (rev 0) +++ XoopsModules/xroster/trunk/xroster/admin/admin_footer.php 2012-03-14 10:17:18 UTC (rev 9129) @@ -0,0 +1,27 @@ +<?php +/** + * Marquee 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.gnu.org/licenses/gpl-2.0.html GNU Public License + * @package Marquee + * @since 2.5.0 + * @author Mamba (www.xoops.org) + * @version $Id $ +**/ + +echo "<div class='adminfooter'>\n" + ." <div style='text-align: center;'>\n" + ." <a href='http://www.xoops.org' target='_blank'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" + ." </div>\n" + ." " . _AM_ADMIN_FOOTER . "\n" + ."</div>"; + +xoops_cp_footer(); \ No newline at end of file Added: XoopsModules/xroster/trunk/xroster/admin/admin_header.php =================================================================== --- XoopsModules/xroster/trunk/xroster/admin/admin_header.php (rev 0) +++ XoopsModules/xroster/trunk/xroster/admin/admin_header.php 2012-03-14 10:17:18 UTC (rev 9129) @@ -0,0 +1,25 @@ +<?php + +$path = dirname(dirname(dirname(dirname(__FILE__)))); +include_once $path . '/mainfile.php'; +include_once $path . '/include/cp_functions.php'; +require_once $path . '/include/cp_header.php'; + +global $xoopsModule; + +$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname'); + +// Load language files +xoops_loadLanguage('admin', $thisModuleDir); +xoops_loadLanguage('modinfo', $thisModuleDir); +xoops_loadLanguage('main', $thisModuleDir); + +$pathIcon16 = '../'.$xoopsModule->getInfo('icons16'); +$pathIcon32 = '../'.$xoopsModule->getInfo('icons32'); +$pathModuleAdmin = $xoopsModule->getInfo('dirmoduleadmin'); + +if ( file_exists($GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); + }else{ + redirect_header("../../../admin.php", 5, _AM_MODULEADMIN_MISSING, false); + } \ No newline at end of file Modified: XoopsModules/xroster/trunk/xroster/admin/index.php =================================================================== --- XoopsModules/xroster/trunk/xroster/admin/index.php 2012-03-14 10:13:12 UTC (rev 9128) +++ XoopsModules/xroster/trunk/xroster/admin/index.php 2012-03-14 10:17:18 UTC (rev 9129) @@ -1,391 +1,53 @@ <?php +// $Id: index.php 8066 2011-11-06 05:09:33Z beckmi $ +// ------------------------------------------------------------------------ // +// 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 // +// ------------------------------------------------------------------------ // +// Author: Raul Recio (AKA UNFOR) // +// Project: The XOOPS Project // +// ------------------------------------------------------------------------- // -$xRoster_mydir = dirname(__FILE__); -require_once "$xRoster_mydir/../../../include/cp_header.php"; -require_once file_exists("$xRoster_mydir/../language/" . $xoopsConfig['language'] . '/main.php') - ? "$xRoster_mydir/../language/" . $xoopsConfig['language'] . '/main.php' - : "$xRoster_mydir/../language/english/main.php"; -require_once "$xRoster_mydir/../common.inc.php"; +include_once 'admin_header.php'; +xoops_cp_header(); -function xRoster_AdminHeader(){ - global $xoopsModule; - xoops_cp_header(); - printf(_MD_ADMINWELCOME, $xoopsModule->getVar('name')); - echo '<p align="center"><b><a href="', XOOPS_URL, '/modules/system/admin.php?fct=preferences&op=showmod&mod=', $xoopsModule->getVar('mid'), '">', _MD_PREFERENCES, '</a></b> - | <a href="index.php?op=members_add">', _MD_ADDMEMBER, '</a> - | <a href="index.php?op=members_approve">', _MD_NEWMEMBERS, '</a> - | <a href="index.php?op=members_list">', _MD_MEMBERS, '</a><br> - <a href="index.php?op=Title_Editor">', _MD_TITLEEDITOR, '</a> - | <a href="index.php?op=Title_Editor&t_action=add">', _MD_ADDTITLE, '</a> - | <a href="index.php?op=Group_Editor">', _MD_GROUPEDITOR, '</a> - | <a href="index.php?op=Group_Editor&g_action=add">', _MD_ADDGROUP, '</a> - | <a href="index.php?op=Category_Editor">', _MD_CATEGORYEDITOR, '</a> - | <a href="index.php?op=Category_Editor&c_action=add">', _MD_ADDCATEGORY, '</a></p>'; -} +$indexAdmin = new ModuleAdmin(); +//----------------------- +// $xpPartnerHandler =& xoops_getmodulehandler('partners', $xoopsModule->getVar('dirname')); -function Members_Edit($id = 0) { - global $xoopsDB, $xRosterList_connspeed, $xRosterList_ahour, $xRosterList_weapon, $xRosterList_imnetworks; - if($id) { - $result = xRoster_Query("SELECT * FROM {xRoster} WHERE id = $id"); - if(!($member = $xoopsDB->fetchArray($result))) return false; - $member['since'] = formatTimestamp($member['since'], 's'); - } else - $member = array('member' => 1, 'since' => formatTimestamp(time(), 's')); - $result = xRoster_Query('SELECT id, name FROM {xRoster_titles} ORDER BY weight, name'); - while($row = $xoopsDB->fetchArray($result)) - $titles[$row['id']] = $row['name']; - // Here comes the form - echo '<form method="post"> - <input type="hidden" name="id" value="' . $id . '"> - <input type="hidden" name="op" value="members_update"> - <table cellspacing="8" cellpadding="8" class="outer">'; - echo '<tr><td>', _MD_REALNAME, '</td><td><input type="text" name="realname" value="', $member['realname'], '"></td></tr>'; - echo '<tr><td>', _MD_NAME, '</td><td><input type="text" name="membername" value="', $member['membername'], '"></td></tr>'; - echo '<tr><td>', _MD_EMAIL, '</td><td><input type="text" name="email" value="', $member['email'], '"></td></tr>'; - echo '<tr><td>', _MD_AGE, '</td><td><input type="text" name="age" value="', $member['age'], '"></td></tr>'; - echo '<tr><td>', _MD_CATEGORY, '</td><td>', xRoster_SQLDropDown('SELECT id, name FROM {xRoster_categories} ORDER BY weight, name', 'cid', $member['cid']), '</td></tr>'; - echo '<tr><td>', _MD_GROUP, '</td><td>', xRoster_SQLDropDown('SELECT id, name FROM {xRoster_groups} ORDER BY weight, name', 'gid', $member['gid']), '</td></tr>'; - echo '<tr><td>', _MD_LOCATION, '</td><td>', xRoster_LocationDropDown($member['location'] ? $member['location'] : 'US'), '</td></tr>'; - echo '<tr><td>', _MD_CONNECTION, '</td><td>', xRoster_DropDown('connection', $xRosterList_connspeed + array(_MD_OTHER=>_MD_OTHER), $member['connection']), '</td></tr>'; - echo '<tr><td>', _MD_AVAILABLEHOURS, '</td><td>', xRoster_DropDown('ahours', $xRosterList_ahour + array(_MD_TOOMANYHOURS=>_MD_TOOMANYHOURS), $member['ahours']), '</td></tr>'; - echo '<tr><td>', _MD_PRIMARYWEAPON, '</td><td>', xRoster_DropDown('pweapon', $xRosterList_weapon, $member['pweapon']), '</td></tr>'; - echo '<tr><td>', _MD_SECONDARYWEAPON, '</td><td>', xRoster_DropDown('sweapon', $xRosterList_weapon, $member['sweapon']), '</td></tr>'; - echo '<tr><td colspan="2">', _MD_CLANBEFORE, ' ', xRoster_YNDropDown('clan_before', $member['clan_before']), '</td></tr>'; - echo '<tr><td colspan="2">', _MD_NOTE3, '<br><textarea rows="3" name="why_play">', $member['why_play'], '</textarea></td></tr>'; - echo '<tr><td colspan="2">', _MD_NOTE4, '<br><textarea rows="3" name="skills_talents">', $member['skills_talents'], '</textarea></td></tr>'; - echo '<tr><td colspan="2">', _MD_NOTE1, '<br><textarea rows="3" name="additional_comments">', $member['additional_comments'], '</textarea></td></tr>'; - echo '<tr><td>', _MD_TITLE, '</td><td>', xRoster_DropDown('tid', $titles, $member['tid'], true), '</td></tr>'; - echo '<tr><td>', _MD_IMAGEPATH, '</td><td><input type="text" name="picture" value="', $member['picture'], '"></td></tr>'; - echo '<tr><td>', _MD_WEBSITENAME, '</td><td><input type="text" name="sitename" value="', $member['sitename'], '"></td></tr>'; - echo '<tr><td>', _MD_WEBSITEURL, '</td><td><input type="text" name="siteurl" value="', $member['siteurl'], '"></td></tr>'; - echo '<tr><td>', _MD_IMNETWORK, '</td><td>', xRoster_DropDown('impref', $xRosterList_imnetworks, $member['impref']), '</td></tr>'; - echo '<tr><td>', _MD_IMID, '</td><td><input type="text" name="imid" value="', $member['imid'], '"></td></tr>'; - echo '<tr><td colspan="2">', _MD_NOTE5, '<br><textarea rows="3" name="additional_info">', $member['additional_info'], '</textarea></td></tr>'; - echo '<tr><td>', _MD_SINCE, '</td><td>', $member['since'], '</td></tr>'; - echo '<tr><td colspan="2">', _MD_APPROVED, ' ', xRoster_YNDropDown('member', $member['member']), '</td></tr>'; - echo '<tr><td align="center" colspan="2"><input type="submit" value="', _MD_UPDATE, '"></td></tr> - </table><form>'; -} +// $totalPartners = $xpPartnerHandler->getCount(); +// $totalNonActivePartners = $xpPartnerHandler->getCount(new Criteria('status', 0, '=')); +// $totalActivePartners = $totalPartners - $totalNonActivePartners; -function Members_List($op = 1) { - $db =& Database::getInstance(); - $result = xRoster_Query("SELECT m.id, m.membername, m.member, t.name AS title, g.name AS xgroup, c.name AS game - FROM {xRoster} m - LEFT JOIN {xRoster_titles} t ON m.tid = t.id - LEFT JOIN {xRoster_groups} g ON m.gid = g.id - LEFT JOIN {xRoster_categories} c ON m.cid = c.id - WHERE m.member = $op ORDER BY c.weight, g.weight, t.weight, m.membername"); - if($db->getRowsNum($result)) { - echo '<table cellspacing="0" cellpadding="8" class="outer">'; - $last_game = ''; - $last_group = ''; - while($member = $db->fetchArray($result)) { - if($last_game != $member['game']) { - echo '<tr><td colspan="4"><h3>', $member['game'], '</h3></td></tr>'; - $last_game = $member['game']; - } - if($last_group != $member['xgroup'] || $last_game != $member['game']) { - echo '<tr><td colspan="4"><h4>', $member['xgroup'], '</h4></td></tr>'; - echo '<tr bgcolor="#cccccc"><td> </td><td><strong>', _MD_MEMBERNAME, '</strong></td><td><strong>', _MD_MEMBERTITLE, '</strong></td><td> </td></tr>'; - $last_group = $member['xgroup']; - } - echo '<tr bgcolor="#eeeeee"><td><a href="?op=members_edit&action=edit&id=', $member['id'], '">', _MD_EDIT, '</a></td> - <td>', $member['membername'], '</td> - <td>', $member['title'], '</td> - <td><a href="?op=members_delete&action=confirm&id=', $member['id'], '">', _MD_DELETE, '</a> - | <a href="?op=members_approve&action=approve&id=', $member['id'], '&subaction=', $member['member'] ? '0' : '1', '">', !$member['member'] ? _MD_APPROVE : _MD_DISAPPROVE, '</a>', - '</td></tr>'; - } - echo '</table>'; - } else - echo '<p align="center">', $op == 0 ? _MD_NOAPPLICANTS : _MD_NOMEMBERS, '</p>'; -} +// $indexAdmin->addInfoBox(_MD_XPARTNERS_DASHBOARD); -function Members_Delete($id){ - $result = xRoster_Query('DELETE FROM {xRoster} WHERE id=%u', $id); - redirect_header('index.php?op=members_list', 1, _MD_MEMBERDELETED); -} +// $indexAdmin->addInfoBoxLine(_MD_XPARTNERS_DASHBOARD, "<infolabel>" ._MD_XPARTNERS_TOTALACTIVE. "</infolabel>", $totalActivePartners, 'Green'); +// $indexAdmin->addInfoBoxLine(_MD_XPARTNERS_DASHBOARD, "<infolabel>" ._MD_XPARTNERS_TOTALNONACTIVE. "</infolabel>", $totalNonActivePartners, 'Red'); +// $indexAdmin->addInfoBoxLine(_MD_XPARTNERS_DASHBOARD, "<infolabel>" ._MD_XPARTNERS_TOTALPARTNERS. "</infolabel><infotext>", $totalPartners."</infotext>"); +//---------------------------- -function Members_Approve($id, $action = 1){ - $action = (int)$action ? 1 : 0; - $result = xRoster_Query('UPDATE {xRoster} SET member=%u, since=%u WHERE id=%u', $action, time(), $id); - redirect_header('index.php?op=members_list', 1, _MD_MEMBERUPDATED); -} +echo $indexAdmin->addNavigation('index.php'); +echo $indexAdmin->renderIndex(); -function Group_Editor($g_action = '', $id = 0) { - $db =& Database::getInstance(); - switch($g_action) { - case 'delete': - $result = xRoster_Query('SELECT count(*) AS c FROM {xRoster} WHERE gid=%u', $id); - $row = $db->fetchArray($result); - if($row['c'] == 0) - $result = xRoster_Query('DELETE FROM {xRoster_groups} WHERE id=%u', $id); - else - printf('<br><br>' . _MD_CANTDELETEGROUP, $row['c']); - redirect_header('index.php?op=Group_Editor', 1, _MD_GROUPDELETED); - break; - case 'insert': - $sql = 'INSERT INTO {xRoster_groups} (name, weight) VALUES (%s, %u)'; - case 'update': - $name = xRoster_PostVar('name'); - $weight = xRoster_PostVar('weight'); - if(!isset($sql)) - $result = xRoster_Query('UPDATE {xRoster_groups} SET name=%s, weight=%u WHERE ID=%u', $name, $weight, $id); - else - $result = xRoster_Query($sql, $name, $weight); - redirect_header('index.php?op=Group_Editor', 1, _MD_GROUPUPDATED); - break; - case 'edit': - $form_params = array('id'=>$id, 'g_action'=>'update', 'btn_label'=>_MD_UPDATE); - $result = xRoster_Query('SELECT * FROM {xRoster_groups} WHERE id=%u', $id); - if($row = $db->fetchArray($result)) { - $name = $row['name']; - $weight = $row['weight']; - } - case 'add': - if(!isset($form_params)) - $form_params = array('id'=>0, 'g_action'=>'insert', 'btn_label'=>_MD_INSERT); - echo '<form method="post">'; - if($form_params['id']) - echo '<input type="hidden" name="id" value="', $form_params['id'], '">'; - echo '<input type="hidden" name="g_action" value="', $form_params['g_action'], '"> - <table cellspacing="0" cellpadding="8" class="outer"> - <tr><td>', _MD_GROUPNAME, '</td><td><input type="text" name="name" value="', $name, '"></td></tr> - <tr><td>', _MD_WEIGHT, '</td><td><input type="text" name="weight" value="', $weight, '" size="4" maxlength="3"></td></tr> - <tr><td> </td><td><input type="submit" value="', $form_params['btn_label'], '"></td></tr> - </table><form>'; - break; - default: - $result = xRoster_Query('SELECT * FROM {xRoster_groups} ORDER BY weight, name'); - if($db->getRowsNum($result)) { - echo '<table cellspacing="0" cellpadding="8" class="outer" bgcolor="#eeeeee">'; - while($row = $db->fetchArray($result)) { - echo '<tr><td><a href="?op=Group_Editor&g_action=edit&id=', $row['id'], '">', _MD_EDIT, '</a></td> - <td>', $row['name'], '</td><td>', $row['weight'], '</td> - <td><a href="?op=Group_Editor&g_action=delete&id=', $row['id'], '">', _MD_DELETE, '</a></td></tr>'; - } - echo '</table>'; - } else - echo '<p align="center">', _MD_NOGROUPS, '</p>'; - break; - } -} - -function Category_Editor($c_action, $id, $name, $weight, $active = 1){ - $db =& Database::getInstance(); - switch($c_action) { - case 'delete': - $result = xRoster_Query('SELECT count(*) as count FROM {xRoster} WHERE cid=%u', $id); - $row = $db->fetchArray($result); - if($row['count'] == 0) { - xRoster_Query('DELETE FROM {xRoster_categories} WHERE ID=%u', $id); - redirect_header('index.php?op=Category_Editor', 1, _MD_CATEGORYDELETED); - } else - printf('<br><br>' . _MD_CANTDELECATEGORY, $row['count']); - break; - case 'update': - $result = xRoster_Query("UPDATE {xRoster_categories} SET name=%s, weight=%u, active=%u WHERE ID=%u", $name, $weight, $active, $id); - redirect_header("index.php?op=Category_Editor", 1, _MD_CATEGORYUPDATED); - break; - case 'insert': - $result = xRoster_Query("INSERT INTO {xRoster_categories} (name, weight, active) VALUES (%s, %u, %u)", $name, $weight, $active); - redirect_header('index.php?op=Category_Editor', 1, _MD_CATEGORYINSERTED); - break; - case 'add': case 'edit': - echo '<p> - <form method="post"> - <input type="hidden" name="c_action" value="', $c_action == 'edit' ? 'update' : 'insert', '">', - $c_action == 'edit' ? '<input type="hidden" name="id" value="' . $id . '">' : '', - '<table cellspacing=0 cellpadding=8 class="outer"> - <tr><td>', _MD_CATEGORYNAME, '</td><td><input type="text" name="name" value="', $name, '"></td></tr> - <tr><td>', _MD_WEIGHT, '</td><td><input type="text" name="weight" value="', $weight, '"></td></tr> - <tr><td>', _MD_ACTIVE, '</td><td>', xRoster_YNDropDown('active', $active), '</td></tr> - <tr><td> </td><td><input type="submit" value="', $c_action == 'edit' ? _MD_UPDATE : _MD_INSERT, '"> - </td></tr> - </table> - <form>'; - break; - default: - $result = xRoster_Query('SELECT id, name, weight, active FROM {xRoster_categories} ORDER BY weight'); - if($db->getRowsNum($result) > 0) { - echo '<p><table cellspacing="0" cellpadding="8" class="outer"> - <tr bgcolor="#cccccc"><td> </td><td>', _MD_CATEGORYNAME, '</td><td>', _MD_WEIGHT, '</td><td>', _MD_ACTIVE, '</td><td> </td></tr>'; - while($row = $db->fetchArray($result)) { - echo '<tr bgcolor="#eeeeee"> - <td><a href="?op=Category_Editor&c_action=edit&id=', $row['id'], '&name=', $row['name'], '&weight=', $row['weight'], '&active=', $row['active'], '">', _MD_EDIT, '</a></td> - <td>', $row['name'], '</td><td>', $row['weight'], '</td> - <td>', $row['active'] ? _YES : _NO, '</td> - <td><a href="?op=Category_Editor&c_action=delete&id=', $row['id'], '">', _MD_DELETE, '</a></td></tr>'; - } - echo '</table>'; - } else - echo '<p align="center">', _MD_NOCATEGORIES, '</p>'; - break; - } -} - -/******************************************************************************/ -/******************************************************************************/ -/******************************************************************************/ - -function Title_Editor($t_action, $id, $name, $weight){ - $db =& Database::getInstance(); - switch($t_action){ - case "delete": - $result = xRoster_Query('SELECT count(*) as count FROM {xRoster} WHERE tid=%u', $id); - $row = $db->fetchArray($result); - if($row['count'] == 0) - xRoster_Query('DELETE FROM {xRoster_titles} WHERE ID=%u', $id); - else - printf('<br><br>' . _MD_CANTDELETETITLE, $row['count']); - redirect_header('index.php?op=Title_Editor', 1, _MD_TITLEDELETED); - break; - case "update": - $sql = "UPDATE " . $db->prefix("xRoster_titles") . " SET name='$name',weight=$weight WHERE ID=$id"; - if ( !$result = $db->query($sql) ) { - exit("Error in admin/index.php :: Title_Editor($t_action,$id,$name,$weight)"); - } - redirect_header("index.php?op=Title_Editor", 1, _MD_TITLEUPDATED); - break; - case "insert": - $sql = "INSERT INTO " . $db->prefix("xRoster_titles") . " (name,weight) VALUES ('$name',$weight)"; - if ( !$result = $db->query($sql) ) { - exit("Error in admin/index.php :: Title_Editor($t_action,$id,$name,$weight)"); - } - redirect_header("index.php?op=Title_Editor", 1, _MD_TITLEINSERTED); - break; - case "add": - echo("<p>"); - echo("<form method=post>"); - echo("<input type=\"hidden\" name=\"t_action\" value=\"insert\">"); - echo("<table cellspacing=0 cellpadding=8 class=\"outer\">"); - echo("<tr><td>"._MD_TITLENAME."</td><td><input type=\"text\" name=\"name\" value=\"".$name."\"></td></tr>"); - echo("<tr><td>"._MD_WEIGHT."</td><td><input type=\"text\" name=\"weight\" value=\"".$weight."\"></td></tr>"); - echo("<tr><td> </td><td><input type=\"submit\" value=\""._MD_INSERT."\"></td></tr>"); - echo("</table>"); - echo("<form>"); - break; - case "edit": - echo("<p>"); - echo("<form method=post>"); - echo("<input type=\"hidden\" name=\"id\" value=\"$id\">"); - echo("<input type=\"hidden\" name=\"t_action\" value=\"update\">"); - echo("<table cellspacing=0 cellpadding=8 class=\"outer\">"); - echo("<tr><td>"._MD_TITLENAME."</td><td><input type=\"text\" name=\"name\" value=\"".$name."\"></td></tr>"); - echo("<tr><td>"._MD_WEIGHT."</td><td><input type=\"text\" name=\"weight\" value=\"".$weight."\"></td></tr>"); - echo("<tr><td> </td><td><input type=\"submit\" value=\""._MD_UPDATE."\"></td></tr>"); - echo("</table>"); - echo("<form>"); - break; - case 'default': - xRoster_Query('UPDATE {xRoster_titles} SET isdefault=0 WHERE ID<>%u', $id); - xRoster_Query('UPDATE {xRoster_titles} SET isdefault=1 WHERE ID=%u', $id); - redirect_header('index.php?op=Title_Editor', 1, _MD_TITLEUPDATED); - break; - default: - $result = xRoster_Query('SELECT id, name, weight FROM {xRoster_titles} ORDER BY weight'); - $titles = $titles_assoc = array(); - while($row = $db->fetchArray($result)) { - $titles[] = $row; - $titles_assoc[$row['id']] = $row['name']; - } - if(count($titles) > 0){ - echo("<p><table cellspacing=0 cellpadding=8 class=\"outer\">"); - echo("<tr bgcolor=\"#cccccc\"><td> </td><td>"._MD_TITLENAME."</td><td>"._MD_WEIGHT."</td><td> </td></tr>"); - for($j=0;$j<count($titles);$j++){ - echo("<tr bgcolor=\"#eeeeee\">"); - echo("<td><a href=\"?op=Title_Editor&t_action=edit&id=".$titles[$j]['id']."&name=".$titles[$j]['name']."&weight=".$titles[$j]['weight']."\">"._MD_EDIT."</a></td>"); - echo("<td>".$titles[$j]['name']."</td>"); - echo("<td>".$titles[$j]['weight']."</td>"); - echo("<td><a href=\"?op=Title_Editor&t_action=delete&id=".$titles[$j]['id']."\">"._MD_DELETE."</a></td>"); - echo("</tr>"); - } - echo("</table>"); - // Default title - echo '<form method="post"><input type="hidden" name="t_action" value="default">', - _MD_DEFAULTTITLE, ':', xRoster_DropDown('id', $titles_assoc, xRoster_DefaultTitle(), true, null), - ' <input type="submit" value=">>"></form>'; - } else { - echo("<p align=\"center\">"._MD_NOTITLES."</p>"); - } - break; - } -} - -/************************************** - * Main - Admin SwitchBox - *************************************/ - -if(!ini_get('register_globals')) { // hotfix for register_globals=off - extract($_GET); - extract($_POST); -} - -xRoster_AdminHeader(); - -$op = isset($_POST['op']) ? $_POST['op'] : (isset($_GET['op']) ? $_GET['op'] : 'xRosterConfig'); -switch($op) { - case 'Title_Editor': Title_Editor($t_action, $id, $name, $weight); break; - case 'Category_Editor': - Category_Editor($c_action, $id, $name, $weight, !isset($_REQUEST['active']) || (bool)$_REQUEST['active'] ? 1 : 0); - break; - case 'Group_Editor': - $g_action = isset($_REQUEST['g_action']) ? $_REQUEST['g_action'] : ''; - $id = isset($_REQUEST['id']) ? (int)$_REQUEST['id'] : 0; - Group_Editor($g_action, $id); - break; - case 'members_approve': - if(@$_GET['action']=='approve' && (int)@$_GET['id']) - Members_Approve($_GET['id'], isset($_GET['subaction']) ? (int)$_GET['subaction'] : 1); - else - Members_List(0); - break; - case 'members_list': Members_List(1); break; - case 'members_add': $id = 0; - case 'members_edit': Members_Edit($id); break; - case 'members_update': - $realname = xRoster_PostVar('realname'); - $membername = xRoster_PostVar('membername'); - $email = xRoster_PostVar('email'); - $age = (int)xRoster_PostVar('age'); - $gid = (int)xRoster_PostVar('gid'); - $cid = (int)xRoster_PostVar('cid'); - $location = xRoster_PostVar('location'); - $connection = xRoster_PostVar('connection'); - $ahours = xRoster_PostVar('ahours'); - $pweapon = xRoster_PostVar('pweapon'); - $sweapon = xRoster_PostVar('sweapon'); - $clan_before = (int)xRoster_PostVar('clan_before'); - $why_play = xRoster_PostVar('why_play'); - $skills_talents = xRoster_PostVar('skills_talents'); - $additional_comments = xRoster_PostVar('additional_comments'); - $tid = (int)xRoster_PostVar('tid'); - $picture = xRoster_PostVar('picture'); - $sitename = xRoster_PostVar('sitename'); - $siteurl = xRoster_PostVar('siteurl'); - $impref = xRoster_PostVar('impref'); - $imid = xRoster_PostVar('imid'); - $additional_info = xRoster_PostVar('additional_info'); - $member = (int)xRoster_PostVar('member', 0); - $id = (int)xRoster_PostVar('id', 0); - if($id) { - //Todo: when I update, if the user was member=0, and it's approved (member=1), I should update the "since" field to time() - $result = xRoster_Query('UPDATE {xRoster} SET realname=%s, membername=%s, email=%s, age=%d, gid=%d, cid=%d, location=%s, connection=%s, ahours=%s, pweapon=%s, - sweapon=%s, clan_before=%d, why_play=%s, skills_talents=%s, additional_comments=%s, tid=%d, picture=%s, sitename=%s, siteurl=%s, impref=%s, imid=%s, additional_info=%s, member=%d WHERE id = %d', - $realname, $membername, $email, $age, $gid, $cid, $location, $connection, $ahours, $pweapon, $sweapon, $clan_before, $why_play, $skills_talents, $additional_comments, $tid, $picture, $sitename, $siteurl, $impref, $imid, $additional_info, $member, $id); - redirect_header($member ? 'index.php?op=members_list' : 'index.php?op=members_approve', 1, _MD_MEMBERUPDATED); - } else { - $result = xRoster_Query('INSERT INTO {xRoster} - (realname, membername, email, age, gid, cid, location, connection, ahours, pweapon, sweapon, clan_before, why_play, skills_talents, additional_comments, tid, picture, sitename, siteurl, impref, imid, additional_info, member, since) - VALUES (%s, %s, %s, %d, %d, %d, %s, %s, %s, %s, %s, %d, %s, %s, %s, %d, %s, %s, %s, %s, %s, %s, %d, %d)', - $realname, $membername, $email, $age, $gid, $cid, $location, $connection, $ahours, $pweapon, $sweapon, $clan_before, $why_play, $skills_talents, $additional_comments, $tid, $picture, $sitename, $siteurl, $impref, $imid, $additional_info, $member, time()); - redirect_header('index.php?op=members_list', 1, _MD_MEMBERADDED); - } - break; - case 'members_delete': Members_Delete($id); break; - case 'ConfigUpdate': ConfigUpdate(); break; -} - -xoops_cp_footer(); - -?> \ No newline at end of file +include 'admin_footer.php'; +//xoops_cp_footer(); \ No newline at end of file Added: XoopsModules/xroster/trunk/xroster/admin/main.php =================================================================== --- XoopsModules/xroster/trunk/xroster/admin/main.php (rev 0) +++ XoopsModules/xroster/trunk/xroster/admin/main.php 2012-03-14 10:17:18 UTC (rev 9129) @@ -0,0 +1,431 @@ +<?php + +$xRoster_mydir = dirname(__FILE__); +require_once "$xRoster_mydir/../../../include/cp_header.php"; +require_once file_exists("$xRoster_mydir/../language/" . $xoopsConfig['language'] . '/main.php') + ? "$xRoster_mydir/../language/" . $xoopsConfig['language'] . '/main.php' + : "$xRoster_mydir/../language/english/main.php"; +require_once "$xRoster_mydir/../common.inc.php"; +include_once 'admin_header.php'; +$indexAdmin = new ModuleAdmin(); + + +function Members_Edit($id = 0) { + global $xoopsDB, $xRosterList_connspeed, $xRosterList_ahour, $xRosterList_weapon, $xRosterList_imnetworks, $indexAdmin; + if($id) { + + $result = xRoster_Query("SELECT * FROM {xRoster} WHERE id = $id"); + if(!($member = $xoopsDB->fetchArray($result))) return false; + $member['since'] = formatTimestamp($member['since'], 's'); + } else{ + $member = array('member' => 1, 'since' => formatTimestamp(time(), 's')); + echo $indexAdmin->addNavigation('main.php?op=members_add'); + } + $result = xRoster_Query('SELECT id, name FROM {xRoster_titles} ORDER BY weight, name'); + while($row = $xoopsDB->fetchArray($result)) + $titles[$row['id']] = $row['name']; + // Here comes the form + echo '<form method="post"> + <input type="hidden" name="id" value="' . $id . '"> + <input type="hidden" name="op" value="members_update"> + <table cellspacing="8" cellpadding="8" class="outer">'; + echo '<tr><td>', _MD_REALNAME, '</td><td><input type="text" name="realname" value="', $member['realname'], '"></td></tr>'; + echo '<tr><td>', _MD_NAME, '</td><td><input type="text" name="membername" value="', $member['membername'], '"></td></tr>'; + echo '<tr><td>', _MD_EMAIL, '</td><td><input type="text" name="email" value="', $member['email'], '"></td></tr>'; + echo '<tr><td>', _MD_AGE, '</td><td><input type="text" name="age" value="', $member['age'], '"></td></tr>'; + echo '<tr><td>', _MD_CATEGORY, '</td><td>', xRoster_SQLDropDown('SELECT id, name FROM {xRoster_categories} ORDER BY weight, name', 'cid', $member['cid']), '</td></tr>'; + echo '<tr><td>', _MD_GROUP, '</td><td>', xRoster_SQLDropDown('SELECT id, name FROM {xRoster_groups} ORDER BY weight, name', 'gid', $member['gid']), '</td></tr>'; + echo '<tr><td>', _MD_LOCATION, '</td><td>', xRoster_LocationDropDown($member['location'] ? $member['location'] : 'US'), '</td></tr>'; + echo '<tr><td>', _MD_CONNECTION, '</td><td>', xRoster_DropDown('connection', $xRosterList_connspeed + array(_MD_OTHER=>_MD_OTHER), $member['connection']), '</td></tr>'; + echo '<tr><td>', _MD_AVAILABLEHOURS, '</td><td>', xRoster_DropDown('ahours', $xRosterList_ahour + array(_MD_TOOMANYHOURS=>_MD_TOOMANYHOURS), $member['ahours']), '</td></tr>'; + echo '<tr><td>', _MD_PRIMARYWEAPON, '</td><td>', xRoster_DropDown('pweapon', $xRosterList_weapon, $member['pweapon']), '</td></tr>'; + echo '<tr><td>', _MD_SECONDARYWEAPON, '</td><td>', xRoster_DropDown('sweapon', $xRosterList_weapon, $member['sweapon']), '</td></tr>'; + echo '<tr><td colspan="2">', _MD_CLANBEFORE, ' ', xRoster_YNDropDown('clan_before', $member['clan_before']), '</td></tr>'; + echo '<tr><td colspan="2">', _MD_NOTE3, '<br><textarea rows="3" name="why_play">', $member['why_play'], '</textarea></td></tr>'; + echo '<tr><td colspan="2">', _MD_NOTE4, '<br><textarea rows="3" name="skills_talents">', $member['skills_talents'], '</textarea></td></tr>'; + echo '<tr><td colspan="2">', _MD_NOTE1, '<br><textarea rows="3" name="additional_comments">', $member['additional_comments'], '</textarea></td></tr>'; + echo '<tr><td>', _MD_TITLE, '</td><td>', xRoster_DropDown('tid', $titles, $member['tid'], true), '</td></tr>'; + echo '<tr><td>', _MD_IMAGEPATH, '</td><td><input type="text" name="picture" value="', $member['picture'], '"></td></tr>'; + echo '<tr><td>', _MD_WEBSITENAME, '</td><td><input type="text" name="sitename" value="', $member['sitename'], '"></td></tr>'; + echo '<tr><td>', _MD_WEBSITEURL, '</td><td><input type="text" name="siteurl" value="', $member['siteurl'], '"></td></tr>'; + echo '<tr><td>', _MD_IMNETWORK, '</td><td>', xRoster_DropDown('impref', $xRosterList_imnetworks, $member['impref']), '</td></tr>'; + echo '<tr><td>', _MD_IMID, '</td><td><input type="text" name="imid" value="', $member['imid'], '"></td></tr>'; + echo '<tr><td colspan="2">', _MD_NOTE5, '<br><textarea rows="3" name="additional_info">', $member['additional_info'], '</textarea></td></tr>'; + echo '<tr><td>', _MD_SINCE, '</td><td>', $member['since'], '</td></tr>'; + echo '<tr><td colspan="2">', _MD_APPROVED, ' ', xRoster_YNDropDown('member', $member['member']), '</td></tr>'; + echo '<tr><td align="center" colspan="2"><input type="submit" value="', _MD_UPDATE, '"></td></tr> + </table><form>'; +} + +function Members_List($op = 1) { + global $pathIcon16, $indexAdmin; + $db =& XoopsDatabaseFactory::getDatabaseConnection(); + echo $indexAdmin->addNavigation('main.php?op=members_list'); + $result = xRoster_Query("SELECT m.id, m.membername, m.member, t.name AS title, g.name AS xgroup, c.name AS game + FROM {xRoster} m + LEFT JOIN {xRoster_titles} t ON m.tid = t.id + LEFT JOIN {xRoster_groups} g ON m.gid = g.id + LEFT JOIN {xRoster_categories} c ON m.cid = c.id + WHERE m.member = $op ORDER BY c.weight, g.weight, t.weight, m.membername"); + if($db->getRowsNum($result)) { + echo '<table cellspacing="0" cellpadding="8" class="outer">'; + $last_game = ''; + $last_group = ''; + while($member = $db->fetchArray($result)) { + if($last_game != $member['game']) { + echo '<tr><td colspan="4"><h3>', $member['game'], '</h3></td></tr>'; + $last_game = $member['game']; + } + if($last_group != $member['xgroup'] || $last_game != $member['game']) { + echo '<tr><td colspan="4"><h4>', $member['xgroup'], '</h4></td></tr>'; + echo '<tr bgcolor="#cccccc"><td><strong>', _MD_MEMBERNAME, '</strong></td><td><strong>', _MD_MEMBERTITLE, '</strong></td><td>', _MD_ACTIONS, '</td></tr>'; + $last_group = $member['xgroup']; + } + echo '<tr bgcolor="#eeeeee"> + <td>', $member['membername'], '</td> + <td>', $member['title'], '</td> +<td><a href="?op=members_edit&action=edit&id=', $member['id'], '">', '<img src='. $pathIcon16 .'/edit.png' . ' alt=' . _EDIT . ' title=' . _EDIT . ' />', '</a> <a href="?op=members_delete&action=confirm&id=', $member['id'], '">', '<img src='. $pathIcon16 .'/delete.png' . ' alt=' . _DELETE . ' title=' . _DELETE . ' />','</a> + <a href="?op=members_approve&action=approve&id=', $member['id'], '&subaction=', $member['member'] ? '0' : '1', '">', !$member['member'] ? '<img src='. $pathIcon16 .'/on.png' . ' alt=' . _MD_APPROVE . ' title=' . _MD_APPROVE . ' />' : '<img src='. $pathIcon16 .'/off.png' . ' alt=' . _MD_DISAPPROVE . ' title=' . _MD_DISAPPROVE . ' />', '</a>', + '</td></tr>'; + } + echo '</table>'; + } else + echo '<p align="center">', $op == 0 ? _MD_NOAPPLICANTS : _MD_NOMEMBERS, '</p>'; +} + +function Members_Delete($id){ + $result = xRoster_Query('DELETE FROM {xRoster} WHERE id=%u', $id); + redirect_header('main.php?op=members_list', 1, _MD_MEMBERDELETED); +} + +function Members_Approve($id, $action = 1){ + global $indexAdmin; + echo $indexAdmin->addNavigation('main.php?op=members_approve'); + $action = (int)$action ? 1 : 0; + $result = xRoster_Query('UPDATE {xRoster} SET member=%u, since=%u WHERE id=%u', $action, time(), $id); + redirect_header('main.php?op=members_list', 1, _MD_MEMBERUPDATED); +} + +function Group_Editor($g_action = '', $id = 0) { + global $pathIcon16, $indexAdmin; + echo $indexAdmin->addNavigation('main.php?op=Group_Editor'); + $indexAdmin->addItemButton(_MD_ADDGROUP, 'main.php?op=Group_Editor&g_action=add', 'add'); + echo $indexAdmin->renderButton('right', ''); + + $db =& XoopsDatabaseFactory::getDatabaseConnection(); + switch($g_action) { + case 'delete': + $result = xRoster_Query('SELECT count(*) AS c FROM {xRoster} WHERE gid=%u', $id); + $row = $db->fetchArray($result); + if($row['c'] == 0) + $result = xRoster_Query('DELETE FROM {xRoster_groups} WHERE id=%u', $id); + else + printf('<br><br>' . _MD_CANTDELETEGROUP, $row['c']); + redirect_header('main.php?op=Group_Editor', 1, _MD_GROUPDELETED); + break; + case 'insert': + $sql = 'INSERT INTO {xRoster_groups} (name, weight) VALUES (%s, %u)'; + case 'update': + $name = xRoster_PostVar('name'); + $weight = xRoster_PostVar('weight'); + if(!isset($sql)) + $result = xRoster_Query('UPDATE {xRoster_groups} SET name=%s, weight=%u WHERE ID=%u', $name, $weight, $id); + else + $result = xRoster_Query($sql, $name, $weight); + redirect_header('main.php?op=Group_Editor', 1, _MD_GROUPUPDATED); + break; + case 'edit': + $form_params = array('id'=>$id, 'g_action'=>'update', 'btn_label'=>_MD_UPDATE); + $result = xRoster_Query('SELECT * FROM {xRoster_groups} WHERE id=%u', $id); + if($row = $db->fetchArray($result)) { + $name = $row['name']; + $weight = $row['weight']; + } + case 'add': + if(!isset($form_params)) + $form_params = array('id'=>0, 'g_action'=>'insert', 'btn_label'=>_MD_INSERT); + echo '<form method="post">'; + if($form_params['id']) + echo '<input type="hidden" name="id" value="', $form_params['id'], '">'; + echo '<input type="hidden" name="g_action" value="', $form_params['g_action'], '"> + <table cellspacing="0" cellpadding="8" class="outer"> + <tr><td>', _MD_GROUPNAME, '</td><td><input type="text" name="name" value="', $name, '"></td></tr> + <tr><td>', _MD_WEIGHT, '</td><td><input type="text" name="weight" value="', $weight, '" size="4" maxlength="3"></td></tr> + <tr><td> </td><td><input type="submit" value="', $form_params['btn_label'], '"></td></tr> + </table><form>'; + break; + default: + $result = xRoster_Query('SELECT * FROM {xRoster_groups} ORDER BY weight, name'); + if($db->getRowsNum($result)) { + //echo '<table cellspacing="0" cellpadding="8" class="outer" bgcolor="#eeeeee">'; + echo '<p><table cellspacing="0" cellpadding="8" class="outer"> + <tr bgcolor="#cccccc"><td>', _MD_GROUPNAME, '</td><td>', _MD_WEIGHT, '</td><td>', _MD_ACTIONS, '</td></tr>'; + while($row = $db->fetchArray($result)) { + echo '<tr> + <td>', $row['name'], '</td><td>', $row['weight'], '</td> + <td><a href="?op=Group_Editor&g_action=edit&id=', $row['id'], '">', '<img src='. $pathIcon16 .'/edit.png' . ' alt=' . _EDIT . ' title=' . _EDIT . ' />', '</a> + <a href="?op=Group_Editor&g_action=delete&id=', $row['id'], '">', '<img src='. $pathIcon16 .'/delete.png' . ' alt=' . _DELETE . ' title=' . _DELETE . ' />', '</a></td></tr>'; + } + echo '</table>'; + } else + echo '<p align="center">', _MD_NOGROUPS, '</p>'; + break; + } +} + +function Category_Editor($c_action, $id, $name, $weight, $active = 1){ + global $pathIcon16, $indexAdmin; + echo $indexAdmin->addNavigation('main.php?op=Category_Editor'); + $indexAdmin->addItemButton(_MD_ADDCATEGORY, 'main.php?op=Category_Editor&c_action=add', 'add'); + echo $indexAdmin->renderButton('right', ''); + $db =& XoopsDatabaseFactory::getDatabaseConnection(); + switch($c_action) { + case 'delete': + $result = xRoster_Query('SELECT count(*) as count FROM {xRoster} WHERE cid=%u', $id); + $row = $db->fetchArray($result); + if($row['count'] == 0) { + xRoster_Query('DELETE FROM {xRoster_categories} WHERE ID=%u', $id); + redirect_header('main.php?op=Category_Editor', 1, _MD_CATEGORYDELETED); + } else + printf('<br><br>' . _MD_CANTDELECATEGORY, $row['count']); + break; + case 'update': + $result = xRoster_Query("UPDATE {xRoster_categories} SET name=%s, weight=%u, active=%u WHERE ID=%u", $name, $weight, $active, $id); + redirect_header("main.php?op=Category_Editor", 1, _MD_CATEGORYUPDATED); + break; + case 'insert': + $result = xRoster_Query("INSERT INTO {xRoster_categories} (name, weight, active) VALUES (%s, %u, %u)", $name, $weight, $active); + redirect_header('main.php?op=Category_Editor', 1, _MD_CATEGORYINSERTED); + break; + case 'add': case 'edit': + echo '<p> + <form method="post"> + <input type="hidden" name="c_action" value="', $c_action == 'edit' ? 'update' : 'insert', '">', + $c_action == 'edit' ? '<input type="hidden" name="id" value="' . $id . '">' : '', + '<table cellspacing=0 cellpadding=8 class="outer"> + <tr><td>', _MD_CATEGORYNAME, '</td><td><input type="text" name="name" value="', $name, '"></td></tr> + <tr><td>', _MD_WEIGHT, '</td><td><input type="text" name="weight" value="', $weight, '"></td></tr> + <tr><td>', _MD_ACTIVE, '</td><td>', xRoster_YNDropDown('active', $active), '</td></tr> + <tr><td> </td><td><input type="submit" value="', $c_action == 'edit' ? _MD_UPDATE : _MD_INSERT, '"> + </td></tr> + </table> + <form>'; + break; + default: + $result = xRoster_Query('SELECT id, name, weight, active FROM {xRoster_categories} ORDER BY weight'); + if($db->getRowsNum($result) > 0) { + echo '<p><table cellspacing="0" cellpadding="8" class="outer"> + <tr bgcolor="#cccccc"><td>', _MD_CATEGORYNAME, '</td><td>', _MD_WEIGHT, '</td><td>', _MD_ACTIVE, '</td><td>', _MD_ACTIONS, '</td></tr>'; + while($row = $db->fetchArray($result)) { + echo '<tr bgcolor="#eeeeee"> + + <td>', $row['name'], '</td><td>', $row['weight'], '</td> + <td>', $row['active'] ? _YES : _NO, '</td> + <td><a href="?op=Category_Editor&c_action=edit&id=', $row['id'], '&name=', $row['name'], '&weight=', $row['weight'], '&active=', $row['active'], '">', '<img src='. $pathIcon16 .'/edit.png' . ' alt=' . _EDIT . ' title=' . _EDIT . ' />', '</a> <a href="?op=Category_Editor&c_action=delete&id=', $row['id'], '">', '<img src='. $pathIcon16 .'/delete.png' . ' alt=' . _DELETE . ' title=' . _DELETE . ' />', '</a></td></tr>'; + } + echo '</table>'; + } else + echo '<p align="center">', _MD_NOCATEGORIES, '</p>'; + break; + } +} + +/******************************************************************************/ +/******************************************************************************/ +/******************************************************************************/ + +function Title_Editor($t_action, $id, $name, $weight){ + global $pathIcon16, $indexAdmin; + $db =& XoopsDatabaseFactory::getDatabaseConnection(); + echo $indexAdmin->addNavigation('main.php?op=Title_Editor'); + $db =& XoopsDatabaseFactory::getDatabaseConnection(); +$indexAdmin->addItemButton(_MD_ADDTITLE, 'main.php?op=Title_Editor&t_action=add', 'add'); +echo $indexAdmin->renderButton('right', ''); + + echo $t_action; + + switch($t_action){ + case "delete": + $result = xRoster_Query('SELECT count(*) as count FROM {xRoster} WHERE tid=%u', $id); + $row = $db->fetchArray($result); + if($row['count'] == 0) + xRoster_Query('DELETE FROM {xRoster_titles} WHERE ID=%u', $id); + else + printf('<br><br>' . _MD_CANTDELETETITLE, $row['count']); + redirect_header('main.php?op=Title_Editor', 1, _MD_TITLEDELETED); + break; + case "update": + $sql = "UPDATE " . $db->prefix("xRoster_titles") . " SET name='$name',weight=$weight WHERE ID=$id"; + if ( !$result = $db->query($sql) ) { + exit("Error in admin/main.php :: Title_Editor($t_action,$id,$name,$weight)"); + } + redirect_header("main.php?op=Title_Editor", 1, _MD_TITLEUPDATED); + break; + case "insert": + $sql = "INSERT INTO " . $db->prefix("xRoster_titles") . " (name,weight) VALUES ('$name',$weight)"; + if ( !$result = $db->query($sql) ) { + exit("Error in admin/main.php :: Title_Editor($t_action,$id,$name,$weight)"); + } + redirect_header("main.php?op=Title_Editor", 1, _MD_TITLEINSERTED); + break; + case "add": +// echo("<p>"); +// echo("<form method=post>"); +// echo("<input type=\"hidden\" name=\"t_action\" value=\"insert\">"); +// echo("<table cellspacing=0 cellpadding=8 class=\"outer\">"); +// echo("<tr><td>"._MD_TITLENAME."</td><td><input type=\"text\" name=\"name\" value=\"".$name."\"></td></tr>"); +// echo("<tr><td>"._MD_WEIGHT."</td><td><input type=\"text\" name=\"weight\" value=\"".$weight."\"></td></tr>"); +// echo("<tr><td> </td><td><input type=\"submit\" value=\""._MD_INSERT."\"></td></tr>"); +// echo("</table>"); +// echo("<form>"); +// break; +echo 'ADDDDDDDD'; + if(!isset($form_params)) + $form_params = array('id'=>0, 't_action'=>'insert', 'btn_label'=>_MD_INSERT); + echo '<form method="post">'; + if($form_params['id']) + echo '<input type="hidden" name="id" value="', $form_params['id'], '">'; +// echo("<input type=\"hidden\" name=\"t_action\" value=\"insert\">"); + echo("<table cellspacing=0 cellpadding=8 class=\"outer\">"); + echo("<tr><td>"._MD_TITLENAME."</td><td><input type=\"text\" name=\"name\" value=\"".$name."\"></td></tr>"); + echo("<tr><td>"._MD_WEIGHT."</td><td><input type=\"text\" name=\"weight\" value=\"".$weight."\"></td></tr>"); + echo("<tr><td> </td><td><input type=\"submit\" value=\""._MD_INSERT."\"></td></tr>"); + echo("</table>"); + echo("<form>"); + break; + + + + + + + + + + case "edit": + echo("<p>"); + echo("<form method=post>"); + echo("<input type=\"hidden\" name=\"id\" value=\"$id\">"); + echo("<input type=\"hidden\" name=\"t_action\" value=\"update\">"); + echo("<table cellspacing=0 cellpadding=8 class=\"outer\">"); + echo("<tr><td>"._MD_TITLENAME."</td><td><input type=\"text\" name=\"name\" value=\"".$name."\"></td></tr>"); + echo("<tr><td>"._MD_WEIGHT."</td><td><input type=\"text\" name=\"weight\" value=\"".$weight."\"></td></tr>"); + echo("<tr><td> </td><td><input type=\"submit\" value=\""._MD_UPDATE."\"></td></tr>"); + echo("</table>"); + echo("<form>"); + break; + case 'default': + xRoster_Query('UPDATE {xRoster_titles} SET isdefault=0 WHERE ID<>%u', $id); + xRoster_Query('UPDATE {xRoster_titles} SET isdefault=1 WHERE ID=%u', $id); + redirect_header('main.php?op=Title_Editor', 1, _MD_TITLEUPDATED); + break; + default: + $result = xRoster_Query('SELECT id, name, weight FROM {xRoster_titles} ORDER BY weight'); + $titles = $titles_assoc = array(); + while($row = $db->fetchArray($result)) { + $titles[] = $row; + $titles_assoc[$row['id']] = $row['name']; + } + if(count($titles) > 0){ + echo("<p><table cellspacing=0 cellpadding=8 class=\"outer\">"); + echo("<tr bgcolor=\"#cccccc\"><td>"._MD_TITLENAME."</td><td>"._MD_WEIGHT."</td><td>"._MD_ACTIONS."</td></tr>"); + for($j=0;$j<count($titles);$j++){ + echo("<tr bgcolor=\"#eeeeee\">"); + echo("<td>".$titles[$j]['name']."</td>"); + echo("<td>".$titles[$j]['weight']."</td>"); + echo("<td><a href=\"?op=Title_Editor&t_action=edit&id=".$titles[$j]['id']."&name=".$titles[$j]['name']."&weight=".$titles[$j]['weight']."\">".'<img src='. $pathIcon16 .'/edit.png' . ' alt=' . _EDIT . ' title=' . _EDIT . ' />'."</a>"); + echo("<a href=\"?op=Title_Editor&t_action=delete&id=".$titles[$j]['id']."\">".'<img src='. $pathIcon16 .'/delete.png' . ' alt=' . _DELETE . ' title=' . _DELETE . ' />'."</a></td>"); + echo("</tr>"); + } + echo("</table>"); + // Default title + echo '<form method="post"><input type="hidden" name="t_action" value="default">', + _MD_DEFAULTTITLE, ':', xRoster_DropDown('id', $titles_assoc, xRoster_DefaultTitle(), true, null), + ' <input type="submit" value=">>"></form>'; + } else { + echo("<p align=\"center\">"._MD_NOTITLES."</p>"); + } + break; + } +} + +/************************************** + * Main - Admin SwitchBox + *************************************/ + +if(!ini_get('register_globals')) { // hotfix for register_globals=off + extract($_GET); + extract($_POST); +} + +//xRoster_AdminHeader(); + +//global $xoopsModule; +xoops_cp_header(); + + +$op = isset($_POST['op']) ? $_POST['op'] : (isset($_GET['op']) ? $_GET['op'] : 'xRosterConfig'); +switch($op) { + case 'Title_Editor': Title_Editor($t_action='', $id=0, $name='', $weight=0); break; + case 'Category_Editor': + Category_Editor($c_action='', $id=0, $name='', $weight=0, !isset($_REQUEST['active']) || (bool)$_REQUEST['active'] ? 1 : 0); + break; + case 'Group_Editor': + $g_action = isset($_REQUEST['g_action']) ? $_REQUEST['g_action'] : ''; + $id = isset($_REQUEST['id']) ? (int)$_REQUEST['id'] : 0; + Group_Editor($g_action, $id); + break; + case 'members_approve': + if(@$_GET['action']=='approve' && (int)@$_GET['id']) + Members_Approve($_GET['id'], isset($_GET['subaction']) ? (int)$_GET['subaction'] : 1); + else + Members_List(0); + break; + case 'members_list': Members_List(1); break; + case 'members_add': $id = 0; + case 'members_edit': Members_Edit($id); break; + case 'members_update': + $realname = xRoster_PostVar('realname'); + $membername = xRoster_PostVar('membername'); + $email = xRoster_PostVar('email'); + $age = (int)xRoster_PostVar('age'); + $gid = (int)xRoster_PostVar('gid'); + $cid = (int)xRoster_PostVar('cid'); + $location = xRoster_PostVar('location'); + $connection = xRoster_PostVar('connection'); + $ahours = xRoster_PostVar('ahours'); + $pweapon = xRoster_PostVar('pweapon'); + $sweapon = xRoster_PostVar('sweapon'); + $clan_before = (int)xRoster_PostVar('clan_before'); + $why_play = xRoster_PostVar('why_play'); + $skills_talents = xRoster_PostVar('skills_talents'); + $additional_comments = xRoster_PostVar('additional_comments'); + $tid = (int)xRoster_PostVar('tid'); + $picture = xRoster_PostVar('picture'); + $sitename = xRoster_PostVar('sitename'); + $siteurl = xRoster_PostVar('siteurl'); + $impref = xRoster_PostVar('impref'); + $imid = xRoster_PostVar('imid'); + $additional_info = xRoster_PostVar('additional_info'); + $member = (int)xRoster_PostVar('member', 0); + $id = (int)xRoster_PostVar('id', 0); + if($id) { + //Todo: when I update, if the user was member=0, and it's approved (member=1), I should update the "since" field to time() + $result = xRoster_Query('UPDATE {xRoster} SET realname=%s, membername=%s, email=%s, age=%d, gid=%d, cid=%d, location=%s, connection=%s, ahours=%s, pweapon=%s, + sweapon=%s, clan_before=%d, why_play=%s, skills_talents=%s, additional_comments=%s, tid=%d, picture=%s, sitename=%s, siteurl=%s, impref=%s, imid=%s, additional_info=%s, member=%d WHERE id = %d', + $realname, $membername, $email, $age, $gid, $cid, $location, $connection, $ahours, $pweapon, $sweapon, $clan_before, $why_play, $skills_talents, $additional_comments, $tid, $picture, $sitename, $siteurl, $impref, $imid, $additional_info, $member, $id); + redirect_header($member ? 'main.php?op=members_list' : 'main.php?op=members_approve', 1, _MD_MEMBERUPDATED); + } else { + $result = xRoster_Query('INSERT INTO {xRoster} + (realname, membername, email, age, gid, cid, location, connection, ahours, pweapon, sweapon, clan_before, why_play, skills_talents, additional_comments, tid, picture, sitename, siteurl, impref, imid, additional_info, member, since) + VALUES (%s, %s, %s, %d, %d, %d, %s, %s, %s, %s, %s, %d, %s, %s, %s, %d, %s, %s, %s, %s, %s, %s, %d, %d)', + $realname, $membername, $email, $age, $gid, $cid, $location, $connection, $ahours, $pweapon, $sweapon, $clan_before, $why_play, $skills_talents, $additional_comments, $tid, $picture, $sitename, $siteurl, $impref, $imid, $additional_info, $member, time()); + redirect_header('main.php?op=members_list', 1, _MD_MEMBERADDED); + } + break; + case 'members_delete': Members_Delete($id); break; + case 'ConfigUpdate': ConfigUpdate(); break; +} + +//xoops_cp_footer(); +include_once 'admin_footer.php'; \ No newline at end of file Modified: XoopsModules/xroster/trunk/xroster/admin/menu.php =================================================================== --- XoopsModules/xroster/trunk/xroster/admin/menu.php 2012-03-14 10:13:12 UTC (rev 9128) +++ XoopsModules/xroster/trunk/xroster/admin/menu.php 2012-03-14 10:17:18 UTC (rev 9129) @@ -1,16 +1,52 @@ <?php -$adminmenu[0]['title'] = _MI_XROSTER_ADMENU1; -$adminmenu[0]['link'] = 'admin/index.php?op=members_add'; -$adminmenu[1]['title'] = _MI_XROSTER_ADMENU2; -$adminmenu[1]['link'] = 'admin/index.php?op=members_approve'; -$adminmenu[2]['title'] = _MI_XROSTER_ADMENU3; -$adminmenu[2]['link'] = 'admin/index.php?op=members_list'; -$adminmenu[3]['title'] = _MI_XROSTER_ADMENU4; -$adminmenu[3]['link'] = 'admin/index.php?op=Status_Editor'; -$adminmenu[4]['title'] = _MI_XROSTER_ADMENU5; -$adminmenu[4]['link'] = 'admin/index.php?op=Title_Editor'; -$adminmenu[5]['title'] = _MI_XROSTER_ADMENU6; -$adminmenu[5]['link'] = 'admin/index.php?op=Category_Editor'; +defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined"); -?> \ No newline at end of file +$dirname = basename(dirname(dirname(__FILE__))); +$module_handler = xoops_gethandler('module'); +$module = $module_handler->getByDirname($dirname); +$pathIcon32 = $module->getInfo('icons32'); + +xoops_loadLanguage('admin', $dirname); +$i = 0; + +// Index +$adminmenu[$i]['title'] = _MI_XROSTER_ADMENU0; +$adminmenu[$i]['link'] = "admin/index.php"; +$adminmenu[$i]["icon"] = $pathIcon32.'/home.png'; +$i++; + +$adminmenu[$i]['title'] = _MI_XROSTER_ADMENU1; +$adminmenu[$i]['link'] = 'admin/main.php?op=members_add'; +$adminmenu[$i]["icon"] = $pathIcon32.'/add.png'; + +$i++; +$adminmenu[$i]['title'] = _MI_XROSTER_ADMENU2; +$adminmenu[$i]['link'] = 'admin/main.php?op=members_approve'; +$adminmenu[$i]["icon"] = $pathIcon32.'/button_ok.png'; + +$i++; +$adminmenu[$i]['title'] = _MI_XROSTER_ADMENU3; +$adminmenu[$i]['link'] = 'admin/main.php?op=members_list'; +$adminmenu[$i]["icon"] = $pathIcon32.'/search.png'; + +$i++; +$adminmenu[$i]['title'] = _MI_XROSTER_ADMENU4; +$adminmenu[$i]['link'] = 'admin/main.php?op=Group_Editor'; +$adminmenu[$i]["icon"] = $pathIcon32.'/users.png'; + +$i++; +$adminmenu[$i]['title'] = _MI_XROSTER_ADMENU5; +$adminmenu[$i]['link'] = 'admin/main.php?op=Title_Editor'; +$adminmenu[$i]["icon"] = $pathIcon32.'/manage.png'; + +$i++; +$adminmenu[$i]['title'] = _MI_XROSTER_ADMENU6; +$adminmenu[$i]['link'] = 'admin/main.php?op=Category_Editor'; +$adminmenu[$i]["icon"] = $pathIcon32.'/category.png'; + +$i++; +$adminmenu[$i]['title'] = _MI_XROSTER_ADMENU7; +$adminmenu[$i]['link'] = "admin/about.php"; +$adminmenu[$i]["icon"] = $pathIcon32.'/about.png'; + Modified: XoopsModules/xroster/trunk/xroster/blocks/xroster_blocks.php =================================================================== --- XoopsModules/xroster/trunk/xroster/blocks/xroster_blocks.php 2012-03-14 10:13:12 UTC (rev 9128) +++ XoopsModules/xroster/trunk/xroster/blocks/xroster_blocks.php 2012-03-14 10:17:18 UTC (rev 9129) @@ -2,7 +2,7 @@ function b_xroster_newestmember_show() { $block = array(); - $xoopsDB =& Database::getInstance(); + $xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection(); $result = $xoopsDB->query('SELECT id, membername FROM ' . $xoopsDB->prefix('xRoster') . ' WHERE member=1 ORDER BY since DESC LIMIT 10'); while($row = $xoopsDB->fetchArray($result)) $block[] = $row; Modified: XoopsModules/xroster/trunk/xroster/common.inc.php =================================================================== --- XoopsModules/xroster/trunk/xroster/common.inc.php 2012-03-14 10:13:12 UTC (rev 9128) +++ XoopsModules/xroster/trunk/xroster/common.inc.php 2012-03-14 10:17:18 UTC (rev 9129) @@ -24,7 +24,7 @@ function xRoster_PostVar($k, $defval = null) { static $db = false, $myts = false; - if(!$db) $db =& Database::getInstance(); + if(!$db) $db =& XoopsDatabaseFactory::getDatabaseConnection(); if(!$myts) $myts =& MyTextSanitizer::getInstance(); return isset($_POST[$k]) ? $myts->stripSlashesGPC($_POST[$k]) : $defval; } @@ -32,7 +32,7 @@ function &xRoster_Query($sql) { global $xoopsModule; static $db = false; - if(!$db) $db =& Database::getInstance(); + if(!$db) $db =& XoopsDatabaseFactory::getDatabaseConnection(); foreach($xoopsModule->getInfo('tables') as $table) if(strpos($sql, '{' . $table . '}')) $sql = str_replace('{' . $table . '}', $db->prefix($table), $sql); @@ -94,7 +94,7 @@ } function xRoster_SQLDro... [truncated message content] |
From: <be...@us...> - 2012-03-14 10:13:24
|
Revision: 9128 http://xoops.svn.sourceforge.net/xoops/?rev=9128&view=rev Author: beckmi Date: 2012-03-14 10:13:12 +0000 (Wed, 14 Mar 2012) Log Message: ----------- Converting to XOOPS 2.5.x Admin GUI Modified Paths: -------------- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/head.php XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/index.php XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/leaguematches.php XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/menu.php XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/opponents.php XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/seasons.php XoopsModules/tplleaguestats/trunk/tplleaguestats/bottom.txt XoopsModules/tplleaguestats/trunk/tplleaguestats/images/tplleague_slogo.png XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/admin.php XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/modinfo.php XoopsModules/tplleaguestats/trunk/tplleaguestats/xoops_version.php Added Paths: ----------- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/about.php XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/admin_footer.php XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/admin_header.php XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/changelog.txt XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/credits.txt XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/install.txt XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/lang_diff.txt XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/readme.txt XoopsModules/tplleaguestats/trunk/tplleaguestats/images/icons/ XoopsModules/tplleaguestats/trunk/tplleaguestats/images/icons/16/ XoopsModules/tplleaguestats/trunk/tplleaguestats/images/icons/16/game.png XoopsModules/tplleaguestats/trunk/tplleaguestats/images/icons/16/karm.png XoopsModules/tplleaguestats/trunk/tplleaguestats/images/icons/16/users.png XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/help/ XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/help/help.html XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/help/index.html Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/about.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/about.php (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/about.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -0,0 +1,29 @@ +<?php +/** + * Marquee 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 Marquee + * @since 2.5.0 + * @author Mage, Mamba + * @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 Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/admin_footer.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/admin_footer.php (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/admin_footer.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -0,0 +1,27 @@ +<?php +/** + * Marquee 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.gnu.org/licenses/gpl-2.0.html GNU Public License + * @package Marquee + * @since 2.5.0 + * @author Mamba (www.xoops.org) + * @version $Id $ +**/ + +echo "<div class='adminfooter'>\n" + ." <div style='text-align: center;'>\n" + ." <a href='http://www.xoops.org' target='_blank'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" + ." </div>\n" + ." " . _AM_TPL_ADMIN_FOOTER . "\n" + ."</div>"; + +xoops_cp_footer(); \ No newline at end of file Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/admin_header.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/admin_header.php (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/admin_header.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -0,0 +1,42 @@ +<?php +/** + * Marquee 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.gnu.org/licenses/gpl-2.0.html GNU Public License + * @package Marquee + * @since 2.5.0 + * @author XOOPS Module Team + * @version $Id $ +**/ + +$path = dirname(dirname(dirname(dirname(__FILE__)))); +include_once $path . '/mainfile.php'; +include_once $path . '/include/cp_functions.php'; +require_once $path . '/include/cp_header.php'; + +global $xoopsModule; + +$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname'); + +// Load language files +xoops_loadLanguage('admin', $thisModuleDir); +xoops_loadLanguage('modinfo', $thisModuleDir); +xoops_loadLanguage('main', $thisModuleDir); + +$pathIcon16 = '../'.$xoopsModule->getInfo('icons16'); +$pathIcon32 = '../'.$xoopsModule->getInfo('icons32'); +$pathModuleAdmin = $xoopsModule->getInfo('dirmoduleadmin'); + +if ( file_exists($GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); + }else{ + redirect_header("../../../admin.php", 5, _AM_TPL_MODULEADMIN_MISSING, false); + } \ No newline at end of file Modified: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/head.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/head.php 2012-03-14 09:32:43 UTC (rev 9127) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/head.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -4,7 +4,7 @@ TPLLeagueStats is a league stats software designed for football (soccer) team. -Copyright (C) 2003 Timo Lepp\xE4nen / TPL Design +Copyright (C) 2003 Timo Lepp�nen / TPL Design email: in...@tp... www: www.tpl-design.com/tplleaguestats @@ -30,7 +30,7 @@ ************************************************************ */ -if(!session_is_registered('season_name') || !session_is_registered('season_id')) +if(!isset($_SESSION['season_name']) || !isset($_SESSION['season_id'])) { echo "<form method=\"post\" action=\"leaguematches.php\">"; echo '<b><?php echo _AM_CHOSEASON;?></b>'; Modified: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/index.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/index.php 2012-03-14 09:32:43 UTC (rev 9127) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/index.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -1,42 +1,30 @@ <?php -/* -************************************************************ -TPLLeagueStats is a league stats software designed for football (soccer) -team. +/** + * Private message + * + * 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 MRBS + * @since 1.41 + * @author jobrazo + * @version $Id: admin.php $ + */ -Copyright (C) 2003 Timo Lepp\xE4nen / TPL Design -email: in...@tp... -www: www.tpl-design.com/tplleaguestats +require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/include/cp_header.php'; +include_once dirname(__FILE__) . '/admin_header.php'; -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. - -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. - -************************************************************ -Ported to xoops by -Mythrandir http://www.web-udvikling.dk -and -ralf57 http://www.madeinbanzi.it - -************************************************************ -*/ - - -include '../../../include/cp_header.php'; //Include file, which checks for permissions and sets navigation - xoops_cp_header(); -header("Location:leaguematches.php"); + $indexAdmin = new ModuleAdmin(); -xoops_cp_footer(); -?> + echo $indexAdmin->addNavigation('index.php'); + echo $indexAdmin->renderIndex(); + +include "admin_footer.php"; \ No newline at end of file Modified: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/leaguematches.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/leaguematches.php 2012-03-14 09:32:43 UTC (rev 9127) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/leaguematches.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -4,7 +4,7 @@ TPLLeagueStats is a league stats software designed for football (soccer) team. -Copyright (C) 2003 Timo Lepp\xE4nen / TPL Design +Copyright (C) 2003 Timo Lepp�nen / TPL Design email: in...@tp... www: www.tpl-design.com/tplleaguestats @@ -63,25 +63,6 @@ xoops_cp_header(); -?> - -<!-- Navigation bar--> -<table width="560" cellspacing="0" bordercolordark="white" bordercolorlight="black" style="border-collapse:collapse;"> - <tr> - <td align="center" style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> - <a href="seasons.php"><?php echo _AM_NAVSEASONS;?></a></td> - <td align="center" style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> - <a href="opponents.php"><?php echo _AM_NAVOPPONENTS;?></a></td> - <td align="center" nowrap style="padding: 3px;background-color: #E6E6FF; border:1px #000000 dotted;"> - <a href="leaguematches.php"><?php echo _AM_NAVLEAGUEMATCHES;?></a></td> - <td align="center" style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> - <a href="../index.php" target="_blank"><?php echo _AM_NAVLEAGUETABLE;?></a></td> - </tr> -</table> -<!-- End Navigation bar--> - -<?php - // //Exit check, if there are less than 2 teams in database // @@ -89,8 +70,7 @@ if($xoopsDB->getRowsNum($query) < 2) { - echo "<br><br>"._AM_ADDTWOTEAMS."<br><br> - <a href=\"opponents.php\">" ._AM_ADDTEAMS. "</a>"; + redirect_header('opponents.php', 1, _AM_ADDTWOTEAMS); exit(); } @@ -488,13 +468,13 @@ <select name="year"> <?php //print the years - for($i = 1950 ; $i < 2010 ; $i++) + for($i = 1950 ; $i < 2020 ; $i++) { if($i<10) { $i = "0".$i; } - if($i == "2003") + if($i == "2012") echo "<option value=\"$i\" SELECTED>$i</option>\n"; else echo "<option value=\"$i\">$i</option>\n"; Modified: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/menu.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/menu.php 2012-03-14 09:32:43 UTC (rev 9127) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/menu.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -1,10 +1,37 @@ <?php -$adminmenu[1]['title'] = _MI_TPLLS_ADMENU1; -$adminmenu[1]['link'] = "admin/seasons.php"; -$adminmenu[2]['title'] = _MI_TPLLS_ADMENU2; -$adminmenu[2]['link'] = "admin/opponents.php"; -$adminmenu[3]['title'] = _MI_TPLLS_ADMENU3; -$adminmenu[3]['link'] = "admin/leaguematches.php"; +defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined"); -?> \ No newline at end of file +$dirname = basename(dirname(dirname(__FILE__))); +$module_handler = xoops_gethandler('module'); +$module = $module_handler->getByDirname($dirname); +$pathIcon32 = $module->getInfo('icons32'); + +xoops_loadLanguage('admin', $dirname); + +$i = 0; + +// Index +$adminmenu[$i]['title'] = _MI_TPLLS_ADMENU0; +$adminmenu[$i]['link'] = "admin/index.php"; +$adminmenu[$i]["icon"] = $pathIcon32.'/home.png'; +$i++; + +$adminmenu[$i]['title'] = _MI_TPLLS_ADMENU1; +$adminmenu[$i]['link'] = "admin/seasons.php"; +$adminmenu[$i]["icon"] = './images/icons/16/karm.png'; +$i++; + +$adminmenu[$i]['title'] = _MI_TPLLS_ADMENU2; +$adminmenu[$i]['link'] = "admin/opponents.php"; +$adminmenu[$i]["icon"] = './images/icons/16/users.png'; +$i++; + +$adminmenu[$i]['title'] = _MI_TPLLS_ADMENU3; +$adminmenu[$i]['link'] = "admin/leaguematches.php"; +$adminmenu[$i]["icon"] = './images/icons/16/game.png'; + +$i++; +$adminmenu[$i]['title'] = _MI_TPLLS_ABOUT; +$adminmenu[$i]['link'] = "admin/about.php"; +$adminmenu[$i]["icon"] = $pathIcon32.'/about.png'; \ No newline at end of file Modified: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/opponents.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/opponents.php 2012-03-14 09:32:43 UTC (rev 9127) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/opponents.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -4,7 +4,7 @@ TPLLeagueStats is a league stats software designed for football (soccer) team. -Copyright (C) 2003 Timo Lepp\xE4nen / TPL Design +Copyright (C) 2003 Timo Lepp�nen / TPL Design email: in...@tp... www: www.tpl-design.com/tplleaguestats @@ -66,25 +66,6 @@ xoops_cp_header(); -?> - -<!-- Navigation bar--> -<table width="560" cellspacing="0" bordercolordark="white" bordercolorlight="black" style="border-collapse:collapse;"> - <tr> - <td align="center" style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> - <a href="seasons.php"><?php echo _AM_NAVSEASONS;?></a></td> - <td align="center" style="padding: 3px;background-color: #E6E6FF; border:1px #000000 dotted;"> - <a href="opponents.php"><?php echo _AM_NAVOPPONENTS;?></a></td> - <td align="center" nowrap style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> - <a href="leaguematches.php"><?php echo _AM_NAVLEAGUEMATCHES;?></a></td> - <td align="center" style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> - <a href="../index.php" target="_blank"><?php echo _AM_NAVLEAGUETABLE;?></a></td> - </tr> -</table> -<!-- End Navigation bar--> - -<?php - // //Add // Modified: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/seasons.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/seasons.php 2012-03-14 09:32:43 UTC (rev 9127) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/seasons.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -4,7 +4,7 @@ TPLLeagueStats is a league stats software designed for football (soccer) team. -Copyright (C) 2003 Timo Lepp\xE4nen / TPL Design +Copyright (C) 2003 Timo Lepp�nen / TPL Design email: in...@tp... www: www.tpl-design.com/tplleaguestats @@ -47,25 +47,6 @@ xoops_cp_header(); -?> - -<!-- Navigation bar--> -<table width="560" cellspacing="0" bordercolordark="white" bordercolorlight="black" style="border-collapse:collapse;"> - <tr> - <td align="center" style="padding: 3px;background-color: #E6E6FF; border:1px #000000 dotted;"> - <a href="seasons.php"><?php echo _AM_NAVSEASONS;?></a></td> - <td align="center" style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> - <a href="opponents.php"><?php echo _AM_NAVOPPONENTS;?></a></td> - <td align="center" nowrap style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> - <a href="leaguematches.php"><?php echo _AM_NAVLEAGUEMATCHES;?></a></td> - <td align="center" style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> - <a href="../index.php" target="_blank"><?php echo _AM_NAVLEAGUETABLE;?></a></td> - </tr> -</table> -<!-- End Navigation bar--> - - -<?php if($add_submit) { $name = $xoopsDB->quoteString(trim($_POST['name'])); Modified: XoopsModules/tplleaguestats/trunk/tplleaguestats/bottom.txt =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/bottom.txt 2012-03-14 09:32:43 UTC (rev 9127) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/bottom.txt 2012-03-14 10:13:12 UTC (rev 9128) @@ -1,3 +1,2 @@ <center> -TPLLeagueStats by <a href="http://www.web-udvikling.dk " target="_BLANK">Mithrandir</a> and <a href="http://www.madeinbanzi.it " target="_BLANK">ralf57</a> based on <a href="http://www.tpl-design.com/tplleaguestats" target="_BLANK">tplLeagueStats 1.03</a> </center> \ No newline at end of file Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/changelog.txt =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/changelog.txt (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/changelog.txt 2012-03-14 10:13:12 UTC (rev 9128) @@ -0,0 +1,10 @@ +1.1 2012/03/14 Beta: +================================= +- converted to XOOPS 2.5.x Admin GUI (mamba) + +Version 1.0beta | 29-Mar-2004 +================================= +Ported to xoops by +Mythrandir http://www.web-udvikling.dk +and +ralf57 http://www.madeinbanzi.it \ No newline at end of file Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/credits.txt =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/credits.txt (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/credits.txt 2012-03-14 10:13:12 UTC (rev 9128) @@ -0,0 +1,23 @@ +Ported to xoops by +Mythrandir http://www.web-udvikling.dk +and +ralf57 http://www.madeinbanzi.it + +************************************************************ +Version 1.0beta | 29-Mar-2004 +************************************************************ +READ manual.txt for installing & other help!!! +************************************************************ +Version history + +1.0beta: Mar 2003 +- first beta release + +************************************************************ +Features planned for the next release(s): +- Add search feature +- Add templates +- Relate teams to seasons so each season has its teams +********************************************************** +If you have any bug or suggest please +report it to http://www.madeinbanzi.it/xoopsworld/modules/newbb/index.php Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/install.txt =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/install.txt (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/install.txt 2012-03-14 10:13:12 UTC (rev 9128) @@ -0,0 +1,6 @@ +INSTALL/UNISTALL +================= + +No special measures necessary, follow the standard installation process & extract the module folder into the ../modules directory. Install the module through Admin -> System Module -> Modules. + +Detailed instructions on installing modules are available in the XOOPS Operations Manual: http://goo.gl/adT2i \ No newline at end of file Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/lang_diff.txt =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/lang_diff.txt (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/lang_diff.txt 2012-03-14 10:13:12 UTC (rev 9128) @@ -0,0 +1,4 @@ +LANGUAGE DIFFERENCES +===================== + +Below are language differences from a version to next version. \ No newline at end of file Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/readme.txt =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/readme.txt (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/readme.txt 2012-03-14 10:13:12 UTC (rev 9128) @@ -0,0 +1,25 @@ +README +=========== + +This module allows you to easily manage the league of your favourite team and show your supporters detailed statistics on multiple seasons too. + +Using a MySQL backend the program is fully featured and can be used to generate League, Form & Stats Tables. + +Fixtures, Head to Head comparisons and Sequences are also catered for in various custom layouts. + +Installation is simple and straight forward with all updates to your league made online using a password protected admin page. + +Finally, and best of all...tplLeagueStats is Free Software released under the GNU/GPL license. + + Requirements + _____________________________________________________________________ + +- XOOPS >= 2.5.0 +- PHP version >= 5.2.0 +- ModuleClasses in /Frameworks (download it from here: http://goo.gl/Bmknt) + +Install/uninstall +--------------------- +No special measures necessary, follow the standard installation process & extract the /marquee folder into the ../modules directory. Install the module through Admin -> System Module -> Modules. + +Detailed instructions on installing modules are available in the XOOPS Operations Manual: http://goo.gl/adT2i \ No newline at end of file Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/images/icons/16/game.png =================================================================== (Binary files differ) Property changes on: XoopsModules/tplleaguestats/trunk/tplleaguestats/images/icons/16/game.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/images/icons/16/karm.png =================================================================== (Binary files differ) Property changes on: XoopsModules/tplleaguestats/trunk/tplleaguestats/images/icons/16/karm.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/images/icons/16/users.png =================================================================== (Binary files differ) Property changes on: XoopsModules/tplleaguestats/trunk/tplleaguestats/images/icons/16/users.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: XoopsModules/tplleaguestats/trunk/tplleaguestats/images/tplleague_slogo.png =================================================================== (Binary files differ) Modified: XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/admin.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/admin.php 2012-03-14 09:32:43 UTC (rev 9127) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/admin.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -75,4 +75,10 @@ define("_AM_SEASONGO","Go"); + +//ModuleAdmin +define('_AM_TPL_MODULEADMIN_MISSING','Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); + +// Text for Admin footer +define("_AM_TPL_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>TPL League Stats is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); ?> Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/help/help.html =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/help/help.html (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/help/help.html 2012-03-14 10:13:12 UTC (rev 9128) @@ -0,0 +1,36 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/tplleaguestats/admin/index.php" + title="Back to the administration of TPL League Stats"> TPL League Stats + <img src="<{xoAdminIcons home.png}>" + alt="Back to the Administration of TPL League Stats"/> + </a></h1> + + <!-- -----Help Content ---------- --> + <h4 class="odd">Description</h4> + + <p class="even">Simple application to record and present sport league results/stats</p> + <h4 class="odd">Install/uninstall</h4> + + <p>No special measures necessary, follow the standard installation process – extract the module folder into the + ../modules directory. Install the module through Admin -> System Module -> Modules.</p> + + <p>Detailed instructions on installing modules are available in the + <a href="http://goo.gl/adT2i" title="XOOPS Operations Manual">XOOPS Operations Manual</a></p> + <h4 class="odd">Operating instructions</h4> + + <p class="even">To set up this module you need to:</p> + <ul> + <li>Configure your preferences for the module (see ‘Preferences’) and optionally the blocks if you intend + to use them (see ‘Blocks’). + </li> + <li>Add Seasons.</li> + <li>Add Teams. + </li> + <li>Add Matches</li> + </ul> + <h4 class="odd">Tutorial</h4> + + <p class="even">Currently there is no tutorial</p> + <!-- -----Help Content ---------- --> + </div> \ No newline at end of file Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/help/index.html =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/help/index.html (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/help/index.html 2012-03-14 10:13:12 UTC (rev 9128) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Modified: XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/modinfo.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/modinfo.php 2012-03-14 09:32:43 UTC (rev 9127) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/modinfo.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -32,4 +32,5 @@ define("_MI_TPLLS_ADMENU2","Teams"); define("_MI_TPLLS_ADMENU3","Matches"); -?> \ No newline at end of file +define("_MI_TPLLS_ADMENU0","Home"); +define("_MI_TPLLS_ABOUT","About"); \ No newline at end of file Modified: XoopsModules/tplleaguestats/trunk/tplleaguestats/xoops_version.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/xoops_version.php 2012-03-14 09:32:43 UTC (rev 9127) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/xoops_version.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -25,14 +25,31 @@ // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // ------------------------------------------------------------------------ // $modversion['name'] = "TPL League Stats"; -$modversion['version'] = 1; +$modversion['version'] = 1.1; $modversion['description'] = 'A nice league stats software'; $modversion['credits'] = "Mithrandir and ralf57"; -$modversion['license'] = "GPL see LICENSE"; +$modversion['help'] = 'page=help'; +$modversion['license'] = 'GNU GPL 2.0'; +$modversion['license_url'] = "www.gnu.org/licenses/gpl-2.0.html/"; $modversion['official'] = 0; $modversion['image'] = "images/tplleague_slogo.png"; $modversion['dirname'] = "tplleaguestats"; +$modversion['dirmoduleadmin'] = '/Frameworks/moduleclasses/moduleadmin'; +$modversion['icons16'] = '../../Frameworks/moduleclasses/icons/16'; +$modversion['icons32'] = '../../Frameworks/moduleclasses/icons/32'; +//about +$modversion["module_website_url"] = "http://www.xoops.org/"; +$modversion["module_website_name"] = "XOOPS"; +$modversion["release_date"] = "2012/03/14"; +$modversion["module_status"] = "Beta"; +$modversion["author_website_url"] = "http://www.xoops.org/"; +$modversion["author_website_name"] = "XOOPS"; +$modversion['min_php']='5.2'; +$modversion['min_xoops']='2.5'; +$modversion['min_admin']='1.1'; +$modversion['min_db']= array('mysql'=>'5.0.7', 'mysqli'=>'5.0.7'); + // Sql file (must contain sql generated by phpMyAdmin or phpPgAdmin) // All tables should not have any prefix! $modversion['sqlfile']['mysql'] = "sql/mysql.sql"; @@ -46,6 +63,7 @@ // Admin things $modversion['hasAdmin'] = 1; +$modversion['system_menu'] = 1; $modversion['adminindex'] = "admin/index.php"; $modversion['adminmenu'] = "admin/menu.php"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-03-14 09:32:58
|
Revision: 9127 http://xoops.svn.sourceforge.net/xoops/?rev=9127&view=rev Author: beckmi Date: 2012-03-14 09:32:43 +0000 (Wed, 14 Mar 2012) Log Message: ----------- Adding xRoster and TPL League Stats Added Paths: ----------- XoopsModules/tplleaguestats/ XoopsModules/tplleaguestats/branches/ XoopsModules/tplleaguestats/releases/ XoopsModules/tplleaguestats/trunk/ XoopsModules/tplleaguestats/trunk/tplleaguestats/ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/head.php XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/index.php XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/leaguematches.php XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/menu.php XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/opponents.php XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/seasons.php XoopsModules/tplleaguestats/trunk/tplleaguestats/blocks/ XoopsModules/tplleaguestats/trunk/tplleaguestats/blocks/index.html XoopsModules/tplleaguestats/trunk/tplleaguestats/blocks/minitable.php XoopsModules/tplleaguestats/trunk/tplleaguestats/bottom.txt XoopsModules/tplleaguestats/trunk/tplleaguestats/change.php XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/ XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/license.txt XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/manual_eng.txt XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/manual_ita.txt XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/readme_eng.txt XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/readme_ita.txt XoopsModules/tplleaguestats/trunk/tplleaguestats/headtohead.php XoopsModules/tplleaguestats/trunk/tplleaguestats/images/ XoopsModules/tplleaguestats/trunk/tplleaguestats/images/empty.gif XoopsModules/tplleaguestats/trunk/tplleaguestats/images/line.gif XoopsModules/tplleaguestats/trunk/tplleaguestats/images/tplleague_slogo.png XoopsModules/tplleaguestats/trunk/tplleaguestats/index.php XoopsModules/tplleaguestats/trunk/tplleaguestats/language/ XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/ XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/admin.php XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/blocks.php XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/index.html XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/main.php XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/modinfo.php XoopsModules/tplleaguestats/trunk/tplleaguestats/language/italian/ XoopsModules/tplleaguestats/trunk/tplleaguestats/language/italian/admin.php XoopsModules/tplleaguestats/trunk/tplleaguestats/language/italian/blocks.php XoopsModules/tplleaguestats/trunk/tplleaguestats/language/italian/index.html XoopsModules/tplleaguestats/trunk/tplleaguestats/language/italian/main.php XoopsModules/tplleaguestats/trunk/tplleaguestats/language/italian/modinfo.php XoopsModules/tplleaguestats/trunk/tplleaguestats/notes.txt XoopsModules/tplleaguestats/trunk/tplleaguestats/season.php XoopsModules/tplleaguestats/trunk/tplleaguestats/sql/ XoopsModules/tplleaguestats/trunk/tplleaguestats/sql/mysql.sql XoopsModules/tplleaguestats/trunk/tplleaguestats/xoops_version.php XoopsModules/xroster/ XoopsModules/xroster/branches/ XoopsModules/xroster/releases/ XoopsModules/xroster/trunk/ XoopsModules/xroster/trunk/xroster/ XoopsModules/xroster/trunk/xroster/admin/ XoopsModules/xroster/trunk/xroster/admin/index.php XoopsModules/xroster/trunk/xroster/admin/menu.php XoopsModules/xroster/trunk/xroster/blocks/ XoopsModules/xroster/trunk/xroster/blocks/index.html XoopsModules/xroster/trunk/xroster/blocks/xroster_blocks.php XoopsModules/xroster/trunk/xroster/common.inc.php XoopsModules/xroster/trunk/xroster/images/ XoopsModules/xroster/trunk/xroster/images/SOEagazarian.jpg XoopsModules/xroster/trunk/xroster/images/Thumbs.db XoopsModules/xroster/trunk/xroster/images/blank.jpg XoopsModules/xroster/trunk/xroster/images/index.html XoopsModules/xroster/trunk/xroster/index.php XoopsModules/xroster/trunk/xroster/language/ XoopsModules/xroster/trunk/xroster/language/english/ XoopsModules/xroster/trunk/xroster/language/english/index.html XoopsModules/xroster/trunk/xroster/language/english/main.php XoopsModules/xroster/trunk/xroster/language/english/modinfo.php XoopsModules/xroster/trunk/xroster/language/index.html XoopsModules/xroster/trunk/xroster/sql/ XoopsModules/xroster/trunk/xroster/sql/data.sql XoopsModules/xroster/trunk/xroster/sql/index.html XoopsModules/xroster/trunk/xroster/templates/ XoopsModules/xroster/trunk/xroster/templates/blocks/ XoopsModules/xroster/trunk/xroster/templates/blocks/index.html XoopsModules/xroster/trunk/xroster/templates/blocks/xroster_block_newestmember.html XoopsModules/xroster/trunk/xroster/templates/index.html XoopsModules/xroster/trunk/xroster/templates/index_template.html XoopsModules/xroster/trunk/xroster/xoops_version.php XoopsModules/xroster/trunk/xroster/xroster.png Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/head.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/head.php (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/head.php 2012-03-14 09:32:43 UTC (rev 9127) @@ -0,0 +1,74 @@ +<?php +/* +************************************************************ +TPLLeagueStats is a league stats software designed for football (soccer) +team. + +Copyright (C) 2003 Timo Lepp\xE4nen / TPL Design +email: in...@tp... +www: www.tpl-design.com/tplleaguestats + +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. + +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. + +************************************************************ +Ported to xoops by +Mythrandir http://www.web-udvikling.dk +and +ralf57 http://www.madeinbanzi.it + +************************************************************ +*/ +if(!session_is_registered('season_name') || !session_is_registered('season_id')) +{ + echo "<form method=\"post\" action=\"leaguematches.php\">"; + echo '<b><?php echo _AM_CHOSEASON;?></b>'; + echo '<select name="season_select">'; + $get_seasons = $xoopsDB->query("SELECT * FROM ".$xoopsDB->prefix("tplls_seasonnames")." ORDER BY SeasonName"); + + while($sdata = $xoopsDB->fetchArray($get_seasons)) + { + echo "<option value=\"$sdata[SeasonID]____$sdata[SeasonName]\">$sdata[SeasonName]</option>\n"; + } + echo "</select> <input type=\"submit\" name=\"submit\" value=" ._AM_SEASONGO. "></form>"; + + + mysql_free_result($get_seasons); +} +else +{ + $season_name = $_SESSION['season_name']; + echo "<form method=\"post\" action=\"leaguematches.php\">"; + echo "<b> "._AM_SEASELECT." $season_name</b><br><br>"; + echo _AM_SEASELDROP; + echo '<select name="season_select">'; + + $get_seasons = $xoopsDB->query("SELECT * FROM ".$xoopsDB->prefix("tplls_seasonnames")." ORDER BY SeasonName"); + + while($sdata = $xoopsDB->fetchArray($get_seasons)) + { + if($sdata['SeasonID'] == $seasonid) + echo "<option value=\"$sdata[SeasonID]____$sdata[SeasonName]\" SELECTED>$sdata[SeasonName]</option>\n"; + else + echo "<option value=\"$sdata[SeasonID]____$sdata[SeasonName]\">$sdata[SeasonName]</option>\n"; + } + echo "</select> <input type=\"submit\" name=\"submit\" value=" ._AM_SEASONGO. "></form>"; + + mysql_free_result($get_seasons); +} +?> + +<hr width="100%"> + +</center> \ No newline at end of file Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/index.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/index.php (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/index.php 2012-03-14 09:32:43 UTC (rev 9127) @@ -0,0 +1,42 @@ +<?php +/* +************************************************************ +TPLLeagueStats is a league stats software designed for football (soccer) +team. + +Copyright (C) 2003 Timo Lepp\xE4nen / TPL Design +email: in...@tp... +www: www.tpl-design.com/tplleaguestats + +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. + +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. + +************************************************************ +Ported to xoops by +Mythrandir http://www.web-udvikling.dk +and +ralf57 http://www.madeinbanzi.it + +************************************************************ +*/ + + +include '../../../include/cp_header.php'; //Include file, which checks for permissions and sets navigation + +xoops_cp_header(); + +header("Location:leaguematches.php"); + +xoops_cp_footer(); +?> Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/leaguematches.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/leaguematches.php (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/leaguematches.php 2012-03-14 09:32:43 UTC (rev 9127) @@ -0,0 +1,1028 @@ +<?php +/* +************************************************************ +TPLLeagueStats is a league stats software designed for football (soccer) +team. + +Copyright (C) 2003 Timo Lepp\xE4nen / TPL Design +email: in...@tp... +www: www.tpl-design.com/tplleaguestats + +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. + +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. + +************************************************************ +Ported to xoops by +Mythrandir http://www.web-udvikling.dk +and +ralf57 http://www.madeinbanzi.it + +************************************************************ +*/ + +include '../../../include/cp_header.php'; //Include file, which checks for permissions and sets navigation +if (isset($_POST['season_select'])) { + $season = explode("____",$_POST['season_select']); +} +elseif (isset($_POST['seasonid'])) { + $season = array ($_POST['seasonid'], $_POST['seasonname']); +} +elseif (!isset($_SESSION['season_id'])) { + $sql = "SELECT SeasonID, SeasonName FROM ".$xoopsDB->prefix("tplls_seasonnames")." WHERE SeasonDefault=1"; + $seasonname = $xoopsDB->query($sql); + $seasonname = $xoopsDB->fetchArray($seasonname); + $season = array($seasonname['SeasonID'], $seasonname['SeasonName']); +} +else { + $season = array($_SESSION['season_id'], $_SESSION['season_name']); +} +$_SESSION['season_id'] = $season[0]; +$_SESSION['season_name'] = $season[1]; +$seasonid = $_SESSION['season_id']; +$seasonname = $_SESSION['season_name']; + +$PHP_SELF = $_SERVER['PHP_SELF']; +$action = isset($_GET['action']) ? $_GET['action'] : null; +$action = isset($_POST['action']) ? $_POST['action'] : $action; + +$add_submit = isset($_POST['add_submit']) ? $_POST['add_submit'] : false; +$modify_submit = isset($_POST['modify_submit']) ? $_POST['modify_submit'] : false; +$delete_submit = isset($_POST['delete_submit']) ? $_POST['delete_submit'] : false; +$modifyall_submit = isset($_POST['modifyall_submit']) ? $_POST['modifyall_submit']: null; + +xoops_cp_header(); + +?> + +<!-- Navigation bar--> +<table width="560" cellspacing="0" bordercolordark="white" bordercolorlight="black" style="border-collapse:collapse;"> + <tr> + <td align="center" style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> + <a href="seasons.php"><?php echo _AM_NAVSEASONS;?></a></td> + <td align="center" style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> + <a href="opponents.php"><?php echo _AM_NAVOPPONENTS;?></a></td> + <td align="center" nowrap style="padding: 3px;background-color: #E6E6FF; border:1px #000000 dotted;"> + <a href="leaguematches.php"><?php echo _AM_NAVLEAGUEMATCHES;?></a></td> + <td align="center" style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> + <a href="../index.php" target="_blank"><?php echo _AM_NAVLEAGUETABLE;?></a></td> + </tr> +</table> +<!-- End Navigation bar--> + +<?php + +// +//Exit check, if there are less than 2 teams in database +// +$query = $xoopsDB->query("SELECT OpponentID FROM ".$xoopsDB->prefix("tplls_opponents")); + +if($xoopsDB->getRowsNum($query) < 2) +{ + echo "<br><br>"._AM_ADDTWOTEAMS."<br><br> + <a href=\"opponents.php\">" ._AM_ADDTEAMS. "</a>"; + exit(); +} + +if($add_submit) +{ + $year = intval($_POST['year']); + $month = intval($_POST['month']); + $day = intval($_POST['day']); + $dateandtime = $year."-".$month."-".$day; + + // + //Check the data of the submitted form + // + $i = 0; + + while($i < 15) + { + $home = $_POST['home']; //hometeam id + $away = $_POST['away']; //awayteam id + $home_goals = $_POST['home_goals']; + $away_goals = $_POST['away_goals']; + + // + //Set the default + // + $home_winner = -1; + $home_loser = -1; + $home_tie = -1; + $away_winner = -1; + $away_loser = -1; + $away_tie = -1; + + // + //If home and away are not the same + // + if($home[$i] != $away[$i]) + { + $home[$i] = intval($home[$i]); + $away[$i] = intval($away[$i]); + $home_goals[$i] = $home_goals[$i] != null ? intval($home_goals[$i]) : null; + $away_goals[$i] = $away_goals[$i] != null ? intval($away_goals[$i]) : null; + // + //Hometeam wins + // + if($home_goals[$i] > $away_goals[$i]) + { + $home_winner = $home[$i]; + $away_loser = $away[$i]; + } + + // + //Away win + // + elseif($home_goals[$i] < $away_goals[$i]) + { + $away_winner = $away[$i]; + $home_loser = $home[$i]; + } + + // + //Draw + // + elseif($home_goals[$i] == $away_goals[$i]) + { + $home_tie = $home[$i]; + $away_tie = $away[$i]; + } + + // + //query to check if homea or away team already exists in the current day + // + $query = $xoopsDB->query("SELECT LM.LeagueMatchID FROM + ".$xoopsDB->prefix("tplls_leaguematches")." LM + WHERE + (LM.LeagueMatchHomeID = '$home[$i]' OR + LM.LeagueMatchAwayID = '$home[$i]' OR + LM.LeagueMatchHomeID = '$away[$i]' OR + LM.LeagueMatchAwayID = '$away[$i]') AND + LM.LeagueMatchDate = '$dateandtime' + ") + ; + + if($xoopsDB->getRowsNum($query) == 0) + { + if (($home_goals[$i] !== null) && ($home_goals[$i] !== null)) { + $xoopsDB->query("INSERT INTO ".$xoopsDB->prefix("tplls_leaguematches")." SET + LeagueMatchSeasonID = '$seasonid', + LeagueMatchDate = '$dateandtime', + LeagueMatchHomeID = '$home[$i]', + LeagueMatchAwayID = '$away[$i]', + LeagueMatchHomeWinnerID = '$home_winner', + LeagueMatchHomeLoserID = '$home_loser', + LeagueMatchAwayWinnerID = '$away_winner', + LeagueMatchAwayLoserID = '$away_loser', + LeagueMatchHomeTieID = '$home_tie', + LeagueMatchAwayTieID = '$away_tie', + LeagueMatchHomeGoals = '$home_goals[$i]', + LeagueMatchAwayGoals = '$away_goals[$i]', + LeagueMatchCreated = ".time()." + "); + } + else { + $xoopsDB->query("INSERT INTO ".$xoopsDB->prefix("tplls_leaguematches")." SET + LeagueMatchSeasonID = '$seasonid', + LeagueMatchDate = '$dateandtime', + LeagueMatchHomeID = '$home[$i]', + LeagueMatchAwayID = '$away[$i]', + LeagueMatchHomeWinnerID = '-1', + LeagueMatchHomeLoserID = '-1', + LeagueMatchAwayWinnerID = '-1', + LeagueMatchAwayLoserID = '-1', + LeagueMatchHomeTieID = '-1', + LeagueMatchAwayTieID = '-1', + LeagueMatchCreated = ".time()." + "); + } + + } + + } + $i++; + } +} +elseif($modifyall_submit) +{ + $year = intval($_POST['year']); + $month = intval($_POST['month']); + $day = intval($_POST['day']); + $dateandtime = $year."-".$month."-".$day; + $qty = intval($_POST['qty']); + + // + //Delete old data from selected date + // + $xoopsDB->query("DELETE FROM ".$xoopsDB->prefix("tplls_leaguematches")." + WHERE LeagueMatchDate = '$dateandtime' + "); + + // + //Check the submitted form + // + $i = 0; + $home = $_POST['home']; //hometeam id + $away = $_POST['away']; //awayteam id + $home_goals = $_POST['home_goals']; + $away_goals = $_POST['away_goals']; + while($i < $qty) + { + $home[$i] = intval($home[$i]); + $away[$i] = intval($away[$i]); + $home_goals[$i] = $home_goals[$i] != null ? intval($home_goals[$i]) : null; + $away_goals[$i] = $away_goals[$i] != null ? intval($away_goals[$i]) : null; + // + //Set default + // + $home_winner = -1; + $home_loser = -1; + $home_tie = -1; + $away_winner = -1; + $away_loser = -1; + $away_tie = -1; + + // + //Home wins + // + if($home_goals[$i] > $away_goals[$i]) + { + $home_winner = $home[$i]; + $away_loser = $away[$i]; + } + // + //Away wins + // + elseif($home_goals[$i] < $away_goals[$i]) + { + $away_winner = $away[$i]; + $home_loser = $home[$i]; + } + // + //Draw + // + elseif($home_goals[$i] == $away_goals[$i]) + { + $home_tie = $home[$i]; + $away_tie = $away[$i]; + } + if (($home_goals[$i] !== null) && ($away_goals[$i] !== null)) { + $xoopsDB->query("INSERT INTO ".$xoopsDB->prefix("tplls_leaguematches")." SET + LeagueMatchSeasonID = '$seasonid', + LeagueMatchDate = '$dateandtime', + LeagueMatchHomeID = '$home[$i]', + LeagueMatchAwayID = '$away[$i]', + LeagueMatchHomeWinnerID = '$home_winner', + LeagueMatchHomeLoserID = '$home_loser', + LeagueMatchAwayWinnerID = '$away_winner', + LeagueMatchAwayLoserID = '$away_loser', + LeagueMatchHomeTieID = '$home_tie', + LeagueMatchAwayTieID = '$away_tie', + LeagueMatchHomeGoals = '$home_goals[$i]', + LeagueMatchAwayGoals = '$away_goals[$i]', + LeagueMatchCreated = ".time()." + "); + } + else { + $xoopsDB->query("INSERT INTO ".$xoopsDB->prefix("tplls_leaguematches")." SET + LeagueMatchSeasonID = '$seasonid', + LeagueMatchDate = '$dateandtime', + LeagueMatchHomeID = '$home[$i]', + LeagueMatchAwayID = '$away[$i]', + LeagueMatchHomeWinnerID = '-1', + LeagueMatchHomeLoserID = '-1', + LeagueMatchAwayWinnerID = '-1', + LeagueMatchAwayLoserID = '-1', + LeagueMatchHomeTieID = '-1', + LeagueMatchAwayTieID = '-1', + LeagueMatchCreated = ".time()." + "); + } + $i++; + } +} +elseif($modify_submit) +{ + $mid = intval($_POST['mid']); + $homeid = intval($_POST['homeid']); + $awayid = intval($_POST['awayid']); + $year = intval($_POST['year']); + $month = intval($_POST['month']); + $day = intval($_POST['day']); + $dateandtime = $year."-".$month."-".$day; + + $home = intval($_POST['home']); //kotijoukkueen id + $away = intval($_POST['away']); //vierasjoukkueen id + $home_goals = $_POST['home_goals'] != null ? intval($_POST['home_goals']) : null; + $away_goals = $_POST['home_goals'] != null ? intval($_POST['away_goals']) : null; + + // + //Set default + // + $home_winner = -1; + $home_loser = -1; + $home_tie = -1; + $away_winner = -1; + $away_loser = -1; + $away_tie = -1; + + // + //Check that home and away are not the same + // + if($home != $away) + { + // + //Home wins + // + if($home_goals > $away_goals) + { + $home_winner = $home; + $away_loser = $away; + } + + // + //Away wins + // + elseif($home_goals < $away_goals) + { + $away_winner = $away; + $home_loser = $home; + } + + // + //Draw + // + elseif($home_goals == $away_goals) + { + $home_tie = $home; + $away_tie = $away; + } + + // + //query to check if home or away team already exists in the current day + // + $query = $xoopsDB->query("SELECT LM.LeagueMatchID FROM + ".$xoopsDB->prefix("tplls_leaguematches")." LM + WHERE + (LM.LeagueMatchHomeID = '$home' OR + LM.LeagueMatchAwayID = '$home' OR + LM.LeagueMatchHomeID = '$homeid' OR + LM.LeagueMatchAwayID = '$homeid' OR + LM.LeagueMatchHomeID = '$away' OR + LM.LeagueMatchAwayID = '$away' OR + LM.LeagueMatchHomeID = '$awayid' OR + LM.LeagueMatchAwayID = '$awayid') AND + LM.LeagueMatchDate = '$dateandtime' + "); + + if($xoopsDB->getRowsNum($query) < 2) + { + if (($home_goals !== null) && ($away_goals !== null)) { + $xoopsDB->query("UPDATE ".$xoopsDB->prefix("tplls_leaguematches")." SET + LeagueMatchDate = '$dateandtime', + LeagueMatchHomeID = '$home', + LeagueMatchAwayID = '$away', + LeagueMatchHomeWinnerID = '$home_winner', + LeagueMatchHomeLoserID = '$home_loser', + LeagueMatchAwayWinnerID = '$away_winner', + LeagueMatchAwayLoserID = '$away_loser', + LeagueMatchHomeTieID = '$home_tie', + LeagueMatchAwayTieID = '$away_tie', + LeagueMatchHomeGoals = '$home_goals', + LeagueMatchAwayGoals = '$away_goals', + LeagueMatchCreated = ".time()." + WHERE LeagueMatchID = '$mid' + LIMIT 1 + "); + } + else { + $xoopsDB->query("UPDATE ".$xoopsDB->prefix("tplls_leaguematches")." SET + LeagueMatchDate = '$dateandtime', + LeagueMatchHomeID = '$home', + LeagueMatchAwayID = '$away', + LeagueMatchHomeWinnerID = '-1', + LeagueMatchHomeLoserID = '-1', + LeagueMatchAwayWinnerID = '-1', + LeagueMatchAwayLoserID = '-1', + LeagueMatchHomeTieID = '-1', + LeagueMatchAwayTieID = '-1', + LeagueMatchHomeGoals = NULL, + LeagueMatchAwayGoals = NULL, + LeagueMatchCreated = ".time()." + WHERE LeagueMatchID = '$mid' + LIMIT 1 + "); + } + } + } +} +elseif($delete_submit) +{ + $mid = intval($_POST['mid']); + $xoopsDB->query("DELETE FROM ".$xoopsDB->prefix("tplls_leaguematches")." WHERE LeagueMatchID = '$mid' LIMIT 1"); +} + + ?> + + <?php + include('head.php'); + ?> + + <table align="center" width="700"> + <tr> + <td align="left" valign="top"> + <form method="post" action="<?php echo "$PHP_SELF"?>"> + <?php + if(!isset($action)) + { + ?> + <h3><?php echo _AM_ADDMATCH;?></h3> + <?php echo _AM_ADDMATCHNOTE;?><br><br> + + <?php echo _AM_DATE;?> + <select name="day"> + <?php + //print the days + for($i = 1 ; $i < 32 ; $i++) + { + if($i<10) + { + $i = "0".$i; + } + if($i == "01") + echo "<option value=\"$i\" SELECTED>$i</option>\n"; + else + echo "<option value=\"$i\">$i</option>\n"; + } + ?> + </select> / + + <select name="month"> + <?php + //print the months + for($i = 1 ; $i < 13 ; $i++) + { + if($i<10) + { + $i = "0".$i; + } + if($i == "01") + echo "<option value=\"$i\" SELECTED>$i</option>\n"; + else + echo "<option value=\"$i\">$i</option>\n"; + } + ?> + </select> / + + <select name="year"> + <?php + //print the years + for($i = 1950 ; $i < 2010 ; $i++) + { + if($i<10) + { + $i = "0".$i; + } + if($i == "2003") + echo "<option value=\"$i\" SELECTED>$i</option>\n"; + else + echo "<option value=\"$i\">$i</option>\n"; + } + ?> + </select><br><br> + <?php echo _AM_ADDMATCHNOTE2;?><br><br> + + <table width="100%" cellspacing="3" cellpadding="3" border="0"> + <tr> + + <td align="left" valign="middle"><b><?php echo _AM_HOMETEAM;?></b></td> + <td align="left" valign="middle"><b><?php echo _AM_AWAYTEAM;?></b></td> + <td align="center" valign="middle"><b><?php echo _AM_GOALSHOME;?></b></td> + <td align="center" valign="middle"><b><b><?php echo _AM_GOALSAWAY;?></b></td> + + </tr> + + <?php + + // + //query to get all the teams + // + $get_opponents = $xoopsDB->query("SELECT OpponentID AS id, + OpponentName AS name + FROM ".$xoopsDB->prefix("tplls_opponents")." + ORDER BY OpponentName"); + + // + //Prints 15 forms + // + $i=0; + + while($i < 15) + { + // + //query back to row 0 if not the first time in the loop + // + if($i>0) + mysql_data_seek($get_opponents, 0); + + echo' + <tr> + <td align="left" valign="middle"> + '; + + echo"<select name=\"home[$i]\">"; + + while($data = $xoopsDB->fetchArray($get_opponents)) + { + echo"<option value=\"$data[id]\">$data[name]</option>\n"; + } + + echo' + </select> + </td> + <td align="left" valign="middle"> + '; + + // + //Back to line 0in the query + // + mysql_data_seek($get_opponents, 0); + + echo"<select name=\"away[$i]\">"; + + while($data = $xoopsDB->fetchArray($get_opponents)) + { + echo"<option value=\"$data[id]\">$data[name]</option>\n"; + } + + echo" + </select> + </td> + <td align=\"center\" valign=\"middle\"><input type=\"text\" name=\"home_goals[$i]\" size=\"2\"></td> + <td align=\"center\" valign=\"middle\"><input type=\"text\" name=\"away_goals[$i]\" size=\"2\"></td> + + </tr> + "; + + + + + $i++; + } + + ?> + + </table><br><br> + <input type="hidden" name="seasonid" value="<?php echo $seasonid; ?>"> + <input type="hidden" name="seasonname" value="<?php echo $seasonname; ?>"> + <input type="submit" name="add_submit" value="<?php echo _AM_ADDMATCHES;?>"> + </form> + <?php + } + elseif($action == 'modifyall') + { + $date = $_REQUEST['date']; + + $get_matches = $xoopsDB->query("SELECT DAYOFMONTH(LM.LeagueMatchDate) AS dayofmonth, + MONTH(LM.LeagueMatchDate) AS month, + YEAR(LM.LeagueMatchDate) AS year, + LM.LeagueMatchHomeID AS homeid, + LM.LeagueMatchAwayID AS awayid, + LM.LeagueMatchHomeGoals AS homegoals, + LM.LeagueMatchAwayGoals AS awaygoals + FROM ".$xoopsDB->prefix("tplls_leaguematches")." LM + WHERE LM.LeaguematchDate = '$date' + ") + ; + + // + //query to get date + // + $get_match = $xoopsDB->query("SELECT DAYOFMONTH(LM.LeagueMatchDate) AS dayofmonth, + MONTH(LM.LeagueMatchDate) AS month, + YEAR(LM.LeagueMatchDate) AS year + FROM ".$xoopsDB->prefix("tplls_leaguematches")." LM + WHERE LM.LeaguematchDate = '$date' + LIMIT 1 + ") + ; + + $datedata = $xoopsDB->fetchArray($get_match); + + //$xoopsDB->freeRecordSet($get_match); + + $get_opponents = $xoopsDB->query("SELECT OpponentID AS id, + OpponentName AS name + FROM ".$xoopsDB->prefix("tplls_opponents")." + ORDER BY OpponentName + ") + ; + + ?> + + <form method="post" action="<?php echo "$PHP_SELF" ?>"> + <h3><?php echo _AM_MODMATCHES;?></h3> + + <table width="100%" cellspacing="3" cellpadding="3" border="0"> + + <tr> + <td align="left" valign="top"> + <?php echo _AM_DATETIME;?> + </td> + <td align="left" valign="top"> + + <select name="day"> + <?php + //Print the days + for($i = 1 ; $i < 32 ; $i++) + { + if($i<10) + { + $i = "0".$i; + } + if($datedata['dayofmonth'] == $i) + echo "<option value=\"$i\" SELECTED>$i</option>\n"; + else + echo "<option value=\"$i\">$i</option>\n"; + } + ?> + </select> / + + <select name="month"> + <?php + //Print the months + for($i = 1 ; $i < 13 ; $i++) + { + if($i<10) + { + $i = "0".$i; + } + if($datedata['month'] == $i) + echo "<option value=\"$i\" SELECTED>$i</option>\n"; + else + echo "<option value=\"$i\">$i</option>\n"; + } + ?> + </select> / + + <select name="year"> + <?php + //Print the years + for($i = 1950 ; $i < 2010 ; $i++) + { + if($i<10) + { + $i = "0".$i; + } + if($datedata['year'] == $i) + echo "<option value=\"$i\" SELECTED>$i</option>\n"; + else + echo "<option value=\"$i\">$i</option>\n"; + } + ?> + </select> + </td> + </tr> + + </table> + + <table width="100%" cellspacing="3" cellpadding="3" border="0"> + <tr> + + <td align="left" valign="middle"><b><?php echo _AM_HOMETEAM;?></b></td> + <td align="left" valign="middle"><b><?php echo _AM_AWAYTEAM;?></b></td> + <td align="center" valign="middle"><b><?php echo _AM_GOALSHOME;?></b></td> + <td align="center" valign="middle"><b><?php echo _AM_GOALSAWAY;?></b></td> + + </tr> + + <?php + + // + //Lets get all the matches from selected date to the form + // + $i = 0; + while($matchdata = $xoopsDB->fetchArray($get_matches)) + { + // + //Back to line 0 in the query if not the first loop + // + if($i>0) + mysql_data_seek($get_opponents, 0); + + echo' + <tr> + <td align="left" valign="middle"> + '; + + echo"<select name=\"home[$i]\">"; + + while($data = $xoopsDB->fetchArray($get_opponents)) + { + if($matchdata['homeid'] == $data['id']) + echo"<option value=\"$data[id]\" SELECTED>$data[name]</option>\n"; + } + + echo' + </select> + </td> + <td align="left" valign="middle"> + '; + + // + //Back to line 0 in the query + // + mysql_data_seek($get_opponents, 0); + + echo"<select name=\"away[$i]\">"; + + while($data = $xoopsDB->fetchArray($get_opponents)) + { + if($matchdata['awayid'] == $data['id']) + echo"<option value=\"$data[id]\" SELECTED>$data[name]</option>\n"; + } + + echo" + </select> + </td> + <td align=\"center\" valign=\"middle\"><input type=\"text\" name=\"home_goals[$i]\" size=\"2\" value=\"$matchdata[homegoals]\"></td> + <td align=\"center\" valign=\"middle\"><input type=\"text\" name=\"away_goals[$i]\" size=\"2\" value=\"$matchdata[awaygoals]\"></td> + + </tr> + "; + + + + + $i++; + } + + ?> + + </table> + + <font color="red"><?php echo _AM_MODNOTICE1;?></font><br><br> + <input type="hidden" name="qty" value="<?= $i ?>"> + <input type="hidden" name="seasonname" value="<?php echo $seasonname; ?>"> + <br><input type="submit" name="modifyall_submit" value="<?php echo _AM_MODINPUT;?>"> + </form> + + <?php + } + elseif($action == 'modify') + { + $id = intval($_REQUEST['id']); + + $get_match = $xoopsDB->query("SELECT DAYOFMONTH(LM.LeagueMatchDate) AS dayofmonth, + MONTH(LM.LeagueMatchDate) AS month, + YEAR(LM.LeagueMatchDate) AS year, + LM.LeagueMatchHomeID AS homeid, + LM.LeagueMatchAwayID AS awayid, + LM.LeagueMatchHomeGoals AS homegoals, + LM.LeagueMatchAwayGoals AS awaygoals + FROM ".$xoopsDB->prefix("tplls_leaguematches")." LM + WHERE LM.LeaguematchID = '$id' + LIMIT 1 + ") + ; + + $get_opponents = $xoopsDB->query("SELECT OpponentID AS id, + OpponentName AS name + FROM ".$xoopsDB->prefix("tplls_opponents")." + ORDER BY OpponentName + ") + ; + + $matchdata = $xoopsDB->fetchArray($get_match); + + //$xoopsDB->freeRecordSet($get_match); + + ?> + <form method="post" action="<?php echo "$PHP_SELF"?>"> + <h3><?php echo _AM_MODMATCH;?></h3> + + <table width="100%" cellspacing="3" cellpadding="3" border="0"> + + <tr> + <td align="left" valign="top"> + <?php echo _AM_DATETIME;?> + </td> + <td align="left" valign="top"> + + <select name="day"> + <?php + //Print the days + for($i = 1 ; $i < 32 ; $i++) + { + if($i<10) + { + $i = "0".$i; + } + if($matchdata['dayofmonth'] == $i) + echo "<option value=\"$i\" SELECTED>$i</option>\n"; + else + echo "<option value=\"$i\">$i</option>\n"; + } + ?> + </select> / + + <select name="month"> + <?php + //Print the months + for($i = 1 ; $i < 13 ; $i++) + { + if($i<10) + { + $i = "0".$i; + } + if($matchdata['month'] == $i) + echo "<option value=\"$i\" SELECTED>$i</option>\n"; + else + echo "<option value=\"$i\">$i</option>\n"; + } + ?> + </select> / + + <select name="year"> + <?php + //Print the years + for($i = 1950 ; $i < 2010 ; $i++) + { + if($i<10) + { + $i = "0".$i; + } + if($matchdata['year'] == $i) + echo "<option value=\"$i\" SELECTED>$i</option>\n"; + else + echo "<option value=\"$i\">$i</option>\n"; + } + ?> + </select> + </td> + </tr> + + </table> + + <table width="100%" cellspacing="3" cellpadding="3" border="0"> + <tr> + + <td align="left" valign="middle"><b><?php echo _AM_HOMETEAM;?></b></td> + <td align="left" valign="middle"><b><?php echo _AM_AWAYTEAM;?></b></td> + <td align="center" valign="middle"><b><?php echo _AM_GOALSHOME;?></b></td> + <td align="center" valign="middle"><b><?php echo _AM_GOALSAWAY;?></b></td> + + </tr> + + <tr> + <td align="left" valign="middle"> + + <select name="home"> + <?php + + while($data = $xoopsDB->fetchArray($get_opponents)) + { + if($matchdata['homeid'] == $data['id']) + echo"<option value=\"$data[id]\" SELECTED>$data[name]</option>\n"; + else + echo"<option value=\"$data[id]\">$data[name]</option>\n"; + } + + ?> + </select> + </td> + <td align="left" valign="middle"> + + <select name="away"> + <?php + + mysql_data_seek($get_opponents, 0); + + while($data = $xoopsDB->fetchArray($get_opponents)) + { + if($matchdata['awayid'] == $data['id']) + echo"<option value=\"$data[id]\" SELECTED>$data[name]</option>\n"; + else + echo"<option value=\"$data[id]\">$data[name]</option>\n"; + } + + ?> + </select> + </td> + <td align="center" valign="middle"><input type="text" name="home_goals" size="2" value="<?= $matchdata['homegoals'] ?>"></td> + <td align="center" valign="middle"><input type="text" name="away_goals" size="2" value="<?= $matchdata['awaygoals'] ?>"></td> + + </tr> + + </table> + + + <input type="hidden" name="mid" value="<?= $id ?>"> + <input type="hidden" name="homeid" value="<?= $matchdata['awayid'] ?>"> + <input type="hidden" name="awayid" value="<?= $matchdata['homeid'] ?>"> + <br><input type="submit" name="modify_submit" value="<?php echo _AM_MODINPUT2;?>"> + <input type="hidden" name="seasonid" value="<?php echo $seasonid; ?>"> + <input type="hidden" name="seasonname" value="<?php echo $seasonname; ?>"> + <br><br><br><br><br> + <input type="submit" name="delete_submit" value="<?php echo _AM_DELINPUT;?>"> + </form> + + <?php + } + ?> + </td> + + <td align="left" valign="top" width="250"> + + <table width="250"> + <?php + $get_matches = $xoopsDB->query("SELECT O.OpponentName AS hometeam, + OP.OpponentName AS awayteam, + LM.LeagueMatchHomeGoals AS goals_home, + LM.LeagueMatchAwayGoals AS goals_away, + LM.LeagueMatchID AS id, + LM.LeagueMatchDate AS defaultdate, + DATE_FORMAT(LM.LeagueMatchDate, '%b %D %Y') AS date + FROM ".$xoopsDB->prefix("tplls_leaguematches")." LM, ".$xoopsDB->prefix("tplls_opponents")." O, ".$xoopsDB->prefix("tplls_opponents")." OP + WHERE O.OpponentID = LM.LeagueMatchHomeID AND + OP.OpponentID = LM.LeagueMatchAwayID AND + LeagueMatchSeasonID = '$seasonid' + ORDER BY LM.LeagueMatchDate DESC"); + + if($xoopsDB->getRowsNum($get_matches) < 1) + { + echo "<b> "._AM_NOMATCHESYET." <br><u> $seasonname</u> </b>"; + } + else + { + echo "<b> "._AM_MATCHESYET." <br> <u>$seasonname</u></b><br><br>"; + + $i = 0; + $temp = ''; + + while($data = $xoopsDB->fetchArray($get_matches)) + { + if($i == 0) + { + echo" + <tr> + <td align=\"left\" colspan=\"2\"> + <b><a href=\"$PHP_SELF?action=modifyall&date=$data[defaultdate]\">$data[date]</a></b> + </td> + </tr> + "; + } + + if($data['date'] != "$temp" && $i > 0) + { + echo" + <tr> + <td align=\"left\" colspan=\"2\"> + <br><br> + <b><a href=\"$PHP_SELF?action=modifyall&date=$data[defaultdate]\">$data[date]</a></b> + </td> + </tr> + "; + } + + echo " + <tr> + <td align=\"left\" valign=\"top\" width=\"230\"> + <a href=\"$PHP_SELF?action=modify&id=$data[id]\">$data[hometeam] - $data[awayteam]</a> + </td> + <td align=\"right\" valign=\"top\" width=\"50\">"; + + if(!is_null($data['goals_home'])) + echo"$data[goals_home]-$data[goals_away]"; + else + echo' '; + + + echo" + </td> + </tr>"; + + $temp = "$data[date]"; + + $i++; + } + } + ?> + </table> + </td> + </tr> + </table> +<?php +xoops_cp_footer(); +?> \ No newline at end of file Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/menu.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/menu.php (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/menu.php 2012-03-14 09:32:43 UTC (rev 9127) @@ -0,0 +1,10 @@ +<?php + +$adminmenu[1]['title'] = _MI_TPLLS_ADMENU1; +$adminmenu[1]['link'] = "admin/seasons.php"; +$adminmenu[2]['title'] = _MI_TPLLS_ADMENU2; +$adminmenu[2]['link'] = "admin/opponents.php"; +$adminmenu[3]['title'] = _MI_TPLLS_ADMENU3; +$adminmenu[3]['link'] = "admin/leaguematches.php"; + +?> \ No newline at end of file Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/opponents.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/opponents.php (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/opponents.php 2012-03-14 09:32:43 UTC (rev 9127) @@ -0,0 +1,383 @@ +<?php +/* +************************************************************ +TPLLeagueStats is a league stats software designed for football (soccer) +team. + +Copyright (C) 2003 Timo Lepp\xE4nen / TPL Design +email: in...@tp... +www: www.tpl-design.com/tplleaguestats + +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. + +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. + +************************************************************ +Ported to xoops by +Mythrandir http://www.web-udvikling.dk +and +ralf57 http://www.madeinbanzi.it + +************************************************************ +*/ + +include '../../../include/cp_header.php'; //Include file, which checks for permissions and sets navigation + +if (isset($_POST['season_select'])) { + $season = explode("____",$_POST['season_select']); +} +elseif (isset($_POST['seasonid'])) { + $season = array (intval($_POST['seasonid']), $_POST['seasonname']); +} +elseif (!isset($_SESSION['season_id'])) { + $sql = "SELECT SeasonID, SeasonName FROM ".$xoopsDB->prefix("tplls_seasonnames")." WHERE SeasonDefault=1"; + $seasonname = $xoopsDB->query($sql); + $seasonname = $xoopsDB->fetchArray($seasonname); + $season = array($seasonname['SeasonID'], $seasonname['SeasonName']); +} +else { + $season = array(intval($_SESSION['season_id']), $_SESSION['season_name']); +} +$_SESSION['season_id'] = $season[0]; +$_SESSION['season_name'] = $season[1]; +$seasonid = $_SESSION['season_id']; +$seasonname = $_SESSION['season_name']; + +$PHP_SELF = $_SERVER['PHP_SELF']; +$action = isset($_GET['action']) ? $_GET['action'] : null; +$action = isset($_POST['action']) ? $_POST['action'] : $action; + +$add_submit = isset($_POST['add_submit']) ? $_POST['add_submit'] : false; +$modify_submit = isset($_POST['modify_submit']) ? $_POST['modify_submit'] : false; +$delete_submit = isset($_POST['delete_submit']) ? $_POST['delete_submit'] : false; + +$d_points_add = isset($_POST['d_points_add']) ? $_POST['d_points_add'] : null; +$d_points_modify = isset($_POST['d_points_modify']) ? $_POST['d_points_modify'] : null; + +xoops_cp_header(); + +?> + +<!-- Navigation bar--> +<table width="560" cellspacing="0" bordercolordark="white" bordercolorlight="black" style="border-collapse:collapse;"> + <tr> + <td align="center" style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> + <a href="seasons.php"><?php echo _AM_NAVSEASONS;?></a></td> + <td align="center" style="padding: 3px;background-color: #E6E6FF; border:1px #000000 dotted;"> + <a href="opponents.php"><?php echo _AM_NAVOPPONENTS;?></a></td> + <td align="center" nowrap style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> + <a href="leaguematches.php"><?php echo _AM_NAVLEAGUEMATCHES;?></a></td> + <td align="center" style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> + <a href="../index.php" target="_blank"><?php echo _AM_NAVLEAGUETABLE;?></a></td> + </tr> +</table> +<!-- End Navigation bar--> + +<?php + +// +//Add +// +if($add_submit) +{ + $opponent = trim($_POST['opponent']); + $opponent = $xoopsDB->quoteString($opponent); + //query to check if there are already a team with submitted name + $query = $xoopsDB->query("SELECT OpponentName FROM ".$xoopsDB->prefix("tplls_opponents")." WHERE OpponentName = $opponent"); + + if($xoopsDB->getRowsNum($query) > 0) + { + echo "<font color='red'><b>". _AM_TEAMDUPLICATE."</b></font><br><br>"; + exit(); + } + + if($opponent != '') + { + $xoopsDB->query("INSERT INTO ".$xoopsDB->prefix("tplls_opponents")." SET OpponentName = $opponent"); + + header("Location: $PHP_SELF"); + } +} +// +//Modify +// +elseif($modify_submit) +{ + $opponent = $xoopsDB->quoteString(trim($_POST['opponent'])); + $opponentid = intval($_POST['opponentid']); + $own = $_POST['own']; + // + //Checked own + // + if(!isset($own)) + { + $own = 0; + } + + if($opponent != '') + { + // + //If own team->delete the own status from the previous one + // + if($own == 1) + { + $xoopsDB->query("UPDATE ".$xoopsDB->prefix("tplls_opponents")." SET + OpponentOwn = '0' + WHERE OpponentOwn = '1' + "); + } + + $xoopsDB->query("UPDATE ".$xoopsDB->prefix("tplls_opponents")." SET + OpponentName = $opponent, + OpponentOwn = '$own' + WHERE OpponentID = $opponentid"); + } + + header("Location: $HTTP_REFERER"); +} +// +//Delete +// +elseif($delete_submit) +{ + $opponentid = intval($_POST['opponentid']); + + // + //query to check, if team already exists in the leaguetables + // + $query = $xoopsDB->query("SELECT LeagueMatchID + FROM ".$xoopsDB->prefix("tplls_leaguematches")." + WHERE LeagueMatchHomeID = $opponentid OR LeagueMatchAwayID = $opponentid"); + + if($xoopsDB->getRowsNum($query) == 0) + { + $xoopsDB->query("DELETE FROM ".$xoopsDB->prefix("tplls_opponents")." WHERE OpponentID = $opponentid"); + + header("Location: $PHP_SELF"); + } + else + { + echo "<font color='red'><b>". _AM_TEAMISINUSE."</b></font><br><br>"; + exit(); + } +} +// +//Deducted points +// +elseif($d_points_add) +{ + $d_points = intval($_POST['d_points']); + $teamid = intval($_POST['teamid']); + $seasonid = intval($_POST['seasonid']); + + if(is_numeric($d_points) && $d_points != '') + { + // + //Adds + // + $xoopsDB->query("INSERT INTO ".$xoopsDB->prefix("tplls_deductedpoints")." SET + seasonid = $seasonid, + teamid = $teamid, + points = $d_points"); + } + + header("Location: $HTTP_REFERER"); +} +// +//Modify of deducted points +// +elseif($d_points_modify) +{ + $d_points = intval($_POST['d_points']); + $id = intval($_POST['id']); + + if(is_numeric($d_points) && $d_points != '') + { + // + //Delete deducted points if zero is written + // + if($d_points == 0) + { + $xoopsDB->query("DELETE FROM ".$xoopsDB->prefix("tplls_deductedpoints")." + WHERE id = $id"); + } + // + //Modify if some other number + // + else + { + $xoopsDB->query("UPDATE ".$xoopsDB->prefix("tplls_deductedpoints")." SET + points = $d_points + WHERE id = $id"); + } + } + + header("Location: $HTTP_REFERER"); +} + + +?> + + <?php + include('head.php'); + ?> + <table align="center" width="600"> + <tr> + <td align="left" valign="top"> + <?php + if(!isset($action)) + { + ?> + <form method="post" action="<?php echo "$PHP_SELF"?>"> + <h3><?php echo _AM_ADDNEWTEAM;?></h3> + <table width="100%" cellspacing="3" cellpadding="3" border="0"> + <tr> + <td align="left" valign="top"> + <?php echo _AM_TEAMNAME;?> + </td> + <td align="left" valign="top"> + <input type="text" name="opponent"> + </td> + </tr> + </table> + <input type="submit" name="add_submit" value="<?php echo _AM_ADDTEAM;?>"> + </form> + <?php + } + elseif($action == 'modify') + { + $opponentid = intval($_REQUEST['opponent']); + $get_opponent = $xoopsDB->query("SELECT * FROM ".$xoopsDB->prefix("tplls_opponents")." WHERE OpponentID = $opponentid LIMIT 1"); + $data = $xoopsDB->fetchArray($get_opponent); + ?> + + <form method="post" action="<?php echo "$PHP_SELF"?>"> + <h3><?php echo _AM_TEAMMODIFYDELETE;?></h3> + <table width="100%" cellspacing="3" cellpadding="3" border="0"> + <tr> + <td align="left" valign="top"> + <?php echo _AM_TEAMNAME;?> + </td> + <td align="left" valign="top"> + <input type="text" name="opponent" value="<?php echo $data['OpponentName'] ?>"> + <input type="hidden" name="opponentid" value="<?php echo $data['OpponentID'] ?>"> + </td> + </tr> + + <tr> + <td align="left" valign="top"> + <?php echo _AM_TEAMISYOURS;?> + </td> + <td align="left" valign="top"> + <?php + + if($data['OpponentOwn'] == 1) + echo"<input type=\"checkbox\" name=\"own\" value=\"1\" CHECKED>\n"; + else + echo"<input type=\"checkbox\" name=\"own\" value=\"1\">\n"; + + ?> + </td> + </tr> + + </table> + <input type="submit" name="modify_submit" value="<?php echo _AM_TEAMMODIFY;?>"> <input type="submit" name="delete_submit" value="<?php echo _AM_TEAMDELETE;?>"> + </form> + + <a href="<?php echo "$PHP_SELF" ?>"><?php echo _AM_ADDNEWTEAM;?></a> + + <h3><?php echo _AM_DEDPTS;?></h3> + + <?php + + // + //Check if there are deducted points + // + + echo"<b>$seasonname</b><br><br>"; + + $get_deduct = $xoopsDB->query("SELECT points, id + FROM ".$xoopsDB->prefix("tplls_deductedpoints")." + WHERE seasonid = $seasonid AND teamid = $opponentid + LIMIT 1 + "); + + if($xoopsDB->getRowsNum($get_deduct) == 0) + { + echo" + <form method=\"POST\" action=\"$PHP_SELF\">" + ._AM_ADDDEDPTS. + "<input type=\"text\" size=\"2\" name=\"d_points\"> + <input type=\"hidden\" value=\"$opponentid\" name=\"teamid\"> + <input type=\"hidden\" value=\"$seasonid\" name=\"seasonid\"> + <input type=\"submit\" value="._AM_ADEDPTS." name=\"d_points_add\"> + </form> + "; + } + else + { + $data = $xoopsDB->fetchArray($get_deduct); + + echo" + <form method=\"POST\" action=\"$PHP_SELF\">" + ._AM_MODDEDPTS. + "<input type=\"text\" size=\"2\" name=\"d_points\" value=\"$data[points]\"> + <input type=\"hidden\" value=\"$data[id]\" name=\"id\"> + <input type=\"submit\" value="._AM_MDEDPTS." name=\"d_points_modify\"> + </form> + "; + } + + mysql_free_result($get_deduct); + + ?> + + <?php + mysql_free_result($get_opponent); + } + ?> + </td> + + <td align="left" valign="top"> + <?php + $get_opponents = $xoopsDB->query("SELECT * FROM ".$xoopsDB->prefix("tplls_opponents")." ORDER BY OpponentName"); + + if($xoopsDB->getRowsNum($get_opponents) < 1) + { + echo "<b>". _AM_NOTEAMSAVAILABLE."</b><br><br>"; + } + else + { + echo "<b>". _AM_TEAMSAVAILABLE."</b><br><br>"; + + while($data = $xoopsDB->fetchArray($get_opponents)) + { + echo "<a href=\"$PHP_SELF?action=modify&opponent=$data[OpponentID]\">$data[OpponentName]</a>"; + + if($data['OpponentOwn'] == 1) + echo " "._AM_YT. "<br>\n"; + else + echo"<br>\n"; + } + } + + ?> + + <br><br> + <?php echo _AM_YOURTEAM;?> + </td> + </tr> + </table> +<?php +xoops_cp_footer(); +?> \ No newline at end of file Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/seasons.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/seasons.php (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/seasons.php 2012-03-14 09:32:43 UTC (rev 9127) @@ -0,0 +1,307 @@ +<?php +/* +************************************************************ +TPLLeagueStats is a league stats software designed for football (soccer) +team. + +Copyright (C) 2003 Timo Lepp\xE4nen / TPL Design +email: in...@tp... +www: www.tpl-design.com/tplleaguestats + +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. + +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. + +************************************************************ +Ported to xoops by +Mythrandir http://www.web-udvikling.dk +and +ralf57 http://www.madeinbanzi.it + +************************************************************ +*/ + +include '../../../include/cp_header.php'; //Include file, which checks for permissions and sets navigation + +$seasonid = isset($_GET['season_id']) ? intval($_GET['season_id']) : 0; +$seasonname = isset($_GET['season_name']) ? $_GET['season_name'] : ""; + +$PHP_SELF = $_SERVER['PHP_SELF']; +$HTTP_REFERER = $_SERVER['HTTP_REFERER']; +$action = isset($_GET['action']) ? $_GET['action'] : null; +$action = isset($_POST['action']) ? $_POST['action'] : $action; + +$add_submit = isset($_POST['add_submit']) ? $_POST['add_submit'] : false; +$modify_submit = isset($_POST['modify_submit']) ? $_POST['modify_submit'] : false; +$delete_submit = isset($_POST['delete_submit']) ? $_POST['delete_submit'] : false; + +xoops_cp_header(); + +?> + +<!-- Navigation bar--> +<table width="560" cellspacing="0" bordercolordark="white" bordercolorlight="black" style="border-collapse:collapse;"> + <tr> + <td align="center" style="padding: 3px;background-color: #E6E6FF; border:1px #000000 dotted;"> + <a href="seasons.php"><?php echo _AM_NAVSEASONS;?></a></td> + <td align="center" style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> + <a href="opponents.php"><?php echo _AM_NAVOPPONENTS;?></a></td> + <td align="center" nowrap style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> + <a href="leaguematches.php"><?php echo _AM_NAVLEAGUEMATCHES;?></a></td> + <td align="center" style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> + <a href="../index.php" target="_blank"><?php echo _AM_NAVLEAGUETABLE;?></a></td> + </tr> +</table> +<!-- End Navigation bar--> + + +<?php +if($add_submit) +{ + $name = $xoopsDB->quoteString(trim($_POST['name'])); + $drawline = trim($_POST['drawline']); + + //Query to check if there are already a submitted season name in the database + $query = $xoopsDB->query("SELECT SeasonName FROM ".$xoopsDB->prefix("tplls_seasonnames")." WHERE SeasonName = $name"); + + if($xoopsDB->getRowsNum($query) > 0) + { + echo "<font color='red'><b>". _AM_SEASONDUPLICATE."</b></font><br><br>"; + exit(); + } + + mysql_free_result($query); + + if($name != '') + { + $xoopsDB->query("INSERT INTO ".$xoopsDB->prefix("tplls_seasonnames")." SET + SeasonName = $name, + SeasonLine = '$drawline', + SeasonDefault = '$defseason'"); + + header("Location: $PHP_SELF"); + } +} +elseif($modify_submit) +{ + $name = $xoopsDB->quoteString(trim($_POST['name'])); + $drawline = trim($_POST['drawline']); + $publish = $_POST['publish']; + $seasonid = intval($_POST['seasonid']); + $defseason = intval($_POST['defseason']); + + // + //If published is checked + // + if(!isset($publish)) + { + $publish = 0; + } + if(!isset($defseason)) + { + $defseason = 0; + } + + if($name != '') + { + // + //If default season->delete the default status from the previous one + // + if($defseason == 1) + { + $xoopsDB->query("UPDATE ".$xoopsDB->prefix("tplls_seasonnames")." SET + SeasonDefault = '0'"); + } + $xoopsDB->query("UPDATE ".$xoopsDB->prefix("tplls_seasonnames")." SET + SeasonName = $name, + SeasonLine = '$drawline', + SeasonPublish = '$publish', + SeasonDefault = '$defseason' + WHERE SeasonID = '$seasonid'"); + } + + header("Location: $HTTP_REFERER"); +} +elseif($delete_submit) +{ + $seasonid = intval($_POST['seasonid']); + + // + //Query to check if there are already matches in the season->can't delete + // + $query = $xoopsDB->query("SELECT M.LeagueMatchID + FROM ".$xoopsDB->prefix("tplls_leaguematches")." M, ".$xoopsDB->prefix("tplls_seasonnames")." S + WHERE M.LeagueMatchSeasonID = '$seasonid'"); + + if($xoopsDB->getRowsNum($query) == 0) + { + $xoopsDB->query("DELETE FROM ".$xoopsDB->prefix("tplls_seasonnames")." WHERE SeasonID = '$seasonid'"); + } + else + { + echo "<font color='red'><b>". _AM_SEASONHASMATCHES."</b></font><br><br>"; + exit(); + } + + header("Location: $PHP_SELF"); +} + + +?> + + <?php + include('head.php'); + ?> + <table align="center" width="600"> + <tr> + <td> + <?php + if(!isset($action)) + { + ?> + <form method="post" action="<?php echo "$PHP_SELF" ?>"> + <h3><?php echo _AM_ADDSEASON;?></h3> + <table width="100%" cellspacing="3" cellpadding="3" border="0"> + <tr> + <td align="left" valign="top"> + <?php echo _AM_SEASONNAMEYEARS;?> + </td> + <td align="left" valign="top"> + <input type="text" name="name"> + </td> + </tr> + + <tr> + <td align="left" valign="top"> + <?php echo _AM_SEASONDRAWLINE;?> + </td> + <td align="left" valign="top"> + <input type="text" name="drawline" value="" size="10"> + </td> + </tr> + </table> + <input type="submit" name="add_submit" value="<?php echo _AM_SEASONADD;?>"> + </form> + <?php + } + elseif($action == 'modify') + { + $seasonid = intval($_REQUEST['season']); + $get_season = $xoopsDB->query("SELECT * FROM ".$xoopsDB->prefix("tplls_seasonnames")." WHERE SeasonID = '$seasonid' LIMIT 1"); + $data = $xoopsDB->fetchArray($get_season); + ?> + + <form method="post" action="<?php echo "$PHP_SELF"?>"> + <h3><?php echo _AM_SEASONMODIFYDELETE;?></h3> + <table width="100%" cellspacing="3" cellpadding="3" border="0"> + <tr> + <td align="left" valign="top"> + <?php echo _AM_SEASONNAMEYEARS;?> + </td> + <td> + <input type="text" name="name" value="<?php echo $data['SeasonName'] ?>"> + <input type="hidden" name="seasonid" value="<?php echo $data['SeasonID'] ?>"> + </td> + </tr> + <tr> + <td align="left" valign="top"> + <?php echo _AM_DEFAULTSEASON;?> + </td> + <td align="left" valign="top"> + <?php + + if($data['SeasonDefault'] == 1) + echo"<input type=\"checkbox\" name=\"defseason\" value=\"1\" CHECKED>\n"; + else + echo"<input type=\"checkbox\" name=\"defseason\" value=\"1\">\n"; + + ?> + </td> + </tr> + + <tr> + <td align="left" valign="top"> + <?php echo _AM_SEASONDRAWLINE;?> + </td> + <td align="left" valign="top"> + <input type="text" name="drawline" value="<?= $data['SeasonLine'] ?>" size="10"> + </td> + </tr> + + <tr> + <td align="left" valign="top"> + <?php echo _AM_SEASONPUBLISHED;?> + </td> + <td align="left" valign="top"> + <?php + // + //If season is published + // + if($data['SeasonPublish'] == 1) + echo'<input type="checkbox" name="publish" value="1" CHECKED>'; + ... [truncated message content] |
From: <vo...@us...> - 2012-03-14 09:22:22
|
Revision: 9126 http://xoops.svn.sourceforge.net/xoops/?rev=9126&view=rev Author: voltan1 Date: 2012-03-14 09:22:11 +0000 (Wed, 14 Mar 2012) Log Message: ----------- fix submit page Modified Paths: -------------- XoopsModules/fmcontent/branches/news/submit.php Modified: XoopsModules/fmcontent/branches/news/submit.php =================================================================== --- XoopsModules/fmcontent/branches/news/submit.php 2012-03-14 09:11:06 UTC (rev 9125) +++ XoopsModules/fmcontent/branches/news/submit.php 2012-03-14 09:22:11 UTC (rev 9126) @@ -67,7 +67,6 @@ $obj->setVar ( 'story_order', $story_handler->News_SetContentOrder($NewsModule) ); $obj->setVar ( 'story_next', $story_handler->News_SetNext($NewsModule, $_REQUEST ['story_topic']) ); $obj->setVar ( 'story_prev', $story_handler->News_SetPrevious($NewsModule, $_REQUEST ['story_topic']) ); - $obj->setVar ( 'story_menu', NewsUtils::News_AjaxFilter ( $_REQUEST ['story_title'] ) ); $obj->setVar ( 'story_alias', NewsUtils::News_AliasFilter ( $_REQUEST ['story_title'] ) ); $obj->setVar ( 'story_words', NewsUtils::News_MetaFilter ( $_REQUEST ['story_title'] ) ); $obj->setVar ( 'story_desc', NewsUtils::News_AjaxFilter ( $_REQUEST ['story_title'] ) ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2012-03-14 09:11:16
|
Revision: 9125 http://xoops.svn.sourceforge.net/xoops/?rev=9125&view=rev Author: voltan1 Date: 2012-03-14 09:11:06 +0000 (Wed, 14 Mar 2012) Log Message: ----------- Remove edit in place Modified Paths: -------------- XoopsModules/fmcontent/branches/news/admin/footer.php XoopsModules/fmcontent/branches/news/article.php XoopsModules/fmcontent/branches/news/language/arabic/admin.php XoopsModules/fmcontent/branches/news/language/arabic/blocks.php XoopsModules/fmcontent/branches/news/language/arabic/main.php XoopsModules/fmcontent/branches/news/language/arabic/modinfo.php XoopsModules/fmcontent/branches/news/language/english/admin.php XoopsModules/fmcontent/branches/news/language/english/blocks.php XoopsModules/fmcontent/branches/news/language/english/main.php XoopsModules/fmcontent/branches/news/language/english/modinfo.php XoopsModules/fmcontent/branches/news/language/persian/admin.php XoopsModules/fmcontent/branches/news/language/persian/blocks.php XoopsModules/fmcontent/branches/news/language/persian/main.php XoopsModules/fmcontent/branches/news/language/persian/modinfo.php XoopsModules/fmcontent/branches/news/templates/admin/news_article.html XoopsModules/fmcontent/branches/news/templates/admin/news_file.html XoopsModules/fmcontent/branches/news/templates/admin/news_topic.html XoopsModules/fmcontent/branches/news/templates/news_header.html XoopsModules/fmcontent/branches/news/xoops_version.php Removed Paths: ------------- XoopsModules/fmcontent/branches/news/ajax.php XoopsModules/fmcontent/branches/news/templates/admin/news_level.html Modified: XoopsModules/fmcontent/branches/news/admin/footer.php =================================================================== --- XoopsModules/fmcontent/branches/news/admin/footer.php 2012-03-12 13:08:41 UTC (rev 9124) +++ XoopsModules/fmcontent/branches/news/admin/footer.php 2012-03-14 09:11:06 UTC (rev 9125) @@ -18,7 +18,4 @@ * @version $Id$ */ -echo "<div class='center pad5'><a class='tooltip' title='XOOPS' href='http://www.xoops.org' target='_blank'><img src='../images/admin/xoopsmicrobutton.gif' alt='XOOPS'></a></div>"; -echo "<div class='center smallsmall italic pad5'><strong>" . $xoopsModule->getVar("name") . "</strong> is maintained by the <a class='tooltip' rel='external' href='http://www.xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"; - ?> \ No newline at end of file Deleted: XoopsModules/fmcontent/branches/news/ajax.php =================================================================== --- XoopsModules/fmcontent/branches/news/ajax.php 2012-03-12 13:08:41 UTC (rev 9124) +++ XoopsModules/fmcontent/branches/news/ajax.php 2012-03-14 09:11:06 UTC (rev 9125) @@ -1,43 +0,0 @@ -<?php -/* - You may not change or alter any portion of this comment or credits - of supporting developers from this source code or any supporting source code - which is considered copyrighted (c) material of the original comment or credit authors. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ - -/** - * News edit in place file - * - * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @author Andricq Nicolas (AKA MusS) - * @version $Id$ - */ - -require dirname(__FILE__) . '/header.php'; -if (!isset($NewsModule)) exit('Module not found'); - -error_reporting(0); -$GLOBALS['xoopsLogger']->activated = false; - -$story_id = NewsUtils::News_CleanVars($_REQUEST, 'id', '', 'string'); -$story_text = NewsUtils::News_CleanVars($_REQUEST, 'value', '', 'string'); - -list($root, $id) = explode('_', $story_id); - -if (intval($id) > 0) { - // Initialize content handler - $story_handler = xoops_getmodulehandler('story', $NewsModule->getVar('dirname')); - $content = $story_handler->get($id); - $content->setVar('story_text', $story_text); - if (!$story_handler->insert($content)) { - echo 'Error'; - } else { - echo $story_text; - } -} -?> \ No newline at end of file Modified: XoopsModules/fmcontent/branches/news/article.php =================================================================== --- XoopsModules/fmcontent/branches/news/article.php 2012-03-12 13:08:41 UTC (rev 9124) +++ XoopsModules/fmcontent/branches/news/article.php 2012-03-14 09:11:06 UTC (rev 9125) @@ -232,17 +232,6 @@ } } -if (xoops_getModuleOption ( 'editinplace', $NewsModule->getVar ( 'dirname' ) ) && is_object ( $xoopsUser ) && ($xoopsUser->id () == $obj->getVar ( 'story_uid' ) || $xoopsUser->isAdmin ()) && $content ['dohtml']) { - // Add scripts - $xoTheme->addScript ( 'browse.php?Frameworks/jquery/jquery.js' ); - $xoTheme->addScript ( XOOPS_URL . '/modules/' . $NewsModule->getVar ( 'dirname' ) . '/js/jeditable/jquery.wysiwyg.js' ); - $xoTheme->addScript ( XOOPS_URL . '/modules/' . $NewsModule->getVar ( 'dirname' ) . '/js/jeditable/jquery.jeditable.mini.js' ); - $xoTheme->addScript ( XOOPS_URL . '/modules/' . $NewsModule->getVar ( 'dirname' ) . '/js/jeditable/jquery.jeditable.wysiwyg.js' ); - // Add Stylesheet - $xoTheme->addStylesheet ( XOOPS_URL . '/modules/' . $NewsModule->getVar ( 'dirname' ) . '/css/jquery.wysiwyg.css' ); - $xoopsTpl->assign ( 'editinplace', true ); -} - if (xoops_getModuleOption ( 'img_lightbox', $NewsModule->getVar ( 'dirname' ) )) { // Add scripts $xoTheme->addScript ( 'browse.php?Frameworks/jquery/jquery.js' ); Modified: XoopsModules/fmcontent/branches/news/language/arabic/admin.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/arabic/admin.php 2012-03-12 13:08:41 UTC (rev 9124) +++ XoopsModules/fmcontent/branches/news/language/arabic/admin.php 2012-03-14 09:11:06 UTC (rev 9125) @@ -18,177 +18,176 @@ * @version $Id$ */ -if (!defined('_NEWS_AM_PREFERENCES')) { // Global page - define('_NEWS_AM_GLOBAL_ADD_CONTENT', 'إنشاء الصفحة'); - define('_NEWS_AM_GLOBAL_ADD_TOPIC', 'أنشاء الفئة'); - define('_NEWS_AM_GLOBAL_ADD_FILE', 'إنشاء الملف'); - define('_NEWS_AM_GLOBAL_IMG', 'الصورة'); - define('_NEWS_AM_GLOBAL_FORMUPLOAD', 'إختیار الصورة'); +define('_NEWS_AM_GLOBAL_ADD_CONTENT', 'إنشاء الصفحة'); +define('_NEWS_AM_GLOBAL_ADD_TOPIC', 'أنشاء الفئة'); +define('_NEWS_AM_GLOBAL_ADD_FILE', 'إنشاء الملف'); +define('_NEWS_AM_GLOBAL_IMG', 'الصورة'); +define('_NEWS_AM_GLOBAL_FORMUPLOAD', 'إختیار الصورة'); // Index page - define("_NEWS_AM_INDEX_ADMENU1", "الفئات"); - define("_NEWS_AM_INDEX_ADMENU2", "الصفحات"); - define("_NEWS_AM_INDEX_TOPICS", "<span class='green'>%s</span> تقع الفئة في قاعدة البیانات"); - define("_NEWS_AM_INDEX_CONTENTS", "<span class='green'>%s</span> تقع الصفحة في قاعدة البیانات "); - define("_NEWS_AM_INDEX_CONTENTS_OFFLINE", "There are <span class='red'>%s</span> Offline news in our database"); - define("_NEWS_AM_INDEX_CONTENTS_EXPIRE", "There are <span class='red'>%s</span> Expire news in our database"); +define("_NEWS_AM_INDEX_ADMENU1", "الفئات"); +define("_NEWS_AM_INDEX_ADMENU2", "الصفحات"); +define("_NEWS_AM_INDEX_TOPICS", "<span class='green'>%s</span> تقع الفئة في قاعدة البیانات"); +define("_NEWS_AM_INDEX_CONTENTS", "<span class='green'>%s</span> تقع الصفحة في قاعدة البیانات "); +define("_NEWS_AM_INDEX_CONTENTS_OFFLINE", "There are <span class='red'>%s</span> Offline news in our database"); +define("_NEWS_AM_INDEX_CONTENTS_EXPIRE", "There are <span class='red'>%s</span> Expire news in our database"); // Topic page - define('_NEWS_AM_TOPIC_FORM', 'إدارة الفئات'); - define('_NEWS_AM_TOPIC_ID', 'ID'); - define('_NEWS_AM_TOPIC_NUM', 'وزن'); - define('_NEWS_AM_TOPIC_NAME', 'العنوان'); - define('_NEWS_AM_TOPIC_PARENT', 'الفئة الرئیسیة'); - define('_NEWS_AM_TOPIC_DESC', 'الوصف'); - define('_NEWS_AM_TOPIC_IMG', 'الصورة'); - define('_NEWS_AM_TOPIC_WEIGHT', 'العرض'); - define('_NEWS_AM_TOPIC_SHOWTYPE','طریقة العرض'); - define('_NEWS_AM_TOPIC_SHOWTYPE_DESC', 'إذا كنت تريد استخدام الإعدادات التالية.<br /> یجب تغییر <b>طریقة العرض</b> من وحدة القاعدة <br />الی خیارات أخری ها.'); - define('_NEWS_AM_TOPIC_PERPAGE', 'کل الصفحة'); - define('_NEWS_AM_TOPIC_COLUMNS', 'عمود'); - define('_NEWS_AM_TOPIC_ONLINE', 'نشیط'); - define('_NEWS_AM_TOPIC_MENU', 'القائمة'); - define('_NEWS_AM_TOPIC_SHOW', 'العرض'); - define('_NEWS_AM_TOPIC_ACTION', 'نشیط'); - define('_NEWS_AM_TOPIC_PID', 'والد'); - define('_NEWS_AM_TOPIC_DATE_CREATED','ساعة الإنشاء'); - define('_NEWS_AM_TOPIC_DATE_UPDATE', 'ساعة التحدیث'); - define('_NEWS_AM_TOPIC_SHOWTOPIC', 'عرض الفئة'); - define('_NEWS_AM_TOPIC_SHOWAUTHOR', 'عرض المحرر'); - define('_NEWS_AM_TOPIC_SHOWDATE', 'عرض التاریخ'); - define('_NEWS_AM_TOPIC_SHOWDPF', 'عرض PDF'); - define('_NEWS_AM_TOPIC_SHOWPRINT', 'عرض الطباعة'); - define('_NEWS_AM_TOPIC_SHOWMAIL', 'عرض أخبار الأصدقاء'); - define('_NEWS_AM_TOPIC_SHOWNAV', 'نمایش ناوبری'); - define('_NEWS_AM_TOPIC_SHOWHITS', 'عرض الزایارات'); - define('_NEWS_AM_TOPIC_SHOWCOMS', 'عرض التعلیقات المنشورة '); - define('_NEWS_AM_TOPIC_HOMEPAGE', 'خیارات الصفحة الأولی للفئة'); - define('_NEWS_AM_TOPIC_HOMEPAGE_DESC', 'Seting content show type in topic pages'); - define('_NEWS_AM_TOPIC_HOMEPAGE_1', 'List all contents from this topic and subtopics'); - define('_NEWS_AM_TOPIC_HOMEPAGE_2', 'List all subtopics'); - define('_NEWS_AM_TOPIC_HOMEPAGE_3', 'List all contents from just this topic'); - define('_NEWS_AM_TOPIC_HOMEPAGE_4', 'Show selected content from this topic'); - define('_NEWS_AM_TOPIC_OPTIONS', 'Sellect topic show options'); - define('_NEWS_AM_TOPIC_OPTIONS_DESC', 'Sellect topic show options'); - define('_NEWS_AM_TOPIC_ALIAS', 'الاسم المستعار'); - define('_NEWS_AM_TOPIC_SHOWTYPE_0', 'Module based'); - define('_NEWS_AM_TOPIC_SHOWTYPE_1', 'News type'); - define('_NEWS_AM_TOPIC_SHOWTYPE_2', 'Table type'); - define('_NEWS_AM_TOPIC_SHOWTYPE_3', 'Photo type'); - define('_NEWS_AM_TOPIC_SHOWTYPE_4', 'List type'); - define('_NEWS_AM_TOPIC_SHOWTYPE_5', 'Spotlight'); +define('_NEWS_AM_TOPIC_FORM', 'إدارة الفئات'); +define('_NEWS_AM_TOPIC_ID', 'ID'); +define('_NEWS_AM_TOPIC_NUM', 'وزن'); +define('_NEWS_AM_TOPIC_NAME', 'العنوان'); +define('_NEWS_AM_TOPIC_PARENT', 'الفئة الرئیسیة'); +define('_NEWS_AM_TOPIC_DESC', 'الوصف'); +define('_NEWS_AM_TOPIC_IMG', 'الصورة'); +define('_NEWS_AM_TOPIC_WEIGHT', 'العرض'); +define('_NEWS_AM_TOPIC_SHOWTYPE','طریقة العرض'); +define('_NEWS_AM_TOPIC_SHOWTYPE_DESC', 'إذا كنت تريد استخدام الإعدادات التالية.<br /> یجب تغییر <b>طریقة العرض</b> من وحدة القاعدة <br />الی خیارات أخری ها.'); +define('_NEWS_AM_TOPIC_PERPAGE', 'کل الصفحة'); +define('_NEWS_AM_TOPIC_COLUMNS', 'عمود'); +define('_NEWS_AM_TOPIC_ONLINE', 'نشیط'); +define('_NEWS_AM_TOPIC_MENU', 'القائمة'); +define('_NEWS_AM_TOPIC_SHOW', 'العرض'); +define('_NEWS_AM_TOPIC_ACTION', 'نشیط'); +define('_NEWS_AM_TOPIC_PID', 'والد'); +define('_NEWS_AM_TOPIC_DATE_CREATED','ساعة الإنشاء'); +define('_NEWS_AM_TOPIC_DATE_UPDATE', 'ساعة التحدیث'); +define('_NEWS_AM_TOPIC_SHOWTOPIC', 'عرض الفئة'); +define('_NEWS_AM_TOPIC_SHOWAUTHOR', 'عرض المحرر'); +define('_NEWS_AM_TOPIC_SHOWDATE', 'عرض التاریخ'); +define('_NEWS_AM_TOPIC_SHOWDPF', 'عرض PDF'); +define('_NEWS_AM_TOPIC_SHOWPRINT', 'عرض الطباعة'); +define('_NEWS_AM_TOPIC_SHOWMAIL', 'عرض أخبار الأصدقاء'); +define('_NEWS_AM_TOPIC_SHOWNAV', 'نمایش ناوبری'); +define('_NEWS_AM_TOPIC_SHOWHITS', 'عرض الزایارات'); +define('_NEWS_AM_TOPIC_SHOWCOMS', 'عرض التعلیقات المنشورة '); +define('_NEWS_AM_TOPIC_HOMEPAGE', 'خیارات الصفحة الأولی للفئة'); +define('_NEWS_AM_TOPIC_HOMEPAGE_DESC', 'Seting content show type in topic pages'); +define('_NEWS_AM_TOPIC_HOMEPAGE_1', 'List all contents from this topic and subtopics'); +define('_NEWS_AM_TOPIC_HOMEPAGE_2', 'List all subtopics'); +define('_NEWS_AM_TOPIC_HOMEPAGE_3', 'List all contents from just this topic'); +define('_NEWS_AM_TOPIC_HOMEPAGE_4', 'Show selected content from this topic'); +define('_NEWS_AM_TOPIC_OPTIONS', 'Sellect topic show options'); +define('_NEWS_AM_TOPIC_OPTIONS_DESC', 'Sellect topic show options'); +define('_NEWS_AM_TOPIC_ALIAS', 'الاسم المستعار'); +define('_NEWS_AM_TOPIC_SHOWTYPE_0', 'Module based'); +define('_NEWS_AM_TOPIC_SHOWTYPE_1', 'News type'); +define('_NEWS_AM_TOPIC_SHOWTYPE_2', 'Table type'); +define('_NEWS_AM_TOPIC_SHOWTYPE_3', 'Photo type'); +define('_NEWS_AM_TOPIC_SHOWTYPE_4', 'List type'); +define('_NEWS_AM_TOPIC_SHOWTYPE_5', 'Spotlight'); // Content page - define('_NEWS_AM_CONTENT_FORM', 'إدارة المحتوى'); - define('_NEWS_AM_CONTENT_FORMTITLE', 'العنوان'); - define('_NEWS_AM_CONTENT_FORMTITLE_DISP', 'عرض عنوان الصفحة؟'); - define('_NEWS_AM_CONTENT_FORMAUTHOR', 'سازنده ( الإسم)'); - define('_NEWS_AM_CONTENT_FORMSOURCE', 'مصدر ( الرابط)'); - define('_NEWS_AM_CONTENT_FORMTEXT', 'النص'); - define('_NEWS_AM_CONTENT_FORMTEXT_DESC', ' إنشاء أو تحرير صفحة'); - define('_NEWS_AM_CONTENT_FORMGROUP', 'المجموعات'); - define('_NEWS_AM_CONTENT_FORMALIAS', 'الإسم المستعار'); - define('_NEWS_AM_CONTENT_FORMACTIF', 'نشیط'); - define('_NEWS_AM_CONTENT_IMPORTANT', 'عاجل'); - define('_NEWS_AM_CONTENT_FORMDEFAULT', 'الإفتراضي'); - define('_NEWS_AM_CONTENT_FORMPREV', 'السابقة'); - define('_NEWS_AM_CONTENT_FORMNEXT', 'اللاحقة'); - define('_NEWS_AM_CONTENT_DOHTML', 'العرض علی شکل Html'); - define('_NEWS_AM_CONTENT_BREAKS', 'تبدیل خط شکسته فعال'); - define('_NEWS_AM_CONTENT_DOIMAGE', 'عرض صورة النص'); - define('_NEWS_AM_CONTENT_DOXCODE', 'عرض کود النص'); - define('_NEWS_AM_CONTENT_DOSMILEY', 'عرض لبخند های محتوا'); - define('_NEWS_AM_CONTENT_SHORT', 'الملخص'); - define('_NEWS_AM_CONTENT_TITLE', 'العنوان'); - define('_NEWS_AM_CONTENT_MANAGER', 'إدارة المحتوی'); - define('_NEWS_AM_CONTENT_FILE', 'File'); - define('_NEWS_AM_CONTENT_ID', 'ID'); - define('_NEWS_AM_CONTENT_NUM', 'وزن'); - define('_NEWS_AM_CONTENT_PAGE', 'الصفحة'); - define('_NEWS_AM_CONTENT_TYPE', 'النوع'); - define('_NEWS_AM_CONTENT_OWNER', 'سازنده'); - define('_NEWS_AM_CONTENT_ACTIF', 'نشیط'); - define('_NEWS_AM_CONTENT_DEFAULT', 'المقترض'); - define('_NEWS_AM_CONTENT_ORDER', 'النظام'); - define('_NEWS_AM_CONTENT_ACTION', 'العامل'); - define('_NEWS_AM_CONTENT_VIEW', 'العرض'); - define('_NEWS_AM_CONTENT_EDIT', 'ویرایش'); - define('_NEWS_AM_CONTENT_DELETE', 'الغاء'); - define('_NEWS_AM_CONTENT_SHORTDESC', 'بیان الملخص'); - define('_NEWS_AM_CONTENT_TOPIC', 'فئة'); - define('_NEWS_AM_CONTENT_TOPIC_DESC', 'إذ لم یتم إختیار فئة معینة، ستکون صفحتک ثابتة'); - define('_NEWS_AM_CONTENT_STATIC', 'صفحة ثابتة'); - define('_NEWS_AM_CONTENT_STATICS', 'صفحات متغیرة'); - define('_NEWS_AM_CONTENT_ALL_ITEMS', 'جمیع الصفحات و الفهرسة من جمیع الفئات'); - define('_NEWS_AM_CONTENT_ALL_ITEMS_FROM', 'جمیع الصفحات و الفهرسة من فئة :'); - define('_NEWS_AM_CONTENT_FILE_DESC', 'For add more files you must use admin file system in admin side'); - define('_NEWS_AM_CONTENT_SUBTITLE', 'Subtitle'); - define('_NEWS_AM_CONTENT_ALL', 'All News'); - define('_NEWS_AM_CONTENT_OFFLINE', 'Offline news'); - define('_NEWS_AM_CONTENT_EXPIRE', 'Expire news'); - define('_NEWS_AM_CONTENT_PEDATE', 'Set publish and expiration date'); - define('_NEWS_AM_CONTENT_SETDATETIME', 'Set the date/time of publish'); - define('_NEWS_AM_CONTENT_SETEXPDATETIME', 'Set the date/time of expiration'); - define('_NEWS_AM_CONTENT_SLIDE', 'Set as slide'); - define('_NEWS_AM_CONTENT_MARQUE', 'Set sd margue'); +define('_NEWS_AM_CONTENT_FORM', 'إدارة المحتوى'); +define('_NEWS_AM_CONTENT_FORMTITLE', 'العنوان'); +define('_NEWS_AM_CONTENT_FORMTITLE_DISP', 'عرض عنوان الصفحة؟'); +define('_NEWS_AM_CONTENT_FORMAUTHOR', 'سازنده ( الإسم)'); +define('_NEWS_AM_CONTENT_FORMSOURCE', 'مصدر ( الرابط)'); +define('_NEWS_AM_CONTENT_FORMTEXT', 'النص'); +define('_NEWS_AM_CONTENT_FORMTEXT_DESC', ' إنشاء أو تحرير صفحة'); +define('_NEWS_AM_CONTENT_FORMGROUP', 'المجموعات'); +define('_NEWS_AM_CONTENT_FORMALIAS', 'الإسم المستعار'); +define('_NEWS_AM_CONTENT_FORMACTIF', 'نشیط'); +define('_NEWS_AM_CONTENT_IMPORTANT', 'عاجل'); +define('_NEWS_AM_CONTENT_FORMDEFAULT', 'الإفتراضي'); +define('_NEWS_AM_CONTENT_FORMPREV', 'السابقة'); +define('_NEWS_AM_CONTENT_FORMNEXT', 'اللاحقة'); +define('_NEWS_AM_CONTENT_DOHTML', 'العرض علی شکل Html'); +define('_NEWS_AM_CONTENT_BREAKS', 'تبدیل خط شکسته فعال'); +define('_NEWS_AM_CONTENT_DOIMAGE', 'عرض صورة النص'); +define('_NEWS_AM_CONTENT_DOXCODE', 'عرض کود النص'); +define('_NEWS_AM_CONTENT_DOSMILEY', 'عرض لبخند های محتوا'); +define('_NEWS_AM_CONTENT_SHORT', 'الملخص'); +define('_NEWS_AM_CONTENT_TITLE', 'العنوان'); +define('_NEWS_AM_CONTENT_MANAGER', 'إدارة المحتوی'); +define('_NEWS_AM_CONTENT_FILE', 'File'); +define('_NEWS_AM_CONTENT_ID', 'ID'); +define('_NEWS_AM_CONTENT_NUM', 'وزن'); +define('_NEWS_AM_CONTENT_PAGE', 'الصفحة'); +define('_NEWS_AM_CONTENT_TYPE', 'النوع'); +define('_NEWS_AM_CONTENT_OWNER', 'سازنده'); +define('_NEWS_AM_CONTENT_ACTIF', 'نشیط'); +define('_NEWS_AM_CONTENT_DEFAULT', 'المقترض'); +define('_NEWS_AM_CONTENT_ORDER', 'النظام'); +define('_NEWS_AM_CONTENT_ACTION', 'العامل'); +define('_NEWS_AM_CONTENT_VIEW', 'العرض'); +define('_NEWS_AM_CONTENT_EDIT', 'ویرایش'); +define('_NEWS_AM_CONTENT_DELETE', 'الغاء'); +define('_NEWS_AM_CONTENT_SHORTDESC', 'بیان الملخص'); +define('_NEWS_AM_CONTENT_TOPIC', 'فئة'); +define('_NEWS_AM_CONTENT_TOPIC_DESC', 'إذ لم یتم إختیار فئة معینة، ستکون صفحتک ثابتة'); +define('_NEWS_AM_CONTENT_STATIC', 'صفحة ثابتة'); +define('_NEWS_AM_CONTENT_STATICS', 'صفحات متغیرة'); +define('_NEWS_AM_CONTENT_ALL_ITEMS', 'جمیع الصفحات و الفهرسة من جمیع الفئات'); +define('_NEWS_AM_CONTENT_ALL_ITEMS_FROM', 'جمیع الصفحات و الفهرسة من فئة :'); +define('_NEWS_AM_CONTENT_FILE_DESC', 'For add more files you must use admin file system in admin side'); +define('_NEWS_AM_CONTENT_SUBTITLE', 'Subtitle'); +define('_NEWS_AM_CONTENT_ALL', 'All News'); +define('_NEWS_AM_CONTENT_OFFLINE', 'Offline news'); +define('_NEWS_AM_CONTENT_EXPIRE', 'Expire news'); +define('_NEWS_AM_CONTENT_PEDATE', 'Set publish and expiration date'); +define('_NEWS_AM_CONTENT_SETDATETIME', 'Set the date/time of publish'); +define('_NEWS_AM_CONTENT_SETEXPDATETIME', 'Set the date/time of expiration'); +define('_NEWS_AM_CONTENT_SLIDE', 'Set as slide'); +define('_NEWS_AM_CONTENT_MARQUE', 'Set sd margue'); // Tools page - define('_NEWS_AM_TOOLS_FORMFOLDER_TITLE', 'استنساخ النسخ المتماثلة'); - define('_NEWS_AM_TOOLS_FORMFOLDER_NAME', 'اسم المجلد'); - define('_NEWS_AM_TOOLS_LOG_TITLE', 'تقریر استنساخ الوحدة'); - define('_NEWS_AM_TOOLS_FORMPURGE_TITLE', 'Purge page of deleted clone'); - define('_NEWS_AM_TOOLS_ALIAS_TITLE', 'تحدیث الإسم'); - define('_NEWS_AM_TOOLS_ALIAS_CONTENT', 'تحدیث إسم الصفحة'); - define('_NEWS_AM_TOOLS_ALIAS_TOPIC', 'تحدیث إسم الفئة'); - define('_NEWS_AM_TOOLS_META_TITLE', 'Rebuild Metas'); - define('_NEWS_AM_TOOLS_META_KEYWORD', 'Rebuild Meta keywords'); - define('_NEWS_AM_TOOLS_META_DESCRIPTION', 'Rebuild Meta Description'); - define('_NEWS_AM_TOOLS_PRUNE', 'Prune news'); - define('_NEWS_AM_TOOLS_PRUNE_BEFORE', 'Prune stories that were published before'); - define('_NEWS_AM_TOOLS_PRUNE_EXPIREDONLY', 'Only remove stories who have expired'); - define('_NEWS_AM_TOOLS_PRUNE_TOPICS', 'Limit to the following topics'); - define('_NEWS_AM_TOOLS_PRUNE_EXPORT_DSC', 'If you dont check anything then all the topics will be used else only the selected topics will be used'); +define('_NEWS_AM_TOOLS_FORMFOLDER_TITLE', 'استنساخ النسخ المتماثلة'); +define('_NEWS_AM_TOOLS_FORMFOLDER_NAME', 'اسم المجلد'); +define('_NEWS_AM_TOOLS_LOG_TITLE', 'تقریر استنساخ الوحدة'); +define('_NEWS_AM_TOOLS_FORMPURGE_TITLE', 'Purge page of deleted clone'); +define('_NEWS_AM_TOOLS_ALIAS_TITLE', 'تحدیث الإسم'); +define('_NEWS_AM_TOOLS_ALIAS_CONTENT', 'تحدیث إسم الصفحة'); +define('_NEWS_AM_TOOLS_ALIAS_TOPIC', 'تحدیث إسم الفئة'); +define('_NEWS_AM_TOOLS_META_TITLE', 'Rebuild Metas'); +define('_NEWS_AM_TOOLS_META_KEYWORD', 'Rebuild Meta keywords'); +define('_NEWS_AM_TOOLS_META_DESCRIPTION', 'Rebuild Meta Description'); +define('_NEWS_AM_TOOLS_PRUNE', 'Prune news'); +define('_NEWS_AM_TOOLS_PRUNE_BEFORE', 'Prune stories that were published before'); +define('_NEWS_AM_TOOLS_PRUNE_EXPIREDONLY', 'Only remove stories who have expired'); +define('_NEWS_AM_TOOLS_PRUNE_TOPICS', 'Limit to the following topics'); +define('_NEWS_AM_TOOLS_PRUNE_EXPORT_DSC', 'If you dont check anything then all the topics will be used else only the selected topics will be used'); // Permissions - define('_NEWS_AM_PERMISSIONS_ACCESS', 'إتاحة العرض'); - define('_NEWS_AM_PERMISSIONS_SUBMIT', 'إتاحة الإرسال'); - define('_NEWS_AM_PERMISSIONS_GLOBAL', 'أتاحة عامة'); - define('_NEWS_AM_PERMISSIONS_GLOBAL_4', 'مشارکة'); - define('_NEWS_AM_PERMISSIONS_GLOBAL_8', 'الإرسال في قسم المستخدمین'); - define('_NEWS_AM_PERMISSIONS_GLOBAL_16', 'الموافقة التلقائية '); +define('_NEWS_AM_PERMISSIONS_ACCESS', 'إتاحة العرض'); +define('_NEWS_AM_PERMISSIONS_SUBMIT', 'إتاحة الإرسال'); +define('_NEWS_AM_PERMISSIONS_GLOBAL', 'أتاحة عامة'); +define('_NEWS_AM_PERMISSIONS_GLOBAL_4', 'مشارکة'); +define('_NEWS_AM_PERMISSIONS_GLOBAL_8', 'الإرسال في قسم المستخدمین'); +define('_NEWS_AM_PERMISSIONS_GLOBAL_16', 'الموافقة التلقائية '); // Attach files - define('_NEWS_AM_FILE', 'File'); - define('_NEWS_AM_FILE_ID', 'ID'); - define('_NEWS_AM_FILE_ONLINE', 'اونلاین'); - define('_NEWS_AM_FILE_ACTION', 'نشیط'); - define('_NEWS_AM_FILE_FORM', ' إضافة ملف '); - define('_NEWS_AM_FILE_TITLE', 'العنوان'); - define('_NEWS_AM_FILE_CONTENT', 'الصفحة'); - define('_NEWS_AM_FILE_STATUS', 'نشیط'); - define('_NEWS_AM_FILE_SELECT', 'اختیار ملف'); - define('_NEWS_AM_FILE_TYPE', 'النوع'); +define('_NEWS_AM_FILE', 'File'); +define('_NEWS_AM_FILE_ID', 'ID'); +define('_NEWS_AM_FILE_ONLINE', 'اونلاین'); +define('_NEWS_AM_FILE_ACTION', 'نشیط'); +define('_NEWS_AM_FILE_FORM', ' إضافة ملف '); +define('_NEWS_AM_FILE_TITLE', 'العنوان'); +define('_NEWS_AM_FILE_CONTENT', 'الصفحة'); +define('_NEWS_AM_FILE_STATUS', 'نشیط'); +define('_NEWS_AM_FILE_SELECT', 'اختیار ملف'); +define('_NEWS_AM_FILE_TYPE', 'النوع'); // Admin message - define('_NEWS_AM_MSG_DBUPDATE', 'تم تحدیث قاعدة بیانات!'); - define('_NEWS_AM_MSG_ERRORDELETE', 'لایمکنک إلغاء هذه الوثیقة <br />الرجاء إلغاء أو نقل جمیع الوثائق التالیة'); - define('_NEWS_AM_MSG_WAIT', 'انتظر قلیلا !'); - define('_NEWS_AM_MSG_DELETE', 'هل أنت متأکد للحذف؟'); - define('_NEWS_AM_MSG_EDIT_ERROR', ' لم يتم العثور على هذه الصفحة أورقم الصفحة غير صحيح !'); - define('_NEWS_AM_MSG_UPDATE_ERROR', ' غير قادر على تحديث قاعدة البيانات! خطأ في تحديث الصفحة '); - define('_NEWS_AM_MSG_INSERT_ERROR', 'غير قادر على تحديث قاعدة البيانات! خطأ في الموضوع '); - define('_NEWS_AM_MSG_CLONE_ERROR', 'هذا الدليل هو متاح الآن !'); - define("_NEWS_AM_MSG_NOPERMSSET", "لایمکن تعدیل الإتاحات: لم یتم تحدیث أي فئة ! الرجاء تحدیث فئة أولا."); - define('_NEWS_AM_MSG_ALIASERROR', 'لقد تم اختیار هذا الإسم. الرجاء اختیار اسم آخر.'); - define('_NEWS_AM_MSG_INPROC', 'Rebuilding ... '); - define('_NEWS_AM_MSG_PRUNE_DELETED', '%s Articles deleted'); +define('_NEWS_AM_MSG_DBUPDATE', 'تم تحدیث قاعدة بیانات!'); +define('_NEWS_AM_MSG_ERRORDELETE', 'لایمکنک إلغاء هذه الوثیقة <br />الرجاء إلغاء أو نقل جمیع الوثائق التالیة'); +define('_NEWS_AM_MSG_WAIT', 'انتظر قلیلا !'); +define('_NEWS_AM_MSG_DELETE', 'هل أنت متأکد للحذف؟'); +define('_NEWS_AM_MSG_EDIT_ERROR', ' لم يتم العثور على هذه الصفحة أورقم الصفحة غير صحيح !'); +define('_NEWS_AM_MSG_UPDATE_ERROR', ' غير قادر على تحديث قاعدة البيانات! خطأ في تحديث الصفحة '); +define('_NEWS_AM_MSG_INSERT_ERROR', 'غير قادر على تحديث قاعدة البيانات! خطأ في الموضوع '); +define('_NEWS_AM_MSG_CLONE_ERROR', 'هذا الدليل هو متاح الآن !'); +define("_NEWS_AM_MSG_NOPERMSSET", "لایمکن تعدیل الإتاحات: لم یتم تحدیث أي فئة ! الرجاء تحدیث فئة أولا."); +define('_NEWS_AM_MSG_ALIASERROR', 'لقد تم اختیار هذا الإسم. الرجاء اختیار اسم آخر.'); +define('_NEWS_AM_MSG_INPROC', 'Rebuilding ... '); +define('_NEWS_AM_MSG_PRUNE_DELETED', '%s Articles deleted'); // about - define('_NEWS_AM_ABOUT_ADMIN', 'درباره'); - define('_NEWS_AM_ABOUT_DESCRIPTION', 'وصف:'); - define('_NEWS_AM_ABOUT_AUTHOR', 'المتنج:'); - define('_NEWS_AM_ABOUT_CREDITS', 'معارفه:'); - define('_NEWS_AM_ABOUT_LICENSE', 'إتاحة:'); - define('_NEWS_AM_ABOUT_MODULE_INFO', 'معلومات الوحدة:'); - define('_NEWS_AM_ABOUT_RELEASEDATE', 'ساعة النشر:'); - define("_NEWS_AM_ABOUT_UPDATEDATE", "ساعة التحدیث: "); - define('_NEWS_AM_ABOUT_MODULE_STATUS', 'الوضع:'); - define('_NEWS_AM_ABOUT_WEBSITE', 'الموقع:'); - define('_NEWS_AM_ABOUT_AUTHOR_INFO', 'معلومات المنتج'); - define('_NEWS_AM_ABOUT_AUTHOR_NAME', 'الإسم:'); - define('_NEWS_AM_ABOUT_CHANGELOG', 'قائمة التعدیلات'); -} +define('_NEWS_AM_ABOUT_ADMIN', 'درباره'); +define('_NEWS_AM_ABOUT_DESCRIPTION', 'وصف:'); +define('_NEWS_AM_ABOUT_AUTHOR', 'المتنج:'); +define('_NEWS_AM_ABOUT_CREDITS', 'معارفه:'); +define('_NEWS_AM_ABOUT_LICENSE', 'إتاحة:'); +define('_NEWS_AM_ABOUT_MODULE_INFO', 'معلومات الوحدة:'); +define('_NEWS_AM_ABOUT_RELEASEDATE', 'ساعة النشر:'); +define("_NEWS_AM_ABOUT_UPDATEDATE", "ساعة التحدیث: "); +define('_NEWS_AM_ABOUT_MODULE_STATUS', 'الوضع:'); +define('_NEWS_AM_ABOUT_WEBSITE', 'الموقع:'); +define('_NEWS_AM_ABOUT_AUTHOR_INFO', 'معلومات المنتج'); +define('_NEWS_AM_ABOUT_AUTHOR_NAME', 'الإسم:'); +define('_NEWS_AM_ABOUT_CHANGELOG', 'قائمة التعدیلات'); + ?> \ No newline at end of file Modified: XoopsModules/fmcontent/branches/news/language/arabic/blocks.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/arabic/blocks.php 2012-03-12 13:08:41 UTC (rev 9124) +++ XoopsModules/fmcontent/branches/news/language/arabic/blocks.php 2012-03-14 09:11:06 UTC (rev 9125) @@ -15,25 +15,25 @@ * @since 2.3.0 */ -if (!defined('_NEWS_TYPE')) { - define('_NEWS_MB_SELECTPAGE', 'إختیار صفحة :'); - define('_NEWS_MB_ALLMENUS', 'جمیع الفئات'); - define('_NEWS_MB_TOPICDISPLAY', 'إختیار الفئة للعرض'); - define('_NEWS_MB_NUMBER', 'عدد المواضیع'); - define('_NEWS_MB_CHARS', 'طول العنوان'); - define('_NEWS_MB_IMG', 'الصورة'); - define('_NEWS_MB_WIDTH', 'عرض الصورة'); - define('_NEWS_MB_DESCRIPTION', 'وصف'); - define('_NEWS_MB_DATE', 'تاریخ العرض'); - define('_NEWS_MB_MORE', ' اقرأ المزيد '); - define('_NEWS_MB_SHOE_MORELINK', 'Show more link'); - define('_NEWS_MB_MORELINK', 'More link'); - define("_NEWS_MB_IMPORTANT", "Immediate "); - define("_NEWS_MB_COUNT", "Show news count"); - define("_NEWS_MB_TOPIC_NAME", "Title"); - define("_NEWS_MB_TOPIC_IMG", "image"); - define("_NEWS_MB_HITINDAY1", "Show news since"); - define("_NEWS_MB_HITINDAY2", "Day's ago. This option work when you sort news by hit"); - define("_NEWS_MB_TOPICLIMIT", "Limited list by topic ID if exist"); -} +define('_NEWS_MB_SELECTPAGE', 'إختیار صفحة :'); +define('_NEWS_MB_ALLMENUS', 'جمیع الفئات'); +define('_NEWS_MB_TOPICDISPLAY', 'إختیار الفئة للعرض'); +define('_NEWS_MB_NUMBER', 'عدد المواضیع'); +define('_NEWS_MB_CHARS', 'طول العنوان'); +define('_NEWS_MB_CHARS_DESC', 'Text lenght (characters)'); +define('_NEWS_MB_IMG', 'الصورة'); +define('_NEWS_MB_WIDTH', 'عرض الصورة'); +define('_NEWS_MB_DESCRIPTION', 'وصف'); +define('_NEWS_MB_DATE', 'تاریخ العرض'); +define('_NEWS_MB_MORE', ' اقرأ المزيد '); +define('_NEWS_MB_SHOE_MORELINK', 'Show more link'); +define('_NEWS_MB_MORELINK', 'More link'); +define("_NEWS_MB_IMPORTANT", "Immediate "); +define("_NEWS_MB_COUNT", "Show news count"); +define("_NEWS_MB_TOPIC_NAME", "Title"); +define("_NEWS_MB_TOPIC_IMG", "image"); +define("_NEWS_MB_HITINDAY1", "Show news since"); +define("_NEWS_MB_HITINDAY2", "Day's ago. This option work when you sort news by hit"); +define("_NEWS_MB_TOPICLIMIT", "Limited list by topic ID if exist"); + ?> \ No newline at end of file Modified: XoopsModules/fmcontent/branches/news/language/arabic/main.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/arabic/main.php 2012-03-12 13:08:41 UTC (rev 9124) +++ XoopsModules/fmcontent/branches/news/language/arabic/main.php 2012-03-14 09:11:06 UTC (rev 9125) @@ -18,79 +18,78 @@ * @version $Id$ */ -if (!defined('_NEWS_MD_NEXT')) { - // All - define('_NEWS_MD_ID', 'ID'); - define('_NEWS_MD_TITLE', 'العنوان'); - define('_NEWS_MD_PUBLICDATE', 'التأریخ'); - define('_NEWS_MD_MORE', 'أکثر'); - define('_NEWS_MD_HITS', ' مرة مقروئة '); - define("_NEWS_MD_SOURCE", "مصدر: "); - define("_NEWS_MD_PUBTOPIC", "منشورة في القسم"); - define("_NEWS_MD_AUTHOR_ALL", "مشاهدة جمیع المشارکات"); - define("_NEWS_MD_AUTHOR_ALL_DESC", "مشاهدة جمیع مشارکات بواسطة "); - define('_NEWS_MD_COM', 'الرأي'); - define('_NEWS_MD_RELATED', 'مواضیع ذات صلة'); - define("_NEWS_MD_HOME", "Home"); - define("_NEWS_MD_IMPORTANT", "Immediate "); +// All +define('_NEWS_MD_ID', 'ID'); +define('_NEWS_MD_TITLE', 'العنوان'); +define('_NEWS_MD_PUBLICDATE', 'التأریخ'); +define('_NEWS_MD_MORE', 'أکثر'); +define('_NEWS_MD_HITS', ' مرة مقروئة '); +define("_NEWS_MD_SOURCE", "مصدر: "); +define("_NEWS_MD_PUBTOPIC", "منشورة في القسم"); +define("_NEWS_MD_AUTHOR_ALL", "مشاهدة جمیع المشارکات"); +define("_NEWS_MD_AUTHOR_ALL_DESC", "مشاهدة جمیع مشارکات بواسطة "); +define('_NEWS_MD_COM', 'الرأي'); +define('_NEWS_MD_RELATED', 'مواضیع ذات صلة'); +define("_NEWS_MD_HOME", "Home"); +define("_NEWS_MD_IMPORTANT", "Immediate "); // Link - define('_NEWS_MD_NEXT', 'التالیة'); - define('_NEWS_MD_PREV', 'السابقة'); - define('_NEWS_MD_EDIT', 'تحریر الصفحة'); - define('_NEWS_MD_DELETE', 'إزالة الصغحة'); - define('_NEWS_MD_PRINT', 'طبع الصفحة'); - define('_NEWS_MD_PDF', 'PDF'); - define('_NEWS_MD_MAIL', ' إرسال إلی الأصدقاء'); - define('_NEWS_MD_COMS', 'رأي'); - define('_NEWS_MD_NOCOMS', 'بدون مشارکة'); +define('_NEWS_MD_NEXT', 'التالیة'); +define('_NEWS_MD_PREV', 'السابقة'); +define('_NEWS_MD_EDIT', 'تحریر الصفحة'); +define('_NEWS_MD_DELETE', 'إزالة الصغحة'); +define('_NEWS_MD_PRINT', 'طبع الصفحة'); +define('_NEWS_MD_PDF', 'PDF'); +define('_NEWS_MD_MAIL', ' إرسال إلی الأصدقاء'); +define('_NEWS_MD_COMS', 'رأي'); +define('_NEWS_MD_NOCOMS', 'بدون مشارکة'); // Pdf - define('_NEWS_MD_AUTHOR', 'المحرر: '); - define('_NEWS_MD_DATE', 'تأریخ التحریر: '); - define('_NEWS_MD_UPDATE', 'تحدیث: '); +define('_NEWS_MD_AUTHOR', 'المحرر: '); +define('_NEWS_MD_DATE', 'تأریخ التحریر: '); +define('_NEWS_MD_UPDATE', 'تحدیث: '); // Error message - define('_NEWS_MD_ERROR_DEFAULT', 'الخطأ في الماجولات:لم یتم اختیار أي صفحة افتراضیة!'); - define('_NEWS_MD_ERROR_NOPAGE', 'لم یتم إنشاء أي صفحة'); - define('_NEWS_MD_ERROR_STATUS', 'This page is diactive'); - define('_NEWS_MD_ERROR_TOPIC', 'خطأ حین اختیار الفصل'); - define('_NEWS_MD_ERROR_EXIST', 'Selected content does not exist'); +define('_NEWS_MD_ERROR_DEFAULT', 'الخطأ في الماجولات:لم یتم اختیار أي صفحة افتراضیة!'); +define('_NEWS_MD_ERROR_NOPAGE', 'لم یتم إنشاء أي صفحة'); +define('_NEWS_MD_ERROR_STATUS', 'This page is diactive'); +define('_NEWS_MD_ERROR_TOPIC', 'خطأ حین اختیار الفصل'); +define('_NEWS_MD_ERROR_EXIST', 'Selected content does not exist'); // Light box - define('_NEWS_MD_LIGHTBOX_IMAGE', 'صورة'); - define('_NEWS_MD_LIGHTBOX_OF', 'من'); +define('_NEWS_MD_LIGHTBOX_IMAGE', 'صورة'); +define('_NEWS_MD_LIGHTBOX_OF', 'من'); // Public bookmarks - define("_NEWS_MD_BOOKMARK_ME", "بوک مارک"); - define("_NEWS_MD_BOOKMARK_TO_BLINKLIST", "بوکمارک في Blinklist"); - define("_NEWS_MD_BOOKMARK_TO_DELICIOUS", "بوکمارک في del.icio.us"); - define("_NEWS_MD_BOOKMARK_TO_DIGG", "بوکمارک في Digg"); - define("_NEWS_MD_BOOKMARK_TO_FARK", "بوکمارک في Fark"); - define("_NEWS_MD_BOOKMARK_TO_FURL", "بوکمارک في Furl"); - define("_NEWS_MD_BOOKMARK_TO_NEWSVINE", "بوکمارک في Newsvine"); - define("_NEWS_MD_BOOKMARK_TO_REDDIT", "بوکمارک في Reddit"); - define("_NEWS_MD_BOOKMARK_TO_SIMPY", "بوکمارک في Simpy"); - define("_NEWS_MD_BOOKMARK_TO_SPURL", "بوکمارک في Spurl"); - define("_NEWS_MD_BOOKMARK_TO_YAHOO", "بوکمارک في Yahoo"); - define("_NEWS_MD_BOOKMARK_TO_FACEBOOK", "بوکمارک في Faceboom"); - define("_NEWS_MD_BOOKMARK_TO_TWITTER", "بوکمارک في Twitter"); - define("_NEWS_MD_BOOKMARK_TO_SCRIPSTYLE", "بوکمارک في Scripstyle"); - define("_NEWS_MD_BOOKMARK_TO_STUMBLE", "بوکمارک في Stumble"); - define("_NEWS_MD_BOOKMARK_TO_TECHNORATI", "بوکمارک في Technorati"); - define("_NEWS_MD_BOOKMARK_TO_MIXX", "بوکمارک في Mixx"); - define("_NEWS_MD_BOOKMARK_TO_MYSPACE", "بوکمارک في Myspace"); - define("_NEWS_MD_BOOKMARK_TO_DESIGNFLOAT", "بوکمارک في Designfloat"); - define("_NEWS_MD_BOOKMARK_TO_BALATARIN", "بوکمارک في Balatarin"); - define("_NEWS_MD_BOOKMARK_TO_GOOLGEBUZZ", "بوکمارک في Google Buzz"); - define("_NEWS_MD_BOOKMARK_TO_GOOLGEREADER", "بوکمارک في Google Reader"); - define("_NEWS_MD_BOOKMARK_TO_GOOLGEBOOKMARKS", "بوکمارک في Google Bookmarks"); +define("_NEWS_MD_BOOKMARK_ME", "بوک مارک"); +define("_NEWS_MD_BOOKMARK_TO_BLINKLIST", "بوکمارک في Blinklist"); +define("_NEWS_MD_BOOKMARK_TO_DELICIOUS", "بوکمارک في del.icio.us"); +define("_NEWS_MD_BOOKMARK_TO_DIGG", "بوکمارک في Digg"); +define("_NEWS_MD_BOOKMARK_TO_FARK", "بوکمارک في Fark"); +define("_NEWS_MD_BOOKMARK_TO_FURL", "بوکمارک في Furl"); +define("_NEWS_MD_BOOKMARK_TO_NEWSVINE", "بوکمارک في Newsvine"); +define("_NEWS_MD_BOOKMARK_TO_REDDIT", "بوکمارک في Reddit"); +define("_NEWS_MD_BOOKMARK_TO_SIMPY", "بوکمارک في Simpy"); +define("_NEWS_MD_BOOKMARK_TO_SPURL", "بوکمارک في Spurl"); +define("_NEWS_MD_BOOKMARK_TO_YAHOO", "بوکمارک في Yahoo"); +define("_NEWS_MD_BOOKMARK_TO_FACEBOOK", "بوکمارک في Faceboom"); +define("_NEWS_MD_BOOKMARK_TO_TWITTER", "بوکمارک في Twitter"); +define("_NEWS_MD_BOOKMARK_TO_SCRIPSTYLE", "بوکمارک في Scripstyle"); +define("_NEWS_MD_BOOKMARK_TO_STUMBLE", "بوکمارک في Stumble"); +define("_NEWS_MD_BOOKMARK_TO_TECHNORATI", "بوکمارک في Technorati"); +define("_NEWS_MD_BOOKMARK_TO_MIXX", "بوکمارک في Mixx"); +define("_NEWS_MD_BOOKMARK_TO_MYSPACE", "بوکمارک في Myspace"); +define("_NEWS_MD_BOOKMARK_TO_DESIGNFLOAT", "بوکمارک في Designfloat"); +define("_NEWS_MD_BOOKMARK_TO_BALATARIN", "بوکمارک في Balatarin"); +define("_NEWS_MD_BOOKMARK_TO_GOOLGEBUZZ", "بوکمارک في Google Buzz"); +define("_NEWS_MD_BOOKMARK_TO_GOOLGEREADER", "بوکمارک في Google Reader"); +define("_NEWS_MD_BOOKMARK_TO_GOOLGEBOOKMARKS", "بوکمارک في Google Bookmarks"); // topic - define("_NEWS_MD_TOPIC_ID", "ID"); - define("_NEWS_MD_TOPIC_NAME", "العنوان"); - define("_NEWS_MD_TOPIC_DESC", "شرح"); - define("_NEWS_MD_TOPIC_IMG", "صورة"); +define("_NEWS_MD_TOPIC_ID", "ID"); +define("_NEWS_MD_TOPIC_NAME", "العنوان"); +define("_NEWS_MD_TOPIC_DESC", "شرح"); +define("_NEWS_MD_TOPIC_IMG", "صورة"); // Archive - define("_NEWS_MD_ARCHIVE", "News Archive"); - define("_NEWS_MD_ARCHIVE_ARTICLES", "Articles"); - define("_NEWS_MD_ARCHIVE_VIEW", "Hits"); - define("_NEWS_MD_ARCHIVE_DATE", "Date"); - define("_NEWS_MD_ARCHIVE_TOPIC", "Topic"); - define("_NEWS_MD_ARCHIVE_TOTAL", "Total Stores"); -} +define("_NEWS_MD_ARCHIVE", "News Archive"); +define("_NEWS_MD_ARCHIVE_ARTICLES", "Articles"); +define("_NEWS_MD_ARCHIVE_VIEW", "Hits"); +define("_NEWS_MD_ARCHIVE_DATE", "Date"); +define("_NEWS_MD_ARCHIVE_TOPIC", "Topic"); +define("_NEWS_MD_ARCHIVE_TOTAL", "Total Stores"); + ?> \ No newline at end of file Modified: XoopsModules/fmcontent/branches/news/language/arabic/modinfo.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/arabic/modinfo.php 2012-03-12 13:08:41 UTC (rev 9124) +++ XoopsModules/fmcontent/branches/news/language/arabic/modinfo.php 2012-03-14 09:11:06 UTC (rev 9125) @@ -18,287 +18,283 @@ * @version $Id$ */ -if (!defined('_MI_NEWS_NAME')) { - // Module info - define('_MI_NEWS_NAME', 'المحتوی'); - define('_MI_NEWS_DESC', 'لإدارة الصفحات الثابتة و الدینامیة'); +// Module info +define('_MI_NEWS_NAME', 'أخبار'); +define('_MI_NEWS_DESC', 'لإدارة الصفحات الثابتة و الدینامیة'); // Menu - define("_NEWS_MI_HOME", "الرئیسیة"); - define("_NEWS_MI_TOPIC", "فئة"); - define("_NEWS_MI_ARTICLE", "محتوی"); - define("_NEWS_MI_PERM", "الإتاحات"); - define("_NEWS_MI_TOOLS", "أداة"); - define("_NEWS_MI_ABOUT", "درباره"); - define("_NEWS_MI_HELP", "دلیل"); - define("_NEWS_MI_SUBMIT", "ارسال"); - define('_NEWS_MI_FILE', 'ملف'); - define('_NEWS_MI_ARCHIVE', 'Archive'); +define("_NEWS_MI_HOME", "الرئیسیة"); +define("_NEWS_MI_TOPIC", "فئة"); +define("_NEWS_MI_ARTICLE", "محتوی"); +define("_NEWS_MI_PERM", "الإتاحات"); +define("_NEWS_MI_TOOLS", "أداة"); +define("_NEWS_MI_ABOUT", "درباره"); +define("_NEWS_MI_HELP", "دلیل"); +define("_NEWS_MI_SUBMIT", "ارسال"); +define('_NEWS_MI_FILE', 'ملف'); +define('_NEWS_MI_ARCHIVE', 'Archive'); // Block - define("_NEWS_MI_BLOCK_PAGE", "الصفحة"); - define("_NEWS_MI_BLOCK_LIST", "الفهرسة"); - define('_NEWS_MI_BLOCK_TOPIC', 'Topic list'); - define('_NEWS_MI_BLOCK_SLIDE', 'Slide'); - define('_NEWS_MI_BLOCK_MARQUEE', 'Marquee'); +define("_NEWS_MI_BLOCK_PAGE", "الصفحة"); +define("_NEWS_MI_BLOCK_LIST", "الفهرسة"); +define('_NEWS_MI_BLOCK_TOPIC', 'Topic list'); +define('_NEWS_MI_BLOCK_SLIDE', 'Slide'); +define('_NEWS_MI_BLOCK_MARQUEE', 'Marquee'); // Editor - define("_NEWS_MI_FORM_EDITOR", "اختیار شکل"); - define("_NEWS_MI_FORM_EDITOR_DESC", "تحدید محرر للاستخدام في صفحة إرسال المواضیع."); +define("_NEWS_MI_FORM_EDITOR", "اختیار شکل"); +define("_NEWS_MI_FORM_EDITOR_DESC", "تحدید محرر للاستخدام في صفحة إرسال المواضیع."); // Admin groups - define("_NEWS_MI_ADMINGROUPS", "Admin Group Permissions"); - define("_NEWS_MI_ADMINGROUPS_DESC", "Which groups have access to tools and permissions page"); +define("_NEWS_MI_ADMINGROUPS", "Admin Group Permissions"); +define("_NEWS_MI_ADMINGROUPS_DESC", "Which groups have access to tools and permissions page"); // Group Access - define('_NEWS_MI_GROUPS','اتاحة المجموعات'); - define('_NEWS_MI_GROUPS_DESC', 'عین الإتاحة الکلیة للمجموعات.'); +define('_NEWS_MI_GROUPS','اتاحة المجموعات'); +define('_NEWS_MI_GROUPS_DESC', 'عین الإتاحة الکلیة للمجموعات.'); // Urls - define('_NEWS_MI_FRIENDLYURL','تحدید عنوان مفضل للمستخدمین'); - define('_NEWS_MI_FRIENDLYURL_DESC', 'Select the URL rewrite mode you want to use.'); - define('_NEWS_MI_URL_STANDARD', 'Standard Mode'); - define('_NEWS_MI_URL_REWRITE', 'Rewrite Mode'); - define('_NEWS_MI_URL_SHORT', 'Short Rewrite'); - define('_NEWS_MI_URL_ID', 'ID Mode'); - define('_NEWS_MI_URL_TOPIC', 'ID - Topic Mode'); +define('_NEWS_MI_FRIENDLYURL','تحدید عنوان مفضل للمستخدمین'); +define('_NEWS_MI_FRIENDLYURL_DESC', 'Select the URL rewrite mode you want to use.'); +define('_NEWS_MI_URL_STANDARD', 'Standard Mode'); +define('_NEWS_MI_URL_REWRITE', 'Rewrite Mode'); +define('_NEWS_MI_URL_SHORT', 'Short Rewrite'); +define('_NEWS_MI_URL_ID', 'ID Mode'); +define('_NEWS_MI_URL_TOPIC', 'ID - Topic Mode'); // Rewrite Mode - define('_NEWS_MI_REWRITEBASE', 'اختر عنوانا یمکن کتابته'); - define('_NEWS_MI_REWRITEBASE_DESC', '"Module base": یجب علیک .htacces جعله في فئة الوحدة.<br />"Root base": یجب علیک .htacces في فئةROOT_PATH جعل.'); - define('_NEWS_MI_REWRITEBASE_MODS', 'Module base'); - define('_NEWS_MI_REWRITEBASE_ROOT', 'Root base'); +define('_NEWS_MI_REWRITEBASE', 'اختر عنوانا یمکن کتابته'); +define('_NEWS_MI_REWRITEBASE_DESC', '"Module base": یجب علیک .htacces جعله في فئة الوحدة.<br />"Root base": یجب علیک .htacces في فئةROOT_PATH جعل.'); +define('_NEWS_MI_REWRITEBASE_MODS', 'Module base'); +define('_NEWS_MI_REWRITEBASE_ROOT', 'Root base'); // Rewrite Name - define('_NEWS_MI_REWRITENAME', 'اسم الوحدة بعد التحدیث'); - define('_NEWS_MI_REWRITENAME_DESC', 'حدد اسم الوحدة في النوان المنتج rewrite mode). إذا تم تعدیل الإسم، یجب تعدیل ملف.htaccess '); +define('_NEWS_MI_REWRITENAME', 'اسم الوحدة بعد التحدیث'); +define('_NEWS_MI_REWRITENAME_DESC', 'حدد اسم الوحدة في النوان المنتج rewrite mode). إذا تم تعدیل الإسم، یجب تعدیل ملف.htaccess '); // Rewrite Extension - define('_NEWS_MI_REWRITEEXT', 'الملحق الختامي للعنوان'); - define('_NEWS_MI_REWRITEEXT_DESC', 'اختر الملحق الختامي للعنوان (.html) '); +define('_NEWS_MI_REWRITEEXT', 'الملحق الختامي للعنوان'); +define('_NEWS_MI_REWRITEEXT_DESC', 'اختر الملحق الختامي للعنوان (.html) '); // static name - define('_NEWS_MI_STATICNAME', 'الاسم الثابت'); - define('_NEWS_MI_STATICNAME_DESC', 'إسم فئة للصفحات الثابتة عند انتاج العنوان '); +define('_NEWS_MI_STATICNAME', 'الاسم الثابت'); +define('_NEWS_MI_STATICNAME_DESC', 'إسم فئة للصفحات الثابتة عند انتاج العنوان '); // Lenght Id - define('_NEWS_MI_LENGHTID', 'طول رقم الصفحة'); - define('_NEWS_MI_LENGHTID_DESC', 'عدد ارقام المنتجة للصفحة'); +define('_NEWS_MI_LENGHTID', 'طول رقم الصفحة'); +define('_NEWS_MI_LENGHTID_DESC', 'عدد ارقام المنتجة للصفحة'); //Advertisement - define('_NEWS_MI_ADVERTISEMENT', 'الإعلانات'); - define('_NEWS_MI_ADVERTISEMENT_DESC', 'اجعل نصا أو کود جاوا للعرض في جمیع الصفحات'); -// Edit in place - define('_NEWS_MI_EDITINPLACE',' تعدیل في الصفحة؟'); - define('_NEWS_MI_EDITINPLACE_DESC', 'یمکنک تعدیل صفحات مع کود HTML علی شکل أي جکس داخل صفحتک'); +define('_NEWS_MI_ADVERTISEMENT', 'الإعلانات'); +define('_NEWS_MI_ADVERTISEMENT_DESC', 'اجعل نصا أو کود جاوا للعرض في جمیع الصفحات'); // Tell a friend - define('_NEWS_MI_TELLAFRIEND', 'استخدام وحدة إخبار الأصدقاء'); - define('_NEWS_MI_TELLAFRIEND_DESC', ''); +define('_NEWS_MI_TELLAFRIEND', 'استخدام وحدة إخبار الأصدقاء'); +define('_NEWS_MI_TELLAFRIEND_DESC', ''); // Tell a friend - define('_NEWS_MI_USETAG', ' استخدام الوحدة TAG لإنتاج '); - define('_NEWS_MI_USETAG_DESC', 'لاستخدام هذا الأیقون یجب تثبیت وحدة TAG'); +define('_NEWS_MI_USETAG', ' استخدام الوحدة TAG لإنتاج '); +define('_NEWS_MI_USETAG_DESC', 'لاستخدام هذا الأیقون یجب تثبیت وحدة TAG'); // Show options - define('_NEWS_MI_DISP_OPTION', 'کیفیة العرض'); - define('_NEWS_MI_DISP_OPTION_DESC', 'اختر حالة عرض الخیارات. إما علی اساس خیارات الوحدة أم خیار الفئات'); - define('_NEWS_MI_DISP_OPTION_MODULE',' خیارات الوحدات'); - define('_NEWS_MI_DISP_OPTION_TOPIC', ' خیارات الفئات'); +define('_NEWS_MI_DISP_OPTION', 'کیفیة العرض'); +define('_NEWS_MI_DISP_OPTION_DESC', 'اختر حالة عرض الخیارات. إما علی اساس خیارات الوحدة أم خیار الفئات'); +define('_NEWS_MI_DISP_OPTION_MODULE',' خیارات الوحدات'); +define('_NEWS_MI_DISP_OPTION_TOPIC', ' خیارات الفئات'); // Title - define('_NEWS_MI_DISPTITLE', 'عرض العنوان؟'); - define('_NEWS_MI_DISPTITLE_DESC', ''); +define('_NEWS_MI_DISPTITLE', 'عرض العنوان؟'); +define('_NEWS_MI_DISPTITLE_DESC', ''); // Title - define('_NEWS_MI_DISPTOPIC', 'عرض الفئة؟'); - define('_NEWS_MI_DISPTOPIC_DESC', ''); +define('_NEWS_MI_DISPTOPIC', 'عرض الفئة؟'); +define('_NEWS_MI_DISPTOPIC_DESC', ''); // Date - define('_NEWS_MI_DISPDATE', 'عرض التاریخ؟'); - define('_NEWS_MI_DISPDATE_DESC', ''); +define('_NEWS_MI_DISPDATE', 'عرض التاریخ؟'); +define('_NEWS_MI_DISPDATE_DESC', ''); // Author - define('_NEWS_MI_DISPAUTHOR', 'عرذض المحرر؟'); - define('_NEWS_MI_DISPAUTHOR_DESC', ''); +define('_NEWS_MI_DISPAUTHOR', 'عرذض المحرر؟'); +define('_NEWS_MI_DISPAUTHOR_DESC', ''); // Navigation Link - define('_NEWS_MI_DISPNAV', 'عرض روابط ناوبری؟'); - define('_NEWS_MI_DISPNAV_DESC', ''); +define('_NEWS_MI_DISPNAV', 'عرض روابط ناوبری؟'); +define('_NEWS_MI_DISPNAV_DESC', ''); // PDF Link - define('_NEWS_MI_DISPPDF', 'عرض رابط PDF؟'); - define('_NEWS_MI_DISPPDF_DESC', ''); +define('_NEWS_MI_DISPPDF', 'عرض رابط PDF؟'); +define('_NEWS_MI_DISPPDF_DESC', ''); // Print Link - define('_NEWS_MI_DISPPRINT', 'عرض رابط الطباعة؟'); - define('_NEWS_MI_DISPPRINT_DESC', ''); +define('_NEWS_MI_DISPPRINT', 'عرض رابط الطباعة؟'); +define('_NEWS_MI_DISPPRINT_DESC', ''); // Hits Link - define('_NEWS_MI_DISHITS', 'عرض الزیارات؟'); - define('_NEWS_MI_DISHITS_DESC', ''); +define('_NEWS_MI_DISHITS', 'عرض الزیارات؟'); +define('_NEWS_MI_DISHITS_DESC', ''); // Mail Link - define('_NEWS_MI_DISPMAIL', 'عرض رابط إخبار الأصدقاء؟'); - define('_NEWS_MI_DISPMAIL_DESC', ''); +define('_NEWS_MI_DISPMAIL', 'عرض رابط إخبار الأصدقاء؟'); +define('_NEWS_MI_DISPMAIL_DESC', ''); // Mail Link - define('_NEWS_MI_DISPCOMS', 'عرض عدد الآراء ؟'); - define('_NEWS_MI_DISPCOMS_DESC', ''); +define('_NEWS_MI_DISPCOMS', 'عرض عدد الآراء ؟'); +define('_NEWS_MI_DISPCOMS_DESC', ''); // Per page - define('_NEWS_MI_PERPAGE', 'في کل صفحة'); - define('_NEWS_MI_PERPAGE_DESC', 'عدد المواضیع في کل صفحة'); +define('_NEWS_MI_PERPAGE', 'في کل صفحة'); +define('_NEWS_MI_PERPAGE_DESC', 'عدد المواضیع في کل صفحة'); // Columns - define('_NEWS_MI_COLUMNS', 'عمود'); - define('_NEWS_MI_COLUMNS_DESC', 'عدد الأعمدة في کل صفحة'); +define('_NEWS_MI_COLUMNS', 'عمود'); +define('_NEWS_MI_COLUMNS_DESC', 'عدد الأعمدة في کل صفحة'); // Show type - define('_NEWS_MI_SHOWTYPE', 'حالة العرض'); - define('_NEWS_MI_SHOWTYPE_DESC', 'حالة عرض نموذج الفئات'); - define('_NEWS_MI_SHOWTYPE_0', 'علی اساس الوحدات'); - define('_NEWS_MI_SHOWTYPE_1', 'الوضع الخبری'); - define('_NEWS_MI_SHOWTYPE_2', 'حالت جدولی'); - define('_NEWS_MI_SHOWTYPE_3', 'وضع الصورة'); - define('_NEWS_MI_SHOWTYPE_4', 'جالت لیست'); - define('_NEWS_MI_SHOWTYPE_5', 'Spotlight'); +define('_NEWS_MI_SHOWTYPE', 'حالة العرض'); +define('_NEWS_MI_SHOWTYPE_DESC', 'حالة عرض نموذج الفئات'); +define('_NEWS_MI_SHOWTYPE_0', 'علی اساس الوحدات'); +define('_NEWS_MI_SHOWTYPE_1', 'الوضع الخبری'); +define('_NEWS_MI_SHOWTYPE_2', 'حالت جدولی'); +define('_NEWS_MI_SHOWTYPE_3', 'وضع الصورة'); +define('_NEWS_MI_SHOWTYPE_4', 'جالت لیست'); +define('_NEWS_MI_SHOWTYPE_5', 'Spotlight'); // Show order - define('_NEWS_MI_SHOWORDER', 'اولویة العرض'); - define('_NEWS_MI_SHOWORDER_DESC', 'اختر اولویة العرض متصاعدا ام متنازلا'); - define("_NEWS_MI_DESC", "متنازلا"); - define("_NEWS_MI_ASC", "متصاعدا"); +define('_NEWS_MI_SHOWORDER', 'اولویة العرض'); +define('_NEWS_MI_SHOWORDER_DESC', 'اختر اولویة العرض متصاعدا ام متنازلا'); +define("_NEWS_MI_DESC", "متنازلا"); +define("_NEWS_MI_ASC", "متصاعدا"); // Show sort - define('_NEWS_MI_SHOWSORT', 'تنظیم علی اساس العرض'); - define('_NEWS_MI_SHOWSORT_DESC', 'تنظیم علی اساس اختیار العرض'); - define('_NEWS_MI_SHOWSORT_1', 'Id'); - define('_NEWS_MI_SHOWSORT_2', 'Create'); - define('_NEWS_MI_SHOWSORT_3', 'Update'); - define('_NEWS_MI_SHOWSORT_4', 'Title'); - define('_NEWS_MI_SHOWSORT_5', 'Order'); - define('_NEWS_MI_SHOWSORT_6', 'Random'); - define('_NEWS_MI_SHOWSORT_7', 'Hits'); +define('_NEWS_MI_SHOWSORT', 'تنظیم علی اساس العرض'); +define('_NEWS_MI_SHOWSORT_DESC', 'تنظیم علی اساس اختیار العرض'); +define('_NEWS_MI_SHOWSORT_1', 'Id'); +define('_NEWS_MI_SHOWSORT_2', 'Create'); +define('_NEWS_MI_SHOWSORT_3', 'Update'); +define('_NEWS_MI_SHOWSORT_4', 'Title'); +define('_NEWS_MI_SHOWSORT_5', 'Order'); +define('_NEWS_MI_SHOWSORT_6', 'Random'); +define('_NEWS_MI_SHOWSORT_7', 'Hits'); // Admin page - define('_NEWS_MI_ADMIN_PERPAGE', 'الوثیقة في کل صفحة'); - define('_NEWS_MI_ADMIN_PERPAGE_DESC', 'إدارة عدد الوثائق في کل صفحة'); +define('_NEWS_MI_ADMIN_PERPAGE', 'الوثیقة في کل صفحة'); +define('_NEWS_MI_ADMIN_PERPAGE_DESC', 'إدارة عدد الوثائق في کل صفحة'); // Admin Show order - define('_NEWS_MI_ADMIN_SHOWORDER', 'اولویة عرض المواضیع'); - define('_NEWS_MI_ADMIN_SHOWORDER_DESC', 'اختر اولویة العرض متصاعدا ام متنازلا'); +define('_NEWS_MI_ADMIN_SHOWORDER', 'اولویة عرض المواضیع'); +define('_NEWS_MI_ADMIN_SHOWORDER_DESC', 'اختر اولویة العرض متصاعدا ام متنازلا'); // Admin sort - define('_NEWS_MI_ADMIN_SHOWSORT', 'التنظیم علی اساس عرض الصفحات صفحات'); - define('_NEWS_MI_ADMIN_SHOWSORT_DESC', 'العرض علی اساس اختیار العرض'); +define('_NEWS_MI_ADMIN_SHOWSORT', 'التنظیم علی اساس عرض الصفحات صفحات'); +define('_NEWS_MI_ADMIN_SHOWSORT_DESC', 'العرض علی اساس اختیار العرض'); // Admin topic page - define('_NEWS_MI_ADMIN_PERPAGE_TOPIC', 'الفئة في کل صفحة'); - define('_NEWS_MI_ADMIN_PERPAGE_TOPIC_DESC', 'عدد الفئات في کل صفحة في قسم الإدارة'); +define('_NEWS_MI_ADMIN_PERPAGE_TOPIC', 'الفئة في کل صفحة'); +define('_NEWS_MI_ADMIN_PERPAGE_TOPIC_DESC', 'عدد الفئات في کل صفحة في قسم الإدارة'); // Admin topic Show order - define('_NEWS_MI_ADMIN_SHOWORDER_TOPIC', 'التنظیم علی اساس عرض الفئات'); - define('_NEWS_MI_ADMIN_SHOWORDER_TOPIC_DESC', 'اختر اولویة العرض متصاعدا ام متنازلا '); - define('_NEWS_MI_ADMIN_SHOWSORT_TOPIC_1', 'Id'); - define('_NEWS_MI_ADMIN_SHOWSORT_TOPIC_2', 'Order'); - define('_NEWS_MI_ADMIN_SHOWSORT_TOPIC_3', 'Created'); +define('_NEWS_MI_ADMIN_SHOWORDER_TOPIC', 'التنظیم علی اساس عرض الفئات'); +define('_NEWS_MI_ADMIN_SHOWORDER_TOPIC_DESC', 'اختر اولویة العرض متصاعدا ام متنازلا '); +define('_NEWS_MI_ADMIN_SHOWSORT_TOPIC_1', 'Id'); +define('_NEWS_MI_ADMIN_SHOWSORT_TOPIC_2', 'Order'); +define('_NEWS_MI_ADMIN_SHOWSORT_TOPIC_3', 'Created'); // Admin topic sort - define('_NEWS_MI_ADMIN_SHOWSORT_TOPIC', 'اولویة عرض الفئات'); - define('_NEWS_MI_ADMIN_SHOWSORT_TOPIC_DESC', 'التنظیم علی اساس اختیار العرض'); +define('_NEWS_MI_ADMIN_SHOWSORT_TOPIC', 'اولویة عرض الفئات'); +define('_NEWS_MI_ADMIN_SHOWSORT_TOPIC_DESC', 'التنظیم علی اساس اختیار العرض'); // Admin index limit - define('_NEWS_MI_ADMIN_INDEX_LIMIT', 'عدد المواضیع في الصفحة الاولی للإدارة'); - define('_NEWS_MI_ADMIN_INDEX_LIMIT_DESC', 'عدد الموضایع في الصفحة الاولی للإدارة'); +define('_NEWS_MI_ADMIN_INDEX_LIMIT', 'عدد المواضیع في الصفحة الاولی للإدارة'); +define('_NEWS_MI_ADMIN_INDEX_LIMIT_DESC', 'عدد الموضایع في الصفحة الاولی للإدارة'); //rss - define('_NEWS_MI_RSS_SHOW', 'عرض آیقون ال خوراک'); - define('_NEWS_MI_RSS_SHOW_DESC', 'عرض أو عدم عرض آیقون خوراک في الوحدة'); - define('_NEWS_MI_RSS_TIMECACHE', 'زمان کش خوراک'); - define('_NEWS_MI_RSS_TIMECACHE_DESC', 'زمان کش برای صفحه خوراک بر حسب دقیقه'); - define('_NEWS_MI_RSS_PERPAGE', 'عدد موارد خوراک'); - define('_NEWS_MI_RSS_PERPAGE_DESC', 'اختر عدد منتجات خوراک في الصفحة'); - define('_NEWS_MI_RSS_LOGO', 'شعار صفحة خوراک'); - define('_NEWS_MI_RSS_LOGO_DESC', 'شعار الموقع في صفحة خوراک'); +define('_NEWS_MI_RSS_SHOW', 'عرض آیقون ال خوراک'); +define('_NEWS_MI_RSS_SHOW_DESC', 'عرض أو عدم عرض آیقون خوراک في الوحدة'); +define('_NEWS_MI_RSS_TIMECACHE', 'زمان کش خوراک'); +define('_NEWS_MI_RSS_TIMECACHE_DESC', 'زمان کش برای صفحه خوراک بر حسب دقیقه'); +define('_NEWS_MI_RSS_PERPAGE', 'عدد موارد خوراک'); +define('_NEWS_MI_RSS_PERPAGE_DESC', 'اختر عدد منتجات خوراک في الصفحة'); +define('_NEWS_MI_RSS_LOGO', 'شعار صفحة خوراک'); +define('_NEWS_MI_RSS_LOGO_DESC', 'شعار الموقع في صفحة خوراک'); // Print - define('_NEWS_MI_PRINT_LOGO', 'عرض الشعار في الموقع'); - define('_NEWS_MI_PRINT_LOGO_DESC', 'عرض أو عدم عرض شعار الموقع في صفحة الطباعة'); - define('_NEWS_MI_PRINT_LOGOFLOAT', 'محل شعار الموقع'); - define('_NEWS_MI_PRINT_LOGOFLOAT_DESC', 'محل شعار الموقع في الصفحة ممکن ان تکون الطباعة یمینا أو شمالا أو وسطا'); - define('_NEWS_MI_PRINT_LEFT', 'شمال'); - define('_NEWS_MI_PRINT_RIGHT', 'یمین'); - define('_NEWS_MI_PRINT_CENTER', 'وسط'); - define('_NEWS_MI_PRINT_LOGOURL', 'شعار الموقع'); - define('_NEWS_MI_PRINT_LOGOURL_DESC', 'شعار الموقع في صفحة الطباعة'); - define('_NEWS_MI_PRINT_TITLE', 'عرض العنوان؟'); - define('_NEWS_MI_PRINT_TITLE_DESC', ''); - define('_NEWS_MI_PRINT_IMG', 'عرض الصورة'); - define('_NEWS_MI_PRINT_IMG_DESC', ''); - define('_NEWS_MI_PRINT_SHORT', 'عرض النص الإبتدائي؟'); - define('_NEWS_MI_PRINT_SHORT_DESC', ''); - define('_NEWS_MI_PRINT_TEXT', 'عرض النص النهائي؟'); - define('_NEWS_MI_PRINT_TEXT_DESC', ''); - define('_NEWS_MI_PRINT_DATE', 'عرض التاریخ؟'); - define('_NEWS_MI_PRINT_DATE_DESC', ''); - define('_NEWS_MI_PRINT_AUTHOR', 'عرض المحرر؟'); - define('_NEWS_MI_PRINT_AUTHOR_DESC', ''); - define('_NEWS_MI_PRINT_LINK', 'عرض رابط الصفحة؟'); - define('_NEWS_MI_PRINT_LINK_DESC', ''); +define('_NEWS_MI_PRINT_LOGO', 'عرض الشعار في الموقع'); +define('_NEWS_MI_PRINT_LOGO_DESC', 'عرض أو عدم عرض شعار الموقع في صفحة الطباعة'); +define('_NEWS_MI_PRINT_LOGOFLOAT', 'محل شعار الموقع'); +define('_NEWS_MI_PRINT_LOGOFLOAT_DESC', 'محل شعار الموقع في الصفحة ممکن ان تکون الطباعة یمینا أو شمالا أو وسطا'); +define('_NEWS_MI_PRINT_LEFT', 'شمال'); +define('_NEWS_MI_PRINT_RIGHT', 'یمین'); +define('_NEWS_MI_PRINT_CENTER', 'وسط'); +define('_NEWS_MI_PRINT_LOGOURL', 'شعار الموقع'); +define('_NEWS_MI_PRINT_LOGOURL_DESC', 'شعار الموقع في صفحة الطباعة'); +define('_NEWS_MI_PRINT_TITLE', 'عرض العنوان؟'); +define('_NEWS_MI_PRINT_TITLE_DESC', ''); +define('_NEWS_MI_PRINT_IMG', 'عرض الصورة'); +define('_NEWS_MI_PRINT_IMG_DESC', ''); +define('_NEWS_MI_PRINT_SHORT', 'عرض النص الإبتدائي؟'); +define('_NEWS_MI_PRINT_SHORT_DESC', ''); +define('_NEWS_MI_PRINT_TEXT', 'عرض النص النهائي؟'); +define('_NEWS_MI_PRINT_TEXT_DESC', ''); +define('_NEWS_MI_PRINT_DATE', 'عرض التاریخ؟'); +define('_NEWS_MI_PRINT_DATE_DESC', ''); +define('_NEWS_MI_PRINT_AUTHOR', 'عرض المحرر؟'); +define('_NEWS_MI_PRINT_AUTHOR_DESC', ''); +define('_NEWS_MI_PRINT_LINK', 'عرض رابط الصفحة؟'); +define('_NEWS_MI_PRINT_LINK_DESC', ''); //img - define('_NEWS_MI_IMAGE_DIR', 'الطریق الی هذه الصفحة'); - define('_NEWS_MI_IMAGE_DIR_DESC', 'طریق تحمیل الصور للمواضیع . اذا تم تغییر هذا العنوان ، یجب ان تنقل الصور القدیمة الی هذا العنوان للعرض'); - define('_NEWS_MI_IMAGE_SIZE', 'Image file size (in bytes)'); - define('_NEWS_MI_IMAGE_SIZE_DESC', 'Max allowed size for image file (1048576 bytes = 1 MegaByte)'); - define('_NEWS_MI_IMAGE_MAXWIDTH', 'اکثر عرض الصورة'); - define('_NEWS_MI_IMAGE_MAXWIDTH_DESC', 'اکثر عرض للصورة عند التحمیل '); - define('_NEWS_MI_IMAGE_MAXHEIGHT', 'اکثر طول التصویر عند تحمیله'); - define('_NEWS_MI_IMAGE_MAXHEIGHT_DESC', 'اکثر طول الصورة عند التحمیل'); - define('_NEWS_MI_IMAGE_MEDIUMWIDTH', 'Image medium width (pixel)'); - define('_NEWS_MI_IMAGE_MEDIUMWIDTH_DESC', 'Medium allowed width for image resize'); - define('_NEWS_MI_IMAGE_MEDIUMHEIGHT', 'Image medium height (pixel)'); - define('_NEWS_MI_IMAGE_MEDIUMHEIGHT_DESC', 'Medium allowed height for image resize'); - define('_NEWS_MI_IMAGE_THUMBWIDTH', 'Image thumb width (pixel)'); - define('_NEWS_MI_IMAGE_THUMBWIDTH_DESC', 'Thumb allowed width for image resize'); - define('_NEWS_MI_IMAGE_THUMBHEIGHT', 'Image thumb height (pixel)'); - define('_NEWS_MI_IMAGE_THUMBHEIGHT_DESC', 'Thumb allowed height for image resize'); - define('_NEWS_MI_IMAGE_MIME', 'الملحق الختامي المتاح للتحمیل'); - define('_NEWS_MI_IMAGE_MIME_DESC', 'اختر الملحق الختامي المتاح'); - define('_NEWS_MI_IMAGE_WIDTH', 'عرض الصورة'); - define('_NEWS_MI_IMAGE_WIDTH_DESC', 'اختیار عرض الصوري للعرض في الصفحة'); - define('_NEWS_MI_IMAGE_FLOAT', 'محل الصورة'); - define('_NEWS_MI_IMAGE_FLOAT_DESC', 'اختیار محل الصورة یمینا او شمالا للصور المحملة من الوحدات'); - define('_NEWS_MI_IMAGE_LEFT', 'شمال'); - define('_NEWS_MI_IMAGE_RIGHT', 'یمین'); - define('_NEWS_MI_IMAGE_LIGHTBOX', 'استخدامlightbox'); - define('_NEWS_MI_IMAGE_LIGHTBOX_DESC', 'استخدامlightbox ل نمایش الصور'); +define('_NEWS_MI_IMAGE_DIR', 'الطریق الی هذه الصفحة'); +define('_NEWS_MI_IMAGE_DIR_DESC', 'طریق تحمیل الصور للمواضیع . اذا تم تغییر هذا العنوان ، یجب ان تنقل الصور القدیمة الی هذا العنوان للعرض'); +define('_NEWS_MI_IMAGE_SIZE', 'Image file size (in bytes)'); +define('_NEWS_MI_IMAGE_SIZE_DESC', 'Max allowed size for image file (1048576 bytes = 1 MegaByte)'); +define('_NEWS_MI_IMAGE_MAXWIDTH', 'اکثر عرض الصورة'); +define('_NEWS_MI_IMAGE_MAXWIDTH_DESC', 'اکثر عرض للصورة عند التحمیل '); +define('_NEWS_MI_IMAGE_MAXHEIGHT', 'اکثر طول التصویر عند تحمیله'); +define('_NEWS_MI_IMAGE_MAXHEIGHT_DESC', 'اکثر طول الصورة عند التحمیل'); +define('_NEWS_MI_IMAGE_MEDIUMWIDTH', 'Image medium width (pixel)'); +define('_NEWS_MI_IMAGE_MEDIUMWIDTH_DESC', 'Medium allowed width for image resize'); +define('_NEWS_MI_IMAGE_MEDIUMHEIGHT', 'Image medium height (pixel)'); +define('_NEWS_MI_IMAGE_MEDIUMHEIGHT_DESC', 'Medium allowed height for image resize'); +define('_NEWS_MI_IMAGE_THUMBWIDTH', 'Image thumb width (pixel)'); +define('_NEWS_MI_IMAGE_THUMBWIDTH_DESC', 'Thumb allowed width for image resize'); +define('_NEWS_MI_IMAGE_THUMBHEIGHT', 'Image thumb height (pixel)'); +define('_NEWS_MI_IMAGE_THUMBHEIGHT_DESC', 'Thumb allowed height for image resize'); +define('_NEWS_MI_IMAGE_MIME', 'الملحق الختامي المتاح للتحمیل'); +define('_NEWS_MI_IMAGE_MIME_DESC', 'اختر الملحق الختامي المتاح'); +define('_NEWS_MI_IMAGE_WIDTH', 'عرض الصورة'); +define('_NEWS_MI_IMAGE_WIDTH_DESC', 'اختیار عرض الصوري للعرض في الصفحة'); +define('_NEWS_MI_IMAGE_FLOAT', 'محل الصورة'); +define('_NEWS_MI_IMAGE_FLOAT_DESC', 'اختیار محل الصورة یمینا او شمالا للصور المحملة من الوحدات'); +define('_NEWS_MI_IMAGE_LEFT', 'شمال'); +define('_NEWS_MI_IMAGE_RIGHT', 'یمین'); +define('_NEWS_MI_IMAGE_LIGHTBOX', 'استخدامlightbox'); +define('_NEWS_MI_IMAGE_LIGHTBOX_DESC', 'استخدامlightbox ل نمایش الصور'); //social - define('_NEWS_MI_SOCIAL', 'استخدام خیاران الشبکات الإجتماعیة'); - define('_NEWS_MI_SOCIAL_DESC', 'یمکنک استخدامروابط الشبکات الإجتماعیة و بوکمارک في کل صفحة'); - define('_NEWS_MI_BOOKMARK', 'بوکمارک'); - define('_NEWS_MI_SOCIALNETWORM', 'الشبکات الإجتماعیة'); - define('_NEWS_MI_NONE', 'لاشیء'); - define('_NEWS_MI_BOTH', 'کلاهما'); +define('_NEWS_MI_SOCIAL', 'استخدام خیاران الشبکات الإجتماعیة'); +define('_NEWS_MI_SOCIAL_DESC', 'یمکنک استخدامروابط الشبکات الإجتماعیة و بوکمارک في کل صفحة'); +define('_NEWS_MI_BOOKMARK', 'بوکمارک'); +define('_NEWS_MI_SOCIALNETWORM', 'الشبکات الإجتماعیة'); +define('_NEWS_MI_NONE', 'لاشیء'); +define('_NEWS_MI_BOTH', 'کلاهما'); //Multiple Columns - define('_NEWS_MI_MULTIPLE_COLUMNS', 'النص في عدة أعمدة'); - define('_NEWS_MI_MULTIPLE_COLUMNS_DESC', 'اختیار عدد الأعمدة لعرض نص کل وثیقة. هذا الخیار سیستخدم فی النص الأصلي فقط'); - define('_NEWS_MI_MULTIPLE_COLUMNS_1', 'عمود واحد'); - define('_NEWS_MI_MULTIPLE_COLUMNS_2', 'عمودین'); - define('_NEWS_MI_MULTIPLE_COLUMNS_3', 'ثلاثة أعمدة'); - define('_NEWS_MI_MULTIPLE_COLUMNS_4', 'أربعة أعمدة'); +define('_NEWS_MI_MULTIPLE_COLUMNS', 'النص في عدة أعمدة'); +define('_NEWS_MI_MULTIPLE_COLUMNS_DESC', 'اختیار عدد الأعمدة لعرض نص کل وثیقة. هذا الخیار سیستخدم فی النص الأصلي فقط'); +define('_NEWS_MI_MULTIPLE_COLUMNS_1', 'عمود واحد'); +define('_NEWS_MI_MULTIPLE_COLUMNS_2', 'عمودین'); +define('_NEWS_MI_MULTIPLE_COLUMNS_3', 'ثلاثة أعمدة'); +define('_NEWS_MI_MULTIPLE_COLUMNS_4', 'أربعة أعمدة'); // All user posts - define('_NEWS_MI_ALLUSERPOST', 'جمیع مشارکات هذا المستخدم'); - define('_NEWS_MI_ALLUSERPOST_DESC', 'عرض / إخفاء رابط جمیع مشارکات المستخدم في الصفحة'); +define('_NEWS_MI_ALLUSERPOST', 'جمیع مشارکات هذا المستخدم'); +define('_NEWS_MI_ALLUSERPOST_DESC', 'عرض / إخفاء رابط جمیع مشارکات المستخدم في الصفحة'); // regular expression - define('_NEWS_MI_REGULAR_EXPRESSION', 'اسم المستعار تلقائیا نموذج العنوان'); - define('_NEWS_MI_REGULAR_EXPRESSION_DESC', '.استخدام عبارة با قاعده لإنشاء الإسم المستعار التلقائي نموذج العنوان. اذا لم یتم دعم لغتک المستخدم عند انشاء التلقائي للعنوان ، أضف لغتک الی هذا القسم. المفترض دعم اللغات الانجلیزیة و العربیة و الفارسیة : <b>`[^۰-۹a-z0-9إأآضصثقفغعهخحجدطكمنتالبيسشئءؤرﻻىةوزظذ]`u</b>'); - define('_NEWS_MI_REGULAR_EXPRESSION_CONFIG', '`[^۰-۹a-z0-9إأآضصثقفغعهخحجدطكمنتالبيسشئءؤرﻻىةوزظذ]`u'); +define('_NEWS_MI_REGULAR_EXPRESSION', 'اسم المستعار تلقائیا نموذج العنوان'); +define('_NEWS_MI_REGULAR_EXPRESSION_DESC', '.استخدام عبارة با قاعده لإنشاء الإسم المستعار التلقائي نموذج العنوان. اذا لم یتم دعم لغتک المستخدم عند انشاء التلقائي للعنوان ، أضف لغتک الی هذا القسم. المفترض دعم اللغات الانجلیزیة و العربیة و الفارسیة : <b>`[^۰-۹a-z0-9إأآضصثقفغعهخحجدطكمنتالبيسشئءؤرﻻىةوزظذ]`u</b>'); +define('_NEWS_MI_REGULAR_EXPRESSION_CONFIG', '`[^۰-۹a-z0-9إأآضصثقفغعهخحجدطكمنتالبيسشئءؤرﻻىةوزظذ]`u'); // Breadcrumb - define('_NEWS_MI_BREADCRUMB_SHOW', 'عرض ناوبری'); - define('_NEWS_MI_BREADCRUMB_MODNAME', 'عرض اسم الوحدة'); - define('_NEWS_MI_BREADCRUMB_TOHOME', 'عرض رابط الصفحة الرئیسیة'); +define('_NEWS_MI_BREADCRUMB_SHOW', 'عرض ناوبری'); +define('_NEWS_MI_BREADCRUMB_MODNAME', 'عرض اسم الوحدة'); +define('_NEWS_MI_BREADCRUMB_TOHOME', 'عرض رابط الصفحة الرئیسیة'); // Files - define('_NEWS_MI_FILE_DIR', 'طریق تحمیل الملف'); - define('_NEWS_MI_FILE_DIR_DESC', 'طریق تحمیل الملف للمواضیع. اذذا تم تغییر هذا الطریق، یجب ان تنقل اللفات السابقي الی عذا العنوان للعرض'); - define('_NEWS_MI_FILE_SIZE', 'اندا... [truncated message content] |