From 30fef254eba98b9449e7016bc9fa83af1c8a81cb Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 5 Aug 2017 20:41:38 +0200 Subject: [PATCH] Start cleaning repo:apps page --- Repositories:Applications.php | 159 ++++++++++++++-------------------- 1 file changed, 67 insertions(+), 92 deletions(-) diff --git a/Repositories:Applications.php b/Repositories:Applications.php index 4ca5a95..1b95383 100644 --- a/Repositories:Applications.php +++ b/Repositories:Applications.php @@ -4,6 +4,32 @@ $PAGE_TYPE = "KXSTUDIO"; $PAGE_SOURCE_1 = ARRAY("/Repositories", "/Repositories:Applications"); $PAGE_SOURCE_2 = ARRAY("Repositories", "Applications"); 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 '

'; + +} + ?>
@@ -26,103 +52,52 @@ include_once("includes/header.php"); non-sequencer --> - - - -
-

- ams -

-
-

- AMS (Modular Plugin Host)
- AlsaModularSynth is a realtime modular synthesizer and effect processor.
- Homepage: http://alsamodular.sourceforge.net/
-

-
+ - - -
-

- ardour3 -

-
-

- Ardour3 (DAW)
- Ardour is a multichannel hard disk recorder (HDR) and digital audio workstation (DAW).
- It can be used to control, record, edit and run complex audio setups.
- Homepage: http://ardour.org/
- User Manual: http://manual.ardour.org/
-

-
+print_app("ams", "ams", "AMS", "Modular Plugin Host", ARRAY( +'AlsaModularSynth is a realtime modular synthesizer and effect processor.', +'Homepage: http://alsamodular.sourceforge.net/' +)); - - - -
-

- ariamaestosa -

-
-

- Aria Maestosa (MIDI Sequencer)
- Aria Maestosa is an open-source midi sequencer/editor.
- It lets you compose, edit and play midi files with a few clicks in a user-friendly interface offering score, keyboard, guitar, drum and controller views.
- Homepage: http://ariamaestosa.sourceforge.net/
- User Manual: http://ariamaestosa.sourceforge.net/man.html
-

-
+print_app("ardour", "ardour3", "Ardour", "DAW", ARRAY( +'Ardour is a multichannel hard disk recorder (HDR) and digital audio workstation (DAW).', +'It can be used to control, record, edit and run complex audio setups.', +'Homepage: http://ardour.org/', +'User Manual: http://manual.ardour.org/' +)); - - - -
-

- cadence -

-
-

- Cadence (JACK Toolbox)
- Collection of tools useful for audio production.
- This is the main app. It performs system checks, manages JACK, calls other tools and make system tweaks.
- Homepage and Documentation: /cadence
-

-
+print_app("ariamaestosa", "ariamaestosa.jpg", "Aria Maestosa", "MIDI Sequencer", ARRAY( +'Aria Maestosa is an open-source midi sequencer/editor.', +'It lets you compose, edit and play midi files with a few clicks in a user-friendly interface offering score, keyboard, guitar, drum and controller views.', +'Homepage: http://ariamaestosa.sourceforge.net/', +'User Manual: http://ariamaestosa.sourceforge.net/man.html' +)); - - - -
-

- carla -

-
-

- Carla (Modular Plugin Host)
- Carla is an audio plugin host, with support for many audio drivers and plugin formats.
- It has some nice features like automation of parameters via MIDI CC and full OSC control.
- Currently supports LADSPA, DSSI, LV2, and VST plugin formats, and GIG, SF2 and SFZ sounds banks.
- Homepage and Documentation: /carla
-

-
+print_app("cadence", "cadence", "Cadence", "JACK Toolbox", ARRAY( +'Collection of tools useful for audio production.', +'This is the main app. It performs system checks, manages JACK, calls other tools and make system tweaks.', +'Homepage and Documentation: ' . $ROOT . '/cadence' +)); - - - -
-

- catia -

-
-

- Catia (Patchbay)
- JACK Patchbay, with some neat features like A2J bridge support and JACK Transport.
- It's supposed to be as simple as possible, so it can work nicely on non-Linux platforms.
- Homepage and Documentation: /catia
-

-
+print_app("carla", "carla", "Carla", "Modular Plugin Host", ARRAY( +'Carla is an audio plugin host, with support for many audio drivers and plugin formats.', +'It has some nice features like automation of parameters via MIDI CC and full OSC control.', +'Currently supports LADSPA, DSSI, LV2, and VST plugin formats, and GIG, SF2 and SFZ sounds banks.', +'Homepage and Documentation: ' . $ROOT . '/carla' +)); + +print_app("catia", "catia", "Catia", "Patchbay", ARRAY( +'JACK Patchbay, with some neat features like A2J bridge support and JACK Transport.', +'It\'s supposed to be as simple as possible, so it can work nicely on non-Linux platforms.', +'Homepage and Documentation: ' . $ROOT . '/catia" class="external text" rel="nofollow" target="_blank">' . $ROOT . '/catia' +)); +?>