diff --git a/templates/html/common/wizefunc.js b/templates/html/common/wizefunc.js
index 4299f93..ab8d565 100644
--- a/templates/html/common/wizefunc.js
+++ b/templates/html/common/wizefunc.js
@@ -41,3 +41,15 @@
logodiv.setAttribute("style","display:none;");
}
}
+
+ /* Convert the two first tags into info */
+ function tagToInfo() {
+ var tags = document.getElementsByClassName('zim-tag');
+ var n = tags.length < 3 ? tags.length : 2;
+ for (var i=1; i <= n; i++) {
+ var s = tags[i-1].innerHTML;
+ s = s.replace('@','');
+ s = s.replace(/_/g,' ');
+ document.getElementById("footinfo"+i).innerHTML = s;
+ }
+ }