Subversion Repositories wimsdev

Rev

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

Rev 16091 Rev 16094
Line 48... Line 48...
48
          !else
48
          !else
49
            $name_danger.
49
            $name_danger.
50
          !endif
50
          !endif
51
        </li>
51
        </li>
52
      !endif
52
      !endif
53
      !let list=!listintersect user,doc,exo,sheet,exam,forum,motd,userphoto,tool and $gotlist
53
      !let list=!listintersect user,doc,exo,sheet,exam,forum,motd,userphoto,tool,freework and $gotlist
54
      !for type in $list
54
      !for type in $list
55
        <li>
55
        <li>
56
          !if $(sharing_$type)=$empty and $type notitemof $forbiddenlistdep
56
          !if $(sharing_$type)=$empty and $type notitemof $forbiddenlistdep
57
            <input type="checkbox" name="selection" id="restore_$type" value="$type" />
57
            <input type="checkbox" name="selection" id="restore_$type" value="$type" />
58
          !endif
58
          !endif
59
          <label for="restore_$type"><strong>$(new_$(type)cnt)</strong> $(name_$type).</label>
59
          <label for="restore_$type"><strong>$(new_$(type)cnt)</strong> $(name_$type).</label>
60
          !if $(sharing_$type)!=$empty
60
          !if $(sharing_$type)!=$empty
61
            $name_no_restore
61
            $name_no_restore
62
          !else
62
          !else
63
            !if $type isitemof $forbiddenlistdep  
63
            !if $type isitemof $forbiddenlistdep
64
              !if $type notitemof $forbiddenlist
64
              !if $type notitemof $forbiddenlist
65
                $name_dependance
65
                $name_dependance
66
              !else
66
              !else
67
                $name_limit_exceed
67
                $name_limit_exceed
68
              !endif
68
              !endif
69
            !else
69
            !else
-
 
70
              $(name_$(type)0)
70
              <span class="small">($(name_$(type)1) : $(old_$(type)cnt))</span>.
71
              <span class="small">($(name_$(type)1) : $(old_$(type)cnt))</span>.
71
            !endif
72
            !endif
72
          !endif
73
          !endif
73
        </li>
74
        </li>
74
      !next type
75
      !next type
Line 91... Line 92...
91
        <li>
92
        <li>
92
          !if manual notitemof $forbiddenlistdep
93
          !if manual notitemof $forbiddenlistdep
93
            <input type="checkbox" name="selection" id="restore_manual" value="manual" />
94
            <input type="checkbox" name="selection" id="restore_manual" value="manual" />
94
          !endif
95
          !endif
95
          <label for="restore_manual">$new_manualcnt $name_manual.</label>
96
          <label for="restore_manual">$new_manualcnt $name_manual.</label>
96
          !if manual isitemof $forbiddenlistdep  
97
          !if manual isitemof $forbiddenlistdep
97
              !if manual notitemof $forbiddenlist
98
              !if manual notitemof $forbiddenlist
98
                $name_dependance
99
                $name_dependance
99
              !else
100
              !else
100
                $name_limit_exceed
101
                $name_limit_exceed
101
              !endif
102
              !endif
Line 118... Line 119...
118
        <li>
119
        <li>
119
          !if livret notitemof $forbiddenlistdep
120
          !if livret notitemof $forbiddenlistdep
120
            <input type="checkbox" name="selection" id="restore_livret" value="livret" />
121
            <input type="checkbox" name="selection" id="restore_livret" value="livret" />
121
          !endif
122
          !endif
122
          <label for="restore_livret">$name_livret.</label>
123
          <label for="restore_livret">$name_livret.</label>
123
          !if livret isitemof $forbiddenlistdep  
124
          !if livret isitemof $forbiddenlistdep
124
              !if livret notitemof $forbiddenlist
125
              !if livret notitemof $forbiddenlist
125
                $name_dependance
126
                $name_dependance
126
              !else
127
              !else
127
                $name_limit_exceed
128
                $name_limit_exceed
128
              !endif
129
              !endif
Line 137... Line 138...
137
        <li>
138
        <li>
138
          !if seq notitemof $forbiddenlistdep
139
          !if seq notitemof $forbiddenlistdep
139
            <input type="checkbox" name="selection" id="restore_seq" value="seq" />
140
            <input type="checkbox" name="selection" id="restore_seq" value="seq" />
140
          !endif
141
          !endif
141
          <label for="restore_seq">$name_seq.</label>
142
          <label for="restore_seq">$name_seq.</label>
142
          !if seq isitemof $forbiddenlistdep  
143
          !if seq isitemof $forbiddenlistdep
143
              !if seq notitemof $forbiddenlist
144
              !if seq notitemof $forbiddenlist
144
                $name_dependance
145
                $name_dependance
145
              !else
146
              !else
146
                $name_limit_exceed
147
                $name_limit_exceed
147
              !endif
148
              !endif