diff --git a/Repositories:Plugins.php b/Repositories:Plugins.php index d81d25b..bc76e6d 100644 --- a/Repositories:Plugins.php +++ b/Repositories:Plugins.php @@ -4,6 +4,32 @@ $PAGE_TYPE = "KXSTUDIO"; $PAGE_SOURCE_1 = ARRAY("/Repositories", "/Repositories:Plugins"); $PAGE_SOURCE_2 = ARRAY("Repositories", "Plugins"); include_once("includes/header.php"); + +function endsWith($haystack, $needle) { + return strrpos($haystack, $needle, 0) === (strlen($haystack) - strlen($needle)); +} + +function print_app($package, $screenshot, $name, $category, $details) { + +if (! endsWith($screenshot, '.jpg')) { + $screenshot = $screenshot . '.png'; +} + +echo +'

+ +' . $screenshot . ' +

+' . $name . ' (' . $category . ')
'; + +for ($i = 0, $count = count($details); $i < $count; $i++) { + echo $details[$i] . '
'; +} + +echo '

'; + +} + ?>
@@ -62,70 +88,31 @@ include_once("includes/header.php"); wolpertinger --> - - + +print_app("add64", "add64", "Add64", "Standalone", ARRAY( +'Add64 is the result of experiments around additive synthesis and is intended for research purposes only.', +'The spectral drawing scheme for the harmonics and envelopes has been inspired by the virtual pipe organ Aeolus by Fons Adriaensen.', +'Project Page: https://sourceforge.net/projects/add64/' +)); - - - -
-

- add64 -

-
-

- Add64 (Standalone)
- Add64 is the result of experiments around additive synthesis and is intended for research purposes only.
- The spectral drawing scheme for the harmonics and envelopes has been inspired by the virtual pipe organ Aeolus by Fons Adriaensen.
- Project Page: https://sourceforge.net/projects/add64/
-

-
+print_app("amsynth", "amsynth", "amSynth", "Standalone + DSSI + LV2 + VST", ARRAY( +'amsynth is a software synth that provides a classic subtractive synthesizer topology.', +'Project Page: http://code.google.com/p/amsynth/', +)); - - - -
-

- amsynth -

-
-

- amsynth (Standalone + DSSI + LV2)
- amsynth is a software synth that provides a classic subtractive synthesizer topology.
- Project Page: http://code.google.com/p/amsynth/
-

-
+print_app("arpage", "arpage", "Arpage + Zonage", "Standalone", ARRAY( +'JACK MIDI arpeggiator with transport and tempo sync.', +'Project Page: http://sourceforge.net/projects/arpage/' +)); - - - -
-

- arpage -

-
-

- Arpage + Zonage (Standalone)
- JACK MIDI arpeggiator with transport and tempo sync.
- Project Page: http://sourceforge.net/projects/arpage/
-

-
+?>