poyntesm
10-May-2006, 04:34 AM
Is it possible to create a custom file difference report?
I am a MOD author for phpBB and would love to have BC produce a MOD template. A have pasted a sample below. You can see it starts by showing the file. Finding and area and then adding the new content. There are a few other ways it does this
#
#-----[ OPEN ]-----
#
viewonline.php
#
#-----[ FIND ]------------------------------------------
#
<?php
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : Garage ----------------------------------------------------------------------------------------------------------
#
#-----[ FIND ]-----
#
case PAGE_FAQ:
$location = $lang['Viewing_FAQ'];
$location_url = "faq.$phpEx";
break;
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod start : Garage ----------------------------------------------------------------------------------------------------
//-- add
case PAGE_GARAGE:
$location = $lang['Viewing_Garage'];
$location_url = "garage.$phpEx";
break;
//-- mod finish : Garage ---------------------------------------------------------------------------------------------------
Would this be possible to do?
I am a MOD author for phpBB and would love to have BC produce a MOD template. A have pasted a sample below. You can see it starts by showing the file. Finding and area and then adding the new content. There are a few other ways it does this
#
#-----[ OPEN ]-----
#
viewonline.php
#
#-----[ FIND ]------------------------------------------
#
<?php
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : Garage ----------------------------------------------------------------------------------------------------------
#
#-----[ FIND ]-----
#
case PAGE_FAQ:
$location = $lang['Viewing_FAQ'];
$location_url = "faq.$phpEx";
break;
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod start : Garage ----------------------------------------------------------------------------------------------------
//-- add
case PAGE_GARAGE:
$location = $lang['Viewing_Garage'];
$location_url = "garage.$phpEx";
break;
//-- mod finish : Garage ---------------------------------------------------------------------------------------------------
Would this be possible to do?