From: <be...@us...> - 2012-08-08 07:16:16
|
Revision: 10020 http://xoops.svn.sourceforge.net/xoops/?rev=10020&view=rev Author: beckmi Date: 2012-08-08 07:16:09 +0000 (Wed, 08 Aug 2012) Log Message: ----------- Updating Module Pack (Contact) Modified Paths: -------------- XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/admin/admin_footer.php XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/admin/admin_header.php XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/docs/changelog.txt XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/docs/install.txt XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/docs/lang_diff.txt XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/docs/readme.txt XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/language/english/admin.php XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/language/french/admin.php XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/xoops_version.php Added Paths: ----------- XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/docs/readme.html Removed Paths: ------------- XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/readme.html Modified: XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/admin/admin_footer.php =================================================================== --- XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/admin/admin_footer.php 2012-08-08 07:14:09 UTC (rev 10019) +++ XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/admin/admin_footer.php 2012-08-08 07:16:09 UTC (rev 10020) @@ -19,10 +19,10 @@ **/ echo "<div class='adminfooter'>\n" - ." <div style='text-align: center;'>\n" - ." <a href='http://www.xoops.org' target='_blank'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" - ." </div>\n" - ." " . _AM_ADMIN_FOOTER . "\n" - ."</div>"; + ." <div style='text-align: center;'>\n" + ." <a href='http://www.xoops.org' rel='external'><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 +xoops_cp_footer(); \ No newline at end of file Modified: XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/admin/admin_header.php =================================================================== --- XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/admin/admin_header.php 2012-08-08 07:14:09 UTC (rev 10019) +++ XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/admin/admin_header.php 2012-08-08 07:16:09 UTC (rev 10020) @@ -46,5 +46,5 @@ 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); + redirect_header("../../../admin.php", 5, _AM_CONTACT_MODULEADMIN_MISSING, false); } \ No newline at end of file Modified: XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/docs/changelog.txt =================================================================== --- XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/docs/changelog.txt 2012-08-08 07:14:09 UTC (rev 10019) +++ XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/docs/changelog.txt 2012-08-08 07:16:09 UTC (rev 10020) @@ -1,3 +1,8 @@ +Version 1.72 from 2012-04-02 (Mamba) +================================= +- small code clean-up for consistency + + Version 1.71 from 2011-12-12 (Mamba) ================================= - converted to XOOPS Standard Module GUI Modified: XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/docs/install.txt =================================================================== --- XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/docs/install.txt 2012-08-08 07:14:09 UTC (rev 10019) +++ XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/docs/install.txt 2012-08-08 07:16:09 UTC (rev 10020) @@ -1,4 +1,6 @@ INSTALL/UNISTALL ================= -In order to install the module please do following: \ No newline at end of file +No special measures necessary, follow the standard installation process and extract the module folder into the ../modules directory. Install the module through Admin -> System Module -> Modules. + +Detailed instructions on installing modules are available in the XOOPS Operations Manual: http://goo.gl/adT2i \ No newline at end of file Modified: XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/docs/lang_diff.txt =================================================================== --- XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/docs/lang_diff.txt 2012-08-08 07:14:09 UTC (rev 10019) +++ XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/docs/lang_diff.txt 2012-08-08 07:16:09 UTC (rev 10020) @@ -19,11 +19,4 @@ define("_AM_CONTACT_ABOUT_CHANGELOG", "Change Log"); define("_AM_CONTACT_ABOUT_MODULE_INFO", "Module Infos"); define("_AM_CONTACT_ABOUT_AUTHOR_INFO", "Author Infos"); -define("_AM_CONTACT_ABOUT_DESCRIPTION", "Description: "); - -// Configuration -define("_AM_CONTACT_CONFIG","Configuration Check"); -define("_AM_CONTACT_CONFIG_PHP","Minimum PHP required: %s (your version is %s)"); -define("_AM_CONTACT_CONFIG_XOOPS","Minimum XOOPS required: %s (your version is %s)"); -// Text for Admin footer -define("_AM_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>Contact is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file +define("_AM_CONTACT_ABOUT_DESCRIPTION", "Description: "); \ No newline at end of file Added: XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/docs/readme.html =================================================================== --- XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/docs/readme.html (rev 0) +++ XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/docs/readme.html 2012-08-08 07:16:09 UTC (rev 10020) @@ -0,0 +1,70 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<title>Contact v1.6 for XOOPS 2.0.13x</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +</head> + +<body> +<h1>Contact - Not just another <u>Contact Us</u> page!</h1> +<p>The first question that always comes to mind when someone see's a module like this is - <i>Why?</i><br /><br /> +For starters, there are many other versions of a Contact Us module out there - but guess what, none of them +did what I needed, or the client I wrote this for. As with any module <a href="http://xoops.ibdeeming.com" target="_blank">XOOPS</a>@<a href="http://www.ibdeeming.com" target="_blank">IBDeeming!</a> +puts out, I always find more options and configs that can be added. I think I have stretched this one out, and +really expect it will meet most any need out there! Whew - now check this out...</p> +<h2>Contact v1.6 - Updates to email deep check and From addressee</h2> +<p>For the most part, this module is the same as v1.5. The upgrade path is very simple. The changes made are +<ul><li>New deep check validation on submitted return email addresses<ul><li>The problem was with the socket command. Added routine to verify +MX records first. This sped up the overall check routine.</li></ul></li><li>Added AAINC (XOOPS@IBDeeming! User) suggestion for Fomr email who</li></ul> +</p> +<p>Upgrading from V1.5 - V1.6 is very easy! Just copy the files, log-in as admin, go to Modules control, and Update the Contact-Us module. +If you are successful, you should see version 1.6.</p> +<h2>Contact V1.5 - Based on the original by Skalpa - but nothing like it anymore!</h2> +<p><u>Contact v1.5</u> has many new features, so many that it doesn't really look like the original. First off, there are +<b>Settings</b> and <b>General</b> configs that can be applied to the <u>Contact</u> module. +<ul> + <li>Settings + <ul> + <li>Send Confirmation Switch - Basically allows the user to copy themselves on correspondence to you of your department (more on that).</li> + <li>Collect ICQ - on or off</li> + <li>Collect URL - on or off</li> + <li>Collect Company - on or off</li> + <li>Collect Location - on or off</li> + <li>Collect Address - on or off</li> + <li>Add Security Check - Security graphic - know why? It's really easy to SPAM your site with <u>Contact</u> emails, this will help deter + <ul> + <li>Sitekey definition - allows you to seed granularity</li> + </ul> + </li> + <li>Redirect Timeout - Allows you to set how long the redirect page is shown to the user</li> + <li>Validate Domain - Allows you to actually "deep-scan" the domain and tld for validity</li> + </ul> + </li> + <li>General + <ul> + <li>Intorduction - You can turn it on, set the heading, and the text displayed. This is great for businesses that want to show off their SNAIL address and phone numbers</li> + <li>Contact heading - What is your form called?</li> + <li>Thank You message - what your user sees</li> + <li>Department Definition - this is cool! Basically you can set up departments and have them assigned to dirfferent email addresses than just the site admin.</li> + <li>More Info - Have you ever seen those commercial contact pages where you can select from various topics to get more info? Now you can do it too!</li> + </ul> + </li> +</ul> +</p> +<h2>So, How do I install <u>Contact?</u></h2> +<p>It's really simple! + <ol> + <li>Deactivate your current Contact module</li> + <li>Uninstall the current Contact module</li> + <li>Copy <u>Contact v1.5</u> top your modules directory, overwrite all files!</li> + <li>Install <u>Contact v1.5</u></li> + <li>Verify your <u>Setting</u> and <u>General</u> sections of Contact from the Admin screen</li> + <li>Done!</li> + </ol> +</p> +<h2><a href="http://xoops.ibdeeming.com" target="_blank">XOOPS</a>@<a href="http://www.ibdeeming.com" target="_blank">IBDeeming!</a> Thanks You!</h2> +<p>I appreciate you taking the time to download and use the modules created by us. If you have nay questions, you are encouraged +to stop by and post them on our site.<br /><br />If you find our modules are worthwhile, and feel +the need to somehow donate back to our time spent, feel free to visit the site and select the donation icon! We appreciate your support!</p> +</body> +</html> Modified: XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/docs/readme.txt =================================================================== --- XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/docs/readme.txt 2012-08-08 07:14:09 UTC (rev 10019) +++ XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/docs/readme.txt 2012-08-08 07:16:09 UTC (rev 10020) @@ -11,8 +11,8 @@ _____________________________________________________________________ CONTACT is a XOOPS module designed to provide XOOPS website with Contact Us area. - This module provides Contact Information Area which can be configurated by adminstrator panel. - + This module provides Contact Information Area which can be configured in the Admin area. + 3. Requirements _____________________________________________________________________ Modified: XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/language/english/admin.php =================================================================== --- XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/language/english/admin.php 2012-08-08 07:14:09 UTC (rev 10019) +++ XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/language/english/admin.php 2012-08-08 07:16:09 UTC (rev 10020) @@ -40,9 +40,5 @@ define("_AM_CONTACT_ABOUT_AUTHOR_INFO", "Author Infos"); define("_AM_CONTACT_ABOUT_DESCRIPTION", "Description: "); -// Configuration -define("_AM_CONTACT_CONFIG","Configuration Check"); -define("_AM_CONTACT_CONFIG_PHP","Minimum PHP required: %s (your version is %s)"); -define("_AM_CONTACT_CONFIG_XOOPS","Minimum XOOPS required: %s (your version is %s)"); -// Text for Admin footer -define("_AM_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>Contact is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file +//ModuleAdmin +define('_AM_CONTACT_MODULEADMIN_MISSING','Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); Modified: XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/language/french/admin.php =================================================================== --- XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/language/french/admin.php 2012-08-08 07:14:09 UTC (rev 10019) +++ XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/language/french/admin.php 2012-08-08 07:16:09 UTC (rev 10020) @@ -40,9 +40,5 @@ define("_AM_CONTACT_ABOUT_AUTHOR_INFO", "Author Infos"); define("_AM_CONTACT_ABOUT_DESCRIPTION", "Description: "); -// Configuration -define("_AM_CONTACT_CONFIG","Configuration Check"); -define("_AM_CONTACT_CONFIG_PHP","Minimum PHP required: %s (your version is %s)"); -define("_AM_CONTACT_CONFIG_XOOPS","Minimum XOOPS required: %s (your version is %s)"); -// Text for Admin footer -define("_AM_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>Contact is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); \ No newline at end of file +//ModuleAdmin +define('_AM_CONTACT_MODULEADMIN_MISSING','Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); Deleted: XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/readme.html =================================================================== --- XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/readme.html 2012-08-08 07:14:09 UTC (rev 10019) +++ XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/readme.html 2012-08-08 07:16:09 UTC (rev 10020) @@ -1,70 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<title>Contact v1.6 for XOOPS 2.0.13x</title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -</head> - -<body> -<h1>Contact - Not just another <u>Contact Us</u> page!</h1> -<p>The first question that always comes to mind when someone see's a module like this is - <i>Why?</i><br /><br /> -For starters, there are many other versions of a Contact Us module out there - but guess what, none of them -did what I needed, or the client I wrote this for. As with any module <a href="http://xoops.ibdeeming.com" target="_blank">XOOPS</a>@<a href="http://www.ibdeeming.com" target="_blank">IBDeeming!</a> -puts out, I always find more options and configs that can be added. I think I have stretched this one out, and -really expect it will meet most any need out there! Whew - now check this out...</p> -<h2>Contact v1.6 - Updates to email deep check and From addressee</h2> -<p>For the most part, this module is the same as v1.5. The upgrade path is very simple. The changes made are -<ul><li>New deep check validation on submitted return email addresses<ul><li>The problem was with the socket command. Added routine to verify -MX records first. This sped up the overall check routine.</li></ul></li><li>Added AAINC (XOOPS@IBDeeming! User) suggestion for Fomr email who</li></ul> -</p> -<p>Upgrading from V1.5 - V1.6 is very easy! Just copy the files, log-in as admin, go to Modules control, and Update the Contact-Us module. -If you are successful, you should see version 1.6.</p> -<h2>Contact V1.5 - Based on the original by Skalpa - but nothing like it anymore!</h2> -<p><u>Contact v1.5</u> has many new features, so many that it doesn't really look like the original. First off, there are -<b>Settings</b> and <b>General</b> configs that can be applied to the <u>Contact</u> module. -<ul> - <li>Settings - <ul> - <li>Send Confirmation Switch - Basically allows the user to copy themselves on correspondence to you of your department (more on that).</li> - <li>Collect ICQ - on or off</li> - <li>Collect URL - on or off</li> - <li>Collect Company - on or off</li> - <li>Collect Location - on or off</li> - <li>Collect Address - on or off</li> - <li>Add Security Check - Security graphic - know why? It's really easy to SPAM your site with <u>Contact</u> emails, this will help deter - <ul> - <li>Sitekey definition - allows you to seed granularity</li> - </ul> - </li> - <li>Redirect Timeout - Allows you to set how long the redirect page is shown to the user</li> - <li>Validate Domain - Allows you to actually "deep-scan" the domain and tld for validity</li> - </ul> - </li> - <li>General - <ul> - <li>Intorduction - You can turn it on, set the heading, and the text displayed. This is great for businesses that want to show off their SNAIL address and phone numbers</li> - <li>Contact heading - What is your form called?</li> - <li>Thank You message - what your user sees</li> - <li>Department Definition - this is cool! Basically you can set up departments and have them assigned to dirfferent email addresses than just the site admin.</li> - <li>More Info - Have you ever seen those commercial contact pages where you can select from various topics to get more info? Now you can do it too!</li> - </ul> - </li> -</ul> -</p> -<h2>So, How do I install <u>Contact?</u></h2> -<p>It's really simple! - <ol> - <li>Deactivate your current Contact module</li> - <li>Uninstall the current Contact module</li> - <li>Copy <u>Contact v1.5</u> top your modules directory, overwrite all files!</li> - <li>Install <u>Contact v1.5</u></li> - <li>Verify your <u>Setting</u> and <u>General</u> sections of Contact from the Admin screen</li> - <li>Done!</li> - </ol> -</p> -<h2><a href="http://xoops.ibdeeming.com" target="_blank">XOOPS</a>@<a href="http://www.ibdeeming.com" target="_blank">IBDeeming!</a> Thanks You!</h2> -<p>I appreciate you taking the time to download and use the modules created by us. If you have nay questions, you are encouraged -to stop by and post them on our site.<br /><br />If you find our modules are worthwhile, and feel -the need to somehow donate back to our time spent, feel free to visit the site and select the donation icon! We appreciate your support!</p> -</body> -</html> Modified: XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/xoops_version.php =================================================================== --- XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/xoops_version.php 2012-08-08 07:14:09 UTC (rev 10019) +++ XoopsModules/modulepacks/basicmodulepack/trunk/modules/contact/xoops_version.php 2012-08-08 07:16:09 UTC (rev 10020) @@ -1,265 +1,265 @@ -<?php -// $Id$ -// ------------------------------------------------------------------------ // -// 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 // -// ------------------------------------------------------------------------ // -if (!defined('XOOPS_ROOT_PATH')) { - die('XOOPS root path not defined'); - } -$moduleDirName = basename( dirname( __FILE__ ) ) ; - -$modversion['name'] = _MI_CONTACT_NAME; -$modversion['version'] = 1.71; -$modversion['description'] = _MI_CONTACT_DESC; -$modversion['credits'] = "Skalpa, nAAINC (XOOPS@IBDeeming, <br />CreepingDeath"; -$modversion['author'] = 'Kazumi Ono (Onokazu), modified by Trabis'; -$modversion['nickname'] = ''; -$modversion['help'] = 'page=help'; -$modversion['license'] = 'GNU GPL 2.0'; -$modversion['license_url'] = "www.gnu.org/licenses/gpl-2.0.html/"; -$modversion['official'] = 1; -$modversion['image'] = "images/contact_slogo.png"; -$modversion['dirname'] = "contact"; -$modversion['dirmoduleadmin'] = '/Frameworks/moduleclasses/moduleadmin'; -$modversion['icons16'] = '../../Frameworks/moduleclasses/icons/16'; -$modversion['icons32'] = '../../Frameworks/moduleclasses/icons/32'; - -//about -$modversion["module_website_url"] = "http://www.xoops.org/"; -$modversion["module_website_name"] = "XOOPS"; -$modversion["release_date"] = "2011/12/12"; -$modversion["module_status"] = "Final"; -$modversion["author_website_url"] = "http://www.xoops.org/"; -$modversion["author_website_name"] = "XOOPS"; -$modversion['min_php']='5.2'; -$modversion['min_xoops']='2.5'; -$modversion['min_admin']='1.1'; - -//Admin things -$modversion['hasAdmin'] = 1; - -// Menu -$modversion['hasMain'] = 1; -$modversion['adminindex'] = "admin/index.php"; -$modversion['adminmenu'] = "admin/menu.php"; -// Set to 1 if you want to display menu generated by system module -$modversion['system_menu'] = 1; - -// Templates -$i = 1; -$modversion['templates'][$i]['file'] = 'contact_contactusform.html'; -$modversion['templates'][$i]['description'] = '_MI_CONTACT_TEMPLATES'; - - -// Config categories -$modversion['configcat'][1]['nameid'] = 'settings'; -$modversion['configcat'][1]['name'] = '_MI_CONTACT_SETTINGS'; -$modversion['configcat'][1]['description'] = '_MI_CONTACT_SETTINGS_DSC'; - -$modversion['configcat'][2]['nameid'] = 'general'; -$modversion['configcat'][2]['name'] = '_MI_CONTACT_GEN'; -$modversion['configcat'][2]['description'] = '_MI_CONTACT_GEN_DSC'; - -// CONFIG stuff -// contact_allowsendconfirm -$modversion['config'][1]['name'] = 'contact_allowsendconfirm'; -$modversion['config'][1]['title'] = '_MI_CONTACT_ALLOWSENDCONFIRM'; -$modversion['config'][1]['description'] = '_MI_CONTACT_ALLOWSENDCONFIRMDSC'; -$modversion['config'][1]['formtype'] = 'yesno'; -$modversion['config'][1]['valuetype'] = 'int'; -$modversion['config'][1]['default'] = 0; -$modversion['config'][1]['category'] = 'settings'; - -// contact_icq -$modversion['config'][2]['name'] = 'contact_icq'; -$modversion['config'][2]['title'] = '_MI_CONTACT_GETICQ'; -$modversion['config'][2]['description'] = '_MI_CONTACT_GETICQDSC'; -$modversion['config'][2]['formtype'] = 'yesno'; -$modversion['config'][2]['valuetype'] = 'int'; -$modversion['config'][2]['default'] = 0; -$modversion['config'][2]['category'] = 'settings'; - -// contact_url -$modversion['config'][3]['name'] = 'contact_url'; -$modversion['config'][3]['title'] = '_MI_CONTACT_GETURL'; -$modversion['config'][3]['description'] = '_MI_CONTACT_GETURLDSC'; -$modversion['config'][3]['formtype'] = 'yesno'; -$modversion['config'][3]['valuetype'] = 'int'; -$modversion['config'][3]['default'] = 0; -$modversion['config'][3]['category'] = 'settings'; - -// contact_company -$modversion['config'][4]['name'] = 'contact_company'; -$modversion['config'][4]['title'] = '_MI_CONTACT_GETCOMPANY'; -$modversion['config'][4]['description'] = '_MI_CONTACT_GETCOMPANYDSC'; -$modversion['config'][4]['formtype'] = 'yesno'; -$modversion['config'][4]['valuetype'] = 'int'; -$modversion['config'][4]['default'] = 0; -$modversion['config'][4]['category'] = 'settings'; - -// contact_loc -$modversion['config'][5]['name'] = 'contact_loc'; -$modversion['config'][5]['title'] = '_MI_CONTACT_GETLOC'; -$modversion['config'][5]['description'] = '_MI_CONTACT_GETLOCDSC'; -$modversion['config'][5]['formtype'] = 'yesno'; -$modversion['config'][5]['valuetype'] = 'int'; -$modversion['config'][5]['default'] = 0; -$modversion['config'][5]['category'] = 'settings'; - -// contact_intro_head -$modversion['config'][6]['name'] = 'contact_intro_head'; -$modversion['config'][6]['title'] = '_MI_CONTACT_INTROHEAD'; -$modversion['config'][6]['description'] = '_MI_CONTACT_INTROHEAD_DESC'; -$modversion['config'][6]['formtype'] = 'textbox'; -$modversion['config'][6]['valuetype'] = 'text'; -$modversion['config'][6]['default'] = "Introduction"; -$modversion['config'][6]['category'] = 'general'; - -// contact_intro -$modversion['config'][7]['name'] = 'contact_intro'; -$modversion['config'][7]['title'] = '_MI_CONTACT_INTRO'; -$modversion['config'][7]['description'] = '_MI_CONTACT_INTRO_DESC'; -$modversion['config'][7]['formtype'] = 'textarea'; -$modversion['config'][7]['valuetype'] = 'text'; -$modversion['config'][7]['default'] = _MI_CONTACT_INTRO_DEFAULT; -$modversion['config'][7]['category'] = 'general'; - -// contact_loc -$modversion['config'][8]['name'] = 'contact_address'; -$modversion['config'][8]['title'] = '_MI_CONTACT_ADDRESS'; -$modversion['config'][8]['description'] = '_MI_CONTACT_ADDRESSDSC'; -$modversion['config'][8]['formtype'] = 'yesno'; -$modversion['config'][8]['valuetype'] = 'int'; -$modversion['config'][8]['default'] = 0; -$modversion['config'][8]['category'] = 'settings'; - -// contact_security -$modversion['config'][9]['name'] = 'contact_security'; -$modversion['config'][9]['title'] = '_MI_CONTACT_SECURITY'; -$modversion['config'][9]['description'] = '_MI_CONTACT_SECURITYDSC'; -$modversion['config'][9]['formtype'] = 'yesno'; -$modversion['config'][9]['valuetype'] = 'int'; -$modversion['config'][9]['default'] = 0; -$modversion['config'][9]['category'] = 'settings'; - -// contact_sitekey -$modversion['config'][10]['name'] = 'contact_sitekey'; -$modversion['config'][10]['title'] = '_MI_CONTACT_SITEKEY'; -$modversion['config'][10]['description'] = '_MI_CONTACT_SITEKEYDSC'; -$modversion['config'][10]['formtype'] = 'textbox'; -$modversion['config'][10]['valuetype'] = 'text'; -$modversion['config'][10]['default'] = 'A0jyUi345Vyt7'; -$modversion['config'][10]['category'] = 'settings'; - -// contact_head -$modversion['config'][11]['name'] = 'contact_head'; -$modversion['config'][11]['title'] = '_MI_CONTACT_HEAD'; -$modversion['config'][11]['description'] = '_MI_CONTACT_HEADDSC'; -$modversion['config'][11]['formtype'] = 'textbox'; -$modversion['config'][11]['valuetype'] = 'text'; -$modversion['config'][11]['default'] = _MI_CONTACT_HEADDEFAULT; -$modversion['config'][11]['category'] = 'general'; - -// contact_thankyou -$modversion['config'][12]['name'] = 'contact_thankyou'; -$modversion['config'][12]['title'] = '_MI_CONTACT_THANKYOU'; -$modversion['config'][12]['description'] = '_MI_CONTACT_THANKYOUDSC'; -$modversion['config'][12]['formtype'] = 'textbox'; -$modversion['config'][12]['valuetype'] = 'text'; -$modversion['config'][12]['default'] = _MI_CONTACT_THANKYOUDEFAULT; -$modversion['config'][12]['category'] = 'general'; - -// contact_redirecttimeout -$modversion['config'][13]['name'] = 'contact_redirecttimeout'; -$modversion['config'][13]['title'] = '_MI_CONTACT_TIMEOUT'; -$modversion['config'][13]['description'] = '_MI_CONTACT_TIMEOUTDSC'; -$modversion['config'][13]['formtype'] = 'textbox'; -$modversion['config'][13]['valuetype'] = 'int'; -$modversion['config'][13]['default'] = "10"; -$modversion['config'][13]['category'] = 'settings'; - -// contact_showdept -$modversion['config'][14]['name'] = 'contact_showdept'; -$modversion['config'][14]['title'] = '_MI_CONTACT_SHOWDEPT'; -$modversion['config'][14]['description'] = '_MI_CONTACT_SHOWDEPTDSC'; -$modversion['config'][14]['formtype'] = 'yesno'; -$modversion['config'][14]['valuetype'] = 'int'; -$modversion['config'][14]['default'] = '0'; -$modversion['config'][14]['category'] = 'general'; - -// contact_depttitle -$modversion['config'][15]['name'] = 'contact_depttitle'; -$modversion['config'][15]['title'] = '_MI_CONTACT_DEPTTITLE'; -$modversion['config'][15]['description'] = '_MI_CONTACT_DEPTTITLEDSC'; -$modversion['config'][15]['formtype'] = 'textbox'; -$modversion['config'][15]['valuetype'] = 'text'; -$modversion['config'][15]['default'] = _MI_CONTACT_DEPTTITLEDEFAULT; -$modversion['config'][15]['category'] = 'general'; - -// contact_dept -$modversion['config'][16]['name'] = 'contact_dept'; -$modversion['config'][16]['title'] = '_MI_CONTACT_DEPT'; -$modversion['config'][16]['description'] = '_MI_CONTACT_DEPTDSC'; -$modversion['config'][16]['formtype'] = 'textarea'; -$modversion['config'][16]['valuetype'] = 'array'; -$modversion['config'][16]['default'] = ''; -$modversion['config'][16]['category'] = 'general'; - -// contact_validatedomain -$modversion['config'][17]['name'] = 'contact_validatedomain'; -$modversion['config'][17]['title'] = '_MI_CONTACT_VALIDATEDOMAIN'; -$modversion['config'][17]['description'] = '_MI_CONTACT_VALIDATEDOMAINDSC'; -$modversion['config'][17]['formtype'] = 'yesno'; -$modversion['config'][17]['valuetype'] = 'int'; -$modversion['config'][17]['default'] = '0'; -$modversion['config'][17]['category'] = 'settings'; - -// contact_showmoreinfo -$modversion['config'][18]['name'] = 'contact_showmoreinfo'; -$modversion['config'][18]['title'] = '_MI_CONTACT_SHOWMOREINFO'; -$modversion['config'][18]['description'] = '_MI_CONTACT_SHOWMOREINFODSC'; -$modversion['config'][18]['formtype'] = 'yesno'; -$modversion['config'][18]['valuetype'] = 'int'; -$modversion['config'][18]['default'] = '0'; -$modversion['config'][18]['category'] = 'general'; - -// contact_moreinfotitle -$modversion['config'][19]['name'] = 'contact_moreinfotitle'; -$modversion['config'][19]['title'] = '_MI_CONTACT_MOREINFOTITLE'; -$modversion['config'][19]['description'] = _MI_CONTACT_MOREINFOTITLEDSC; -$modversion['config'][19]['formtype'] = 'textbox'; -$modversion['config'][19]['valuetype'] = 'text'; -$modversion['config'][19]['default'] = _MI_CONTACT_MOREINFOTITLEDEFAULT; -$modversion['config'][19]['category'] = 'general'; - -// contact_moreinfo -$modversion['config'][20]['name'] = 'contact_moreinfo'; -$modversion['config'][20]['title'] = '_MI_CONTACT_MOREINFO'; -$modversion['config'][20]['description'] = '_MI_CONTACT_MOREINFODSC'; -$modversion['config'][20]['formtype'] = 'textarea'; -$modversion['config'][20]['valuetype'] = 'array'; -$modversion['config'][20]['default'] = ''; -$modversion['config'][20]['category'] = 'general'; - +<?php +// $Id$ +// ------------------------------------------------------------------------ // +// 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 // +// ------------------------------------------------------------------------ // +if (!defined('XOOPS_ROOT_PATH')) { + die('XOOPS root path not defined'); + } +$moduleDirName = basename( dirname( __FILE__ ) ) ; + +$modversion['name'] = _MI_CONTACT_NAME; +$modversion['version'] = 1.72; +$modversion['description'] = _MI_CONTACT_DESC; +$modversion['credits'] = "Skalpa, nAAINC (XOOPS@IBDeeming, <br />CreepingDeath"; +$modversion['author'] = 'Kazumi Ono (Onokazu), modified by Trabis'; +$modversion['nickname'] = ''; +$modversion['help'] = 'page=help'; +$modversion['license'] = 'GNU GPL 2.0'; +$modversion['license_url'] = "www.gnu.org/licenses/gpl-2.0.html/"; +$modversion['official'] = 1; +$modversion['image'] = "images/contact_slogo.png"; +$modversion['dirname'] = "contact"; +$modversion['dirmoduleadmin'] = '/Frameworks/moduleclasses/moduleadmin'; +$modversion['icons16'] = '../../Frameworks/moduleclasses/icons/16'; +$modversion['icons32'] = '../../Frameworks/moduleclasses/icons/32'; + +//about +$modversion["module_website_url"] = "www.xoops.org/"; +$modversion["module_website_name"] = "XOOPS"; +$modversion["release_date"] = "2012/04/02"; +$modversion["module_status"] = "RC2"; +$modversion["author_website_url"] = "http://www.xoops.org/"; +$modversion["author_website_name"] = "XOOPS"; +$modversion['min_php']='5.2'; +$modversion['min_xoops']='2.5'; +$modversion['min_admin']='1.1'; + +//Admin things +$modversion['hasAdmin'] = 1; + +// Menu +$modversion['hasMain'] = 1; +$modversion['adminindex'] = "admin/index.php"; +$modversion['adminmenu'] = "admin/menu.php"; +// Set to 1 if you want to display menu generated by system module +$modversion['system_menu'] = 1; + +// Templates +$i = 1; +$modversion['templates'][$i]['file'] = 'contact_contactusform.html'; +$modversion['templates'][$i]['description'] = '_MI_CONTACT_TEMPLATES'; + + +// Config categories +$modversion['configcat'][1]['nameid'] = 'settings'; +$modversion['configcat'][1]['name'] = '_MI_CONTACT_SETTINGS'; +$modversion['configcat'][1]['description'] = '_MI_CONTACT_SETTINGS_DSC'; + +$modversion['configcat'][2]['nameid'] = 'general'; +$modversion['configcat'][2]['name'] = '_MI_CONTACT_GEN'; +$modversion['configcat'][2]['description'] = '_MI_CONTACT_GEN_DSC'; + +// CONFIG stuff +// contact_allowsendconfirm +$modversion['config'][1]['name'] = 'contact_allowsendconfirm'; +$modversion['config'][1]['title'] = '_MI_CONTACT_ALLOWSENDCONFIRM'; +$modversion['config'][1]['description'] = '_MI_CONTACT_ALLOWSENDCONFIRMDSC'; +$modversion['config'][1]['formtype'] = 'yesno'; +$modversion['config'][1]['valuetype'] = 'int'; +$modversion['config'][1]['default'] = 0; +$modversion['config'][1]['category'] = 'settings'; + +// contact_icq +$modversion['config'][2]['name'] = 'contact_icq'; +$modversion['config'][2]['title'] = '_MI_CONTACT_GETICQ'; +$modversion['config'][2]['description'] = '_MI_CONTACT_GETICQDSC'; +$modversion['config'][2]['formtype'] = 'yesno'; +$modversion['config'][2]['valuetype'] = 'int'; +$modversion['config'][2]['default'] = 0; +$modversion['config'][2]['category'] = 'settings'; + +// contact_url +$modversion['config'][3]['name'] = 'contact_url'; +$modversion['config'][3]['title'] = '_MI_CONTACT_GETURL'; +$modversion['config'][3]['description'] = '_MI_CONTACT_GETURLDSC'; +$modversion['config'][3]['formtype'] = 'yesno'; +$modversion['config'][3]['valuetype'] = 'int'; +$modversion['config'][3]['default'] = 0; +$modversion['config'][3]['category'] = 'settings'; + +// contact_company +$modversion['config'][4]['name'] = 'contact_company'; +$modversion['config'][4]['title'] = '_MI_CONTACT_GETCOMPANY'; +$modversion['config'][4]['description'] = '_MI_CONTACT_GETCOMPANYDSC'; +$modversion['config'][4]['formtype'] = 'yesno'; +$modversion['config'][4]['valuetype'] = 'int'; +$modversion['config'][4]['default'] = 0; +$modversion['config'][4]['category'] = 'settings'; + +// contact_loc +$modversion['config'][5]['name'] = 'contact_loc'; +$modversion['config'][5]['title'] = '_MI_CONTACT_GETLOC'; +$modversion['config'][5]['description'] = '_MI_CONTACT_GETLOCDSC'; +$modversion['config'][5]['formtype'] = 'yesno'; +$modversion['config'][5]['valuetype'] = 'int'; +$modversion['config'][5]['default'] = 0; +$modversion['config'][5]['category'] = 'settings'; + +// contact_intro_head +$modversion['config'][6]['name'] = 'contact_intro_head'; +$modversion['config'][6]['title'] = '_MI_CONTACT_INTROHEAD'; +$modversion['config'][6]['description'] = '_MI_CONTACT_INTROHEAD_DESC'; +$modversion['config'][6]['formtype'] = 'textbox'; +$modversion['config'][6]['valuetype'] = 'text'; +$modversion['config'][6]['default'] = "Introduction"; +$modversion['config'][6]['category'] = 'general'; + +// contact_intro +$modversion['config'][7]['name'] = 'contact_intro'; +$modversion['config'][7]['title'] = '_MI_CONTACT_INTRO'; +$modversion['config'][7]['description'] = '_MI_CONTACT_INTRO_DESC'; +$modversion['config'][7]['formtype'] = 'textarea'; +$modversion['config'][7]['valuetype'] = 'text'; +$modversion['config'][7]['default'] = _MI_CONTACT_INTRO_DEFAULT; +$modversion['config'][7]['category'] = 'general'; + +// contact_loc +$modversion['config'][8]['name'] = 'contact_address'; +$modversion['config'][8]['title'] = '_MI_CONTACT_ADDRESS'; +$modversion['config'][8]['description'] = '_MI_CONTACT_ADDRESSDSC'; +$modversion['config'][8]['formtype'] = 'yesno'; +$modversion['config'][8]['valuetype'] = 'int'; +$modversion['config'][8]['default'] = 0; +$modversion['config'][8]['category'] = 'settings'; + +// contact_security +$modversion['config'][9]['name'] = 'contact_security'; +$modversion['config'][9]['title'] = '_MI_CONTACT_SECURITY'; +$modversion['config'][9]['description'] = '_MI_CONTACT_SECURITYDSC'; +$modversion['config'][9]['formtype'] = 'yesno'; +$modversion['config'][9]['valuetype'] = 'int'; +$modversion['config'][9]['default'] = 0; +$modversion['config'][9]['category'] = 'settings'; + +// contact_sitekey +$modversion['config'][10]['name'] = 'contact_sitekey'; +$modversion['config'][10]['title'] = '_MI_CONTACT_SITEKEY'; +$modversion['config'][10]['description'] = '_MI_CONTACT_SITEKEYDSC'; +$modversion['config'][10]['formtype'] = 'textbox'; +$modversion['config'][10]['valuetype'] = 'text'; +$modversion['config'][10]['default'] = 'A0jyUi345Vyt7'; +$modversion['config'][10]['category'] = 'settings'; + +// contact_head +$modversion['config'][11]['name'] = 'contact_head'; +$modversion['config'][11]['title'] = '_MI_CONTACT_HEAD'; +$modversion['config'][11]['description'] = '_MI_CONTACT_HEADDSC'; +$modversion['config'][11]['formtype'] = 'textbox'; +$modversion['config'][11]['valuetype'] = 'text'; +$modversion['config'][11]['default'] = _MI_CONTACT_HEADDEFAULT; +$modversion['config'][11]['category'] = 'general'; + +// contact_thankyou +$modversion['config'][12]['name'] = 'contact_thankyou'; +$modversion['config'][12]['title'] = '_MI_CONTACT_THANKYOU'; +$modversion['config'][12]['description'] = '_MI_CONTACT_THANKYOUDSC'; +$modversion['config'][12]['formtype'] = 'textbox'; +$modversion['config'][12]['valuetype'] = 'text'; +$modversion['config'][12]['default'] = _MI_CONTACT_THANKYOUDEFAULT; +$modversion['config'][12]['category'] = 'general'; + +// contact_redirecttimeout +$modversion['config'][13]['name'] = 'contact_redirecttimeout'; +$modversion['config'][13]['title'] = '_MI_CONTACT_TIMEOUT'; +$modversion['config'][13]['description'] = '_MI_CONTACT_TIMEOUTDSC'; +$modversion['config'][13]['formtype'] = 'textbox'; +$modversion['config'][13]['valuetype'] = 'int'; +$modversion['config'][13]['default'] = "10"; +$modversion['config'][13]['category'] = 'settings'; + +// contact_showdept +$modversion['config'][14]['name'] = 'contact_showdept'; +$modversion['config'][14]['title'] = '_MI_CONTACT_SHOWDEPT'; +$modversion['config'][14]['description'] = '_MI_CONTACT_SHOWDEPTDSC'; +$modversion['config'][14]['formtype'] = 'yesno'; +$modversion['config'][14]['valuetype'] = 'int'; +$modversion['config'][14]['default'] = '0'; +$modversion['config'][14]['category'] = 'general'; + +// contact_depttitle +$modversion['config'][15]['name'] = 'contact_depttitle'; +$modversion['config'][15]['title'] = '_MI_CONTACT_DEPTTITLE'; +$modversion['config'][15]['description'] = '_MI_CONTACT_DEPTTITLEDSC'; +$modversion['config'][15]['formtype'] = 'textbox'; +$modversion['config'][15]['valuetype'] = 'text'; +$modversion['config'][15]['default'] = _MI_CONTACT_DEPTTITLEDEFAULT; +$modversion['config'][15]['category'] = 'general'; + +// contact_dept +$modversion['config'][16]['name'] = 'contact_dept'; +$modversion['config'][16]['title'] = '_MI_CONTACT_DEPT'; +$modversion['config'][16]['description'] = '_MI_CONTACT_DEPTDSC'; +$modversion['config'][16]['formtype'] = 'textarea'; +$modversion['config'][16]['valuetype'] = 'array'; +$modversion['config'][16]['default'] = ''; +$modversion['config'][16]['category'] = 'general'; + +// contact_validatedomain +$modversion['config'][17]['name'] = 'contact_validatedomain'; +$modversion['config'][17]['title'] = '_MI_CONTACT_VALIDATEDOMAIN'; +$modversion['config'][17]['description'] = '_MI_CONTACT_VALIDATEDOMAINDSC'; +$modversion['config'][17]['formtype'] = 'yesno'; +$modversion['config'][17]['valuetype'] = 'int'; +$modversion['config'][17]['default'] = '0'; +$modversion['config'][17]['category'] = 'settings'; + +// contact_showmoreinfo +$modversion['config'][18]['name'] = 'contact_showmoreinfo'; +$modversion['config'][18]['title'] = '_MI_CONTACT_SHOWMOREINFO'; +$modversion['config'][18]['description'] = '_MI_CONTACT_SHOWMOREINFODSC'; +$modversion['config'][18]['formtype'] = 'yesno'; +$modversion['config'][18]['valuetype'] = 'int'; +$modversion['config'][18]['default'] = '0'; +$modversion['config'][18]['category'] = 'general'; + +// contact_moreinfotitle +$modversion['config'][19]['name'] = 'contact_moreinfotitle'; +$modversion['config'][19]['title'] = '_MI_CONTACT_MOREINFOTITLE'; +$modversion['config'][19]['description'] = _MI_CONTACT_MOREINFOTITLEDSC; +$modversion['config'][19]['formtype'] = 'textbox'; +$modversion['config'][19]['valuetype'] = 'text'; +$modversion['config'][19]['default'] = _MI_CONTACT_MOREINFOTITLEDEFAULT; +$modversion['config'][19]['category'] = 'general'; + +// contact_moreinfo +$modversion['config'][20]['name'] = 'contact_moreinfo'; +$modversion['config'][20]['title'] = '_MI_CONTACT_MOREINFO'; +$modversion['config'][20]['description'] = '_MI_CONTACT_MOREINFODSC'; +$modversion['config'][20]['formtype'] = 'textarea'; +$modversion['config'][20]['valuetype'] = 'array'; +$modversion['config'][20]['default'] = ''; +$modversion['config'][20]['category'] = 'general'; + ?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |