Skip to content

Commit ac075a4

Browse files
committed
make action tags be of a uniform length (56 bytes) vs ending with
42 -'s after the last ]
1 parent 6a4be5f commit ac075a4

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

docs/phpbb.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ The text template is available in English only, for producing modifications inst
5555
##############################################################
5656
5757
#
58-
#-----[ ACTION ]------------------------------------------
58+
#-----[ ACTION ]----------------------------------------
5959
#
6060
6161
#
62-
#-----[ ACTION ]------------------------------------------
62+
#-----[ ACTION ]----------------------------------------
6363
#
6464
6565
#
66-
#-----[ ACTION ]------------------------------------------
66+
#-----[ ACTION ]----------------------------------------
6767
#
6868
6969
#
@@ -270,11 +270,11 @@ All actions must be defined using a standard syntax. An action consists of the n
270270

271271
```
272272
#
273-
#-----[ ACTION ]------------------------------------------
273+
#-----[ ACTION ]----------------------------------------
274274
#
275275
do stuff here
276276
#
277-
#-----[ ACTION ]------------------------------------------
277+
#-----[ ACTION ]----------------------------------------
278278
#
279279
# The comment goes here
280280
#
@@ -290,7 +290,7 @@ The SQL action tells the person who is installing the MOD that they need to exec
290290

291291
```
292292
#
293-
#-----[ SQL ]------------------------------------------
293+
#-----[ SQL ]-------------------------------------------
294294
#
295295
INSERT INTO phpbb_config ( config_name, config_value ) VALUES ('foo', 'bar');
296296
```
@@ -299,7 +299,7 @@ INSERT INTO phpbb_config ( config_name, config_value ) VALUES ('foo', 'bar');
299299

300300
```
301301
#
302-
#-----[ SQL ]------------------------------------------
302+
#-----[ SQL ]-------------------------------------------
303303
#
304304
INSERT INTO phpbb_config ( config_name, config_value ) VALUES ('foo', 'bar');
305305
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
332332

333333
```
334334
#
335-
#-----[ DIY INSTRUCTIONS ]------------------------------------------
335+
#-----[ DIY INSTRUCTIONS ]------------------------------
336336
#
337337
Now if your on linux CHMOD foo.php and bar.php to 777
338338
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
406406

407407
```
408408
#
409-
#-----[ REPLACE WITH ]------------------------------------------
409+
#-----[ REPLACE WITH ]----------------------------------
410410
#
411411
$lang['General'] = 'New string';
412412
```
@@ -418,7 +418,7 @@ The AFTER, ADD action is used to add code to the file. It must be preceded by a
418418

419419
```
420420
#
421-
#-----[ AFTER, ADD ]------------------------------------------
421+
#-----[ AFTER, ADD ]------------------------------------
422422
#
423423
if ( $userdata['user_level'] == ADMIN )
424424
{
@@ -434,7 +434,7 @@ The BEFORE, ADD action is exactly like the AFTER, ADD action except it adds the
434434

435435
```
436436
#
437-
#-----[ BEFORE, ADD ]------------------------------------------
437+
#-----[ BEFORE, ADD ]-----------------------------------
438438
#
439439
if ( $userdata['user_level'] == USER )
440440
{
@@ -497,7 +497,7 @@ IN-LINE FIND is used to find a specific part to one line so that you can do edit
497497
$lang['Admin'] = 'General Admin';
498498
499499
#
500-
#-----[ IN-LINE FIND ]------------------------------------------
500+
#-----[ IN-LINE FIND ]----------------------------------
501501
#
502502
General
503503
```
@@ -509,7 +509,7 @@ The IN-LINE AFTER, ADD action adds code within the same line but after what was
509509

510510
```
511511
#
512-
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
512+
#-----[ IN-LINE AFTER, ADD ]----------------------------
513513
#
514514
phpBB
515515
```
@@ -521,7 +521,7 @@ The IN-LINE BEFORE, ADD action is just like the IN-LINE AFTER, ADD action except
521521

522522
```
523523
#
524-
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------
524+
#-----[ IN-LINE BEFORE, ADD ]---------------------------
525525
#
526526
phpBB
527527
```
@@ -533,7 +533,7 @@ IN-LINE REPLACE WITH is used to replace all of the code that was found in IN-LIN
533533

534534
```
535535
#
536-
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
536+
#-----[ IN-LINE REPLACE WITH ]--------------------------
537537
#
538538
Common
539539
```
@@ -550,7 +550,7 @@ This action instructs the user to save all their edits and publish them to their
550550

551551
```
552552
#
553-
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
553+
#-----[ SAVE/CLOSE ALL FILES ]--------------------------
554554
#
555555
# EoM
556556
```

0 commit comments

Comments
 (0)