You can subscribe to this list here.
2011 |
Jan
|
Feb
|
Mar
|
Apr
(20) |
May
(40) |
Jun
(36) |
Jul
(3) |
Aug
(8) |
Sep
|
Oct
|
Nov
(4) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2012 |
Jan
(7) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <be...@us...> - 2012-04-03 15:27:51
|
Revision: 152 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=152&view=rev Author: beckmi Date: 2012-04-03 15:27:41 +0000 (Tue, 03 Apr 2012) Log Message: ----------- Updating TYPE to ENGINE Modified Paths: -------------- tdmdownloads/trunk/include/update.php Modified: tdmdownloads/trunk/include/update.php =================================================================== --- tdmdownloads/trunk/include/update.php 2012-01-13 22:06:45 UTC (rev 151) +++ tdmdownloads/trunk/include/update.php 2012-04-03 15:27:41 UTC (rev 152) @@ -36,7 +36,7 @@ $db->query($sql); $sql = "CREATE TABLE `" . $db->prefix('tdmdownloads_downlimit') . "` (downlimit_id int(11) unsigned NOT NULL auto_increment, downlimit_lid int(11) unsigned NOT NULL default '0', downlimit_uid int(11) NOT NULL default '0', downlimit_hostname varchar(60) NOT NULL default '', downlimit_date int(10) NOT NULL default '0', PRIMARY KEY (downlimit_id) - ) TYPE=MyISAM"; + ) ENGINE=MyISAM"; $db->query($sql); return true; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-01-13 22:06:51
|
Revision: 151 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=151&view=rev Author: beckmi Date: 2012-01-13 22:06:45 +0000 (Fri, 13 Jan 2012) Log Message: ----------- Fixing English Translations Modified Paths: -------------- tdmmoney/trunk/language/english/admin.php tdmmoney/trunk/language/english/main.php tdmmoney/trunk/language/english/modinfo.php Modified: tdmmoney/trunk/language/english/admin.php =================================================================== --- tdmmoney/trunk/language/english/admin.php 2012-01-11 18:35:11 UTC (rev 150) +++ tdmmoney/trunk/language/english/admin.php 2012-01-13 22:06:45 UTC (rev 151) @@ -19,7 +19,7 @@ define("_AM_TDMMONEY_DEL","Remove"); define("_AM_TDMMONEY_DISPLAY","Display"); define("_AM_TDMMONEY_EDIT","Edit"); -define("_AM_TDMMONEY_SUREDEL", "Are you sure you want to delete : <b><span style='color : Red'> %s </span></b>"); +define("_AM_TDMMONEY_SUREDEL", "Are you sure to delete: <b><span style='color : Red'> %s </span></b>"); //index.php define("_AM_TDMMONEY_MANAGER_ABOUT","About"); @@ -36,7 +36,7 @@ //category.php define("_AM_TDMMONEY_CAT_ADD","Add a category"); -define("_AM_TDMMONEY_CAT_DELOK","Category removed successfully "); +define("_AM_TDMMONEY_CAT_DELOK","Category deleted successfully "); define("_AM_TDMMONEY_CAT_DELOPERATION","with the following operation:"); define("_AM_TDMMONEY_CAT_DSC","Category Description"); define("_AM_TDMMONEY_CAT_DELSOUSCAT","The following sub categories are also deleted:"); @@ -58,7 +58,7 @@ define("_AM_TDMMONEY_ACCOUNT_BALANCE2","Account Balance"); define("_AM_TDMMONEY_ACCOUNT_BANK","Bank Name"); define("_AM_TDMMONEY_ACCOUNT_CURRENCY","Account Currency"); -define("_AM_TDMMONEY_ACCOUNT_DELOK","Account Removed successfully"); +define("_AM_TDMMONEY_ACCOUNT_DELOK","Account deleted successfully"); define("_AM_TDMMONEY_ACCOUNT_EDIT","Edit the Account %s"); define("_AM_TDMMONEY_ACCOUNT_ERREUR_BALANCE","The balance must be a number"); define("_AM_TDMMONEY_ACCOUNT_LIST","Account List"); @@ -80,7 +80,7 @@ define("_AM_TDMMONEY_OPERATION_EDIT","Edit Operation %s"); define("_AM_TDMMONEY_OPERATION_END","End"); define("_AM_TDMMONEY_OPERATION_ERREUR_AMOUNT","The amount must be a number"); -define("_AM_TDMMONEY_OPERATION_EXPORTPDF","Export the list in pdf"); +define("_AM_TDMMONEY_OPERATION_EXPORTPDF","Export the list in PDF"); define("_AM_TDMMONEY_OPERATION_FILTER","Filter operations"); define("_AM_TDMMONEY_OPERATION_LIST","Operations List"); define("_AM_TDMMONEY_OPERATION_LISTBYACCOUNT","Show operations of the account: "); @@ -99,12 +99,12 @@ define("_AM_TDMMONEY_PDF_CURRENCY","in"); define("_AM_TDMMONEY_PDF_STATEMENT","Extract from the account of"); define("_AM_TDMMONEY_PDF_TO","To"); -define("_AM_TDMMONEY_PDF_NOACCOUNT","You havn't selected an account"); +define("_AM_TDMMONEY_PDF_NOACCOUNT","You have not selected an account"); //Permissions define("_AM_TDMMONEY_PERMISSIONS_4","Add Operations"); define("_AM_TDMMONEY_PERMISSIONS_8","Edit Operations"); -define("_AM_TDMMONEY_PERMISSIONS_16","Export in pdf"); +define("_AM_TDMMONEY_PERMISSIONS_16","Export in PDF"); define("_AM_TDMMONEY_PERMISSIONS_OTHER", "Other permissions"); define("_AM_TDMMONEY_PERMISSIONS_OTHER_DSC", "Select groups that may:"); define("_AM_TDMMONEY_PERMISSIONS_SUBMIT", "Submit Permissions "); Modified: tdmmoney/trunk/language/english/main.php =================================================================== --- tdmmoney/trunk/language/english/main.php 2012-01-11 18:35:11 UTC (rev 150) +++ tdmmoney/trunk/language/english/main.php 2012-01-13 22:06:45 UTC (rev 151) @@ -31,7 +31,7 @@ define("_MD_TDMMONEY_VIEWACCOUNT_DESCRIPTION","Description"); define("_MD_TDMMONEY_VIEWACCOUNT_EDIT","Edit the Operation %s"); define("_MD_TDMMONEY_VIEWACCOUNT_END","End"); -define("_MD_TDMMONEY_VIEWACCOUNT_EXPORTPDF","Export the list in pdf"); +define("_MD_TDMMONEY_VIEWACCOUNT_EXPORTPDF","Export the list in PDF"); define("_MD_TDMMONEY_VIEWACCOUNT_FILTER","Filter operations"); define("_MD_TDMMONEY_VIEWACCOUNT_NEW","New Operation"); define("_MD_TDMMONEY_VIEWACCOUNT_REDIRECT_NOACCOUNT","You have not selected an account"); Modified: tdmmoney/trunk/language/english/modinfo.php =================================================================== --- tdmmoney/trunk/language/english/modinfo.php 2012-01-11 18:35:11 UTC (rev 150) +++ tdmmoney/trunk/language/english/modinfo.php 2012-01-13 22:06:45 UTC (rev 151) @@ -18,12 +18,12 @@ define("_MI_TDMMONEY_NAME","TDMMoney"); // Description du module -define("_MI_TDMMONEY_DESC","TDMMoney permet d'organiser et de gérer les finances personnelles, d'association ou autre."); +define("_MI_TDMMONEY_DESC","TDMMoney enables to organize and manage personal finances, or other association."); //Menu define("_MI_TDMMONEY_MANAGER_INDEX","Index"); define("_MI_TDMMONEY_MANAGER_ACCOUNT","Accounts"); -define("_MI_TDMMONEY_MANAGER_CATEGORY","categories"); +define("_MI_TDMMONEY_MANAGER_CATEGORY","Categories"); define("_MI_TDMMONEY_MANAGER_OPERATION","Operations"); define("_MI_TDMMONEY_MANAGER_ABOUT","About"); define("_MI_TDMMONEY_MANAGER_PERMISSIONS","Permissions"); @@ -31,7 +31,7 @@ //Config define("_MI_TDMMONEY_EDITOR","Text Editor"); define("_MI_TDMMONEY_FILTER","Filtering operations by default"); -define("_MI_TDMMONEY_FILTER1","Without filter"); +define("_MI_TDMMONEY_FILTER1","No filter"); define("_MI_TDMMONEY_FILTER2","Current Month"); define("_MI_TDMMONEY_FILTER3","Current Year"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2012-01-11 18:35:17
|
Revision: 150 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=150&view=rev Author: mageg Date: 2012-01-11 18:35:11 +0000 (Wed, 11 Jan 2012) Log Message: ----------- Modified Paths: -------------- tdmmoney/language/french/changelog.txt Modified: tdmmoney/language/french/changelog.txt =================================================================== --- tdmmoney/language/french/changelog.txt 2012-01-11 18:34:54 UTC (rev 149) +++ tdmmoney/language/french/changelog.txt 2012-01-11 18:35:11 UTC (rev 150) @@ -8,7 +8,7 @@ - Il \xE9tait impossible de modifier une op\xE9ration dans l'administration (Mage). - Les caract\xE8res UTF-8 ne s'affichaient pas correctement dans le PDF (Mage). -List of improvements: +Am\xE9liorations: - La partie administration \xE0 \xE9t\xE9 recod\xE9e (compatible \xE0 100% avec xoops 2.5) (Mage). @@ -18,8 +18,8 @@ Installation: - 1 - Vous devez effacer le dossier "TDMDownloads qui se trouve dans "modules". - 2 - Uploader le dossier "TDMDownloads" sur votre serveur dans le dossier "modules". + 1 - Vous devez effacer le dossier "TDMMoney" qui se trouve dans "modules". + 2 - Uploader le dossier "TDMMoney" sur votre serveur dans le dossier "modules". 3 - Faire une mise \xE0 jour du module. ------------------------------------------------- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2012-01-11 18:35:01
|
Revision: 149 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=149&view=rev Author: mageg Date: 2012-01-11 18:34:54 +0000 (Wed, 11 Jan 2012) Log Message: ----------- Modified Paths: -------------- tdmmoney/trunk/admin/header.php tdmmoney/trunk/language/english/changelog.txt Modified: tdmmoney/trunk/admin/header.php =================================================================== --- tdmmoney/trunk/admin/header.php 2012-01-11 18:03:24 UTC (rev 148) +++ tdmmoney/trunk/admin/header.php 2012-01-11 18:34:54 UTC (rev 149) @@ -16,7 +16,7 @@ include "../../../include/cp_header.php"; -include_once(XOOPS_ROOT_PATH."/class/xoopsmodule.php"); +include_once(XOOPS_ROOT_PATH."/kernel/module.php"); include_once XOOPS_ROOT_PATH."/class/xoopsformloader.php"; include_once XOOPS_ROOT_PATH."/class/tree.php"; include_once XOOPS_ROOT_PATH."/class/xoopslists.php"; Modified: tdmmoney/trunk/language/english/changelog.txt =================================================================== --- tdmmoney/trunk/language/english/changelog.txt 2012-01-11 18:03:24 UTC (rev 148) +++ tdmmoney/trunk/language/english/changelog.txt 2012-01-11 18:34:54 UTC (rev 149) @@ -18,8 +18,8 @@ Installation: - 1 - You have to delete the existent folder "TDMDownloads" in "modules". - 2 - Upload the new folder "TDMMoney" to your server in the "modules" folder. + 1 - You have to delete the existent folder "TDMMoney" in "modules". + 2 - Upload the new folder "TDMMoney" to your server in the "modules" folder. 3 - Update the module. ------------------------------------------------- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2012-01-11 18:03:33
|
Revision: 148 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=148&view=rev Author: mageg Date: 2012-01-11 18:03:24 +0000 (Wed, 11 Jan 2012) Log Message: ----------- Releases Version 1.1 Added Paths: ----------- tdmmoney/releases/version_1.1/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2012-01-11 18:00:06
|
Revision: 147 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=147&view=rev Author: mageg Date: 2012-01-11 17:59:57 +0000 (Wed, 11 Jan 2012) Log Message: ----------- Modified Paths: -------------- tdmmoney/language/french/admin.php tdmmoney/language/french/changelog.txt Modified: tdmmoney/language/french/admin.php =================================================================== --- tdmmoney/language/french/admin.php 2012-01-11 17:59:39 UTC (rev 146) +++ tdmmoney/language/french/admin.php 2012-01-11 17:59:57 UTC (rev 147) @@ -112,13 +112,6 @@ define("_AM_TDMMONEY_PERMISSIONS_VIEW", "Permission de voir"); define("_AM_TDMMONEY_PERMISSIONS_VIEW_DSC", "Choissiez les groupes qui peuvent voir les comptes:"); -//about.php -define("_AM_TDMMONEY_ABOUT_AUTHOR","Auteur"); -define("_AM_TDMMONEY_ABOUT_CHANGELOG","Change log"); -define("_AM_TDMMONEY_ABOUT_CREDITS","Crédits"); -define("_AM_TDMMONEY_ABOUT_LICENSE","License"); -define("_AM_TDMMONEY_ABOUT_MODULEINFOS","Informations sur le module"); -define("_AM_TDMMONEY_ABOUT_MODULEWEBSITE","Site de support"); -define("_AM_TDMMONEY_ABOUT_RELEASEDATE","Date de sortie"); -define("_AM_TDMMONEY_ABOUT_STATUS","Status"); +//PDF +define("_AM_TDMMONEY_PDF_NOACCOUNTS","Pas de compte sélectionné"); ?> \ No newline at end of file Modified: tdmmoney/language/french/changelog.txt =================================================================== --- tdmmoney/language/french/changelog.txt 2012-01-11 17:59:39 UTC (rev 146) +++ tdmmoney/language/french/changelog.txt 2012-01-11 17:59:57 UTC (rev 147) @@ -1,6 +1,6 @@ ------------------------------------------------- Version: 1.1 -Date: 2011/07/03 +Date: 2011/01/11 ------------------------------------------------- List of bugs: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2012-01-11 17:59:49
|
Revision: 146 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=146&view=rev Author: mageg Date: 2012-01-11 17:59:39 +0000 (Wed, 11 Jan 2012) Log Message: ----------- Version 1.1 finale Modified Paths: -------------- tdmmoney/trunk/docs/changelog.txt tdmmoney/trunk/include/operation_pdf.php tdmmoney/trunk/language/english/admin.php tdmmoney/trunk/language/english/changelog.txt tdmmoney/trunk/language/lang_diff.txt tdmmoney/trunk/xoops_version.php Removed Paths: ------------- tdmmoney/trunk/images/admin/ Modified: tdmmoney/trunk/docs/changelog.txt =================================================================== --- tdmmoney/trunk/docs/changelog.txt 2012-01-10 21:18:22 UTC (rev 145) +++ tdmmoney/trunk/docs/changelog.txt 2012-01-11 17:59:39 UTC (rev 146) @@ -1,6 +1,6 @@ ------------------------------------------------- Version: 1.1 -Date: 2011/07/03 +Date: 2011/01/11 ------------------------------------------------- List of bugs: Modified: tdmmoney/trunk/include/operation_pdf.php =================================================================== --- tdmmoney/trunk/include/operation_pdf.php 2012-01-10 21:18:22 UTC (rev 145) +++ tdmmoney/trunk/include/operation_pdf.php 2012-01-11 17:59:39 UTC (rev 146) @@ -21,8 +21,8 @@ $date_start = TDMMoney_CleanVars($_REQUEST, 'date_start', 0, 'int'); $date_end = TDMMoney_CleanVars($_REQUEST, 'date_end', 0, 'int'); -if ($account_id == 0 || $date_start == 0 || $date_end == 0) { - redirect_header('../index.php', 2, _AM_TDMMONEY_PDF_NOACCOUNTs); +if ($account_id == 0) { + redirect_header('../index.php', 2, _AM_TDMMONEY_PDF_NOACCOUNTS); exit(); } //permissions @@ -64,7 +64,7 @@ // Contenu du header du tableau. $contenuHeader = array( - 20, 35, 25, 50, 20, 20, 20, + 25, 35, 25, 50, 20, 20, 20, '[B]' . utf8_decode(_AM_TDMMONEY_OPERATION_DATE), '[B]' . utf8_decode(_AM_TDMMONEY_OPERATION_SENDER), '[B]' . utf8_decode(_AM_TDMMONEY_OPERATION_CATEGORY), '[B]' . utf8_decode(_AM_TDMMONEY_OPERATION_DESCRIPTION), '[BC]' . utf8_decode(_AM_TDMMONEY_OPERATION_WITHDRAW), '[BC]' . utf8_decode(_AM_TDMMONEY_OPERATION_DEPOSIT), '[BR]' . utf8_decode(_AM_TDMMONEY_OPERATION_BALANCE) ); Modified: tdmmoney/trunk/language/english/admin.php =================================================================== --- tdmmoney/trunk/language/english/admin.php 2012-01-10 21:18:22 UTC (rev 145) +++ tdmmoney/trunk/language/english/admin.php 2012-01-11 17:59:39 UTC (rev 146) @@ -112,14 +112,6 @@ define("_AM_TDMMONEY_PERMISSIONS_VIEW", "View Permissions"); define("_AM_TDMMONEY_PERMISSIONS_VIEW_DSC", "Choose groups that can view the accounts:"); -//about.php -define("_AM_TDMMONEY_ABOUT_AUTHOR","Author"); -define("_AM_TDMMONEY_ABOUT_CHANGELOG","Change log"); -define("_AM_TDMMONEY_ABOUT_CREDITS","Credits"); -define("_AM_TDMMONEY_ABOUT_LICENSE","License"); -define("_AM_TDMMONEY_ABOUT_MODULEINFOS","Module Info"); -define("_AM_TDMMONEY_ABOUT_MODULEWEBSITE","Support Website"); -define("_AM_TDMMONEY_ABOUT_RELEASEDATE","Release Date"); -define("_AM_TDMMONEY_ABOUT_STATUS","Status"); - +//PDF +define("_AM_TDMMONEY_PDF_NOACCOUNTS","No account selected"); ?> \ No newline at end of file Modified: tdmmoney/trunk/language/english/changelog.txt =================================================================== --- tdmmoney/trunk/language/english/changelog.txt 2012-01-10 21:18:22 UTC (rev 145) +++ tdmmoney/trunk/language/english/changelog.txt 2012-01-11 17:59:39 UTC (rev 146) @@ -1,6 +1,6 @@ ------------------------------------------------- Version: 1.1 -Date: 2011/07/03 +Date: 2011/01/11 ------------------------------------------------- List of bugs: Modified: tdmmoney/trunk/language/lang_diff.txt =================================================================== --- tdmmoney/trunk/language/lang_diff.txt 2012-01-10 21:18:22 UTC (rev 145) +++ tdmmoney/trunk/language/lang_diff.txt 2012-01-11 17:59:39 UTC (rev 146) @@ -5,11 +5,12 @@ ------------------------------------------------- Version: 1.1 -Date: 2011/07/03 +Date: 2011/01/11 ------------------------------------------------- admin.php ------------- + _AM_TDMMONEY_OPERATION_LIST ++ _AM_TDMMONEY_PDF_NOACCOUNTS * _AM_TDMMONEY_THEREARE_ACCOUNT * _AM_TDMMONEY_THEREARE_CATEGORY @@ -22,6 +23,14 @@ - _AM_TDMMONEY_INDEX_VERSION_NOT_OK - _AM_TDMMONEY_INDEX_VERSION_ALLOWURLFOPEN - _AM_TDMMONEY_INDEX_VERSION_FICHIER_KO +- _AM_TDMMONEY_ABOUT_AUTHOR +- _AM_TDMMONEY_ABOUT_CHANGELOG +- _AM_TDMMONEY_ABOUT_CREDITS +- _AM_TDMMONEY_ABOUT_LICENSE +- _AM_TDMMONEY_ABOUT_MODULEINFOS +- _AM_TDMMONEY_ABOUT_MODULEWEBSITE +- _AM_TDMMONEY_ABOUT_RELEASEDATE +- _AM_TDMMONEY_ABOUT_STATUS main.php ------------- Modified: tdmmoney/trunk/xoops_version.php =================================================================== --- tdmmoney/trunk/xoops_version.php 2012-01-10 21:18:22 UTC (rev 145) +++ tdmmoney/trunk/xoops_version.php 2012-01-11 17:59:39 UTC (rev 146) @@ -27,7 +27,7 @@ $modversion['image'] = 'images/tdmmoney_logo.png'; $modversion['dirname'] = 'TDMMoney'; $modversion['status_version'] = 'Final'; -$modversion['release_date'] = '2011/07/03'; +$modversion['release_date'] = '2012/01/11'; $modversion['sqlfile']['mysql'] = 'sql/mysql.sql'; $modversion['onUpdate'] = 'include/update.php'; $modversion['help'] = 'page=help'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2012-01-10 21:18:29
|
Revision: 145 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=145&view=rev Author: mageg Date: 2012-01-10 21:18:22 +0000 (Tue, 10 Jan 2012) Log Message: ----------- Fixed bug with 2.5.4 (for french version). Modified Paths: -------------- tdmdownloads/trunk/class/tdmdownloads_downloads.php Modified: tdmdownloads/trunk/class/tdmdownloads_downloads.php =================================================================== --- tdmdownloads/trunk/class/tdmdownloads_downloads.php 2011-11-27 04:55:23 UTC (rev 144) +++ tdmdownloads/trunk/class/tdmdownloads_downloads.php 2012-01-10 21:18:22 UTC (rev 145) @@ -293,7 +293,7 @@ $options = array('N' =>_AM_TDMDOWNLOADS_FORMDATEUPDATE_NO . ' (' . formatTimestamp($v_date,'s') . ')', 'Y' => _AM_TDMDOWNLOADS_FORMDATEUPDATE_YES); $date->addOptionArray($options); $selection_date->addElement($date); - $selection_date->addElement(new XoopsFormTextDateSelect('', 'date', '', strtotime(formatTimestamp(time())))); + $selection_date->addElement(new XoopsFormTextDateSelect('', 'date', '', time())); $form->addElement($selection_date); } $status = new XoopsFormCheckBox(_AM_TDMDOWNLOADS_FORMSTATUS, 'status', $v_status); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2011-11-27 04:55:29
|
Revision: 144 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=144&view=rev Author: beckmi Date: 2011-11-27 04:55:23 +0000 (Sun, 27 Nov 2011) Log Message: ----------- adding missing space after & Modified Paths: -------------- tdmdownloads/trunk/extra/plugins/sitemap/TDMDownloads.php tdmdownloads/trunk/extra/plugins/waiting/TDMDownloads.php tdmdownloads/trunk/include/comment_functions.php tdmdownloads/trunk/include/update.php Modified: tdmdownloads/trunk/extra/plugins/sitemap/TDMDownloads.php =================================================================== --- tdmdownloads/trunk/extra/plugins/sitemap/TDMDownloads.php 2011-11-27 04:46:44 UTC (rev 143) +++ tdmdownloads/trunk/extra/plugins/sitemap/TDMDownloads.php 2011-11-27 04:55:23 UTC (rev 144) @@ -15,7 +15,7 @@ */ function b_sitemap_tdmdownloads(){ - $xoopsDB =&XoopsDatabaseFactory::getDatabaseConnection(); + $xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection(); $block = sitemap_get_categoires_map($xoopsDB->prefix("tdmdownloads_cat"), "cid", "pid", "title", "viewcat.php?cid=", "title"); return $block; } Modified: tdmdownloads/trunk/extra/plugins/waiting/TDMDownloads.php =================================================================== --- tdmdownloads/trunk/extra/plugins/waiting/TDMDownloads.php 2011-11-27 04:46:44 UTC (rev 143) +++ tdmdownloads/trunk/extra/plugins/waiting/TDMDownloads.php 2011-11-27 04:55:23 UTC (rev 144) @@ -10,7 +10,7 @@ /*************************************************************************/ function b_waiting_tdmdownloads() { - $xoopsDB =&XoopsDatabaseFactory::getDatabaseConnection(); + $xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection(); $ret = array() ; // TDMdownloads waiting Modified: tdmdownloads/trunk/include/comment_functions.php =================================================================== --- tdmdownloads/trunk/include/comment_functions.php 2011-11-27 04:46:44 UTC (rev 143) +++ tdmdownloads/trunk/include/comment_functions.php 2011-11-27 04:55:23 UTC (rev 144) @@ -28,7 +28,7 @@ // comment callback functions function tdmdownloads_com_update($download_id, $total_num){ - $db =&XoopsDatabaseFactory::getDatabaseConnection(); + $db =& XoopsDatabaseFactory::getDatabaseConnection(); $sql = 'UPDATE '.$db->prefix('tdmdownloads_downloads').' SET comments = '.$total_num.' WHERE lid = '.$download_id; $db->query($sql); } Modified: tdmdownloads/trunk/include/update.php =================================================================== --- tdmdownloads/trunk/include/update.php 2011-11-27 04:46:44 UTC (rev 143) +++ tdmdownloads/trunk/include/update.php 2011-11-27 04:55:23 UTC (rev 144) @@ -15,7 +15,7 @@ */ function xoops_module_update_tdmdownloads() { - $db =&XoopsDatabaseFactory::getDatabaseConnection(); + $db =& XoopsDatabaseFactory::getDatabaseConnection(); $sql = "ALTER TABLE `" . $db->prefix('tdmdownloads_cat') . "` CHANGE `cid` `cat_cid` INT( 5 ) UNSIGNED NOT NULL AUTO_INCREMENT ;"; $db->query($sql); $sql = "ALTER TABLE `" . $db->prefix('tdmdownloads_cat') . "` CHANGE `pid` `cat_pid` INT( 5 ) UNSIGNED NOT NULL DEFAULT '0' ;"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2011-11-27 04:46:50
|
Revision: 143 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=143&view=rev Author: beckmi Date: 2011-11-27 04:46:44 +0000 (Sun, 27 Nov 2011) Log Message: ----------- - replaced deprecated functions Modified Paths: -------------- tdmdownloads/trunk/extra/plugins/sitemap/TDMDownloads.php tdmdownloads/trunk/extra/plugins/waiting/TDMDownloads.php tdmdownloads/trunk/include/comment_functions.php tdmdownloads/trunk/include/update.php Modified: tdmdownloads/trunk/extra/plugins/sitemap/TDMDownloads.php =================================================================== --- tdmdownloads/trunk/extra/plugins/sitemap/TDMDownloads.php 2011-11-27 04:44:48 UTC (rev 142) +++ tdmdownloads/trunk/extra/plugins/sitemap/TDMDownloads.php 2011-11-27 04:46:44 UTC (rev 143) @@ -15,7 +15,7 @@ */ function b_sitemap_tdmdownloads(){ - $xoopsDB =& Database::getInstance(); + $xoopsDB =&XoopsDatabaseFactory::getDatabaseConnection(); $block = sitemap_get_categoires_map($xoopsDB->prefix("tdmdownloads_cat"), "cid", "pid", "title", "viewcat.php?cid=", "title"); return $block; } Modified: tdmdownloads/trunk/extra/plugins/waiting/TDMDownloads.php =================================================================== --- tdmdownloads/trunk/extra/plugins/waiting/TDMDownloads.php 2011-11-27 04:44:48 UTC (rev 142) +++ tdmdownloads/trunk/extra/plugins/waiting/TDMDownloads.php 2011-11-27 04:46:44 UTC (rev 143) @@ -10,7 +10,7 @@ /*************************************************************************/ function b_waiting_tdmdownloads() { - $xoopsDB =& Database::getInstance(); + $xoopsDB =&XoopsDatabaseFactory::getDatabaseConnection(); $ret = array() ; // TDMdownloads waiting Modified: tdmdownloads/trunk/include/comment_functions.php =================================================================== --- tdmdownloads/trunk/include/comment_functions.php 2011-11-27 04:44:48 UTC (rev 142) +++ tdmdownloads/trunk/include/comment_functions.php 2011-11-27 04:46:44 UTC (rev 143) @@ -28,7 +28,7 @@ // comment callback functions function tdmdownloads_com_update($download_id, $total_num){ - $db =& Database::getInstance(); + $db =&XoopsDatabaseFactory::getDatabaseConnection(); $sql = 'UPDATE '.$db->prefix('tdmdownloads_downloads').' SET comments = '.$total_num.' WHERE lid = '.$download_id; $db->query($sql); } Modified: tdmdownloads/trunk/include/update.php =================================================================== --- tdmdownloads/trunk/include/update.php 2011-11-27 04:44:48 UTC (rev 142) +++ tdmdownloads/trunk/include/update.php 2011-11-27 04:46:44 UTC (rev 143) @@ -15,7 +15,7 @@ */ function xoops_module_update_tdmdownloads() { - $db =& Database::getInstance(); + $db =&XoopsDatabaseFactory::getDatabaseConnection(); $sql = "ALTER TABLE `" . $db->prefix('tdmdownloads_cat') . "` CHANGE `cid` `cat_cid` INT( 5 ) UNSIGNED NOT NULL AUTO_INCREMENT ;"; $db->query($sql); $sql = "ALTER TABLE `" . $db->prefix('tdmdownloads_cat') . "` CHANGE `pid` `cat_pid` INT( 5 ) UNSIGNED NOT NULL DEFAULT '0' ;"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2011-11-27 04:44:54
|
Revision: 142 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=142&view=rev Author: beckmi Date: 2011-11-27 04:44:48 +0000 (Sun, 27 Nov 2011) Log Message: ----------- - removed deprecated functions - added check for ModuleAdmin and MySQL versions Modified Paths: -------------- tdmdownloads/trunk/admin/admin_header.php tdmdownloads/trunk/xoops_version.php Modified: tdmdownloads/trunk/admin/admin_header.php =================================================================== --- tdmdownloads/trunk/admin/admin_header.php 2011-11-27 04:05:58 UTC (rev 141) +++ tdmdownloads/trunk/admin/admin_header.php 2011-11-27 04:44:48 UTC (rev 142) @@ -17,7 +17,7 @@ // Include xoops admin header include_once '../../../include/cp_header.php'; -include_once(XOOPS_ROOT_PATH."/class/xoopsmodule.php"); +include_once(XOOPS_ROOT_PATH."/kernel/module.php"); include_once XOOPS_ROOT_PATH."/class/xoopsformloader.php"; include_once XOOPS_ROOT_PATH."/class/tree.php"; include_once XOOPS_ROOT_PATH."/class/xoopslists.php"; Modified: tdmdownloads/trunk/xoops_version.php =================================================================== --- tdmdownloads/trunk/xoops_version.php 2011-11-27 04:05:58 UTC (rev 141) +++ tdmdownloads/trunk/xoops_version.php 2011-11-27 04:44:48 UTC (rev 142) @@ -39,6 +39,8 @@ $modversion['help'] = 'page=help'; $modversion['min_php'] = '5.2'; $modversion['min_xoops'] = '2.5'; +$modversion['min_admin']='1.1'; +$modversion['min_db']= array('mysql'=>'5.0.7', 'mysqli'=>'5.0.7'); // Admin menu // Set to 1 if you want to display menu generated by system module @@ -332,19 +334,19 @@ $modversion['config'][$i]['formtype'] = 'textbox'; $modversion['config'][$i]['valuetype'] = 'int'; $modversion['config'][$i]['default'] = 20; -$i++; -$modversion['config'][$i]['name'] = 'shwo_bookmark'; -$modversion['config'][$i]['title'] = "_MI_TDMDOWNLOADS_BOOKMARK"; -$modversion['config'][$i]['description'] = "_MI_TDMDOWNLOADS_BOOKMARK_DSC"; -$modversion['config'][$i]['formtype'] = 'yesno'; -$modversion['config'][$i]['valuetype'] = 'int'; +$i++; +$modversion['config'][$i]['name'] = 'shwo_bookmark'; +$modversion['config'][$i]['title'] = "_MI_TDMDOWNLOADS_BOOKMARK"; +$modversion['config'][$i]['description'] = "_MI_TDMDOWNLOADS_BOOKMARK_DSC"; +$modversion['config'][$i]['formtype'] = 'yesno'; +$modversion['config'][$i]['valuetype'] = 'int'; $modversion['config'][$i]['default'] = 1; -$i++; -$modversion['config'][$i]['name'] = 'show_social'; -$modversion['config'][$i]['title'] = "_MI_TDMDOWNLOADS_SOCIAL"; -$modversion['config'][$i]['description'] = "_MI_TDMDOWNLOADS_SOCIAL_DSC"; -$modversion['config'][$i]['formtype'] = 'yesno'; -$modversion['config'][$i]['valuetype'] = 'int'; +$i++; +$modversion['config'][$i]['name'] = 'show_social'; +$modversion['config'][$i]['title'] = "_MI_TDMDOWNLOADS_SOCIAL"; +$modversion['config'][$i]['description'] = "_MI_TDMDOWNLOADS_SOCIAL_DSC"; +$modversion['config'][$i]['formtype'] = 'yesno'; +$modversion['config'][$i]['valuetype'] = 'int'; $modversion['config'][$i]['default'] = 1; $i++; $modversion['config'][$i]['name'] = 'download_float'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2011-11-27 04:06:05
|
Revision: 141 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=141&view=rev Author: beckmi Date: 2011-11-27 04:05:58 +0000 (Sun, 27 Nov 2011) Log Message: ----------- Correcting English Translations Modified Paths: -------------- tdmdownloads/trunk/language/english/admin.php tdmdownloads/trunk/language/english/blocks.php tdmdownloads/trunk/language/english/main.php tdmdownloads/trunk/language/english/modinfo.php Modified: tdmdownloads/trunk/language/english/admin.php =================================================================== --- tdmdownloads/trunk/language/english/admin.php 2011-08-14 17:19:03 UTC (rev 140) +++ tdmdownloads/trunk/language/english/admin.php 2011-11-27 04:05:58 UTC (rev 141) @@ -19,7 +19,7 @@ define('_AM_TDMDOWNLOADS_INDEX_CATEGORIES',"There are %s categories"); define('_AM_TDMDOWNLOADS_INDEX_DOWNLOADS',"There are %s files in our database"); define('_AM_TDMDOWNLOADS_INDEX_DOWNLOADSWAITING',"There are %s downloads waiting for approval"); -define('_AM_TDMDOWNLOADS_INDEX_MODIFIED',"Tere are %s downloads info modification requests"); +define('_AM_TDMDOWNLOADS_INDEX_MODIFIED',"There are %s downloads info modification requests"); //category.php define('_AM_TDMDOWNLOADS_CAT_NEW',"New category"); @@ -42,12 +42,12 @@ define('_AM_TDMDOWNLOADS_BROKEN_SURDEL',"Are you sure you want to delete this report?"); //modified.php -define('_AM_TDMDOWNLOADS_MODIFIED_MOD',"Submited by;"); +define('_AM_TDMDOWNLOADS_MODIFIED_MOD',"Submitted by;"); define('_AM_TDMDOWNLOADS_MODIFIED_ORIGINAL',"Original"); -define('_AM_TDMDOWNLOADS_MODIFIED_SURDEL',"Are you sure you want to delete this download modification request?"); +define('_AM_TDMDOWNLOADS_MODIFIED_SURDEL',"Are you sure to delete this download modification request?"); //field.php -define('_AM_TDMDOWNLOADS_DELDATA',"with the following data:"); +define('_AM_TDMDOWNLOADS_DELDATA',"With the following data:"); define('_AM_TDMDOWNLOADS_FIELD_LIST',"Fields List"); define('_AM_TDMDOWNLOADS_FIELD_NEW',"New fields"); @@ -61,7 +61,7 @@ define('_AM_TDMDOWNLOADS_PERMISSIONS_8',"Submit a modification"); define('_AM_TDMDOWNLOADS_PERMISSIONS_16',"note a download"); define('_AM_TDMDOWNLOADS_PERMISSIONS_32',"Upload files"); -define('_AM_TDMDOWNLOADS_PERMISSIONS_64',"Auto approve proposals files"); +define('_AM_TDMDOWNLOADS_PERMISSIONS_64',"Auto approve submitted files"); define('_AM_TDMDOWNLOADS_PERM_AUTRES', "Other permissions"); define('_AM_TDMDOWNLOADS_PERM_AUTRES_DSC', "Select groups that can:"); define('_AM_TDMDOWNLOADS_PERM_DOWNLOAD', "Downloads Permissions"); @@ -77,8 +77,8 @@ define('_AM_TDMDOWNLOADS_IMPORT_CAT_IMP',"Categories: '%s' imported"); define('_AM_TDMDOWNLOADS_IMPORT_CONF_MYDOWNLOADS',"Are you sure you want to import data from Mydownloads module to TDMDownloads"); define('_AM_TDMDOWNLOADS_IMPORT_CONF_WFDOWNLOADS',"Are you sure you want to import data from WF-Downloads module to TDMDownloads"); -define('_AM_TDMDOWNLOADS_IMPORT_DONT_DOWNLOADS',"there is no files to import"); -define('_AM_TDMDOWNLOADS_IMPORT_DONT_TOPIC',"there is no files to import"); +define('_AM_TDMDOWNLOADS_IMPORT_DONT_DOWNLOADS',"there are no files to import"); +define('_AM_TDMDOWNLOADS_IMPORT_DONT_TOPIC',"there are no files to import"); define('_AM_TDMDOWNLOADS_IMPORT_DOWNLOADS',"files Import"); define('_AM_TDMDOWNLOADS_IMPORT_DOWNLOADS_IMP',"files: '%s' imported;"); define('_AM_TDMDOWNLOADS_IMPORT_ERREUR',"Select Upload Directory (the path)"); @@ -89,7 +89,7 @@ define('_AM_TDMDOWNLOADS_IMPORT_NB_CAT',"There are %s categories to import"); define('_AM_TDMDOWNLOADS_IMPORT_NB_DOWNLOADS',"There are %s files to import"); define('_AM_TDMDOWNLOADS_IMPORT_NUMBER',"Data to import"); -define('_AM_TDMDOWNLOADS_IMPORT_OK',"Import successfuly done !!!"); +define('_AM_TDMDOWNLOADS_IMPORT_OK',"Import successfully done !!!"); define('_AM_TDMDOWNLOADS_IMPORT_VOTE_IMP',"VOTES: '%s' imported;"); define('_AM_TDMDOWNLOADS_IMPORT_WARNING',"<span style='color:#FF0000; font-size:16px; font-weight:bold'>Attention !</span><br><br> Import will delete all data in TDMDownloads. It's highly recomended that you make a backup of all your data first, as well as of your website.<br><br>TDM is not responsible if you lose your data. Unfortunately, the screen shots cannot be copied."); define('_AM_TDMDOWNLOADS_IMPORT_WFDOWNLOADS',"Import from WF Downloads(only for V3.2 RC2)"); @@ -159,13 +159,13 @@ define('_AM_TDMDOWNLOADS_REDIRECT_DELOK',"Successfully deleted "); define('_AM_TDMDOWNLOADS_REDIRECT_NOCAT',"You have to create a category first"); define('_AM_TDMDOWNLOADS_REDIRECT_NODELFIELD',"You can not delete this field (Basic Field)"); -define('_AM_TDMDOWNLOADS_REDIRECT_SAVE',"Successffuly registered"); +define('_AM_TDMDOWNLOADS_REDIRECT_SAVE',"Successfully registered"); define('_AM_TDMDOWNLOADS_NOPERMSSET', "Permission cannot be set: No Category created yet! Please create a Category first."); //Bytes sizes -define('_AM_TDMDOWNLOADS_BYTES','bytes'); -define('_AM_TDMDOWNLOADS_KBYTES','kB'); +define('_AM_TDMDOWNLOADS_BYTES','Bytes'); +define('_AM_TDMDOWNLOADS_KBYTES','KB'); define('_AM_TDMDOWNLOADS_MBYTES','MB'); define('_AM_TDMDOWNLOADS_GBYTES','GB'); define('_AM_TDMDOWNLOADS_TBYTES','TB'); Modified: tdmdownloads/trunk/language/english/blocks.php =================================================================== --- tdmdownloads/trunk/language/english/blocks.php 2011-08-14 17:19:03 UTC (rev 140) +++ tdmdownloads/trunk/language/english/blocks.php 2011-11-27 04:05:58 UTC (rev 141) @@ -16,19 +16,19 @@ define("_MB_TDMDOWNLOADS_ALLCAT","All Categories"); define("_MB_TDMDOWNLOADS_CATTODISPLAY","Select Displayed Categories"); -define("_MB_TDMDOWNLOADS_CHARS","Title Lenght"); +define("_MB_TDMDOWNLOADS_CHARS","Title Length"); define("_MB_TDMDOWNLOADS_DESCRIPTION","Use description?"); define("_MB_TDMDOWNLOADS_DISP","Display"); define("_MB_TDMDOWNLOADS_FILES","Files"); define("_MB_TDMDOWNLOADS_LENGTH","Characters"); -define("_MB_TDMDOWNLOADS_LOGO","Use logo?"); -define("_MB_TDMDOWNLOADS_SUBMITDATE","Submitted Date "); -define("_MB_TDMDOWNLOADS_SUBMITTER","Submitted by: "); -define("_MB_TDMDOWNLOADS_INFORMATIONS","Information?"); -define("_MB_TDMDOWNLOADS_REATING","Reat: "); -define("_MB_TDMDOWNLOADS_HITS","Hits: "); -define("_MB_TDMDOWNLOADS_FLOAT","Image float: "); -define("_MB_TDMDOWNLOADS_FLOAT_LEFT","Left"); -define("_MB_TDMDOWNLOADS_FLOAT_RIGHT","Right"); +define("_MB_TDMDOWNLOADS_LOGO","Use logo?"); +define("_MB_TDMDOWNLOADS_SUBMITDATE","Submitted Date "); +define("_MB_TDMDOWNLOADS_SUBMITTER","Submitted by: "); +define("_MB_TDMDOWNLOADS_INFORMATIONS","Information?"); +define("_MB_TDMDOWNLOADS_REATING","Rating: "); +define("_MB_TDMDOWNLOADS_HITS","Hits: "); +define("_MB_TDMDOWNLOADS_FLOAT","Image float: "); +define("_MB_TDMDOWNLOADS_FLOAT_LEFT","Left"); +define("_MB_TDMDOWNLOADS_FLOAT_RIGHT","Right"); define("_MB_TDMDOWNLOADS_WHITE","Image white"); ?> Modified: tdmdownloads/trunk/language/english/main.php =================================================================== --- tdmdownloads/trunk/language/english/main.php 2011-08-14 17:19:03 UTC (rev 140) +++ tdmdownloads/trunk/language/english/main.php 2011-11-27 04:05:58 UTC (rev 141) @@ -15,19 +15,19 @@ */ // index.php -define("_MD_TDMDOWNLOADS_INDEX_BLDATE","Recent Downloads :"); +define("_MD_TDMDOWNLOADS_INDEX_BLDATE","Recent Downloads:"); define("_MD_TDMDOWNLOADS_INDEX_BLNAME","Summary"); -define("_MD_TDMDOWNLOADS_INDEX_BLRATING","Top rated files :"); -define("_MD_TDMDOWNLOADS_INDEX_BLPOP","Top Downloads :"); -define("_MD_TDMDOWNLOADS_INDEX_DLNOW","Download now !"); +define("_MD_TDMDOWNLOADS_INDEX_BLRATING","Top rated files:"); +define("_MD_TDMDOWNLOADS_INDEX_BLPOP","Top Downloads:"); +define("_MD_TDMDOWNLOADS_INDEX_DLNOW","Download now!"); define("_MD_TDMDOWNLOADS_INDEX_LATESTLIST","Latest lists"); define("_MD_TDMDOWNLOADS_INDEX_NEWTHISWEEK","New this week"); define("_MD_TDMDOWNLOADS_INDEX_POPULAR","Popular"); -define("_MD_TDMDOWNLOADS_INDEX_UPTHISWEEK","Updated this Week"); +define("_MD_TDMDOWNLOADS_INDEX_UPTHISWEEK","Updated this week"); define("_MD_TDMDOWNLOADS_INDEX_SCAT","Sub Categories: "); -define("_MD_TDMDOWNLOADS_INDEX_SUBMITDATE","Submitted Date "); -define("_MD_TDMDOWNLOADS_INDEX_SUBMITTER","Submitted by: "); -define("_MD_TDMDOWNLOADS_INDEX_THEREARE","There are<b>%s</b> file(s) in our databse"); +define("_MD_TDMDOWNLOADS_INDEX_SUBMITDATE","Submitted Date:"); +define("_MD_TDMDOWNLOADS_INDEX_SUBMITTER","Submitted by: "); +define("_MD_TDMDOWNLOADS_INDEX_THEREARE","There are<b>%s</b> file(s) in our databse"); // viewcat.php: define("_MD_TDMDOWNLOADS_CAT_CURSORTBY","Files currently sorted by : %s"); @@ -57,24 +57,24 @@ define("_MD_TDMDOWNLOADS_SINGLEFILE_DATEPROP","Submitted Date"); define("_MD_TDMDOWNLOADS_SINGLEFILE_ICI","Here"); define("_MD_TDMDOWNLOADS_SINGLEFILE_INTFILEFOUND","Here is an important file %s"); -define("_MD_TDMDOWNLOADS_SINGLEFILE_LIMITGLOBAL","You have downloaded %s files from this website and the limit is % s by 24h "); -define("_MD_TDMDOWNLOADS_SINGLEFILE_LIMITLID","You have downloaded this file% s times and the limit is % s by 24h"); +define("_MD_TDMDOWNLOADS_SINGLEFILE_LIMITGLOBAL","You have downloaded %s files from this website and the limit is % s in 24h "); +define("_MD_TDMDOWNLOADS_SINGLEFILE_LIMITLID","You have downloaded this file% s times and the limit is % s in 24h"); define("_MD_TDMDOWNLOADS_SINGLEFILE_MODIFY","Modify"); define("_MD_TDMDOWNLOADS_SINGLEFILE_NBTELECH","Downloaded %s time"); define("_MD_TDMDOWNLOADS_SINGLEFILE_NONEXISTENT","this download does not exist in our database"); define("_MD_TDMDOWNLOADS_SINGLEFILE_NOPERMDOWNLOAD","You don't have the right to download this file"); -define("_MD_TDMDOWNLOADS_SINGLEFILE_RATING","Rate"); +define("_MD_TDMDOWNLOADS_SINGLEFILE_RATING","Rating"); define("_MD_TDMDOWNLOADS_SINGLEFILE_RATHFILE","Rate this file"); define("_MD_TDMDOWNLOADS_SINGLEFILE_REPORTBROKEN","Report a broken file"); define("_MD_TDMDOWNLOADS_SINGLEFILE_TELLAFRIEND","Send to a Friend"); define("_MD_TDMDOWNLOADS_SINGLEFILE_VOTES","(%s votes)"); -define("_MD_TDMDOWNLOADS_SINGLEFILE_PAYPAL","Donation for %s"); -define("_MD_TDMDOWNLOADS_SINGLEFILE_NOPERM","You don't have donwload permissions"); +define("_MD_TDMDOWNLOADS_SINGLEFILE_PAYPAL","Donation for %s"); +define("_MD_TDMDOWNLOADS_SINGLEFILE_NOPERM","You don't have download permissions"); // ratefile.php define("_MD_TDMDOWNLOADS_RATEFILE_BEOBJECTIVE","Please be objective, if everyone receives a 1 or a 10, the ratings aren't very useful."); -define("_MD_TDMDOWNLOADS_RATEFILE_CANTVOTEOWN","Do not vote for your own resource.<br />All votes are recorded and verified."); -define("_MD_TDMDOWNLOADS_RATEFILE_DONOTVOTE","Do not vote for your own resource."); +define("_MD_TDMDOWNLOADS_RATEFILE_CANTVOTEOWN","Do not vote for your own files.<br />All votes are recorded and verified."); +define("_MD_TDMDOWNLOADS_RATEFILE_DONOTVOTE","Do not vote for your own files."); define("_MD_TDMDOWNLOADS_RATEFILE_NORATING","The vote must be between 0 and 10"); define("_MD_TDMDOWNLOADS_RATEFILE_RATE","Rate it !"); define("_MD_TDMDOWNLOADS_RATEFILE_RATINGSCALE","The scale is 1 - 10, with 1 being poor and 10 being excellent."); @@ -95,11 +95,11 @@ //submit.php define("_MD_TDMDOWNLOADS_SUBMIT_ALLPENDING","All file/script information are posted pending verification."); define("_MD_TDMDOWNLOADS_SUBMIT_DONTABUSE","Username and IP are recorded, so please don't abuse the system."); -define("_MD_TDMDOWNLOADS_SUBMIT_ISAPPROVED","Your file has beeen approved"); +define("_MD_TDMDOWNLOADS_SUBMIT_ISAPPROVED","Your file has been approved"); define("_MD_TDMDOWNLOADS_SUBMIT_PROPOSER","Submit a file"); define("_MD_TDMDOWNLOADS_SUBMIT_RECEIVED","We have received your file info. Thank you !"); define("_MD_TDMDOWNLOADS_SUBMIT_SUBMITONCE","Submit your file/script only once."); -define("_MD_TDMDOWNLOADS_SUBMIT_TAKEDAYS","This will take many days to see your file/script added successfully in our database."); +define("_MD_TDMDOWNLOADS_SUBMIT_TAKEDAYS","It might take few days to see your file/script added successfully to our database."); //search.php define("_MD_TDMDOWNLOADS_SEARCH","Filter in the modules list"); @@ -118,38 +118,38 @@ //g\xE9n\xE9rique define("_MD_TDMDOWNLOADS_EDITTHISDL","Edit this download"); define("_MD_TDMDOWNLOADS_MOREDETAILS","more details"); -define("_MD_TDMDOWNLOADS_DOWNLOAD","Download"); -define("_MD_TDMDOWNLOADS_RSS","RSS Feed"); +define("_MD_TDMDOWNLOADS_DOWNLOAD","Download"); +define("_MD_TDMDOWNLOADS_RSS","RSS Feed"); //visit.php define("_MD_TDMDOWNLOADS_NOPERMISETOLINK", "This file does not belong to the website from where you are coming.<br /><br />thanks to write an email to the webmaster of the website from where you are coming and tell him :<br /><b>NO OWNERSHIP OF LINKS FROM OTHER SITES !! (LEECH)</b><br /><br /><b>Leecher definition :</b> Someone who is lazy to link to its own server or steals the hard work done by other people <br /><br />You are already <b>registered</b>."); //Message d'erreur define("_MD_TDMDOWNLOADS_ERREUR_NOCAT","You have to choose a category!"); -define("_MD_TDMDOWNLOADS_ERREUR_SIZE","File size must be a number"); - -//Bookmarks -define("_MD_TDMDOWNLOADS_BOOKMARK_ME", "Bookmark Me"); -define("_MD_TDMDOWNLOADS_BOOKMARK_TO_BLINKLIST", "Bookmark to Blinklist"); -define("_MD_TDMDOWNLOADS_BOOKMARK_TO_DELICIOUS", "Bookmark to del.icio.us"); -define("_MD_TDMDOWNLOADS_BOOKMARK_TO_DIGG", "Bookmark to Digg"); -define("_MD_TDMDOWNLOADS_BOOKMARK_TO_FARK", "Bookmark to Fark"); -define("_MD_TDMDOWNLOADS_BOOKMARK_TO_FURL", "Bookmark to Furl"); -define("_MD_TDMDOWNLOADS_BOOKMARK_TO_NEWSVINE", "Bookmark to Newsvine"); -define("_MD_TDMDOWNLOADS_BOOKMARK_TO_REDDIT", "Bookmark to Reddit"); -define("_MD_TDMDOWNLOADS_BOOKMARK_TO_SIMPY", "Bookmark to Simpy"); -define("_MD_TDMDOWNLOADS_BOOKMARK_TO_SPURL", "Bookmark to Spurl"); -define("_MD_TDMDOWNLOADS_BOOKMARK_TO_YAHOO", "Bookmark to Yahoo"); -define("_MD_TDMDOWNLOADS_BOOKMARK_TO_FACEBOOK", "Bookmark to Faceboom"); -define("_MD_TDMDOWNLOADS_BOOKMARK_TO_TWITTER", "Bookmark to Twitter"); -define("_MD_TDMDOWNLOADS_BOOKMARK_TO_SCRIPSTYLE", "Bookmark to Scripstyle"); -define("_MD_TDMDOWNLOADS_BOOKMARK_TO_STUMBLE", "Bookmark to Stumble"); -define("_MD_TDMDOWNLOADS_BOOKMARK_TO_TECHNORATI", "Bookmark to Technorati"); -define("_MD_TDMDOWNLOADS_BOOKMARK_TO_MIXX", "Bookmark to Mixx"); -define("_MD_TDMDOWNLOADS_BOOKMARK_TO_MYSPACE", "Bookmark to Myspace"); -define("_MD_TDMDOWNLOADS_BOOKMARK_TO_DESIGNFLOAT", "Bookmark to Designfloat"); -define("_MD_TDMDOWNLOADS_BOOKMARK_TO_BALATARIN", "Bookmark to Balatarin"); -define("_MD_TDMDOWNLOADS_BOOKMARK_TO_GOOLGEBUZZ", "Bookmark to Google Buzz"); -define("_MD_TDMDOWNLOADS_BOOKMARK_TO_GOOLGEREADER", "Bookmark to Google Buzz"); +define("_MD_TDMDOWNLOADS_ERREUR_SIZE","File size must be a number"); + +//Bookmarks +define("_MD_TDMDOWNLOADS_BOOKMARK_ME", "Bookmark Me"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_BLINKLIST", "Bookmark to Blinklist"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_DELICIOUS", "Bookmark to del.icio.us"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_DIGG", "Bookmark to Digg"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_FARK", "Bookmark to Fark"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_FURL", "Bookmark to Furl"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_NEWSVINE", "Bookmark to Newsvine"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_REDDIT", "Bookmark to Reddit"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_SIMPY", "Bookmark to Simpy"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_SPURL", "Bookmark to Spurl"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_YAHOO", "Bookmark to Yahoo"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_FACEBOOK", "Bookmark to Faceboom"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_TWITTER", "Bookmark to Twitter"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_SCRIPSTYLE", "Bookmark to Scripstyle"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_STUMBLE", "Bookmark to Stumble"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_TECHNORATI", "Bookmark to Technorati"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_MIXX", "Bookmark to Mixx"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_MYSPACE", "Bookmark to Myspace"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_DESIGNFLOAT", "Bookmark to Designfloat"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_BALATARIN", "Bookmark to Balatarin"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_GOOLGEBUZZ", "Bookmark to Google Buzz"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_GOOLGEREADER", "Bookmark to Google Buzz"); define("_MD_TDMDOWNLOADS_BOOKMARK_TO_GOOLGEBOOKMARKS", "Bookmark to Google Bookmarks"); ?> \ No newline at end of file Modified: tdmdownloads/trunk/language/english/modinfo.php =================================================================== --- tdmdownloads/trunk/language/english/modinfo.php 2011-08-14 17:19:03 UTC (rev 140) +++ tdmdownloads/trunk/language/english/modinfo.php 2011-11-27 04:05:58 UTC (rev 141) @@ -51,8 +51,8 @@ define("_MI_TDMDOWNLOADS_PREFERENCE_BREAK_GENERAL", "General"); define("_MI_TDMDOWNLOADS_POPULAR", "Number of hits for downloadable items to be marked as popular"); define("_MI_TDMDOWNLOADS_AUTO_SUMMARY","Automatic Summary ?"); -define("_MI_TDMDOWNLOADS_SHOW_UPDATED","Show the 'updated' and 'new' picture ?"); -define("_MI_TDMDOWNLOADS_USESHOTS", "Use logo ?"); +define("_MI_TDMDOWNLOADS_SHOW_UPDATED","Show the 'updated' and 'new' picture?"); +define("_MI_TDMDOWNLOADS_USESHOTS", "Use logo?"); define("_MI_TDMDOWNLOADS_IMGFLOAT", "Image float"); define("_MI_TDMDOWNLOADS_IMGFLOAT_LEFT", "Left"); define("_MI_TDMDOWNLOADS_IMGFLOAT_RIGHT", "Right"); @@ -71,8 +71,8 @@ define("_MI_TDMDOWNLOADS_TOPORDER","How to display items on the index page?"); define("_MI_TDMDOWNLOADS_TOPORDER1","Date (DESC)"); define("_MI_TDMDOWNLOADS_TOPORDER2","Date (ASC)"); -define("_MI_TDMDOWNLOADS_TOPORDER3","hits (DESC)"); -define("_MI_TDMDOWNLOADS_TOPORDER4","hits (ASC)"); +define("_MI_TDMDOWNLOADS_TOPORDER3","Hits (DESC)"); +define("_MI_TDMDOWNLOADS_TOPORDER4","Hits (ASC)"); define("_MI_TDMDOWNLOADS_TOPORDER5","Votes (DESC)"); define("_MI_TDMDOWNLOADS_TOPORDER6","Votes (ASC)"); define("_MI_TDMDOWNLOADS_TOPORDER7","Title (DESC)"); @@ -85,7 +85,7 @@ define("_MI_TDMDOWNLOADS_BLPOP", "Display popular downloads in home page and categories (Summary)?"); define("_MI_TDMDOWNLOADS_BLRATING", "Display top rated downloads in home page and categories (Summary)?"); define("_MI_TDMDOWNLOADS_NBBL", "Number of download to display in summary?"); -define("_MI_TDMDOWNLOADS_LONGBL", "Title lenght in Summary"); +define("_MI_TDMDOWNLOADS_LONGBL", "Title length in Summary"); define("_MI_TDMDOWNLOADS_BOOKMARK", "Bookmark"); define("_MI_TDMDOWNLOADS_BOOKMARK_DSC", "Show/hide bookmark Icons"); define("_MI_TDMDOWNLOADS_SOCIAL", "Social Networks"); @@ -101,23 +101,23 @@ define("_MI_TDMDOWNLOADS_PERMISSIONDOWNLOAD1","Permission by category"); define("_MI_TDMDOWNLOADS_PERMISSIONDOWNLOAD2","Permission by file"); define("_MI_TDMDOWNLOADS_DOWNLOAD_NAME", "Rename files uploaded?"); -define("_MI_TDMDOWNLOADS_DOWNLOAD_NAMEDSC", "If the option is no; and you uploaded a file with a name already exists on the server it will be overwritten"); +define("_MI_TDMDOWNLOADS_DOWNLOAD_NAMEDSC", "If the option is No; and you uploaded a file with a name that already exists on the server, it will be overwritten"); define("_MI_TDMDOWNLOADS_DOWNLOAD_PREFIX", "Prefix of files uploaded"); -define("_MI_TDMDOWNLOADS_DOWNLOAD_PREFIXDSC", "Only valid if the option to rename the uploaded files is yes"); +define("_MI_TDMDOWNLOADS_DOWNLOAD_PREFIXDSC", "Only valid if the option to rename the uploaded files is Yes"); define("_MI_TDMDOWNLOADS_MAXUPLOAD_SIZE","Max uploaded files size"); -define("_MI_TDMDOWNLOADS_MIMETYPE","authorized mime types "); +define("_MI_TDMDOWNLOADS_MIMETYPE","Authorized mime types "); define("_MI_TDMDOWNLOADS_MIMETYPE_DSC","Enter the authorized mime types separated by a |"); define("_MI_TDMDOWNLOADS_CHECKHOST", "Disallow direct download linking (leeching) ?"); -define("_MI_TDMDOWNLOADS_REFERERS", "This Sites can directly link you files.Separate each one with |"); +define("_MI_TDMDOWNLOADS_REFERERS", "This Sites can directly link you files. Separate each one with |"); define("_MI_TDMDOWNLOADS_DOWNLIMIT", "Download limit"); define("_MI_TDMDOWNLOADS_DOWNLIMITDSC", "Use download limit option"); define("_MI_TDMDOWNLOADS_LIMITGLOBAL", "Number of downloads in 24 hours"); -define("_MI_TDMDOWNLOADS_LIMITGLOBALDSC", "Number of download for each user in 24 hours. Select 0 for no limited."); -define("_MI_TDMDOWNLOADS_LIMITLID", "Number of dowanload for each file in 24 hours"); -define("_MI_TDMDOWNLOADS_LIMITLIDDSC", "Number of download for each file in 24 hours by each user. Select 0 for no limited."); +define("_MI_TDMDOWNLOADS_LIMITGLOBALDSC", "Number of download for each user in 24 hours. Select 0 for unlimited."); +define("_MI_TDMDOWNLOADS_LIMITLID", "Number of downloads for each file in 24 hours"); +define("_MI_TDMDOWNLOADS_LIMITLIDDSC", "Number of downloads for each file in 24 hours by each user. Select 0 for unlimited."); define("_MI_TDMDOWNLOADS_PREFERENCE_BREAK_PAYPAL", "Paypal"); define("_MI_TDMDOWNLOADS_USEPAYPAL","Use button 'Donate' of Paypal "); -define("_MI_TDMDOWNLOADS_CURRENCYPAYPAL","Currency Donation"); +define("_MI_TDMDOWNLOADS_CURRENCYPAYPAL","Currency of Donation"); define("_MI_TDMDOWNLOADS_IMAGEPAYPAL","Image for the button 'Make a Donation'"); define("_MI_TDMDOWNLOADS_IMAGEPAYPALDSC","Please enter the address of the image"); define("_MI_TDMDOWNLOADS_PREFERENCE_BREAK_RSS", "RSS"); @@ -126,7 +126,7 @@ define("_MI_TDMDOWNLOADS_TIMECACHERSS", "RSS cache time"); define("_MI_TDMDOWNLOADS_TIMECACHERSSDSC", "Cache time for RSS pages in minutes"); define("_MI_TDMDOWNLOADS_LOGORSS", "Site logo for RSS pages"); -define("_MI_TDMDOWNLOADS_PREFERENCE_BREAK_COMNOTI", "Comments and notifications"); +define("_MI_TDMDOWNLOADS_PREFERENCE_BREAK_COMNOTI", "Comments and notifications"); // Notifications define("_MI_TDMDOWNLOADS_GLOBAL_NOTIFY", "Global"); @@ -140,21 +140,21 @@ define("_MI_TDMDOWNLOADS_GLOBAL_NEWCATEGORY_NOTIFYDSC", "Receive notification when a new file category is created"); define("_MI_TDMDOWNLOADS_GLOBAL_NEWCATEGORY_NOTIFYSBJ", "[{X_SITENAME}] {X_MODULE} auto-notify : New file category"); define("_MI_TDMDOWNLOADS_GLOBAL_FILEMODIFY_NOTIFY", "Modify File Requested"); -define("_MI_TDMDOWNLOADS_GLOBAL_FILEMODIFY_NOTIFYCAP", "Notify me of any file modification request."); -define("_MI_TDMDOWNLOADS_GLOBAL_FILEMODIFY_NOTIFYDSC", "Receive notification when any file modification request is submitted."); +define("_MI_TDMDOWNLOADS_GLOBAL_FILEMODIFY_NOTIFYCAP", "Notify me of a file modification request."); +define("_MI_TDMDOWNLOADS_GLOBAL_FILEMODIFY_NOTIFYDSC", "Receive notification when a file modification request is submitted."); define("_MI_TDMDOWNLOADS_GLOBAL_FILEMODIFY_NOTIFYSBJ", "[{X_SITENAME}] {X_MODULE} auto-notify : File Modification Requested"); define("_MI_TDMDOWNLOADS_GLOBAL_FILEBROKEN_NOTIFY", "Broken File Submitted"); -define("_MI_TDMDOWNLOADS_GLOBAL_FILEBROKEN_NOTIFYCAP", "Notify me of any broken file report."); -define("_MI_TDMDOWNLOADS_GLOBAL_FILEBROKEN_NOTIFYDSC", "Receive notification when any broken file report is submitted."); -define("_MI_TDMDOWNLOADS_GLOBAL_FILEBROKEN_NOTIFYSBJ", "[{X_SITENAME}] {X_MODULE} auto-notify : Broken File Reported"); +define("_MI_TDMDOWNLOADS_GLOBAL_FILEBROKEN_NOTIFYCAP", "Notify me of a broken file report."); +define("_MI_TDMDOWNLOADS_GLOBAL_FILEBROKEN_NOTIFYDSC", "Receive notification when a broken file report is submitted."); +define("_MI_TDMDOWNLOADS_GLOBAL_FILEBROKEN_NOTIFYSBJ", "[{X_SITENAME}] {X_MODULE} auto-notify: Broken File Reported"); define("_MI_TDMDOWNLOADS_GLOBAL_FILESUBMIT_NOTIFY", "File Submitted"); -define("_MI_TDMDOWNLOADS_GLOBAL_FILESUBMIT_NOTIFYCAP", "Notify me when any new file is submitted (awaiting approval)."); -define("_MI_TDMDOWNLOADS_GLOBAL_FILESUBMIT_NOTIFYDSC", "Receive notification when any new file is submitted (awaiting approval)."); +define("_MI_TDMDOWNLOADS_GLOBAL_FILESUBMIT_NOTIFYCAP", "Notify me when a new file is submitted (awaiting approval)."); +define("_MI_TDMDOWNLOADS_GLOBAL_FILESUBMIT_NOTIFYDSC", "Receive notification when a new file is submitted (awaiting approval)."); define("_MI_TDMDOWNLOADS_GLOBAL_FILESUBMIT_NOTIFYSBJ", "[{X_SITENAME}] {X_MODULE} notification automatique : New file submitted"); define("_MI_TDMDOWNLOADS_GLOBAL_NEWFILE_NOTIFY", "New File"); -define("_MI_TDMDOWNLOADS_GLOBAL_NEWFILE_NOTIFYCAP", "Notify me when any new file is posted."); -define("_MI_TDMDOWNLOADS_GLOBAL_NEWFILE_NOTIFYDSC", "Receive notification when any new file is posted."); -define("_MI_TDMDOWNLOADS_GLOBAL_NEWFILE_NOTIFYSBJ", "[{X_SITENAME}] {X_MODULE} auto-notify : New file"); +define("_MI_TDMDOWNLOADS_GLOBAL_NEWFILE_NOTIFYCAP", "Notify me when a new file is posted."); +define("_MI_TDMDOWNLOADS_GLOBAL_NEWFILE_NOTIFYDSC", "Receive notification when a new file is posted."); +define("_MI_TDMDOWNLOADS_GLOBAL_NEWFILE_NOTIFYSBJ", "[{X_SITENAME}] {X_MODULE} auto-notify: New file"); define("_MI_TDMDOWNLOADS_CATEGORY_FILESUBMIT_NOTIFY", "File Submitted"); define("_MI_TDMDOWNLOADS_CATEGORY_FILESUBMIT_NOTIFYCAP", "Notify me when a new file is submitted (awaiting approval) to the current category."); define("_MI_TDMDOWNLOADS_CATEGORY_FILESUBMIT_NOTIFYDSC", "Receive notification when a new file is submitted (awaiting approval) to the current category."); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2011-08-14 17:19:09
|
Revision: 140 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=140&view=rev Author: mageg Date: 2011-08-14 17:19:03 +0000 (Sun, 14 Aug 2011) Log Message: ----------- -- Version 1.61 in folder releases -- Added Paths: ----------- tdmdownloads/releases/Version_1.61/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2011-08-14 17:17:18
|
Revision: 139 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=139&view=rev Author: mageg Date: 2011-08-14 17:17:12 +0000 (Sun, 14 Aug 2011) Log Message: ----------- Removed Paths: ------------- tdmdownloads/releases/Version_1.61/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2011-08-14 17:14:02
|
Revision: 138 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=138&view=rev Author: mageg Date: 2011-08-14 17:13:56 +0000 (Sun, 14 Aug 2011) Log Message: ----------- Added Paths: ----------- tdmdownloads/releases/Version_1.61/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2011-08-14 17:08:04
|
Revision: 137 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=137&view=rev Author: mageg Date: 2011-08-14 17:07:57 +0000 (Sun, 14 Aug 2011) Log Message: ----------- Version 1.61 Final Modified Paths: -------------- tdmdownloads/trunk/docs/changelog.txt tdmdownloads/trunk/language/english/changelog.txt tdmdownloads/trunk/xoops_version.php Modified: tdmdownloads/trunk/docs/changelog.txt =================================================================== --- tdmdownloads/trunk/docs/changelog.txt 2011-08-14 17:04:22 UTC (rev 136) +++ tdmdownloads/trunk/docs/changelog.txt 2011-08-14 17:07:57 UTC (rev 137) @@ -1,4 +1,18 @@ ------------------------------------------------- +Version: 1.61 +Date: 2011/08/14 +------------------------------------------------- + +List of bugs: + + - bug in field.php (class moduleadmin not found) (Mage). + +List of improvements: + + - Using Frameworks "ModuleClasses" 1.1 (Mage). + + +------------------------------------------------- Version: 1.6 Date: 2011/06/19 ------------------------------------------------- Modified: tdmdownloads/trunk/language/english/changelog.txt =================================================================== --- tdmdownloads/trunk/language/english/changelog.txt 2011-08-14 17:04:22 UTC (rev 136) +++ tdmdownloads/trunk/language/english/changelog.txt 2011-08-14 17:07:57 UTC (rev 137) @@ -1,4 +1,17 @@ ------------------------------------------------- +Version: 1.61 +Date: 2011/08/14 +------------------------------------------------- + +List of bugs: + + - bug in field.php (class moduleadmin not found) (Mage). + +List of improvements: + + - Using Frameworks "ModuleClasses" 1.1 (Mage). + +------------------------------------------------- Version: 1.6 Date: 2011/06/19 ------------------------------------------------- Modified: tdmdownloads/trunk/xoops_version.php =================================================================== --- tdmdownloads/trunk/xoops_version.php 2011-08-14 17:04:22 UTC (rev 136) +++ tdmdownloads/trunk/xoops_version.php 2011-08-14 17:07:57 UTC (rev 137) @@ -19,7 +19,7 @@ } $modversion['name'] = _MI_TDMDOWNLOADS_NAME; -$modversion['version'] = '1.6'; +$modversion['version'] = '1.61'; $modversion['description'] = _MI_TDMDOWNLOADS_DESC; $modversion['credits'] = 'G. Mage'; $modversion['author'] = 'G. Mage'; @@ -32,7 +32,7 @@ $modversion['image'] = 'images/tdmdownloads_logo.png'; $modversion['dirname'] = 'TDMDownloads'; $modversion['module_status'] = 'Final'; -$modversion['release_date'] = '2011/06/19'; +$modversion['release_date'] = '2011/08/14'; $modversion['sqlfile']['mysql'] = 'sql/mysql.sql'; $modversion['onInstall'] = 'include/install.php'; $modversion['onUpdate'] = 'include/update.php'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2011-08-14 17:04:28
|
Revision: 136 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=136&view=rev Author: mageg Date: 2011-08-14 17:04:22 +0000 (Sun, 14 Aug 2011) Log Message: ----------- Modified Paths: -------------- tdmdownloads/language/french/changelog.txt Modified: tdmdownloads/language/french/changelog.txt =================================================================== --- tdmdownloads/language/french/changelog.txt 2011-08-14 17:02:36 UTC (rev 135) +++ tdmdownloads/language/french/changelog.txt 2011-08-14 17:04:22 UTC (rev 136) @@ -3,11 +3,11 @@ Date: 14.08.2011 ------------------------------------------------- -List of bugs: +Liste des bugs: - bug dans field.php (la class moduleadmin n'\xE9tait pas trouv\xE9e) (Mage). -List of improvements: +Liste des am\xE9liorations: - Utilisation du Frameworks "ModuleClasses" 1.1 (Mage). This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2011-08-14 17:02:42
|
Revision: 135 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=135&view=rev Author: mageg Date: 2011-08-14 17:02:36 +0000 (Sun, 14 Aug 2011) Log Message: ----------- version 1.61 Modified Paths: -------------- tdmdownloads/language/french/changelog.txt Modified: tdmdownloads/language/french/changelog.txt =================================================================== --- tdmdownloads/language/french/changelog.txt 2011-08-14 16:36:24 UTC (rev 134) +++ tdmdownloads/language/french/changelog.txt 2011-08-14 17:02:36 UTC (rev 135) @@ -1,4 +1,17 @@ ------------------------------------------------- +Version: 1.61 +Date: 14.08.2011 +------------------------------------------------- + +List of bugs: + + - bug dans field.php (la class moduleadmin n'\xE9tait pas trouv\xE9e) (Mage). + +List of improvements: + + - Utilisation du Frameworks "ModuleClasses" 1.1 (Mage). + +------------------------------------------------- Version: 1.6 Date: 19.06.2011 ------------------------------------------------- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2011-08-14 16:36:30
|
Revision: 134 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=134&view=rev Author: mageg Date: 2011-08-14 16:36:24 +0000 (Sun, 14 Aug 2011) Log Message: ----------- bug in field.php (class moduleadmin not found) Modified Paths: -------------- tdmdownloads/trunk/admin/field.php Modified: tdmdownloads/trunk/admin/field.php =================================================================== --- tdmdownloads/trunk/admin/field.php 2011-08-02 16:46:26 UTC (rev 133) +++ tdmdownloads/trunk/admin/field.php 2011-08-14 16:36:24 UTC (rev 134) @@ -114,11 +114,13 @@ case "edit_field": //Affichage de la partie haute de l'administration de Xoops xoops_cp_header(); - $field_admin = new ModuleAdmin(); - echo $field_admin->addNavigation('field.php'); - $field_admin->addItemButton(_AM_TDMDOWNLOADS_FIELD_NEW, 'field.php?op=new_field', 'add'); - $field_admin->addItemButton(_AM_TDMDOWNLOADS_FIELD_LIST, 'field.php?op=list', 'list'); - echo $field_admin->renderButton(); + if (TDMDownloads_checkModuleAdmin()){ + $field_admin = new ModuleAdmin(); + echo $field_admin->addNavigation('field.php'); + $field_admin->addItemButton(_AM_TDMDOWNLOADS_FIELD_NEW, 'field.php?op=new_field', 'add'); + $field_admin->addItemButton(_AM_TDMDOWNLOADS_FIELD_LIST, 'field.php?op=list', 'list'); + echo $field_admin->renderButton(); + } //Affichage du formulaire de création des champs $obj = $downloadsfield_Handler->get($_REQUEST['fid']); $form = $obj->getForm(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2011-08-02 16:46:32
|
Revision: 133 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=133&view=rev Author: mageg Date: 2011-08-02 16:46:26 +0000 (Tue, 02 Aug 2011) Log Message: ----------- Modified Paths: -------------- tdmdownloads/trunk/xoops_version.php Modified: tdmdownloads/trunk/xoops_version.php =================================================================== --- tdmdownloads/trunk/xoops_version.php 2011-07-31 20:41:47 UTC (rev 132) +++ tdmdownloads/trunk/xoops_version.php 2011-08-02 16:46:26 UTC (rev 133) @@ -18,26 +18,27 @@ die('XOOPS root path not defined'); } -$modversion['name'] = _MI_TDMDOWNLOADS_NAME; -$modversion['version'] = '1.6'; -$modversion['description'] = _MI_TDMDOWNLOADS_DESC; -$modversion['credits'] = 'G. Mage'; -$modversion['author'] = 'G. Mage'; -$modversion['pseudo'] = 'Mage'; -$modversion['website'] = 'www.freexoopservices.com'; -$modversion['name_website'] = 'FreeXoopServices'; -$modversion['license'] = 'GPL see LICENSE'; -$modversion['official'] = 1; -$modversion['image'] = 'images/tdmdownloads_logo.png'; -$modversion['dirname'] = 'TDMDownloads'; -$modversion['status_version'] = 'Final'; -$modversion['release_date'] = '2011/06/19'; -$modversion['sqlfile']['mysql'] = 'sql/mysql.sql'; -$modversion['onInstall'] = 'include/install.php'; -$modversion['onUpdate'] = 'include/update.php'; -$modversion['help'] = 'page=help'; -$modversion['min_php'] = '5.2'; -$modversion['min_xoops'] = '2.5'; +$modversion['name'] = _MI_TDMDOWNLOADS_NAME; +$modversion['version'] = '1.6'; +$modversion['description'] = _MI_TDMDOWNLOADS_DESC; +$modversion['credits'] = 'G. Mage'; +$modversion['author'] = 'G. Mage'; +$modversion['nickname'] = 'Mage'; +$modversion['module_website_url'] = 'www.freexoopservices.com'; +$modversion['module_website_name'] = 'FreeXoopServices'; +$modversion['license'] = 'GNU GPL'; +$modversion['license_url'] = 'www.gnu.org/licenses/gpl-2.0.html/'; +$modversion['official'] = 1; +$modversion['image'] = 'images/tdmdownloads_logo.png'; +$modversion['dirname'] = 'TDMDownloads'; +$modversion['module_status'] = 'Final'; +$modversion['release_date'] = '2011/06/19'; +$modversion['sqlfile']['mysql'] = 'sql/mysql.sql'; +$modversion['onInstall'] = 'include/install.php'; +$modversion['onUpdate'] = 'include/update.php'; +$modversion['help'] = 'page=help'; +$modversion['min_php'] = '5.2'; +$modversion['min_xoops'] = '2.5'; // Admin menu // Set to 1 if you want to display menu generated by system module This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2011-07-31 20:41:53
|
Revision: 132 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=132&view=rev Author: mageg Date: 2011-07-31 20:41:47 +0000 (Sun, 31 Jul 2011) Log Message: ----------- Modified Paths: -------------- moduleadmin/trunk/doc/Framworks_moduleadmin_en.pdf moduleadmin/trunk/doc/Framworks_moduleadmin_fr.pdf Modified: moduleadmin/trunk/doc/Framworks_moduleadmin_en.pdf =================================================================== (Binary files differ) Modified: moduleadmin/trunk/doc/Framworks_moduleadmin_fr.pdf =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2011-07-31 20:12:59
|
Revision: 131 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=131&view=rev Author: mageg Date: 2011-07-31 20:12:53 +0000 (Sun, 31 Jul 2011) Log Message: ----------- Modified Paths: -------------- moduleadmin/language/french/main.php Modified: moduleadmin/language/french/main.php =================================================================== --- moduleadmin/language/french/main.php 2011-07-31 20:11:55 UTC (rev 130) +++ moduleadmin/language/french/main.php 2011-07-31 20:12:53 UTC (rev 131) @@ -14,8 +14,6 @@ * @author Grégory Mage (Aka Mage) */ -// - // Info define("_AM_MODULEADMIN_CONFIG","Configurations"); define("_AM_MODULEADMIN_CONFIG_CHMOD","Le dossier '%s' doit être avec le chmod '%s' (il est en %s)."); @@ -26,9 +24,9 @@ // About define("_AM_MODULEADMIN_ABOUT_CHANGELOG","Change log"); +define("_AM_MODULEADMIN_ABOUT_DESCRIPTION","Description"); define("_AM_MODULEADMIN_ABOUT_MODULEINFO","Infos sur le module"); define("_AM_MODULEADMIN_ABOUT_MODULESTATUS","Statut:"); define("_AM_MODULEADMIN_ABOUT_UPDATEDATE","Mise à jour:"); define("_AM_MODULEADMIN_ABOUT_WEBSITE","Site web:"); - ?> \ 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...> - 2011-07-31 20:12:01
|
Revision: 130 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=130&view=rev Author: mageg Date: 2011-07-31 20:11:55 +0000 (Sun, 31 Jul 2011) Log Message: ----------- moduleadmin version 1.1 Modified Paths: -------------- moduleadmin/trunk/language/english/main.php moduleadmin/trunk/moduleadmin.php moduleadmin/trunk/xoops_version.php Removed Paths: ------------- moduleadmin/trunk/images/ Modified: moduleadmin/trunk/language/english/main.php =================================================================== --- moduleadmin/trunk/language/english/main.php 2011-06-19 20:39:10 UTC (rev 129) +++ moduleadmin/trunk/language/english/main.php 2011-07-31 20:11:55 UTC (rev 130) @@ -14,8 +14,6 @@ * @author Grégory Mage (Aka Mage) */ -// - // Info define("_AM_MODULEADMIN_CONFIG","Configurations"); define("_AM_MODULEADMIN_CONFIG_CHMOD","The folder '%s' must be with a chmod '%s' (it's now set on %s)."); @@ -26,9 +24,9 @@ // About define("_AM_MODULEADMIN_ABOUT_CHANGELOG","Change log"); +define("_AM_MODULEADMIN_ABOUT_DESCRIPTION","Description"); define("_AM_MODULEADMIN_ABOUT_MODULEINFO","Module Infos"); define("_AM_MODULEADMIN_ABOUT_MODULESTATUS","Status:"); define("_AM_MODULEADMIN_ABOUT_UPDATEDATE","Update date:"); define("_AM_MODULEADMIN_ABOUT_WEBSITE","Website:"); - ?> \ No newline at end of file Modified: moduleadmin/trunk/moduleadmin.php =================================================================== --- moduleadmin/trunk/moduleadmin.php 2011-06-19 20:39:10 UTC (rev 129) +++ moduleadmin/trunk/moduleadmin.php 2011-07-31 20:11:55 UTC (rev 130) @@ -122,7 +122,7 @@ if ($this->_obj->getInfo('help')) { if (substr(XOOPS_VERSION, 0, 9) >= 'XOOPS 2.5'){ $ret .= "<a href=\"" . $pathsystem . "help.php?mid=" . $this->_obj->getVar('mid', 's') . "&" . $this->_obj->getInfo('help') . "\" title=\"" . _AM_SYSTEM_HELP . "\">"; - $ret .= "<img width=\"32px\" src=\"" . XOOPS_URL . "/Frameworks/moduleclasses/moduleadmin/images/admin/help.png\" alt=\"" . _AM_SYSTEM_HELP . "\" /> "; + $ret .= "<img width=\"32px\" src=\"" . XOOPS_URL . "/Frameworks/moduleclasses/icons/32/help.png\" alt=\"" . _AM_SYSTEM_HELP . "\" /> "; $ret .= "<span>" . _AM_SYSTEM_HELP . "</span>"; $ret .= "</a>"; } @@ -137,7 +137,7 @@ //****************************************************************************************************************** function renderButton($position = "right", $delimeter = " ") { - $path = XOOPS_URL . "/Frameworks/moduleclasses/moduleadmin/images/admin/"; + $path = XOOPS_URL . "/Frameworks/moduleclasses/icons/32/"; switch ($position) { default: @@ -186,7 +186,7 @@ function addConfigBoxLine($value = '', $type = 'default') { $line = ""; - $path = XOOPS_URL . "/Frameworks/moduleclasses/moduleadmin/images/action/"; + $path = XOOPS_URL . "/Frameworks/moduleclasses/icons/16/"; switch ($type) { default: @@ -248,9 +248,9 @@ $ret .= "<td colspan=\"2\">\n"; $ret .= "<fieldset><legend class=\"label\">"; $ret .= _AM_MODULEADMIN_CONFIG; - $ret .= "</legend><br/>\n"; + $ret .= "</legend>\n"; // php version - $path = XOOPS_URL . "/Frameworks/moduleclasses/moduleadmin/images/action/"; + $path = XOOPS_URL . "/Frameworks/moduleclasses/icons/16/"; if ($this->_obj->getInfo('min_php')){ if (phpversion() < $this->_obj->getInfo('min_php')){ $ret .= "<span style='color : red; font-weight : bold;'><img src='" . $path . "off.png' >" . sprintf(_AM_MODULEADMIN_CONFIG_PHP, $this->_obj->getInfo('min_php'), phpversion()) . "</span>\n"; @@ -284,7 +284,7 @@ //****************************************************************************************************************** // addInfoBox //****************************************************************************************************************** - // $title: title of a label + // $title: title of an InfoBox //****************************************************************************************************************** function addInfoBox($title) { @@ -295,7 +295,7 @@ //****************************************************************************************************************** // addInfoBoxLine //****************************************************************************************************************** - // $label: title of label + // $label: title of InfoBox Line // $text: // $type: type of config: 1- "default": Just a line with value. // 2- "information": check if this is an folder. @@ -327,7 +327,7 @@ foreach (array_keys( $this -> _itemInfoBox) as $i) { $ret .= "<fieldset><legend class=\"label\">"; $ret .= $this -> _itemInfoBox[$i]['title']; - $ret .= "</legend><br/>\n"; + $ret .= "</legend>\n"; foreach (array_keys( $this -> _itemInfoBoxLine) as $k) { if ($this -> _itemInfoBoxLine[$k]['label'] == $this -> _itemInfoBox[$i]['title']){ $ret .= $this -> _itemInfoBoxLine[$k]['line']; @@ -343,35 +343,40 @@ function renderAbout($paypal = '', $logo_xoops = true) { - $path = XOOPS_URL . "/Frameworks/moduleclasses/moduleadmin/images/admin/"; + $path = XOOPS_URL . "/Frameworks/moduleclasses/icons/32/"; $ret = "<table>\n<tr>\n"; $ret .= "<td width=\"50%\">\n"; $date = explode('/',$this->_obj->getInfo('release_date')); $author = explode(',',$this->_obj->getInfo('author')); - $pseudo = explode(',',$this->_obj->getInfo('pseudo')); - $release_date = formatTimestamp(mktime(0, 0, 0, $date[1], $date[2], $date[0]), 's'); - $module_info = '<div id="about"><label>' . _AM_MODULEADMIN_ABOUT_UPDATEDATE . '</label><text class="bold">' . formatTimestamp($this->_obj->getVar("last_update"),"m") . '</text><br /> - <label>' . _AM_MODULEADMIN_ABOUT_MODULESTATUS . '</label><text>' . $this->_obj->getInfo("status_version") . '</text><br /> - <label>' . _AM_MODULEADMIN_ABOUT_WEBSITE . '</label><text><a class="tooltip" href="http://' . $this->_obj->getInfo("website") . '" rel="external" title="'. $this->_obj->getInfo("name_website") . ' - ' . $this->_obj->getInfo("website") . '"> - ' . $this->_obj->getInfo("name_website") . '</a></text></div>'; + $nickname = explode(',',$this->_obj->getInfo('nickname')); + $release_date = formatTimestamp(mktime(0, 0, 0, $date[1], $date[2], $date[0]), 's'); + $module_info = '<div id="about"><label>' . _AM_MODULEADMIN_ABOUT_DESCRIPTION . '</label><text>' . $this->_obj->getInfo("description") . '</text><br /> + <label>' . _AM_MODULEADMIN_ABOUT_UPDATEDATE . '</label><text class="bold">' . formatTimestamp($this->_obj->getVar("last_update"),"m") . '</text><br /> + <label>' . _AM_MODULEADMIN_ABOUT_MODULESTATUS . '</label><text>' . $this->_obj->getInfo("module_status") . '</text><br /> + <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></div>'; $ret .= "<table>\n<tr>\n<td width=\"100px\">\n"; $ret .= "<img src='" . XOOPS_URL . "/modules/" . $this->_obj->getVar('dirname') . "/" . $this->_obj->getInfo('image') . "' alt='" . $this->_obj->getVar('name') . "' style='float: left; margin-right: 10px;' />\n"; $ret .= "</td><td>\n"; $ret .= "<div style='margin-top: 1px; margin-bottom: 4px; font-size: 18px; line-height: 18px; color: #2F5376; font-weight: bold;'>\n"; - $ret .= $this->_obj->getInfo('name') . " " . $this->_obj->getInfo('version') . " " . $this->_obj->getInfo('status_version') . " (" . $release_date . ")\n"; + $ret .= $this->_obj->getInfo('name') . " " . $this->_obj->getInfo('version') . " " . $this->_obj->getInfo('module_status') . " (" . $release_date . ")\n"; $ret .= "<br />\n"; $ret .= "</div>\n"; $ret .= "<div style='line-height: 16px; font-weight: bold;'>\n"; $ret .= "by "; foreach (array_keys($author) as $i) { $ret .= $author[$i]; - $ret .= " (" . $pseudo[$i] . "), "; + if (isset($nickname[$i]) && $nickname[$i] !='') { + $ret .= " (" . $nickname[$i] . "), "; + }else{ + $ret .= ", "; + } } $ret = substr($ret,0,-2); $ret .= "</div>\n"; $ret .= "<div style='line-height: 16px;'>\n"; - $ret .= $this->_obj->getInfo('license') . "\n"; + $ret.= "<a href=\"http://" . $this->_obj->getInfo('license_url') . "\" target=\"_blank\" >" . $this->_obj->getInfo('license') . "</a>\n"; $ret .= "<br />\n"; $ret .= "<a href=\"http://" . $this->_obj->getInfo('website') . "\" target=\"_blank\" >" . $this->_obj->getInfo('website') . "</a>\n"; $ret .= "<br />\n"; @@ -432,8 +437,7 @@ if ($this->_obj->adminmenu[$i]['link'] == "admin/" . $menu){ $navigation .= $this->_obj->adminmenu[$i]['title'] . " | "; $ret = "<div class=\"CPbigTitle\" style=\"background-image: url(" . $path . $this->_obj->adminmenu[$i]['icon'] . "); background-repeat: no-repeat; background-position: left; padding-left: 50px;\"> - - <strong>" . $this->_obj->adminmenu[$i]['title'] . "</strong></div><br />"; + <strong>" . $this->_obj->adminmenu[$i]['title'] . "</strong></div><br />"; }else{ $navigation .= "<a href = '../" . $this->_obj->adminmenu[$i]['link'] . "'>" . $this->_obj->adminmenu[$i]['title'] . "</a> | "; } Modified: moduleadmin/trunk/xoops_version.php =================================================================== --- moduleadmin/trunk/xoops_version.php 2011-06-19 20:39:10 UTC (rev 129) +++ moduleadmin/trunk/xoops_version.php 2011-07-31 20:11:55 UTC (rev 130) @@ -14,6 +14,6 @@ * @author Grégory Mage (Aka Mage) */ -define("XOOPS_FRAMEWORKS_MODULEADMIN_VERSION", "1.00"); -define("XOOPS_FRAMEWORKS_MODULEADMIN_RELEASEDATE", "2011/06/19"); +define("XOOPS_FRAMEWORKS_MODULEADMIN_VERSION", "1.1"); +define("XOOPS_FRAMEWORKS_MODULEADMIN_RELEASEDATE", "2011/08/01"); ?> \ 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...> - 2011-06-19 20:39:16
|
Revision: 129 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=129&view=rev Author: mageg Date: 2011-06-19 20:39:10 +0000 (Sun, 19 Jun 2011) Log Message: ----------- Modified Paths: -------------- biography/trunk/admin/menu.php biography/trunk/templates/biography_viewbiography.html biography/trunk/viewbiography.php Added Paths: ----------- biography/trunk/images/admin/group.png biography/trunk/images/admin/member.png Modified: biography/trunk/admin/menu.php =================================================================== --- biography/trunk/admin/menu.php 2011-06-19 20:23:46 UTC (rev 128) +++ biography/trunk/admin/menu.php 2011-06-19 20:39:10 UTC (rev 129) @@ -20,10 +20,10 @@ $adminmenu[1]['icon'] = 'images/admin/home.png'; $adminmenu[2]['title'] = _MI_BIOGRAPHY_MENU2; $adminmenu[2]['link'] = 'admin/group.php'; -$adminmenu[2]['icon'] = 'images/admin/home.png'; +$adminmenu[2]['icon'] = 'images/admin/group.png'; $adminmenu[3]['title'] = _MI_BIOGRAPHY_MENU3; $adminmenu[3]['link'] = 'admin/member.php'; -$adminmenu[3]['icon'] = 'images/admin/home.png'; +$adminmenu[3]['icon'] = 'images/admin/member.png'; $adminmenu[4]['title'] = _MI_BIOGRAPHY_MENU4; $adminmenu[4]['link'] = 'admin/permissions.php'; $adminmenu[4]['icon'] = 'images/admin/permissions.png'; Added: biography/trunk/images/admin/group.png =================================================================== (Binary files differ) Property changes on: biography/trunk/images/admin/group.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: biography/trunk/images/admin/member.png =================================================================== (Binary files differ) Property changes on: biography/trunk/images/admin/member.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: biography/trunk/templates/biography_viewbiography.html =================================================================== --- biography/trunk/templates/biography_viewbiography.html 2011-06-19 20:23:46 UTC (rev 128) +++ biography/trunk/templates/biography_viewbiography.html 2011-06-19 20:39:10 UTC (rev 129) @@ -1,5 +1,5 @@ <div id="biography"> - <br /><br /> + <br /><br /> <p align="center"> <a href="<{$xoops_url}>/modules/biography/index.php"><img src="<{$xoops_url}>/modules/biography/images/biography.png" alt="" border="0" /></a> </p> @@ -22,7 +22,9 @@ <td width="60%" align="left"> <{$bio_text}> <br /><br /> + <{if $bio_link}> <{$bio_link}> + <{/if}> </td> </tr> </table> \ No newline at end of file Modified: biography/trunk/viewbiography.php =================================================================== --- biography/trunk/viewbiography.php 2011-06-19 20:23:46 UTC (rev 128) +++ biography/trunk/viewbiography.php 2011-06-19 20:39:10 UTC (rev 129) @@ -42,7 +42,9 @@ $xoopsTpl->assign('bio_shorttext', $view_biography->getVar('bio_shorttext')); $xoopsTpl->assign('bio_text', $view_biography->getVar('bio_text')); $xoopsTpl->assign('bio_img', $view_biography->getVar('bio_img')); -$xoopsTpl->assign('bio_link', '<a href="' . XOOPS_URL . '/modules/' . $view_biography->getVar('bio_link') . '">' . _MD_BIOGRAPHY_VIEWBIOGRAPHY_LINK . ' ' . $view_biography->getVar('bio_name')); +if ($view_biography->getVar('bio_link') != ''){ + $xoopsTpl->assign('bio_link', '<a href="' . XOOPS_URL . '/modules/' . $view_biography->getVar('bio_link') . '">' . _MD_BIOGRAPHY_VIEWBIOGRAPHY_LINK . ' ' . $view_biography->getVar('bio_name')); +} $lenght = 200; $xoTheme->addMeta( 'meta', 'description', strip_tags(strlen($view_biography->getVar('bio_text')) > $lenght ? substr($view_biography->getVar('bio_text'),0,($lenght)) : $view_biography->getVar('bio_text'))); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2011-06-19 20:23:55
|
Revision: 128 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=128&view=rev Author: mageg Date: 2011-06-19 20:23:46 +0000 (Sun, 19 Jun 2011) Log Message: ----------- Modified Paths: -------------- biography/trunk/admin/about.php biography/trunk/admin/group.php biography/trunk/admin/header.php biography/trunk/admin/index.php biography/trunk/admin/member.php biography/trunk/admin/menu.php biography/trunk/admin/permissions.php biography/trunk/blocks/blocks_biography.php biography/trunk/class/biography_bio.php biography/trunk/extra/plugins/sitemap/biography.php biography/trunk/header.php biography/trunk/include/functions.php biography/trunk/include/install.php biography/trunk/include/search.inc.php biography/trunk/index.php biography/trunk/language/english/admin.php biography/trunk/language/english/blocks.php biography/trunk/language/english/main.php biography/trunk/language/english/modinfo.php biography/trunk/sql/mysql.sql biography/trunk/submit.php biography/trunk/viewbiography.php biography/trunk/xoops_version.php Added Paths: ----------- biography/trunk/docs/ biography/trunk/docs/changelog.txt biography/trunk/docs/index.html biography/trunk/images/admin/ biography/trunk/images/admin/about.png biography/trunk/images/admin/add.png biography/trunk/images/admin/home.png biography/trunk/images/admin/index.html biography/trunk/images/admin/list.png biography/trunk/images/admin/permissions.png biography/trunk/images/admin/xoopsmicrobutton.gif biography/trunk/language/english/changelog.txt biography/trunk/language/english/help/ biography/trunk/language/english/help/help.html biography/trunk/language/english/help/index.html biography/trunk/language/lang_diff.txt Removed Paths: ------------- biography/trunk/css/button.css biography/trunk/css/menu.css biography/trunk/images/bg_button.gif biography/trunk/images/icon/add.png biography/trunk/images/icon/database.png biography/trunk/images/menu/ biography/trunk/language/english/version_history.txt Modified: biography/trunk/admin/about.php =================================================================== --- biography/trunk/admin/about.php 2011-06-19 20:22:34 UTC (rev 127) +++ biography/trunk/admin/about.php 2011-06-19 20:23:46 UTC (rev 128) @@ -1,7 +1,6 @@ <?php -/* **************************************************************************** - * biography- MODULE FOR XOOPS - * Copyright (c) G. Mage +/** + * biography * * 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 @@ -10,17 +9,18 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright G. Mage - * @license propri\xE9taire - * @package biography - * @author G. Mage - * - * ****************************************************************************/ - + * @copyright Gregory Mage (Aka Mage) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Gregory Mage (Aka Mage) + */ + include 'header.php'; xoops_cp_header(); -biography_MenuAdmin('about.php'); -biography_about(); +if (biography_checkModuleAdmin()){ + $about_admin = new ModuleAdmin(); + echo $about_admin->addNavigation('about.php'); + echo $about_admin->renderabout('9MYQB7GUK5MCS', true); +} xoops_cp_footer(); ?> \ No newline at end of file Modified: biography/trunk/admin/group.php =================================================================== --- biography/trunk/admin/group.php 2011-06-19 20:22:34 UTC (rev 127) +++ biography/trunk/admin/group.php 2011-06-19 20:23:46 UTC (rev 128) @@ -1,7 +1,6 @@ <?php -/* **************************************************************************** - * biography- MODULE FOR XOOPS - * Copyright (c) G. Mage +/** + * biography * * 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 @@ -10,13 +9,11 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright G. Mage - * @license propri\xE9taire - * @package biography - * @author G. Mage - * - * ****************************************************************************/ - + * @copyright Gregory Mage (Aka Mage) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Gregory Mage (Aka Mage) + */ + include 'header.php'; $op = biography_CleanVars($_REQUEST, 'op', 'edit', 'string'); @@ -24,10 +21,12 @@ switch ($op) { case "edit": - default: - xoops_cp_header(); - biography_MenuAdmin('group.php'); - echo "<br /> "; + default: + xoops_cp_header(); + if (biography_checkModuleAdmin()){ + $group_admin = new ModuleAdmin(); + echo $group_admin->addNavigation('group.php'); + } $obj =& $biography_bioHandler->get(1); $form = $obj->getForm(); $form->display(); @@ -45,10 +44,10 @@ $obj =& $biography_bioHandler->create(); } $error = false; - $error_message = ''; + $error_message = ''; $obj->setVar('bio_name', $_POST['bio_name']); $obj->setVar('bio_shorttext', $_POST['bio_shorttext']); - $obj->setVar('bio_text', $_POST['bio_text']); + $obj->setVar('bio_text', $_POST['bio_text']); include_once XOOPS_ROOT_PATH.'/class/uploader.php'; $uploaddir = XOOPS_ROOT_PATH . '/uploads/biography/logo'; $uploader_logo = new XoopsMediaUploader($uploaddir, array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/x-png', 'image/png'), $xoopsModuleConfig['biography_maxuploadsize'], null, null); @@ -77,21 +76,20 @@ $obj->setVar('bio_link', $_POST['bio_link']); $obj->setVar('bio_type', 0); if ($error==false){ - if ($biography_bioHandler->insert($obj)) { + if ($biography_bioHandler->insert($obj)) { redirect_header('group.php', 2, _AM_BIOGRAPHY_GROUP_SAVE); } - echo $obj->getHtmlErrors(); + echo $obj->getHtmlErrors(); }else{ - xoops_cp_header(); - biography_MenuAdmin('group.php'); - echo "<br /> "; + xoops_cp_header(); + biography_MenuAdmin('group.php'); + echo "<br /> "; $obj =& $biography_bioHandler->get(1); echo '<div class="errorMsg" style="text-align: left;">' . $error_message . '</div>'; $form =& $obj->getForm(); $form->display(); } - break; + break; } - xoops_cp_footer(); ?> \ No newline at end of file Modified: biography/trunk/admin/header.php =================================================================== --- biography/trunk/admin/header.php 2011-06-19 20:22:34 UTC (rev 127) +++ biography/trunk/admin/header.php 2011-06-19 20:23:46 UTC (rev 128) @@ -1,7 +1,6 @@ <?php -/* **************************************************************************** - * biography- MODULE FOR XOOPS - * Copyright (c) G. Mage +/** + * biography * * 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 @@ -10,12 +9,10 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright G. Mage - * @license propri\xE9taire - * @package biography - * @author G. Mage - * - * ****************************************************************************/ + * @copyright Gregory Mage (Aka Mage) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Gregory Mage (Aka Mage) + */ require_once "../../../include/cp_header.php"; include_once("../include/functions.php"); Modified: biography/trunk/admin/index.php =================================================================== --- biography/trunk/admin/index.php 2011-06-19 20:22:34 UTC (rev 127) +++ biography/trunk/admin/index.php 2011-06-19 20:23:46 UTC (rev 128) @@ -1,7 +1,6 @@ <?php -/* **************************************************************************** - * biography- MODULE FOR XOOPS - * Copyright (c) G. Mage +/** + * biography * * 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 @@ -10,88 +9,36 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright G. Mage - * @license propri\xE9taire - * @package biography - * @author G. Mage - * - * ****************************************************************************/ - + * @copyright Gregory Mage (Aka Mage) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Gregory Mage (Aka Mage) + */ + include 'header.php'; xoops_cp_header(); -biography_MenuAdmin('index.php'); // total bio $criteria = new CriteriaCompo(); $criteria->add(new Criteria('bio_type', 1)); $total_bio = $biography_bioHandler->getCount($criteria); +// dossier dans uploads +$folder = array(XOOPS_ROOT_PATH . '/uploads/biography', XOOPS_ROOT_PATH . '/uploads/biography/logo'); -echo "<br />\n"; -echo "<fieldset><legend style='font-size: 16px; color: #2F5376; font-weight: bold;'>" . _MI_BIOGRAPHY_MENU3 . "</legend><br/>\n"; -printf(_AM_BIOGRAPHY_INDEX_TOTALBIO, $total_bio); -echo "</fieldset>\n"; -echo "<br />\n"; -echo "<fieldset><legend style='font-size: 16px; color: #2F5376; font-weight: bold;'>" . _AM_BIOGRAPHY_CONFIG . "</legend><br/>\n"; -if (phpversion() < 5.2){ - echo "<span style='color: red;'><img src='./../images/icon/off.gif' > "; - printf(_AM_BIOGRAPHY_CONFIG_PHP, phpversion()); - echo "</span>\n"; -}else{ - echo "<span style='color: green;'><img src='./../images/icon/on.gif' > "; - printf(_AM_BIOGRAPHY_CONFIG_PHP, phpversion()); - echo "</span>\n"; -} -echo "<br />\n"; - -$url_folder = XOOPS_ROOT_PATH . '/uploads/biography'; - -if (is_dir($url_folder)) { - echo "<span style='color: green;'><img src='./../images/icon/on.gif' > "; - printf(_AM_BIOGRAPHY_CONFIG_FOLDEROK, $url_folder); - echo "</span>\n"; -} else { - echo "<span style='color: red;'><img src='./../images/icon/off.gif' > "; - printf(_AM_BIOGRAPHY_CONFIG_FOLDERKO, $url_folder); - echo "</span>\n"; -} -echo "<br />\n"; -if (is_dir($url_folder)) { - if (substr(decoct(fileperms($url_folder)),2) == 777) { - echo "<span style='color: green;'><img src='./../images/icon/on.gif' > "; - printf(_AM_BIOGRAPHY_CONFIG_CHMOD, $url_folder, substr(decoct(fileperms($url_folder)),2)); - echo "</span>\n"; - } else { - echo "<span style='color: red;'><img src='./../images/icon/off.gif' > "; - printf(_AM_BIOGRAPHY_CONFIG_CHMOD, $url_folder, substr(decoct(fileperms($url_folder)),2)); - echo "</span>\n"; +if (biography_checkModuleAdmin()){ + $index_admin = new ModuleAdmin(); + $index_admin->addInfoBox(_MI_BIOGRAPHY_MENU3); + if ($total_bio == 0){ + $index_admin->addInfoBoxLine(_MI_BIOGRAPHY_MENU3, _AM_BIOGRAPHY_INDEX_TOTALBIO, $total_bio, 'Green'); + }else{ + $index_admin->addInfoBoxLine(_MI_BIOGRAPHY_MENU3, _AM_BIOGRAPHY_INDEX_TOTALBIO, $total_bio, 'Red'); } -} -echo "<br />\n"; -$url_folder = XOOPS_ROOT_PATH . '/uploads/biography/logo'; -if (is_dir($url_folder)) { - echo "<span style='color: green;'><img src='./../images/icon/on.gif' > "; - printf(_AM_BIOGRAPHY_CONFIG_FOLDEROK, $url_folder); - echo "</span>\n"; -} else { - echo "<span style='color: red;'><img src='./../images/icon/off.gif' > "; - printf(_AM_BIOGRAPHY_CONFIG_FOLDERKO, $url_folder); - echo "</span>\n"; -} -echo "<br />\n"; -if (is_dir($url_folder)) { - if (substr(decoct(fileperms($url_folder)),2) == 777) { - echo "<span style='color: green;'><img src='./../images/icon/on.gif' > "; - printf(_AM_BIOGRAPHY_CONFIG_CHMOD, $url_folder, substr(decoct(fileperms($url_folder)),2)); - echo "</span>\n"; - } else { - echo "<span style='color: red;'><img src='./../images/icon/off.gif' > "; - printf(_AM_BIOGRAPHY_CONFIG_CHMOD, $url_folder, substr(decoct(fileperms($url_folder)),2)); - echo "</span>\n"; + foreach (array_keys( $folder) as $i) { + $index_admin->addConfigBoxLine($folder[$i], 'folder'); + $index_admin->addConfigBoxLine(array($folder[$i], '777'), 'chmod'); } + echo $index_admin->addNavigation('index.php'); + echo $index_admin->renderIndex(); } - -echo "</fieldset>\n"; - xoops_cp_footer(); ?> \ No newline at end of file Modified: biography/trunk/admin/member.php =================================================================== --- biography/trunk/admin/member.php 2011-06-19 20:22:34 UTC (rev 127) +++ biography/trunk/admin/member.php 2011-06-19 20:23:46 UTC (rev 128) @@ -1,7 +1,6 @@ <?php -/* **************************************************************************** - * biography- MODULE FOR XOOPS - * Copyright (c) G. Mage +/** + * biography * * 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 @@ -10,13 +9,11 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright G. Mage - * @license propri\xE9taire - * @package biography - * @author G. Mage - * - * ****************************************************************************/ - + * @copyright Gregory Mage (Aka Mage) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Gregory Mage (Aka Mage) + */ + include 'header.php'; $op = biography_CleanVars($_REQUEST, 'op', 'list', 'string'); @@ -25,25 +22,29 @@ default: case "list": xoops_cp_header(); - biography_MenuAdmin('member.php'); - biography_buttons(_AM_BIOGRAPHY_MEMBER_ADD, 'member.php', 'A', 'op=new'); + if (biography_checkModuleAdmin()){ + $member_admin = new ModuleAdmin(); + echo $member_admin->addNavigation('member.php'); + $member_admin->addItemButton(_AM_BIOGRAPHY_MEMBER_ADD, 'member.php?op=new', 'add'); + echo $member_admin->renderButton(); + } $criteria = new CriteriaCompo(); $criteria->add(new Criteria('bio_type', 1)); $arguments = ''; $sortingorder = 'ASC'; $sortingtype = 'bio_name'; $sortingnumber = $xoopsModuleConfig['biography_perpage']; - + if (isset($_REQUEST['sortingorder'])){ - $sortingorder = $_REQUEST['sortingorder']; + $sortingorder = $_REQUEST['sortingorder']; $arguments .= 'sortingorder=' . $sortingorder . '&'; } if (isset($_REQUEST['sortingtype'])){ - $sortingtype = $_REQUEST['sortingtype']; + $sortingtype = $_REQUEST['sortingtype']; $arguments .= 'sortingtype=' . $sortingtype . '&'; } if (isset($_REQUEST['sortingnumber'])){ - $sortingnumber = $_REQUEST['sortingnumber']; + $sortingnumber = $_REQUEST['sortingnumber']; $arguments .= 'sortingnumber=' . $sortingnumber . '&'; } $start = biography_CleanVars($_REQUEST, 'start', 0, 'int'); @@ -79,13 +80,17 @@ echo '<br /><div align=right>' . $nav->renderNav(4). '</div><br />'; } } - + break; - + case "new": xoops_cp_header(); - biography_MenuAdmin('member.php'); - biography_buttons(_AM_BIOGRAPHY_MEMBER_LIST, 'member.php', 'L'); + if (biography_checkModuleAdmin()){ + $member_admin = new ModuleAdmin(); + echo $member_admin->addNavigation('member.php'); + $member_admin->addItemButton(_AM_BIOGRAPHY_MEMBER_LIST, 'member.php?op=list', 'list'); + echo $member_admin->renderButton(); + } $obj =& $biography_bioHandler->create(); $form = $obj->getForm(); $form->display(); @@ -93,8 +98,13 @@ case "edit": xoops_cp_header(); - biography_MenuAdmin('member.php'); - biography_buttons(_AM_BIOGRAPHY_MEMBER_LIST, 'member.php', 'L'); + if (biography_checkModuleAdmin()){ + $member_admin = new ModuleAdmin(); + echo $member_admin->addNavigation('member.php'); + $member_admin->addItemButton(_AM_BIOGRAPHY_MEMBER_ADD, 'member.php?op=new', 'add'); + $member_admin->addItemButton(_AM_BIOGRAPHY_MEMBER_LIST, 'member.php?op=list', 'list'); + echo $member_admin->renderButton(); + } $bio_id = biography_CleanVars($_REQUEST, 'bio_id', 0, 'int'); $obj =& $biography_bioHandler->get($bio_id); $form = $obj->getForm(); @@ -103,6 +113,13 @@ case "del": xoops_cp_header(); + if (biography_checkModuleAdmin()){ + $member_admin = new ModuleAdmin(); + echo $member_admin->addNavigation('member.php'); + $member_admin->addItemButton(_AM_BIOGRAPHY_MEMBER_ADD, 'member.php?op=new', 'add'); + $member_admin->addItemButton(_AM_BIOGRAPHY_MEMBER_LIST, 'member.php?op=list', 'list'); + echo $member_admin->renderButton(); + } $bio_id = biography_CleanVars($_REQUEST, 'bio_id', 0, 'int'); $obj =& $biography_bioHandler->get($bio_id); if (isset($_REQUEST['ok']) && $_REQUEST['ok'] == 1) { @@ -120,7 +137,7 @@ xoops_confirm(array('ok' => 1, '$bio_id' => $bio_id, 'op' => 'del'), $_SERVER['REQUEST_URI'], sprintf(_AM_BIOGRAPHY_SUREDEL, $obj->getVar('bio_name')) . '<br />'); } break; - + case "save": if (!$GLOBALS['xoopsSecurity']->check()) { redirect_header('group.php', 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); @@ -132,10 +149,10 @@ $obj =& $biography_bioHandler->create(); } $error = false; - $error_message = ''; + $error_message = ''; $obj->setVar('bio_name', $_POST['bio_name']); $obj->setVar('bio_shorttext', $_POST['bio_shorttext']); - $obj->setVar('bio_text', $_POST['bio_text']); + $obj->setVar('bio_text', $_POST['bio_text']); include_once XOOPS_ROOT_PATH.'/class/uploader.php'; $uploaddir = XOOPS_ROOT_PATH . '/uploads/biography/logo'; $uploader_logo = new XoopsMediaUploader($uploaddir, array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/x-png', 'image/png'), $xoopsModuleConfig['biography_maxuploadsize'], null, null); @@ -164,21 +181,20 @@ $obj->setVar('bio_link', $_POST['bio_link']); $obj->setVar('bio_type', 1); if ($error==false){ - if ($biography_bioHandler->insert($obj)) { + if ($biography_bioHandler->insert($obj)) { redirect_header('member.php', 2, _AM_BIOGRAPHY_MEMBER_SAVE); } - echo $obj->getHtmlErrors(); + echo $obj->getHtmlErrors(); }else{ - xoops_cp_header(); + xoops_cp_header(); biography_MenuAdmin('member.php'); - biography_buttons(_AM_BIOGRAPHY_MEMBER_LIST, 'member.php', 'L'); + biography_buttons(_AM_BIOGRAPHY_MEMBER_LIST, 'member.php', 'L'); $obj =& $biography_bioHandler->get($bio_id); echo '<div class="errorMsg" style="text-align: left;">' . $error_message . '</div>'; $form =& $obj->getForm(); $form->display(); } - break; + break; } - xoops_cp_footer(); ?> \ No newline at end of file Modified: biography/trunk/admin/menu.php =================================================================== --- biography/trunk/admin/menu.php 2011-06-19 20:22:34 UTC (rev 127) +++ biography/trunk/admin/menu.php 2011-06-19 20:23:46 UTC (rev 128) @@ -1,7 +1,6 @@ <?php -/* **************************************************************************** - * biography- MODULE FOR XOOPS - * Copyright (c) G. Mage +/** + * biography * * 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 @@ -10,28 +9,26 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright G. Mage - * @license propri\xE9taire - * @package biography - * @author G. Mage - * - * ****************************************************************************/ + * @copyright Gregory Mage (Aka Mage) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Gregory Mage (Aka Mage) + */ $adminmenu = array(); $adminmenu[1]['title'] = _MI_BIOGRAPHY_MENU1; $adminmenu[1]['link'] = 'admin/index.php'; -//$adminmenu[1]['icon'] = 'images/menu_nav_1.gif'; +$adminmenu[1]['icon'] = 'images/admin/home.png'; $adminmenu[2]['title'] = _MI_BIOGRAPHY_MENU2; $adminmenu[2]['link'] = 'admin/group.php'; -//$adminmenu[2]['icon'] = 'images/menu_nav_2.gif'; +$adminmenu[2]['icon'] = 'images/admin/home.png'; $adminmenu[3]['title'] = _MI_BIOGRAPHY_MENU3; $adminmenu[3]['link'] = 'admin/member.php'; -//$adminmenu[3]['icon'] = 'images/menu_nav_2.gif'; +$adminmenu[3]['icon'] = 'images/admin/home.png'; $adminmenu[4]['title'] = _MI_BIOGRAPHY_MENU4; $adminmenu[4]['link'] = 'admin/permissions.php'; -//$adminmenu[4]['icon'] = 'images/menu_nav_3.gif'; +$adminmenu[4]['icon'] = 'images/admin/permissions.png'; $adminmenu[5]['title'] = _MI_BIOGRAPHY_MENU5; $adminmenu[5]['link'] = 'admin/about.php'; -//$adminmenu[5]['icon'] = 'images/menu_nav_4.gif'; +$adminmenu[5]['icon'] = 'images/admin/about.png'; ?> \ No newline at end of file Modified: biography/trunk/admin/permissions.php =================================================================== --- biography/trunk/admin/permissions.php 2011-06-19 20:22:34 UTC (rev 127) +++ biography/trunk/admin/permissions.php 2011-06-19 20:23:46 UTC (rev 128) @@ -1,7 +1,6 @@ <?php -/* **************************************************************************** - * biography- MODULE FOR XOOPS - * Copyright (c) G. Mage +/** + * biography * * 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 @@ -10,19 +9,20 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright G. Mage - * @license propri\xE9taire - * @package biography - * @author G. Mage - * - * ****************************************************************************/ + * @copyright Gregory Mage (Aka Mage) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Gregory Mage (Aka Mage) + */ include 'header.php'; xoops_cp_header(); -biography_MenuAdmin('permissions.php'); -echo "<br /><br /><br />\n"; +if (biography_checkModuleAdmin()){ + $permissions_admin = new ModuleAdmin(); + echo $permissions_admin->addNavigation('permissions.php'); +} + $moduleId = $xoopsModule->getVar('mid'); $formTitle = _AM_BIOGRAPHY_PERMISSIONS; @@ -42,5 +42,5 @@ unset ($permissionsForm); //Affichage de la partie basse de l'administration de Xoops -xoops_cp_footer(); +xoops_cp_footer(); ?> \ No newline at end of file Modified: biography/trunk/blocks/blocks_biography.php =================================================================== --- biography/trunk/blocks/blocks_biography.php 2011-06-19 20:22:34 UTC (rev 127) +++ biography/trunk/blocks/blocks_biography.php 2011-06-19 20:23:46 UTC (rev 128) @@ -1,7 +1,6 @@ <?php -/* **************************************************************************** - * biography- MODULE FOR XOOPS - * Copyright (c) G. Mage +/** + * biography * * 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 @@ -10,48 +9,45 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright G. Mage - * @license propri\xE9taire - * @package biography - * @author G. Mage - * - * ****************************************************************************/ + * @copyright Gregory Mage (Aka Mage) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Gregory Mage (Aka Mage) + */ - function b_biography_entry_show($options) { require_once XOOPS_ROOT_PATH . '/modules/biography/include/functions.php'; //appel de la class $biography_bioHandler =& xoops_getModuleHandler("biography_bio", "biography"); $block = array(); - $type_block = $options[0]; - $nb_entree = $options[1]; - $lenght_title = $options[2]; + $type_block = $options[0]; + $nb_entree = $options[1]; + $lenght_title = $options[2]; $criteria = new CriteriaCompo(); $criteria->add(new Criteria('bio_type', 1)); - switch ($type_block) - { + switch ($type_block) + { // pour le bloc: al\xE9atoire - case "random": - $criteria->setSort('RAND()'); - break; - } + case "random": + $criteria->setSort('RAND()'); + break; + } $criteria->setLimit($nb_entree); - $biography_bio_arr = $biography_bioHandler->getall($criteria); - foreach (array_keys($biography_bio_arr) as $i) { - $block[$i]['bio_id'] = $biography_bio_arr[$i]->getVar('bio_id'); - $block[$i]['bio_name'] = $biography_bio_arr[$i]->getVar('bio_name'); + $biography_bio_arr = $biography_bioHandler->getall($criteria); + foreach (array_keys($biography_bio_arr) as $i) { + $block[$i]['bio_id'] = $biography_bio_arr[$i]->getVar('bio_id'); + $block[$i]['bio_name'] = $biography_bio_arr[$i]->getVar('bio_name'); $block[$i]['bio_text'] = strlen($biography_bio_arr[$i]->getVar('bio_text')) > $lenght_title ? substr($biography_bio_arr[$i]->getVar('bio_text'),0,($lenght_title)) . ' ... <a href="' . XOOPS_URL . '/modules/biography/viewbiography.php?bio_id=' . $biography_bio_arr[$i]->getVar('bio_id') . '">' . _MB_BIOGRAPHY_MORE . '</a>' : $biography_bio_arr[$i]->getVar('bio_text'); - $block[$i]['bio_logo'] = $biography_bio_arr[$i]->getVar('bio_logo'); - } - return $block; + $block[$i]['bio_logo'] = $biography_bio_arr[$i]->getVar('bio_logo'); + } + return $block; } -function b_biography_entry_edit($options) { - $form = _MB_BIOGRAPHY_DISP . " \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\" /> " . _MB_BIOGRAPHY_FILES . "<br />"; - $form .= _MB_BIOGRAPHY_CHARS . " : <input name=\"options[2]\" size=\"5\" maxlength=\"255\" value=\"" . $options[2] . "\" type=\"text\" /><br /><br />"; - return $form; +function b_biography_entry_edit($options) { + $form = _MB_BIOGRAPHY_DISP . " \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\" /> " . _MB_BIOGRAPHY_FILES . "<br />"; + $form .= _MB_BIOGRAPHY_CHARS . " : <input name=\"options[2]\" size=\"5\" maxlength=\"255\" value=\"" . $options[2] . "\" type=\"text\" /><br /><br />"; + return $form; } function b_biography_group_show($options) { @@ -61,7 +57,7 @@ $block = array(); $logo = $options[0]; $name = $options[1]; - $lenght_title = $options[2]; + $lenght_title = $options[2]; $view_biography = $biography_bioHandler->get(1); $block['bio_id'] = $view_biography->getVar('bio_id'); if ($name == 0){ @@ -75,12 +71,12 @@ }else{ $block['bio_logo'] = $view_biography->getVar('bio_logo'); } - return $block; + return $block; } -function b_biography_group_edit($options) { - $form = _MB_BIOGRAPHY_DISP . " \n"; - $form .= _MB_BIOGRAPHY_LOGO . ": " . _YES . "<input type=\"radio\" name=\"options[0]\" value=\"1\""; +function b_biography_group_edit($options) { + $form = _MB_BIOGRAPHY_DISP . " \n"; + $form .= _MB_BIOGRAPHY_LOGO . ": " . _YES . "<input type=\"radio\" name=\"options[0]\" value=\"1\""; if ($options[0] == 1){ $form .= "CHECKED"; } @@ -100,8 +96,8 @@ $form .= "CHECKED"; } $form .= " /><br /><br />"; - $form .= _MB_BIOGRAPHY_CHARS . " : <input name=\"options[2]\" size=\"5\" maxlength=\"255\" value=\"" . $options[2] . "\" type=\"text\" /><br /><br />"; - return $form; + $form .= _MB_BIOGRAPHY_CHARS . " : <input name=\"options[2]\" size=\"5\" maxlength=\"255\" value=\"" . $options[2] . "\" type=\"text\" /><br /><br />"; + return $form; } - + ?> \ No newline at end of file Modified: biography/trunk/class/biography_bio.php =================================================================== --- biography/trunk/class/biography_bio.php 2011-06-19 20:22:34 UTC (rev 127) +++ biography/trunk/class/biography_bio.php 2011-06-19 20:23:46 UTC (rev 128) @@ -1,7 +1,6 @@ <?php -/* **************************************************************************** - * biography- MODULE FOR XOOPS - * Copyright (c) G. Mage +/** + * biography * * 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 @@ -10,19 +9,17 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright G. Mage - * @license propri\xE9taire - * @package biography - * @author G. Mage - * - * ****************************************************************************/ - + * @copyright Gregory Mage (Aka Mage) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Gregory Mage (Aka Mage) + */ + if (!defined("XOOPS_ROOT_PATH")) { die("XOOPS root path not defined"); } class biography_bio extends XoopsObject -{ +{ //Constructor function __construct() { @@ -37,106 +34,106 @@ $this->initVar("bio_type",XOBJ_DTYPE_INT,null,false); // Pour autoriser le html $this->initVar("dohtml", XOBJ_DTYPE_INT, 1, false); - + } function biography_bio() { $this->__construct(); } - + function getForm($action = false) { global $xoopsDB, $xoopsModuleConfig, $xoopsModule; - + if ($action === false) { $action = $_SERVER["REQUEST_URI"]; } - + include_once $GLOBALS['xoops']->path('class/xoopsformloader.php'); $form = new XoopsThemeForm(sprintf(_AM_BIOGRAPHY_GROUP_EDIT, $this->getVar('bio_name')), 'form', $action, 'post', true); $form->setExtra('enctype="multipart/form-data"'); - + if (!$this->isNew()) { $form->addElement(new XoopsFormHidden('bio_id', $this->getVar('bio_id'))); } - + $form->addElement(new XoopsFormText(_AM_BIOGRAPHY_GROUP_NAME, 'bio_name', 50, 255, $this->getVar('bio_name')), true); - + $form->addElement(new XoopsFormText(_AM_BIOGRAPHY_GROUP_SHORTTEXT, 'bio_shorttext', 50, 255, $this->getVar('bio_shorttext')), false); - + $editor_configs=array(); - $editor_configs["name"] ='bio_text'; - $editor_configs["value"] = $this->getVar('bio_text', 'e'); - $editor_configs["rows"] = 10; - $editor_configs["cols"] = 50; - $editor_configs["width"] = "100%"; - $editor_configs["height"] = "400px"; - $editor_configs["editor"] = $xoopsModuleConfig['biography_editor']; + $editor_configs["name"] ='bio_text'; + $editor_configs["value"] = $this->getVar('bio_text', 'e'); + $editor_configs["rows"] = 10; + $editor_configs["cols"] = 50; + $editor_configs["width"] = "100%"; + $editor_configs["height"] = "400px"; + $editor_configs["editor"] = $xoopsModuleConfig['biography_editor']; $form->addElement(new XoopsFormEditor(_AM_BIOGRAPHY_GROUP_TEXT, 'bio_text', $editor_configs), false); - - //logo + + //logo $bio_logo = $this->getVar('bio_logo') ? $this->getVar('bio_logo') : 'blank.gif'; - $uploadirectory = '/uploads/biography/logo'; + $uploadirectory = '/uploads/biography/logo'; if (!is_file(XOOPS_ROOT_PATH . $uploadirectory . '/' . $bio_logo)){ $bio_logo = 'blank.gif'; } - $logotray = new XoopsFormElementTray(_AM_BIOGRAPHY_GROUP_LOGO,'<br />'); - $imgpath=sprintf(_AM_BIOGRAPHY_GROUP_IMGPATH, $uploadirectory ); - $logoselect= new XoopsFormSelect($imgpath, 'bio_logo', $bio_logo); - $topics_array = XoopsLists :: getImgListAsArray( XOOPS_ROOT_PATH . $uploadirectory ); - foreach( $topics_array as $image ) { - $logoselect->addOption("$image", $image); - } - $logoselect->setExtra( "onchange='showImgSelected(\"image2\", \"bio_logo\", \"" . $uploadirectory . "\", \"\", \"" . XOOPS_URL . "\")'" ); - $logotray->addElement($logoselect,false); - $logotray -> addElement( new XoopsFormLabel( '', "<br /><img src='" . XOOPS_URL . "/" . $uploadirectory . "/" . $bio_logo . "' name='image2' id='image2' alt='' />" ) ); - $fileslogoeltray= new XoopsFormElementTray('','<br />'); - $fileslogoeltray->addElement(new XoopsFormFile(_AM_BIOGRAPHY_GROUP_IMGUPLOAD , 'attachedlogo', $xoopsModuleConfig['biography_maxuploadsize']), false); - $fileslogoeltray->addElement(new XoopsFormLabel('' ), false); - $logotray->addElement($fileslogoeltray); - $form->addElement($logotray); - - //image + $logotray = new XoopsFormElementTray(_AM_BIOGRAPHY_GROUP_LOGO,'<br />'); + $imgpath=sprintf(_AM_BIOGRAPHY_GROUP_IMGPATH, $uploadirectory ); + $logoselect= new XoopsFormSelect($imgpath, 'bio_logo', $bio_logo); + $topics_array = XoopsLists :: getImgListAsArray( XOOPS_ROOT_PATH . $uploadirectory ); + foreach( $topics_array as $image ) { + $logoselect->addOption("$image", $image); + } + $logoselect->setExtra( "onchange='showImgSelected(\"image2\", \"bio_logo\", \"" . $uploadirectory . "\", \"\", \"" . XOOPS_URL . "\")'" ); + $logotray->addElement($logoselect,false); + $logotray -> addElement( new XoopsFormLabel( '', "<br /><img src='" . XOOPS_URL . "/" . $uploadirectory . "/" . $bio_logo . "' name='image2' id='image2' alt='' />" ) ); + $fileslogoeltray= new XoopsFormElementTray('','<br />'); + $fileslogoeltray->addElement(new XoopsFormFile(_AM_BIOGRAPHY_GROUP_IMGUPLOAD , 'attachedlogo', $xoopsModuleConfig['biography_maxuploadsize']), false); + $fileslogoeltray->addElement(new XoopsFormLabel('' ), false); + $logotray->addElement($fileslogoeltray); + $form->addElement($logotray); + + //image $bio_img = $this->getVar('bio_img') ? $this->getVar('bio_img') : 'blank.gif'; - $uploadirectory = '/uploads/biography'; + $uploadirectory = '/uploads/biography'; if (!is_file(XOOPS_ROOT_PATH . $uploadirectory . '/' . $bio_img)){ $bio_img = 'blank.gif'; } - $imgtray = new XoopsFormElementTray(_AM_BIOGRAPHY_GROUP_IMG,'<br />'); - $imgpath=sprintf(_AM_BIOGRAPHY_GROUP_IMGPATH, $uploadirectory ); - $imageselect= new XoopsFormSelect($imgpath, 'bio_img',$bio_img); - $topics_array = XoopsLists :: getImgListAsArray( XOOPS_ROOT_PATH . $uploadirectory ); - foreach( $topics_array as $image ) { - $imageselect->addOption("$image", $image); - } - $imageselect->setExtra( "onchange='showImgSelected(\"image3\", \"bio_img\", \"" . $uploadirectory . "\", \"\", \"" . XOOPS_URL . "\")'" ); - $imgtray->addElement($imageselect,false); - $imgtray -> addElement( new XoopsFormLabel( '', "<br /><img src='" . XOOPS_URL . "/" . $uploadirectory . "/" . $bio_img . "' name='image3' id='image3' alt='' />" ) ); - $fileseltray= new XoopsFormElementTray('','<br />'); - $fileseltray->addElement(new XoopsFormFile(_AM_BIOGRAPHY_GROUP_IMGUPLOAD , 'attachedimg', $xoopsModuleConfig['biography_maxuploadsize']), false); - $fileseltray->addElement(new XoopsFormLabel('' ), false); - $imgtray->addElement($fileseltray); - $form->addElement($imgtray); - + $imgtray = new XoopsFormElementTray(_AM_BIOGRAPHY_GROUP_IMG,'<br />'); + $imgpath=sprintf(_AM_BIOGRAPHY_GROUP_IMGPATH, $uploadirectory ); + $imageselect= new XoopsFormSelect($imgpath, 'bio_img',$bio_img); + $topics_array = XoopsLists :: getImgListAsArray( XOOPS_ROOT_PATH . $uploadirectory ); + foreach( $topics_array as $image ) { + $imageselect->addOption("$image", $image); + } + $imageselect->setExtra( "onchange='showImgSelected(\"image3\", \"bio_img\", \"" . $uploadirectory . "\", \"\", \"" . XOOPS_URL . "\")'" ); + $imgtray->addElement($imageselect,false); + $imgtray -> addElement( new XoopsFormLabel( '', "<br /><img src='" . XOOPS_URL . "/" . $uploadirectory . "/" . $bio_img . "' name='image3' id='image3' alt='' />" ) ); + $fileseltray= new XoopsFormElementTray('','<br />'); + $fileseltray->addElement(new XoopsFormFile(_AM_BIOGRAPHY_GROUP_IMGUPLOAD , 'attachedimg', $xoopsModuleConfig['biography_maxuploadsize']), false); + $fileseltray->addElement(new XoopsFormLabel('' ), false); + $imgtray->addElement($fileseltray); + $form->addElement($imgtray); + //lien photo $link = new XoopsFormElementTray(_AM_BIOGRAPHY_GROUP_LINK); $link->addElement(new XoopsFormText(XOOPS_URL . '/modules/', 'bio_link', 50, 255, $this->getVar('bio_link'))); $form->addElement($link); $form->addElement(new XoopsFormHidden('op', 'save')); - + $form->addElement(new XoopsFormButton('', 'submit', _SUBMIT, 'submit')); return $form; } } -class biographybiography_bioHandler extends XoopsPersistableObjectHandler +class biographybiography_bioHandler extends XoopsPersistableObjectHandler { - function __construct(&$db) + function __construct(&$db) { parent::__construct($db, "biography_bio", "biography_bio", "bio_id", "bio_name"); } } - + ?> \ No newline at end of file Deleted: biography/trunk/css/button.css =================================================================== --- biography/trunk/css/button.css 2011-06-19 20:22:34 UTC (rev 127) +++ biography/trunk/css/button.css 2011-06-19 20:23:46 UTC (rev 128) @@ -1,82 +0,0 @@ -/* Buttons style */ -.xo-buttons a, .xo-buttons button{ - display:block; - float:left; - margin:0 5px 0 0; - background: #e4e4e5 url('../images/bg_button.gif') repeat-x; - border:1px solid #d6d6d6; - border-top:1px solid #dedede; - border-left:1px solid #dedede; - font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif; - font-size:100%; - line-height:110%; - text-decoration:none; - font-weight:bold; - color:#454545; - cursor:pointer; - padding:3px 8px 4px 5px; /* Links */ -} -.xo-buttons a:hover, .xo-buttons button:hover { - border:1px solid #ccc; - border-top:1px solid #d6d6d6; - border-left:1px solid #d6d6d6; -} -.xo-buttons button{ - width:auto; - overflow:visible; - padding:3px 8px 4px 5px; /* IE6 */ -} -.xo-buttons button[type]{ - padding:3px 5px 4px 5px; /* Firefox */ - line-height:15px; /* Safari */ -} -*:first-child+html button[type]{ - padding:3px 8px 4px 5px; /* IE7 */ -} -.xo-buttons button img, .xo-buttons a img{ - margin:0 3px -3px 0 !important; - padding:0; - border:none; - width:16px; - height:16px; -} - -.xo-actions button img, .xo-actions a img, .xo-actions img { - padding:0 2px; - border:none; - width:16px; - height:16px; - cursor:pointer; -} - - -.xo-BtnActions { - padding: 2px; - margin: 1px 0; - background: url('../images/bg_button.png') repeat-x; - border: 1px solid #ccc; -} -.xo-BtnHome, .xo-BtnSave, .xo-BtnCancel, .xo-BtnRestore, .xo-BtnRefresh, .xo-BtnUpload, .xo-BtnAddDir, .xo-BtnDelDir, .xo-BtnAddFile { - height:22px; - padding:0 4px 0 20px; - border:1px solid #ccc; - font-weight:bold; - text-indent:-5000px; - cursor:pointer; -} -.xo-BtnHome:hover, .xo-BtnSave:hover, .xo-BtnCancel:hover, .xo-BtnRestore:hover, .xo-BtnRefresh:hover, .xo-BtnUpload:hover, .xo-BtnAddDir:hover, .xo-BtnDelDir:hover, .xo-BtnAddFile:hover { - background-color: #f1f1f1; -} -.xo-BtnSep {background: #fcfcfc url('../images/bc_separator1.png') no-repeat center center;} -.xo-BtnHome {background: #fcfcfc url('../images/icons/16/gohome.png') no-repeat center center;} -.xo-BtnSave {background: #fcfcfc url('../images/icons/16/filesave.png') no-repeat center center;} -.xo-BtnCancel {background: #fcfcfc url('../images/icons/16/cancel.png') no-repeat center center;} -.xo-BtnRestore {background: #fcfcfc url('../images/icons/16/restore.png') no-repeat center center;} -.xo-BtnRefresh {background: #fcfcfc url('../images/icons/16/refresh.png') no-repeat center center;} -.xo-BtnUpload {background: #fcfcfc url('../images/icons/16/upload.png') no-repeat center center;} -.xo-BtnAddDir {background: #fcfcfc url('../images/icons/16/foldernew.png') no-repeat center center;} -.xo-BtnDelDir {background: #fcfcfc url('../images/icons/16/folderdelete.png') no-repeat center center;} -.xo-BtnAddFile {background: #fcfcfc url('../images/icons/16/filenew.png') no-repeat center center;} - -.floatright{ float:right; margin:0; padding:2px; border:0; } -.ui-corner-all { -moz-border-radius: 5px; -webkit-border-radius: 5px; } \ No newline at end of file Deleted: biography/trunk/css/menu.css =================================================================== --- biography/trunk/css/menu.css 2011-06-19 20:22:34 UTC (rev 127) +++ biography/trunk/css/menu.css 2011-06-19 20:23:46 UTC (rev 128) @@ -1,112 +0,0 @@ -/** - * Stylesheet navigation menu - * - * LICENSE - * - * 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. - * - * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @author Andricq Nicolas (AKA MusS) - * @version $Id:$ - */ -div .navHeading{ text-align: right; padding-top: 5px; } -div .navResults{} -#container { - width: 760px; - margin: 0 auto; - text-align: left; - padding: 2px; -} -#box{ - border: 1px solid #A9A9A9; - margin-bottom: 12px; - padding-left: 5px; - padding-right: 5px; -} -#buttontop_mod { - float: left; - width: 100%; - background: #DBD7D1; - font-size: 93%; - line-height: normal; - border-top: 1px solid #666; - border-left: 1px solid #666; - border-right: 1px solid #666; - margin: 0; -} -#buttonbar_mod { - float: left; - width: 100%; - background: #DBD7D1; - font-size: 93%; - line-height: normal; - border-left: 1px solid #666; - border-right: 1px solid #666; - border-bottom: 1px solid #666; - margin-bottom: 12px; -} -#buttonbar_mod ul { - margin: 0; - margin-top: 15px; - padding: 10px 10px 0; - list-style: none; -} -#buttonbar_mod li { - display: inline; - margin: 0; - padding: 0; -} -#buttonbar_mod a { - float: left; - background: url('../images/menu/bg_tabs1.gif') no-repeat 0% -34px; - margin: 0; - padding: 0 0 0 9px; - text-decoration: none; - margin: 0 1px 0 0; - text-decoration: none; -} -#buttonbar_mod a span { - float: left; - display: block; - background: url('../images/menu/bg_tabs2.gif') no-repeat 100% -34px; - padding: 7px 10px 4px 4px; - color: #767676; - white-space: nowrap; - font-family: Arial, Helvetica, sans-serif; - font-weight: bold; -} -/* Commented Backslash Hack hides rule from IE5-Mac \*/ -#buttonbar_mod a span { - float:none; -} -/* End IE5-Mac hack */ -#buttonbar_mod a:hover span { - color:#333; -} -#buttonbar_mod #current a { - background-position: 0 0; -} -#buttonbar_mod #current a span { - background-position: 100% 0; - padding-bottom: 5px; - color: #23649F; -} -#buttonbar_mod a:hover { - background-position: 0 -69px; -} -#buttonbar_mod a:hover span { - background-position: 100% -69px; - color: #BC2A4D; -} -.admin_header { - margin-top: 0px; - color: #191970; -} -.admin_subheader { - margin-top: 0px; - color: #191970; - padding-bottom: 12px; -} \ No newline at end of file Added: biography/trunk/docs/changelog.txt =================================================================== --- biography/trunk/docs/changelog.txt (rev 0) +++ biography/trunk/docs/changelog.txt 2011-06-19 20:23:46 UTC (rev 128) @@ -0,0 +1,4 @@ +------------------------------------------------- +Version: 1.0 +Date: 2011/06/26 +------------------------------------------------- Added: biography/trunk/docs/index.html =================================================================== --- biography/trunk/docs/index.html (rev 0) +++ biography/trunk/docs/index.html 2011-06-19 20:23:46 UTC (rev 128) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Modified: biography/trunk/extra/plugins/sitemap/biography.php =================================================================== --- biography/trunk/extra/plugins/sitemap/biography.php 2011-06-19 20:22:34 UTC (rev 127) +++ biography/trunk/extra/plugins/sitemap/biography.php 2011-06-19 20:23:46 UTC (rev 128) @@ -1,7 +1,6 @@ <?php -/* **************************************************************************** - * biography - MODULE FOR XOOPS - * Copyright (c) G. Mage +/** + * biography * * 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 @@ -10,12 +9,10 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright G. Mage - * @license propri\xE9taire - * @package biography - * @author G. Mage - * - * ****************************************************************************/ + * @copyright Gregory Mage (Aka Mage) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Gregory Mage (Aka Mage) + */ function b_sitemap_biography(){ $biography_bioHandler =& xoops_getModuleHandler("biography_bio", "biography"); @@ -31,8 +28,6 @@ $sitemap['parent'][$i]['title'] = $biography_bio_arr[$i]->getVar('bio_name'); $sitemap['parent'][$i]['url'] = 'viewbiography.php?bio_id=' . $i; } - return $sitemap; + return $sitemap; } - - ?> \ No newline at end of file Modified: biography/trunk/header.php =================================================================== --- biography/trunk/header.php 2011-06-19 20:22:34 UTC (rev 127) +++ biography/trunk/header.php 2011-06-19 20:23:46 UTC (rev 128) @@ -1,7 +1,6 @@ <?php -/* **************************************************************************** - * biography- MODULE FOR XOOPS - * Copyright (c) G. Mage +/** + * biography * * 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 @@ -10,13 +9,11 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright G. Mage - * @license propri\xE9taire - * @package biography - * @author G. Mage - * - * ****************************************************************************/ - + * @copyright Gregory Mage (Aka Mage) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Gregory Mage (Aka Mage) + */ + include "../../mainfile.php"; include_once XOOPS_ROOT_PATH.'/class/pagenav.php'; include_once $GLOBALS['xoops']->path('class/xoopsformloader.php'); @@ -27,7 +24,7 @@ if (is_object($xoopsUser)) { $groups = $xoopsUser->getGroups(); } else { - $groups = XOOPS_GROUP_ANONYMOUS; + $groups = XOOPS_GROUP_ANONYMOUS; } xoops_loadLanguage("admin", $xoopsModule->getVar("dirname", "e")); ?> \ No newline at end of file Added: biography/trunk/images/admin/about.png =================================================================== (Binary files differ) Property changes on: biography/trunk/images/admin/about.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: biography/trunk/images/admin/add.png =================================================================== (Binary files differ) Property changes on: biography/trunk/images/admin/add.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: biography/trunk/images/admin/home.png =================================================================== (Binary files differ) Property changes on: biography/trunk/images/admin/home.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: biography/trunk/images/admin/index.html =================================================================== --- biography/trunk/images/admin/index.html (rev 0) +++ biography/trunk/images/admin/index.html 2011-06-19 20:23:46 UTC (rev 128) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: biography/trunk/images/admin/list.png =================================================================== (Binary files differ) Property changes on: biography/trunk/images/admin/list.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: biography/trunk/images/admin/permissions.png =================================================================== (Binary files differ) Property changes on: biography/trunk/images/admin/permissions.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: biography/trunk/images/admin/xoopsmicrobutton.gif =================================================================== (Binary files differ) Property changes on: biography/trunk/images/admin/xoopsmicrobutton.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Deleted: biography/trunk/images/bg_button.gif =================================================================== (Binary files differ) Deleted: biography/trunk/images/icon/add.png =================================================================== (Binary files differ) Deleted: biography/trunk/images/icon/database.png =================================================================== (Binary files differ) Modified: biography/trunk/include/functions.php =================================================================== --- biography/trunk/include/functions.php 2011-06-19 20:22:34 UTC (rev 127) +++ biography/trunk/include/functions.php 2011-06-19 20:23:46 UTC (rev 128) @@ -1,7 +1,6 @@ <?php -/* **************************************************************************** - * biography- MODULE FOR XOOPS - * Copyright (c) G. Mage +/** + * biography * * 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 @@ -10,13 +9,27 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright G. Mage - * @license propri\xE9taire - * @package biography - * @author G. Mage - * - * ****************************************************************************/ + * @copyright Gregory Mage (Aka Mage) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Gregory Mage (Aka Mage) + */ +//********************************************************************************************************************** +// ModuleName_checkModuleAdmin +//********************************************************************************************************************** +// return true if moduladmin framworks exists. +//********************************************************************************************************************** +function biography_checkModuleAdmin() +{ + if ( file_exists($GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'); + return true; + }else{ + echo xoops_error("Error: You don't use the Frameworks \"admin module\". Please install this Frameworks"); + return false; + } +} + function biography_CleanVars( &$global, $key, $default = '', $type = 'int' ) { switch ( $type ) { case 'string': @@ -31,99 +44,4 @@ } return $ret; } - -function biography_MenuAdmin($subname) { - - global $xoopsModule; - - $subname = XOOPS_URL . "/modules/" . $xoopsModule->getVar('dirname', 'e') . "/admin/" . $subname; - - //menutop - $menutop = array(XOOPS_URL . "/modules/system/admin.php?fct=preferences&op=showmod&mod=" . $xoopsModule->getVar('mid', 'e') => _AM_BIOGRAPHY_PREF, - XOOPS_URL . "/modules/system/admin.php?fct=modulesadmin&op=update&module=" . $xoopsModule->getVar('dirname', 'e') => _AM_BIOGRAPHY_UPDATE, - XOOPS_URL . "/modules/" . $xoopsModule->getVar('dirname', 'e') . "/" => _AM_BIOGRAPHY_GOTOMODULE); - //sous menu - foreach ($xoopsModule->adminmenu as $menu) { - $submenu[XOOPS_URL . "/modules/" . $xoopsModule->getVar('dirname', 'e') . "/" . $menu['link']] = $menu['title']; - } - $menu = "<style type=\"text/css\" media=\"screen\">@import \"" . XOOPS_URL . "/modules/" . $xoopsModule->getVar('dirname', 'e') . "/css/menu.css\";</style>"; - $menu .= "<div id='buttontop_mod'>"; - $menu .= "<table style='width: 100%; padding: 0;' cellspacing='0'>\n<tr>"; - $menu .= "<td style='font-size: 10px; text-align: left; color: #2F5376; padding: 0 6px; line-height: 18px;'>"; - foreach ($menutop as $k => $v) { - $menu .= " <a href=\"$k\">$v</a> |"; - } - $menu .= "</td>"; - $menu .= "<td style='text-align: right;'><strong>" . $xoopsModule->getVar('name', 'e') . "</strong> : " . $submenu[$subname] . "</td>"; - $menu .= "</tr>\n</table>\n</div>\n"; - $menu .= "<div id='buttonbar_mod'><ul>"; - foreach ($submenu as $k => $v) { - if ($subname == $k){ - $menu .= "<li id='current'><a href=\"$k\"><span>$v</span></a></li>\n"; - }else{ - $menu .= "<li id=''><a href=\"$k\"><span>$v</span></a></li>\n"; - } - } - $menu .= "</ul>\n</div>\n"; - echo $menu; -} - -function biography_buttons($title, $link, $icon = 'A', $extra = '') { - - global $xoopsModule; - - - if ($extra != ''){ - $extra = '?' . $extra; - } - - $button = "<style type=\"text/css\" media=\"screen\">@import \"" . XOOPS_URL . "/modules/" . $xoopsModule->getVar('dirname', 'e') . "/css/button.css\";</style>"; - $button .= "<div class=\"floatright\">\n"; - $button .= "<div class=\"xo-buttons\"\n>"; - $button .= '<a class="ui-corner-all tooltip" href="' . $link . $extra . '" title="' . $title . '">'; - switch ($icon) { - default: - case "A": - $button .= '<img src="../images/icon/add.png" alt="' . $title . '" />'; - break; - - case "L": - $button .= '<img src="../images/icon/database.png" alt="' . $title . '" />'; - break; - - case "E": - break; - } - $button .= $title; - $button .= "</a>\n</div>\n</div>\n"; - $button .= '<br /> <br /><br />'; - echo $button; -} - -function biography_about() { - - global $xoopsModule; - echo "<br \>\n"; - echo "<fieldset><legend style='font-size: 16px; color: #2F5376; font-weight: bold;'>" . $xoopsModule->getVar("name") . "</legend><br/>\n"; - echo "<img src='" . XOOPS_URL . "/modules/" . $xoopsModule->getVar("dirname") . "/" . $xoopsModule->getInfo( 'image' ) . "' alt='" . $xoopsModule->getVar("name") . "' style='float: left; margin-right: 10px;' />\n"; - echo "<div style='margin-top: 1px; margin-bottom: 4px; font-size: 18px; line-height: 18px; color: #2F5376; font-weight: bold;'>\n"; - echo $xoopsModule->getInfo( 'name' ) . " version " . $xoopsModule->getInfo( 'version' ) . " " . $xoopsModule->getInfo( 'status_version' ) . " (" . $xoopsModule->getInfo( 'release_date' ) . ")\n"; - echo "<br />\n"; - echo "</div>\n"; - echo "<div style='line-height: 16px; font-weight: bold;'>\n"; - echo "by " . $xoopsModule->getInfo( 'author' ) . " (" . $xoopsModule->getInfo( 'pseudo' ) . ")\n"; - echo "</div>\n"; - echo "<div style='line-height: 16px;'>\n"; - echo $xoopsModule->getInfo( 'license' ) . "\n"; - echo "</div>\n"; - echo "</fieldset>\n"; - echo "<br />\n"; - $language = empty($language) ? $GLOBALS['xoopsConfig']['language'] : $language; - $file = XOOPS_ROOT_PATH. "/modules/" . $xoopsModule->getVar("dirname") . "/language/" . $language . "/version_history.txt"; - if ( is_readable( $file ) ){ - echo "<fieldset><legend style='font-size: 16px; color: #2F5376; font-weight: bold;'>" . _AM_BIOGRAPHY_VERSIONHISTORY . "</legend><br/>\n"; - echo utf8_encode(implode("<br />", file( $file ))) . "\n"; - echo "</fieldset>\n"; - } -} ?> \ No newline at end of file Modified: biography/trunk/include/install.php =================================================================== --- biography/trunk/include/install.php 2011-06-19 20:22:34 UTC (rev 127) +++ biography/trunk/include/install.php 2011-06-19 20:23:46 UTC (rev 128) @@ -1,7 +1,6 @@ <?php -/* **************************************************************************** - * biography- MODULE FOR XOOPS - * Copyright (c) G. Mage +/** + * biography * * 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 @@ -10,37 +9,36 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * @copyright G. Mage - * @license propri\xE9taire - * @package biography - * @author G. Mage - * - * ****************************************************************************/ + * @copyright Gregory Mage (Aka Mage) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Gregory Mage (Aka Mage) + */ + function xoops_module_install_biography() { global $xoopsModule, $xoopsConfig, $xoopsDB; $namemodule = 'biography'; - - //Creation du fichier ".$namemodule."/ - $dir = XOOPS_ROOT_PATH . "/uploads/" . $namemodule; - if (!is_dir($dir)){ - mkdir($dir, 0777); - chmod($dir, 0777); - } + + //Creation du fichier ".$namemodule."/ + $dir = XOOPS_ROOT_PATH . "/uploads/" . $namemodule; + if (!is_dir($dir)){ + mkdir($dir, 0777); + chmod($dir, 0777); + } $dir = XOOPS_ROOT_PATH . "/uploads/" . $namemodule . "/logo"; - if (!is_dir($dir)){ - mkdir($dir, 0777); - chmod($dir, 0777); - } + if (!is_dir($dir)){ + mkdir($dir, 0777); + chmod($dir, 0777); + } //Copie des index.html - $indexFile = XOOPS_ROOT_PATH . "/modules/" . $namemodule . "/include/index.html"; - copy($indexFile, XOOPS_ROOT_PATH . "/uploads/" . $namemodule . "/index.html"); + $indexFile = XOOPS_ROOT_PATH . "/modules/" . $namemodule . "/include/index.html"; + copy($indexFile, XOOPS_ROOT_PATH . "/uploads/" . $namemodule . "/index.html"); copy($indexFile, XOOPS_ROOT_PATH . "/uploads/" . $namemodule . "/logo/index.html"); //Copie des blank.gif - $blankFile = XOOPS_ROOT_PATH . "/modules/" . $... [truncated message content] |