Added profile community specs in public registering form
This commit is contained in:
parent
8b2b35bc14
commit
56f2f8f876
@ -142,6 +142,21 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<mx:bloc id="STEAM">
|
||||||
|
<div class="card-header"><h3><mx:text id="formUserSteam"/></h3></div>
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="row mb-1 w-100">
|
||||||
|
<div class="input-group col-xs-12 col-sm-8 col-lg-3">
|
||||||
|
<div class="input-group-prepend">
|
||||||
|
<span class="input-group-text"><i class="fa fa-lg fa-steam"></i></span>
|
||||||
|
</div>
|
||||||
|
<mx:formField id="steamid3" id="user_steamid3"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</mx:bloc id="STEAM">
|
||||||
|
|
||||||
<div class="card-header"><h3><mx:text id="formChartSite"/></h3></div>
|
<div class="card-header"><h3><mx:text id="formChartSite"/></h3></div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="card-text">
|
<div class="card-text">
|
||||||
|
@ -368,6 +368,7 @@ Class Community extends CoordinationObj
|
|||||||
/*Récupération des messages utilisateurs*/
|
/*Récupération des messages utilisateurs*/
|
||||||
addMessageFile("user.ini");
|
addMessageFile("user.ini");
|
||||||
addMessageFile("subscriptions.ini");
|
addMessageFile("subscriptions.ini");
|
||||||
|
addMessageFile("community_profile_steam.ini");
|
||||||
|
|
||||||
/* gestion du lib en fonction de la langue courante */
|
/* gestion du lib en fonction de la langue courante */
|
||||||
$currentCode=$GLOBALS["SYSTEM_USER_SESSION"]->langue->getCode();
|
$currentCode=$GLOBALS["SYSTEM_USER_SESSION"]->langue->getCode();
|
||||||
@ -455,6 +456,13 @@ Class Community extends CoordinationObj
|
|||||||
$GLOBALS["SYSTEM_TEMPLATE"]->MxText("charteSiteContent", $file->readAll());
|
$GLOBALS["SYSTEM_TEMPLATE"]->MxText("charteSiteContent", $file->readAll());
|
||||||
} else
|
} else
|
||||||
$GLOBALS["SYSTEM_TEMPLATE"]->MxText("charteSiteContent", htmlspecialchars(getMessage("textNoCharte")));
|
$GLOBALS["SYSTEM_TEMPLATE"]->MxText("charteSiteContent", htmlspecialchars(getMessage("textNoCharte")));
|
||||||
|
|
||||||
|
// INFORMATIONS POUR PROFIL STEAM
|
||||||
|
if( $myNoeud->getCType() === "steam" )
|
||||||
|
{
|
||||||
|
$GLOBALS["SYSTEM_TEMPLATE"]->MxFormField("STEAM".".steamid3", "text", "user_steamid3", "", "class=\"form\" required=\"true\" title=\"".htmlspecialchars(getMessage("tipSteamId3"), ENT_QUOTES)."\"", getMessage("user_steamid3"));
|
||||||
|
} else
|
||||||
|
$GLOBALS['SYSTEM_TEMPLATE']->MxBloc("STEAM", "delete");
|
||||||
}
|
}
|
||||||
else // On raffiche les données saisies par l'utilisateur
|
else // On raffiche les données saisies par l'utilisateur
|
||||||
{
|
{
|
||||||
@ -492,6 +500,13 @@ Class Community extends CoordinationObj
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
$GLOBALS["SYSTEM_TEMPLATE"]->MxText("charteSiteContent", htmlspecialchars(getMessage("textNoCharte")));
|
$GLOBALS["SYSTEM_TEMPLATE"]->MxText("charteSiteContent", htmlspecialchars(getMessage("textNoCharte")));
|
||||||
|
|
||||||
|
// INFORMATIONS POUR PROFIL STEAM
|
||||||
|
if( $myNoeud->getCType() === "steam" )
|
||||||
|
{
|
||||||
|
$GLOBALS["SYSTEM_TEMPLATE"]->MxFormField("STEAM".".steamid3", "text", "user_steamid3", $_POST['user_steamid3'], "class=\"form\" required=\"true\" title=\"".htmlspecialchars(getMessage("tipSteamId3"), ENT_QUOTES)."\"", getMessage("user_steamid3"));
|
||||||
|
} else
|
||||||
|
$GLOBALS['SYSTEM_TEMPLATE']->MxBloc("STEAM", "delete");
|
||||||
}
|
}
|
||||||
ExitBloc();
|
ExitBloc();
|
||||||
return "";
|
return "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user