aboutsummaryrefslogtreecommitdiffhomepage
path: root/application
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-08-03 09:44:04 +0200
committerArthurHoaro <arthur@hoa.ro>2016-08-03 09:44:04 +0200
commit9646b7da22c4c6f3419bfe51431720dd622374d8 (patch)
tree0f5c685ecb63409a8d478aaa0c4ecb4fba475560 /application
parentc7a42ab1d9b21bf53cd30bc57b57789716c8711b (diff)
downloadShaarli-9646b7da22c4c6f3419bfe51431720dd622374d8.tar.gz
Shaarli-9646b7da22c4c6f3419bfe51431720dd622374d8.tar.zst
Shaarli-9646b7da22c4c6f3419bfe51431720dd622374d8.zip
Save the update date in LinkDB and pass it to linklist templates
It can be used as a timestamp by templates under the key 'updated_timestamp'.
Diffstat (limited to 'application')
-rw-r--r--application/LinkDB.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/application/LinkDB.php b/application/LinkDB.php
index d80434bf..de9e73b0 100644
--- a/application/LinkDB.php
+++ b/application/LinkDB.php
@@ -12,8 +12,9 @@
12 * 12 *
13 * Available keys: 13 * Available keys:
14 * - description: description of the entry 14 * - description: description of the entry
15 * - linkdate: date of the creation of this entry, in the form YYYYMMDD_HHMMSS 15 * - linkdate: creation date of this entry, format: YYYYMMDD_HHMMSS
16 * (e.g.'20110914_192317') 16 * (e.g.'20110914_192317')
17 * - updated: last modification date of this entry, format: YYYYMMDD_HHMMSS
17 * - private: Is this link private? 0=no, other value=yes 18 * - private: Is this link private? 0=no, other value=yes
18 * - tags: tags attached to this entry (separated by spaces) 19 * - tags: tags attached to this entry (separated by spaces)
19 * - title Title of the link 20 * - title Title of the link