diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-03-21 11:44:17 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-03-21 11:44:17 +0300 |
commit | 91081c41a0e30fc8270192a4e1cc41608d6769ae (patch) | |
tree | d3c79b9826b098eea256136ed9e3a492875b0ecb /templates/who-has-access.php | |
parent | 98dd5ef68c970e892e62cf828bb5fb7926ce9acf (diff) |
Add a privacy policy link if it's set
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'templates/who-has-access.php')
-rw-r--r-- | templates/who-has-access.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/who-has-access.php b/templates/who-has-access.php index 194e548..3a97c39 100644 --- a/templates/who-has-access.php +++ b/templates/who-has-access.php @@ -5,4 +5,11 @@ <h4><?php p($l->t('People you shared with')) ?></h4> <div id="privacy_access_shares"></div> + + <?php if (!empty($_['privacyPolicyUrl'])): ?> + <h4><?php p($l->t('Privacy policy')) ?></h4> + <p> + <a href="<?php print_unescaped($_['privacyPolicyUrl']) ?>"><?php p($l->t('Read the privacy policy.')) ?></a> + </p> + <?php endif; ?> </div>
\ No newline at end of file |