1
0

programspanel

This commit is contained in:
2018-01-03 21:02:40 +01:00
parent 04a798bfa1
commit 8589cb2324
43 changed files with 325 additions and 49 deletions

View File

@@ -72,7 +72,7 @@ void Do(int ID, string Name, string Thumbnailname, int Downloads, string Kategor
if (!string.IsNullOrWhiteSpace(github_url)) b.AppendLine($"\t\t'github' => '{ToLiteral(github_url)}',");
b.AppendLine($"\t],");
b.AppendLine($"\t'long_description' => function(){{ return file_get_contents(__DIR__ . '/{Name}_description.md'); }},");
b.AppendLine($"\t'thumbnail_url' => '/images/program_thumbnails/{Name}.png',");
b.AppendLine($"\t'thumbnail_name' => '/images/program_thumbnails/{Name}.png',");
b.AppendLine($"];");
File.WriteAllText(@"C:\Users\schwoerm\Desktop\M\hp\v4\www\rawdata\programs\" + $"{Name}.php", b.ToString(), ENC);