added the HELP_URL config.php option

This commit is contained in:
SJ 2012-10-23 10:34:05 +02:00
parent ff30debbf4
commit 30abe63474
2 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,7 @@ define('ENABLE_LDAP_IMPORT_FEATURE', 0);
define('ENABLE_FOLDER_RESTRICTIONS', 0);
define('ENABLE_GOOGLE_LOGIN', 0);
define('SEARCH_RESULT_CHECKBOX_CHECKED', 1);
define('HELPER_URL', '');
define('GOOGLE_CLIENT_ID', 'xxxxxxxxxxx');
define('GOOGLE_CLIENT_SECRET', 'xxxxxxxxxxxxx');

View File

@ -6,6 +6,9 @@
<a href="/folders.php"<?php if(strstr($_SERVER['REQUEST_URI'], "folders.php")){ ?> id="active"<?php } ?>><?php print $text_folders; ?></a> |
<?php } ?>
<a href="/settings.php"<?php if(strstr($_SERVER['REQUEST_URI'], "settings.php")){ ?> id="active"<?php } ?>><?php print $text_settings; ?></a> |
<?php if(HELPER_URL) { ?>
<a href="<?php print HELPER_URL; ?>"><?php print $text_help; ?></a> |
<?php } ?>
<?php if(isset($_SESSION['realname'])) { print $text_realname; ?>: <?php print $_SESSION['realname']; ?> | <?php } ?>
<a href="/logout.php"<?php if(strstr($_SERVER['QUERY_STRING'], "login/logout")){ ?> id="active"<?php } ?>><?php print $text_logout; ?></a>
</div>