mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-01-12 11:30:13 +01:00
added the HELP_URL config.php option
This commit is contained in:
parent
ff30debbf4
commit
30abe63474
@ -17,6 +17,7 @@ define('ENABLE_LDAP_IMPORT_FEATURE', 0);
|
|||||||
define('ENABLE_FOLDER_RESTRICTIONS', 0);
|
define('ENABLE_FOLDER_RESTRICTIONS', 0);
|
||||||
define('ENABLE_GOOGLE_LOGIN', 0);
|
define('ENABLE_GOOGLE_LOGIN', 0);
|
||||||
define('SEARCH_RESULT_CHECKBOX_CHECKED', 1);
|
define('SEARCH_RESULT_CHECKBOX_CHECKED', 1);
|
||||||
|
define('HELPER_URL', '');
|
||||||
|
|
||||||
define('GOOGLE_CLIENT_ID', 'xxxxxxxxxxx');
|
define('GOOGLE_CLIENT_ID', 'xxxxxxxxxxx');
|
||||||
define('GOOGLE_CLIENT_SECRET', 'xxxxxxxxxxxxx');
|
define('GOOGLE_CLIENT_SECRET', 'xxxxxxxxxxxxx');
|
||||||
|
@ -6,6 +6,9 @@
|
|||||||
<a href="/folders.php"<?php if(strstr($_SERVER['REQUEST_URI'], "folders.php")){ ?> id="active"<?php } ?>><?php print $text_folders; ?></a> |
|
<a href="/folders.php"<?php if(strstr($_SERVER['REQUEST_URI'], "folders.php")){ ?> id="active"<?php } ?>><?php print $text_folders; ?></a> |
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<a href="/settings.php"<?php if(strstr($_SERVER['REQUEST_URI'], "settings.php")){ ?> id="active"<?php } ?>><?php print $text_settings; ?></a> |
|
<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 } ?>
|
<?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>
|
<a href="/logout.php"<?php if(strstr($_SERVER['QUERY_STRING'], "login/logout")){ ?> id="active"<?php } ?>><?php print $text_logout; ?></a>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user