Moved formlecture* methods from home object to community object.

This commit is contained in:
Rooty 2024-02-25 12:18:35 +01:00
parent b5686c994e
commit b67b5922b7
5 changed files with 3 additions and 547 deletions

View File

@ -1,141 +0,0 @@
<div class="tooltipRegUserForm"></div>
<!--<form id="fmtextinfo" method="post" mXattribut="action:urlAction">-->
<div class="tab-content container px-0 py-2 border">
<form id="fmtextinfo" role="form" class="form container-fluid" method="post" mXattribut="action:urlAction">
<div class="card text-center border-0">
<div class="card-header"><mx:text id="registerCom"/><mx:text id="messageInscriptionNoeud"/></div>
<div class="card-body">
<div class="row alert alert-primary"><p><mx:text id="WarnNotSubs"/></p><p><mx:text id="TxtInscription"/></p><p><mx:text id="TxtInscription2"/></p></div>
<div class="container container-fluid">
<p class="font-weight-bolder"><mx:text id="TxtSubsIntro1"/>1 <mx:text id="TxtSubsIntro2"/>2</p>
</div>
<div class="row">
<div class="col-sm-4">
<img style="max-width: 200px;max-height: 200px;" src="./data/image/communities/<mx:text id="ComText"/>.png" alt="<mx:text id="ComText"/>" title="<mx:text id="ComText"/>"/>
</div>
<div class="col-sm-8">
<mx:text id="text_resume"/>
</div>
</div>
</div>
zob
<div class="card-header"><h3><mx:text id="formUser1"/></h3></div>
<div class="card-body">
<div class="row">
<p class="input-group col-xs-12 col-sm-8 col-lg-3">
<span class="input-group-addon"><i class="fa fa-2x fa-venus-mars"></i></span><mx:select id="user_title" id="title"/>
</p>
<p class="input-group col-xs-12 col-sm-8 col-lg-3">
<span class="input-group-addon"><i class="fa fa-2x fa-user"><span class="text-danger"><span class="text-danger"> *</span></i></span><mx:formField id="user_first_name" id="firstname"/>
</p>
<p class="input-group col-xs-12 col-sm-8 col-lg-3">
<span class="input-group-addon"><i class="fa fa-2x fa-user"><span class="text-danger"> *</span></i></span><mx:formField id="user_last_name" id="lastname"/>
</p>
<p class="input-group col-xs-12 col-sm-8 col-lg-3">
<span class="input-group-addon"><i class="fa fa-2x fa-envelope-o"><span class="text-danger"> *</span></i></span><mx:formField id="user_mail" id="mail"/>
</p>
</div>
<div class="row">
<p class="input-group col-xs-12 col-sm-8 col-lg-3">
<span class="input-group-addon"><i class="fa fa-2x fa-user-secret"><span class="text-danger"> *</span></i></span><mx:formField id="user_login" id="loginUser"/>
</p>
<p class="input-group col-xs-12 col-sm-8 col-lg-3">
<span class="input-group-addon"><i class="fa fa-2x fa-user"><span class="text-danger"> *</span></i></span><mx:formField id="user_password" id="passwordUser"/>
</p>
<p class="input-group col-xs-12 col-sm-8 col-lg-3">
<span class="input-group-addon"><i class="fa fa-2x fa-user"><span class="text-danger"> *</span></i></span><mx:formField id="user_password2" id="password2"/>
</p>
</div>
<div class="row">
<p class="input-group col-xs-12 col-sm-8 col-lg-3">
<span class="input-group-addon"><i class="fa fa-2x fa-address-card-o"></i></span><mx:formField id="user_postal_adress" id="postaladress"/>
</p>
<p class="input-group col-xs-12 col-sm-8 col-lg-3">
<span class="input-group-addon"><i class="fa fa-2x fa-address-card-o"></i></span><mx:formField id="user_postal_code" id="postalcode"/>
</p>
<p class="input-group col-xs-12 col-sm-8 col-lg-3">
<span class="input-group-addon"><i class="fa fa-2x fa-address-card-o"></i></span><mx:formField id="user_city" id="city"/>
</p>
<p class="input-group col-xs-12 col-sm-8 col-lg-3">
<span class="input-group-addon"><i class="fa fa-2x fa-flag-o"><span class="text-danger"> *</span></i></span><mx:formField id="user_country" id="country"/>
</p>
</div>
<div class="row">
<p class="input-group col-xs-12 col-sm-8 col-lg-3">
<span class="input-group-addon"><i class="fa fa-2x fa-address-card-o"></i></span><mx:formField id="user_state" id="state"/>
</p>
<p class="input-group col-xs-12 col-sm-8 col-lg-3">
<span class="input-group-addon"><i class="fa fa-2x fa-mobile-phone"></i></span><mx:formField id="user_tel" id="tel"/>
</p>
<p class="input-group col-xs-12 col-sm-8 col-lg-3">
<span class="input-group-addon"><i class="fa fa-2x fa-birthday-cake"><span class="text-danger"> *</span></i></span><mx:formField id="user_birthdate" id="birthdate"/>
</p>
</div>
<div class="row">
<p class="input-group col-xs-12 col-sm-8 col-lg-3">
<span class="input-group-addon"><i class="fa fa-2x fa-globe"></i></span><mx:formField id="user_website" id="user_website"/>
</p>
<p class="input-group col-xs-12 col-sm-8 col-lg-3">
<span class="input-group-addon"><i class="fa fa-2x fa-facebook"></i></span><mx:formField id="user_facebook" id="user_facebook"/>
</p>
<p class="input-group col-xs-12 col-sm-8 col-lg-3">
<span class="input-group-addon"><i class="fa fa-2x fa-mastodon"></i></span><mx:formField id="user_mastodon" id="user_mastodon"/>
</p>
<p class="input-group col-xs-12 col-sm-8 col-lg-3">
<span class="input-group-addon"><i class="fa fa-2x fa-xmpp"></i></span><mx:formField id="user_jabber" id="user_jabber"/>
</p>
</div>
</div>
<div class="card-header"><h3><mx:text id="formChartSite"/></h3></div>
<div class="card-body">
<div class="card-text">
<mx:text id="charteSiteContent"/>
</div>
</div>
<div class="card-footer border-0 bg-white">
<span class="action"><mx:checker id="charteSite" class="actionLegendCheckbox"/> (*) <mx:text id="iaccept"/></span>
</div>
<div class="card-footer">
<div class="qaptcha"></div>
<input type="submit" name="submit" class="btn btn-outline-secondary btn-lg btn-sm" aria-pressed="true" title="<mx:text id="tipValidButton"/>" value="<mx:text id="BtnValid"/>"/>
<input type="button" name="return" class="btn btn-outline-secondary btn-lg btn-sm" aria-pressed="true" title="<mx:text id="tipReturnButton"/>" value="<mx:text id="BtnComms"/>" onclick="javascript:window.location.href='<mx:text id="urlReturn"/>'"/>
<input type="button" name="return" class="btn btn-outline-secondary btn-lg btn-sm" aria-pressed="true" title="<mx:text id="tipReturnButton"/>" value="<mx:text id="BtnReturn"/>" onclick="history.back(); return false;"/>
</div>
</div>
</form>
</div>
<!-- <p class="field" style="display: none;" id="blocBirthdate"><label for="birthdate" class="require"> (*) <mx:text id="user_birthdate"/></label><mx:formField id="user_birthdate" id="birthdate"/></p> -->
<!-- <p class="field"><label for="user_msn"><mx:text id="user_msn"/></label><mx:formField id="user_msn" id="user_msn"/></p> -->
<!-- <p class="field" id="blocAdrPostaleMand" style="display: none;"><label for="postaladdress" class="require">(*) <mx:text id="user_postal_address"/></label><mx:formField id="user_postal_adressmand" id="postaladressmand"/></p> -->
<!-- <p class="field"><label for="fax"><mx:text id="user_fax"/></label><mx:formField id="user_fax" id="fax"/></p> -->
<script type="text/javascript">
//<![CDATA[
// getElementById('fmtextinfo').setAttribute("autocomplete","off");
// getElementById('loginUser').setAttribute("autocomplete","off");
$(document).ready(function(){
$(function() {
// $("#fmtextinfo :input").tooltip({
// position: "top center",
// offset: [0, 1],
// effect: "slide",
// opacity: 0.7,
// tip: '.tooltipRegUserForm'
// }),
$('.qaptcha').QapTcha({
disabledSubmit: true,
autoRevert : true,
autoSubmit:false,
PHPfile: "<mx:text id="urlQaptcha"/>",
txtLock: "<mx:text id="textQaptchaLock"/>",
txtUnlock: "<mx:text id="textQaptchaUnlock"/>"
});
});
// getElementById('fmtextinfo').setAttribute("autocomplete","off");
// getElementById('loginUser').setAttribute("autocomplete","off");
});
// ]]>
</script>

View File

@ -1,27 +0,0 @@
<script type="text/javascript" src="data/javascript/jquery.tools.min.js"></script>
<script type="text/javascript" src="data/javascript/jquery.ui.min.js"> </script>
<script type="text/javascript" src="data/javascript/jquery.ui.touch.js"></script>
<div class="tab-content container px-2 py-2 border">
<div class="fieldset">
<div class="legend">
<div><b><mx:text id="subscriptionCom"/><mx:text id="messageInscriptionNoeud"/></b></div>
</div>
<div style="text-align: center;margin-left: auto; margin-right: auto;">
<div style="text-align: center; margin-left: auto; margin-right: auto; display: inline-block; max-width: 66%;">
<div style="float: left;margin-right: 15px;margin-top: 15px; max-width: 200px; max-height: 200px;"><img style="max-width: 200px; max-height: 200px;" src="./data/image/communities/<mx:text id="ComText"/>.png" alt="<mx:text id="ComText"/>" title="<mx:text id="ComText"/>" /></div>
</div>
<p><h2 style="text-align: center;margin-left: auto; margin-right: auto;">Sélectionnez votre statut personnel</h2></p>
</div>
<div style="text-align: center; margin-left: auto; margin-right: auto;">
<div style="text-align: center;margin-left: auto; margin-right: auto; display: inline-block; max-width: 50%;">
<a href="<mx:text id="linkAdhPart"/>">
<img style="max-width: 128px; max-height: 128px;" src="./data/template/lcube3/media/image/home/avatar-default.png" alt="<mx:text id="txtAdhPart"/>" title="<mx:text id="txtAdhPart"/>" />
</a>
<a href="<mx:text id="linkAdhSoc"/>">
<img style="max-width: 128px; max-height: 128px;" src="./data/template/lcube3/media/image/home/system-users.png" alt="<mx:text id="txtAdhSoc"/>" title="<mx:text id="txtAdhSoc"/>" />
</a>
</div>
</div>
</div>
</div>

View File

@ -1,181 +0,0 @@
<!--<script type="text/javascript" src="data/javascript/jquery.min.js"> </script>-->
<script type="text/javascript" src="data/javascript/jquery.tools.min.js"></script>
<script type="text/javascript" src="data/javascript/jquery.ui.min.js"> </script>
<script type="text/javascript" src="data/javascript/jquery.ui.touch.js"></script>
<script type="text/javascript" src="data/javascript/jquery.qaptcha.min.js"></script>
<script type="text/javascript" src="data/javascript/jquery.chained.remote.js"></script>
<script type="text/javascript" src="data/javascript/checkerUserRegistration.js"></script>
<div class="tooltipRegUserForm"></div>
<div class="tab-content container px-2 py-2 border">
<div id="messageprint"></div>
<form id="fmtextinfo" method="post" mXattribut="action:urlAction">
<input type="hidden" name="subscriptionform" value=1>
<div class="fieldset">
<div class="legend">
<div><b><mx:text id="subscriptionCom"/><mx:text id="messageInscriptionNoeud"/></b></div>
</div>
<div style="text-align: center;margin-left: auto; margin-right: auto;">
<div style="text-align: center;margin-left: auto; margin-right: auto; display: inline-block;max-width: 66%;">
<div style="float: left;margin-right: 15px;margin-top: 15px; max-width: 200px; max-height: 200px;"><img style="max-width: 200px; max-height: 200px;" src="./data/image/communities/<mx:text id="ComText"/>.png" alt="<mx:text id="ComText"/>" title="<mx:text id="ComText"/>" /></div>
<!-- <div style="float: right; max-width: 60%; text-align: justify;"><br/><mx:text id="text_resume"/></div> -->
</div>
<p style="margin-left:15px;margin-right:15px;text-align:center;font-size:20px;"><b><mx:text id="TxtSubsIntro1"/><br /><mx:text id="TxtSubsIntro2"/></b></p>
</div>
<!--<div class="legend">
<div><b><mx:text id="ProtDataPers"/></b></div>
</div>-->
<!--<div>
<p style="margin-left:60px;margin-right:60px;text-align:center;"><mx:text id="WTxtInscription"/><br/><br/><mx:text id="WTxtInscription2"/></p>
</div>-->
</div>
<mx:bloc id="blocSubscriptionsForms">
<div class="fieldset">
<div class="legend"><mx:text id="formUserSubscribe"/></div>
<br/>
<!--<div style="margin-left: auto;margin-right: auto;">
<div style="text-align: center;">
<strong>
<mx:text id="acceptSubscription"/>
<mx:checker id="subscriptionform" class="actionLegendCheckbox"/>
</strong>
</div>
</div>
<br />-->
<div class="blocsubsmladh" id="blocsubsmladh" style="margin-left: auto;margin-right: auto;">
<div style="text-align: center;">
<strong>
<mx:text id="infoSubsMLAdh"/>
</strong>
</div>
<div style="text-align: center;">
<strong>
<mx:text id="infoSubsPayement"/>
</strong>
</div>
<br>
<div style="text-align: center; vertical-align: text-top;">
<mx:bloc id="subscriptionsforms">
<mx:checker id="value"/><strong><mx:text id="name"/>&nbsp;(<mx:text id="amount"/>€&nbsp;/&nbsp;an)</strong>
</mx:bloc id="subscriptionsforms">
</div>
<br>
<div style="text-align: center; vertical-align: text-top;">
<mx:bloc id="paymentMethods">
<mx:checker id="value"/><strong><mx:text id="name"/></strong>
</mx:bloc id="paymentMethods">
</div>
<br/>
<div class="linkDocs" style="text-align: center;">
<strong>
<mx:text id="txtSubsDocs"/>
|&nbsp;<a mXattribut="href:linkStatuts" target="_blank"><mx:text id="txtSubsDocs1"/></a>&nbsp;
<a mXattribut="href:linkDLStatuts" download="<mx:text id="txtSubsDocs1"/>"><img style="width:24px;height:24px;" src="data/image/icons/download.png" title="<mx:text id="txtSubsDocs1"/>" alt="<mx:text id="txtSubsDocs1"/>"></img></a>&nbsp;
<!-- |&nbsp;<a mXattribut="href:linkRegInt" target="_blank"><mx:text id="txtSubsDocs2"/></a>&nbsp; -->
<!-- <a mXattribut="href:linkDLRegInt" download="<mx:text id="txtSubsDocs2"/>"><img style="width:24px;height:24px;" src="data/image/icons/download.png" title="<mx:text id="txtSubsDocs2"/>" alt="<mx:text id="txtSubsDocs2"/>"></img></a>&nbsp; -->
|&nbsp;<a mXattribut="href:linkChartConf" target="_blank"><mx:text id="txtSubsDocs3"/></a>&nbsp;
<a mXattribut="href:linkDLChartConf" download="<mx:text id="txtSubsDocs3"/>"><img style="width:24px;height:24px;" src="data/image/icons/download.png" title="<mx:text id="txtSubsDocs3"/>" alt="<mx:text id="txtSubsDocs3"/>"></img></a>&nbsp;|
</strong>
</div>
<div style="width: 65%; margin-left: auto;margin-right: auto; text-align: center;">
<strong>
<mx:text id="infoSubsDocs"/>
</strong>
</div>
</div>
</div>
</mx:bloc id="blocSubscriptionsForms">
<div class="fieldset">
<br />
<div class="legend"><mx:text id="formUser1"/></div>
<br />
<div>
<p class="field"><label class="require">(*) <mx:text id="user_title"/></label><mx:select id="user_title" id="title"/></p>
<p class="field"><label for="firstname" class="require">(*) <mx:text id="user_first_name"/></label><mx:formField id="user_first_name" id="firstname"/></p>
<p class="field"><label for="lastname" class="require">(*) <mx:text id="user_last_name"/></label><mx:formField id="user_last_name" id="lastname"/></p>
<p class="field"><label for="loginUser" class="require">(*) <mx:text id="user_login"/></label><mx:formField id="user_login" id="loginUser"/></p>
<p class="field"><label for="passwordUser" class="require">(*) <mx:text id="user_password"/></label><mx:formField id="user_password" id="passwordUser"/></p>
<p class="field"><label for="password2" class="require">(*) <mx:text id="user_password2"/></label><mx:formField id="user_password2" id="password2"/></p>
<p class="field"><label for="mail" class="require"> (*) <mx:text id="user_mail"/></label><mx:formField id="user_mail" id="mail"/></p>
<p class="field"><label for="birthdate" class="require"> (*) <mx:text id="user_birthdate"/></label><mx:formField id="user_birthdate" id="birthdate"/></p>
</div>
</div>
<div class="fieldset">
<!-- <div class="legend"><mx:text id="formUserIM"/></div> -->
<br />
<div>
<p class="field"><label for="user_msn"><mx:text id="user_msn"/></label><mx:formField id="user_msn" id="user_msn"/></p>
<p class="field"><label for="user_jabber"><mx:text id="user_jabber"/></label><mx:formField id="user_jabber" id="user_jabber"/></p>
<p class="field"><label for="user_facebook"><mx:text id="user_facebook"/></label><mx:formField id="user_facebook" id="user_facebook"/></p>
<p class="field"><label for="user_website"><mx:text id="user_website"/></label><mx:formField id="user_website" id="user_website"/></p>
</div>
</div>
<div class="fieldset">
<!-- <div class="legend"><mx:text id="formUser2"/></div> -->
<br />
<div>
<!-- <p class="field" id="blocAdrPostaleOpt"><label for="postaladdress"><mx:text id="user_postal_address"/></label><mx:formField id="user_postal_address" id="postaladdress" rows="3" cols="21"/></p> -->
<p class="field"><label for="postaladdress" class="require">(*) <mx:text id="user_postal_address"/></label><mx:formField id="user_postal_addressmand" id="postaladdressmand" rows="3" cols="21"/></p>
<p class="field"><label for="postalcode" class="require">(*) <mx:text id="user_postal_code"/></label><mx:formField id="user_postal_code" id="postalcode"/></p>
<p class="field"><label for="city" class="require">(*) <mx:text id="user_city"/></label><mx:formField id="user_city" id="city"/></p><div id="suggestCity"></div>
<p class="field"><label for="state" class="require">(*) <mx:text id="user_state"/></label><mx:formField id="user_state" id="state"/></p>
<p class="field"><label for="country"><mx:text id="user_country"/></label><mx:formField id="user_country" id="country"/></p>
<p class="field"><label for="tel"><mx:text id="user_tel"/></label><mx:formField id="user_tel" id="tel"/></p>
<p class="field"><label for="fax"><mx:text id="user_fax"/></label><mx:formField id="user_fax" id="fax"/></p>
</div>
</div>
<div class="fieldset">
<br />
<div class="legend"><mx:text id="formChartSite"/></div>
<br />
<div>
<mx:text id="charteSiteContent"/>
</div>
<br />
<div class="legend"><span class="action"><mx:checker id="charteSite" class="actionLegendCheckbox"/>(*) <mx:text id="iaccept"/></span></div>
</div>
<div class="fieldset">
<br />
<!-- <div class="legend"><mx:text id="stepUser4Home"/></div> -->
<div class="action">
<div class="qaptcha"></div>
<input type="submit" name="submit" class="ok" title="<mx:text id="tipValidButton"/>" value="<mx:text id="BtnValid"/>"/>
<input type="button" name="return" class="ok" title="<mx:text id="tipReturnButton"/>" value="<mx:text id="BtnReturn"/>" onclick="javascript:window.location.href='<mx:text id="urlReturn"/>'"/>
</div>
</div>
</form>
<div id="footerhomeligne">&nbsp;</div>
</div>
<script type="text/javascript">
//<![CDATA[
// getElementById('fmtextinfo').setAttribute("autocomplete","off");
// getElementById('loginUser').setAttribute("autocomplete","off");
$(document).ready(function(){
$(function() {
$("#fmtextinfo :input").tooltip({
position: "top center",
offset: [0, 1],
effect: "slide",
opacity: 0.7,
tip: '.tooltipRegUserForm'
}),
$('.qaptcha').QapTcha({
disabledSubmit: true,
autoRevert : true,
autoSubmit:false,
PHPfile: "<mx:text id="urlQaptcha"/>",
txtLock: "<mx:text id="textQaptchaLock"/>",
txtUnlock: "<mx:text id="textQaptchaUnlock"/>"
});
});
// getElementById('fmtextinfo').setAttribute("autocomplete","off");
// getElementById('loginUser').setAttribute("autocomplete","off");
});
// ]]>
</script>

View File

@ -1,195 +0,0 @@
<!--<script type="text/javascript" src="data/javascript/jquery.min.js"> </script>-->
<script type="text/javascript" src="data/javascript/jquery.tools.min.js"></script>
<script type="text/javascript" src="data/javascript/jquery.ui.min.js"> </script>
<script type="text/javascript" src="data/javascript/jquery.ui.touch.js"></script>
<script type="text/javascript" src="data/javascript/jquery.qaptcha.min.js"></script>
<script type="text/javascript" src="data/javascript/jquery.chained.remote.js"></script>
<script type="text/javascript" src="data/javascript/checkerUserRegistration.js"></script>
<div class="tooltipRegUserForm"></div>
<div class="tab-content container px-2 py-2 border">
<form id="fmtextinfo" method="post" mXattribut="action:urlAction">
<input type="hidden" name="subscriptionform" value=1>
<div class="fieldset">
<div class="legend">
<div><b><mx:text id="subscriptionCom"/><mx:text id="messageInscriptionNoeud"/></b></div>
</div>
<div style="text-align: center;margin-left: auto; margin-right: auto;">
<div style="text-align: center;margin-left: auto; margin-right: auto; display: inline-block;max-width: 66%;">
<div style="float: left;margin-right: 15px;margin-top: 15px; max-width: 200px; max-height: 200px;"><img style="max-width: 200px; max-height: 200px;" src="./data/image/communities/<mx:text id="ComText"/>.png" alt="<mx:text id="ComText"/>" title="<mx:text id="ComText"/>" /></div>
</div>
<p style="margin-left:15px;margin-right:15px;text-align:center;font-size:20px;"><b><mx:text id="TxtSubsIntro1"/><br /><mx:text id="TxtSubsIntro2"/></b></p>
</div>
</div>
<mx:bloc id="blocSubscriptionsForms">
<div class="fieldset">
<div class="legend"><mx:text id="formUserSubscribe"/></div>
<br/>
<div class="blocsubsmladh" id="blocsubsmladh" style="margin-left: auto;margin-right: auto;">
<div style="text-align: center;">
<strong>
<mx:text id="infoSubsMLAdh"/>
</strong>
</div>
<div style="text-align: center;">
<strong>
<mx:text id="infoSubsPayement"/>
</strong>
</div>
<br>
<div style="text-align: center; vertical-align: text-top;">
<mx:bloc id="subscriptionsforms">
<mx:checker id="value"/><strong><mx:text id="name"/>&nbsp;(<mx:text id="amount"/>€&nbsp;/&nbsp;an)</strong>
</mx:bloc id="subscriptionsforms">
</div>
<br>
<div style="text-align: center; vertical-align: text-top;">
<mx:bloc id="paymentMethods">
<mx:checker id="value"/><strong><mx:text id="name"/></strong>
</mx:bloc id="paymentMethods">
</div>
<br/>
<div class="linkDocs" style="text-align: center;">
<strong>
<mx:text id="txtSubsDocs"/>
|&nbsp;<a mXattribut="href:linkStatuts" target="_blank"><mx:text id="txtSubsDocs1"/></a>&nbsp;
<a mXattribut="href:linkDLStatuts" download="<mx:text id="txtSubsDocs1"/>"><img style="width:24px;height:24px;" src="data/image/icons/download.png" title="<mx:text id="txtSubsDocs1"/>" alt="<mx:text id="txtSubsDocs1"/>"></img></a>&nbsp;
<!-- |&nbsp;<a mXattribut="href:linkRegInt" target="_blank"><mx:text id="txtSubsDocs2"/></a>&nbsp; -->
<!-- <a mXattribut="href:linkDLRegInt" download="<mx:text id="txtSubsDocs2"/>"><img style="width:24px;height:24px;" src="data/image/icons/download.png" title="<mx:text id="txtSubsDocs2"/>" alt="<mx:text id="txtSubsDocs2"/>"></img></a>&nbsp; -->
|&nbsp;<a mXattribut="href:linkChartConf" target="_blank"><mx:text id="txtSubsDocs3"/></a>&nbsp;
<a mXattribut="href:linkDLChartConf" download="<mx:text id="txtSubsDocs3"/>"><img style="width:24px;height:24px;" src="data/image/icons/download.png" title="<mx:text id="txtSubsDocs3"/>" alt="<mx:text id="txtSubsDocs3"/>"></img></a>&nbsp;|
</strong>
</div>
<div style="width: 65%; margin-left: auto;margin-right: auto; text-align: center;">
<strong>
<mx:text id="infoSubsDocs"/>
</strong>
</div>
</div>
</div>
</mx:bloc id="blocSubscriptionsForms">
<div class="fieldset">
<br />
<div class="legend"><mx:text id="formStructAdh"/></div>
<br />
<div>
<p class="field"><label for="structdenomination" class="require">(*) <mx:text id="struct_denomination"/></label><mx:formField id="struct_denomination" id="structdenomination"/></p>
<p class="field"><label for="structtype" class="require">(*) <mx:text id="struct_type"/></label><mx:select id="struct_type" id="struct_type"/></p>
</div>
</div>
<div class="fieldset">
<br />
<div>
<p class="field"><label for="structpostaladdress" class="require">(*) <mx:text id="struct_postal_address"/></label><mx:formField id="struct_postal_address" id="structpostaladdress" rows="4" cols="21"/></p>
<p class="field"><label for="structpostalcode" class="require">(*) <mx:text id="struct_postal_code"/></label><mx:formField id="struct_postal_code" id="structpostalcode"/></p>
<p class="field"><label for="structcity" class="require">(*) <mx:text id="struct_city"/></label><mx:formField id="struct_city" id="structcity"/></p><div id="structsuggestCity"></div>
<p class="field"><label for="structstate" class="require">(*) <mx:text id="struct_state"/></label><mx:formField id="struct_state" id="structstate"/></p>
<p class="field"><label for="structcountry"><mx:text id="struct_country"/></label><mx:formField id="struct_country" id="structcountry"/></p>
</div>
</div>
<div class="fieldset">
<br />
<div>
<p class="field"><label for="structsiret"><mx:text id="struct_siret"/></label><mx:formField id="struct_siret" id="structsiret"/></p>
<p class="field"><label for="structtva"><mx:text id="struct_tva"/></label><mx:formField id="struct_tva" id="structtva"/></p>
<p class="field"><label for="structtel" class="require">(*) <mx:text id="struct_tel"/></label><mx:formField id="struct_tel" id="structtel"/></p>
</div>
</div>
<div class="fieldset">
<br />
<div>
<p class="field"><label for="struct_website"><mx:text id="struct_website"/></label><mx:formField id="struct_website" id="struct_website"/></p>
<p class="field"><label for="struct_mail" class="require"> (*) <mx:text id="struct_mail"/></label><mx:formField id="struct_mail" id="struct_mail"/></p>
<p class="field"><label for="struct_facebook"><mx:text id="struct_facebook"/></label><mx:formField id="struct_facebook" id="struct_facebook"/></p>
<p class="field"><label for="struct_twitter"><mx:text id="struct_twitter"/></label><mx:formField id="struct_twitter" id="struct_twitter"/></p>
<p class="field"><label for="struct_google"><mx:text id="struct_google"/></label><mx:formField id="struct_google" id="struct_google"/></p>
</div>
</div>
<div class="fieldset">
<br />
<div class="legend"><mx:text id="formUser1"/></div>
<br />
<div>
<p class="field"><label class="require">(*) <mx:text id="user_title"/></label><mx:select id="user_title" id="title"/></p>
<p class="field"><label for="firstname" class="require">(*) <mx:text id="user_first_name"/></label><mx:formField id="user_first_name" id="firstname"/></p>
<p class="field"><label for="lastname" class="require">(*) <mx:text id="user_last_name"/></label><mx:formField id="user_last_name" id="lastname"/></p>
<p class="field"><label for="loginUser" class="require">(*) <mx:text id="user_login"/></label><mx:formField id="user_login" id="loginUser"/></p>
<p class="field"><label for="passwordUser" class="require">(*) <mx:text id="user_password"/></label><mx:formField id="user_password" id="passwordUser"/></p>
<p class="field"><label for="password2" class="require">(*) <mx:text id="user_password2"/></label><mx:formField id="user_password2" id="password2"/></p>
<p class="field"><label for="mail" class="require"> (*) <mx:text id="user_mail"/></label><mx:formField id="user_mail" id="mail"/></p>
<p class="field"><label for="birthdate" class="require"> (*) <mx:text id="user_birthdate"/></label><mx:formField id="user_birthdate" id="birthdate"/></p>
</div>
</div>
<div class="fieldset">
<!-- <div class="legend"><mx:text id="formUser2"/></div> -->
<br />
<div>
<!-- <p class="field" id="blocAdrPostaleOpt"><label for="postaladdress"><mx:text id="user_postal_address"/></label><mx:formField id="user_postal_address" id="postaladdress" rows="3" cols="21"/></p> -->
<p class="field"><label for="postaladdress" class="require">(*) <mx:text id="user_postal_address"/></label><mx:formField id="user_postal_addressmand" id="postaladdressmand" rows="3" cols="21"/></p>
<p class="field"><label for="postalcode" class="require">(*) <mx:text id="user_postal_code"/></label><mx:formField id="user_postal_code" id="postalcode"/></p>
<p class="field"><label for="city" class="require">(*) <mx:text id="user_city"/></label><mx:formField id="user_city" id="city"/></p><div id="suggestCity"></div>
<p class="field"><label for="state" class="require">(*) <mx:text id="user_state"/></label><mx:formField id="user_state" id="state"/></p>
<p class="field"><label for="country"><mx:text id="user_country"/></label><mx:formField id="user_country" id="country"/></p>
</div>
</div>
<div class="fieldset">
<!-- <div class="legend"><mx:text id="formUserIM"/></div> -->
<br />
<div>
<p class="field"><label for="user_msn"><mx:text id="user_msn"/></label><mx:formField id="user_msn" id="user_msn"/></p>
<p class="field"><label for="user_jabber"><mx:text id="user_jabber"/></label><mx:formField id="user_jabber" id="user_jabber"/></p>
<p class="field"><label for="user_facebook"><mx:text id="user_facebook"/></label><mx:formField id="user_facebook" id="user_facebook"/></p>
</div>
</div>
<div class="fieldset">
<br />
<div class="legend"><mx:text id="formChartSite"/></div>
<br />
<div>
<mx:text id="charteSiteContent"/>
</div>
<br />
<div class="legend"><span class="action"><mx:checker id="charteSite" class="actionLegendCheckbox"/>(*) <mx:text id="iaccept"/></span></div>
</div>
<div class="fieldset">
<br />
<!-- <div class="legend"><mx:text id="stepUser4Home"/></div> -->
<div class="action">
<div class="qaptcha"></div>
<input type="submit" name="submit" class="ok" title="<mx:text id="tipValidButton"/>" value="<mx:text id="BtnValid"/>"/>
<input type="button" name="return" class="ok" title="<mx:text id="tipReturnButton"/>" value="<mx:text id="BtnReturn"/>" onclick="javascript:window.location.href='<mx:text id="urlReturn"/>'"/>
</div>
</div>
</form>
<div id="footerhomeligne">&nbsp;</div>
</div>
<script type="text/javascript">
//<![CDATA[
// getElementById('fmtextinfo').setAttribute("autocomplete","off");
// getElementById('loginUser').setAttribute("autocomplete","off");
$(document).ready(function(){
$(function() {
$("#fmtextinfo :input").tooltip({
position: "top center",
offset: [0, 1],
effect: "slide",
opacity: 0.7,
tip: '.tooltipRegUserForm'
}),
$('.qaptcha').QapTcha({
disabledSubmit: true,
autoRevert : true,
autoSubmit:false,
PHPfile: "<mx:text id="urlQaptcha"/>",
txtLock: "<mx:text id="textQaptchaLock"/>",
txtUnlock: "<mx:text id="textQaptchaUnlock"/>"
});
});
// getElementById('fmtextinfo').setAttribute("autocomplete","off");
// getElementById('loginUser').setAttribute("autocomplete","off");
});
// ]]>
</script>

View File

@ -79,7 +79,7 @@ class UserPrint extends Printing
$tabObject =$this->getObjectSon(eid());
for ($i=0; $i<count($tabObject);$i++)
{
if ($tabObject[$i][0]->getClassName()=="Home")
if ($tabObject[$i][0]->getClassName()=="Community")
{
$urlArray["id"]=$tabObject[$i][1]->getId();
}
@ -96,7 +96,7 @@ class UserPrint extends Printing
$urlNewAccount.= "?system=authNewAccount";
$urlNewAccount = addIdToUrl($urlNewAccount);
$MaTemplate->MxAttribut("blocRegister".".urlActionNewAccount", Navigation::formatUrl($urlArray["id"],"Home","formLecture","",recupCommunity()));
$MaTemplate->MxAttribut("blocRegister".".urlActionNewAccount", Navigation::formatUrl($urlArray["id"], "Community", "formLecture", "", recupCommunity()));
// $MaTemplate->MxAttribut("blocRegister".".urlActionNewAccount", $urlNewAccount);
$MaTemplate->MxText("blocRegister".".NEWACCOUNT", getMessage("UserPrintNewAccount"));
@ -104,7 +104,7 @@ class UserPrint extends Printing
if ($node->getCType() == "asso")
{
$MaTemplate->MxText("blocSubscription".".NEWSUBSCRIPTION", getMessage("UserPrintNewSubscription"));
$MaTemplate->MxAttribut("blocSubscription".".urlActionNewSubscription", Navigation::formatUrl($urlArray["id"], "Home", "formLectureAdh", "", recupCommunity()));
$MaTemplate->MxAttribut("blocSubscription".".urlActionNewSubscription", Navigation::formatUrl($urlArray["id"], "Community", "formLectureAdh", "", recupCommunity()));
} else {
$MaTemplate->MxBloc("blocSubscription", "delete");
}