umstellung auf shared codeigniter und postgres php8.2
This commit is contained in:
@@ -16,14 +16,14 @@
|
||||
foreach($all as $ele){
|
||||
$class ="";
|
||||
if ($ele->parent_id == $id){
|
||||
if ($ele->LKZ) $class = "bg-danger";
|
||||
else if ($ele->bookable !=1) $class = "bg-warning";
|
||||
$toolt ="bookable: $ele->bookable; LKZ: $ele->LKZ; Id: $ele->id; PID:$ele->parent_id";
|
||||
if ($ele->lkz) $class = "bg-danger";
|
||||
else if ($ele->bookable == "f") $class = "bg-warning";
|
||||
$toolt ="bookable: $ele->bookable; lkz: $ele->lkz; Id: $ele->id; PID:$ele->parent_id";
|
||||
$liste .= "<li><span data-bs-toggle='tooltip' data-bs-html=true title='$toolt'";
|
||||
$liste .= "data-id=\"$ele->id\"";
|
||||
$liste .= "data-pid=\"$ele->parent_id\"";
|
||||
$liste .= "data-bookable=\"$ele->bookable\"";
|
||||
$liste .= "data-lkz=\"$ele->LKZ\"";
|
||||
$liste .= "data-lkz=\"$ele->lkz\"";
|
||||
$liste .= "data-type=\"$ele->type\"";
|
||||
$liste .= "data-description=\"$ele->description\"";
|
||||
$liste .= "class='$class'>$ele->description</span></li>";
|
||||
@@ -50,17 +50,17 @@
|
||||
<ul>
|
||||
<?php foreach($parents as $parent): ?>
|
||||
<?php $class='';
|
||||
if ($parent->LKZ) $class = "bg-danger";
|
||||
else if ($parent->bookable !=1) $class = "bg-warning"; ?>
|
||||
if ($parent->lkz) $class = "bg-danger";
|
||||
else if ($parent->bookable == "f") $class = "bg-warning"; ?>
|
||||
<li> <span data-bs-toggle='tooltip'
|
||||
data-bs-html=true
|
||||
data-id="<?=$parent->id?>"
|
||||
data-pid="0"
|
||||
data-bookable="<?=$parent->bookable?>"
|
||||
data-lkz=" <?= $parent->LKZ?>"
|
||||
data-bookable="<?=$parent->bookable?>"
|
||||
data-lkz=" <?= $parent->lkz?>"
|
||||
data-type="<?= $parent->type?>"
|
||||
data-description="<?= $parent->description?>";
|
||||
title="bookable: <?=$parent->bookable?>; LKZ: <?= $parent->LKZ?>; Id: <?=$parent->id?>;" class="<?=$class?>"><?=$parent->description?></span>
|
||||
title="bookable: <?=$parent->bookable?>; lkz: <?= $parent->lkz?>; Id: <?=$parent->id?>;" class="<?=$class?>"><?=$parent->description?></span>
|
||||
<?= printsub($parent->id, $all); ?>
|
||||
|
||||
<?php endforeach; ?>
|
||||
|
||||
Reference in New Issue
Block a user