Faserplanung
* Kabelverzeichnis Updates
This commit is contained in:
@@ -324,13 +324,13 @@ function generateendpointbody($destinations, $destinationinfo, $oldsummcounter =
|
||||
}
|
||||
endif;
|
||||
}
|
||||
if ($sumcounter==0){
|
||||
if ($sumcounter == 0) {
|
||||
$sumcounter = $oldsummcounter;
|
||||
}
|
||||
return array($body, $sumcounter, $dropout);
|
||||
}
|
||||
|
||||
function generatedestinationmidpoint($markers, $midpoints, $cableendpoints, $fiberPlanCablePipes, $pipesubs)
|
||||
function generatedestinationmidpoint($markers, $midpoints, $cableendpoints, $fiberPlanCablePipes, $pipesubs, $fibers = 0)
|
||||
{
|
||||
$oldendpoint = "";
|
||||
$midpointcounter = count($midpoints);
|
||||
@@ -340,6 +340,8 @@ function generatedestinationmidpoint($markers, $midpoints, $cableendpoints, $fib
|
||||
$counter = 0;
|
||||
$width = 0;
|
||||
$oldsummcounter = 0;
|
||||
$summcounter = $fibers;
|
||||
|
||||
foreach ($midpoints as $midpoint):
|
||||
$pipecol = $pipesubs[$counter]['pipecolor'];
|
||||
$midcounter = 0;
|
||||
@@ -366,7 +368,7 @@ function generatedestinationmidpoint($markers, $midpoints, $cableendpoints, $fib
|
||||
</thead>
|
||||
<tbody id="olt-ports">
|
||||
<tr>
|
||||
<td data-oltport="0"
|
||||
<td
|
||||
class="font-13">' . $summcounter . '</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -512,6 +514,14 @@ foreach ($fiberPlanCablePipes as $fiberPlanCablePipe) {
|
||||
$pipeheightinfoheight = "15px";
|
||||
$pipeheightinfomarge = "3px";
|
||||
$pipsstriped = '<div class="pipe-striped"></div>';
|
||||
} else {
|
||||
$pipesub = "";
|
||||
$pipeheight = "";
|
||||
$pipecolor = "";
|
||||
$pipecolordesc = $fiberPlanCablePipe->fiberPlanPipe->type_description;
|
||||
$pipeheightinfoheight = "15px";
|
||||
$pipeheightinfomarge = "3px";
|
||||
$pipsstriped = '';
|
||||
}
|
||||
/* var_dump($fiberPlanCablePipe->fiberPlanpipe->fiberPlanPipeTemplate);
|
||||
echo $fiberPlanCablePipe->fiberPlanPipe_sub;
|
||||
@@ -658,7 +668,7 @@ foreach ($fiberPlanCableEndpoints as $fiberPlanCableEndpoint) {
|
||||
|
||||
<?php
|
||||
if ($fiberPlanPipesEndpoints) {
|
||||
$markers = generatedestinationmidpoint($markers, $fiberPlanPipesEndpoints, $fiberPlanCableEndpoints, $fiberPlanCablePipes, $pipesubs);
|
||||
$markers = generatedestinationmidpoint($markers, $fiberPlanPipesEndpoints, $fiberPlanCableEndpoints, $fiberPlanCablePipes, $pipesubs, $fibersArray[$fiberplancables->fibers]);
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user