|
|
|
@@ -1,5 +1,8 @@ |
|
|
|
|
|
|
|
|
|
|
|
<?php echo $this->partial('Layout/nav'); ?> |
|
|
|
|
|
|
|
|
|
|
|
<div class="container"> |
|
|
|
<div class="container-page-wrapper shodowed bordered"> |
|
|
|
<div class="container-page-container"> |
|
|
|
@@ -15,6 +18,8 @@ |
|
|
|
</div> |
|
|
|
<hr> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?php if (is_array($this->view->userData)): ?> |
|
|
|
<form id="user-form-edit"> |
|
|
|
@@ -406,7 +411,7 @@ |
|
|
|
|
|
|
|
<div class="form-group col-md-5"> |
|
|
|
<label class="label-main" for="cn_applicant"><?php echo _('Country filter (Requester)'); ?></label> |
|
|
|
<select data-placeholder="<?php echo _('Select...'); ?>" class="form-control field-cn_applicant chosen-select" multiple="multiple" id="cn_applicant" <?php echo ($this->view->getUserHasRoles[5] ) && $this->view->getUserHasRoles[5] ? "" : (($this->view->getMaxAddRequesters-$this->view->getTotRequesters) > 0 ? "" : "disabled"); ?> > |
|
|
|
<select data-placeholder="<?php echo _('Select...'); ?>" class="form-control field-cn_applicant chosen-select" multiple="multiple" id="cn_applicant" <?php echo ($this->view->getUserHasRoles[5] ) && $this->view->getUserHasRoles[5] ? "" : (($this->view->getMaxAddRequesters-$this->view->getTotRequesters) > 0 ? "" : ""); ?> > |
|
|
|
<?php if(is_array($this->view->clinicalCenterCountries)): ?> |
|
|
|
<?php foreach($this->view->clinicalCenterCountries as $countryCode => $ccCountry): ?> |
|
|
|
<optgroup label="<?php echo $ccCountry['name']; ?>"> |
|
|
|
@@ -421,11 +426,11 @@ |
|
|
|
<?php endif; ?> |
|
|
|
</select> |
|
|
|
</div> |
|
|
|
<!--//--><div class="form-group col-md-2 text-center"><button type="button" data-lefthand="cn_applicant" data-righthand="cc_applicant" class="btn btn-outline-info btn-countries-hand" <?php echo ($this->view->getUserHasRoles[5] ) && $this->view->getUserHasRoles[5] ? "" : (($this->view->getMaxAddRequesters-$this->view->getTotRequesters) > 0 ? "" : "disabled"); ?> ><span class="icon-point-right"></span></button></div> |
|
|
|
<!--//--><div class="form-group col-md-2 text-center"><button type="button" data-lefthand="cn_applicant" data-righthand="cc_applicant" class="btn btn-outline-info btn-countries-hand" <?php echo ($this->view->getUserHasRoles[5] ) && $this->view->getUserHasRoles[5] ? "" : (($this->view->getMaxAddRequesters-$this->view->getTotRequesters) > 0 ? "" : ""); ?> ><span class="icon-point-right"></span></button></div> |
|
|
|
<div class="form-group col-md-5"> |
|
|
|
<label class="label-main" for="cc_applicant"><?php echo _('Clinical Center (Requester)'); ?></label> |
|
|
|
|
|
|
|
<select data-placeholder="<?php echo _('Select...'); ?>" class="form-control field-cc_applicant chosen-select" multiple="multiple" name="data[cc_applicant][value][]" id="cc_applicant" <?php echo ($this->view->getUserHasRoles[5] ) && $this->view->getUserHasRoles[5] ? "" : (($this->view->getMaxAddRequesters-$this->view->getTotRequesters) > 0 ? "" : "disabled"); ?> > |
|
|
|
<select data-placeholder="<?php echo _('Select...'); ?>" class="form-control field-cc_applicant chosen-select" multiple="multiple" name="data[cc_applicant][value][]" id="cc_applicant" <?php echo ($this->view->getUserHasRoles[5] ) && $this->view->getUserHasRoles[5] ? "" : (($this->view->getMaxAddRequesters-$this->view->getTotRequesters) > 0 ? "" : ""); ?> > |
|
|
|
<?php if(is_array($this->view->clinicalCenters)): ?> |
|
|
|
<?php foreach($this->view->clinicalCenters as $center): ?> |
|
|
|
|
|
|
|
@@ -446,7 +451,7 @@ |
|
|
|
|
|
|
|
<div class="form-group col-md-5"> |
|
|
|
<label class="label-main" for="cn_referrer"><?php echo _('Country filter (Responder)'); ?></label> |
|
|
|
<select data-placeholder="<?php echo _('Select...'); ?>" class="form-control field-cn_referrer chosen-select" multiple="multiple" id="cn_referrer" <?php echo ($this->view->getUserHasRoles[4] ) && $this->view->getUserHasRoles[4] ? "" : ( ($this->view->getMaxAddResponders-$this->view->getTotResponders) > 0 ? "" : "disabled"); ?> > |
|
|
|
<select data-placeholder="<?php echo _('Select...'); ?>" class="form-control field-cn_referrer chosen-select" multiple="multiple" id="cn_referrer" <?php echo ($this->view->getUserHasRoles[4] ) && $this->view->getUserHasRoles[4] ? "" : ( ($this->view->getMaxAddResponders-$this->view->getTotResponders) > 0 ? "" : ""); ?> > |
|
|
|
<?php if(is_array($this->view->clinicalCenterCountries)): ?> |
|
|
|
<?php foreach($this->view->clinicalCenterCountries as $countryCode => $ccCountry): ?> |
|
|
|
<optgroup label="<?php echo $ccCountry['name']; ?>"> |
|
|
|
@@ -461,11 +466,11 @@ |
|
|
|
<?php endif; ?> |
|
|
|
</select> |
|
|
|
</div> |
|
|
|
<!--//--><div class="form-group col-md-2 text-center"><button type="button" data-lefthand="cn_referrer" data-righthand="cc_referrer" class="btn btn-outline-info btn-countries-hand" <?php echo ($this->view->getUserHasRoles[4] ) && $this->view->getUserHasRoles[4] ? "" : ( ($this->view->getMaxAddResponders-$this->view->getTotResponders) > 0 ? "" : "disabled"); ?> ><span class="icon-point-right"></span></button></div> |
|
|
|
<!--//--><div class="form-group col-md-2 text-center"><button type="button" data-lefthand="cn_referrer" data-righthand="cc_referrer" class="btn btn-outline-info btn-countries-hand" <?php echo ($this->view->getUserHasRoles[4] ) && $this->view->getUserHasRoles[4] ? "" : ( ($this->view->getMaxAddResponders-$this->view->getTotResponders) > 0 ? "" : ""); ?> ><span class="icon-point-right"></span></button></div> |
|
|
|
<div class="form-group col-md-5"> |
|
|
|
<label class="label-main" for="cc_referrer"><?php echo _('Clinical Center (Responder)'); ?></label> |
|
|
|
|
|
|
|
<select data-placeholder="<?php echo _('Select...'); ?>" class="form-control field-cc_referrer chosen-select" multiple="multiple" name="data[cc_referrer][value][]" id="cc_referrer" <?php echo ($this->view->getUserHasRoles[4] ) && $this->view->getUserHasRoles[4] ? "" : ( ($this->view->getMaxAddResponders-$this->view->getTotResponders) > 0 ? "" : "disabled"); ?> > |
|
|
|
<select data-placeholder="<?php echo _('Select...'); ?>" class="form-control field-cc_referrer chosen-select" multiple="multiple" name="data[cc_referrer][value][]" id="cc_referrer" <?php echo ($this->view->getUserHasRoles[4] ) && $this->view->getUserHasRoles[4] ? "" : ( ($this->view->getMaxAddResponders-$this->view->getTotResponders) > 0 ? "" : ""); ?> > |
|
|
|
<?php if(is_array($this->view->clinicalCenters)): ?> |
|
|
|
<?php foreach($this->view->clinicalCenters as $center): ?> |
|
|
|
<?php |
|
|
|
@@ -485,7 +490,7 @@ |
|
|
|
|
|
|
|
<div class="form-group col-md-5"> |
|
|
|
<label class="label-main" for="cn_moderator"><?php echo _('Country filter (Moderator)'); ?></label> |
|
|
|
<select data-placeholder="<?php echo _('Select...'); ?>" class="form-control field-cn_moderator chosen-select" multiple="multiple" id="cn_moderator" <?php echo ($this->view->getUserHasRoles[3] ) && $this->view->getUserHasRoles[3] ? "" : ( ($this->view->getMaxAddModerators-$this->view->getTotModerators) > 0 ? "" : "disabled"); ?> > |
|
|
|
<select data-placeholder="<?php echo _('Select...'); ?>" class="form-control field-cn_moderator chosen-select" multiple="multiple" id="cn_moderator" <?php echo ($this->view->getUserHasRoles[3] ) && $this->view->getUserHasRoles[3] ? "" : ( ($this->view->getMaxAddModerators-$this->view->getTotModerators) > 0 ? "" : ""); ?> > |
|
|
|
<?php if(is_array($this->view->clinicalCenterCountries)): ?> |
|
|
|
<?php foreach($this->view->clinicalCenterCountries as $countryCode => $ccCountry): ?> |
|
|
|
<optgroup label="<?php echo $ccCountry['name']; ?>"> |
|
|
|
@@ -500,11 +505,11 @@ |
|
|
|
<?php endif; ?> |
|
|
|
</select> |
|
|
|
</div> |
|
|
|
<!--//--><div class="form-group col-md-2 text-center"><button type="button" data-lefthand="cn_moderator" data-righthand="cc_moderator" class="btn btn-outline-info btn-countries-hand" <?php echo ($this->view->getUserHasRoles[3] ) && $this->view->getUserHasRoles[3] ? "" : ( ($this->view->getMaxAddModerators-$this->view->getTotModerators) > 0 ? "" : "disabled"); ?> ><span class="icon-point-right"></span></button></div> |
|
|
|
<!--//--><div class="form-group col-md-2 text-center"><button type="button" data-lefthand="cn_moderator" data-righthand="cc_moderator" class="btn btn-outline-info btn-countries-hand" <?php echo ($this->view->getUserHasRoles[3] ) && $this->view->getUserHasRoles[3] ? "" : ( ($this->view->getMaxAddModerators-$this->view->getTotModerators) > 0 ? "" : ""); ?> ><span class="icon-point-right"></span></button></div> |
|
|
|
<div class="form-group col-md-5"> |
|
|
|
<label class="label-main" for="cc_moderator"><?php echo _('Clinical Center (Moderator)'); ?></label> |
|
|
|
|
|
|
|
<select data-placeholder="<?php echo _('Select...'); ?>" class="form-control field-cc_moderator chosen-select" multiple="multiple" name="data[cc_moderator][value][]" id="cc_moderator"<?php echo ($this->view->getUserHasRoles[3] ) && $this->view->getUserHasRoles[3] ? "" : ( ($this->view->getMaxAddModerators-$this->view->getTotModerators) > 0 ? "" : "disabled"); ?> > |
|
|
|
<select data-placeholder="<?php echo _('Select...'); ?>" class="form-control field-cc_moderator chosen-select" multiple="multiple" name="data[cc_moderator][value][]" id="cc_moderator"<?php echo ($this->view->getUserHasRoles[3] ) && $this->view->getUserHasRoles[3] ? "" : ( ($this->view->getMaxAddModerators-$this->view->getTotModerators) > 0 ? "" : ""); ?> > |
|
|
|
<?php if(is_array($this->view->clinicalCenters)): ?> |
|
|
|
<?php foreach($this->view->clinicalCenters as $center): ?> |
|
|
|
<?php |
|
|
|
@@ -524,7 +529,7 @@ |
|
|
|
|
|
|
|
<div class="form-group col-md-5"> |
|
|
|
<label class="label-main" for="cn_guest"><?php echo _('Country filter (Guest)'); ?></label> |
|
|
|
<select data-placeholder="<?php echo _('Select...'); ?>" class="form-control field-cn_guest chosen-select" multiple="multiple" id="cn_guest" <?php echo ($this->view->getUserHasRoles[6] ) && $this->view->getUserHasRoles[6] ? '' : (($this->view->getMaxAddGuests-$this->view->getTotGuests) > 0 ? "" : "disabled"); ?> > |
|
|
|
<select data-placeholder="<?php echo _('Select...'); ?>" class="form-control field-cn_guest chosen-select" multiple="multiple" id="cn_guest" <?php echo ($this->view->getUserHasRoles[6] ) && $this->view->getUserHasRoles[6] ? '' : (($this->view->getMaxAddGuests-$this->view->getTotGuests) > 0 ? "" : ""); ?> > |
|
|
|
<?php if(is_array($this->view->clinicalCenterCountries)): ?> |
|
|
|
<?php foreach($this->view->clinicalCenterCountries as $countryCode => $ccCountry): ?> |
|
|
|
<optgroup label="<?php echo $ccCountry['name']; ?>"> |
|
|
|
@@ -539,11 +544,11 @@ |
|
|
|
<?php endif; ?> |
|
|
|
</select> |
|
|
|
</div> |
|
|
|
<!--//--><div class="form-group col-md-2 text-center"><button type="button" data-lefthand="cn_guest" data-righthand="cc_guest" class="btn btn-outline-info btn-countries-hand" <?php echo ($this->view->getUserHasRoles[6] ) && $this->view->getUserHasRoles[6] ? '' : (($this->view->getMaxAddGuests-$this->view->getTotGuests) > 0 ? "" : "disabled"); ?> ><span class="icon-point-right"></span></button></div> |
|
|
|
<!--//--><div class="form-group col-md-2 text-center"><button type="button" data-lefthand="cn_guest" data-righthand="cc_guest" class="btn btn-outline-info btn-countries-hand" <?php echo ($this->view->getUserHasRoles[6] ) && $this->view->getUserHasRoles[6] ? '' : (($this->view->getMaxAddGuests-$this->view->getTotGuests) > 0 ? "" : ""); ?> ><span class="icon-point-right"></span></button></div> |
|
|
|
<div class="form-group col-md-5"> |
|
|
|
<label class="label-main" for="cc_guest"><?php echo _('Clinical Center (Guest)'); ?></label> |
|
|
|
|
|
|
|
<select data-placeholder="<?php echo _('Select...'); ?>" class="form-control field-cc_guest chosen-select" multiple="multiple" name="data[cc_guest][value][]" id="cc_guest" <?php echo ($this->view->getUserHasRoles[6] ) && $this->view->getUserHasRoles[6] ? '' : (($this->view->getMaxAddGuests-$this->view->getTotGuests) > 0 ? "" : "disabled"); ?> > |
|
|
|
<select data-placeholder="<?php echo _('Select...'); ?>" class="form-control field-cc_guest chosen-select" multiple="multiple" name="data[cc_guest][value][]" id="cc_guest" <?php echo ($this->view->getUserHasRoles[6] ) && $this->view->getUserHasRoles[6] ? '' : (($this->view->getMaxAddGuests-$this->view->getTotGuests) > 0 ? "" : ""); ?> > |
|
|
|
<?php if(is_array($this->view->clinicalCenters)): ?> |
|
|
|
<?php foreach($this->view->clinicalCenters as $center): ?> |
|
|
|
<?php |
|
|
|
@@ -777,3 +782,5 @@ |
|
|
|
$("[data-toggle='tooltip']").tooltip(); |
|
|
|
}); |
|
|
|
</script> |
|
|
|
|
|
|
|
|