1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-08 01:36:57 +02:00

[ticket/11924] Add version info of template events to events.md

PHPBB3-11924
This commit is contained in:
Joas Schilling
2013-10-16 00:45:28 +02:00
parent 9cf634e517
commit fa5fdc53b6
2 changed files with 47 additions and 2 deletions

View File

@@ -41,7 +41,8 @@ function export_from_eventsmd($filter)
if ($filter == 'acp' && strpos($event_name, 'acp_') !== 0) continue;
if ($filter == 'styles' && strpos($event_name, 'acp_') === 0) continue;
list($file_details, $explanition) = explode("\n* Purpose: ", $details);
list($file_details, $details) = explode("\n* Since: ", $details);
list($version, $explanition) = explode("\n* Purpose: ", $details);
echo "|- id=\"{$event_name}\"\n";
echo "| [[#{$event_name}|{$event_name}]] || ";
@@ -68,7 +69,7 @@ function export_from_eventsmd($filter)
{
echo substr($file_details, strlen("* Location: adm/style/"));
}
echo " || 3.1.0-a1 || " . str_replace("\n", ' ', $explanition) . "\n";
echo " || {$version} || " . str_replace("\n", ' ', $explanition) . "\n";
}
}