diff options
Diffstat (limited to 'application/LinkDB.php')
-rw-r--r-- | application/LinkDB.php | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/application/LinkDB.php b/application/LinkDB.php index 2b3fb60b..ca619bba 100644 --- a/application/LinkDB.php +++ b/application/LinkDB.php | |||
@@ -179,11 +179,15 @@ class LinkDB implements Iterator, Countable, ArrayAccess | |||
179 | // Create a dummy database for example | 179 | // Create a dummy database for example |
180 | $this->links = array(); | 180 | $this->links = array(); |
181 | $link = array( | 181 | $link = array( |
182 | 'title'=>'Shaarli - sebsauvage.net', | 182 | 'title'=>' Shaarli: the personal, minimalist, super-fast, no-database delicious clone', |
183 | 'url'=>'http://sebsauvage.net/wiki/doku.php?id=php:shaarli', | 183 | 'url'=>'https://github.com/shaarli/Shaarli/wiki', |
184 | 'description'=>'Welcome to Shaarli! This is a bookmark. To edit or delete me, you must first login.', | 184 | 'description'=>'Welcome to Shaarli! This is your first public bookmark. To edit or delete me, you must first login. |
185 | |||
186 | To learn how to use Shaarli, consult the link "Help/documentation" at the bottom of this page. | ||
187 | |||
188 | You use the community supported version of the original Shaarli project, by Sebastien Sauvage.', | ||
185 | 'private'=>0, | 189 | 'private'=>0, |
186 | 'linkdate'=>'20110914_190000', | 190 | 'linkdate'=> date('Ymd_His'), |
187 | 'tags'=>'opensource software' | 191 | 'tags'=>'opensource software' |
188 | ); | 192 | ); |
189 | $this->links[$link['linkdate']] = $link; | 193 | $this->links[$link['linkdate']] = $link; |
@@ -191,9 +195,9 @@ class LinkDB implements Iterator, Countable, ArrayAccess | |||
191 | $link = array( | 195 | $link = array( |
192 | 'title'=>'My secret stuff... - Pastebin.com', | 196 | 'title'=>'My secret stuff... - Pastebin.com', |
193 | 'url'=>'http://sebsauvage.net/paste/?8434b27936c09649#bR7XsXhoTiLcqCpQbmOpBi3rq2zzQUC5hBI7ZT1O3x8=', | 197 | 'url'=>'http://sebsauvage.net/paste/?8434b27936c09649#bR7XsXhoTiLcqCpQbmOpBi3rq2zzQUC5hBI7ZT1O3x8=', |
194 | 'description'=>'SShhhh!! I\'m a private link only YOU can see. You can delete me too.', | 198 | 'description'=>'Shhhh! I\'m a private link only YOU can see. You can delete me too.', |
195 | 'private'=>1, | 199 | 'private'=>1, |
196 | 'linkdate'=>'20110914_074522', | 200 | 'linkdate'=> date('Ymd_His', strtotime('-1 minute')), |
197 | 'tags'=>'secretstuff' | 201 | 'tags'=>'secretstuff' |
198 | ); | 202 | ); |
199 | $this->links[$link['linkdate']] = $link; | 203 | $this->links[$link['linkdate']] = $link; |