From d6d1612f3ca95a365450e4f2cbdec44664206fd9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 2 Feb 2010 08:54:47 +0000 Subject: [PATCH] Minor change --- htdocs/admin/numberwords.php | 2 +- htdocs/admin/webservices.php | 61 ++---------------------------------- 2 files changed, 4 insertions(+), 59 deletions(-) diff --git a/htdocs/admin/numberwords.php b/htdocs/admin/numberwords.php index a812114990a..67946091ca5 100644 --- a/htdocs/admin/numberwords.php +++ b/htdocs/admin/numberwords.php @@ -128,8 +128,8 @@ print ''; print ''; print ''; print ''; +print ''; print ''; -print ''; print ''; print ''; print ''; diff --git a/htdocs/admin/webservices.php b/htdocs/admin/webservices.php index 6381349df9d..c78271a344e 100644 --- a/htdocs/admin/webservices.php +++ b/htdocs/admin/webservices.php @@ -1,6 +1,6 @@ - * Copyright (C) 2005-2009 Laurent Destailleur + * Copyright (C) 2005-2010 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -61,33 +61,6 @@ print $langs->trans("WebServicesDesc")."
\n"; if ($mesg) print '
'.$mesg; -/* -print '
'; -print '
'; -print ''; -print ''; - -$var=true; - -print '
'.$langs->trans("Type").''.$langs->trans("Example").''.$langs->trans("Value").''.$langs->trans("Language").' '.$langs->trans("Result").'
'; -print ''; -print ''; -print ''; -print "\n"; - - -$var=!$var; -print ''; - -print '
'.$langs->trans("Parameter").''.$langs->trans("Value").'
'; -print $langs->trans("PAYBOX_IBS_DEVISE").''; -print ''; -print '
'.$langs->trans("Example").': 978 (EUR)'; -print '
'; -print ''; -*/ - - print '

'; // Should work with DOL_URL_ROOT='' or DOL_URL_ROOT='/dolibarr' @@ -96,42 +69,14 @@ $firstpart=preg_replace('/'.preg_quote(DOL_URL_ROOT,'/').'$/i','',$firstpart); print ''.$langs->trans("WSDLCanBeDownloadedHere").':
'; $url=$firstpart.DOL_URL_ROOT.'/webservices/server.php?wsdl'; -print img_picto('','puce.png').' '.''.$url."
\n"; +print img_picto('','puce.png').' '.''.$url."
\n"; print '
'; print ''.$langs->trans("EndPointIs").':
'; $url=$firstpart.DOL_URL_ROOT.'/webservices/server.php'; -print img_picto('','puce.png').' '.''.$url."
\n"; +print img_picto('','puce.png').' '.''.$url."
\n"; print '
'; -/* -if ($conf->commande->enabled) -{ - print img_picto('','puce.png').' '.$langs->trans("ToOfferALinkForOnlinePaymentOnOrder",$servicename).':
'; - print ''.$firstpart.DOL_URL_ROOT.'/public/paybox/newpayment.php?amount=order&ref=order_ref'."
\n"; - print '
'; -} -if ($conf->facture->enabled) -{ - print img_picto('','puce.png').' '.$langs->trans("ToOfferALinkForOnlinePaymentOnInvoice",$servicename).':
'; - print ''.$firstpart.DOL_URL_ROOT.'/public/paybox/newpayment.php?amount=invoice&ref=invoice_ref'."
\n"; -// print $langs->trans("SetupPayBoxToHavePaymentCreatedAutomatically",$langs->transnoentitiesnoconv("FeatureNotYetAvailable"))."
\n"; - print '
'; -} -if ($conf->contrat->enabled) -{ - print img_picto('','puce.png').' '.$langs->trans("ToOfferALinkForOnlinePaymentOnContractLine",$servicename).':
'; - print ''.$firstpart.DOL_URL_ROOT.'/public/paybox/newpayment.php?amount=contractline&ref=contractline_ref'."
\n"; - print '
'; -} -if ($conf->adherent->enabled) -{ - print img_picto('','puce.png').' '.$langs->trans("ToOfferALinkForOnlinePaymentOnMemberSubscription",$servicename).':
'; - print ''.$firstpart.DOL_URL_ROOT.'/public/paybox/newpayment.php?amount=membersubscription&ref=member_ref'."
\n"; - print '
'; -} -*/ - $db->close(); llxFooter('$Date$ - $Revision$');