From f34bce6847674beef238fabe4131535929a3f806 Mon Sep 17 00:00:00 2001 From: plegall Date: Sat, 8 May 2010 20:32:36 +0000 Subject: add a warning about SQLite/PostgreSQL: they are currently in "experimental" state. git-svn-id: http://piwigo.org/svn/trunk@6128 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/install.tpl | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) (limited to 'admin/themes/default/template') diff --git a/admin/themes/default/template/install.tpl b/admin/themes/default/template/install.tpl index 99937a670..1c0a1042a 100644 --- a/admin/themes/default/template/install.tpl +++ b/admin/themes/default/template/install.tpl @@ -20,6 +20,10 @@ $(function() { if ($option_selected=='sqlite' || $option_selected=='pdo-sqlite') { $('input[name=dbhost],input[name=dbuser],input[name=dbpasswd]').parent().parent().hide(); } + if ($option_selected=='mysql') { + $('#experimentalDbEngines').hide(); + } + $('#dblayer').change(function() { $db = this; if ($db.value=='sqlite' || $db.value=='pdo-sqlite') { @@ -27,8 +31,23 @@ $(function() { } else { $('input[name=dbhost],input[name=dbuser],input[name=dbpasswd]').parent().parent().show(); } + + if ($db.value=='mysql') { + $('#experimentalDbEngines').hide(); + } + else { + $('#experimentalDbEngines').show(); + } }); }); + +$(document).ready(function() { + $("a.externalLink").click(function() { + window.open($(this).attr("href")); + return false; + }); +}); + {/literal} Piwigo {$RELEASE} - {'Installation'|@translate} @@ -194,6 +216,12 @@ TD { {/if} + + + {'SQLite and PostgreSQL are currently in experimental state.'|@translate} + {'Learn more'|@translate} + + {'Host'|@translate} -- cgit v1.2.3