mirror of
https://github.com/saintly2k/FoOlSlideX.git
synced 2025-02-20 11:13:13 +08:00
added "edit" button if logged in
This commit is contained in:
parent
fffa7ee9ec
commit
85510f96f7
@ -49,7 +49,7 @@ if ($chapterResult->num_rows > 0) {
|
||||
</style>
|
||||
<div class="row">
|
||||
<div class="col-10">
|
||||
<h3><?php echo $mTITLE; ?> - Chapter <?php echo $chapterNumber; ?>: <?php echo $chapterTitle; ?></h3>
|
||||
<h3><?php echo $mTITLE; ?> - Chapter <?php echo $chapterNumber; ?>: <?php echo $chapterTitle; ?> <?php if(isset($_SESSION["username"])) { echo " - <a href='?page=view&chapter=".$chID."&action=edit'><i class='bi bi-pencil-fill'></i> Edit</a>"; } ?></h3>
|
||||
<?php include("views/pages/reader/images.php"); ?>
|
||||
</div>
|
||||
<div class="col-2" id="chapter-select"
|
||||
@ -96,4 +96,4 @@ if ($chapterResult->num_rows > 0) {
|
||||
<title><?php echo $mTITLE; ?> - Chapter <?php echo $chapterNumber; ?>: <?php echo $chapterTitle; ?> .::.
|
||||
<?php echo $config["name"]; ?></title>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user