scripts/jabber/template
Antoine Durand-Gasselin d65ba27a7f [jabber] l'interface web doit gérer les inscriptions sur ejabberd
reste à:
 * réimplémenter le lostpassword ?
 * décider si l'on retient l'adresse mail, nom et prénom
 * décider si on transforme ce script en macro moinmoin (immonde)

darcs-hash:20090809122554-bd074-f3f7ecd5d39f291a781506c13a70ef21576b06f2.gz
2009-08-09 14:25:54 +02:00

117 lines
8.6 KiB
Text

<HTML>
<HEAD>
<TITLE>.:: &nbsp; Jabber &nbsp; @ &nbsp; C r a n s &nbsp; ::.</TITLE>
<META NAME="keywords" CONTENT="crans, informatique, réseau, réseaux, cachan, ENS, école, normale, supérieure, ecole, superieure, jabber, xmpp">
<META NAME="description" CONTENT="Site web du CRANS, l'association qui gère le réseau des élèves de l'Ecole Normale Supérieure de Cachan">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<script language="JavaScript">
<!--
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
function MM_displayStatusMsg(msgStr) { //v1.0
status=msgStr;
document.MM_returnValue = true;
}
//-->
</script>
<link rel="SHORTCUT ICON" HREF="/favicon.ico">
<link rel="stylesheet" href="/crans.css" type="text/css">
</HEAD>
<BODY BGCOLOR=#FFFFFF leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('/images/presentation-hi.jpg','/images/presentation-down.jpg','/images/liens-hi.jpg','/images/liens-down.jpg','/images/informations-hi.jpg','/images/informations-down.jpg','/images/vie-hi.jpg','/images/vie-down.jpg','/images/annuaire-hi.jpg','/images/annuaire-down.jpg','/images/pages-perso-hi.jpg','/images/pages-perso-down.jpg','/images/webmail-hi.jpg','/images/webmail-down.jpg','/images/ssh-hi.jpg','/images/ssh-down.jpg')">
<div id="Texte" style="position:absolute; left:200px; top:152px; width:667px; z-index:1; overflow: visible; visibility: visible; background-color: #FFFFFF; layer-background-color: #FFFFFF">
%s
<br>
<hr>
<table width="650" cellpadding="0" cellspacing="0" border="0"><tr>
<td align=right><a href="/">Informations sur le serveur jabber du crans</a>
</table>
<p></p></div>
<div id="Titre" style="position:absolute; left:462px; top:42px; width:261px;
height:34px; z-index:2"><font size="5" color="#FFFFFF"><b>Jabber</b></font></div>
<TABLE WIDTH=1004 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD HEIGHT=138 COLSPAN=4> <a name="top"></a><IMG SRC="/images/ntop.jpg" WIDTH=1004 HEIGHT=138 name="top"></TD>
</TR>
<TR>
<TD WIDTH=145 rowspan="2"> <a href="https://www.crans.org/AssociationCrans/CransPresentation" onMouseOut="MM_swapImgRestore();MM_displayStatusMsg('Bienvenue sur le site du cr@ns');return document.MM_returnValue" onMouseOver="MM_swapImage('presentation','','/images/presentation-hi.jpg',1);MM_displayStatusMsg('Pr&eacute;sentation du cr@ns');return document.MM_returnValue" onMouseDown="MM_swapImage('presentation','','/images/presentation-down.jpg',1)" onMouseUp="MM_swapImage('presentation','','/images/presentation-hi.jpg',1)"><IMG SRC="/images/presentation.jpg" WIDTH=145 HEIGHT=36 name="presentation" border="0" ALT="presentation"></a></TD>
<TD WIDTH=21 ROWSPAN=9> <IMG SRC="/images/nborder.jpg" WIDTH=21 HEIGHT=242 name="border"></TD>
<TD WIDTH=47 HEIGHT=16 valign="top"> <IMG SRC="/images/nback.jpg" name="back" align="top"></TD>
<TD WIDTH=791></TD>
</TR>
<TR>
<TD HEIGHT=20></TD>
<TD></TD>
</TR>
<TR>
<TD WIDTH=145 HEIGHT=29> <a href="http://www.crans.org/" onMouseOut="MM_swapImgRestore();MM_displayStatusMsg('Bienvenue sur le site du cr@ns');return document.MM_returnValue" onMouseOver="MM_swapImage('liens','','/images/liens-hi.jpg',1);MM_displayStatusMsg('Liens &amp; Contacts');return document.MM_returnValue" onMouseDown="MM_swapImage('liens','','/images/liens-down.jpg',1)" onMouseUp="MM_swapImage('liens','','/images/liens-hi.jpg',1)"><IMG SRC="/images/liens.jpg" WIDTH=145 HEIGHT=29 ALT="liens" name="liens" border="0"></a></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD WIDTH=145 HEIGHT=30> <a href="http://jabber.crans.org/" onMouseOut="MM_swapImgRestore();MM_displayStatusMsg('Bienvenue sur le site du cr@ns');return document.MM_returnValue" onMouseOver="MM_swapImage('informations','','/images/informations-hi.jpg',1);MM_displayStatusMsg('Informations techniques et administratives');return document.MM_returnValue" onMouseUp="MM_swapImage('informations','','/images/informations-hi.jpg',1)" onMouseDown="MM_swapImage('informations','','/images/informations-down.jpg',1)"><IMG SRC="/images/informations.jpg" WIDTH=145 HEIGHT=30 ALT="informations" name="informations" border="0"></a></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD WIDTH=145 HEIGHT=30> <a href="http://www.crans.org/VieCrans" onMouseOut="MM_swapImgRestore();MM_displayStatusMsg('Bienvenue sur le site du cr@ns');return document.MM_returnValue" onMouseOver="MM_swapImage('vie','','/images/vie-hi.jpg',1);MM_displayStatusMsg('La vie du cr@ns');return document.MM_returnValue" onMouseDown="MM_swapImage('vie','','/images/vie-down.jpg',1)" onMouseUp="MM_swapImage('vie','','/images/vie-hi.jpg',1)"><IMG SRC="/images/vie.jpg" WIDTH=145 HEIGHT=30 ALT="vie" name="vie" border="0"></a></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD WIDTH=145 HEIGHT=29> <a href="/cransonly/boxesprenom.html" onMouseOut="MM_swapImgRestore();MM_displayStatusMsg('Bienvenue sur le site du cr@ns');return document.MM_returnValue" onMouseOver="MM_swapImage('annuaire','','/images/annuaire-hi.jpg',1);MM_displayStatusMsg('Annuaire des adh&eacute;rents');return document.MM_returnValue" onMouseDown="MM_swapImage('annuaire','','/images/annuaire-down.jpg',1)" onMouseUp="MM_swapImage('annuaire','','/images/annuaire-hi.jpg',1)"><IMG SRC="/images/annuaire.jpg" WIDTH=145 HEIGHT=29 ALT="annuaire" name="annuaire" border="0"></a></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD WIDTH=145 HEIGHT=28> <a href="https://perso.crans.org" onMouseOut="MM_swapImgRestore();MM_displayStatusMsg('Bienvenue sur le site du cr@ns');return document.MM_returnValue" onMouseOver="MM_swapImage('pagesperso','','/images/pages-perso-hi.jpg',1);MM_displayStatusMsg('Pages perso des adh&eacute;rents');return document.MM_returnValue" onMouseDown="MM_swapImage('pagesperso','','/images/pages-perso-down.jpg',1)" onMouseUp="MM_swapImage('pagesperso','','/images/pages-perso-hi.jpg',1)"><IMG SRC="/images/pages-perso.jpg" WIDTH=145 HEIGHT=28 ALT="pages perso" name="pagesperso" border="0"></a></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD WIDTH=145 HEIGHT=29> <a href="https://webmail.crans.org/" onMouseOut="MM_swapImgRestore();MM_displayStatusMsg('Bienvenue sur le site du cr@ns');return document.MM_returnValue" onMouseOver="MM_swapImage('webmail','','/images/webmail-hi.jpg',1);MM_displayStatusMsg('Acc&egrave;s mail s&eacute;curis&eacute; (imp)');return document.MM_returnValue" onMouseDown="MM_swapImage('webmail','','/images/webmail-down.jpg',1)" onMouseUp="MM_swapImage('webmail','','/images/webmail-hi.jpg',1)"><IMG SRC="/images/webmail.jpg" WIDTH=145 HEIGHT=29 ALT="webmail" name="webmail" border="0"></a></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD WIDTH=145 HEIGHT=31> <a href="https://ssh.crans.org/" onMouseOut="MM_swapImgRestore();MM_displayStatusMsg('Bienvenue sur le site du cr@ns');return document.MM_returnValue" onMouseOver="MM_swapImage('ssh','','/images/ssh-hi.jpg',1);MM_displayStatusMsg('Connexion SSH');return document.MM_returnValue" onMouseDown="MM_swapImage('ssh','','/images/ssh-down.jpg',1)" onMouseUp="MM_swapImage('ssh','','/images/ssh-hi.jpg',1)"><IMG SRC="/images/ssh.jpg" WIDTH=145 HEIGHT=31 ALT="ssh" name="ssh" border="0"></a></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD WIDTH=166 HEIGHT=234 COLSPAN=2> <IMG SRC="https://jabber.crans.org/images/nleft.jpg" WIDTH=166 HEIGHT=234 name="left"></TD>
<TD></TD>
<TD></TD>
</TR>
</TABLE>
</BODY>
</HTML>