-
Notifications
You must be signed in to change notification settings - Fork 0
/
shortstory-template-switch.xml
481 lines (324 loc) · 20.3 KB
/
shortstory-template-switch.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
<?xml version="1.0" encoding="utf-8"?>
<dleplugin>
<name>Switch shortstory template</name>
<description>Ajax переключение шаблонов кратких новостей.</description>
<icon></icon>
<version></version>
<dleversion>14.0</dleversion>
<versioncompare>greater</versioncompare>
<upgradeurl></upgradeurl>
<filedelete>0</filedelete>
<needplugin></needplugin>
<mnotice>1</mnotice>
<mysqlinstall><![CDATA[]]></mysqlinstall>
<mysqlupgrade><![CDATA[]]></mysqlupgrade>
<mysqlenable><![CDATA[]]></mysqlenable>
<mysqldisable><![CDATA[]]></mysqldisable>
<mysqldelete><![CDATA[]]></mysqldelete>
<phpinstall><![CDATA[]]></phpinstall>
<phpupgrade><![CDATA[]]></phpupgrade>
<phpenable><![CDATA[]]></phpenable>
<phpdisable><![CDATA[]]></phpdisable>
<phpdelete><![CDATA[]]></phpdelete>
<notice><![CDATA[Перечисление суффиксов шаблонов делается в переменной $template в виде ($suffix_template => text\icon). Переменная находится в первой правке файла functions.php в классе templateSwitcher. По умолчанию установлено два варианта один по умолчанию второй компактный стиль.
Для каждой кнопки должны быть созданы файлы tpl кратких новостей с именем shortstory_suffix.tpl
В правках файла main.php в переменной $onload_scripts[] находится js код обработчика переключателя.
Автор: @TeraMoune]]></notice>
<file name="engine/modules/functions.php">
<operation action="before">
<searchcode><![CDATA[function dle_session( $sid = false ) {]]></searchcode>
<replacecode><![CDATA[abstract class templateSwitcher {
private static $template = array(
'default' => '<svg class="icon" viewBox="0 0 24 24"><path d="M11.991 10.247h-10.035c-1.171 0-1.954-0.777-1.954-1.948v-4.247c-0.001-0.024-0.002-0.053-0.002-0.082 0-1.021 0.828-1.849 1.849-1.849 0.029 0 0.057 0.001 0.086 0.002l-0.004-0h20.138c0.024-0.001 0.053-0.002 0.082-0.002 1.021 0 1.849 0.828 1.849 1.849 0 0.029-0.001 0.057-0.002 0.086l0-0.004v4.29c0 1.11-0.795 1.905-1.899 1.905h-10.109zM12.003 21.879h-10.060c-1.153 0-1.942-0.783-1.942-1.942v-4.265c-0.001-0.021-0.001-0.045-0.001-0.069 0-1.021 0.828-1.849 1.849-1.849 0.024 0 0.048 0 0.073 0.001l-0.003-0h20.162c0.022-0.001 0.049-0.002 0.075-0.002 1.018 0 1.843 0.825 1.843 1.843 0 0.024-0 0.049-0.001 0.073l0-0.003v4.315c0 1.097-0.801 1.892-1.892 1.899h-10.103z"/></svg>',
'thumb' => '<svg class="icon" enable-background="new 0 0 32 32" viewBox="4 4 25 25" xml:space="preserve"><g><path d="M15.42,7.221c0-0.951-0.771-1.721-1.721-1.721H6.729c-0.951,0-1.721,0.771-1.721,1.721v6.103 c0,0.951,0.771,1.721,1.721,1.721h6.971c0.951,0,1.721-0.771,1.721-1.721V7.221z"/><path d="M27.742,7.221c0-0.951-0.77-1.721-1.721-1.721h-6.971c-0.951,0-1.721,0.771-1.721,1.721v6.103 c0,0.951,0.77,1.721,1.721,1.721h6.971c0.951,0,1.721-0.771,1.721-1.721V7.221z"/><path d="M15.42,18.676c0-0.951-0.771-1.721-1.721-1.721H6.729c-0.951,0-1.721,0.77-1.721,1.721v6.104 c0,0.95,0.771,1.721,1.721,1.721h6.971c0.951,0,1.721-0.771,1.721-1.721V18.676z"/><path d="M27.742,18.676c0-0.951-0.77-1.721-1.721-1.721h-6.971c-0.951,0-1.721,0.77-1.721,1.721v6.104 c0,0.95,0.77,1.721,1.721,1.721h6.971c0.951,0,1.721-0.771,1.721-1.721V18.676z"/></g></svg>'
);
private static $change_tpl_mod = array('main', 'cat', 'xfsearch');
private static $default_suffix = 'default';
public static function show_button( $custom_hash = false ) {
$switcher_array = array();
$switcher = '';
$_current = self::get_suffix($custom_hash);
foreach( self::$template as $key => $val ) {
$attr = array();
if( $_current == $key ) $attr[] = 'class="current"';
if( $custom_hash ) {
$attr[] = 'onclick="customSwitch(\''.$custom_hash.'\', \''.$key.'\'); return false;"';
$attr[] = 'data-custom-tplSwitcher="'.$custom_hash.'"';
}
$attr[] = 'data-template="'.$key.'"';
$attribute = implode(' ', $attr);
$switcher_array[] = '<a href="#" '.$attribute.'>'.$val.'</a>';
}
if( count($switcher_array) ) {
$switcher = implode(' | ', $switcher_array);
$switcher = <<<HTML
<div class="template-switcher">
<div>{$switcher}</div>
</div>
HTML;
}
return $switcher;
}
public static function get_suffix( $custom_hash = false ) {
$suffix = self::$default_suffix;
if( $custom_hash AND isset($_COOKIE['short_template_'.$custom_hash]) ) {
$suffix = totranslit($_COOKIE['short_template_'.$custom_hash]);
} elseif( !$custom_hash AND isset($_COOKIE['short_template']) ) {
$suffix = totranslit($_COOKIE['short_template']);
}
if( !isset( self::$template[$suffix] ) ) $suffix = self::$default_suffix;
return $suffix;
}
public static function get_tpl( $ajax = false ) {
$suffix = self::get_suffix();
$tpl = ( $suffix == 'default' OR !self::allow_switch($ajax) ) ? 'shortstory.tpl' : 'shortstory_'.$suffix.'.tpl';
return $tpl;
}
public static function allow_switch( $ajax = false ) {
global $dle_module;
if( $ajax ) {
if( count(self::$template) > 1 ) return true;
} else {
if( count(self::$template) > 1 AND in_array($dle_module, self::$change_tpl_mod) ) return true;
}
return false;
}
}]]></replacecode>
<enabled>1</enabled>
</operation>
</file>
<file name="engine/modules/main.php">
<operation action="after">
<searchcode><![CDATA[$tpl->set ( '{speedbar}', $tpl->result['speedbar'] );]]></searchcode>
<replacecode><![CDATA[$_suffix_tpl = templateSwitcher::get_suffix();
if( templateSwitcher::allow_switch() ) {
$_main_shortButton = templateSwitcher::show_button();
$onload_scripts[] = <<<HTML
$(".template-switcher a[data-template]").click(function(){
if( $(this).hasClass('current') ) return false;
$(this).addClass('current').siblings().removeClass('current');
let new_templ = $(this).data('template');
//Объект куда вставлять разметку ответа.
let content_block = $('#content').find('.left-content > div').eq(0);
setcookie('short_template', new_templ);
ShowLoading();
$.post(dle_root + "engine/ajax/controller.php?mod=change_template", {user_hash: dle_login_hash}, function(response) {
if( response.success ) {
content_block.html(response.returnbox);
content_block.append(response.navigation);
} else {
DLEAlert('Ошибка', 'Так-вот');
}
HideLoading();
}, 'json');
return false;
});
HTML;
$tpl->set ( '{switcherButton}', $_main_shortButton);
} else $tpl->set ( '{switcherButton}', '');
$tpl->set ( '{templates-class}', $_suffix_tpl);]]></replacecode>
<enabled>1</enabled>
</operation>
</file>
<file name="engine/modules/show.short.php">
<operation action="replace">
<searchcode><![CDATA[( 'shortstory.tpl' )]]></searchcode>
<replacecode><![CDATA[( $_tpl )]]></replacecode>
<enabled>1</enabled>
</operation>
</file>
<file name="engine/ajax/change_template.php">
<operation action="create">
<replacecode><![CDATA[<?php
if(!defined('DATALIFEENGINE')) {
header( "HTTP/1.1 403 Forbidden" );
header ( 'Location: ../../' );
die( "Hacking attempt!" );
}
$func_nav = ' onclick="return nav.go(this.href);" ';
$func_nav_top = ' onclick="return nav.go(this.href, 1);" ';
$custom_navigation = true;
$_tpl = templateSwitcher::get_tpl(true);
if( $config['image_lazy'] ) $config['image_lazy'] = 0;
if( !version_compare($config['version_id'], 15, ">=") ) {
require_once (DLEPlugins::Check(ENGINE_DIR . '/classes/templates.class.php'));
}
$tpl = new dle_template( );
$tpl->dir = ROOT_DIR . '/templates/' . $config['skin'];
define( 'TEMPLATE_DIR', $tpl->dir );
if( function_exists('favorites_list') ) {
$favorites_type = get_vars ( "favorites_type" );
if ( !is_array( $favorites_type ) ) {
$favorites_type = array ();
$fav_t = $db->super_query( "SELECT * FROM " . PREFIX . "_favorites_list WHERE 1 ORDER BY id ASC", true);
foreach( $fav_t as $val ) {
$favorites_type[$val['id']] = array('id' => $val['class_id'], 'name' => $val['name'], 'section' => $val['section']);
}
set_vars ( "favorites_type", $favorites_type );
}
fav_loadData();
}
$collections_select = "";
if( function_exists('show_collections') ) {
$collections_select = ", p.collections";
$collections_info = get_vars ( "collections" );
if (!is_array ( $collections_info )) {
$collections_info = array ();
$db->query ( "SELECT id, user_name, name, alt_url, descr, num_elem, news_read, news_comm, news_vote, news_rating, date, create_date, cover, news_ids, current_tags, current_xfields FROM " . PREFIX . "_news_collections ORDER BY id ASC" );
while ( $row = $db->get_row () ) {
$collections_info[$row['id']] = array ();
foreach ( $row as $key => $value ) {
$collections_info[$row['id']][$key] = stripslashes ( $value );
}
}
set_vars ( "collections", $collections_info );
$db->free ();
}
}
$url = (isset($_SERVER['HTTP_REFERER']) AND is_string($_SERVER['HTTP_REFERER'])) ? parse_url($_SERVER['HTTP_REFERER']) : false;
if( $config['allow_alt_url'] ) {
if( preg_match('/page\/(\d+)/i', $url['path'], $cstart) ) {
$url['path'] = preg_replace('/page\/(\d+)\/?/i', '', $url['path']);
}
$url['path'] = trim($url['path'], '/');
if( $url['path'] ) $category[1] = $url['path'];
} else {
preg_match('/cstart=(\d+)/i', $url['query'], $cstart);
preg_match('/category=(.*)/i', $url['query'], $category);
}
if ($category[1] != '') $category_id = get_ID( $cat_info, $category[1] );
else $category_id = false;
$cstart = (isset($cstart[1]) && is_numeric($cstart[1])) ? intval($cstart[1]) : 0;
$allow_active_news = true;
$thisdate = date ( "Y-m-d H:i:s", time () );
if ($config['no_date'] AND !$config['news_future']) $where_date = " AND date < '" . $thisdate . "'";
else $where_date = "";
if ($config['allow_fixed']) $fixed = "fixed desc, ";
else $fixed = "";
$allow_list = explode ( ',', $user_group[$member_id['user_group']]['allow_cats'] );
$stop_list = "";
$cat_join = "";
$cat_join_count = "";
$news_sort_by = ($config['news_sort']) ? $config['news_sort'] : "date";
$news_direction_by = ($config['news_msort']) ? $config['news_msort'] : "DESC";
$start_news = $config['news_number'];
if ($cstart) {
$start_news = $cstart * $config['news_number'];
$cstart = $cstart - 1;
$cstart = $cstart * $config['news_number'];
}
if( $category_id ) {
$allow_sub_cats = true;
if (!$category_id) $category_id = 'not detected';
if ($allow_list[0] != "all") {
if (!$user_group[$member_id['user_group']]['allow_short'] AND !in_array( $category_id, $allow_list )) $category_id = 'not detected';
}
if ($not_allow_cats[0] != "") {
if (!$user_group[$member_id['user_group']]['allow_short'] AND in_array( $category_id, $not_allow_cats )) $category_id = 'not detected';
}
if ( $cat_info[$category_id]['show_sub'] ) {
if ( $cat_info[$category_id]['show_sub'] == 1 ) $get_cats = get_sub_cats ( $category_id );
else { $get_cats = $category_id; $allow_sub_cats = false; }
} else {
if ( $config['show_sub_cats'] ) $get_cats = get_sub_cats ( $category_id );
else { $get_cats = $category_id; $allow_sub_cats = false; }
}
if ($cat_info[$category_id]['news_sort']) $news_sort_by = $cat_info[$category_id]['news_sort'];
if ($cat_info[$category_id]['news_msort']) $news_direction_by = $cat_info[$category_id]['news_msort'];
if ($cat_info[$category_id]['news_number']) $config['news_number'] = $cat_info[$category_id]['news_number'];
$url_page = $config['http_home_url'] . get_url ( $category_id );
$user_query = "do=cat&category=" . $cat_info[$category_id]['alt_name'];
if( $config['allow_alt_url'] ) $canonical = $url_page . "/"; else $canonical = $PHP_SELF."?do=cat&category=" . $cat_info[$category_id]['alt_name'];
if ($config['allow_multi_category']) {
$get_cats = str_replace ( "|", "','", $get_cats );
$join_category = "INNER JOIN (SELECT DISTINCT(" . PREFIX . "_post_extras_cats.news_id) FROM " . PREFIX . "_post_extras_cats WHERE cat_id IN ('" . $get_cats . "')) c ON (p.id=c.news_id) ";
$where_category = "";
} else {
if ( $allow_sub_cats ) {
$get_cats = str_replace ( "|", "','", $get_cats );
$where_category = "category IN ('" . $get_cats . "') AND ";
} else {
$where_category = "category = '{$get_cats}' AND ";
}
$join_category = "";
}
if (isset ( $_SESSION['dle_sort_cat_'.$category_id] )) $news_sort_by = $_SESSION['dle_sort_cat_'.$category_id];
if (isset ( $_SESSION['dle_direction_cat_'.$category_id] )) $news_direction_by = $_SESSION['dle_direction_cat_'.$category_id];
$sql_select = "SELECT p.id, p.autor, p.date, p.short_story, CHAR_LENGTH(p.full_story) as full_story, p.xfields, p.title, p.category, p.alt_name, p.comm_num, p.allow_comm, p.fixed, p.tags, e.news_read, e.allow_rate, e.rating, e.vote_num, e.votes, e.view_edit, e.editdate, e.editor, e.reason FROM " . PREFIX . "_post p {$join_category}LEFT JOIN " . PREFIX . "_post_extras e ON (p.id=e.news_id) WHERE {$where_category}approve=1" . $where_date . " ORDER BY " . $fixed . $news_sort_by . " " . $news_direction_by . " LIMIT " . $cstart . "," . $start_news;
$sql_count = "SELECT COUNT(*) as count FROM " . PREFIX . "_post p {$join_category}WHERE {$where_category}approve=1" . $where_date;
} else {
$config['news_number'] = intval ( $config['news_number'] );
if ( $smartphone_detected AND $config['mobile_news'] ) $config['news_number'] = intval ( $config['mobile_news'] );
if ($allow_list[0] != "all") {
if ($config['allow_multi_category']) {
$cat_join = "INNER JOIN (SELECT DISTINCT(" . PREFIX . "_post_extras_cats.news_id) FROM " . PREFIX . "_post_extras_cats WHERE cat_id IN (" . implode ( ',', $allow_list ) . ")) c ON (p.id=c.news_id) ";
$cat_join_count = "p ".$cat_join;
} else {
$stop_list = "category IN ('" . implode ( "','", $allow_list ) . "') AND ";
}
}
$not_allow_cats = explode ( ',', $user_group[$member_id['user_group']]['not_allow_cats'] );
if( $not_allow_cats[0] != "" ) {
if ($config['allow_multi_category']) {
$stop_list = "p.id NOT IN ( SELECT DISTINCT(" . PREFIX . "_post_extras_cats.news_id) FROM " . PREFIX . "_post_extras_cats WHERE cat_id IN (" . implode ( ',', $not_allow_cats ) . ") ) AND ";
$cat_join_count = "p ";
} else {
$stop_list = "category NOT IN ('" . implode ( "','", $not_allow_cats ) . "') AND ";
}
}
if ($user_group[$member_id['user_group']]['allow_short']) { $stop_list = ""; $cat_join = ""; $cat_join_count = ""; }
$sql_select = "SELECT p.id, p.autor, p.date, p.short_story, CHAR_LENGTH(p.full_story) as full_story, p.full_story as full_story_text, p.xfields, p.title, p.category, p.alt_name, p.comm_num, p.allow_comm, p.fixed, p.tags{$collections_select}, e.news_read, e.allow_rate, e.rating, e.vote_num, e.votes, e.view_edit, e.editdate, e.editor, e.reason FROM " . PREFIX . "_post p {$cat_join}LEFT JOIN " . PREFIX . "_post_extras e ON (p.id=e.news_id) WHERE {$stop_list}approve=1 AND allow_main=1" . $where_date . " ORDER BY " . $fixed . $news_sort_by . " " . $news_direction_by . " LIMIT " . $cstart . "," . $config['news_number'];
$sql_count = "SELECT COUNT(*) as count FROM " . PREFIX . "_post {$cat_join_count}WHERE {$stop_list}approve=1 AND allow_main=1" . $where_date;
}
if( $tmp_cstart ) $cstart = $tmp_cstart;
include_once (DLEPlugins::Check(ENGINE_DIR . '/modules/show.short.php'));
$tpl->result['content'] = str_ireplace( '{THEME}', $config['http_home_url'] . 'templates/' . $config['skin'], $tpl->result['content'] );
$tpl->result['content'] = str_ireplace ( '{newsnavigation}', ($custom_navigation ? '' : $tpl->result['navigation']), $tpl->result['content'] );
if( stripos ( $tpl->result['content'], "{favorites-list" ) !== false AND $news_found ) {
if( file_exists( ROOT_DIR . '/templates/' . $config['skin'] . "/modules/fav_list.tpl" ) ) {
$tpl_fav = file_get_contents( ROOT_DIR . '/templates/' . $config['skin'] . "/modules/fav_list.tpl" );
$tpl->result['content'] = preg_replace_callback ( "#\\{favorites-list=(.+?)\\}#is", "favorites_list", $tpl->result['content'] );
}
}
if( version_compare($config['version_id'], 15, ">=") ) {
if( $is_logged AND stripos ( $tpl->result['content'], "-favorites-" ) !== false) {
$fav_arr = explode(',', $member_id['favorites'] );
foreach( $fav_arr as $fav_id ) {
$tpl->result['content'] = str_replace ( "{-favorites-{$fav_id}}", "<a id=\"fav-id-{$fav_id}\" class=\"favorite-link del-favorite\" href=\"{$PHP_SELF}?do=favorites&doaction=del&id={$fav_id}\"><img src=\"{$config['http_home_url']}templates/{$config['skin']}/dleimages/minus_fav.gif\" onclick=\"doFavorites('{$fav_id}', 'minus', 0); return false;\" title=\"{$lang['news_minfav']}\" alt=\"\"></a>", $tpl->result['content'] );
$tpl->result['content'] = str_replace ( "[del-favorites-{$fav_id}]", "<a id=\"fav-id-{$fav_id}\" onclick=\"doFavorites('{$fav_id}', 'minus', 1); return false;\" href=\"{$PHP_SELF}?do=favorites&doaction=del&id={$fav_id}\">", $tpl->result['content'] );
$tpl->result['content'] = str_replace ( "[/del-favorites-{$fav_id}]", "</a>", $tpl->result['content'] );
$tpl->result['content'] = preg_replace( "'\\[add-favorites-{$fav_id}\\](.*?)\\[/add-favorites-{$fav_id}\\]'is", "", $tpl->result['content'] );
}
$tpl->result['content'] = preg_replace( "'\\{-favorites-(\d+)\\}'i", "<a id=\"fav-id-\\1\" class=\"favorite-link add-favorite\" href=\"{$PHP_SELF}?do=favorites&doaction=add&id=\\1\"><img src=\"{$config['http_home_url']}templates/{$config['skin']}/dleimages/plus_fav.gif\" onclick=\"doFavorites('\\1', 'plus', 0); return false;\" title=\"{$lang['news_addfav']}\" alt=\"\"></a>", $tpl->result['content'] );
$tpl->result['content'] = preg_replace( "'\\[add-favorites-(\d+)\\]'i", "<a id=\"fav-id-\\1\" onclick=\"doFavorites('\\1', 'plus', 1); return false;\" href=\"{$PHP_SELF}?do=favorites&doaction=add&id=\\1\">", $tpl->result['content'] );
$tpl->result['content'] = preg_replace( "'\\[/add-favorites-(\d+)\\]'i", "</a>", $tpl->result['content'] );
$tpl->result['content'] = preg_replace( "'\\[del-favorites-(\d+)\\](.*?)\\[/del-favorites-(\d+)\\]'si", "", $tpl->result['content'] );
}
}
$return_array = array (
'success' => true,
'returnbox' => $tpl->result['content'],
'navigation' => $tpl->result['navigation'],
'copyright' => 'Plugin made by @Teramoune'
);
echo json_encode($return_array, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES );
?>]]></replacecode>
<enabled>1</enabled>
</operation>
</file>
<file name="engine/engine.php">
<operation action="replace">
<searchcode><![CDATA[$cache_prefix .= "_tempate_" . $config['skin'];]]></searchcode>
<replacecode><![CDATA[if( $_tpl != 'default' AND templateSwitcher::allow_switch() ) $cache_prefix .= "_tempate_" . $_tpl . "_" . $config['skin'];
else $cache_prefix .= "_tempate_" . $config['skin'];]]></replacecode>
<enabled>1</enabled>
</operation>
</file>
<file name="engine/init.php">
<operation action="after">
<searchcode><![CDATA[$tpl->clear();]]></searchcode>
<replacecode><![CDATA[$_tpl = templateSwitcher::get_tpl();]]></replacecode>
<enabled>1</enabled>
</operation>
</file>
</dleplugin>