Pour corriger l'incompatibilité entre module DigressivePrice et le multi-déclinaisons, sur la page produit
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,3 +1,3 @@
|
||||
/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
|
||||
jsDate | (c) 2010-2013 Chris Leonello
|
||||
/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
|
||||
jsDate | (c) 2010-2013 Chris Leonello
|
||||
*/(function(a){a.jqplot.BlockRenderer=function(){a.jqplot.LineRenderer.call(this)};a.jqplot.BlockRenderer.prototype=new a.jqplot.LineRenderer();a.jqplot.BlockRenderer.prototype.constructor=a.jqplot.BlockRenderer;a.jqplot.BlockRenderer.prototype.init=function(b){this.css={padding:"2px",border:"1px solid #999",textAlign:"center"};this.escapeHtml=false;this.insertBreaks=true;this.varyBlockColors=false;a.extend(true,this,b);if(this.css.backgroundColor){this.color=this.css.backgroundColor}else{if(this.css.background){this.color=this.css.background}else{if(!this.varyBlockColors){this.css.background=this.color}}}this.canvas=new a.jqplot.BlockCanvas();this.shadowCanvas=new a.jqplot.BlockCanvas();this.canvas._plotDimensions=this._plotDimensions;this.shadowCanvas._plotDimensions=this._plotDimensions;this._type="block";this.moveBlock=function(l,j,i,e){var c=this.canvas._elem.children(":eq("+l+")");this.data[l][0]=j;this.data[l][1]=i;this._plotData[l][0]=j;this._plotData[l][1]=i;this._stackData[l][0]=j;this._stackData[l][1]=i;this.gridData[l][0]=this._xaxis.series_u2p(j);this.gridData[l][1]=this._yaxis.series_u2p(i);var k=c.outerWidth();var f=c.outerHeight();var d=this.gridData[l][0]-k/2+"px";var g=this.gridData[l][1]-f/2+"px";if(e){if(parseInt(e,10)){e=parseInt(e,10)}c.animate({left:d,top:g},e)}else{c.css({left:d,top:g})}c=null}};a.jqplot.BlockRenderer.prototype.draw=function(q,o,r){if(this.plugins.pointLabels){this.plugins.pointLabels.show=false}var f,c,l,o,p,k,n,g,e,m;var b=(r!=undefined)?r:{};var j=new a.jqplot.ColorGenerator(this.seriesColors);this.canvas._elem.empty();for(f=0;f<this.gridData.length;f++){l=this.data[f];o=this.gridData[f];p="";k={};if(typeof l[2]=="string"){p=l[2]}else{if(typeof l[2]=="object"){k=l[2]}}if(typeof l[3]=="object"){k=l[3]}if(this.insertBreaks){p=p.replace(/ /g,"<br />")}k=a.extend(true,{},this.css,k);c=a('<div style="position:absolute;margin-left:auto;margin-right:auto;"></div>');this.canvas._elem.append(c);this.escapeHtml?c.text(p):c.html(p);delete k.position;delete k.marginRight;delete k.marginLeft;if(!k.background&&!k.backgroundColor&&!k.backgroundImage){k.background=j.next()}c.css(k);n=c.outerWidth();g=c.outerHeight();e=o[0]-n/2+"px";m=o[1]-g/2+"px";c.css({left:e,top:m});c=null}};a.jqplot.BlockCanvas=function(){a.jqplot.ElemContainer.call(this);this._ctx};a.jqplot.BlockCanvas.prototype=new a.jqplot.ElemContainer();a.jqplot.BlockCanvas.prototype.constructor=a.jqplot.BlockCanvas;a.jqplot.BlockCanvas.prototype.createElement=function(i,e,c){this._offsets=i;var b="jqplot-blockCanvas";if(e!=undefined){b=e}var g;if(this._elem){g=this._elem.get(0)}else{g=document.createElement("div")}if(c!=undefined){this._plotDimensions=c}var d=this._plotDimensions.width-this._offsets.left-this._offsets.right+"px";var f=this._plotDimensions.height-this._offsets.top-this._offsets.bottom+"px";this._elem=a(g);this._elem.css({position:"absolute",width:d,height:f,left:this._offsets.left,top:this._offsets.top});this._elem.addClass(b);return this._elem};a.jqplot.BlockCanvas.prototype.setContext=function(){this._ctx={canvas:{width:0,height:0},clearRect:function(){return null}};return this._ctx}})(jQuery);
|
||||
File diff suppressed because one or more lines are too long
@@ -1,3 +1,3 @@
|
||||
/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
|
||||
jsDate | (c) 2010-2013 Chris Leonello
|
||||
/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
|
||||
jsDate | (c) 2010-2013 Chris Leonello
|
||||
*/(function(a){a.jqplot.CanvasAxisLabelRenderer=function(b){this.angle=0;this.axis;this.show=true;this.showLabel=true;this.label="";this.fontFamily='"Trebuchet MS", Arial, Helvetica, sans-serif';this.fontSize="11pt";this.fontWeight="normal";this.fontStretch=1;this.textColor="#666666";this.enableFontSupport=true;this.pt2px=null;this._elem;this._ctx;this._plotWidth;this._plotHeight;this._plotDimensions={height:null,width:null};a.extend(true,this,b);if(b.angle==null&&this.axis!="xaxis"&&this.axis!="x2axis"){this.angle=-90}var c={fontSize:this.fontSize,fontWeight:this.fontWeight,fontStretch:this.fontStretch,fillStyle:this.textColor,angle:this.getAngleRad(),fontFamily:this.fontFamily};if(this.pt2px){c.pt2px=this.pt2px}if(this.enableFontSupport){if(a.jqplot.support_canvas_text()){this._textRenderer=new a.jqplot.CanvasFontRenderer(c)}else{this._textRenderer=new a.jqplot.CanvasTextRenderer(c)}}else{this._textRenderer=new a.jqplot.CanvasTextRenderer(c)}};a.jqplot.CanvasAxisLabelRenderer.prototype.init=function(b){a.extend(true,this,b);this._textRenderer.init({fontSize:this.fontSize,fontWeight:this.fontWeight,fontStretch:this.fontStretch,fillStyle:this.textColor,angle:this.getAngleRad(),fontFamily:this.fontFamily})};a.jqplot.CanvasAxisLabelRenderer.prototype.getWidth=function(d){if(this._elem){return this._elem.outerWidth(true)}else{var f=this._textRenderer;var c=f.getWidth(d);var e=f.getHeight(d);var b=Math.abs(Math.sin(f.angle)*e)+Math.abs(Math.cos(f.angle)*c);return b}};a.jqplot.CanvasAxisLabelRenderer.prototype.getHeight=function(d){if(this._elem){return this._elem.outerHeight(true)}else{var f=this._textRenderer;var c=f.getWidth(d);var e=f.getHeight(d);var b=Math.abs(Math.cos(f.angle)*e)+Math.abs(Math.sin(f.angle)*c);return b}};a.jqplot.CanvasAxisLabelRenderer.prototype.getAngleRad=function(){var b=this.angle*Math.PI/180;return b};a.jqplot.CanvasAxisLabelRenderer.prototype.draw=function(c,f){if(this._elem){if(a.jqplot.use_excanvas&&window.G_vmlCanvasManager.uninitElement!==undefined){window.G_vmlCanvasManager.uninitElement(this._elem.get(0))}this._elem.emptyForce();this._elem=null}var e=f.canvasManager.getCanvas();this._textRenderer.setText(this.label,c);var b=this.getWidth(c);var d=this.getHeight(c);e.width=b;e.height=d;e.style.width=b;e.style.height=d;e=f.canvasManager.initCanvas(e);this._elem=a(e);this._elem.css({position:"absolute"});this._elem.addClass("jqplot-"+this.axis+"-label");e=null;return this._elem};a.jqplot.CanvasAxisLabelRenderer.prototype.pack=function(){this._textRenderer.draw(this._elem.get(0).getContext("2d"),this.label)}})(jQuery);
|
||||
@@ -1,3 +1,3 @@
|
||||
/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
|
||||
jsDate | (c) 2010-2013 Chris Leonello
|
||||
/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
|
||||
jsDate | (c) 2010-2013 Chris Leonello
|
||||
*/(function(a){a.jqplot.CanvasAxisTickRenderer=function(b){this.mark="outside";this.showMark=true;this.showGridline=true;this.isMinorTick=false;this.angle=0;this.markSize=4;this.show=true;this.showLabel=true;this.labelPosition="auto";this.label="";this.value=null;this._styles={};this.formatter=a.jqplot.DefaultTickFormatter;this.formatString="";this.prefix="";this.fontFamily='"Trebuchet MS", Arial, Helvetica, sans-serif';this.fontSize="10pt";this.fontWeight="normal";this.fontStretch=1;this.textColor="#666666";this.enableFontSupport=true;this.pt2px=null;this._elem;this._ctx;this._plotWidth;this._plotHeight;this._plotDimensions={height:null,width:null};a.extend(true,this,b);var c={fontSize:this.fontSize,fontWeight:this.fontWeight,fontStretch:this.fontStretch,fillStyle:this.textColor,angle:this.getAngleRad(),fontFamily:this.fontFamily};if(this.pt2px){c.pt2px=this.pt2px}if(this.enableFontSupport){if(a.jqplot.support_canvas_text()){this._textRenderer=new a.jqplot.CanvasFontRenderer(c)}else{this._textRenderer=new a.jqplot.CanvasTextRenderer(c)}}else{this._textRenderer=new a.jqplot.CanvasTextRenderer(c)}};a.jqplot.CanvasAxisTickRenderer.prototype.init=function(b){a.extend(true,this,b);this._textRenderer.init({fontSize:this.fontSize,fontWeight:this.fontWeight,fontStretch:this.fontStretch,fillStyle:this.textColor,angle:this.getAngleRad(),fontFamily:this.fontFamily})};a.jqplot.CanvasAxisTickRenderer.prototype.getWidth=function(d){if(this._elem){return this._elem.outerWidth(true)}else{var f=this._textRenderer;var c=f.getWidth(d);var e=f.getHeight(d);var b=Math.abs(Math.sin(f.angle)*e)+Math.abs(Math.cos(f.angle)*c);return b}};a.jqplot.CanvasAxisTickRenderer.prototype.getHeight=function(d){if(this._elem){return this._elem.outerHeight(true)}else{var f=this._textRenderer;var c=f.getWidth(d);var e=f.getHeight(d);var b=Math.abs(Math.cos(f.angle)*e)+Math.abs(Math.sin(f.angle)*c);return b}};a.jqplot.CanvasAxisTickRenderer.prototype.getTop=function(b){if(this._elem){return this._elem.position().top}else{return null}};a.jqplot.CanvasAxisTickRenderer.prototype.getAngleRad=function(){var b=this.angle*Math.PI/180;return b};a.jqplot.CanvasAxisTickRenderer.prototype.setTick=function(b,d,c){this.value=b;if(c){this.isMinorTick=true}return this};a.jqplot.CanvasAxisTickRenderer.prototype.draw=function(c,f){if(!this.label){this.label=this.prefix+this.formatter(this.formatString,this.value)}if(this._elem){if(a.jqplot.use_excanvas&&window.G_vmlCanvasManager.uninitElement!==undefined){window.G_vmlCanvasManager.uninitElement(this._elem.get(0))}this._elem.emptyForce();this._elem=null}var e=f.canvasManager.getCanvas();this._textRenderer.setText(this.label,c);var b=this.getWidth(c);var d=this.getHeight(c);e.width=b;e.height=d;e.style.width=b;e.style.height=d;e.style.textAlign="left";e.style.position="absolute";e=f.canvasManager.initCanvas(e);this._elem=a(e);this._elem.css(this._styles);this._elem.addClass("jqplot-"+this.axis+"-tick");e=null;return this._elem};a.jqplot.CanvasAxisTickRenderer.prototype.pack=function(){this._textRenderer.draw(this._elem.get(0).getContext("2d"),this.label)}})(jQuery);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,3 +1,3 @@
|
||||
/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
|
||||
jsDate | (c) 2010-2013 Chris Leonello
|
||||
/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
|
||||
jsDate | (c) 2010-2013 Chris Leonello
|
||||
*/(function(a){a.jqplot.ciParser=function(g,l){var m=[],o,n,h,f,e,c;if(typeof(g)=="string"){g=a.jqplot.JSON.parse(g,d)}else{if(typeof(g)=="object"){for(e in g){for(h=0;h<g[e].length;h++){for(c in g[e][h]){g[e][h][c]=d(c,g[e][h][c])}}}}else{return null}}function d(j,k){var i;if(k!=null){if(k.toString().indexOf("Date")>=0){i=/^\/Date\((-?[0-9]+)\)\/$/.exec(k);if(i){return parseInt(i[1],10)}}return k}}for(var b in g){o=[];n=g[b];switch(b){case"PriceTicks":for(h=0;h<n.length;h++){o.push([n[h]["TickDate"],n[h]["Price"]])}break;case"PriceBars":for(h=0;h<n.length;h++){o.push([n[h]["BarDate"],n[h]["Open"],n[h]["High"],n[h]["Low"],n[h]["Close"]])}break}m.push(o)}return m}})(jQuery);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,3 +1,3 @@
|
||||
/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
|
||||
jsDate | (c) 2010-2013 Chris Leonello
|
||||
/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
|
||||
jsDate | (c) 2010-2013 Chris Leonello
|
||||
*/(function(d){d.jqplot.Dragable=function(g){this.markerRenderer=new d.jqplot.MarkerRenderer({shadow:false});this.shapeRenderer=new d.jqplot.ShapeRenderer();this.isDragging=false;this.isOver=false;this._ctx;this._elem;this._point;this._gridData;this.color;this.constrainTo="none";d.extend(true,this,g)};function b(){d.jqplot.GenericCanvas.call(this);this.isDragging=false;this.isOver=false;this._neighbor;this._cursors=[]}b.prototype=new d.jqplot.GenericCanvas();b.prototype.constructor=b;d.jqplot.Dragable.parseOptions=function(i,h){var g=h||{};this.plugins.dragable=new d.jqplot.Dragable(g.dragable);this.isDragable=d.jqplot.config.enablePlugins};d.jqplot.Dragable.postPlotDraw=function(){if(this.plugins.dragable&&this.plugins.dragable.highlightCanvas){this.plugins.dragable.highlightCanvas.resetCanvas();this.plugins.dragable.highlightCanvas=null}this.plugins.dragable={previousCursor:"auto",isOver:false};this.plugins.dragable.dragCanvas=new b();this.eventCanvas._elem.before(this.plugins.dragable.dragCanvas.createElement(this._gridPadding,"jqplot-dragable-canvas",this._plotDimensions,this));var g=this.plugins.dragable.dragCanvas.setContext()};d.jqplot.preParseSeriesOptionsHooks.push(d.jqplot.Dragable.parseOptions);d.jqplot.postDrawHooks.push(d.jqplot.Dragable.postPlotDraw);d.jqplot.eventListenerHooks.push(["jqplotMouseMove",e]);d.jqplot.eventListenerHooks.push(["jqplotMouseDown",c]);d.jqplot.eventListenerHooks.push(["jqplotMouseUp",a]);function f(n,p){var q=n.series[p.seriesIndex];var m=q.plugins.dragable;var h=q.markerRenderer;var i=m.markerRenderer;i.style=h.style;i.lineWidth=h.lineWidth+2.5;i.size=h.size+5;if(!m.color){var l=d.jqplot.getColorComponents(h.color);var o=[l[0],l[1],l[2]];var k=(l[3]>=0.6)?l[3]*0.6:l[3]*(2-l[3]);m.color="rgba("+o[0]+","+o[1]+","+o[2]+","+k+")"}i.color=m.color;i.init();var g=(p.pointIndex>0)?p.pointIndex-1:0;var j=p.pointIndex+2;m._gridData=q.gridData.slice(g,j)}function e(o,l,h,t,m){if(m.plugins.dragable.dragCanvas.isDragging){var u=m.plugins.dragable.dragCanvas;var i=u._neighbor;var w=m.series[i.seriesIndex];var k=w.plugins.dragable;var r=w.gridData;var p=(k.constrainTo=="y")?i.gridData[0]:l.x;var n=(k.constrainTo=="x")?i.gridData[1]:l.y;var g=w._xaxis.series_p2u(p);var q=w._yaxis.series_p2u(n);var v=u._ctx;v.clearRect(0,0,v.canvas.width,v.canvas.height);if(i.pointIndex>0){k._gridData[1]=[p,n]}else{k._gridData[0]=[p,n]}m.series[i.seriesIndex].draw(u._ctx,{gridData:k._gridData,shadow:false,preventJqPlotSeriesDrawTrigger:true,color:k.color,markerOptions:{color:k.color,shadow:false},trendline:{show:false}});m.target.trigger("jqplotSeriesPointChange",[i.seriesIndex,i.pointIndex,[g,q],[p,n]])}else{if(t!=null){var j=m.series[t.seriesIndex];if(j.isDragable){var u=m.plugins.dragable.dragCanvas;if(!u.isOver){u._cursors.push(o.target.style.cursor);o.target.style.cursor="pointer"}u.isOver=true}}else{if(t==null){var u=m.plugins.dragable.dragCanvas;if(u.isOver){o.target.style.cursor=u._cursors.pop();u.isOver=false}}}}}function c(k,i,g,l,j){var m=j.plugins.dragable.dragCanvas;m._cursors.push(k.target.style.cursor);if(l!=null){var o=j.series[l.seriesIndex];var h=o.plugins.dragable;if(o.isDragable&&!m.isDragging){m._neighbor=l;m.isDragging=true;f(j,l);h.markerRenderer.draw(o.gridData[l.pointIndex][0],o.gridData[l.pointIndex][1],m._ctx);k.target.style.cursor="move";j.target.trigger("jqplotDragStart",[l.seriesIndex,l.pointIndex,i,g])}}else{var n=m._ctx;n.clearRect(0,0,n.canvas.width,n.canvas.height);m.isDragging=false}}function a(m,j,g,o,k){if(k.plugins.dragable.dragCanvas.isDragging){var p=k.plugins.dragable.dragCanvas;var q=p._ctx;q.clearRect(0,0,q.canvas.width,q.canvas.height);p.isDragging=false;var h=p._neighbor;var r=k.series[h.seriesIndex];var i=r.plugins.dragable;var n=(i.constrainTo=="y")?h.data[0]:g[r.xaxis];var l=(i.constrainTo=="x")?h.data[1]:g[r.yaxis];r.data[h.pointIndex][0]=n;r.data[h.pointIndex][1]=l;k.drawSeries({preventJqPlotSeriesDrawTrigger:true},h.seriesIndex);p._neighbor=null;m.target.style.cursor=p._cursors.pop();k.target.trigger("jqplotDragStop",[j,g])}}})(jQuery);
|
||||
@@ -1,3 +1,3 @@
|
||||
/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
|
||||
jsDate | (c) 2010-2013 Chris Leonello
|
||||
/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
|
||||
jsDate | (c) 2010-2013 Chris Leonello
|
||||
*/(function(c){c.jqplot.EnhancedLegendRenderer=function(){c.jqplot.TableLegendRenderer.call(this)};c.jqplot.EnhancedLegendRenderer.prototype=new c.jqplot.TableLegendRenderer();c.jqplot.EnhancedLegendRenderer.prototype.constructor=c.jqplot.EnhancedLegendRenderer;c.jqplot.EnhancedLegendRenderer.prototype.init=function(d){this.numberRows=null;this.numberColumns=null;this.seriesToggle="normal";this.seriesToggleReplot=false;this.disableIEFading=true;c.extend(true,this,d);if(this.seriesToggle){c.jqplot.postDrawHooks.push(b)}};c.jqplot.EnhancedLegendRenderer.prototype.draw=function(m,y){var f=this;if(this.show){var r=this._series;var u;var w="position:absolute;";w+=(this.background)?"background:"+this.background+";":"";w+=(this.border)?"border:"+this.border+";":"";w+=(this.fontSize)?"font-size:"+this.fontSize+";":"";w+=(this.fontFamily)?"font-family:"+this.fontFamily+";":"";w+=(this.textColor)?"color:"+this.textColor+";":"";w+=(this.marginTop!=null)?"margin-top:"+this.marginTop+";":"";w+=(this.marginBottom!=null)?"margin-bottom:"+this.marginBottom+";":"";w+=(this.marginLeft!=null)?"margin-left:"+this.marginLeft+";":"";w+=(this.marginRight!=null)?"margin-right:"+this.marginRight+";":"";this._elem=c('<table class="jqplot-table-legend" style="'+w+'"></table>');if(this.seriesToggle){this._elem.css("z-index","3")}var C=false,q=false,d,o;if(this.numberRows){d=this.numberRows;if(!this.numberColumns){o=Math.ceil(r.length/d)}else{o=this.numberColumns}}else{if(this.numberColumns){o=this.numberColumns;d=Math.ceil(r.length/this.numberColumns)}else{d=r.length;o=1}}var B,z,e,l,k,n,p,t,h,g;var v=0;for(B=r.length-1;B>=0;B--){if(o==1&&r[B]._stack||r[B].renderer.constructor==c.jqplot.BezierCurveRenderer){q=true}}for(B=0;B<d;B++){e=c(document.createElement("tr"));e.addClass("jqplot-table-legend");if(q){e.prependTo(this._elem)}else{e.appendTo(this._elem)}for(z=0;z<o;z++){if(v<r.length&&(r[v].show||r[v].showLabel)){u=r[v];n=this.labels[v]||u.label.toString();if(n){var x=u.color;if(!q){if(B>0){C=true}else{C=false}}else{if(B==d-1){C=false}else{C=true}}p=(C)?this.rowSpacing:"0";l=c(document.createElement("td"));l.addClass("jqplot-table-legend jqplot-table-legend-swatch");l.css({textAlign:"center",paddingTop:p});h=c(document.createElement("div"));h.addClass("jqplot-table-legend-swatch-outline");g=c(document.createElement("div"));g.addClass("jqplot-table-legend-swatch");g.css({backgroundColor:x,borderColor:x});l.append(h.append(g));k=c(document.createElement("td"));k.addClass("jqplot-table-legend jqplot-table-legend-label");k.css("paddingTop",p);if(this.escapeHtml){k.text(n)}else{k.html(n)}if(q){if(this.showLabels){k.prependTo(e)}if(this.showSwatches){l.prependTo(e)}}else{if(this.showSwatches){l.appendTo(e)}if(this.showLabels){k.appendTo(e)}}if(this.seriesToggle){var A;if(typeof(this.seriesToggle)==="string"||typeof(this.seriesToggle)==="number"){if(!c.jqplot.use_excanvas||!this.disableIEFading){A=this.seriesToggle}}if(this.showSwatches){l.bind("click",{series:u,speed:A,plot:y,replot:this.seriesToggleReplot},a);l.addClass("jqplot-seriesToggle")}if(this.showLabels){k.bind("click",{series:u,speed:A,plot:y,replot:this.seriesToggleReplot},a);k.addClass("jqplot-seriesToggle")}if(!u.show&&u.showLabel){l.addClass("jqplot-series-hidden");k.addClass("jqplot-series-hidden")}}C=true}}v++}l=k=h=g=null}}return this._elem};var a=function(j){var i=j.data,m=i.series,k=i.replot,h=i.plot,f=i.speed,l=m.index,g=false;if(m.canvas._elem.is(":hidden")||!m.show){g=true}var e=function(){if(k){var n={};if(c.isPlainObject(k)){c.extend(true,n,k)}h.replot(n);if(g&&f){var d=h.series[l];if(d.shadowCanvas._elem){d.shadowCanvas._elem.hide().fadeIn(f)}d.canvas._elem.hide().fadeIn(f);d.canvas._elem.nextAll(".jqplot-point-label.jqplot-series-"+d.index).hide().fadeIn(f)}}else{var d=h.series[l];if(d.canvas._elem.is(":hidden")||!d.show){if(typeof h.options.legend.showSwatches==="undefined"||h.options.legend.showSwatches===true){h.legend._elem.find("td").eq(l*2).addClass("jqplot-series-hidden")}if(typeof h.options.legend.showLabels==="undefined"||h.options.legend.showLabels===true){h.legend._elem.find("td").eq((l*2)+1).addClass("jqplot-series-hidden")}}else{if(typeof h.options.legend.showSwatches==="undefined"||h.options.legend.showSwatches===true){h.legend._elem.find("td").eq(l*2).removeClass("jqplot-series-hidden")}if(typeof h.options.legend.showLabels==="undefined"||h.options.legend.showLabels===true){h.legend._elem.find("td").eq((l*2)+1).removeClass("jqplot-series-hidden")}}}};m.toggleDisplay(j,e)};var b=function(){if(this.legend.renderer.constructor==c.jqplot.EnhancedLegendRenderer&&this.legend.seriesToggle){var d=this.legend._elem.detach();this.eventCanvas._elem.after(d)}}})(jQuery);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,3 +1,3 @@
|
||||
/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
|
||||
jsDate | (c) 2010-2013 Chris Leonello
|
||||
/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
|
||||
jsDate | (c) 2010-2013 Chris Leonello
|
||||
*/(function($){$.jqplot.JSON=window.JSON;if(!window.JSON){$.jqplot.JSON={}}function f(n){return n<10?"0"+n:n}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(key){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf()}}var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;function quote(string){escapable.lastIndex=0;return escapable.test(string)?'"'+string.replace(escapable,function(a){var c=meta[a];return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+string+'"'}function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];if(value&&typeof value==="object"&&typeof value.toJSON==="function"){value=value.toJSON(key)}if(typeof rep==="function"){value=rep.call(holder,key,value)}switch(typeof value){case"string":return quote(value);case"number":return isFinite(value)?String(value):"null";case"boolean":case"null":return String(value);case"object":if(!value){return"null"}gap+=indent;partial=[];if(Object.prototype.toString.apply(value)==="[object Array]"){length=value.length;for(i=0;i<length;i+=1){partial[i]=str(i,value)||"null"}v=partial.length===0?"[]":gap?"[\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"]":"["+partial.join(",")+"]";gap=mind;return v}if(rep&&typeof rep==="object"){length=rep.length;for(i=0;i<length;i+=1){k=rep[i];if(typeof k==="string"){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}else{for(k in value){if(Object.hasOwnProperty.call(value,k)){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}v=partial.length===0?"{}":gap?"{\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"}":"{"+partial.join(",")+"}";gap=mind;return v}}if(typeof $.jqplot.JSON.stringify!=="function"){$.jqplot.JSON.stringify=function(value,replacer,space){var i;gap="";indent="";if(typeof space==="number"){for(i=0;i<space;i+=1){indent+=" "}}else{if(typeof space==="string"){indent=space}}rep=replacer;if(replacer&&typeof replacer!=="function"&&(typeof replacer!=="object"||typeof replacer.length!=="number")){throw new Error("$.jqplot.JSON.stringify")}return str("",{"":value})}}if(typeof $.jqplot.JSON.parse!=="function"){$.jqplot.JSON.parse=function(text,reviver){var j;function walk(holder,key){var k,v,value=holder[key];if(value&&typeof value==="object"){for(k in value){if(Object.hasOwnProperty.call(value,k)){v=walk(value,k);if(v!==undefined){value[k]=v}else{delete value[k]}}}}return reviver.call(holder,key,value)}text=String(text);cx.lastIndex=0;if(cx.test(text)){text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})}if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");return typeof reviver==="function"?walk({"":j},""):j}throw new SyntaxError("$.jqplot.JSON.parse")}}})(jQuery);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,3 +1,3 @@
|
||||
/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
|
||||
jsDate | (c) 2010-2013 Chris Leonello
|
||||
/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
|
||||
jsDate | (c) 2010-2013 Chris Leonello
|
||||
*/(function(b){function a(e,d,c){this.bindCustomEvents=function(){this.eventCanvas._elem.bind("vclick",{plot:this},this.onClick);this.eventCanvas._elem.bind("dblclick",{plot:this},this.onDblClick);this.eventCanvas._elem.bind("taphold",{plot:this},this.onDblClick);this.eventCanvas._elem.bind("vmousedown",{plot:this},this.onMouseDown);this.eventCanvas._elem.bind("vmousemove",{plot:this},this.onMouseMove);this.eventCanvas._elem.bind("mouseenter",{plot:this},this.onMouseEnter);this.eventCanvas._elem.bind("mouseleave",{plot:this},this.onMouseLeave);if(this.captureRightClick){this.eventCanvas._elem.bind("vmouseup",{plot:this},this.onRightClick);this.eventCanvas._elem.get(0).oncontextmenu=function(){return false}}else{this.eventCanvas._elem.bind("vmouseup",{plot:this},this.onMouseUp)}};this.plugins.mobile=true}b.jqplot.postInitHooks.push(a)})(jQuery);
|
||||
@@ -1,3 +1,3 @@
|
||||
/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
|
||||
jsDate | (c) 2010-2013 Chris Leonello
|
||||
/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
|
||||
jsDate | (c) 2010-2013 Chris Leonello
|
||||
*/(function(a){a.jqplot.OHLCRenderer=function(){a.jqplot.LineRenderer.call(this);this.candleStick=false;this.tickLength="auto";this.bodyWidth="auto";this.openColor=null;this.closeColor=null;this.wickColor=null;this.fillUpBody=false;this.fillDownBody=true;this.upBodyColor=null;this.downBodyColor=null;this.hlc=false;this.lineWidth=1.5;this._tickLength;this._bodyWidth};a.jqplot.OHLCRenderer.prototype=new a.jqplot.LineRenderer();a.jqplot.OHLCRenderer.prototype.constructor=a.jqplot.OHLCRenderer;a.jqplot.OHLCRenderer.prototype.init=function(e){e=e||{};this.lineWidth=e.lineWidth||1.5;a.jqplot.LineRenderer.prototype.init.call(this,e);this._type="ohlc";var b=this._yaxis._dataBounds;var f=this._plotData;if(f[0].length<5){this.renderer.hlc=true;for(var c=0;c<f.length;c++){if(f[c][2]<b.min||b.min==null){b.min=f[c][2]}if(f[c][1]>b.max||b.max==null){b.max=f[c][1]}}}else{for(var c=0;c<f.length;c++){if(f[c][3]<b.min||b.min==null){b.min=f[c][3]}if(f[c][2]>b.max||b.max==null){b.max=f[c][2]}}}};a.jqplot.OHLCRenderer.prototype.draw=function(A,N,j){var J=this.data;var v=this._xaxis.min;var z=this._xaxis.max;var l=0;var K=J.length;var p=this._xaxis.series_u2p;var G=this._yaxis.series_u2p;var D,E,f,M,F,n,O,C;var y;var u=this.renderer;var s=(j!=undefined)?j:{};var k=(s.shadow!=undefined)?s.shadow:this.shadow;var B=(s.fill!=undefined)?s.fill:this.fill;var c=(s.fillAndStroke!=undefined)?s.fillAndStroke:this.fillAndStroke;u.bodyWidth=(s.bodyWidth!=undefined)?s.bodyWidth:u.bodyWidth;u.tickLength=(s.tickLength!=undefined)?s.tickLength:u.tickLength;A.save();if(this.show){var m,q,g,Q,t;for(var D=0;D<J.length;D++){if(J[D][0]<v){l=D}else{if(J[D][0]<z){K=D+1}}}var I=this.gridData[K-1][0]-this.gridData[l][0];var L=K-l;try{var P=Math.abs(this._xaxis.series_u2p(parseInt(this._xaxis._intervalStats[0].sortedIntervals[0].interval,10))-this._xaxis.series_u2p(0))}catch(H){var P=I/L}if(u.candleStick){if(typeof(u.bodyWidth)=="number"){u._bodyWidth=u.bodyWidth}else{u._bodyWidth=Math.min(20,P/1.65)}}else{if(typeof(u.tickLength)=="number"){u._tickLength=u.tickLength}else{u._tickLength=Math.min(10,P/3.5)}}for(var D=l;D<K;D++){m=p(J[D][0]);if(u.hlc){q=null;g=G(J[D][1]);Q=G(J[D][2]);t=G(J[D][3])}else{q=G(J[D][1]);g=G(J[D][2]);Q=G(J[D][3]);t=G(J[D][4])}y={};if(u.candleStick&&!u.hlc){n=u._bodyWidth;O=m-n/2;if(t<q){if(u.wickColor){y.color=u.wickColor}else{if(u.downBodyColor){y.color=u.upBodyColor}}f=a.extend(true,{},s,y);u.shapeRenderer.draw(A,[[m,g],[m,t]],f);u.shapeRenderer.draw(A,[[m,q],[m,Q]],f);y={};M=t;F=q-t;if(u.fillUpBody){y.fillRect=true}else{y.strokeRect=true;n=n-this.lineWidth;O=m-n/2}if(u.upBodyColor){y.color=u.upBodyColor;y.fillStyle=u.upBodyColor}C=[O,M,n,F]}else{if(t>q){if(u.wickColor){y.color=u.wickColor}else{if(u.downBodyColor){y.color=u.downBodyColor}}f=a.extend(true,{},s,y);u.shapeRenderer.draw(A,[[m,g],[m,q]],f);u.shapeRenderer.draw(A,[[m,t],[m,Q]],f);y={};M=q;F=t-q;if(u.fillDownBody){y.fillRect=true}else{y.strokeRect=true;n=n-this.lineWidth;O=m-n/2}if(u.downBodyColor){y.color=u.downBodyColor;y.fillStyle=u.downBodyColor}C=[O,M,n,F]}else{if(u.wickColor){y.color=u.wickColor}f=a.extend(true,{},s,y);u.shapeRenderer.draw(A,[[m,g],[m,Q]],f);y={};y.fillRect=false;y.strokeRect=false;O=[m-n/2,q];M=[m+n/2,t];n=null;F=null;C=[O,M]}}f=a.extend(true,{},s,y);u.shapeRenderer.draw(A,C,f)}else{E=s.color;if(u.openColor){s.color=u.openColor}if(!u.hlc){u.shapeRenderer.draw(A,[[m-u._tickLength,q],[m,q]],s)}s.color=E;if(u.wickColor){s.color=u.wickColor}u.shapeRenderer.draw(A,[[m,g],[m,Q]],s);s.color=E;if(u.closeColor){s.color=u.closeColor}u.shapeRenderer.draw(A,[[m,t],[m+u._tickLength,t]],s);s.color=E}}}A.restore()};a.jqplot.OHLCRenderer.prototype.drawShadow=function(b,d,c){};a.jqplot.OHLCRenderer.checkOptions=function(d,c,b){if(!b.highlighter){b.highlighter={showMarker:false,tooltipAxes:"y",yvalues:4,formatString:'<table class="jqplot-highlighter"><tr><td>date:</td><td>%s</td></tr><tr><td>open:</td><td>%s</td></tr><tr><td>hi:</td><td>%s</td></tr><tr><td>low:</td><td>%s</td></tr><tr><td>close:</td><td>%s</td></tr></table>'}}}})(jQuery);
|
||||
File diff suppressed because one or more lines are too long
@@ -1,3 +1,3 @@
|
||||
/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
|
||||
jsDate | (c) 2010-2013 Chris Leonello
|
||||
/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
|
||||
jsDate | (c) 2010-2013 Chris Leonello
|
||||
*/(function(c){c.jqplot.PointLabels=function(e){this.show=c.jqplot.config.enablePlugins;this.location="n";this.labelsFromSeries=false;this.seriesLabelIndex=null;this.labels=[];this._labels=[];this.stackedValue=false;this.ypadding=6;this.xpadding=6;this.escapeHTML=true;this.edgeTolerance=-5;this.formatter=c.jqplot.DefaultTickFormatter;this.formatString="";this.hideZeros=false;this._elems=[];c.extend(true,this,e)};var a=["nw","n","ne","e","se","s","sw","w"];var d={nw:0,n:1,ne:2,e:3,se:4,s:5,sw:6,w:7};var b=["se","s","sw","w","nw","n","ne","e"];c.jqplot.PointLabels.init=function(j,h,f,g,i){var e=c.extend(true,{},f,g);e.pointLabels=e.pointLabels||{};if(this.renderer.constructor===c.jqplot.BarRenderer&&this.barDirection==="horizontal"&&!e.pointLabels.location){e.pointLabels.location="e"}this.plugins.pointLabels=new c.jqplot.PointLabels(e.pointLabels);this.plugins.pointLabels.setLabels.call(this)};c.jqplot.PointLabels.prototype.setLabels=function(){var f=this.plugins.pointLabels;var h;if(f.seriesLabelIndex!=null){h=f.seriesLabelIndex}else{if(this.renderer.constructor===c.jqplot.BarRenderer&&this.barDirection==="horizontal"){h=(this._plotData[0].length<3)?0:this._plotData[0].length-1}else{h=(this._plotData.length===0)?0:this._plotData[0].length-1}}f._labels=[];if(f.labels.length===0||f.labelsFromSeries){if(f.stackedValue){if(this._plotData.length&&this._plotData[0].length){for(var e=0;e<this._plotData.length;e++){f._labels.push(this._plotData[e][h])}}}else{var g=this.data;if(this.renderer.constructor===c.jqplot.BarRenderer&&this.waterfall){g=this._data}if(g.length&&g[0].length){for(var e=0;e<g.length;e++){f._labels.push(g[e][h])}}g=null}}else{if(f.labels.length){f._labels=f.labels}}};c.jqplot.PointLabels.prototype.xOffset=function(f,e,g){e=e||this.location;g=g||this.xpadding;var h;switch(e){case"nw":h=-f.outerWidth(true)-this.xpadding;break;case"n":h=-f.outerWidth(true)/2;break;case"ne":h=this.xpadding;break;case"e":h=this.xpadding;break;case"se":h=this.xpadding;break;case"s":h=-f.outerWidth(true)/2;break;case"sw":h=-f.outerWidth(true)-this.xpadding;break;case"w":h=-f.outerWidth(true)-this.xpadding;break;default:h=-f.outerWidth(true)-this.xpadding;break}return h};c.jqplot.PointLabels.prototype.yOffset=function(f,e,g){e=e||this.location;g=g||this.xpadding;var h;switch(e){case"nw":h=-f.outerHeight(true)-this.ypadding;break;case"n":h=-f.outerHeight(true)-this.ypadding;break;case"ne":h=-f.outerHeight(true)-this.ypadding;break;case"e":h=-f.outerHeight(true)/2;break;case"se":h=this.ypadding;break;case"s":h=this.ypadding;break;case"sw":h=this.ypadding;break;case"w":h=-f.outerHeight(true)/2;break;default:h=-f.outerHeight(true)-this.ypadding;break}return h};c.jqplot.PointLabels.draw=function(x,j,v){var t=this.plugins.pointLabels;t.setLabels.call(this);for(var w=0;w<t._elems.length;w++){t._elems[w].emptyForce()}t._elems.splice(0,t._elems.length);if(t.show){var r="_"+this._stackAxis+"axis";if(!t.formatString){t.formatString=this[r]._ticks[0].formatString;t.formatter=this[r]._ticks[0].formatter}var E=this._plotData;var D=this._prevPlotData;var A=this._xaxis;var q=this._yaxis;var z,f;for(var w=0,u=t._labels.length;w<u;w++){var o=t._labels[w];if(o==null||(t.hideZeros&&parseInt(o,10)==0)){continue}o=t.formatter(t.formatString,o);f=document.createElement("div");t._elems[w]=c(f);z=t._elems[w];z.addClass("jqplot-point-label jqplot-series-"+this.index+" jqplot-point-"+w);z.css("position","absolute");z.insertAfter(x.canvas);if(t.escapeHTML){z.text(o)}else{z.html(o)}var g=t.location;if((this.fillToZero&&E[w][1]<0)||(this.fillToZero&&this._type==="bar"&&this.barDirection==="horizontal"&&E[w][0]<0)||(this.waterfall&&parseInt(o,10))<0){g=b[d[g]]}var n=A.u2p(E[w][0])+t.xOffset(z,g);var h=q.u2p(E[w][1])+t.yOffset(z,g);if(this._stack&&!t.stackedValue){if(this.barDirection==="vertical"){h=(this._barPoints[w][0][1]+this._barPoints[w][1][1])/2+v._gridPadding.top-0.5*z.outerHeight(true)}else{n=(this._barPoints[w][2][0]+this._barPoints[w][0][0])/2+v._gridPadding.left-0.5*z.outerWidth(true)}}if(this.renderer.constructor==c.jqplot.BarRenderer){if(this.barDirection=="vertical"){n+=this._barNudge}else{h-=this._barNudge}}z.css("left",n);z.css("top",h);var k=n+z.width();var s=h+z.height();var C=t.edgeTolerance;var e=c(x.canvas).position().left;var y=c(x.canvas).position().top;var B=x.canvas.width+e;var m=x.canvas.height+y;if(n-C<e||h-C<y||k+C>B||s+C>m){z.remove()}z=null;f=null}}};c.jqplot.postSeriesInitHooks.push(c.jqplot.PointLabels.init);c.jqplot.postDrawSeriesHooks.push(c.jqplot.PointLabels.draw)})(jQuery);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,3 +1,3 @@
|
||||
/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
|
||||
jsDate | (c) 2010-2013 Chris Leonello
|
||||
/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
|
||||
jsDate | (c) 2010-2013 Chris Leonello
|
||||
*/(function(f){f.jqplot.Trendline=function(){this.show=f.jqplot.config.enablePlugins;this.color="#666666";this.renderer=new f.jqplot.LineRenderer();this.rendererOptions={marker:{show:false}};this.label="";this.type="linear";this.shadow=true;this.markerRenderer={show:false};this.lineWidth=1.5;this.shadowAngle=45;this.shadowOffset=1;this.shadowAlpha=0.07;this.shadowDepth=3;this.isTrendline=true};f.jqplot.postSeriesInitHooks.push(e);f.jqplot.postDrawSeriesHooks.push(g);f.jqplot.addLegendRowHooks.push(a);function a(k){var j=null;if(k.trendline&&k.trendline.show){var i=k.trendline.label.toString();if(i){j={label:i,color:k.trendline.color}}}return j}function e(m,k,j,i,l){if(this._type&&(this._type==="line"||this._type=="bar")){this.trendline=new f.jqplot.Trendline();i=i||{};f.extend(true,this.trendline,{color:this.color},j.trendline,i.trendline);this.trendline.renderer.init.call(this.trendline,null)}}function g(m,i){i=f.extend(true,{},this.trendline,i);if(this.trendline&&i.show){var k;var l=i.data||this.data;k=c(l,this.trendline.type);var j=i.gridData||this.renderer.makeGridData.call(this,k.data);this.trendline.renderer.draw.call(this.trendline,m,j,{showLine:true,shadow:this.trendline.shadow})}}function b(w,v,n){var u=(n==null)?"linear":n;var s=w.length;var t;var z;var o=0;var m=0;var r=0;var q=0;var l=0;var j=[];var k=[];if(u=="linear"){k=w;j=v}else{if(u=="exp"||u=="exponential"){for(var p=0;p<v.length;p++){if(v[p]<=0){s--}else{k.push(w[p]);j.push(Math.log(v[p]))}}}}for(var p=0;p<s;p++){o=o+k[p];m=m+j[p];q=q+k[p]*j[p];r=r+k[p]*k[p];l=l+j[p]*j[p]}t=(s*q-o*m)/(s*r-o*o);z=(m-t*o)/s;return[t,z]}function h(k,j){var i;i=b(k,j,"linear");return[i[0],i[1]]}function d(o,m){var k;var i=o;var n=m;k=b(i,n,"exp");var l=Math.exp(k[0]);var j=Math.exp(k[1]);return[l,j]}function c(l,j){var p=(j==null)?"linear":j;var n;var o;var r=[];var q=[];var m=[];for(k=0;k<l.length;k++){if(l[k]!=null&&l[k][0]!=null&&l[k][1]!=null){r.push(l[k][0]);q.push(l[k][1])}}if(p=="linear"){n=h(r,q);for(var k=0;k<r.length;k++){o=n[0]*r[k]+n[1];m.push([r[k],o])}}else{if(p=="exp"||p=="exponential"){n=d(r,q);for(var k=0;k<r.length;k++){o=n[1]*Math.pow(n[0],r[k]);m.push([r[k],o])}}}return{data:m,slope:n[0],intercept:n[1]}}})(jQuery);
|
||||
@@ -1,423 +1,423 @@
|
||||
{extends file="admin-layout.tpl"}
|
||||
|
||||
{block name="no-return-functions"}
|
||||
{$admin_current_location = 'configuration'}
|
||||
{/block}
|
||||
|
||||
{block name="page-title"}{intl l='Configuration'}{/block}
|
||||
|
||||
{block name="check-resource"}admin.configuration{/block}
|
||||
{block name="check-access"}view{/block}
|
||||
|
||||
{block name="main-content"}
|
||||
<div class="configuration">
|
||||
|
||||
<div id="wrapper" class="container">
|
||||
|
||||
<nav>
|
||||
<ul class="breadcrumb">
|
||||
<li><a href="{url path='admin/home'}">{intl l='Home'}</a></li>
|
||||
<li>{intl l='Configuration'}</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
{hook name="configuration.top" location="configuration_top" }
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="menu-list-table general-block-decorator">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-condensed">
|
||||
<caption>{intl l='Product catalog configuration'}</caption>
|
||||
|
||||
{hook name="configuration.catalog-top" location="configuration_catalog_top" }
|
||||
|
||||
{loop type="auth" name="pcc1" role="ADMIN" resource="admin.configuration.template" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/templates'}">{intl l='Product templates'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/templates'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc2" role="ADMIN" resource="admin.configuration.attribute" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/attributes'}">{intl l='Product attributes'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/attributes'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc3" role="ADMIN" resource="admin.configuration.feature" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/features'}">{intl l='Product features'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/features'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc4" role="ADMIN" resource="admin.configuration.message" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/messages'}">{intl l='Mailing templates'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/messages'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc5" role="ADMIN" resource="admin.configuration.currency" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/currencies'}">{intl l='Currencies'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/currencies'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc6" role="ADMIN" resource="admin.configuration.tax-rule" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/taxes_rules'}">{intl l='Tax rules'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/taxes_rules'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{hook name="configuration.catalog-bottom" location="configuration_catalog_bottom" }
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="menu-list-table general-block-decorator">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-condensed">
|
||||
<caption>{intl l='Shipping configuration'}</caption>
|
||||
|
||||
{hook name="configuration.shipping-top" location="configuration_shipping_top" }
|
||||
|
||||
{loop type="auth" name="pcc1" role="ADMIN" resource="admin.configuration.contry" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/countries'}">{intl l='Countries'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/countries'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc2" role="ADMIN" resource="admin.configuration.state" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/states'}">{intl l='States / Provinces'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/states'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc3" role="ADMIN" resource="admin.configuration.shipping-zone" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/shipping_zones'}">{intl l='Shipping configuration'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/shipping_zones'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc4" role="ADMIN" resource="admin.configuration.shipping-configuration" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/shipping_configuration'}">{intl l='Shipping zones management'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/shipping_configuration'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{hook name="configuration.shipping-bottom" location="configuration_shipping_bottom" }
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="menu-list-table general-block-decorator">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-condensed">
|
||||
<caption>{intl l='Order path configuration'}</caption>
|
||||
|
||||
{hook name="configuration.order-path.top"}
|
||||
|
||||
{loop type="auth" name="pcc1" role="ADMIN" resource="admin.configuration.order-status" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/order-status'}">{intl l='Order status'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/order-status'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{hook name="configuration.order-path.bottom"}
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="menu-list-table general-block-decorator">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-condensed">
|
||||
<caption>{intl l='System parameters'}</caption>
|
||||
|
||||
{hook name="configuration.system-top" location="configuration_system_top" }
|
||||
|
||||
{loop type="auth" name="pcc-store" role="ADMIN" resource="admin.configuration.store" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/store'}">{intl l='Store'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/store'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc2" role="ADMIN" resource="admin.configuration.variable" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/variables'}">{intl l='System variables'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/variables'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc3" role="ADMIN" resource="admin.configuration.profile" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/profiles'}">{intl l='Administration profiles'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/profiles'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc4" role="ADMIN" resource="admin.configuration.administrator" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/administrators'}">{intl l='Administrators'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/administrators'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc5" role="ADMIN" resource="admin.configuration.language" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/languages'}">{intl l='Languages & URLs'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/languages'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc5.1" role="ADMIN" resource="admin.configuration.translations" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/translations'}">{intl l='Translations'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/translations'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc6" role="ADMIN" resource="admin.configuration.mailing-system" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/mailingSystem'}">{intl l='Mailing system'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/mailingSystem'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc7" role="ADMIN" resource="admin.configuration.admin-logs" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/adminLogs'}">{intl l='Administration logs'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/adminLogs'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc8" role="ADMIN" resource="admin.configuration.system-logs" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/system-logs'}">{intl l='System logs'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/system-logs'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
{loop type="auth" name="pcc9" role="ADMIN" resource="admin.configuration.api" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/api'}">{intl l='API configuration'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/api'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
{loop type="auth" name="pcc10" role="ADMIN" resource="admin.configuration.advanced" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/advanced'}">{intl l='Advanced configuration'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/advanced'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
{loop type="auth" name="pcc10" role="ADMIN" resource="admin.hook" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/hooks'}">{intl l='Hooks'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/hooks'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
{loop type="auth" name="pcc11" role="ADMIN" resource="admin.module-hook" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/module-hooks'}">{intl l='Modules attachments'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/module-hooks'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
{hook name="configuration.system-bottom" location="configuration_system_bottom" }
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{hook name="configuration.bottom" location="configuration_bottom" }
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name="javascript-last-call"}
|
||||
{hook name="configuration.js" location="configuration-js" }
|
||||
{extends file="admin-layout.tpl"}
|
||||
|
||||
{block name="no-return-functions"}
|
||||
{$admin_current_location = 'configuration'}
|
||||
{/block}
|
||||
|
||||
{block name="page-title"}{intl l='Configuration'}{/block}
|
||||
|
||||
{block name="check-resource"}admin.configuration{/block}
|
||||
{block name="check-access"}view{/block}
|
||||
|
||||
{block name="main-content"}
|
||||
<div class="configuration">
|
||||
|
||||
<div id="wrapper" class="container">
|
||||
|
||||
<nav>
|
||||
<ul class="breadcrumb">
|
||||
<li><a href="{url path='admin/home'}">{intl l='Home'}</a></li>
|
||||
<li>{intl l='Configuration'}</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
{hook name="configuration.top" location="configuration_top" }
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="menu-list-table general-block-decorator">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-condensed">
|
||||
<caption>{intl l='Product catalog configuration'}</caption>
|
||||
|
||||
{hook name="configuration.catalog-top" location="configuration_catalog_top" }
|
||||
|
||||
{loop type="auth" name="pcc1" role="ADMIN" resource="admin.configuration.template" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/templates'}">{intl l='Product templates'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/templates'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc2" role="ADMIN" resource="admin.configuration.attribute" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/attributes'}">{intl l='Product attributes'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/attributes'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc3" role="ADMIN" resource="admin.configuration.feature" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/features'}">{intl l='Product features'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/features'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc4" role="ADMIN" resource="admin.configuration.message" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/messages'}">{intl l='Mailing templates'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/messages'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc5" role="ADMIN" resource="admin.configuration.currency" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/currencies'}">{intl l='Currencies'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/currencies'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc6" role="ADMIN" resource="admin.configuration.tax-rule" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/taxes_rules'}">{intl l='Tax rules'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/taxes_rules'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{hook name="configuration.catalog-bottom" location="configuration_catalog_bottom" }
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="menu-list-table general-block-decorator">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-condensed">
|
||||
<caption>{intl l='Shipping configuration'}</caption>
|
||||
|
||||
{hook name="configuration.shipping-top" location="configuration_shipping_top" }
|
||||
|
||||
{loop type="auth" name="pcc1" role="ADMIN" resource="admin.configuration.contry" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/countries'}">{intl l='Countries'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/countries'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc2" role="ADMIN" resource="admin.configuration.state" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/states'}">{intl l='States / Provinces'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/states'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc3" role="ADMIN" resource="admin.configuration.shipping-zone" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/shipping_zones'}">{intl l='Shipping configuration'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/shipping_zones'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc4" role="ADMIN" resource="admin.configuration.shipping-configuration" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/shipping_configuration'}">{intl l='Shipping zones management'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/shipping_configuration'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{hook name="configuration.shipping-bottom" location="configuration_shipping_bottom" }
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="menu-list-table general-block-decorator">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-condensed">
|
||||
<caption>{intl l='Order path configuration'}</caption>
|
||||
|
||||
{hook name="configuration.order-path.top"}
|
||||
|
||||
{loop type="auth" name="pcc1" role="ADMIN" resource="admin.configuration.order-status" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/order-status'}">{intl l='Order status'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/order-status'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{hook name="configuration.order-path.bottom"}
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="menu-list-table general-block-decorator">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-condensed">
|
||||
<caption>{intl l='System parameters'}</caption>
|
||||
|
||||
{hook name="configuration.system-top" location="configuration_system_top" }
|
||||
|
||||
{loop type="auth" name="pcc-store" role="ADMIN" resource="admin.configuration.store" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/store'}">{intl l='Store'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/store'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc2" role="ADMIN" resource="admin.configuration.variable" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/variables'}">{intl l='System variables'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/variables'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc3" role="ADMIN" resource="admin.configuration.profile" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/profiles'}">{intl l='Administration profiles'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/profiles'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc4" role="ADMIN" resource="admin.configuration.administrator" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/administrators'}">{intl l='Administrators'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/administrators'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc5" role="ADMIN" resource="admin.configuration.language" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/languages'}">{intl l='Languages & URLs'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/languages'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc5.1" role="ADMIN" resource="admin.configuration.translations" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/translations'}">{intl l='Translations'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/translations'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc6" role="ADMIN" resource="admin.configuration.mailing-system" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/mailingSystem'}">{intl l='Mailing system'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/mailingSystem'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc7" role="ADMIN" resource="admin.configuration.admin-logs" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/adminLogs'}">{intl l='Administration logs'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/adminLogs'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
{loop type="auth" name="pcc8" role="ADMIN" resource="admin.configuration.system-logs" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/system-logs'}">{intl l='System logs'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/system-logs'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
{loop type="auth" name="pcc9" role="ADMIN" resource="admin.configuration.api" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/api'}">{intl l='API configuration'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/api'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
{loop type="auth" name="pcc10" role="ADMIN" resource="admin.configuration.advanced" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/configuration/advanced'}">{intl l='Advanced configuration'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/configuration/advanced'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
{loop type="auth" name="pcc10" role="ADMIN" resource="admin.hook" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/hooks'}">{intl l='Hooks'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/hooks'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
{loop type="auth" name="pcc11" role="ADMIN" resource="admin.module-hook" access="VIEW"}
|
||||
<tr>
|
||||
<td><a href="{url path='/admin/module-hooks'}">{intl l='Modules attachments'}</a></td>
|
||||
<td>
|
||||
{include file='renderer/buttons.html' btn_small=true btn_group=false buttons=[
|
||||
[
|
||||
'type' => 'edit',
|
||||
'href' => {url path='/admin/module-hooks'}
|
||||
]
|
||||
]}
|
||||
</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
{hook name="configuration.system-bottom" location="configuration_system_bottom" }
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{hook name="configuration.bottom" location="configuration_bottom" }
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name="javascript-last-call"}
|
||||
{hook name="configuration.js" location="configuration-js" }
|
||||
{/block}
|
||||
@@ -1,19 +1,19 @@
|
||||
{capture name="module_include"}
|
||||
{if $location}
|
||||
{hook name="$hook" location="$location" id="$id" view="$view" countvar="module_count"}
|
||||
{else}
|
||||
{hook name="$hook" id="$id" view="$view" countvar="module_count"}
|
||||
{/if}
|
||||
{/capture}
|
||||
|
||||
{if trim($smarty.capture.module_include) == ''}
|
||||
<br />
|
||||
|
||||
<div class="alert alert-info">
|
||||
<p class="text-center" style="font-size: 2.2em"><span class="glyphicon glyphicon-info-sign"></span></p>
|
||||
<p class="text-center">{intl l="There is currently no active module here."}</p>
|
||||
</div>
|
||||
|
||||
{else}
|
||||
{$smarty.capture.module_include nofilter}
|
||||
{/if}
|
||||
{capture name="module_include"}
|
||||
{if $location}
|
||||
{hook name="$hook" location="$location" id="$id" view="$view" countvar="module_count"}
|
||||
{else}
|
||||
{hook name="$hook" id="$id" view="$view" countvar="module_count"}
|
||||
{/if}
|
||||
{/capture}
|
||||
|
||||
{if trim($smarty.capture.module_include) == ''}
|
||||
<br />
|
||||
|
||||
<div class="alert alert-info">
|
||||
<p class="text-center" style="font-size: 2.2em"><span class="glyphicon glyphicon-info-sign"></span></p>
|
||||
<p class="text-center">{intl l="There is currently no active module here."}</p>
|
||||
</div>
|
||||
|
||||
{else}
|
||||
{$smarty.capture.module_include nofilter}
|
||||
{/if}
|
||||
|
||||
@@ -168,10 +168,10 @@ return array(
|
||||
'Price descending' => 'Price descending',
|
||||
'Proceed checkout' => 'Proceed checkout',
|
||||
'Product Empty Button' => 'Add my first product',
|
||||
'Product Empty Message' => 'It\'s really quick to add a product.
|
||||
<ol>
|
||||
<li>Check <strong>NEW</strong> under the details tab if you want to see your product in the latest product section.</li>
|
||||
<li>Check <strong>SALE</strong> under the details tab if you want to see your product in the offer product section.</li>
|
||||
'Product Empty Message' => 'It\'s really quick to add a product.
|
||||
<ol>
|
||||
<li>Check <strong>NEW</strong> under the details tab if you want to see your product in the latest product section.</li>
|
||||
<li>Check <strong>SALE</strong> under the details tab if you want to see your product in the offer product section.</li>
|
||||
</ol>',
|
||||
'Product Empty Title' => 'Welcome',
|
||||
'Product Name' => 'Product Name',
|
||||
|
||||
@@ -219,6 +219,7 @@
|
||||
{/if}
|
||||
</span>
|
||||
{/loop}
|
||||
<input type="hidden" id="has-digressive-price" value="true">
|
||||
{/ifloop}
|
||||
{elseloop rel="dp"}
|
||||
<span id="pse-promo">
|
||||
@@ -229,6 +230,7 @@
|
||||
<span class="old-price"><span class="price-label">{intl l="Regular Price:"} </span><span id="pse-price-old" class="price">{format_money number=$TAXED_PRICE}</span></span>
|
||||
{/if}
|
||||
</span>
|
||||
<input type="hidden" id="has-digressive-price" value="false">
|
||||
{/elseloop}
|
||||
<!-- TheCoreDev le 21/05/2021 : rajout du prix au kilo -->
|
||||
<!-- <div class="prix-au-kilo">-->
|
||||
|
||||
@@ -168,10 +168,10 @@ return array(
|
||||
'Price descending' => 'Price descending',
|
||||
'Proceed checkout' => 'Proceed checkout',
|
||||
'Product Empty Button' => 'Add my first product',
|
||||
'Product Empty Message' => 'It\'s really quick to add a product.
|
||||
<ol>
|
||||
<li>Check <strong>NEW</strong> under the details tab if you want to see your product in the latest product section.</li>
|
||||
<li>Check <strong>SALE</strong> under the details tab if you want to see your product in the offer product section.</li>
|
||||
'Product Empty Message' => 'It\'s really quick to add a product.
|
||||
<ol>
|
||||
<li>Check <strong>NEW</strong> under the details tab if you want to see your product in the latest product section.</li>
|
||||
<li>Check <strong>SALE</strong> under the details tab if you want to see your product in the offer product section.</li>
|
||||
</ol>',
|
||||
'Product Empty Title' => 'Welcome',
|
||||
'Product Name' => 'Product Name',
|
||||
|
||||
@@ -1,110 +1,110 @@
|
||||
<!--
|
||||
______ __ __ ______ __ __ ______
|
||||
/\__ _\ /\ \_\ \ /\ ___\ /\ \ /\ \ /\ __ \
|
||||
\/_/\ \/ \ \ __ \ \ \ __\ \ \ \____ \ \ \ \ \ __ \
|
||||
\ \_\ \ \_\ \_\ \ \_____\ \ \_____\ \ \_\ \ \_\ \_\
|
||||
\/_/ \/_/\/_/ \/_____/ \/_____/ \/_/ \/_/\/_/
|
||||
|
||||
|
||||
Copyright (c) OpenStudio
|
||||
email : info@thelia.net
|
||||
web : http://www.thelia.net
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the
|
||||
GNU General Public License : http://www.gnu.org/licenses/
|
||||
-->
|
||||
|
||||
<!--
|
||||
TEMPLATE-TEST-HOOK
|
||||
-->
|
||||
|
||||
{* Declare assets directory, relative to template base directory *}
|
||||
{declare_assets directory='assets'}
|
||||
|
||||
{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *}
|
||||
{default_translation_domain domain='fo.default'}
|
||||
|
||||
{hook name="main.head-top"}
|
||||
|
||||
{hook name="main.stylesheet"}
|
||||
|
||||
{hook name="main.body-top"}
|
||||
|
||||
{hook name="main.header-top"}
|
||||
|
||||
{hook name="main.navbar-secondary"}
|
||||
{ifhook rel="main.navbar-secondary"}
|
||||
::main.navbar-secondary ifhook::
|
||||
{/ifhook}
|
||||
{elsehook rel="main.navbar-secondary"}
|
||||
::main.navbar-secondary elsehook::
|
||||
{/elsehook}
|
||||
|
||||
{hook name="main.navbar-primary"}
|
||||
{ifhook rel="main.navbar-primary"}
|
||||
::main.navbar-primary ifhook::
|
||||
{/ifhook}
|
||||
{elsehook rel="main.navbar-primary"}
|
||||
::main.navbar-primary elsehook::
|
||||
{/elsehook}
|
||||
|
||||
{hook name="main.header-bottom"}
|
||||
|
||||
{hook name="main.content-top"}
|
||||
|
||||
|
||||
{block name="main-content"}{/block}
|
||||
|
||||
|
||||
{hook name="main.content-bottom"}
|
||||
|
||||
{ifhook rel="main.footer-top"}
|
||||
{hook name="main.footer-top"}
|
||||
{/ifhook}
|
||||
{elsehook rel="main.footer-top"}
|
||||
::NO main.footer-top::
|
||||
{/elsehook}
|
||||
|
||||
{ifhook rel="product.additional"}
|
||||
{hookblock name="product.additional"}
|
||||
{forhook rel="product.additional"}
|
||||
::product.additional ifhook::
|
||||
{/forhook}
|
||||
{/hookblock}
|
||||
{/ifhook}
|
||||
{elsehook rel="product.additional"}
|
||||
::product.additional elsehook::
|
||||
{/elsehook}
|
||||
|
||||
|
||||
|
||||
{ifhook rel="main.footer-body"}
|
||||
::main.footer-body ifhook::
|
||||
{hookblock name="main.footer-body"}
|
||||
{forhook rel="main.footer-body"}
|
||||
::main.footer-body {$id} {$class} {$content}::
|
||||
{/forhook}
|
||||
{/hookblock}
|
||||
{/ifhook}
|
||||
{elsehook rel="main.footer-body"}
|
||||
::main.footer-body elsehook::
|
||||
{/elsehook}
|
||||
|
||||
{ifhook rel="main.footer-bottom"}
|
||||
{hook name="main.footer-bottom"}
|
||||
{/ifhook}
|
||||
{elsehook rel="main.footer-bottom"}
|
||||
::NO main.footer-bottom::
|
||||
{/elsehook}
|
||||
|
||||
{hook name="main.after-javascript-include"}
|
||||
|
||||
{block name="after-javascript-include"}{/block}
|
||||
|
||||
{hook name="main.javascript-initialization"}
|
||||
|
||||
{block name="javascript-initialization"}{/block}
|
||||
|
||||
{hook name="main.body-bottom"}
|
||||
<!--
|
||||
______ __ __ ______ __ __ ______
|
||||
/\__ _\ /\ \_\ \ /\ ___\ /\ \ /\ \ /\ __ \
|
||||
\/_/\ \/ \ \ __ \ \ \ __\ \ \ \____ \ \ \ \ \ __ \
|
||||
\ \_\ \ \_\ \_\ \ \_____\ \ \_____\ \ \_\ \ \_\ \_\
|
||||
\/_/ \/_/\/_/ \/_____/ \/_____/ \/_/ \/_/\/_/
|
||||
|
||||
|
||||
Copyright (c) OpenStudio
|
||||
email : info@thelia.net
|
||||
web : http://www.thelia.net
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the
|
||||
GNU General Public License : http://www.gnu.org/licenses/
|
||||
-->
|
||||
|
||||
<!--
|
||||
TEMPLATE-TEST-HOOK
|
||||
-->
|
||||
|
||||
{* Declare assets directory, relative to template base directory *}
|
||||
{declare_assets directory='assets'}
|
||||
|
||||
{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *}
|
||||
{default_translation_domain domain='fo.default'}
|
||||
|
||||
{hook name="main.head-top"}
|
||||
|
||||
{hook name="main.stylesheet"}
|
||||
|
||||
{hook name="main.body-top"}
|
||||
|
||||
{hook name="main.header-top"}
|
||||
|
||||
{hook name="main.navbar-secondary"}
|
||||
{ifhook rel="main.navbar-secondary"}
|
||||
::main.navbar-secondary ifhook::
|
||||
{/ifhook}
|
||||
{elsehook rel="main.navbar-secondary"}
|
||||
::main.navbar-secondary elsehook::
|
||||
{/elsehook}
|
||||
|
||||
{hook name="main.navbar-primary"}
|
||||
{ifhook rel="main.navbar-primary"}
|
||||
::main.navbar-primary ifhook::
|
||||
{/ifhook}
|
||||
{elsehook rel="main.navbar-primary"}
|
||||
::main.navbar-primary elsehook::
|
||||
{/elsehook}
|
||||
|
||||
{hook name="main.header-bottom"}
|
||||
|
||||
{hook name="main.content-top"}
|
||||
|
||||
|
||||
{block name="main-content"}{/block}
|
||||
|
||||
|
||||
{hook name="main.content-bottom"}
|
||||
|
||||
{ifhook rel="main.footer-top"}
|
||||
{hook name="main.footer-top"}
|
||||
{/ifhook}
|
||||
{elsehook rel="main.footer-top"}
|
||||
::NO main.footer-top::
|
||||
{/elsehook}
|
||||
|
||||
{ifhook rel="product.additional"}
|
||||
{hookblock name="product.additional"}
|
||||
{forhook rel="product.additional"}
|
||||
::product.additional ifhook::
|
||||
{/forhook}
|
||||
{/hookblock}
|
||||
{/ifhook}
|
||||
{elsehook rel="product.additional"}
|
||||
::product.additional elsehook::
|
||||
{/elsehook}
|
||||
|
||||
|
||||
|
||||
{ifhook rel="main.footer-body"}
|
||||
::main.footer-body ifhook::
|
||||
{hookblock name="main.footer-body"}
|
||||
{forhook rel="main.footer-body"}
|
||||
::main.footer-body {$id} {$class} {$content}::
|
||||
{/forhook}
|
||||
{/hookblock}
|
||||
{/ifhook}
|
||||
{elsehook rel="main.footer-body"}
|
||||
::main.footer-body elsehook::
|
||||
{/elsehook}
|
||||
|
||||
{ifhook rel="main.footer-bottom"}
|
||||
{hook name="main.footer-bottom"}
|
||||
{/ifhook}
|
||||
{elsehook rel="main.footer-bottom"}
|
||||
::NO main.footer-bottom::
|
||||
{/elsehook}
|
||||
|
||||
{hook name="main.after-javascript-include"}
|
||||
|
||||
{block name="after-javascript-include"}{/block}
|
||||
|
||||
{hook name="main.javascript-initialization"}
|
||||
|
||||
{block name="javascript-initialization"}{/block}
|
||||
|
||||
{hook name="main.body-bottom"}
|
||||
|
||||
Reference in New Issue
Block a user