forked from phpbbgallery/phpbb-gallery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.xml
542 lines (497 loc) · 26 KB
/
install.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
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
<!-- $Id$ -->
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">
<header>
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
<title lang="de">phpBB Gallery</title>
<title lang="en">phpBB Gallery</title>
<description lang="de"><![CDATA[
Eine Bilder-Galerie, die in dein phpBB integriert wird.
Features: http://www.flying-bits.org/go/phpbb_gallery/features]]></description>
<description lang="en"><![CDATA[
An image-gallery integrated into your phpbb-board.
Features: http://www.flying-bits.org/go/phpbb_gallery/features]]></description>
<author-notes lang="de"><![CDATA[
Untersützt die "MOD Version Check"-MOD von Handyman´:
http://www.phpbb.com/community/viewtopic.php?f=69&t=691155]]></author-notes>
<author-notes lang="en"><![CDATA[
Supports the "MOD Version Check"-MOD by Handyman´:
http://www.phpbb.com/community/viewtopic.php?f=69&t=691155]]></author-notes>
<author-group>
<author>
<realname>Joas Schilling</realname>
<email>[email protected]</email>
<username>nickvergessen</username>
<homepage>http://www.flying-bits.org/</homepage>
<contributions />
</author>
</author-group>
<mod-version>1.0.5</mod-version>
<installation>
<level>intermediate</level>
<time>3600</time>
<target-version>3.0.7</target-version>
</installation>
<link-group>
<link type="contrib" lang="de" href="contrib/history.xml">Geschichte/Entwickler/Features</link>
<link type="contrib" lang="en" href="contrib/history.xml">History/Developers/Features</link>
<link type="contrib" lang="de" href="contrib/update_1_0_4_to_1_0_5/update.xml">Update von 1.0.4 auf 1.0.5</link>
<link type="contrib" lang="en" href="contrib/update_1_0_4_to_1_0_5/update.xml">Update from 1.0.4 to 1.0.5</link>
<link type="language" lang="de" href="contrib/de.xml">Anleitung für das deutsche Sprachpaket</link>
<link type="language" lang="en" href="contrib/de.xml">Manual for German Language-set</link>
<link type="template" lang="de" href="contrib/subsilver2.xml">Anleitung für das Style subsilver2</link>
<link type="template" lang="en" href="contrib/subsilver2.xml">Manual for subsilver2 Style</link>
<link type="contrib" lang="de" href="contrib/addons/rrc_on_index.xml">Neueste/Zufällige Bilder und Kommentare auf der index.php anzeigen</link>
<link type="contrib" lang="en" href="contrib/addons/rrc_on_index.xml">View recent/random images and comments on index.php</link>
<link type="contrib" lang="de" href="contrib/plugins/highslide.xml">Plugin Highslide JS</link>
<link type="contrib" lang="en" href="contrib/plugins/highslide.xml">Plugin Highslide JS</link>
<link type="contrib" lang="de" href="contrib/plugins/lytebox.xml">Plugin Lytebox</link>
<link type="contrib" lang="en" href="contrib/plugins/lytebox.xml">Plugin Lytebox</link>
<link type="contrib" lang="de" href="contrib/plugins/shadowbox.xml">Plugin Shadowbox</link>
<link type="contrib" lang="en" href="contrib/plugins/shadowbox.xml">Plugin Shadowbox</link>
</link-group>
</header>
<action-group>
<copy>
<file from="root/adm/mods/phpbb_gallery_version.php" to="adm/mods/phpbb_gallery_version.php" />
<file from="root/adm/style/*.*" to="adm/style/*.*" />
<file from="root/gallery/*.*" to="gallery/*.*" />
<file from="root/gallery/images/*.*" to="gallery/images/*.*" />
<file from="root/gallery/includes/*.*" to="gallery/includes/*.*" />
<file from="root/gallery/mcp/*.*" to="gallery/mcp/*.*" />
<file from="root/includes/acp/*.*" to="includes/acp/*.*" />
<file from="root/includes/ucp/*.*" to="includes/ucp/*.*" />
<file from="root/install/*.*" to="install/*.*" />
<file from="root/language/en/email/*.*" to="language/en/email/*.*" />
<file from="root/language/en/mods/*.*" to="language/en/mods/*.*" />
<file from="root/styles/prosilver/imageset/*.*" to="styles/prosilver/imageset/*.*" />
<file from="root/styles/prosilver/template/gallery/*.*" to="styles/prosilver/template/gallery/*.*" />
<file from="root/styles/prosilver/theme/*.*" to="styles/prosilver/theme/*.*" />
<file from="root/umil/*.*" to="umil/*.*" />
</copy>
<open src="index.php">
<edit>
<find><![CDATA[$total_users = $config['num_users'];]]></find>
<action type="after-add"><![CDATA[$total_images = $config['num_images'];
$user->add_lang('mods/info_acp_gallery');
$l_total_image_s = ($total_images == 0) ? 'TOTAL_IMAGES_ZERO' : 'TOTAL_IMAGES_OTHER';]]></action>
</edit>
<edit>
<find><![CDATA['TOTAL_USERS' => sprintf($user->lang[$l_total_user_s], $total_users),]]></find>
<action type="after-add"><![CDATA['TOTAL_IMAGES' => ($config['gallery_total_images']) ? sprintf($user->lang[$l_total_image_s], $total_images) : '',]]></action>
</edit>
</open>
<open src="memberlist.php">
<edit>
<find><![CDATA[ unset($module);
}]]></find>
<action type="after-add"><![CDATA[ // phpBB Gallery integration
if (!function_exists('integrate_memberlist_viewprofile'))
{
$gallery_root_path = GALLERY_ROOT_PATH;
include($phpbb_root_path . $gallery_root_path . 'includes/phpbb_integration.' . $phpEx);
}
integrate_memberlist_viewprofile($member);]]></action>
</edit>
</open>
<open src="viewonline.php">
<edit>
<find><![CDATA[$sql = 'SELECT u.user_id, u.username, u.username_clean, u.user_type, u.user_colour, s.session_id, s.session_time, s.session_page, s.session_ip, s.session_browser, s.session_viewonline, s.session_forum_id]]></find>
<inline-edit>
<inline-find><![CDATA[, s.session_forum_id]]></inline-find>
<inline-action type="after-add"><![CDATA[, s.session_album_id]]></inline-action>
</inline-edit>
</edit>
<edit>
<find><![CDATA[ preg_match('#^([a-z0-9/_-]+)#i', $row['session_page'], $on_page);
if (!sizeof($on_page))
{
$on_page[1] = '';
}]]></find>
<action type="after-add"><![CDATA[ // phpBB Gallery integration
if ((utf8_substr($on_page[1], 0, utf8_strlen(GALLERY_ROOT_PATH))) == GALLERY_ROOT_PATH)
{
$gallery_on_page[1] = $on_page[1];
$on_page[1] = utf8_substr($on_page[1], 0, utf8_strlen(GALLERY_ROOT_PATH));
}]]></action>
</edit>
<edit>
<find><![CDATA[ case 'report':
$location = $user->lang['REPORTING_POST'];
$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
break;]]></find>
<action type="after-add"><![CDATA[ // phpBB Gallery integration
case GALLERY_ROOT_PATH:
if (!function_exists('integrate_viewonline'))
{
$gallery_root_path = GALLERY_ROOT_PATH;
include($phpbb_root_path . $gallery_root_path . 'includes/phpbb_integration.' . $phpEx);
}
$on_page[1] = $gallery_on_page[1];
integrate_viewonline ($on_page, $row['session_album_id'], $row['session_page']);
break;]]></action>
</edit>
</open>
<open src="viewtopic.php">
<edit>
<find><![CDATA['REPORT_IMG' => $user->img('icon_post_report', 'REPORT_POST'),]]></find>
<action type="before-add"><![CDATA['GALLERY_IMG' => $user->img('icon_contact_gallery', 'PERSONAL_ALBUM'),]]></action>
</edit>
<edit>
<find><![CDATA[ 'SELECT' => 'u.*, z.friend, z.foe, p.*',]]></find>
<action type="replace-with"><![CDATA[ 'SELECT' => 'u.*, z.friend, z.foe, p.*, gu.personal_album_id, gu.user_images',]]></action>
</edit>
<edit>
<find><![CDATA[ 'ON' => 'z.user_id = ' . $user->data['user_id'] . ' AND z.zebra_id = p.poster_id'
)]]></find>
<action type="after-add"><![CDATA[ , array(
'FROM' => array(GALLERY_USERS_TABLE => 'gu'),
'ON' => 'gu.user_id = p.poster_id'
)]]></action>
</edit>
<edit>
<find><![CDATA['age' => '',]]></find>
<action type="after-add"><![CDATA[ 'gallery_album' => '',
'gallery_images' => '',
'gallery_search' => '',]]></action>
</edit>
<edit>
<find><![CDATA['search' => ($auth->acl_get('u_search')) ? append_sid("{$phpbb_root_path}search.$phpEx", "author_id=$poster_id&sr=posts") : '',]]></find>
<action type="after-add"><![CDATA[ 'gallery_album' => ($row['personal_album_id'] && $config['gallery_viewtopic_icon']) ? append_sid("{$phpbb_root_path}" . GALLERY_ROOT_PATH . "album.$phpEx", "album_id=" . $row['personal_album_id']) : '',
'gallery_images' => ($config['gallery_viewtopic_images']) ? $row['user_images'] : 0,
'gallery_search' => ($config['gallery_viewtopic_images'] && $config['gallery_viewtopic_link'] && $row['user_images']) ? append_sid("{$phpbb_root_path}" . GALLERY_ROOT_PATH . "search.$phpEx", "user_id=$poster_id") : '',]]></action>
</edit>
<edit>
<find><![CDATA['U_JABBER' => $user_cache[$poster_id]['jabber'],]]></find>
<action type="after-add"><![CDATA[ 'U_GALLERY' => $user_cache[$poster_id]['gallery_album'],
'GALLERY_IMAGES' => $user_cache[$poster_id]['gallery_images'],
'U_GALLERY_SEARCH' => $user_cache[$poster_id]['gallery_search'],]]></action>
</edit>
</open>
<open src="includes/cache.php">
<edit>
<find><![CDATA[ return $hook_files;
}]]></find>
<action type="after-add"><![CDATA[ /**
* Obtain list of albums
*/
function obtain_album_list()
{
global $db;
if (($albums = $this->get('_albums')) === false)
{
$sql = 'SELECT album_id, parent_id, album_name, album_type, left_id, right_id, album_user_id, display_in_rrc
FROM ' . GALLERY_ALBUMS_TABLE . '
ORDER BY album_user_id ASC, left_id ASC';
$result = $db->sql_query($sql);
$albums = array();
while ($row = $db->sql_fetchrow($result))
{
$albums[$row['album_id']] = array(
'album_id' => $row['album_id'],
'parent_id' => $row['parent_id'],
'album_name' => $row['album_name'],
'album_type' => $row['album_type'],
'left_id' => $row['left_id'],
'right_id' => $row['right_id'],
'album_user_id' => $row['album_user_id'],
'display_in_rrc' => $row['display_in_rrc'],
);
}
$db->sql_freeresult($result);
$this->put('_albums', $albums);
}
return $albums;
}]]></action>
</edit>
</open>
<open src="includes/constants.php">
<edit>
<comment lang="de"><![CDATA[Wenn die 4 bereits von einem anderem MOD als Log benutzt wird, benutze einfach die nächste freie Zahl.]]></comment>
<comment lang="en"><![CDATA[If the number 4 is already a Log of an other MOD, just use the next free number.]]></comment>
<find><![CDATA[define('LOG_USERS', 3);]]></find>
<action type="after-add"><![CDATA[define('LOG_GALLERY', 4);]]></action>
</edit>
<edit>
<find><![CDATA[// Additional tables]]></find>
<action type="after-add"><![CDATA[define('GALLERY_ROOT_PATH', 'gallery/');
define('GALLERY_ALBUMS_TABLE', $table_prefix . 'gallery_albums');
define('GALLERY_ATRACK_TABLE', $table_prefix . 'gallery_albums_track');
define('GALLERY_COMMENTS_TABLE', $table_prefix . 'gallery_comments');
define('GALLERY_CONFIG_TABLE', $table_prefix . 'gallery_config');
define('GALLERY_CONTESTS_TABLE', $table_prefix . 'gallery_contests');
define('GALLERY_FAVORITES_TABLE', $table_prefix . 'gallery_favorites');
define('GALLERY_IMAGES_TABLE', $table_prefix . 'gallery_images');
define('GALLERY_MODSCACHE_TABLE', $table_prefix . 'gallery_modscache');
define('GALLERY_PERMISSIONS_TABLE', $table_prefix . 'gallery_permissions');
define('GALLERY_RATES_TABLE', $table_prefix . 'gallery_rates');
define('GALLERY_REPORTS_TABLE', $table_prefix . 'gallery_reports');
define('GALLERY_ROLES_TABLE', $table_prefix . 'gallery_roles');
define('GALLERY_USERS_TABLE', $table_prefix . 'gallery_users');
define('GALLERY_WATCH_TABLE', $table_prefix . 'gallery_watch');]]></action>
</edit>
</open>
<open src="includes/functions.php">
<edit>
<find><![CDATA[ $forum_id = ($mode == 'mod') ? intval(array_shift($args)) : '';
$topic_id = ($mode == 'mod') ? intval(array_shift($args)) : '';]]></find>
<action type="after-add"><![CDATA[ $album_id = ($mode == 'gallery') ? intval(array_shift($args)) : '';
$image_id = ($mode == 'gallery') ? intval(array_shift($args)) : '';]]></action>
</edit>
<edit>
<find><![CDATA[ case 'critical':
$sql_ary['log_type'] = LOG_CRITICAL;
break;]]></find>
<action type="after-add"><![CDATA[ case 'gallery':
$sql_ary += array(
'log_type' => LOG_GALLERY,
'album_id' => $album_id,
'image_id' => $image_id,
);
break;]]></action>
</edit>
<edit>
<find><![CDATA[// The following assigns all _common_ variables that may be used at any point in a template.]]></find>
<action type="before-add"><![CDATA[ $user->add_lang('mods/info_acp_gallery');
$gallery_root_path = GALLERY_ROOT_PATH;
include($phpbb_root_path . $gallery_root_path . 'plugins/index.' . $phpEx);]]></action>
</edit>
<edit>
<find><![CDATA['U_PRIVATEMSGS' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&folder=inbox'),]]></find>
<action type="before-add"><![CDATA['U_GALLERY_MOD' => append_sid("{$phpbb_root_path}{$gallery_root_path}index.$phpEx"),]]></action>
</edit>
</open>
<open src="includes/functions_admin.php">
<edit>
<find><![CDATA[ case 'critical':
$log_type = LOG_CRITICAL;
$sql_forum = '';
break;]]></find>
<action type="after-add"><![CDATA[ case 'gallery':
$log_type = LOG_GALLERY;
$sql_forum = '';
$gallery_root_path = GALLERY_ROOT_PATH;
break;]]></action>
</edit>
<edit>
<find><![CDATA['viewforum' => ($row['forum_id'] && $auth->acl_get('f_read', $row['forum_id'])) ? append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $row['forum_id']) : false,]]></find>
<action type="after-add"><![CDATA[ 'viewalbum' => ((isset($row['album_id']) && $row['album_id'] && ($log_type == LOG_GALLERY)) ? append_sid("{$phpbb_root_path}{$gallery_root_path}album.$phpEx", 'album_id=' . $row['album_id']) : false),
'viewimage' => ((isset($row['image_id']) && $row['image_id'] && ($log_type == LOG_GALLERY)) ? append_sid("{$phpbb_root_path}{$gallery_root_path}image_page.$phpEx", 'album_id=' . $row['album_id'] . '&image_id=' . $row['image_id']) : false),]]></action>
</edit>
</open>
<open src="includes/functions_display.php">
<edit>
<find><![CDATA[ $num_predefined_bbcodes = 22;]]></find>
<action type="after-add"><![CDATA[ $user->add_lang('mods/info_acp_gallery');]]></action>
</edit>
</open>
<open src="includes/functions_user.php">
<edit>
<find><![CDATA[ if ($config['newest_username'] == $old_name)]]></find>
<action type="before-add"><![CDATA[ if (!function_exists('gallery_integrate_user_update_name'))
{
global $phpbb_root_path, $phpEx;
include($phpbb_root_path . GALLERY_ROOT_PATH . 'includes/phpbb_integration.' . $phpEx);
}
gallery_integrate_user_update_name($old_name, $new_name);]]></action>
</edit>
<edit>
<find><![CDATA[ $table_ary = array(USERS_TABLE, USER_GROUP_TABLE, TOPICS_WATCH_TABLE, FORUMS_WATCH_TABLE, ACL_USERS_TABLE, TOPICS_TRACK_TABLE, TOPICS_POSTED_TABLE, FORUMS_TRACK_TABLE, PROFILE_FIELDS_DATA_TABLE, MODERATOR_CACHE_TABLE, DRAFTS_TABLE, BOOKMARKS_TABLE, SESSIONS_KEYS_TABLE);]]></find>
<action type="after-add"><![CDATA[ $table_ary = array_merge($table_ary, array(GALLERY_MODSCACHE_TABLE));]]></action>
</edit>
<edit>
<find><![CDATA[ // Delete auth entries from the groups table
$sql = 'DELETE FROM ' . ACL_GROUPS_TABLE . "
WHERE group_id = $group_id";
$db->sql_query($sql);]]></find>
<action type="after-add"><![CDATA[
// Delete the group from the gallery-moderators
$sql = 'DELETE FROM ' . GALLERY_MODSCACHE_TABLE . "
WHERE group_id = $group_id";
$db->sql_query($sql);]]></action>
</edit>
<edit>
<find><![CDATA[ if (in_array($config['newest_user_id'], $user_id_ary))
{
set_config('newest_user_colour', $sql_ary['user_colour'], true);
}
}]]></find>
<action type="after-add"><![CDATA[
if (!function_exists('gallery_integrate_group_set_user_default'))
{
global $phpbb_root_path, $phpEx;
include($phpbb_root_path . GALLERY_ROOT_PATH . 'includes/phpbb_integration.' . $phpEx);
}
gallery_integrate_group_set_user_default($user_id_ary, $sql_ary);]]></action>
</edit>
</open>
<open src="includes/session.php">
<edit>
<find><![CDATA['forum' => (isset($_REQUEST['f']) && $_REQUEST['f'] > 0) ? (int) $_REQUEST['f'] : 0,]]></find>
<action type="after-add"><![CDATA['album' => (isset($_REQUEST['album_id']) && $_REQUEST['album_id'] > 0) ? (int) $_REQUEST['album_id'] : 0,]]></action>
</edit>
<edit>
<find><![CDATA[ $sql_ary = array('session_time' => $this->time_now);
if ($this->update_session_page)
{
$sql_ary['session_page'] = substr($this->page['page'], 0, 199);
$sql_ary['session_forum_id'] = $this->page['forum'];]]></find>
<action type="after-add"><![CDATA[$sql_ary['session_album_id'] = $this->page['album'];]]></action>
</edit>
<edit>
<find><![CDATA[ // If the database is not yet updated, there will be an error due to the session_forum_id
// @todo REMOVE for 3.0.2]]></find>
<action type="before-add"><![CDATA[ if ($result === false)
{
unset($sql_ary['session_album_id']);
$db->sql_return_on_error(true);
$sql = 'UPDATE ' . SESSIONS_TABLE . ' SET ' . $db->sql_build_array('UPDATE', $sql_ary) . "
WHERE session_id = '" . $db->sql_escape($this->session_id) . "'";
$result = $db->sql_query($sql);
$db->sql_return_on_error(false);
}]]></action>
</edit>
<edit>
<find><![CDATA[ $sql_ary = array('session_time' => $this->time_now, 'session_last_visit' => $this->time_now, 'session_admin' => 0);
if ($this->update_session_page)
{
$sql_ary['session_page'] = substr($this->page['page'], 0, 199);
$sql_ary['session_forum_id'] = $this->page['forum'];]]></find>
<action type="after-add"><![CDATA[$sql_ary['session_album_id'] = $this->page['album'];]]></action>
</edit>
<edit>
<find><![CDATA[ 'session_viewonline' => ($viewonline) ? 1 : 0,
);
if ($this->update_session_page)
{
$sql_ary['session_page'] = (string) substr($this->page['page'], 0, 199);
$sql_ary['session_forum_id'] = $this->page['forum'];]]></find>
<action type="after-add"><![CDATA[$sql_ary['session_album_id'] = $this->page['album'];]]></action>
</edit>
<edit>
<find><![CDATA[ $sql_ary['session_id'] = (string) $this->session_id;
$sql_ary['session_page'] = (string) substr($this->page['page'], 0, 199);
$sql_ary['session_forum_id'] = $this->page['forum'];]]></find>
<action type="after-add"><![CDATA[$sql_ary['session_album_id'] = $this->page['album'];]]></action>
</edit>
</open>
<open src="includes/acp/acp_language.php">
<edit>
<find><![CDATA['icon_back_top', 'icon_contact_aim', 'icon_contact_email', 'icon_contact_icq', 'icon_contact_jabber', 'icon_contact_msnm', 'icon_contact_pm', 'icon_contact_yahoo', 'icon_contact_www', 'icon_post_delete', 'icon_post_edit', 'icon_post_info', 'icon_post_quote', 'icon_post_report', 'icon_user_online', 'icon_user_offline', 'icon_user_profile', 'icon_user_search', 'icon_user_warn', 'button_pm_forward', 'button_pm_new', 'button_pm_reply', 'button_topic_locked', 'button_topic_new', 'button_topic_reply',]]></find>
<inline-edit>
<inline-find><![CDATA[ 'button_topic_reply',]]></inline-find>
<inline-action type="after-add"><![CDATA[ 'button_upload_image',]]></inline-action>
</inline-edit>
</edit>
</open>
<open src="includes/acp/acp_logs.php">
<edit>
<find><![CDATA[$checks = array('viewtopic', 'viewlogs', 'viewforum');]]></find>
<action type="after-add"><![CDATA[ if ($mode == 'gallery')
{
$checks = array('viewimage', 'viewalbum');
}]]></action>
</edit>
</open>
<open src="includes/acp/acp_styles.php">
<edit>
<find><![CDATA['icon_back_top', 'icon_contact_aim', 'icon_contact_email', 'icon_contact_icq', 'icon_contact_jabber', 'icon_contact_msnm', 'icon_contact_pm', 'icon_contact_yahoo', 'icon_contact_www', 'icon_post_delete', 'icon_post_edit', 'icon_post_info', 'icon_post_quote', 'icon_post_report', 'icon_user_online', 'icon_user_offline', 'icon_user_profile', 'icon_user_search', 'icon_user_warn', 'button_pm_forward', 'button_pm_new', 'button_pm_reply', 'button_topic_locked', 'button_topic_new', 'button_topic_reply',]]></find>
<inline-edit>
<inline-find><![CDATA[ 'button_topic_reply',]]></inline-find>
<inline-action type="after-add"><![CDATA[ 'button_upload_image',]]></inline-action>
</inline-edit>
</edit>
</open>
<open src="includes/acp/info/acp_logs.php">
<edit>
<find><![CDATA['critical' => array('title' => 'ACP_CRITICAL_LOGS', 'auth' => 'acl_a_viewlogs', 'cat' => array('ACP_FORUM_LOGS')),]]></find>
<action type="after-add"><![CDATA['gallery' => array('title' => 'ACP_GALLERY_LOGS', 'auth' => 'acl_a_viewlogs', 'cat' => array('ACP_FORUM_LOGS')),]]></action>
</edit>
</open>
<open src="styles/prosilver/imageset/en/imageset.cfg">
<edit>
<find><![CDATA[img_button_topic_reply = button_topic_reply.gif*25*96]]></find>
<action type="after-add"><![CDATA[img_button_upload_image = button_upload_image.gif*25*96]]></action>
</edit>
</open>
<open src="styles/prosilver/template/index_body.html">
<edit>
<find><![CDATA[<p>{TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS} • {NEWEST_USER}</p>]]></find>
<inline-edit>
<inline-find><![CDATA[{TOTAL_TOPICS}]]></inline-find>
<inline-action type="after-add"><![CDATA[<!-- IF TOTAL_IMAGES --> • {TOTAL_IMAGES}<!-- ENDIF -->]]></inline-action>
</inline-edit>
</edit>
</open>
<open src="styles/prosilver/template/memberlist_view.html">
<edit>
<find><![CDATA[<!-- IF S_GROUP_OPTIONS --><dt>{L_USERGROUPS}:</dt> <dd><select name="g">{S_GROUP_OPTIONS}</select> <input type="submit" name="submit" value="{L_GO}" class="button2" /></dd><!-- ENDIF -->]]></find>
<action type="after-add"><![CDATA[<!-- IF U_GALLERY --><dt>{L_GALLERY}:</dt> <dd><a href="{U_GALLERY}">{SHOW_PERSONAL_ALBUM_OF}</a></dd><!-- ENDIF -->]]></action>
</edit>
<edit>
<find><![CDATA[ <dt>{L_TOTAL_POSTS}:</dt>
<dd>{POSTS} <!-- IF S_DISPLAY_SEARCH -->| <strong><a href="{U_SEARCH_USER}">{L_SEARCH_USER_POSTS}</a></strong><!-- ENDIF -->
<!-- IF POSTS_PCT --><br />({POSTS_PCT} / {POSTS_DAY})<!-- ENDIF -->
<!-- IF POSTS_IN_QUEUE and U_MCP_QUEUE --><br />(<a href="{U_MCP_QUEUE}">{L_POSTS_IN_QUEUE}</a>)<!-- ELSEIF POSTS_IN_QUEUE --><br />({L_POSTS_IN_QUEUE})<!-- ENDIF -->
</dd>]]></find>
<action type="after-add"><![CDATA[ <!-- IF TOTAL_IMAGES -->
<dt>{L_TOTAL_IMAGES}:</dt>
<dd>{IMAGES} | <strong><a href="{U_SEARCH_GALLERY}">{L_SEARCH_USER_IMAGES}</a></strong>
<!-- IF IMAGES_PCT --><br />({IMAGES_PCT} / {IMAGES_DAY})<!-- ENDIF -->
</dd>
<!-- ENDIF -->]]></action>
</edit>
<edit>
<find><![CDATA[<!-- INCLUDE jumpbox.html -->]]></find>
<action type="before-add"><![CDATA[<!-- INCLUDE gallery/recent_body.html -->]]></action>
</edit>
</open>
<open src="styles/prosilver/template/overall_header.html">
<edit>
<find><![CDATA[</head>]]></find>
<action type="before-add"><![CDATA[<!-- INCLUDE gallery/plugins_header.html -->]]></action>
</edit>
<edit>
<find><![CDATA[<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>]]></find>
<action type="after-add"><![CDATA[<li class="icon-gallery"><a href="{U_GALLERY_MOD}" title="{L_GALLERY_EXPLAIN}">{L_GALLERY}</a></li>]]></action>
</edit>
</open>
<open src="styles/prosilver/template/viewtopic_body.html">
<edit>
<find><![CDATA[<!-- IF postrow.POSTER_POSTS != '' --><dd><strong>{L_POSTS}:</strong> {postrow.POSTER_POSTS}</dd><!-- ENDIF -->]]></find>
<action type="after-add"><![CDATA[<!-- IF postrow.GALLERY_IMAGES != '' --><dd><strong>{L_IMAGES}:</strong> <!-- IF postrow.U_GALLERY_SEARCH --><a href="{postrow.U_GALLERY_SEARCH}">{postrow.GALLERY_IMAGES}</a><!-- ELSE -->{postrow.GALLERY_IMAGES}<!-- ENDIF --></dd><!-- ENDIF -->]]></action>
</edit>
<edit>
<find><![CDATA[<!-- IF postrow.U_JABBER --><li class="jabber-icon"><a href="{postrow.U_JABBER}" onclick="popup(this.href, 550, 320); return false;" title="{L_JABBER}"><span>{L_JABBER}</span></a></li><!-- ENDIF -->]]></find>
<action type="after-add"><![CDATA[<!-- IF postrow.U_GALLERY --><li class="gallery-icon"><a href="{postrow.U_GALLERY}" title="{L_PERSONAL_ALBUM}"><span>{L_PERSONAL_ALBUM}</span></a></li><!-- ENDIF -->]]></action>
</edit>
</open>
<open src="styles/prosilver/theme/bidi.css">
<edit>
<find><![CDATA[.rtl .sitehome, .rtl .icon-faq, .rtl .icon-members, .rtl .icon-home, .rtl .icon-ucp, .rtl .icon-register, .rtl .icon-logout,]]></find>
<action type="before-add"><![CDATA[.rtl .icon-gallery,]]></action>
</edit>
</open>
<open src="styles/prosilver/theme/stylesheet.css">
<edit>
<find><![CDATA[@import url("colours.css");]]></find>
<action type="after-add"><![CDATA[@import url("gallery.css");]]></action>
</edit>
</open>
<php-installer>install/index.php</php-installer>
<diy-instructions lang="de"><![CDATA[Rufe install/ auf und führe den Installer aus
Leere den Cache im "Administrations-Bereich" (ACP) > "Allgemein" > "Den Cache leeren"
Aktualisiere deine Styles:
"Administrations-Bereich" (ACP) > "Styles" > "Templates" > jedes > "Aktualisieren"
"Administrations-Bereich" (ACP) > "Styles" > "Themes" > jedes > "Aktualisieren"
"Administrations-Bereich" (ACP) > "Styles" > "Grafiksammlungen" > jedes > "Aktualisieren"]]></diy-instructions>
<diy-instructions lang="en"><![CDATA[Browse to install/ and run the installer
Clear your cache in the "Administration Control Panel" (ACP) > "General" > "Purge the cache"
Refresh your Styles:
"Administration Control Panel" (ACP) > "Styles" > "Templates" > each > "refresh"
"Administration Control Panel" (ACP) > "Styles" > "Themes" > each > "refresh"
"Administration Control Panel" (ACP) > "Styles" > "Imagesets" > each > "refresh"]]></diy-instructions>
</action-group>
</mod>