From f8e96125ca207d2c34e0574fd6426af6dffb013a Mon Sep 17 00:00:00 2001 From: znek Date: Wed, 11 Aug 2004 10:49:38 +0000 Subject: [PATCH] committed the skyrix branch git-svn-id: http://svn.opengroupware.org/SOGo/trunk@172 d1b88da0-ebda-0310-925b-ed51d893ca5b --- AnaisWeb/branches/skyrix/ALire.txt | 22 ++ AnaisWeb/branches/skyrix/ALire_Email.txt | 34 +++ .../skyrix/Commun/Fonctions/expandanais.inc | 145 ++++++++++ .../branches/skyrix/Commun/Images/A16.ico | Bin 0 -> 318 bytes .../skyrix/Commun/Images/Arbo/bala.gif | Bin 0 -> 122 bytes .../skyrix/Commun/Images/Arbo/bala_l.gif | Bin 0 -> 127 bytes .../skyrix/Commun/Images/Arbo/balf.gif | Bin 0 -> 136 bytes .../skyrix/Commun/Images/Arbo/balf_l.gif | Bin 0 -> 141 bytes .../skyrix/Commun/Images/Arbo/bali.gif | Bin 0 -> 105 bytes .../skyrix/Commun/Images/Arbo/bali_l.gif | Bin 0 -> 115 bytes .../skyrix/Commun/Images/Arbo/balr.gif | Bin 0 -> 125 bytes .../skyrix/Commun/Images/Arbo/balr_l.gif | Bin 0 -> 152 bytes .../skyrix/Commun/Images/Arbo/bals.gif | Bin 0 -> 125 bytes .../skyrix/Commun/Images/Arbo/bals_l.gif | Bin 0 -> 125 bytes .../skyrix/Commun/Images/Arbo/balu.gif | Bin 0 -> 154 bytes .../skyrix/Commun/Images/Arbo/balu_l.gif | Bin 0 -> 160 bytes .../skyrix/Commun/Images/Arbo/boite.gif | Bin 0 -> 155 bytes .../skyrix/Commun/Images/Arbo/dossier.gif | Bin 0 -> 907 bytes .../skyrix/Commun/Images/Arbo/ext.GIF | Bin 0 -> 146 bytes .../skyrix/Commun/Images/Arbo/liste.gif | Bin 0 -> 126 bytes .../skyrix/Commun/Images/Arbo/liste_l.gif | Bin 0 -> 132 bytes .../Commun/Images/Arbo/new_tree_collapse.gif | Bin 0 -> 1023 bytes .../Commun/Images/Arbo/new_tree_expand.gif | Bin 0 -> 981 bytes .../Commun/Images/Arbo/tree_collapse.gif | Bin 0 -> 115 bytes .../Images/Arbo/tree_collapse.ouvert.gif | Bin 0 -> 1023 bytes .../Commun/Images/Arbo/tree_dossier.gif | Bin 0 -> 981 bytes .../skyrix/Commun/Images/Arbo/tree_end.gif | Bin 0 -> 107 bytes .../Commun/Images/Arbo/tree_expand.ferme.gif | Bin 0 -> 981 bytes .../skyrix/Commun/Images/Arbo/tree_expand.gif | Bin 0 -> 117 bytes .../Commun/Images/Arbo/tree_horiline.gif | Bin 0 -> 105 bytes .../skyrix/Commun/Images/Arbo/tree_leaf.gif | Bin 0 -> 116 bytes .../skyrix/Commun/Images/Arbo/tree_space.gif | Bin 0 -> 88 bytes .../skyrix/Commun/Images/Arbo/tree_split.gif | Bin 0 -> 110 bytes .../skyrix/Commun/Images/Arbo/tree_start.gif | Bin 0 -> 116 bytes .../Commun/Images/Arbo/tree_vertline.gif | Bin 0 -> 108 bytes .../Commun/Images/Pictos/picto_affiner.gif | Bin 0 -> 280 bytes .../Commun/Images/Pictos/picto_aide.gif | Bin 0 -> 298 bytes .../Commun/Images/Pictos/picto_annuler.gif | Bin 0 -> 216 bytes .../Images/Pictos/picto_besoin_aide.gif | Bin 0 -> 255 bytes .../Images/Pictos/picto_enregistrer.gif | Bin 0 -> 230 bytes .../Commun/Images/Pictos/picto_exporter.gif | Bin 0 -> 199 bytes .../Commun/Images/Pictos/picto_imprimer.gif | Bin 0 -> 229 bytes .../Commun/Images/Pictos/picto_rechercher.gif | Bin 0 -> 246 bytes .../Commun/Images/Pictos/picto_supprimer.gif | Bin 0 -> 226 bytes .../Commun/Images/Pictos/picto_valider.gif | Bin 0 -> 211 bytes .../Commun/Images/background_piedpage.gif | Bin 0 -> 48 bytes .../skyrix/Commun/Images/pixel_bleu_fonce.gif | Bin 0 -> 41 bytes .../skyrix/Commun/Include/arboanais.inc | 160 +++++++++++ .../branches/skyrix/Commun/Include/ico.inc | 18 ++ AnaisWeb/branches/skyrix/Commun/Js/local.js | 89 ++++++ .../branches/skyrix/Commun/Js/localIE.css | 270 ++++++++++++++++++ .../branches/skyrix/Commun/Js/localNS.css | 252 ++++++++++++++++ .../Commun/Session/creesessionanais.inc | 66 +++++ AnaisWeb/branches/skyrix/Index.php | 45 +++ AnaisWeb/branches/skyrix/aideAnais.php | 51 ++++ AnaisWeb/branches/skyrix/collapseanais.php | 30 ++ AnaisWeb/branches/skyrix/expandanais.php | 31 ++ AnaisWeb/branches/skyrix/pageun.htm | 10 + AnaisWeb/branches/skyrix/quitter_a.php | 17 ++ AnaisWeb/branches/skyrix/rien_a.php | 0 60 files changed, 1240 insertions(+) create mode 100644 AnaisWeb/branches/skyrix/ALire.txt create mode 100644 AnaisWeb/branches/skyrix/ALire_Email.txt create mode 100644 AnaisWeb/branches/skyrix/Commun/Fonctions/expandanais.inc create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/A16.ico create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/bala.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/bala_l.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/balf.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/balf_l.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/bali.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/bali_l.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/balr.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/balr_l.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/bals.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/bals_l.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/balu.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/balu_l.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/boite.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/dossier.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/ext.GIF create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/liste.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/liste_l.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/new_tree_collapse.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/new_tree_expand.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/tree_collapse.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/tree_collapse.ouvert.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/tree_dossier.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/tree_end.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/tree_expand.ferme.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/tree_expand.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/tree_horiline.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/tree_leaf.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/tree_space.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/tree_split.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/tree_start.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Arbo/tree_vertline.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_affiner.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_aide.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_annuler.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_besoin_aide.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_enregistrer.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_exporter.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_imprimer.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_rechercher.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_supprimer.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_valider.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/background_piedpage.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Images/pixel_bleu_fonce.gif create mode 100644 AnaisWeb/branches/skyrix/Commun/Include/arboanais.inc create mode 100644 AnaisWeb/branches/skyrix/Commun/Include/ico.inc create mode 100644 AnaisWeb/branches/skyrix/Commun/Js/local.js create mode 100644 AnaisWeb/branches/skyrix/Commun/Js/localIE.css create mode 100644 AnaisWeb/branches/skyrix/Commun/Js/localNS.css create mode 100644 AnaisWeb/branches/skyrix/Commun/Session/creesessionanais.inc create mode 100644 AnaisWeb/branches/skyrix/Index.php create mode 100644 AnaisWeb/branches/skyrix/aideAnais.php create mode 100644 AnaisWeb/branches/skyrix/collapseanais.php create mode 100644 AnaisWeb/branches/skyrix/expandanais.php create mode 100644 AnaisWeb/branches/skyrix/pageun.htm create mode 100644 AnaisWeb/branches/skyrix/quitter_a.php create mode 100644 AnaisWeb/branches/skyrix/rien_a.php diff --git a/AnaisWeb/branches/skyrix/ALire.txt b/AnaisWeb/branches/skyrix/ALire.txt new file mode 100644 index 00000000..c53bc1f1 --- /dev/null +++ b/AnaisWeb/branches/skyrix/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/branches/skyrix/ALire_Email.txt b/AnaisWeb/branches/skyrix/ALire_Email.txt new file mode 100644 index 00000000..0c727ddf --- /dev/null +++ b/AnaisWeb/branches/skyrix/ALire_Email.txt @@ -0,0 +1,34 @@ +Voici une nouvelle version d'AnaisWeb +Elle permet de repondre a 2 points: +-Choix des attributs desirs lors d'une selection + Voir le ALire.txt +-Prise en compte des evolutions d'AnaisWeb + Pour l'instant la version ne sait faire que des choix simples + A terme, AnaisWeb permettra de faire les choix Pour/Cc/Bcc. + L'appli selon ses besoins (choix d'une personne pour un + rendez-vous ou choix des destinataires pour un messages, ...) + devra pouvoir demander une fenetre AnaisWeb avec le choix + ou sans le choix Pour/Cc/Bcc + Il faudra aussi que l'appli sache recuperer le type de choix + pour chaque choix. + Pour cela, un champ typ est utilise lors de l'appel et un champ + typ est renvoye lors du retour. + Actuellement, AnaisWeb ne sait pas faire le choix Pour/Cc/Bcc. + La valeur du champ typ en entree est renvoyee en sortie. + Cela facilite certaines implementations (voir l'exemple). + Dans le futur, il faudrait employer typ="DEST-MESS" pour + avoir un AnaisWeb avec choix Pour/Cc/Bcc et la valeur du retour + sera "Pour" ou "Cc" ou "Bcc". + MAIS pour avoir une mise en oeuvre compatible Anais actuel et + futur Anais dans le cadre d'une interface efficace avec choix + des Pour/Cc/Bcc, la future version passera en mode "Pour/Cc/Bcc" + si typ vaut une des 3 valeurs "Pour" "Cc" ou "Cci" qui doivent + etre utilisees des maintenant dans une mise en oeuvre du type + de l'exemple. (Attention l'exemple utilise "A" pour "Pour", + terme actuel de Thunderbird) Dans ce cas, un appel avec + typ="Pour" pourra renvoyer un typ=Cc ... qu'il faudra pourvoir + traiter. + Pour resumer, il faut viser une mise en oeuvre du meme type + que l'exemple... + +On attends vos remarques diff --git a/AnaisWeb/branches/skyrix/Commun/Fonctions/expandanais.inc b/AnaisWeb/branches/skyrix/Commun/Fonctions/expandanais.inc new file mode 100644 index 00000000..cc8dd6e2 --- /dev/null +++ b/AnaisWeb/branches/skyrix/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/branches/skyrix/Commun/Images/A16.ico b/AnaisWeb/branches/skyrix/Commun/Images/A16.ico new file mode 100644 index 0000000000000000000000000000000000000000..23dd4cd520f945c7d7a9e854860fe564bc57cf98 GIT binary patch literal 318 zcmbu3u?m1N3`DQs2Xu0F^dklPY2E4|_&IeD;$4D^xS2Nh((6$QB(9t@RC5AGku7Ip zCk#}ex`sshF$%zqQUX+tsI`*1FyAoK#O9Jk+23{aeKVS56Wc?kyTat+|z`(|!!vF*zv8Mn3{{xvbXU&`#59S+)a9bc?XJ?$#NcTq)zX(HFt@>K<=8&+%S-(*<6eUh!*oYabsj$+LHEt?l| TOxo92;x(16^T=aEMh0sDf)pvh literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Arbo/bala_l.gif b/AnaisWeb/branches/skyrix/Commun/Images/Arbo/bala_l.gif new file mode 100644 index 0000000000000000000000000000000000000000..6d598ec2bd4d81917dcf227a33cc1b024029ccd7 GIT binary patch literal 127 zcmZ?wbhEHb6krfwP-0+E{K>+|z`)L+!vF*zv8FVJG$3>4%$fiH|4&OxWBAVi7GPj@ zsn~VrpTP;ucma#Y57zyZH!SE?7g=sl*3`H!`{uHYGciZ1Z=E*%<8ZIhY0j6X6Y`BB a5*bE92ZIC^BGyM}XGW+v?Q3UYum%8lc`RT6 literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Arbo/balf.gif b/AnaisWeb/branches/skyrix/Commun/Images/Arbo/balf.gif new file mode 100644 index 0000000000000000000000000000000000000000..8e1de1de7d59f341669c9f9b5c7c3c01a2932a1a GIT binary patch literal 136 zcmZ?wbhEHb6krfwP-0+E{K>+|z`(|!!vF*zv8Mn3{{xvoA`Ju>X3m@ml44+B_RUze z`Jb+Yro46$OV;v7GnQtCIM_LU%=NyS<@Q)~(`-J$gLzEuSxinU5jS&7mUg~Y7SK>V h`*g|kHEbo*9423Q?6urhcm4FG6C&qcHDYA21^}&GFQfnf literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Arbo/balf_l.gif b/AnaisWeb/branches/skyrix/Commun/Images/Arbo/balf_l.gif new file mode 100644 index 0000000000000000000000000000000000000000..e494824c331c6e5b233037f4266703286573fe73 GIT binary patch literal 141 zcmZ?wbhEHb6krfwP-0+E{K>+|z`)L+!vF*zv8FVJG$8Z;|NjjC8Pd`~yqPm+0!5gE zDpqazr`u8RBH3+{!rRHgGh%OFV||v+A$;8LzM8xNYuFx4KvutN}}lH*Ej_ literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Arbo/bali.gif b/AnaisWeb/branches/skyrix/Commun/Images/Arbo/bali.gif new file mode 100644 index 0000000000000000000000000000000000000000..cdfef7f9e8962dcee111ed10f7704a87e9aa16e1 GIT binary patch literal 105 zcmZ?wbhEHb6krfwP-0+E{K>+|z`(+w!vF*zv8Mn3{{xvoV&=@5AVC;l*7MkPN6uiE wX!eY0k5)bSCR=EF$$8o>=Ca2(+az}H(p2Ml>~q&#<;5aKe~lX7K28Q}0Fs*^xBvhE literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Arbo/bali_l.gif b/AnaisWeb/branches/skyrix/Commun/Images/Arbo/bali_l.gif new file mode 100644 index 0000000000000000000000000000000000000000..e678269e50a60b13bcfd57da87e416da37188653 GIT binary patch literal 115 zcmZ?wbhEHb6krfwP-0+E{K>+|z`)9&!vF*zv8FVJG$8Z;|NjjC8D`F$2@(ebW{Zej zcjOFqiDu6Td-40#v)=8T3aptg#N0GH=W2Xm%RPBviOKQFLOd*U-Z0AWD7Z%}I%t^9 LJ{70T$Y2cspXnk1 literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Arbo/balr.gif b/AnaisWeb/branches/skyrix/Commun/Images/Arbo/balr.gif new file mode 100644 index 0000000000000000000000000000000000000000..8d83004ca9127669eef44371ae8618eaa90f5a77 GIT binary patch literal 125 zcmZ?wbhEHb6krfwP-0+E{K>+|z`)L+!vF*zv8Mn3{{xvbXU+uEX=w}$X&{1u*{NdJ zoqrQrC9jIi*k`cp{cMAdlnuQZj8=@6E1FL3+oGY(lK93o-e{+*L+dWtrgpLC+fQ)n V$oWpba41FYO3Ic)wkiw^)&MLkD~137 literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Arbo/balr_l.gif b/AnaisWeb/branches/skyrix/Commun/Images/Arbo/balr_l.gif new file mode 100644 index 0000000000000000000000000000000000000000..7b732b3f48ba59d63c7056899b1bc061705a8030 GIT binary patch literal 152 zcmZ?wbhEHb6krfwFlJy-{K>+|z`((v!vF*zvF0>}G$3>4%$W@Tfpi*>^Z)<pA^?lc2<44FFR~E0_QP literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Arbo/bals.gif b/AnaisWeb/branches/skyrix/Commun/Images/Arbo/bals.gif new file mode 100644 index 0000000000000000000000000000000000000000..fb31b45af26ba7f2aa99a4967b86a8b0568e8bb5 GIT binary patch literal 125 zcmZ?wbhEHb6krfwP-0+E{K>+|z`)L+!vF*zv8Mn3|1&TEQ5sMnEiDboVqjo)s@Qes zpZ^KZ=Rzv4YuhHxbCz+6kaJumakQeT|94g9+7rzJJP!}CPmbZ8d~s>QvBgW+Y7FPQ U3xBD6^+|z`)L+!vF*zv8Mn3|1&TEQ5sMnEiDboVqjo)s@Qes zpZ^KZ=Rzv4YuhHxbCz+6kaJumakQeT|94g9+7rzJJP!}CPmbZ8d~s>QvBgW+Y7FPQ U3xBD6^+|z`)6%!vF*zvF88(|EHyac>n)1%$zwh4a5O58Ngy7 zaWuf+|z`(_z!vF*zvF0=e5d8oDKS<<1!_1j8)6&v_EFd39 zVFDK4fRmo9_nN;r`<=&4qpQ)t%eKnqzs9}QECIe< nhaR?n>EspQcKO7ZYq|KMXQ|-h-2E5x3Vqa)&t>?qFjxZscB4DK literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Arbo/dossier.gif b/AnaisWeb/branches/skyrix/Commun/Images/Arbo/dossier.gif new file mode 100644 index 0000000000000000000000000000000000000000..ae844c145a8c3d02d020d13a145c9b68d04d4f19 GIT binary patch literal 907 zcmZ?wbhEHb6krfw_|5+|z`)L+!vF*zv8FTz5M*HZ55#F{Kvvq!nKOZG=J1ML zckEQ$wl9)YYPor0$INAdJ?R}Q%tEHC?RilpAU@;ZJ1@Q&uMb%@2Waf#a@3C7KrV12Q)rkQEVWS@A7mYUBFj%4Lj-1@~>bn%whM7#OSpz>G0M literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Arbo/liste.gif b/AnaisWeb/branches/skyrix/Commun/Images/Arbo/liste.gif new file mode 100644 index 0000000000000000000000000000000000000000..92af80a194d35424baa6d6aace1cadca11a15d88 GIT binary patch literal 126 zcmZ?wbhEHb6krfwP-0+E{K>+|z`)9&!vF*zv8Mn3{{xvbXU+uDX=xx~2w--O*mXz7 z;FQ|q9m+bIRVM+|z`)L+!vF*zu_hp$#*j91=FI>9|1$vLe-IxCm^~|Y z-Qh7frIx&tRY%k6M8L8FCzClBI7(A3U8E13V~{%iB~xB7_Wi1vub1Ae@Y$7g!MSB6 dhXqH0i-1F_K=b7Ew_%KJ8?HH~sW32D0|41PEJ6SP literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Arbo/new_tree_collapse.gif b/AnaisWeb/branches/skyrix/Commun/Images/Arbo/new_tree_collapse.gif new file mode 100644 index 0000000000000000000000000000000000000000..cec7c4ded50dcaa093617dfd4f3d0ff21b9aa797 GIT binary patch literal 1023 zcmb_bOG}jj5S{Xo6rr0Qgk`x=!@H9J zr!#qUBI}G885wc>?&Qe>Pkck*xBnMRBt%MNu?ZP7u@Eb<5qlJcNrXg6jKrf?nN&!X z)JQ!>jmd;e$&4(Rk~6uGE4hJo00%U%FpO@GJrTmJ%*O1o7MTc(vKWg83lvpYmDN~1 zNTJt+P1%gi!4aeE!mjMbj;&w~FpvgI&_WH1femP2Vc0`Zi%eD2L_Oq! z1&XF(CgxBNQs@;|aTA9;_yL-jh8@rk5>N=%00U{TL@Rh;F|Yv*EDz_Rj2vOA9!5eR z)*>@gbNC9mV1c5#sl!J&4FkXn?Jyc@VI}+kO-#cMaDrec1Z#kSG$ug{Jg^wpfc7|1 zbfb(M;kX!#gg&fAX30wyz9#pMVsgT;Ik`&oCPs(riFYxY*bzra6b4d4I&PBi2;c-7 zuLG_G^PmZ0LFQ^(%44(^{l z+&*<+AiZk7=4#H@29~+$6LLavV44~qitbZbNf{Nru5zJuElLrtA{V7 vYuD}?FIje{vgyIk(R)=rrKy2+&3%)%)|6*npR3&0)qk++%7?<-Y^wYR7d^)} literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Arbo/new_tree_expand.gif b/AnaisWeb/branches/skyrix/Commun/Images/Arbo/new_tree_expand.gif new file mode 100644 index 0000000000000000000000000000000000000000..7671e197dcd85243d47306c4b3df0feada55c263 GIT binary patch literal 981 zcmb_bziZQR5IsR^7cokT7KPMBtcVVWqKE{F)`&Rxt5fk87)H0po(N%9W@GkPi%f(?S&YSl1&S)H%4)10 zq|j@^rfkOM;D}LnVOMrz$5yZg7)XO9XrYG1zy>t1Fzg{Ha)gSQh=)F`MW!lhq8@U= z0!33X6LY8sDfEh~xQRm^`~Xc%!w%>N2`B_>fPpkvq7^)_7}$UYmWOjuMvgF54&O|&=O>iADkca3u0I|{GAKe+2p`-g`%PQ8EV<44aAwsObHTmIf? zZ#^^BUtE~`aq8`pOZm~v#Jy_$c5nVpZesH6!I9q6#pxNX%|HHjyu7?NIq=3RwOiZA zmR@|>Kb|Xo8tydZ-$0RG-VssI20 literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Arbo/tree_collapse.ouvert.gif b/AnaisWeb/branches/skyrix/Commun/Images/Arbo/tree_collapse.ouvert.gif new file mode 100644 index 0000000000000000000000000000000000000000..cec7c4ded50dcaa093617dfd4f3d0ff21b9aa797 GIT binary patch literal 1023 zcmb_bOG}jj5S{Xo6rr0Qgk`x=!@H9J zr!#qUBI}G885wc>?&Qe>Pkck*xBnMRBt%MNu?ZP7u@Eb<5qlJcNrXg6jKrf?nN&!X z)JQ!>jmd;e$&4(Rk~6uGE4hJo00%U%FpO@GJrTmJ%*O1o7MTc(vKWg83lvpYmDN~1 zNTJt+P1%gi!4aeE!mjMbj;&w~FpvgI&_WH1femP2Vc0`Zi%eD2L_Oq! z1&XF(CgxBNQs@;|aTA9;_yL-jh8@rk5>N=%00U{TL@Rh;F|Yv*EDz_Rj2vOA9!5eR z)*>@gbNC9mV1c5#sl!J&4FkXn?Jyc@VI}+kO-#cMaDrec1Z#kSG$ug{Jg^wpfc7|1 zbfb(M;kX!#gg&fAX30wyz9#pMVsgT;Ik`&oCPs(riFYxY*bzra6b4d4I&PBi2;c-7 zuLG_G^PmZ0LFQ^(%44(^{l z+&*<+AiZk7=4#H@29~+$6LLavV44~qitbZbNf{Nru5zJuElLrtA{V7 vYuD}?FIje{vgyIk(R)=rrKy2+&3%)%)|6*npR3&0)qk++%7?<-Y^wYR7d^)} literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Arbo/tree_dossier.gif b/AnaisWeb/branches/skyrix/Commun/Images/Arbo/tree_dossier.gif new file mode 100644 index 0000000000000000000000000000000000000000..7671e197dcd85243d47306c4b3df0feada55c263 GIT binary patch literal 981 zcmb_bziZQR5IsR^7cokT7KPMBtcVVWqKE{F)`&Rxt5fk87)H0po(N%9W@GkPi%f(?S&YSl1&S)H%4)10 zq|j@^rfkOM;D}LnVOMrz$5yZg7)XO9XrYG1zy>t1Fzg{Ha)gSQh=)F`MW!lhq8@U= z0!33X6LY8sDfEh~xQRm^`~Xc%!w%>N2`B_>fPpkvq7^)_7}$UYmWOjuMvgF54&O|&=O>iADkca3u0I|{GAKe+2p`-g`%PQ8EV<44aAwsObHTmIf? zZ#^^BUtE~`aq8`pOZm~v#Jy_$c5nVpZesH6!I9q6#pxNX%|HHjyu7?NIq=3RwOiZA zmR@|>Kb|Xo8t7)H0po(N%9W@GkPi%f(?S&YSl1&S)H%4)10 zq|j@^rfkOM;D}LnVOMrz$5yZg7)XO9XrYG1zy>t1Fzg{Ha)gSQh=)F`MW!lhq8@U= z0!33X6LY8sDfEh~xQRm^`~Xc%!w%>N2`B_>fPpkvq7^)_7}$UYmWOjuMvgF54&O|&=O>iADkca3u0I|{GAKe+2p`-g`%PQ8EV<44aAwsObHTmIf? zZ#^^BUtE~`aq8`pOZm~v#Jy_$c5nVpZesH6!I9q6#pxNX%|HHjyu7?NIq=3RwOiZA zmR@|>Kb|Xo8tb%7 literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Arbo/tree_split.gif b/AnaisWeb/branches/skyrix/Commun/Images/Arbo/tree_split.gif new file mode 100644 index 0000000000000000000000000000000000000000..e89ce8045e3e48a6ce582b11899ecb70ff8e2a9a GIT binary patch literal 110 zcmZ?wbhEHb6krfw*v!Ddz`^jJ6rlK%g^_`QkwFKj6=;G00|Se+!3odRQy;vlHU2-F Xy)Pto literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Arbo/tree_start.gif b/AnaisWeb/branches/skyrix/Commun/Images/Arbo/tree_start.gif new file mode 100644 index 0000000000000000000000000000000000000000..d01713d288d2f7956dfa520f1772347e697742d2 GIT binary patch literal 116 zcmZ?wbhEHb6krfw*v!Ddz`^jJ6rlK%g^_`QkwFKj6=;G00|Seq!3odRdo8jVzC4-3 d-gMIE)gq-UJVw2p7PCGEms4FFNZJ}3YH literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_affiner.gif b/AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_affiner.gif new file mode 100644 index 0000000000000000000000000000000000000000..45a9bb1d0b5279f46098cf0df4d09a2c47212356 GIT binary patch literal 280 zcmV+z0q6clNk%w1VHE%s0J8u9xw*OU@bK&F>%+st`uh6K&CRs5w8+TF*VotK;o-i% zzV-F>*x1;_#Kiyq|FE#IA^8LV00000EC2ui02Kfg000EV(7AM)z4#U(U3p+Af=vVh0EWhj2hR6pw)5!D!G31XM`zLOu$PW%I$YJ`^b5^56&< zm<_-RM0PM9MuqB(CQG@JrNXlbHH{)zZXgap4t@<-USCpbIU-GaA0r@GcOY8}3v?m| znv`2)37iiGDm)`wDK`ZQ3I#6-lxQIbFC7wZpiUwK1qE#mmzcb>MrELrvz`*NA_+^g eAOjt!r8dse95-hM0UZkr;^X7nSqU}{5db@3qH)mx literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_aide.gif b/AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_aide.gif new file mode 100644 index 0000000000000000000000000000000000000000..0fdd221c7f3dc7c27cda394b4b7cf7fdcb544511 GIT binary patch literal 298 zcmV+_0oDFTNk%w1VJQF(0J8u94?myZz}gNPja{)Or`Jg z_eABE*Vot0&CT50-0<-5_4W0>r93g;@;lp4w6rdr312EGT z0gl0FAW>(fOM*#IU~D9csOSJ4pqT_BS`T0k3k3uO15O}=J9>{J4Ihyr3IdfO3ut+j S3kMwt1`VX8rlksh5db?+i(8uj literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_besoin_aide.gif b/AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_besoin_aide.gif new file mode 100644 index 0000000000000000000000000000000000000000..5026e9944b690f25d7ff5f9471b4058c449d615a GIT binary patch literal 255 zcmV-1GDEzP`Tt`ueoAw8O*0;o;%Axw+TZ z*X!%+#Kgqd*x3L7|FE#IA^8LV00000EC2ui02Kfg000E6&^Z*Cz4(G99eCgqC}CM5 zlbJY)=?(#C7$6Y4rNGn!5fXxh5OF9qb|A&zVL%`hh(ZTJdmKxxg-R%NLqLy2y`nTT@HGIAO{E`4k8i-TZ%P<4<1rIA(Uus z9Un$WI0_vuoFNAas-~hY0ICXfo1i#;4r79PwRR;2QjItS2g6lNhYkY*4a>~U%ux~% F06SC1XWsw- literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_enregistrer.gif b/AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_enregistrer.gif new file mode 100644 index 0000000000000000000000000000000000000000..51ae57afe754d6189c7fe72327439522175e0c2f GIT binary patch literal 230 zcmVyw6wJI^Yh5a$ho<>&d$!w&CS=> z*Tlrc*x1+Apj|FE#IA^8LV00000EC2ui02Kfg000D&&^ch1z4)RgU3y?Bjvz3R zC|MX`2m4TK8?963%QID8aA$E1XLL+W@Bj)O|HlC)f>qoF99 z6@@8CSQW%vov`DFI&Rm^@k0?~sUK`a4OtyUe}PVeS{*rud5VQrjyI5njdy?uEdvh& gF&{1=0D~!|1Og|eBm`*^1p^GRva_-Ps16YTJH*Fg?*IS* literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_exporter.gif b/AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_exporter.gif new file mode 100644 index 0000000000000000000000000000000000000000..48c91ae01580354382a02ccc51beaa56d2c5c139 GIT binary patch literal 199 zcmV;&0670gNk%w1VHE%s0J8u9`uh6t@bJFAzTMs3_4W0+xw+TZ*Uin%&(F{1=H}Sg z*u%ra#Kgqw>+Apj|FE#IA^8LV00000EC2ui02Kfg000DZ(8%KKm_9$Fxt z=;9oqu)MH<229v&xGWAe*aWaez+n<8dY_6-VlW~fO5aBJIocYn1t}4-`mm>H^(nq~ z$zW00n@pQQY^eKteyiQ_G969^U@CrfAOn9E10e$}D2pHj0E~1qKok06VZ& BU9JEC literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_imprimer.gif b/AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_imprimer.gif new file mode 100644 index 0000000000000000000000000000000000000000..a237fb04fea592baea2f6160ca8e52b8a1694422 GIT binary patch literal 229 zcmVCNk%w1VHE%s0J8u9`uh6e;o;oe+{nntw6wJK_4V-Z@XpT8=H}+Z!^79t z*Tlrc*x1+Apj|FE#IA^8LV00000EC2ui02Kfg000D%(77;{z4)Fc-FaXrj$kl} zLZhw%`4ofL0PF0;qp--02si-3h_MT)L>6i;3PW?>3G2bawi^l*F!;n*aZ$sE_`)62@YirJ%fFA0}UUHg?JMRmY0|c9CaUu fP@kVAi+XwlKLMmJ1O^=i0t~RRvata_4iNx5%m-!q literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_rechercher.gif b/AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_rechercher.gif new file mode 100644 index 0000000000000000000000000000000000000000..ba3865132ffd1ce5cbc3eee99fe97ce907cd0564 GIT binary patch literal 246 zcmVzP{Jj*ZTVU!^6Y5xw+=%=J4?Fw6wI+($eAK z;p^+`*x1;_#Kiyq|FE#IA^8LV00000EC2ui02Kfg000D|&^gtry*DlC()(a2e#$g9 z%Ca!Q_yA23L-M`hYSvZ?olw*cD;v@FcNe^yidXONjL^A007#v7C-=r;9+fj zq7P@t_#`-(=bjpb5O^ML_yb*bksW4xJyQyPT3jGTcOfN2Sf!4BG^-COryv2N2M9k@vsMxYHxd90!o$SEqZ|+9?K`uf+`*Y)-F$;rv^@bJ*k(A?bIyu7@_!^5<+ zwBh05#Kgqd*x3L7|FE#IA^8LV00000EC2ui02Kfg000D!(78pJz4#g+oq1p=j^Hwp zC^-;g;tYr=077^$qaX$GV@kaSPDJPc6hBW$I8t<8o!W9J;yfLI5p!g?1{7LqsQ65f zwxYpvfkHnN)=r^KRTQqk^U(eb81*G<2!0Y$Qy_#&4+&}x2Vo!x5+5N*3t%D*ln(+d cDI*J6pD7A{Y@JE68<^8f$< literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_valider.gif b/AnaisWeb/branches/skyrix/Commun/Images/Pictos/picto_valider.gif new file mode 100644 index 0000000000000000000000000000000000000000..c41ad167eced4a6cd839d3bf5dc3ec0099621e1d GIT binary patch literal 211 zcmV;^04)DUNk%w1VHE%s0J8u9;^N};^z{1r`pC%0*Vos+zP`=P&C=4++}zx`xw-4> z>$J4A#Kgqd*x3L7|FE#IA^8LV00000EC2ui02Kfg000Dl&^a)ez4#g>oq1p=jvz3R zC>adtxEMr;Fl~59K-kdrAPET_FSQ6rV!|3i5?F|KtwLuAf<6+55$80r8XSd?&mnMj zc?7aEA&{_0R;eREFmmBTd#9PQK5iXgEq)7a5+8$9X?J~yAPWR9$50oM)(z5oCK literal 0 HcmV?d00001 diff --git a/AnaisWeb/branches/skyrix/Commun/Include/arboanais.inc b/AnaisWeb/branches/skyrix/Commun/Include/arboanais.inc new file mode 100644 index 00000000..a1c8b9cb --- /dev/null +++ b/AnaisWeb/branches/skyrix/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/branches/skyrix/Commun/Include/ico.inc b/AnaisWeb/branches/skyrix/Commun/Include/ico.inc new file mode 100644 index 00000000..ab99d669 --- /dev/null +++ b/AnaisWeb/branches/skyrix/Commun/Include/ico.inc @@ -0,0 +1,18 @@ + \ No newline at end of file diff --git a/AnaisWeb/branches/skyrix/Commun/Js/local.js b/AnaisWeb/branches/skyrix/Commun/Js/local.js new file mode 100644 index 00000000..4a2ec631 --- /dev/null +++ b/AnaisWeb/branches/skyrix/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/branches/skyrix/Commun/Js/localIE.css b/AnaisWeb/branches/skyrix/Commun/Js/localIE.css new file mode 100644 index 00000000..7b0a777b --- /dev/null +++ b/AnaisWeb/branches/skyrix/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/branches/skyrix/Commun/Js/localNS.css b/AnaisWeb/branches/skyrix/Commun/Js/localNS.css new file mode 100644 index 00000000..a6902b80 --- /dev/null +++ b/AnaisWeb/branches/skyrix/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/branches/skyrix/Commun/Session/creesessionanais.inc b/AnaisWeb/branches/skyrix/Commun/Session/creesessionanais.inc new file mode 100644 index 00000000..7d1d10e5 --- /dev/null +++ b/AnaisWeb/branches/skyrix/Commun/Session/creesessionanais.inc @@ -0,0 +1,66 @@ + + + diff --git a/AnaisWeb/branches/skyrix/Index.php b/AnaisWeb/branches/skyrix/Index.php new file mode 100644 index 00000000..a0b9b406 --- /dev/null +++ b/AnaisWeb/branches/skyrix/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/branches/skyrix/aideAnais.php b/AnaisWeb/branches/skyrix/aideAnais.php new file mode 100644 index 00000000..aa7691e4 --- /dev/null +++ b/AnaisWeb/branches/skyrix/aideAnais.php @@ -0,0 +1,51 @@ + + + +Localisation + + + + + + + + + + + +
 Localisation
+ + +
+ + + + + + + +
 Fermer la fenêtre
+ + \ No newline at end of file diff --git a/AnaisWeb/branches/skyrix/collapseanais.php b/AnaisWeb/branches/skyrix/collapseanais.php new file mode 100644 index 00000000..00de499a --- /dev/null +++ b/AnaisWeb/branches/skyrix/collapseanais.php @@ -0,0 +1,30 @@ + diff --git a/AnaisWeb/branches/skyrix/expandanais.php b/AnaisWeb/branches/skyrix/expandanais.php new file mode 100644 index 00000000..64e0d495 --- /dev/null +++ b/AnaisWeb/branches/skyrix/expandanais.php @@ -0,0 +1,31 @@ + diff --git a/AnaisWeb/branches/skyrix/pageun.htm b/AnaisWeb/branches/skyrix/pageun.htm new file mode 100644 index 00000000..ae560ea6 --- /dev/null +++ b/AnaisWeb/branches/skyrix/pageun.htm @@ -0,0 +1,10 @@ + + +pageun + + + + + diff --git a/AnaisWeb/branches/skyrix/quitter_a.php b/AnaisWeb/branches/skyrix/quitter_a.php new file mode 100644 index 00000000..d16ed7d2 --- /dev/null +++ b/AnaisWeb/branches/skyrix/quitter_a.php @@ -0,0 +1,17 @@ + + + Balade + + +

+Sortie du programme,

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