]> 91.132.146.200 Git - insipid.git/commitdiff
last updated info added to link table
authorBanana <banana@optimus.de>
Tue, 16 Jul 2019 14:03:33 +0000 (16:03 +0200)
committerBanana <banana@optimus.de>
Tue, 16 Jul 2019 14:03:33 +0000 (16:03 +0200)
webroot/lib/link.class.php
webroot/view/editlink.php

index 97ae77e39d45df477d3a5bf01357c098ea6142af..340dbf1b69ddc963d8ee5896c5673d84be0c5664 100644 (file)
@@ -58,7 +58,8 @@ class Link {
                                any_value(`id`) as id,
                                any_value(`link`) as link,
                                any_value(`created`) as created,
-                               any_value(`status`) as status,
+                               any_value(`updated`) as `updated`,
+                               any_value(`status`) as `status`,
                                any_value(`description`) as description,
                                any_value(`title`) as title,
                                any_value(`image`) as image,
@@ -281,4 +282,4 @@ class Link {
         }
     }
 }
- ?>
\ No newline at end of file
+ ?>
index 8a8a589c18f311cae807917fed821f32c7a38f02..07fbbd3cf6fc039b834f260731abbd6c89aad2a9 100644 (file)
                        <p>Date added:</p>
                </div>
                <div class="column">
-                       <p><?php echo $linkData['created']; ?></p>
+                       <p>
+                                       <?php echo $linkData['created']; ?>
+                                       (Last update: <?php echo $linkData['updated']; ?>)
+                               </p>
                </div>
         </div>
         <div class="columns">