Skip to content

Commit

Permalink
New: Enhance form to post a new member
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jun 26, 2011
1 parent 2bd29e2 commit 4d65503
Show file tree
Hide file tree
Showing 5 changed files with 348 additions and 203 deletions.
6 changes: 3 additions & 3 deletions htdocs/filefunc.inc.php
Expand Up @@ -28,7 +28,7 @@
* \file htdocs/filefunc.inc.php
* \ingroup core
* \brief File that include conf.php file and functions.lib.php
* \version $Id$
* \version $Id: filefunc.inc.php,v 1.16 2011/06/26 18:53:16 eldy Exp $
*/

define('DOL_VERSION','3.1.0-alpha'); // Also defined in htdocs/install/inc.php (Ex: x.y.z-alpha, x.y.z)
Expand Down Expand Up @@ -125,9 +125,9 @@
$pathroot=$_SERVER["DOCUMENT_ROOT"];
$paths=explode('/',str_replace('\\','/',$_SERVER["SCRIPT_NAME"]));
$concatpath='';
foreach($paths as $path)
foreach($paths as $tmppath)
{
if ($path) $concatpath.='/'.$path;
if ($tmppath) $concatpath.='/'.$tmppath;
//print $real_$dolibarr_main_document_root.'-'.realpath($pathroot.$concatpath).'<br>';
if ($real_dolibarr_main_document_root == realpath($pathroot.$concatpath))
{
Expand Down
2 changes: 2 additions & 0 deletions htdocs/langs/en_US/members.lang
Expand Up @@ -76,6 +76,7 @@ EditMember=Edit member
SubscriptionEndDate=Subscription's end date
MembersTypeSetup=Members type setup
NewSubscription=New subscription
NewSubscriptionDesc=This form allows you to record your subscription as a new member of the foundation. If you want to renew your subscription being already a member, please contact foundation board instead.
Subscription=Subscription
Subscriptions=Subscriptions
SubscriptionLate=Late
Expand Down Expand Up @@ -182,3 +183,4 @@ NewMemberForm=New member form
SubscriptionsStatistics=Statistics on subscriptions
NbOfSubscriptions=Number of subscriptions
AmountOfSubscriptions=Amount of subscriptions
TurnoverOrBudget=Turnover (for a company) or Budget (for a foundation)
4 changes: 3 additions & 1 deletion htdocs/langs/fr_FR/members.lang
Expand Up @@ -77,6 +77,7 @@ EditMember=Édition adhérent
SubscriptionEndDate=Date de fin adhésion
MembersTypeSetup=Configuration des types d'adhérents
NewSubscription=Nouvelle adhésion
NewSubscriptionDesc=Ce formulaire permet de vous enregistrer comme nouvel adhérent de l'association. Pour un renouvellement si vous êtes déjà adhérent, contacter plutôt l'association.
Subscription=Adhésion/cotisation
Subscriptions=Adhésions/cotisations
SubscriptionLate=En retard
Expand Down Expand Up @@ -182,4 +183,5 @@ NewMemberbyWeb=Nouvel Adherent ajoute. En attente de validation
NewMemberForm=Nouvel Adherent form
SubscriptionsStatistics=Statistiques sur les cotisations
NbOfSubscriptions=Nombre de cotisations
AmountOfSubscriptions=Montant de cotisations
AmountOfSubscriptions=Montant de cotisations
TurnoverOrBudget=Chiffre affaire (pour société) ou Budget (asso ou collectivité)
4 changes: 2 additions & 2 deletions htdocs/lib/company.lib.php
Expand Up @@ -24,7 +24,7 @@
* \file htdocs/lib/company.lib.php
* \brief Ensemble de fonctions de base pour le module societe
* \ingroup societe
* \version $Id$
* \version $Id: company.lib.php,v 1.119 2011/06/26 18:53:16 eldy Exp $
*/

/**
Expand Down Expand Up @@ -208,7 +208,7 @@ function societe_admin_prepare_head($object)


/**
* Return country translated from an id or a code
* Return country label, code or id from an id or a code
* @param id Id or code of country
* @param withcode 0=Return label, 1=Return code + label, 2=Return code from id
* @param dbtouse Database handler (using in global way may fail because of conflicts with some autoload features)
Expand Down

0 comments on commit 4d65503

Please sign in to comment.