@@ -55,15 +55,15 @@ The text template is available in English only, for producing modifications inst
55
55
##############################################################
56
56
57
57
#
58
- #-----[ ACTION ]------------------------------------------
58
+ #-----[ ACTION ]----------------------------------------
59
59
#
60
60
61
61
#
62
- #-----[ ACTION ]------------------------------------------
62
+ #-----[ ACTION ]----------------------------------------
63
63
#
64
64
65
65
#
66
- #-----[ ACTION ]------------------------------------------
66
+ #-----[ ACTION ]----------------------------------------
67
67
#
68
68
69
69
#
@@ -270,11 +270,11 @@ All actions must be defined using a standard syntax. An action consists of the n
270
270
271
271
```
272
272
#
273
- #-----[ ACTION ]------------------------------------------
273
+ #-----[ ACTION ]----------------------------------------
274
274
#
275
275
do stuff here
276
276
#
277
- #-----[ ACTION ]------------------------------------------
277
+ #-----[ ACTION ]----------------------------------------
278
278
#
279
279
# The comment goes here
280
280
#
@@ -290,7 +290,7 @@ The SQL action tells the person who is installing the MOD that they need to exec
290
290
291
291
```
292
292
#
293
- #-----[ SQL ]------------------------------------------
293
+ #-----[ SQL ]-------------------------------------------
294
294
#
295
295
INSERT INTO phpbb_config ( config_name, config_value ) VALUES ('foo', 'bar');
296
296
```
@@ -299,7 +299,7 @@ INSERT INTO phpbb_config ( config_name, config_value ) VALUES ('foo', 'bar');
299
299
300
300
```
301
301
#
302
- #-----[ SQL ]------------------------------------------
302
+ #-----[ SQL ]-------------------------------------------
303
303
#
304
304
INSERT INTO phpbb_config ( config_name, config_value ) VALUES ('foo', 'bar');
305
305
INSERT INTO phpbb_config ( config_name, config_value ) VALUES ('foo2', 'bar2');
@@ -332,7 +332,7 @@ DIY INSTRUCTIONS are instructions that the person installing the MOD will have t
332
332
333
333
```
334
334
#
335
- #-----[ DIY INSTRUCTIONS ]------------------------------------------
335
+ #-----[ DIY INSTRUCTIONS ]------------------------------
336
336
#
337
337
Now if your on linux CHMOD foo.php and bar.php to 777
338
338
Then point your web browser db_install.php and follow the instructions presented.
@@ -406,7 +406,7 @@ We recommend that you avoid using the REPLACE WITH action where avoidable. If yo
406
406
407
407
```
408
408
#
409
- #-----[ REPLACE WITH ]------------------------------------------
409
+ #-----[ REPLACE WITH ]----------------------------------
410
410
#
411
411
$lang['General'] = 'New string';
412
412
```
@@ -418,7 +418,7 @@ The AFTER, ADD action is used to add code to the file. It must be preceded by a
418
418
419
419
```
420
420
#
421
- #-----[ AFTER, ADD ]------------------------------------------
421
+ #-----[ AFTER, ADD ]------------------------------------
422
422
#
423
423
if ( $userdata['user_level'] == ADMIN )
424
424
{
@@ -434,7 +434,7 @@ The BEFORE, ADD action is exactly like the AFTER, ADD action except it adds the
434
434
435
435
```
436
436
#
437
- #-----[ BEFORE, ADD ]------------------------------------------
437
+ #-----[ BEFORE, ADD ]-----------------------------------
438
438
#
439
439
if ( $userdata['user_level'] == USER )
440
440
{
@@ -497,7 +497,7 @@ IN-LINE FIND is used to find a specific part to one line so that you can do edit
497
497
$lang['Admin'] = 'General Admin';
498
498
499
499
#
500
- #-----[ IN-LINE FIND ]------------------------------------------
500
+ #-----[ IN-LINE FIND ]----------------------------------
501
501
#
502
502
General
503
503
```
@@ -509,7 +509,7 @@ The IN-LINE AFTER, ADD action adds code within the same line but after what was
509
509
510
510
```
511
511
#
512
- #-----[ IN-LINE AFTER, ADD ]------------------------------------------
512
+ #-----[ IN-LINE AFTER, ADD ]----------------------------
513
513
#
514
514
phpBB
515
515
```
@@ -521,7 +521,7 @@ The IN-LINE BEFORE, ADD action is just like the IN-LINE AFTER, ADD action except
521
521
522
522
```
523
523
#
524
- #-----[ IN-LINE BEFORE, ADD ]------------------------------------------
524
+ #-----[ IN-LINE BEFORE, ADD ]---------------------------
525
525
#
526
526
phpBB
527
527
```
@@ -533,7 +533,7 @@ IN-LINE REPLACE WITH is used to replace all of the code that was found in IN-LIN
533
533
534
534
```
535
535
#
536
- #-----[ IN-LINE REPLACE WITH ]------------------------------------------
536
+ #-----[ IN-LINE REPLACE WITH ]--------------------------
537
537
#
538
538
Common
539
539
```
@@ -550,7 +550,7 @@ This action instructs the user to save all their edits and publish them to their
550
550
551
551
```
552
552
#
553
- #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
553
+ #-----[ SAVE/CLOSE ALL FILES ]--------------------------
554
554
#
555
555
# EoM
556
556
```
0 commit comments