Subversion Repositories LCARS

Rev

Rev 63 | Rev 106 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

1
<?php

$encoding = 'UTF-8';
header("Content-Type: text/html" . ($encoding ? "; charset=$encoding" : ""));

$modi = max(array(
  @filemtime(__FILE__),
  @filemtime('index.phtml'),
));

header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $modi) . ' GMT');

/* Cached resource expires in HTTP/1.1 caches 24h after last retrieval */
header('Cache-Control: max-age=0, s-maxage=0, must-revalidate, proxy-revalidate');

/* Cached resource expires in HTTP/1.0 caches 24h after last retrieval */
header('Expires: ' . gmdate('D, d M Y H:i:s', time() /*+ 86400*/) . ' GMT');

$languages = array(
  'en' => 'English',
  'de' => 'Deutsch'
);

/* Specify location of translation tables */
bindtextdomain("de.pointedears", "./LocaleData");

/* Choose domain */
textdomain("de.pointedears");

/* Translation is looking for in ./LocaleData/de_DE/LC_MESSAGES/de.pointedears.mo now */

$menu = array(
  'scripts'   => array('path' => 'scripts/', 'text' => 'Scripting'),
  'es-matrix' => array(
    'path'  => 'es-matrix',
    'text'  => 'ES Matrix',
    'title' => 'ECMAScript Support Matrix: ' . _("A comparison of features of ECMAScript implementations")
  ),
  'devel'     => array('path' => 'devel/',   'text' => _('Other software')),
  'series'    => array('path' => "media/video/series/", 'text' => 'Seri-o-meter'),
  'ufpdb'     => array(
    'path'  => "ufpdb/index.$language",
    'text'  => 'UFPDB',
    'title' => _('United Federation of Planets DataBase')
  )
);