From: <be...@us...> - 2012-09-26 09:52:25
|
Revision: 10191 http://xoops.svn.sourceforge.net/xoops/?rev=10191&view=rev Author: beckmi Date: 2012-09-26 09:52:13 +0000 (Wed, 26 Sep 2012) Log Message: ----------- Small English corrections Modified Paths: -------------- XoopsModules/contact/branches/voltan/v1.8/contact/admin/about.php XoopsModules/contact/branches/voltan/v1.8/contact/admin/contact.php XoopsModules/contact/branches/voltan/v1.8/contact/admin/footer.php XoopsModules/contact/branches/voltan/v1.8/contact/admin/header.php XoopsModules/contact/branches/voltan/v1.8/contact/admin/index.php XoopsModules/contact/branches/voltan/v1.8/contact/admin/menu.php XoopsModules/contact/branches/voltan/v1.8/contact/admin/tools.php XoopsModules/contact/branches/voltan/v1.8/contact/ajax.php XoopsModules/contact/branches/voltan/v1.8/contact/class/contact.php XoopsModules/contact/branches/voltan/v1.8/contact/header.php XoopsModules/contact/branches/voltan/v1.8/contact/include/functions.php XoopsModules/contact/branches/voltan/v1.8/contact/include/functions_update.php XoopsModules/contact/branches/voltan/v1.8/contact/index.php XoopsModules/contact/branches/voltan/v1.8/contact/language/english/modinfo.php XoopsModules/contact/branches/voltan/v1.8/contact/xoops_version.php Modified: XoopsModules/contact/branches/voltan/v1.8/contact/admin/about.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/admin/about.php 2012-09-25 06:31:40 UTC (rev 10190) +++ XoopsModules/contact/branches/voltan/v1.8/contact/admin/about.php 2012-09-26 09:52:13 UTC (rev 10191) @@ -1,4 +1,4 @@ -<?php +<?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 @@ -14,22 +14,22 @@ * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @author Kazumi Ono (AKA Voltan) + * @author Kazumi Ono (aka Onokazu) * @author Trabis <lus...@gm...> * @author Hossein Azizabadi (AKA Voltan) * @version $Id$ - */ - -// Call header + */ + +// Call header require dirname(__FILE__) . '/header.php'; -// Display Admin header +// Display Admin header xoops_cp_header(); $xoopsTpl->assign('navigation', $admin_class->addNavigation('about.php')); -$xoopsTpl->assign('renderabout', $admin_class->renderabout('6KJ7RW5DR3VTJ', false)); +$xoopsTpl->assign('renderabout', $admin_class->renderabout('6KJ7RW5DR3VTJ', false)); -// Call template file -$xoopsTpl->display(XOOPS_ROOT_PATH . '/modules/contact/templates/admin/contact_about.html'); -// Call footer +// Call template file +$xoopsTpl->display(XOOPS_ROOT_PATH . '/modules/contact/templates/admin/contact_about.html'); +// Call footer require dirname(__FILE__) . '/footer.php'; ?> \ No newline at end of file Modified: XoopsModules/contact/branches/voltan/v1.8/contact/admin/contact.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/admin/contact.php 2012-09-25 06:31:40 UTC (rev 10190) +++ XoopsModules/contact/branches/voltan/v1.8/contact/admin/contact.php 2012-09-26 09:52:13 UTC (rev 10191) @@ -1,4 +1,4 @@ -<?php +<?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 @@ -14,77 +14,77 @@ * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @author Kazumi Ono (AKA Voltan) + * @author Kazumi Ono (aka Onokazu) * @author Trabis <lus...@gm...> * @author Hossein Azizabadi (AKA Voltan) * @version $Id$ - */ - -// Call header + */ + +// Call header require dirname(__FILE__) . '/header.php'; -// Display Admin header +// Display Admin header xoops_cp_header(); // Define default value $op = $contact_handler->Contact_CleanVars($_REQUEST, 'op', 'list', 'string'); $contact_id = $contact_handler->Contact_CleanVars($_REQUEST, 'id', '0', 'int'); -// Define scripts -$xoTheme->addScript('browse.php?Frameworks/jquery/jquery.js'); +// Define scripts +$xoTheme->addScript('browse.php?Frameworks/jquery/jquery.js'); $xoTheme->addScript('browse.php?Frameworks/jquery/plugins/jquery.ui.js'); -$xoTheme->addScript(XOOPS_URL . '/modules/contact/js/admin.js'); -// Add module stylesheet -$xoTheme->addStylesheet(XOOPS_URL . '/modules/contact/css/admin.css'); -$xoTheme->addStylesheet(XOOPS_URL . '/modules/system/css/ui/' . xoops_getModuleOption('jquery_theme', 'system') . '/ui.all.css'); +$xoTheme->addScript(XOOPS_URL . '/modules/contact/js/admin.js'); +// Add module stylesheet +$xoTheme->addStylesheet(XOOPS_URL . '/modules/contact/css/admin.css'); +$xoTheme->addStylesheet(XOOPS_URL . '/modules/system/css/ui/' . xoops_getModuleOption('jquery_theme', 'system') . '/ui.all.css'); $xoTheme->addStylesheet(XOOPS_URL . '/modules/system/css/admin.css'); -switch ($op) +switch ($op) { case 'list': $contact = array(); - $contact['perpage'] = xoops_getModuleOption('admin_perpage','contact'); - $contact['order'] = 'DESC'; + $contact['perpage'] = xoops_getModuleOption('admin_perpage','contact'); + $contact['order'] = 'DESC'; $contact['sort'] = 'contact_id'; - // get limited information - if (isset($_REQUEST['limit'])) { - $contact['limit'] = $contact_handler->Contact_CleanVars($_REQUEST, 'limit', 0, 'int'); - } else { - $contact['limit'] = $contact['perpage']; - } - - // get start information - if (isset($_REQUEST['start'])) { - $contact['start'] = $contact_handler->Contact_CleanVars($_REQUEST, 'start', 0, 'int'); - } else { - $contact['start'] = 0; + // get limited information + if (isset($_REQUEST['limit'])) { + $contact['limit'] = $contact_handler->Contact_CleanVars($_REQUEST, 'limit', 0, 'int'); + } else { + $contact['limit'] = $contact['perpage']; + } + + // get start information + if (isset($_REQUEST['start'])) { + $contact['start'] = $contact_handler->Contact_CleanVars($_REQUEST, 'start', 0, 'int'); + } else { + $contact['start'] = 0; } $contact_numrows = $contact_handler->Contact_GetCount('contact_cid'); $contacts = $contact_handler->Contact_GetAdminList($contact , 'contact_cid'); - if ($contact_numrows > $contact['limit']) { - $contact_pagenav = new XoopsPageNav($contact_numrows, $contact['limit'], $contact['start'], 'start', 'limit=' . $contact['limit']); - $contact_pagenav = $contact_pagenav->renderNav(4); - } else { - $contact_pagenav = ''; + if ($contact_numrows > $contact['limit']) { + $contact_pagenav = new XoopsPageNav($contact_numrows, $contact['limit'], $contact['start'], 'start', 'limit=' . $contact['limit']); + $contact_pagenav = $contact_pagenav->renderNav(4); + } else { + $contact_pagenav = ''; } - $xoopsTpl->assign('contacts', $contacts); + $xoopsTpl->assign('contacts', $contacts); $xoopsTpl->assign('contact_pagenav', $contact_pagenav); $level = 'list'; break; case 'reply': - if ($contact_id > 0) { + if ($contact_id > 0) { $obj = $contact_handler->get($contact_id); if($obj->getVar('contact_cid') != 0) { redirect_header ( 'contact.php', 3, _AM_CONTACT_CANTREPLY); - } + } $form = $obj->Contact_ReplyForm(); $xoopsTpl->assign('replyform', $form->render()); - $xoopsTpl->assign('replylist', $contact_handler->Contact_GetReply($contact_id)); - } else { - redirect_header ( 'contact.php', 3, _AM_CONTACT_MSG_EXIST); + $xoopsTpl->assign('replylist', $contact_handler->Contact_GetReply($contact_id)); + } else { + redirect_header ( 'contact.php', 3, _AM_CONTACT_MSG_EXIST); } $level = 'reply'; break; @@ -165,11 +165,11 @@ case 'delete': if ($contact_id > 0) { - // Prompt message + // 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); - } + } else { + redirect_header ( 'contact.php', 3, _AM_CONTACT_MSG_EXIST); + } $level = 'delete'; break; @@ -201,8 +201,8 @@ $xoopsTpl->assign('navigation', $admin_class->addNavigation('contact.php')); $xoopsTpl->assign('level', $level); -// Call template file -$xoopsTpl->display(XOOPS_ROOT_PATH . '/modules/contact/templates/admin/contact_contact.html'); -// Call footer +// Call template file +$xoopsTpl->display(XOOPS_ROOT_PATH . '/modules/contact/templates/admin/contact_contact.html'); +// Call footer require dirname(__FILE__) . '/footer.php'; ?> \ No newline at end of file Modified: XoopsModules/contact/branches/voltan/v1.8/contact/admin/footer.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/admin/footer.php 2012-09-25 06:31:40 UTC (rev 10190) +++ XoopsModules/contact/branches/voltan/v1.8/contact/admin/footer.php 2012-09-26 09:52:13 UTC (rev 10191) @@ -1,4 +1,4 @@ -<?php +<?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 @@ -14,7 +14,7 @@ * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @author Kazumi Ono (AKA Voltan) + * @author Kazumi Ono (aka Onokazu) * @author Trabis <lus...@gm...> * @author Hossein Azizabadi (AKA Voltan) * @version $Id$ Modified: XoopsModules/contact/branches/voltan/v1.8/contact/admin/header.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/admin/header.php 2012-09-25 06:31:40 UTC (rev 10190) +++ XoopsModules/contact/branches/voltan/v1.8/contact/admin/header.php 2012-09-26 09:52:13 UTC (rev 10191) @@ -1,4 +1,4 @@ -<?php +<?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 @@ -14,40 +14,40 @@ * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @author Kazumi Ono (AKA Voltan) + * @author Kazumi Ono (aka Onokazu) * @author Trabis <lus...@gm...> * @author Hossein Azizabadi (AKA Voltan) * @version $Id$ */ - + $path = dirname(dirname(dirname(dirname(__FILE__)))); - -include_once $path . '/mainfile.php'; -include_once XOOPS_ROOT_PATH . '/include/cp_functions.php'; + +include_once $path . '/mainfile.php'; +include_once XOOPS_ROOT_PATH . '/include/cp_functions.php'; include_once XOOPS_ROOT_PATH . '/include/cp_header.php'; include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; -include_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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'); +include_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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'); + // Contact Handler $contact_handler = & xoops_getModuleHandler ( 'contact', 'contact' ); -// Locad admin menu class -if ( file_exists($GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'))){ - include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); -}else{ - redirect_header("../../../admin.php", 5, _AM_MODULEADMIN_MISSING, false); +// Locad admin menu class +if ( file_exists($GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); +}else{ + redirect_header("../../../admin.php", 5, _AM_MODULEADMIN_MISSING, false); } $admin_class = new ModuleAdmin(); \ No newline at end of file Modified: XoopsModules/contact/branches/voltan/v1.8/contact/admin/index.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/admin/index.php 2012-09-25 06:31:40 UTC (rev 10190) +++ XoopsModules/contact/branches/voltan/v1.8/contact/admin/index.php 2012-09-26 09:52:13 UTC (rev 10191) @@ -1,4 +1,4 @@ -<?php +<?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 @@ -14,25 +14,25 @@ * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @author Kazumi Ono (AKA Voltan) + * @author Kazumi Ono (aka Onokazu) * @author Trabis <lus...@gm...> * @author Hossein Azizabadi (AKA Voltan) * @version $Id$ - */ - -// Call header + */ + +// Call header require dirname(__FILE__) . '/header.php'; -// Display Admin header -xoops_cp_header(); +// Display Admin header +xoops_cp_header(); -// Display Admin menu class +// Display Admin menu class $admin_class->addInfoBox(_AM_CONTACT_INDEX_ADMENU1); -$admin_class->addInfoBoxLine(_AM_CONTACT_INDEX_ADMENU1, _AM_CONTACT_INDEX_TOTAL, $contact_handler->Contact_GetCount('contact_cid')); +$admin_class->addInfoBoxLine(_AM_CONTACT_INDEX_ADMENU1, _AM_CONTACT_INDEX_TOTAL, $contact_handler->Contact_GetCount('contact_cid')); $xoopsTpl->assign('navigation', $admin_class->addNavigation('index.php')); $xoopsTpl->assign('renderindex', $admin_class->renderIndex()); -// Call template file -$xoopsTpl->display(XOOPS_ROOT_PATH . '/modules/contact/templates/admin/contact_index.html'); -// Call footer +// Call template file +$xoopsTpl->display(XOOPS_ROOT_PATH . '/modules/contact/templates/admin/contact_index.html'); +// Call footer require dirname(__FILE__) . '/footer.php'; ?> \ No newline at end of file Modified: XoopsModules/contact/branches/voltan/v1.8/contact/admin/menu.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/admin/menu.php 2012-09-25 06:31:40 UTC (rev 10190) +++ XoopsModules/contact/branches/voltan/v1.8/contact/admin/menu.php 2012-09-26 09:52:13 UTC (rev 10191) @@ -1,23 +1,23 @@ <?php -/* - You may not change or alter any portion of this comment or credits - of supporting developers from this source code or any supporting source code - which is considered copyrighted (c) material of the original comment or credit authors. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ - -/** - * Contact module - * - * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @author Kazumi Ono (AKA Voltan) - * @author Trabis <lus...@gm...> - * @author Hossein Azizabadi (AKA Voltan) - * @version $Id$ +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +*/ + +/** + * Contact module + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @author Kazumi Ono (aka Onokazu) + * @author Trabis <lus...@gm...> + * @author Hossein Azizabadi (AKA Voltan) + * @version $Id$ */ defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined"); @@ -40,12 +40,12 @@ $adminmenu[$i]["title"] = _MI_CONTACT_MENU_CONTACT; $adminmenu[$i]["link"] = "admin/contact.php"; $adminmenu[$i]["desc"] = _MI_CONTACT_MENU_CONTACT_DESC; -$adminmenu[$i]["icon"] = $pathIcon32.'/content.png'; +$adminmenu[$i]["icon"] = $pathIcon32.'/content.png'; $i++; $adminmenu[$i]["title"] = _MI_CONTACT_MENU_TOOLS; $adminmenu[$i]["link"] = "admin/tools.php"; $adminmenu[$i]["desc"] = _MI_CONTACT_MENU_TOOLS_DESC; -$adminmenu[$i]["icon"] = $pathIcon32.'/exec.png'; +$adminmenu[$i]["icon"] = $pathIcon32.'/exec.png'; $i++; $adminmenu[$i]["title"] = _MI_CONTACT_MENU_ABOUT; $adminmenu[$i]["link"] = "admin/about.php"; Modified: XoopsModules/contact/branches/voltan/v1.8/contact/admin/tools.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/admin/tools.php 2012-09-25 06:31:40 UTC (rev 10190) +++ XoopsModules/contact/branches/voltan/v1.8/contact/admin/tools.php 2012-09-26 09:52:13 UTC (rev 10191) @@ -1,4 +1,4 @@ -<?php +<?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 @@ -14,20 +14,20 @@ * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @author Kazumi Ono (AKA Voltan) + * @author Kazumi Ono (aka Onokazu) * @author Trabis <lus...@gm...> * @author Hossein Azizabadi (AKA Voltan) * @version $Id$ - */ - -// Call header + */ + +// Call header require dirname(__FILE__) . '/header.php'; -// Display Admin header +// Display Admin header xoops_cp_header(); // Define default value $op = $contact_handler->Contact_CleanVars($_REQUEST, 'op', 'list', 'string'); -switch ($op) +switch ($op) { case 'list': // prune manager @@ -54,8 +54,8 @@ } $xoopsTpl->assign('navigation', $admin_class->addNavigation('tools.php')); -// Call template file -$xoopsTpl->display(XOOPS_ROOT_PATH . '/modules/contact/templates/admin/contact_tools.html'); -// Call footer +// Call template file +$xoopsTpl->display(XOOPS_ROOT_PATH . '/modules/contact/templates/admin/contact_tools.html'); +// Call footer require dirname(__FILE__) . '/footer.php'; ?> \ No newline at end of file Modified: XoopsModules/contact/branches/voltan/v1.8/contact/ajax.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/ajax.php 2012-09-25 06:31:40 UTC (rev 10190) +++ XoopsModules/contact/branches/voltan/v1.8/contact/ajax.php 2012-09-26 09:52:13 UTC (rev 10191) @@ -1,4 +1,4 @@ -<?php +<?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 @@ -14,7 +14,7 @@ * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @author Kazumi Ono (AKA Voltan) + * @author Kazumi Ono (aka Onokazu) * @author Trabis <lus...@gm...> * @author Hossein Azizabadi (AKA Voltan) * @version $Id$ Modified: XoopsModules/contact/branches/voltan/v1.8/contact/class/contact.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/class/contact.php 2012-09-25 06:31:40 UTC (rev 10190) +++ XoopsModules/contact/branches/voltan/v1.8/contact/class/contact.php 2012-09-26 09:52:13 UTC (rev 10191) @@ -14,7 +14,7 @@ * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @author Kazumi Ono (AKA Voltan) + * @author Kazumi Ono (aka Onokazu) * @author Trabis <lus...@gm...> * @author Hossein Azizabadi (AKA Voltan) * @version $Id$ Modified: XoopsModules/contact/branches/voltan/v1.8/contact/header.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/header.php 2012-09-25 06:31:40 UTC (rev 10190) +++ XoopsModules/contact/branches/voltan/v1.8/contact/header.php 2012-09-26 09:52:13 UTC (rev 10191) @@ -1,4 +1,4 @@ -<?php +<?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 @@ -14,7 +14,7 @@ * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @author Kazumi Ono (AKA Voltan) + * @author Kazumi Ono (aka Onokazu) * @author Trabis <lus...@gm...> * @author Hossein Azizabadi (AKA Voltan) * @version $Id$ Modified: XoopsModules/contact/branches/voltan/v1.8/contact/include/functions.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/include/functions.php 2012-09-25 06:31:40 UTC (rev 10190) +++ XoopsModules/contact/branches/voltan/v1.8/contact/include/functions.php 2012-09-26 09:52:13 UTC (rev 10191) @@ -1,4 +1,4 @@ -<?php +<?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 @@ -14,10 +14,10 @@ * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @author Kazumi Ono (AKA Voltan) + * @author Kazumi Ono (aka Onokazu) * @author Trabis <lus...@gm...> * @author Hossein Azizabadi (AKA Voltan) * @version $Id$ - */ + */ ?> \ No newline at end of file Modified: XoopsModules/contact/branches/voltan/v1.8/contact/include/functions_update.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/include/functions_update.php 2012-09-25 06:31:40 UTC (rev 10190) +++ XoopsModules/contact/branches/voltan/v1.8/contact/include/functions_update.php 2012-09-26 09:52:13 UTC (rev 10191) @@ -1,4 +1,4 @@ -<?php +<?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 @@ -14,7 +14,7 @@ * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @author Kazumi Ono (AKA Voltan) + * @author Kazumi Ono (aka Onokazu) * @author Trabis <lus...@gm...> * @author Hossein Azizabadi (AKA Voltan) * @version $Id$ @@ -47,7 +47,7 @@ ) ENGINE=MyISAM;"; $db->query($sql); } - + } ?> \ No newline at end of file Modified: XoopsModules/contact/branches/voltan/v1.8/contact/index.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/index.php 2012-09-25 06:31:40 UTC (rev 10190) +++ XoopsModules/contact/branches/voltan/v1.8/contact/index.php 2012-09-26 09:52:13 UTC (rev 10191) @@ -1,4 +1,4 @@ -<?php +<?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 @@ -14,7 +14,7 @@ * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @author Kazumi Ono (AKA Voltan) + * @author Kazumi Ono (aka Onokazu) * @author Trabis <lus...@gm...> * @author Hossein Azizabadi (AKA Voltan) * @version $Id$ @@ -32,8 +32,8 @@ switch($op) { case 'form': default: - $obj = $contact_handler->create(); - $form = $obj->Contact_ContactForm($department); + $obj = $contact_handler->create(); + $form = $obj->Contact_ContactForm($department); $xoopsTpl->assign('form', $form->render()); $xoopsTpl->assign('breadcrumb', '<a href="' . XOOPS_URL . '">' . _YOURHOME . '</a> » ' . $xoopsModule->name()); $xoopsTpl->assign('info', xoops_getModuleOption('contact_info','contact')); @@ -47,11 +47,11 @@ } else { // check captcha - xoops_load("captcha"); - $xoopsCaptcha = XoopsCaptcha::getInstance(); - if ( !$xoopsCaptcha->verify() ) { + xoops_load("captcha"); + $xoopsCaptcha = XoopsCaptcha::getInstance(); + if ( !$xoopsCaptcha->verify() ) { redirect_header ( "javascript:history.go(-1)", 1, $xoopsCaptcha->getMessage() ); - exit(); + exit(); } // check email Modified: XoopsModules/contact/branches/voltan/v1.8/contact/language/english/modinfo.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/language/english/modinfo.php 2012-09-25 06:31:40 UTC (rev 10190) +++ XoopsModules/contact/branches/voltan/v1.8/contact/language/english/modinfo.php 2012-09-26 09:52:13 UTC (rev 10191) @@ -4,15 +4,15 @@ // The name of this module define("_MI_CONTACT_NAME","Contact Us"); -define("_MI_CONTACT_DESC","Email contact page"); +define("_MI_CONTACT_DESC","Contact module with email and DB storage"); // Admin menu define('_MI_CONTACT_MENU_HOME',"Home"); define("_MI_CONTACT_MENU_HOME_DESC","Go back to Home"); define('_MI_CONTACT_MENU_CONTACT',"Messages"); define("_MI_CONTACT_MENU_CONTACT_DESC","List of Messages"); -define('_MI_CONTACT_MENU_TOOLS',"Tools"); -define("_MI_CONTACT_MENU_TOOLS_DESC","Module Tools"); +define('_MI_CONTACT_MENU_TOOLS',"Purge"); +define("_MI_CONTACT_MENU_TOOLS_DESC","Purge Tools"); define("_MI_CONTACT_MENU_ABOUT", "About"); define("_MI_CONTACT_MENU_ABOUT_DESC" , "About this module"); define("_MI_CONTACT_MENU_HELP","Help"); @@ -44,7 +44,7 @@ ."dept1,email1|dept2,email2|dept3,email3 etc. - each department and email must be separated<br />" ."by a comma ',', and each department email combination must be separated by a pipe '|'"); -define("_MI_CONTACT_PERPAGE","Per page"); +define("_MI_CONTACT_PERPAGE","Messages per page"); define("_MI_CONTACT_PERPAGE_DESC",""); define("_MI_CONTACT_TOPINFO","Header contact form"); Modified: XoopsModules/contact/branches/voltan/v1.8/contact/xoops_version.php =================================================================== --- XoopsModules/contact/branches/voltan/v1.8/contact/xoops_version.php 2012-09-25 06:31:40 UTC (rev 10190) +++ XoopsModules/contact/branches/voltan/v1.8/contact/xoops_version.php 2012-09-26 09:52:13 UTC (rev 10191) @@ -14,7 +14,7 @@ * * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @author Kazumi Ono (AKA Voltan) + * @author Kazumi Ono (aka Onokazu) * @author Trabis <lus...@gm...> * @author Hossein Azizabadi (AKA Voltan) * @version $Id$ @@ -30,8 +30,8 @@ $modversion['version'] = 1.8; $modversion['description'] = _MI_CONTACT_DESC; $modversion['credits'] = 'The XOOPS Project, Mohtava Project'; -$modversion['author'] = 'Kazumi Ono (Onokazu), modified by Trabis, rewrite by Voltan'; -$modversion['nickname'] = 'Kazumi Ono, Trabis, Voltan'; +$modversion['author'] = 'Kazumi Ono (Onokazu), modified by Trabis, rewritten by Voltan'; +$modversion['nickname'] = ''; $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. |