Subversion Repositories wimsdev

Rev

Rev 4509 | Rev 11575 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4509 Rev 8204
Line 8... Line 8...
8
\
8
\
9
en,girl,3\
9
en,girl,3\
10
nl,boy girl,5
10
nl,boy girl,5
11
!exit
11
!exit
12
 
12
 
13
!! third parm to get many first name distinct in one tim (FG)
13
!! third parm to get many firstname distinct in one time (FG)
14
!! Maj french fname by Jérémy Lebas
14
!! Maj french fname by Jérémy Lebas
15
 
15
 
16
:proc
16
:proc
-
 
17
!!should be calculate from the list ?
-
 
18
slib_bound=35
17
 
19
 
18
slib_test=!itemcnt $wims_read_parm
20
slib_test=!itemcnt $wims_read_parm
19
!if $slib_test=3
21
!if $slib_test=3
20
 !distribute item $wims_read_parm into slib_lang,slib_genre,slib_nb
22
 !distribute item $wims_read_parm into slib_lang,slib_genre,slib_nb
-
 
23
 slib_genre=!singlespace $slib_genre
21
 !bound slib_genre within boy,girl default boy
24
 !bound slib_genre within boy, girl, boy girl, girl boy default boy
22
 slib_langs=!words2items $wims_site_languages
25
 slib_langs=!words2items $wims_site_languages
23
 !bound slib_lang within $slib_langs default en
26
 !bound slib_lang within $slib_langs default en
24
!else
27
!else
25
!! old configuration parameters needed to be saved until modules use this slib has been change
28
!! old configuration parameters needed to be saved until modules use this slib has been change
26
 slib_opt=!items2words $wims_read_parm
29
 slib_opt=!items2words $wims_read_parm
Line 37... Line 40...
37
  !if $slib_l iswordof $slib_opt
40
  !if $slib_l iswordof $slib_opt
38
   slib_lang=$slib_l
41
   slib_lang=$slib_l
39
  !endif
42
  !endif
40
 !next slib_l
43
 !next slib_l
41
!endif
44
!endif
42
!bound slib_nb between 1 and 10 default 1
45
!bound slib_nb between 1 and $slib_bound default 1
43
!default slib_genre=!randitem boy,girl
46
!default slib_genre=!randitem boy,girl
44
!if $lang iswordof fr nl
47
!if $lang iswordof fr nl
45
 !default slib_lang=$lang
48
 !default slib_lang=$lang
46
!endif
49
!endif
47
!if $slib_lang=fr
50
!if $slib_lang=fr
Line 55... Line 58...
55
 Stephan, Jordy, Alexandre, Emrullah, Esteban, Florent, Sacha, Antonin, Nicolas, Dorian, Ryan, Camille, \
58
 Stephan, Jordy, Alexandre, Emrullah, Esteban, Florent, Sacha, Antonin, Nicolas, Dorian, Ryan, Camille, \
56
 Logan, Anthony, Mel, Louis, Jordan, Jean-Christophe, Smaïn, Tristan, Louis, Thomas, Kohai, Thibault, Mouhammad, \
59
 Logan, Anthony, Mel, Louis, Jordan, Jean-Christophe, Smaïn, Tristan, Louis, Thomas, Kohai, Thibault, Mouhammad, \
57
 Rudy, Romuald, Clément, Erwan, Hugo, Olivier, Thibault, Nicolas, Medhi, Valentin, Alan, Baptiste, Ambroise, Alexandre, \
60
 Rudy, Romuald, Clément, Erwan, Hugo, Olivier, Thibault, Nicolas, Medhi, Valentin, Alan, Baptiste, Ambroise, Alexandre, \
58
 Dorian, Axel, Logan, Noam, Adem, Alric, Alexandre, Anthony, Quentin, Alexandre, Laurent, Pierre, Jayson, Remy, Aymen, Cyril, \
61
 Dorian, Axel, Logan, Noam, Adem, Alric, Alexandre, Anthony, Quentin, Alexandre, Laurent, Pierre, Jayson, Remy, Aymen, Cyril, \
59
 Maxime, Magomed, Yannis, Louis, Sébastien, Thibault, Steven, Thomas, Mike, Nathan, Alexis, Quentin, Sébastien, Thomas,\
62
 Maxime, Magomed, Yannis, Louis, Sébastien, Thibault, Steven, Thomas, Mike, Nathan, Alexis, Quentin, Sébastien, Thomas,\
60
 Hind, pablo, Alexy, Rim, Enzo, Pierre, Guillaume, Benjamin, Jérémy, Jimmy, Thomas, Prasanth, Daniel, Théo, Ruben, Matthieu, \
63
 Hind, Pablo, Alexy, Rim, Enzo, Pierre, Guillaume, Benjamin, Jérémy, Jimmy, Thomas, Prasanth, Daniel, Théo, Ruben, Matthieu, \
61
 Paul, Francis, Florian, Clément, Théo, Nour-El-Houda, Sofiane, Rayane, Kevin, Téo, Yoan, Damien, Kevin, Christian, Kain, Hugo, \
64
 Paul, Francis, Florian, Clément, Théo, Nour-El-Houda, Sofiane, Rayane, Kevin, Téo, Yoan, Damien, Kevin, Christian, Kain, Hugo, \
62
 Anthony, Deniz, Ludovic, Olivier, Romain, cedric, Thomas, William, Levi, Lorenzo, Jonathan, Joachim, Gaël, Bilal, Jérémy, Raphaël, Florent,\
65
 Anthony, Deniz, Ludovic, Olivier, Romain, Cedric, Thomas, William, Levi, Lorenzo, Jonathan, Joachim, Gaël, Bilal, Jérémy, Raphaël, Florent,\
63
 Marvin, Wajdi, Florian, Matteo, Nassim, Hamza, Fabian, Idris, Allan, Marwanne, Abdoulla, Thomas, Lilian, Faycel, Sébastien, Johan, Kevin, Benjamin, Thomas, Akromat, Diye, Majdi, Medhi,\
66
 Marvin, Wajdi, Florian, Matteo, Nassim, Hamza, Fabian, Idris, Allan, Marwanne, Abdoulla, Thomas, Lilian, Faycel, Sébastien, Johan, Kevin, Benjamin, Thomas, Akromat, Diye, Majdi, Medhi,\
64
 Christopher, Thomas, Walid
67
 Christopher, Thomas, Walid
65
 
68
 
66
 slib_girl=Alice, Anne, Bernadette, \
69
 slib_girl=Alice, Anne, Bernadette, \
67
  Caroline, Catherine, Céline, Claire, Cloé, Denise, \
70
  Caroline, Catherine, Céline, Claire, Cloé, Denise, \
Line 72... Line 75...
72
 Manon, Aude, Amélie, Myrina, Eva, Chiara, Caroline, Caroline, Ambre, Oriane, Marie-Anaïs, Clémence, Manon, Floriane, Camille, \
75
 Manon, Aude, Amélie, Myrina, Eva, Chiara, Caroline, Caroline, Ambre, Oriane, Marie-Anaïs, Clémence, Manon, Floriane, Camille, \
73
 Willow, Sarah, Alicia, Romane, Lucie, Marine, Dorine, Maeva, Manon, Chloe, Laetitia, Lea, Soumeya, Sarah, Manuela, Olivia, Yael,\
76
 Willow, Sarah, Alicia, Romane, Lucie, Marine, Dorine, Maeva, Manon, Chloe, Laetitia, Lea, Soumeya, Sarah, Manuela, Olivia, Yael,\
74
 Charlotte, Marine, Sandy, Chloé, Doris, Erika, Marion, Lola, Chavely, Myriam, Elisa, Manuela, Isabelle, Fanny, Amandine, Elisa, Maia, \
77
 Charlotte, Marine, Sandy, Chloé, Doris, Erika, Marion, Lola, Chavely, Myriam, Elisa, Manuela, Isabelle, Fanny, Amandine, Elisa, Maia, \
75
 Jade, Christel, Barbara, Jade, Maissa, Eva, Julie, Elsa, Melissa, Andrea, Carla, Mariama, Esther, Elise, Loane, Laurie, Anna, Manoa, \
78
 Jade, Christel, Barbara, Jade, Maissa, Eva, Julie, Elsa, Melissa, Andrea, Carla, Mariama, Esther, Elise, Loane, Laurie, Anna, Manoa, \
76
 Elena, Léonie, Célia, Chloé, Romane, Salomé, Pauline, Setareh, Aurélia, Marine, Cherrine, Vanessa, Ornella, Charlotte, Christelle, \
79
 Elena, Léonie, Célia, Chloé, Romane, Salomé, Pauline, Setareh, Aurélia, Marine, Cherrine, Vanessa, Ornella, Charlotte, Christelle, \
77
 Victoria, Noémie, Laurie, Juliette, Marion, Lena, laura, Emilie, Anne-Laure, Claire, Imen, Nina, Andrea, Clémentine, Laëtitia, Lory, \
80
 Victoria, Noémie, Laurie, Juliette, Marion, Lena, Laura, Emilie, Anne-Laure, Claire, Imen, Nina, Andrea, Clémentine, Laëtitia, Lory, \
78
 Ophélie, Cathy, Paula, Margot, Célia, Estelle, Jade, Melody, Amira, Inès, Inès, Sarah, Kaouthar, Nausica, Jacqueline,Lina, Maeva, Lizie, \
81
 Ophélie, Cathy, Paula, Margot, Célia, Estelle, Jade, Melody, Amira, Inès, Inès, Sarah, Kaouthar, Nausica, Jacqueline,Lina, Maeva, Lizie, \
79
 Marissa, Noemie, Alessia, Marie, Luana, Rhita, Marion, Melissa, Kelly, Erika, Océane, Yasmina, Clélia, \
82
 Marissa, Noemie, Alessia, Marie, Luana, Rhita, Marion, Melissa, Kelly, Erika, Océane, Yasmina, Clélia, \
80
 Noellia, Allison, Amel, Alicia, Maeva, Camille, Alexia, Inès, Christina, Iris, Cynthia, Inès
83
 Noellia, Allison, Amel, Alicia, Maeva, Camille, Alexia, Inès, Christina, Iris, Cynthia, Inès
81
!endif
84
!endif
82
 
85
 
83
!if $slib_lang=nl
86
!if $slib_lang=nl
84
 
87
 
85
 slib_boy=Jan,Piet,Klaas,Gerard,Jonny,Sjonnie,Wim,Henk,\
88
 slib_boy=Jan,Piet,Klaas,Gerard,Jonny,\
-
 
89
 Sjonnie,Wim,Henk,Willem,Willem-Jan,\
86
 willem,Willem-Jan,Koos,Paul,Robin,Bart,Dani,Edgar,Jacob,Willem,\
90
 Koos,Paul,Robin,Bart,Dani,\
-
 
91
 Edgar,Jacob,Willem,Mohammed,Ali,\
87
 Mohammed,Ali,Joost,Johan,Karel,Martin,Hans,Frederik,Bennie,Benno,\
92
 Joost,Johan,Karel,Martin,Hans,\
-
 
93
 Frederik,Bennie,Benno,Freddy,Jelmer,\
88
 Freddy,Jelmer,Rinus,Marinus,Roderick,Simon,Anton,Ton,Tom,Nico
94
 Rinus,Marinus,Roderick,Simon,Anton,\
-
 
95
 Ton,Tom,Nico
89
 
96
 
90
 slib_girl=Marlies,Marloes,Anna,Hanna,Johanna,Aaltje,Mariska,\
97
 slib_girl=Marlies,Marloes,Anna,Hanna,Johanna,\
-
 
98
  Aaltje,Mariska,Roelie,Joke,Ellie,\
91
 Roelie,Joke,Ellie,Elli,Evelien,Vera,Kristel,Christel,Chantal,\
99
  Elli,Evelien,Vera,Kristel,Christel,\
-
 
100
  Chantal, Loeki,Aafke,Marijke,Petra,\
92
 Loeki,Aafke,Marijke,Petra,Olga,Sien,Jo,Karlijn,Katinka,Bonnie,Carolien,\
101
  Olga,Sien,Jo,Karlijn,Katinka,\
-
 
102
  Bonnie,Carolien, Anita,Hedwig,Karen,\
93
 Anita,Hedwig,Karen,Karin,Koosje,Rosa,Lidwina,Astrid,Lenie,Lena,Maria,Eva,Marijke,\
103
  Karin,Koosje,Rosa,Lidwina,Astrid,\
-
 
104
  Lenie,Lena,Maria,Eva,Marijke,\
94
 Anneke,Alie
105
  Anneke,Alie
95
!endif
106
!endif
96
 
107
 
97
!default slib_boy=Andrew, Bill, Charles, David, \
108
!default slib_boy=Andrew, Anthony, Bill, Brian, Charles,\
-
 
109
 Charlie, Christopher,Daniel, David,  Donald,\
98
 Edwin, George, Harry, Henry, Jack, James, John, \
110
 Edward, Edwin, George, Harry, Henry,\
-
 
111
 Jack, Jacob, James, Jason, Jeff,\
-
 
112
 John, Joseph, Kenneth, Kevin, Mark,\
99
 Mark, Michael, Peter, \
113
 Michael, Oliver, Oscar, Paul, Peter,\
100
 Richard, Robert, Ronald, Thomas, William
114
 Richard, Robert, Ronald, Steven, Thomas, William
-
 
115
 
-
 
116
 
-
 
117
!default slib_girl=Alice, Amelia, Anna, Ava, Barbara,\
-
 
118
 Betty, Carol, Catherine, Deborah, Diana,\
-
 
119
 Donna, Dorothy, Elisabeth, Emily, Helen,\
-
 
120
 Isla, Isabella, Jane, Jennifer, Jessica,\
-
 
121
 Karen, Kimberly, Laura, Linda,  Lisa,\
-
 
122
 Margaret, Marguerite, Maria, Marilyn, Mary,\
-
 
123
 Mia, Michelle, Nancy, Patricia, Olivia,\
-
 
124
 Rose, Ruth, Sarah, Sandra, Sharon,\
-
 
125
 Sophie, Susan, Victoria, Virginia
101
 
126
 
102
!default slib_girl=Alice, Anna, Catherine, \
-
 
103
 Diana, Elisabeth, Jane, Linda, \
-
 
104
 Marguerite, Marilyn, Mary, Nancy, \
-
 
105
 Rose, \
-
 
106
 Victoria, Virginia
-
 
107
 
127
 
108
slib_out=$empty
128
slib_out=$empty
109
!if girl iswordof $slib_genre
129
!if girl iswordof $slib_genre
110
 slib_out=!append item $slib_girl to $slib_out
130
 slib_out=!append item $slib_girl to $slib_out
111
!endif
131
!endif
112
!if boy iswordof $slib_genre
132
!if boy iswordof $slib_genre
113
 slib_out=!append item $slib_boy to $slib_out
133
 slib_out=!append item $slib_boy to $slib_out
114
!endif
134
!endif
115
slib_out=!listuniq $slib_out
135
slib_out=!listuniq $slib_out
116
slib_out=!shuffle $slib_out
136
slib_out=!shuffle $slib_out
117
slib_out=!item 1 to $slib_nb of $slib_out
137
slib_out=!item 1 to $slib_nb of $slib_out
-
 
138