Lines 102-112
Link Here
|
102 |
<th> |
102 |
<th> |
103 |
<select name="preset"> |
103 |
<select name="preset"> |
104 |
<option value="" selected>Custom</option> |
104 |
<option value="" selected>Custom</option> |
105 |
<option value="Protect">Protect</option> |
105 |
<option value="protect">Protect</option> |
106 |
<option value="Overwrite">Overwrite</option> |
106 |
<option value="overwrite">Overwrite</option> |
107 |
<option value="Add new">Add new</option> |
107 |
<option value="add">Add new</option> |
108 |
<option value="Add and append">Add and append</option> |
108 |
<option value="addappend">Add and append</option> |
109 |
<option value="Protect from deletion">Protect from deletion</option> |
109 |
<option value="protectfromdeletion">Protect from deletion</option> |
110 |
</select> |
110 |
</select> |
111 |
</th> |
111 |
</th> |
112 |
<th class="rule-operation-action-edit"> |
112 |
<th class="rule-operation-action-edit"> |
Lines 167-177
Link Here
|
167 |
<th> |
167 |
<th> |
168 |
<select name="preset"> |
168 |
<select name="preset"> |
169 |
<option value="" selected>Custom</option> |
169 |
<option value="" selected>Custom</option> |
170 |
<option value="Protect">Protect</option> |
170 |
<option value="protect">Protect</option> |
171 |
<option value="Overwrite">Overwrite</option> |
171 |
<option value="overwrite">Overwrite</option> |
172 |
<option value="Add new">Add new</option> |
172 |
<option value="add">Add new</option> |
173 |
<option value="Add and append">Add and append</option> |
173 |
<option value="addappend">Add and append</option> |
174 |
<option value="Protect from deletion">Protect from deletion</option> |
174 |
<option value="protectfromdeletion">Protect from deletion</option> |
175 |
</select> |
175 |
</select> |
176 |
</th> |
176 |
</th> |
177 |
<td class="rule-operation-action-edit"> |
177 |
<td class="rule-operation-action-edit"> |
Lines 364-394
Link Here
|
364 |
})); |
364 |
})); |
365 |
|
365 |
|
366 |
var overlay_rules_presets = {}; |
366 |
var overlay_rules_presets = {}; |
367 |
overlay_rules_presets[_("Protect")] = { |
367 |
overlay_rules_presets[_("protect")] = { |
368 |
'add': 0, |
368 |
'add': 0, |
369 |
'append': 0, |
369 |
'append': 0, |
370 |
'remove': 0, |
370 |
'remove': 0, |
371 |
'delete': 0 |
371 |
'delete': 0 |
372 |
}; |
372 |
}; |
373 |
overlay_rules_presets[_("Overwrite")] = { |
373 |
overlay_rules_presets[_("overwrite")] = { |
374 |
'add': 1, |
374 |
'add': 1, |
375 |
'append': 1, |
375 |
'append': 1, |
376 |
'remove': 1, |
376 |
'remove': 1, |
377 |
'delete': 1 |
377 |
'delete': 1 |
378 |
}; |
378 |
}; |
379 |
overlay_rules_presets[_("Add new")] = { |
379 |
overlay_rules_presets[_("add")] = { |
380 |
'add': 1, |
380 |
'add': 1, |
381 |
'append': 0, |
381 |
'append': 0, |
382 |
'remove': 0, |
382 |
'remove': 0, |
383 |
'delete': 0 |
383 |
'delete': 0 |
384 |
}; |
384 |
}; |
385 |
overlay_rules_presets[_("Add and append")] = { |
385 |
overlay_rules_presets[_("addappend")] = { |
386 |
'add': 1, |
386 |
'add': 1, |
387 |
'append': 1, |
387 |
'append': 1, |
388 |
'remove': 0, |
388 |
'remove': 0, |
389 |
'delete': 0 |
389 |
'delete': 0 |
390 |
}; |
390 |
}; |
391 |
overlay_rules_presets[_("Protect from deletion")] = { |
391 |
overlay_rules_presets[_("protectfromdeletion")] = { |
392 |
'add': 1, |
392 |
'add': 1, |
393 |
'append': 1, |
393 |
'append': 1, |
394 |
'remove': 1, |
394 |
'remove': 1, |
395 |
- |
|
|