conditional rendering for different Profile Views

This commit is contained in:
Simon Gschnell
2023-12-01 11:07:25 +01:00
parent f26801b7de
commit 38f76f68f1
6 changed files with 218 additions and 153 deletions
+2 -2
View File
@@ -14,8 +14,8 @@ $this->load->view('templates/CISHTML-Header', $includesArray);
<hr>
<!-- we can pass information from the php view file to the public js file through interpolating data from php into vue props -->
<Profil uid="<?php echo $uid ?>" pid="<?php echo $pid ?>"></Profil>
<!-- we can pass information from the php view file to the public js file throughz interpolating data from php into vue props -->
<Profil <?php echo "uid=$uid" ?> <?php echo "pid=$pid" ?> view=<?php echo $view? boolval(1): boolval(0); ?>></Profil>
</div>
<?php $this->load->view('templates/CISHTML-Footer', $includesArray); ?>