Added Steam community profile. Used printTabCommProfiles() in AddCom and AdminNode coordination objects.
This commit is contained in:
parent
dcbfa0604b
commit
a862b66612
@ -54,11 +54,11 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
<div class="input-group col-xs-12 col-sm-8 col-lg-6 p-0 m-0">
|
||||
<div class="input-group col-xs-12 col-sm-8 col-lg-4 justify-content-center">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-lg fa-group"></i></span>
|
||||
</div>
|
||||
<mx:formField id="ctype"/>
|
||||
<mx:select id="COMMPROFILES" id="NodeEntry_type"/>
|
||||
</div>
|
||||
<div class="input-group col-xs-12 col-sm-8 col-lg-6 p-0 m-0">
|
||||
<div class="input-group-prepend">
|
||||
|
@ -87,7 +87,7 @@
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-lg fa-group"></i></span>
|
||||
</div>
|
||||
<mx:formField id="ctype"/>
|
||||
<mx:select id="COMMPROFILES" id="node_ctype"/>
|
||||
</div>
|
||||
<div class="input-group col-xs-12 col-sm-8 col-lg-3 p-0 m-0">
|
||||
<div class="input-group-prepend">
|
||||
|
@ -172,7 +172,8 @@ Class AdminNode extends CoordinationObj
|
||||
$GLOBALS["SYSTEM_TEMPLATE"]->MxImage("screenTemplate", $GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."preview.png", getMessage("PreviewTemplate"));
|
||||
$GLOBALS["SYSTEM_TEMPLATE"]->MxImage("pictoObject", $GLOBALS['CONF_DATA_PATH']."data/image/icons/node/defaultnode.png", getMessage("PreviewPicto"));
|
||||
$GLOBALS["SYSTEM_TEMPLATE"]->MxImage("imageCommunity", $imgCommunity);
|
||||
$GLOBALS["SYSTEM_TEMPLATE"]->MxFormField("ctype", "text", "node_ctype", "", "class=\"form\" title=\"".htmlspecialchars(getMessage("txtNodeType"), ENT_QUOTES)."\"", getMessage("txtNodeType"));
|
||||
// $GLOBALS["SYSTEM_TEMPLATE"]->MxFormField("ctype", "text", "node_ctype", "", "class=\"form\" title=\"".htmlspecialchars(getMessage("txtNodeType"), ENT_QUOTES)."\"", getMessage("txtNodeType"));
|
||||
printTabCommProfiles($selected='', $MxBlocName="COMMPROFILES", $name="NodeEntry_type");
|
||||
$GLOBALS["SYSTEM_TEMPLATE"]->MxFormField("ctypereg", "text", "node_ctypereg", "", "class=\"form\" title=\"".htmlspecialchars(getMessage("txtNodeTypereg"), ENT_QUOTES)."\"", getMessage("txtNodeTypereg"));
|
||||
$GLOBALS["SYSTEM_TEMPLATE"]->MxFormField("domain", "text", "node_domain", "", "class=\"form\" title=\"".htmlspecialchars(getMessage("txtNodeDomain"), ENT_QUOTES)."\"", getMessage("txtNodeDomain"));
|
||||
/* fin template */
|
||||
@ -382,7 +383,8 @@ Class AdminNode extends CoordinationObj
|
||||
$GLOBALS['SYSTEM_TEMPLATE']->MxSelect("ToHidde.template", "template_name", $Node->getTemplate(), $tabTemplate, '', '', 'id="template"', "class=\"form\" title=\"".htmlspecialchars(getMessage("txtNodeTemplate"), ENT_QUOTES)."\"", getMessage("txtNodeTemplate"));
|
||||
$GLOBALS["SYSTEM_TEMPLATE"]->MxImage("ToHidde.pictoObject", $GLOBALS['CONF_DATA_PATH']."data/image/icons/node/".$nodeIcone, getMessage("PreviewPicto"));
|
||||
$GLOBALS["SYSTEM_TEMPLATE"]->MxImage("ToHidde.screenTemplate", $GLOBALS['SYSTEM_TEMPLATE_PATH'].$GLOBALS['SYSTEM_TEMPLATE_DIR']."preview.png", getMessage("PreviewTemplate"));
|
||||
$GLOBALS["SYSTEM_TEMPLATE"]->MxFormField("ToHidde.ctype", "text", "node_ctype", htmlentitiesconv($Node->getCType()), "class=\"form\" title=\"".htmlspecialchars(getMessage("txtNodeType"), ENT_QUOTES)."\"", getMessage("txtNodeType"));
|
||||
// $GLOBALS["SYSTEM_TEMPLATE"]->MxFormField("ToHidde.ctype", "text", "node_ctype", htmlentitiesconv($Node->getCType()), "class=\"form\" title=\"".htmlspecialchars(getMessage("txtNodeType"), ENT_QUOTES)."\"", getMessage("txtNodeType"));
|
||||
printTabCommProfiles($selected=htmlentitiesconv($Node->getCType()), $MxBlocName="ToHidde.COMMPROFILES", $name="node_ctype");
|
||||
$GLOBALS["SYSTEM_TEMPLATE"]->MxFormField("ToHidde.ctypereg", "text", "node_ctypereg", htmlentitiesconv($Node->getCTypereg()), "class=\"form\" title=\"".htmlspecialchars(getMessage("txtNodeTypereg"), ENT_QUOTES)."\"", getMessage("txtNodeTypereg"));
|
||||
$GLOBALS["SYSTEM_TEMPLATE"]->MxFormField("ToHidde.domain", "text", "node_domain", htmlentitiesconv($Node->getDomain()), "class=\"form\" title=\"".htmlspecialchars(getMessage("txtNodeDomain"), ENT_QUOTES)."\"", getMessage("txtNodeDomain"));
|
||||
$GLOBALS['SYSTEM_TEMPLATE']->MxText("ToHidde.node_haspublic_value", ($Node->getHasPublic()!="on")?"":" checked");
|
||||
|
@ -689,7 +689,7 @@ function printTabUser($tabUser, $selected, $MxBlocName="USER", $name="user_id",
|
||||
function printTabCommProfiles($selected='', $MxBlocName="COMMPROFILES", $name="commprofile_id", $opt='', $default='Profil par défaut', $attr='')
|
||||
{
|
||||
global $SYSTEM_TEMPLATE;
|
||||
$arrayCommProfiles = array("blog"=>"Blog", "asso"=>"Association", "vitrine"=>"Vitrine", "ecommerce"=>"E-commerce");
|
||||
$arrayCommProfiles = array("blog"=>"Blog", "asso"=>"Association", "steam"=>"Steam", "vitrine"=>"Vitrine", "ecommerce"=>"E-commerce");
|
||||
|
||||
asort($arrayCommProfiles);
|
||||
// reset($arrayCommProfiles);
|
||||
|
Loading…
x
Reference in New Issue
Block a user