Merge commit 'origin/master' into account
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 14 Feb 2010 19:47:18 +0000 (20:47 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 14 Feb 2010 19:47:18 +0000 (20:47 +0100)
Conflicts:

core
include/applis.func.inc.php
include/geoloc.inc.php
include/secure_hash.inc.php
include/synchro_ax.inc.php
modules/geoloc.php
modules/profile.php
modules/xnetlists.php
plugins/function.geoloc_country.php
plugins/function.geoloc_region.php
plugins/insert.getName.php
templates/events/rss.tpl
templates/include/minifiche.tpl
templates/include/plview.geoloc.tpl
templates/profile/general.edu.tpl
templates/profile/jobs.sub_sector.tpl
templates/profile/nomusage.tpl
templates/xnetgrp/announce-rss.tpl
templates/xnetgrp/annuaire-csv.tpl
templates/xnetlists/sync.tpl
upgrade/0.9.14/connect.db.inc.php

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
196 files changed:
1  2 
bin/cron/checkdb.php
bin/cron/clean.php
bin/cron/compliance.php
bin/cron/notifs.birthday.php
bin/search.rebuild_db.php
classes/platalglobals.php.in
classes/platallogger.php
classes/user.php
classes/xnetpage.php
classes/xnetsession.php
classes/xorgsession.php
htdocs/css/base.css
htdocs/css/default.css
htdocs/css/keynote.css
htdocs/css/openweb.css
htdocs/javascript/profile.js
htdocs/listes_redirect.php
htdocs/webredirect.php
htdocs/xnet.php
htdocs/xorg.php
include/banana/forum.inc.php
include/banana/hooks.inc.php
include/banana/ml.inc.php
include/common.inc.php
include/emails.inc.php
include/googleapps.inc.php
include/marketing.inc.php
include/massmailer.inc.php
include/notifs.inc.php
include/profil.func.inc.php
include/reminder/profile_update.inc.php
include/reminder/promotion_ml.inc.php
include/user.func.inc.php
include/userset.inc.php
include/validations.inc.php
include/validations/aliases.inc.php
include/validations/homonymes.inc.php
include/validations/listes.inc.php
include/validations/marketing.inc.php
include/validations/names.inc.php
include/validations/orange.inc.php
include/validations/paiements.inc.php
include/vcard.inc.php
modules/admin.php
modules/admin/homonyms.inc.php
modules/auth.php
modules/auth/auth.inc.php
modules/axletter.php
modules/axletter/axletter.inc.php
modules/carnet.php
modules/carnet/contacts.pdf.inc.php
modules/carnet/feed.inc.php
modules/email.php
modules/events.php
modules/events/feed.inc.php
modules/forums.php
modules/gadgets.php
modules/googleapps.php
modules/lists.php
modules/lists/lists.inc.php
modules/marketing.php
modules/newsletter.php
modules/payment.php
modules/payment/money.inc.php
modules/payment/money/cyberpaiement.inc.php
modules/payment/money/paypal.inc.php
modules/platal.php
modules/profile.php
modules/profile/addresses.inc.php
modules/profile/decos.inc.php
modules/profile/general.inc.php
modules/profile/groups.inc.php
modules/profile/jobs.inc.php
modules/profile/mentor.inc.php
modules/profile/page.inc.php
modules/profile/skills.inc.php
modules/register.php
modules/register/register.inc.php
modules/search.php
modules/search/classes.inc.php
modules/search/search.inc.php
modules/stats.php
modules/survey/survey.inc.php
modules/xnet.php
modules/xnetevents.php
modules/xnetevents/xnetevents.inc.php
modules/xnetgrp.php
modules/xnetgrp/feed.inc.php
modules/xnetgrp/mail.inc.php
modules/xnetlists.php
plugins/function.display_address.php
plugins/function.profile.php
plugins/function.select_nat.php
templates/admin/accounts.tpl
templates/admin/dead_but_active.tpl
templates/admin/deces_promo.tpl
templates/admin/homonymes.tpl
templates/admin/index.tpl
templates/admin/user.tpl
templates/admin/wiki.tpl
templates/axletter/admin.tpl
templates/axletter/edit.tpl
templates/axletter/letter.mail.tpl
templates/carnet/index.tpl
templates/carnet/mescontacts.tpl
templates/carnet/notifs.tpl
templates/carnet/panel.tpl
templates/carnet/rss.tpl
templates/core/password_prompt.tpl
templates/emails/alias.tpl
templates/emails/broken.tpl
templates/emails/redirect.tpl
templates/emails/send.tpl
templates/events/admin.tpl
templates/events/index.tpl
templates/fusionax/listFusion.tpl
templates/gadgets/ig-events.tpl
templates/gadgets/ig-minifiche.tpl
templates/geoloc/form.address.tpl
templates/include/emploi.tpl
templates/include/field.promo.tpl
templates/include/form.valid.orange.tpl
templates/include/minifiche.tpl
templates/include/plview.minifiche.tpl
templates/include/plview.referent.tpl
templates/include/plview.trombi.tpl
templates/include/trombi.tpl
templates/marketing/private.tpl
templates/marketing/promo.tpl
templates/marketing/relance.tpl
templates/marketing/this_week.tpl
templates/marketing/volontaire.tpl
templates/newsletter/edit.tpl
templates/newsletter/nl.mail.tpl
templates/payment/index.tpl
templates/payment/xnet.tpl
templates/platal/changeLog.tpl
templates/platal/filrss.tpl
templates/platal/motdepasse.success.tpl
templates/platal/preferences.tpl
templates/platal/webredirect.tpl
templates/profile/adresses.address.tpl
templates/profile/adresses.tpl
templates/profile/education.js.tpl
templates/profile/fiche_referent.tpl
templates/profile/general.buildnames.tpl
templates/profile/general.networking.tpl
templates/profile/general.tpl
templates/profile/grades.js.tpl
templates/profile/groupesx.tpl
templates/profile/groups.tpl
templates/profile/jobs.job.tpl
templates/profile/jobs.sector.tpl
templates/profile/jobs.tpl
templates/profile/mentor.tpl
templates/profile/name_info.tpl
templates/profile/orange.tpl
templates/profile/phone.tpl
templates/profile/profile.tpl
templates/profile/referent.tpl
templates/profile/skill.skill.tpl
templates/profile/skill.tpl
templates/search/adv.form.tpl
templates/search/adv.grade.form.tpl
templates/skin/common.bandeau.tpl
templates/skin/common.menu.tpl
templates/survey/index.tpl
templates/survey/show_root.tpl
templates/xnet/skin.tpl
templates/xnetevents/admin.tpl
templates/xnetevents/calendar.tpl
templates/xnetevents/csv.tpl
templates/xnetevents/edit.tpl
templates/xnetevents/index.tpl
templates/xnetevents/subscribe.tpl
templates/xnetgrp/announce-admin.tpl
templates/xnetgrp/announce-edit.tpl
templates/xnetgrp/annuaire-csv.tpl
templates/xnetgrp/annuaire.tpl
templates/xnetgrp/asso.tpl
templates/xnetgrp/edit.tpl
templates/xnetgrp/form.announce.tpl
templates/xnetgrp/forum.tpl
templates/xnetgrp/inscrire.tpl
templates/xnetgrp/mail.tpl
templates/xnetgrp/membres-add.tpl
templates/xnetgrp/membres-del.tpl
templates/xnetgrp/membres-edit.tpl
templates/xnetgrp/membres-new-search.tpl
templates/xnetgrp/subscribe-valid.tpl
templates/xnetgrp/unsubscription-notif.mail.tpl
templates/xnetlists/alias-admin.tpl
templates/xnetlists/alias-create.tpl
templates/xnetlists/create.tpl
templates/xnetlists/index.tpl
templates/xnetlists/sync.tpl

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc htdocs/xnet.php
Simple merge
diff --cc htdocs/xorg.php
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -219,10 -223,10 +219,10 @@@ class PaymentModule extends PLModul
  
          // We check if it is an Xnet payment and then update the related ML.
          $res = XDB::query('SELECT  eid
 -                             FROM  #groupex#.evenements
 +                             FROM  group_events
                              WHERE  paiement_id = {?}', $ref);
          if ($eid = $res->fetchOneCell()) {
-             $this->load('xnetevents.inc.php');
+             require_once dirname(__FILE__) . '/xnetevents/xnetevents.inc.php';
              $evt = get_event_detail($eid);
              subscribe_lists_event(0, $uid, $evt, $montant, true);
          }
  
          // We check if it is an Xnet payment and then update the related ML.
          $res = XDB::query('SELECT  eid
 -                             FROM  #groupex#.evenements
 +                             FROM  group_events
                              WHERE  paiement_id = {?}', $ref);
          if ($eid = $res->fetchOneCell()) {
-             $this->load('xnetevents.inc.php');
+             require_once dirname(__FILE__) . '/xnetevents/xnetevents.inc.php';
              $evt = get_event_detail($eid);
              subscribe_lists_event(0, $uid, $evt, $montant, true);
          }
Simple merge
Simple merge
Simple merge
@@@ -340,13 -331,11 +341,13 @@@ class ProfileModule extends PLModul
  
          // Build the page
          $page->addJsLink('ajax.js');
-         $page->addJsLink('education.js');
-         $page->addJsLink('grades.js');
 -        $page->addJsLink('applis.js', false /* dynamic content */);
 -        $page->addJsLink('grades.js', false /* dynamic content */);
++        $page->addJsLink('education.js'); /* dynamic content */
++        $page->addJsLink('grades.js');    /* dynamic content */
          $page->addJsLink('profile.js');
          $page->addJsLink('jquery.autocomplete.js');
 -        $wiz = new PlWizard('Profil', PlPage::getCoreTpl('plwizard.tpl'), true, true);
 +        $wiz = new PlWizard('Profil', PlPage::getCoreTpl('plwizard.tpl'), true, true, false);
 +        $wiz->addUserData('profile', $user);
 +        $wiz->addUserData('owner', $user->owner());
          $this->load('page.inc.php');
          $wiz->addPage('ProfileGeneral', 'Général', 'general');
          $wiz->addPage('ProfileAddresses', 'Adresses personnelles', 'adresses');
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index db89cf8,0000000..a46da28
mode 100644,000000..100644
--- /dev/null
@@@ -1,69 -1,0 +1,69 @@@
- {*  Copyright (C) 2003-2009 Polytechnique.org                             *}
 +{**************************************************************************}
 +{*                                                                        *}
++{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
 +{*  http://opensource.polytechnique.org/                                  *}
 +{*                                                                        *}
 +{*  This program is free software; you can redistribute it and/or modify  *}
 +{*  it under the terms of the GNU General Public License as published by  *}
 +{*  the Free Software Foundation; either version 2 of the License, or     *}
 +{*  (at your option) any later version.                                   *}
 +{*                                                                        *}
 +{*  This program is distributed in the hope that it will be useful,       *}
 +{*  but WITHOUT ANY WARRANTY; without even the implied warranty of        *}
 +{*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *}
 +{*  GNU General Public License for more details.                          *}
 +{*                                                                        *}
 +{*  You should have received a copy of the GNU General Public License     *}
 +{*  along with this program; if not, write to the Free Software           *}
 +{*  Foundation, Inc.,                                                     *}
 +{*  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA               *}
 +{*                                                                        *}
 +{**************************************************************************}
 +
 +<table class="bicol">
 +    <tr>
 +        <th>Ancien</th>
 +        <th>Fiches</th>
 +        {if $field1}
 +        <th>{$namefield1}</th>
 +        {/if}
 +        {if $field2}
 +        <th>{$namefield2}</th>
 +        {/if}
 +        {if $field3}
 +        <th>{$namefield3}</th>
 +        {/if}
 +        {if $field4}
 +        <th>{$namefield4}</th>
 +        {/if}
 +        {if $fusionAction}
 +        <th>Action</th>
 +        {/if}
 +    </tr>
 +{if $fusionList}
 +{iterate from=$fusionList item=c}
 +    <tr class="{cycle values="pair,impair"}">
 +        <td>{$c.display_name} (X {$c.promo})</td>
 +        <td style="text-align:center">
 +            {if $c.user_id}<a href="admin/user/{$c.user_id}" class="popup2">{icon name="user_suit" title="Administrer utilisateur"}</a>{/if}
 +            {if $c.id_ancien}<a href="http://www.polytechniciens.com/?page=AX_FICHE_ANCIEN&amp;anc_id={$c.id_ancien}" class="popup2">{icon name="user_gray" title="fiche AX"}</a>{/if}
 +        </td>
 +        {if $field1}
 +        <td>{$c.$field1}</td>
 +        {/if}
 +        {if $field2}
 +        <td>{$c.$field2}</td>
 +        {/if}
 +        {if $field3}
 +        <td>{$c.$field3}</td>
 +        {/if}
 +        {if $field4}
 +        <td>{$c.$field4}</td>
 +        {/if}
 +        {if $fusionAction}
 +        <td><a class="fusion-action" href="{$fusionAction}/{$c.user_id}/{$c.id_ancien}">{$name}</a></td>
 +        {/if}
 +    </tr>
 +{/iterate}
 +{/if}
 +</table>
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index f2bcc5a,0000000..6e5ed93
mode 100644,000000..100644
--- /dev/null
@@@ -1,48 -1,0 +1,48 @@@
- {*  Copyright (C) 2003-2009 Polytechnique.org                             *}
 +{**************************************************************************}
 +{*                                                                        *}
++{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
 +{*  http://opensource.polytechnique.org/                                  *}
 +{*                                                                        *}
 +{*  This program is free software; you can redistribute it and/or modify  *}
 +{*  it under the terms of the GNU General Public License as published by  *}
 +{*  the Free Software Foundation; either version 2 of the License, or     *}
 +{*  (at your option) any later version.                                   *}
 +{*                                                                        *}
 +{*  This program is distributed in the hope that it will be useful,       *}
 +{*  but WITHOUT ANY WARRANTY; without even the implied warranty of        *}
 +{*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *}
 +{*  GNU General Public License for more details.                          *}
 +{*                                                                        *}
 +{*  You should have received a copy of the GNU General Public License     *}
 +{*  along with this program; if not, write to the Free Software           *}
 +{*  Foundation, Inc.,                                                     *}
 +{*  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA               *}
 +{*                                                                        *}
 +{**************************************************************************}
 +
 +<tr id="networking_{$i}">
 +  <td colspan="2">
 +    <div style="float: left; width: 200px;">
 +      <span class="flags">
 +        <label><input type="checkbox"
 +          {if $nw.pub neq 'private'} checked="checked"{/if}
 +          name="networking[{$i}][pub]"/>
 +        {icon name="flag_green" title="site public"}</label>
 +      </span>&nbsp;
 +      <input type="hidden" name="networking[{$i}][type]" value="{$nw.type}"/>
 +      <input type="hidden" name="networking[{$i}][name]" value="{$nw.name}"/>
 +      <img src="profile/networking/{$nw.type}" alt="{$nw.name}" title="{$nw.name}" />
 +      <span style="">{$nw.name}</span>
 +    </div>
 +    <div style="float: left">
 +      <input type="text" name="networking[{$i}][address]" value="{$nw.address}"
 +        {if $nw.error} class="error" {/if}
 +        size="30"/>
 +      <a href="javascript:removeNetworking({$i})">
 +        {icon name=cross title="Supprimer cet élément"}
 +      </a>
 +    </div>
 +  </td>
 +</tr>
 +
 +{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge