Changeset 31232


Ignore:
Timestamp:
07/08/15 22:12:12 (4 years ago)
Author:
SergeD
Message:

version 1.2.26 - see changelog for details

Location:
extensions/greydragon
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • extensions/greydragon/admin/admin.tpl

    r31175 r31232  
    197197      <li><label><span class="graphicalCheckbox {if $options.p_rootpage_navarr == "on"}icon-check{else}icon-check-empty{/if}">&nbsp;</span><input name="p_rootpage_navarr" id="p_rootpage_navarr" type="checkbox" value="on" {if $options.p_rootpage_navarr == "on"}checked="checked"{/if}>{'Display navigation arrows'|@translate}</label></li> 
    198198      <li><label><span class="graphicalCheckbox {if $options.p_rootpage_navctr == "on"}icon-check{else}icon-check-empty{/if}">&nbsp;</span><input name="p_rootpage_navctr" id="p_rootpage_navctr" type="checkbox" value="on" {if $options.p_rootpage_navctr == "on"}checked="checked"{/if}>{'Display navigation controls'|@translate}</label></li> 
     199      <li><label><span class="graphicalCheckbox {if $options.p_rootpage_link == "on"}icon-check{else}icon-check-empty{/if}">&nbsp;</span><input name="p_rootpage_link" id="p_rootpage_link" type="checkbox" value="on" {if $options.p_rootpage_link == "on"}checked="checked"{/if}>{'Include "Click to Enter" link'|@translate}</label></li> 
    199200    </ul> 
    200201  </fieldset> 
  • extensions/greydragon/admin/css/styles.css

    r31175 r31232  
    55 
    66#menubar dt { padding-top: 0; padding-bottom: 0; padding-left: 12px; background: #222; color: #EEE; line-height: 30px; } 
    7 #menubar dt:hover { background: #000; color: #2EA2CC; } 
     7#menubar dt:hover, #menubar li:hover { background: #000; color: #2EA2CC; } 
    88#menubar dl, #menubar dl.last { border: none; background-color: #222; } 
    99#menubar .ui-accordion-content a { color: #EEE; } 
     
    1212#menubar .ui-accordion-content-active { background: #333; color: #EEE; } 
    1313 
    14 /* Piwigo 2.7 support */ 
    1514#menubar dl.menu-focused dt { background: #000; color: #EEE; } 
    1615#menubar dl.menu-focused dt.menu-header-active, #menubar dt.menu-header-active { background: #0074A2; color: #EEE; } 
    17 #menubar ul { background: #333; color: #EEE; } 
    18 #menubar li a { color: #EEE; } 
     16#menubar ul { line-height: 30px; background: #333; color: #EEE; } 
     17#menubar li { line-height: 30px; height: 30px; padding-left: 14px; } 
     18#menubar li a { color: rgba(240, 245, 250, 0.7); acolor: #EEE; } 
     19#menubar li a:hover { color: #00B9EB; } 
     20#menubar ul.scroll li a.active-on { font-weight: bold; color: #FFF; } 
    1921 
    2022#pluginsMenuSeparator { margin: 0; width: auto; border-bottom: none; border-left: none;} 
    21 #menubar ul { line-height: 30px; } 
    22 #menubar li { line-height: 30px; height: 30px; padding-left: 14px; } 
    2323 
    2424.content { font-size: 0.9em; } 
     
    6060.content select { width: 51.5%; margin-right: 0.4em; padding: 2px 2px 2px 4px; background-color: #FFF; color: #555555; border: 1px solid #ccc; } 
    6161 
    62 .content input[type='submit'], .content input[type='button'] { display: inline-block; width: 120px; min-width: 100px; margin-bottom: 1em; line-height: 1.8em; 
    63     padding: 2px 10px 1px; 
    64     cursor: pointer; 
    65     color: #555; 
    66     border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px;  
    67     white-space: nowrap; 
    68     box-sizing: border-box; 
    69     background: none repeat scroll 0% 0% #F7F7F7; 
    70     box-shadow: 0px 1px 0px #FFF inset, 0px 1px 0px rgba(0, 0, 0, 0.08); 
     62.content input[type='submit'], .content input[type='button'] { font-weight: normal; display: inline-block; width: 120px; min-width: 100px; margin-bottom: 1em; line-height: 1.8em; 
     63    padding: 2px 10px 1px; cursor: pointer; color: #555; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px;  
     64    white-space: nowrap; box-sizing: border-box; background: none repeat scroll 0% 0% #F7F7F7; box-shadow: 0px 1px 0px #FFF inset, 0px 1px 0px rgba(0, 0, 0, 0.08); 
    7165    vertical-align: top; 
    7266} 
     67 
     68.content input[type='submit'] { background-color: #0091CD; color: #FFF; border-color: #0073AA; box-shadow: 0px 1px 0px rgba(120, 200, 230, 0.6) inset; } 
    7369 
    7470form.properties label.textarea { display: inline-block; width: 89%; margin: 0; line-height: 1em; } 
  • extensions/greydragon/admin/js/admin.js

    r30484 r31232  
    88  }); 
    99  $(".ajax").colorbox({ scrolling: true, maxWidth: '90%', maxHeight: '90%' }); 
     10 
     11  var page = $(location).attr('href'); 
     12  var pathName = page.substring(page.lastIndexOf('/') + 1, page.length); 
     13  if (pathName) { 
     14    $('#pwgMain #menubar dl ul.scroll li a').each(function(){ 
     15      var href = $(this).attr('href'); 
     16      if (pathName.indexOf(href) == 0) { 
     17        $(this).addClass('active-on'); 
     18      } else { 
     19        $(this).removeClass('active-on'); 
     20      } 
     21    }); 
     22  } 
    1023}); 
  • extensions/greydragon/changelog.txt

    r31175 r31232  
    1818 
    1919=== Changelog === 
     20version 1.2.26 
     21+ ADMIN: New option - Include "Click to Enter" link for Root Page 
     22+ ADMIN: Small style improvements for styles and menu support 
     23+ CSS: Added theme-<colorpack> class to body element allowing individual styling with 3rd party plugins 
     24+ CSS: Small style improvements 
     25+ Translation support: Added he_IL, th_TH, el_GR, zh_CN language 
     26+ Added support for translation of Home Page Quote 
     27 
    2028version 1.2.25 
    2129+ ADMIN: Small style improvements 
  • extensions/greydragon/css/colorpack/blackhawk/styles.css

    r31175 r31232  
    2121#g-theme-logo { background: transparent url('images/colorpack.png') no-repeat; } 
    2222#g-footer a { color: #6392cf; } 
     23#g-footer a:hover { color: #fff; } 
    2324 
    2425#content, .content { background-color: #000; } 
     
    7071#cboxLoadedContent { background: #222 !important; } 
    7172#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose { background-image: url(images/controls.png); } 
     73 
     74.gdHomeEnter { border: 1px solid #ccc; background: #000; } 
     75.gdHomeEnter a { color: #6392cf; } 
     76.gdHomeEnter a:hover { color: #fff; } 
  • extensions/greydragon/css/colorpack/greydragon/styles.css

    r31175 r31232  
    2121#g-theme-logo { background: transparent url('images/colorpack.png') no-repeat; } 
    2222#g-footer a { color: #6392cf; } 
     23#g-footer a:hover { color: #fff; } 
    2324 
    2425#content, .content { background-color: #1A2022; } 
     
    7071#cboxLoadedContent { background: #222 !important; } 
    7172#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose { background-image: url(images/controls.png); } 
     73 
     74.gdHomeEnter { border: 1px solid #ccc; background: #1A2022; } 
     75.gdHomeEnter a { color: #6392cf; } 
     76.gdHomeEnter a:hover { color: #fff; } 
  • extensions/greydragon/css/colorpack/slateblue/styles.css

    r31175 r31232  
    2121#g-theme-logo { background: transparent url('images/colorpack.png') no-repeat; } 
    2222#g-footer a { color: #6392cf; } 
     23#g-footer a:hover { color: #fff; } 
    2324 
    2425#content, .content { background-color: #1c242e; } 
     
    6970#cboxLoadedContent { background: #1a1e27 !important; } 
    7071#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose { background-image: url(images/controls.png); } 
     72 
     73.gdHomeEnter { border: 1px solid #ccc; background: #1c242e; } 
     74.gdHomeEnter a { color: #6392cf; } 
     75.gdHomeEnter a:hover { color: #fff; } 
  • extensions/greydragon/css/colorpack/whitehawk/styles.css

    r31175 r31232  
    2121#g-theme-logo { background: transparent url('images/colorpack.png') no-repeat; } 
    2222#g-footer a { color: #000; } 
     23#g-footer a:hover { color: #222; } 
    2324 
    2425#content, .content { background-color: #FFF; } 
     
    7677#cboxWrapper       { background: #F1F1F1 !important; border: 1px solid #666; } 
    7778#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose { background-image: url(images/controls.png); } 
     79 
     80.gdHomeEnter { border: 1px solid #ccc; background: #ccc; } 
     81.gdHomeEnter a { color: #222; } 
     82.gdHomeEnter a:hover { color: #2a6496; } 
  • extensions/greydragon/css/styles.css

    r31175 r31232  
    7575#g-footer #g-credits.g-text-only #g-gallery-logo, #g-footer #g-credits.g-text-only #g-theme-logo { text-indent: 0; width: auto; background: none; } 
    7676 
     77#gdHomeContent { position: relative; } 
    7778.gdHomeQuote { float: left; width: 300px; font-size: 110%; } 
    7879.gdHomePagePhoto {text-align: center; margin: 2em 0 20px 0;} 
     80.gdHomeEnter { position: absolute; right: 6em; top: 1em; z-index: 20; padding: 0.2em 0.5em; } 
    7981 
    8082#g-logo { display: inline-block; } 
  • extensions/greydragon/include/greydragon.class.php

    r31175 r31232  
    33if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 
    44 
    5 define('GDTHEME_VERSION', '1.2.25'); 
     5define('GDTHEME_VERSION', '1.2.26'); 
    66 
    77define("QUOTES_NONE",   FALSE); 
     
    7171      "p_rootpage"         => array("value" => "off",    "quotes" => QUOTES_NONE), 
    7272      "p_rootpage_desc"    => array("value" => null,     "quotes" => QUOTES_SAFE | QUOTES_LAZY), 
     73      "p_rootpage_link"    => array("value" => "off",    "quotes" => QUOTES_NONE), 
    7374      "p_rootpage_src"     => array("value" => "slider", "quotes" => QUOTES_NONE), 
    7475      "p_rootpage_size"    => array("value" => "M",      "quotes" => QUOTES_NONE), 
     
    289290 
    290291    $r_desc    = $this->getOption('p_rootpage_desc'); 
     292    $r_link    = $this->getOption('p_rootpage_link'); 
    291293    $r_scr     = $this->getOption('p_rootpage_src'); 
    292294    $r_size    = $this->getOption('p_rootpage_size'); 
     
    306308    if ($r_desc): 
    307309      $content .= ' 
    308   <div class="gdHomeQuote">' . $r_desc . '</div>'; 
     310  <div class="gdHomeQuote">' . l10n($r_desc) . '</div>'; 
     311    endif; 
     312    if ($r_link): 
     313      $content .= ' 
     314  <div class="gdHomeEnter"><a href="index.php?/categories">' . l10n('Click to Enter') . '</a></div>'; 
    309315    endif; 
    310316    $content .= ' 
  • extensions/greydragon/template/header.tpl

    r31061 r31232  
    114114{/if} 
    115115</head> 
    116 <body id="{$BODY_ID}" class="{if $includeMenu=="on"}{$greydragon.p_main_menu}-menu{else}hide-menu{/if}{if $PAGE_BANNER}{else} no-header{/if}{if $greydragon.p_nocounter == "on"} no-b-counter{/if}"> 
     116<body id="{$BODY_ID}" class="{if $includeMenu=="on"}{$greydragon.p_main_menu}-menu{else}hide-menu{/if}{if $PAGE_BANNER}{else} no-header{/if}{if $greydragon.p_nocounter == "on"} no-b-counter{/if} theme-{$greydragon.p_colorpack}"> 
    117117<div id="the_page"> 
    118118{if not empty($header_msgs)} 
  • extensions/greydragon/themeconf.inc.php

    r31175 r31232  
    22/* 
    33Theme Name: GreyDragon 
    4 Version: 1.2.25 
     4Version: 1.2.26 
    55Description: GreyDragon Theme 
    66Theme URI: http://piwigo.org/ext/extension_view.php?eid=775 
Note: See TracChangeset for help on using the changeset viewer.