summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2b10abd)
Enable the administrator to set a custom title
for his installation of Jirafeau, eg. "John Doe Filecenter".
*/
$cfg['contactperson'] = '';
*/
$cfg['contactperson'] = '';
+/* Give the installation a title, eg. 'Datahub' or 'John Doe Filehost'
+ */
+$cfg['title'] = '';
+
/* Propose a preview link if file type is previewable
*/
$cfg['preview'] = true;
/* Propose a preview link if file type is previewable
*/
$cfg['preview'] = true;
- <title><?php echo t('Jirafeau, your web file repository'); ?></title>
+ <title><?php echo (true === empty($cfg['title']))? t('Jirafeau, your web file repository') : $cfg['title']; ?></title>
<meta http-equiv="Content-Type" content="<?php echo $content_type; ?>" />
<link href="<?php echo $web_root . 'media/' . $style . '/style.css.php'; ?>" rel="stylesheet" type="text/css" />
</head>
<body>
<script type="text/javascript" language="Javascript" src="lib/functions.js.php"></script>
<meta http-equiv="Content-Type" content="<?php echo $content_type; ?>" />
<link href="<?php echo $web_root . 'media/' . $style . '/style.css.php'; ?>" rel="stylesheet" type="text/css" />
</head>
<body>
<script type="text/javascript" language="Javascript" src="lib/functions.js.php"></script>
-<h1><a href="<?php echo $web_root; ?>"><?php echo t('Jirafeau, your web file repository'); ?></a></h1>
+ <h1>
+ <a href="<?php echo $web_root; ?>">
+ <?php echo (true === empty($cfg['title']))? t('Jirafeau, your web file repository') : $cfg['title']; ?>
+ </a>
+ </h1>