Ignore:
Timestamp:
Mar 13, 2010, 1:00:52 AM (14 years ago)
Author:
plg
Message:

feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo
manages template/theme in a simpler "theme only level" architecture. It
supports multiple level inheritance.

Location:
trunk/admin/themes
Files:
3 added
1 copied

Legend:

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

    r5022 r5123  
    66<meta http-equiv="Content-script-type" content="text/javascript">
    77<meta http-equiv="Content-Style-Type" content="text/css">
    8 <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}template-common/favicon.ico">
    9 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/layout.css">
    10 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/default-colors.css">
    11 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/theme/{$themeconf.theme}/theme.css">
    12 {include file="include/install.inc.tpl"}
     8<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico">
     9
     10{foreach from=$themes item=theme}
     11{if isset($theme.local_head)}{include file=$theme.local_head}{/if}
     12<link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/{$theme.name}/theme.css">
     13{/foreach}
     14
     15<script type="text/javascript" src="themes/default/js/jquery.packed.js"></script>
    1316{literal}
     17<script type="text/javascript">
     18$(function() {
     19    $option_selected = $('#dblayer option:selected').attr('value');
     20    if ($option_selected=='sqlite' || $option_selected=='pdo-sqlite') {
     21       $('input[name=dbhost],input[name=dbuser],input[name=dbpasswd]').parent().parent().hide();
     22    }
     23    $('#dblayer').change(function() {
     24        $db = this;
     25        if ($db.value=='sqlite' || $db.value=='pdo-sqlite') {
     26           $('input[name=dbhost],input[name=dbuser],input[name=dbpasswd]').parent().parent().hide();
     27        } else {
     28           $('input[name=dbhost],input[name=dbuser],input[name=dbpasswd]').parent().parent().show();
     29        }
     30      });
     31  });
     32</script>
     33
    1434<style type="text/css">
    1535.content {
Note: See TracChangeset for help on using the changeset viewer.