From: linagora Date: Wed, 16 Jun 2004 16:04:52 +0000 (+0000) Subject: New version of Anais X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab6a7f782edc1f66a6261bef65b031e43698ade4;p=scalable-opengroupware.org New version of Anais git-svn-id: http://svn.opengroupware.org/SOGo/trunk@41 d1b88da0-ebda-0310-925b-ed51d893ca5b --- diff --git a/AnaisWeb/ALire.txt b/AnaisWeb/ALire.txt new file mode 100644 index 00000000..c53bc1f1 --- /dev/null +++ b/AnaisWeb/ALire.txt @@ -0,0 +1,22 @@ +Installation : + +1 - Decompacter AnaisWeb dans le repertoire DOCUMENT_ROOT d Apache. + +2 - Dans le fichier ./www/AnaisWeb/Commun/Session/creesessionanais.inc + $_SESSION['maitre_serv_a'] = "N° IP du serveur LDAP"; + $_SESSION['base_serv_a'] = "base_de_recherche_dans_l_annuaire"; + +3 - Dans le fichier ./www/AnaisWeb/Commun/Js/local.js, pour la fonction de retour + maFonctionA(typ, cn, dn, mail, uid, sn) { ... + modifier les variables apres le dn passees en parametre (typ, cn et dn ne doivent pas etre touches) + en fonction des champs souhaites. + +4 - Dans le fichier ./www/AnaisWeb/Commun/Js/local.js, + pour la(les) fonction(s) choixAnaisxxx, modifier les parametres : + m_type = 'Code retourne avec le choix'; (exemple CC pour copie cachee, A, vide, etc ...) + m_champ = 'mail,uid,sn'; (champs retournes avec le choix de la boite), + en coherence avec les parametres de la fonction de retour maFonction du paragraphe 3. + + + +La page index.php ou pageun.htm doit alors etre operationnelle. \ No newline at end of file diff --git a/AnaisWeb/Commun/Fonctions/expandanais.inc b/AnaisWeb/Commun/Fonctions/expandanais.inc new file mode 100644 index 00000000..cc8dd6e2 --- /dev/null +++ b/AnaisWeb/Commun/Fonctions/expandanais.inc @@ -0,0 +1,145 @@ + 0) +// $champs_b[3+$i]=$champs[$i]; + $champs_b[]=$champs[$i]; + } + + $connect=ldap_connect($_SESSION['maitre_serv_a']); + + if($connect) + { + ldap_set_option($connect, LDAP_OPT_PROTOCOL_VERSION, 3); + $bind=ldap_bind($connect); + if($bind) + { + $w_arbre_a=array(); + + $champs_u=array("ou", "description"); + + $search_o=ldap_list($connect, $dn, "objectClass=organizationalUnit", $champs_u); + //if(TRACE==1) $nb_r++; + if( $search_o ) + { + $unites=ldap_first_entry($connect, $search_o); + + while($unites) + { + $description=ldap_get_values($connect,$unites,"description"); + $dn4=ldap_get_dn($connect,$unites); + $w_arbre_a[]=$dn4; + $_SESSION['arbre_a_data'][$dn4]="".utf8_decode($description[0])."".$sep."0"; + + $unites=ldap_next_entry($connect, $unites); + } + ldap_free_result($search_o); + } + + + + $search_b=ldap_list($connect, $dn, "mail=*", $champs_b); + if( $search_b ) + { + $boite=ldap_first_entry($connect, $search_b); + while($boite) + { + $cnb=ldap_get_values($connect,$boite,"cn"); + $entree=@ldap_get_values($connect,$boite,"mineqTypeEntree"); + $portee=@ldap_get_values($connect,$boite,"mineqPortee"); +// $mail=ldap_get_values($connect,$boite,"mail"); +// $uid=@ldap_get_values($connect,$boite,"cn"); + for($j=0; $j < count($champs); $j++) + $val[$j]=@ldap_get_values($connect,$boite,"$champs[$j]"); + + $dn4=ldap_get_dn($connect,$boite); + $w_arbre_a[]=$dn4; + $typeb=0; + if( strcasecmp( $entree[0], "BALI" ) == 0 ) $typeb+=10; + else if( strcasecmp( $entree[0], "BALS" ) == 0 ) $typeb+=11; + else if( strcasecmp( $entree[0], "BALU" ) == 0 ) $typeb+=12; + else if( strcasecmp( $entree[0], "BALF" ) == 0 ) $typeb+=13; + else if( strcasecmp( $entree[0], "BALA" ) == 0 ) $typeb+=14; + else if( strcasecmp( $entree[0], "BALR" ) == 0 ) $typeb+=15; + else if( strcasecmp( $entree[0], "LDIS" ) == 0 ) $typeb+=2; + else if( strcasecmp( $entree[0], "LDAB" ) == 0 ) $typeb+=2; + else $typeb+=10; + if(intval($portee[0]) < 21) + $typeb+=50; + $tmp=utf8_decode($cnb[0]).$sep.$typeb.$sep.$dn4; + for($j=0; $j < count($champs); $j++) + $tmp=$tmp.$sep.$val[$j][0]; + $_SESSION['arbre_a_data'][$dn4]=$tmp; +/* + $_SESSION['arbre_a_data'][$dn4]=utf8_decode($cnb[0]).$sep. + $typeb.$sep. + utf8_decode($mail[0]).$sep. + utf8_decode($uid[0]); +*/ + + $boite=ldap_next_entry($connect, $boite); + } + ldap_free_result($search_b); + } + +// $_SESSION['arbre_a_data'] = $arbre_a_data; + + usort( $w_arbre_a, 'compare' ); + $_SESSION['arbre_a'][$dn] = $w_arbre_a; +// $_SESSION['arbre_a'] = $arbre_a; + } + else + { + printf("Probleme de connexion au serveur"); + } + ldap_close($connect); + } + else + { +// echo "Problème lors de la connection au serveur ldap\nerreur = ".ldap_error($connect)."(code=".ldap_errno($connect).")"; + ?> + + 49) $wval1-=50; + $wval2=intval($wdn2[1]); if($wval2 > 49) $wval2-=50; + if( $wval1 < 10 ) $wtmp1=strval($wval1)."0".$wdn1[0]; + else $wtmp1=strval($wval1).$wdn1[0]; + if( $wval2 < 10 ) $wtmp2=strval($wval2)."0".$wdn2[0]; + else $wtmp2=strval($wval2).$wdn2[0]; + + return strcasecmp( $wtmp1, $wtmp2 ); +} + +?> \ No newline at end of file diff --git a/AnaisWeb/Commun/Images/A16.ico b/AnaisWeb/Commun/Images/A16.ico new file mode 100644 index 00000000..23dd4cd5 Binary files /dev/null and b/AnaisWeb/Commun/Images/A16.ico differ diff --git a/AnaisWeb/Commun/Images/Arbo/bala.gif b/AnaisWeb/Commun/Images/Arbo/bala.gif new file mode 100644 index 00000000..181cf251 Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/bala.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/bala_l.gif b/AnaisWeb/Commun/Images/Arbo/bala_l.gif new file mode 100644 index 00000000..6d598ec2 Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/bala_l.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/balf.gif b/AnaisWeb/Commun/Images/Arbo/balf.gif new file mode 100644 index 00000000..8e1de1de Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/balf.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/balf_l.gif b/AnaisWeb/Commun/Images/Arbo/balf_l.gif new file mode 100644 index 00000000..e494824c Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/balf_l.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/bali.gif b/AnaisWeb/Commun/Images/Arbo/bali.gif new file mode 100644 index 00000000..cdfef7f9 Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/bali.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/bali_l.gif b/AnaisWeb/Commun/Images/Arbo/bali_l.gif new file mode 100644 index 00000000..e678269e Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/bali_l.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/balr.gif b/AnaisWeb/Commun/Images/Arbo/balr.gif new file mode 100644 index 00000000..8d83004c Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/balr.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/balr_l.gif b/AnaisWeb/Commun/Images/Arbo/balr_l.gif new file mode 100644 index 00000000..7b732b3f Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/balr_l.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/bals.gif b/AnaisWeb/Commun/Images/Arbo/bals.gif new file mode 100644 index 00000000..fb31b45a Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/bals.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/bals_l.gif b/AnaisWeb/Commun/Images/Arbo/bals_l.gif new file mode 100644 index 00000000..fb31b45a Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/bals_l.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/balu.gif b/AnaisWeb/Commun/Images/Arbo/balu.gif new file mode 100644 index 00000000..2197bab1 Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/balu.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/balu_l.gif b/AnaisWeb/Commun/Images/Arbo/balu_l.gif new file mode 100644 index 00000000..91a814fd Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/balu_l.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/boite.gif b/AnaisWeb/Commun/Images/Arbo/boite.gif new file mode 100644 index 00000000..d089c0df Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/boite.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/dossier.gif b/AnaisWeb/Commun/Images/Arbo/dossier.gif new file mode 100644 index 00000000..ae844c14 Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/dossier.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/ext.GIF b/AnaisWeb/Commun/Images/Arbo/ext.GIF new file mode 100644 index 00000000..90c83840 Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/ext.GIF differ diff --git a/AnaisWeb/Commun/Images/Arbo/liste.gif b/AnaisWeb/Commun/Images/Arbo/liste.gif new file mode 100644 index 00000000..92af80a1 Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/liste.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/liste_l.gif b/AnaisWeb/Commun/Images/Arbo/liste_l.gif new file mode 100644 index 00000000..aa3e3215 Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/liste_l.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/new_tree_collapse.gif b/AnaisWeb/Commun/Images/Arbo/new_tree_collapse.gif new file mode 100644 index 00000000..cec7c4de Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/new_tree_collapse.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/new_tree_expand.gif b/AnaisWeb/Commun/Images/Arbo/new_tree_expand.gif new file mode 100644 index 00000000..7671e197 Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/new_tree_expand.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/tree_collapse.gif b/AnaisWeb/Commun/Images/Arbo/tree_collapse.gif new file mode 100644 index 00000000..1f05065f Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/tree_collapse.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/tree_collapse.ouvert.gif b/AnaisWeb/Commun/Images/Arbo/tree_collapse.ouvert.gif new file mode 100644 index 00000000..cec7c4de Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/tree_collapse.ouvert.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/tree_dossier.gif b/AnaisWeb/Commun/Images/Arbo/tree_dossier.gif new file mode 100644 index 00000000..7671e197 Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/tree_dossier.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/tree_end.gif b/AnaisWeb/Commun/Images/Arbo/tree_end.gif new file mode 100644 index 00000000..1eead993 Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/tree_end.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/tree_expand.ferme.gif b/AnaisWeb/Commun/Images/Arbo/tree_expand.ferme.gif new file mode 100644 index 00000000..7671e197 Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/tree_expand.ferme.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/tree_expand.gif b/AnaisWeb/Commun/Images/Arbo/tree_expand.gif new file mode 100644 index 00000000..b25febaf Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/tree_expand.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/tree_horiline.gif b/AnaisWeb/Commun/Images/Arbo/tree_horiline.gif new file mode 100644 index 00000000..c654fb6c Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/tree_horiline.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/tree_leaf.gif b/AnaisWeb/Commun/Images/Arbo/tree_leaf.gif new file mode 100644 index 00000000..c9189380 Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/tree_leaf.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/tree_space.gif b/AnaisWeb/Commun/Images/Arbo/tree_space.gif new file mode 100644 index 00000000..33c60e58 Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/tree_space.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/tree_split.gif b/AnaisWeb/Commun/Images/Arbo/tree_split.gif new file mode 100644 index 00000000..e89ce804 Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/tree_split.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/tree_start.gif b/AnaisWeb/Commun/Images/Arbo/tree_start.gif new file mode 100644 index 00000000..d01713d2 Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/tree_start.gif differ diff --git a/AnaisWeb/Commun/Images/Arbo/tree_vertline.gif b/AnaisWeb/Commun/Images/Arbo/tree_vertline.gif new file mode 100644 index 00000000..54209362 Binary files /dev/null and b/AnaisWeb/Commun/Images/Arbo/tree_vertline.gif differ diff --git a/AnaisWeb/Commun/Images/Pictos/picto_affiner.gif b/AnaisWeb/Commun/Images/Pictos/picto_affiner.gif new file mode 100644 index 00000000..45a9bb1d Binary files /dev/null and b/AnaisWeb/Commun/Images/Pictos/picto_affiner.gif differ diff --git a/AnaisWeb/Commun/Images/Pictos/picto_aide.gif b/AnaisWeb/Commun/Images/Pictos/picto_aide.gif new file mode 100644 index 00000000..0fdd221c Binary files /dev/null and b/AnaisWeb/Commun/Images/Pictos/picto_aide.gif differ diff --git a/AnaisWeb/Commun/Images/Pictos/picto_annuler.gif b/AnaisWeb/Commun/Images/Pictos/picto_annuler.gif new file mode 100644 index 00000000..9d6e7bf4 Binary files /dev/null and b/AnaisWeb/Commun/Images/Pictos/picto_annuler.gif differ diff --git a/AnaisWeb/Commun/Images/Pictos/picto_besoin_aide.gif b/AnaisWeb/Commun/Images/Pictos/picto_besoin_aide.gif new file mode 100644 index 00000000..5026e994 Binary files /dev/null and b/AnaisWeb/Commun/Images/Pictos/picto_besoin_aide.gif differ diff --git a/AnaisWeb/Commun/Images/Pictos/picto_enregistrer.gif b/AnaisWeb/Commun/Images/Pictos/picto_enregistrer.gif new file mode 100644 index 00000000..51ae57af Binary files /dev/null and b/AnaisWeb/Commun/Images/Pictos/picto_enregistrer.gif differ diff --git a/AnaisWeb/Commun/Images/Pictos/picto_exporter.gif b/AnaisWeb/Commun/Images/Pictos/picto_exporter.gif new file mode 100644 index 00000000..48c91ae0 Binary files /dev/null and b/AnaisWeb/Commun/Images/Pictos/picto_exporter.gif differ diff --git a/AnaisWeb/Commun/Images/Pictos/picto_imprimer.gif b/AnaisWeb/Commun/Images/Pictos/picto_imprimer.gif new file mode 100644 index 00000000..a237fb04 Binary files /dev/null and b/AnaisWeb/Commun/Images/Pictos/picto_imprimer.gif differ diff --git a/AnaisWeb/Commun/Images/Pictos/picto_rechercher.gif b/AnaisWeb/Commun/Images/Pictos/picto_rechercher.gif new file mode 100644 index 00000000..ba386513 Binary files /dev/null and b/AnaisWeb/Commun/Images/Pictos/picto_rechercher.gif differ diff --git a/AnaisWeb/Commun/Images/Pictos/picto_supprimer.gif b/AnaisWeb/Commun/Images/Pictos/picto_supprimer.gif new file mode 100644 index 00000000..fd923b17 Binary files /dev/null and b/AnaisWeb/Commun/Images/Pictos/picto_supprimer.gif differ diff --git a/AnaisWeb/Commun/Images/Pictos/picto_valider.gif b/AnaisWeb/Commun/Images/Pictos/picto_valider.gif new file mode 100644 index 00000000..c41ad167 Binary files /dev/null and b/AnaisWeb/Commun/Images/Pictos/picto_valider.gif differ diff --git a/AnaisWeb/Commun/Images/background_piedpage.gif b/AnaisWeb/Commun/Images/background_piedpage.gif new file mode 100644 index 00000000..808d3a94 Binary files /dev/null and b/AnaisWeb/Commun/Images/background_piedpage.gif differ diff --git a/AnaisWeb/Commun/Images/pixel_bleu_fonce.gif b/AnaisWeb/Commun/Images/pixel_bleu_fonce.gif new file mode 100644 index 00000000..71905fa9 Binary files /dev/null and b/AnaisWeb/Commun/Images/pixel_bleu_fonce.gif differ diff --git a/AnaisWeb/Commun/Include/arboanais.inc b/AnaisWeb/Commun/Include/arboanais.inc new file mode 100644 index 00000000..a1c8b9cb --- /dev/null +++ b/AnaisWeb/Commun/Include/arboanais.inc @@ -0,0 +1,160 @@ +\n"; + echo ""; + for ($i=0; $i<$maxlevel; $i++) echo ""; + echo "\n"; + echo "\n"; + + // is the root of the tree expanded already? + if( isset( $_SESSION['arbre_a'][$_SESSION['base_serv_a']] ) ) { + $expand_href = "collapseanais.php?" . "affiche=". $affiche ."&niv=0&dn=" . $_SESSION['base_serv_a'] . + "&m_fonc=" . $m_fonc . "&m_type=" . $m_type . "&m_champ=" . $m_champ; + $expand_img = $img_collapse; + } else { + $expand_href = "expandanais.php?" . "affiche=". $affiche ."&niv=0&dn=" . $_SESSION['base_serv_a'] . + "&m_fonc=" . $m_fonc . "&m_type=" . $m_type . "&m_champ=" . $m_champ; + $expand_img = $img_expand; + } + + echo ""; // signe plus ou moins + echo "\n"; // icone dossier + + echo " ".utf8_decode($_SESSION['lib_serv_a'])."\n"; + + /****************************************/ + /* end row */ + /****************************************/ + + echo "\n"; + + // Is the root of the tree expanded already? + if( isset( $_SESSION['arbre_a'][$_SESSION['base_serv_a']] ) && is_array( $_SESSION['arbre_a'][$_SESSION['base_serv_a']] ) ) { + foreach( $_SESSION['arbre_a'][$_SESSION['base_serv_a']] as $fils_dn ) + arbre_a_html( $fils_dn, 0 , $m_fonc, $affiche, $m_type, $m_champ); + } + + ob_end_flush(); + +// $time2=time(); +// printf("construction arbre_a en %4d secondes
", $time2-$time1); + +//************************************************************************************************************************************************ +/** + * Recursively descend on the given dn and draw the tree in html + */ +function arbre_a_html( $dn, $level=0, $m_fonc, $affiche, $m_type, $m_champ ) +{ +// global $arbre_a, $arbre_a_data; + $dn_etiq_a=$_SESSION['dn_etiq_a']; + + require( "ico.inc"); + + $sep="\t"; + + $data=""; $mvt=""; $edit=""; $cible=""; $libe=""; $zdn=""; + if( isset($_SESSION['arbre_a_data'][$dn]) ) + { + $data = explode( $sep, $_SESSION['arbre_a_data'][$dn] ); + if( isset( $data[0] ) ) $libe = $data[0]; // libelle + if( isset( $data[1] ) ) $mvt = $data[1]; // type de boite + if( isset( $data[2] ) ) $zdn = $data[2]; // dn +// if( isset( $data[2] ) ) $mail = $data[2]; // mail +// if( isset( $data[3] ) ) $uid = $data[3]; // uid + } + else + { + $libe="inconnu"; $mvt=0; $mail=""; $uid=""; $cible="PageUn"; + } + +// if( $mvt == 0 ) + { + if(intval($mvt) > 49) + { + $mvt=intval($mvt) - 50; + $ext_portee = "_l.gif"; + } + else + $ext_portee = ".gif"; + + echo ''; + + for( $i=0; $i<=$level; $i++ ) { + echo '' . "\n"; + } + if($mvt == 0) + { + $niv=1+$level; + if( isset( $_SESSION['arbre_a'][$dn] ) ) { + $expand_href = "collapseanais.php?" . "affiche=". $affiche ."&niv=" . $niv . "&dn=" . $dn . + "&m_fonc=" . $m_fonc . "&m_type=" . $m_type . "&m_champ=" . $m_champ; + $expand_img = $img_collapse; + } else { + $expand_href = "expandanais.php?" . "affiche=". $affiche ."&niv=" . $niv . "&dn=" . $dn . + "&m_fonc=" . $m_fonc . "&m_type=" . $m_type . "&m_champ=" . $m_champ; + $expand_img = $img_expand; + } + + echo ""; // signe plus ou moins + echo "\n"; // icone dossier + } + elseif($mvt==10) + echo "\n"; + elseif($mvt==11) + echo "\n"; + elseif($mvt==12) + echo "\n"; + elseif($mvt==13) + echo "\n"; + elseif($mvt==14) + echo "\n"; + elseif($mvt==15) + echo "\n"; + elseif($mvt==2) + echo "\n"; + else + echo "\n"; + + if($mvt==0) + echo " ".$libe."\n"; + else + { + echo " ".$libe."\n"; + } + + echo "\n"; + + + if( isset( $_SESSION['arbre_a'][$dn] ) && is_array( $_SESSION['arbre_a'][$dn] ) ) { + foreach( $_SESSION['arbre_a'][$dn] as $fils_dn ) { + arbre_a_html( $fils_dn, $level+1, $m_fonc, $affiche, $m_type, $m_champ ); + } + + } + + echo ''; + } + +} diff --git a/AnaisWeb/Commun/Include/ico.inc b/AnaisWeb/Commun/Include/ico.inc new file mode 100644 index 00000000..ab99d669 --- /dev/null +++ b/AnaisWeb/Commun/Include/ico.inc @@ -0,0 +1,18 @@ + \ No newline at end of file diff --git a/AnaisWeb/Commun/Js/local.js b/AnaisWeb/Commun/Js/local.js new file mode 100644 index 00000000..4a2ec631 --- /dev/null +++ b/AnaisWeb/Commun/Js/local.js @@ -0,0 +1,89 @@ +function maFonctionA(typ, cn, dn, mail, uid, sn) { + // champs retournes obligatoirement en debut de liste ... typ, cn, dn + document.forms['boiteMessagerie'].elements['type'].value=typ; + document.forms['boiteMessagerie'].elements['cn'].value=cn; + document.forms['boiteMessagerie'].elements['dn'].value=dn; + // champs a la demande .... + if( cn ) { + var existe=0; + var o=new Option(cn,cn); + var elem_ad=document.forms['boiteMessagerie'].elements['liste']; + if (elem_ad.options.length > 0) { + for (var i=0; i"); +} + diff --git a/AnaisWeb/Commun/Js/localIE.css b/AnaisWeb/Commun/Js/localIE.css new file mode 100644 index 00000000..7b0a777b --- /dev/null +++ b/AnaisWeb/Commun/Js/localIE.css @@ -0,0 +1,270 @@ +/* amedeeIE.css 16/02/2003 +*/ + +a:link { + color: #0000cc; + text-decoration: none; +} +a:visited { +/* color: #990000;*/ + color: #0000cc; + text-decoration: none; +} +a:hover { + color: red; + text-decoration: underline; +} + +body { + background-color: white; +} +form { + border-spacing: 30pt; + margin: 10 0 10 0; +} + +h1,.titrePage,.titre1,.Titre { + FONT-WEIGHT: normal; + FONT-SIZE: medium; + COLOR: #ffffff; + FONT-FAMILY: Arial; + BACKGROUND-COLOR: #003399; +} +.titreBoite { + FONT-WEIGHT: normal; + FONT-SIZE: medium; + COLOR: #ffffff; + FONT-FAMILY: Arial; + BACKGROUND-COLOR: #003399; + border-width:0; +} +h2,.titreGauche,.titre2,.Titre2 { + FONT-WEIGHT: bold; + FONT-SIZE: x-small; + COLOR: #ffffff; + FONT-FAMILY: Arial; + BACKGROUND-COLOR: #999999; +} +td,p,.textecourant { + font-family: Arial; + font-size: x-small; + font-style: normal; + font-weight: normal; + color: black; + empty-cells: show; +} +/* pas pour IE +hr { + color: white; + border-style: solid; + background-color: #999999; + border-width: 2; + border-collapse: collapse; +} +*/ +.tableBleue { + border-collapse: collapse; + border-color: #003399; + border-style: solid; + border-width: 2; +} +.nomintranet { + FONT-WEIGHT: bold; + FONT-SIZE: 18pt; + MARGIN-LEFT: 0px; + WIDTH: 100px; + COLOR: #003399; + FONT-FAMILY: Arial; + TEXT-ALIGN: right; +} +.signature { + font-family: Arial; + font-size: x-small; + font-weight: normal; + color: black; +} +.onglet { + FONT-WEIGHT: bold; + FONT-SIZE: x-small; + COLOR: #ffffff; + FONT-FAMILY: Arial; + TEXT-ALIGN: left; + TEXT-DECORATION: none; + background-color: #999999; +} +.onglet:selected { + color:white; + text-decoration: none; +} +.ongletSelecte,.tdOngletSelecte { + FONT-WEIGHT: bold; + FONT-SIZE: x-small; + COLOR: white; + FONT-FAMILY: Arial; + TEXT-ALIGN: left; + TEXT-DECORATION: none; + background-color: #003399; +} +.ongletRenvoi { + FONT-WEIGHT: bold; + FONT-SIZE: x-small; + COLOR: white; + FONT-FAMILY: Arial; + TEXT-ALIGN: left; + TEXT-DECORATION: none; + background-color: #cccccc; +} +.lienonglet { + FONT-WEIGHT: bold; + FONT-SIZE: 10pt; + COLOR: #FFFFFF; + FONT-FAMILY: Arial; + TEXT-ALIGN: left; + TEXT-DECORATION: none; +} +.voirAussi { + text-align: right; + font-family: Arial; + font-size: x-small; + font-style: normal; + font-weight: normal; + color: #000000; + text-decoration: none; + text-align: right; +} +.MenuGaucheSelect { + FONT-SIZE: 8pt; + FONT-FAMILY: Arial; + TEXT-ALIGN: right; + font-style: normal; + font-weight: normal +} +.margeGauche{ + width: 105pt; + FONT-FAMILY: Arial; + TEXT-ALIGN: left; + font-style: normal; + font-weight: normal; +} +.menuGauche{ + width: 100pt; +} +.boutonpicto { + font-family: Arial; + font-size: x-small; //12px; + font-style: normal; + font-weight: bold; + color: #000000; + text-decoration: none; +} +.boutonpicto a:link,.boutonpicto a:visited { text-decoration: none; color : #0000cc; } +.boutonpicto a:hover { text-decoration: none; color : red; } +.ligne0 { + background-color: #ffffff; +} +.ligne1 { + background-color: #eeeeee; +} +.modificationchamp { + font-family: Arial; + font-size: 8pt; + font-style: normal; + font-weight: bold; + color: #FF0000; + text-decoration: none; +} +th,.entetetableau { + font-family: Arial; + font-size: x-small; + font-style: normal; + font-weight: bold; + color: #003399; + text-decoration: none; +} +.Lien { + color:black; + text-decoration:none; + font-size: x-small; + FONT-FAMILY: Arial; + font-style: normal; + font-weight: normal; +} +//.Lien:hover { +// color:red; +// text-decoration:underline; +//} +.Lien:visited { + color:#660066; + text-decoration:none; //underline; +} +.TDBleu0 +{ + background-color: #ffff00; + background-repeat:repeat-x; +} +.TDBleu { + background-IMAGE: url("./Commun/Images/background_piedpage.gif"); + background-repeat:repeat-x; +} +.TDBleu1 +{ + background-IMAGE: url("./Commun/Images/pixel_bleu_fonce.gif"); + background-repeat:repeat-x; +} +.Libelle +{ + font-family : Arial; + font-size : 10pt; + color: #003399; + background-color : #FFFFFF; +} +.Saisie +{ + font-family : Verdana,Arial; + font-size : 8pt; + background-color : #E4E4E4; + font-weight: bold +} +.Tableau { + FONT-SIZE: x-small; //8pt; + COLOR: #FFFFFF; + FONT-FAMILY: Verdana; + background-color: #003399; + font-weight: bold +} +.TableauActif { + FONT-SIZE: x-small; //8pt; + COLOR: #FFFF00; + FONT-FAMILY: Verdana; + background-color: #003399; + font-weight: bold; +} +.textegrasbleu { + font-family: Arial; + font-size: 12px; + font-style: normal; + font-weight: bold; + color: #003399; + text-decoration: none +} +.textegrasgris { + font-family: Arial; + font-size: 12px; + font-style: normal; + font-weight: bold; + color: #999999; + text-decoration: none +} +.Libellebouton { + FONT-SIZE: 8pt; + COLOR: #000000; + FONT-FAMILY: Verdana; + font-style: normal; + font-weight: bold; + text-decoration: none +} +.Visible { +} +.Invisible { + display: none; +} \ No newline at end of file diff --git a/AnaisWeb/Commun/Js/localNS.css b/AnaisWeb/Commun/Js/localNS.css new file mode 100644 index 00000000..a6902b80 --- /dev/null +++ b/AnaisWeb/Commun/Js/localNS.css @@ -0,0 +1,252 @@ +/* amedeeNS.css 10/02/2003 +*/ + +a:link { + color: #0000cc; + text-decoration: none; +} +a:visited { + color: #0000cc; + text-decoration: none; +} +a:hover { + color: red; + text-decoration: underline; +} + +body { + background-color: white; +} +form { + border-spacing: 30pt; + margin: 10 0 10 0; +} + +h1,.titrePage,.titre1,.Titre { + FONT-WEIGHT: normal; + FONT-SIZE: large; + COLOR: #ffffff; + FONT-FAMILY: Arial; + BACKGROUND-COLOR: #003399; +} +.titreBoite { + FONT-WEIGHT: normal; + FONT-SIZE: large; + COLOR: #ffffff; + FONT-FAMILY: Arial; + BACKGROUND-COLOR: #003399; + border-width: 0; +} +h2,.titreGauche,.titre2,.Titre2 { + FONT-WEIGHT: bold; + FONT-SIZE: small; + COLOR: #ffffff; + FONT-FAMILY: Arial; + BACKGROUND-COLOR: #999999; +} +td,p,.textecourant { + font-family: Arial; + font-size: small; + font-weight: normal; + color: black; + empty-cells: show; +} +hr { + color: white; + border-style: solid; + background-color: #999999; + border-width: 2; + border-collapse: collapse; +} + +.tableBleue { + border-collapse: collapse; + border-color: #003399; + border-style: solid; + border-width: 2; +} +.nomintranet { + FONT-WEIGHT: bold; + FONT-SIZE: 18pt; + MARGIN-LEFT: 0px; + WIDTH: 100px; + COLOR: #003399; + FONT-FAMILY: Arial; + TEXT-ALIGN: right +} +.signature { + font-family: Arial; + font-size: small; + font-weight: normal; + color: black; +} +.onglet { + FONT-WEIGHT: bold; + FONT-SIZE: small; + COLOR: #ffffff; + FONT-FAMILY: Arial; + TEXT-ALIGN: left; + TEXT-DECORATION: none; + background-color: #999999; +} +.onglet:selected { + color:white; + text-decoration: none; +} +.ongletSelecte,.tdOngletSelecte { + FONT-WEIGHT: bold; + FONT-SIZE: small; + COLOR: white; + FONT-FAMILY: Arial; + TEXT-ALIGN: left; + TEXT-DECORATION: none; + background-color: #003399; +} +.ongletRenvoi { + FONT-WEIGHT: bold; + FONT-SIZE: small; + COLOR: white; + FONT-FAMILY: Arial; + TEXT-ALIGN: left; + TEXT-DECORATION: none; + background-color: #cccccc; +} +.lienonglet { + FONT-WEIGHT: bold; + FONT-SIZE: 10pt; + COLOR: #FFFFFF; + FONT-FAMILY: Arial; + TEXT-ALIGN: left; + TEXT-DECORATION: none; +} +.voirAussi { + text-align: right; + font-family: Arial; + font-size: x-small; + font-style: normal; + font-weight: normal; + color: #000000; + text-decoration: none; + text-align: right; +} +.MenuGaucheSelect { + FONT-SIZE: 8pt; + FONT-FAMILY: Arial;TEXT-ALIGN: right; + font-style: normal; + font-weight: normal +} +.margeGauche{ + width: 105pt; + FONT-FAMILY: Arial; + TEXT-ALIGN: left; + font-style: normal; + font-weight: normal; +} +.menuGauche{ + width: 100pt; +} +.boutonpicto { + font-size: 12px; + font-style: normal; + font-weight: bold; + color: #000000; + text-decoration: none +} +.boutonpicto a:link,.boutonpicto a:visited { text-decoration: none; color : #0000cc; } +.boutonpicto a:hover { text-decoration: none; color : red; } +.ligne0 { + background-color: #ffffff; +} +.ligne1 { + background-color: #eeeeee; +} +.modificationchamp { + font-family: Arial; + font-size: 8pt; + font-style: normal; + font-weight: bold; + color: #FF0000; + text-decoration: none +} +th,.entetetableau { + font-family: Arial; + font-size: x-small; + font-style: normal; + font-weight: bold; + color: #003399; + text-decoration: none +} +.Lien { + color:blue; + text-decoration:underline; + font-size:8pt; + FONT-FAMILY: Arial; + font-style: normal; + font-weight: normal; +} +.Lien:hover { + color:red; + text-decoration:underline; + font-size:8pt; + FONT-FAMILY: Arial; +} +.Lien:visited { + color:660066; + text-decoration:underline; + font-size:8pt; + FONT-FAMILY: Arial; +} +.lienonglet { + FONT-WEIGHT: bold; + FONT-SIZE: 10pt; + COLOR: #FFFFFF; + FONT-FAMILY: Arial; + TEXT-ALIGN: left; + TEXT-DECORATION: none +} +.TDBleu0 +{ + background-color: #ffff00; + background-repeat:repeat-x; +} +.TDBleu { + background-IMAGE: url("./Commun/Images/background_piedpage.gif"); + background-repeat:repeat-x; +} +.TDBleu1 +{ + background-IMAGE: url("./Commun/Images/pixel_bleu_fonce.gif"); + background-repeat:repeat-x; +} +.Libelle +{ + font-family : Arial; + font-size : 10pt; + color: #003399; + background-color : #FFFFFF; +} +.Saisie +{ + font-family : Verdana,Arial; + font-size : 8pt; + background-color : #E4E4E4; + font-weight: bold +} +.Tableau { + FONT-SIZE: small; //8pt; + COLOR: #FFFFFF; + FONT-FAMILY: Verdana; + background-color: #003399; + font-weight: bold +} +.TableauActif { + FONT-SIZE: small; //8pt; + COLOR: #FFFF00; + FONT-FAMILY: Verdana; + background-color: #003399; + font-weight: bold; +} +.lienonglet { font-family: Arial; font-size: 12px; font-style: normal; font-weight: bold; color: #FFFFFF; text-decoration: none } +.textegrasbleu { font-family: Arial; font-size: 12px; font-style: normal; font-weight: bold; color: #003399; text-decoration: none } +.textegrasgris { font-family: Arial; font-size: 12px; font-style: normal; font-weight: bold; color: #AFAFAF; text-decoration: none } +.Libellebouton { FONT-SIZE: 8pt; COLOR: #000000; FONT-FAMILY: Verdana; font-style: normal; font-weight: bold; text-decoration: none} \ No newline at end of file diff --git a/AnaisWeb/Commun/Session/creesessionanais.inc b/AnaisWeb/Commun/Session/creesessionanais.inc new file mode 100644 index 00000000..7d1d10e5 --- /dev/null +++ b/AnaisWeb/Commun/Session/creesessionanais.inc @@ -0,0 +1,66 @@ + + + diff --git a/AnaisWeb/Index.php b/AnaisWeb/Index.php new file mode 100644 index 00000000..a0b9b406 --- /dev/null +++ b/AnaisWeb/Index.php @@ -0,0 +1,45 @@ + + +pageun + + + + + +Page principale

+'lien ouvrir' va afficher l arborescence

+
+Choix destinataires A
+ouvrir

+Choix destinataires CC
+ouvrir

+fermer

+ + + + + + + + + + + + + + + + + + + + + + + +
type
cn
dn
mel
uid
sn
choix
+
+


+quitter + + diff --git a/AnaisWeb/aideAnais.php b/AnaisWeb/aideAnais.php new file mode 100644 index 00000000..aa7691e4 --- /dev/null +++ b/AnaisWeb/aideAnais.php @@ -0,0 +1,51 @@ + + + +Localisation + + + + + + + + + + + +
 Localisation
+ + +
+ + + + + + + +
 Fermer la fenêtre
+ + \ No newline at end of file diff --git a/AnaisWeb/collapseanais.php b/AnaisWeb/collapseanais.php new file mode 100644 index 00000000..00de499a --- /dev/null +++ b/AnaisWeb/collapseanais.php @@ -0,0 +1,30 @@ + diff --git a/AnaisWeb/expandanais.php b/AnaisWeb/expandanais.php new file mode 100644 index 00000000..64e0d495 --- /dev/null +++ b/AnaisWeb/expandanais.php @@ -0,0 +1,31 @@ + diff --git a/AnaisWeb/pageun.htm b/AnaisWeb/pageun.htm new file mode 100644 index 00000000..ae560ea6 --- /dev/null +++ b/AnaisWeb/pageun.htm @@ -0,0 +1,10 @@ + + +pageun + + + + + diff --git a/AnaisWeb/quitter_a.php b/AnaisWeb/quitter_a.php new file mode 100644 index 00000000..d16ed7d2 --- /dev/null +++ b/AnaisWeb/quitter_a.php @@ -0,0 +1,17 @@ + + + Balade + + +

+Sortie du programme,

+Vous pouvez reprendre une activité informatique normale. +
+ + + diff --git a/AnaisWeb/rien_a.php b/AnaisWeb/rien_a.php new file mode 100644 index 00000000..e69de29b