diff --git a/defaults/config.ini.default b/defaults/config.ini.default index 6bcc5b95..8c56b24d 100644 --- a/defaults/config.ini.default +++ b/defaults/config.ini.default @@ -11,6 +11,7 @@ name = "Unity Cluster" ; Name of the website url = "https://127.0.0.1:8000/" ; URL of the website description = "The Unity Web Portal is a lightweight HPC cluster front-end" ; Description of the website logo = "logo.png" ; path to logo file, in the webroot/assets/branding folder +terms_of_service_url = "https://github.com" ; this can be external or a portal page created with "content management" [ldap] uri = "ldap://identity" ; URI of remote LDAP server @@ -100,4 +101,3 @@ url = "https://hooks.slack.com/services/T04BB3N3M26/B050A55CBNX/IGm1YA0VhjczAfs5 [page] ; which sql objects to use for the content on these pages home = "home" support = "support" -policy = "policy" diff --git a/resources/templates/footer.php b/resources/templates/footer.php index cb8e8aca..228c2e79 100644 --- a/resources/templates/footer.php +++ b/resources/templates/footer.php @@ -19,7 +19,7 @@
diff --git a/tools/docker-dev/sql/bootstrap.sql b/tools/docker-dev/sql/bootstrap.sql index 53fdbb0b..0edfeaf3 100644 --- a/tools/docker-dev/sql/bootstrap.sql +++ b/tools/docker-dev/sql/bootstrap.sql @@ -175,8 +175,7 @@ CREATE TABLE `pages` ( -- INSERT INTO `pages` (`id`, `page`, `content`) VALUES -(1, 'support', 'You can find our documentation here. We also have an FAQ page which could help answer quick questions.\r\n\r\n
We offer office hours every week on Tuesdays 2-4 PM in-person at W.E.B. DuBois Library 786 or remote on Zoom. Be sure to check the /index.php\">cluster notes page for up-to-date information on any canceled/delayed office hours.
\r\n\r\nYou can create a support ticket by emailing hpc@umass.edu. We will do our best to reply as fast as possible!
'), -(2, 'policy', 'By using resources associated with Unity, you agree to comply with the following conditions of use. This is an extension of the University of Massachussetts Amherst Information Technology Acceptable Use Policy, which can be found here.
\r\n\r\nThe Unity team reserves the right to restrict access to any individual/group found to be in breach of the above.
'); +(1, 'support', 'You can find our documentation here. We also have an FAQ page which could help answer quick questions.\r\n\r\n
We offer office hours every week on Tuesdays 2-4 PM in-person at W.E.B. DuBois Library 786 or remote on Zoom. Be sure to check the /index.php\">cluster notes page for up-to-date information on any canceled/delayed office hours.
\r\n\r\nYou can create a support ticket by emailing hpc@umass.edu. We will do our best to reply as fast as possible!
'); -- -------------------------------------------------------- diff --git a/webroot/panel/new_account.php b/webroot/panel/new_account.php index 51ddbb9f..986f97f2 100644 --- a/webroot/panel/new_account.php +++ b/webroot/panel/new_account.php @@ -74,8 +74,8 @@ echo "