+
+
+ Slim
+
+
+ Slim_L
+
+
+ Slim_XL
+
+
+
+
+
+
+
+
+
+ Whith
+
+
+ Black
+
+
+ Grey
+
+
+
+
+
+
+
+{footer_script}{literal}
+jQuery(function($){
+
+ $('.range').each(function(){
+ var cls = $(this).attr('class');
+ var matches = cls.split(/([a-zA-Z]+)\-([0-9]+)/g);
+ var elem = $(this).parent();
+ var options = {};
+ var input = elem.find('input');
+ elem.append('
');
+
+ for(i in matches){
+ i = i * 1;
+ if(matches[i] == 'min'){
+ options.min = matches[i+1]*1;
+ }
+ if(matches[i] == 'max'){
+ options.max = matches[i+1]*1;
+ }
+ }
+
+ options.slide = function(event, ui){
+ elem.find('label span').empty().append(ui.value);
+ input.val(ui.value);
+ }
+ options.value = input.val();
+ options.range = 'min';
+ elem.find('.uirange').slider(options);
+
+ elem.find('label span').empty().append(input.val());
+ input.hide();
+ });
+
+});
+
+{/literal}{/footer_script}
+
+
+
+
+
Index: extensions/Slim/admin/index.php
===================================================================
--- extensions/Slim/admin/index.php (revision 18811)
+++ extensions/Slim/admin/index.php (revision 18811)
@@ -0,0 +1,33 @@
+
Index: extensions/Slim/admin/maintain.inc.php
===================================================================
--- extensions/Slim/admin/maintain.inc.php (revision 18811)
+++ extensions/Slim/admin/maintain.inc.php (revision 18811)
@@ -0,0 +1,28 @@
+ '1',
+ 'color_theme' => '1'
+ );
+
+ $query = "
+ INSERT INTO " . CONFIG_TABLE . " (param,value,comment)
+ VALUES ('Slim' , '".pwg_db_real_escape_string(serialize($config))."' , 'Slim theme parameters');";
+
+ pwg_query($query);
+ }
+ }
+
+function theme_deactivate()
+ {
+ $query = "DELETE FROM " . CONFIG_TABLE . " WHERE param='Slim';";
+ pwg_query($query);
+ }
+
+?>
Index: extensions/Slim/admin/theme.css
===================================================================
--- extensions/Slim/admin/theme.css (revision 18811)
+++ extensions/Slim/admin/theme.css (revision 18811)
@@ -0,0 +1,11 @@
+.ui-slider{color:#383838;border-radius:8px 8px 8px 8px;position:relative;text-align:left;width:600px}
+.ui-slider .ui-slider-handle{border: 1px solid #D7DEF0;background:url("images/bouton_slide.png") repeat-x scroll 50% 50% transparent;font-weight:bold;color:#4C3000;position:absolute;z-index:2;cursor:default;height:26px;width:299px}
+.ui-slider .ui-slider-range{position:absolute;z-index:1}
+.ui-slider-horizontal{height:30px}
+.ui-slider-horizontal .ui-slider-handle{border-radius:8px}
+.ui-slider-horizontal .ui-slider-range{top:0;height:100%}
+.ui-slider-horizontal .ui-slider-range-min{left:0}
+.ui-slider-horizontal .ui-slider-range-max{right:0}
+.switcher input{display:none}
+.switcher {border:2px inset #EFEFEF;border-radius:8px;background:#EDEDED;height:30px;width:900px;color:#000;position:relative;margin-bottom:40px}
+.opt{float:left;border-right:1px solid #FFF;width:299px;height:30px;text-align:center;font-size:20px}
Index: extensions/Slim/icon/index.php
===================================================================
--- extensions/Slim/icon/index.php (revision 18811)
+++ extensions/Slim/icon/index.php (revision 18811)
@@ -0,0 +1,30 @@
+
Index: extensions/Slim/icon/mimetypes/index.php
===================================================================
--- extensions/Slim/icon/mimetypes/index.php (revision 18811)
+++ extensions/Slim/icon/mimetypes/index.php (revision 18811)
@@ -0,0 +1,30 @@
+
Index: extensions/Slim/images/index.php
===================================================================
--- extensions/Slim/images/index.php (revision 18811)
+++ extensions/Slim/images/index.php (revision 18811)
@@ -0,0 +1,30 @@
+
Index: extensions/Slim/index.php
===================================================================
--- extensions/Slim/index.php (revision 18811)
+++ extensions/Slim/index.php (revision 18811)
@@ -0,0 +1,30 @@
+
Index: extensions/Slim/js/columnizer.js
===================================================================
--- extensions/Slim/js/columnizer.js (revision 18811)
+++ extensions/Slim/js/columnizer.js (revision 18811)
@@ -0,0 +1,119 @@
+/**
+# * Copyright (c) 2008 Pasyuk Sergey (www.codeasily.com)
+# * Licensed under the MIT License:
+# * http://www.opensource.org/licenses/mit-license.php
+# *
+# * Splits a
/-list into equal-sized columns.
+# *
+# * Requirements:
+# *
+# * - "ul" or "ol" element must be styled with margin
+# *
+# *
+# * @see http://www.codeasily.com/jquery/multi-column-list-with-jquery
+# */
+jQuery.fn.makeacolumnlists = function(settings){
+ settings = jQuery.extend({
+ cols: 2, // set number of columns
+ colWidth: 0, // set width for each column or leave 0 for auto width
+ equalHeight: false, // can be false, 'ul', 'ol', 'li'
+ startN: 1 // first number on your ordered list
+ }, settings);
+
+ if(jQuery('> li', this)) {
+ this.each(function(y) {
+ var y=jQuery('.li_container').size(),
+ height = 0,
+ maxHeight = 0,
+ t = jQuery(this),
+ classN = t.attr('class'),
+ listsize = jQuery('> li', this).size(),
+ percol = Math.ceil(listsize/settings.cols),
+ contW = t.width(),
+ bl = ( isNaN(parseInt(t.css('borderLeftWidth'),10)) ? 0 : parseInt(t.css('borderLeftWidth'),10) ),
+ br = ( isNaN(parseInt(t.css('borderRightWidth'),10)) ? 0 : parseInt(t.css('borderRightWidth'),10) ),
+ pl = parseInt(t.css('paddingLeft'),10),
+ pr = parseInt(t.css('paddingRight'),10),
+ ml = parseInt(t.css('marginLeft'),10),
+ mr = parseInt(t.css('marginRight'),10),
+ col_Width = Math.floor((contW - (settings.cols-1)*(bl+br+pl+pr+ml+mr))/settings.cols);
+ if (settings.colWidth) {
+ col_Width = settings.colWidth;
+ }
+ var colnum=1,
+ percol2=percol;
+ jQuery(this).addClass('li_cont1').wrap('');
+ for (var i=0; i<=listsize; i++) {
+ if(i>=percol2) { percol2+=percol; colnum++; }
+ var eq = jQuery('> li:eq('+i+')',this);
+ eq.addClass('li_col'+ colnum);
+ if(jQuery(this).is('ol')){eq.attr('value', ''+(i+settings.startN))+'';}
+ }
+ jQuery(this).css({cssFloat:'left', width:''+col_Width+'px'});
+ for (colnum=2; colnum<=settings.cols; colnum++) {
+ if(jQuery(this).is('ol')) {
+ jQuery('li.li_col'+ colnum, this).appendTo('#li_container' + y).wrapAll('
');
+ } else {
+ jQuery('li.li_col'+ colnum, this).appendTo('#li_container' + y).wrapAll('');
+ }
+ }
+ if (settings.equalHeight=='li') {
+ for (colnum=1; colnum<=settings.cols; colnum++) {
+ jQuery('#li_container'+ y +' li').each(function() {
+ var e = jQuery(this);
+ var border_top = ( isNaN(parseInt(e.css('borderTopWidth'),10)) ? 0 : parseInt(e.css('borderTopWidth'),10) );
+ var border_bottom = ( isNaN(parseInt(e.css('borderBottomWidth'),10)) ? 0 : parseInt(e.css('borderBottomWidth'),10) );
+ height = e.height() + parseInt(e.css('paddingTop'), 10) + parseInt(e.css('paddingBottom'), 10) + border_top + border_bottom;
+ maxHeight = (height > maxHeight) ? height : maxHeight;
+ });
+ }
+ for (colnum=1; colnum<=settings.cols; colnum++) {
+ var eh = jQuery('#li_container'+ y +' li');
+ var border_top = ( isNaN(parseInt(eh.css('borderTopWidth'),10)) ? 0 : parseInt(eh.css('borderTopWidth'),10) );
+ var border_bottom = ( isNaN(parseInt(eh.css('borderBottomWidth'),10)) ? 0 : parseInt(eh.css('borderBottomWidth'),10) );
+ mh = maxHeight - (parseInt(eh.css('paddingTop'), 10) + parseInt(eh.css('paddingBottom'), 10) + border_top + border_bottom );
+ eh.height(mh);
+ }
+ } else
+ if (settings.equalHeight=='ul' || settings.equalHeight=='ol') {
+ for (colnum=1; colnum<=settings.cols; colnum++) {
+ jQuery('#li_container'+ y +' .li_cont'+colnum).each(function() {
+ var e = jQuery(this);
+ var border_top = ( isNaN(parseInt(e.css('borderTopWidth'),10)) ? 0 : parseInt(e.css('borderTopWidth'),10) );
+ var border_bottom = ( isNaN(parseInt(e.css('borderBottomWidth'),10)) ? 0 : parseInt(e.css('borderBottomWidth'),10) );
+ height = e.height() + parseInt(e.css('paddingTop'), 10) + parseInt(e.css('paddingBottom'), 10) + border_top + border_bottom;
+ maxHeight = (height > maxHeight) ? height : maxHeight;
+ });
+ }
+ for (colnum=1; colnum<=settings.cols; colnum++) {
+ var eh = jQuery('#li_container'+ y +' .li_cont'+colnum);
+ var border_top = ( isNaN(parseInt(eh.css('borderTopWidth'),10)) ? 0 : parseInt(eh.css('borderTopWidth'),10) );
+ var border_bottom = ( isNaN(parseInt(eh.css('borderBottomWidth'),10)) ? 0 : parseInt(eh.css('borderBottomWidth'),10) );
+ mh = maxHeight - (parseInt(eh.css('paddingTop'), 10) + parseInt(eh.css('paddingBottom'), 10) + border_top + border_bottom );
+ eh.height(mh);
+ }
+ }
+ jQuery('#li_container' + y).append('');
+ });
+ }
+}
+
+jQuery.fn.uncolumnlists = function(){
+ jQuery('.li_cont1').each(function(i) {
+ var onecolSize = jQuery('#li_container' + (++i) + ' .li_cont1 > li').size();
+ if(jQuery('#li_container' + i + ' .li_cont1').is('ul')) {
+ jQuery('#li_container' + i + ' > ul > li').appendTo('#li_container' + i + ' ul:first');
+ for (var j=1; j<=onecolSize; j++) {
+ jQuery('#li_container' + i + ' ul:first li').removeAttr('class').removeAttr('style');
+ }
+ jQuery('#li_container' + i + ' ul:first').removeAttr('style').removeClass('li_cont1').insertBefore('#li_container' + i);
+ } else {
+ jQuery('#li_container' + i + ' > ol > li').appendTo('#li_container' + i + ' ol:first');
+ for (var j=1; j<=onecolSize; j++) {
+ jQuery('#li_container' + i + ' ol:first li').removeAttr('class').removeAttr('style');
+ }
+ jQuery('#li_container' + i + ' ol:first').removeAttr('style').removeClass('li_cont1').insertBefore('#li_container' + i);
+ }
+ jQuery('#li_container' + i).remove();
+ });
+}
Index: extensions/Slim/js/jquery.hoverIntent.minified.js
===================================================================
--- extensions/Slim/js/jquery.hoverIntent.minified.js (revision 18811)
+++ extensions/Slim/js/jquery.hoverIntent.minified.js (revision 18811)
@@ -0,0 +1,9 @@
+/**
+* hoverIntent r5 // 2007.03.27 // jQuery 1.1.2+
+*
+*
+* @param f onMouseOver function || An object with configuration options
+* @param g onMouseOut function || Nothing (use configuration options object)
+* @author Brian Cherne
+*/
+(function($){$.fn.hoverIntent=function(f,g){var cfg={sensitivity:7,interval:100,timeout:0};cfg=$.extend(cfg,g?{over:f,out:g}:f);var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY;};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if((Math.abs(pX-cX)+Math.abs(pY-cY))
",buttonPrevHTML:"