1 Commits

Author SHA1 Message Date
crestAT
d9a2d132b3 v0.3.3
N: Turkish translation
N: Ukrainian translation
C: update Dutch translation
C: update French translation
C: update Greek translation
C: update Russian translation
C: update Spanish translation
C: update Swedish translation
F: Configuration - fix table view if unsupported extension exists
2016-09-01 07:55:40 +02:00
15 changed files with 17 additions and 11 deletions

View File

@@ -140,28 +140,25 @@ function log_display($loginfo) {
for ($k = 0; $k < count($unsupported); $k++) { // check for unsupported release / architecture / platforms for ($k = 0; $k < count($unsupported); $k++) { // check for unsupported release / architecture / platforms
if (!check_min_release($unsupported[$k]) || ($unsupported[$k] == $g['arch']) || ($unsupported[$k] == $g['platform'])) { if (!check_min_release($unsupported[$k]) || ($unsupported[$k] == $g['arch']) || ($unsupported[$k] == $g['platform'])) {
echo "<td {$loginfo['columns'][$i]['param']} class='{$loginfo['columns'][$i]['class']}'> <img src='{$image_path}status_disabled.png' border='0' alt='' title='".gettext('Unsupported architecture/platform/release').': '.$unsupported[$k]."' /></td>\n"; echo "<td {$loginfo['columns'][$i]['param']} class='{$loginfo['columns'][$i]['class']}'> <img src='{$image_path}status_disabled.png' border='0' alt='' title='".gettext('Unsupported architecture/platform/release').': '.$unsupported[$k]."' /></td>\n";
break; continue 2; // unsupported, therefore we leave and proceed to the next extension in the list
} }
} }
} }
// check if extension is already installed (existing config.xml or postinit cmd entry) // check if extension is already installed (existing config.xml or postinit cmd entry)
$already_installed = false; $already_installed = false;
echo "<td {$loginfo['columns'][$i]['param']} class='{$loginfo['columns'][$i]['class']}' "; echo "<td {$loginfo['columns'][$i]['param']} class='{$loginfo['columns'][$i]['class']}' ";
if ((isset($config[$result[2]])) || (log_get_status($result[2]) == 1)) { if ((isset($config[$result[2]])) || (log_get_status($result[2]) == 1)) {
// echo "<td {$loginfo['columns'][$i]['param']} class='{$loginfo['columns'][$i]['class']}'> <img src='{$image_path}status_enabled.png' border='0' alt='' title='".gettext('Enabled')."' /></td>\n";
echo "><img src='{$image_path}status_enabled.png' border='0' alt='' title='".gettext('Enabled')."' /"; echo "><img src='{$image_path}status_enabled.png' border='0' alt='' title='".gettext('Enabled')."' /";
$already_installed = true; $already_installed = true;
} }
if (($already_installed === false) || isset($config['onebuttoninstaller']['re_install']) ) { if (($already_installed === false) || isset($config['onebuttoninstaller']['re_install']) ) {
// data for installation // data for installation
// echo "<td {$loginfo['columns'][$i]['param']} class='{$loginfo['columns'][$i]['class']}' title='".gettext('Select to install')."' >
echo "><input title='".gettext('Select to install')."' type='checkbox' name='name[".$j."][extension]' value='".$result[2]."' /> echo "><input title='".gettext('Select to install')."' type='checkbox' name='name[".$j."][extension]' value='".$result[2]."' />
<input type='hidden' name='name[".$j."][truename]' value='".$result[0]."' /> <input type='hidden' name='name[".$j."][truename]' value='".$result[0]."' />
<input type='hidden' name='name[".$j."][command1]' value='".$result[3]."' /> <input type='hidden' name='name[".$j."][command1]' value='".$result[3]."' />
<input type='hidden' name='name[".$j."][command2]' value='".$result[4]."' />"; <input type='hidden' name='name[".$j."][command2]' value='".$result[4]."' />";
// </td>\n";
} }
echo "</td>\n"; echo "</td>\n";
} // EOcount } // EOcount
else echo "<td {$loginfo['columns'][$i]['param']} class='{$loginfo['columns'][$i]['class']}'>" . $result[$loginfo['columns'][$i]['pmid']] . "</td>\n"; else echo "<td {$loginfo['columns'][$i]['param']} class='{$loginfo['columns'][$i]['class']}'>" . $result[$loginfo['columns'][$i]['pmid']] . "</td>\n";
} //EObeta-check } //EObeta-check

View File

@@ -29,7 +29,7 @@
of the authors and should not be interpreted as representing official policies, of the authors and should not be interpreted as representing official policies,
either expressed or implied, of the FreeBSD Project. either expressed or implied, of the FreeBSD Project.
*/ */
$v = "v0.3.2"; // extension version $v = "v0.3.3"; // extension version
$appname = "OneButtonInstaller"; $appname = "OneButtonInstaller";
require_once("config.inc"); require_once("config.inc");

View File

@@ -1,12 +1,21 @@
Version Date Description Version Date Description
0.3.2 2016.08.25 N: configuration - add checkbox to enable the installation of extensions even if they are already installed 0.3.3 2016.09.01 N: Turkish translation
N: Ukrainian translation
C: update Dutch translation
C: update French translation
C: update Greek translation
C: update Russian translation
C: update Spanish translation
C: update Swedish translation
F: Configuration - fix table view if unsupported extension exists
0.3.2 2016.08.25 N: Configuration - add checkbox to enable the installation of extensions even if they are already installed
N: Swedish translation N: Swedish translation
C: update Greek translation C: update Greek translation
C: update German translation C: update German translation
0.3.1 2016.08.15 F: OBI installer - add checkbox to override restriction for extensions installation path 0.3.1 2016.08.15 F: OBI installer - add checkbox to override restriction for extensions installation path
0.3 2016.08.14 N: configuration - checkbox to override restriction for extensions installation path 0.3 2016.08.14 N: Configuration - checkbox to override restriction for extensions installation path
(limited to a directory under /mnt/) (limited to a directory under /mnt/)
0.2 2016.08.09 N: configuration - enable/disable beta releases in extensions list 0.2 2016.08.09 N: Configuration - enable/disable beta releases in extensions list
N: check hardware platform to use midnightcommander on i386 too N: check hardware platform to use midnightcommander on i386 too
F: disabling extension not possible, leads to an error message F: disabling extension not possible, leads to an error message
0.1 2016.08.01 initial release 0.1 2016.08.01 initial release

View File

@@ -1 +1 @@
0.3.2 0.3.3