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: <txm...@us...> - 2012-05-07 18:29:11
|
Revision: 9450 http://xoops.svn.sourceforge.net/xoops/?rev=9450&view=rev Author: txmodxoops Date: 2012-05-07 18:29:00 +0000 (Mon, 07 May 2012) Log Message: ----------- Updated to GUI 2.5 Added Paths: ----------- XoopsModules/imprint/releases/1.02/ XoopsModules/imprint/releases/1.02/imprint/ XoopsModules/imprint/releases/1.02/imprint/admin/ XoopsModules/imprint/releases/1.02/imprint/admin/about.php XoopsModules/imprint/releases/1.02/imprint/admin/admin_footer.php XoopsModules/imprint/releases/1.02/imprint/admin/admin_header.php XoopsModules/imprint/releases/1.02/imprint/admin/imp.php XoopsModules/imprint/releases/1.02/imprint/admin/index.html XoopsModules/imprint/releases/1.02/imprint/admin/index.php XoopsModules/imprint/releases/1.02/imprint/admin/menu.php XoopsModules/imprint/releases/1.02/imprint/blocks/ XoopsModules/imprint/releases/1.02/imprint/blocks/blocks_imp.php XoopsModules/imprint/releases/1.02/imprint/blocks/index.html XoopsModules/imprint/releases/1.02/imprint/class/ XoopsModules/imprint/releases/1.02/imprint/class/imprint_imp.php XoopsModules/imprint/releases/1.02/imprint/class/index.html XoopsModules/imprint/releases/1.02/imprint/css/ XoopsModules/imprint/releases/1.02/imprint/css/index.html XoopsModules/imprint/releases/1.02/imprint/css/style.css XoopsModules/imprint/releases/1.02/imprint/docs/ XoopsModules/imprint/releases/1.02/imprint/docs/changelog.txt XoopsModules/imprint/releases/1.02/imprint/docs/credits.txt XoopsModules/imprint/releases/1.02/imprint/docs/index.html XoopsModules/imprint/releases/1.02/imprint/docs/install.txt XoopsModules/imprint/releases/1.02/imprint/docs/lang_diff.txt XoopsModules/imprint/releases/1.02/imprint/docs/licence.txt XoopsModules/imprint/releases/1.02/imprint/docs/readme.txt XoopsModules/imprint/releases/1.02/imprint/header.php XoopsModules/imprint/releases/1.02/imprint/images/ XoopsModules/imprint/releases/1.02/imprint/images/16/ XoopsModules/imprint/releases/1.02/imprint/images/16/index.html XoopsModules/imprint/releases/1.02/imprint/images/32/ XoopsModules/imprint/releases/1.02/imprint/images/32/index.html XoopsModules/imprint/releases/1.02/imprint/images/bookmarks/ XoopsModules/imprint/releases/1.02/imprint/images/bookmarks/index.html XoopsModules/imprint/releases/1.02/imprint/images/icons/ XoopsModules/imprint/releases/1.02/imprint/images/icons/arrow.gif XoopsModules/imprint/releases/1.02/imprint/images/icons/index.html XoopsModules/imprint/releases/1.02/imprint/images/icons/off.png XoopsModules/imprint/releases/1.02/imprint/images/icons/on.png XoopsModules/imprint/releases/1.02/imprint/images/imprint_slogo.png XoopsModules/imprint/releases/1.02/imprint/images/index.html XoopsModules/imprint/releases/1.02/imprint/images/menu/ XoopsModules/imprint/releases/1.02/imprint/images/menu/bg.png XoopsModules/imprint/releases/1.02/imprint/images/menu/index.html XoopsModules/imprint/releases/1.02/imprint/images/menu/left_both.png XoopsModules/imprint/releases/1.02/imprint/images/menu/right_both.png XoopsModules/imprint/releases/1.02/imprint/images/society_logo.png XoopsModules/imprint/releases/1.02/imprint/images/txmodxoops_logo.png XoopsModules/imprint/releases/1.02/imprint/imp.php XoopsModules/imprint/releases/1.02/imprint/include/ XoopsModules/imprint/releases/1.02/imprint/include/config.php XoopsModules/imprint/releases/1.02/imprint/include/functions.php XoopsModules/imprint/releases/1.02/imprint/include/index.html XoopsModules/imprint/releases/1.02/imprint/include/install.php XoopsModules/imprint/releases/1.02/imprint/index.php XoopsModules/imprint/releases/1.02/imprint/js/ XoopsModules/imprint/releases/1.02/imprint/js/index.html XoopsModules/imprint/releases/1.02/imprint/js/script.js XoopsModules/imprint/releases/1.02/imprint/language/ XoopsModules/imprint/releases/1.02/imprint/language/english/ XoopsModules/imprint/releases/1.02/imprint/language/english/admin.php XoopsModules/imprint/releases/1.02/imprint/language/english/blocks.php XoopsModules/imprint/releases/1.02/imprint/language/english/help/ XoopsModules/imprint/releases/1.02/imprint/language/english/help/help.html XoopsModules/imprint/releases/1.02/imprint/language/english/help/index.html XoopsModules/imprint/releases/1.02/imprint/language/english/index.html XoopsModules/imprint/releases/1.02/imprint/language/english/main.php XoopsModules/imprint/releases/1.02/imprint/language/english/modinfo.php XoopsModules/imprint/releases/1.02/imprint/language/index.html XoopsModules/imprint/releases/1.02/imprint/sql/ XoopsModules/imprint/releases/1.02/imprint/sql/index.html XoopsModules/imprint/releases/1.02/imprint/sql/mysql.sql XoopsModules/imprint/releases/1.02/imprint/templates/ XoopsModules/imprint/releases/1.02/imprint/templates/admin/ XoopsModules/imprint/releases/1.02/imprint/templates/admin/index.html XoopsModules/imprint/releases/1.02/imprint/templates/blocks/ XoopsModules/imprint/releases/1.02/imprint/templates/blocks/imprint_imp_block_day.html XoopsModules/imprint/releases/1.02/imprint/templates/blocks/imprint_imp_block_random.html XoopsModules/imprint/releases/1.02/imprint/templates/blocks/imprint_imp_block_recent.html XoopsModules/imprint/releases/1.02/imprint/templates/blocks/index.html XoopsModules/imprint/releases/1.02/imprint/templates/imprint_footer.html XoopsModules/imprint/releases/1.02/imprint/templates/imprint_header.html XoopsModules/imprint/releases/1.02/imprint/templates/imprint_imp.html XoopsModules/imprint/releases/1.02/imprint/templates/imprint_index.html XoopsModules/imprint/releases/1.02/imprint/templates/index.html XoopsModules/imprint/releases/1.02/imprint/xoops_version.php Added: XoopsModules/imprint/releases/1.02/imprint/admin/about.php =================================================================== --- XoopsModules/imprint/releases/1.02/imprint/admin/about.php (rev 0) +++ XoopsModules/imprint/releases/1.02/imprint/admin/about.php 2012-05-07 18:29:00 UTC (rev 9450) @@ -0,0 +1,34 @@ +<?php +/** + * **************************************************************************** + * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) + * **************************************************************************** + * IMPRINT - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (Timgno) ( 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. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright TXMod Xoops (Timgno) ( http://www.txmodxoops.org ) + * @license GNU GPL see License + * @package imprint + * @author TXMod Xoops (Timgno) ( su...@tx... ) + * + * Version : 1.02 Mon 2012/05/07 15:11:04 : Timgno Exp $ + * **************************************************************************** + */ + +include "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/imprint/releases/1.02/imprint/admin/admin_footer.php =================================================================== --- XoopsModules/imprint/releases/1.02/imprint/admin/admin_footer.php (rev 0) +++ XoopsModules/imprint/releases/1.02/imprint/admin/admin_footer.php 2012-05-07 18:29:00 UTC (rev 9450) @@ -0,0 +1,35 @@ +<?php +/** + * **************************************************************************** + * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) + * **************************************************************************** + * IMPRINT - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (Timgno) ( 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. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright TXMod Xoops (Timgno) ( http://www.txmodxoops.org ) + * @license GNU GPL see License + * @package imprint + * @author TXMod Xoops (Timgno) ( su...@tx... ) + * + * Version : 1.02 Mon 2012/05/07 15:11:04 : 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 small italic pad5'> + <strong>" . $xoopsModule->getVar('name') . "</strong> "._AM_IMPRINT_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/imprint/releases/1.02/imprint/admin/admin_header.php =================================================================== --- XoopsModules/imprint/releases/1.02/imprint/admin/admin_header.php (rev 0) +++ XoopsModules/imprint/releases/1.02/imprint/admin/admin_header.php 2012-05-07 18:29:00 UTC (rev 9450) @@ -0,0 +1,86 @@ +<?php +/** + * **************************************************************************** + * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) + * **************************************************************************** + * IMPRINT - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (Timgno) ( 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. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright TXMod Xoops (Timgno) ( http://www.txmodxoops.org ) + * @license GNU GPL see License + * @package imprint + * @author TXMod Xoops (Timgno) ( su...@tx... ) + * + * Version : 1.02 Mon 2012/05/07 15:11:04 : Timgno Exp $ + * **************************************************************************** + */ + +include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; +include_once XOOPS_ROOT_PATH . '/include/cp_header.php'; +include_once '../include/config.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_IMPRINT_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'); + +$impHandler=& xoops_getModuleHandler('imprint_imp', $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/imprint/releases/1.02/imprint/admin/imp.php =================================================================== --- XoopsModules/imprint/releases/1.02/imprint/admin/imp.php (rev 0) +++ XoopsModules/imprint/releases/1.02/imprint/admin/imp.php 2012-05-07 18:29:00 UTC (rev 9450) @@ -0,0 +1,243 @@ +<?php +/** + * **************************************************************************** + * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) + * **************************************************************************** + * IMPRINT - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (Timgno) ( 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. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright TXMod Xoops (Timgno) ( http://www.txmodxoops.org ) + * @license GNU GPL see License + * @package imprint + * @author TXMod Xoops (Timgno) ( su...@tx... ) + * + * Version : 1.02 Mon 2012/05/07 15:11:04 : Timgno Exp $ + * **************************************************************************** + */ + +include "admin_header.php"; +xoops_cp_header(); +global $pathImageIcon; +// We recovered the value of the argument op in the URL$ +$op = imprint_CleanVars($_REQUEST, 'op', 'list', 'string'); + +$impAdmin = new ModuleAdmin(); +switch ($op) +{ + case "list": + default: + echo $impAdmin->addNavigation('imp.php'); + $impAdmin->addItemButton(_AM_IMPRINT_NEWIMP, 'imp.php?op=new_imp', 'add'); + echo $impAdmin->renderButton(); + $limit = $GLOBALS['xoopsModuleConfig']['adminperpage']; + $criteria = new CriteriaCompo(); + $criteria->setSort("imp_id ASC, imp_title"); + $criteria->setOrder("ASC"); + $numrows = $impHandler->getCount(); + $start = imprint_CleanVars ( $_REQUEST, 'start', 0, 'int' ); + $criteria->setStart($start); + $criteria->setLimit($limit); + $imp_arr = $impHandler->getall($criteria); + if ( $numrows > $limit ) { + include_once XOOPS_ROOT_PATH . "/class/pagenav.php"; + $pagenav = new XoopsPageNav($numrows, $limit, $start, 'start', 'op=list'); + $pagenav = $pagenav->renderNav(4); + } else { + $pagenav = ''; + } + + // View Table + if ($numrows>0) + { + echo "<table class='outer width100' cellspacing='1'> + <tr> + <th class='center width2'>"._AM_IMPRINT_IMP_ID."</th> + <th class='center'>"._AM_IMPRINT_IMP_TITLE."</th> + <th class='center'>"._AM_IMPRINT_IMP_NAME."</th> + <th class='center'>"._AM_IMPRINT_IMP_ADDRESS."</th> + <th class='center'>"._AM_IMPRINT_IMP_POSTALCODE."</th> + <th class='center'>"._AM_IMPRINT_IMP_CITY."</th> + <th class='center'>"._AM_IMPRINT_IMP_PHONE."</th> + <th class='center'>"._AM_IMPRINT_IMP_FAX."</th> + <th class='center'>"._AM_IMPRINT_IMP_SUBMITTER."</th> + <th class='center'>"._AM_IMPRINT_IMP_CREATED."</th> + <th class='center'>"._AM_IMPRINT_IMP_ONLINE."</th> + <th class='center width5'>"._AM_IMPRINT_FORMACTION."</th> + </tr>"; + + $class = "odd"; + foreach (array_keys($imp_arr) as $i) + { + echo "<tr class='".$class."'>"; + $class = ($class == "even") ? "odd" : "even"; + echo "<td class='center'>".$i."</td>"; + echo "<td class='center'>".$imp_arr[$i]->getVar("imp_title")."</td>"; + echo "<td class='center'>".$imp_arr[$i]->getVar("imp_name")."</td>"; + echo "<td class='center'>".$imp_arr[$i]->getVar("imp_address")."</td>"; + echo "<td class='center'>".$imp_arr[$i]->getVar("imp_postalcode")."</td>"; + echo "<td class='center'>".$imp_arr[$i]->getVar("imp_city")."</td>"; + echo "<td class='center'>".$imp_arr[$i]->getVar("imp_phone")."</td>"; + echo "<td class='center'>".$imp_arr[$i]->getVar("imp_fax")."</td>"; + echo "<td class='center'>".XoopsUser::getUnameFromId($imp_arr[$i]->getVar("imp_submitter"),"S")."</td>"; + echo "<td class='center'>".formatTimeStamp($imp_arr[$i]->getVar("imp_created"),"S")."</td>"; + + if( $imp_arr[$i]->getVar("imp_online") == 1 ) { + echo "<td align='center'><a href='./imp.php?op=update_online_imp&imp_id=".$imp_arr[$i]->getVar("imp_id")."&imp_online=0'><img src='".$pathImageIcon."/on.png' border='0' alt='"._AM_IMPRINT_ON."' title='"._AM_IMPRINT_ON."'></a></td>"; + } else { + echo "<td align='center'><a href='./imp.php?op=update_online_imp&imp_id=".$imp_arr[$i]->getVar("imp_id")."&imp_online=1'><img src='".$pathImageIcon."/off.png' border='0' alt='"._AM_IMPRINT_OFF."' title='"._AM_IMPRINT_OFF."'></a></td>"; + } + + echo "<td class='center width5'> + <a href='imp.php?op=edit_imp&imp_id=".$i."'><img src='".$pathImageIcon."/edit.png' alt='"._EDIT."' title='"._EDIT."'></a> + <a href='imp.php?op=delete_imp&imp_id=".$i."'><img src='".$pathImageIcon."/delete.png' alt='"._DELETE."' title='"._DELETE."'></a> + </td>"; + echo "</tr>"; + } + echo "</table><br /><br />"; + echo "<br /><div class='center'>" . $pagenav . "</div><br />"; + } else { + echo "<table class='outer width100' cellspacing='1'> + <tr> + <th class='center width2'>"._AM_IMPRINT_IMP_ID."</th> + <th class='center'>"._AM_IMPRINT_IMP_TITLE."</th> + <th class='center'>"._AM_IMPRINT_IMP_NAME."</th> + <th class='center'>"._AM_IMPRINT_IMP_ADDRESS."</th> + <th class='center'>"._AM_IMPRINT_IMP_POSTALCODE."</th> + <th class='center'>"._AM_IMPRINT_IMP_CITY."</th> + <th class='center'>"._AM_IMPRINT_IMP_PHONE."</th> + <th class='center'>"._AM_IMPRINT_IMP_FAX."</th> + <th class='center'>"._AM_IMPRINT_IMP_SUBMITTER."</th> + <th class='center'>"._AM_IMPRINT_IMP_CREATED."</th> + <th class='center'>"._AM_IMPRINT_IMP_ONLINE."</th> + <th class='center width5'>"._AM_IMPRINT_FORMACTION."</th> + </tr>"; + echo "</table><br /><br />"; + } + + break; + + case "new_imp": + echo $impAdmin->addNavigation("imp.php"); + $impAdmin->addItemButton(_AM_IMPRINT_IMPLIST, 'imp.php?op=list', 'list'); + echo $impAdmin->renderButton(); + + $obj =& $impHandler->create(); + $form = $obj->getForm(); + $form->display(); + break; + + case "save_imp": + if ( !$GLOBALS["xoopsSecurity"]->check() ) { + redirect_header("imp.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); + } + if (isset($_REQUEST["imp_id"])) { + $obj =& $impHandler->get($_REQUEST["imp_id"]); + } else { + $obj =& $impHandler->create(); + } + + //Form imp_title + $obj->setVar("imp_title", $_REQUEST["imp_title"]); + //Form imp_name + $obj->setVar("imp_name", $_REQUEST["imp_name"]); + //Form imp_address + $obj->setVar("imp_address", $_REQUEST["imp_address"]); + //Form imp_postalcode + $obj->setVar("imp_postalcode", $_REQUEST["imp_postalcode"]); + //Form imp_city + $obj->setVar("imp_city", $_REQUEST["imp_city"]); + //Form imp_phone + $obj->setVar("imp_phone", $_REQUEST["imp_phone"]); + //Form imp_fax + $obj->setVar("imp_fax", $_REQUEST["imp_fax"]); + //Form imp_email + $obj->setVar("imp_email", $_REQUEST["imp_email"]); + //Form imp_image + include_once XOOPS_ROOT_PATH."/class/uploader.php"; + $uploaddir = XOOPS_UPLOAD_PATH."/imprint/images/"; + $uploader = new XoopsMediaUploader($uploaddir, $GLOBALS['xoopsModuleConfig']['mimetypes'], + $GLOBALS['xoopsModuleConfig']['maxsize'], null, null); + if ($uploader->fetchMedia($_POST['xoops_upload_file'][0])) { + $uploader->setPrefix("imp_image_") ; + $uploader->fetchMedia($_POST['xoops_upload_file'][0]); + if (!$uploader->upload()) { + $errors = $uploader->getErrors(); + redirect_header("javascript:history.go(-1)",3, $errors); + } else { + $obj->setVar("imp_image", $uploader->getSavedFileName()); + } + } else { + $obj->setVar("imp_image", $_REQUEST["imp_image"]); + } + //Form imp_title_desclaimer + $obj->setVar("imp_title_desclaimer", $_REQUEST["imp_title_desclaimer"]); + //Form imp_disclaimer + $obj->setVar("imp_disclaimer", $_REQUEST["imp_disclaimer"]); + //Form imp_submitter + $obj->setVar("imp_submitter", $_REQUEST["imp_submitter"]); + //Form imp_created + $obj->setVar("imp_created", imprint_convertDate($_REQUEST["imp_created"])); + //Form imp_online + $verif_imp_online = ($_REQUEST["imp_online"] == 1) ? "1" : "0"; + $obj->setVar("imp_online", $verif_imp_online); + + if ($impHandler->insert($obj)) { + redirect_header("imp.php?op=list", 2, _AM_IMPRINT_FORMOK); + } + + echo $obj->getHtmlErrors(); + $form =& $obj->getForm(); + $form->display(); + break; + + case "edit_imp": + echo $impAdmin->addNavigation("imp.php"); + $impAdmin->addItemButton(_AM_IMPRINT_NEWIMP, 'imp.php?op=new_imp', 'add'); + $impAdmin->addItemButton(_AM_IMPRINT_IMPLIST, 'imp.php?op=list', 'list'); + echo $impAdmin->renderButton(); + $obj = $impHandler->get($_REQUEST["imp_id"]); + $form = $obj->getForm(); + $form->display(); + break; + + case "delete_imp": + $obj =& $impHandler->get($_REQUEST["imp_id"]); + if (isset($_REQUEST["ok"]) && $_REQUEST["ok"] == 1) { + if ( !$GLOBALS["xoopsSecurity"]->check() ) { + redirect_header("imp.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); + } + if ($impHandler->delete($obj)) { + redirect_header("imp.php", 3, _AM_IMPRINT_FORMDELOK); + } else { + echo $obj->getHtmlErrors(); + } + } else { + xoops_confirm(array("ok" => 1, "imp_id" => $_REQUEST["imp_id"], "op" => "delete_imp"), $_SERVER["REQUEST_URI"], sprintf(_AM_IMPRINT_FORMSUREDEL, $obj->getVar("imp_title"))); + } + break; + + case "update_online_imp": + if (isset($_REQUEST["imp_id"])) { + $obj =& $impHandler->get($_REQUEST["imp_id"]); + } + $obj->setVar("imp_online", $_REQUEST["imp_online"]); + + if ($impHandler->insert($obj)) { + redirect_header("imp.php", 3, _AM_IMPRINT_FORMOK); + } + echo $obj->getHtmlErrors(); + break; +} +include "admin_footer.php"; +?> \ No newline at end of file Added: XoopsModules/imprint/releases/1.02/imprint/admin/index.html =================================================================== --- XoopsModules/imprint/releases/1.02/imprint/admin/index.html (rev 0) +++ XoopsModules/imprint/releases/1.02/imprint/admin/index.html 2012-05-07 18:29:00 UTC (rev 9450) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/imprint/releases/1.02/imprint/admin/index.php =================================================================== --- XoopsModules/imprint/releases/1.02/imprint/admin/index.php (rev 0) +++ XoopsModules/imprint/releases/1.02/imprint/admin/index.php 2012-05-07 18:29:00 UTC (rev 9450) @@ -0,0 +1,53 @@ +<?php +/** + * **************************************************************************** + * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) + * **************************************************************************** + * IMPRINT - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (Timgno) ( 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. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright TXMod Xoops (Timgno) ( http://www.txmodxoops.org ) + * @license GNU GPL see License + * @package imprint + * @author TXMod Xoops (Timgno) ( su...@tx... ) + * + * Version : 1.02 Mon 2012/05/07 15:11:04 : Timgno Exp $ + * **************************************************************************** + */ + +include "admin_header.php"; +xoops_cp_header(); + $indexAdmin = new ModuleAdmin(); + //count "total" + $count_imp = $impHandler->getCount(); + //count "online" + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria("imp_online", 1)); + $imp_online = $impHandler->getCount($criteria); + $criteria->add(new Criteria("imp_pending", 1)); + $imp_pending = $impHandler->getCount($criteria); + unset($criteria); + + $r = '#FF0000'; // Red + $g = '#00AA00'; // Green + + $indexAdmin->addInfoBox(_AM_IMPRINT_IMP); + $indexAdmin->addInfoBoxLine(_AM_IMPRINT_IMP,_AM_IMPRINT_THEREARE_IMP, $count_imp, ($count_imp == 0) ? $r : $g); + $indexAdmin->addInfoBoxLine(_AM_IMPRINT_IMP,_AM_IMPRINT_THEREARE_IMP_ONLINE, $imp_online, ($count_imp == 0) ? $r : $g); + $indexAdmin->addInfoBoxLine(_AM_IMPRINT_IMP,_AM_IMPRINT_THEREARE_IMP_PENDING, $imp_pending, ($count_imp == 0) ? $r : $g); + + echo $indexAdmin->addNavigation("index.php") ; + echo $indexAdmin->renderIndex(); +include "admin_footer.php"; +?> \ No newline at end of file Added: XoopsModules/imprint/releases/1.02/imprint/admin/menu.php =================================================================== --- XoopsModules/imprint/releases/1.02/imprint/admin/menu.php (rev 0) +++ XoopsModules/imprint/releases/1.02/imprint/admin/menu.php 2012-05-07 18:29:00 UTC (rev 9450) @@ -0,0 +1,49 @@ +<?php +/** + * **************************************************************************** + * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) + * **************************************************************************** + * IMPRINT - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (Timgno) ( 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. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright TXMod Xoops (Timgno) ( http://www.txmodxoops.org ) + * @license GNU GPL see License + * @package imprint + * @author TXMod Xoops (Timgno) ( su...@tx... ) + * + * Version : 1.02 Mon 2012/05/07 15:11:04 : 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_IMPRINT_ADMENU1; +$adminmenu[$i]["link"] = "admin/index.php"; +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/home.png"; +$i++; +$adminmenu[$i]["title"] = _MI_IMPRINT_ADMENU2; +$adminmenu[$i]["link"] = "admin/imp.php"; +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/identity.png"; +$i++; +$adminmenu[$i]["title"] = _MI_IMPRINT_ADMENU3; +$adminmenu[$i]["link"] = "admin/about.php"; +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/about.png"; +unset( $i ); +?> \ No newline at end of file Added: XoopsModules/imprint/releases/1.02/imprint/blocks/blocks_imp.php =================================================================== --- XoopsModules/imprint/releases/1.02/imprint/blocks/blocks_imp.php (rev 0) +++ XoopsModules/imprint/releases/1.02/imprint/blocks/blocks_imp.php 2012-05-07 18:29:00 UTC (rev 9450) @@ -0,0 +1,99 @@ +<?php +/** + * **************************************************************************** + * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) + * **************************************************************************** + * IMPRINT - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (Timgno) ( 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. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright TXMod Xoops (Timgno) ( http://www.txmodxoops.org ) + * @license GNU GPL see License + * @package imprint + * @author TXMod Xoops (Timgno) ( su...@tx... ) + * + * Version : 1.02 Mon 2012/05/07 15:11:04 : Timgno Exp $ + * **************************************************************************** + */ + +include_once XOOPS_ROOT_PATH."/modules/imprint/include/functions.php"; + +function b_imprint_imp($options) { +include_once XOOPS_ROOT_PATH."/modules/imprint/class/imp.php"; +$myts =& MyTextSanitizer::getInstance(); + +$imp = array(); +$type_block = $options[0]; +$nb_imp = $options[1]; +$lenght_title = $options[2]; + +$impHandler =& xoops_getModuleHandler("imprint_imp", "imprint"); +$criteria = new CriteriaCompo(); +array_shift($options); +array_shift($options); +array_shift($options); + +switch ($type_block) +{ + // For the block: imp recents + case "recent": + $criteria->add(new Criteria("imp_online", 1)); + $criteria->setSort("imp_created"); + $criteria->setOrder("DESC"); + break; + // For the block: imp of today + case "day": + $criteria->add(new Criteria("imp_online", 1)); + $criteria->add(new Criteria("imp_created", strtotime(date("Y/m/d")), ">=")); + $criteria->add(new Criteria("imp_created", strtotime(date("Y/m/d"))+86400, "<=")); + $criteria->setSort("imp_created"); + $criteria->setOrder("ASC"); + break; + // For the block: imp random + case "random": + $criteria->add(new Criteria("imp_online", 1)); + $criteria->setSort("RAND()"); + break; +} + +$criteria->setLimit($nb_imp); +$imp_arr = $impHandler->getall($criteria); + foreach (array_keys($imp_arr) as $i) + { + $imp[$i]["imp_id"] = $imp_arr[$i]->getVar("imp_id"); + $imp[$i]["imp_submitter"] = $imp_arr[$i]->getVar("imp_submitter"); + $imp[$i]["imp_created"] = $imp_arr[$i]->getVar("imp_created"); + $imp[$i]["imp_online"] = $imp_arr[$i]->getVar("imp_online"); + + } +return $imp; +} + +function b_imprint_imp_edit($options) { + $form = ""._MB_IMPRINT_IMP_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_IMPRINT_IMP_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_IMPRINT_IMP_CATTODISPLAY."<br /><select name=\"options[]\" multiple=\"multiple\" size=\"5\">"; + $form .= "<option value=\"0\" " . (array_search(0, $options) === false ? "" : "selected=\"selected\"") . ">" ._MB_IMPRINT_IMP_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/imprint/releases/1.02/imprint/blocks/index.html =================================================================== --- XoopsModules/imprint/releases/1.02/imprint/blocks/index.html (rev 0) +++ XoopsModules/imprint/releases/1.02/imprint/blocks/index.html 2012-05-07 18:29:00 UTC (rev 9450) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/imprint/releases/1.02/imprint/class/imprint_imp.php =================================================================== --- XoopsModules/imprint/releases/1.02/imprint/class/imprint_imp.php (rev 0) +++ XoopsModules/imprint/releases/1.02/imprint/class/imprint_imp.php 2012-05-07 18:29:00 UTC (rev 9450) @@ -0,0 +1,142 @@ +<?php +/** + * **************************************************************************** + * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) + * **************************************************************************** + * IMPRINT - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (Timgno) ( 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. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright TXMod Xoops (Timgno) ( http://www.txmodxoops.org ) + * @license GNU GPL see License + * @package imprint + * @author TXMod Xoops (Timgno) ( su...@tx... ) + * + * Version : 1.02 Mon 2012/05/07 15:11:04 : Timgno Exp $ + * **************************************************************************** + */ + +if (!defined("XOOPS_ROOT_PATH")) { + die("XOOPS root path not defined"); +} + +class imprint_imp extends XoopsObject +{ + //Constructor + function __construct() + { + $this->XoopsObject(); + $this->initVar("imp_id", XOBJ_DTYPE_INT, null, false, 8); + $this->initVar("imp_title", XOBJ_DTYPE_TXTBOX, null, false, 255); + $this->initVar("imp_name", XOBJ_DTYPE_TXTBOX, null, false, 155); + $this->initVar("imp_address", XOBJ_DTYPE_TXTBOX, null, false, 255); + $this->initVar("imp_postalcode", XOBJ_DTYPE_TXTBOX, null, false, 30); + $this->initVar("imp_city", XOBJ_DTYPE_TXTBOX, null, false, 155); + $this->initVar("imp_phone", XOBJ_DTYPE_INT, null, false, 50); + $this->initVar("imp_fax", XOBJ_DTYPE_INT, null, false, 50); + $this->initVar("imp_email", XOBJ_DTYPE_TXTBOX, null, false, 100); + $this->initVar("imp_image", XOBJ_DTYPE_TXTBOX, null, false, 155); + $this->initVar("imp_title_desclaimer", XOBJ_DTYPE_TXTBOX, null, false, 155); + $this->initVar("imp_disclaimer", XOBJ_DTYPE_TXTAREA, null, false); + $this->initVar("imp_submitter", XOBJ_DTYPE_INT, null, false, 10); + $this->initVar("imp_created", XOBJ_DTYPE_INT, null, false, 10); + $this->initVar("imp_online", XOBJ_DTYPE_INT, null, false, 1); + } + + function imprint_imp() + { + $this->__construct(); + } + + function getForm($action = false) + { + global $xoopsDB, $xoopsModuleConfig; + + if ($action === false) { + $action = $_SERVER["REQUEST_URI"]; + } + + $title = $this->isNew() ? sprintf(_AM_IMPRINT_IMP_ADD) : sprintf(_AM_IMPRINT_IMP_EDIT); + + include_once(XOOPS_ROOT_PATH."/class/xoopsformloader.php"); + $form = new XoopsThemeForm($title, "form", $action, "post", true); + $form->setExtra('enctype="multipart/form-data"'); + + $form->addElement(new XoopsFormText(_AM_IMPRINT_IMP_TITLE, "imp_title", 50, 255, $this->getVar("imp_title")), true); + + $form->addElement(new XoopsFormText(_AM_IMPRINT_IMP_NAME, "imp_name", 50, 255, $this->getVar("imp_name")), true); + + $form->addElement(new XoopsFormText(_AM_IMPRINT_IMP_ADDRESS, "imp_address", 50, 255, $this->getVar("imp_address")), true); + + $form->addElement(new XoopsFormText(_AM_IMPRINT_IMP_POSTALCODE, "imp_postalcode", 50, 255, $this->getVar("imp_postalcode")), true); + + $form->addElement(new XoopsFormText(_AM_IMPRINT_IMP_CITY, "imp_city", 50, 255, $this->getVar("imp_city")), true); + + $form->addElement(new XoopsFormText(_AM_IMPRINT_IMP_PHONE, "imp_phone", 50, 255, $this->getVar("imp_phone")), true); + + $form->addElement(new XoopsFormText(_AM_IMPRINT_IMP_FAX, "imp_fax", 50, 255, $this->getVar("imp_fax")), true); + + $form->addElement(new XoopsFormText(_AM_IMPRINT_IMP_EMAIL, "imp_email", 50, 255, $this->getVar("imp_email")), true); + + $imp_image = $this->getVar("imp_image") ? $this->getVar("imp_image") : 'blank.gif'; + + $uploadirectory = '/uploads/imprint/images'; + $imgtray = new XoopsFormElementTray(_AM_IMPRINT_IMP_IMAGE,'<br />'); + $imgpath = sprintf(_AM_IMPRINT_FORMIMAGE_PATH, ".".$uploadirectory."/"); + $imageselect = new XoopsFormSelect($imgpath, 'imp_image', $imp_image); + $image_array = XoopsLists :: getImgListAsArray( XOOPS_ROOT_PATH.$uploadirectory ); + foreach( $image_array as $image ) { + $imageselect->addOption("$image", $image); + } + $imageselect->setExtra( "onchange='showImgSelected(\"image1\", \"imp_image\", \"".$uploadirectory."\", \"\", \"".XOOPS_URL."\")'" ); + $imgtray->addElement($imageselect, false); + $imgtray->addElement( new XoopsFormLabel( '', "<br /><img src='".XOOPS_URL."/".$uploadirectory."/".$imp_image."' name='image1' id='image1' alt='' />" ) ); + $fileseltray = new XoopsFormElementTray('','<br />'); + $fileseltray->addElement(new XoopsFormFile(_AM_IMPRINT_FORMUPLOAD , "imp_image", $GLOBALS['xoopsModuleConfig']['maxsize']),false); + $fileseltray->addElement(new XoopsFormLabel(''), false); + $imgtray->addElement($fileseltray); + $form->addElement($imgtray); + + $form->addElement(new XoopsFormText(_AM_IMPRINT_IMP_TITLE_DESCLAIMER, "imp_title_desclaimer", 50, 255, $this->getVar("imp_title_desclaimer")), true); + + $editor_configs=array(); + $editor_configs["name"] ="imp_disclaimer"; + $editor_configs["value"] = $this->getVar("imp_disclaimer", "e"); + $editor_configs["rows"] = 10; + $editor_configs["cols"] = 80; + $editor_configs["width"] = "100%"; + $editor_configs["height"] = "400px"; + $editor_configs["editor"] = $GLOBALS["xoopsModuleConfig"]["imprint_editor"]; + $form->addElement( new XoopsFormEditor(_AM_IMPRINT_IMP_DISCLAIMER, "imp_disclaimer", $editor_configs), true ); + + $form->addElement(new XoopsFormSelectUser(_AM_IMPRINT_IMP_SUBMITTER, "imp_submitter", false, $this->getVar("imp_submitter"), 1, false), true); + $form->addElement(new XoopsFormTextDateSelect(_AM_IMPRINT_IMP_CREATED, "imp_created", "", $this->getVar("imp_created"))); + + $imp_online = $this->isNew() ? 0 : $this->getVar("imp_online"); + $check_imp_online = new XoopsFormCheckBox(_AM_IMPRINT_IMP_ONLINE, "imp_online", $imp_online); + $check_imp_online->addOption(1, " "); + $form->addElement($check_imp_online); + + $form->addElement(new XoopsFormHidden("op", "save_imp")); + $form->addElement(new XoopsFormButton("", "submit", _SUBMIT, "submit")); + return $form; + } +} +class imprintimprint_impHandler extends XoopsPersistableObjectHandler +{ + function __construct(&$db) + { + parent::__construct($db, "imprint_imp", "imprint_imp", "imp_id", "imp_title"); + } +} +?> \ No newline at end of file Added: XoopsModules/imprint/releases/1.02/imprint/class/index.html =================================================================== --- XoopsModules/imprint/releases/1.02/imprint/class/index.html (rev 0) +++ XoopsModules/imprint/releases/1.02/imprint/class/index.html 2012-05-07 18:29:00 UTC (rev 9450) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/imprint/releases/1.02/imprint/css/index.html =================================================================== --- XoopsModules/imprint/releases/1.02/imprint/css/index.html (rev 0) +++ XoopsModules/imprint/releases/1.02/imprint/css/index.html 2012-05-07 18:29:00 UTC (rev 9450) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/imprint/releases/1.02/imprint/css/style.css =================================================================== --- XoopsModules/imprint/releases/1.02/imprint/css/style.css (rev 0) +++ XoopsModules/imprint/releases/1.02/imprint/css/style.css 2012-05-07 18:29:00 UTC (rev 9450) @@ -0,0 +1,36 @@ +@charset "UTF-8"; +/** + * **************************************************************************** + * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) + * **************************************************************************** + * IMPRINT - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (Timgno) ( 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. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright TXMod Xoops (Timgno) ( http://www.txmodxoops.org ) + * @license GNU GPL see License + * @package imprint + * @author TXMod Xoops (Timgno) ( su...@tx... ) + * + * Version : 1.02 Mon 2012/05/07 15:11:04 : Timgno Exp $ + * **************************************************************************** + */ + + +.box-header { + margin: 2px; + padding: 5px; + background-color: #ccc; + width: 100%; + height: 50px; +} Added: XoopsModules/imprint/releases/1.02/imprint/docs/changelog.txt =================================================================== --- XoopsModules/imprint/releases/1.02/imprint/docs/changelog.txt (rev 0) +++ XoopsModules/imprint/releases/1.02/imprint/docs/changelog.txt 2012-05-07 18:29:00 UTC (rev 9450) @@ -0,0 +1,10 @@ + +==================================== + 2012/05/07 15:11:04 Version 1.02 +==================================== + - Added admin GUI 2.5 (TXMod Xoops (Timgno)) + +==================================== + 2011/02/01 10:14:08 Version 1.01 +==================================== + - Original release imprint (TXMod Xoops (Timgno)) Added: XoopsModules/imprint/releases/1.02/imprint/docs/credits.txt =================================================================== --- XoopsModules/imprint/releases/1.02/imprint/docs/credits.txt (rev 0) +++ XoopsModules/imprint/releases/1.02/imprint/docs/credits.txt 2012-05-07 18:29:00 UTC (rev 9450) @@ -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/imprint/releases/1.02/imprint/docs/index.html =================================================================== --- XoopsModules/imprint/releases/1.02/imprint/docs/index.html (rev 0) +++ XoopsModules/imprint/releases/1.02/imprint/docs/index.html 2012-05-07 18:29:00 UTC (rev 9450) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/imprint/releases/1.02/imprint/docs/install.txt =================================================================== --- XoopsModules/imprint/releases/1.02/imprint/docs/install.txt (rev 0) +++ XoopsModules/imprint/releases/1.02/imprint/docs/install.txt 2012-05-07 18:29:00 UTC (rev 9450) @@ -0,0 +1,3 @@ +Read Me First +============= +Install this module usually in system/modules \ No newline at end of file Added: XoopsModules/imprint/releases/1.02/imprint/docs/lang_diff.txt =================================================================== --- XoopsModules/imprint/releases/1.02/imprint/docs/lang_diff.txt (rev 0) +++ XoopsModules/imprint/releases/1.02/imprint/docs/lang_diff.txt 2012-05-07 18:29:00 UTC (rev 9450) @@ -0,0 +1,3 @@ +Read Me First +============= +There aren't difference of language between v1.37 and v1.38 \ No newline at end of file Added: XoopsModules/imprint/releases/1.02/imprint/docs/licence.txt =================================================================== --- XoopsModules/imprint/releases/1.02/imprint/docs/licence.txt (rev 0) +++ XoopsModules/imprint/releases/1.02/imprint/docs/licence.txt 2012-05-07 18:29:00 UTC (rev 9450) @@ -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,... [truncated message content] |
From: <dj...@us...> - 2012-05-07 14:12:24
|
Revision: 9449 http://xoops.svn.sourceforge.net/xoops/?rev=9449&view=rev Author: djculex Date: 2012-05-07 14:12:13 +0000 (Mon, 07 May 2012) Log Message: ----------- Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/language/russian/main.php Modified: XoopsModules/smallworld/trunk/smallworld/language/russian/main.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/russian/main.php 2012-05-07 09:51:57 UTC (rev 9448) +++ XoopsModules/smallworld/trunk/smallworld/language/russian/main.php 2012-05-07 14:12:13 UTC (rev 9449) @@ -74,7 +74,7 @@ define("_SMALLWORLD_TOTALUSERRATINGS","Общий рейтинг"); define("_SMALLWORLD_LASTLOGIN","Дата последнего посещения"); define("_SMALLWORLD_SIGNATURE","Подпись"); -define("_SMALLWORLD_REPLY_NOTSPECIFIED","Не указано"); +define("_SMALLWORLD_REPLY_NOTSPECIFIYED","Не указано"); define("_SMALLWORLD_BIRTHDAY","Дата рождения"); define("_SMALLWORLD_AKA","aka"); define("_SMALLWORLD_BORN","родился"); @@ -111,7 +111,7 @@ define("_SMALLWORLD_LATER","Позже"); define("_SMALLWORLD_ACTION","Действие"); define("_SMALLWORLD_UPDATEID_NOT_EXIST","Сообщение не существует. Возврат."); -define("_SMALLWORLD_NOUSER_ERROR","No such user found. Taking you back to index page"); +define("_SMALLWORLD_NOUSER_ERROR","Пользователь не существует. Возврат."); /* ------------- Registerform ---------------------- */ @@ -378,4 +378,4 @@ /* ----------------- donate link -------------- */ define("_SMALLWORLD_DONATETEXT"," Пожертвования на кофе здесь "); -?> +?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-05-07 09:52:03
|
Revision: 9448 http://xoops.svn.sourceforge.net/xoops/?rev=9448&view=rev Author: djculex Date: 2012-05-07 09:51:57 +0000 (Mon, 07 May 2012) Log Message: ----------- - Bugfix: removed expired bookmarks from jquery.bookmark.js (cesag) Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/js/jquery.bookmark.js Modified: XoopsModules/smallworld/trunk/smallworld/js/jquery.bookmark.js =================================================================== --- XoopsModules/smallworld/trunk/smallworld/js/jquery.bookmark.js 2012-05-07 09:37:39 UTC (rev 9447) +++ XoopsModules/smallworld/trunk/smallworld/js/jquery.bookmark.js 2012-05-07 09:51:57 UTC (rev 9448) @@ -77,20 +77,14 @@ url: 'http://cgi.fark.com/cgi/fark/submit.pl?new_url={u}&new_comment={t}'}, 'google': {display: 'Google', icon: 12, lang: 'en', category: 'bookmark', url: 'http://www.google.com/bookmarks/mark?op=edit&bkmk={u}&title={t}'}, - 'googlereader': {display: 'Google Reader', icon: 13, lang: 'en', category: 'tools', - url: 'http://www.google.com/reader/link?url={u}&title={t}&srcTitle={u}'}, 'hotmail': {display: 'Hotmail', icon: 14, lang: 'en', category: 'mail', url: 'http://www.hotmail.msn.com/secure/start?action=compose&to=&body={u}&subject={t}'}, 'linkedin': {display: 'LinkedIn', icon: 15, lang: 'en', category: 'social', url: 'http://www.linkedin.com/shareArticle?mini=true&url={u}&title={t}&ro=false&summary={d}&source='}, - 'mixx': {display: 'Mixx', icon: 16, lang: 'en', category: 'news', - url: 'http://www.mixx.com/submit/story?page_url={u}&title={t}'}, 'multiply': {display: 'Multiply', icon: 17, lang: 'en', category: 'social', url: 'http://multiply.com/gus/journal/compose/addthis?body=&url={u}&subject={t}'}, 'myspace': {display: 'MySpace', icon: 18, lang: 'en', category: 'social', url: 'http://www.myspace.com/Modules/PostTo/Pages/?u={u}&t={t}'}, - 'netvibes': {display: 'Netvibes', icon: 19, lang: 'en', category: 'news', - url: 'http://www.netvibes.com/share?url={u}&title={t}'}, 'newsvine': {display: 'Newsvine', icon: 20, lang: 'en', category: 'news', url: 'http://www.newsvine.com/_wine/save?u={u}&h={t}'}, 'reddit': {display: 'reddit', icon: 21, lang: 'en', category: 'news', @@ -101,12 +95,8 @@ url: 'http://www.technorati.com/faves?add={u}'}, 'tipd': {display: 'Tip\'d', icon: 24, lang: 'en', category: 'news', url: 'http://tipd.com/submit.php?url={u}'}, - 'tumblr': {display: 'tumblr', icon: 25, lang: 'en', category: 'blog', - url: 'http://www.tumblr.com/share?v=3&u={u}&t={t}'}, 'twitter':{display: 'twitter', icon: 26, lang: 'en', category: 'blog', url: 'http://twitter.com/home?status={t}%20{u}'}, - 'windows': {display: 'Windows Live', icon: 27, lang: 'en', category: 'bookmark', - url: 'https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url={u}&title={t}'}, 'wishlist': {display: 'Amazon WishList', icon: 28, lang: 'en', category: 'shopping', url: 'http://www.amazon.com/wishlist/add?u={u}&t={t}'}, 'yahoo': {display: 'Yahoo Bookmarks', icon: 29, lang: 'en', category: 'bookmark', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-05-07 09:37:50
|
Revision: 9447 http://xoops.svn.sourceforge.net/xoops/?rev=9447&view=rev Author: djculex Date: 2012-05-07 09:37:39 +0000 (Mon, 07 May 2012) Log Message: ----------- Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/xoops_version.php Modified: XoopsModules/smallworld/trunk/smallworld/xoops_version.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/xoops_version.php 2012-05-07 09:26:51 UTC (rev 9446) +++ XoopsModules/smallworld/trunk/smallworld/xoops_version.php 2012-05-07 09:37:39 UTC (rev 9447) @@ -24,7 +24,7 @@ $modversion['description'] = _MI_SMALLWORLD_MODULE_DESC; $modversion['author'] = "Michael Albertsen"; $modversion['nickname'] = 'Culex'; -$modversion['credits'] = "Mariane, Mrsculex, Mamba, Rune, Zyth"; +$modversion['credits'] = "Mariane, Mrsculex, Mamba, Rune, Zth, Cesag"; $modversion['module_website_name'] = 'www.culex.dk'; $modversion['module_website_url'] = 'www.culex.dk'; $modversion['license'] = 'GNU GPL'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-05-07 09:27:05
|
Revision: 9446 http://xoops.svn.sourceforge.net/xoops/?rev=9446&view=rev Author: djculex Date: 2012-05-07 09:26:51 +0000 (Mon, 07 May 2012) Log Message: ----------- - Bugfix: Typos & Missing defines (Thanks Cesag) Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/class/db.php XoopsModules/smallworld/trunk/smallworld/language/danish/admin.php XoopsModules/smallworld/trunk/smallworld/language/danish/main.php XoopsModules/smallworld/trunk/smallworld/language/english/admin.php XoopsModules/smallworld/trunk/smallworld/language/english/main.php XoopsModules/smallworld/trunk/smallworld/language/english/modinfo.php XoopsModules/smallworld/trunk/smallworld/language/russian/main.php XoopsModules/smallworld/trunk/smallworld/xoops_version.php Added Paths: ----------- XoopsModules/smallworld/trunk/smallworld/language/french/ XoopsModules/smallworld/trunk/smallworld/language/french/admin.php XoopsModules/smallworld/trunk/smallworld/language/french/help/ XoopsModules/smallworld/trunk/smallworld/language/french/help/help.html XoopsModules/smallworld/trunk/smallworld/language/french/help/index.html XoopsModules/smallworld/trunk/smallworld/language/french/index.html XoopsModules/smallworld/trunk/smallworld/language/french/js/ XoopsModules/smallworld/trunk/smallworld/language/french/js/index.html XoopsModules/smallworld/trunk/smallworld/language/french/js/jquery.countdown.js XoopsModules/smallworld/trunk/smallworld/language/french/js/jquery.ui.datepicker-language.js XoopsModules/smallworld/trunk/smallworld/language/french/js/variables.js XoopsModules/smallworld/trunk/smallworld/language/french/mailTpl/ XoopsModules/smallworld/trunk/smallworld/language/french/mailTpl/index.html XoopsModules/smallworld/trunk/smallworld/language/french/mailTpl/mail_attencionneeded.html XoopsModules/smallworld/trunk/smallworld/language/french/mailTpl/mail_complaint.html XoopsModules/smallworld/trunk/smallworld/language/french/mailTpl/mail_newcomment.html XoopsModules/smallworld/trunk/smallworld/language/french/mailTpl/mail_register.html XoopsModules/smallworld/trunk/smallworld/language/french/main.php XoopsModules/smallworld/trunk/smallworld/language/french/modinfo.php XoopsModules/smallworld/trunk/smallworld/language/french_iso/ XoopsModules/smallworld/trunk/smallworld/language/french_iso/admin.php XoopsModules/smallworld/trunk/smallworld/language/french_iso/help/ XoopsModules/smallworld/trunk/smallworld/language/french_iso/help/help.html XoopsModules/smallworld/trunk/smallworld/language/french_iso/help/index.html XoopsModules/smallworld/trunk/smallworld/language/french_iso/index.html XoopsModules/smallworld/trunk/smallworld/language/french_iso/js/ XoopsModules/smallworld/trunk/smallworld/language/french_iso/js/index.html XoopsModules/smallworld/trunk/smallworld/language/french_iso/js/jquery.countdown.js XoopsModules/smallworld/trunk/smallworld/language/french_iso/js/jquery.ui.datepicker-language.js XoopsModules/smallworld/trunk/smallworld/language/french_iso/js/variables.js XoopsModules/smallworld/trunk/smallworld/language/french_iso/mailTpl/ XoopsModules/smallworld/trunk/smallworld/language/french_iso/mailTpl/index.html XoopsModules/smallworld/trunk/smallworld/language/french_iso/mailTpl/mail_attencionneeded.html XoopsModules/smallworld/trunk/smallworld/language/french_iso/mailTpl/mail_complaint.html XoopsModules/smallworld/trunk/smallworld/language/french_iso/mailTpl/mail_newcomment.html XoopsModules/smallworld/trunk/smallworld/language/french_iso/mailTpl/mail_register.html XoopsModules/smallworld/trunk/smallworld/language/french_iso/main.php XoopsModules/smallworld/trunk/smallworld/language/french_iso/modinfo.php Modified: XoopsModules/smallworld/trunk/smallworld/class/db.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/class/db.php 2012-05-07 04:57:03 UTC (rev 9445) +++ XoopsModules/smallworld/trunk/smallworld/class/db.php 2012-05-07 09:26:51 UTC (rev 9446) @@ -124,7 +124,7 @@ $sql = "SELECT ".$var." FROM ".$xoopsDB->prefix('smallworld_user')." WHERE userid = '".$id."'"; $result = $xoopsDB->queryF($sql); if ($xoopsDB->getRowsNum($result) < 1) { - return _SMALLWORLD_REPLY_NOTSPECIFIYED; + return _SMALLWORLD_REPLY_NOTSPECIFIED; } while ($row = $xoopsDB->fetchArray($result)) { $msg[$var] = $row[$var]; Modified: XoopsModules/smallworld/trunk/smallworld/language/danish/admin.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/danish/admin.php 2012-05-07 04:57:03 UTC (rev 9445) +++ XoopsModules/smallworld/trunk/smallworld/language/danish/admin.php 2012-05-07 09:26:51 UTC (rev 9446) @@ -25,6 +25,8 @@ // Engelsk language fil til Smallworld admin.php // Tab titler + define('_AM_SMALLWORLD_ADMINMESSAGESEND','Send til alle'); + define('_AM_SMALLWORLD_LOGSMAINTNANCE','Database vedligeholdelse'); // Fanebladsside en i admin sektion define ('_AM_SMALLWORLD_MODULEINSTALL', 'Modul version installeret'); Modified: XoopsModules/smallworld/trunk/smallworld/language/danish/main.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/danish/main.php 2012-05-07 04:57:03 UTC (rev 9445) +++ XoopsModules/smallworld/trunk/smallworld/language/danish/main.php 2012-05-07 09:26:51 UTC (rev 9446) @@ -73,7 +73,7 @@ define ("_SMALLWORLD_TOTALUSERRATINGS", "Samlet rating"); define ("_SMALLWORLD_LASTLOGIN", "Sidste login"); define ("_SMALLWORLD_SIGNATURE", "Signatur"); -define ("_SMALLWORLD_REPLY_NOTSPECIFIYED", "Ikke specificeret"); +define ("_SMALLWORLD_REPLY_NOTSPECIFIED", "Ikke specificeret"); define ("_SMALLWORLD_BIRTHDAY", "Fødselsdag"); define ("_SMALLWORLD_AKA", "alias"); define ("_SMALLWORLD_BORN", "født"); Modified: XoopsModules/smallworld/trunk/smallworld/language/english/admin.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/english/admin.php 2012-05-07 04:57:03 UTC (rev 9445) +++ XoopsModules/smallworld/trunk/smallworld/language/english/admin.php 2012-05-07 09:26:51 UTC (rev 9446) @@ -36,7 +36,7 @@ define('_AM_SMALLWORLD_AVERAGEMSGPERDAY','Average messages per day'); define('_AM_SMALLWORLD_TOPCHATTERS','Most active users overall'); define('_AM_SMALLWORLD_TOPCHATTERS_TODAY','Most active users in last 24 hours'); -define('_AM_SMALLWORLD_TOPRATEDUSERS','Higest rated users'); +define('_AM_SMALLWORLD_TOPRATEDUSERS','Highest rated users'); define('_AM_SMALLWORLD_BOTTOMRATEDUSERS','Worst rated users'); define('_AM_SMALLWORLD_STATISTICS_TITLE','Smallworld Statistics'); define('_AM_SMALLWORLD_MODULEINFO','Module info'); Modified: XoopsModules/smallworld/trunk/smallworld/language/english/main.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/english/main.php 2012-05-07 04:57:03 UTC (rev 9445) +++ XoopsModules/smallworld/trunk/smallworld/language/english/main.php 2012-05-07 09:26:51 UTC (rev 9446) @@ -73,7 +73,7 @@ define("_SMALLWORLD_TOTALUSERRATINGS","Overall rating"); define("_SMALLWORLD_LASTLOGIN","Last login"); define("_SMALLWORLD_SIGNATURE","Signature"); -define("_SMALLWORLD_REPLY_NOTSPECIFIYED","Not specifiyed"); +define("_SMALLWORLD_REPLY_NOTSPECIFIED","Not specifiyed"); define("_SMALLWORLD_BIRTHDAY","Birthday"); define("_SMALLWORLD_AKA","aka"); define("_SMALLWORLD_BORN","born"); @@ -244,7 +244,7 @@ define("_SMALLWORLD_MORE","..more"); /*-------------- Upload form --------------------*/ -define('_SMALLWORLD_UPLOAD_HOWTO','All images from your album is shown here, and you can use this tool to upload or delete images<br><br>Press the green upload file(s), Select your pictures and upload eighter:<br>1) One by one using the <img src="images/icon_start.PNG" style="display: inline-block;height:13px;"/> icon.<br>2) Select multible by browsing or Drag* files onto the green upload (* does currently not work in IE) and press start all<br><br>Note: If you choose other filetypes than image files the script wil break. Image size is maximum 5 MBytes<br><br>'); +define('_SMALLWORLD_UPLOAD_HOWTO','All images from your album is shown here, and you can use this tool to upload or delete images<br><br>Press the green upload file(s), Select your pictures and upload either:<br>1) One by one using the <img src="images/icon_start.PNG" style="display: inline-block;height:13px;"/> icon.<br>2) Select multible by browsing or Drag* files onto the green upload (* does currently not work in IE) and press start all<br><br>Note: If you choose other filetypes than image files the script wil break. Image size is maximum 5 MBytes<br>'); define('_SMALLWORLD_UPLOADTITLE','Image title'); define('_SMALLWORLD_UPLOADDESC','Image description'); define('_SMALLWORLD_UPLOAD_TITLE','Upload images to your image album'); @@ -252,7 +252,7 @@ define('_SMALLWORLD_UPLOADFILESTEXT','Select image(s)'); define('_SMALLWORLD_IMGDESCRIPTION','Image description'); define('_SMALLWORLD_IMGTITLE','Image title'); -define('_SMALLWORLD_IMAGE_EDIT_TITLE','Edit descriptions where neded at send'); +define('_SMALLWORLD_IMAGE_EDIT_TITLE','Edit descriptions where needed and send'); define("_SMALLWORLD_WELCOME_TITLE","Welcome"); define("_SMALLWORLD_WELCOMETEXT",", welcome. Hope you'll enjoy your stay."); define("_SMALLWORLD_UPLOADEDSOMEIMAGES"," uploaded some new pictures <br/> Press image to see full size or this link<br/>to open gallery"); @@ -343,7 +343,7 @@ /*--------------- mail texts ----------------------*/ define("_SMALLWORLD_MAIL_REGISTERSUBJECT","New registered user at "); -define("_SMALLWORLD_MAIL_COMPLAINTSUBJECT","Complaint agains user at "); +define("_SMALLWORLD_MAIL_COMPLAINTSUBJECT","Complaint against user at "); define("_SMALLWORLD_MAIL_NEWAVATARSUBJECT","New avatar upload at "); define("_SMALLWORLD_MAIL_NEWCOMMENT","New comment to you message at "); define("_SMALLWORLD_SEEANDREPLYHERE","See & reply to the comment here"); Modified: XoopsModules/smallworld/trunk/smallworld/language/english/modinfo.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/english/modinfo.php 2012-05-07 04:57:03 UTC (rev 9445) +++ XoopsModules/smallworld/trunk/smallworld/language/english/modinfo.php 2012-05-07 09:26:51 UTC (rev 9446) @@ -46,13 +46,13 @@ // Smallworld take-over user name links ? define ("_MI_SMALLWORLD_TAKEOVERLINKS","Convert username links to smallworld"); -define ("_MI_SMALLWORLD_TAKEOVERLINKS_DESC","Smallworld will use a small javascript to change links on load to point to userprofile<br>insted of userinfo.php<br><br>Default is 'no'"); +define ("_MI_SMALLWORLD_TAKEOVERLINKS_DESC","Smallworld will use a small javascript to change links on load to point to userprofile<br>instead of userinfo.php<br><br>Default is 'no'"); define ("_MI_SMALLWORLD_USERSOWNMSGCOUNTS","Users own posts count in check ? "); -define ("_MI_SMALLWORLD_USERSOWNMSGCOUNTS_DESC","Every 10 seconds the posts of your followers are counted and a refresh button will show, <br>if result is not 0. If you choose yes to this, this button will olso react when you post/delete posts."); +define ("_MI_SMALLWORLD_USERSOWNMSGCOUNTS_DESC","Every 10 seconds the posts of your followers are counted and a refresh button will show, <br>if result is not 0. If you choose yes to this, this button will also react when you post/delete posts."); define ("_MI_SMALLWORLD_BOOKMARSAVATARS","Use Smallworld Logo when bookmarking ? "); -define ("_MI_SMALLWORLD_BOOKMARKSAVATARS_DESC","When posts are public and you want to share on social networks. You can here descide weather to use<br>smallworld logo as shared image or 'no' = the posting users avatar.<br><br>Default is 'yes' = smallworld logo."); +define ("_MI_SMALLWORLD_BOOKMARKSAVATARS_DESC","When posts are public and you want to share on social networks. You can here decide whether to use<br>smallworld logo as shared image or 'no' = the posting users avatar.<br><br>Default is 'yes' = smallworld logo."); define ("_MI_SMALLWORLD_USEMAILNOTIFICATION","Use mail notifications ? "); define ("_MI_SMALLWORLD_USEMAILNOTIFICATION_DESC","When new user register a mail is sent to admin, or when a comment is added to a post where user is part a mail is sent to user.<br><br>Default is 'yes'"); Added: XoopsModules/smallworld/trunk/smallworld/language/french/admin.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/french/admin.php (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/french/admin.php 2012-05-07 09:26:51 UTC (rev 9446) @@ -0,0 +1,82 @@ +<?php +/** +* You may not change or alter any portion of this comment or credits +* of supporting developers from this source code or any supporting +* source code which is considered copyrighted (c) material of the +* original comment or credit authors. +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +* +* @copyright: The XOOPS Project http://sourceforge.net/projects/xoops/ +* @license: http://www.fsf.org/copyleft/gpl.html GNU public license +* @packet: Modules +* @sub-packet: Smallworld +* @since: Xoops 2.5.4 +* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...> +* @copyright: 2011 Culex +* @Last committed: $Revision$ +* @Last changed by: $Author$ +* @Last changed date: $Date$ +* @ID: $Id$ +**/ + + +// Traduit par Cesag (frxoops.org) le 5 Mai 2012 pour le module smallworld, fichier admin.php + +// Titre des onglets + define('_AM_SMALLWORLD_ADMINMESSAGESEND','Message à tous'); + define('_AM_SMALLWORLD_LOGSMAINTNANCE','Maintenance de la base de données'); + +// Premier onglet dans la section administration +define('_AM_SMALLWORLD_MODULEINSTALL','Version du module installé'); +define('_AM_SMALLWORLD_INSTALLDATE','Module installé le'); +define('_AM_SMALLWORLD_DATEOFFIRSTMESSAGE','Date du plus ancien message'); +define('_AM_SMALLWORLD_TOTALUSERS','Nombre total d\'utilisateurs'); +define('_AM_SMALLWORLD_AVERAGEMSGPERDAY','Moyenne des messages par jour'); +define('_AM_SMALLWORLD_TOPCHATTERS','Utilisateurs les plus actifs'); +define('_AM_SMALLWORLD_TOPCHATTERS_TODAY','Utilisateurs les plus actifs depuis 24 heures'); +define('_AM_SMALLWORLD_TOPRATEDUSERS','Utilisateurs les mieux notés'); +define('_AM_SMALLWORLD_BOTTOMRATEDUSERS','Utilisateurs qui ont le moins de cote'); +define('_AM_SMALLWORLD_STATISTICS_TITLE','Statistiques du module'); +define('_AM_SMALLWORLD_MODULEINFO','Informations du module'); +define('_AM_SMALLWORLD_USERSTATS','Statistiques des utilisateurs'); +define('_AM_SMALLWORLD_NONEYET','Pas de messages dans la base de données'); +define('_AM_SMALLWORLD_NO','rien'); +define('_AM_SMALLWORLD_THEREARE','Il y a ou il n\'y a'); +define('_AM_SMALLWORLD_UPDATE_STATUS','Statut de votre version de module :'); + +// Deuxième onglet dans la section administration + +// Troisième onglet dans la section administration +define('_AM_SMALLWORLD_USERADMIN_TITLE','Administration des utilisateurs'); +define('_AM_SMALLWORLD_USERADMININSPECT_TITLE','Utilisateurs sous contrôle d\'administration'); +define('_AM_SMALLWORLD_USERADMINNOINSPECT_TITLE','Utilisateurs normaux'); +define("_AM_SMALLWORLD_TITLE_IMAGE","Photo de l'utilisateur"); +define("_AM_SMALLWORLD_TITLE_USERNAME","Nom d'utilisateur"); +define("_AM_SMALLWORLD_TITLE_REALNAME","Nom de famille"); +define("_AM_SMALLWORLD_TITLE_IP","Ip"); +define("_AM_SMALLWORLD_TITLE_COMPLAINTS","Plaintes reçues"); +define("_AM_SMALLWORLD_TITLE_INSPECTTIME","Temps de contrôle"); +define("_AM_SMALLWORLD_TITLE_INSPECTADD","Ajouter un temps de contrôle"); +define("_AM_SMALLWORLD_TITLE_DELETEUSER","Supprimer le compte de l\'utilisateur"); +define('_AM_SMALLWORLD_TITLE_INSPECTDELETE','Annuler le temps de contrôle'); +define('_AM_SMALLWORLD_ADDTIMEDROPDOWN_MINUTES',' Minutes'); +define('_AM_SMALLWORLD_ADDTIMEDROPDOWN_NOCHANGE','Pas de changement'); + +// Divers, autres +define('_AM_SMALLWORLD_UPDATE_CRITICAL_UPD',' Une mise à jour critique est disponible !'); +define('_AM_SMALLWORLD_UPDATE_NORMAL_UPD',' Il y a une version plus récente, disponible en téléchargement'); +define('_AM_SMALLWORLD_UPDATE_SERVER_ERROR','Le serveur est en panne ou en cours de mise à jour, <br/> veuillez retenter plus tard.'); +define('_AM_SMALLWORLD_UPDATE_FILE_DESC','Description de la nouvelle version'); +define('_AM_SMALLWORLD_UPDATE_SERVER_FILE','Vous pouvez télécharger la nouvelle version d\'ici'); +define('_AM_SMALLWORLD_UPDATE_YOUHAVENEWESTVERSION',' Vous avez déjà la version la plus récente'); +define('_AM_SMALLWORLD_HELP','Aide'); +define('_AM_SMALLWORLD_ADMIN_USERDELETEDALERT','les dossiers associés, les fichiers et les lignes de tables ont été supprimés'); +define('_AM_SMALLWORLD_STATS_POS','#'); +define('_AM_SMALLWORLD_STATS_NAME','Nom'); +define('_AM_SMALLWORLD_STATS_AMOUNT','Nombre'); +define('_AM_SMALLWORLD_STATS_IMG','Icône'); + +define('_AM_SMALLWORLD_SP','<img style="margin: 0pt 5px 0pt 0pt; vertical-align: middle;" src="../images/sp.png" height="30px" width="30px"> <a style="position: relative; margin: 0px;vertical-align: middle;" href="javascript:void(0);" id="smallworldDonate">Si vous aimez ce module et le travail effectué, vous pouvez me garder éveillé en m\'offrant un café</a>'); +define('_AM_SMALLWORLD_FOOTER', "<div class='center smallsmall italic pad5'>Le module SmallWorld est suivi par <a class='tooltip' rel='external' href='http://culex.dk/' title='Visitez mon site internet'>Culex</a></div>"); \ No newline at end of file Added: XoopsModules/smallworld/trunk/smallworld/language/french/help/help.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/french/help/help.html (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/french/help/help.html 2012-05-07 09:26:51 UTC (rev 9446) @@ -0,0 +1,75 @@ +<div id="help-template" class="outer"> + <h1 class="head">Aide : + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/smallworld/admin/index.php" + title="Retour à l'administration de SmallWorld"> SmallWorld + <img src="<{xoAdminIcons home.png}>" + alt="Retour à l'administration de SmallWorld"/> + </a></h1> + + <h4 class="odd">Description</h4> + + <p class="even">Smallworld est un système de Réseau Social. Inspiré par les didacticiels de Srinivas Tamada sur Facebook + script. Le système de base a été réécrit, adapté et développé en grande partie par Culex pour Xoops. + Le module est doté de votes "j'aime"/"je n'aime pas", signets, système de murs, gallerie d'images et utilise Xim (module de discussion) si il est installé. + L'administration propose la suppression des utilisateurs, l'interdiction d'utilisateurs pendant un temps. Un compte à rebours est affiché côté utilisateur pour préciser quand il peut à nouveau utiliser son compte. + Il y a beaucoup d'autres options. Le module est entièrement compatible pour la version XOOPS 2.5.0 et supérieur.<br/> <br/> + Smallworld est distribué sous les termes de la licence publique générale de GNU (GPL) et est libre d'être utilisé et modifié. Il + est libre de redistribution tant que vous respectez les termes de la distribution GPL.</p> + + <h4 class="odd">Installation/Désinstallation</h4> <br/> + + Aucune mesure spéciale n'est nécessaire, suivez la procédure d'installation standard - extraire le dossier smallworld dans le + répertoire .../modules. Installez le module dans la partie administration -> Modules.<br/> <br/> + + Vérifiez si la version téléchargée de Smallworld est la dernière version réalisée. + Activez les cookies et le JavaScript de votre navigateur.<br/> <br/> + <b>Installation chez un hébergeur</b> + <ul> + <li>Téléchargez le dossier dézippé Smallworld vers votre répertoire de module.</li> + <li>Installation à l'aide de l'installation de module XOOPS comme toute autre installation de module.</li> + <li>Rendez le block visible pour les groupes d'utilisateurs que vous souhaitez (administrateurs/modérateurs etc...).</li> + </ul> + + <b>Mise à niveau depuis une version précédente</b> + <ul> + <li>Assurez-vous que vous utilisez la version la plus récente</li> + <li>Lisez le fichier "readme.txt" dans le dossier "docs"</li> + <li>Faire éventuellement une sauvegarde de vos tables</li> + </ul> + Des instructions détaillées sur l'installation de modules sont disponibles dans le + <a href="http://goo.gl/adT2i">Manuel des opérations de XOOPS</a> <br/> <br/> + + + <h4 class="odd">Opérations</h4> <br/> + + Des instructions détaillées sur la configuration des droits d'accès pour les groupes d'utilisateurs sont disponibles dans le + <a href="http://goo.gl/adT2i">Manuel des opérations de XOOPS</a><br/> <br/> + + <h4 class="odd">Résolution de problèmes</h4> <br/> + + <b>J'obtiens une page blanche, je ne peux pas cliquer sur le nom d'utilisateur, le bloc n'est pas visible...</b><br/> <br/> + <ul> + <li>Assurez-vous que votre version de Xoops est supérieure à 2.5.0. Les anciennes versions de Xoops n'ont pas les prérequis nécessaires. + </li> + <li>Activez le débogage (mode debug) et regardez si des erreurs s'affichent.</li> + <li>À l'aide de FireFox, cliquez avec le bouton droit sur l'écran, choisissez "inspecter l'élément", choisissez la console dans les onglets et vérifiez + s'il y a des erreurs. + </li> + <li>Si il n'y a pas d'erreurs, utilisez Firebug (cliquez droit -> inspecter l'élément -> console) et regardez si il y a des erreurs jQuery. + </li> + <li>S'il n'y a aucune erreur jQuery, videz le cache -> mettez à jour le module Smallworld dans la partie administration des modules.</li> + <li>Si la page est encore blanche, allez au module Protector -> Préférences et écrivez smallworld dans le champ + "Modules à exclure du contrôle DoS (F5)/Crawler". + </li> + </ul> + <br/> + + <h4 class="odd">Tutoriel</h4> + + <p class="even">Il n'y a aucun tutoriel disponible pour le moment</p> + + <h4 class="odd">Questions</h4> + + <p class="even">Si vous rencontrez encore des erreurs ou avez des questions, veuillez les publier sur le <a href="http://www.frxoops.org/modules/newbb">Forum de support Xoops</a></p> +<!-- Traduction Cesag (frxoops.org) le 5 Mai 2012 --> +</div> \ No newline at end of file Added: XoopsModules/smallworld/trunk/smallworld/language/french/help/index.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/french/help/index.html (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/french/help/index.html 2012-05-07 09:26:51 UTC (rev 9446) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/smallworld/trunk/smallworld/language/french/index.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/french/index.html (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/french/index.html 2012-05-07 09:26:51 UTC (rev 9446) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/smallworld/trunk/smallworld/language/french/js/index.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/french/js/index.html (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/french/js/index.html 2012-05-07 09:26:51 UTC (rev 9446) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/smallworld/trunk/smallworld/language/french/js/jquery.countdown.js =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/french/js/jquery.countdown.js (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/french/js/jquery.countdown.js 2012-05-07 09:26:51 UTC (rev 9446) @@ -0,0 +1,23 @@ +/* http://keith-wood.name/countdown.html + Countdown for jQuery v1.5.10. + Written by Keith Wood (kbwood{at}iinet.com.au) January 2008. + Dual licensed under the GPL (http://dev.jquery.com/browser/trunk/jquery/GPL-LICENSE.txt) and + MIT (http://dev.jquery.com/browser/trunk/jquery/MIT-LICENSE.txt) licenses. + Please attribute the author if you use it. */ + + /* + Check here for your translation + http://keith-wood.name/countdown.html#l10nPkgs + */ + +/* Traduction française de l'extension jQuery "countdown" + par Cesag (frxoops.org) le 5 Mai 2012. */ +(function(xoops_smallworld) { + xoops_smallworld.countdown.regional['fr'] = { + labels: ['Années', 'Mois', 'Semaines', 'Jours', 'Heures', 'Minutes', 'Secondes'], + labels1: ['Année', 'Mois', 'Semaine', 'Jour', 'Heure', 'Minute', 'Seconde'], + compactLabels: ['a', 'm', 's', 'j'], // Textes compacts pour les compteurs + whichLabels: null, + timeSeparator: ':', isRTL: false}; + xoops_smallworld.countdown.setDefaults(xoops_smallworld.countdown.regional['fr']); +})(jQuery); Added: XoopsModules/smallworld/trunk/smallworld/language/french/js/jquery.ui.datepicker-language.js =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/french/js/jquery.ui.datepicker-language.js (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/french/js/jquery.ui.datepicker-language.js 2012-05-07 09:26:51 UTC (rev 9446) @@ -0,0 +1,24 @@ +/* Localisation française pour l'extension de l'interface utilisateur jQuery "datepicker" (sélectionneur de dates). + Ecrit par Stuart et adapté par Culex <cu...@cu...>. Traduit par Cesag (frxoops.org) le 5 Mai 2012 */ +jQuery(function(xoops_smallworld){ + xoops_smallworld.datepicker.regional['fr-FR'] = { + closeText: 'Fermer', closeStatus: 'Fermer sans modifications', + prevText: '<Précédent', prevStatus: 'Voir le mois dernier', + prevJumpText: '<<', prevJumpStatus: '', + nextText: '<Suivant', + currentText: 'Aujourd\'hui', currentStatus: 'Afficher le mois en cours', + monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin', + 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'], + monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Juin', + 'Jui','Aoû','Sep','Oct','Nov','Déc'], + dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'], + dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'], + dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'], + weekHeader: 'Se', + dateFormat: 'dd-mm-yyyy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + xoops_smallworld.datepicker.setDefaults(xoops_smallworld.datepicker.regional['fr-FR']); +}); Added: XoopsModules/smallworld/trunk/smallworld/language/french/js/variables.js =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/french/js/variables.js (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/french/js/variables.js 2012-05-07 09:26:51 UTC (rev 9446) @@ -0,0 +1,56 @@ +/* Divers codes de langue à inclure dans l'entête +Voir ceci pour vos paramètres : https://spreadsheets.google.com/spreadsheet/pub?key=0Ah0xU81penP1cDlwZHdzYWkyaERNc0xrWHNvTTA1S1E&gid=1 +Traduit par Cesag (frxoops.org) le 5 Mai 2012 */ + +var language = 'fr'; +var countryshort = 'fr'; +var countrylong = 'france'; + +var _smallworldContinueToReg = "S'enregistrer"; +var _smallworldCancel = "Annuler"; +var _smallworldClose = "Fermer"; + +var _smallworldCommentsMoreMore = "..Afficher"; +var _smallworldCommentsMoreLess = "..Cacher"; + +var SmallworldGenderError = "Sélectionnez votre sexe"; +var SmallworldBirthdayError = "Renseignez votre date anniversaire"; +var SmallworldEmailError = "Renseignez votre adresse électronique"; + +var SmallworldSavedSuccesMsg = "Enregistré avec succès"; + +var SmallworldConfirmBtnFI = "Êtes-vous sûr ?"; +var SmallworldConfirmBtnYes = 'Oui !'; +var SmallworldConfirmBtnNo = 'Non !'; + +var smallworldNewMessages = "Vous avez de nouveaux messages +"; +var smallworldDeletedMessages = "Les messages ont été supprimés. Le compteur est maintenant -"; + +//Validation +var SmallworldValidationBackButton = "Retour"; // Bouton de retour +var SmallworldValidationForwardButton = "Suivant"; // Bouton suivant +var SmallworldValidationNameErrorMsg = "Veuillez écrire votre nom de famille"; // Champ du nom réel +var SmallworldValidationGenderErrorMsg = "Sélectionnez un sexe valide"; // Choix du sexe +var SmallworldValidationIntingenderErrorMsg = "Veuillez en cocher au moins un. La valeur par défaut est « aucun »"; // Orientation sexuelle +var SmallworldValidationSearchrelatErrorMsg = "Veuillez en cocher au moins un. La valeur par défaut est « amis »"; // Relations recherchées +var SmallworldValidationBirthdayErrorMsg = "Veuillez entrer une date valide"; // Anniversaire +var SmallworldValidationEmailTitleErrorMsg = "Mauvais format d'adresse électronique";// Format d'adresse électronique +var SmallworldValidationBirthplaceErrorMsg = "Entrez votre date de naissance"; // Date de naissance obligatoire +var SmallworldValidationAdressErrorMsg = "Entrez le nom de la rue"; // Adresse +var SmallworldValidationCityErrorMsg = "Renseignez la ville"; // Ville +var SmallworldValidationCountryErrorMsg = "Renseignez votre pays"; // Pays +var SmallworldValidationWebsiteErrorMsg = "Entrez votre site internet"; // Site internet +var SmallworldSureDelete = "Êtes-vous sûr de vouloir supprimer cette mise à jour ? Il n'y aura pas de retour possible !"; // Supprimer les commentaires +var SmallworldAdminSureDeleteUser = "Confirmer la suppression de cet utilisateur "; //Suppression des utilisateurs dans l'administration +var SmallworldDialogStatsTitle = "Statistiques"; // Titre de la fenêtre de dialogue des statistiques +// Partie confirmation selon les langues, pour jquery +var args = { + 'confirm' : false, // Bouttons "ok" et "annuler" + 'verify' : true, // Bouttons "oui" et "non" + 'input' : false, // Saisie de texte ("true" ou chaîne de texte par défaut) + 'animate' : true, // Annimation habituelle ("true" ou un nombre, 400 par défaut) + 'textOk' : 'Ok', // Boutton "Ok", texte par défaut + 'textCancel' : 'Annuler', // Boutton "Annuler", texte par défaut + 'textYes' : 'Oui !', // Boutton "Oui !", texte par défaut + 'textNo' : 'Non !' // Boutton "Non !", texte par défaut + } Added: XoopsModules/smallworld/trunk/smallworld/language/french/mailTpl/index.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/french/mailTpl/index.html (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/french/mailTpl/index.html 2012-05-07 09:26:51 UTC (rev 9446) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/smallworld/trunk/smallworld/language/french/mailTpl/mail_attencionneeded.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/french/mailTpl/mail_attencionneeded.html (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/french/mailTpl/mail_attencionneeded.html 2012-05-07 09:26:51 UTC (rev 9446) @@ -0,0 +1,33 @@ +<html> +<head> +<style type="text/css"> + ol, ul {list-style:none} + a {text-decoration: none;color: #1f1f1f;} + a:hover {text-decoration: none; color: #5d8ba6;} + h4 {font-family: 'Puritan20Normal';font-weight: normal;color: #1f1f1f;margin-bottom: 10px;font-size: 17px;} + img.left {top: 0px;float:left;display: block;margin:0;padding:0;margin-right:20px;} + #wrapper {width: 960px;margin: 100px auto 0;padding-top: 0;line-height: 20px;background-color:#33FFFF;border-style: groove;border-color:aqua;border-width:medium;} + #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0px 1px 2px 0px #b7b7b7;-moz-box-shadow: 0px 1px 2px 0px #b7b7b7;box-shadow: 0px 1px 2px 0px #b7b7b7;padding: 15px;display: block;overflow: hidden;} + + #newslist p {margin: 0;} + #newslist h4 {margin-bottom: 8px;line-height: 1;} + #newslist h4 span {font-style: italic;font-family: Georgia, "Times New Roman", Times, serif;font-size: 12px;color: #565656;padding-left: 5px;} + #news h2 {float: left;margin-top: 10px;} + .greeting {margin:0px 0px 0px 25px;} + .infotext {margin:10px 0px 0px 25px;} + .title2 {margin-bottom: 12px;margin-top: 2px;} + .title {margin-bottom: 12px;margin-top: 4px;} + </style> +</head> +<body> +<!-- Début du format conteneur (wrapper en anglais) --> + <div id="wrapper"> + <br> + <p class="greeting">Bonjour <{$toUser}>,</p> + <p class="infotext">Mise à jour le <{$date}>. Vérifiez votre profil : <{$sitename}>.<br><br>Cliquez sur ce lien pour aller directement à la page d'accueil de smallworld<br><br><{$link}></p> + <br> + </div> +<!-- Fin du format conteneur --> +<!-- Traduction Cesag (frxoops.org) le 5 Mai 2012 --> +</body> +</html> \ No newline at end of file Added: XoopsModules/smallworld/trunk/smallworld/language/french/mailTpl/mail_complaint.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/french/mailTpl/mail_complaint.html (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/french/mailTpl/mail_complaint.html 2012-05-07 09:26:51 UTC (rev 9446) @@ -0,0 +1,47 @@ +<html> +<head> +<style type="text/css"> + ol, ul {list-style:none} + a {text-decoration: none;color: #1f1f1f;} + a:hover {text-decoration: none; color: #5d8ba6;} + h4 {font-family: 'Puritan20Normal';font-weight: normal;color: #1f1f1f;margin-bottom: 10px;font-size: 17px;} + img.left {top: 0px;float:left;display: block;margin:0;padding:0;margin-right:20px;} + #wrapper {width: 960px;margin: 100px auto 0;padding-top: 0;line-height: 20px;background-color:#33FFFF;border-style: groove;border-color:aqua;border-width:medium;} + #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0px 1px 2px 0px #b7b7b7;-moz-box-shadow: 0px 1px 2px 0px #b7b7b7;box-shadow: 0px 1px 2px 0px #b7b7b7;padding: 15px;display: block;overflow: hidden;} + + #newslist p {margin: 0;} + #newslist h4 {margin-bottom: 8px;line-height: 1;} + #newslist h4 span {font-style: italic;font-family: Georgia, "Times New Roman", Times, serif;font-size: 12px;color: #565656;padding-left: 5px;} + #news h2 {float: left;margin-top: 10px;} + .greeting {margin:0px 0px 0px 25px;} + .infotext {margin:10px 0px 0px 25px;} + .title2 {margin-bottom: 12px;margin-top: 2px;} + .title {margin-bottom: 12px;margin-top: 4px;} + </style> +</head> +<body> +<!-- Début du format conteneur (Wrapper en anglais) --> + <div id="wrapper"> + <br> + <p class="greeting">Bonjour Administrateur,</p> + <p class="infotext"><{$sendername}> a trouvé quelque chose qui requiert votre attention sur <{$sitename}></p> + <div id="news"> + <!-- Début de la navigation des nouvelles (news en anglais) --> + <div id="newslist"> + <ul> + <!-- Début de l'entête N°1 --> + <li> + <span style="font-size:11px">Il semble que c'est un message écrit par <{$against}> et <{$sendername}> l'a signalé à <{$time}> (heure du serveur)</h4> + <h4 class="title"><span style="font-size:11px"><{$link}></span></h4> + </li> + <!-- Fin de l'entête N°1 --> + </ul> + </div> + </div> + <!-- Fin de la navigation des nouvelles --> + <br> + </div> +<!-- Fin du format conteneur --> +<!-- Traduction Cesag (frxoops.org) le 5 Mai 2012 --> +</body> +</html> \ No newline at end of file Added: XoopsModules/smallworld/trunk/smallworld/language/french/mailTpl/mail_newcomment.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/french/mailTpl/mail_newcomment.html (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/french/mailTpl/mail_newcomment.html 2012-05-07 09:26:51 UTC (rev 9446) @@ -0,0 +1,56 @@ +<html> +<head> +<style type="text/css"> + ol, ul {list-style:none} + a {text-decoration: none;color: #1f1f1f;} + a:hover {text-decoration: none; color: #5d8ba6;} + h4 {font-family: 'Puritan20Normal';font-weight: normal;color: #1f1f1f;margin-bottom: 10px;font-size: 17px;} + img.left {top: 0px;float:left;display: block;margin:0;padding:0;margin-right:20px;} + #wrapper {width: 960px;margin: 100px auto 0;padding-top: 0;line-height: 20px;background-color:#33FFFF;border-style: groove;border-color:aqua;border-width:medium;} + #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0px 1px 2px 0px #b7b7b7;-moz-box-shadow: 0px 1px 2px 0px #b7b7b7;box-shadow: 0px 1px 2px 0px #b7b7b7;padding: 15px;display: block;overflow: hidden;} + + #newslist p {margin: 0;} + #newslist h4 {margin-bottom: 8px;line-height: 1;} + #newslist h4 span {font-style: italic;font-family: Georgia, "Times New Roman", Times, serif;font-size: 12px;color: #565656;padding-left: 5px;} + #news h2 {float: left;margin-top: 10px;} + .greeting {margin:0px 0px 0px 25px;} + .infotext {margin:10px 0px 0px 25px;} + .title2 {margin-bottom: 12px;margin-top: 2px;} + .title {margin-bottom: 12px;margin-top: 4px;} +</style> +</head> +<body> +<!-- Début du format conteneur (Wrapper en anglais) --> + <div id="wrapper"> + <br> + <p class="greeting">Bonjour <{$recievename}>,</p> + <p class="infotext"><{$sendname}> a écrit un commentaire sur votre mur. Vous pouvez le voir sur <{$sitename}></p> + <div id="news"> + <!-- Début de la navigation des nouvelles (news en anglais) --> + <div id="newslist"> + <ul> + <!-- Début de l'entête N°1 --> + <li><{$to_avatarlink}> + <h4 class="title"><{$ownernameurl}> <span style="font-size:11px">Message initial:</span></h4> + <p><{$ownermessage}></p> + </li> + <!-- Fin de l'entête N°1 --> + + <!-- Début de l'entête N°2 --> + <li style="margin-left:25px;width:780px"><{$from_avatarlink}> + <h4 class="title2"><{$sendnameurl}> <span style="font-size:11px"> a répondu le (<{$itemtextdate}> date du serveur)</span></h4> + <p><{$itemtext}></p> + </li> + <!-- Fin de l'entête N°2 --> + </ul> + </div> + </div> + <!-- Fin de la navigation des nouvelles --> + <br> + <p align="center"><{$replylink}></p> + <br/> + </div> +<!-- Fin du format conteneur --> +<!-- Traduction Cesag (frxoops.org) le 5 Mai 2012 --> +</body> +</html> \ No newline at end of file Added: XoopsModules/smallworld/trunk/smallworld/language/french/mailTpl/mail_register.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/french/mailTpl/mail_register.html (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/french/mailTpl/mail_register.html 2012-05-07 09:26:51 UTC (rev 9446) @@ -0,0 +1,46 @@ +<html> +<head> +<style type="text/css"> + ol, ul {list-style:none} + a {text-decoration: none;color: #1f1f1f;} + a:hover {text-decoration: none; color: #5d8ba6;} + h4 {font-family: 'Puritan20Normal';font-weight: normal;color: #1f1f1f;margin-bottom: 10px;font-size: 17px;} + img.left {top: 0px;float:left;display: block;margin:0;padding:0;margin-right:20px;} + #wrapper {width: 960px;margin: 100px auto 0;padding-top: 0;line-height: 20px;background-color:#33FFFF;border-style: groove;border-color:aqua;border-width:medium;} + #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0px 1px 2px 0px #b7b7b7;-moz-box-shadow: 0px 1px 2px 0px #b7b7b7;box-shadow: 0px 1px 2px 0px #b7b7b7;padding: 15px;display: block;overflow: hidden;} + + #newslist p {margin: 0;} + #newslist h4 {margin-bottom: 8px;line-height: 1;} + #newslist h4 span {font-style: italic;font-family: Georgia, "Times New Roman", Times, serif;font-size: 12px;color: #565656;padding-left: 5px;} + #news h2 {float: left;margin-top: 10px;} + .greeting {margin:0px 0px 0px 25px;} + .infotext {margin:10px 0px 0px 25px;} + .title2 {margin-bottom: 12px;margin-top: 2px;} + .title {margin-bottom: 12px;margin-top: 4px;} + </style> +</head> +<body> +<!-- Début du format conteneur (Wrapper en anglais) --> + <div id="wrapper"> + <br> + <p class="greeting">Bonjour Administrateur,</p> + <p class="infotext"><{$registername}> s'est inscrit sur <{$sitename}></p> + <div id="news"> + <!-- Début de la navigation des nouvelles (news en anglais) --> + <div id="newslist"> + <ul> + <!-- Début de l'entête N°1 --> + <li><{$registerlink}> + <h4 class="title"><{$registerurl}> <span style="font-size:11px">Voir le profil ici</span></h4> + </li> + <!-- Fin de l'entête N°1 --> + </ul> + </div> + </div> + <!-- Fin de la navigation des nouvelles --> + <br> + </div> +<!-- Fin du format conteneur --> +<!-- Traduction Cesag (frxoops.org) le 5 Mai 2012 --> +</body> +</html> \ No newline at end of file Added: XoopsModules/smallworld/trunk/smallworld/language/french/main.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/french/main.php (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/french/main.php 2012-05-07 09:26:51 UTC (rev 9446) @@ -0,0 +1,381 @@ +<?php +/** +* You may not change or alter any portion of this comment or credits +* of supporting developers from this source code or any supporting +* source code which is considered copyrighted (c) material of the +* original comment or credit authors. +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +* +* @copyright: The XOOPS Project http://sourceforge.net/projects/xoops/ +* @license: http://www.fsf.org/copyleft/gpl.html GNU public license +* @packet: Modules +* @sub-packet: Smallworld +* @since: Xoops 2.5.4 +* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...> +* @copyright: 2011 Culex +* @Last committed: $Revision$ +* @Last changed by: $Author$ +* @Last changed date: $Date$ +* @ID: $Id$ +**/ + +/*----------------- Menu items ---------------*/ + +/*------------ General items -------- */ +define("_SMALLWORLD_SYSERROR","Erreur système !"); +define("_SMALLWORLD_SYSNAME","Smallworld"); +define("_SMALLWORLD_ALL_FIELDS_DISABLED","Aucune information disponible"); +define("_SMALLWORLD_RECENTACTIVITY","Activités récentes"); +define("_SMALLWORLD_MESSAGEHISTORIC", "Derniers messages"); + +/*----------- Personal info ------------------*/ +define("_SMALLWORLD_AVATAR","Image actuelle"); +define("_SMALLWORLD_REALNAME","Nom de famille"); +define("_SMALLWORLD_GENDER","Sexe"); +define("_SMALLWORLD_INTERESTEDIN","Intéressé par"); +define("_SMALLWORLD_RELATIONSHIPSTATUS","Statut de relation"); +define("_SMALLWORLD_PARTNER","Partenaire"); +define("_SMALLWORLD_LOOKINGFOR", "A la recherche de"); +define("_SMALLWORLD_BIRTHPLACE", "Lieu de naissance"); +define("_SMALLWORLD_POLITICALVIEW", "Opinion politique"); +define("_SMALLWORLD_RELIGIOUSVIEW", "Religion"); +define("_SMALLWORLD_EMAILS","Adresse électronique"); + +/*--------------- contact info -----------------*/ +define("_SMALLWORLD_MOBILEPHONE","Téléphone mobile"); +define("_SMALLWORLD_LANDPHONE","Téléphone fixe"); +define("_SMALLWORLD_ADRESS","Adresse"); +define("_SMALLWORLD_CITY","Ville"); + +/*-------------- interests ---------------------*/ +define("_SMALLWORLD_WEBSITE","Site internet"); +define("_SMALLWORLD_INTERESTS","Intérêts"); +define("_SMALLWORLD_FAVOURITEMUSIC","Musiques favorites"); +define("_SMALLWORLD_FAVOURITEMOVIES","Films préférés"); +define("_SMALLWORLD_ABOUTME","À propos de moi"); +define("_SMALLWORLD_ADDSCHOOLS","Écoles / Éducation"); +define("_SMALLWORLD_ADDJOBS","Emploi"); +define("_SMALLWORLD_VARIOUSINTERESTS","Autres centres d'intérêt"); +define("_SMALLWORLD_CONTACTINFO","Informations de contact"); +define("_SMALLWORLD_PERSONALINFO","Informations personnelles"); +define("_SMALLWORLD_NOFRIENDTEXT","Seuls les amis peuvent voir votre profil et votre mur"); + +/* --------------- Timezone, User profile text & stats ----------------*/ +define("_SMALLWORLD_TIMEZONE","Fuseau horaire"); +define("_SMALLWORLD_OCCUPATION","Occupation"); +define("_SMALLWORLD_MEMBERSINCE","Membre depuis"); +define("_SMALLWORLD_MESSENGER","Msn"); +define("_SMALLWORLD_TOTALPOSTS","Total des messages"); +define("_SMALLWORLD_RANK","Rang"); +define("_SMALLWORLD_RANKIMAGE","Image de rang"); +define("_SMALLWORLD_TOTALUSERRATINGS","Cote globale"); +define("_SMALLWORLD_LASTLOGIN","Dernière connexion"); +define("_SMALLWORLD_SIGNATURE","Signature"); +define("_SMALLWORLD_REPLY_NOTSPECIFIED","Non spécifié"); +define("_SMALLWORLD_BIRTHDAY","Anniversaire"); +define("_SMALLWORLD_AKA","alias"); +define("_SMALLWORLD_BORN","né(e) le"); +define("_SMALLWORLD_YEARSOLD","ans"); +define("_SMALLWORLD_IN","à"); +define("_SMALLWORLD_HE","Il"); +define("_SMALLWORLD_SHE","Elle"); +define("_SMALLWORLD_HEORSHE","Il ou elle"); +define("_SMALLWORLD_LIVINGIN","réside à"); +define("_SMALLWORLD_ISEMPLOYEDBY","est employé(e) par"); +define("_SMALLWORLD_ATTENDED","a étudié à"); +define("_SMALLWORLD_AND","et"); +define("_SMALLWORLD_BIOGRAPHY","Biographie"); +define("_SMALLWORLD_EXTBIOGRAPHY","Plus d'informations"); +define("_SMALLWORLD_NAME","Nom"); +define("_SMALLWORLD_COUNTRY","Pays"); + +/*------------- Friends and follow ---------------------*/ +define("_SMALLWORLD_FRIEND","Se faire des amis"); +define("_SMALLWORLD_FOLLOWFRIEND","Suivre"); +define("_SMALLWORLD_SENDMESSAGE","Envoyer un message"); +define("_SMALLWORLD_MOREINFO","Pour plus d'informations, cliquez ici"); + +/*--------------------- Messages and boxes -----------------------------*/ +define("_SMALLWORLD_NOTYETUSER_GREETING","Bienvenue"); +define("_SMALLWORLD_NOTYETUSER_BOXTEXT","Afin d'utiliser ce module, vous devez remplir un formulaire de profil supplémentaire. + <br><br>Cliquez sur S'enregister pour continuer l'enregistrement ou cliquez sur Annuler<br>pour revenir à la page d'accueil."); +define("_SMALLWORLD_NOTYETREGISTERED_TITLE","Continuez pour terminer l'enregistrement"); +define ("_SMALLWORLD_TEXTBEFORESUBMIT","Continuez en cliquant sur Enregistrer pour enregistrer vos informations dans la base de données.<br><br>Après cela, vous serez en mesure de visiter votre page, <br>et les pages des autres utilisateurs.<br><br>En vous remerçiant d'avoir pris le temps de remplir ce formulaire."); +define("_SMALLWORLD_FRIENDSINVITATIONS","Ajouter en ami"); +define("_SMALLWORLD_DATERECIEVED","Date"); +define("_SMALLWORLD_ACCEPT","Accepter"); +define("_SMALLWORLD_DENY","Refuser"); +define("_SMALLWORLD_LATER","Reporter à plus tard"); +define("_SMALLWORLD_ACTION","Action"); +define("_SMALLWORLD_UPDATEID_NOT_EXIST","Le message n'existe pas. Retourner à l'accueil"); +define("_SMALLWORLD_NOUSER_ERROR","Aucun utilisateur trouvé. Retour à la page d'accueil"); + +/* ------------- Registerform ---------------------- */ + +define("_SMALLWORLD_REGRISTATION_TITLE","Enregistrement du profil"); +define("_SMALLWORLD_STEP1","Étape 1 sur 6"); +define("_SMALLWORLD_STEP2","Étape 2 sur 6"); +define("_SMALLWORLD_STEP3","Étape 3 sur 6"); +define("_SMALLWORLD_STEP4","Étape 4 sur 6"); +define("_SMALLWORLD_STEP5","Étape 5 sur 6"); +define("_SMALLWORLD_STEP6","Fin"); +define ("_SMALLWORLD_BELIEFS","Croyances"); +define("_SMALLWORLD_FAVOURITETHINGS","Choses que je préfère"); +define("_SMALLWORLD_FAVOURITEBOOKS","Livres préférés"); +define("_SMALLWORLD_FAVOURITEMOVIE","Films préférés"); +define("_SMALLWORLD_FAVOURITETVSHOW","Séries télévisées préférées"); +define("_SMALLWORLD_FAVOURITEINTERESTS","Centres d'intérêts"); +define("_SMALLWORLD_INTERESTS_DESC","Loisirs et renseignements personnels"); +define("_SMALLWORLD_CONTACTS","Informations de contact"); +define("_SMALLWORLD_EMAIL","Messagerie(s) électronique(s)"); +define("_SMALLWORLD_SCREENNAMES","Pseudonyme(s)"); +define("_SMALLWORLD_PHONE","Téléphone fixe"); +define("_SMALLWORLD_GSM","Téléphone portable"); +define("_SMALLWORLD_ISSINGLE","est célibataire pour le moment"); +define("_SMALLWORLD_INRELATIONSHIP","a une relation avec"); +define("_SMALLWORLD_ISMARRIED","est marié à"); +define("_SMALLWORLD_ISENGAGED","est fiancé à"); +define("_SMALLWORLD_ISCOMPLICATED","a une relation compliquée avec"); +define("_SMALLWORLD_OPENRELATIONSHIP","est en concubinage avec"); +define("_SMALLWORLD_ADDITIONALINFO","En savoir plus sur"); +define("_SMALLWORLD_HIS","son"); +define("_SMALLWORLD_HER","sa"); +define("_SMALLWORLD_HISHER","son ou sa"); +define("_SMALLWORLD_POLITICWORD","Politique"); +define("_SMALLWORLD_RELIGIONWORD","Religion"); +define("_SMALLWORLD_IS","est"); +define("_SMALLWORLD_ADDSOMEINFO","Ajouter ou modifier des informations"); +define("_SMALLWORLD_CHOOSE","Choisir"); +define("_SMALLWORLD_WOMAN","Femme"); +define("_SMALLWORLD_MAN","Homme"); +define("_SMALLWORLD_BOTH","Les deux"); +define("_SMALLWORLD_NONE","Aucun"); +define("_SMALLWORLD_MARRIED","Marié"); +define("_SMALLWORLD_ENGAGED","Fiancé"); +define("_SMALLWORLD_SINGLE","Célibataire"); +define("_SMALLWORLD_RELATIONSHIP","Dans une relation"); +define("_SMALLWORLD_RELATIONSHIP_OPEN","En concubinage"); +define("_SMALLWORLD_ITSCOMP","C'est compliqué"); +define("_SMALLWORLD_FRIENDSHIP","Amitiés"); +define("_SMALLWORLD_DATING","Rencontres"); +define("_SMALLWORLD_ARELATIONSHIP","Connaissances"); +define("_SMALLWORLD_HANKYPANKY","Relations intimes"); +define("_SMALLWORLD_PVLIBERAL","Extrême gauche"); +define("_SMALLWORLD_PLIBERAL","Libéral"); +define("_SMALLWORLD_PMODERATE","Modéré"); +define("_SMALLWORLD_PCONSERVATIVE","Conservateur"); +define("_SMALLWORLD_PVCONSERVATIVE","Très conservateur"); +define("_SMALLWORLD_PLIBERTARIAN","Extrême droite"); +define("_SMALLWORLD_POTHER","Autres"); +define("_SMALLWORLD_RCHRISTIANITY","Christianisme"); +define("_SMALLWORLD_RISLAM","Islamisme"); +define("_SMALLWORLD_RSECULAR","Laïque/Non religieux/agnostique et athée"); +define("_SMALLWORLD_RHINDUISM","Hindouisme"); +define("_SMALLWORLD_RCHINESETRAD","Religion traditionnelle chinoise"); +define("_SMALLWORLD_RBUDDHISM","Bouddhisme"); +define("_SMALLWORLD_RPRIMALIND","Primitif"); +define("_SMALLWORLD_RAFRICANTRAD","Africaine traditionnelle et diaspora"); +define("_SMALLWORLD_RSIKHISM","Sikhisme (religion moniste en Inde)"); +define("_SMALLWORLD_RJUCHE","Juche (idéologie Coréenne)"); +define("_SMALLWORLD_RSPIRITISM","Spiritisme"); +define("_SMALLWORLD_RJUDAISM","Judaïsme"); +define("_SMALLWORLD_RBAHAI","Bahaïsme"); +define("_SMALLWORLD_RJAINISM","Jaïnisme"); +define("_SMALLWORLD_RSHINTO","Shintoïsme"); +define("_SMALLWORLD_RCAODAI","Caodaïsme"); +define("_SMALLWORLD_RZOROASRIANISM","Zoroastrisme"); +define("_SMALLWORLD_RTENRIKYO","Tenrikyō"); +define("_SMALLWORLD_RNEOPAGANISM","Néopaganisme"); +define("_SMALLWORLD_RUNITARIANUNIVERSALISM","Universalisme unitarien"); +define("_SMALLWORLD_RRASTA","Mouvement rastafari"); +define("_SMALLWORLD_RSCIENTOLOGY","Scientologie"); +define("_SMALLWORLD_ANCIENTALIENTHEORIST","Ancienne Théorie Alien"); +define("_SMALLWORLD_ROTHER","Autres"); +define("_SMALLWORLD_SUBMIT","Enregistrer"); +define("_SMALLWORLD_EMAILADRESSES","Adresse(s) éléctronique(s)"); + +// dropdown screen names +define ("_SMALLWORLD_SCREENNAME_AIM", "MSN"); +define ("_SMALLWORLD_SCREENNAME_FACEBOOK", "Facebook"); +define ("_SMALLWORLD_SCREENNAME_GOOGLE", "Google +"); +define ("_SMALLWORLD_SCREENNAME_ICQ", "ICQ"); +define ("_SMALLWORLD_SCREENNAME_SKYPE", "Skype"); +define ("_SMALLWORLD_SCREENNAME_TWITTER", "Twitter"); +define ("_SMALLWORLD_SCREENNAME_MYSPACE", "MySpace"); +define ("_SMALLWORLD_SCREENNAME_XOOPS", "Xoops (UID) "); +define ("_SMALLWORLD_SCREENNAME_YAHOO", "Yahoo"); +define ("_SMALLWORLD_SCREENNAME_YOUTUBE", "Youtube"); +define("_SMALLWORLD_ADDMORE","Ajouter"); +define("_SMALLWORLD_REMOVE","Supprimer"); + +/*------------ Schools ----------*/ + +define("_SMALLWORLD_KINDERGARDEN","Maternelle"); +define("_SMALLWORLD_NURSERY","Crèche"); +define("_SMALLWORLD_ELEMSCHOOL","École élémentaire"); +define("_SMALLWORLD_GRADUATESCHOOL","École primaire"); +define("_SMALLWORLD_HIGHSCHOOL","École secondaire"); +define("_SMALLWORLD_JUNIORHIGH","École privée"); +define("_SMALLWORLD_JUNIORCOLLEGE","Collège"); +define("_SMALLWORLD_COLLEGE","Lycée"); +define("_SMALLWORLD_TECNICAL","Enseignement technique"); +define("_SMALLWORLD_UNIVERSITY","Université"); +define("_SMALLWORLD_SCHOOLNAME","Nom de l'école"); +define("_SMALLWORLD_SCHOOLTYPE","Type d'école"); +define("_SMALLWORLD_START","Date d'entrée"); +define("_SMALLWORLD_STOP","Date de sortie"); +define("_SMALLWORLD_MUSIC","Musique préférée"); +define("_SMALLWORLD_TVSHOW","Série Télévisée préférée"); +define("_SMALLWORLD_MOVIE","Film préféré"); +define("_SMALLWORLD_BOOKS","Livres préférés"); +define("_SMALLWORLD_EMPLOYER","Employeur"); +define("_SMALLWORLD_POSITION","Poste de travail"); +define("_SMALLWORLD_DESCRIPTION","Description de l'emploi"); +define("_SMALLWORLD_JOBSTART","Entrée dans l'entreprise"); +define("_SMALLWORLD_JOBSTOP","Sortie de l'entreprise"); +define("_SMALLWORLD_NOACCOUNT","Il semblerait que vous n'ayez pas de compte, ou il manque encore des informations à votre profil."); +define("_SMALLWORLD_REGXOOPS","Cliquez ici pour vous inscrire"); +define("_SMALLWORLD_REGSMALLWORLD","Cliquez ici pour modifier ou ajouter des détails à votre profil"); +define("_SMALLWORLD_WORKFULL_TITLE","Tous les lieux de travail"); +define("_SMALLWORLD_SCHOOLFULL_TITLE","Tous les établissements scolaires"); +define("_SMALLWORLD_INTERESTS_TITLE","Intérêts et contact"); +define("_SMALLWORLD_MORE"," .. tous les détails"); + +/*-------------- Upload form --------------------*/ +define('_SMALLWORLD_UPLOAD_HOWTO','Toutes les images de votre album sont affichées ici. Vous pouvez utiliser cet outil pour télécharger ou supprimer des images<br><br>Cliquez sur les fichiers de téléchargement vert, Sélectionnez vos images à télécharger : <br> 1) Une par une à l\'aide des - src="images/icon_start.PNG" style="display: inline-block;height:13px;"/>icônes.<br> 2)Sélectionnez-en plusieurs en parcourant ou * en faisant glisser les fichiers sur le téléchargement vert (* ne fonctionne pas sous IE) et cliquez sur Démarrer <br> Remarque :. Si vous choisissez d\'autres types de fichiers autres que des fichiers d\'image, le script échouera. La taille de l\'image peut aller jusqu\'à 5 Mo <br> '); +define('_SMALLWORLD_UPLOADTITLE','Titre de l\'image'); +define('_SMALLWORLD_UPLOADDESC','Description de l\'image'); +define('_SMALLWORLD_UPLOAD_TITLE','Télécharger les images vers votre album d\'images'); +define('_SMALLWORLD_UPLOADTEXT','Démarrer le téléchargement'); +define('_SMALLWORLD_UPLOADFILESTEXT','Sélectionnez une ou plusieurs images'); +define('_SMALLWORLD_IMGDESCRIPTION','Description de l\'image'); +define('_SMALLWORLD_IMGTITLE','Titre de l\'image'); +define('_SMALLWORLD_IMAGE_EDIT_TITLE','Modifier la description'); +define("_SMALLWORLD_WELCOME_TITLE","Bienvenue"); +define("_SMALLWORLD_WELCOMETEXT",", Bienvenue. Je vous souhaite de passer un bon moment."); +define("_SMALLWORLD_UPLOADEDSOMEIMAGES"," envoi de nouvelles images <br/> Cliquez sur l'image pour voir sa taille réelles ou sur ce lien<br/>pour ouvrir la Gallerie."); +define("_SMALLWORLD_IMAGES_START","Envoyer"); +define("_SMALLWORLD_IMAGES_CANCEL","Annuler"); +define("_SMALLWORLD_IMAGES_DELETE","Supprimer"); +define("_SMALLWORLD_IMAGES_STARTALL","Tout envoyer"); +define("_SMALLWORLD_IMAGES_CANCELALL","Tout annuler"); +define("_SMALLWORLD_IMAGES_DELETEALL","Tout supprimer"); + +/*-------------- Image gallery -------------*/ +define("_SMALLWORLD_ALBUMTITLETEXT","Fermer l'album"); +define("_SMALLWORLD_TITLEHEADER","Album photo"); +define("_SMALLWORLD_NOIMAGES"," ne contient pas encore d'images"); +define("_SMALLWORLD_GOTOUPLOADIMAGE"," Envoyer ou supprimer des images"); +define("_SMALLWORLD_EDITDESCRIPTION","Modifier la description de l'image"); +define("_SMALLWORLD_NOTFRIENDNOIMAGES","Vous pouvez seulement afficher les albums photo des amis !"); +define("_SMALLWORLD_GALLERY_DOWNLOADORIGINAL","Télécharger l'original"); +define("_SMALLWORLD_GALLEY_NEXTPAGE","Page suivante"); +define("_SMALLWORLD_GALLEY_PREVIOUSPAGE","Page précédente"); + + +/*-------------- Search ----------------*/ +define("_SMALLWORLD_SEARCHMEMBER","Recherche de noms"); + +/*---------------- Messages (jSon, alerts) -------------------*/ +define("_SMALLWORLD_FRIENDSHIPFOLLOW","Suivre"); +define("_SMALLWORLD_FRIENDSHIPREQUESTS","Prendre contact avec : "); +define("_SMALLWORLD_JSON_ADDFRIEND","Votre demande d'ami a été envoyé à "); +define("_SMALLWORLD_JSON_CANCEL_ADDFRIEND","Vous avez annulé demande d'ami pour "); +define("_SMALLWORLD_JSON_DELETE_FRIEND_START","Suppression faite "); +define("_SMALLWORLD_JSON_DELETE_FRIEND_END"," de cette personne en tant qu'ami."); +define("_SMALLWORLD_JSON_REQUEST_PENDING","<br><br>Demande d'amitié en attente d'approbation."); + +define ("_SMALLWORLD_JSON_FOLLOWINGFRIEND","Suivi activé concernant : "); +define ("_SMALLWORLD_JSON_FOLLOWINGFRIEND_DESC","<br><br>Tous les messages qu'il ou elle écrit dans son mur apparaîtront également sur le vôtre."); +define ("_SMALLWORLD_JSON_UNFOLLOWINGFRIEND","Vous ne suivez plus : "); +define ("_SMALLWORLD_JSON_UNFOLLOWINGFRIEND_DESC","<br><br>Les messages de son mur n'apparaîtront plus dans le vôtre."); + +define("_SMALLWORLD_JSON_ADDFR_TEXT","Ajouter en ami"); +define("_SMALLWORLD_JSON_CANCELFR_TEXT","Annuler la demande d'ami"); +define("_SMALLWORLD_JSON_REMOVEFR_TEXT","Supprimer l'ami"); + +define("_SMALLWORLD_JSON_FLYES_TEXT","Suivre"); +define("_SMALLWORLD_JSON_FLNO_TEXT","Ne plus suivre"); + +define("_SMALLWORLD_JS_ALREADYVOTED","Vous avez déjà voté !"); +define("_SMALLWORLD_JS_COMPLAINTSENT","Votre plainte a été envoyée au modérateur. Le fil de discussion sera examiné au plus vite."); +define("_SMALLWORLD_JS_COMPLAINT_ALREADY_SENT","Vous avez déjà envoyé une plainte à ce sujet !"); + +/*----------- Indexpage menu --------------*/ +define("_SMALLWORLD_HOME","Accueil"); +define("_SMALLWORLD_PROFILEINDEX","Profil"); +define("_SMALLWORLD_FRIENDSPAGE","Amis"); +define("_SMALLWORLD_GALLERY","Photos"); +define("_SMALLWORLD_CHANGEAVATAR","Changer d'avatar"); +define("_SMALLWORLD_EDITPROFILE","Modifier le profil"); +define("_SMALLWORLD_STATS","Statistiques"); +define("_SMALLWORLD_INFO","À propos.."); +define("_SMALLWORLD_XIMUSER","Message instantané à "); +/*----------- Wall -----------------------*/ +define("_SMALLWORLD_WHATSUP","Quoi de neuf ?"); +define("_SMALLWORLD_DELUPD","Supprimer la mise à jour"); +define("_SMALLWORLD_COMMENTWALL","Commenter"); +define("_SMALLWORLD_DELETECOMMENT","Supprimer le commentaire"); +define("_SMALLWORLD_SECONDSAGO"," il y a quelques secondes"); +define("_SMALLWORLD_ONEMINUTEAGO","il y a une minute"); +define("_SMALLWORLD_MINUTESAGO"," il y a quelques minutes"); +define("_SMALLWORLD_ONEHOURAGO","il y a une heure"); +define("_SMALLWORLD_HOURSAGO"," il y a quelques heures"); +define("_SMALLWORLD_ONEDAYAGO","il y a un jour"); +define("_SMALLWORLD_DAYSAGO"," il y a quelques jours"); +define("_SMALLWORLD_ONEWEEKAGO","il y a une semaine"); +define("_SMALLWORLD_WEEKSAGO... [truncated message content] |
From: <be...@us...> - 2012-05-07 04:57:11
|
Revision: 9445 http://xoops.svn.sourceforge.net/xoops/?rev=9445&view=rev Author: beckmi Date: 2012-05-07 04:57:03 +0000 (Mon, 07 May 2012) Log Message: ----------- Updating to XOOPS 2.5.x Admin GUI Modified Paths: -------------- XoopsModules/amreviews/trunk/amreviews/admin/about.php XoopsModules/amreviews/trunk/amreviews/admin/category.php XoopsModules/amreviews/trunk/amreviews/admin/functions.inc.php XoopsModules/amreviews/trunk/amreviews/admin/image.php XoopsModules/amreviews/trunk/amreviews/admin/index.php XoopsModules/amreviews/trunk/amreviews/admin/menu.php XoopsModules/amreviews/trunk/amreviews/admin/perms.php XoopsModules/amreviews/trunk/amreviews/admin/review.php XoopsModules/amreviews/trunk/amreviews/language/english/admin.php XoopsModules/amreviews/trunk/amreviews/sql/mysql.sql XoopsModules/amreviews/trunk/amreviews/templates/amr_review.html XoopsModules/amreviews/trunk/amreviews/xoops_version.php Added Paths: ----------- XoopsModules/amreviews/trunk/amreviews/admin/admin_footer.php XoopsModules/amreviews/trunk/amreviews/admin/admin_header.php XoopsModules/amreviews/trunk/amreviews/admin/main.php XoopsModules/amreviews/trunk/amreviews/docs/ XoopsModules/amreviews/trunk/amreviews/docs/changelog.txt XoopsModules/amreviews/trunk/amreviews/docs/credits.txt XoopsModules/amreviews/trunk/amreviews/docs/index.html XoopsModules/amreviews/trunk/amreviews/docs/readme.txt XoopsModules/amreviews/trunk/amreviews/language/english/help/ XoopsModules/amreviews/trunk/amreviews/language/english/help/help.html XoopsModules/amreviews/trunk/amreviews/language/english/help/index.html Removed Paths: ------------- XoopsModules/amreviews/trunk/amreviews/images/back.gif XoopsModules/amreviews/trunk/amreviews/images/bulb-grey.png XoopsModules/amreviews/trunk/amreviews/images/bulb-yell.png XoopsModules/amreviews/trunk/amreviews/images/del3.png XoopsModules/amreviews/trunk/amreviews/images/edit3.png XoopsModules/amreviews/trunk/amreviews/images/email.gif XoopsModules/amreviews/trunk/amreviews/images/exit.gif XoopsModules/amreviews/trunk/amreviews/images/pdf.gif XoopsModules/amreviews/trunk/amreviews/images/pencil.gif XoopsModules/amreviews/trunk/amreviews/images/print.gif Modified: XoopsModules/amreviews/trunk/amreviews/admin/about.php =================================================================== --- XoopsModules/amreviews/trunk/amreviews/admin/about.php 2012-05-07 04:42:35 UTC (rev 9444) +++ XoopsModules/amreviews/trunk/amreviews/admin/about.php 2012-05-07 04:57:03 UTC (rev 9445) @@ -1,221 +1,31 @@ -<?php -// $Id: about.php,v 1.1 2007/01/24 19:15:42 andrew Exp $ -// ------------------------------------------------------------------------ // -// Author: Andrew Mills // -// Email: aj...@si... // -// About: This file is part of the Articles module for Xoops v2. // -// // -// ------------------------------------------------------------------------ // -// 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 // -// ------------------------------------------------------------------------ // - -include ('../../../include/cp_header.php'); -if ( file_exists("../language/".$xoopsConfig['language']."/main.php") ) { - include "../language/".$xoopsConfig['language']."/main.php"; -} else { - include "../language/english/main.php"; -} -include_once ("functions.inc.php"); -include_once("../include/config.inc.php"); -include_once (XOOPS_ROOT_PATH . "/include/xoopscodes.php"); -include_once (XOOPS_ROOT_PATH . "/class/module.errorhandler.php"); -include_once (XOOPS_ROOT_PATH . "/class/xoopsformloader.php"); -$myts =& MyTextSanitizer::getInstance(); - -// -//----------------------------------------------------------------------------// -// -if(!isset($_REQUEST['op'])) { -xoops_cp_header(); -amrev_adminmenu(0, _AM_AMREV_INDEX); - -?> - -<br /> -<table border="0" cellspacing="1" style="width: 100%;" class="outer"> - <tr> - <th>About</th> - </tr> - <tr> - <td class="odd"> - AM reviews is a review management module for XOOPS v2. - </td> - </tr> -</table> - -<br /> -<table border="0" cellspacing="1" style="width: 100%" class="outer"> - <tr> - <th colspan="2">Version info</th> - </tr> - <tr> - <td class="head" width="100">Version:</td> - <td class="odd"> version in XOOPS: <?php echo round($xoopsModule->getVar('version')/100 , 2); ?>, actual version: <?php echo _AM_AMRVERSION; ?>. </td> - </tr> - <tr> - <td class="head" width="100">Version info:</td> - <td class="odd"> See the <a href="http://support.sirium.net/modules/articles/index.php?cat_id=5" target="_blank">articles section</a> on the module web site for info on this version.</td> - </tr> - <tr> - <td class="head" width="100">Updates:</td> - <td class="odd"> - <a href="#" onclick="javascript:window.open('<?php echo $_SERVER['PHP_SELF']; ?>?op=updates', 'preview', 'height=450,width=650,status=yes,toolbar=no,menubar=no,location=no,scrollbars=yes');">Check for updates</a> - </td> - </tr> - <tr> -</table> - -<br /> -<table border="0" cellspacing="1" style="width: 100%;" class="outer"> - <tr> - <th colspan="2">Support, feature requests and comments</th> - </tr> - <tr> - <td class="head" width="100"><?php /*echo $xoopsModule->getVar('name');*/ ?>Forums:</td> - <td class="odd"> - The <?php echo $xoopsModule->getVar('name'); ?> - <a href="http://support.sirium.net/modules/newbb/index.php?cat=3" target="_blank">support forums</a> - is the preferred support method, I aim to answer all support/feature requests as soon as - possible. - </td> - </tr> - <tr> - <td class="head" width="100">E-mail:</td> - <td class="odd"> - I can also be contacted via the - <a href="http://support.sirium.net/modules/liaise/" target="_blank">contact form on the web site</a>. - </td> - </tr> - <tr> - <td class="head" width="100">General:</td> - <td class="odd"> - Please also check the forums, FAQs and Article pages to see if your problem - and/or question has already been answered. - </td> - </tr> -</table> - -<br /> -<table border="0" cellspacing="1" style="width: 100%;" class="outer"> - <tr> - <th>Credits</th> - </tr> - <tr> - <td class="odd"> - This module is made up from suggestions and ideas from many sources. - - <br/><br> - The idea of this page, and the navigation menu came from the newBB module (v2.0), - and Smartfactory modules, and the module dev documentation.<br> - <br> - <!--Thanks to everyone who has provided translations, ideas, bug reports and - support!--><br> - - </td> - </tr> -</table> - -<?php - -amrev_adminfooter(); -xoops_cp_footer(); -} // thing - -// -//----------------------------------------------------------------------------// -// -if(isset($_REQUEST['op']) AND $_REQUEST['op'] == "updates") { - - if(!@include('http://support.sirium.net/files/xoopsamreviews/version.txt')) { - echo "Sorry, I was unable to get version info!<br /> The server could be unavailable, or your host does not allow remote file fetching.<br />Please visit the main web site <a href=\"http://support.sirium.net/modules/mydownloads/\" target=\"_blank\">here</a>. "; - exit; - } -/* -$version = "0.24"; -$url = "http://support.sirium.net/modules/mydownloads/viewcat.php?cid=2"; -*/ - -/* if(!isset($version)) { - echo "Thingy not set"; - } else { - echo $version; - } -*/ -?> -<div align="center"><input type="button" value=" Close window " onclick="window.close();"></div> -<table border="0" style="width: 100%;"> - <tr> - <th colspan="2">Updates</th> - </tr> - <tr> - <td style="width: 90px; font-weight: bold;">Status:</td> - <td> -<?php - if (_AM_AMRVERSION > $version) { - echo "You are using a newer version than the latest release, you are probably using a test release."; - } - if (_AM_AMRVERSION < $version) { - echo "An update is available."; - } - if (_AM_AMRVERSION == $version) { - echo "You are using the latest version."; - } -?> - </td> - </tr> - <tr> - <td style="width: 90px; font-weight: bold; vertical-align: top;">Details:</td> - <td> - Your version: <?php echo _AM_AMRVERSION; ?><br/> - Available version: <?php echo $version; ?> - </td> - </tr> - <tr> - <td style="width: 90px; font-weight: bold; vertical-align: top;">Download:</td> - <td> - .tar.gz version: <a href="<?php echo $urlzip; ?>" target="_blank">Download</a> page.<br/> - .zip version: <a href="<?php echo $urlgzip; ?>" target="_blank">Download</a> page. - </td> - </tr> - <tr> - <td colspan="2"> - <span style="font-weight: bold;">History:</span><br /> - <pre> -<?php echo $history; ?> - </pre> - - </td> - </tr> -</table> -<div align="center"><input type="button" value=" Close window " onclick="window.close();"></div> - -<?php - -} // end - - - - -?> - \ No newline at end of file +<?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/amreviews/trunk/amreviews/admin/admin_footer.php =================================================================== --- XoopsModules/amreviews/trunk/amreviews/admin/admin_footer.php (rev 0) +++ XoopsModules/amreviews/trunk/amreviews/admin/admin_footer.php 2012-05-07 04:57:03 UTC (rev 9445) @@ -0,0 +1,10 @@ +<?php + +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_MODULEADMIN_ADMIN_FOOTER . "\n" + ."</div>"; + +xoops_cp_footer(); \ No newline at end of file Added: XoopsModules/amreviews/trunk/amreviews/admin/admin_header.php =================================================================== --- XoopsModules/amreviews/trunk/amreviews/admin/admin_header.php (rev 0) +++ XoopsModules/amreviews/trunk/amreviews/admin/admin_header.php 2012-05-07 04:57:03 UTC (rev 9445) @@ -0,0 +1,37 @@ +<?php +### ============================================================= +### Mastop InfoDigital - Paix\xE3o por Internet +### ============================================================= +### Header com includes padr\xF5es para a Admin do M\xF3dulo +### ============================================================= +### Developer: Fernando Santos (topet05), fer...@ma... +### Copyright: Mastop InfoDigital \xA9 2003-2006 +### ------------------------------------------------------------- +### www.mastop.com.br +### ============================================================= +### $Id: admin_header.php,v 1.3 2007/05/15 09:17:05 topet05 Exp $ +### ============================================================= + +$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_MASTOPPUBLISH_MODULEADMIN_MISSING, false); + } \ No newline at end of file Modified: XoopsModules/amreviews/trunk/amreviews/admin/category.php =================================================================== --- XoopsModules/amreviews/trunk/amreviews/admin/category.php 2012-05-07 04:42:35 UTC (rev 9444) +++ XoopsModules/amreviews/trunk/amreviews/admin/category.php 2012-05-07 04:57:03 UTC (rev 9445) @@ -31,12 +31,7 @@ // ------------------------------------------------------------------------ // // includes -include ('../../../include/cp_header.php'); -if ( file_exists("../language/".$xoopsConfig['language']."/main.php") ) { - include ("../language/".$xoopsConfig['language']."/main.php"); -} else { - include ("../language/english/main.php"); -} +include_once 'admin_header.php'; include_once("functions.inc.php"); include_once("../include/config.inc.php"); include_once (XOOPS_ROOT_PATH . "/class/xoopstree.php"); @@ -48,17 +43,21 @@ if (!isset($_REQUEST['op'])) { xoops_cp_header(); -amrev_adminmenu(1, _AM_AMREV_CAT); - /** * List categories * */ $class = ""; echo "<table border=\"0\" width=\"100%\" cellspacing=\"1\" class=\"outer\">"; - echo "<tr><th colspan=\"5\">" . _AM_AMREV_CATTBLCAP . "</th></td>"; +echo "<th colspan=\"5\">" . _AM_AMREV_CATTBLCAP . "</th></td>"; + echo "<tr><td class=\"head\" style=\"text-align: center;\">". _AM_AMREW_REVCAPID ."</td>"; + echo "<td class=\"head\" style=\"text-align: center;\">". _AM_AMREW_REVCAPTTL ."</td>"; + echo "<td class=\"head\" style=\"text-align: center;\">". _AM_AMREW_REVCAP_VISIBLE ."</td>"; + echo "<td class=\"head\" style=\"text-align: center;\">". _AM_AMREW_REVCAP_ACTIONS ."</td>"; + echo "</tr>"; + ## ## @@ -87,7 +86,7 @@ echo "<tr>"; echo "<td style=\"text-align: center; width: 20px;\" class=\"" . $rowclass . "\">" . $cats_arr[$tmpcpt]['id'] . "</td>"; - + if($cats_arr[$tmpcpt]['cat_parentid']!=0) { $cats_arr[$tmpcpt]['prefix'] = str_replace(".","-",$cats_arr[$tmpcpt]['prefix']) . ' '; //echo "thing1"; @@ -99,16 +98,16 @@ echo "<td class=\"" . $rowclass . "\">" . $cats_arr[$tmpcpt]['prefix'] . $cats_arr[$tmpcpt]['cat_title'] . "</td>"; if ($cats_arr[$tmpcpt]['cat_showme'] == 1) { - $bulb = "bulb-yell.png"; + $bulb = "1.png"; $alttxt = _AM_AMREV_STATUSSHOW; } else { - $bulb = "bulb-grey.png"; + $bulb = "0.png"; $alttxt = _AM_AMREV_STATUSHIDE; } - echo "<td style=\"text-align: center; width: 20px;\" class=\"" . $rowclass . "\"><img src=\"../images/" . $bulb . "\" title=\"". $alttxt ."\" alt=\"". $alttxt ."\"></td>"; - echo "<td style=\"text-align: center; width: 20px;\" class=\"" . $rowclass . "\"><a href=\"" . $_SERVER['PHP_SELF'] . "?op=edit&id=" . $cats_arr[$tmpcpt]['id'] . "\"><img src=\"/modules/amreviews/images/edit3.png\" title=\"Click to edit\" /></a></td>"; - echo "<td style=\"text-align: center; width: 20px;\" class=\"" . $rowclass . "\"><a href=\"" . $_SERVER['PHP_SELF'] . "?op=del&id=" . $cats_arr[$tmpcpt]['id'] . "\"><img src=\"/modules/amreviews/images/del3.png\" title=\"Click to delete\" /></a></td>"; + echo "<td style=\"text-align: center; width: 20px;\" class=\"" . $rowclass . "\"><img src=".$pathIcon16.'/'.$bulb. " title=\"". $alttxt ."\" alt=\"". $alttxt ."\"></td>"; + echo "<td style=\"text-align: center; width: 20px;\" class=\"" . $rowclass . "\"><a href=\"" . $_SERVER['PHP_SELF'] . "?op=edit&id=" . $cats_arr[$tmpcpt]['id'] . "\"><img src=".$pathIcon16."/edit.png title=\"Click to edit\" /></a>" + ."<a href=\"" . $_SERVER['PHP_SELF'] . "?op=del&id=" . $cats_arr[$tmpcpt]['id'] . "\"><img src=".$pathIcon16."/delete.png title=\"Click to delete\" /></a></td>"; echo "</tr>"; //$rowclass = ($rowclass == 'even') ? 'odd' : 'even'; @@ -132,7 +131,7 @@ include_once("catform.inc.php"); amrev_adminfooter(); -xoops_cp_footer(); +include_once 'admin_footer.php'; } // end if //----------------------------------------------------------------------------// @@ -142,7 +141,6 @@ */ if (isset($_REQUEST['op']) AND $_REQUEST['op'] == "save") { xoops_cp_header(); -//amrev_adminmenu(1, _AM_AMREV_CAT); if (isset($_POST['formdata'])) { $formdata = $_POST['formdata']; } else { $formdata = ""; } @@ -186,15 +184,14 @@ */ if (isset($_REQUEST['op']) AND $_REQUEST['op'] == "edit") { //xoops_cp_header(); -//amrev_adminmenu(1, _AM_AMREV_CAT); + /** * Load form if subop not set. */ if (!isset($_REQUEST['subop'])) { xoops_cp_header(); - //amrev_adminmenu(1, _AM_AMREV_CAT); - + if (isset($_GET['id'])) { $id = $_GET['id']; } else { $id = ""; } @@ -270,8 +267,8 @@ */ if (isset($_REQUEST['op']) AND $_REQUEST['op'] == "del") { //xoops_cp_header(); -//amrev_adminmenu(1, _AM_AMREV_CAT); + if (isset($_REQUEST['id'])) { $id = intval($_REQUEST['id']); } else { $id = ""; } Modified: XoopsModules/amreviews/trunk/amreviews/admin/functions.inc.php =================================================================== --- XoopsModules/amreviews/trunk/amreviews/admin/functions.inc.php 2012-05-07 04:42:35 UTC (rev 9444) +++ XoopsModules/amreviews/trunk/amreviews/admin/functions.inc.php 2012-05-07 04:57:03 UTC (rev 9445) @@ -33,73 +33,6 @@ // includes //include_once("header.php"); -/** -* This file holds admin functions only. -*/ - -/** -* Admin header. -*/ -function amrev_adminmenu($currentoption="0", $breadcrumb) { -global $xoopsModule, $xoopsConfig; - - /* Nice buttons styles */ - echo " - <style type='text/css'> - #buttontop { float:left; width:100%; background: #e7e7e7; font-size:93%; line-height:normal; border-top: 1px solid black; border-left: 1px solid black; border-right: 1px solid black; margin: 0; } - #buttonbar { float:left; width:100%; background: #e7e7e7 url('" . XOOPS_URL . "/modules/"._AM_AMRMODDIR."/images/bg.png') repeat-x left bottom; font-size:93%; line-height:normal; border-left: 1px solid black; border-right: 1px solid black; margin-bottom: 12px; } - #buttonbar ul { margin:0; margin-top: 15px; padding:10px 10px 0; list-style:none; } - #buttonbar li { display:inline; margin:0; padding:0; } - #buttonbar a { float:left; background:url('" . XOOPS_URL . "/modules/"._AM_AMRMODDIR."/images/left_both.png') no-repeat left top; margin:0; padding:0 0 0 9px; border-bottom:1px solid #000; text-decoration:none; } - #buttonbar a span { float:left; display:block; background:url('" . XOOPS_URL . "/modules/"._AM_AMRMODDIR."/images/right_both.png') no-repeat right top; padding:5px 15px 4px 6px; font-weight:bold; color:#765; } - /* Commented Backslash Hack hides rule from IE5-Mac \*/ - #buttonbar a span {float:none;} - /* End IE5-Mac hack */ - #buttonbar a:hover span { color:#333; } - #buttonbar #current a { background-position:0 -150px; border-width:0; } - #buttonbar #current a span { background-position:100% -150px; padding-bottom:5px; color:#333; } - #buttonbar a:hover { background-position:0% -150px; } - #buttonbar a:hover span { background-position:100% -150px; } - </style> - "; - - $tblColors = Array(); - $tblColors[0] = $tblColors[1] = $tblColors[2] = $tblColors[3] = $tblColors[4] = $tblColors[5] = $tblColors[6] = $tblColors[7] = $tblColors[8] = ''; - //$tblColors[$currentoption] = 'current'; - if($currentoption>=0) { - $tblColors[$currentoption] = 'current'; - } - - if (file_exists(XOOPS_ROOT_PATH . '/modules/'._AM_AMRMODDIR.'/language/' . $xoopsConfig['language'] . '/modinfo.php')) { - include_once XOOPS_ROOT_PATH. '/modules/'._AM_AMRMODDIR.'/language/' . $xoopsConfig['language'] . '/modinfo.php'; - } else { - include_once XOOPS_ROOT_PATH . '/modules/'._AM_AMRMODDIR.'/language/english/modinfo.php'; - } - - echo "<div id='buttontop'>"; - echo "<table border=\"0\" style=\"width: 100%; padding: 0; \" cellspacing=\"0\"><tr>"; - echo "<td style=\"width: 60%; font-size: 10px; text-align: left; color: #2F5376; padding: 0 6px; line-height: 18px;\"><a class=\"nobutton\" href=\"../../system/admin.php?fct=preferences&op=showmod&mod=".$xoopsModule->getVar('mid')."\">" . _AM_AMREV_GENERALSET . "</a> | <a href=\"../index.php\">" . _AM_AMREV_GOTOMOD . "</a> | <a href=\"about.php\">" . _AM_AMREV_ABOUT . "</a> | <a href=\"#\">" . _AM_AMREV_HELP . "</a></td>"; - echo "<td style=\"width: 40%; font-size: 10px; text-align: right; color: #2F5376; padding: 0 6px; line-height: 18px;\"><b>" . $xoopsModule->name() . " " . _AM_AMREV_MODULEADMIN . "</b> " . $breadcrumb . "</td>"; - echo "</tr></table>"; - echo "</div>"; - - echo "<div id='buttonbar'>"; - echo "<ul>"; - echo "<li id='" . $tblColors[0] . "'><a href=\"index.php\"\"><span>" . _AM_AMREV_INDEX . "</span></a></li>\n"; - echo "<li id='" . $tblColors[1] . "'><a href=\"category.php\"><span>" . _AM_AMREV_CAT . "</span></a></li>\n"; - echo "<li id='" . $tblColors[2] . "'><a href=\"review.php\"><span>" . _AM_AMREV_REVIEWS . "</span></a></li>\n"; - echo "<li id='" . $tblColors[3] . "'><a href=\"image.php\"><span>" . _MI_AMREV_IMAGES . "</span></a></li>\n"; - echo "<li id='" . $tblColors[4] . "'><a href=\"perms.php\"><span>" . _AM_AMREV_PERMS . "</span></a></li>\n"; - //echo "<li id='" . $tblColors[5] . "'><a href=\"index.php\"><span>" . _MI_ . "</span></a></li>\n"; - //echo "<li id='" . $tblColors[6] . "'><a href=\"index.php\"><span>" . _MI_ . "</span></a></li>\n"; - - echo "</ul></div>"; - echo "<br /><br /><pre> </pre><pre> </pre>"; - -} // end function - -//----------------------------------------------------------------------------// - function amrev_adminfooter() { global $xoopsModule; Modified: XoopsModules/amreviews/trunk/amreviews/admin/image.php =================================================================== --- XoopsModules/amreviews/trunk/amreviews/admin/image.php 2012-05-07 04:42:35 UTC (rev 9444) +++ XoopsModules/amreviews/trunk/amreviews/admin/image.php 2012-05-07 04:57:03 UTC (rev 9445) @@ -31,12 +31,8 @@ // ------------------------------------------------------------------------ // // includes -include ('../../../include/cp_header.php'); -if ( file_exists("../language/".$xoopsConfig['language']."/main.php") ) { - include ("../language/".$xoopsConfig['language']."/main.php"); -} else { - include ("../language/english/main.php"); -} +include_once 'admin_header.php'; + include_once("functions.inc.php"); include_once("../include/config.inc.php"); include_once (XOOPS_ROOT_PATH . "/class/xoopstree.php"); @@ -52,7 +48,6 @@ if (!isset($_REQUEST['op'])) { xoops_cp_header(); -amrev_adminmenu(3, _MI_AMREV_IMAGES); //echo XOOPS_ROOT_PATH . $xoopsModuleConfig['photopath'] . $destfilename; //echo XOOPS_ROOT_PATH ."/modules/". _AM_AMRMODDIR . "/cache/"; @@ -175,7 +170,7 @@ amrev_adminfooter(); -xoops_cp_footer(); +include_once 'admin_footer.php'; } // end if @@ -184,7 +179,6 @@ if (isset($_REQUEST['op']) AND $_REQUEST['op'] == "upload") { xoops_cp_header(); -//amrev_adminmenu(3, _MI_AMREV_IMAGES); #if (isset($_REQUEST['uploadfile'])) { $uploadfile = $_REQUEST['uploadfile']; } # else { $uploadfile = ""; } @@ -361,7 +355,6 @@ if (isset($_REQUEST['op']) AND $_REQUEST['op'] == "delimage") { //xoops_cp_header(); -//amrev_adminmenu(3, _MI_AMREV_IMAGES); /* if (isset($_REQUEST['formdata'])) { $formdata = $_REQUEST['formdata']; } Modified: XoopsModules/amreviews/trunk/amreviews/admin/index.php =================================================================== --- XoopsModules/amreviews/trunk/amreviews/admin/index.php 2012-05-07 04:42:35 UTC (rev 9444) +++ XoopsModules/amreviews/trunk/amreviews/admin/index.php 2012-05-07 04:57:03 UTC (rev 9445) @@ -1,11 +1,6 @@ <?php -// $Id: index.php,v 1.3 2007/01/24 19:15:59 andrew Exp $ +// $Id: index.php 8066 2011-11-06 05:09:33Z beckmi $ // ------------------------------------------------------------------------ // -// Author: Andrew Mills // -// Email: aj...@si... // -// About: This file is part of the AM Reviews module for Xoops v2. // -// // -// ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // // <http://www.xoops.org/> // @@ -29,59 +24,33 @@ // 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 // +// ------------------------------------------------------------------------- // -// includes -include ('../../../include/cp_header.php'); -if ( file_exists("../language/".$xoopsConfig['language']."/main.php") ) { - include ("../language/".$xoopsConfig['language']."/main.php"); -} else { - include ("../language/english/main.php"); -} +include_once 'admin_header.php'; include_once("functions.inc.php"); include_once("../include/config.inc.php"); - xoops_cp_header(); -amrev_adminmenu(0, _AM_AMREV_INDEX); -/** -* Summary -*/ $summary = amr_summary(); -/* -echo "<fieldset>"; -echo "<legend style=\"color: #990000; font-weight: bold;\">" . _AM_AMREV_SUMMARY . "</legend>"; -echo "<ul>"; -echo "<li>" . _AM_AMREV_WAITVAL . $summary['waitval'] . "</li>"; -echo "<li>" . _AM_AMREV_REVIEWTOT . $summary['revcount'] . "</li>"; -echo "<li>" . _AM_AMREV_CATETOT . $summary['catcount'] . "</li>"; -echo "</ul>"; -echo "</fieldset><br />"; -*/ +$indexAdmin = new ModuleAdmin(); +//----------------------- + $indexAdmin->addInfoBox(_AM_AMREV_SUMMARY); -echo "<table width=\"100%\" cellspacing=\"1\" class=\"outer\">"; -echo "<tr><th colspan=\"2\">" . _AM_AMREV_SUMMARY . "</th></tr>"; -echo "<tr><td class=\"head\">". _AM_AMREV_WAITVALCAP ."</td><td class=\"odd\">" . sprintf(_AM_AMREV_WAITVAL, $summary['waitval']) . "</td></tr>"; -echo "<tr><td class=\"head\">". _AM_AMREV_REVIEWTOTCAP ."</td><td class=\"odd\">" . sprintf(_AM_AMREV_REVIEWTOT, $summary['revcount']) . "</td></tr>"; -echo "<tr><td class=\"head\">". _AM_AMREV_CATETOTCAP ."</td><td class=\"odd\">" . sprintf(_AM_AMREV_CATETOT, $summary['catcount']) . "</td></tr>"; -echo "<tr><td class=\"head\">". _AM_AMREV_VIEWSCAP ."</td><td class=\"odd\">" . sprintf(_AM_AMREV_VIEWS, $summary['views']) . "</td></tr>"; -echo "<tr><td class=\"head\">". _AM_AMREV_PUBLISHEDCAP ."</td><td class=\"odd\">" . sprintf(_AM_AMREV_PUBLISHED, $summary['published']) . "</td></tr>"; -echo "<tr><td class=\"head\">". _AM_AMREV_HIDDENCAP ."</td><td class=\"odd\">" . sprintf(_AM_AMREV_HIDDEN, $summary['hidden']) . "</td></tr>"; -echo "</table><br />"; + $indexAdmin->addInfoBoxLine(_AM_AMREV_SUMMARY, "<b>"._AM_AMREV_WAITVALCAP ."</b> ". sprintf(_AM_AMREV_WAITVAL,$summary['waitval']), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_AMREV_SUMMARY, "<b>"._AM_AMREV_REVIEWTOTCAP ."</b> ". sprintf(_AM_AMREV_REVIEWTOT, $summary['revcount']), 'Red'); +$indexAdmin->addInfoBoxLine(_AM_AMREV_SUMMARY, "<b>"._AM_AMREV_CATETOTCAP ."</b> ". sprintf(_AM_AMREV_CATETOT, $summary['catcount']), 'Red'); +$indexAdmin->addInfoBoxLine(_AM_AMREV_SUMMARY, "<b>"._AM_AMREV_VIEWSCAP ."</b> ". sprintf(_AM_AMREV_VIEWS, $summary['views']), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_AMREV_SUMMARY, "<b>"._AM_AMREV_PUBLISHEDCAP ."</b> ". sprintf(_AM_AMREV_PUBLISHED, $summary['published']), 'Red'); + $indexAdmin->addInfoBoxLine(_AM_AMREV_SUMMARY, "<b>"._AM_AMREV_HIDDENCAP ."</b> ". sprintf(_AM_AMREV_HIDDEN, $summary['hidden'])); +//---------------------------- - - - - -/** -* Do some tests -*/ +echo $indexAdmin->addNavigation('index.php'); +echo $indexAdmin->renderIndex(); amr_filechecks(); - - -amrev_adminfooter(); -xoops_cp_footer(); - -?> \ No newline at end of file +include 'admin_footer.php'; +//xoops_cp_footer(); \ No newline at end of file Added: XoopsModules/amreviews/trunk/amreviews/admin/main.php =================================================================== --- XoopsModules/amreviews/trunk/amreviews/admin/main.php (rev 0) +++ XoopsModules/amreviews/trunk/amreviews/admin/main.php 2012-05-07 04:57:03 UTC (rev 9445) @@ -0,0 +1,86 @@ +<?php +// $Id: main.php,v 1.3 2007/01/24 19:15:59 andrew Exp $ +// ------------------------------------------------------------------------ // +// Author: Andrew Mills // +// Email: aj...@si... // +// About: This file is part of the AM Reviews module for Xoops v2. // +// // +// ------------------------------------------------------------------------ // +// 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 // +// ------------------------------------------------------------------------ // + +// includes +include ('../../../include/cp_header.php'); +if ( file_exists("../language/".$xoopsConfig['language']."/main.php") ) { + include ("../language/".$xoopsConfig['language']."/main.php"); +} else { + include ("../language/english/main.php"); +} +include_once("functions.inc.php"); +include_once("../include/config.inc.php"); + +xoops_cp_header(); + +/** +* Summary +*/ +$summary = amr_summary(); +/* +echo "<fieldset>"; +echo "<legend style=\"color: #990000; font-weight: bold;\">" . _AM_AMREV_SUMMARY . "</legend>"; + +echo "<ul>"; +echo "<li>" . _AM_AMREV_WAITVAL . $summary['waitval'] . "</li>"; +echo "<li>" . _AM_AMREV_REVIEWTOT . $summary['revcount'] . "</li>"; +echo "<li>" . _AM_AMREV_CATETOT . $summary['catcount'] . "</li>"; +echo "</ul>"; +echo "</fieldset><br />"; +*/ + +echo "<table width=\"100%\" cellspacing=\"1\" class=\"outer\">"; +echo "<tr><th colspan=\"2\">" . _AM_AMREV_SUMMARY . "</th></tr>"; +echo "<tr><td class=\"head\">". _AM_AMREV_WAITVALCAP ."</td><td class=\"odd\">" . sprintf(_AM_AMREV_WAITVAL, $summary['waitval']) . "</td></tr>"; +echo "<tr><td class=\"head\">". _AM_AMREV_REVIEWTOTCAP ."</td><td class=\"odd\">" . sprintf(_AM_AMREV_REVIEWTOT, $summary['revcount']) . "</td></tr>"; +echo "<tr><td class=\"head\">". _AM_AMREV_CATETOTCAP ."</td><td class=\"odd\">" . sprintf(_AM_AMREV_CATETOT, $summary['catcount']) . "</td></tr>"; +echo "<tr><td class=\"head\">". _AM_AMREV_VIEWSCAP ."</td><td class=\"odd\">" . sprintf(_AM_AMREV_VIEWS, $summary['views']) . "</td></tr>"; +echo "<tr><td class=\"head\">". _AM_AMREV_PUBLISHEDCAP ."</td><td class=\"odd\">" . sprintf(_AM_AMREV_PUBLISHED, $summary['published']) . "</td></tr>"; +echo "<tr><td class=\"head\">". _AM_AMREV_HIDDENCAP ."</td><td class=\"odd\">" . sprintf(_AM_AMREV_HIDDEN, $summary['hidden']) . "</td></tr>"; +echo "</table><br />"; + + + + + + +/** +* Do some tests +*/ +amr_filechecks(); + + + +amrev_adminfooter(); +xoops_cp_footer(); + +?> \ No newline at end of file Modified: XoopsModules/amreviews/trunk/amreviews/admin/menu.php =================================================================== --- XoopsModules/amreviews/trunk/amreviews/admin/menu.php 2012-05-07 04:42:35 UTC (rev 9444) +++ XoopsModules/amreviews/trunk/amreviews/admin/menu.php 2012-05-07 04:57:03 UTC (rev 9445) @@ -29,18 +29,57 @@ // along with this program; if not, write to the Free Software // // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // ------------------------------------------------------------------------ // +defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined"); -$adminmenu[0]['title'] = _MI_AMREVIEW_MENU1; -$adminmenu[0]['link'] = "admin/index.php"; -$adminmenu[1]['title'] = _MI_AMREVIEW_MENU2; -$adminmenu[1]['link'] = "admin/category.php"; -$adminmenu[2]['title'] = _MI_AMREVIEW_MENU3; -$adminmenu[2]['link'] = "admin/review.php"; -$adminmenu[3]['title'] = _MI_AMREVIEW_MENU4; -$adminmenu[3]['link'] = "admin/image.php"; -$adminmenu[4]['title'] = _MI_AMREVIEW_MENU5; -$adminmenu[4]['link'] = "admin/perms.php"; +$path = dirname(dirname(dirname(dirname(__FILE__)))); +include_once $path . '/mainfile.php'; +$dirname = basename(dirname(dirname(__FILE__))); +$module_handler = xoops_gethandler('module'); +$module = $module_handler->getByDirname($dirname); +$pathIcon32 = $module->getInfo('icons32'); +$pathModuleAdmin = $module->getInfo('dirmoduleadmin'); +$pathLanguage = $path . $pathModuleAdmin; -?> \ No newline at end of file +if (!file_exists($fileinc = $pathLanguage . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/' . 'main.php')) { + $fileinc = $pathLanguage . '/language/english/main.php'; +} + +include_once $fileinc; + +$adminmenu = array(); + +$i= 1; + +$adminmenu[$i]["title"] = _AM_MODULEADMIN_HOME; +$adminmenu[$i]["link"] = 'admin/index.php'; +$adminmenu[$i]["icon"] = $pathIcon32 . '/home.png'; + +//$i++; +//$adminmenu[$i]["title"] =_MI_AMREVIEW_MENU1; +//$adminmenu[$i]["link"] = 'admin/main.php'; +//$adminmenu[$i]["icon"] = $pathIcon32.'/home.png'; + +$i++; +$adminmenu[$i]["title"] =_MI_AMREVIEW_MENU2; +$adminmenu[$i]["link"] = 'admin/category.php'; +$adminmenu[$i]["icon"] = $pathIcon32.'/category.png'; + +$i++; +$adminmenu[$i]["title"] = _MI_AMREVIEW_MENU3; +$adminmenu[$i]["link"] = 'admin/review.php'; +$adminmenu[$i]["icon"] = $pathIcon32.'/button_ok.png'; +$i++; +$adminmenu[$i]["title"] = _MI_AMREVIEW_MENU4; +$adminmenu[$i]["link"] = 'admin/image.php'; +$adminmenu[$i]["icon"] = $pathIcon32.'/photo.png'; +$i++; +$adminmenu[$i]["title"] = _MI_AMREVIEW_MENU5; +$adminmenu[$i]["link"] = 'admin/perms.php'; +$adminmenu[$i]["icon"] = $pathIcon32.'/permissions.png'; + +$i++; +$adminmenu[$i]['title'] = _AM_MODULEADMIN_ABOUT; +$adminmenu[$i]["link"] = 'admin/about.php'; +$adminmenu[$i]["icon"] = $pathIcon32 . '/about.png'; \ No newline at end of file Modified: XoopsModules/amreviews/trunk/amreviews/admin/perms.php =================================================================== --- XoopsModules/amreviews/trunk/amreviews/admin/perms.php 2012-05-07 04:42:35 UTC (rev 9444) +++ XoopsModules/amreviews/trunk/amreviews/admin/perms.php 2012-05-07 04:57:03 UTC (rev 9445) @@ -31,12 +31,7 @@ // ------------------------------------------------------------------------ // // includes -include ('../../../include/cp_header.php'); -if ( file_exists("../language/".$xoopsConfig['language']."/main.php") ) { - include ("../language/".$xoopsConfig['language']."/main.php"); -} else { - include ("../language/english/main.php"); -} +include_once 'admin_header.php'; include_once("functions.inc.php"); include_once("../include/config.inc.php"); //include_once (XOOPS_ROOT_PATH . "/class/xoopstree.php"); @@ -52,7 +47,6 @@ if (!isset($_REQUEST['op'])) { xoops_cp_header(); -amrev_adminmenu(4, _AM_AMREV_PERMS); /** * For my reference, and anyone else's - how to use group perms: @@ -123,7 +117,7 @@ amrev_adminfooter(); -xoops_cp_footer(); +include_once 'admin_footer.php'; } // Modified: XoopsModules/amreviews/trunk/amreviews/admin/review.php =================================================================== --- XoopsModules/amreviews/trunk/amreviews/admin/review.php 2012-05-07 04:42:35 UTC (rev 9444) +++ XoopsModules/amreviews/trunk/amreviews/admin/review.php 2012-05-07 04:57:03 UTC (rev 9445) @@ -31,12 +31,7 @@ // ------------------------------------------------------------------------ // // includes -include ('../../../include/cp_header.php'); -if ( file_exists("../language/".$xoopsConfig['language']."/main.php") ) { - include ("../language/".$xoopsConfig['language']."/main.php"); -} else { - include ("../language/english/main.php"); -} +include_once 'admin_header.php'; include_once("functions.inc.php"); include_once("../include/config.inc.php"); include_once (XOOPS_ROOT_PATH . "/class/xoopstree.php"); @@ -48,7 +43,6 @@ if (!isset($_REQUEST['op'])) { xoops_cp_header(); -amrev_adminmenu(2, _AM_AMREV_REVIEWS); $rowclass = ""; @@ -57,9 +51,9 @@ echo "<tr>"; echo "<td class=\"head\" style=\"text-align: center;\">". _AM_AMREW_REVCAPID ."</td>"; echo "<td class=\"head\" style=\"text-align: center;\">". _AM_AMREW_REVCAPTTL ."</td>"; - echo "<td class=\"head\"></td>"; - echo "<td class=\"head\"></td>"; - echo "<td class=\"head\"></td>"; + echo "<td class=\"head\" style=\"text-align: center;\">". _AM_AMREW_REVCAP_VISIBLE ."</td>"; + echo "<td class=\"head\" style=\"text-align: center;\">". _AM_AMREW_REVCAP_ACTIONS ."</td>"; +// echo "<td class=\"head\"></td>"; echo "</tr>"; $sql = ("SELECT * FROM " .$xoopsDB->prefix('amreview_reviews') . " "); @@ -75,16 +69,16 @@ echo "<td class=\"". $rowclass ."\"><a href=\"javascript:;\" onclick=\"javascript:window.open('review.php?op=preview&id=". $myrow['id'] ."', 'preview', 'height=500,width=650,status=yes,scrollbars=yes,toolbar=no,menubar=no,location=no,scrollbars=yes');\" title=\"". _AM_AMR_FRMCAPLNKPRVW ."\">". $myrow['title'] ."</a></td>"; if ($myrow['showme'] == 1) { - $bulb = "bulb-yell.png"; + $bulb = "1.png"; $alttxt = _AM_AMREV_STATUSSHOW; } else { - $bulb = "bulb-grey.png"; + $bulb = "0.png"; $alttxt = _AM_AMREV_STATUSHIDE; } - echo "<td style=\"text-align: center; width: 20px;\" class=\"". $rowclass ."\"><img src=\"../images/". $bulb ."\" title=\"". $alttxt ."\" alt=\"". $alttxt ."\" width=\"16\" height=\"16\" /></td>"; - echo "<td style=\"text-align: center; width: 20px;\" class=\"". $rowclass ."\"><a href=\"review.php?op=edit&id=". $myrow['id'] ."\"><img src=\"../images/edit3.png\" alt=\"". _AM_AMREV_CLICKEDIT ."\" title=\"". _AM_AMREV_CLICKEDIT ."\" width=\"16\" height=\"16\" /></a></td>"; - echo "<td style=\"text-align: center; width: 20px;\" class=\"". $rowclass ."\"><a href=\"review.php?op=del&id=". $myrow['id'] ."\"><img src=\"../images/del3.png\" alt=\"". _AM_AMREV_CLICKDELETE ."\" title=\"". _AM_AMREV_CLICKDELETE ."\" width=\"16\" height=\"16\" /></a></td>"; + echo "<td style=\"text-align: center; width: 20px;\" class=\"". $rowclass ."\"><img src=".$pathIcon16.'/'.$bulb. " title=\"". $alttxt ."\" alt=\"". $alttxt ."\" width=\"16\" height=\"16\" /></td>"; + echo "<td style=\"text-align: center; width: 20px;\" class=\"". $rowclass ."\"><a href=\"review.php?op=edit&id=". $myrow['id'] ."\"><img src=".$pathIcon16."/edit.png alt=\"". _AM_AMREV_CLICKEDIT ."\" title=\"". _AM_AMREV_CLICKEDIT ."\" width=\"16\" height=\"16\" /></a>" + ."<a href=\"review.php?op=del&id=". $myrow['id'] ."\"><img src=".$pathIcon16."/delete.png alt=\"". _AM_AMREV_CLICKDELETE ."\" title=\"". _AM_AMREV_CLICKDELETE ."\" width=\"16\" height=\"16\" /></a></td>"; echo "</tr>"; } } @@ -102,7 +96,7 @@ include_once("reviewform.inc.php"); amrev_adminfooter(); -xoops_cp_footer(); +include_once 'admin_footer.php'; } // end if //----------------------------------------------------------------------------// @@ -112,8 +106,8 @@ */ if (isset($_REQUEST['op']) AND $_REQUEST['op'] == "save") { xoops_cp_header(); -//amrev_adminmenu(1, _AM_AMREV_CAT); + if (isset($_POST['formdata'])) { $formdata = $_POST['formdata']; } else { $formdata = ""; } @@ -338,7 +332,7 @@ */ if (!isset($_REQUEST['subop'])) { xoops_cp_header(); - amrev_adminmenu(2, _AM_AMREV_REVIEWS); + if (isset($_GET['id'])) { $id = intval($_GET['id']); } else { $id = ""; } @@ -393,7 +387,7 @@ include_once("reviewform.inc.php"); amrev_adminfooter(); - xoops_cp_footer(); + include_once 'admin_footer.php'; } // end if no subop /** @@ -555,7 +549,6 @@ */ if (isset($_REQUEST['op']) AND $_REQUEST['op'] == "del") { //xoops_cp_header(); -//amrev_adminmenu(1, _AM_AMREV_CAT); if (isset($_REQUEST['id'])) { $id = intval($_REQUEST['id']); } else { $id = ""; } Added: XoopsModules/amreviews/trunk/amreviews/docs/changelog.txt =================================================================== --- XoopsModules/amreviews/trunk/amreviews/docs/changelog.txt (rev 0) +++ XoopsModules/amreviews/trunk/amreviews/docs/changelog.txt 2012-05-07 04:57:03 UTC (rev 9445) @@ -0,0 +1,7 @@ +<b><u>Version 0.1 Alpha 2 (2012-05-06)</u></b> + +- converted to XOOPS 2.5.x Admin GUI (mamba) + +<b><u>Version 0.1. Alpha 1 (2007-01-24)</u></b> + +- First Alpha release of the module. \ No newline at end of file Added: XoopsModules/amreviews/trunk/amreviews/docs/credits.txt =================================================================== --- XoopsModules/amreviews/trunk/amreviews/docs/credits.txt (rev 0) +++ XoopsModules/amreviews/trunk/amreviews/docs/credits.txt 2012-05-07 04:57:03 UTC (rev 9445) @@ -0,0 +1,6 @@ +CREDITS: +========= + +This module is made up from suggestions and ideas from many sources. + +The idea of this page, and the navigation menu came from the newBB module (v2.0), and Smartfactory modules, and the module dev documentation. \ No newline at end of file Added: XoopsModules/amreviews/trunk/amreviews/docs/index.html =================================================================== --- XoopsModules/amreviews/trunk/amreviews/docs/index.html (rev 0) +++ XoopsModules/amreviews/trunk/amreviews/docs/index.html 2012-05-07 04:57:03 UTC (rev 9445) @@ -0,0 +1 @@ +<script>history.go(-1);</script> Added: XoopsModules/amreviews/trunk/amreviews/docs/readme.txt =================================================================== --- XoopsModules/amreviews/trunk/amreviews/docs/readme.txt (rev 0) +++ XoopsModules/amreviews/trunk/amreviews/docs/readme.txt 2012-05-07 04:57:03 UTC (rev 9445) @@ -0,0 +1,32 @@ +What is mymenus module (v1.0) ? +====================== +Mymenus is menu manager module that allows you to display dynamic or static menus in your website. + + +Features +====================== +- pluggable skins (skins are menu layouts, they can be navigation menus, breadcrumbs or sitemaps) +- pluggable plugins (title and links decorators for integration of module features) +- infinite menus levels(nested menus) +- auto selected menus(menus are highlighted depending on the page you are in) +- ability to assign a menu to a smarty variable(you can use my menus has a block or use it inside your theme or templates) +- ability to get a skin from the current theme folder(theme/mytheme/menu/scripts go here) +- and much more + + +Requirements +==================== +Requires xoops 2.4.x and php5 + + +How to install mymenus +==================== +Copy mymenus folder into the /modules directory of your website. +Log in to your site as administrator, go to System Admin > Modules, look for the mymenus +icon in the list of uninstalled modules and click in the install icon. +Follow the directions in the screen and you'll be ready to go. + + +Usage and developing documentation +====================== +Please refer to docs folder for more information. \ No newline at end of file Deleted: XoopsModules/amreviews/trunk/amreviews/images/back.gif =================================================================== (Binary files differ) Deleted: XoopsModules/amreviews/trunk/amreviews/images/bulb-grey.png =================================================================== (Binary files differ) Deleted: XoopsModules/amreviews/trunk/amreviews/images/bulb-yell.png =================================================================== (Binary files differ) Deleted: XoopsModules/amreviews/trunk/amreviews/images/del3.png =================================================================== (Binary files differ) Deleted: XoopsModules/amreviews/trunk/amreviews/images/edit3.png =================================================================== (Binary files differ) Deleted: XoopsModules/amreviews/trunk/amreviews/images/email.gif =================================================================== (Binary files differ) Deleted: XoopsModules/amreviews/trunk/amreviews/images/exit.gif =================================================================== (Binary files differ) Deleted: XoopsModules/amreviews/trunk/amreviews/images/pdf.gif =================================================================== (Binary files differ) Deleted: XoopsModules/amreviews/trunk/amreviews/images/pencil.gif =================================================================== (Binary files differ) Deleted: XoopsModules/amreviews/trunk/amreviews/images/print.gif =================================================================== (Binary files differ) Modified: XoopsModules/amreviews/trunk/amreviews/language/english/admin.php =================================================================== --- XoopsModules/amreviews/trunk/amreviews/language/english/admin.php 2012-05-07 04:42:35 UTC (rev 9444) +++ XoopsModules/amreviews/trunk/amreviews/language/english/admin.php 2012-05-07 04:57:03 UTC (rev 9445) @@ -205,6 +205,7 @@ define("_AM_AMREV_CATPERMTTL", "Category permissions"); define("_AM_AMREV_CATPERMDSC", "Select who can view which category:"); +// 0.1 Alpha 2 - -?> \ No newline at end of file +define("_AM_AMREW_REVCAP_VISIBLE", "Visible:"); +define("_AM_AMREW_REVCAP_ACTIONS", "Actions:"); Added: XoopsModules/amreviews/trunk/amreviews/language/english/help/help.html =================================================================== --- XoopsModules/amreviews/trunk/amreviews/language/english/help/help.html (rev 0) +++ XoopsModules/amreviews/trunk/amreviews/language/english/help/help.html 2012-05-07 04:57:03 UTC (rev 9445) @@ -0,0 +1,33 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/amreviews/admin/index.php" + title="Back to the administration of AM Reviews"> AM Reviews + <img src="<{xoAdminIcons home.png}>" + alt="Back to the Administration of AM Reviews"/> + </a></h1> + + <!-- -----Help Content ---------- --> + <h4 class="odd">Description</h4> + + <p class="even">AM Reviews is a XOOPS module that allows site owners to display and manage reviews on products or services.</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’).</li> + <li>Add Categories.</li> + <li>Add Reviews.</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/amreviews/trunk/amreviews/language/english/help/index.html =================================================================== --- XoopsModules/amreviews/trunk/amreviews/language/english/help/index.html (rev 0) +++ XoopsModules/amreviews/trunk/amreviews/language/english/help/index.html 2012-05-07 04:57:03 UTC (rev 9445) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Modified: XoopsModules/amreviews/trunk/amreviews/sql/mysql.sql =================================================================== --- XoopsModules/amreviews/trunk/amreviews/sql/mysql.sql 2012-05-07 04:42:35 UTC (rev 9444) +++ XoopsModules/amreviews/trunk/amreviews/sql/mysql.sql 2012-05-07 04:57:03 UTC (rev 9445) @@ -43,7 +43,7 @@ `cat_weight` int(5) NOT NULL default '0', `cat_showme` int(5) NOT NULL default '1', PRIMARY KEY (`id`) -) TYPE=MyISAM; +) ENGINE=MyISAM; #-- #-- Dumping data for table `<prefix>_amreview_cat` @@ -90,7 +90,7 @@ `noimage` enum('0','1') NOT NULL default '1', `nobr` enum('0','1') NOT NULL default '1', PRIMARY KEY (`id`) -) TYPE=MyISAM; +) ENGINE=MyISAM; #-- -------------------------------------------------------- @@ -113,5 +113,5 @@ `rate_validated` int(5) NOT NULL default '0', `rate_useful` varchar(20) NOT NULL default '0/0', PRIMARY KEY (`id`) -) TYPE=MyISAM; +) ENGINE=MyISAM; Modified: XoopsModules/amreviews/trunk/amreviews/templates/amr_review.html =================================================================== --- XoopsModules/amreviews/trunk/amreviews/templates/amr_review.html 2012-05-07 04:42:35 UTC (rev 9444) +++ XoopsModules/amreviews/trunk/amreviews/templates/amr_review.html 2012-05-07 04:57:03 UTC (rev 9445) @@ -109,26 +109,26 @@ <td class="itemFoot"> <!-- back --> - <a href="<{$xoops_url}>/modules/<{$mod_dir}>/"><img src="<{$xoops_url}>/modules/<{$mod_dir}>/images/back.gif" alt="<{$backcap}>" title="<{$backcap}>" /></a> + <a href="<{$xoops_url}>/modules/<{$mod_dir}>/"><img src="<{xoModuleIcons16 back.png}>" alt="<{$backcap}>" title="<{$backcap}>" /></a> <!-- switch for print --> <{if $print_switch == 1}> - <a href="<{$xoops_url}>/modules/<{$mod_dir}>/print.php?id=<{$id}>" target="_blank"><img src="<{$xoops_url}>/modules/<{$mod_dir}>/images/print.gif" alt="<{$printcap}>" title="<{$printcap}>" /></a> + <a href="<{$xoops_url}>/modules/<{$mod_dir}>/print.php?id=<{$id}>" target="_blank"><img src="<{xoModuleIcons16 printer.png}>" alt="<{$printcap}>" title="<{$printcap}>" /></a> <{/if}> <!-- switch for e-mail --> <{if $email_switch == 1}> - <a href="<{$xoops_url}>/modules/<{$mod_dir}>/email.php?id=<{$id}>"><img src="<{$xoops_url}>/modules/<{$mod_dir}>/images/email.gif" alt="<{$emailcap}>" title="<{$emailcap}>" /></a> + <a href="<{$xoops_url}>/modules/<{$mod_dir}>/email.php?id=<{$id}>"><img src="<{xoModuleIcons16 mail_forward.png}>" alt="<{$emailcap}>" title="<{$emailcap}>" /></a> <{/if}> <!-- switch for PDF --> <{if $pdf_switch == 1}> - <a href="<{$xoops_url}>/modules/<{$mod_dir}>/makepdf.php?id=<{$id}>" target="_blank"><img src="<{$xoops_url}>/modules/<{$mod_dir}>/images/pdf.gif" alt="<{$emailcap}>" title="<{$pdfcap}>" /></a> + <a href="<{$xoops_url}>/modules/<{$mod_dir}>/makepdf.php?id=<{$id}>" target="_blank"><img src="<{xoModuleIcons16 pdf.png}>" alt="<{$emailcap}>" title="<{$pdfcap}>" /></a> <{/if}> <!-- switch edit for admin --> <{if $isadmin == 1}> - <a href="<{$xoops_url}>/modules/<{$mod_dir}>/admin/review.php?op=edit&id=<{$id}>"><img src="<{$xoops_url}>/modules/<{$mod_dir}>/images/pencil.gif" alt="<{$emailcap}>" title="<{$editcap}>" /></a> + <a href="<{$xoops_url}>/modules/<{$mod_dir}>/admin/review.php?op=edit&id=<{$id}>"><img src="<{xoModuleIcons16 edit.png}>" alt="<{$emailcap}>" title="<{$editcap}>" /></a> <{/if}> <!-- switch delete for admin --> <{if $isadmin == 1}> - <a href="<{$xoops_url}>/modules/<{$mod_dir}>/admin/review.php?op=del&id=<{$id}>"><img src="<{$xoops_url}>/modules/<{$mod_dir}>/images/exit.gif" alt="<{$emailcap}>" title="<{$deletecap}>" /></a> + <a href="<{$xoops_url}>/modules/<{$mod_dir}>/admin/review.php?op=del&id=<{$id}>"><img src="<{xoModuleIcons16 delete.png}>" alt="<{$emailcap}>" title="<{$deletecap}>" /></a> <{/if}> </td> Modified: XoopsModules/amreviews/trunk/amreviews/xoops_version.php =================================================================== --- XoopsModules/amreviews/trunk/amreviews/xoops_version.php 2012-05-07 04:42:35 UTC (rev 9444) +++ XoopsModules/amreviews/trunk/amreviews/xoops_version.php 2012-05-07 04:57:03 UTC (rev 9445) @@ -37,14 +37,34 @@ $modversion['description'] = _MI_AM_REVIEW_DESC; $modversion['credits'] = ''; $modversion['author'] = 'Andrew Mills - http://support.sirium.net'; -$modversion['help'] = 'help.html'; -$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'] = 'modulelogo.png'; $modversion['dirname'] = 'amreviews'; +$modversion['dirmoduleadmin'] = '/Frameworks/moduleclasses/moduleadmin'; +$modversion['icons16'] = '../../Frameworks/moduleclasses/icons/16'; +$modversion['icons32'] = '../../Frameworks/moduleclasses/icons/32'; + +//about +$modversion['demo_site_url'] = ""; +$modversion['demo_site_name'] = ""; +$modversion['module_website_url'] = "http://xoops.org"; +$modversion['module_website_name'] = "XOOPS"; +$modversion['release_date'] = "2012/05/06"; +$modversion['module_status'] = "Alpha 2"; +$modversion["author_website_url"] = "http://sirium.net"; +$modversion["author_website_name"] = "Sirium.net"; +$modversion['min_php']='5.2'; +$modversion['min_xoops']="2.5.0"; +$modversion['min_db'] = array('mysql'=>'5.0.7', 'mysqli'=>'5.0.7'); +$modversion['min_admin'] = '1.1'; + // Admin $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-05-07 04:42:46
|
Revision: 9444 http://xoops.svn.sourceforge.net/xoops/?rev=9444&view=rev Author: beckmi Date: 2012-05-07 04:42:35 +0000 (Mon, 07 May 2012) Log Message: ----------- adding AM Reviews Module 0.10 Alpha Added Paths: ----------- XoopsModules/amreviews/ XoopsModules/amreviews/branches/ XoopsModules/amreviews/releases/ XoopsModules/amreviews/releases/0.1 Alpha/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/about.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/category.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/catform.inc.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/functions.inc.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/image.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/index.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/menu.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/perms.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/review.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/reviewform.inc.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/cache/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/cache/index.html XoopsModules/amreviews/releases/0.1 Alpha/amreviews/cache/tmp/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/cache/tmp/index.html XoopsModules/amreviews/releases/0.1 Alpha/amreviews/class/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/class/image_resizerGD.class.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/class/index.html XoopsModules/amreviews/releases/0.1 Alpha/amreviews/class/ratings.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/comment_delete.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/comment_edit.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/comment_new.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/comment_post.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/comment_reply.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/email.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/footer.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/chinese.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/ex.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/courier.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/helvetica.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/helveticab.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/helveticabi.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/helveticai.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/index.html XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/cp1250.map XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/cp1251.map XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/cp1252.map XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/cp1253.map XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/cp1254.map XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/cp1255.map XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/cp1257.map XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/cp1258.map XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/cp874.map XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/index.html XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/iso-8859-1.map XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/iso-8859-11.map XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/iso-8859-15.map XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/iso-8859-16.map XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/iso-8859-2.map XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/iso-8859-4.map XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/iso-8859-5.map XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/iso-8859-7.map XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/iso-8859-9.map XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/koi8-r.map XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/koi8-u.map XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/makefont/makefont.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/symbol.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/times.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/timesb.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/timesbi.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/timesi.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/font/zapfdingbats.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/fpdf.inc.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/fpdf.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/gif.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/index.html XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/japanese.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/korean.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/language/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/language/english.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/language/french.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/language/index.html XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/language/japanese.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/language/korean.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/language/schinese.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/language/tchinese.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/makepdf_class.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/fpdf/makepdf_config.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/header.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/amreviews.gif XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/back.gif XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/bg.png XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/bulb-grey.png XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/bulb-yell.png XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/del3.png XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/edit3.png XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/email.gif XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/exit.gif XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/help2.gif XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/index.html XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/left_both.png XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/lightbox2/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/lightbox2/blank.gif XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/lightbox2/close.gif XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/lightbox2/closelabel.gif XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/lightbox2/image-1.jpg XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/lightbox2/index.html XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/lightbox2/loading.gif XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/lightbox2/next.gif XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/lightbox2/nextlabel.gif XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/lightbox2/prev.gif XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/lightbox2/prevlabel.gif XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/lightbox2/thumb-1.jpg XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/pdf.gif XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/pencil.gif XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/print.gif XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/right_both.png XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/star-0.5.png XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/star-0.png XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/star-1.5.png XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/star-1.png XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/star-2.5.png XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/star-2.png XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/star-3.5.png XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/star-3.png XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/star-4.5.png XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/star-4.png XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/star-5.png XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/stars12x36.gif XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/tickg.png XoopsModules/amreviews/releases/0.1 Alpha/amreviews/images/ticko.png XoopsModules/amreviews/releases/0.1 Alpha/amreviews/include/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/include/config.inc.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/include/functions.inc.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/include/index.html XoopsModules/amreviews/releases/0.1 Alpha/amreviews/include/lightbox2/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/include/lightbox2/css/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/include/lightbox2/css/lightbox.css XoopsModules/amreviews/releases/0.1 Alpha/amreviews/include/lightbox2/index.html XoopsModules/amreviews/releases/0.1 Alpha/amreviews/include/lightbox2/js/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/include/lightbox2/js/effects.js XoopsModules/amreviews/releases/0.1 Alpha/amreviews/include/lightbox2/js/lightbox.js XoopsModules/amreviews/releases/0.1 Alpha/amreviews/include/lightbox2/js/prototype.js XoopsModules/amreviews/releases/0.1 Alpha/amreviews/include/lightbox2/js/scriptaculous.js XoopsModules/amreviews/releases/0.1 Alpha/amreviews/include/search.inc.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/index.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/language/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/language/english/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/language/english/admin.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/language/english/index.html XoopsModules/amreviews/releases/0.1 Alpha/amreviews/language/english/main.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/language/english/modinfo.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/language/index.html XoopsModules/amreviews/releases/0.1 Alpha/amreviews/makepdf.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/modulelogo.png XoopsModules/amreviews/releases/0.1 Alpha/amreviews/photos/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/photos/highlight/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/photos/highlight/index.html XoopsModules/amreviews/releases/0.1 Alpha/amreviews/photos/index.html XoopsModules/amreviews/releases/0.1 Alpha/amreviews/photos/thumb/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/photos/thumb/index.html XoopsModules/amreviews/releases/0.1 Alpha/amreviews/print.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/rate.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/review.php XoopsModules/amreviews/releases/0.1 Alpha/amreviews/sql/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/sql/index.html XoopsModules/amreviews/releases/0.1 Alpha/amreviews/sql/mysql.sql XoopsModules/amreviews/releases/0.1 Alpha/amreviews/style.css XoopsModules/amreviews/releases/0.1 Alpha/amreviews/templates/ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/templates/amr_index.html XoopsModules/amreviews/releases/0.1 Alpha/amreviews/templates/amr_print.html XoopsModules/amreviews/releases/0.1 Alpha/amreviews/templates/amr_rate.html XoopsModules/amreviews/releases/0.1 Alpha/amreviews/templates/amr_review.html XoopsModules/amreviews/releases/0.1 Alpha/amreviews/templates/index.html XoopsModules/amreviews/releases/0.1 Alpha/amreviews/xoops_version.php XoopsModules/amreviews/trunk/ XoopsModules/amreviews/trunk/amreviews/ XoopsModules/amreviews/trunk/amreviews/admin/ XoopsModules/amreviews/trunk/amreviews/admin/about.php XoopsModules/amreviews/trunk/amreviews/admin/category.php XoopsModules/amreviews/trunk/amreviews/admin/catform.inc.php XoopsModules/amreviews/trunk/amreviews/admin/functions.inc.php XoopsModules/amreviews/trunk/amreviews/admin/image.php XoopsModules/amreviews/trunk/amreviews/admin/index.php XoopsModules/amreviews/trunk/amreviews/admin/menu.php XoopsModules/amreviews/trunk/amreviews/admin/perms.php XoopsModules/amreviews/trunk/amreviews/admin/review.php XoopsModules/amreviews/trunk/amreviews/admin/reviewform.inc.php XoopsModules/amreviews/trunk/amreviews/cache/ XoopsModules/amreviews/trunk/amreviews/cache/index.html XoopsModules/amreviews/trunk/amreviews/cache/tmp/ XoopsModules/amreviews/trunk/amreviews/cache/tmp/index.html XoopsModules/amreviews/trunk/amreviews/class/ XoopsModules/amreviews/trunk/amreviews/class/image_resizerGD.class.php XoopsModules/amreviews/trunk/amreviews/class/index.html XoopsModules/amreviews/trunk/amreviews/class/ratings.php XoopsModules/amreviews/trunk/amreviews/comment_delete.php XoopsModules/amreviews/trunk/amreviews/comment_edit.php XoopsModules/amreviews/trunk/amreviews/comment_new.php XoopsModules/amreviews/trunk/amreviews/comment_post.php XoopsModules/amreviews/trunk/amreviews/comment_reply.php XoopsModules/amreviews/trunk/amreviews/email.php XoopsModules/amreviews/trunk/amreviews/footer.php XoopsModules/amreviews/trunk/amreviews/fpdf/ XoopsModules/amreviews/trunk/amreviews/fpdf/chinese.php XoopsModules/amreviews/trunk/amreviews/fpdf/ex.php XoopsModules/amreviews/trunk/amreviews/fpdf/font/ XoopsModules/amreviews/trunk/amreviews/fpdf/font/courier.php XoopsModules/amreviews/trunk/amreviews/fpdf/font/helvetica.php XoopsModules/amreviews/trunk/amreviews/fpdf/font/helveticab.php XoopsModules/amreviews/trunk/amreviews/fpdf/font/helveticabi.php XoopsModules/amreviews/trunk/amreviews/fpdf/font/helveticai.php XoopsModules/amreviews/trunk/amreviews/fpdf/font/index.html XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/ XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/cp1250.map XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/cp1251.map XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/cp1252.map XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/cp1253.map XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/cp1254.map XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/cp1255.map XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/cp1257.map XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/cp1258.map XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/cp874.map XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/index.html XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/iso-8859-1.map XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/iso-8859-11.map XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/iso-8859-15.map XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/iso-8859-16.map XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/iso-8859-2.map XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/iso-8859-4.map XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/iso-8859-5.map XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/iso-8859-7.map XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/iso-8859-9.map XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/koi8-r.map XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/koi8-u.map XoopsModules/amreviews/trunk/amreviews/fpdf/font/makefont/makefont.php XoopsModules/amreviews/trunk/amreviews/fpdf/font/symbol.php XoopsModules/amreviews/trunk/amreviews/fpdf/font/times.php XoopsModules/amreviews/trunk/amreviews/fpdf/font/timesb.php XoopsModules/amreviews/trunk/amreviews/fpdf/font/timesbi.php XoopsModules/amreviews/trunk/amreviews/fpdf/font/timesi.php XoopsModules/amreviews/trunk/amreviews/fpdf/font/zapfdingbats.php XoopsModules/amreviews/trunk/amreviews/fpdf/fpdf.inc.php XoopsModules/amreviews/trunk/amreviews/fpdf/fpdf.php XoopsModules/amreviews/trunk/amreviews/fpdf/gif.php XoopsModules/amreviews/trunk/amreviews/fpdf/index.html XoopsModules/amreviews/trunk/amreviews/fpdf/japanese.php XoopsModules/amreviews/trunk/amreviews/fpdf/korean.php XoopsModules/amreviews/trunk/amreviews/fpdf/language/ XoopsModules/amreviews/trunk/amreviews/fpdf/language/english.php XoopsModules/amreviews/trunk/amreviews/fpdf/language/french.php XoopsModules/amreviews/trunk/amreviews/fpdf/language/index.html XoopsModules/amreviews/trunk/amreviews/fpdf/language/japanese.php XoopsModules/amreviews/trunk/amreviews/fpdf/language/korean.php XoopsModules/amreviews/trunk/amreviews/fpdf/language/schinese.php XoopsModules/amreviews/trunk/amreviews/fpdf/language/tchinese.php XoopsModules/amreviews/trunk/amreviews/fpdf/makepdf_class.php XoopsModules/amreviews/trunk/amreviews/fpdf/makepdf_config.php XoopsModules/amreviews/trunk/amreviews/header.php XoopsModules/amreviews/trunk/amreviews/images/ XoopsModules/amreviews/trunk/amreviews/images/amreviews.gif XoopsModules/amreviews/trunk/amreviews/images/back.gif XoopsModules/amreviews/trunk/amreviews/images/bg.png XoopsModules/amreviews/trunk/amreviews/images/bulb-grey.png XoopsModules/amreviews/trunk/amreviews/images/bulb-yell.png XoopsModules/amreviews/trunk/amreviews/images/del3.png XoopsModules/amreviews/trunk/amreviews/images/edit3.png XoopsModules/amreviews/trunk/amreviews/images/email.gif XoopsModules/amreviews/trunk/amreviews/images/exit.gif XoopsModules/amreviews/trunk/amreviews/images/help2.gif XoopsModules/amreviews/trunk/amreviews/images/index.html XoopsModules/amreviews/trunk/amreviews/images/left_both.png XoopsModules/amreviews/trunk/amreviews/images/lightbox2/ XoopsModules/amreviews/trunk/amreviews/images/lightbox2/blank.gif XoopsModules/amreviews/trunk/amreviews/images/lightbox2/close.gif XoopsModules/amreviews/trunk/amreviews/images/lightbox2/closelabel.gif XoopsModules/amreviews/trunk/amreviews/images/lightbox2/image-1.jpg XoopsModules/amreviews/trunk/amreviews/images/lightbox2/index.html XoopsModules/amreviews/trunk/amreviews/images/lightbox2/loading.gif XoopsModules/amreviews/trunk/amreviews/images/lightbox2/next.gif XoopsModules/amreviews/trunk/amreviews/images/lightbox2/nextlabel.gif XoopsModules/amreviews/trunk/amreviews/images/lightbox2/prev.gif XoopsModules/amreviews/trunk/amreviews/images/lightbox2/prevlabel.gif XoopsModules/amreviews/trunk/amreviews/images/lightbox2/thumb-1.jpg XoopsModules/amreviews/trunk/amreviews/images/pdf.gif XoopsModules/amreviews/trunk/amreviews/images/pencil.gif XoopsModules/amreviews/trunk/amreviews/images/print.gif XoopsModules/amreviews/trunk/amreviews/images/right_both.png XoopsModules/amreviews/trunk/amreviews/images/star-0.5.png XoopsModules/amreviews/trunk/amreviews/images/star-0.png XoopsModules/amreviews/trunk/amreviews/images/star-1.5.png XoopsModules/amreviews/trunk/amreviews/images/star-1.png XoopsModules/amreviews/trunk/amreviews/images/star-2.5.png XoopsModules/amreviews/trunk/amreviews/images/star-2.png XoopsModules/amreviews/trunk/amreviews/images/star-3.5.png XoopsModules/amreviews/trunk/amreviews/images/star-3.png XoopsModules/amreviews/trunk/amreviews/images/star-4.5.png XoopsModules/amreviews/trunk/amreviews/images/star-4.png XoopsModules/amreviews/trunk/amreviews/images/star-5.png XoopsModules/amreviews/trunk/amreviews/images/stars12x36.gif XoopsModules/amreviews/trunk/amreviews/images/tickg.png XoopsModules/amreviews/trunk/amreviews/images/ticko.png XoopsModules/amreviews/trunk/amreviews/include/ XoopsModules/amreviews/trunk/amreviews/include/config.inc.php XoopsModules/amreviews/trunk/amreviews/include/functions.inc.php XoopsModules/amreviews/trunk/amreviews/include/index.html XoopsModules/amreviews/trunk/amreviews/include/lightbox2/ XoopsModules/amreviews/trunk/amreviews/include/lightbox2/css/ XoopsModules/amreviews/trunk/amreviews/include/lightbox2/css/lightbox.css XoopsModules/amreviews/trunk/amreviews/include/lightbox2/index.html XoopsModules/amreviews/trunk/amreviews/include/lightbox2/js/ XoopsModules/amreviews/trunk/amreviews/include/lightbox2/js/effects.js XoopsModules/amreviews/trunk/amreviews/include/lightbox2/js/lightbox.js XoopsModules/amreviews/trunk/amreviews/include/lightbox2/js/prototype.js XoopsModules/amreviews/trunk/amreviews/include/lightbox2/js/scriptaculous.js XoopsModules/amreviews/trunk/amreviews/include/search.inc.php XoopsModules/amreviews/trunk/amreviews/index.php XoopsModules/amreviews/trunk/amreviews/language/ XoopsModules/amreviews/trunk/amreviews/language/english/ XoopsModules/amreviews/trunk/amreviews/language/english/admin.php XoopsModules/amreviews/trunk/amreviews/language/english/index.html XoopsModules/amreviews/trunk/amreviews/language/english/main.php XoopsModules/amreviews/trunk/amreviews/language/english/modinfo.php XoopsModules/amreviews/trunk/amreviews/language/index.html XoopsModules/amreviews/trunk/amreviews/makepdf.php XoopsModules/amreviews/trunk/amreviews/modulelogo.png XoopsModules/amreviews/trunk/amreviews/photos/ XoopsModules/amreviews/trunk/amreviews/photos/highlight/ XoopsModules/amreviews/trunk/amreviews/photos/highlight/index.html XoopsModules/amreviews/trunk/amreviews/photos/index.html XoopsModules/amreviews/trunk/amreviews/photos/thumb/ XoopsModules/amreviews/trunk/amreviews/photos/thumb/index.html XoopsModules/amreviews/trunk/amreviews/print.php XoopsModules/amreviews/trunk/amreviews/rate.php XoopsModules/amreviews/trunk/amreviews/review.php XoopsModules/amreviews/trunk/amreviews/sql/ XoopsModules/amreviews/trunk/amreviews/sql/index.html XoopsModules/amreviews/trunk/amreviews/sql/mysql.sql XoopsModules/amreviews/trunk/amreviews/style.css XoopsModules/amreviews/trunk/amreviews/templates/ XoopsModules/amreviews/trunk/amreviews/templates/amr_index.html XoopsModules/amreviews/trunk/amreviews/templates/amr_print.html XoopsModules/amreviews/trunk/amreviews/templates/amr_rate.html XoopsModules/amreviews/trunk/amreviews/templates/amr_review.html XoopsModules/amreviews/trunk/amreviews/templates/index.html XoopsModules/amreviews/trunk/amreviews/xoops_version.php Added: XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/about.php =================================================================== --- XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/about.php (rev 0) +++ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/about.php 2012-05-07 04:42:35 UTC (rev 9444) @@ -0,0 +1,221 @@ +<?php +// $Id: about.php,v 1.1 2007/01/24 19:15:42 andrew Exp $ +// ------------------------------------------------------------------------ // +// Author: Andrew Mills // +// Email: aj...@si... // +// About: This file is part of the Articles module for Xoops v2. // +// // +// ------------------------------------------------------------------------ // +// 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 // +// ------------------------------------------------------------------------ // + +include ('../../../include/cp_header.php'); +if ( file_exists("../language/".$xoopsConfig['language']."/main.php") ) { + include "../language/".$xoopsConfig['language']."/main.php"; +} else { + include "../language/english/main.php"; +} +include_once ("functions.inc.php"); +include_once("../include/config.inc.php"); +include_once (XOOPS_ROOT_PATH . "/include/xoopscodes.php"); +include_once (XOOPS_ROOT_PATH . "/class/module.errorhandler.php"); +include_once (XOOPS_ROOT_PATH . "/class/xoopsformloader.php"); +$myts =& MyTextSanitizer::getInstance(); + +// +//----------------------------------------------------------------------------// +// +if(!isset($_REQUEST['op'])) { +xoops_cp_header(); +amrev_adminmenu(0, _AM_AMREV_INDEX); + +?> + +<br /> +<table border="0" cellspacing="1" style="width: 100%;" class="outer"> + <tr> + <th>About</th> + </tr> + <tr> + <td class="odd"> + AM reviews is a review management module for XOOPS v2. + </td> + </tr> +</table> + +<br /> +<table border="0" cellspacing="1" style="width: 100%" class="outer"> + <tr> + <th colspan="2">Version info</th> + </tr> + <tr> + <td class="head" width="100">Version:</td> + <td class="odd"> version in XOOPS: <?php echo round($xoopsModule->getVar('version')/100 , 2); ?>, actual version: <?php echo _AM_AMRVERSION; ?>. </td> + </tr> + <tr> + <td class="head" width="100">Version info:</td> + <td class="odd"> See the <a href="http://support.sirium.net/modules/articles/index.php?cat_id=5" target="_blank">articles section</a> on the module web site for info on this version.</td> + </tr> + <tr> + <td class="head" width="100">Updates:</td> + <td class="odd"> + <a href="#" onclick="javascript:window.open('<?php echo $_SERVER['PHP_SELF']; ?>?op=updates', 'preview', 'height=450,width=650,status=yes,toolbar=no,menubar=no,location=no,scrollbars=yes');">Check for updates</a> + </td> + </tr> + <tr> +</table> + +<br /> +<table border="0" cellspacing="1" style="width: 100%;" class="outer"> + <tr> + <th colspan="2">Support, feature requests and comments</th> + </tr> + <tr> + <td class="head" width="100"><?php /*echo $xoopsModule->getVar('name');*/ ?>Forums:</td> + <td class="odd"> + The <?php echo $xoopsModule->getVar('name'); ?> + <a href="http://support.sirium.net/modules/newbb/index.php?cat=3" target="_blank">support forums</a> + is the preferred support method, I aim to answer all support/feature requests as soon as + possible. + </td> + </tr> + <tr> + <td class="head" width="100">E-mail:</td> + <td class="odd"> + I can also be contacted via the + <a href="http://support.sirium.net/modules/liaise/" target="_blank">contact form on the web site</a>. + </td> + </tr> + <tr> + <td class="head" width="100">General:</td> + <td class="odd"> + Please also check the forums, FAQs and Article pages to see if your problem + and/or question has already been answered. + </td> + </tr> +</table> + +<br /> +<table border="0" cellspacing="1" style="width: 100%;" class="outer"> + <tr> + <th>Credits</th> + </tr> + <tr> + <td class="odd"> + This module is made up from suggestions and ideas from many sources. + + <br/><br> + The idea of this page, and the navigation menu came from the newBB module (v2.0), + and Smartfactory modules, and the module dev documentation.<br> + <br> + <!--Thanks to everyone who has provided translations, ideas, bug reports and + support!--><br> + + </td> + </tr> +</table> + +<?php + +amrev_adminfooter(); +xoops_cp_footer(); +} // thing + +// +//----------------------------------------------------------------------------// +// +if(isset($_REQUEST['op']) AND $_REQUEST['op'] == "updates") { + + if(!@include('http://support.sirium.net/files/xoopsamreviews/version.txt')) { + echo "Sorry, I was unable to get version info!<br /> The server could be unavailable, or your host does not allow remote file fetching.<br />Please visit the main web site <a href=\"http://support.sirium.net/modules/mydownloads/\" target=\"_blank\">here</a>. "; + exit; + } +/* +$version = "0.24"; +$url = "http://support.sirium.net/modules/mydownloads/viewcat.php?cid=2"; +*/ + +/* if(!isset($version)) { + echo "Thingy not set"; + } else { + echo $version; + } +*/ +?> +<div align="center"><input type="button" value=" Close window " onclick="window.close();"></div> +<table border="0" style="width: 100%;"> + <tr> + <th colspan="2">Updates</th> + </tr> + <tr> + <td style="width: 90px; font-weight: bold;">Status:</td> + <td> +<?php + if (_AM_AMRVERSION > $version) { + echo "You are using a newer version than the latest release, you are probably using a test release."; + } + if (_AM_AMRVERSION < $version) { + echo "An update is available."; + } + if (_AM_AMRVERSION == $version) { + echo "You are using the latest version."; + } +?> + </td> + </tr> + <tr> + <td style="width: 90px; font-weight: bold; vertical-align: top;">Details:</td> + <td> + Your version: <?php echo _AM_AMRVERSION; ?><br/> + Available version: <?php echo $version; ?> + </td> + </tr> + <tr> + <td style="width: 90px; font-weight: bold; vertical-align: top;">Download:</td> + <td> + .tar.gz version: <a href="<?php echo $urlzip; ?>" target="_blank">Download</a> page.<br/> + .zip version: <a href="<?php echo $urlgzip; ?>" target="_blank">Download</a> page. + </td> + </tr> + <tr> + <td colspan="2"> + <span style="font-weight: bold;">History:</span><br /> + <pre> +<?php echo $history; ?> + </pre> + + </td> + </tr> +</table> +<div align="center"><input type="button" value=" Close window " onclick="window.close();"></div> + +<?php + +} // end + + + + +?> + \ No newline at end of file Added: XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/category.php =================================================================== --- XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/category.php (rev 0) +++ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/category.php 2012-05-07 04:42:35 UTC (rev 9444) @@ -0,0 +1,310 @@ +<?php +// $Id: category.php,v 1.4 2007/01/24 19:15:59 andrew Exp $ +// ------------------------------------------------------------------------ // +// Author: Andrew Mills // +// Email: aj...@si... // +// About: This file is part of the AM Reviews module for Xoops v2. // +// // +// ------------------------------------------------------------------------ // +// 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 // +// ------------------------------------------------------------------------ // + +// includes +include ('../../../include/cp_header.php'); +if ( file_exists("../language/".$xoopsConfig['language']."/main.php") ) { + include ("../language/".$xoopsConfig['language']."/main.php"); +} else { + include ("../language/english/main.php"); +} +include_once("functions.inc.php"); +include_once("../include/config.inc.php"); +include_once (XOOPS_ROOT_PATH . "/class/xoopstree.php"); + +$myts =& MyTextSanitizer::getInstance(); + +//----------------------------------------------------------------------------// + +if (!isset($_REQUEST['op'])) { + +xoops_cp_header(); +amrev_adminmenu(1, _AM_AMREV_CAT); + + + /** + * List categories + * + */ + $class = ""; + echo "<table border=\"0\" width=\"100%\" cellspacing=\"1\" class=\"outer\">"; + echo "<tr><th colspan=\"5\">" . _AM_AMREV_CATTBLCAP . "</th></td>"; + + ## + ## + + //$start = isset($_GET['start']) ? intval($_GET['start']) : 0; + $start = 0; + + // Based on code from news 1.4 + // See news/admin/index.php line 610 on + $xt = new XoopsTree($xoopsDB->prefix("amreview_cat"), "id", "cat_parentid"); + $cats_arr = $xt->getChildTreeArray(0,"cat_title"); + $totalcats = count($cats_arr); + $rowclass = ""; + + //echo "<pre>"; + //var_dump($xt); + //var_dump($cats_arr); + //echo "</pre>"; + + $tmpcpt = $start; + + $ok = true; + + while($ok) { + if($tmpcpt < $totalcats) { + $rowclass = ($rowclass == 'odd') ? 'even' : 'odd'; + + echo "<tr>"; + echo "<td style=\"text-align: center; width: 20px;\" class=\"" . $rowclass . "\">" . $cats_arr[$tmpcpt]['id'] . "</td>"; + + if($cats_arr[$tmpcpt]['cat_parentid']!=0) { + $cats_arr[$tmpcpt]['prefix'] = str_replace(".","-",$cats_arr[$tmpcpt]['prefix']) . ' '; + //echo "thing1"; + } else { + $cats_arr[$tmpcpt]['prefix'] = str_replace(".","",$cats_arr[$tmpcpt]['prefix']); + //echo "thing2"; + } + + echo "<td class=\"" . $rowclass . "\">" . $cats_arr[$tmpcpt]['prefix'] . $cats_arr[$tmpcpt]['cat_title'] . "</td>"; + + if ($cats_arr[$tmpcpt]['cat_showme'] == 1) { + $bulb = "bulb-yell.png"; + $alttxt = _AM_AMREV_STATUSSHOW; + } else { + $bulb = "bulb-grey.png"; + $alttxt = _AM_AMREV_STATUSHIDE; + } + + echo "<td style=\"text-align: center; width: 20px;\" class=\"" . $rowclass . "\"><img src=\"../images/" . $bulb . "\" title=\"". $alttxt ."\" alt=\"". $alttxt ."\"></td>"; + echo "<td style=\"text-align: center; width: 20px;\" class=\"" . $rowclass . "\"><a href=\"" . $_SERVER['PHP_SELF'] . "?op=edit&id=" . $cats_arr[$tmpcpt]['id'] . "\"><img src=\"/modules/amreviews/images/edit3.png\" title=\"Click to edit\" /></a></td>"; + echo "<td style=\"text-align: center; width: 20px;\" class=\"" . $rowclass . "\"><a href=\"" . $_SERVER['PHP_SELF'] . "?op=del&id=" . $cats_arr[$tmpcpt]['id'] . "\"><img src=\"/modules/amreviews/images/del3.png\" title=\"Click to delete\" /></a></td>"; + echo "</tr>"; + + //$rowclass = ($rowclass == 'even') ? 'odd' : 'even'; + } else { + $ok = false; + } + //echo $tmpcpt ."<br />"; + $tmpcpt++; + } // while + + echo "</table><br /><br />"; + + + /** + * Load category form to add new. + */ + $catformcaption = _AM_AMREV_CATCAPTION; + $submitbutton = _AM_AMREV_CATCAPSAVE; + $formaction = "add"; + + include_once("catform.inc.php"); + +amrev_adminfooter(); +xoops_cp_footer(); +} // end if + +//----------------------------------------------------------------------------// + +/** +* Save new category data. +*/ +if (isset($_REQUEST['op']) AND $_REQUEST['op'] == "save") { +xoops_cp_header(); +//amrev_adminmenu(1, _AM_AMREV_CAT); + + if (isset($_POST['formdata'])) { $formdata = $_POST['formdata']; } + else { $formdata = ""; } + + //echo "<pre>"; + //print_r($formdata); + //echo "</pre>"; + + $cat_title = $myts->addSlashes($formdata['cat_title']); + $cat_description = $myts->addSlashes($formdata['cat_description']); + $cat_parentid = intval($formdata['cat_id']); + $cat_weight = intval($formdata['cat_weight']); + $cat_showme = intval($formdata['cat_showme']); + + + $sql = "INSERT INTO ".$xoopsDB->prefix("amreview_cat")." VALUES ( + NULL, + '$cat_parentid', + '$cat_title', + '$cat_description', + '$cat_weight', + '$cat_showme' )"; + + $xoopsDB->query($sql); // or $eh->show("0013"); + if ($xoopsDB->getAffectedRows($sql)) { + redirect_header("category.php", 2, _AM_AMREV_DBUPDATED); + //echo "entered"; + } else { + redirect_header("category.php", 2, _AM_AMREV_DBNOUPDATED); + //echo "not entered"; + } + + +xoops_cp_footer(); +} // end if + +//----------------------------------------------------------------------------// + +/** +* Save new category data. +*/ +if (isset($_REQUEST['op']) AND $_REQUEST['op'] == "edit") { +//xoops_cp_header(); +//amrev_adminmenu(1, _AM_AMREV_CAT); + + /** + * Load form if subop not set. + */ + if (!isset($_REQUEST['subop'])) { + xoops_cp_header(); + //amrev_adminmenu(1, _AM_AMREV_CAT); + + if (isset($_GET['id'])) { $id = $_GET['id']; } + else { $id = ""; } + + $result = $xoopsDB->query("SELECT id, cat_parentid, cat_title, cat_description, cat_weight, cat_showme FROM " .$xoopsDB->prefix('amreview_cat') . " WHERE id=$id LIMIT 1"); + list($id, $cat_parentid, $cat_title, $cat_description, $cat_weight, $cat_showme) = $xoopsDB->fetchRow($result); + + $cat_title = $myts->htmlSpecialChars($cat_title); + $cat_description = $myts->htmlSpecialChars($cat_description); + //$cat_weight + + + // form stuff (edit) + $catformcaption = _AM_AMREV_CATCAPTIONED; + $submitbutton = _AM_AMREV_CATCAPSAVEED; + $formaction = "edit"; + + include_once("catform.inc.php"); + + xoops_cp_footer(); + } // end if + + /** + * Save update if subop set. + */ + if (isset($_REQUEST['subop']) AND $_REQUEST['subop'] == "save") { + xoops_cp_header(); + + if (isset($_POST['formdata'])) { $formdata = $_POST['formdata']; } + else { $formdata = ""; } + + //echo "<pre>"; + //print_r($formdata); + //echo "</pre>"; + + $id = intval($formdata['id']); + $cat_parentid = intval($formdata['cat_id']); + $cat_title = $myts->addSlashes($formdata['cat_title']); + $cat_description = $myts->addSlashes($formdata['cat_description']); + $cat_weight = intval($formdata['cat_weight']); + $cat_showme = intval($formdata['cat_showme']); + + $sql = ("UPDATE ".$xoopsDB->prefix("amreview_cat")." SET + id = '$id', + cat_parentid = '$cat_parentid', + cat_title = '$cat_title', + cat_description = '$cat_description', + cat_weight = '$cat_weight', + cat_showme = '$cat_showme' + WHERE id=$id"); + + $result=$xoopsDB->query($sql); + + if ($xoopsDB->query($sql)) { + redirect_header("category.php", 2, _AM_AMREV_DBUPDATED); + //echo "entered"; + } else { + redirect_header("category.php", 2, _AM_AMREV_DBNOUPDATED); + //echo "not entered"; + } + + xoops_cp_footer(); + } // end if + + + +//xoops_cp_footer(); +} // end if + +//----------------------------------------------------------------------------// + +/** +* Delete category. +*/ +if (isset($_REQUEST['op']) AND $_REQUEST['op'] == "del") { +//xoops_cp_header(); +//amrev_adminmenu(1, _AM_AMREV_CAT); + + if (isset($_REQUEST['id'])) { $id = intval($_REQUEST['id']); } + else { $id = ""; } + + /** + * Confirm deletion. + */ + if (!isset($_REQUEST['subop'])) { + xoops_cp_header(); + xoops_confirm(array('op' => 'del', 'id' => $id, 'subop' => 'delok'), 'category.php', _AM_AMREV_DBCONFMDEL); + xoops_cp_footer(); + } // end if + + /** + * Delete + */ + if (isset($_REQUEST['subop']) && $_REQUEST['subop'] == "delok") { + + $sql = sprintf("DELETE FROM %s WHERE id = %u", $xoopsDB->prefix("amreview_cat"), $id); + + if ($xoopsDB->queryF($sql)) { + // Delete permissions. + xoops_groupperm_deletebymoditem ($xoopsModule->getVar('mid'), 'Category Permission', $id); + redirect_header("category.php", 2, _AM_AMREV_DBDELETED); + //echo "deleted"; + } else { + redirect_header("category.php", 2, _AM_AMREV_DBNOTDELETED); + //echo "not deleted"; + } // + } // + + +} // end if + + + +?> \ No newline at end of file Added: XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/catform.inc.php =================================================================== --- XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/catform.inc.php (rev 0) +++ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/catform.inc.php 2012-05-07 04:42:35 UTC (rev 9444) @@ -0,0 +1,143 @@ +<?php +// $Id: catform.inc.php,v 1.2 2006/04/26 22:27:43 andrew Exp $ +// ------------------------------------------------------------------------ // +// Author: Andrew Mills // +// Email: aj...@th... // +// About: This file is part of the Articles module for Xoops v2. // +// // +// ------------------------------------------------------------------------ // +// 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 // +// ------------------------------------------------------------------------ // + +include_once (XOOPS_ROOT_PATH . "/class/xoopsformloader.php"); + + +$catform = new XoopsThemeForm($catformcaption, "categoryform", xoops_getenv('PHP_SELF'), 'post'); + +//XoopsFormSelectGroup +//$groups = ( $xt->id ) ? explode(" ", $xt->groupid ) : true; // line 62 +//$catform->addElement( new XoopsFormSelectGroup('thingy', 'groupid', true, $groups, 5, true ) ); + +// +// Title +// +if (!isset($cat_title)) { $cat_title = ""; } +$cat_title = new XoopsFormText(_AM_AMREV_CATCAPTTL, 'formdata[cat_title]', 40, 255, $cat_title); +$catform->addElement($cat_title); +unset($cat_title); + + +// +// Category description +//_AM_FORMCAPTIODESCR +if (!isset($cat_description)) { $cat_description = ""; } +$editordesc = amreviews_getwysiwygform(_AM_AMREV_CATCAPDESC, 'formdata[cat_description]', $cat_description, "100%", "250px", '15'); +$catform->addElement($editordesc); +unset($editordesc); + + +// +// Parent category +// +if (!isset($cat_parentid)) { $cat_parentid = "0"; } +$catparselect = new XoopsFormSelect(_AM_AMREV_CATCAPPAR, 'formdata[cat_id]', $cat_parentid, '1', false); +$catparselect->addOption('0', _AM_AMREV_CATCAPPARSLT); + + // Based on code from news 1.4 + // See news/admin/index.php line 610 on + $xt = new XoopsTree($xoopsDB->prefix("amreview_cat"), "id", "cat_parentid"); + $cats_arr = $xt->getChildTreeArray(0,"cat_title"); + $totalcats = count($cats_arr); + + //$tmpcpt = $start; + $tmpcpt = 0; + + $ok = true; + + while($ok) { + if($tmpcpt < $totalcats) { + if($cats_arr[$tmpcpt]['cat_parentid']!=0) { + $cats_arr[$tmpcpt]['prefix'] = str_replace(".","-",$cats_arr[$tmpcpt]['prefix']) . ' '; + //echo "thing1"; + } else { + $cats_arr[$tmpcpt]['prefix'] = str_replace(".","",$cats_arr[$tmpcpt]['prefix']); + //echo "thing2"; + } + $cattext = $cats_arr[$tmpcpt]['prefix']; + //echo + $catparselect->addOption($cats_arr[$tmpcpt]['id'], $cats_arr[$tmpcpt]['prefix'] . $cats_arr[$tmpcpt]['cat_title']); + } else { + $ok = false; + } + $tmpcpt++; + } +$catform->addElement($catparselect); +unset($catparselect); + +// +// Category weight/sort order - not used in all display modes. +// +if (!isset($cat_weight)) { $cat_weight = "0"; } +$cat_weight = new XoopsFormText(_AM_AMREV_CATCAPSRT, 'formdata[cat_weight]', 4, 4, $cat_weight); +$catform->addElement($cat_weight); +unset($cat_weight); + + +// +// Display this category +// +if (isset($cat_showme) AND $cat_showme == "0") { $cat_showme_checked = "0"; } +else { $cat_showme_checked = "1"; } + +$displayedbox = new XoopsFormCheckBox(_AM_AMREV_CATCAPDSPLY, 'formdata[cat_showme]', $cat_showme_checked); // checked value here whether will be checked? +$displayedbox->addOption(1, _AM_AMREV_CATCAPDSPLYTXT); // checked value here what will be sent in form? +$catform->addElement($displayedbox); +unset($displayedbox); + +if ($formaction == "add") { + $catform->addElement(new XoopsFormHidden('op', 'save')); +} +if ($formaction == "edit") { + $catform->addElement(new XoopsFormHidden('op', 'edit')); + $catform->addElement(new XoopsFormHidden('subop', 'save')); + $catform->addElement(new XoopsFormHidden('formdata[id]', $id)); +} + +// +// Add/submit category button +// +$button_sub = new XoopsFormButton('', 'but_save', $submitbutton, 'submit'); + +$tray = new XoopsFormElementTray(''); +$tray->addElement($button_sub); + +$catform->addElement($tray); + +// End - Display form +$catform->display(); + + + + +?> \ No newline at end of file Added: XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/functions.inc.php =================================================================== --- XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/functions.inc.php (rev 0) +++ XoopsModules/amreviews/releases/0.1 Alpha/amreviews/admin/functions.inc.php 2012-05-07 04:42:35 UTC (rev 9444) @@ -0,0 +1,423 @@ +<?php +// $Id: functions.inc.php,v 1.5 2007/01/24 19:15:59 andrew Exp $ +// ------------------------------------------------------------------------ // +// Author: Andrew Mills // +// Email: aj...@si... // +// About: This file is part of the AM Reviews module for Xoops v2. // +// // +// ------------------------------------------------------------------------ // +// 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 // +// ------------------------------------------------------------------------ // + +// includes +//include_once("header.php"); + +/** +* This file holds admin functions only. +*/ + +/** +* Admin header. +*/ +function amrev_adminmenu($currentoption="0", $breadcrumb) { +global $xoopsModule, $xoopsConfig; + + /* Nice buttons styles */ + echo " + <style type='text/css'> + #buttontop { float:left; width:100%; background: #e7e7e7; font-size:93%; line-height:normal; border-top: 1px solid black; border-left: 1px solid black; border-right: 1px solid black; margin: 0; } + #buttonbar { float:left; width:100%; background: #e7e7e7 url('" . XOOPS_URL . "/modules/"._AM_AMRMODDIR."/images/bg.png') repeat-x left bottom; font-size:93%; line-height:normal; border-left: 1px solid black; border-right: 1px solid black; margin-bottom: 12px; } + #buttonbar ul { margin:0; margin-top: 15px; padding:10px 10px 0; list-style:none; } + #buttonbar li { display:inline; margin:0; padding:0; } + #buttonbar a { float:left; background:url('" . XOOPS_URL . "/modules/"._AM_AMRMODDIR."/images/left_both.png') no-repeat left top; margin:0; padding:0 0 0 9px; border-bottom:1px solid #000; text-decoration:none; } + #buttonbar a span { float:left; display:block; background:url('" . XOOPS_URL . "/modules/"._AM_AMRMODDIR."/images/right_both.png') no-repeat right top; padding:5px 15px 4px 6px; font-weight:bold; color:#765; } + /* Commented Backslash Hack hides rule from IE5-Mac \*/ + #buttonbar a span {float:none;} + /* End IE5-Mac hack */ + #buttonbar a:hover span { color:#333; } + #buttonbar #current a { background-position:0 -150px; border-width:0; } + #buttonbar #current a span { background-position:100% -150px; padding-bottom:5px; color:#333; } + #buttonbar a:hover { background-position:0% -150px; } + #buttonbar a:hover span { background-position:100% -150px; } + </style> + "; + + $tblColors = Array(); + $tblColors[0] = $tblColors[1] = $tblColors[2] = $tblColors[3] = $tblColors[4] = $tblColors[5] = $tblColors[6] = $tblColors[7] = $tblColors[8] = ''; + //$tblColors[$currentoption] = 'current'; + if($currentoption>=0) { + $tblColors[$currentoption] = 'current'; + } + + if (file_exists(XOOPS_ROOT_PATH . '/modules/'._AM_AMRMODDIR.'/language/' . $xoopsConfig['language'] . '/modinfo.php')) { + include_once XOOPS_ROOT_PATH. '/modules/'._AM_AMRMODDIR.'/language/' . $xoopsConfig['language'] . '/modinfo.php'; + } else { + include_once XOOPS_ROOT_PATH . '/modules/'._AM_AMRMODDIR.'/language/english/modinfo.php'; + } + + echo "<div id='buttontop'>"; + echo "<table border=\"0\" style=\"width: 100%; padding: 0; \" cellspacing=\"0\"><tr>"; + echo "<td style=\"width: 60%; font-size: 10px; text-align: left; color: #2F5376; padding: 0 6px; line-height: 18px;\"><a class=\"nobutton\" href=\"../../system/admin.php?fct=preferences&op=showmod&mod=".$xoopsModule->getVar('mid')."\">" . _AM_AMREV_GENERALSET . "</a> | <a href=\"../index.php\">" . _AM_AMREV_GOTOMOD . "</a> | <a href=\"about.php\">" . _AM_AMREV_ABOUT . "</a> | <a href=\"#\">" . _AM_AMREV_HELP . "</a></td>"; + echo "<td style=\"width: 40%; font-size: 10px; text-align: right; color: #2F5376; padding: 0 6px; line-height: 18px;\"><b>" . $xoopsModule->name() . " " . _AM_AMREV_MODULEADMIN . "</b> " . $breadcrumb . "</td>"; + echo "</tr></table>"; + echo "</div>"; + + echo "<div id='buttonbar'>"; + echo "<ul>"; + echo "<li id='" . $tblColors[0] . "'><a href=\"index.php\"\"><span>" . _AM_AMREV_INDEX . "</span></a></li>\n"; + echo "<li id='" . $tblColors[1] . "'><a href=\"category.php\"><span>" . _AM_AMREV_CAT . "</span></a></li>\n"; + echo "<li id='" . $tblColors[2] . "'><a href=\"review.php\"><span>" . _AM_AMREV_REVIEWS . "</span></a></li>\n"; + echo "<li id='" . $tblColors[3] . "'><a href=\"image.php\"><span>" . _MI_AMREV_IMAGES . "</span></a></li>\n"; + echo "<li id='" . $tblColors[4] . "'><a href=\"perms.php\"><span>" . _AM_AMREV_PERMS . "</span></a></li>\n"; + //echo "<li id='" . $tblColors[5] . "'><a href=\"index.php\"><span>" . _MI_ . "</span></a></li>\n"; + //echo "<li id='" . $tblColors[6] . "'><a href=\"index.php\"><span>" . _MI_ . "</span></a></li>\n"; + + echo "</ul></div>"; + echo "<br /><br /><pre> </pre><pre> </pre>"; + +} // end function + +//----------------------------------------------------------------------------// + +function amrev_adminfooter() { +global $xoopsModule; + + echo "<span style=\"font-size: smaller;\">"; + echo "<br />"; + //echo $xoopsModule->getVar('name') . ", version " . round($xoopsModule->getVar('version')/100 , 2) . "<br />"; + echo $xoopsModule->getVar('name') . ", version " . _AM_AMRVERSION . "<br />"; + echo "Updates are available from <a href=\"http://support.sirium.net\" target=\"_blank\">http://support.sirium.net</a>"; + echo "</span>"; + +} // end functions + + +//----------------------------------------------------------------------------// + +/** +* Do some basic file checks and stuff. +*/ +function amr_filechecks() { +global $xoopsModule, $xoopsConfig; + + echo "<fieldset>"; + echo "<legend style=\"color: #990000; font-weight: bold;\">" . _AM_AMREV_FILECHECKS . "</legend>"; + + $photodir = XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar('dirname') . "/photos"; + $photothumbdir = XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar('dirname') . "/photos/thumb"; + $photohighdir = XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar('dirname') . "/photos/highlight"; + $cachedir = XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar('dirname') . "/cache"; + $tmpdir = XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar('dirname') . "/cache/tmp"; + + if(file_exists($photodir)) { + if (!is_writable($photodir)) { + echo "<span style=\" color: red; font-weight: bold;\">Warning:</span> I am unable to write to: " . $photodir . "<br />"; + } else { + echo "<span style=\" color: green; font-weight: bold;\">OK:</span> " . $photodir . "<br />"; + } + } else { + echo "<span style=\" color: red; font-weight: bold;\">Warning:</span> " . $photodir . " does NOT exist!<br />"; + } + // photothumbdir + if(file_exists($photothumbdir)) { + if (!is_writable($photothumbdir)) { + echo "<span style=\" color: red; font-weight: bold;\">Warning:</span> I am unable to write to: " . $photothumbdir . "<br />"; + } else { + echo "<span style=\" color: green; font-weight: bold;\">OK:</span> " . $photothumbdir . "<br />"; + } + } else { + echo "<span style=\" color: red; font-weight: bold;\">Warning:</span> " . $photothumbdir . " does NOT exist!<br />"; + } + // photohighdir + if(file_exists($photohighdir)) { + if (!is_writable($photohighdir)) { + echo "<span style=\" color: red; font-weight: bold;\">Warning:</span> I am unable to write to: " . $photohighdir . "<br />"; + } else { + echo "<span style=\" color: green; font-weight: bold;\">OK:</span> " . $photohighdir . "<br />"; + } + } else { + echo "<span style=\" color: red; font-weight: bold;\">Warning:</span> " . $photohighdir . " does NOT exist!<br />"; + } + // cachedir + if(file_exists($cachedir)) { + if (!is_writable($cachedir)) { + echo "<span style=\" color: red; font-weight: bold;\">Warning:</span> I am unable to write to: " . $cachedir . "<br />"; + } else { + echo "<span style=\" color: green; font-weight: bold;\">OK:</span> " . $cachedir . "<br />"; + } + } else { + echo "<span style=\" color: red; font-weight: bold;\">Warning:</span> " . $cachedir . " does NOT exist!<br />"; + } + // tmpdir + if(file_exists($tmpdir)) { + if (!is_writable($tmpdir)) { + echo "<span style=\" color: red; font-weight: bold;\">Warning:</span> I am unable to write to: " . $tmpdir . "<br />"; + } else { + echo "<s... [truncated message content] |
From: <ma...@us...> - 2012-05-06 20:39:14
|
Revision: 9443 http://xoops.svn.sourceforge.net/xoops/?rev=9443&view=rev Author: mageg Date: 2012-05-06 20:39:08 +0000 (Sun, 06 May 2012) Log Message: ----------- update smilies plugin Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/admin/menu.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/admin/smilies.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/class/form/smilies.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/language/english/admin.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/templates/admin/smilies_smilies.html Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/admin/menu.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/admin/menu.php 2012-05-06 20:37:34 UTC (rev 9442) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/admin/menu.php 2012-05-06 20:39:08 UTC (rev 9443) @@ -19,18 +19,16 @@ * @author Mage Grégory (AKA Mage) * @version $Id$ */ -$pathIcon32 = ''; - $adminmenu = array(); $i = 1; $adminmenu[$i]['title'] = _MI_SMILIES_INDEX; $adminmenu[$i]['link'] = "admin/index.php"; -$adminmenu[$i]['icon'] = $pathIcon32 . 'home.png'; +$adminmenu[$i]['icon'] = 'home.png'; $i++; $adminmenu[$i]['title'] = _MI_SMILIES_SMILIES; $adminmenu[$i]['link'] = "admin/smilies.php"; -$adminmenu[$i]['icon'] = $pathIcon32 . 'smilies.png'; +$adminmenu[$i]['icon'] = 'smilies.png'; $i++; $adminmenu[$i]['title'] = _MI_SMILIES_ABOUT; $adminmenu[$i]['link'] = 'admin/about.php'; -$adminmenu[$i]['icon'] = $pathIcon32 . 'about.png'; \ No newline at end of file +$adminmenu[$i]['icon'] = 'about.png'; \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/admin/smilies.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/admin/smilies.php 2012-05-06 20:37:34 UTC (rev 9442) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/admin/smilies.php 2012-05-06 20:39:08 UTC (rev 9443) @@ -81,35 +81,35 @@ // Display Page Navigation if ($smilies_count > $nb_smilies) { $nav = new XoopsPageNav($smilies_count, $nb_smilies, $start, 'start', 'op=list'); - $xoops->tpl->assign('nav_menu', $nav->renderNav(4)); + $xoops->tpl->assign('nav_menu', $nav->renderNav(2)); } break; // New smilie case "new_smilie": $admin_page->addTips(sprintf(_AM_SMILIES_TIPS_FORM1, implode(', ', $mimetypes)) . sprintf(_AM_SMILIES_TIPS_FORM2, $upload_size / 1000)); - $admin_page->addItemButton(_AM_SMILIES_LIST, 'smilies.php', 'list'); + $admin_page->addItemButton(_AM_SMILIES_LIST, 'smilies.php', 'application-view-detail'); $admin_page->renderTips(); $admin_page->renderButton(); // Create form $obj = $smilies_Handler->create(); $form = $xoops->getModuleForm($obj, 'smilies'); - // Assign form - $xoops->tpl->assign('form', $form->render()); + $form->render(); + $xoops->tpl->assign('form', true); break; // Edit smilie case "edit_smilie": $admin_page->addTips(sprintf(_AM_SMILIES_TIPS_FORM1, implode(', ', $mimetypes)) . sprintf(_AM_SMILIES_TIPS_FORM2, $upload_size / 1000)); $admin_page->addItemButton(_AM_SMILIES_ADD, 'smilies.php?op=new_smilie', 'add'); - $admin_page->addItemButton(_AM_SMILIES_LIST, 'smilies.php', 'list'); + $admin_page->addItemButton(_AM_SMILIES_LIST, 'smilies.php', 'application-view-detail'); $admin_page->renderTips(); $admin_page->renderButton(); // Create form $obj = $smilies_Handler->get($system->cleanVars($_REQUEST, 'smilies_id', 0, 'int')); $form = $xoops->getModuleForm($obj, 'smilies'); - // Assign form - $xoops->tpl->assign('form', $form->render()); + $form->render(); + $xoops->tpl->assign('form', true); break; // Save smilie @@ -148,13 +148,14 @@ } $xoops->error($obj->getHtmlErrors()); $form = $xoops->getModuleForm($obj, 'smilies'); - $xoops->tpl->assign('form', $form->render()); + $form->render(); + $xoops->tpl->assign('form', true); break; //Del a smilie case "smilies_delete": $admin_page->addItemButton(_AM_SMILIES_ADD, 'smilies.php?op=new_smilie', 'add'); - $admin_page->addItemButton(_AM_SMILIES_LIST, 'smilies.php', 'list'); + $admin_page->addItemButton(_AM_SMILIES_LIST, 'smilies.php', 'application-view-detail'); $admin_page->renderButton(); $smilies_id = $system->cleanVars($_REQUEST, 'smilies_id', 0, 'int'); $obj = $smilies_Handler->get($smilies_id); @@ -168,7 +169,7 @@ chmod($urlfile, 0777); unlink($urlfile); } - $xoops->redirect("smilies.php", 2, _AM_SMILIES_SAVE); + $xoops->redirect("smilies.php", 2, _AM_SMILIES_DELETED); } else { $xoops->error($obj->getHtmlErrors()); } @@ -178,7 +179,7 @@ $smilies_img = ($obj->getVar("smile_url")) ? $obj->getVar("smile_url") : 'blank.gif'; $xoops->confirm(array( "ok" => 1, "smilies_id" => $_REQUEST["smilies_id"], "op" => "smilies_delete" - ), $_SERVER["REQUEST_URI"], sprintf(_AM_SMILIES_SUREDEL) . '<br \><img src="' . XOOPS_UPLOAD_URL . '/' . $smilies_img . '" alt="" /><br \>'); + ), XOOPS_URL . '/modules/smilies/admin/smilies.php', sprintf(_AM_SMILIES_SUREDEL) . '<br /><img src="' . XOOPS_UPLOAD_URL . '/' . $smilies_img . '" alt=""><br />'); } break; Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/class/form/smilies.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/class/form/smilies.php 2012-05-06 20:37:34 UTC (rev 9442) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/class/form/smilies.php 2012-05-06 20:39:08 UTC (rev 9443) @@ -53,7 +53,7 @@ } $imageselect_img->setExtra( 'onchange="showImgSelected(\'xo-smilies-img\', \'smile_url\', \'smilies\', \'\', \'' . XOOPS_UPLOAD_URL . '\' )"' ); $imgtray_img->addElement( $imageselect_img, false); - $imgtray_img->addElement( new XoopsFormLabel( '', "<br /><img src='" . XOOPS_UPLOAD_URL . "/smilies/" . $blank_img . "' name='image_img' id='xo-smilies-img' alt='' />" ) ); + $imgtray_img->addElement( new XoopsFormLabel( '', "<br /><img src='" . XOOPS_UPLOAD_URL . "/smilies/" . $blank_img . "' name='image_img' id='xo-smilies-img' alt=''>" ) ); $fileseltray_img = new XoopsFormElementTray('<br />','<br /><br />'); $fileseltray_img->addElement(new XoopsFormFile(_AM_SMILIES_UPLOADS , 'smile_url', 500000),false); Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/language/english/admin.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/language/english/admin.php 2012-05-06 20:37:34 UTC (rev 9442) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/language/english/admin.php 2012-05-06 20:39:08 UTC (rev 9443) @@ -23,6 +23,7 @@ define("_AM_SMILIES_ADD", "Add a new smilie"); define("_AM_SMILIES_CODE","Code"); define("_AM_SMILIES_DELETE","Delete smilie"); +define("_AM_SMILIES_DELETED","Smilies deleted"); define("_AM_SMILIES_DESCRIPTION","Description"); define("_AM_SMILIES_DISPLAY","Display in form"); define("_AM_SMILIES_EDIT","Edit smilie"); Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/templates/admin/smilies_smilies.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/templates/admin/smilies_smilies.html 2012-05-06 20:37:34 UTC (rev 9442) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/templates/admin/smilies_smilies.html 2012-05-06 20:39:08 UTC (rev 9443) @@ -49,5 +49,5 @@ <{/if}> <!-- Display smilies form (add,edit) --> <{if $form}> -<div class="spacer"><{$form}></div> +<{includeq file="module:system|system_form.html"}> <{/if}> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2012-05-06 20:37:40
|
Revision: 9442 http://xoops.svn.sourceforge.net/xoops/?rev=9442&view=rev Author: mageg Date: 2012-05-06 20:37:34 +0000 (Sun, 06 May 2012) Log Message: ----------- add template for xoops confirm Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoops.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/xoops_version.php Added Paths: ----------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/system_confirm.html Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoops.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoops.php 2012-05-06 11:09:46 UTC (rev 9441) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoops.php 2012-05-06 20:37:34 UTC (rev 9442) @@ -1158,25 +1158,25 @@ public function confirm($hiddens, $action, $msg, $submit = '', $addtoken = true) { $submit = ($submit != '') ? trim($submit) : _SUBMIT; - echo '<div class="confirmMsg">' . $msg . '<br /> - <form method="post" action="' . $action . '">'; + $this->tpl->assign('msg', $msg); + $this->tpl->assign('action', $action); + $this->tpl->assign('submit', $submit); + $str_hiddens = ''; foreach ($hiddens as $name => $value) { if (is_array($value)) { foreach ($value as $caption => $newvalue) { - echo '<input type="radio" name="' . $name . '" value="' . htmlspecialchars($newvalue) . '" /> ' . $caption; + $str_hiddens .= '<input type="radio" name="' . $name . '" value="' . htmlspecialchars($newvalue) . '" > ' . $caption . NWLINE; } - echo '<br />'; + $str_hiddens .= '<br />' . NWLINE; } else { - echo '<input type="hidden" name="' . $name . '" value="' . htmlspecialchars($value) . '" />'; + $str_hiddens .= '<input type="hidden" name="' . $name . '" value="' . htmlspecialchars($value) . '" />' . NWLINE; } } if ($addtoken != false) { - echo $this->security->getTokenHTML(); + $this->tpl->assign('token', $this->security->getTokenHTML()); } - echo '<input type="submit" name="confirm_submit" value="' . $submit . '" title="' . $submit . '"/> - <input type="button" name="confirm_back" value="' . _CANCEL . '" onclick="javascript:history.go(-1);" title="' . _CANCEL . '" /> - </form> - </div>'; + $this->tpl->assign('hiddens', $str_hiddens); + $this->tpl->display('module:system|system_confirm.html'); } /** Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/system_confirm.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/system_confirm.html (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/system_confirm.html 2012-05-06 20:37:34 UTC (rev 9442) @@ -0,0 +1,11 @@ +<div class="confirmMsg"> + <{$msg}> + <br /> + <form name="confirm" id="confirm" action="<{$action}>" method="post"> + <{$hiddens}> + <{$token}> + <input class="btn btn-danger" type="submit" name="confirm_submit" value="<{$submit}>" title="<{$submit}>"> + <input class="btn" type="button" name="confirm_back" value="<{$smarty.const._CANCEL}>" onclick="javascript:history.go(-1);" title="<{$smarty.const._CANCEL}>"> + + </form> +</div> \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/xoops_version.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/xoops_version.php 2012-05-06 11:09:46 UTC (rev 9441) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/xoops_version.php 2012-05-06 20:37:34 UTC (rev 9442) @@ -76,6 +76,7 @@ $modversion['templates'][] = array('file' => 'system_block_dummy.html', 'description' => ''); $modversion['templates'][] = array('file' => 'system_homepage.html', 'description' => ''); $modversion['templates'][] = array('file' => 'system_form.html', 'description' => ''); +$modversion['templates'][] = array('file' => 'system_confirm.html', 'description' => ''); // Admin Templates /*$modversion['templates'][] = array('file' => 'system_header.html', 'description' => '', 'type' => 'admin'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ren...@us...> - 2012-05-06 11:09:54
|
Revision: 9441 http://xoops.svn.sourceforge.net/xoops/?rev=9441&view=rev Author: renetjuh Date: 2012-05-06 11:09:46 +0000 (Sun, 06 May 2012) Log Message: ----------- Upload NL language files extcal 2.37 Added Paths: ----------- XoopsLanguages/dutch/modules/extcal/extcal 2.37/ XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/ XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/ XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/admin.php XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/blocks.php XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/help/ XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/help/help.html XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/help/index.html XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/index.html XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/mail_template/ XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/mail_template/cat_new_event.tpl XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/mail_template/global_new_event.tpl XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/mail_template/global_new_event_pending.tpl XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/main.php XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/modinfo.php Property changes on: XoopsLanguages/dutch/modules/extcal/extcal 2.37 ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/dutch/modules/extcal/extcal 2.37/language ___________________________________________________________________ Added: bugtraq:number + true Property changes on: XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/admin.php =================================================================== --- XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/admin.php (rev 0) +++ XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/admin.php 2012-05-06 11:09:46 UTC (rev 9441) @@ -0,0 +1,122 @@ +<?php +// @auteur Renetjuh +//*************************************************************************************** +define('_AM_EXTCAL_CONFIG', "Instellingen"); +define('_AM_EXTCAL_EVENTS_DELETED', "Evenementen succesbol verwijderd"); +define('_AM_EXTCAL_PEAR_PATH', "PEAR Bibliotheek"); +define('_AM_EXTCAL_RECURRENT', "Terugkerend"); +define('_AM_EXTCAL_START_RULES', "Regels"); +define('_AM_EXTCAL_WEIGHT', "Gewicht"); +define('_AM_EXTCAL_MANAGER_CATS', "Categoriebeheer"); +define('_AM_EXTCAL_CLONE_OF', "Event # kopieren"); +define('_AM_EXTCAL_EDIT_EVENT', "Evenement bewerken"); +define('_AM_EXTCAL_ABOUT_AUTHOR', 'Auteur: '); +define('_AM_EXTCAL_ABOUT_AUTHOR_INFO', 'Auteur Info'); +define('_AM_EXTCAL_ABOUT_AUTHOR_NAME', 'Naam auteur: '); +define('_AM_EXTCAL_ABOUT_CHANGELOG', 'Wijzigingen'); +define('_AM_EXTCAL_ABOUT_CREDITS', 'Credits: '); +define('_AM_EXTCAL_ABOUT_DESCRIPTION', 'Omschrijving: '); +define('_AM_EXTCAL_ABOUT_LICENSE', 'Licentie: '); +define('_AM_EXTCAL_ABOUT_MODULE_INFO', 'Module Info'); +define('_AM_EXTCAL_ABOUT_MODULE_STATUS', 'Status: '); +define('_AM_EXTCAL_ABOUT_RELEASEDATE', 'Vrijgegeven: '); +define('_AM_EXTCAL_ABOUT_UPDATEDATE', 'Bijgewerkt: '); +define('_AM_EXTCAL_ABOUT_WEBSITE', 'Website: '); +define('_AM_EXTCAL_ACTION', 'Actie'); +define('_AM_EXTCAL_ADD_CATEGORY', 'Toevoegen categorie'); +define('_AM_EXTCAL_ADMINISTRATION', 'Administratie'); +define('_AM_EXTCAL_APPROVED', 'Goedgekeurd'); +define('_AM_EXTCAL_APPROVED_EVENT', 'Evenement goedkeuren'); +define('_AM_EXTCAL_AUTO_APPROVE', 'Autogoedkeuring van toegevoegd evenement'); +define('_AM_EXTCAL_AUTOAPPROVE_PERMISSION', '(Auto)Goedkeuren permissie'); +define('_AM_EXTCAL_AUTOAPPROVE_PERMISSION_DESC', 'Selecteer categoriën waar elke groep geen goedkeuring nodig heeft om evenementen toe te voegen'); +define('_AM_EXTCAL_CAN_EDIT', 'Kan wijzigen'); +define('_AM_EXTCAL_CAN_SUBMIT', 'Kan toevoegen'); +define('_AM_EXTCAL_CAN_VIEW', 'Kan bekijken'); +define('_AM_EXTCAL_CAT_CREATED', 'Categorie is aangemaakt'); +define('_AM_EXTCAL_CAT_DELETED', 'Categorie succesvol verwijderd.'); +define('_AM_EXTCAL_CAT_EDITED', 'Categorie is gewijzigd'); +define('_AM_EXTCAL_CATEGORY', 'Categorie'); +define('_AM_EXTCAL_CHECK_UPDATE_ERROR', 'De laatste versie van eXtCal kan niet worden ontvangen.'); +define('_AM_EXTCAL_COLOR', 'Kleur'); +define('_AM_EXTCAL_CONFIG_CHECK', 'Instellingen'); +define('_AM_EXTCAL_CONFIG_PHP', "Versie %s van PHP dient minimaal geïnstalleerd te zijn. (de huidige versie is %s)"); +define('_AM_EXTCAL_CONFIG_XOOPS', "Versie %s van XOOPS dient minimaal geïnstalleerd te zijn. (de huidige versie is %s)"); +define('_AM_EXTCAL_CONFIRM_DELETE_ALL', "Alles verwijderen bevstigen"); +define('_AM_EXTCAL_CONFIRM_DELETE_CAT', 'Categorie verwijderen bevestigen'); +define('_AM_EXTCAL_CONFIRM_DELETE_EVENT', 'Evenement verwijderen bevestigen?'); +define('_AM_EXTCAL_CONFIRM_DELETE_SELECTION', "Selectie verwijderen bevestigen?"); +define('_AM_EXTCAL_DELETE', "Selecteren om te verwijderen"); +define('_AM_EXTCAL_DELETE_ALL', "Alles verwijderen"); +define('_AM_EXTCAL_DELETE_SELECTION', "Selectie verwijderen"); +define('_AM_EXTCAL_DESCRIPTION', 'Omschrijving'); +define('_AM_EXTCAL_DOWN_DONE', 'Downloaden is klaar. Klik hier om de bestanden te installeren.'); +define('_AM_EXTCAL_EDIT_CATEGORY', 'Categorie bewerken'); +define('_AM_EXTCAL_EDIT_OR_DELETE_CATEGORY', 'Wijzig of verwijder categorie'); +define('_AM_EXTCAL_EDIT_PERMISSION', 'Wijzig permissie'); +define('_AM_EXTCAL_EDIT_PERMISSION_DESC', 'Selecteer categoriën waar door elke groep de eigen evenementen bijgewerkt kunnen worden'); +define('_AM_EXTCAL_ERREUR_NO_ETABLISSEMENT', 'Er is nog geen locatie in de database'); +define('_AM_EXTCAL_ETABLISSEMENT', 'Plaats'); +define('_AM_EXTCAL_ETABLISSEMENT_FORM_ACTION', 'Actie'); +define('_AM_EXTCAL_ETABLISSEMENT_FORM_ADRESSE', 'Adres'); +define('_AM_EXTCAL_ETABLISSEMENT_FORM_DELETE', 'Locatie verwijderen'); +define('_AM_EXTCAL_ETABLISSEMENT_FORM_EDIT', 'Instellingen wijzigen'); +define('_AM_EXTCAL_ETABLISSEMENT_FORM_NOM', 'Naam'); +define('_AM_EXTCAL_ETABLISSEMENT_FORM_TELEPHONE', 'Telefoon'); +define('_AM_EXTCAL_ETABLISSEMENT_SURDEL', 'Zeker weten verwijderen?'); +define('_AM_EXTCAL_ETABLISSEMENTS', 'Plaatsen'); +define('_AM_EXTCAL_EVENT', 'Evenement'); +define('_AM_EXTCAL_EVENT_CREATED', 'Evenement is aangemaakt'); +define('_AM_EXTCAL_EVENT_DELETED', 'Evenement succesvol verwijderd.'); +define('_AM_EXTCAL_EVENT_EDITED', 'Evenement is gewijzigd'); +define('_AM_EXTCAL_FORMOK', 'Succesvol opgeslagen'); +define('_AM_EXTCAL_GO_TO_MODULE', 'Ga naar module'); +define('_AM_EXTCAL_GOTO_EVENTS', "Teru naar evenementen"); +define('_AM_EXTCAL_GROUP_NAME', 'Groepsnaam'); +define('_AM_EXTCAL_ICONE_CLONE', "Kopiëren"); +define('_AM_EXTCAL_ICONE_DELETE', "Verwijderen"); +define('_AM_EXTCAL_ICONE_EDIT', "Bewerken"); +define('_AM_EXTCAL_INDEX_APPROVED', "Evenementen goedgekeurd: %s"); +define('_AM_EXTCAL_INDEX_CATEGORIES', "Aantal categoriën: %s"); +define('_AM_EXTCAL_INDEX_EVENT', "Aantal evenementen: %s"); +define('_AM_EXTCAL_INDEX_PENDING', "Evenementen ingediend: %s"); +define('_AM_EXTCAL_INFO_APPROVE_PENDING_EVENT', '<b>Goedkeuren</b> van nieuw evenement zonder de informatie te lezen.'); +define('_AM_EXTCAL_INFO_DELETE', '<b>Verwijder</b> evenement.'); +define('_AM_EXTCAL_INFO_DELETE_PENDING_EVENT', '<b>Verwijder</b> het nieuwe evenement.'); +define('_AM_EXTCAL_INFO_EDIT', '<b>Bewerk</b> evenement.'); +define('_AM_EXTCAL_INFO_EDIT_PENDING_EVENT', '<b>Wijzig</b> nieuw evenement.'); +define('_AM_EXTCAL_INFORMATION', 'Informatie'); +define('_AM_EXTCAL_INSTALL', 'Installeer bestand '); +define('_AM_EXTCAL_INSTALL_DONE', 'Installatie is klaar. Klik hier om de module bij te werken'); +define('_AM_EXTCAL_LG_FILE_DONT_EXIST', 'Taalbestand bestaat niet in de bibliotheek :<br /><b>Server : </b>%s<br /><b>Bestand : </b>%s'); +define('_AM_EXTCAL_MD_FILE_DONT_EXIST', 'Modulebestand bestaan niet in de bibliotheek :<br /><b>Server : </b>%s<br /><b>Bestand : </b>%s'); +define('_AM_EXTCAL_MD_FILE_DONT_EXIST_SHORT', 'Module bestand bestaat niet'); +define('_AM_EXTCAL_MODULE_ADMIN_SUMMARY', 'eXtCal Administratie overzicht'); +define('_AM_EXTCAL_MULTIUPLOADS_NOT_OK', "De multiupload component is niet geïnstalleerd.<br /><br /><a href='http://xoops.kiolo.com/modules/mydownloads/'>Download het multiupload component hier</a><br /><br />en installeer in de map 'class/xoopsform/'"); +define('_AM_EXTCAL_NAME', 'Naam'); +define('_AM_EXTCAL_NO_PENDING_EVENT', 'Geen wachtend evenement'); +define('_AM_EXTCAL_NOPERMSSET', 'Permissie kan niet worden ingesteld: Er zijn nog geen categoriën aangemaakt! Maak eerst een categorie aan.'); +define('_AM_EXTCAL_PENDING', 'Wachtend'); +define('_AM_EXTCAL_PENDING_EVENT', 'Wachtend evenement'); +define('_AM_EXTCAL_PERM_MASK_UPDATED', 'Standaard publieke permissies bijgewerkt'); +define('_AM_EXTCAL_PERM_NO_CATEGORY', 'Er moet eerst een categorie aangemaakt worden'); +define('_AM_EXTCAL_PREFERENCES', 'Instellingen'); +define('_AM_EXTCAL_PUBLIC_PERM_MASK', 'Standaard Publieke permissies'); +define('_AM_EXTCAL_PUBLIC_PERM_MASK_INFO', 'Hier is de standaardinstelling voor publieke permissies in te stellen welke gebruikt zal worden bij elke nieuwe categorie. Wees voorzichtig met het instellen van teveel permissies want elke nieuwe categorie zal deze instellingen krijgen.'); +define('_AM_EXTCAL_REDIRECT_DELOK', 'Succesvol verwijderd'); +define('_AM_EXTCAL_START_DATE', 'Startdatum'); +define('_AM_EXTCAL_SUBMIT_PERMISSION', 'Toevoegen permissie'); +define('_AM_EXTCAL_SUBMIT_PERMISSION_DESC', 'Selecteer de categoriën waar door elke groep aan toegevoegd mag worden'); +define('_AM_EXTCAL_SUBMITTED_EVENT', 'Toegevoegd evenement'); +define('_AM_EXTCAL_TITLE', 'Titel'); +define('_AM_EXTCAL_UPDATE', 'Module bijwerken'); +define('_AM_EXTCAL_UPDATE_INFO', 'Update Informatie'); +define('_AM_EXTCAL_UPDATE_KO', 'De versie van eXtCal is verouderd. Het is aan te raden om de nieuwe versie te controleren op <a href=\"http://www.zoullou.net/\">Zoullou.net</a>.'); +define('_AM_EXTCAL_UPDATE_OK', 'De laatste versie van eXtCal is werkend in deze website'); +define('_AM_EXTCAL_UPDATE_UPGRADE', 'Klik hier om de module bij te werken met de nieuwste versie'); +define('_AM_EXTCAL_VIEW_PERMISSION', 'Toon permissies'); +define('_AM_EXTCAL_VIEW_PERMISSION_DESC', 'Selcteer de categoriën die door elke groep bekeken mag worden'); +define('_AM_EXTCAL_ICONE', 'Icoon'); +//ModuleAdmin +define('_AM_EXTCAL_MODULEADMIN_MISSING','ERROR: De ModuleAdmin class ontbreekt. Installeer de ModuleAdmin Class in /Frameworks (bekijk /docs/readme.txt)'); +?> \ No newline at end of file Added: XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/blocks.php =================================================================== --- XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/blocks.php (rev 0) +++ XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/blocks.php 2012-05-06 11:09:46 UTC (rev 9441) @@ -0,0 +1,30 @@ +<?php +define("_MB_EXTCAL_BGCOLOR", "Achtergrondkleur"); +define("_MB_EXTCAL_CAT_TO_USE", "Category"); +define("_MB_EXTCAL_HEIGHT", "Height"); +define("_MB_EXTCAL_HORLOGE", "Clock"); +define("_MB_EXTCAL_HORLOGE_OPT", "Clocks options"); +define("_MB_EXTCAL_OPT_SHOW", "Show options"); +define("_MB_EXTCAL_OPT_SLIDE_SHOW", "Slide show"); +define("_MB_EXTCAL_WIDTH", "Width"); +define('_MB_EXTCAL_ALL_CAT', 'All categori\xEBn'); +define('_MB_EXTCAL_CAT_TO_USE_DESC', 'Selecteer cagegorie waar evenementen bijhoren'); +define('_MB_EXTCAL_CURRENT', 'Huidig'); +define("_MB_EXTCAL_DISPLAY","Weergeven"); +define("_MB_EXTCAL_DISPLAY_IMG","Afbeelding weergeven"); +define("_MB_EXTCAL_DISPLAY_MONTH","Maand om weer te geven"); +define("_MB_EXTCAL_DISPLAY_SUBMIT_LINK","Toevoegen link weergeven"); +define("_MB_EXTCAL_EVENT","Evenementen"); +define("_MB_EXTCAL_IMG_CAT","Afbeeldingscategorie"); +define('_MB_EXTCAL_NEXT', 'Volgende'); +define('_MB_EXTCAL_PREVIEW', 'Voorbeeld'); +define('_MB_EXTCAL_PX', 'px'); +define('_MB_EXTCAL_SECONDES', 'seconden'); +define('_MB_EXTCAL_SS_HEIGHT', 'Slideshow hoogte'); +define('_MB_EXTCAL_SS_NB_PHOTOS', 'Slideshow vs fotos'); +define('_MB_EXTCAL_SS_PAUSE_TIME', 'Slideshow pause tijd'); +define('_MB_EXTCAL_SS_TRANS_TIME', 'Slideshow trans tijd'); +define('_MB_EXTCAL_SS_WIDTH', 'Slideshow breedte'); +define("_MB_EXTCAL_SUBMIT_LINK_TEXT","Toevoegen evenement"); +define("_MB_EXTCAL_TITLE_LENGTH","Titel lengte"); +?> \ No newline at end of file Property changes on: XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/help ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/help/help.html =================================================================== --- XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/help/help.html (rev 0) +++ XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/help/help.html 2012-05-06 11:09:46 UTC (rev 9441) @@ -0,0 +1,42 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" + href="<{$xoops_url}>/modules/extcal/admin/index.php" + title="Terug naar de administratie van extCal"> extCal <img + src="<{xoAdminIcons home.png}>" + alt="Terug naar de administratie van extCal"/> + </a></h1> + <!-- -----Help Content ---------- --> + + <h4 class="odd">Omschrijving</h4> + + <p class="even"> + eXtCal is een evenement/kalender module exclusief ontwikkeld voor XOOPS, + waardoor het uitstekend is geïntegreerd. <br/><br/>Het gebruikt de XOOPS + permissie-instellingen en groepenbeheer, wat een grote flexibiliteit oplevert in het gebruik.</p> + <h4 class="odd">Installeren/de-installeren</h4> + + Geen speciale maatregelen zijn nodig, volg de standaard installatieprocedure – + pak de /extcal map uit in de ../modules map. Installeer de module + via Administratie -> Modules -> Systeembeheer -> Modules. <br/><br/> + Gedetailleerde instructies voor het installeren van modules zijn beschikbaar in de <a + href="http://goo.gl/adT2i">XOOPS Gebruikershandleiding</a> </p> + + <p class="even"> + <h4 class="odd">Gebruiksaanwijzing</h4> + Voor het instellen van deze module is het volgende van belang:<br/><br/> + i) Configureer de voorkeuren voor de module (zie "Instellingen") + en indien benodigd het blok voor de Partners module. via ‘Blokken’)<br/><br/> + ii) Controleer dat de groepen de juiste rechten bezitten die benodigd zijn voor toegang + tot en gebruik van de module en blokken. Permissies zijn in te stellen via + de Administratie -> Modules -> Systeembeheer -> Groepen. <br/><br/> + Gedetailleerde instructies voor het instellen van permissies voor gebruikersgroepen zijn beschikbaar in de <a + href="http://goo.gl/adT2i">XOOPS Gebruikershandleiding</a></p> + <h4 class="odd">Handleiding</h4> + + <p class="even"> + Niet beschikbaar op dit moment. + + <!-- -----Help Content ---------- --> + +</div> \ No newline at end of file Added: XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/help/index.html =================================================================== --- XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/help/index.html (rev 0) +++ XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/help/index.html 2012-05-06 11:09:46 UTC (rev 9441) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/index.html =================================================================== --- XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/index.html (rev 0) +++ XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/index.html 2012-05-06 11:09:46 UTC (rev 9441) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Property changes on: XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/mail_template ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/mail_template/cat_new_event.tpl =================================================================== --- XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/mail_template/cat_new_event.tpl (rev 0) +++ XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/mail_template/cat_new_event.tpl 2012-05-06 11:09:46 UTC (rev 9441) @@ -0,0 +1,18 @@ +Hallo {X_UNAME}, + +Een nieuw evenement "{EVENT_TITLE}" is aangemaakt in "{CAT_NAME}" op {X_SITENAME}. + +----------- + +U ontvangt dit bericht omdat u heeft aangegeven berichten te willen ontvangen wanneer nieuwe evenementen zijn toegevoegd aan de wesite. + +Als dit een fout is of u dit bericht niet meer wenst te ontvangen, wijzig dan u instellingen voor het ontvangen van notificaties hier: +{X_UNSUBSCRIBE_URL} + +Graag niet reageren op deze e-mail. + +----------- + +{X_SITENAME} ({X_SITEURL}) +webmaster +{X_ADMINMAIL} \ No newline at end of file Added: XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/mail_template/global_new_event.tpl =================================================================== --- XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/mail_template/global_new_event.tpl (rev 0) +++ XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/mail_template/global_new_event.tpl 2012-05-06 11:09:46 UTC (rev 9441) @@ -0,0 +1,17 @@ +Hello {X_UNAME}, + +Een nieuw evenement "{EVENT_TITLE}" is aangemaakt op {X_SITENAME}. + +----------- +U ontvangt dit bericht omdat u heeft aangegeven berichten te willen ontvangen wanneer nieuwe evenementen zijn toegevoegd aan de wesite. + +Als dit een fout is of u dit bericht niet meer wenst te ontvangen, wijzig dan u instellingen voor het ontvangen van notificaties hier: +{X_UNSUBSCRIBE_URL} + +Graag niet reageren op deze e-mail. + +----------- + +{X_SITENAME} ({X_SITEURL}) +webmaster +{X_ADMINMAIL} \ No newline at end of file Added: XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/mail_template/global_new_event_pending.tpl =================================================================== --- XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/mail_template/global_new_event_pending.tpl (rev 0) +++ XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/mail_template/global_new_event_pending.tpl 2012-05-06 11:09:46 UTC (rev 9441) @@ -0,0 +1,18 @@ +Hello {X_UNAME}, + +Een nieuw evenement "{EVENT_TITLE}" is aangemaakt en wacht op goedkeuring {X_SITENAME}. + +----------- + +U ontvangt dit bericht omdat u heeft aangegeven berichten te willen ontvangen wanneer nieuwe evenementen zijn toegevoegd aan de wesite. + +Als dit een fout is of u dit bericht niet meer wenst te ontvangen, wijzig dan u instellingen voor het ontvangen van notificaties hier: +{X_UNSUBSCRIBE_URL} + +Graag niet reageren op deze e-mail. + +----------- + +{X_SITENAME} ({X_SITEURL}) +webmaster +{X_ADMINMAIL} \ No newline at end of file Added: XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/main.php =================================================================== --- XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/main.php (rev 0) +++ XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/main.php 2012-05-06 11:09:46 UTC (rev 9441) @@ -0,0 +1,232 @@ +<?php + + +include_once XOOPS_ROOT_PATH . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/calendar.php'; + +define('_MD_CLEAR_CRITERIA', "clear criteria" ); +define('_MD_EXTCAL_1_MO', '1ste '._CAL_MONDAY); +define('_MD_EXTCAL_1_TU', '1ste '._CAL_TUESDAY); +define('_MD_EXTCAL_1_WE', '1ste '._CAL_WEDNESDAY); +define('_MD_EXTCAL_1_TH', '1ste '._CAL_THURSDAY); +define('_MD_EXTCAL_1_FR', '1ste '._CAL_FRIDAY); +define('_MD_EXTCAL_1_SA', '1ste '._CAL_SATURDAY); +define('_MD_EXTCAL_1_SU', '1ste '._CAL_SUNDAY); +define('_MD_EXTCAL_2_MO', '2e '._CAL_MONDAY); +define('_MD_EXTCAL_2_TU', '2e '._CAL_TUESDAY); +define('_MD_EXTCAL_2_WE', '2e '._CAL_WEDNESDAY); +define('_MD_EXTCAL_2_TH', '2e '._CAL_THURSDAY); +define('_MD_EXTCAL_2_FR', '2e '._CAL_FRIDAY); +define('_MD_EXTCAL_2_SA', '2e '._CAL_SATURDAY); +define('_MD_EXTCAL_2_SU', '2e '._CAL_SUNDAY); +define('_MD_EXTCAL_3_MO', '3e '._CAL_MONDAY); +define('_MD_EXTCAL_3_TU', '3e '._CAL_TUESDAY); +define('_MD_EXTCAL_3_WE', '3e '._CAL_WEDNESDAY); +define('_MD_EXTCAL_3_TH', '3e '._CAL_THURSDAY); +define('_MD_EXTCAL_3_FR', '3e '._CAL_FRIDAY); +define('_MD_EXTCAL_3_SA', '3e '._CAL_SATURDAY); +define('_MD_EXTCAL_3_SU', '3e '._CAL_SUNDAY); +define('_MD_EXTCAL_4_MO', '4e '._CAL_MONDAY); +define('_MD_EXTCAL_4_TU', '4e '._CAL_TUESDAY); +define('_MD_EXTCAL_4_WE', '4e '._CAL_WEDNESDAY); +define('_MD_EXTCAL_4_TH', '4e '._CAL_THURSDAY); +define('_MD_EXTCAL_4_FR', '4e '._CAL_FRIDAY); +define('_MD_EXTCAL_4_SA', '4e '._CAL_SATURDAY); +define('_MD_EXTCAL_4_SU', '4e '._CAL_SUNDAY); +define('_MD_EXTCAL_ABSENT', "Absent"); +define('_MD_EXTCAL_ACTION_COME', "Aanmelden"); +define('_MD_EXTCAL_ACTION_DELEGATION', "Afvaardigen"); +define('_MD_EXTCAL_ACTION_DESINSCRIPTION', "Afmelden"); +define('_MD_EXTCAL_ACTION_INSCRIPTION', "has subscribed"); +define('_MD_EXTCAL_ACTION_MESSAGE', "Bericht: "); +define('_MD_EXTCAL_ACTION_NONE', "Geen keuze"); +define('_MD_EXTCAL_ACTION_NOTCOME', "Niet aanwezig"); +define("_MD_EXTCAL_ADD_ME","Voeg mij toe"); +define('_MD_EXTCAL_ADDRESS', 'Adres'); +define('_MD_EXTCAL_ALPHA', 'Alfabetisch' ); +define('_MD_EXTCAL_AND', 'En'); +define('_MD_EXTCAL_APR', 'Apr'); +define('_MD_EXTCAL_AUG', 'Aug'); +define('_MD_EXTCAL_CATEGORY', 'Categorie'); +define('_MD_EXTCAL_CITATION', "Citaat"); +define('_MD_EXTCAL_CONTACT', 'Contact'); +define('_MD_EXTCAL_CONTACT_INFO','Contact informatie'); +define('_MD_EXTCAL_DAILY', 'Dagelijks'); +define('_MD_EXTCAL_DAY', 'dag' ); +define('_MD_EXTCAL_DAY_NUM_MONTH', '(Dagnummer in maand)'); +define('_MD_EXTCAL_DAYS', 'dag(en)'); +define('_MD_EXTCAL_DEC', 'Dec'); +define('_MD_EXTCAL_DEL_IMG', 'Afbeelding verwijderen'); +define('_MD_EXTCAL_DESCRIPTION', 'Omschrijving'); +define('_MD_EXTCAL_DEVISE1', "\xA3"); +define('_MD_EXTCAL_DEVISE2', "US$"); +define('_MD_EXTCAL_DEVISE3', "AUS$"); +define('_MD_EXTCAL_DURING', 'Tijdens'); +define('_MD_EXTCAL_EDIT_EVENT', 'Evenement bewerken'); +define('_MD_EXTCAL_EMAIL','E-mail'); +define('_MD_EXTCAL_END','Eind'); +define('_MD_EXTCAL_END_DATE', 'Einddatum'); +define('_MD_EXTCAL_ETABLISSEMENT', 'Locatie'); +define('_MD_EXTCAL_ETABLISSEMENT_ADD', 'Locatie toevoegen'); +define('_MD_EXTCAL_ETABLISSEMENT_ADRESSE', 'Adres'); +define('_MD_EXTCAL_ETABLISSEMENT_ADRESSE2', 'Adres 2'); +define('_MD_EXTCAL_ETABLISSEMENT_CATEGORIE', 'Categorie'); +define('_MD_EXTCAL_ETABLISSEMENT_CP', 'Postode'); +define('_MD_EXTCAL_ETABLISSEMENT_DATE', 'Datum'); +define('_MD_EXTCAL_ETABLISSEMENT_DEBUT', 'Start'); +define('_MD_EXTCAL_ETABLISSEMENT_DELETE', 'Locatie verwijderen'); +define('_MD_EXTCAL_ETABLISSEMENT_DESCRIPTION', 'Omschrijving'); +define('_MD_EXTCAL_ETABLISSEMENT_DIVERS', 'Diversen'); +define('_MD_EXTCAL_ETABLISSEMENT_EDIT', 'Locatie bewerken'); +define('_MD_EXTCAL_ETABLISSEMENT_EVENTS_VENIR', 'Komende evenementen'); +define('_MD_EXTCAL_ETABLISSEMENT_FIN', 'Einde'); +define('_MD_EXTCAL_ETABLISSEMENT_HORAIRES', 'Uren'); +define('_MD_EXTCAL_ETABLISSEMENT_INFO_COMPL', 'Extra Info:'); +define('_MD_EXTCAL_ETABLISSEMENT_LIEU', 'Locatie'); +define('_MD_EXTCAL_ETABLISSEMENT_MAIL', 'E-mail'); +define('_MD_EXTCAL_ETABLISSEMENT_MAP', 'Map URL link'); +define('_MD_EXTCAL_ETABLISSEMENT_MAP2', 'Map bekijken'); +define('_MD_EXTCAL_ETABLISSEMENT_NOM', 'Naam'); +define('_MD_EXTCAL_ETABLISSEMENT_ORGANISATEUR', 'Organizer'); +define('_MD_EXTCAL_ETABLISSEMENT_PRICE', 'Prijs'); +define('_MD_EXTCAL_ETABLISSEMENT_SITE', 'Website'); +define('_MD_EXTCAL_ETABLISSEMENT_TARIFS', 'Prijs'); +define('_MD_EXTCAL_ETABLISSEMENT_TEL_FIXE', 'Telefoonnummer'); +define('_MD_EXTCAL_ETABLISSEMENT_TEL_PORTABLE', 'Mobiele telefoon'); +define('_MD_EXTCAL_ETABLISSEMENT_VILLE', 'Stad'); +define('_MD_EXTCAL_EVENT', "Evenement"); +define('_MD_EXTCAL_EVENT_CREATED', 'Evenement aangemaakt'); +define('_MD_EXTCAL_EVENT_END', 'Eindigt dit ?'); +define('_MD_EXTCAL_EVENTS_FOUND', "%1\$s evenementen gevonden" ); +define('_MD_EXTCAL_EXPRESSION', 'Expression (list)'); +define('_MD_EXTCAL_FEB', 'Feb'); +define('_MD_EXTCAL_FILE_ATTACHEMENT', 'Bestand toevoegen'); +define('_MD_EXTCAL_FORM_IMG', 'Afbeelding (%s)'); +define('_MD_EXTCAL_FORMAT_DATE', "l dS of F Y h:i:s A"); +define('_MD_EXTCAL_FR2', 'Vr'); +define('_MD_EXTCAL_ICONE_CLONE', "Kopi\xEBren"); +define('_MD_EXTCAL_ICONE_DELETE', "Verwijderen"); +define('_MD_EXTCAL_ICONE_EDIT', "Bewerken"); +define('_MD_EXTCAL_ICONE_PRINT', "Printen"); +define('_MD_EXTCAL_IMG', 'Afbeelding(%s)'); +define('_MD_EXTCAL_IMG_CONFIG', '%s KB max bestandsgrootte, %s pixels breedte en/of hoogte'); +define('_MD_EXTCAL_JAN', 'Jan'); +define('_MD_EXTCAL_JUL', 'Jul'); +define('_MD_EXTCAL_JUN', 'Jun'); +define('_MD_EXTCAL_LAST_FR', 'Laatste '._CAL_FRIDAY); +define('_MD_EXTCAL_LAST_MO', 'Laatste '._CAL_MONDAY); +define('_MD_EXTCAL_LAST_SA', 'Laatste '._CAL_SATURDAY); +define('_MD_EXTCAL_LAST_SU', 'Laatste '._CAL_SUNDAY); +define('_MD_EXTCAL_LAST_TH', 'Laatste '._CAL_THURSDAY); +define('_MD_EXTCAL_LAST_TU', 'Laatste '._CAL_TUESDAY); +define('_MD_EXTCAL_LAST_WE', 'Laatste '._CAL_WEDNESDAY); +define('_MD_EXTCAL_LIB_COME', "Aanmelden"); +define('_MD_EXTCAL_LIB_NONE', "Geen"); +define('_MD_EXTCAL_LIB_NOTCOME', "Afmelden"); +define('_MD_EXTCAL_LOCALISATION', 'Locatie'); +define('_MD_EXTCAL_MAR', 'Mar'); +define('_MD_EXTCAL_MAX_MEMBER_REACHED', 'Maximaal aantal personen bereikt voor dit evenement'); +define('_MD_EXTCAL_MAY', 'Mei'); +define('_MD_EXTCAL_MEMBERS_LIST', "Lijst van deelnemers"); +define('_MD_EXTCAL_MO2', 'Ma'); +define('_MD_EXTCAL_MONTH', 'maand'); +define('_MD_EXTCAL_MONTHLY', 'Maandelijks'); +define('_MD_EXTCAL_MSG_0', "%1\$s Kan niet aangemeld worden"); +define('_MD_EXTCAL_MSG_1', "%1\$s is aangemeld"); +define('_MD_EXTCAL_MSG_2', "%1\$s heeft anmelding geannuleerd"); +define('_MD_EXTCAL_MSG_3', "%1\$s is niet aanwezig"); +define('_MD_EXTCAL_MSG_4', "%1\$s heeft afmelding geannuleerd"); +define('_MD_EXTCAL_NAV_AGENDA_DAY', 'Agenda dag'); +define('_MD_EXTCAL_NAV_AGENDA_WEEK', 'Agenda week'); +define('_MD_EXTCAL_NAV_CALMONTH', 'Kalender maand'); +define('_MD_EXTCAL_NAV_CALWEEK', 'Kalender week'); +define('_MD_EXTCAL_NAV_DAY', 'Dag'); +define('_MD_EXTCAL_NAV_MONTH', 'Maand'); +define('_MD_EXTCAL_NAV_NEW_EVENT', 'Nieuw evenement'); +define('_MD_EXTCAL_NAV_SEARCH', 'Zoeken'); +define('_MD_EXTCAL_NAV_WEEK', 'Week'); +define('_MD_EXTCAL_NAV_YEAR', 'Jaar'); +define('_MD_EXTCAL_NBMEMBER', 'Personenlimiet'); +define('_MD_EXTCAL_NBMEMBER_DESC', '0 = geen limiet'); +define('_MD_EXTCAL_NO_RECCUR_EVENT', 'Geen terugkerend evenement'); +define('_MD_EXTCAL_NONE', 'Geen'); +define('_MD_EXTCAL_NOV', 'Nov'); +define('_MD_EXTCAL_OCT', 'Okt'); +define('_MD_EXTCAL_ON', 'op'); +define('_MD_EXTCAL_OR', 'Of'); +define('_MD_EXTCAL_OR_THE', 'of de'); +define('_MD_EXTCAL_ORDER_BY', 'Volgorde'); +define('_MD_EXTCAL_ORDER_BY_ASC', ' Oplopend' ); +define('_MD_EXTCAL_ORDER_BY_DESC', 'Aflopend' ); +define('_MD_EXTCAL_ORGANISATEUR', 'Organisator'); +define('_MD_EXTCAL_PERIODE', 'Periode'); +define('_MD_EXTCAL_POLITESSE', "Met vriendelijke groet,"); +define('_MD_EXTCAL_POSTED_BY','Toegevoegd door'); +define('_MD_EXTCAL_PRESENT', "Present"); +define('_MD_EXTCAL_PREVIEW', 'Voorbeeld'); +define('_MD_EXTCAL_PRICE', 'Prijs'); +define('_MD_EXTCAL_RECCUR_POLICY', 'Terugkeerpatroon regels'); +define('_MD_EXTCAL_RECCUR_RULE', 'Terugkeerpatroon'); +define('_MD_EXTCAL_REMOVE_ME','Verwijder mij'); +define('_MD_EXTCAL_RR_DAILY', 'Elke dag gedurende %u dagen'); +define('_MD_EXTCAL_RR_MONTHLY', 'Elke maand, de %s gedurende %u maanden'); +define('_MD_EXTCAL_RR_WEEKLY', 'Elke week, op %s gedurende %u weken'); +define('_MD_EXTCAL_RR_YEARLY', 'Elk jaar, op%s de %s, gedurende %u jaren'); +define('_MD_EXTCAL_SA2', 'Za'); +define('_MD_EXTCAL_SAME_ST_DATE', 'Gelijk aan startdatum van evenement'); +define('_MD_EXTCAL_SEARCH', "Zoeken" ); +define('_MD_EXTCAL_SEP', 'Sep'); +define('_MD_EXTCAL_SERACH_CRITERIA', 'Criteria'); +define('_MD_EXTCAL_SERACH_ORDER_BY', 'Criteria'); +define('_MD_EXTCAL_START','Start'); +define('_MD_EXTCAL_START_DATE', 'Startdatum'); +define('_MD_EXTCAL_STATUS', "Status"); +define('_MD_EXTCAL_STATUS_DELEGUE', "Afvaardiging"); +define('_MD_EXTCAL_STATUS_DESINSCRIPTION', "Afmelden"); +define('_MD_EXTCAL_STATUS_INSCRIPTION', "Aanmelden"); +define('_MD_EXTCAL_STATUS_MESSAGE', "Informatie"); +define('_MD_EXTCAL_SU2', 'Zo'); +define('_MD_EXTCAL_SUBJECT_0', "Maximum personen bereikt"); +define('_MD_EXTCAL_SUBJECT_1', "Bevestiging van aanmelding"); +define('_MD_EXTCAL_SUBJECT_2', "Annulering van aanmelding"); +define('_MD_EXTCAL_SUBJECT_3', "Bevestiging van afmelding"); +define('_MD_EXTCAL_SUBJECT_4', "Annulering van afmelding"); +define('_MD_EXTCAL_SUBJECT_COME', "Aanmelden "); +define('_MD_EXTCAL_SUBJECT_DELEGATION', "Afgevaardigd "); +define('_MD_EXTCAL_SUBJECT_DESINSCRIPTION', "Afmelden "); +define('_MD_EXTCAL_SUBJECT_INSCRIPTION', "Aanmelding "); +define('_MD_EXTCAL_SUBJECT_MESSAGE', "Bericht "); +define('_MD_EXTCAL_SUBJECT_NONE', "Annulering "); +define('_MD_EXTCAL_SUBJECT_NOTCOME', "Afwezigheidmelding"); +define('_MD_EXTCAL_SUBMIT_EVENT', 'Evenement toevoegen'); +define('_MD_EXTCAL_SUBMITED_EVENT', 'Toegevoegd evenement'); +define('_MD_EXTCAL_TH2', 'Do'); +define('_MD_EXTCAL_TITLE', 'Titel'); +define('_MD_EXTCAL_TU2', 'Di'); +define('_MD_EXTCAL_URL','URL'); +define('_MD_EXTCAL_VALIDATE', "Validatie"); +define('_MD_EXTCAL_WE2', 'Wo'); +define('_MD_EXTCAL_WEEKLY', 'Wekelijks'); +define('_MD_EXTCAL_WEEKS', 'we(e)k(en)'); +define('_MD_EXTCAL_WHOS_GOING','Wie gaat er ook?'); +define('_MD_EXTCAL_WHOS_GOING_ADDED_TO_EVENT', 'Toegevoegd aan Wie gaat er ook? lijst'); +define('_MD_EXTCAL_WHOS_GOING_REMOVED_TO_EVENT', 'Verwijderd uit Wie gaat er ook? lijst'); +define('_MD_EXTCAL_WHOSNOT_GOING','Wie gaat er niet?'); +define('_MD_EXTCAL_WHOSNOT_GOING_ADDED_TO_EVENT', 'Toevoegen aan Wie gaat er niet? lijst'); +define('_MD_EXTCAL_WHOSNOT_GOING_REMOVED_TO_EVENT', 'Verwijderen uit Wie gaat er niet? lijst'); +define('_MD_EXTCAL_WRONG_DATE_FORMAT', 'Verkeerd datum formaat'); +define('_MD_EXTCAL_YEAR', 'year' ); +define('_MD_EXTCAL_YEARLY', 'Jaarlijks'); +define('_MD_EXTCAL_YEARS', 'ja(a)r(en)'); + +define('_MD_EXTCAL_DAY_MONDAY', 'Maandag'); +define('_MD_EXTCAL_DAY_TUESDAY', 'Dinsdag'); +define('_MD_EXTCAL_DAY_WEDNESDAY', 'Woensdag'); +define('_MD_EXTCAL_DAY_THURSDAY', 'Donderdag'); +define('_MD_EXTCAL_DAY_FRIDAY', 'Vrijdag'); +define('_MD_EXTCAL_DAY_SATURDAY', 'Zaterdag'); +define('_MD_EXTCAL_DAY_SUNDAY', 'Zondag'); +define('_MD_EXTCAL_ICONE', 'Icon'); + +define('_MD_EXTCAL_SITE', "Website"); +define('_MD_EXTCAL_VISIT_SITE', "Visit the Website"); +?> \ No newline at end of file Added: XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/modinfo.php =================================================================== --- XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/modinfo.php (rev 0) +++ XoopsLanguages/dutch/modules/extcal/extcal 2.37/language/nederlands/modinfo.php 2012-05-06 11:09:46 UTC (rev 9441) @@ -0,0 +1,154 @@ +<?php +include_once(XOOPS_ROOT_PATH . '/modules/extcal/include/constantes.php'); + +define('_MI_EXTCAL_ABOUT', 'Over'); +define('_MI_EXTCAL_AFTER', '1 Onder'); +define('_MI_EXTCAL_AGENDA_END_HOUR', "Agenda: Laatste uur"); +define('_MI_EXTCAL_AGENDA_END_HOUR_DESC', "Het laatste uur om weer te geven in de agenda. De volgende evenementen zijn gegroepeerd op de laatste regel."); +define('_MI_EXTCAL_AGENDA_NB_DAYS_DAY', "Agenda dagen: Aantal dagen"); +define('_MI_EXTCAL_AGENDA_NB_DAYS_DAY_DESC', "Aantal dagen om weer te geven in kolommen Elk evenement is weergegeven met een gekleurd vierkant en een titel."); +define('_MI_EXTCAL_AGENDA_NB_DAYS_WEEK', "Agenda week: Aantal dagen"); +define('_MI_EXTCAL_AGENDA_NB_DAYS_WEEK_DESC', "Aantal dagen om weer te geven in kolommen. Elk evenement is weergegeven met een gekleurd vierkant en een titel."); +define('_MI_EXTCAL_AGENDA_SLICE_MINUTES', "Agenda: interval in minuten:"); +define('_MI_EXTCAL_AGENDA_SLICE_MINUTES_DESC', "Aantal minuten voor interval in Agenda."); +define('_MI_EXTCAL_AGENDA_START_HOUR', "Agenda: Beginuur"); +define('_MI_EXTCAL_AGENDA_START_HOUR_DESC', "Het eerst uur om te tonen in de agenda. De vorige evenementen zijn gegroepeerd op de eerste regel '00:00'"); +define('_MI_EXTCAL_ASCENDING', 'Oplopend'); +define('_MI_EXTCAL_BEFORE', '0 Boven'); +define('_MI_EXTCAL_BNAME1', 'Minikalender'); +define('_MI_EXTCAL_BNAME1_DESC', 'Minikalender blok'); +define('_MI_EXTCAL_BNAME2', 'Schijnwerper evenement'); +define('_MI_EXTCAL_BNAME2_DESC', 'Toon schijnwerper evenement'); +define('_MI_EXTCAL_BNAME3', 'Komend evenement'); +define('_MI_EXTCAL_BNAME3_DESC', 'Toon X komende evenementen'); +define('_MI_EXTCAL_BNAME4', 'Evenement van vandaag'); +define('_MI_EXTCAL_BNAME4_DESC', 'Toon evenementen welke vandaag voorkomen'); +define('_MI_EXTCAL_BNAME5', 'Nieuw Evenement'); +define('_MI_EXTCAL_BNAME5_DESC', 'Toon X nieuwe evenementen'); +define('_MI_EXTCAL_BNAME6', 'Willekeurige evenementen'); +define('_MI_EXTCAL_BNAME6_DESC', 'Toon X willekeurige evenementen'); +define('_MI_EXTCAL_BNAME7', 'Komend evenement per categorie'); +define('_MI_EXTCAL_BNAME7_DESC', 'Toon X komende evenementen per categorie'); +define('_MI_EXTCAL_CAT_NOTIFY', 'Categorie notificatie'); +define('_MI_EXTCAL_CAT_NOTIFYDSC', 'Notificatie voor een enkele categorie'); +define('_MI_EXTCAL_CATEGORY', 'Categorie'); +define('_MI_EXTCAL_DASHBOARD', 'extCal Dashboard'); +define('_MI_EXTCAL_DESC', 'XOOPS Calender Module'); +define('_MI_EXTCAL_DESCENDING', 'Aflopend'); +define('_MI_EXTCAL_DISP_PAST_E_CAL', 'Gepasseerde evenementen weergeven (Kalenderweergave)'); +define('_MI_EXTCAL_DISP_PAST_E_CAL_DESC', 'Evenementen die gepasseerd zijn weergeven'); +define('_MI_EXTCAL_DISP_PAST_E_LIST', 'Gepasseerde evenementen weergeven (Lijstweergave)'); +define('_MI_EXTCAL_DISP_PAST_E_LIST_DESC', 'Evenementen die gepasseerd zijn weergeven'); +define('_MI_EXTCAL_EB_DATE_PATTERN', 'Evenement : Datumformaat blok'); +define('_MI_EXTCAL_EB_DATE_PATTERN_DESC', 'Bekijk het datumformaat op http://www.php.net/manual/en/function.date.php'); +define('_MI_EXTCAL_EB_DATE_PATTERN_VALUE', 'j/m/Y'); +define('_MI_EXTCAL_ED_DATE_PATTERN', 'Evenement : Datumformaat dagweergave'); +define('_MI_EXTCAL_ED_DATE_PATTERN_DESC', 'Bekijk het datumformaat op http://www.php.net/manual/en/function.date.php'); +define('_MI_EXTCAL_ED_DATE_PATTERN_VALUE', 'j/m/Y'); +define('_MI_EXTCAL_EE_DATE_PATTERN', 'Evenement : Datumformaat evenementweergave'); +define('_MI_EXTCAL_EE_DATE_PATTERN_DESC', 'Bekijk het datumformaat op http://www.php.net/manual/en/function.date.php'); +define('_MI_EXTCAL_EE_DATE_PATTERN_VALUE', 'l dS \of F Y h:i:s A'); +define('_MI_EXTCAL_EM_DATE_PATTERN', 'Evenement : Datumformaat maandweergave'); +define('_MI_EXTCAL_EM_DATE_PATTERN_DESC', 'Bekijk het datumformaat op http://www.php.net/manual/en/function.date.php'); +define('_MI_EXTCAL_EM_DATE_PATTERN_VALUE', 'j/m/Y'); +define('_MI_EXTCAL_EMAIL_MODE', 'E-mail Formaat'); +define('_MI_EXTCAL_EMAIL_MODE_HTML', 'HTML Formaat'); +define('_MI_EXTCAL_EMAIL_MODE_NONE', 'Geen e-mail'); +define('_MI_EXTCAL_EMAIL_MODE_TEXT', 'Platte tekst'); +define('_MI_EXTCAL_ETABLISSEMENT', "Locatie"); +define('_MI_EXTCAL_ETABLISSEMENTS', 'Locaties'); +define('_MI_EXTCAL_EVENT', 'Evenement'); +define('_MI_EXTCAL_EVENT_NOTIFY', 'Evenement'); +define('_MI_EXTCAL_EVENT_NOTIFYDSC', 'Evenement notificatie'); +define('_MI_EXTCAL_EW_DATE_PATTERN', 'Evenement : Datumformaat weekweergave'); +define('_MI_EXTCAL_EW_DATE_PATTERN_DESC', 'Bekijk het datumformaat op http://www.php.net/manual/en/function.date.php'); +define('_MI_EXTCAL_EW_DATE_PATTERN_VALUE', 'j/m/Y'); +define('_MI_EXTCAL_EY_DATE_PATTERN', 'Evenement : Datumformaat jaarweergave'); +define('_MI_EXTCAL_EY_DATE_PATTERN_DESC', 'Bekijk het datumformaat op http://www.php.net/manual/en/function.date.php'); +define('_MI_EXTCAL_EY_DATE_PATTERN_VALUE', 'j/m/Y'); +define('_MI_EXTCAL_FILE_EXTENTION', 'Toegestane bestandstypes'); +define('_MI_EXTCAL_FILE_EXTENTION_DESC', 'Selecteer de bestandstypes welke toegestaan zijn om bij een evenement toe te voegen'); +define('_MI_EXTCAL_GLOBAL_NOTIFY', 'Globale notificatie'); +define('_MI_EXTCAL_GLOBAL_NOTIFYDSC', 'Notificaties voor alle categorien'); +define('_MI_EXTCAL_HELP', 'Hulp'); +define('_MI_EXTCAL_HTML', 'HTML toestaan'); +define('_MI_EXTCAL_HTML_DESC', 'HTML wel of niet toestaan in tekstveld'); +define('_MI_EXTCAL_INDEX', 'Overzicht'); +define('_MI_EXTCAL_LIST_POS', 'Selectielijst'); +define('_MI_EXTCAL_LIST_POS_DESC', 'Positie selectielijst.<br>0 = Boven de tabs<br>1 = Onder de tabs'); +define('_MI_EXTCAL_NAME', 'eXtCal'); +define('_MI_EXTCAL_NAV_AGENDA_DAY', 'Dag (Agenda)'); +define('_MI_EXTCAL_NAV_AGENDA_WEEK', 'Week (Agenda)'); +define('_MI_EXTCAL_NAV_CALMONTH', 'Maand (Kalender)'); +define('_MI_EXTCAL_NAV_CALWEEK', 'Week (Kalender)'); +define('_MI_EXTCAL_NAV_DAY', 'Dag (Lijst)'); +define('_MI_EXTCAL_NAV_MONTH', 'Maand (Lijst)'); +define('_MI_EXTCAL_NAV_NEW_EVENT', 'Nieuw evenement'); +define('_MI_EXTCAL_NAV_SEARCH', 'Zoeken'); +define('_MI_EXTCAL_NAV_WEEK', 'Week (Lijst)'); +define('_MI_EXTCAL_NAV_YEAR', 'Jaar (Lijst)'); +define('_MI_EXTCAL_NB_EVENTS_BY_PAGE', 'Aantal evenementen per pagina'); +define('_MI_EXTCAL_NB_EVENTS_BY_PAGE_DESC', 'Aantal evenementen per pagina aan Adminzijde'); +define('_MI_EXTCAL_NB_YEARS_AFTER', 'Lijst: Aantal jaren na'); +define('_MI_EXTCAL_NB_YEARS_AFTER_DESC', 'Geselecteerde jaar: Definieer het laatste jaar om te tonen.'); +define('_MI_EXTCAL_NB_YEARS_BEFORE', 'Lijst: Aantal jaren voor'); +define('_MI_EXTCAL_NB_YEARS_BEFORE_DESC', 'Geselecteerde jaar: Definieer het eerst om te tonen.'); +define('_MI_EXTCAL_ND_DATE_PATTERN', 'Navigatie : Datumformaat dagweergave'); +define('_MI_EXTCAL_ND_DATE_PATTERN_DESC', 'Bekijk het datumformaat op http://www.php.net/manual/en/function.date.php'); +define('_MI_EXTCAL_ND_DATE_PATTERN_VALUE', 'l j F Y'); +define('_MI_EXTCAL_NEW_EVENT_CAT_NOTIFY', 'Nieuw evenement'); +define('_MI_EXTCAL_NEW_EVENT_CAT_NOTIFYCAP', 'Breng me op de hoogte wanneer een nieuw evenement is toegevoegd in deze categorie'); +define('_MI_EXTCAL_NEW_EVENT_CAT_NOTIFYDSC', 'Ontvang notificatie wanneer een nieuw evenement is toegevoegd in deze categorie'); +define('_MI_EXTCAL_NEW_EVENT_CAT_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Nieuw evenement toegevoegd'); +define('_MI_EXTCAL_NEW_EVENT_NOTIFY', 'Nieuw evenement'); +define('_MI_EXTCAL_NEW_EVENT_NOTIFYCAP', 'Breng me op de hoogte wanneer een nieuw evenement is toegevoegd'); +define('_MI_EXTCAL_NEW_EVENT_NOTIFYDSC', 'Ontvang notificatie wanneer een nieuw evenement is toegevoegd'); +define('_MI_EXTCAL_NEW_EVENT_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notificatie : Nieuw evenement toegevoegd'); +define('_MI_EXTCAL_NEW_EVENT_PENDING_NOTIFY', 'Nieuw wachtend evenement'); +define('_MI_EXTCAL_NEW_EVENT_PENDING_NOTIFYCAP', 'Breng me op de hoogte wanneer een nieuw evenement is toegevoegd zonder goedkeuring'); +define('_MI_EXTCAL_NEW_EVENT_PENDING_NOTIFYDSC', 'Ontvang notificatie wanneer een nieuw evenement is toegevoegd zonder goedkeuring'); +define('_MI_EXTCAL_NEW_EVENT_PENDING_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notificatie : Nieuw evenement toegevoegd zonder goedkeuring'); +define('_MI_EXTCAL_NM_DATE_PATTERN', 'Navigatie : Datumformaat maandweergave'); +define('_MI_EXTCAL_NM_DATE_PATTERN_DESC', 'Bekijk het datumformaat op http://www.php.net/manual/en/function.date.php'); +define('_MI_EXTCAL_NM_DATE_PATTERN_VALUE', 'F Y'); +define('_MI_EXTCAL_NOTIFICATIONS', 'Notificaties'); +define('_MI_EXTCAL_NW_DATE_PATTERN', 'Navigatie : Datumformaat weekweergave'); +define('_MI_EXTCAL_NW_DATE_PATTERN_DESC', 'Bekijk het datumformaat op http://www.php.net/manual/en/function.date.php'); +define('_MI_EXTCAL_NW_DATE_PATTERN_VALUE', 'j F Y'); +define('_MI_EXTCAL_OFFSET_MINICAL', 'Maand in minical'); +define('_MI_EXTCAL_OFFSET_MINICAL_DESC', 'Maand om te tonen als huidige maand. 0=huidige maand, 1=volgende maand, ...'); +define('_MI_EXTCAL_PEAR_PATH', 'PEAR bibliotheek'); +define('_MI_EXTCAL_PEAR_PATH_DESC', 'Fysiek pad naar de bibliotheek (Leeglaten als het pad onbekend is)'); +define('_MI_EXTCAL_PERMISSIONS', 'Permissie'); +define('_MI_EXTCAL_PRUNING', 'Opruimen'); +define('_MI_EXTCAL_RSS_CACHE_TIME', 'RSS cacheperiode'); +define('_MI_EXTCAL_RSS_CACHE_TIME_DESC', 'Cacheperiode voor RSS paginas'); +define('_MI_EXTCAL_RSS_NB_EVENT', 'RSS nr evenement'); +define('_MI_EXTCAL_RSS_NB_EVENT_DESC', 'Aantal evenementen welke getoond worden op RSS paginas'); +define('_MI_EXTCAL_SHOW_ID', 'ID tonen'); +define('_MI_EXTCAL_SHOW_ID_DESC', 'JA: Toont het ID in tooltips en de tooltip tekst<br />NEE: Toont geen ID'); +define('_MI_EXTCAL_SHOW_INFOBULLE', 'Tooltips'); +define('_MI_EXTCAL_SHOW_INFOBULLE_DESC', "JA : In het overzicht 'agenda-dag' en 'agenda-week' wordt en tooltip getoond met meer informatie<br />NEE : Toont de tekst van het 'titel' attribuut"); +define('_MI_EXTCAL_SORT_ORDER', 'Evenmentvolgorde'); +define('_MI_EXTCAL_SORT_ORDER_DESC', 'Evenementvolgorde bij lijstweergave (Startdatum)'); +define('_MI_EXTCAL_START_PAGE', 'Module startpagina'); +define('_MI_EXTCAL_SUBMIT_EVENT','Plaats Evenement'); +define('_MI_EXTCAL_TABS_WEIGHT', 'Volgorde van de tabs'); +define('_MI_EXTCAL_TABS_WEIGHT_DESC', 'Stel de volgorde van de tabs in <br>Voorzichtig met wijzigen van tabnamen:<br>' . "<font color='#0000FF'>" . _EXTCAL_NAV_LIST ."</font>" . " <br>Afscheiding: nieuwe lijn"); +define('_MI_EXTCAL_VISIBLE_TAB_DESC', "Definieer de zichtbare tab"); +define('_MI_EXTCAL_VISIBLE_TABS', 'Zichtbare tab'); +define('_MI_EXTCAL_WEEK_START_DAY', 'Week startdag'); +define('_MI_EXTCAL_WEEK_START_DAY_DESC', 'Dag waarmee de week begint bij kalenderweergave'); +define('_MI_EXTCAL_WHOS_GOING', 'Activeer Wie gaat er ook?'); +define('_MI_EXTCAL_WHOS_GOING_DESC', 'Activeer de Wie gaat er ook fucntie'); +define('_MI_EXTCAL_WHOSNOT_GOING', 'Activeer Wie gaat er niet?'); +define('_MI_EXTCAL_WHOSNOT_GOING_DESC', 'Activeer de Wie gaat er niet functie'); + +define('_MI_EXTCAL_DAY_MONDAY', 'Maandag'); +define('_MI_EXTCAL_DAY_TUESDAY', 'Dinsdag'); +define('_MI_EXTCAL_DAY_WEDNESDAY', 'Woensdag'); +define('_MI_EXTCAL_DAY_THURSDAY', 'Donderdag'); +define('_MI_EXTCAL_DAY_FRIDAY', 'Vrijdag'); +define('_MI_EXTCAL_DAY_SATURDAY', 'Zaterdag'); +define('_MI_EXTCAL_DAY_SUNDAY', 'Zondag'); +?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-05-06 09:57:33
|
Revision: 9440 http://xoops.svn.sourceforge.net/xoops/?rev=9440&view=rev Author: txmodxoops Date: 2012-05-06 09:57:26 +0000 (Sun, 06 May 2012) Log Message: ----------- Added managed errors when we send equal categories or documents Pleace! reinstall again! Modified Paths: -------------- XoopsModules/xpdf/trunk/modules/xpdf/admin/categories.php XoopsModules/xpdf/trunk/modules/xpdf/admin/documents.php XoopsModules/xpdf/trunk/modules/xpdf/class/xpdf_doc.php XoopsModules/xpdf/trunk/modules/xpdf/language/english/admin.php XoopsModules/xpdf/trunk/modules/xpdf/sql/mysql.sql XoopsModules/xpdf/trunk/modules/xpdf/xoops_version.php Modified: XoopsModules/xpdf/trunk/modules/xpdf/admin/categories.php =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/admin/categories.php 2012-05-06 09:12:55 UTC (rev 9439) +++ XoopsModules/xpdf/trunk/modules/xpdf/admin/categories.php 2012-05-06 09:57:26 UTC (rev 9440) @@ -151,7 +151,10 @@ redirect_header("categories.php?op=list", 2, _AM_XPDF_FORMOK); } - echo $obj->getHtmlErrors(); + if (!$catHandler->insert($obj)) { + $errors = $obj->getHtmlErrors(); + redirect_header("categories.php?op=list", 5, $errors.'<br />'._AM_XPDF_ERRORS); + } $form =& $obj->getForm(); echo $form->display(); break; Modified: XoopsModules/xpdf/trunk/modules/xpdf/admin/documents.php =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/admin/documents.php 2012-05-06 09:12:55 UTC (rev 9439) +++ XoopsModules/xpdf/trunk/modules/xpdf/admin/documents.php 2012-05-06 09:57:26 UTC (rev 9440) @@ -219,11 +219,15 @@ $verif_doc_online = ($_REQUEST["doc_online"] == 1) ? "1" : "0"; $obj->setVar("doc_online", $verif_doc_online); - if ($docHandler->insert($obj)) { + if ($docHandler->insert($obj)) { redirect_header("documents.php?op=list", 2, _AM_XPDF_FORMOK); } - echo $obj->getHtmlErrors(); + if (!$docHandler->insert($obj)) { + $errors = $obj->getHtmlErrors(); + redirect_header("documents.php?op=list", 5, $errors.'<br />'._AM_XPDF_ERRORS); + } + $form =& $obj->getForm(); echo $form->display(); break; Modified: XoopsModules/xpdf/trunk/modules/xpdf/class/xpdf_doc.php =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/class/xpdf_doc.php 2012-05-06 09:12:55 UTC (rev 9439) +++ XoopsModules/xpdf/trunk/modules/xpdf/class/xpdf_doc.php 2012-05-06 09:57:26 UTC (rev 9440) @@ -54,7 +54,7 @@ $this->initVar("doc_status", XOBJ_DTYPE_INT, null, false, 1); $this->initVar("doc_online", XOBJ_DTYPE_INT, null, false, 1); $this->initVar("doc_dohtml", XOBJ_DTYPE_INT, null, false, 1); - $this->initVar("doc_smilies", XOBJ_DTYPE_INT, null, false, 1); + $this->initVar("doc_dosmilies", XOBJ_DTYPE_INT, null, false, 1); $this->initVar("doc_doxcodes", XOBJ_DTYPE_INT, null, false, 1); $this->initVar("doc_doimages", XOBJ_DTYPE_INT, null, false, 1); $this->initVar("doc_dobreak", XOBJ_DTYPE_INT, null, false, 1); @@ -75,7 +75,6 @@ /** * gets list of font file names in a directory - * @author TXMod Xoops <in...@tx...> */ function getFontListAsArray($dirname, $prefix = '') { Modified: XoopsModules/xpdf/trunk/modules/xpdf/language/english/admin.php =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/language/english/admin.php 2012-05-06 09:12:55 UTC (rev 9439) +++ XoopsModules/xpdf/trunk/modules/xpdf/language/english/admin.php 2012-05-06 09:57:26 UTC (rev 9440) @@ -28,9 +28,9 @@ //Index define("_AM_XPDF_STATISTICS","Statistics xPdf"); -define("_AM_XPDF_THEREARE_CAT","There are <span class='bold'>%s</span> Categories in the Database"); -define("_AM_XPDF_THEREARE_DOC","There are <span class='bold'>%s</span> Documents in the Database"); -define("_AM_XPDF_THEREARE_DOC_ONLINE","There are <span class='bold'>%s</span> Documents online"); +define("_AM_XPDF_THEREARE_CAT","- <span class='bold'>%s</span>: Total Categories"); +define("_AM_XPDF_THEREARE_DOC","- <span class='bold'>%s</span>: Total Documents"); +define("_AM_XPDF_THEREARE_DOC_ONLINE","- <span class='bold'>%s</span>: Total Documents Online"); //Buttons define("_AM_XPDF_NEWCAT","Add New Category"); define("_AM_XPDF_CATLIST","List Categories"); @@ -51,6 +51,8 @@ define("_AM_XPDF_PDFFILECREATED","PDF File Created Succesfully"); define("_AM_XPDF_DELETEPDF","Delete PDF File"); define("_AM_XPDF_PDFFILEDELETED","PDF File Deleted Succesfully"); +// Errors +define("_AM_XPDF_ERRORS","You entered a name that exists in this field, you must define a different."); define("_AM_XPDF_CAT_ADD","Add a Category"); define("_AM_XPDF_CAT_EDIT","Edit Category"); Modified: XoopsModules/xpdf/trunk/modules/xpdf/sql/mysql.sql =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/sql/mysql.sql 2012-05-06 09:12:55 UTC (rev 9439) +++ XoopsModules/xpdf/trunk/modules/xpdf/sql/mysql.sql 2012-05-06 09:57:26 UTC (rev 9440) @@ -6,12 +6,13 @@ CREATE TABLE `xpdf_cat` ( `cat_id` int (8) unsigned NOT NULL auto_increment, `cat_pid` int (5) unsigned NOT NULL default '0', -`cat_title` varchar (255) NOT NULL default '', -`cat_image` varchar (100) NOT NULL default 'blank.gif', -`cat_description` text NOT NULL , +`cat_title` varchar (255) NOT NULL default '', +`cat_image` varchar (100) NOT NULL default 'blank.gif', +`cat_description` tinytext NOT NULL, `cat_weight` int (11) unsigned NOT NULL default '0', PRIMARY KEY (`cat_id`), -KEY `cat_pid` (`cat_pid`) +KEY `cat_pid` (`cat_pid`), +KEY `cat_title` (`cat_title(40)`) ) ENGINE=MyISAM; # # Table structure for table `xpdf_doc` 23 @@ -20,15 +21,15 @@ CREATE TABLE `xpdf_doc` ( `doc_id` int (8) unsigned NOT NULL auto_increment, `doc_cid` int (5) unsigned NOT NULL default '0', -`doc_filename` varchar (50) NOT NULL default ' ', -`doc_title` varchar (255) NOT NULL default ' ', -`doc_slogan` text NOT NULL , -`doc_pdftext` text NOT NULL , +`doc_filename` varchar (50) NOT NULL default '', +`doc_title` varchar (255) NOT NULL default '', +`doc_slogan` text NOT NULL, +`doc_pdftext` text NOT NULL, `doc_image` varchar (100) NOT NULL default 'blank.gif', -`doc_subject` varchar (100) NOT NULL default ' ', -`doc_fontname` varchar (50) NOT NULL default ' ', +`doc_subject` varchar (100) NOT NULL default '', +`doc_fontname` varchar (50) NOT NULL default '', `doc_fontsize` int (5) unsigned NOT NULL default '0', -`doc_keywords` varchar (255) NOT NULL default ' ', +`doc_keywords` varchar (255) NOT NULL default '', `doc_submitter` int (10) unsigned NOT NULL default '0', `doc_published` int (10) unsigned NOT NULL default '0', `doc_hits` int(11) unsigned NOT NULL default '0', @@ -36,10 +37,13 @@ `doc_status` tinyint (1) unsigned NOT NULL default '0', `doc_online` tinyint (1) unsigned NOT NULL default '0', `doc_dohtml` tinyint (1) unsigned NOT NULL default '0', -`doc_smilies` tinyint (1) unsigned NOT NULL default '0', +`doc_dosmilies` tinyint (1) unsigned NOT NULL default '0', `doc_doxcodes` tinyint (1) unsigned NOT NULL default '0', `doc_doimages` tinyint (1) unsigned NOT NULL default '0', `doc_dobreak` tinyint (1) unsigned NOT NULL default '0', PRIMARY KEY (`doc_id`), -KEY `doc_cid` (`doc_cid`) +KEY `doc_cid` (`doc_cid`), +KEY `doc_filename` (`doc_filename(40)`), +KEY `doc_title` (`doc_title(40)`), +KEY `doc_keywords` (`doc_keywords`) ) ENGINE=MyISAM; \ No newline at end of file Modified: XoopsModules/xpdf/trunk/modules/xpdf/xoops_version.php =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/xoops_version.php 2012-05-06 09:12:55 UTC (rev 9439) +++ XoopsModules/xpdf/trunk/modules/xpdf/xoops_version.php 2012-05-06 09:57:26 UTC (rev 9440) @@ -243,18 +243,21 @@ $modversion['config'][$i]['default'] = "left"; $modversion['config'][$i]['options'] = array(_MI_XPDF_IMGFLOAT_LEFT => 'left', _MI_XPDF_IMGFLOAT_RIGHT => 'right'); $i++; +include_once(XOOPS_ROOT_PATH.'/modules/xpdf/class/xpdf_doc.php'); $modversion['config'][$i]['name'] = "fontname"; $modversion['config'][$i]['title'] = "_MI_XPDF_FONTNAME"; $modversion['config'][$i]['description'] = "_MI_XPDF_FONTNAME_DESC"; -$modversion['config'][$i]['formtype'] = "textbox"; +$modversion['config'][$i]['formtype'] = "select"; $modversion['config'][$i]['valuetype'] = "text"; +$modversion['config'][$i]['options'] = xpdf_doc::getFontList(); $modversion['config'][$i]['default'] = 'helvetica'; $i++; $modversion['config'][$i]['name'] = "fontsize"; $modversion['config'][$i]['title'] = "_MI_XPDF_FONTSIZE"; $modversion['config'][$i]['description'] = "_MI_XPDF_FONTSIZE_DESC"; -$modversion['config'][$i]['formtype'] = "textbox"; -$modversion['config'][$i]['valuetype'] = "text"; +$modversion['config'][$i]['formtype'] = "select"; +$modversion['config'][$i]['valuetype'] = "int"; +$modversion['config'][$i]['options'] = xpdf_doc::getFontSize(); $modversion['config'][$i]['default'] = '10'; $i++; $modversion['config'][$i]['name'] = "advertise"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2012-05-06 09:13:01
|
Revision: 9439 http://xoops.svn.sourceforge.net/xoops/?rev=9439&view=rev Author: mageg Date: 2012-05-06 09:12:55 +0000 (Sun, 06 May 2012) Log Message: ----------- Update new forms Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopsform/themeform.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopsform/themeform.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopsform/themeform.php 2012-05-05 21:08:10 UTC (rev 9438) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopsform/themeform.php 2012-05-06 09:12:55 UTC (rev 9439) @@ -55,7 +55,7 @@ * * @return string */ - public function render() + public function render($template = true) { $xoops = Xoops::getInstance(); $xoops->theme->addStylesheet('media/xoops/css/form.css'); @@ -102,7 +102,9 @@ } $xoops->tpl->assign('hidden', $hidden); $xoops->tpl->assign('validationJS', $this->renderValidationJS(true)); - $xoops->tpl->display('module:system|system_form.html'); - $xoops->tpl->clear_assign('xo_input'); + if ($xoops->tpl_name == '' || $template == false) { + $xoops->tpl->display('module:system|system_form.html'); + $xoops->tpl->clear_assign('xo_input'); + } } } \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-05-05 21:08:17
|
Revision: 9438 http://xoops.svn.sourceforge.net/xoops/?rev=9438&view=rev Author: djculex Date: 2012-05-05 21:08:10 +0000 (Sat, 05 May 2012) Log Message: ----------- change to russian main.php Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/language/russian/main.php Modified: XoopsModules/smallworld/trunk/smallworld/language/russian/main.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/russian/main.php 2012-05-05 17:23:35 UTC (rev 9437) +++ XoopsModules/smallworld/trunk/smallworld/language/russian/main.php 2012-05-05 21:08:10 UTC (rev 9438) @@ -27,7 +27,10 @@ define("_SMALLWORLD_SYSERROR","Системная ошибка!"); define("_SMALLWORLD_SYSNAME","Smallworld"); define("_SMALLWORLD_ALL_FIELDS_DISABLED","Не предоставлена личная информация"); +define("_SMALLWORLD_RECENTACTIVITY","Активность"); +define("_SMALLWORLD_MESSAGEHISTORIC", "Сообщения"); + /*----------- Personal info ------------------*/ define("_SMALLWORLD_AVATAR","Текущее изображение"); define("_SMALLWORLD_REALNAME","Настоящее имя"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2012-05-05 17:23:42
|
Revision: 9437 http://xoops.svn.sourceforge.net/xoops/?rev=9437&view=rev Author: mageg Date: 2012-05-05 17:23:35 +0000 (Sat, 05 May 2012) Log Message: ----------- bugfixes in moduladmin Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/moduleadmin.php XoopsCore/branches/2.6.x/2.6.0/htdocs/media/xoops/images/icons/16/default.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/admin_about.html Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/class/moduleadmin.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/moduleadmin.php 2012-05-05 11:40:48 UTC (rev 9436) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/class/moduleadmin.php 2012-05-05 17:23:35 UTC (rev 9437) @@ -345,7 +345,7 @@ { $xoops = Xoops::getInstance(); - $path = XOOPS_URL . "/modules/" . $this->_obj->getVar('dirname') . "/"; + $path = XOOPS_URL . "/media/xoops/images/icons/32/"; $this->_obj->loadAdminMenu(); foreach (array_keys($this->_obj->adminmenu) as $i) { if ($this->_obj->adminmenu[$i]['link'] == "admin/" . $menu) { @@ -418,10 +418,10 @@ $xoops->tpl->assign('module', $this->_obj); $this->addInfoBox(_AM_MODULEADMIN_ABOUT_MODULEINFO, 'info', 'id="xo-about"'); - $this->addInfoBoxLine('<label>' . _AM_MODULEADMIN_ABOUT_DESCRIPTION . '</label><text>' . $this->_obj->getInfo("description") . '</text><br />', 'info'); - $this->addInfoBoxLine('<label>' . _AM_MODULEADMIN_ABOUT_UPDATEDATE . '</label><text class="bold">' . XoopsLocal::formatTimestamp($this->_obj->getVar("last_update"), "m") . '</text><br />', 'info'); - $this->addInfoBoxLine('<label>' . _AM_MODULEADMIN_ABOUT_WEBSITE . '</label><text><a class="tooltip" href="http://' . $this->_obj->getInfo("module_website_url") . '" rel="external" title="' . $this->_obj->getInfo("module_website_name") . ' - ' . $this->_obj->getInfo("module_website_url") . '"> - ' . $this->_obj->getInfo("module_website_name") . '</a></text>', 'info'); + $this->addInfoBoxLine(_AM_MODULEADMIN_ABOUT_DESCRIPTION . ' ' . $this->_obj->getInfo("description"), 'info'); + $this->addInfoBoxLine(_AM_MODULEADMIN_ABOUT_UPDATEDATE . ' <span class="bold">' . XoopsLocal::formatTimestamp($this->_obj->getVar("last_update"), "m") . '</span>', 'info'); + $this->addInfoBoxLine(_AM_MODULEADMIN_ABOUT_WEBSITE . ' <a class="xo-tooltip" href="http://' . $this->_obj->getInfo("module_website_url") . '" rel="external" title="' . $this->_obj->getInfo("module_website_name") . ' - ' . $this->_obj->getInfo("module_website_url") . '"> + ' . $this->_obj->getInfo("module_website_name") . '</a>', 'info'); $xoops->tpl->assign('xoops_logo', $logo_xoops); $xoops->tpl->assign('xo_admin_box', $this->_itemInfoBox); Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/xoops/images/icons/16/default.png =================================================================== (Binary files differ) Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/admin_about.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/admin_about.html 2012-05-05 11:40:48 UTC (rev 9436) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/templates/admin/admin_about.html 2012-05-05 17:23:35 UTC (rev 9437) @@ -32,7 +32,7 @@ <div class="xo-moduleadmin-infobox outer"> <div class="xo-window"> <div class="xo-window-title"> - <span class="icon icon-page-white-gear"></span> <{$smarty.const._AM_MODULEADMIN_ABOUT_CHANGELOG}> + <span class="ico ico-page-white-gear"></span> <{$smarty.const._AM_MODULEADMIN_ABOUT_CHANGELOG}> </div> <div class="xo-window-data"> <div class="txtchangelog"> @@ -46,6 +46,7 @@ </tr> </table> <{if $xoops_logo}> +<br /> <div align="center"> <a href="http://www.xoops.org" target="_blank"> <img src="<{$xoops_url}>/media/xoops/images/xoopsmicrobutton.gif" alt="XOOPS" title="XOOPS"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-05-05 11:40:55
|
Revision: 9436 http://xoops.svn.sourceforge.net/xoops/?rev=9436&view=rev Author: djculex Date: 2012-05-05 11:40:48 +0000 (Sat, 05 May 2012) Log Message: ----------- - Bugfix: Updates in russian language (thanks Yura) Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/language/russian/admin.php XoopsModules/smallworld/trunk/smallworld/language/russian/help/help.html XoopsModules/smallworld/trunk/smallworld/language/russian/modinfo.php Modified: XoopsModules/smallworld/trunk/smallworld/language/russian/admin.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/russian/admin.php 2012-05-05 02:42:04 UTC (rev 9435) +++ XoopsModules/smallworld/trunk/smallworld/language/russian/admin.php 2012-05-05 11:40:48 UTC (rev 9436) @@ -44,19 +44,19 @@ define('_AM_SMALLWORLD_NONEYET','Нет сообщений в базе данных'); define('_AM_SMALLWORLD_NO','нет'); define('_AM_SMALLWORLD_THEREARE','Тут'); -define('_AM_SMALLWORLD_UPDATE_STATUS','Стстус версии Smallworld:'); +define('_AM_SMALLWORLD_UPDATE_STATUS','Статус версии Smallworld:'); // tab two in admin section // tab three in admin section -define('_AM_SMALLWORLD_USERADMIN_TITLE','Управление пользователями'); +define('_AM_SMALLWORLD_USERADMIN_TITLE','Пользователи'); define('_AM_SMALLWORLD_USERADMININSPECT_TITLE','Пользователи под проверкой администратора'); define('_AM_SMALLWORLD_USERADMINNOINSPECT_TITLE','Обычные пользователи'); -define("_AM_SMALLWORLD_TITLE_IMAGE","Пользовательское изображение"); +define("_AM_SMALLWORLD_TITLE_IMAGE","Изображение"); define("_AM_SMALLWORLD_TITLE_USERNAME","Имя пользователя"); define("_AM_SMALLWORLD_TITLE_REALNAME","Настоящее имя"); define("_AM_SMALLWORLD_TITLE_IP","IP"); -define("_AM_SMALLWORLD_TITLE_COMPLAINTS","Жалоб принято"); +define("_AM_SMALLWORLD_TITLE_COMPLAINTS","Принято жалоб"); define("_AM_SMALLWORLD_TITLE_INSPECTTIME","Время проверки"); define("_AM_SMALLWORLD_TITLE_INSPECTADD","Добавить время проверки"); define("_AM_SMALLWORLD_TITLE_DELETEUSER","Удалить аккаунт пользователя"); @@ -65,18 +65,18 @@ define('_AM_SMALLWORLD_ADDTIMEDROPDOWN_NOCHANGE','Нет изменений'); // various others -define('_AM_SMALLWORLD_UPDATE_CRITICAL_UPD',' Есть критическое обновление!!'); +define('_AM_SMALLWORLD_UPDATE_CRITICAL_UPD',' Есть критическое обновление !'); define('_AM_SMALLWORLD_UPDATE_NORMAL_UPD',' Новая версия доступна для скачивания'); -define('_AM_SMALLWORLD_UPDATE_SERVER_ERROR','Сервер выключени или идет обновление.<br/>Попробуйте позже.'); +define('_AM_SMALLWORLD_UPDATE_SERVER_ERROR','Сервер выключен или идет обновление.<br/>Попробуйте позже.'); define('_AM_SMALLWORLD_UPDATE_FILE_DESC','Описание новой версии'); define('_AM_SMALLWORLD_UPDATE_SERVER_FILE','Вы можете скачать новую версию здесь'); -define('_AM_SMALLWORLD_UPDATE_YOUHAVENEWESTVERSION',' У вас новая версия Smallworld'); -define('_AM_SMALLWORLD_HELP','Help'); +define('_AM_SMALLWORLD_UPDATE_YOUHAVENEWESTVERSION',' У вас последняя версия Smallworld'); +define('_AM_SMALLWORLD_HELP','Помощь'); define('_AM_SMALLWORLD_ADMIN_USERDELETEDALERT',' соотвествующие файлы, каталоги и строки таблицы будут удалены'); define('_AM_SMALLWORLD_STATS_POS','#'); define('_AM_SMALLWORLD_STATS_NAME','Имя'); define('_AM_SMALLWORLD_STATS_AMOUNT','Всего'); define('_AM_SMALLWORLD_STATS_IMG','Иконка'); -define('_AM_SMALLWORLD_SP','<img style="margin: 0pt 5px 0pt 0pt; vertical-align: middle;" src="../images/sp.png" height="30px" width="30px"> <a style="position: relative; margin: 0px;vertical-align: middle;" href="javascript:void(0);" id="smallworldDonate">Если вам нравится этот модуль и работа, которую я вложил в него, вы можете поддержать меня, купив мне чашку кофе.</a>'); +C:\Temp\smallworld\language\smallworld\language\russian\admin.phpdefine('_AM_SMALLWORLD_SP','<img style="margin: 0pt 5px 0pt 0pt; vertical-align: middle;" src="../images/sp.png" height="30px" width="30px"> <a style="position: relative; margin: 0px;vertical-align: middle;" href="javascript:void(0);" id="smallworldDonate">Если вам нравится этот модуль и работа, которую я вложил в него, вы можете поддержать меня, купив мне кофе.</a>'); define('_AM_SMALLWORLD_FOOTER', "<div class='center smallsmall italic pad5'>Модуль SmallWorld поддерживается <a class='tooltip' rel='external' href='http://culex.dk/' title='Посетите мой сайт'>Culex</a></div>"); \ No newline at end of file Modified: XoopsModules/smallworld/trunk/smallworld/language/russian/help/help.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/russian/help/help.html 2012-05-05 02:42:04 UTC (rev 9435) +++ XoopsModules/smallworld/trunk/smallworld/language/russian/help/help.html 2012-05-05 11:40:48 UTC (rev 9436) @@ -24,14 +24,14 @@ Убедитесь, что версия загруженного Smallworld является последней версией. Включите cookie и JavaScript в вашем браузере.<br/> <br/> - <b>Installing on a hosted platform</b> + <b>Установка модуля на сервере хостинг-проайдера</b> <ul> - <li>Upload the unzipped folder Smallworld to your module directory.</li> - <li>Install using XOOPS module install as any other module installation.</li> - <li>Make the block visible for the user groups you want to see the block (admin/moderators etc etc).</li> + <li>Загрузите и разархивируйте каталог Smallworld в каталоге модулей.</li> + <li>Установите модуль в XOOPS как и любой другой модуль.</li> + <li>Установите видимость блока для групп пользователей, которым вы хотите дать права (admin/moderators и так далее).</li> </ul> - <b>Upgrading from a previous version</b> + <b>Обновление предыдущей версии (english)</b> <ul> <li>Make sure you are using newest version</li> <li>Read the readme.txt in archieve</li> @@ -71,6 +71,6 @@ <h4 class="odd">Задать вопрос</h4> - <p class="even">Если у вас есть вопросы, или сообщения об ошибках, задавайте их <a href="http://www.xoops.org/modules/newbb">Форуме Xoops.</a></p> + <p class="even">Если у вас есть вопросы, или сообщения об ошибках, задавайте их <a href="http://www.xoops.org/modules/newbb">форуме Xoops.</a></p> </div> \ No newline at end of file Modified: XoopsModules/smallworld/trunk/smallworld/language/russian/modinfo.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/russian/modinfo.php 2012-05-05 02:42:04 UTC (rev 9435) +++ XoopsModules/smallworld/trunk/smallworld/language/russian/modinfo.php 2012-05-05 11:40:48 UTC (rev 9436) @@ -21,7 +21,7 @@ * @ID: $Id: modinfo.php 8904 2012-02-07 21:12:44Z djculex $ **/ -define("_MI_SMALLWORLD_MODULE_NAME","Smallworld"); +define("_MI_SMALLWORLD_MODULE_NAME","Социальная сеть"); define ("_MI_SMALLWORLD_MODULE_DESC","Модуль социальных сетей. Со стеной и профилями."); define('_MI_SMALLWORLD_ADMENU','Администрирование'); define('_MI_SMALLWORLDMENU_INDEX','Главная'); @@ -38,30 +38,30 @@ // Messages per page define("_MI_SMALLWORLD_MSGTOSHOW","Количество сообщений"); -define("_MI_SMALLWORLD_MSGTOSHOW_DESC","Сколько сообщений (обновлениий) показать с самого начала в профиле и индексной странице."); +define("_MI_SMALLWORLD_MSGTOSHOW_DESC","Сколько сообщений (обновлениий) показывать в профиле и индексной странице."); // Use validation define("_MI_SMALLWORLD_VALIDATIONSTRENGHT","Проверка шагов"); -define("_MI_SMALLWORLD_VALIDATIONSTRENGHT_DESC","Использовать проверку полей при регистрации и редактировании профиля. :<br><br>Опции: :<br><br> Нет: Нет проверки <br> Да: * Наиболее важные поля * должны быть проверены"); +define("_MI_SMALLWORLD_VALIDATIONSTRENGHT_DESC","Использовать проверку полей при регистрации и редактировании профиля.<br><br>Опции: :<br><br> Нет: Нет проверки <br> Да: * Наиболее важные поля * должны быть проверены"); // Smallworld take-over user name links ? define ("_MI_SMALLWORLD_TAKEOVERLINKS","Преобразование имени пользователя "); -define ("_MI_SMALLWORLD_TAKEOVERLINKS_DESC","Smallworld будет использовать небольшой JavaScript, чтобы изменить ссылки на USERPROFILE <br> взамен на userinfo.php<br><br> По умолчанию - нет."); +define ("_MI_SMALLWORLD_TAKEOVERLINKS_DESC","Smallworld будет использовать небольшой JavaScript, чтобы изменить ссылки на USERPROFILE взамен userinfo.php<br><br> По умолчанию - Нет."); define ("_MI_SMALLWORLD_USERSOWNMSGCOUNTS","Собственные сообщения пользователей подлежат проверке?"); -define ("_MI_SMALLWORLD_USERSOWNMSGCOUNTS_DESC","Каждые 10 секунд сообщения ваших последователей подсчитываются и результат будет показан, <br> если не 0. Если вы выберите Да, то показываются сообщение когда вы удаляете или добавляете собственное."); +define ("_MI_SMALLWORLD_USERSOWNMSGCOUNTS_DESC","Каждые 10 секунд сообщения ваших последователей подсчитываются и результат будет показан, если не 0. <br>Если вы выберите Да, то сообщение показывается, когда вы удаляете или добавляете собственные."); define ("_MI_SMALLWORLD_BOOKMARSAVATARS","Использование логотипа Smallworld в закладках"); -define ("_MI_SMALLWORLD_BOOKMARKSAVATARS_DESC","Когда сообщения являются публичными, и вы хотите поделиться ими в социальных сетях. Вы можете здесь описать как использовать логотип <br> Smallworld - как общее изображение или «нет» = размещение пользовательского аватара. <br><br> По умолчанию <br> 'да' = Smallworld логотип."); +define ("_MI_SMALLWORLD_BOOKMARKSAVATARS_DESC","Когда сообщения являются публичными, и вы хотите поделиться ими в социальных сетях, вы можете указать как использовать логотип <br> Smallworld - как общее изображение или «Нет» = размещение пользовательского аватара. <br><br> По умолчанию <br> 'Да' = Smallworld логотип."); define ("_MI_SMALLWORLD_USEMAILNOTIFICATION","Использование почтовых уведомлений"); -define ("_MI_SMALLWORLD_USEMAILNOTIFICATION_DESC","Когда новый пользователь регистрируется, будет отправляться письмо администратору, или когда комментарий будет добавлен в сообщение, где пользователь учавствует в переписке, в почту высылается сообщение пользователю. По умолчанию <br> <br> 'да'"); +define ("_MI_SMALLWORLD_USEMAILNOTIFICATION_DESC","Когда новый пользователь регистрируется, будет отправляться письмо администратору, или когда комментарий будет добавлен в сообщение, где пользователь учавствует в переписке, в почту высылается сообщение пользователю. По умолчанию - 'Да'"); // Select fields & Mandetory fields define ('_MI_SMALLWORLD_VIEWFIELDS','Использование полей при регистрации и в профиле'); -define ('_MI_SMALLWORLD_VIEWFIELDS_DESC','Выберите поля для использования в регистрационной форме и в профиле. Control <br> + мышь для множественного выбора '); +define ('_MI_SMALLWORLD_VIEWFIELDS_DESC','Выберите поля для использования в регистрационной форме и в профиле. Control + мышь для множественного выбора '); define ('_MI_SMALLWORLD_VERIFYFIELDS','Производить проверку по полям при регистрации'); -define ('_MI_SMALLWORLD_VERIFYFIELDS_DESC','Выберите (*) обязательные поля регистрационной формы. Control <br> + мышь для множественного выбора'); +define ('_MI_SMALLWORLD_VERIFYFIELDS_DESC','Выберите (*) обязательные поля регистрационной формы. Control + мышь для множественного выбора'); define ('_MI_SMALLWORLD_REALNAME','Настоящее имя'); define ('_MI_SMALLWORLD_GENDER','Пол'); @@ -74,13 +74,13 @@ define ('_MI_SMALLWORLD_POLITICALVIEWS','Политика'); define ('_MI_SMALLWORLD_RELIGIOUSVIEWS','Религия'); define ('_MI_SMALLWORLD_EMAILS','Адреса электронной почты'); -define ('_MI_SMALLWORLD_SCREENNAMES','другие имена'); -define ('_MI_SMALLWORLD_MOBILE','мобильный'); -define ('_MI_SMALLWORLD_LANDPHONE','телефон'); -define ('_MI_SMALLWORLD_STREETADRESS','адрес проживания'); -define ('_MI_SMALLWORLD_PRESENTCITY','текущий город проживания'); -define ('_MI_SMALLWORLD_COUNTRY','страна'); -define ('_MI_SMALLWORLD_WEBSITE','веб-сайт'); +define ('_MI_SMALLWORLD_SCREENNAMES','Другие имена'); +define ('_MI_SMALLWORLD_MOBILE','Мобильный'); +define ('_MI_SMALLWORLD_LANDPHONE','Телефон'); +define ('_MI_SMALLWORLD_STREETADRESS','Адрес проживания'); +define ('_MI_SMALLWORLD_PRESENTCITY','Город проживания'); +define ('_MI_SMALLWORLD_COUNTRY','Страна'); +define ('_MI_SMALLWORLD_WEBSITE','Веб-сайт'); define ('_MI_SMALLWORLD_INTERESTS','Интересы'); define ('_MI_SMALLWORLD_FAVOURITEMUSIC','Любимая музыка'); define ('_MI_SMALLWORLD_FAVOURITETVSHOWS','Любимые ТВ-шоу'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-05-05 02:42:13
|
Revision: 9435 http://xoops.svn.sourceforge.net/xoops/?rev=9435&view=rev Author: djculex Date: 2012-05-05 02:42:04 +0000 (Sat, 05 May 2012) Log Message: ----------- - Bugfix: Added a complete event handler to register.php + disable input submit in case of error - Bugfix: Submit register and edit profile is not Json - Bugfix: Some html malformed functions - NEW added russian language (Thanks Yura) Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/class/profile.php XoopsModules/smallworld/trunk/smallworld/class/user.php XoopsModules/smallworld/trunk/smallworld/js/smallworld.js XoopsModules/smallworld/trunk/smallworld/register.php Added Paths: ----------- XoopsModules/smallworld/trunk/smallworld/language/russian/ XoopsModules/smallworld/trunk/smallworld/language/russian/admin.php XoopsModules/smallworld/trunk/smallworld/language/russian/help/ XoopsModules/smallworld/trunk/smallworld/language/russian/help/help.html XoopsModules/smallworld/trunk/smallworld/language/russian/help/index.html XoopsModules/smallworld/trunk/smallworld/language/russian/index.html XoopsModules/smallworld/trunk/smallworld/language/russian/js/ XoopsModules/smallworld/trunk/smallworld/language/russian/js/index.html XoopsModules/smallworld/trunk/smallworld/language/russian/js/jquery.countdown.js XoopsModules/smallworld/trunk/smallworld/language/russian/js/jquery.ui.datepicker-language.js XoopsModules/smallworld/trunk/smallworld/language/russian/js/variables.js XoopsModules/smallworld/trunk/smallworld/language/russian/mailTpl/ XoopsModules/smallworld/trunk/smallworld/language/russian/mailTpl/index.html XoopsModules/smallworld/trunk/smallworld/language/russian/mailTpl/mail_attencionneeded.html XoopsModules/smallworld/trunk/smallworld/language/russian/mailTpl/mail_complaint.html XoopsModules/smallworld/trunk/smallworld/language/russian/mailTpl/mail_newcomment.html XoopsModules/smallworld/trunk/smallworld/language/russian/mailTpl/mail_register.html XoopsModules/smallworld/trunk/smallworld/language/russian/main.php XoopsModules/smallworld/trunk/smallworld/language/russian/modinfo.php Modified: XoopsModules/smallworld/trunk/smallworld/class/profile.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/class/profile.php 2012-05-04 17:09:44 UTC (rev 9434) +++ XoopsModules/smallworld/trunk/smallworld/class/profile.php 2012-05-05 02:42:04 UTC (rev 9435) @@ -70,8 +70,8 @@ } else { $rank_image = ''; } - $commentsrating = "<img src='".XOOPS_URL."/modules/smallworld/images/like.png' height='10px' width='10px'"."/></img> ".$usersratedplus; - $commentsrating .= " <img src='".XOOPS_URL."/modules/smallworld/images/dislike.png' height='10px' width='10px'"."/></img> ".$usersratedminus; + $commentsrating = "<img src='".XOOPS_URL."/modules/smallworld/images/like.png' height='10px' width='10px'"."/> ".$usersratedplus; + $commentsrating .= " <img src='".XOOPS_URL."/modules/smallworld/images/dislike.png' height='10px' width='10px'"."/> ".$usersratedminus; $lastlogin = $user->getVar('last_login'); $gender = $r['gender']; Modified: XoopsModules/smallworld/trunk/smallworld/class/user.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/class/user.php 2012-05-04 17:09:44 UTC (rev 9434) +++ XoopsModules/smallworld/trunk/smallworld/class/user.php 2012-05-05 02:42:04 UTC (rev 9435) @@ -169,7 +169,7 @@ while ($row = $xoopsDB->fetchArray($result) AND $start <= count($row)) { $msg[$start]['friendname'] = $this->getName($row['me']); $msg[$start]['img'] = $Wall->Gravatar($row['me']); - $msg[$start]['friendimage'] = "<img src='".XOOPS_UPLOAD_URL."/".$msg[$start]['img']."' height='40px'></img>"; + $msg[$start]['friendimage'] = "<img src='".XOOPS_UPLOAD_URL."/".$msg[$start]['img']."' height='40px'/>"; $msg[$start]['frienddate'] = date('d-m-Y',$row['date']); $msg[$start]['accept'] = '<a id="smallworldrequestlink" href = "javascript:AcceptDenyFriend(1,'.$row['me'].','.$row['you'].','.$start.');">'._SMALLWORLD_ACCEPT.'</a>'; $msg[$start]['deny'] = '<a id="smallworldrequestlink" href = "javascript:AcceptDenyFriend(-1,'.$row['me'].','.$row['you'].','.$start.');">'._SMALLWORLD_DENY.'</a>'; Modified: XoopsModules/smallworld/trunk/smallworld/js/smallworld.js =================================================================== --- XoopsModules/smallworld/trunk/smallworld/js/smallworld.js 2012-05-04 17:09:44 UTC (rev 9434) +++ XoopsModules/smallworld/trunk/smallworld/js/smallworld.js 2012-05-05 02:42:04 UTC (rev 9435) @@ -403,15 +403,19 @@ var dataString = xoops_smallworld("#smallworld_profileform").serialize(); if (dataString == '') { } else { + xoops_smallworld('.smallworld_finish').attr('disabled',true); xoops_smallworld.ajax({ type: "POST", - dataType: 'json', + //dataType: 'json', cache: false, url: smallworld_url+"submit.php", data: dataString, success: function(){ - location.href = smallworld_url+'index.php'; - } + alert(SmallworldSavedSuccesMsg); + }, + complete: function() { + location.href = smallworld_url+'index.php'; + } }); } }); Added: XoopsModules/smallworld/trunk/smallworld/language/russian/admin.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/russian/admin.php (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/russian/admin.php 2012-05-05 02:42:04 UTC (rev 9435) @@ -0,0 +1,82 @@ +<?php +/** +* You may not change or alter any portion of this comment or credits +* of supporting developers from this source code or any supporting +* source code which is considered copyrighted (c) material of the +* original comment or credit authors. +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +* +* @copyright: The XOOPS Project http://sourceforge.net/projects/xoops/ +* @license: http://www.fsf.org/copyleft/gpl.html GNU public license +* @packet: Modules +* @sub-packet: Smallworld +* @since: Xoops 2.5.4 +* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...> +* @copyright: 2011 Culex +* @Last committed: $Revision: 8904 $ +* @Last changed by: $Author: djculex $ +* @Last changed date: $Date: 2012-02-07 22:12:44 +0100 (ti, 07 feb 2012) $ +* @ID: $Id: admin.php 8904 2012-02-07 21:12:44Z djculex $ +**/ + + +// English language file for Smallworld Admin.php + +// tab titles + define('_AM_SMALLWORLD_ADMINMESSAGESEND','Сообщение для всех'); + define('_AM_SMALLWORLD_LOGSMAINTNANCE','Сопровождение базы данных'); + +// tab one in admin section +define('_AM_SMALLWORLD_MODULEINSTALL','Модуль установленной версии'); +define('_AM_SMALLWORLD_INSTALLDATE','Модуль установлен: '); +define('_AM_SMALLWORLD_DATEOFFIRSTMESSAGE','Дата старого сообщения'); +define('_AM_SMALLWORLD_TOTALUSERS','Всего пользователей, использующих Smallworld'); +define('_AM_SMALLWORLD_AVERAGEMSGPERDAY','Среднее количество сообщений в день'); +define('_AM_SMALLWORLD_TOPCHATTERS','Наиболее активные пользователи'); +define('_AM_SMALLWORLD_TOPCHATTERS_TODAY','Наиболее активные пользователи за последние 24 часа'); +define('_AM_SMALLWORLD_TOPRATEDUSERS','Пользователи с высоким рейтингом'); +define('_AM_SMALLWORLD_BOTTOMRATEDUSERS','Пользователи с низким рейтингом'); +define('_AM_SMALLWORLD_STATISTICS_TITLE','Smallworld статистика'); +define('_AM_SMALLWORLD_MODULEINFO','Информация о модуле'); +define('_AM_SMALLWORLD_USERSTATS','Статистика по пользователям'); +define('_AM_SMALLWORLD_NONEYET','Нет сообщений в базе данных'); +define('_AM_SMALLWORLD_NO','нет'); +define('_AM_SMALLWORLD_THEREARE','Тут'); +define('_AM_SMALLWORLD_UPDATE_STATUS','Стстус версии Smallworld:'); + +// tab two in admin section + +// tab three in admin section +define('_AM_SMALLWORLD_USERADMIN_TITLE','Управление пользователями'); +define('_AM_SMALLWORLD_USERADMININSPECT_TITLE','Пользователи под проверкой администратора'); +define('_AM_SMALLWORLD_USERADMINNOINSPECT_TITLE','Обычные пользователи'); +define("_AM_SMALLWORLD_TITLE_IMAGE","Пользовательское изображение"); +define("_AM_SMALLWORLD_TITLE_USERNAME","Имя пользователя"); +define("_AM_SMALLWORLD_TITLE_REALNAME","Настоящее имя"); +define("_AM_SMALLWORLD_TITLE_IP","IP"); +define("_AM_SMALLWORLD_TITLE_COMPLAINTS","Жалоб принято"); +define("_AM_SMALLWORLD_TITLE_INSPECTTIME","Время проверки"); +define("_AM_SMALLWORLD_TITLE_INSPECTADD","Добавить время проверки"); +define("_AM_SMALLWORLD_TITLE_DELETEUSER","Удалить аккаунт пользователя"); +define('_AM_SMALLWORLD_TITLE_INSPECTDELETE','Очистить время проверки'); +define('_AM_SMALLWORLD_ADDTIMEDROPDOWN_MINUTES',' Минут'); +define('_AM_SMALLWORLD_ADDTIMEDROPDOWN_NOCHANGE','Нет изменений'); + +// various others +define('_AM_SMALLWORLD_UPDATE_CRITICAL_UPD',' Есть критическое обновление!!'); +define('_AM_SMALLWORLD_UPDATE_NORMAL_UPD',' Новая версия доступна для скачивания'); +define('_AM_SMALLWORLD_UPDATE_SERVER_ERROR','Сервер выключени или идет обновление.<br/>Попробуйте позже.'); +define('_AM_SMALLWORLD_UPDATE_FILE_DESC','Описание новой версии'); +define('_AM_SMALLWORLD_UPDATE_SERVER_FILE','Вы можете скачать новую версию здесь'); +define('_AM_SMALLWORLD_UPDATE_YOUHAVENEWESTVERSION',' У вас новая версия Smallworld'); +define('_AM_SMALLWORLD_HELP','Help'); +define('_AM_SMALLWORLD_ADMIN_USERDELETEDALERT',' соотвествующие файлы, каталоги и строки таблицы будут удалены'); +define('_AM_SMALLWORLD_STATS_POS','#'); +define('_AM_SMALLWORLD_STATS_NAME','Имя'); +define('_AM_SMALLWORLD_STATS_AMOUNT','Всего'); +define('_AM_SMALLWORLD_STATS_IMG','Иконка'); + +define('_AM_SMALLWORLD_SP','<img style="margin: 0pt 5px 0pt 0pt; vertical-align: middle;" src="../images/sp.png" height="30px" width="30px"> <a style="position: relative; margin: 0px;vertical-align: middle;" href="javascript:void(0);" id="smallworldDonate">Если вам нравится этот модуль и работа, которую я вложил в него, вы можете поддержать меня, купив мне чашку кофе.</a>'); +define('_AM_SMALLWORLD_FOOTER', "<div class='center smallsmall italic pad5'>Модуль SmallWorld поддерживается <a class='tooltip' rel='external' href='http://culex.dk/' title='Посетите мой сайт'>Culex</a></div>"); \ No newline at end of file Added: XoopsModules/smallworld/trunk/smallworld/language/russian/help/help.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/russian/help/help.html (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/russian/help/help.html 2012-05-05 02:42:04 UTC (rev 9435) @@ -0,0 +1,76 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/smallworld/admin/index.php" + title="Вернуться к администрированию SmallWorld"> SmallWorld + <img src="<{xoAdminIcons home.png}>" + alt="Вернуться к администрированию SmallWorld"/> + </a></h1> + + <h4 class="odd">Описание</h4> + + <p class="even">Smallworld is a Social Network system. Inspired by the Srinivas Tamada tutorials on Facebook + scripting. The base system has been re-written, adapted, and heavily expanded for XOOPS by Culex + The module is featuring like/dislike, bookmarking, wall system, image gallery, and is using XIM if installed. + The admin side is featuring deleting users, banning users based on time. A countdown is shown on user side to + when it's back.. And many more features. It is fully supported by XOOPS version 2.5.0 and higher.<br/> <br/> + Smallworld is released under the terms of the GNU General Public License (GPL) and is free to use and modify. It + is free to redistribute as long as you abide by the distribution terms of the GPL.</p> + + <h4 class="odd">Установить/деинсталлировать</h4> <br/> + + Стандартный процесс установки - извлечь в + ../modules каталог. Установить + модуль через Администрирование -> Системный модуль -> Модули.<br/> <br/> + + Убедитесь, что версия загруженного Smallworld является последней версией. + Включите cookie и JavaScript в вашем браузере.<br/> <br/> + <b>Installing on a hosted platform</b> + <ul> + <li>Upload the unzipped folder Smallworld to your module directory.</li> + <li>Install using XOOPS module install as any other module installation.</li> + <li>Make the block visible for the user groups you want to see the block (admin/moderators etc etc).</li> + </ul> + + <b>Upgrading from a previous version</b> + <ul> + <li>Make sure you are using newest version</li> + <li>Read the readme.txt in archieve</li> + <li>Maybe do a backup of your tables</li> + </ul> + Detailed instructions on installing modules are available in the + <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a> <br/> <br/> + + + <h4 class="odd">Операции (english)</h4> <br/> + + Detailed instructions on configuring the access rights for user groups are available in the + <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a><br/> <br/> + + <h4 class="odd">Решение проблем (english)</h4> <br/> + + <b>I get blank page, can't click username, the block is not visible.......</b><br/> <br/> + <ul> + <li> Make sure your Xoops version is > 2.5.0. Older versions of Xoops don't have preloads, which are required. + </li> + <li>Turn on debug and check to see if any errors emerge.</li> + <li>Using FireFox, right click on the screen, choose inspect element, choose console in the tabs and check to + see if any errors + </li> + <li>If no errors, use Firebug (Right click->inspect element->console) and see if there are any jQuery errors. + </li> + <li>If there are no jQuery errors. Clean caches-> module update Smallworld, system modules.</li> + <li>If the page is still blank, Go to your protector module -> settings and write smallworld in the form + "Modules out of Dos / Crawler checker". + </li> + </ul> + <br/> + + <h4 class="odd">Руководство</h4> + + <p class="even">Пока не доступно</p> + + <h4 class="odd">Задать вопрос</h4> + + <p class="even">Если у вас есть вопросы, или сообщения об ошибках, задавайте их <a href="http://www.xoops.org/modules/newbb">Форуме Xoops.</a></p> + +</div> \ No newline at end of file Added: XoopsModules/smallworld/trunk/smallworld/language/russian/help/index.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/russian/help/index.html (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/russian/help/index.html 2012-05-05 02:42:04 UTC (rev 9435) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/smallworld/trunk/smallworld/language/russian/index.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/russian/index.html (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/russian/index.html 2012-05-05 02:42:04 UTC (rev 9435) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/smallworld/trunk/smallworld/language/russian/js/index.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/russian/js/index.html (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/russian/js/index.html 2012-05-05 02:42:04 UTC (rev 9435) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/smallworld/trunk/smallworld/language/russian/js/jquery.countdown.js =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/russian/js/jquery.countdown.js (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/russian/js/jquery.countdown.js 2012-05-05 02:42:04 UTC (rev 9435) @@ -0,0 +1,20 @@ +/* http://keith-wood.name/countdown.html + Countdown for jQuery v1.5.10. + Written by Keith Wood (kbwood{at}iinet.com.au) January 2008. + Dual licensed under the GPL (http://dev.jquery.com/browser/trunk/jquery/GPL-LICENSE.txt) and + MIT (http://dev.jquery.com/browser/trunk/jquery/MIT-LICENSE.txt) licenses. + Please attribute the author if you use it. */ + + /* + Check here for your translation + http://keith-wood.name/countdown.html#l10nPkgs + */ +(function(xoops_smallworld) { + xoops_smallworld.countdown.regional['ru'] = { + labels: ['Лет', 'Месяцев', 'Недель', 'Дней', 'Часов', 'Минут', 'Секунд'], + labels1: ['Год', 'Месяц', 'Неделя', 'День', 'Час', 'Минута', 'Секунда'], + compactLabels: ['г', 'м', 'н', 'д','час', 'мин', 'сек'], // The compact texts for the counters + whichLabels: null, + timeSeparator: ':', isRTL: false}; + xoops_smallworld.countdown.setDefaults(xoops_smallworld.countdown.regional['ru']); +})(jQuery); Added: XoopsModules/smallworld/trunk/smallworld/language/russian/js/jquery.ui.datepicker-language.js =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/russian/js/jquery.ui.datepicker-language.js (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/russian/js/jquery.ui.datepicker-language.js 2012-05-05 02:42:04 UTC (rev 9435) @@ -0,0 +1,23 @@ +/* English/UK initialisation for the jQuery UI date picker plugin. */ +/* Written by Stuart. */ +jQuery(function(xoops_smallworld){ + xoops_smallworld.datepicker.regional['ru-RU'] = { + closeText: 'Закрыть', + prevText: 'Пред', + nextText: 'След', + currentText: 'Сегодня', + monthNames: ['Январь','Февраль','Март','Апрель','Май','Июнь', + 'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'], + monthNamesShort: ['Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', + 'Июл', 'Авг', 'Сен', 'Окт', 'Ноя', 'Дек'], + dayNames: ['Воскресение', 'Понедельник', 'Вторник', 'Среда', 'Четверг', 'Пятница', 'Суббота'], + dayNamesShort: ['Вск', 'Пон', 'Втр', 'Срд', 'Чтв', 'Птн', 'Сбт'], + dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'], + weekHeader: 'Нед', + dateFormat: 'дд/мм/гг', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + xoops_smallworld.datepicker.setDefaults(xoops_smallworld.datepicker.regional['ru-RU']); +}); Added: XoopsModules/smallworld/trunk/smallworld/language/russian/js/variables.js =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/russian/js/variables.js (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/russian/js/variables.js 2012-05-05 02:42:04 UTC (rev 9435) @@ -0,0 +1,56 @@ +// Various language codes to be included in header +// See this for your parametres +//https://spreadsheets.google.com/spreadsheet/pub?key=0Ah0xU81penP1cDlwZHdzYWkyaERNc0xrWHNvTTA1S1E&gid=1 + +var language = 'ru'; +var countryshort = 'ru'; +var countrylong = 'russia'; + +var _smallworldContinueToReg = "Продолжить регистрацию"; +var _smallworldCancel = "Отменить"; +var _smallworldClose = "закрыть"; + +var _smallworldCommentsMoreMore = "..Показать больше"; +var _smallworldCommentsMoreLess = "..Показать меньше"; + +var SmallworldGenderError = "Пожалуйста, введите ваш пол"; +var SmallworldBirthdayError = "Пожалуйста, выберите ваш д/р"; +var SmallworldEmailError = "Пожалуйста, введите не менее одного адреса электронной почты"; + +var SmallworldSavedSuccesMsg = "Сохранено успешно"; + +var SmallworldConfirmBtnFI = "Вы уверены ?"; +var SmallworldConfirmBtnYes = 'Да!'; +var SmallworldConfirmBtnNo = 'Нет!'; + +var smallworldNewMessages = "У вас новые события +"; +var smallworldDeletedMessages = "Сообщения были удалены. Счетчик -"; + +//Validation +var SmallworldValidationBackButton = "Назад"; // back button +var SmallworldValidationForwardButton = "Вперед"; // Forward button +var SmallworldValidationNameErrorMsg = "Пожалуйста, впишите свое имя"; // Real name field +var SmallworldValidationGenderErrorMsg = "Пожалуйста, выберите нужный пол"; // Choose gender +var SmallworldValidationIntingenderErrorMsg = "Пожалуйста, выберите не менее одного значения. По-умолчанию 'нет'"; // Interested in gender +var SmallworldValidationSearchrelatErrorMsg = "Пожалуйста, выберите не менее одного значения. По-умолчанию 'Друзья'"; // Searching for +var SmallworldValidationBirthdayErrorMsg = "Пожалуйста, выберите корректную дату"; // Birthday +var SmallworldValidationEmailTitleErrorMsg = "Неправильный формат email";// Emailtype image title +var SmallworldValidationBirthplaceErrorMsg = "Пожалуйста, введите место рождения"; // Birthplace +var SmallworldValidationAdressErrorMsg = "Пожалуйста, введите адрес"; // Adress +var SmallworldValidationCityErrorMsg = "Пожалуйста, введите город"; // City +var SmallworldValidationCountryErrorMsg = "Пожалуйста, введите страну"; // country +var SmallworldValidationWebsiteErrorMsg = "Пожалуйста, введите веб-сайт"; // Website +var SmallworldSureDelete = "Вы уверены, что хотите удалить это обновление? Операция необратима!"; // Delete comments +var SmallworldAdminSureDeleteUser = "Вы уверены, что хотите удалить пользователя "; //Admin delete user +var SmallworldDialogStatsTitle = "Статистика"; // Title for statistic dialog window +// Languages for jquery confirm box +var args = { + 'confirm' : false, // Ok and Cancel buttons + 'verify' : true, // Yes and No buttons + 'input' : false, // Text input (can be true or string for default text) + 'animate' : true, // Groovy animation (can true or number, default is 400) + 'textOk' : 'ОК', // Ok button default text + 'textCancel' : 'Отмена', // Cancel button default text + 'textYes' : 'Да!', // Yes button default text + 'textNo' : 'Нет!' // No button default text + } Added: XoopsModules/smallworld/trunk/smallworld/language/russian/mailTpl/index.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/russian/mailTpl/index.html (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/russian/mailTpl/index.html 2012-05-05 02:42:04 UTC (rev 9435) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/smallworld/trunk/smallworld/language/russian/mailTpl/mail_attencionneeded.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/russian/mailTpl/mail_attencionneeded.html (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/russian/mailTpl/mail_attencionneeded.html 2012-05-05 02:42:04 UTC (rev 9435) @@ -0,0 +1,32 @@ +<html> +<head> +<style type="text/css"> + ol, ul {list-style:none} + a {text-decoration: none;color: #1f1f1f;} + a:hover {text-decoration: none; color: #5d8ba6;} + h4 {font-family: 'Puritan20Normal';font-weight: normal;color: #1f1f1f;margin-bottom: 10px;font-size: 17px;} + img.left {top: 0px;float:left;display: block;margin:0;padding:0;margin-right:20px;} + #wrapper {width: 960px;margin: 100px auto 0;padding-top: 0;line-height: 20px;background-color:#33FFFF;border-style: groove;border-color:aqua;border-width:medium;} + #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0px 1px 2px 0px #b7b7b7;-moz-box-shadow: 0px 1px 2px 0px #b7b7b7;box-shadow: 0px 1px 2px 0px #b7b7b7;padding: 15px;display: block;overflow: hidden;} + + #newslist p {margin: 0;} + #newslist h4 {margin-bottom: 8px;line-height: 1;} + #newslist h4 span {font-style: italic;font-family: Georgia, "Times New Roman", Times, serif;font-size: 12px;color: #565656;padding-left: 5px;} + #news h2 {float: left;margin-top: 10px;} + .greeting {margin:0px 0px 0px 25px;} + .infotext {margin:10px 0px 0px 25px;} + .title2 {margin-bottom: 12px;margin-top: 2px;} + .title {margin-bottom: 12px;margin-top: 4px;} + </style> +</head> +<body> +<!-- Begin Wrapper --> + <div id="wrapper"> + <br> + <p class="greeting">Привет <{$toUser}>,</p> + <p class="infotext">ОБНОВЛЕНО: <{$date}>. Проверьте ваш профиль на <{$sitename}>.<br><br>Чтобы перейти на smallworld главную страницу используйте этот линк <br><br><{$link}></p> + <br> + </div> +<!-- End Wrapper --> +</body> +</html> \ No newline at end of file Added: XoopsModules/smallworld/trunk/smallworld/language/russian/mailTpl/mail_complaint.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/russian/mailTpl/mail_complaint.html (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/russian/mailTpl/mail_complaint.html 2012-05-05 02:42:04 UTC (rev 9435) @@ -0,0 +1,45 @@ +<html> +<head> +<style type="text/css"> + ol, ul {list-style:none} + a {text-decoration: none;color: #1f1f1f;} + a:hover {text-decoration: none; color: #5d8ba6;} + h4 {font-family: 'Puritan20Normal';font-weight: normal;color: #1f1f1f;margin-bottom: 10px;font-size: 17px;} + img.left {top: 0px;float:left;display: block;margin:0;padding:0;margin-right:20px;} + #wrapper {width: 960px;margin: 100px auto 0;padding-top: 0;line-height: 20px;background-color:#33FFFF;border-style: groove;border-color:aqua;border-width:medium;} + #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0px 1px 2px 0px #b7b7b7;-moz-box-shadow: 0px 1px 2px 0px #b7b7b7;box-shadow: 0px 1px 2px 0px #b7b7b7;padding: 15px;display: block;overflow: hidden;} + + #newslist p {margin: 0;} + #newslist h4 {margin-bottom: 8px;line-height: 1;} + #newslist h4 span {font-style: italic;font-family: Georgia, "Times New Roman", Times, serif;font-size: 12px;color: #565656;padding-left: 5px;} + #news h2 {float: left;margin-top: 10px;} + .greeting {margin:0px 0px 0px 25px;} + .infotext {margin:10px 0px 0px 25px;} + .title2 {margin-bottom: 12px;margin-top: 2px;} + .title {margin-bottom: 12px;margin-top: 4px;} + </style> +</head> +<body> +<!-- Begin Wrapper --> + <div id="wrapper"> + <br> + <p class="greeting">Привет Админ,</p> + <p class="infotext"><{$sendername}> нашел что-то, требующее вашего внимания <{$sitename}></p> + <div id="news"> + <!-- Begin News Navigation --> + <div id="newslist"> + <ul> + <!-- Begin Entry Heading 1 --> + <li> + <span style="font-size:11px">Это находится в треде <{$against}> и <{$sendername}> сообщил об этом в <{$time}> (servertime)</h4> + <h4 class="title"><span style="font-size:11px"><{$link}></span></h4> + </li> + </ul> + </div> + </div> + <!-- End News Navigation --> + <br> + </div> +<!-- End Wrapper --> +</body> +</html> \ No newline at end of file Added: XoopsModules/smallworld/trunk/smallworld/language/russian/mailTpl/mail_newcomment.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/russian/mailTpl/mail_newcomment.html (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/russian/mailTpl/mail_newcomment.html 2012-05-05 02:42:04 UTC (rev 9435) @@ -0,0 +1,56 @@ +<html> +<head> +<style type="text/css"> + ol, ul {list-style:none} + a {text-decoration: none;color: #1f1f1f;} + a:hover {text-decoration: none; color: #5d8ba6;} + h4 {font-family: 'Puritan20Normal';font-weight: normal;color: #1f1f1f;margin-bottom: 10px;font-size: 17px;} + img.left {top: 0px;float:left;display: block;margin:0;padding:0;margin-right:20px;} + #wrapper {width: 960px;margin: 100px auto 0;padding-top: 0;line-height: 20px;background-color:#33FFFF;border-style: groove;border-color:aqua;border-width:medium;} + #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0px 1px 2px 0px #b7b7b7;-moz-box-shadow: 0px 1px 2px 0px #b7b7b7;box-shadow: 0px 1px 2px 0px #b7b7b7;padding: 15px;display: block;overflow: hidden;} + + #newslist p {margin: 0;} + #newslist h4 {margin-bottom: 8px;line-height: 1;} + #newslist h4 span {font-style: italic;font-family: Georgia, "Times New Roman", Times, serif;font-size: 12px;color: #565656;padding-left: 5px;} + #news h2 {float: left;margin-top: 10px;} + .greeting {margin:0px 0px 0px 25px;} + .infotext {margin:10px 0px 0px 25px;} + .title2 {margin-bottom: 12px;margin-top: 2px;} + .title {margin-bottom: 12px;margin-top: 4px;} +</style> +</head> +<body> +<!-- Begin Wrapper --> + <div id="wrapper"> + <br> + <p class="greeting">Привет <{$recievename}>,</p> + <p class="infotext"><{$sendname}> прокомментировал в ленте <{$sitename}></p> + <div id="news"> + <!-- Begin News Navigation --> + <div id="newslist"> + <ul> + <!-- Begin Entry Heading 1 --> + <li><{$to_avatarlink}> + <h4 class="title"><{$ownernameurl}> <span style="font-size:11px">Исходное сообщение </span></h4> + <p><{$ownermessage}></p> + </li> + <!-- End Entry Heading 1 --> + + <!-- Begin Entry Heading 2 --> + <li style="margin-left:25px;width:780px"><{$from_avatarlink}> + <h4 class="title2"><{$sendnameurl}> <span style="font-size:11px"> ответил (<{$itemtextdate}> servertime)</span></h4> + <p><{$itemtext}></p> + </li> + <!-- End Entry Heading 2 --> + </ul> + </div> + </div> + <!-- End News Navigation --> + <br> + <p align="center"><{$replylink}></p> + <br/> + </div> + +<!-- End Wrapper --> +</body> +</html> \ No newline at end of file Added: XoopsModules/smallworld/trunk/smallworld/language/russian/mailTpl/mail_register.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/russian/mailTpl/mail_register.html (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/russian/mailTpl/mail_register.html 2012-05-05 02:42:04 UTC (rev 9435) @@ -0,0 +1,44 @@ +<html> +<head> +<style type="text/css"> + ol, ul {list-style:none} + a {text-decoration: none;color: #1f1f1f;} + a:hover {text-decoration: none; color: #5d8ba6;} + h4 {font-family: 'Puritan20Normal';font-weight: normal;color: #1f1f1f;margin-bottom: 10px;font-size: 17px;} + img.left {top: 0px;float:left;display: block;margin:0;padding:0;margin-right:20px;} + #wrapper {width: 960px;margin: 100px auto 0;padding-top: 0;line-height: 20px;background-color:#33FFFF;border-style: groove;border-color:aqua;border-width:medium;} + #newslist ul li {width: 850px;px;background: none;margin: 2px 0 18px 2px;background-color: #FFF;-webkit-box-shadow: 0px 1px 2px 0px #b7b7b7;-moz-box-shadow: 0px 1px 2px 0px #b7b7b7;box-shadow: 0px 1px 2px 0px #b7b7b7;padding: 15px;display: block;overflow: hidden;} + + #newslist p {margin: 0;} + #newslist h4 {margin-bottom: 8px;line-height: 1;} + #newslist h4 span {font-style: italic;font-family: Georgia, "Times New Roman", Times, serif;font-size: 12px;color: #565656;padding-left: 5px;} + #news h2 {float: left;margin-top: 10px;} + .greeting {margin:0px 0px 0px 25px;} + .infotext {margin:10px 0px 0px 25px;} + .title2 {margin-bottom: 12px;margin-top: 2px;} + .title {margin-bottom: 12px;margin-top: 4px;} + </style> +</head> +<body> +<!-- Begin Wrapper --> + <div id="wrapper"> + <br> + <p class="greeting">Привет Админ,</p> + <p class="infotext"><{$registername}> зарегистрировался на <{$sitename}></p> + <div id="news"> + <!-- Begin News Navigation --> + <div id="newslist"> + <ul> + <!-- Begin Entry Heading 1 --> + <li><{$registerlink}> + <h4 class="title"><{$registerurl}> <span style="font-size:11px">Посмотреть профайл можно тут </span></h4> + </li> + </ul> + </div> + </div> + <!-- End News Navigation --> + <br> + </div> +<!-- End Wrapper --> +</body> +</html> \ No newline at end of file Added: XoopsModules/smallworld/trunk/smallworld/language/russian/main.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/russian/main.php (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/russian/main.php 2012-05-05 02:42:04 UTC (rev 9435) @@ -0,0 +1,377 @@ +<?php +/** +* You may not change or alter any portion of this comment or credits +* of supporting developers from this source code or any supporting +* source code which is considered copyrighted (c) material of the +* original comment or credit authors. +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +* +* @copyright: The XOOPS Project http://sourceforge.net/projects/xoops/ +* @license: http://www.fsf.org/copyleft/gpl.html GNU public license +* @packet: Modules +* @sub-packet: Smallworld +* @since: Xoops 2.5.4 +* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...> +* @copyright: 2011 Culex +* @Last committed: $Revision: 9032 $ +* @Last changed by: $Author: djculex $ +* @Last changed date: $Date: 2012-02-20 06:15:13 +0100 (ma, 20 feb 2012) $ +* @ID: $Id: main.php 9032 2012-02-20 05:15:13Z djculex $ +**/ + +/*----------------- Menu items ---------------*/ + +/*------------ General items -------- */ +define("_SMALLWORLD_SYSERROR","Системная ошибка!"); +define("_SMALLWORLD_SYSNAME","Smallworld"); +define("_SMALLWORLD_ALL_FIELDS_DISABLED","Не предоставлена личная информация"); + +/*----------- Personal info ------------------*/ +define("_SMALLWORLD_AVATAR","Текущее изображение"); +define("_SMALLWORLD_REALNAME","Настоящее имя"); +define("_SMALLWORLD_GENDER","Пол"); +define("_SMALLWORLD_INTERESTEDIN","Интересы"); +define("_SMALLWORLD_RELATIONSHIPSTATUS","Семейное положение"); +define("_SMALLWORLD_PARTNER","Партнер"); +define("_SMALLWORLD_LOOKINGFOR", "Ищу.."); +define("_SMALLWORLD_BIRTHPLACE", "Место рождения"); +define("_SMALLWORLD_POLITICALVIEW", "Политический взгляд"); +define("_SMALLWORLD_RELIGIOUSVIEW", "Религиозные взгляды"); +define("_SMALLWORLD_EMAILS","Адреса электронной почты"); + +/*--------------- contact info -----------------*/ +define("_SMALLWORLD_MOBILEPHONE","Мобильный"); +define("_SMALLWORLD_LANDPHONE","Телефон"); +define("_SMALLWORLD_ADRESS","Адрес"); +define("_SMALLWORLD_CITY","Город"); + +/*-------------- interests ---------------------*/ +define("_SMALLWORLD_WEBSITE","Адрес сайта"); +define("_SMALLWORLD_INTERESTS","Интересы"); +define("_SMALLWORLD_FAVOURITEMUSIC","Любимая музыка"); +define("_SMALLWORLD_FAVOURITEMOVIES","Любимое кино"); +define("_SMALLWORLD_ABOUTME","Обо мне"); +define("_SMALLWORLD_ADDSCHOOLS","Добавить школы / образование"); +define("_SMALLWORLD_ADDJOBS","Добавить работу"); +define("_SMALLWORLD_VARIOUSINTERESTS","Различные интересы"); +define("_SMALLWORLD_CONTACTINFO","Контактная информация"); +define("_SMALLWORLD_PERSONALINFO","Персональные данные"); +define("_SMALLWORLD_NOFRIENDTEXT","Только друзья могут посмотреть профиль / текст ленты"); + +/* --------------- Timezone, User profile text & stats ----------------*/ +define("_SMALLWORLD_TIMEZONE","Временная зона"); +define("_SMALLWORLD_OCCUPATION","Местоположение"); +define("_SMALLWORLD_MEMBERSINCE","Член с"); +define("_SMALLWORLD_MESSENGER","Программа обмена сообщениями"); +define("_SMALLWORLD_TOTALPOSTS","Всего сообщений"); +define("_SMALLWORLD_RANK","Ранг"); +define("_SMALLWORLD_RANKIMAGE","Изображение ранга"); +define("_SMALLWORLD_TOTALUSERRATINGS","Общий рейтинг"); +define("_SMALLWORLD_LASTLOGIN","Дата последнего посещения"); +define("_SMALLWORLD_SIGNATURE","Подпись"); +define("_SMALLWORLD_REPLY_NOTSPECIFIYED","Не указано"); +define("_SMALLWORLD_BIRTHDAY","Дата рождения"); +define("_SMALLWORLD_AKA","aka"); +define("_SMALLWORLD_BORN","родился"); +define("_SMALLWORLD_YEARSOLD","лет"); +define("_SMALLWORLD_IN","в"); +define("_SMALLWORLD_HE","Он"); +define("_SMALLWORLD_SHE","Она"); +define("_SMALLWORLD_HEORSHE","Он/Она"); +define("_SMALLWORLD_LIVINGIN","в настоящее время живет в"); +define("_SMALLWORLD_ISEMPLOYEDBY","работает на"); +define("_SMALLWORLD_ATTENDED","учился в"); +define("_SMALLWORLD_AND","и"); +define("_SMALLWORLD_BIOGRAPHY","Биография"); +define("_SMALLWORLD_EXTBIOGRAPHY","Больше информации"); +define("_SMALLWORLD_NAME","Имя"); +define("_SMALLWORLD_COUNTRY","Страна"); + +/*------------- Friends and follow ---------------------*/ +define("_SMALLWORLD_FRIEND","Добавить в друзья"); +define("_SMALLWORLD_FOLLOWFRIEND","Следовать"); +define("_SMALLWORLD_SENDMESSAGE","Послать сообщение"); +define("_SMALLWORLD_MOREINFO","Для информации нажмите здесь"); + +/*--------------------- Messages and boxes -----------------------------*/ +define("_SMALLWORLD_NOTYETUSER_GREETING","Добро пожаловать"); +define("_SMALLWORLD_NOTYETUSER_BOXTEXT","Для того, чтобы использовать этот модуль, вы должны будете заполнить профиль дополнительной информацией. + <br><br>Нажмите ОК для продолжения регистрации или нажмите Отмена<br><br>чтобы вернуться в начало страницы."); +define("_SMALLWORLD_NOTYETREGISTERED_TITLE","Продолжить для завершения установки"); +define ("_SMALLWORLD_TEXTBEFORESUBMIT","Продолжить, чтобы сохранить информацию в базе данных. <br><br> После этого вы можете посетить свою страницу, <br> и страницы других пользователей <br><br> Спасибо за ваше время."); +define("_SMALLWORLD_FRIENDSINVITATIONS","Запросы на добавление в друзья"); +define("_SMALLWORLD_DATERECIEVED","Дата"); +define("_SMALLWORLD_ACCEPT","Принять"); +define("_SMALLWORLD_DENY","Запретить"); +define("_SMALLWORLD_LATER","Позже"); +define("_SMALLWORLD_ACTION","Действие"); +define("_SMALLWORLD_UPDATEID_NOT_EXIST","Сообщение не существует. Возврат."); + +/* ------------- Registerform ---------------------- */ + +define("_SMALLWORLD_REGRISTATION_TITLE","Профиль Smallworld"); +define("_SMALLWORLD_STEP1","Шаг 1 из 6"); +define("_SMALLWORLD_STEP2","Шаг 2 из 6"); +define("_SMALLWORLD_STEP3","Шаг 3 из 6"); +define("_SMALLWORLD_STEP4","Шаг 4 из 6"); +define("_SMALLWORLD_STEP5","Шаг 5 из 6"); +define("_SMALLWORLD_STEP6","Конец"); +define ("_SMALLWORLD_BELIEFS","Договоренности"); +define("_SMALLWORLD_FAVOURITETHINGS","Любимые вещи"); +define("_SMALLWORLD_FAVOURITEBOOKS","Любимые книги"); +define("_SMALLWORLD_FAVOURITEMOVIE","Любимые фильмы"); +define("_SMALLWORLD_FAVOURITETVSHOW","Любимые ТВ-передачи"); +define("_SMALLWORLD_FAVOURITEINTERESTS","Интересы"); +define("_SMALLWORLD_INTERESTS_DESC","Интересы, личные данные и контакты"); +define("_SMALLWORLD_CONTACTS","Контактная информация"); +define("_SMALLWORLD_EMAIL","Email(ы)"); +define("_SMALLWORLD_SCREENNAMES","Имена(ы)"); +define("_SMALLWORLD_PHONE","Телефон"); +define("_SMALLWORLD_GSM","Мобильный"); +define("_SMALLWORLD_ISSINGLE","В настоящее время один"); +define("_SMALLWORLD_INRELATIONSHIP","в связи с"); +define("_SMALLWORLD_ISMARRIED",""); +define("_SMALLWORLD_ISENGAGED","с"); +define("_SMALLWORLD_ISCOMPLICATED","скрывает, когда дело доходит до личных отношений с"); +define("_SMALLWORLD_OPENRELATIONSHIP","открыт для отношений с"); +define("_SMALLWORLD_ADDITIONALINFO","ДОПОЛНИТЕЛЬНАЯ информация о"); +define("_SMALLWORLD_HIS","Его"); +define("_SMALLWORLD_HER","ее"); +define("_SMALLWORLD_HISHER","его/ее"); +define("_SMALLWORLD_POLITICWORD","политика"); +define("_SMALLWORLD_RELIGIONWORD","религия"); +define("_SMALLWORLD_IS","есть"); +define("_SMALLWORLD_ADDSOMEINFO","Добавить или редактировать"); +define("_SMALLWORLD_CHOOSE","Выбрать"); +define("_SMALLWORLD_WOMAN","Женщина"); +define("_SMALLWORLD_MAN","Мужчина"); +define("_SMALLWORLD_BOTH","Оба"); +define("_SMALLWORLD_NONE","Нет"); +define("_SMALLWORLD_MARRIED","Женат"); +define("_SMALLWORLD_ENGAGED","Занят"); +define("_SMALLWORLD_SINGLE","Один"); +define("_SMALLWORLD_RELATIONSHIP","В отношениях"); +define("_SMALLWORLD_RELATIONSHIP_OPEN","В открытых отношениях"); +define("_SMALLWORLD_ITSCOMP","Сложно"); +define("_SMALLWORLD_FRIENDSHIP","Дружба"); +define("_SMALLWORLD_DATING","Свидания"); +define("_SMALLWORLD_ARELATIONSHIP","Отношения"); +define("_SMALLWORLD_HANKYPANKY","Шуры-муры"); +define("_SMALLWORLD_PVLIBERAL","Крайне левый"); +define("_SMALLWORLD_PLIBERAL","Либеральный"); +define("_SMALLWORLD_PMODERATE","Умеренный"); +define("_SMALLWORLD_PCONSERVATIVE","Консервативный"); +define("_SMALLWORLD_PVCONSERVATIVE","Очень консервативный"); +define("_SMALLWORLD_PLIBERTARIAN","Крайне правый"); +define("_SMALLWORLD_POTHER","другое"); +define("_SMALLWORLD_RCHRISTIANITY","Христианство"); +define("_SMALLWORLD_RISLAM","Ислам"); +define("_SMALLWORLD_RSECULAR","Светский / Нерелигиозный / Агностик / Атеист"); +define("_SMALLWORLD_RHINDUISM","Индуизм"); +define("_SMALLWORLD_RCHINESETRAD","Китайская традиционная религия"); +define("_SMALLWORLD_RBUDDHISM","Буддизм"); +define("_SMALLWORLD_RPRIMALIND","Прямая и коренная"); +define("_SMALLWORLD_RAFRICANTRAD","Традиционные африканские диаспоры"); +define("_SMALLWORLD_RSIKHISM","Сикхизм"); +define("_SMALLWORLD_RJUCHE","Чучхе"); +define("_SMALLWORLD_RSPIRITISM","Спиритизм"); +define("_SMALLWORLD_RJUDAISM","Иудаизм"); +define("_SMALLWORLD_RBAHAI","Бахаи"); +define("_SMALLWORLD_RJAINISM","Джайнизм"); +define("_SMALLWORLD_RSHINTO","Синто"); +define("_SMALLWORLD_RCAODAI","Као Дай"); +define("_SMALLWORLD_RZOROASRIANISM","Зороастризм"); +define("_SMALLWORLD_RTENRIKYO","Tenrikyo"); +define("_SMALLWORLD_RNEOPAGANISM","Нео-язычества"); +define("_SMALLWORLD_RUNITARIANUNIVERSALISM","Унитарная-Универсализм"); +define("_SMALLWORLD_RRASTA","Растафари"); +define("_SMALLWORLD_RSCIENTOLOGY","Саентология"); +define("_SMALLWORLD_ANCIENTALIENTHEORIST","Древние чужеродные, теоретик"); +define("_SMALLWORLD_ROTHER","Другое"); +define("_SMALLWORLD_SUBMIT","Сохранить"); +define("_SMALLWORLD_EMAILADRESSES","E-mail адрес(а)"); + +// dropdown screen names +define("_SMALLWORLD_SCREENNAME_AIM","MSN (uname) "); +define("_SMALLWORLD_SCREENNAME_FACEBOOK","Facebook (uname) "); +define("_SMALLWORLD_SCREENNAME_GOOGLE","Google+ (id) "); +define("_SMALLWORLD_SCREENNAME_ICQ","ICQ (id number)"); +define("_SMALLWORLD_SCREENNAME_SKYPE","Skype (uname) "); +define("_SMALLWORLD_SCREENNAME_TWITTER","Twitter (uname) "); +define("_SMALLWORLD_SCREENNAME_MYSPACE","MySpace (uname) "); +define("_SMALLWORLD_SCREENNAME_XOOPS","Xoops (uid) "); +define("_SMALLWORLD_SCREENNAME_YAHOO","Yahoo (yahoo id) "); +define("_SMALLWORLD_SCREENNAME_YOUTUBE","Youtube (uname) "); +define("_SMALLWORLD_ADDMORE","Добавить еще"); +define("_SMALLWORLD_REMOVE","Удалить"); + +/*------------ Schools ----------*/ + +define("_SMALLWORLD_KINDERGARDEN","детский сад"); +define("_SMALLWORLD_NURSERY","питомник"); +define("_SMALLWORLD_ELEMSCHOOL","начальная школа"); +define("_SMALLWORLD_GRADUATESCHOOL","аспирантура"); +define("_SMALLWORLD_HIGHSCHOOL","средняя школа"); +define("_SMALLWORLD_JUNIORHIGH","джунгли"); +define("_SMALLWORLD_JUNIORCOLLEGE","волчья стая"); +define("_SMALLWORLD_COLLEGE","колледж"); +define("_SMALLWORLD_TECNICAL","техникум"); +define("_SMALLWORLD_UNIVERSITY","университет"); +define("_SMALLWORLD_SCHOOLNAME","имя школы"); +define("_SMALLWORLD_SCHOOLTYPE","тип школы"); +define("_SMALLWORLD_START","Год начала"); +define("_SMALLWORLD_STOP","Год завершения"); +define("_SMALLWORLD_MUSIC","Любимая музыка"); +define("_SMALLWORLD_TVSHOW","Любимые ТВ-шоу"); +define("_SMALLWORLD_MOVIE","Любимое кино"); +define("_SMALLWORLD_BOOKS","Любимые книги"); +define("_SMALLWORLD_EMPLOYER","Работодатель"); +define("_SMALLWORLD_POSITION","Описание позиции"); +define("_SMALLWORLD_DESCRIPTION","Описание работы"); +define("_SMALLWORLD_JOBSTART","Начал"); +define("_SMALLWORLD_JOBSTOP","Закончил"); +define("_SMALLWORLD_NOACCOUNT","У вас нет аккаунта. Или в вашем профиле не хватает информации."); +define("_SMALLWORLD_REGXOOPS","Нажмите здесь, чтобы зарегистрироваться"); +define("_SMALLWORLD_REGSMALLWORLD","Нажмите здесь, чтобы изменить / создать профиль"); +define("_SMALLWORLD_WORKFULL_TITLE","Все места работы"); +define("_SMALLWORLD_SCHOOLFULL_TITLE","Все образовательные учереждения"); +define("_SMALLWORLD_INTERESTS_TITLE","Интересы и контакты"); +define("_SMALLWORLD_MORE","..больше"); + +/*-------------- Upload form --------------------*/ +define('_SMALLWORLD_UPLOAD_HOWTO','Все картинки вашего альбома показаны здесь, и вы можете использовать это средство для загрузки.<br><br>Нажмите на зеленую, чтобы загрузить файл(ы), выберите ваши картинки и загрузите с помощью:<br>1) Один за одним, используя <img src="images/icon_start.png" style="display: inline-block;height:13px;"/> иконку.<br>2) Выберите несколько или Перетащите* файлы на зеленую область загрузки (* в настоящий момент не работает в IE) и нажмите Начать все<br><br>Примечание: Если вы выберите тип файла, отличный от картинок, скрипт завершит работу. Размер картинки - 5 мегабайт максимум.<br><br>'); +define('_SMALLWORLD_UPLOADTITLE','Заголовок картинки'); +define('_SMALLWORLD_UPLOADDESC','Описание картинки'); +define('_SMALLWORLD_UPLOAD_TITLE','Загрузить картинки в ваш альбом'); +define('_SMALLWORLD_UPLOADTEXT','Начать загрузку'); +define('_SMALLWORLD_UPLOADFILESTEXT','Выбрать картинку(и)'); +define('_SMALLWORLD_IMGDESCRIPTION','Описание'); +define('_SMALLWORLD_IMGTITLE','Заголовок фото'); +define('_SMALLWORLD_IMAGE_EDIT_TITLE','Отредактируйте описание, где необходимо.'); +define("_SMALLWORLD_WELCOME_TITLE","Добро пожаловать"); +define("_SMALLWORLD_WELCOMETEXT",", приветствую. Надеюсь, вам тут будет приятно остаться."); +define("_SMALLWORLD_UPLOADEDSOMEIMAGES"," загрузил несколько фото <br/> Нажмите на картинку, чтобы посмотреть в оригинальном размере, или этот линк<br/>чтобы открыть галлерею."); +define("_SMALLWORLD_IMAGES_START","Запустить"); +define("_SMALLWORLD_IMAGES_CANCEL","Отменить"); +define("_SMALLWORLD_IMAGES_DELETE","Удалить"); +define("_SMALLWORLD_IMAGES_STARTALL","Показать все"); +define("_SMALLWORLD_IMAGES_CANCELALL","Отменить все"); +define("_SMALLWORLD_IMAGES_DELETEALL","Удалить все"); + +/*-------------- Image gallery -------------*/ +define("_SMALLWORLD_ALBUMTITLETEXT","Закрыть альбом"); +define("_SMALLWORLD_TITLEHEADER","Фото альбом"); +define("_SMALLWORLD_NOIMAGES"," еще нет фото"); +define("_SMALLWORLD_GOTOUPLOADIMAGE"," Загрузить или удалить фото"); +define("_SMALLWORLD_EDITDESCRIPTION","Редактировать описание"); +define("_SMALLWORLD_NOTFRIENDNOIMAGES","Вы можете просматривать альбомы друзей только !"); +define("_SMALLWORLD_GALLERY_DOWNLOADORIGINAL","Скачать оригинал"); +define("_SMALLWORLD_GALLEY_NEXTPAGE","Следущее"); +define("_SMALLWORLD_GALLEY_PREVIOUSPAGE","Предыдущее"); + + +/*-------------- Search ----------------*/ +define("_SMALLWORLD_SEARCHMEMBER","Поиск по имени пользователя или реальному имени"); + +/*---------------- Messages (jSon, alerts) -------------------*/ +define("_SMALLWORLD_FRIENDSHIPFOLLOW","Следует "); +define("_SMALLWORLD_FRIENDSHIPREQUESTS","Отношение: "); +define("_SMALLWORLD_JSON_ADDFRIEND","Запрос был послан "); +define("_SMALLWORLD_JSON_CANCEL_ADDFRIEND","Вы отменили запрос "); +define("_SMALLWORLD_JSON_DELETE_FRIEND_START","Вы удалили "); +define("_SMALLWORLD_JSON_DELETE_FRIEND_END"," как друг"); +define("_SMALLWORLD_JSON_REQUEST_PENDING","<br><br>Запрос в друзья ждет решения"); + +define ("_SMALLWORLD_JSON_FOLLOWINGFRIEND","Вы сейчас следуете за: "); +define ("_SMALLWORLD_JSON_FOLLOWINGFRIEND_DESC","<br><br>Любые сообщения, он / она напишет в своей ленте появится и в вашей ленте."); +define ("_SMALLWORLD_JSON_UNFOLLOWINGFRIEND","Вы больше не следуете: "); +define ("_SMALLWORLD_JSON_UNFOLLOWINGFRIEND_DESC","<br><br>Его / ее сообщения больше не будут появляться в вашей ленте."); + +define("_SMALLWORLD_JSON_ADDFR_TEXT","Добавить как друга"); +define("_SMALLWORLD_JSON_CANCELFR_TEXT","Отменить запрос на добавление в друзья"); +define("_SMALLWORLD_JSON_REMOVEFR_TEXT","Удалить друга"); + +define("_SMALLWORLD_JSON_FLYES_TEXT","Следовать"); +define("_SMALLWORLD_JSON_FLNO_TEXT","Отказаться от следования"); + +define("_SMALLWORLD_JS_ALREADYVOTED","Вы уже голосовали!"); +define("_SMALLWORLD_JS_COMPLAINTSENT","Ваша жалоба была направлена Модератору"); +define("_SMALLWORLD_JS_COMPLAINT_ALREADY_SENT","Вы уже подали жалобу на это сообщение!"); + +/*----------- Indexpage menu --------------*/ +define("_SMALLWORLD_HOME","В начало"); +define("_SMALLWORLD_PROFILEINDEX","Профиль"); +define("_SMALLWORLD_FRIENDSPAGE","Друзья"); +define("_SMALLWORLD_GALLERY","Фотки"); +define("_SMALLWORLD_CHANGEAVATAR","Сменить аватар"); +define("_SMALLWORLD_EDITPROFILE","Профиль"); +define("_SMALLWORLD_STATS","Статистика"); +define("_SMALLWORLD_INFO","О.."); +define("_SMALLWORLD_XIMUSER","IM к "); +/*----------- Wall -----------------------*/ +define("_SMALLWORLD_WHATSUP","Что стряслось"); +define("_SMALLWORLD_DELUPD","Удалить обновление"); +define("_SMALLWORLD_COMMENTWALL","Комментарий "); +define("_SMALLWORLD_DELETECOMMENT","Удалить комментарий"); +define("_SMALLWORLD_SECONDSAGO"," секунд назад"); +define("_SMALLWORLD_ONEMINUTEAGO","1 минуту назад"); +define("_SMALLWORLD_MINUTESAGO"," минут назад"); +define("_SMALLWORLD_ONEHOURAGO","1 час назад"); +define("_SMALLWORLD_HOURSAGO"," часов назад"); +define("_SMALLWORLD_ONEDAYAGO","1 день назад"); +define("_SMALLWORLD_DAYSAGO"," дней назад"); +define("_SMALLWORLD_ONEWEEKAGO","1 неделю назад"); +define("_SMALLWORLD_WEEKSAGO"," недели назад"); +define("_SMALLWORLD_ONEMONTHAGO","1 месяц назад"); +define("_SMALLWORLD_MONTHSAGO"," месяцев назад"); +define("_SMALLWORLD_ONEYEARAGO","1 год назад"); +define("_SMALLWORLD_YEARSAGO"," лет спустя"); +define("_SMALLWORLD_CLICKIMAGETHUMB","<br/><br/>Нажмите здесь для просмотра в оригинальном размере"); + +/*-------------------- Friends page ---------------*/ +define("_SMALLWORLD_FRIENDPAGE","Друзья"); +define("_SMALLWORLD_PENDINGUSERS"," ожидаются запросы от следующих пользователей"); +define("_SMALLWORLD_ALREADYFRIENDS"," друзья"); +define("_SMALLWORLD_YOUFOLLOW"," следует за этими пользователями"); +define("_SMALLWORLD_FOLLOWINGYOU","Эти пользователели следуют за "); +define("_SMALLWORLD_NOUSERS","Нет пользователей в этой категории"); + +/*--------------- mail texts ----------------------*/ +define("_SMALLWORLD_MAIL_REGISTERSUBJECT","Новый зарегистрированный пользователь тут "); +define("_SMALLWORLD_MAIL_COMPLAINTSUBJECT","Жалоба поступила тут "); +define("_SMALLWORLD_MAIL_NEWAVATARSUBJECT","Новый аватар загружен тут "); +define("_SMALLWORLD_MAIL_NEWCOMMENT","Новый коммент на ваше сообщение здесь "); +define("_SMALLWORLD_SEEANDREPLYHERE","Посмотреть и ответить на коммент тут"); +define("_SMALLWORLD_GOTOSMALLWORLDHERE","Перейти на smallworld заглавную страницу, тут "); + +define("_SMALLWORLD_MAIL_COMPLAINT","Жалоба на предупреждение"); +define("_SMALLWORLD_COMP_MSG_LNK_DESC","Нажмите здесь, чтобы посмотреть затронутое сообщение"); +define("_SMALLWORLD_MAIL_NEWFRIENDFOLLOWER", "Новый запрос в друзья или новый пользователь следует за вами"); + +/* ------------ Inspection & countdown ---------------- */ +define("_SMALLWORLD_INSPEC_DESC","Администратор закрыл этот аккаунт для проверки.<br/><br/>Ожидаемое время инспекции закончиться в"); +define("_SMALLWORLD_INSPEC_DESC2","Попробуйте еще раз в другое время."); +define("_SMALLWORLD_BDAY_TODAY","Сегодня"); +define("_SMALLWORLD_BDAY_ISIN","День рождения: "); +define("_SMALLWORLD_BDAY_YEARS","лет"); + +/* ------------ Social networks bookmarks ---------------- */ +define("_SMALLWORLD_SHARELINK","Переслать"); +define("_SMALLWORLD_SHAREBOX_TITLE","Переслать / сохранить"); +define("_SMALLWORLD_UPDATEONSITEMETA"," обновлено - "); +define("_SMALLWORLD_BOOKMARK_NOPERM_MESSAGE","Неправильная закладка. Нет разрешения для пересылки!<br><br>Пожалуйста, создайте профиль на smallworld<br><br><a href='register.php'>Регистрация здесь</a>"); + +/* ------------- Statistics and about ------------------- */ +define("_SMALLWORLD_STATS_NEWESTUSERS","Новые пользователи"); +define("_SMALLWORLD_STATS_MOSTACTUSERS","Наиболее активные пользователи"); +define("_SMALLWORLD_STATS_BESTRATEDUSERS","Лучшие пользователи"); +define("_SMALLWORLD_STATS_WORSTRATEDUSERS","Худшие по рейтингу пользователи"); +define("_SMALLWORLD_STATS_NOBDAYSTODAY","Сегодня д/р нет"); +define("_SMALLWORLD_STATS_BDAYSTODAY","Сегодня отмечают день рождения"); +define("_SMALLWORLD_STATS_LIKETHISMODULE","Как вам этот модуль?"); + +/* ----------------- donate link -------------- */ +define("_SMALLWORLD_DONATETEXT"," Пожертвования на кофе здесь "); +?> Added: XoopsModules/smallworld/trunk/smallworld/language/russian/modinfo.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/language/russian/modinfo.php (rev 0) +++ XoopsModules/smallworld/trunk/smallworld/language/russian/modinfo.php 2012-05-05 02:42:04 UTC (rev 9435) @@ -0,0 +1,93 @@ +<?php +/** +* You may not change or alter any portion of this comment or credits +* of supporting developers from this source code or any supporting +* source code which is considered copyrighted (c) material of the +* original comment or credit authors. +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +* +* @copyright: The XOOPS Project http://sourceforge.net/projects/xoops/ +* @license: http://www.fsf.org/copyleft/gpl.html GNU public license +* @packet: Modules +* @sub-packet: Smallworld +* @since: Xoops 2.5.4 +* @Author: Michael Albertsen (http://culex.dk) <cu...@cu...> +* @copyright: 2011 Culex +* @Last committed: $Revision: 8904 $ +* @Last changed by: $Author: djculex $ +* @Last changed date: $Date: 2012-02-07 22:12:44 +0100 (ti, 07 feb 2012) $ +* @ID: $Id: modinfo.php 8904 2012-02-07 21:12:44Z djculex $ +**/ + +define("_MI_SMALLWORLD_MODULE_NAME","Smallworld"); +define ("_MI_SMALLWORLD_MODULE_DESC","Модуль социальных сетей. Со стеной и профилями."); +define('_MI_SMALLWORLD_ADMENU','Администрирование'); +define('_MI_SMALLWORLDMENU_INDEX','Главная'); +define('_MI_SMALLWORLDMENU_STATS','Статистика'); +define('_MI_SMALLWORLDMENU_USERADMIN','Управление пользователями'); +define('_MI_SMALLWORLDMENU_HELP','Помощь'); +define('_MI_SMALLWORLDMENU_ABOUT','О модуле'); + +/* -------- Configs ---------- */ + +// Map apis +define("_MI_SMALLWORLD_USEGOOGLE","Использование Google Maps Geolocation API"); +define("_MI_SMALLWORLD_USEGOOGLE_DESC","По умолчанию база данных GeoNames. Выберите Да, чтобы использовать Google Maps."); + +// Messages per page +define("_MI_SMALLWORLD_MSGTOSHOW","Количество сообщений"); +define("_MI_SMALLWORLD_MSGTOSHOW_DESC","Сколько сообщений (обновлениий) показать с самого начала в профиле и индексной странице."); + +// Use validation +define("_MI_SMALLWORLD_VALIDATIONSTRENGHT","Проверка шагов"); +define("_MI_SMALLWORLD_VALIDATIONSTRENGHT_DESC","Использовать проверку полей при регистрации и редактировании профиля. :<br><br>Опции: :<br><br> Нет: Нет проверки <br> Да: * Наиболее важные поля * должны быть проверены"); + +// Smallworld take-over user name links ? +define ("_MI_SMALLWORLD_TAKEOVERLINKS","Преобразование имени пользователя "); +define ("_MI_SMALLWORLD_TAKEOVERLINKS_DESC","Smallworld будет использовать небольшой JavaScript, чтобы изменить ссылки на USERPROFILE <br> взамен на userinfo.php<br><br> По умолчанию - нет."); + +define ("_MI_SMALLWORLD_USERSOWNMSGCOUNTS","Собственные сообщения пользователей подлежат проверке?"); +define ("_MI_SMALLWORLD_USERSOWNMSGCOUNTS_DESC","Каждые 10 секунд сообщения ваших последователей подсчитываются и результат будет показан, <br> если не 0. Если вы выберите Да, то показываются сообщение когда вы удаляете или добавляете собственное."); + +define ("_MI_SMALLWORLD_BOOKMARSAVATARS","Использование логотипа Smallworld в закладках"); +define ("_MI_SMALLWORLD_BOOKMARKSAVATARS_DESC","Когда сообщения являются публичными, и вы хотите поделиться ими в социальных сетях. Вы можете здесь описать как использовать логотип <br> Smallworld - как общее изображение или «нет» = размещение пользовательского аватара. <br><br> По умолчанию <br> 'да' = Smallworld логотип."); + +define ("_MI_SMALLWORLD_USEMAILNOTIFICATION","Использование почтовых уведомлений"); +define ("_MI_SMALLWORLD_USEMAILNOTIFICATION_DESC","Когда новый пользователь регистрируется, будет отправляться письмо администратору, или когда комментарий будет добавлен в сообщение, где пользователь учавствует в переписке, в почту высылается сообщение пользователю. По умолчанию <br> <br> 'да'"); + +// Select fields & Mandetory fields +define ('_MI_SMALLWORLD_VIEWFIELDS','Использование полей при регистрации и в профиле'); +define ('_MI_SMALLWORLD_VIEWFIELDS_DESC','Выберите поля для использования в регистрационной форме и в профиле. Control <br> + мышь для множественного выбора '); +define ('_MI_SMALLWORLD_VERIFYFIELDS','Производить проверку по полям при регистрации'); +define ('_MI_SMALLWORLD_VERIFYFIELDS_DESC','Выберите (*) обязательные поля регистрационной формы. Control <br> + мышь для множественного выбора'); + +define ('_MI_SMALLWORLD_REALNAME','Настоящее имя'); +define ('_MI_SMALLWORLD_GENDER','Пол'); +define ('_MI_SMALLWORLD_INTERESTEDIN','Заинтересован в '); +define ('_MI_SMALLWORLD_RELATIONSHIPSTATUS','статус отношений'); +define ('_MI_SMALLWORLD_PARTNER','Партнер'); +define ('_MI_SMALLWORLD_LOOKINGFOR','Ищу'); +define ('_MI_SMALLWORLD_BIRTHDAY','День рождения'); +define ('_MI_SMALLWORLD_BIRTHPLACE','Место рождения'); +define ('_MI_SMALLWORLD_POLITICALVIEWS','Политика'); +define ('_MI_SMALLWORLD_RELIGIOUSVIEWS','Религия'); +define ('_MI_SMALLWORLD_EMAILS','Адреса электронной почты'); +define ('_MI_SMALLWORLD_SCREENNAMES','другие имена'); +define ('_MI_SMALLWORLD_MOBILE','мобильный'); +define ('_MI_SMALLWORLD_LANDPHONE','телефон'); +define ('_MI_SMALLWORLD_STREETADRESS','адрес проживания'); +define ('_MI_SMALLWORLD_PRESENTCITY','текущий город проживания'); +define ('_MI_SMALLWORLD_COUNTRY','страна'); +define ('_MI_SMALLWORLD_WEBSITE','веб-сайт'); +define ('_MI_SMALLWORLD_INTERESTS','Интересы'); +define ('_MI_SMALLWORLD_FAVOURITEMUSIC','Любимая музыка'); +define ('_MI_SMALLWORLD_FAVOURITETVSHOWS','Любимые ТВ-шоу'); +define ('_MI_SMALLWORLD_FAVOURITEMOVIES','Любимые фильмы'); +define ('_MI_SMALLWORLD_FAVOURITEBOOKS','Любимые книги'); +define ('_MI_SMALLWORLD_ABOUTME','Обо мне'); +define ('_MI_SMALLWORLD_EDUCATION','Оброзование'); +define ('_MI_SMALLWORLD_EMPLOYMENT','Работа'); + +?> \ No newline at end of file Modified: XoopsModules/smallworld/trunk/smallworld/register.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/register.php 2012-05-04 17:09:44 UTC (rev 9434) +++ XoopsModules/smallworld/trunk/smallworld/register.php 2012-05-05 02:42:04 UTC (rev 9435) @@ -31,14 +31,13 @@ $id = $xoopsUser->getVar('uid'); $check = new SmallWorldUser; $profile = $check->CheckIfProfile($id); - + // Check if inspected userid -> redirect to userprofile and show admin countdown - /* + $inspect = Smallworld_isInspected ($id); if ($inspect['inspect'] == 'yes') { redirect_header("userprofile.php?username=".$xoopsUser->getVar('uname'), 1); } - */ if ($profile >= 1) { // Create basic user in db & redirect to editProfile.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ... [truncated message content] |
From: <txm...@us...> - 2012-05-04 17:09:52
|
Revision: 9434 http://xoops.svn.sourceforge.net/xoops/?rev=9434&view=rev Author: txmodxoops Date: 2012-05-04 17:09:44 +0000 (Fri, 04 May 2012) Log Message: ----------- Updated Fixed small bugs Possibilities to create pdf files in uploads/xpdf/files directory Test Modified Paths: -------------- XoopsModules/xpdf/trunk/modules/xpdf/admin/categories.php XoopsModules/xpdf/trunk/modules/xpdf/admin/documents.php XoopsModules/xpdf/trunk/modules/xpdf/class/xpdf_doc.php XoopsModules/xpdf/trunk/modules/xpdf/css/style.css XoopsModules/xpdf/trunk/modules/xpdf/include/functions.php XoopsModules/xpdf/trunk/modules/xpdf/index.php XoopsModules/xpdf/trunk/modules/xpdf/language/english/admin.php XoopsModules/xpdf/trunk/modules/xpdf/language/english/main.php XoopsModules/xpdf/trunk/modules/xpdf/templates/xpdf_index.html XoopsModules/xpdf/trunk/modules/xpdf/viewdoc.php XoopsModules/xpdf/trunk/modules/xpdf/xoops_version.php Added Paths: ----------- XoopsModules/xpdf/trunk/modules/xpdf/images/16/create_pdf.png Modified: XoopsModules/xpdf/trunk/modules/xpdf/admin/categories.php =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/admin/categories.php 2012-05-03 17:42:04 UTC (rev 9433) +++ XoopsModules/xpdf/trunk/modules/xpdf/admin/categories.php 2012-05-04 17:09:44 UTC (rev 9434) @@ -41,8 +41,8 @@ echo $catAdmin->renderButton(); $limit = $GLOBALS['xoopsModuleConfig']['adminperpage']; $criteria = new CriteriaCompo(); - $criteria->setSort("cat_weight DESC, cat_title"); - $criteria->setOrder("DESC"); + $criteria->setSort("cat_id ASC, cat_title"); + $criteria->setOrder("ASC"); $numrows = $catHandler->getCount(); $start = xpdf_CleanVars ( $_REQUEST, 'start', 0, 'int' ); $criteria->setStart($start); @@ -117,15 +117,15 @@ redirect_header("categories.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); } if (isset($_REQUEST["cat_id"])) { - $obj =& $catHandler->get($_REQUEST["cat_id"]); + $obj =& $catHandler->get($_GET["cat_id"]); } else { $obj =& $catHandler->create(); } //Form cat_pid - $obj->setVar("cat_pid", $_REQUEST["cat_pid"]); + $obj->setVar("cat_pid", $_POST["cat_pid"]); //Form cat_title - $obj->setVar("cat_title", $_REQUEST["cat_title"]); + $obj->setVar("cat_title", $_POST["cat_title"]); //Form cat_image include_once XOOPS_ROOT_PATH."/class/uploader.php"; $uploader = new XoopsMediaUploader(XPDF_UPLOAD_CAT_PATH."/", $GLOBALS['xoopsModuleConfig']['mimetypes'], @@ -140,12 +140,12 @@ $obj->setVar("cat_image", $uploader->getSavedFileName()); } } else { - $obj->setVar("cat_image", $_REQUEST["cat_image"]); + $obj->setVar("cat_image", $_POST["cat_image"]); } //Form cat_description - $obj->setVar("cat_description", $_REQUEST["cat_description"]); + $obj->setVar("cat_description", $_POST["cat_description"]); //Form cat_weight - $obj->setVar("cat_weight", $_REQUEST["cat_weight"]); + $obj->setVar("cat_weight", $_POST["cat_weight"]); if ($catHandler->insert($obj)) { redirect_header("categories.php?op=list", 2, _AM_XPDF_FORMOK); @@ -161,13 +161,13 @@ $catAdmin->addItemButton(_AM_XPDF_NEWCAT, 'categories.php?op=new_cat', 'add'); $catAdmin->addItemButton(_AM_XPDF_CATLIST, 'categories.php?op=list', 'list'); echo $catAdmin->renderButton(); - $obj = $catHandler->get($_REQUEST["cat_id"]); + $obj = $catHandler->get($_GET["cat_id"]); $form = $obj->getForm(); echo $form->display(); break; case "delete_cat": - $obj =& $catHandler->get($_REQUEST["cat_id"]); + $obj =& $catHandler->get($_GET["cat_id"]); if (isset($_REQUEST["ok"]) && $_REQUEST["ok"] == 1) { if ( !$GLOBALS["xoopsSecurity"]->check() ) { redirect_header("categories.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); Modified: XoopsModules/xpdf/trunk/modules/xpdf/admin/documents.php =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/admin/documents.php 2012-05-03 17:42:04 UTC (rev 9433) +++ XoopsModules/xpdf/trunk/modules/xpdf/admin/documents.php 2012-05-04 17:09:44 UTC (rev 9434) @@ -47,7 +47,7 @@ redirect_header('categories.php?op=new_cat', 2, _AM_XPDF_REDIRECT_NOCAT ); } $criteria = new CriteriaCompo(); - $criteria->setSort("doc_weight ASC, doc_title"); + $criteria->setSort("doc_id ASC, doc_title"); $criteria->setOrder("ASC"); $numrows = $docHandler->getCount(); $start = xpdf_CleanVars ( $_REQUEST, 'start', 0, 'int' ); @@ -77,7 +77,7 @@ <th class='center'>"._AM_XPDF_DOC_STATUS."</th> <th class='center'>"._AM_XPDF_DOC_WEIGHT."</th> <th class='center'>"._AM_XPDF_DOC_ONLINE."</th> - <th class='center width5'>"._AM_XPDF_FORMACTION."</th> + <th class='center width8'>"._AM_XPDF_FORMACTION."</th> </tr>"; $class = "odd"; @@ -104,14 +104,15 @@ 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_id=".$i."&doc_online=0'><img src=".$pathImageIcon."/on.png border='0' alt='"._AM_XPDF_ONLINE."' title='"._AM_XPDF_ONLINE."'></a></td>"; + echo "<td class='center'><a href='./documents.php?op=update_online&doc_id=".$i."&doc_online=0'><img src='".$pathImageIcon."/on.png' border='0' alt='"._AM_XPDF_ONLINE."' title='"._AM_XPDF_ONLINE."'></a></td>"; } else { - echo "<td class='center'><a href='./documents.php?op=update_online&doc_id=".$i."&doc_online=1'><img src=".$pathImageIcon."/off.png border='0' alt='"._AM_XPDF_OFFLINE."' title='"._AM_XPDF_OFFLINE."'></a></td>"; + echo "<td class='center'><a href='./documents.php?op=update_online&doc_id=".$i."&doc_online=1'><img src='".$pathImageIcon."/off.png' border='0' alt='"._AM_XPDF_OFFLINE."' title='"._AM_XPDF_OFFLINE."'></a></td>"; } - echo "<td class='center width5'> - <a href='documents.php?op=edit_doc&doc_id=".$i."'><img src=".$pathImageIcon."/edit.png alt='"._EDIT."' title='"._EDIT."'></a> - <a href='documents.php?op=delete_doc&doc_id=".$i."'><img src=".$pathImageIcon."/delete.png alt='"._DELETE."' title='"._DELETE."'></a> + echo "<td class='center width8'> + <a href='documents.php?op=create_pdf_file&doc_id=".$i."'><img src='../images/16/create_pdf.png' alt='"._AM_XPDF_CREATEPDF."' title='"._AM_XPDF_CREATEPDF."'></a> + <a href='documents.php?op=edit_doc&doc_id=".$i."'><img src='".$pathImageIcon."/edit.png' alt='"._EDIT."' title='"._EDIT."'></a> + <a href='documents.php?op=delete_doc&doc_id=".$i."'><img src='".$pathImageIcon."/delete.png' alt='"._DELETE."' title='"._DELETE."'></a> </td>"; echo "</tr>"; } @@ -151,21 +152,21 @@ redirect_header("documents.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); } if (isset($_REQUEST["doc_id"])) { - $obj =& $docHandler->get($_REQUEST["doc_id"]); + $obj =& $docHandler->get($_GET["doc_id"]); } else { $obj =& $docHandler->create(); } //Form doc_cid - $obj->setVar("doc_cid", $_REQUEST["doc_cid"]); - //Form doc_filename - $obj->setVar("doc_filename", $_REQUEST["doc_filename"]); + $obj->setVar("doc_cid", $_POST["doc_cid"]); + //Form doc_filename + $obj->setVar("doc_filename", $_POST["doc_filename"]); //Form doc_title - $obj->setVar("doc_title", $_REQUEST["doc_title"]); + $obj->setVar("doc_title", $_POST["doc_title"]); //Form doc_slogan - $obj->setVar("doc_slogan", $_REQUEST["doc_slogan"]); + $obj->setVar("doc_slogan", $_POST["doc_slogan"]); //Form doc_pdftext - $obj->setVar("doc_pdftext", $_REQUEST["doc_pdftext"]); + $obj->setVar("doc_pdftext", $_POST["doc_pdftext"]); //Form doc_image include_once XOOPS_ROOT_PATH."/class/uploader.php"; $uploader = new XoopsMediaUploader(XPDF_UPLOAD_DOC_PATH."/", $GLOBALS['xoopsModuleConfig']['mimetypes'], @@ -180,22 +181,22 @@ $obj->setVar("doc_image", $uploader->getSavedFileName()); } } else { - $obj->setVar("doc_image", $_REQUEST["doc_image"]); + $obj->setVar("doc_image", $_POST["doc_image"]); } //Form doc_subject - $obj->setVar("doc_subject", $_REQUEST["doc_subject"]); + $obj->setVar("doc_subject", $_POST["doc_subject"]); //Form doc_fontname - $obj->setVar("doc_fontname", $_REQUEST["doc_fontname"]); + $obj->setVar("doc_fontname", $_POST["doc_fontname"]); //Form doc_fontsize - $obj->setVar("doc_fontsize", $_REQUEST["doc_fontsize"]); + $obj->setVar("doc_fontsize", $_POST["doc_fontsize"]); //Form doc_keywords - $obj->setVar("doc_keywords", $_REQUEST["doc_keywords"]); + $obj->setVar("doc_keywords", $_POST["doc_keywords"]); //Form doc_submitter - $obj->setVar("doc_submitter", $_REQUEST["doc_submitter"]); + $obj->setVar("doc_submitter", $_POST["doc_submitter"]); //Form doc_published - $obj->setVar("doc_published", xpdf_convertDate($_REQUEST["doc_published"])); + $obj->setVar("doc_published", xpdf_convertDate($_POST["doc_published"])); //Form doc_weight - $obj->setVar("doc_weight", $_REQUEST["doc_weight"]); + $obj->setVar("doc_weight", $_POST["doc_weight"]); //Form doc_status $verif_doc_status = ($_REQUEST["doc_status"] == 1) ? "1" : "0"; $obj->setVar("doc_status", $verif_doc_status); @@ -232,13 +233,13 @@ $docAdmin->addItemButton(_AM_XPDF_NEWDOC, 'documents.php?op=new_doc', 'add'); $docAdmin->addItemButton(_AM_XPDF_DOCLIST, 'documents.php?op=list', 'list'); echo $docAdmin->renderButton(); - $obj = $docHandler->get($_REQUEST["doc_id"]); + $obj = $docHandler->get($_GET["doc_id"]); $form = $obj->getForm(); echo $form->display(); break; case "delete_doc": - $obj =& $docHandler->get($_REQUEST["doc_id"]); + $obj =& $docHandler->get($_GET["doc_id"]); if (isset($_REQUEST["ok"]) && $_REQUEST["ok"] == 1) { if ( !$GLOBALS["xoopsSecurity"]->check() ) { redirect_header("documents.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); @@ -253,11 +254,23 @@ } break; + case "create_pdf_file": + if (isset($_GET["doc_id"])) { + $obj =& $docHandler->get($_GET["doc_id"]); + } + //$obj->setVar("doc_pdfcreated", $_POST["doc_pdfcreated"]); + echo $obj->getPdf('F'); + if ($docHandler->insert($obj)) { + redirect_header("documents.php", 3, _AM_XPDF_PDFFILECREATED); + } + echo $obj->getHtmlErrors(); + break; + case "update_online": - if (isset($_REQUEST["doc_id"])) { - $obj =& $docHandler->get($_REQUEST["doc_id"]); + if (isset($_GET["doc_id"])) { + $obj =& $docHandler->get($_GET["doc_id"]); } - $obj->setVar("doc_online", $_REQUEST["doc_online"]); + $obj->setVar("doc_online", $_POST["doc_online"]); if ($docHandler->insert($obj)) { redirect_header("documents.php", 3, _AM_XPDF_FORMOK); } Modified: XoopsModules/xpdf/trunk/modules/xpdf/class/xpdf_doc.php =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/class/xpdf_doc.php 2012-05-03 17:42:04 UTC (rev 9433) +++ XoopsModules/xpdf/trunk/modules/xpdf/class/xpdf_doc.php 2012-05-04 17:09:44 UTC (rev 9434) @@ -64,6 +64,35 @@ { $this->__construct(); } + + /** + * gets list of fonts folder from Frameworks/tcpdf/fonts directory + */ + function getFontList() + { + return self::getFontListAsArray(XOOPS_ROOT_PATH . '/Frameworks/tcpdf/fonts/'); + } + + /** + * 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; + } function getForm($action = false) { @@ -77,7 +106,7 @@ $form = new XoopsThemeForm($title, "form_doc", $action, "post", true); $form->setExtra('enctype="multipart/form-data"'); - $form->addElement(new XoopsFormText(_AM_XPDF_DOC_FILENAME, "doc_filename", 50, 255, $this->getVar("doc_filename")), true); + $form->addElement(new XoopsFormText(_AM_XPDF_DOC_FILENAME, "doc_filename", 50, 50, $this->getVar("doc_filename")), true); $form->addElement(new XoopsFormText(_AM_XPDF_DOC_TITLE, "doc_title", 50, 255, $this->getVar("doc_title")), true); $catHandler =& xoops_getModuleHandler("xpdf_cat", XPDF_DIRNAME); @@ -93,7 +122,7 @@ $font_tray = new XoopsFormElementTray(_FONT, ' '); $doc_fontname = $this->getVar('doc_fontname') ? $this->getVar('doc_fontname') : $GLOBALS['xoopsModuleConfig']['fontname']; $fontnameselect = new XoopsFormSelect(_AM_XPDF_DOC_FONTNAME, 'doc_fontname', $doc_fontname); - $fonts_array = XoopsLists::getFontList(); + $fonts_array = self::getFontList(); foreach( $fonts_array as $font ) { $fontnameselect->addOption("$font", $font); } Modified: XoopsModules/xpdf/trunk/modules/xpdf/css/style.css =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/css/style.css 2012-05-03 17:42:04 UTC (rev 9433) +++ XoopsModules/xpdf/trunk/modules/xpdf/css/style.css 2012-05-04 17:09:44 UTC (rev 9434) @@ -27,6 +27,7 @@ border-right: 1px solid #aaa; border-bottom: 1px solid #aaa; border-left: 1px solid #aaa; + vertical-align: top; } .xpdf-categoryPath { @@ -38,7 +39,7 @@ border-right: 1px solid #aaa; border-bottom: 1px solid #aaa; border-left: 1px solid #aaa; - vertical-align: middle; + vertical-align: top; } .xpdf-documents { @@ -69,8 +70,10 @@ border: 1px dotted #eee; } -.xpdf-subtitle { - font-size: 12px; +.xpdf-subCat { + font-size: 11px; + margin: 0 0 0 40px; + vertical-align: top; } .xpdf-image { @@ -121,9 +124,14 @@ .xpdf-itemTitle { font-size: 14px; - margin: 0 2px 0 2px; + margin: 0; padding: 2px; - border: 1px solid #ccc; + border-top: 1px; + border-right: 1px; + border-bottom: 0px; + border-left: 1px; + border-style: solid; + border-color: #000; } .xpdf-itemBody { @@ -132,8 +140,13 @@ } div.xpdf-itemImage { - float: left; - border: 1px solid #eee; + float: left; + border-top: 1px; + border-right: 1px; + border-bottom: 1px; + border-left: 0px; + border-style: solid; + border-color: #000; padding: 2px; } @@ -151,8 +164,13 @@ div.xpdf-itemText { float: right; - border: 1px solid #eee; - width: 74%; + border-top: 1px; + border-right: 0px; + border-bottom: 1px; + border-left: 1px; + border-style: solid; + border-color: #000; + width: 78%; /*margin: 0 0 0 148px;*/ padding: 5px; } Added: XoopsModules/xpdf/trunk/modules/xpdf/images/16/create_pdf.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xpdf/trunk/modules/xpdf/images/16/create_pdf.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: XoopsModules/xpdf/trunk/modules/xpdf/include/functions.php =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/include/functions.php 2012-05-03 17:42:04 UTC (rev 9433) +++ XoopsModules/xpdf/trunk/modules/xpdf/include/functions.php 2012-05-04 17:09:44 UTC (rev 9434) @@ -122,20 +122,21 @@ $img_path = XPDF_PATH . "/language/" . $language . "/"; $img_url = XPDF_URL . "/language/" . $language . "/"; $en_path = XPDF_URL . '/language/english'; + $img_shotwidth = $GLOBALS['xoopsModuleConfig']['shotwidth']; switch($status) { case 1: if ( is_readable( $img_path . 'new.png') ){ - $new = ' <img src="' . $img_url . 'new.png" alt="' . _MA_XPDF_INDEX_NEWTHISWEEK . '" title="' . _MA_XPDF_INDEX_NEWTHISWEEK . '"/>'; + $new = ' <img src="' . $img_url . 'new.png" width="'.$img_shotwidth.'" alt="' . _MA_XPDF_INDEX_NEWTHISWEEK . '" title="' . _MA_XPDF_INDEX_NEWTHISWEEK . '"/>'; }else{ - $new = ' <img src="' . $en_path . '/new.png" alt="' . _MA_XPDF_INDEX_NEWTHISWEEK . '" title="' . _MA_XPDF_INDEX_NEWTHISWEEK . '"/>'; + $new = ' <img src="' . $en_path . '/new.png" width="'.$img_shotwidth.'" alt="' . _MA_XPDF_INDEX_NEWTHISWEEK . '" title="' . _MA_XPDF_INDEX_NEWTHISWEEK . '"/>'; } break; case 2: if ( is_readable( $img_path . 'updated.png') ){ - $new = ' <img src="' . $img_url . 'updated.png" alt="' . _MA_XPDF_INDEX_UPTHISWEEK . '" title="' . _MA_XPDF_INDEX_UPTHISWEEK . '"/>'; + $new = ' <img src="' . $img_url . 'updated.png" width="'.$img_shotwidth.'" alt="' . _MA_XPDF_INDEX_UPTHISWEEK . '" title="' . _MA_XPDF_INDEX_UPTHISWEEK . '"/>'; }else{ - $new = ' <img src="' . $en_path . '/updated.png" alt="' . _MA_XPDF_INDEX_UPTHISWEEK . '" title="' . _MA_XPDF_INDEX_UPTHISWEEK . '"/>'; + $new = ' <img src="' . $en_path . '/updated.png" width="'.$img_shotwidth.'" alt="' . _MA_XPDF_INDEX_UPTHISWEEK . '" title="' . _MA_XPDF_INDEX_UPTHISWEEK . '"/>'; } break; } @@ -158,10 +159,11 @@ } $img_path = XPDF_PATH . "/language/" . $language . "/"; $img_url = XPDF_URL . "/language/" . $language . "/"; + $img_shotwidth = $GLOBALS['xoopsModuleConfig']['shotwidth']; if ( is_readable( $img_path . 'popular.png') ){ - $pop = ' <img src="' . $img_url . 'popular.png" alt="' . _MA_XPDF_INDEX_POPULAR . '" title="' . _MA_XPDF_INDEX_POPULAR . '"/>'; + $pop = ' <img src="' . $img_url . 'popular.png" width="'.$img_shotwidth.'" alt="' . _MA_XPDF_INDEX_POPULAR . '" title="' . _MA_XPDF_INDEX_POPULAR . '"/>'; }else{ - $pop = ' <img src ="' . XPDF_URL . '/language/english/popular.png" alt="' . _MA_XPDF_INDEX_POPULAR . '" title="' . _MA_XPDF_INDEX_POPULAR . '"/>'; + $pop = ' <img src ="' . XPDF_URL . '/language/english/popular.png" width="'.$img_shotwidth.'" alt="' . _MA_XPDF_INDEX_POPULAR . '" title="' . _MA_XPDF_INDEX_POPULAR . '"/>'; } } return $pop; @@ -244,7 +246,7 @@ } foreach (array_keys($category_parent) as $j) { if ($link == true) { - $Path .= '<a href="viewcat.php?cid=' . $category_parent[$j]->getVar('cat_cid') . '">' . $category_parent[$j]->getVar($title) . '</a>' . $prefix; + $Path .= '<a href="viewcat.php?cid=' . $category_parent[$j]->getVar('cat_id') . '">' . $category_parent[$j]->getVar($title) . '</a>' . $prefix; }else{ $Path .= $category_parent[$j]->getVar($title) . $prefix; } @@ -252,7 +254,7 @@ if ($order == 'ASC'){ if (array_key_exists($key, $category_array)){ if ($lasturl == true){ - $first_category = '<a href="viewcat.php?cid=' . $category_array[$key]->getVar('cat_cid') . '">' . $category_array[$key]->getVar($title) . '</a>'; + $first_category = '<a href="viewcat.php?cid=' . $category_array[$key]->getVar('cat_id') . '">' . $category_array[$key]->getVar($title) . '</a>'; }else{ $first_category = $category_array[$key]->getVar($title); } Modified: XoopsModules/xpdf/trunk/modules/xpdf/index.php =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/index.php 2012-05-03 17:42:04 UTC (rev 9433) +++ XoopsModules/xpdf/trunk/modules/xpdf/index.php 2012-05-04 17:09:44 UTC (rev 9434) @@ -69,13 +69,13 @@ //For keywords //$keywords .= $catArray[$i]->getVar('cat_title') . ','; foreach (array_keys($subcats_arr) as $j) { - if ($chcount >= $GLOBALS['xoopsModuleConfig']['nb_subscat']){ + if ($chcount >= $GLOBALS['xoopsModuleConfig']['nb_subcat']){ $subcats .= '<li>[<a href="'. XPDF_URL .'/viewcat.php?cid=' . $catArray[$i]->getVar('cat_id') . '">+</a>]</li>'; break; } - $subcategories .= '<li><a href="'. XPDF_URL .'/viewcat.php?cid=' . $subcats_arr[$j]->getVar('cat_id') . '">' . $subcats_arr[$j]->getVar('cat_title') . '</a></li>'; - $keywords .= $catArray[$i]->getVar('cat_title') . ','; - + $subcattitle = $subcats_arr[$j]->getVar('cat_title'); + $subcategories .= '<li><a href="'. XPDF_URL .'/viewcat.php?cid=' . $subcats_arr[$j]->getVar('cat_id') . '" title="' . $subcattitle . '">' . $subcattitle . '</a></li>'; + $keywords .= $catArray[$i]->getVar('cat_title') . ','; $chcount++; } $image = XPDF_UPLOAD_CAT_URL ."/". $catArray[$i]->getVar('cat_image'); Modified: XoopsModules/xpdf/trunk/modules/xpdf/language/english/admin.php =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/language/english/admin.php 2012-05-03 17:42:04 UTC (rev 9433) +++ XoopsModules/xpdf/trunk/modules/xpdf/language/english/admin.php 2012-05-04 17:09:44 UTC (rev 9434) @@ -47,8 +47,10 @@ define("_AM_XPDF_FORMACTION","Action"); define("_AM_XPDF_OFFLINE","Offline"); define("_AM_XPDF_ONLINE","Online"); -define("_AM_XPDF_CREATEPDF","Create PDF"); -define("_AM_XPDF_DELETEPDF","Delete PDF"); +define("_AM_XPDF_CREATEPDF","Create PDF File"); +define("_AM_XPDF_PDFFILECREATED","PDF File Created Succesfully"); +define("_AM_XPDF_DELETEPDF","Delete PDF File"); +define("_AM_XPDF_PDFFILEDELETED","PDF File Deleted Succesfully"); define("_AM_XPDF_CAT_ADD","Add a Category"); define("_AM_XPDF_CAT_EDIT","Edit Category"); Modified: XoopsModules/xpdf/trunk/modules/xpdf/language/english/main.php =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/language/english/main.php 2012-05-03 17:42:04 UTC (rev 9433) +++ XoopsModules/xpdf/trunk/modules/xpdf/language/english/main.php 2012-05-04 17:09:44 UTC (rev 9434) @@ -31,7 +31,6 @@ define("_MA_XPDF_CAT","Category"); define("_MA_XPDF_DOC","Document"); define("_MA_XPDF_RSS","Subscribe to this feed"); - // index.php define("_MA_XPDF_NODOC", "No documents in our database"); define("_MA_XPDF_INDEX_LATESTLIST", "Last on the list"); @@ -43,12 +42,11 @@ define("_MA_XPDF_INDEX_POPULAR","Popular"); define("_MA_XPDF_INDEX_NEWTHISWEEK","New this week"); define("_MA_XPDF_INDEX_UPTHISWEEK","Last this week"); - +define("_MA_XPDF_INDEX_SCAT","Subcategories"); // Item define("_MA_XPDF_MOREDETAILS","More details"); define("_MA_XPDF_INDEX_SUBMITTER","Submitter"); define("_MA_XPDF_INDEX_SUBMITDATE","Submit date"); - // viewcat.php: define("_MA_XPDF_CAT_CURSORTBY","Files currently sorted by : %s"); define("_MA_XPDF_CAT_LIST","Listed in this category"); Modified: XoopsModules/xpdf/trunk/modules/xpdf/templates/xpdf_index.html =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/templates/xpdf_index.html 2012-05-03 17:42:04 UTC (rev 9433) +++ XoopsModules/xpdf/trunk/modules/xpdf/templates/xpdf_index.html 2012-05-04 17:09:44 UTC (rev 9434) @@ -21,7 +21,7 @@ <div class="clear"></div> </div> <{if $category.subcategories != ""}> - <div class="xpdf-subtitle"><{$smarty.const._MA_XPDF_INDEX_SCAT}><ul><{$category.subcategories}></ul></div> + <div class="xpdf-subCat"><{$smarty.const._MA_XPDF_INDEX_SCAT}><ul><{$category.subcategories}></ul></div> <{/if}> </div> </td> Modified: XoopsModules/xpdf/trunk/modules/xpdf/viewdoc.php =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/viewdoc.php 2012-05-03 17:42:04 UTC (rev 9433) +++ XoopsModules/xpdf/trunk/modules/xpdf/viewdoc.php 2012-05-04 17:09:44 UTC (rev 9434) @@ -32,9 +32,27 @@ xoops_loadLanguage('main', XPDF_DIRNAME); // Verifications on the document $did = xpdf_CleanVars( $_REQUEST, 'did', 0, 'int' ); - $view_pdf = $docHandler->get($did); $doc_id = $view_pdf->getVar('doc_id'); +$url = ''; +$sql = 'UPDATE '.$GLOBALS['xoopsDB']->prefix( "xpdf_doc" ).' SET doc_hits=doc_hits+1 WHERE doc_id='.$doc_id; +$result = $GLOBALS['xoopsDB'] -> queryF( $sql ); + +list( $url ) = $GLOBALS['xoopsDB']->fetchRow( $result ); +$url = htmlSpecialChars( preg_replace( '/javascript:/si' , 'java script:', $url ), ENT_QUOTES ); + +if ( !empty( $url ) ) +{ + header( "Cache-Control: no-store, no-cache, must-revalidate" ); + header( "Cache-Control: post-check=0, pre-check=0", false ); + // HTTP/1.0 + header( "Pragma: no-cache" ); + // Date in the past + header( "Expires: Mon, 26 Jul 2097 05:00:00 GMT" ); + // always modified + header( "Last-Modified: " . gmdate( "D, d M Y H:i:s" ) . " GMT" ); + header( "Refresh: 0; url=$url" ); +} echo $view_pdf->getPdf(); ?> \ No newline at end of file Modified: XoopsModules/xpdf/trunk/modules/xpdf/xoops_version.php =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/xoops_version.php 2012-05-03 17:42:04 UTC (rev 9433) +++ XoopsModules/xpdf/trunk/modules/xpdf/xoops_version.php 2012-05-04 17:09:44 UTC (rev 9434) @@ -233,7 +233,7 @@ $modversion['config'][$i]['description'] = "_MI_XPDF_SHOTWIDTH_DESC"; $modversion['config'][$i]['formtype'] = "textbox"; $modversion['config'][$i]['valuetype'] = "int"; -$modversion['config'][$i]['default'] = 128; +$modversion['config'][$i]['default'] = 100; $i++; $modversion['config'][$i]['name'] = "img_float"; $modversion['config'][$i]['title'] = "_MI_XPDF_IMGFLOAT"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-05-03 20:25:28
|
Revision: 9433 http://xoops.svn.sourceforge.net/xoops/?rev=9433&view=rev Author: djculex Date: 2012-05-03 17:42:04 +0000 (Thu, 03 May 2012) Log Message: ----------- - Bugfix: Corrected image styling (Thx Yuri) - Bugfix: removed extra divs & closing correctly span (thx Yuri) - Bugfix: Checking for null values in jquery.oembed.js - Bugfix: Breaking jquery without adding jquery.coundown.js to core.php - Bugfix: Correcting how smallworld_getAvatarLink handles non-image values Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/class/adminclass.php XoopsModules/smallworld/trunk/smallworld/class/profile.php XoopsModules/smallworld/trunk/smallworld/include/functions.php XoopsModules/smallworld/trunk/smallworld/js/jquery.oembed.js XoopsModules/smallworld/trunk/smallworld/preloads/core.php XoopsModules/smallworld/trunk/smallworld/search.php XoopsModules/smallworld/trunk/smallworld/templates/smallworld_userprofile_template.html XoopsModules/smallworld/trunk/smallworld/xoops_version.php Modified: XoopsModules/smallworld/trunk/smallworld/class/adminclass.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/class/adminclass.php 2012-05-03 15:02:09 UTC (rev 9432) +++ XoopsModules/smallworld/trunk/smallworld/class/adminclass.php 2012-05-03 17:42:04 UTC (rev 9433) @@ -152,7 +152,7 @@ $i = 1; while ($row = $xoopsDB->fetchArray($result)) { $msg["counter"][$i] = $i; - $msg["img"][$i] = "<img style='margin:0px 5px;' src = '../images/".$i.".png'></img>"; + $msg["img"][$i] = "<img style='margin:0px 5px;' src = '../images/".$i.".png'/>"; if ($msg['counter'][$i] > 3) { $msg["img"][$i] = ''; } @@ -190,7 +190,7 @@ $i = 1; while ($row = $xoopsDB->fetchArray($result)) { $msgtoday["counter"][$i] = $i; - $msgtoday["img"][$i] = "<img style='margin:0px 5px;' src = '../images/".$i.".png'></img>"; + $msgtoday["img"][$i] = "<img style='margin:0px 5px;' src = '../images/".$i.".png'/>"; if ($msgtoday['counter'][$i] > 3) { $msgtoday["img"][$i] = ''; } @@ -224,7 +224,7 @@ while ($row = $xoopsDB->fetchArray($result)) { $array['counter'][$i] = $i; $array['img'][$i] = "<img height='10px' width='10px' " - . "style='margin:0px 5px;' src = '../images/like.png'></img>"; + . "style='margin:0px 5px;' src = '../images/like.png'/>"; if ($array['counter'][$i] > 3) { $array["img"][$i] = ''; } @@ -245,7 +245,7 @@ while ($row = $xoopsDB->fetchArray($result)) { $array['counter'][$i] = $i; $array['img'][$i] = "<img height='10px' width='10px' " - . "style='margin:0px 5px;' src = '../images/dislike.png'></img>"; + . "style='margin:0px 5px;' src = '../images/dislike.png'/>"; if ($array['counter'][$i] > 3) { $array["img"][$i] = ''; } Modified: XoopsModules/smallworld/trunk/smallworld/class/profile.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/class/profile.php 2012-05-03 15:02:09 UTC (rev 9432) +++ XoopsModules/smallworld/trunk/smallworld/class/profile.php 2012-05-03 17:42:04 UTC (rev 9433) @@ -66,12 +66,12 @@ $rank = $user->rank(); $rank_title = $rank['title']; if (isset($rank['image'])) { - $rank_image = "<img align='center' src='".XOOPS_UPLOAD_URL."/".$rank['image']."'></img>"; + $rank_image = "<img align='center' src='".XOOPS_UPLOAD_URL."/".$rank['image']."'/>"; } else { $rank_image = ''; } - $commentsrating = "<img src='".XOOPS_URL."/modules/smallworld/images/like.png' height='10px'width='10px'"."/></img> ".$usersratedplus; - $commentsrating .= " <img src='".XOOPS_URL."/modules/smallworld/images/dislike.png' height='10px'width='10px'"."/></img> ".$usersratedminus; + $commentsrating = "<img src='".XOOPS_URL."/modules/smallworld/images/like.png' height='10px' width='10px'"."/></img> ".$usersratedplus; + $commentsrating .= " <img src='".XOOPS_URL."/modules/smallworld/images/dislike.png' height='10px' width='10px'"."/></img> ".$usersratedminus; $lastlogin = $user->getVar('last_login'); $gender = $r['gender']; @@ -90,7 +90,7 @@ $avatar = $Wall->Gravatar($id); $avatar_size = smallworld_getImageSize(80, 100, smallworld_getAvatarLink($id, $avatar)); $avatar_highwide = smallworld_imageResize($avatar_size[0], $avatar_size[1], 100); - $user_img = "<img src='".smallworld_getAvatarLink($id, $avatar)."' id='smallworld_user_img' ".$avatar_highwide."/></img>"; + $user_img = "<img src='".smallworld_getAvatarLink($id, $avatar)."' id='smallworld_user_img' ".$avatar_highwide."/>"; $currentcity = $r['present_city']; $currlng = $r['present_lng']; Modified: XoopsModules/smallworld/trunk/smallworld/include/functions.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/include/functions.php 2012-05-03 15:02:09 UTC (rev 9432) +++ XoopsModules/smallworld/trunk/smallworld/include/functions.php 2012-05-03 17:42:04 UTC (rev 9433) @@ -367,33 +367,51 @@ return $retval; } +/** + * Check image extension and users gender. If image is legal image extension return avatar, + else return default gender based image + * @param int $userid + * @param string $image + * @returns string + */ function smallworld_getAvatarLink($userid, $image) { - global $xoopsUser, $xoopsDB; + global $xoopsUser, $xoopsDB; + $ext = pathinfo(strtolower($image), PATHINFO_EXTENSION); $sql = "SELECT gender FROM ".$xoopsDB->prefix('smallworld_user')." WHERE userid = '".intval($userid)."'"; $result = $xoopsDB->queryf($sql); while ($row = $xoopsDB->fetchArray($result)) { $gender = $row['gender']; } + $link = XOOPS_UPLOAD_URL."/".$image; - if ($image == 'blank.gif' or $image=='Not specifiyed' AND $gender == '1') { - $link = XOOPS_URL."/modules/smallworld/images/ano_woman.png"; - } - if ($image == 'blank.gif' or $image=='Not specifiyed' AND $gender == '2') { - $link = XOOPS_URL."/modules/smallworld/images/ano_man.png"; - } - if ($image == '' or $image=='Not specifiyed' AND $gender == '1') { - $link = XOOPS_URL."/modules/smallworld/images/ano_woman.png"; - } - if ($image == '' or $image=='Not specifiyed' AND $gender == '2') { - $link = XOOPS_URL."/modules/smallworld/images/ano_man.png"; - } - if ($image == 'blank.gif' or $image=='Not specifiyed' AND $gender == '') { - $link = XOOPS_URL."/modules/smallworld/images/genderless.png"; - } - if ($image == '' or $image=='Not specifiyed' AND $gender == '') { - $link = XOOPS_URL."/modules/smallworld/images/genderless.png"; - } + if (!in_array($ext,array('jpg','bmp','gif','png','jpeg')) || $image == '' || $image == "blank.gif"){ + if ($ext == '' || $gender == '1') { + $link = XOOPS_URL."/modules/smallworld/images/ano_woman.png"; + } + + if ($ext == '' AND $gender == '1') { + $link = XOOPS_URL."/modules/smallworld/images/ano_woman.png"; + } + + if ($ext == '' AND $gender == '2') { + $link = XOOPS_URL."/modules/smallworld/images/ano_man.png"; + } + if ($ext == '' AND $gender == '1') { + $link = XOOPS_URL."/modules/smallworld/images/ano_woman.png"; + } + if ($ext == '' AND $gender == '2') { + $link = XOOPS_URL."/modules/smallworld/images/ano_man.png"; + } + + if ($ext == '' AND $gender == '') { + $link = XOOPS_URL."/modules/smallworld/images/genderless.png"; + } + + if ($ext == '' AND $gender == '') { + $link = XOOPS_URL."/modules/smallworld/images/genderless.png"; + } + } return $link; } Modified: XoopsModules/smallworld/trunk/smallworld/js/jquery.oembed.js =================================================================== --- XoopsModules/smallworld/trunk/smallworld/js/jquery.oembed.js 2012-05-03 15:02:09 UTC (rev 9432) +++ XoopsModules/smallworld/trunk/smallworld/js/jquery.oembed.js 2012-05-03 17:42:04 UTC (rev 9433) @@ -130,7 +130,7 @@ return false; } var result; - if(embedProvider.yql.xpath && embedProvider.yql.xpath=='//meta'){ + if(embedProvider.yql.xpath && embedProvider.yql.xpath=='//meta' && data.query.results){ var meta={}; for(var i=0, l=data.query.results.meta.length; i<l; i++){ var name = data.query.results.meta[i].name||data.query.results.meta[i].property||null; @@ -621,6 +621,7 @@ new xoops_smallworld.fn.oembed.OEmbedProvider("opengraph", "rich", [".*"], null, {yql:{xpath:"//meta", from:'html' , datareturn:function(results){ + if(results == null)return false; if(!results['og:title'] && results['title'] &&results['description'])results['og:title']=results['title']; if(!results['og:title'] && !results['title'])return false; var code = xoops_smallworld('<p/>'); Modified: XoopsModules/smallworld/trunk/smallworld/preloads/core.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/preloads/core.php 2012-05-03 15:02:09 UTC (rev 9432) +++ XoopsModules/smallworld/trunk/smallworld/preloads/core.php 2012-05-03 17:42:04 UTC (rev 9433) @@ -114,6 +114,9 @@ $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/jquery.countdown.js'); $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/jquery.innerfade.js'); */ + + $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/js/jquery.countdown.js'); + if ( file_exists(XOOPS_ROOT_PATH.'/modules/smallworld/language/'.$xoopsConfig['language'].'/js/jquery.ui.datepicker-language.js')) { $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/language/'.$xoopsConfig['language'].'/js/jquery.ui.datepicker-language.js'); $xoTheme->addScript(XOOPS_URL.'/modules/smallworld/language/'.$xoopsConfig['language'].'/js/jquery.countdown.js'); Modified: XoopsModules/smallworld/trunk/smallworld/search.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/search.php 2012-05-03 15:02:09 UTC (rev 9432) +++ XoopsModules/smallworld/trunk/smallworld/search.php 2012-05-03 17:42:04 UTC (rev 9433) @@ -41,13 +41,13 @@ $image = '<img src="'.XOOPS_URL.'/uploads/'.$row['userimage'].'" '.$imageHw.'/>'; } else { if ($row['gender'] == 1) { - $image = "<img src='".XOOPS_URL."/modules/smallworld/images/ano_woman.png'"." height='30px' width='30px'/></img>"; + $image = "<img src='".XOOPS_URL."/modules/smallworld/images/ano_woman.png'"." height='30px' width='30px'/>"; } if ($row['gender'] == 2) { - $image = "<img src='".XOOPS_URL."/modules/smallworld/images/ano_man.png'"." height='30px' width='30px'/></img>"; + $image = "<img src='".XOOPS_URL."/modules/smallworld/images/ano_man.png'"." height='30px' width='30px'/>"; } if ($row['gender'] == 0) { - $image = "<img src='".XOOPS_URL."/modules/smallworld/images/genderless.png'"." height='30px' width='30px'/></img>"; + $image = "<img src='".XOOPS_URL."/modules/smallworld/images/genderless.png'"." height='30px' width='30px'/>"; } } Modified: XoopsModules/smallworld/trunk/smallworld/templates/smallworld_userprofile_template.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/templates/smallworld_userprofile_template.html 2012-05-03 15:02:09 UTC (rev 9432) +++ XoopsModules/smallworld/trunk/smallworld/templates/smallworld_userprofile_template.html 2012-05-03 17:42:04 UTC (rev 9433) @@ -24,7 +24,7 @@ <{if $username == $myusername OR $isadminuser == 'YES'}> <div class="UploadNewAvatar" id="<{$ownerofpage}>" style="display:none"> <div id="smallworld_avatarupload" > - <span>Upload File<span> + <span>Upload File</span> </div> <span id="smallworld_avatarstatus" ></span> <ul id="smallworld_avatarfiles" ></ul> @@ -645,5 +645,4 @@ <{/foreach}> </table> <div id="smallworldStatsDiv" title="<{$smarty.const._SMALLWORLD_STATS}>" style="display:none;"></div> - <div id="smallworld_recentactivitiesDiv" title="<{$smarty.const._SMALLWORLD_STATS}>" style="display:none;"></div> - </div> \ No newline at end of file + <div id="smallworld_recentactivitiesDiv" title="<{$smarty.const._SMALLWORLD_STATS}>" style="display:none;"></div> \ No newline at end of file Modified: XoopsModules/smallworld/trunk/smallworld/xoops_version.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/xoops_version.php 2012-05-03 15:02:09 UTC (rev 9432) +++ XoopsModules/smallworld/trunk/smallworld/xoops_version.php 2012-05-03 17:42:04 UTC (rev 9433) @@ -24,7 +24,7 @@ $modversion['description'] = _MI_SMALLWORLD_MODULE_DESC; $modversion['author'] = "Michael Albertsen"; $modversion['nickname'] = 'Culex'; -$modversion['credits'] = "Mariane, Mrsculex, Mamba, Rune"; +$modversion['credits'] = "Mariane, Mrsculex, Mamba, Rune, Zyth"; $modversion['module_website_name'] = 'www.culex.dk'; $modversion['module_website_url'] = 'http://www.culex.dk'; $modversion['license'] = 'GNU GPL'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-05-03 15:02:20
|
Revision: 9432 http://xoops.svn.sourceforge.net/xoops/?rev=9432&view=rev Author: djculex Date: 2012-05-03 15:02:09 +0000 (Thu, 03 May 2012) Log Message: ----------- removed double defines Modified Paths: -------------- XoopsLanguages/danish/core/2.5.5/htdocs/modules/pm/language/danish/modinfo.php XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/preferences.php Modified: XoopsLanguages/danish/core/2.5.5/htdocs/modules/pm/language/danish/modinfo.php =================================================================== --- XoopsLanguages/danish/core/2.5.5/htdocs/modules/pm/language/danish/modinfo.php 2012-05-03 14:01:18 UTC (rev 9431) +++ XoopsLanguages/danish/core/2.5.5/htdocs/modules/pm/language/danish/modinfo.php 2012-05-03 15:02:09 UTC (rev 9432) @@ -27,5 +27,7 @@ define("_PM_MI_PERPAGE", "Meddelelser per side"); define("_PM_MI_PERPAGE_DESC", ""); +//1.07 +define("_PM_MI_ABOUT", "Om"); ?> <?php // Translation done by xtransam & anderssk - 2010-10-19 07:26 ?> Modified: 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/preferences.php 2012-05-03 14:01:18 UTC (rev 9431) +++ XoopsLanguages/danish/core/2.5.5/htdocs/modules/system/language/danish/admin/preferences.php 2012-05-03 15:02:09 UTC (rev 9432) @@ -145,11 +145,7 @@ define("_MD_AM_BADEMAILSDSC", "Opdel med en <strong>|</strong>, ingen forskel på store og små bogstaver, regex aktiveret."); define("_MD_AM_BADUNAMES", "Indtaste navne, der ikke må vælges som brugernavn"); define("_MD_AM_BADUNAMESDSC", "Særskilt hver med en <strong>|,</strong> sag ufølsomme, regex aktiveret."); -define("_MD_AM_DOBADIPS", "Aktiver IP spærring?");define("_MD_AM_INDEXFOLLOW", "Index, Follow"); -define("_MD_AM_NOINDEXFOLLOW", "No Index, Follow"); -define("_MD_AM_INDEXNOFOLLOW", "Index, No Follow"); -define("_MD_AM_NOINDEXNOFOLLOW", "No Index, No Follow"); -define("_MD_AM_METAAUTHOR", "Meta Author"); +define("_MD_AM_DOBADIPS", "Aktiver IP spærring?"); define("_MD_AM_DOBADIPSDSC", "Brugere fra bestemte IP-adresser vil ikke være i stand til at se dit websted"); define("_MD_AM_BADIPS", "Indtast IP-adresser, der skal udelukket fra sitet. <br /> Særskilt hver med en <strong>|</strong>, ingen forskel på store og små bogstaver, regex aktiveret."); define("_MD_AM_BADIPSDSC", "^aaa.bbb.ccc vil afvise besøgende med en IP der starter med aaa.bbb.ccc <br /> aaa.bbb.ccc$ vil afvise besøgende med en IP, der ender med aaa.bbb.ccc <br /> aaa.bbb.ccc vil ikke tillade besøgende med en IP, der indeholder aaa.bbb.ccc"); @@ -359,4 +355,4 @@ // Preference module system define("_AM_SYSTEM_PREFERENCES_SETTINGS", "System Indstillinger"); -?><?php // Translation done by xtransam & anderssk - 2010-10-19 07:12 ?> +?><?php // Translation done by culex - 2012-05-03 17:01 ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-05-03 14:25:35
|
Revision: 9431 http://xoops.svn.sourceforge.net/xoops/?rev=9431&view=rev Author: djculex Date: 2012-05-03 14:01:18 +0000 (Thu, 03 May 2012) Log Message: ----------- Modified Paths: -------------- XoopsLanguages/danish/core/2.5.5/htdocs/modules/pm/language/danish/main.php Modified: 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 2012-05-03 13:41:34 UTC (rev 9430) +++ XoopsLanguages/danish/core/2.5.5/htdocs/modules/pm/language/danish/main.php 2012-05-03 14:01:18 UTC (rev 9431) @@ -48,31 +48,33 @@ 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_SURE_TO_DELETE", "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_OUTBOX","Udboks"); + + + + 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"); @@ -84,6 +86,7 @@ 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 "); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dj...@us...> - 2012-05-03 14:25:24
|
Revision: 9430 http://xoops.svn.sourceforge.net/xoops/?rev=9430&view=rev Author: djculex Date: 2012-05-03 13:41:34 +0000 (Thu, 03 May 2012) Log Message: ----------- Updating danish language files to 2.5.5 final Modified Paths: -------------- XoopsLanguages/danish/core/2.5.5/htdocs/install/language/danish/install.php XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/calendar.php Added Paths: ----------- XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/ XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/index.html XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/ XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/index.html XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/ XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/index.html XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/ XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/danish/ XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/danish/index.html XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/danish/main.php XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/index.html Added: XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/index.html =================================================================== --- XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/index.html (rev 0) +++ XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/index.html 2012-05-03 13:41:34 UTC (rev 9430) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/index.html =================================================================== --- XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/index.html (rev 0) +++ XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/index.html 2012-05-03 13:41:34 UTC (rev 9430) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/index.html =================================================================== --- XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/index.html (rev 0) +++ XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/index.html 2012-05-03 13:41:34 UTC (rev 9430) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/danish/index.html =================================================================== --- XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/danish/index.html (rev 0) +++ XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/danish/index.html 2012-05-03 13:41:34 UTC (rev 9430) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/danish/main.php =================================================================== --- XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/danish/main.php (rev 0) +++ XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/danish/main.php 2012-05-03 13:41:34 UTC (rev 9430) @@ -0,0 +1,50 @@ +<?php +/** + * Frameworks Module Admin + * + * 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 Grégory Mage (Aka Mage) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Grégory Mage (Aka Mage) + * @translation Michael Albertsen (Aka culex) + */ + +// Info +define('_AM_MODULEADMIN_CONFIG','Configurationscheck'); +define('_AM_MODULEADMIN_CONFIG_CHMOD',"Mappen '%s' skal være med chmod '%s' (den er nuværende sat til %s).'"); +define('_AM_MODULEADMIN_CONFIG_FOLDERKO',"Mappen '%s' findes ikke"); +define('_AM_MODULEADMIN_CONFIG_FOLDEROK',"mappen '%s' findes"); +define('_AM_MODULEADMIN_CONFIG_PHP','Minimum PHP krævet: %s (din version er %s)'); +define('_AM_MODULEADMIN_CONFIG_XOOPS','Minimum XOOPS krævet: %s (din version er %s)'); + +define('_AM_MODULEADMIN_CONFIG_DB','minimum version krævet: %s (din version er %s)'); +define('_AM_MODULEADMIN_CONFIG_ADMIN','Minimum ModuleAdmin krævet: %s (din version er %s)'); + +// About +define('_AM_MODULEADMIN_ABOUT_CHANGELOG','Ændringslog'); +define('_AM_MODULEADMIN_ABOUT_DESCRIPTION','Beskrivelse'); +define('_AM_MODULEADMIN_ABOUT_MODULEINFO','Modul-info'); +define('_AM_MODULEADMIN_ABOUT_MODULESTATUS','Status:'); +define('_AM_MODULEADMIN_ABOUT_UPDATEDATE','Opdatet:'); +define('_AM_MODULEADMIN_ABOUT_WEBSITE',"Website:"); + +define("_AM_MODULEADMIN_ABOUT_RELEASEDATE","Udgivet: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR","Forfatter: "); +define("_AM_MODULEADMIN_ABOUT_CREDITS","Kredit: "); +define("_AM_MODULEADMIN_ABOUT_LICENSE","Licens: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_NAME","Forfatternavn: "); +define("_AM_MODULEADMIN_ABOUT_AUTHOR_INFO","Forfatterinfo"); + +define("_AM_MODULEADMIN_HOME", "Hjem"); +define("_AM_MODULEADMIN_DASHBOARD", "Dashboard"); +define("_AM_MODULEADMIN_ABOUT", "Om"); +define("_AM_MODULEADMIN_PERMISSIONS", "Tilladelser"); + +//ModuleAdmin +define("_AM_MODULEADMIN_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>Dette modul opretholdes af <a class='tooltip' rel='external' href='http://xoops.org/' title='Besøg XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file Added: XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/index.html =================================================================== --- XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/index.html (rev 0) +++ XoopsLanguages/danish/core/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/language/index.html 2012-05-03 13:41:34 UTC (rev 9430) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Modified: XoopsLanguages/danish/core/2.5.5/htdocs/install/language/danish/install.php =================================================================== --- XoopsLanguages/danish/core/2.5.5/htdocs/install/language/danish/install.php 2012-05-03 10:36:11 UTC (rev 9429) +++ XoopsLanguages/danish/core/2.5.5/htdocs/install/language/danish/install.php 2012-05-03 13:41:34 UTC (rev 9430) @@ -181,6 +181,7 @@ define( "ZLIB_COMPRESSION", "Zlib Compression"); define( "IMAGE_FUNCTIONS", "Image functions"); define( "IMAGE_METAS", "Image meta data (exif)"); +define( "FILTER_FUNCTIONS", "Filteringsfunctioner"); define( "ADMIN_EXIST", "Administratorskontoen findes allerede.<br />Klik <strong>næste</strong> for at gå til næste trin."); Modified: XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/calendar.php =================================================================== --- XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/calendar.php 2012-05-03 10:36:11 UTC (rev 9429) +++ XoopsLanguages/danish/core/2.5.5/htdocs/language/danish/calendar.php 2012-05-03 13:41:34 UTC (rev 9430) @@ -5,6 +5,8 @@ // Translator: XOOPS Translation Team //%%%%% Time Zone %%%% +define("_CAL_FORMAT","d-m-Y"); + define("_CAL_SUNDAY", "Søndag"); define("_CAL_MONDAY", "Mandag"); define("_CAL_TUESDAY", "Tirsdag"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-05-03 10:36:21
|
Revision: 9429 http://xoops.svn.sourceforge.net/xoops/?rev=9429&view=rev Author: txmodxoops Date: 2012-05-03 10:36:11 +0000 (Thu, 03 May 2012) Log Message: ----------- Fixed bug admin link Modified Paths: -------------- XoopsModules/xpdf/trunk/modules/xpdf/templates/xpdf_footer.html Modified: XoopsModules/xpdf/trunk/modules/xpdf/templates/xpdf_footer.html =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/templates/xpdf_footer.html 2012-05-03 07:18:02 UTC (rev 9428) +++ XoopsModules/xpdf/trunk/modules/xpdf/templates/xpdf_footer.html 2012-05-03 10:36:11 UTC (rev 9429) @@ -6,5 +6,5 @@ <{/if}> <div class="left"><{$copyright}></div> <{if $xoops_isadmin}> - <div class="center bold"><a href="<{$xpdf_url}>/admin/"><{$smarty.const._MA_XPDF_ADMIN}></a></div> + <div class="center bold"><a href="<{$xpdf_url}>/admin/index.php"><{$smarty.const._MA_XPDF_ADMIN}></a></div> <{/if}> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2012-05-03 07:18:13
|
Revision: 9428 http://xoops.svn.sourceforge.net/xoops/?rev=9428&view=rev Author: voltan1 Date: 2012-05-03 07:18:02 +0000 (Thu, 03 May 2012) Log Message: ----------- Update version Modified Paths: -------------- XoopsModules/contact/branches/voltan/v1.8/contact/xoops_version.php Modified: XoopsModules/contact/branches/voltan/v1.8/contact/xoops_version.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/xoops_version.php 2012-05-03 07:15:56 UTC (rev 9427) +++ XoopsModules/contact/branches/voltan/v1.8/contact/xoops_version.php 2012-05-03 07:18:02 UTC (rev 9428) @@ -48,8 +48,8 @@ //about $modversion["module_website_url"] = "http://www.xoops.org/"; $modversion["module_website_name"] = "XOOPS"; -$modversion["release_date"] = "2012/2/15"; -$modversion["module_status"] = "Alpha"; +$modversion["release_date"] = "2012/05/03"; +$modversion["module_status"] = "Beta"; $modversion["author_website_url"] = "http://www.xoops.org/"; $modversion["author_website_name"] = "XOOPS"; $modversion['min_php']='5.2'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2012-05-03 07:16:03
|
Revision: 9427 http://xoops.svn.sourceforge.net/xoops/?rev=9427&view=rev Author: voltan1 Date: 2012-05-03 07:15:56 +0000 (Thu, 03 May 2012) Log Message: ----------- Add needed options Modified Paths: -------------- XoopsModules/contact/branches/voltan/v1.8/contact/admin/contact.php XoopsModules/contact/branches/voltan/v1.8/contact/admin/tools.php XoopsModules/contact/branches/voltan/v1.8/contact/class/contact.php XoopsModules/contact/branches/voltan/v1.8/contact/language/english/admin.php XoopsModules/contact/branches/voltan/v1.8/contact/language/english/modinfo.php XoopsModules/contact/branches/voltan/v1.8/contact/templates/admin/contact_contact.html XoopsModules/contact/branches/voltan/v1.8/contact/templates/admin/contact_tools.html XoopsModules/contact/branches/voltan/v1.8/contact/xoops_version.php Modified: XoopsModules/contact/branches/voltan/v1.8/contact/admin/contact.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/admin/contact.php 2012-05-02 21:29:32 UTC (rev 9426) +++ XoopsModules/contact/branches/voltan/v1.8/contact/admin/contact.php 2012-05-03 07:15:56 UTC (rev 9427) @@ -82,7 +82,7 @@ $xoopsTpl->assign('replyform', $form->render()); $xoopsTpl->assign('replylist', $contact_handler->Contact_GetReply($contact_id)); } else { - redirect_header ( 'contact.php', 3, _AM_CONTACT_EXIST); + redirect_header ( 'contact.php', 3, _AM_CONTACT_MSG_EXIST); } $level = 'reply'; break; @@ -125,12 +125,13 @@ $level = 'doreply'; break; + case 'view': $obj = $contact_handler->get ( $contact_id ); if(!$obj) { - redirect_header ( 'contact.php', 3, _AM_CONTACT_EXIST); + redirect_header ( 'contact.php', 3, _AM_CONTACT_MSG_EXIST); exit (); } @@ -158,16 +159,41 @@ $level = 'view'; break; - - case 'edit': - - $level = 'edit'; - break; case 'delete': + + if ($contact_id > 0) { + // Prompt message + xoops_confirm(array("id" => $contact_id), 'contact.php?op=dodelete', _AM_CONTACT_MSG_DELETE); + } else { + redirect_header ( 'contact.php', 3, _AM_CONTACT_MSG_EXIST); + } $level = 'delete'; - break; + break; + + case 'dodelete': + + if (!$contact_id > 0) { + redirect_header ( 'contact.php', 3, _AM_CONTACT_MSG_EXIST); + xoops_cp_footer (); + exit (); + } + + $criteria = new CriteriaCompo (); + $criteria->add ( new Criteria ( 'contact_id', $contact_id ) ); + $criteria->add ( new Criteria ( 'contact_cid', $contact_id ), 'OR' ); + + if (! $contact_handler->deleteAll($criteria)) { + redirect_header ( 'contact.php', 1, _AM_CONTACT_MSG_DELETEERROR ); + xoops_cp_footer (); + exit (); + } + + redirect_header ( 'contact.php', 1, _AM_CONTACT_MSG_DELETEDO ); + xoops_cp_footer (); + exit (); + break; } $xoopsTpl->assign('navigation', $admin_class->addNavigation('contact.php')); Modified: XoopsModules/contact/branches/voltan/v1.8/contact/admin/tools.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/admin/tools.php 2012-05-02 21:29:32 UTC (rev 9426) +++ XoopsModules/contact/branches/voltan/v1.8/contact/admin/tools.php 2012-05-03 07:15:56 UTC (rev 9427) @@ -22,7 +22,35 @@ require dirname(__FILE__) . '/header.php'; // Display Admin header xoops_cp_header(); +// Define default value +$op = $contact_handler->Contact_CleanVars($_REQUEST, 'op', 'list', 'string'); +switch ($op) +{ + case 'list': + // prune manager + $form = new XoopsThemeForm(_AM_CONTACT_TOOLS_PRUNE, 'tools', 'tools.php', 'post'); + $form->addElement(new XoopsFormTextDateSelect(_AM_CONTACT_TOOLS_PRUNE_BEFORE, 'prune_date', 15, time())); + $onlyreply = new xoopsFormCheckBox('', 'onlyreply'); + $onlyreply->addOption(1, _AM_CONTACT_TOOLS_PRUNE_REPLYONLY); + $form->addElement($onlyreply, false); + $form->addElement(new XoopsFormHidden('op', 'prune')); + $form->addElement(new XoopsFormButton('', 'post', _SUBMIT, 'submit')); + $xoopsTpl->assign('prune', $form->render()); + break; + + case 'prune': + $timestamp = $contact_handler->Contact_CleanVars( $_REQUEST, 'prune_date', '', 'int' ); + $onlyreply = $contact_handler->Contact_CleanVars( $_REQUEST, 'onlyreply', 0, 'int' ); + $timestamp = strtotime($timestamp); + $count = $contact_handler->Contact_PruneCount($timestamp,$onlyreply); + $contact_handler->Contact_DeleteBeforeDate($timestamp,$onlyreply); + redirect_header ( 'tools.php', 1, sprintf(_AM_CONTACT_MSG_PRUNE_DELETED,$count) ); + xoops_cp_footer (); + exit (); + break; +} + $xoopsTpl->assign('navigation', $admin_class->addNavigation('tools.php')); // Call template file $xoopsTpl->display(XOOPS_ROOT_PATH . '/modules/contact/templates/admin/contact_tools.html'); Modified: XoopsModules/contact/branches/voltan/v1.8/contact/class/contact.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/class/contact.php 2012-05-02 21:29:32 UTC (rev 9426) +++ XoopsModules/contact/branches/voltan/v1.8/contact/class/contact.php 2012-05-03 07:15:56 UTC (rev 9427) @@ -334,6 +334,30 @@ function getInsertId() { return $this->db->getInsertId (); } + + /** + * Contact Prune Count + */ + function Contact_PruneCount($timestamp, $onlyreply) { + $criteria = new CriteriaCompo (); + $criteria->add ( new Criteria ( 'contact_create', $timestamp , '<=' )); + if($onlyreply) { + $criteria->add ( new Criteria ( 'contact_reply', 1 )); + } + return $this->getCount ( $criteria ); + } + + /** + * Contact Delete Before Date + */ + function Contact_DeleteBeforeDate($timestamp,$onlyreply) { + $criteria = new CriteriaCompo (); + $criteria->add ( new Criteria ( 'contact_create', $timestamp , '<=' )); + if($onlyreply) { + $criteria->add ( new Criteria ( 'contact_reply', 1 )); + } + $this->deleteAll($criteria); + } } Modified: XoopsModules/contact/branches/voltan/v1.8/contact/language/english/admin.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/language/english/admin.php 2012-05-02 21:29:32 UTC (rev 9426) +++ XoopsModules/contact/branches/voltan/v1.8/contact/language/english/admin.php 2012-05-03 07:15:56 UTC (rev 9427) @@ -36,5 +36,13 @@ define("_AM_CONTACT_TITLE","Title"); define("_AM_CONTACT_INFO","Information"); -define("_AM_CONTACT_EXIST","Select Contact not exist"); -?> +define("_AM_CONTACT_MSG_EXIST","Select Contact not exist"); +define("_AM_CONTACT_MSG_DELETE","Are you sure you want delete this contact and all replys?"); +define("_AM_CONTACT_MSG_DELETEDO","Your selected contact delete"); +define("_AM_CONTACT_MSG_DELETEERROR","Error in delete contact"); +define("_AM_CONTACT_MSG_PRUNE_DELETED","%s contact deleted"); + +define("_AM_CONTACT_TOOLS_PRUNE","Prune Contacts"); +define("_AM_CONTACT_TOOLS_PRUNE_BEFORE","Prune contacts that were published before"); +define("_AM_CONTACT_TOOLS_PRUNE_REPLYONLY","Only remove contacts who have reply"); +?> \ No newline at end of file Modified: XoopsModules/contact/branches/voltan/v1.8/contact/language/english/modinfo.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/language/english/modinfo.php 2012-05-02 21:29:32 UTC (rev 9426) +++ XoopsModules/contact/branches/voltan/v1.8/contact/language/english/modinfo.php 2012-05-03 07:15:56 UTC (rev 9427) @@ -33,6 +33,8 @@ define("_MI_CONTACT_FORM_ADDRESS_DESC", ""); define("_MI_CONTACT_FORM_DEPT", "Select Departments"); define("_MI_CONTACT_FORM_DEPT_DESC", ""); +define("_MI_CONTACT_FORM_CAPTCHA", "Use Captcha"); +define("_MI_CONTACT_FORM_CAPTCHA_DESC", ""); define("_MI_CONTACT_DEPT", "Departments"); define("_MI_CONTACT_DEPT_DESC", "Departments allow you to define a department/email combination. Users selecting<br />" Modified: XoopsModules/contact/branches/voltan/v1.8/contact/templates/admin/contact_contact.html =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/templates/admin/contact_contact.html 2012-05-02 21:29:32 UTC (rev 9426) +++ XoopsModules/contact/branches/voltan/v1.8/contact/templates/admin/contact_contact.html 2012-05-03 07:15:56 UTC (rev 9427) @@ -1,7 +1,6 @@ <div class="contact"> -<{$navigation}> <{if $level == reply}> - + <{$navigation}> <{if $replylist}> <table class="outer"> <thead> @@ -19,7 +18,6 @@ <td class="txtcenter width15 xo-actions"> <img class="tooltip" onclick="display_dialog(<{$contact.contact_id}>, true, true, 'slide', 'slide', 300, 700);" src="<{xoAdminIcons display.png}>" alt="<{$smarty.const._PREVIEW}>" title="<{$smarty.const._PREVIEW}>" /> <a class="tooltip" title="<{$smarty.const._AM_CONTACT_VIEW}>" href="contact.php?op=view&id=<{$contact.contact_id}>"><img src="<{xoAdminIcons view.png}>" alt="<{$smarty.const._AM_CONTACT_VIEW}>" /></a> - <a class="tooltip" title="<{$smarty.const._EDIT}>" href="contact.php?op=edit&id=<{$contact.contact_id}>"><img src="<{xoAdminIcons edit.png}>" alt="<{$smarty.const._EDIT}>" /></a> <a class="tooltip" title="<{$smarty.const._DELETE}>" href="contact.php?op=delete&id=<{$contact.contact_id}>"><img src="<{xoAdminIcons delete.png}>" alt="<{$smarty.const._DELETE}>" /></a> </td> </tr> @@ -55,6 +53,7 @@ <{elseif $level == doreply}> <{elseif $level == view}> + <{$navigation}> <table class="outer"> <thead> <th class="width10"><{$smarty.const._AM_CONTACT_TITLE}></th> @@ -130,7 +129,6 @@ <td class="bold"><{$smarty.const._AM_CONTACT_ACTION}></td> <td class="xo-actions"> <a class="tooltip" title="<{$smarty.const._AM_CONTACT_REPLY}>" href="contact.php?op=reply&id=<{$contact.contact_id}>"><img src="<{xoAdminIcons mail_reply.png}>" alt="<{$smarty.const._AM_CONTACT_REPLY}>" /></a> - <a class="tooltip" title="<{$smarty.const._EDIT}>" href="contact.php?op=edit&id=<{$contact.contact_id}>"><img src="<{xoAdminIcons edit.png}>" alt="<{$smarty.const._EDIT}>" /></a> <a class="tooltip" title="<{$smarty.const._DELETE}>" href="contact.php?op=delete&id=<{$contact.contact_id}>"><img src="<{xoAdminIcons delete.png}>" alt="<{$smarty.const._DELETE}>" /></a> </td> </tr> @@ -155,7 +153,6 @@ <td class="txtcenter width15 xo-actions"> <img class="tooltip" onclick="display_dialog(<{$contact.contact_id}>, true, true, 'slide', 'slide', 300, 700);" src="<{xoAdminIcons display.png}>" alt="<{$smarty.const._PREVIEW}>" title="<{$smarty.const._PREVIEW}>" /> <a class="tooltip" title="<{$smarty.const._AM_CONTACT_VIEW}>" href="contact.php?op=view&id=<{$contact.contact_id}>"><img src="<{xoAdminIcons view.png}>" alt="<{$smarty.const._AM_CONTACT_VIEW}>" /></a> - <a class="tooltip" title="<{$smarty.const._EDIT}>" href="contact.php?op=edit&id=<{$contact.contact_id}>"><img src="<{xoAdminIcons edit.png}>" alt="<{$smarty.const._EDIT}>" /></a> <a class="tooltip" title="<{$smarty.const._DELETE}>" href="contact.php?op=delete&id=<{$contact.contact_id}>"><img src="<{xoAdminIcons delete.png}>" alt="<{$smarty.const._DELETE}>" /></a> </td> </tr> @@ -186,13 +183,11 @@ </div> <{/foreach}> <{/if}> - - -<{elseif $level == edit}> <{elseif $level == delete}> <{else}> + <{$navigation}> <table class="outer"> <thead> <th><{$smarty.const._AM_CONTACT_SUBJECT}></th> @@ -214,7 +209,6 @@ <img class="tooltip" onclick="display_dialog(<{$contact.contact_id}>, true, true, 'slide', 'slide', 300, 700);" src="<{xoAdminIcons display.png}>" alt="<{$smarty.const._PREVIEW}>" title="<{$smarty.const._PREVIEW}>" /> <a class="tooltip" title="<{$smarty.const._AM_CONTACT_REPLY}>" href="contact.php?op=reply&id=<{$contact.contact_id}>"><img src="<{xoAdminIcons mail_reply.png}>" alt="<{$smarty.const._AM_CONTACT_REPLY}>" /></a> <a class="tooltip" title="<{$smarty.const._AM_CONTACT_VIEW}>" href="contact.php?op=view&id=<{$contact.contact_id}>"><img src="<{xoAdminIcons view.png}>" alt="<{$smarty.const._AM_CONTACT_VIEW}>" /></a> - <a class="tooltip" title="<{$smarty.const._EDIT}>" href="contact.php?op=edit&id=<{$contact.contact_id}>"><img src="<{xoAdminIcons edit.png}>" alt="<{$smarty.const._EDIT}>" /></a> <a class="tooltip" title="<{$smarty.const._DELETE}>" href="contact.php?op=delete&id=<{$contact.contact_id}>"><img src="<{xoAdminIcons delete.png}>" alt="<{$smarty.const._DELETE}>" /></a> </td> </tr> Modified: XoopsModules/contact/branches/voltan/v1.8/contact/templates/admin/contact_tools.html =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/templates/admin/contact_tools.html 2012-05-02 21:29:32 UTC (rev 9426) +++ XoopsModules/contact/branches/voltan/v1.8/contact/templates/admin/contact_tools.html 2012-05-03 07:15:56 UTC (rev 9427) @@ -1,3 +1,4 @@ <div class="contact"> <{$navigation}> +<{if $prune}><{$prune}><{/if}> </div> \ No newline at end of file Modified: XoopsModules/contact/branches/voltan/v1.8/contact/xoops_version.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/xoops_version.php 2012-05-02 21:29:32 UTC (rev 9426) +++ XoopsModules/contact/branches/voltan/v1.8/contact/xoops_version.php 2012-05-03 07:15:56 UTC (rev 9427) @@ -27,9 +27,9 @@ $modversion['name'] = _MI_CONTACT_NAME; $modversion['version'] = 1.8; $modversion['description'] = _MI_CONTACT_DESC; -$modversion['credits'] = ''; -$modversion['author'] = ''; -$modversion['nickname'] = ''; +$modversion['credits'] = 'The XOOPS Project, Mohtava Project'; +$modversion['author'] = 'Hossein Azizabadi <hos...@gm...>'; +$modversion['nickname'] = 'Voltan'; $modversion['help'] = 'page=help'; $modversion['license'] = 'GNU GPL 2.0'; $modversion['license_url'] = "www.gnu.org/licenses/gpl-2.0.html/"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-05-02 21:29:39
|
Revision: 9426 http://xoops.svn.sourceforge.net/xoops/?rev=9426&view=rev Author: txmodxoops Date: 2012-05-02 21:29:32 +0000 (Wed, 02 May 2012) Log Message: ----------- Fixed small bugs Modified Paths: -------------- XoopsModules/xpdf/trunk/modules/xpdf/admin/documents.php XoopsModules/xpdf/trunk/modules/xpdf/class/xpdf_cat.php XoopsModules/xpdf/trunk/modules/xpdf/class/xpdf_doc.php XoopsModules/xpdf/trunk/modules/xpdf/css/style.css XoopsModules/xpdf/trunk/modules/xpdf/index.php XoopsModules/xpdf/trunk/modules/xpdf/language/english/admin.php XoopsModules/xpdf/trunk/modules/xpdf/language/english/modinfo.php XoopsModules/xpdf/trunk/modules/xpdf/templates/xpdf_footer.html XoopsModules/xpdf/trunk/modules/xpdf/templates/xpdf_header.html XoopsModules/xpdf/trunk/modules/xpdf/templates/xpdf_viewcat.html XoopsModules/xpdf/trunk/modules/xpdf/viewcat.php XoopsModules/xpdf/trunk/modules/xpdf/xoops_version.php Modified: XoopsModules/xpdf/trunk/modules/xpdf/admin/documents.php =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/admin/documents.php 2012-05-02 15:28:19 UTC (rev 9425) +++ XoopsModules/xpdf/trunk/modules/xpdf/admin/documents.php 2012-05-02 21:29:32 UTC (rev 9426) @@ -104,9 +104,9 @@ 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_id=".$i."&doc_online=0'><img src=".$pathImageIcon."/on.png border='0' alt='"._ONLINE."' title='"._ONLINE."'></a></td>"; + echo "<td class='center'><a href='./documents.php?op=update_online&doc_id=".$i."&doc_online=0'><img src=".$pathImageIcon."/on.png border='0' alt='"._AM_XPDF_ONLINE."' title='"._AM_XPDF_ONLINE."'></a></td>"; } else { - echo "<td class='center'><a href='./documents.php?op=update_online&doc_id=".$i."&doc_online=1'><img src=".$pathImageIcon."/off.png border='0' alt='"._OFFLINE."' title='"._OFFLINE."'></a></td>"; + echo "<td class='center'><a href='./documents.php?op=update_online&doc_id=".$i."&doc_online=1'><img src=".$pathImageIcon."/off.png border='0' alt='"._AM_XPDF_OFFLINE."' title='"._AM_XPDF_OFFLINE."'></a></td>"; } echo "<td class='center width5'> Modified: XoopsModules/xpdf/trunk/modules/xpdf/class/xpdf_cat.php =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/class/xpdf_cat.php 2012-05-02 15:28:19 UTC (rev 9425) +++ XoopsModules/xpdf/trunk/modules/xpdf/class/xpdf_cat.php 2012-05-02 21:29:32 UTC (rev 9426) @@ -99,7 +99,7 @@ $editor_configs["cols"] = 80; $editor_configs["width"] = "100%"; $editor_configs["height"] = "400px"; - $editor_configs["editor"] = $GLOBALS["xoopsModuleConfig"]["xpdf_editor"]; + $editor_configs["editor"] = $GLOBALS["xoopsModuleConfig"]["xpdf_editor_cat"]; $form->addElement( new XoopsFormEditor(_AM_XPDF_CAT_DESCRIPTION, "cat_description", $editor_configs), false ); // Weight $form->addElement(new XoopsFormText(_AM_XPDF_CAT_WEIGHT, "cat_weight", 10, 25, $this->getVar("cat_weight")), true); Modified: XoopsModules/xpdf/trunk/modules/xpdf/class/xpdf_doc.php =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/class/xpdf_doc.php 2012-05-02 15:28:19 UTC (rev 9425) +++ XoopsModules/xpdf/trunk/modules/xpdf/class/xpdf_doc.php 2012-05-02 21:29:32 UTC (rev 9426) @@ -114,7 +114,7 @@ $editor_configs["cols"] = 80; $editor_configs["width"] = "100%"; $editor_configs["height"] = "400px"; - $editor_configs["editor"] = $GLOBALS["xoopsModuleConfig"]["xpdf_editor"]; + $editor_configs["editor"] = $GLOBALS["xoopsModuleConfig"]["xpdf_editor_doc"]; $form->addElement( new XoopsFormEditor(_AM_XPDF_DOC_PDFTEXT, "doc_pdftext", $editor_configs), true ); $doc_image = $this->getVar("doc_image") ? $this->getVar("doc_image") : 'blank.gif'; @@ -198,14 +198,15 @@ } function getPdf($dest = 'I') - { - include_once XOOPS_ROOT_PATH.'/Frameworks/tcpdf/tcpdf.php'; + { + include_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'; + include_once XOOPS_ROOT_PATH.'/Frameworks/tcpdf/config/lang/eng.php'; } + $pdfdocHandler =& xoops_getModuleHandler("xpdf_doc", XPDF_DIRNAME); $pdfdoc = $pdfdocHandler->get($this->getVar('doc_id')); @@ -231,7 +232,7 @@ define ('XPDF_HEADER_TITLE', $pdf_data['title']); define ('XPDF_HEADER_STRING', $pdf_data['subject']); define ('XPDF_HEADER_LOGO', 'logo.gif'); - define ('K_PATH_IMAGES', XOOPS_ROOT_PATH.'/images/'); + define ('XK_PATH_IMAGES', XOOPS_ROOT_PATH.'/images/'); $myts =& MyTextSanitizer::getInstance(); $content = ''; Modified: XoopsModules/xpdf/trunk/modules/xpdf/css/style.css =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/css/style.css 2012-05-02 15:28:19 UTC (rev 9425) +++ XoopsModules/xpdf/trunk/modules/xpdf/css/style.css 2012-05-02 21:29:32 UTC (rev 9426) @@ -22,7 +22,7 @@ } .xpdf-categories { - height: 50px; + height: auto; background-color: #eee; border-right: 1px solid #aaa; border-bottom: 1px solid #aaa; Modified: XoopsModules/xpdf/trunk/modules/xpdf/index.php =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/index.php 2012-05-02 15:28:19 UTC (rev 9425) +++ XoopsModules/xpdf/trunk/modules/xpdf/index.php 2012-05-02 21:29:32 UTC (rev 9426) @@ -61,7 +61,7 @@ $count = 1; $keywords = ''; foreach (array_keys($catArray) as $i) { - if ($catArray[$i]->getVar('cat_pid') == 0){ + if ($catArray[$i]->getVar('cat_pid') == 0) { $totaldocuments = xpdf_NumbersOfEntries($mytree, $categories, $docArray, $catArray[$i]->getVar('cat_id')); $subcats_arr = $mytree->getFirstChild($catArray[$i]->getVar('cat_id')); $chcount = 0; @@ -78,7 +78,7 @@ $chcount++; } - $image = XPDF_UPLOAD_CAT_PATH ."/". $catArray[$i]->getVar('cat_image'); + $image = XPDF_UPLOAD_CAT_URL ."/". $catArray[$i]->getVar('cat_image'); $cat_description = $myts->displayTarea($catArray[$i]->getVar('cat_description'), 0); $xoopsTpl->append('categories', array('image' => $image, 'cid' => $catArray[$i]->getVar('cat_id'), 'title' => $catArray[$i]->getVar('cat_title'), 'description' => $cat_description, 'subcategories' => $subcategories, 'totaldocuments' => $totaldocuments, 'count' => $count)); $count++; @@ -166,6 +166,7 @@ $xoTheme->addMeta('meta', 'keywords', strip_tags($GLOBALS['xoopsModuleConfig']['keywords'])); $xoopsTpl->assign('nb_coldoc', $GLOBALS['xoopsModuleConfig']['nb_coldoc']); +$xoopsTpl->assign('adv', $GLOBALS['xoopsModuleConfig']['advertise']); if($GLOBALS['xoopsModuleConfig']['social_active'] == 1) { $social = $GLOBALS['xoopsModuleConfig']['social_code']; $act_social = $GLOBALS['xoopsModuleConfig']['social_active']; Modified: XoopsModules/xpdf/trunk/modules/xpdf/language/english/admin.php =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/language/english/admin.php 2012-05-02 15:28:19 UTC (rev 9425) +++ XoopsModules/xpdf/trunk/modules/xpdf/language/english/admin.php 2012-05-02 21:29:32 UTC (rev 9426) @@ -45,8 +45,10 @@ define("_AM_XPDF_FORMUPLOAD","Upload"); define("_AM_XPDF_FORMIMAGE_PATH","File presents in %s"); define("_AM_XPDF_FORMACTION","Action"); -define("_AM_XPDF_OFF","Offline"); -define("_AM_XPDF_ON","Online"); +define("_AM_XPDF_OFFLINE","Offline"); +define("_AM_XPDF_ONLINE","Online"); +define("_AM_XPDF_CREATEPDF","Create PDF"); +define("_AM_XPDF_DELETEPDF","Delete PDF"); define("_AM_XPDF_CAT_ADD","Add a Category"); define("_AM_XPDF_CAT_EDIT","Edit Category"); Modified: XoopsModules/xpdf/trunk/modules/xpdf/language/english/modinfo.php =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/language/english/modinfo.php 2012-05-02 15:28:19 UTC (rev 9425) +++ XoopsModules/xpdf/trunk/modules/xpdf/language/english/modinfo.php 2012-05-02 21:29:32 UTC (rev 9426) @@ -69,7 +69,10 @@ define('_MI_XPDF_IMGFLOAT_RIGHT', "Float image to Right"); define('_MI_XPDF_NEWDOCS', "New Documents"); define('_MI_XPDF_NEWDOCS_DESC', "New Documents in index page"); -define("_MI_XPDF_EDITOR","Editor"); +define("_MI_XPDF_EDITOR_CAT","Categories Editor"); +define("_MI_XPDF_EDITOR_CAT_DESC","Choose an editor for categories"); +define("_MI_XPDF_EDITOR_DOC","Documents Editor"); +define("_MI_XPDF_EDITOR_DOC_DESC","Choose an editor for documents"); define("_MI_XPDF_KEYWORDS","Keywords"); define("_MI_XPDF_KEYWORDS_DESC","Insert here the keywords (separate by comma)"); define("_MI_XPDF_ADVERTISE","Code of advertise"); Modified: XoopsModules/xpdf/trunk/modules/xpdf/templates/xpdf_footer.html =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/templates/xpdf_footer.html 2012-05-02 15:28:19 UTC (rev 9425) +++ XoopsModules/xpdf/trunk/modules/xpdf/templates/xpdf_footer.html 2012-05-02 21:29:32 UTC (rev 9426) @@ -1,4 +1,4 @@ -<{if $adv != ''}> +<{if $adv != '' && !$xoops_isadmin}> <div class="center"><{$adv}></div> <{/if}> <{if $social_active != 0}> Modified: XoopsModules/xpdf/trunk/modules/xpdf/templates/xpdf_header.html =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/templates/xpdf_header.html 2012-05-02 15:28:19 UTC (rev 9425) +++ XoopsModules/xpdf/trunk/modules/xpdf/templates/xpdf_header.html 2012-05-02 21:29:32 UTC (rev 9426) @@ -2,6 +2,6 @@ <span class="left"><b>Title</b>: <{$smarty.const._MA_XPDF_TITLE}></span><br /> <span class="left"><b>Description</b>: <{$smarty.const._MA_XPDF_DESC}></span> </div> -<{if $adv != ''}> -<br /><div class="xpdf-itemAdv center"><{$adv}></div><br /> +<{if $adv != '' && !$xoops_isadmin}> +<div class="xpdf-itemAdv"><{$adv}></div> <{/if}> Modified: XoopsModules/xpdf/trunk/modules/xpdf/templates/xpdf_viewcat.html =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/templates/xpdf_viewcat.html 2012-05-02 15:28:19 UTC (rev 9425) +++ XoopsModules/xpdf/trunk/modules/xpdf/templates/xpdf_viewcat.html 2012-05-02 21:29:32 UTC (rev 9426) @@ -17,12 +17,12 @@ <div class="floatleft title"> <h2><a title="<{$category.title}>" href="<{$xpdf_url}>/viewcat.php?cid=<{$category.cid}>"><{$category.title}></a></h2> </div> - <div class="floatright total xo-pagact"><a title="<{$category.title}>" href="<{$xpdf_url}>/viewcat.php?cid=<{$category.id}>"><{$category.totaldocuments}></a></div> - <div class="endline"></div> + <div class="marg2 pad2 xo-pagact"> <{$category.totaldocuments}></div> + <div class="clear"></div> </div> <div class="xpdf-body justify"> <{if $category.image != ""}> - <a class="marg1 pad1" title="<{$category.title}>" href="<{$xpdf_url}>/viewcat.php?cid=<{$category.id}>"><img class="<{$img_float}>" src="<{$category.image}>" alt="<{$category.title}>" /></a> + <a class="marg1 pad1" title="<{$category.title}>" href="<{$xpdf_url}>/viewcat.php?cid=<{$category.cid}>"><img class="<{$img_float}>" src="<{$category.image}>" alt="<{$category.title}>" /></a> <{/if}> <{$category.description}> <div class="clear"></div> Modified: XoopsModules/xpdf/trunk/modules/xpdf/viewcat.php =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/viewcat.php 2012-05-02 15:28:19 UTC (rev 9425) +++ XoopsModules/xpdf/trunk/modules/xpdf/viewcat.php 2012-05-02 21:29:32 UTC (rev 9426) @@ -64,7 +64,7 @@ $xoopsTpl->assign('lang_thereare', sprintf(_MA_XPDF_INDEX_THEREARE, count($doc_arr))); // Navigation -$nav_category = xpdf_PathTreeUrl($mytree, $cid, $cat_arr, 'cat_title', $prefix = ' <img src="images/icons/arrow.gif" alt="arrow" /> ', true, 'ASC'); +$nav_category = xpdf_PathTreeUrl($mytree, $cid, $cat_arr, 'cat_title', $prefix = '<img src="images/icons/arrow.gif" alt="arrow" /> ', true, 'ASC'); $xoopsTpl->assign('category_path', $nav_category); // Info category @@ -84,8 +84,9 @@ $subcategories_arr = $mytree->getFirstChild($cat_id); $chcount = 0; $subcategories = ''; + $cat_title = $cat_arr[$i]->getVar('cat_title'); // For keywords - $keywords .= $cat_arr[$i]->getVar('cat_title') . ','; + $keywords .= $cat_title . ','; foreach (array_keys($subcategories_arr) as $j) { if ($chcount >= $GLOBALS['xoopsModuleConfig']['nb_subcat']) { $subcategories .= '<li>[<a href="'. XPDF_URL .'/viewcat.php?cid=' . $cat_id . '">+</a>]</li>'; @@ -93,9 +94,10 @@ } $subcategories .= '<li><a href="'. XPDF_URL .'/viewcat.php?cid=' . $subcategories_arr[$j]->getVar('cat_id') . '">' . $subcategories_arr[$j]->getVar('cat_title') . '</a></li>'; $keywords .= $cat_arr[$i]->getVar('cat_title') . ','; + $image = XPDF_UPLOAD_CAT_PATH ."/". $cat_arr[$i]->getVar('cat_image'); $chcount++; } - $xoopsTpl->append('subcategories', array('image' => $cat_arr[$i]->getVar('cat_image'), 'cid' => $cat_id, 'title' => $cat_arr[$i]->getVar('cat_title'), 'description' => $cat_arr[$i]->getVar('cat_description'), 'infercategories' => $subcategories, 'totaldocuments' => $totaldocuments, 'count' => $count)); + $xoopsTpl->append('subcategories', array('image' => $image, 'cid' => $cat_id, 'title' => $cat_title, 'description' => $cat_arr[$i]->getVar('cat_description'), 'subsubcategories' => $subcategories, 'totaldocuments' => $totaldocuments, 'count' => $count)); $count++; } } @@ -165,21 +167,22 @@ $categories = xpdf_MygetItemIds('xpdf_view', XPDF_DIRNAME); $item = xpdf_MygetItemIds('xpdf_doc_item', XPDF_DIRNAME); foreach (array_keys($doc_arr) as $i) { - if ($doc_arr[$i]->getVar('doc_image') == 'blank.gif'){ - $doc_image = ''; + $doc_image = XPDF_UPLOAD_DOC_URL ."/". $doc_arr[$i]->getVar('doc_image'); + if ($doc_image == 'blank.gif'){ + $image = ''; }else{ - $doc_image = XPDF_UPLOAD_DOC_PATH ."/". $doc_arr[$i]->getVar('doc_image'); + $image = $doc_image; } $datetime = formatTimestamp($doc_arr[$i]->getVar('doc_published'),'s'); $submitter = XoopsUser::getUnameFromId($doc_arr[$i]->getVar('doc_submitter')); $slogan = $doc_arr[$i]->getVar('doc_slogan'); - //to view only the short description + // To view only the short description if (strpos($slogan,'[pagebreak]')==false){ $slogan_short = $slogan; }else{ - $slogan_short = substr($slogan,0,strpos($slogan,'[pagebreak]')); + $slogan_short = substr($slogan, 0, strpos($slogan,'[pagebreak]')); } - // pour les vignettes "new" et "mis \xE0 jour" + // Images for "new" and "updated" $new = xpdf_NewOrUpdate($doc_arr[$i]->getVar('doc_published'), $doc_arr[$i]->getVar('doc_status')); $pop = xpdf_Popular($doc_arr[$i]->getVar('doc_hits')); @@ -217,7 +220,7 @@ $title = $doc_arr[$i]->getVar('doc_title'); $pdfdoc = "<a href='" . XPDF_URL . "/viewdoc.php?did=".$did."' title='"._MA_XPDF_IMG_VIEWPDF."' target='_blank'>"; $pdfdoc .= "<img src='" . XPDF_URL . "/images/22/view_pdf.png' width='22px' height='22px' border='0' alt='".$title."'/></a>"; - $xoopsTpl->append('file', array('did' => $did, 'cid' => $cid, 'title' => $title, 'new' => $new, 'pop' => $pop, 'image' => $doc_image, 'updated' => $datetime, 'slogan' => $slogan_short, 'adminlink' => $adminlink, 'submitter' => $submitter, 'perm_view' => $perm_view, 'online' => $online, 'count' => $cpt, 'pdfdoc' => $pdfdoc)); + $xoopsTpl->append('file', array('did' => $did, 'cid' => $cid, 'title' => $title, 'new' => $new, 'pop' => $pop, 'image' => $image, 'updated' => $datetime, 'slogan' => $slogan_short, 'adminlink' => $adminlink, 'submitter' => $submitter, 'perm_view' => $perm_view, 'online' => $online, 'count' => $cpt, 'pdfdoc' => $pdfdoc)); //For keywords $keywords .= $doc_arr[$i]->getVar('title') . ','; } @@ -232,10 +235,13 @@ $xoTheme->addMeta( 'meta', 'keywords', $keywords); $xoopsTpl->assign('xpdf_url', XPDF_URL); +$xoopsTpl->assign('adv', $GLOBALS['xoopsModuleConfig']['advertise']); -if($GLOBALS['xoopsModuleConfig']['show_social']== 1){ -$social = $GLOBALS['xoopsModuleConfig']['social_code']; -$xoopsTpl->assign('social', $social); } +if($GLOBALS['xoopsModuleConfig']['social_active'] == 1) { +$social = $GLOBALS['xoopsModuleConfig']['social_code']; +$act_social = $GLOBALS['xoopsModuleConfig']['social_active']; +$xoopsTpl->assign('social_active', $act_social); +$xoopsTpl->assign('social_code', $social); } include_once XOOPS_ROOT_PATH."/footer.php"; ?> \ No newline at end of file Modified: XoopsModules/xpdf/trunk/modules/xpdf/xoops_version.php =================================================================== --- XoopsModules/xpdf/trunk/modules/xpdf/xoops_version.php 2012-05-02 15:28:19 UTC (rev 9425) +++ XoopsModules/xpdf/trunk/modules/xpdf/xoops_version.php 2012-05-02 21:29:32 UTC (rev 9426) @@ -112,15 +112,24 @@ // Config $i = 1; -$modversion['config'][$i]['name'] = "xpdf_editor"; -$modversion['config'][$i]['title'] = "_MI_XPDF_EDITOR"; -$modversion['config'][$i]['description'] = "_MI_XPDF_EDITOR_DESC"; +$modversion['config'][$i]['name'] = "xpdf_editor_cat"; +$modversion['config'][$i]['title'] = "_MI_XPDF_EDITOR_CAT"; +$modversion['config'][$i]['description'] = "_MI_XPDF_EDITOR_CAT_DESC"; $modversion['config'][$i]['formtype'] = "select"; $modversion['config'][$i]['valuetype'] = "text"; $modversion['config'][$i]['default'] = "dhtmltextarea"; $modversion['config'][$i]['options'] = XoopsLists::getEditorList(); $modversion['config'][$i]['category'] = "global"; $i++; +$modversion['config'][$i]['name'] = "xpdf_editor_doc"; +$modversion['config'][$i]['title'] = "_MI_XPDF_EDITOR_DOC"; +$modversion['config'][$i]['description'] = "_MI_XPDF_EDITOR_DOC_DESC"; +$modversion['config'][$i]['formtype'] = "select"; +$modversion['config'][$i]['valuetype'] = "text"; +$modversion['config'][$i]['default'] = "tinymce"; +$modversion['config'][$i]['options'] = XoopsLists::getEditorList(); +$modversion['config'][$i]['category'] = "global"; +$i++; $modversion['config'][$i]['name'] = "keywords"; $modversion['config'][$i]['title'] = "_MI_XPDF_KEYWORDS"; $modversion['config'][$i]['description'] = "_MI_XPDF_KEYWORDS_DESC"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |