aboutsummaryrefslogtreecommitdiffstats
path: root/build/build_diff.php
diff options
context:
space:
mode:
Diffstat (limited to 'build/build_diff.php')
-rwxr-xr-xbuild/build_diff.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/build/build_diff.php b/build/build_diff.php
index 5fc64e2f85..ef815bc0c3 100755
--- a/build/build_diff.php
+++ b/build/build_diff.php
@@ -43,6 +43,7 @@ if (!$package_changed_files)
run_command("mkdir $location/save/{$s_name}");
run_command("mkdir $location/save/{$s_name}/language");
run_command("mkdir $location/save/{$s_name}/prosilver");
+ run_command("mkdir $location/save/{$s_name}/subsilver2");
}
}
@@ -51,6 +52,7 @@ if (!$package_changed_files)
{
build_code_changes('language');
build_code_changes('prosilver');
+ build_code_changes('subsilver2');
}
// Package code changes
@@ -83,7 +85,7 @@ if (!$echo_changes)
}
/**
-* $output_format can be: language or prosilver
+* $output_format can be: language, prosilver and subsilver2
*/
function build_code_changes($output_format)
{
@@ -118,6 +120,7 @@ function build_code_changes($output_format)
$titles = array(
'language' => 'phpBB ' . $substitute_old . ' to phpBB ' . $substitute_new . ' Language Pack Changes',
'prosilver' => 'phpBB ' . $substitute_old . ' to phpBB ' . $substitute_new . ' prosilver Changes',
+ 'subsilver2' => 'phpBB ' . $substitute_old . ' to phpBB ' . $substitute_new . ' subsilver2 Changes',
);
$data['header'] = array(
@@ -180,6 +183,13 @@ These are the ' . $titles[$output_format] . ' summed up into a little Mod. These
continue 2;
}
break;
+
+ case 'subsilver2':
+ if (strpos($filename, 'styles/subsilver2/') !== 0)
+ {
+ continue 2;
+ }
+ break;
}
if (!file_exists($location . '/old_versions/' . $simple_name_old . '/' . $filename))