aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/LinkDB.php
diff options
context:
space:
mode:
authornodiscc <nodiscc@gmail.com>2015-06-26 22:03:25 +0200
committernodiscc <nodiscc@gmail.com>2015-06-26 22:03:25 +0200
commitd72ae3d7e879281b842a6c56e1fe97ed9671c654 (patch)
tree4668dd6fe7025c7acd64ce16dd6ec420d53c5443 /application/LinkDB.php
parent2fbadc3c631e0c7e32b9b956fb5551822729bc33 (diff)
parent30e6f1ca2f4278f542cde625f8152c7be3551ed4 (diff)
downloadShaarli-d72ae3d7e879281b842a6c56e1fe97ed9671c654.tar.gz
Shaarli-d72ae3d7e879281b842a6c56e1fe97ed9671c654.tar.zst
Shaarli-d72ae3d7e879281b842a6c56e1fe97ed9671c654.zip
Merge remote-tracking branch 'ArthurHoaro/default-links'
Diffstat (limited to 'application/LinkDB.php')
-rw-r--r--application/LinkDB.php16
1 files changed, 10 insertions, 6 deletions
diff --git a/application/LinkDB.php b/application/LinkDB.php
index ff82446f..a673b086 100644
--- a/application/LinkDB.php
+++ b/application/LinkDB.php
@@ -188,11 +188,15 @@ class LinkDB implements Iterator, Countable, ArrayAccess
188 // Create a dummy database for example 188 // Create a dummy database for example
189 $this->links = array(); 189 $this->links = array();
190 $link = array( 190 $link = array(
191 'title'=>'Shaarli - sebsauvage.net', 191 'title'=>' Shaarli: the personal, minimalist, super-fast, no-database delicious clone',
192 'url'=>'http://sebsauvage.net/wiki/doku.php?id=php:shaarli', 192 'url'=>'https://github.com/shaarli/Shaarli/wiki',
193 'description'=>'Welcome to Shaarli! This is a bookmark. To edit or delete me, you must first login.', 193 'description'=>'Welcome to Shaarli! This is your first public bookmark. To edit or delete me, you must first login.
194
195To learn how to use Shaarli, consult the link "Help/documentation" at the bottom of this page.
196
197You use the community supported version of the original Shaarli project, by Sebastien Sauvage.',
194 'private'=>0, 198 'private'=>0,
195 'linkdate'=>'20110914_190000', 199 'linkdate'=> date('Ymd_His'),
196 'tags'=>'opensource software' 200 'tags'=>'opensource software'
197 ); 201 );
198 $this->links[$link['linkdate']] = $link; 202 $this->links[$link['linkdate']] = $link;
@@ -200,9 +204,9 @@ class LinkDB implements Iterator, Countable, ArrayAccess
200 $link = array( 204 $link = array(
201 'title'=>'My secret stuff... - Pastebin.com', 205 'title'=>'My secret stuff... - Pastebin.com',
202 'url'=>'http://sebsauvage.net/paste/?8434b27936c09649#bR7XsXhoTiLcqCpQbmOpBi3rq2zzQUC5hBI7ZT1O3x8=', 206 'url'=>'http://sebsauvage.net/paste/?8434b27936c09649#bR7XsXhoTiLcqCpQbmOpBi3rq2zzQUC5hBI7ZT1O3x8=',
203 'description'=>'SShhhh!! I\'m a private link only YOU can see. You can delete me too.', 207 'description'=>'Shhhh! I\'m a private link only YOU can see. You can delete me too.',
204 'private'=>1, 208 'private'=>1,
205 'linkdate'=>'20110914_074522', 209 'linkdate'=> date('Ymd_His', strtotime('-1 minute')),
206 'tags'=>'secretstuff' 210 'tags'=>'secretstuff'
207 ); 211 );
208 $this->links[$link['linkdate']] = $link; 212 $this->links[$link['linkdate']] = $link;