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

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

File:
1 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>
Note: See TracChangeset for help on using the changeset viewer.