Changeset 6128


Ignore:
Timestamp:
May 8, 2010, 10:32:36 PM (10 years ago)
Author:
plg
Message:

add a warning about SQLite/PostgreSQL: they are currently in "experimental"
state.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/install.tpl

    r5571 r6128  
    2121       $('input[name=dbhost],input[name=dbuser],input[name=dbpasswd]').parent().parent().hide();
    2222    }
     23    if ($option_selected=='mysql') {
     24        $('#experimentalDbEngines').hide();
     25    }
     26
    2327    $('#dblayer').change(function() {
    2428        $db = this;
     
    2832           $('input[name=dbhost],input[name=dbuser],input[name=dbpasswd]').parent().parent().show();
    2933        }
     34
     35        if ($db.value=='mysql') {
     36            $('#experimentalDbEngines').hide();
     37        }
     38        else {
     39            $('#experimentalDbEngines').show();
     40        }
    3041      });
    3142  });
     43
     44$(document).ready(function() {
     45  $("a.externalLink").click(function() {
     46    window.open($(this).attr("href"));
     47    return false;
     48  });
     49});
     50
    3251</script>
    3352
     
    7291}
    7392
    74 .table2 {
     93table.table2 {
    7594  width: 100%;
    7695  margin-bottom: 1em !important;
     96  border:0;
    7797}
    7898
     
    102122  background-repeat:no-repeat;
    103123}
     124
     125#experimentalDbEngines TD {border:2px solid #666;background-color:#444; color:#ccc;}
    104126</style>
    105127{/literal}
     
    195217    {/if}
    196218    </tr>
     219    <tr id="experimentalDbEngines">
     220      <td colspan="3">
     221      {'SQLite and PostgreSQL are currently in experimental state.'|@translate}
     222      <a href="http://piwigo.org/forum/viewtopic.php?id=15927" class="externalLink">{'Learn more'|@translate}</a>
     223      </td>
     224    </tr>
    197225    <tr>
    198226      <td style="width: 30%;">{'Host'|@translate}</td>
  • trunk/language/en_UK/install.lang.php

    r5780 r6128  
    7171$lang['Download the config file'] = 'Download the config file';
    7272$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'You can download the config file and upload it to local/config directory of your installation.';
     73$lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite and PostgreSQL are currently in experimental state.';
     74$lang['Learn more'] = 'Learn more';
    7375?>
  • trunk/language/fr_FR/install.lang.php

    r5780 r6128  
    7272$lang['Download the config file'] = 'Télécharger le fichier de configuration';
    7373$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'Vous pouvez télécharger le fichier de configuration et le transférer dans le répertoire local/config de votre installation Piwigo.';
     74$lang['SQLite and PostgreSQL are currently in experimental state.'] = 'Les types SQLite et PostgreSQL sont actuellement en phase expérimentale.';
     75$lang['Learn more'] = 'En savoir plus';
    7476?>
Note: See TracChangeset for help on using the changeset viewer.