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_class_SqlAs_id]]') {
3
    $rettraduction = '[[TB_t_strade_SqlAs_id_IT]]';
3
    $rettraduction = '[[TB_class_SqlAs_id_IT]]';
4
    $retalign = 'center';
4
    $retalign = 'center';
5
    $retwidth = '20%';
5
    $retwidth = '20%';
6
    $retmaxlen = '12';
6
    $retmaxlen = '9';
7
 
-
 
8
  }
7
  }
9
  if($curfield eq '[[TB_t_strade_SqlAs_id_settore]]') {
8
  if($curfield eq '[[TB_class_SqlAs_descshort]]') {
10
    $rettraduction = '[[TB_t_strade_SqlAs_id_settore_IT]]';
9
    $rettraduction = '[[TB_class_SqlAs_descshort_IT]]';
11
    $retalign = 'center';
10
    $retalign = 'center';
12
    $retwidth = '20%';
11
    $retwidth = '20%';
13
    $retmaxlen = '12';
12
    $retmaxlen = '30';
14
 
-
 
15
  }
13
  }
16
  if($curfield eq '[[TB_t_strade_SqlAs_km_da]]') {
14
  if($curfield eq '[[TB_class_SqlAs_permision]]') {
17
    $rettraduction = '[[TB_t_strade_SqlAs_km_da_IT]]';
15
    $rettraduction = '[[TB_class_SqlAs_permision_IT]]';
18
    $retalign = 'center';
16
    $retalign = 'center';
19
    $retwidth = '20%';
17
    $retwidth = '20%';
20
    $retmaxlen = '12';
-
 
21
 
-
 
22
  }
18
  }
23
  if($curfield eq '[[TB_t_strade_SqlAs_km_a]]') {
19
  if($curfield eq '[[TB_class_SqlAs_desclong]]') {
24
    $rettraduction = '[[TB_t_strade_SqlAs_km_a_IT]]';
20
    $rettraduction = '[[TB_class_SqlAs_desclong_IT]]';
25
    $retalign = 'center';
21
    $retalign = 'center';
26
    $retwidth = '20%';
22
    $retwidth = '20%';
27
    $retmaxlen = '12';
-
 
28
 
-
 
29
  }
23
  }
30
  if($curfield eq '[[TB_usr_SqlAs_permision]]') {
24
  if($curfield eq '[[TB_class_SqlAs_siteok]]') {
31
    $rettraduction = '[[TB_usr_SqlAs_permision_IT]]';
25
    $rettraduction = '[[TB_class_SqlAs_siteok_IT]]';
32
    $retmaxlen = '10';
26
    $retalign = 'center';
33
  }
-
 
34
  if($curfield eq '[[BT_ok]]') {
-
 
35
    $rettraduction = '[[BT_ok_IT]]';
27
    $retwidth = '20%';
36
  }
-
 
37
  if($curfield eq '[[BT_cancel]]') {
-
 
38
    $rettraduction = '[[BT_cancel_IT]]';
-
 
39
  }
-
 
40
  if($curfield eq '[[BT_delete_usr]]') {
-
 
41
    $rettraduction = '[[BT_delete_usr_IT]]';
-
 
42
  }
28
  }
43
  if($curfield eq '[[usr_profile_gestion]]') {
29
  if($curfield eq '[[TB_class_SqlAs_sitebad]]') {
44
    $rettraduction = '[[usr_profile_gestion_IT]]';
30
    $rettraduction = '[[TB_class_SqlAs_sitebad_IT]]';
-
 
31
    $retalign = 'center';
-
 
32
    $retwidth = '20%';
45
  }
33
  }
46
  if($curfield eq '[[usr_profile_teacher]]') {
34
  if($curfield eq '[[TB_class_SqlAs_sitefm]]') {
47
    $rettraduction = '[[usr_profile_teacher_IT]]';
35
    $rettraduction = '[[TB_class_SqlAs_sitefm_IT]]';
-
 
36
    $retalign = 'center';
-
 
37
    $retwidth = '20%';
48
  }
38
  }
49
  if($curfield eq '[[usr_profile_admin]]') {
39
  if($curfield eq '[[BT_delete_class]]') {
50
    $rettraduction = '[[usr_profile_admin_IT]]';
40
    $rettraduction = '[[BT_delete_class_IT]]';
51
  }
41
  }
52
  if($curfield eq '[[usr_profile_student]]') {
42
  if($curfield eq '[[F2_class_TIT2_teachers]]') {
53
    $rettraduction = '[[usr_profile_student_IT]]';
43
    $rettraduction = '[[F2_class_TIT2_teachers_IT]]';
54
  }
44
  }
55
  if($curfield eq '[[FM_strada_TIT2_info]]') {
45
  if($curfield eq '[[F2_class_TIT2_students]]') {
56
    $rettraduction = '[[FM_strada_TIT2_info_IT]]';
46
    $rettraduction = '[[F2_class_TIT2_students_IT]]';
57
  }
47
  }
58
  if($curfield eq '[[FM_strada_TIT2_address]]') {
48
  if($curfield eq '[[F2_class_TIT2_info]]') {
59
    $rettraduction = '[[FM_strada_TIT2_address_IT]]';
49
    $rettraduction = '[[F2_class_TIT2_info_IT]]';
60
  }
50
  }
61
  if($cursetting eq 'traduction') {
51
  if($cursetting eq 'traduction') {
62
    return($rettraduction);
52
    return($rettraduction);
63
  }
53
  }
64
  if($cursetting eq 'align') {
54
  if($cursetting eq 'align') {