diff --git a/data/ConvertFromDB_Programs.linq b/data/ConvertFromDB_Programs.linq index a7b3bf9..2640d24 100644 --- a/data/ConvertFromDB_Programs.linq +++ b/data/ConvertFromDB_Programs.linq @@ -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); diff --git a/www/data/css/styles.css b/www/data/css/styles.css index 10726a5..27fd04d 100644 --- a/www/data/css/styles.css +++ b/www/data/css/styles.css @@ -7,7 +7,9 @@ body { padding-top: 64px; display: flex; justify-content: center; - line-height: 1.4; } + line-height: 1.4; + flex-direction: column; + align-items: center; } .content-responsive { margin-left: auto; @@ -495,6 +497,9 @@ html, body { font-size: 22px; font-weight: 900; } +@media (max-width: 850px) { + .euler_pnl_header a { + font-size: 16px; } } .euler_pnl_header a:hover { text-decoration: underline; } @@ -564,6 +569,89 @@ html, body { .euler_pnl_cell_notexist { background: #CCCCCC; } +.programs_pnl_base { + display: inline-flex; + flex-direction: column; + border: 1px solid #AAA; + border-radius: 5px 5px 0 0; + margin: 15px; + width: 652px; } + +.programs_pnl_header { + display: flex; + align-items: center; + justify-content: center; + padding: 4px; + background: #AAA; } + +.programs_pnl_header a { + color: #222; + text-decoration: none; + font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 22px; + font-weight: 900; } + +.programs_pnl_content { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: center; + background: #DDD; + padding: 6px; } + .programs_pnl_content .programs_pnl_entry { + display: flex; + flex-direction: column; + width: 190px; + border: 1px solid #333; + background: #AAA; + color: #000; + text-decoration: none; + margin: 4px; } + .programs_pnl_content .programs_pnl_entry:hover { + box-shadow: 0 0 8px #000000; } + .programs_pnl_content .programs_pnl_img { + min-height: 140px; + display: flex; + flex-direction: column; + justify-content: flex-start; + margin: 4px; } + .programs_pnl_content .programs_pnl_img img { + width: 100%; + height: auto; } + .programs_pnl_content .programs_pnl_center { + display: flex; + justify-content: center; + align-items: center; + text-align: center; + color: black; + font-weight: bolder; + font-size: 16pt; + flex-grow: 1; } + .programs_pnl_content .programs_pnl_bottom { + background: #888; + display: flex; + flex-direction: row; } + .programs_pnl_content .programs_pnl_bottom_1, .programs_pnl_content .programs_pnl_bottom_2 { + flex-grow: 1; + text-align: center; + display: flex; + flex-direction: column; } + .programs_pnl_content .programs_pnl_bottom_sub_top { + color: #444; } + .programs_pnl_content .programs_pnl_bottom_sub_bot { + color: #111; + font-weight: bolder; } + +@media (max-width: 850px) { + .programs_pnl_base { + width: 320px; } + .programs_pnl_base .programs_pnl_entry { + width: 100%; } + .programs_pnl_base .programs_pnl_bottom_sub_top { + margin-left: 4px; + margin-right: 6px; } + .programs_pnl_base .programs_pnl_bottom_1, .programs_pnl_base .programs_pnl_bottom_2 { + flex-direction: row; } } .bfjoust_runner_owner { border: 1px solid #888; background: #F8F8F8; diff --git a/www/data/css/styles.scss b/www/data/css/styles.scss index 3ddb832..2374668 100644 --- a/www/data/css/styles.scss +++ b/www/data/css/styles.scss @@ -9,5 +9,6 @@ @import 'styles_errorview'; @import 'styles_eulerpanel'; +@import 'styles_programspanel'; @import 'styles_bfjoustrunner'; @import 'styles_befungerunner'; \ No newline at end of file diff --git a/www/data/css/styles_eulerpanel.scss b/www/data/css/styles_eulerpanel.scss index a5a1815..44160eb 100644 --- a/www/data/css/styles_eulerpanel.scss +++ b/www/data/css/styles_eulerpanel.scss @@ -28,6 +28,8 @@ font-weight: 900; } +@media (max-width: 850px) { .euler_pnl_header a { font-size: 16px; } } + .euler_pnl_header a:hover { text-decoration: underline; } diff --git a/www/data/css/styles_global.scss b/www/data/css/styles_global.scss index ca3f7b8..58ed0b3 100644 --- a/www/data/css/styles_global.scss +++ b/www/data/css/styles_global.scss @@ -12,6 +12,9 @@ body { justify-content: center; line-height: 1.4; + + flex-direction: column; + align-items: center; } .content-responsive { diff --git a/www/data/css/styles_programspanel.scss b/www/data/css/styles_programspanel.scss new file mode 100644 index 0000000..b209ded --- /dev/null +++ b/www/data/css/styles_programspanel.scss @@ -0,0 +1,130 @@ +@import 'styles_config'; + +.programs_pnl_base { + display: inline-flex; + flex-direction: column; + + border: 1px solid #AAA; + border-radius: 5px 5px 0 0; + margin: 15px; + + width: 652px; +} + +.programs_pnl_header { + display: flex; + align-items: center; + justify-content: center; + + padding: 4px; + background: #AAA; +} + +.programs_pnl_header a { + color: #222; + text-decoration: none; + + + font-family: $FONT_HEADER; + font-size: 22px; + font-weight: 900; +} + +.programs_pnl_content { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: center; + + background: #DDD; + + padding: 6px; + + .programs_pnl_entry { + display: flex; + flex-direction: column; + + width: 190px; + + border: 1px solid #333; + background: #AAA; + color: #000; + text-decoration: none; + + margin: 4px; + + &:hover { + box-shadow: 0 0 8px #000000; + } + } + + .programs_pnl_img { + min-height: 140px; + display:flex; + flex-direction: column; + justify-content: flex-start; + + margin: 4px; + } + + .programs_pnl_img img { + width: 100%; + height: auto; + } + + .programs_pnl_center { + display: flex; + justify-content: center; + align-items: center; + text-align: center; + + color: black; + font-weight: bolder; + font-size: 16pt; + + flex-grow: 1; + } + + .programs_pnl_bottom { + background: #888; + display: flex; + flex-direction: row; + } + + .programs_pnl_bottom_1, .programs_pnl_bottom_2 { + flex-grow: 1; + text-align: center; + + display:flex; + flex-direction: column; + } + + .programs_pnl_bottom_sub_top { + color: #444; + } + + .programs_pnl_bottom_sub_bot { + color: #111; + font-weight: bolder; + } +} + +@media (max-width: 850px) { + .programs_pnl_base { + width: 320px; + + .programs_pnl_entry { + width: 100%; + } + + .programs_pnl_bottom_sub_top { + margin-left: 4px; + margin-right: 6px; + } + + .programs_pnl_bottom_1, .programs_pnl_bottom_2 { + flex-direction: row; + } + } +} + diff --git a/www/fragments/eulerpanel.php b/www/fragments/eulerpanel.php index 005c52d..53c93f5 100644 --- a/www/fragments/eulerpanel.php +++ b/www/fragments/eulerpanel.php @@ -9,7 +9,7 @@
- Project Euler with Befunge-93 + Project Euler with Befunge-93
diff --git a/www/fragments/programspanel.php b/www/fragments/programspanel.php new file mode 100644 index 0000000..4c94b62 --- /dev/null +++ b/www/fragments/programspanel.php @@ -0,0 +1,45 @@ + + +
+ + +
+ + ' . "\n"; + echo '
' . "\n"; + echo ' Thumbnail '  . $prog['name'] . ' ' . "\n"; + echo '
' . "\n"; + echo '
' . "\n"; + echo htmlspecialchars($prog['name']) . "\n"; + echo '
' . "\n"; + echo '
' . "\n"; + echo '
' . "\n"; + echo ' Date' . "\n"; + echo ' ' . $prog['add_date'] . '' . "\n"; + echo '
' . "\n"; + echo '
' . "\n"; + echo ' Language' . "\n"; + echo ' ' . $prog['prog_language'] . '' . "\n"; + echo '
' . "\n"; + echo '
' . "\n"; + echo '' . "\n"; + + } + + ?> + +
+ +
\ No newline at end of file diff --git a/www/internals/programs.php b/www/internals/programs.php index 4f72779..9a7d3c8 100644 --- a/www/internals/programs.php +++ b/www/internals/programs.php @@ -5,6 +5,10 @@ class Programs public static function readSingle($f) { $a = require $f; + + $a['thumbnail_url'] = '/data/images/program_thumbnails/' . $a['thumbnail_name']; + $a['url'] = '/programs/view/' . $a['name']; + return $a; } @@ -12,7 +16,14 @@ class Programs { $files = glob(__DIR__ . '/../statics/programs/*.php'); - return array_map(readSingle, $files); + return array_map('self::readSingle', $files); + } + + public static function listAllNewestFirst() + { + $data = self::listAll(); + usort($data, function($a, $b) { return strcasecmp($b['add_date'], $a['add_date']); }); + return $data; } public static function listUpdateData() diff --git a/www/pages/highscores_top50.php b/www/pages/highscores_top50.php index 942b26a..ffd6e18 100644 --- a/www/pages/highscores_top50.php +++ b/www/pages/highscores_top50.php @@ -14,5 +14,5 @@ for ($i = 0; $i < count($entries); $i++) { - print($entries[$i]['POINTS'] . '||' . htmlentities($entries[$i]['PLAYER']) . "\r\n"); + print($entries[$i]['POINTS'] . '||' . htmlspecialchars($entries[$i]['PLAYER']) . "\r\n"); } \ No newline at end of file diff --git a/www/pages/main.php b/www/pages/main.php index 6e29333..05bab6b 100644 --- a/www/pages/main.php +++ b/www/pages/main.php @@ -17,6 +17,8 @@ + +
diff --git a/www/statics/programs/All in One.php b/www/statics/programs/All in One.php index 49aeee0..a5a18ef 100644 --- a/www/statics/programs/All in One.php +++ b/www/statics/programs/All in One.php @@ -14,5 +14,5 @@ return 'download' => 'direkt', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/All in One_description.md'); }, - 'thumbnail_url' => 'All in One.png', + 'thumbnail_name' => 'All in One.png', ]; diff --git a/www/statics/programs/Beepster.php b/www/statics/programs/Beepster.php index f6adfcf..aec3e9b 100644 --- a/www/statics/programs/Beepster.php +++ b/www/statics/programs/Beepster.php @@ -15,5 +15,5 @@ return 'download' => 'direkt', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/Beepster_description.md'); }, - 'thumbnail_url' => 'Beepster.png', + 'thumbnail_name' => 'Beepster.png', ]; diff --git a/www/statics/programs/BefunUtils.php b/www/statics/programs/BefunUtils.php index 341271d..086e257 100644 --- a/www/statics/programs/BefunUtils.php +++ b/www/statics/programs/BefunUtils.php @@ -15,5 +15,5 @@ return 'wiki' => 'https://github.com/Mikescher/BefunUtils/wiki', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/BefunUtils_description.md'); }, - 'thumbnail_url' => 'BefunUtils.png', + 'thumbnail_name' => 'BefunUtils.png', ]; diff --git a/www/statics/programs/BefunZ.php b/www/statics/programs/BefunZ.php index 24d599e..f53a870 100644 --- a/www/statics/programs/BefunZ.php +++ b/www/statics/programs/BefunZ.php @@ -14,5 +14,5 @@ return 'download' => 'direkt', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/BefunZ_description.md'); }, - 'thumbnail_url' => 'BefunZ.png', + 'thumbnail_name' => 'BefunZ.png', ]; diff --git a/www/statics/programs/Blitzer.php b/www/statics/programs/Blitzer.php index 6a43e60..5e30a5e 100644 --- a/www/statics/programs/Blitzer.php +++ b/www/statics/programs/Blitzer.php @@ -14,5 +14,5 @@ return 'download' => 'direkt', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/Blitzer_description.md'); }, - 'thumbnail_url' => 'Blitzer.png', + 'thumbnail_name' => 'Blitzer.png', ]; diff --git a/www/statics/programs/Borderline Defense.php b/www/statics/programs/Borderline Defense.php index cb8bba7..f83304f 100644 --- a/www/statics/programs/Borderline Defense.php +++ b/www/statics/programs/Borderline Defense.php @@ -15,5 +15,5 @@ return 'homepage' => 'http://borderlinedefense.99k.org/', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/Borderline Defense_description.md'); }, - 'thumbnail_url' => 'Borderline Defense.png', + 'thumbnail_name' => 'Borderline Defense.png', ]; diff --git a/www/statics/programs/Crystal Grid.php b/www/statics/programs/Crystal Grid.php index 090ab75..9a64784 100644 --- a/www/statics/programs/Crystal Grid.php +++ b/www/statics/programs/Crystal Grid.php @@ -14,5 +14,5 @@ return 'download' => 'direkt', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/Crystal Grid_description.md'); }, - 'thumbnail_url' => 'Crystal Grid.png', + 'thumbnail_name' => 'Crystal Grid.png', ]; diff --git a/www/statics/programs/Deal or no Deal.php b/www/statics/programs/Deal or no Deal.php index f6e89b4..01bb5b0 100644 --- a/www/statics/programs/Deal or no Deal.php +++ b/www/statics/programs/Deal or no Deal.php @@ -14,5 +14,5 @@ return 'download' => 'direkt', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/Deal or no Deal_description.md'); }, - 'thumbnail_url' => 'Deal or no Deal.png', + 'thumbnail_name' => 'Deal or no Deal.png', ]; diff --git a/www/statics/programs/Dynamic Link Fighters.php b/www/statics/programs/Dynamic Link Fighters.php index 03b4115..baa3463 100644 --- a/www/statics/programs/Dynamic Link Fighters.php +++ b/www/statics/programs/Dynamic Link Fighters.php @@ -14,5 +14,5 @@ return 'download' => 'direkt', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/Dynamic Link Fighters_description.md'); }, - 'thumbnail_url' => 'Dynamic Link Fighters.png', + 'thumbnail_name' => 'Dynamic Link Fighters.png', ]; diff --git a/www/statics/programs/ExtendedGitGraph.php b/www/statics/programs/ExtendedGitGraph.php index 75af6d9..f697438 100644 --- a/www/statics/programs/ExtendedGitGraph.php +++ b/www/statics/programs/ExtendedGitGraph.php @@ -14,5 +14,5 @@ return 'download' => 'https://github.com/Mikescher/extendedGitGraph/', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/ExtendedGitGraph_description.md'); }, - 'thumbnail_url' => 'ExtendedGitGraph.png', + 'thumbnail_name' => 'ExtendedGitGraph.png', ]; diff --git a/www/statics/programs/Graveyard of Numbers.php b/www/statics/programs/Graveyard of Numbers.php index 44fdd35..20de856 100644 --- a/www/statics/programs/Graveyard of Numbers.php +++ b/www/statics/programs/Graveyard of Numbers.php @@ -14,5 +14,5 @@ return 'download' => 'direkt', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/Graveyard of Numbers_description.md'); }, - 'thumbnail_url' => 'Graveyard of Numbers.png', + 'thumbnail_name' => 'Graveyard of Numbers.png', ]; diff --git a/www/statics/programs/H2O.php b/www/statics/programs/H2O.php index 2d6ef56..cacaf24 100644 --- a/www/statics/programs/H2O.php +++ b/www/statics/programs/H2O.php @@ -7,13 +7,12 @@ return 'stars' => 2, 'ui_language' => 'English', 'prog_language' => 'Delphi', - 'short_description' => 'Try creating the biggest chain reaction and see yourself climb up in the global l" + - "eaderboard.', + 'short_description' => 'Try creating the biggest chain reaction and see yourself climb up in the global leaderboard.', 'add_date' => '2009-01-24', 'urls' => [ 'download' => 'direkt', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/H2O_description.md'); }, - 'thumbnail_url' => 'H2O.png', + 'thumbnail_name' => 'H2O.png', ]; diff --git a/www/statics/programs/HexSolver.php b/www/statics/programs/HexSolver.php index 249b47a..dcb47b4 100644 --- a/www/statics/programs/HexSolver.php +++ b/www/statics/programs/HexSolver.php @@ -7,13 +7,12 @@ return 'stars' => 5, 'ui_language' => 'English', 'prog_language' => 'C#', - 'short_description' => 'An automatic parser and solver for Hexcells, Hexcells Plus and Hexcells Infinite." + - "', + 'short_description' => 'An automatic parser and solver for Hexcells, Hexcells Plus and Hexcells Infinite.', 'add_date' => '2015-05-06', 'urls' => [ 'github' => 'https://github.com/Mikescher/HexSolver', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/HexSolver_description.md'); }, - 'thumbnail_url' => 'HexSolver.png', + 'thumbnail_name' => 'HexSolver.png', ]; diff --git a/www/statics/programs/Infinity Tournament.php b/www/statics/programs/Infinity Tournament.php index ec83cc6..c620b01 100644 --- a/www/statics/programs/Infinity Tournament.php +++ b/www/statics/programs/Infinity Tournament.php @@ -14,5 +14,5 @@ return 'download' => 'direkt', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/Infinity Tournament_description.md'); }, - 'thumbnail_url' => 'Infinity Tournament.png', + 'thumbnail_name' => 'Infinity Tournament.png', ]; diff --git a/www/statics/programs/Keygen Dancer.php b/www/statics/programs/Keygen Dancer.php index 4c5fbc8..1a58445 100644 --- a/www/statics/programs/Keygen Dancer.php +++ b/www/statics/programs/Keygen Dancer.php @@ -7,12 +7,11 @@ return 'stars' => 2, 'ui_language' => 'English', 'prog_language' => 'Delphi', - 'short_description' => '40 of the best keygen themes together with a funny little keygen dance animation." + - "', + 'short_description' => '40 of the best keygen themes together with a funny little keygen dance animation.', 'add_date' => '2010-03-16', 'urls' => [ ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/Keygen Dancer_description.md'); }, - 'thumbnail_url' => 'Keygen Dancer.png', + 'thumbnail_name' => 'Keygen Dancer.png', ]; diff --git a/www/statics/programs/LAN-Control.php b/www/statics/programs/LAN-Control.php index 0cdce81..82bab26 100644 --- a/www/statics/programs/LAN-Control.php +++ b/www/statics/programs/LAN-Control.php @@ -14,5 +14,5 @@ return 'download' => 'direkt', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/LAN-Control_description.md'); }, - 'thumbnail_url' => 'LAN-Control.png', + 'thumbnail_name' => 'LAN-Control.png', ]; diff --git a/www/statics/programs/LightShow.php b/www/statics/programs/LightShow.php index 92d6c3e..00d8a1a 100644 --- a/www/statics/programs/LightShow.php +++ b/www/statics/programs/LightShow.php @@ -14,5 +14,5 @@ return 'download' => 'direkt', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/LightShow_description.md'); }, - 'thumbnail_url' => 'LightShow.png', + 'thumbnail_name' => 'LightShow.png', ]; diff --git a/www/statics/programs/Logistixx.php b/www/statics/programs/Logistixx.php index c94b87a..5e53d23 100644 --- a/www/statics/programs/Logistixx.php +++ b/www/statics/programs/Logistixx.php @@ -14,5 +14,5 @@ return 'download' => 'direkt', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/Logistixx_description.md'); }, - 'thumbnail_url' => 'Logistixx.png', + 'thumbnail_name' => 'Logistixx.png', ]; diff --git a/www/statics/programs/NedSchend.php b/www/statics/programs/NedSchend.php index d9aa18d..085db77 100644 --- a/www/statics/programs/NedSchend.php +++ b/www/statics/programs/NedSchend.php @@ -15,5 +15,5 @@ return 'download' => 'direkt', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/NedSchend_description.md'); }, - 'thumbnail_url' => 'NedSchend.png', + 'thumbnail_name' => 'NedSchend.png', ]; diff --git a/www/statics/programs/Passpad.php b/www/statics/programs/Passpad.php index c030f99..adb8df1 100644 --- a/www/statics/programs/Passpad.php +++ b/www/statics/programs/Passpad.php @@ -15,5 +15,5 @@ return 'github' => 'https://github.com/Mikescher/Passpad', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/Passpad_description.md'); }, - 'thumbnail_url' => 'Passpad.png', + 'thumbnail_name' => 'Passpad.png', ]; diff --git a/www/statics/programs/Serpilicum.php b/www/statics/programs/Serpilicum.php index ef4dc89..a180e91 100644 --- a/www/statics/programs/Serpilicum.php +++ b/www/statics/programs/Serpilicum.php @@ -15,5 +15,5 @@ return 'github' => 'https://github.com/Mikescher/Serpilicum', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/Serpilicum_description.md'); }, - 'thumbnail_url' => 'Serpilicum.png', + 'thumbnail_name' => 'Serpilicum.png', ]; diff --git a/www/statics/programs/SharkSim.php b/www/statics/programs/SharkSim.php index 8ccc9e2..400f040 100644 --- a/www/statics/programs/SharkSim.php +++ b/www/statics/programs/SharkSim.php @@ -13,5 +13,5 @@ return [ ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/SharkSim_description.md'); }, - 'thumbnail_url' => 'SharkSim.png', + 'thumbnail_name' => 'SharkSim.png', ]; diff --git a/www/statics/programs/Sieb des Eratosthenes.php b/www/statics/programs/Sieb des Eratosthenes.php index 63d8e0f..5431734 100644 --- a/www/statics/programs/Sieb des Eratosthenes.php +++ b/www/statics/programs/Sieb des Eratosthenes.php @@ -14,5 +14,5 @@ return 'download' => 'direkt', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/Sieb des Eratosthenes_description.md'); }, - 'thumbnail_url' => 'Sieb des Eratosthenes.png', + 'thumbnail_name' => 'Sieb des Eratosthenes.png', ]; diff --git a/www/statics/programs/Smart Directory Lister.php b/www/statics/programs/Smart Directory Lister.php index dc5251a..30b6cfe 100644 --- a/www/statics/programs/Smart Directory Lister.php +++ b/www/statics/programs/Smart Directory Lister.php @@ -7,13 +7,12 @@ return 'stars' => 2, 'ui_language' => 'German', 'prog_language' => 'Delphi', - 'short_description' => 'List all files in a folder that match a specific pattern and export them in plain" + - "text.', + 'short_description' => 'List all files in a folder that match a specific pattern and export them in plaintext.', 'add_date' => '2010-01-12', 'urls' => [ 'download' => 'direkt', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/Smart Directory Lister_description.md'); }, - 'thumbnail_url' => 'Smart Directory Lister.png', + 'thumbnail_name' => 'Smart Directory Lister.png', ]; diff --git a/www/statics/programs/SuperBitBros.php b/www/statics/programs/SuperBitBros.php index 3fc9805..098d67f 100644 --- a/www/statics/programs/SuperBitBros.php +++ b/www/statics/programs/SuperBitBros.php @@ -15,5 +15,5 @@ return 'github' => 'https://github.com/Mikescher/SuperBitBros', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/SuperBitBros_description.md'); }, - 'thumbnail_url' => 'SuperBitBros.png', + 'thumbnail_name' => 'SuperBitBros.png', ]; diff --git a/www/statics/programs/TicTacToe.php b/www/statics/programs/TicTacToe.php index e3299b4..4e1a257 100644 --- a/www/statics/programs/TicTacToe.php +++ b/www/statics/programs/TicTacToe.php @@ -14,5 +14,5 @@ return 'download' => 'direkt', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/TicTacToe_description.md'); }, - 'thumbnail_url' => 'TicTacToe.png', + 'thumbnail_name' => 'TicTacToe.png', ]; diff --git a/www/statics/programs/Ziegenproblem.php b/www/statics/programs/Ziegenproblem.php index dac9edb..baa2448 100644 --- a/www/statics/programs/Ziegenproblem.php +++ b/www/statics/programs/Ziegenproblem.php @@ -7,13 +7,12 @@ return 'stars' => 0, 'ui_language' => 'German', 'prog_language' => 'Delphi', - 'short_description' => 'Simulate the popular Monty Hall problem (ger: Ziegenproblem) with this program fo" + - "r yourself.', + 'short_description' => 'Simulate the popular Monty Hall problem (ger: Ziegenproblem) with this program for yourself.', 'add_date' => '2008-04-10', 'urls' => [ 'download' => 'direkt', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/Ziegenproblem_description.md'); }, - 'thumbnail_url' => 'Ziegenproblem.png', + 'thumbnail_name' => 'Ziegenproblem.png', ]; diff --git a/www/statics/programs/absCanvas.php b/www/statics/programs/absCanvas.php index 949ee60..8b18509 100644 --- a/www/statics/programs/absCanvas.php +++ b/www/statics/programs/absCanvas.php @@ -7,13 +7,12 @@ return 'stars' => 3, 'ui_language' => 'English', 'prog_language' => 'Java', - 'short_description' => 'A powerful 2D Tiled-Game-Engine for java. Completely in canvas and with network s" + - "upport.', + 'short_description' => 'A powerful 2D Tiled-Game-Engine for java. Completely in canvas and with network support.', 'add_date' => '2012-05-28', 'urls' => [ 'download' => 'direkt', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/absCanvas_description.md'); }, - 'thumbnail_url' => 'absCanvas.png', + 'thumbnail_name' => 'absCanvas.png', ]; diff --git a/www/statics/programs/exeExtract.php b/www/statics/programs/exeExtract.php index d36d279..5615def 100644 --- a/www/statics/programs/exeExtract.php +++ b/www/statics/programs/exeExtract.php @@ -14,5 +14,5 @@ return 'download' => 'direkt', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/exeExtract_description.md'); }, - 'thumbnail_url' => 'exeExtract.png', + 'thumbnail_name' => 'exeExtract.png', ]; diff --git a/www/statics/programs/jCircuits.php b/www/statics/programs/jCircuits.php index dc8030b..148888c 100644 --- a/www/statics/programs/jCircuits.php +++ b/www/statics/programs/jCircuits.php @@ -15,5 +15,5 @@ return 'sourceforge' => 'http://sourceforge.net/projects/jcircuits/', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/jCircuits_description.md'); }, - 'thumbnail_url' => 'jCircuits.png', + 'thumbnail_name' => 'jCircuits.png', ]; diff --git a/www/statics/programs/jClipCorn.php b/www/statics/programs/jClipCorn.php index 111c3b8..9c61369 100644 --- a/www/statics/programs/jClipCorn.php +++ b/www/statics/programs/jClipCorn.php @@ -16,5 +16,5 @@ return 'wiki' => 'https://github.com/Mikescher/jClipCorn/wiki', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/jClipCorn_description.md'); }, - 'thumbnail_url' => 'jClipCorn.png', + 'thumbnail_name' => 'jClipCorn.png', ]; diff --git a/www/statics/programs/jQCCounter.php b/www/statics/programs/jQCCounter.php index f107c01..2de8c8e 100644 --- a/www/statics/programs/jQCCounter.php +++ b/www/statics/programs/jQCCounter.php @@ -14,5 +14,5 @@ return 'github' => 'https://github.com/Mikescher/jQCCounter', ], 'long_description' => function(){ return file_get_contents(__DIR__ . '/jQCCounter_description.md'); }, - 'thumbnail_url' => 'jQCCounter.png', + 'thumbnail_name' => 'jQCCounter.png', ];