mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-10-30 17:54:59 +00:00 
			
		
		
		
	Use terms URL provided by server configuration
This commit is contained in:
		| @@ -99,7 +99,7 @@ ComunicWeb.pages.createAccount = { | ||||
| 		//Terms of use must have been accepted | ||||
| 		var siteTerms = createFormGroup({ | ||||
| 			target: formRoot, | ||||
| 			label: lang("form_create_account_terms_label", [ComunicWeb.__config.aboutWebsiteURL+"about/terms/"]),  | ||||
| 			label: lang("form_create_account_terms_label", [ServerConfig.conf.terms_url]),  | ||||
| 			type: "checkbox" | ||||
| 		}); | ||||
|  | ||||
|   | ||||
| @@ -74,7 +74,7 @@ const SettingsPrivacySection = { | ||||
| 		createElem2({ | ||||
| 			appendTo: boxBody, | ||||
| 			type: "p", | ||||
| 			innerHTML: "We give an high importance to our users privacy. Please take some time to check our <a href='"+ComunicWeb.__config.aboutWebsiteURL+"about/privacy' target='_blank'>Privacy Policy</a> and our <a href='"+ComunicWeb.__config.aboutWebsiteURL+"about/terms' target='_blank'>Terms of use</a>." | ||||
| 			innerHTML: "We give an high importance to our users privacy. Please take some time to check our <a href='"+ComunicWeb.__config.aboutWebsiteURL+"about/privacy' target='_blank'>Privacy Policy</a> and our <a href='"+ServerConfig.conf.terms_url+"' target='_blank'>Terms of use</a>." | ||||
| 		}) | ||||
| 	}, | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user