Subversion Repositories cms

Rev

Rev 15 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15 Rev 18
Line 1... Line 1...
1
<%perl>
1
<%perl>
2
  if($curfield eq '[[TB_t_strade_SqlAs_id]]') {
2
  if($curfield eq '[[TB_usr_SqlAs_id]]') {
3
    $rettraduction = '[[TB_t_strade_SqlAs_id_IT]]';
3
    $rettraduction = '[[TB_usr_SqlAs_id_IT]]';
4
    $retalign = 'center';
4
    $retalign = 'center';
5
    $retwidth = '20%';
5
    $retwidth = '20%';
6
    $retmaxlen = '12';
6
    $retmaxlen = '12';
7
 
7
 
8
  }
8
  }
9
  if($curfield eq '[[TB_t_strade_SqlAs_cod_servizio]]') {
9
  if($curfield eq '[[TB_usr_SqlAs_name]]') {
10
    $rettraduction = '[[TB_t_strade_SqlAs_cod_servizio_IT]]';
10
    $rettraduction = '[[TB_usr_SqlAs_name_IT]]';
11
    $retalign = 'center';
11
    $retalign = 'center';
12
    $retwidth = '20%';
12
    $retwidth = '20%';
13
    $retmaxlen = '12';
13
    $retmaxlen = '35';
14
 
-
 
15
  }
-
 
16
  if($curfield eq '[[TB_t_strade_SqlAs_denominazione]]') {
-
 
17
    $rettraduction = '[[TB_t_strade_SqlAs_denominazione_IT]]';
-
 
18
    $retalign = 'center';
-
 
19
    $retwidth = '20%';
-
 
20
    $retmaxlen = '12';
-
 
21
 
-
 
22
  }
-
 
23
  if($curfield eq '[[TB_t_strade_SqlAs_tipo]]') {
-
 
24
    $rettraduction = '[[TB_t_strade_SqlAs_tipo_IT]]';
-
 
25
    $retalign = 'center';
-
 
26
    $retwidth = '20%';
-
 
27
    $retmaxlen = '12';
-
 
28
 
-
 
29
  }
-
 
30
  if($curfield eq '[[TB_t_strade_SqlAs_lunghezza]]') {
-
 
31
    $rettraduction = '[[TB_t_strade_SqlAs_lunghezza_IT]]';
-
 
32
    $retalign = 'center';
-
 
33
    $retwidth = '20%';
-
 
34
    $retmaxlen = '12';
-
 
35
 
-
 
36
  }
-
 
37
  if($curfield eq '[[TB_t_strade_SqlAs_nstrada]]') {
-
 
38
    $rettraduction = '[[TB_t_strade_SqlAs_nstrada_IT]]';
-
 
39
    $retalign = 'center';
-
 
40
    $retwidth = '20%';
-
 
41
    $retmaxlen = '12';
-
 
42
 
-
 
43
  }
-
 
44
  if($curfield eq '[[TB_t_strade_SqlAs_progressiva_i]]') {
-
 
45
    $rettraduction = '[[TB_t_strade_SqlAs_progressiva_i_IT]]';
-
 
46
    $retalign = 'center';
-
 
47
    $retwidth = '20%';
-
 
48
    $retmaxlen = '12';
-
 
49
 
14
 
50
  }
15
  }
51
  if($curfield eq '[[TB_t_strade_SqlAs_localita_i]]') {
16
  if($curfield eq '[[TB_usr_SqlAs_cognome]]') {
52
    $rettraduction = '[[TB_t_strade_SqlAs_localita_i_IT]]';
17
    $rettraduction = '[[TB_usr_SqlAs_cognome_IT]]';
53
    $retalign = 'center';
18
    $retalign = 'center';
54
    $retwidth = '20%';
19
    $retwidth = '20%';
55
    $retmaxlen = '12';
20
    $retmaxlen = '35';
56
 
21
 
57
  }
22
  }
58
  if($curfield eq '[[TB_t_strade_SqlAs_progressiva_f]]') {
23
  if($curfield eq '[[TB_usr_SqlAs_tel]]') {
59
    $rettraduction = '[[TB_t_strade_SqlAs_progressiva_f_IT]]';
24
    $rettraduction = '[[TB_usr_SqlAs_tel_IT]]';
60
    $retalign = 'center';
25
    $retalign = 'center';
61
    $retwidth = '20%';
26
    $retwidth = '20%';
62
    $retmaxlen = '12';
27
    $retmaxlen = '20';
63
 
28
 
64
  }
29
  }
65
  if($curfield eq '[[TB_t_strade_SqlAs_localita_f]]') {
30
  if($curfield eq '[[TB_usr_SqlAs_tel2]]') {
66
    $rettraduction = '[[TB_t_strade_SqlAs_localita_f_IT]]';
31
    $rettraduction = '[[TB_usr_SqlAs_tel2_IT]]';
67
    $retalign = 'center';
-
 
68
    $retwidth = '20%';
-
 
69
    $retmaxlen = '12';
32
    $retmaxlen = '20';
70
 
33
 
71
  }
34
  }
72
  if($curfield eq '[[TB_t_strade_SqlAs_pendenza_max]]') {
35
  if($curfield eq '[[TB_usr_SqlAs_creation]]') {
73
    $rettraduction = '[[TB_t_strade_SqlAs_pendenza_max_IT]]';
36
    $rettraduction = '[[TB_usr_SqlAs_creation_IT]]';
74
    $retalign = 'center';
37
    $retalign = 'center';
75
    $retwidth = '20%';
38
    $retwidth = '20%';
76
    $retmaxlen = '12';
-
 
77
 
-
 
78
  }
39
  }
79
  if($curfield eq '[[TB_t_strade_SqlAs_larghezza_min]]') {
40
  if($curfield eq '[[TB_usr_SqlAs_profile]]') {
80
    $rettraduction = '[[TB_t_strade_SqlAs_larghezza_min_IT]]';
41
    $rettraduction = '[[TB_usr_SqlAs_profile_IT]]';
81
    $retalign = 'center';
42
    $retalign = 'center';
82
    $retwidth = '20%';
43
    $retwidth = '20%';
83
    $retmaxlen = '12';
44
    $retmaxlen = '20';
84
 
45
 
85
  }
46
  }
86
  if($curfield eq '[[TB_t_strade_SqlAs_raggio_curv_min]]') {
47
  if($curfield eq '[[TB_usr_SqlAs_password]]') {
87
    $rettraduction = '[[TB_t_strade_SqlAs_raggio_curv_min_IT]]';
48
    $rettraduction = '[[TB_usr_SqlAs_password_IT]]';
88
    $retalign = 'center';
49
    $retmaxlen = '8';
-
 
50
 }
-
 
51
  if($curfield eq '[[TB_usr_SqlAs_zip]]') {
89
    $retwidth = '20%';
52
    $rettraduction = '[[TB_usr_SqlAs_zip_IT]]';
90
    $retmaxlen = '12';
53
    $retmaxlen = '5';
91
 
-
 
92
  }
54
  }
93
  if($curfield eq '[[TB_t_strade_SqlAs_pendenza_media]]') {
55
  if($curfield eq '[[TB_usr_SqlAs_status]]') {
94
    $rettraduction = '[[TB_t_strade_SqlAs_pendenza_media_IT]]';
56
    $rettraduction = '[[TB_usr_SqlAs_status_IT]]';
95
    $retalign = 'center';
-
 
96
    $retwidth = '20%';
-
 
97
    $retmaxlen = '12';
57
    $retmaxlen = '10';
98
 
58
 
99
  }
59
  }
100
  if($curfield eq '[[TB_t_strade_SqlAs_larghezza_media]]') {
60
  if($curfield eq '[[TB_usr_SqlAs_street]]') {
101
    $rettraduction = '[[TB_t_strade_SqlAs_larghezza_media_IT]]';
61
    $rettraduction = '[[TB_usr_SqlAs_street_IT]]';
102
    $retalign = 'center';
-
 
103
    $retwidth = '20%';
-
 
104
    $retmaxlen = '12';
62
    $retmaxlen = '35';
105
 
63
 
106
  }
64
  }
107
  if($curfield eq '[[TB_t_strade_SqlAs_raggio_curv_medio]]') {
65
  if($curfield eq '[[TB_usr_SqlAs_streetnumber]]') {
108
    $rettraduction = '[[TB_t_strade_SqlAs_raggio_curv_medio_IT]]';
66
    $rettraduction = '[[TB_usr_SqlAs_streetnumber_IT]]';
109
    $retalign = 'center';
-
 
110
    $retwidth = '20%';
-
 
111
    $retmaxlen = '12';
67
    $retmaxlen = '15';
112
 
-
 
113
  }
68
  }
114
  if($curfield eq '[[TB_t_strade_SqlAs_coordinata_x]]') {
69
  if($curfield eq '[[TB_usr_SqlAs_locality]]') {
115
    $rettraduction = '[[TB_t_strade_SqlAs_coordinata_x_IT]]';
70
    $rettraduction = '[[TB_usr_SqlAs_locality_IT]]';
116
    $retalign = 'center';
-
 
117
    $retwidth = '20%';
-
 
118
    $retmaxlen = '12';
71
    $retmaxlen = '15';
119
 
-
 
120
  }
72
  }
121
  if($curfield eq '[[TB_t_strade_SqlAs_coordinata_y]]') {
73
  if($curfield eq '[[TB_usr_SqlAs_province]]') {
122
    $rettraduction = '[[TB_t_strade_SqlAs_coordinata_y_IT]]';
74
    $rettraduction = '[[TB_usr_SqlAs_province_IT]]';
123
    $retalign = 'center';
-
 
124
    $retwidth = '20%';
-
 
125
    $retmaxlen = '12';
75
    $retmaxlen = '15';
126
 
-
 
127
  }
76
  }
128
  if($curfield eq '[[TB_t_strade_SqlAs_data_1_acquisizione]]') {
-
 
129
    $rettraduction = '[[TB_t_strade_SqlAs_data_1_acquisizione_IT]]';
-
 
130
    $retalign = 'center';
-
 
131
    $retwidth = '20%';
-
 
132
    $retmaxlen = '12';
-
 
133
 
-
 
134
  }
-
 
135
  if($curfield eq '[[TB_t_strade_SqlAs_agg_strada]]') {
77
  if($curfield eq '[[TB_usr_SqlAs_obs]]') {
136
    $rettraduction = '[[TB_t_strade_SqlAs_agg_strada_IT]]';
78
    $rettraduction = '[[TB_usr_SqlAs_obs_IT]]';
137
    $retalign = 'center';
-
 
138
    $retwidth = '20%';
-
 
139
    $retmaxlen = '12';
79
    $retmaxlen = '50';
140
 
-
 
141
  }
80
  }
142
  if($curfield eq '[[TB_stradexsettore_SqlAs_id_settore]]') {
81
  if($curfield eq '[[FM_student_USRCLASS]]') {
143
    $rettraduction = '[[TB_stradexsettore_SqlAs_id_settore_IT]]';
82
    $rettraduction = '[[FM_student_USRCLASS_IT]]';
144
    $retalign = 'center';
-
 
145
    $retwidth = '20%';
-
 
146
    $retmaxlen = '12';
-
 
147
 
-
 
148
  }
83
  }
149
  if($curfield eq '[[TB_stradexsettore_SqlAs_km_da]]') {
-
 
150
    $rettraduction = '[[TB_stradexsettore_SqlAs_km_da_IT]]';
-
 
151
    $retalign = 'center';
-
 
152
    $retwidth = '20%';
-
 
153
    $retmaxlen = '12';
-
 
154
 
-
 
155
  }
-
 
156
  if($curfield eq '[[TB_stradexsettore_SqlAs_km_a]]') {
84
  if($curfield eq '[[FM_student_TEACHERCLASS]]') {
157
    $rettraduction = '[[TB_stradexsettore_SqlAs_km_a_IT]]';
85
    $rettraduction = '[[FM_student_TEACHERCLASS_IT]]';
158
    $retalign = 'center';
-
 
159
    $retwidth = '20%';
-
 
160
    $retmaxlen = '12';
-
 
161
 
-
 
162
  }
86
  }
163
  if($curfield eq '[[TB_usr_SqlAs_permision]]') {
87
  if($curfield eq '[[TB_usr_SqlAs_permision]]') {
164
    $rettraduction = '[[TB_usr_SqlAs_permision_IT]]';
88
    $rettraduction = '[[TB_usr_SqlAs_permision_IT]]';
165
    $retmaxlen = '10';
89
    $retmaxlen = '10';
166
  }
90
  }
Line 183... Line 107...
183
    $rettraduction = '[[usr_profile_admin_IT]]';
107
    $rettraduction = '[[usr_profile_admin_IT]]';
184
  }
108
  }
185
  if($curfield eq '[[usr_profile_student]]') {
109
  if($curfield eq '[[usr_profile_student]]') {
186
    $rettraduction = '[[usr_profile_student_IT]]';
110
    $rettraduction = '[[usr_profile_student_IT]]';
187
  }
111
  }
188
  if($curfield eq '[[FM_strada_TIT2_info]]') {
112
  if($curfield eq '[[FM_student_TIT2_info]]') {
189
    $rettraduction = '[[FM_strada_TIT2_info_IT]]';
113
    $rettraduction = '[[FM_student_TIT2_info_IT]]';
190
  }
114
  }
191
  if($curfield eq '[[FM_strada_TIT2_settore]]') {
115
  if($curfield eq '[[FM_student_TIT2_address]]') {
192
    $rettraduction = '[[FM_strada_TIT2_settore_IT]]';
116
    $rettraduction = '[[FM_student_TIT2_address_IT]]';
193
  }
117
  }
194
  if($cursetting eq 'traduction') {
118
  if($cursetting eq 'traduction') {
195
    return($rettraduction);
119
    return($rettraduction);
196
  }
120
  }
197
  if($cursetting eq 'align') {
121
  if($cursetting eq 'align') {