Changeset 5123 for trunk/admin/themes/default
- Timestamp:
- Mar 13, 2010, 1:00:52 AM (15 years ago)
- Location:
- trunk/admin/themes
- Files:
-
- 7 added
- 4 edited
- 59 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/themes/default/default-layout.css
r5098 r5123 697 697 } 698 698 } 699 700 /* Set the width of the menubar for the galery */ 701 #menubar { 702 width: 18em; 703 } 704 .content { 705 margin-left: 20em; /* = #menubar width + 2em */ 706 } 707 /* Set minimum width of the page before getting a scrollbar */ 708 /* IE5 and IE6 don't get that */ 709 BODY { 710 min-width: 60em; /* ~ 3* #menubar width */ 711 } 712 BODY#thePopuphelpPage { 713 min-width: 0; 714 } 715 716 /* Set some sizes according to your maximum thumbnail width and height */ 717 .content UL.thumbnails SPAN, 718 .content UL.thumbnails SPAN.wrap2 A, 719 .content UL.thumbnails LABEL, 720 .content DIV.thumbnailCategory DIV.illustration { 721 width: 140px; /* max thumbnail width + 2px */ 722 } 723 .content UL.thumbnails SPAN.wrap2, 724 .content DIV.thumbnailCategory DIV.description { 725 height: 140px; /* max thumbnail height + 2px */ 726 } 727 728 729 /* Category thumbnails on main page */ 730 .content UL.thumbnailCategories LI { 731 width: 49.7%; /* 49.7% for 2 per line, 33.2% for 3 per line*/ 732 } 733 734 /* Set defaults for thumbnails legend */ 735 .content UL.thumbnails SPAN.thumbLegend { 736 display: block; /* display: none; if you don't want legend */ 737 height: 4em; /* legend height (don't set auto to be Gecko friendly)*/ 738 } -
trunk/admin/themes/default/template/admin.tpl
r5098 r5123 1 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"t emplate-common/lib/ui/packed/ui.core.packed.js" }2 {known_script id="jquery.ui.accordion" src=$ROOT_URL|@cat:"t emplate-common/lib/ui/packed/ui.accordion.packed.js" }3 {known_script id="jquery.tipTip" src=$ROOT_URL|@cat:"t emplate-common/lib/plugins/jquery.tipTip.minified.js" }1 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js" } 2 {known_script id="jquery.ui.accordion" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.accordion.packed.js" } 3 {known_script id="jquery.tipTip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.tipTip.minified.js" } 4 4 5 5 <script type="text/javascript"> -
trunk/admin/themes/default/template/cat_list.tpl
r5079 r5123 1 {known_script id="jquery" src=$ROOT_URL|@cat:"t emplate-common/lib/jquery.packed.js"}2 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"t emplate-common/lib/ui/packed/ui.core.packed.js" }3 {known_script id="jquery.ui.sortable" src=$ROOT_URL|@cat:"t emplate-common/lib/ui/packed/ui.sortable.packed.js" }1 {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} 2 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js" } 3 {known_script id="jquery.ui.sortable" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.sortable.packed.js" } 4 4 5 5 <script type="text/javascript"> -
trunk/admin/themes/default/template/element_set_ranks.tpl
r3282 r5123 1 {known_script id="jquery" src=$ROOT_URL|@cat:"t emplate-common/lib/jquery.packed.js"}2 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"t emplate-common/lib/ui/packed/ui.core.packed.js" }3 {known_script id="jquery.ui.sortable" src=$ROOT_URL|@cat:"t emplate-common/lib/ui/packed/ui.sortable.packed.js" }1 {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} 2 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js" } 3 {known_script id="jquery.ui.sortable" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.sortable.packed.js" } 4 4 5 5 {literal} -
trunk/admin/themes/default/template/header.tpl
r5098 r5123 12 12 <meta name="generator" content="Piwigo (aka PWG), see piwigo.org"> 13 13 <title>{$GALLERY_TITLE} :: {$PAGE_TITLE}</title> 14 <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL} template-common/favicon.ico">14 <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico"> 15 15 16 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/layout.css"> 16 {foreach from=$themes item=theme} 17 {if isset($theme.local_head)}{include file=$theme.local_head}{/if} 18 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/{$theme.name}/theme.css"> 19 {/foreach} 20 21 {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js" now=1} {*jQuery is always available by default*} 22 23 <script type="text/javascript" src="{$ROOT_URL}themes/default/js/scripts.js"></script> 17 24 <!--[if lt IE 7]> 18 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/fix-ie5-ie6.css"> 19 <![endif]--> 20 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/default-colors.css"> 21 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/theme/{$themeconf.theme}/theme.css"> 22 {known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js" now=1} {*jQuery is always available by default*} 23 {$themeconf.local_head} 24 <script type="text/javascript" src="{$ROOT_URL}template-common/scripts.js"></script> 25 <!--[if lt IE 7]> 26 <style> 27 {* only because we need {$ROOT_URL} otherwise use fix-ie5-ie6.css *} 28 BODY {ldelim} behavior:url("{$ROOT_URL}template-common/csshover.htc"); } 29 A IMG, .button, .icon {ldelim} 30 behavior:url("{$ROOT_URL}template-common/tooltipfix.htc"); 31 } 32 FORM {ldelim} behavior: url("{$ROOT_URL}template-common/inputfix.htc"); } 33 </style> 34 <script type="text/javascript" src="{$ROOT_URL}template-common/pngfix.js"></script> 25 <script type="text/javascript" src="{$ROOT_URL}themes/default/js/pngfix.js"></script> 35 26 <![endif]--> 36 27 … … 50 41 <h1> 51 42 <a href="{$U_RETURN}" title="Visit Gallery"> 52 <img src=" admin/template/goto/icon/home.png" alt="{'Home'|@translate}">43 <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/home.png" alt="{'Home'|@translate}"> 53 44 {$GALLERY_TITLE} 54 45 </a> … … 60 51 <a href="{$U_CHANGE_THEME}" title="Switch to clear theme for administration">Change Theme</a> | 61 52 <a href="{$U_LOGOUT}">{'Logout'|@translate}</a> 62 <a href="{$U_FAQ}" title="{'Instructions'|@translate}" id="instructions"><img style="padding-left:10px;" src="{$ROOT_URL} admin/template/goto/icon/help.png" class="button" alt="(?)"></a>53 <a href="{$U_FAQ}" title="{'Instructions'|@translate}" id="instructions"><img style="padding-left:10px;" src="{$ROOT_URL}{$themeconf.admin_icon_dir}/help.png" class="button" alt="(?)"></a> 63 54 </div> 64 55 </div> -
trunk/admin/themes/default/template/include/autosize.inc.tpl
r3283 r5123 1 {known_script id="jquery" src=$ROOT_URL|@cat:"t emplate-common/lib/jquery.packed.js"}2 {known_script id="jquery.autogrow" src=$ROOT_URL|@cat:"t emplate-common/lib/plugins/jquery.autogrow-textarea.js"}1 {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} 2 {known_script id="jquery.autogrow" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.autogrow-textarea.js"} 3 3 4 4 {* Auto size and auto grow textarea *} -
trunk/admin/themes/default/template/include/datepicker.inc.tpl
r3283 r5123 1 1 2 {known_script id="jquery" src=$ROOT_URL|@cat:"t emplate-common/lib/jquery.packed.js"}3 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"t emplate-common/lib/ui/packed/ui.core.packed.js"}4 {known_script id="jquery.ui.datepicker" src=$ROOT_URL|@cat:"t emplate-common/lib/ui/packed/ui.datepicker.packed.js"}5 {known_script id="datepicker.js" src=$ROOT_URL|@cat:"t emplate-common/datepicker.js"}2 {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} 3 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"} 4 {known_script id="jquery.ui.datepicker" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.datepicker.packed.js"} 5 {known_script id="datepicker.js" src=$ROOT_URL|@cat:"themes/default/js/datepicker.js"} 6 6 7 {assign var="datepicker_language" value="t emplate-common/lib/ui/i18n/ui.datepicker-"|@cat:$lang_info.code|@cat:".js"}7 {assign var="datepicker_language" value="themes/default/js/ui/i18n/ui.datepicker-"|@cat:$lang_info.code|@cat:".js"} 8 8 9 9 {if "PHPWG_ROOT_PATH"|@constant|@cat:$datepicker_language|@file_exists} … … 12 12 13 13 {html_head} 14 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}t emplate-common/lib/ui/theme/ui.datepicker.css">14 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/default/js/ui/themes/ui.datepicker.css"> 15 15 {/html_head} 16 16 … … 19 19 {ldelim} 20 20 return pwg_common_initialization_datepicker( 21 "{$ROOT_URL} admin/template/{$themeconf.template}/icon/datepicker.png",21 "{$ROOT_URL}{$themeconf.admin_icon_dir}/datepicker.png", 22 22 day, month, year, linked_date, checked_on_change, min_linked_date, max_linked_date); 23 23 } -
trunk/admin/themes/default/template/include/dbselect.inc.tpl
r3283 r5123 1 {known_script id="jquery" src=$ROOT_URL|@cat:"t emplate-common/lib/jquery.packed.js"}2 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"t emplate-common/lib/ui/packed/ui.core.packed.js"}3 {known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"t emplate-common/lib/ui/packed/ui.resizable.packed.js"}1 {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} 2 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"} 3 {known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.resizable.packed.js"} 4 4 5 5 {* Resize possible *} -
trunk/admin/themes/default/template/include/resize.inc.tpl
r3283 r5123 1 {known_script id="jquery" src=$ROOT_URL|@cat:"t emplate-common/lib/jquery.packed.js"}2 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"t emplate-common/lib/ui/packed/ui.core.packed.js"}3 {known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"t emplate-common/lib/ui/packed/ui.resizable.packed.js"}1 {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} 2 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"} 3 {known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.resizable.packed.js"} 4 4 5 5 {* Resize possible *} -
trunk/admin/themes/default/template/install.tpl
r5022 r5123 6 6 <meta http-equiv="Content-script-type" content="text/javascript"> 7 7 <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> 13 16 {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 14 34 <style type="text/css"> 15 35 .content { -
trunk/admin/themes/default/template/intro.tpl
r5021 r5123 1 {known_script id="jquery" src=$ROOT_URL|@cat:"t emplate-common/lib/jquery.packed.js"}2 {known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"t emplate-common/lib/plugins/jquery.cluetip.packed.js"}1 {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} 2 {known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.cluetip.packed.js"} 3 3 4 4 <script type="text/javascript"> -
trunk/admin/themes/default/template/menubar.tpl
r4919 r5123 1 {known_script id="jquery" src=$ROOT_URL|@cat:"t emplate-common/lib/jquery.packed.js"}2 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"t emplate-common/lib/ui/packed/ui.core.packed.js" }3 {known_script id="jquery-tablednd" src=$ROOT_URL|@cat:"t emplate-common/lib/jquery.tablednd.js"}1 {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} 2 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js" } 3 {known_script id="jquery-tablednd" src=$ROOT_URL|@cat:"themes/default/js/jquery.tablednd.js"} 4 4 5 5 {literal} -
trunk/admin/themes/default/template/photos_add_direct.tpl
r5098 r5123 1 {known_script id="jquery" src=$ROOT_URL|@cat:"t emplate-common/lib/jquery.packed.js"}1 {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} 2 2 3 3 {literal} -
trunk/admin/themes/default/template/picture_modify.tpl
r5067 r5123 3 3 {include file='include/datepicker.inc.tpl'} 4 4 5 {known_script id="jquery.fcbkcomplete" src=$ROOT_URL|@cat:"t emplate-common/lib/plugins/jquery.fcbkcomplete.js"}5 {known_script id="jquery.fcbkcomplete" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.fcbkcomplete.js"} 6 6 {literal} 7 7 <script type="text/javascript"> -
trunk/admin/themes/default/template/plugins_new.tpl
r5036 r5123 1 {known_script id="jquery" src=$ROOT_URL|@cat:"t emplate-common/lib/jquery.packed.js"}2 {known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"t emplate-common/lib/plugins/jquery.cluetip.packed.js"}1 {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} 2 {known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.cluetip.packed.js"} 3 3 4 4 <script type="text/javascript"> -
trunk/admin/themes/default/template/plugins_update.tpl
r5039 r5123 1 {known_script id="jquery" src=$ROOT_URL|@cat:"t emplate-common/lib/jquery.packed.js"}2 {known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"t emplate-common/lib/plugins/jquery.cluetip.packed.js"}1 {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} 2 {known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.cluetip.packed.js"} 3 3 4 4 <script type="text/javascript"> -
trunk/admin/themes/default/template/upgrade.tpl
r5021 r5123 6 6 <meta http-equiv="Content-script-type" content="text/javascript"> 7 7 <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"> 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 12 15 {literal} 13 16 <style type="text/css"> -
trunk/admin/themes/default/template/user_list.tpl
r5036 r5123 219 219 <td>{'Interface theme'|@translate}</td> 220 220 <td> 221 <label><input type="radio" name="t emplate_action" value="leave" checked="checked"> {'leave'|@translate}</label>222 <label><input type="radio" name="t emplate_action" value="set" id="template_action_set"> {'set to'|@translate}</label>223 <select onchange="document.getElementById('t emplate_action_set').checked = true;" name="template" size="1">224 {html_options values=$t emplate_options output=$template_options selected=$template_selected}221 <label><input type="radio" name="theme_action" value="leave" checked="checked"> {'leave'|@translate}</label> 222 <label><input type="radio" name="theme_action" value="set" id="theme_action_set"> {'set to'|@translate}</label> 223 <select onchange="document.getElementById('theme_action_set').checked = true;" name="theme" size="1"> 224 {html_options values=$theme_options output=$theme_options selected=$theme_selected} 225 225 </select> 226 226 </td>
Note: See TracChangeset
for help on using the changeset viewer.