Kontakt - Datenschutz

Subversion

<?php
$linksConfig = [
    'cookieSecure'  => 1,
    'debug'         => false,

    'dbName'        => 'ydlinks',
    'dbHost'        => 'localhost',
    'dbUsername'    => 'dbuser',
    'dbPassword'    => 'dbpassword',

    'loginUsername' => 'admin',
    'loginPassword' => 'password',

    'maintenance'   => false,

    'templatesFilename' => __DIR__ . '/templates.json'
];


$linksConfig['templatePage'] = <<< HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title><v:title></title>
<link rel="alternate" type="application/atom+xml" title="Bookmarks (Atom 1.0)" href="http://www.example.com/TODO/bookmarks/atom.xml" />
<style type="text/css">
  body {
    max-width: 50em;
    margin: 0 auto;

    color: black;
    background-color: white;

    a:link    {color: #0000E0;}
    a:visited {color: #880080;}
    a:hover   {color: #E00000;}
    a:active  {color: #E00000;}
    a:focus   {color: #00E000;}
  }
</style>
</head>
<body>
  <nav><v:navigation></nav>
  <v:message>
  <v:content>
  <v:debug>
</body>
</html>
HTML;


$linksConfig['templateAtomFeed'] = <<< XML
<?xml version='1.0' encoding='utf-8'?>
<feed xmlns='http://www.w3.org/2005/Atom'>
  <title><v:title></title>
  <author>
    <name>TODO firstname lastname</name>
    <uri>http://www.example.com/bookmarks/TODO/</uri>
  </author>
  <id>http://www.example.com/bookmarks/TODO/</id>
  <link rel='alternate' type='text/html' href='http://www.example.com/bookmarks/TODO/' />
  <link rel='self' type='application/atom+xml' href='http://www.example.com/bookmarks/TODO/atom.xml' />
  <updated><v:lastModified></updated>
  <v:content>
</feed>
XML;
?>