Correct Indents for IS data type

This commit is contained in:
steve-lad 2021-06-30 15:04:09 +02:00
parent 3b91ad2188
commit e50c32a1ac
2 changed files with 10 additions and 10 deletions

View file

@ -1,7 +1,7 @@
<module> <module>
<rawname>sccp_manager</rawname> <rawname>sccp_manager</rawname>
<name>SCCP Manager</name> <name>SCCP Manager</name>
<version>14.3.0.1</version> <version>14.3.0.0</version>
<type>setup</type> <type>setup</type>
<category>SCCP Connectivity</category> <category>SCCP Connectivity</category>
<publisher>Steve Lad, Alex GP</publisher> <publisher>Steve Lad, Alex GP</publisher>

View file

@ -175,13 +175,11 @@ foreach ($items as $child) {
echo ($usingSysDefaults) ? "Customise" : "Use chan-sccp defaults"; echo ($usingSysDefaults) ? "Customise" : "Use chan-sccp defaults";
?> ?>
</label> </label>
</span> </span>
</div> </div>
</div> </div>
</div> </div>
<div class="row" id="edit_<?php echo $res_id; ?>" style="display: none"> <div class="row" id="edit_<?php echo $res_id; ?>" style="display: none">
<!-- <div class="row" id="edit_<?php echo $res_id; ?>" style="display: none;"> -->
<div class="form-group <?php echo $res_sec_class; ?>"> <div class="form-group <?php echo $res_sec_class; ?>">
<div class="col-md-3"> <div class="col-md-3">
<i><?php echo "Enter new site value for {$shortId}"; ?></i> <i><?php echo "Enter new site value for {$shortId}"; ?></i>
@ -401,17 +399,17 @@ foreach ($items as $child) {
$child->help = $metaInfo[$res_n]; $child->help = $metaInfo[$res_n];
} }
} }
// --- Add Hidden option
// --- Add Hiden option
$res_sec_class =''; $res_sec_class ='';
if (!empty($child ->class)) { if (!empty($child ->class)) {
$res_sec_class = (string)$child ->class; $res_sec_class = (string)$child ->class;
} }
echo '<!-- Begin '.$child->label.' -->'; echo '<!-- Begin '.$child->label.' -->';
?> ?>
<div class="element-container"> <div class="element-container">
<div class="row"><div class="form-group <?php echo $res_sec_class;?>"> <div class="row">
<div class="form-group <?php echo $res_sec_class;?>">
<div class="col-md-3 radioset"> <div class="col-md-3 radioset">
<label class="control-label" for="<?php echo $res_id; ?>"><?php echo _($child->label);?></label> <label class="control-label" for="<?php echo $res_id; ?>"><?php echo _($child->label);?></label>
<i class="fa fa-question-circle fpbx-help-icon" data-for="<?php echo $res_id; ?>"></i> <i class="fa fa-question-circle fpbx-help-icon" data-for="<?php echo $res_id; ?>"></i>
@ -459,11 +457,13 @@ foreach ($items as $child) {
$i++; $i++;
} }
?> ?>
</div> </div>
</div></div> </div>
</div>
<div class="row"><div class="col-md-12"> <div class="row"><div class="col-md-12">
<span id="<?php echo $res_id;?>-help" class="help-block fpbx-help-block"><?php echo _($child->help);?></span> <span id="<?php echo $res_id;?>-help" class="help-block fpbx-help-block"><?php echo _($child->help);?></span>
</div></div> </div>
</div>
</div> </div>
<?php <?php