X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/4e94acfa77564a30dfda5a2fb57f978446265e6c..2f04c1bf329bc7c589308ffe5bc0adceb8f864cb:/lib/template/header.php?ds=inline diff --git a/lib/template/header.php b/lib/template/header.php index 5a365b9..59d145d 100644 --- a/lib/template/header.php +++ b/lib/template/header.php @@ -46,11 +46,16 @@ else } ?> <head> - <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> + <div id="content"> -<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>