From: <ja...@us...> - 2012-08-14 20:29:31
|
Revision: 10071 http://xoops.svn.sourceforge.net/xoops/?rev=10071&view=rev Author: jagibu Date: 2012-08-14 20:29:24 +0000 (Tue, 14 Aug 2012) Log Message: ----------- changelog.txt -> blue Modified Paths: -------------- XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/changelog.txt Removed Paths: ------------- XoopsModules/smartpartner/branches/jagibu/smartpartner/changelog.txt XoopsModules/smartpartner/branches/jagibu/smartpartner/class/about.php Deleted: XoopsModules/smartpartner/branches/jagibu/smartpartner/changelog.txt =================================================================== --- XoopsModules/smartpartner/branches/jagibu/smartpartner/changelog.txt 2012-08-14 20:21:14 UTC (rev 10070) +++ XoopsModules/smartpartner/branches/jagibu/smartpartner/changelog.txt 2012-08-14 20:29:24 UTC (rev 10071) @@ -1,77 +0,0 @@ -<b><u>=> Version 1.4 RC 1 (2007-03-02)</u></b> - -- Addition of the email, phone and adress private flag, thank to M0nty -- A few fixes -- Adding the SmartDBUpdater process - -<b><u>=> Version 1.31 RC 1 (forum release)</u></b> - -- Addition of a datesub field in the partners class -- Addition of privacy settings, 3 new tickboxes on submission form for email, phone & address. users can now select if they want - their details to be viewed by users or not. m0nty -- Fixed Error number: 1054 Error message: Unknown column 'uid' in 'where clause': (bug in class/partner.php) m0nty - -<b><u>=> Version 1.2 Beta 1 (2006-02-11)</u></b> - -- Addition of categories management -- A new block has been added - -<b><u>=> Version 1.1 Beta 1 (2005-08-24)</u></b> - -- Supports XOOPS 2.2.x and php5 - -<b><u>=> Version 1.0.2 Final (2005-05-09)</u></b> - -- Keyword highlighting added in the search function -- A few bugs from 1.0.1 were fixed - -<b><u>=> Version 1.0.1 Final (2005-05-09)</u></b> - -- A bug was found in the logo url display, on the index and partner's page -- Undefined constants fixed -- The View All link on the partners block was not pointing to the partners page -- A bug was found when uploading a logo from the user side -- An error was fixed in the partner's template - -<b><u>=> Version 1.0.1 Beta 1 (2005-03-28)</u></b> - -- Keyword highlighting added in the search function -- A bug was causing a fatal error in the user profile -- The search feature had some bugs that are now fixed -- The index page was not displaying the logo properly under IE -- The upload of a jpg file is now fixed -- The code of the module has been improve to facilitate the renaming of the module folder (see changing_directory.txt) - -<b><u>=> Version 1.0 Final (2005-02-28)</u></b> - -- The images folder was changed to xoops_root/uploads/smartpartner, for permissions reason. -- A search feature with keywords highlighting has been introduced -- Jpeg files upload has been fixed -- Errors fixed in the admin index sort options -- Anonymous submit bug fixed - -<b><u>=> Version 1.0 RC1 (2004-12-22)</u></b> - -- The partners block random functionnality now works perfectly. -- Error fixed when updating notification options on partner.php. -- If only the 'summary' field is completed, the partner will be considered as a basic partner and will not have a 'partner' page. Links on the partner logo will reflect this behavior. -- <h2> and <h3> tags have been replaced by custom classes. -- Any color definition has been removed from the module. -- New config option to display a 'Back to partners index' link. -- Changing the About page to use a class that create the page. - -<b><u>=> Version 0.9 Beta 2 (2004-12-01)</u></b> - -- When creating a new partner in the admin side, the status select box was not displayed, causing the partner's status to be incorrectly set. This has been fixed. - -<b><u>=> Version 0.9 Beta 1 (2004-11-30)</u></b> - -- As usual a lot of little bugs have been fixed. -- The status of a partner can now be set in the EditPartner form. -- Each partner now has a page on the public side displaying the partners info + some contact informations. -- The logo upload files are now held in xoops_root_path/uploads/smartpartner. -- The webmaster can create this folder directly in the admin side of the module (thanks to Newbb2 team:-) ) - -<b><u>=> Version 0.8 Beta 1 (2004-11-10)</u></b> - -- First public release of the module. \ No newline at end of file Deleted: XoopsModules/smartpartner/branches/jagibu/smartpartner/class/about.php =================================================================== --- XoopsModules/smartpartner/branches/jagibu/smartpartner/class/about.php 2012-08-14 20:21:14 UTC (rev 10070) +++ XoopsModules/smartpartner/branches/jagibu/smartpartner/class/about.php 2012-08-14 20:29:24 UTC (rev 10071) @@ -1,257 +0,0 @@ -<?php - -/** -* $Id: about.php,v 1.4 2007/03/01 11:53:25 malanciault Exp $ -* Module: SmartSection -* Author: The SmartFactory <www.smartfactory.ca> -* Licence: GNU -*/ - -if (!defined("XOOPS_ROOT_PATH")) { -die("XOOPS root path not defined"); -} - -/** -* Class About is a simple class that lets you build an about page -* @author The SmartFactory <www.smartfactory.ca> -*/ - -class SmartPartnerAbout -{ - var $_lang_aboutTitle; - var $_lang_author_info; - var $_lang_developer_lead; - var $_lang_developer_contributor; - var $_lang_developer_website; - var $_lang_developer_email; - var $_lang_developer_credits; - var $_lang_module_info; - var $_lang_module_status; - var $_lang_module_release_date; - var $_lang_module_demo; - var $_lang_module_support; - var $_lang_module_bug; - var $_lang_module_submit_bug; - var $_lang_module_feature; - var $_lang_module_submit_feature; - var $_lang_module_disclaimer; - var $_lang_author_word; - var $_lang_version_history; - var $_lang_by; - - function SmartPartnerAbout($aboutTitle='About') - { - global $xoopsModule, $xoopsConfig; - $fileName = XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar('dirname') . '/language/' . $xoopsConfig['language'] . '/modinfo.php'; - if (file_exists($fileName)) { - include_once $fileName; - } else { - include_once XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar('dirname') . '/language/english/modinfo.php'; - } - $this->_aboutTitle = $aboutTitle; - $this->_lang_author_info = _MI_SPARTNER_AUTHOR_INFO; - $this->_lang_developer_lead = _MI_SPARTNER_DEVELOPER_LEAD; - $this->_lang_developer_contributor = _MI_SPARTNER_DEVELOPER_CONTRIBUTOR; - $this->_lang_developer_website = _MI_SPARTNER_DEVELOPER_WEBSITE; - $this->_lang_developer_email = _MI_SPARTNER_DEVELOPER_EMAIL; - $this->_lang_developer_credits = _MI_SPARTNER_DEVELOPER_CREDITS; - $this->_lang_module_info = _MI_SPARTNER_MODULE_INFO; - $this->_lang_module_status = _MI_SPARTNER_MODULE_STATUS; - $this->_lang_module_release_date =_MI_SPARTNER_MODULE_RELEASE_DATE ; - $this->_lang_module_demo = _MI_SPARTNER_MODULE_DEMO; - $this->_lang_module_support = _MI_SPARTNER_MODULE_SUPPORT; - $this->_lang_module_bug = _MI_SPARTNER_MODULE_BUG; - $this->_lang_module_submit_bug = _MI_SPARTNER_MODULE_SUBMIT_BUG; - $this->_lang_module_feature = _MI_SPARTNER_MODULE_FEATURE; - $this->_lang_module_submit_feature = _MI_SPARTNER_MODULE_SUBMIT_FEATURE; - $this->_lang_module_disclaimer = _MI_SPARTNER_MODULE_DISCLAIMER; - $this->_lang_author_word = _MI_SPARTNER_AUTHOR_WORD; - $this->_lang_version_history = _MI_SPARTNER_VERSION_HISTORY; - $this->_lang_by = _MI_SPARTNER_BY; - } - - function render() - { - - $myts = &MyTextSanitizer::getInstance(); - - Global $xoopsModule; - - xoops_cp_header(); - - $module_handler = &xoops_gethandler('module'); - $versioninfo = &$module_handler->get($xoopsModule->getVar('mid')); - - $adminMenu = $versioninfo->getInfo('adminMenu'); - - if (false != $adminMenu && trim($adminMenu) != '') { - if (function_exists($adminMenu)) { - $func = $adminMenu; - if (!$func(-1, $this->_aboutTitle . " " . $versioninfo->getInfo('name'))) { - } - } - } - - // Left headings... - echo "<img src='" . XOOPS_URL . "/modules/" . $xoopsModule->getVar('dirname') . "/" . $versioninfo->getInfo('image') . "' alt='' hspace='0' vspace='0' align='left' style='margin-right: 10px;'/></a>"; - echo "<div style='margin-top: 10px; color: #33538e; margin-bottom: 4px; font-size: 18px; line-height: 18px; font-weight: bold; display: block;'>" . $versioninfo->getInfo('name') . " version " . $versioninfo->getInfo('version') . " (" . $versioninfo->getInfo('status_version') . ")</div>"; - if ($versioninfo->getInfo('author_realname') != '') { - $author_name = $versioninfo->getInfo('author') . " (" . $versioninfo->getInfo('author_realname') . ")"; - } else { - $author_name = $versioninfo->getInfo('author'); - } - - echo "<div style = 'line-height: 16px; font-weight: bold; display: block;'>" . $this->_lang_by . " " . $author_name; - echo "</div>"; - echo "<div style = 'line-height: 16px; display: block;'>" . $versioninfo->getInfo('license') . "</div>\n"; - - // Developers Information - echo "<br /><table width='100%' cellspacing=1 cellpadding=3 border=0 class = outer>"; - echo "<tr>"; - echo "<td colspan='2' class='bg3' align='left'><b>" . $this->_lang_author_info . "</b></td>"; - echo "</tr>"; - - if ($versioninfo->getInfo('developer_lead') != '') { - echo "<tr>"; - echo "<td class='head' width = '150px' align='left'>" . $this->_lang_developer_lead . "</td>"; - echo "<td class='even' align='left'>" . $versioninfo->getInfo('developer_lead') . "</td>"; - echo "</tr>"; - } - if ($versioninfo->getInfo('developer_contributor') != '') { - echo "<tr>"; - echo "<td class='head' width = '150px' align='left'>" . $this->_lang_developer_contributor . "</td>"; - echo "<td class='even' align='left'>" . $versioninfo->getInfo('developer_contributor') . "</td>"; - echo "</tr>"; - } - if ($versioninfo->getInfo('developer_website_url') != '') { - echo "<tr>"; - echo "<td class='head' width = '150px' align='left'>" . $this->_lang_developer_website . "</td>"; - echo "<td class='even' align='left'><a href='" . $versioninfo->getInfo('developer_website_url') . "' target='blank'>" . $versioninfo->getInfo('developer_website_name') . "</a></td>"; - echo "</tr>"; - } - if ($versioninfo->getInfo('developer_email') != '') { - echo "<tr>"; - echo "<td class='head' width = '150px' align='left'>" . $this->_lang_developer_email . "</td>"; - echo "<td class='even' align='left'><a href='mailto:" . $versioninfo->getInfo('developer_email') . "'>" . $versioninfo->getInfo('developer_email') . "</a></td>"; - echo "</tr>"; - } - - - echo "</table>"; - echo "<br />\n"; - // Module Developpment information - echo "<table width='100%' cellspacing=1 cellpadding=3 border=0 class = outer>"; - echo "<tr>"; - echo "<td colspan='2' class='bg3' align='left'><b>" . $this->_lang_module_info . "</b></td>"; - echo "</tr>"; - - if ($versioninfo->getInfo('date') != '') { - echo "<tr>"; - echo "<td class='head' width = '200' align='left'>" . $this->_lang_module_release_date . "</td>"; - echo "<td class='even' align='left'>" . $versioninfo->getInfo('date') . "</td>"; - echo "</tr>"; - } - - - if ($versioninfo->getInfo('status') != '') { - echo "<tr>"; - echo "<td class='head' width = '200' align='left'>" . $this->_lang_module_status . "</td>"; - echo "<td class='even' align='left'>" . $versioninfo->getInfo('status') . "</td>"; - echo "</tr>"; - } - - if ($versioninfo->getInfo('demo_site_url') != '') { - echo "<tr>"; - echo "<td class='head' align='left'>" . $this->_lang_module_demo . "</td>"; - echo "<td class='even' align='left'><a href='" . $versioninfo->getInfo('demo_site_url') . "' target='blank'>" . $versioninfo->getInfo('demo_site_name') . "</a></td>"; - echo "</tr>"; - } - - if ($versioninfo->getInfo('support_site_url') != '') { - echo "<tr>"; - echo "<td class='head' align='left'>" . $this->_lang_module_support . "</td>"; - echo "<td class='even' align='left'><a href='" . $versioninfo->getInfo('support_site_url') . "' target='blank'>" . $versioninfo->getInfo('support_site_name') . "</a></td>"; - echo "</tr>"; - } - - if ($versioninfo->getInfo('submit_bug') != '') { - echo "<tr>"; - echo "<td class='head' align='left'>" . $this->_lang_module_bug . "</td>"; - echo "<td class='even' align='left'><a href='" . $versioninfo->getInfo('submit_bug') . "' target='blank'>" . $this->_lang_module_submit_bug . "</a></td>"; - echo "</tr>"; - } - if ($versioninfo->getInfo('submit_feature') != '') { - echo "<tr>"; - echo "<td class='head' align='left'>" . $this->_lang_module_feature . "</td>"; - echo "<td class='even' align='left'><a href='" . $versioninfo->getInfo('submit_feature') . "' target='blank'>" . $this->_lang_module_submit_feature . "</a></td>"; - echo "</tr>"; - } - - echo "</table>"; - // Warning - if ($versioninfo->getInfo('warning') != '') { - echo "<br />\n"; - echo "<table width='100%' cellspacing=1 cellpadding=3 border=0 class = outer>"; - echo "<tr>"; - echo "<td class='bg3' align='left'><b>" . $this->_lang_module_disclaimer . "</b></td>"; - echo "</tr>"; - - echo "<tr>"; - echo "<td class='even' align='left'>" . $versioninfo->getInfo('warning') . "</td>"; - echo "</tr>"; - - echo "</table>"; - } - // Author's note - if ($versioninfo->getInfo('author_word') != '') { - echo "<br />\n"; - echo "<table width='100%' cellspacing=1 cellpadding=3 border=0 class = outer>"; - echo "<tr>"; - echo "<td class='bg3' align='left'><b>" . $this->_lang_author_word . "</b></td>"; - echo "</tr>"; - - echo "<tr>"; - echo "<td class='even' align='left'>" . $versioninfo->getInfo('author_word') . "</td>"; - echo "</tr>"; - - echo "</table>"; - } - - - // For changelog thanks to 3Dev - $filename = SMARTPARTNER_ROOT_PATH . "changelog.txt"; - if(is_file($filename)){ - - echo "<br />\n"; - echo "<table width='100%' cellspacing=1 cellpadding=3 border=0 class = outer>"; - echo "<tr>"; - echo "<td class='bg3' align='left'><b>" . $this->_lang_version_history . "</b></td>"; - echo "</tr>"; - - echo "<tr>"; - $filesize = filesize($filename); - $handle = fopen($filename, 'r'); - echo "<td class='even' align='left'><div style='line-height: 18px;'>".$myts->displayTarea(fread($handle, $filesize), true)."</div></td>"; - fclose($handle); - echo "</tr>"; - - echo "</table>"; - - } - echo "<br />"; - - $modFooter = $versioninfo->getInfo('modFooter'); - - if (false != $adminMenu && trim($modFooter) != '') { - if (function_exists($modFooter)) { - $func = $modFooter; - echo "<div align='center'>" . $func() . "</div>"; - } - } - - xoops_cp_footer(); - } - -} - -?> \ No newline at end of file Modified: XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/changelog.txt =================================================================== --- XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/changelog.txt 2012-08-14 20:21:14 UTC (rev 10070) +++ XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/changelog.txt 2012-08-14 20:29:24 UTC (rev 10071) @@ -2,3 +2,81 @@ Converted to XOOPS 2.5.5 Admin GUI (jagi) +<b><u>=> Version 1.4 RC 1 (2007-03-02)</u></b> + +- Addition of the email, phone and adress private flag, thank to M0nty +- A few fixes +- Adding the SmartDBUpdater process + +<b><u>=> Version 1.31 RC 1 (forum release)</u></b> + +- Addition of a datesub field in the partners class +- Addition of privacy settings, 3 new tickboxes on submission form for email, phone & address. users can now select if they want + their details to be viewed by users or not. m0nty +- Fixed Error number: 1054 Error message: Unknown column 'uid' in 'where clause': (bug in class/partner.php) m0nty + +<b><u>=> Version 1.2 Beta 1 (2006-02-11)</u></b> + +- Addition of categories management +- A new block has been added + +<b><u>=> Version 1.1 Beta 1 (2005-08-24)</u></b> + +- Supports XOOPS 2.2.x and php5 + +<b><u>=> Version 1.0.2 Final (2005-05-09)</u></b> + +- Keyword highlighting added in the search function +- A few bugs from 1.0.1 were fixed + +<b><u>=> Version 1.0.1 Final (2005-05-09)</u></b> + +- A bug was found in the logo url display, on the index and partner's page +- Undefined constants fixed +- The View All link on the partners block was not pointing to the partners page +- A bug was found when uploading a logo from the user side +- An error was fixed in the partner's template + +<b><u>=> Version 1.0.1 Beta 1 (2005-03-28)</u></b> + +- Keyword highlighting added in the search function +- A bug was causing a fatal error in the user profile +- The search feature had some bugs that are now fixed +- The index page was not displaying the logo properly under IE +- The upload of a jpg file is now fixed +- The code of the module has been improve to facilitate the renaming of the module folder (see changing_directory.txt) + +<b><u>=> Version 1.0 Final (2005-02-28)</u></b> + +- The images folder was changed to xoops_root/uploads/smartpartner, for permissions reason. +- A search feature with keywords highlighting has been introduced +- Jpeg files upload has been fixed +- Errors fixed in the admin index sort options +- Anonymous submit bug fixed + +<b><u>=> Version 1.0 RC1 (2004-12-22)</u></b> + +- The partners block random functionnality now works perfectly. +- Error fixed when updating notification options on partner.php. +- If only the 'summary' field is completed, the partner will be considered as a basic partner and will not have a 'partner' page. Links on the partner logo will reflect this behavior. +- <h2> and <h3> tags have been replaced by custom classes. +- Any color definition has been removed from the module. +- New config option to display a 'Back to partners index' link. +- Changing the About page to use a class that create the page. + +<b><u>=> Version 0.9 Beta 2 (2004-12-01)</u></b> + +- When creating a new partner in the admin side, the status select box was not displayed, causing the partner's status to be incorrectly set. This has been fixed. + +<b><u>=> Version 0.9 Beta 1 (2004-11-30)</u></b> + +- As usual a lot of little bugs have been fixed. +- The status of a partner can now be set in the EditPartner form. +- Each partner now has a page on the public side displaying the partners info + some contact informations. +- The logo upload files are now held in xoops_root_path/uploads/smartpartner. +- The webmaster can create this folder directly in the admin side of the module (thanks to Newbb2 team:-) ) + +<b><u>=> Version 0.8 Beta 1 (2004-11-10)</u></b> + +- First public release of the module. + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |