MediaWiki:Common.js: Difference between revisions
From Cives
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/ | $('#t-print').remove(); | ||
var userloginForm = document.getElementById("userloginForm"); | |||
var paragraph = document.createElement("p"); | |||
paragraph.textContent = "By logging in, you agree to the "; | |||
var termsLink = document.createElement("a"); | |||
termsLink.textContent = "Terms of use and privacy policy"; | |||
termsLink.href = "https://cives.uni-lj.si/index.php?title=Terms_of_use"; | |||
paragraph.appendChild(termsLink); | |||
userloginForm.appendChild(paragraph); | |||
Revision as of 12:17, 5 April 2024
$('#t-print').remove();
var userloginForm = document.getElementById("userloginForm");
var paragraph = document.createElement("p");
paragraph.textContent = "By logging in, you agree to the ";
var termsLink = document.createElement("a");
termsLink.textContent = "Terms of use and privacy policy";
termsLink.href = "https://cives.uni-lj.si/index.php?title=Terms_of_use";
paragraph.appendChild(termsLink);
userloginForm.appendChild(paragraph);