diff --git a/assets/contao/js/core-uncompressed.js b/assets/contao/js/core-uncompressed.js index 89c6452eff..715bae7f2c 100644 --- a/assets/contao/js/core-uncompressed.js +++ b/assets/contao/js/core-uncompressed.js @@ -718,7 +718,7 @@ var Backend = openModalWindow: function(width, title, content) { new SimpleModal({ 'width': width, - 'btn_ok': Contao.lang.close, + 'hideFooter': true, 'draggable': false, 'overlayOpacity': .5, 'onShow': function() { document.body.setStyle('overflow', 'hidden'); }, @@ -737,7 +737,7 @@ var Backend = var opt = options || {}; var M = new SimpleModal({ 'width': opt.width, - 'btn_ok': Contao.lang.close, + 'hideFooter': true, 'draggable': false, 'overlayOpacity': .5, 'onShow': function() { document.body.setStyle('overflow', 'hidden'); }, @@ -759,7 +759,7 @@ var Backend = if (!opt.height || opt.height > max) opt.height = max; var M = new SimpleModal({ 'width': opt.width, - 'btn_ok': Contao.lang.close, + 'hideFooter': true, 'draggable': false, 'overlayOpacity': .5, 'onShow': function() { document.body.setStyle('overflow', 'hidden'); }, diff --git a/assets/contao/js/core.js b/assets/contao/js/core.js index 1c08625d40..9870a9e763 100644 --- a/assets/contao/js/core.js +++ b/assets/contao/js/core.js @@ -1,2 +1,2 @@ /* Contao Open Source CMS, (c) 2005-2013 Leo Feyer, LGPL license */ -var AjaxRequest={toggleNavigation:function(e,t){e.blur();var n=$(t),r=$(e).getFirst("img");return n?(n.getStyle("display")=="none"?(n.setStyle("display","inline"),r.src=r.src.replace("modPlus.gif","modMinus.gif"),$(e).store("tip:title",Contao.lang.collapse),(new Request.Contao).post({action:"toggleNavigation",id:t,state:1,REQUEST_TOKEN:Contao.request_token})):(n.setStyle("display","none"),r.src=r.src.replace("modMinus.gif","modPlus.gif"),$(e).store("tip:title",Contao.lang.expand),(new Request.Contao).post({action:"toggleNavigation",id:t,state:0,REQUEST_TOKEN:Contao.request_token})),!1):((new Request.Contao({evalScripts:!0,onRequest:AjaxRequest.displayBox(Contao.lang.loading+" …"),onSuccess:function(n,i){var s=(new Element("li",{id:t,"class":"tl_parent",html:n,styles:{display:"inline"}})).inject($(e).getParent("li"),"after");s.getElements("a").each(function(e){e.href=e.href.replace(/&ref=[a-f0-9]+/,"&ref="+Contao.referer_id)}),$(e).store("tip:title",Contao.lang.collapse),r.src=r.src.replace("modPlus.gif","modMinus.gif"),AjaxRequest.hideBox(),window.fireEvent("ajax_change")}})).post({action:"loadNavigation",id:t,state:1,REQUEST_TOKEN:Contao.request_token}),!1)},toggleStructure:function(e,t,n,r){e.blur();var i=$(t),s=$(e).getFirst("img");return i?(i.getStyle("display")=="none"?(i.setStyle("display","inline"),s.src=s.src.replace("folPlus.gif","folMinus.gif"),$(e).store("tip:title",Contao.lang.collapse),(new Request.Contao({field:e})).post({action:"toggleStructure",id:t,state:1,REQUEST_TOKEN:Contao.request_token})):(i.setStyle("display","none"),s.src=s.src.replace("folMinus.gif","folPlus.gif"),$(e).store("tip:title",Contao.lang.expand),(new Request.Contao({field:e})).post({action:"toggleStructure",id:t,state:0,REQUEST_TOKEN:Contao.request_token})),!1):((new Request.Contao({field:e,evalScripts:!0,onRequest:AjaxRequest.displayBox(Contao.lang.loading+" …"),onSuccess:function(i,o){var u=new Element("li",{id:t,"class":"parent",styles:{display:"inline"}}),a=(new Element("ul",{"class":"level_"+n,html:i})).inject(u,"bottom");if(r==5)u.inject($(e).getParent("li"),"after");else{var f=!1,l=$(e).getParent("li");while(typeOf(l)=="element"&&(next=l.getNext("li"))){l=next;if(l.hasClass("tl_folder")){f=!0;break}}f?u.inject(l,"before"):u.inject(l,"after")}u.getElements("a").each(function(e){e.href=e.href.replace(/&ref=[a-f0-9]+/,"&ref="+Contao.referer_id)}),$(e).store("tip:title",Contao.lang.collapse),s.src=s.src.replace("folPlus.gif","folMinus.gif"),window.fireEvent("structure"),AjaxRequest.hideBox(),window.fireEvent("ajax_change")}})).post({action:"loadStructure",id:t,level:n,state:1,REQUEST_TOKEN:Contao.request_token}),!1)},toggleFileManager:function(e,t,n,r){e.blur();var i=$(t),s=$(e).getFirst("img"),o=$(e).getNext("img");return i?(i.getStyle("display")=="none"?(i.setStyle("display","inline"),s.src=s.src.replace("folPlus.gif","folMinus.gif"),o.src=o.src.replace("folderC","folderO"),$(e).store("tip:title",Contao.lang.collapse),(new Request.Contao({field:e})).post({action:"toggleFileManager",id:t,state:1,REQUEST_TOKEN:Contao.request_token})):(i.setStyle("display","none"),s.src=s.src.replace("folMinus.gif","folPlus.gif"),o.src=o.src.replace("folderO","folderC"),$(e).store("tip:title",Contao.lang.expand),(new Request.Contao({field:e})).post({action:"toggleFileManager",id:t,state:0,REQUEST_TOKEN:Contao.request_token})),!1):((new Request.Contao({field:e,evalScripts:!0,onRequest:AjaxRequest.displayBox(Contao.lang.loading+" …"),onSuccess:function(n,i){var u=new Element("li",{id:t,"class":"parent",styles:{display:"inline"}}),a=(new Element("ul",{"class":"level_"+r,html:n})).inject(u,"bottom");u.inject($(e).getParent("li"),"after"),u.getElements("a").each(function(e){e.href=e.href.replace(/&ref=[a-f0-9]+/,"&ref="+Contao.referer_id)}),$(e).store("tip:title",Contao.lang.collapse),s.src=s.src.replace("folPlus.gif","folMinus.gif"),o.src=o.src.replace("folderC.gif","folderO.gif"),AjaxRequest.hideBox(),window.fireEvent("ajax_change")}})).post({action:"loadFileManager",id:t,level:r,folder:n,state:1,REQUEST_TOKEN:Contao.request_token}),!1)},togglePagetree:function(e,t,n,r,i){e.blur(),Backend.getScrollOffset();var s=$(t),o=$(e).getFirst("img");return s?(s.getStyle("display")=="none"?(s.setStyle("display","inline"),o.src=o.src.replace("folPlus.gif","folMinus.gif"),$(e).store("tip:title",Contao.lang.collapse),(new Request.Contao({field:e})).post({action:"togglePagetree",id:t,state:1,REQUEST_TOKEN:Contao.request_token})):(s.setStyle("display","none"),o.src=o.src.replace("folMinus.gif","folPlus.gif"),$(e).store("tip:title",Contao.lang.expand),(new Request.Contao({field:e})).post({action:"togglePagetree",id:t,state:0,REQUEST_TOKEN:Contao.request_token})),!1):((new Request.Contao({field:e,evalScripts:!0,onRequest:AjaxRequest.displayBox(Contao.lang.loading+" …"),onSuccess:function(n,r){var s=new Element("li",{id:t,"class":"parent",styles:{display:"inline"}}),u=(new Element("ul",{"class":"level_"+i,html:n})).inject(s,"bottom");s.inject($(e).getParent("li"),"after"),s.getElements("a").each(function(e){e.href=e.href.replace(/&ref=[a-f0-9]+/,"&ref="+Contao.referer_id)}),$(e).store("tip:title",Contao.lang.collapse),o.src=o.src.replace("folPlus.gif","folMinus.gif"),AjaxRequest.hideBox(),window.fireEvent("ajax_change")}})).post({action:"loadPagetree",id:t,level:i,field:n,name:r,state:1,REQUEST_TOKEN:Contao.request_token}),!1)},toggleFiletree:function(e,t,n,r,i,s){e.blur(),Backend.getScrollOffset();var o=$(t),u=$(e).getFirst("img");return o?(o.getStyle("display")=="none"?(o.setStyle("display","inline"),u.src=u.src.replace("folPlus.gif","folMinus.gif"),$(e).store("tip:title",Contao.lang.collapse),(new Request.Contao({field:e})).post({action:"toggleFiletree",id:t,state:1,REQUEST_TOKEN:Contao.request_token})):(o.setStyle("display","none"),u.src=u.src.replace("folMinus.gif","folPlus.gif"),$(e).store("tip:title",Contao.lang.expand),(new Request.Contao({field:e})).post({action:"toggleFiletree",id:t,state:0,REQUEST_TOKEN:Contao.request_token})),!1):((new Request.Contao({field:e,evalScripts:!0,onRequest:AjaxRequest.displayBox(Contao.lang.loading+" …"),onSuccess:function(n,r){var i=new Element("li",{id:t,"class":"parent",styles:{display:"inline"}}),o=(new Element("ul",{"class":"level_"+s,html:n})).inject(i,"bottom");i.inject($(e).getParent("li"),"after"),i.getElements("a").each(function(e){e.href=e.href.replace(/&ref=[a-f0-9]+/,"&ref="+Contao.referer_id)}),$(e).store("tip:title",Contao.lang.collapse),u.src=u.src.replace("folPlus.gif","folMinus.gif"),AjaxRequest.hideBox(),window.fireEvent("ajax_change")}})).post({action:"loadFiletree",id:t,folder:n,level:s,field:r,name:i,state:1,REQUEST_TOKEN:Contao.request_token}),!1)},toggleSubpalette:function(e,t,n){e.blur();var r=$(t);if(r){e.value?(e.value="",e.checked="",r.setStyle("display","none"),(new Request.Contao({field:e})).post({action:"toggleSubpalette",id:t,field:n,state:0,REQUEST_TOKEN:Contao.request_token})):(e.value=1,e.checked="checked",r.setStyle("display","block"),(new Request.Contao({field:e})).post({action:"toggleSubpalette",id:t,field:n,state:1,REQUEST_TOKEN:Contao.request_token}));return}(new Request.Contao({field:e,evalScripts:!1,onRequest:AjaxRequest.displayBox(Contao.lang.loading+" …"),onSuccess:function(n,r){var i=(new Element("div",{id:t,html:n,styles:{display:"block"}})).inject($(e).getParent("div").getParent("div"),"after");r.javascript&&Browser.exec(r.javascript),e.value=1,e.checked="checked",i.getElements("a").each(function(e){e.href=e.href.replace(/&ref=[a-f0-9]+/,"&ref="+Contao.referer_id)}),AjaxRequest.hideBox(),Backend.addColorPicker(),window.fireEvent("subpalette"),window.fireEvent("ajax_change")}})).post({action:"toggleSubpalette",id:t,field:n,load:1,state:1,REQUEST_TOKEN:Contao.request_token})},toggleVisibility:function(e,t,n){e.blur();var r=null,i=$(e).getFirst("img"),s=i.src.indexOf("invisible")!=-1,o=e.getParent("div");o.hasClass("tl_right")?r=o.getPrevious("div").getElement("img"):o.hasClass("tl_listing_container")?(r=e.getParent("td").getPrevious("td").getFirst("div.list_icon"),r==null&&(r=e.getParent("td").getPrevious("td").getElement("div.cte_type")),r==null&&(r=e.getParent("tr").getFirst("td").getElement("div.list_icon_new"))):(next=o.getNext("div"))&&next.hasClass("cte_type")&&(r=next);if(r!=null)if(r.nodeName.toLowerCase()=="img")if(r.getParent("ul.tl_listing").hasClass("tl_tree_xtnd"))s?r.src=r.src.replace(/_\.(gif|png|jpe?g)/,".$1"):r.src=r.src.replace(/\.(gif|png|jpe?g)/,"_.$1");else{r.src.match(/folPlus|folMinus/)&&(r.getParent("a").getNext("a")?r=r.getParent("a").getNext("a").getFirst("img"):r=new Element("img"));if(s){var u=r.src.replace(/.*_([0-9])\.(gif|png|jpe?g)/,"$1");r.src=r.src.replace(/_[0-9]\.(gif|png|jpe?g)/,(u.toInt()==1?"":"_"+(u.toInt()-1))+".$1")}else{var u=r.src.replace(/.*_([0-9])\.(gif|png|jpe?g)/,"$1");r.src=r.src.replace(/(_[0-9])?\.(gif|png|jpe?g)/,(u==r.src?"_1":"_"+(u.toInt()+1))+".$2")}}else r.hasClass("cte_type")?s?(r.addClass("published"),r.removeClass("unpublished")):(r.addClass("unpublished"),r.removeClass("published")):s?r.setStyle("background-image",r.getStyle("background-image").replace(/_\.(gif|png|jpe?g)/,".$1")):r.setStyle("background-image",r.getStyle("background-image").replace(/\.(gif|png|jpe?g)/,"_.$1"));return n=="tl_style"&&o.getParent("div").getElement("pre").toggleClass("disabled"),s?(i.src=i.src.replace("invisible.gif","visible.gif"),(new Request({url:window.location.href})).get({tid:t,state:1})):(i.src=i.src.replace("visible.gif","invisible.gif"),(new Request({url:window.location.href})).get({tid:t,state:0})),!1},toggleFeatured:function(e,t){e.blur();var n=$(e).getFirst("img"),r=n.src.indexOf("featured_")==-1;return r?(n.src=n.src.replace("featured.gif","featured_.gif"),(new Request.Contao).post({action:"toggleFeatured",id:t,state:0,REQUEST_TOKEN:Contao.request_token})):(n.src=n.src.replace("featured_.gif","featured.gif"),(new Request.Contao).post({action:"toggleFeatured",id:t,state:1,REQUEST_TOKEN:Contao.request_token})),!1},toggleFieldset:function(e,t,n){e.blur();var r=$("pal_"+t);return r.hasClass("collapsed")?(r.removeClass("collapsed"),(new Request.Contao).post({action:"toggleFieldset",id:t,table:n,state:1,REQUEST_TOKEN:Contao.request_token})):(r.addClass("collapsed"),(new Request.Contao).post({action:"toggleFieldset",id:t,table:n,state:0,REQUEST_TOKEN:Contao.request_token})),!1},toggleCheckboxGroup:function(e,t){e.blur();var n=$(t),r=$(e).getFirst("img");return n?(n.getStyle("display")!="block"?(n.setStyle("display","block"),r.src=r.src.replace("folPlus.gif","folMinus.gif"),(new Request.Contao).post({action:"toggleCheckboxGroup",id:t,state:1,REQUEST_TOKEN:Contao.request_token})):(n.setStyle("display","none"),r.src=r.src.replace("folMinus.gif","folPlus.gif"),(new Request.Contao).post({action:"toggleCheckboxGroup",id:t,state:0,REQUEST_TOKEN:Contao.request_token})),!0):!1},liveUpdate:function(e,t){var n=$(t);if(!n)return;(new Request.Contao({onRequest:$("lu_message").set("html",'

Connecting to the Live Update server

'),onSuccess:function(t,n){t?$("lu_message").set("html",n.content):$(e).submit()}})).post({action:"liveUpdate",id:n.value,REQUEST_TOKEN:Contao.request_token})},displayBox:function(e){var t=$("tl_ajaxBox"),n=$("tl_ajaxOverlay"),r=window.getScroll();n==null&&(n=(new Element("div",{id:"tl_ajaxOverlay"})).inject($(document.body),"bottom")),n.set({styles:{display:"block",top:r.y+"px"}}),t==null&&(t=(new Element("div",{id:"tl_ajaxBox"})).inject($(document.body),"bottom")),t.set({html:e,styles:{display:"block",top:r.y+100+"px"}})},hideBox:function(){var e=$("tl_ajaxBox"),t=$("tl_ajaxOverlay");t&&t.setStyle("display","none"),e&&e.setStyle("display","none")}},Backend={currentId:null,xMousePosition:0,yMousePosition:0,popupWindow:null,getMousePosition:function(e){Backend.xMousePosition=e.client.x,Backend.yMousePosition=e.client.y},openWindow:function(e,t,n){e.blur(),t=Browser.ie?t+40:t+17,n=Browser.ie?n+30:n+17,Backend.popupWindow=window.open(e.href,"","width="+t+",height="+n+",modal=yes,left=100,top=50,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no")},openModalWindow:function(e,t,n){(new SimpleModal({width:e,btn_ok:Contao.lang.close,draggable:!1,overlayOpacity:.5,onShow:function(){document.body.setStyle("overflow","hidden")},onHide:function(){document.body.setStyle("overflow","auto")}})).show({title:t,contents:n})},openModalImage:function(e){var t=e||{},n=new SimpleModal({width:t.width,btn_ok:Contao.lang.close,draggable:!1,overlayOpacity:.5,onShow:function(){document.body.setStyle("overflow","hidden")},onHide:function(){document.body.setStyle("overflow","auto")}});n.show({title:t.title,contents:''})},openModalIframe:function(e){var t=e||{},n=(window.getSize().y-180).toInt();if(!t.height||t.height>n)t.height=n;var r=new SimpleModal({width:t.width,btn_ok:Contao.lang.close,draggable:!1,overlayOpacity:.5,onShow:function(){document.body.setStyle("overflow","hidden")},onHide:function(){document.body.setStyle("overflow","auto")}});r.show({title:t.title,contents:''})},openModalSelector:function(e){var t=e||{},n=(window.getSize().y-180).toInt();if(!t.height||t.height>n)t.height=n;var r=new SimpleModal({width:t.width,btn_ok:Contao.lang.close,draggable:!1,overlayOpacity:.5,onShow:function(){document.body.setStyle("overflow","hidden")},onHide:function(){document.body.setStyle("overflow","auto")}});r.addButton(Contao.lang.close,"btn",function(){this.hide()}),r.addButton(Contao.lang.apply,"btn primary",function(){var e=[],n=null,r=window.frames;for(var i=0;i',model:"modal"})},getScrollOffset:function(){document.cookie="BE_PAGE_OFFSET="+window.getScroll().y+"; path="+(Contao.path||"/")},autoSubmit:function(e){Backend.getScrollOffset();var t=new Element("input",{type:"hidden",name:"SUBMIT_TYPE",value:"auto"}),n=$(e)||e;t.inject(n,"bottom"),n.submit()},vScrollTo:function(e){window.addEvent("load",function(){window.scrollTo(null,parseInt(e))})},limitPreviewHeight:function(){var e=null,t=null,n="",r=0;$$("div.limit_height").each(function(i){e=i.getCoordinates(),r===0&&(r=i.className.replace(/[^0-9]*/,"").toInt());if(!r)return;i.setStyle("height",r);var s=Contao.script_url+"system/themes/"+Contao.theme+"/images/";t=new Element("img",{"class":"limit_toggler",alt:"",title:Contao.lang.expand,width:20,height:24}),new Tips.Contao(t,{offset:{x:0,y:30}});if(e.heightr?r:""),this.src.indexOf("expand.gif")!=-1?(this.src=s+"collapse.gif",this.store("tip:title",Contao.lang.collapse)):(this.src=s+"expand.gif",this.store("tip:title",Contao.lang.expand))}),t.inject(i,"after")})},toggleCheckboxes:function(e,t){var n=$$("input"),r=e.checked?"checked":"";for(var i=0;i1?i.destroy():i.getFirst("input").set("value","")}l=r.getChildren();for(c=0;c1?u.destroy():u.getElements("textarea").set("text","");break;case"ccopy":for(d=0;d0)for(d=0;d2){for(d=0;d1&&s.destroy()}o=i.getChildren();for(h=0;h1&&s.destroy()}o=i.getChildren();for(l=0;l1&&s.destroy()}o=i.getChildren();for(l=0;l0?(t.getElement("a.module_link").setStyle("display","inline"),t.getElement("img.module_image").setStyle("display","none")):(t.getElement("a.module_link").setStyle("display","none"),t.getElement("img.module_image").setStyle("display","inline"))},convertEnableModules:function(){$$("img.mw_enable").each(function(e){e.addEvent("click",function(){Backend.getScrollOffset();var t=e.getNext("input");t.checked?(t.checked="",e.src=e.src.replace("visible.gif","invisible.gif")):(t.checked="checked",e.src=e.src.replace("invisible.gif","visible.gif"))})})}};document.addEvent("mousedown",function(e){Backend.getMousePosition(e)}),window.addEvent("domready",function(){$(document.body).addClass("js"),Browser.Features.Touch&&$(document.body).addClass("touch"),Backend.collapsePalettes(),Backend.addInteractiveHelp(),Backend.addColorPicker(),Backend.convertEnableModules(),Backend.makeWizardsSortable(),Elements.chosen!=undefined&&$$("select.tl_chosen").chosen(),$$("textarea.monospace").each(function(e){Backend.toggleWrap(e)})}),window.addEvent("load",function(){Backend.limitPreviewHeight()}),window.addEvent("ajax_change",function(){Backend.addInteractiveHelp(),Backend.makeWizardsSortable(),Elements.chosen!=undefined&&$$("select.tl_chosen").filter(function(e){return e.getStyle("display")!="none"}).chosen()}),Browser.Features.Touch&&function(){delete Element.NativeEvents.mousedown,Element.defineCustomEvent("mousedown",{base:"touchstart"}),delete Element.NativeEvents.mousemove,Element.defineCustomEvent("mousemove",{base:"touchmove"}),delete Element.NativeEvents.mouseup,Element.defineCustomEvent("mouseup",{base:"touchend"})}();var TinyCallback={getScrollOffset:function(e){tinymce.dom.Event.add(tinymce.isGecko?e.getDoc():e.getWin(),"focus",function(){Backend.getScrollOffset()})},fileBrowser:function(e,t,n,r){var i=new SimpleModal({width:765,btn_ok:Contao.lang.close,draggable:!1,overlayOpacity:.5,onShow:function(){document.body.setStyle("overflow","hidden")},onHide:function(){document.body.setStyle("overflow","auto")}});i.addButton(Contao.lang.close,"btn",function(){this.hide()}),i.addButton(Contao.lang.apply,"btn primary",function(){var t=window.frames,i,s,o;for(var u=0;u'}}this.hide()}),i.show({title:r.document.title,contents:'',model:"modal"})}}; \ No newline at end of file +var AjaxRequest={toggleNavigation:function(e,t){e.blur();var n=$(t),r=$(e).getFirst("img");return n?(n.getStyle("display")=="none"?(n.setStyle("display","inline"),r.src=r.src.replace("modPlus.gif","modMinus.gif"),$(e).store("tip:title",Contao.lang.collapse),(new Request.Contao).post({action:"toggleNavigation",id:t,state:1,REQUEST_TOKEN:Contao.request_token})):(n.setStyle("display","none"),r.src=r.src.replace("modMinus.gif","modPlus.gif"),$(e).store("tip:title",Contao.lang.expand),(new Request.Contao).post({action:"toggleNavigation",id:t,state:0,REQUEST_TOKEN:Contao.request_token})),!1):((new Request.Contao({evalScripts:!0,onRequest:AjaxRequest.displayBox(Contao.lang.loading+" …"),onSuccess:function(n,i){var s=(new Element("li",{id:t,"class":"tl_parent",html:n,styles:{display:"inline"}})).inject($(e).getParent("li"),"after");s.getElements("a").each(function(e){e.href=e.href.replace(/&ref=[a-f0-9]+/,"&ref="+Contao.referer_id)}),$(e).store("tip:title",Contao.lang.collapse),r.src=r.src.replace("modPlus.gif","modMinus.gif"),AjaxRequest.hideBox(),window.fireEvent("ajax_change")}})).post({action:"loadNavigation",id:t,state:1,REQUEST_TOKEN:Contao.request_token}),!1)},toggleStructure:function(e,t,n,r){e.blur();var i=$(t),s=$(e).getFirst("img");return i?(i.getStyle("display")=="none"?(i.setStyle("display","inline"),s.src=s.src.replace("folPlus.gif","folMinus.gif"),$(e).store("tip:title",Contao.lang.collapse),(new Request.Contao({field:e})).post({action:"toggleStructure",id:t,state:1,REQUEST_TOKEN:Contao.request_token})):(i.setStyle("display","none"),s.src=s.src.replace("folMinus.gif","folPlus.gif"),$(e).store("tip:title",Contao.lang.expand),(new Request.Contao({field:e})).post({action:"toggleStructure",id:t,state:0,REQUEST_TOKEN:Contao.request_token})),!1):((new Request.Contao({field:e,evalScripts:!0,onRequest:AjaxRequest.displayBox(Contao.lang.loading+" …"),onSuccess:function(i,o){var u=new Element("li",{id:t,"class":"parent",styles:{display:"inline"}}),a=(new Element("ul",{"class":"level_"+n,html:i})).inject(u,"bottom");if(r==5)u.inject($(e).getParent("li"),"after");else{var f=!1,l=$(e).getParent("li");while(typeOf(l)=="element"&&(next=l.getNext("li"))){l=next;if(l.hasClass("tl_folder")){f=!0;break}}f?u.inject(l,"before"):u.inject(l,"after")}u.getElements("a").each(function(e){e.href=e.href.replace(/&ref=[a-f0-9]+/,"&ref="+Contao.referer_id)}),$(e).store("tip:title",Contao.lang.collapse),s.src=s.src.replace("folPlus.gif","folMinus.gif"),window.fireEvent("structure"),AjaxRequest.hideBox(),window.fireEvent("ajax_change")}})).post({action:"loadStructure",id:t,level:n,state:1,REQUEST_TOKEN:Contao.request_token}),!1)},toggleFileManager:function(e,t,n,r){e.blur();var i=$(t),s=$(e).getFirst("img"),o=$(e).getNext("img");return i?(i.getStyle("display")=="none"?(i.setStyle("display","inline"),s.src=s.src.replace("folPlus.gif","folMinus.gif"),o.src=o.src.replace("folderC","folderO"),$(e).store("tip:title",Contao.lang.collapse),(new Request.Contao({field:e})).post({action:"toggleFileManager",id:t,state:1,REQUEST_TOKEN:Contao.request_token})):(i.setStyle("display","none"),s.src=s.src.replace("folMinus.gif","folPlus.gif"),o.src=o.src.replace("folderO","folderC"),$(e).store("tip:title",Contao.lang.expand),(new Request.Contao({field:e})).post({action:"toggleFileManager",id:t,state:0,REQUEST_TOKEN:Contao.request_token})),!1):((new Request.Contao({field:e,evalScripts:!0,onRequest:AjaxRequest.displayBox(Contao.lang.loading+" …"),onSuccess:function(n,i){var u=new Element("li",{id:t,"class":"parent",styles:{display:"inline"}}),a=(new Element("ul",{"class":"level_"+r,html:n})).inject(u,"bottom");u.inject($(e).getParent("li"),"after"),u.getElements("a").each(function(e){e.href=e.href.replace(/&ref=[a-f0-9]+/,"&ref="+Contao.referer_id)}),$(e).store("tip:title",Contao.lang.collapse),s.src=s.src.replace("folPlus.gif","folMinus.gif"),o.src=o.src.replace("folderC.gif","folderO.gif"),AjaxRequest.hideBox(),window.fireEvent("ajax_change")}})).post({action:"loadFileManager",id:t,level:r,folder:n,state:1,REQUEST_TOKEN:Contao.request_token}),!1)},togglePagetree:function(e,t,n,r,i){e.blur(),Backend.getScrollOffset();var s=$(t),o=$(e).getFirst("img");return s?(s.getStyle("display")=="none"?(s.setStyle("display","inline"),o.src=o.src.replace("folPlus.gif","folMinus.gif"),$(e).store("tip:title",Contao.lang.collapse),(new Request.Contao({field:e})).post({action:"togglePagetree",id:t,state:1,REQUEST_TOKEN:Contao.request_token})):(s.setStyle("display","none"),o.src=o.src.replace("folMinus.gif","folPlus.gif"),$(e).store("tip:title",Contao.lang.expand),(new Request.Contao({field:e})).post({action:"togglePagetree",id:t,state:0,REQUEST_TOKEN:Contao.request_token})),!1):((new Request.Contao({field:e,evalScripts:!0,onRequest:AjaxRequest.displayBox(Contao.lang.loading+" …"),onSuccess:function(n,r){var s=new Element("li",{id:t,"class":"parent",styles:{display:"inline"}}),u=(new Element("ul",{"class":"level_"+i,html:n})).inject(s,"bottom");s.inject($(e).getParent("li"),"after"),s.getElements("a").each(function(e){e.href=e.href.replace(/&ref=[a-f0-9]+/,"&ref="+Contao.referer_id)}),$(e).store("tip:title",Contao.lang.collapse),o.src=o.src.replace("folPlus.gif","folMinus.gif"),AjaxRequest.hideBox(),window.fireEvent("ajax_change")}})).post({action:"loadPagetree",id:t,level:i,field:n,name:r,state:1,REQUEST_TOKEN:Contao.request_token}),!1)},toggleFiletree:function(e,t,n,r,i,s){e.blur(),Backend.getScrollOffset();var o=$(t),u=$(e).getFirst("img");return o?(o.getStyle("display")=="none"?(o.setStyle("display","inline"),u.src=u.src.replace("folPlus.gif","folMinus.gif"),$(e).store("tip:title",Contao.lang.collapse),(new Request.Contao({field:e})).post({action:"toggleFiletree",id:t,state:1,REQUEST_TOKEN:Contao.request_token})):(o.setStyle("display","none"),u.src=u.src.replace("folMinus.gif","folPlus.gif"),$(e).store("tip:title",Contao.lang.expand),(new Request.Contao({field:e})).post({action:"toggleFiletree",id:t,state:0,REQUEST_TOKEN:Contao.request_token})),!1):((new Request.Contao({field:e,evalScripts:!0,onRequest:AjaxRequest.displayBox(Contao.lang.loading+" …"),onSuccess:function(n,r){var i=new Element("li",{id:t,"class":"parent",styles:{display:"inline"}}),o=(new Element("ul",{"class":"level_"+s,html:n})).inject(i,"bottom");i.inject($(e).getParent("li"),"after"),i.getElements("a").each(function(e){e.href=e.href.replace(/&ref=[a-f0-9]+/,"&ref="+Contao.referer_id)}),$(e).store("tip:title",Contao.lang.collapse),u.src=u.src.replace("folPlus.gif","folMinus.gif"),AjaxRequest.hideBox(),window.fireEvent("ajax_change")}})).post({action:"loadFiletree",id:t,folder:n,level:s,field:r,name:i,state:1,REQUEST_TOKEN:Contao.request_token}),!1)},toggleSubpalette:function(e,t,n){e.blur();var r=$(t);if(r){e.value?(e.value="",e.checked="",r.setStyle("display","none"),(new Request.Contao({field:e})).post({action:"toggleSubpalette",id:t,field:n,state:0,REQUEST_TOKEN:Contao.request_token})):(e.value=1,e.checked="checked",r.setStyle("display","block"),(new Request.Contao({field:e})).post({action:"toggleSubpalette",id:t,field:n,state:1,REQUEST_TOKEN:Contao.request_token}));return}(new Request.Contao({field:e,evalScripts:!1,onRequest:AjaxRequest.displayBox(Contao.lang.loading+" …"),onSuccess:function(n,r){var i=(new Element("div",{id:t,html:n,styles:{display:"block"}})).inject($(e).getParent("div").getParent("div"),"after");r.javascript&&Browser.exec(r.javascript),e.value=1,e.checked="checked",i.getElements("a").each(function(e){e.href=e.href.replace(/&ref=[a-f0-9]+/,"&ref="+Contao.referer_id)}),AjaxRequest.hideBox(),Backend.addColorPicker(),window.fireEvent("subpalette"),window.fireEvent("ajax_change")}})).post({action:"toggleSubpalette",id:t,field:n,load:1,state:1,REQUEST_TOKEN:Contao.request_token})},toggleVisibility:function(e,t,n){e.blur();var r=null,i=$(e).getFirst("img"),s=i.src.indexOf("invisible")!=-1,o=e.getParent("div");o.hasClass("tl_right")?r=o.getPrevious("div").getElement("img"):o.hasClass("tl_listing_container")?(r=e.getParent("td").getPrevious("td").getFirst("div.list_icon"),r==null&&(r=e.getParent("td").getPrevious("td").getElement("div.cte_type")),r==null&&(r=e.getParent("tr").getFirst("td").getElement("div.list_icon_new"))):(next=o.getNext("div"))&&next.hasClass("cte_type")&&(r=next);if(r!=null)if(r.nodeName.toLowerCase()=="img")if(r.getParent("ul.tl_listing").hasClass("tl_tree_xtnd"))s?r.src=r.src.replace(/_\.(gif|png|jpe?g)/,".$1"):r.src=r.src.replace(/\.(gif|png|jpe?g)/,"_.$1");else{r.src.match(/folPlus|folMinus/)&&(r.getParent("a").getNext("a")?r=r.getParent("a").getNext("a").getFirst("img"):r=new Element("img"));if(s){var u=r.src.replace(/.*_([0-9])\.(gif|png|jpe?g)/,"$1");r.src=r.src.replace(/_[0-9]\.(gif|png|jpe?g)/,(u.toInt()==1?"":"_"+(u.toInt()-1))+".$1")}else{var u=r.src.replace(/.*_([0-9])\.(gif|png|jpe?g)/,"$1");r.src=r.src.replace(/(_[0-9])?\.(gif|png|jpe?g)/,(u==r.src?"_1":"_"+(u.toInt()+1))+".$2")}}else r.hasClass("cte_type")?s?(r.addClass("published"),r.removeClass("unpublished")):(r.addClass("unpublished"),r.removeClass("published")):s?r.setStyle("background-image",r.getStyle("background-image").replace(/_\.(gif|png|jpe?g)/,".$1")):r.setStyle("background-image",r.getStyle("background-image").replace(/\.(gif|png|jpe?g)/,"_.$1"));return n=="tl_style"&&o.getParent("div").getElement("pre").toggleClass("disabled"),s?(i.src=i.src.replace("invisible.gif","visible.gif"),(new Request({url:window.location.href})).get({tid:t,state:1})):(i.src=i.src.replace("visible.gif","invisible.gif"),(new Request({url:window.location.href})).get({tid:t,state:0})),!1},toggleFeatured:function(e,t){e.blur();var n=$(e).getFirst("img"),r=n.src.indexOf("featured_")==-1;return r?(n.src=n.src.replace("featured.gif","featured_.gif"),(new Request.Contao).post({action:"toggleFeatured",id:t,state:0,REQUEST_TOKEN:Contao.request_token})):(n.src=n.src.replace("featured_.gif","featured.gif"),(new Request.Contao).post({action:"toggleFeatured",id:t,state:1,REQUEST_TOKEN:Contao.request_token})),!1},toggleFieldset:function(e,t,n){e.blur();var r=$("pal_"+t);return r.hasClass("collapsed")?(r.removeClass("collapsed"),(new Request.Contao).post({action:"toggleFieldset",id:t,table:n,state:1,REQUEST_TOKEN:Contao.request_token})):(r.addClass("collapsed"),(new Request.Contao).post({action:"toggleFieldset",id:t,table:n,state:0,REQUEST_TOKEN:Contao.request_token})),!1},toggleCheckboxGroup:function(e,t){e.blur();var n=$(t),r=$(e).getFirst("img");return n?(n.getStyle("display")!="block"?(n.setStyle("display","block"),r.src=r.src.replace("folPlus.gif","folMinus.gif"),(new Request.Contao).post({action:"toggleCheckboxGroup",id:t,state:1,REQUEST_TOKEN:Contao.request_token})):(n.setStyle("display","none"),r.src=r.src.replace("folMinus.gif","folPlus.gif"),(new Request.Contao).post({action:"toggleCheckboxGroup",id:t,state:0,REQUEST_TOKEN:Contao.request_token})),!0):!1},liveUpdate:function(e,t){var n=$(t);if(!n)return;(new Request.Contao({onRequest:$("lu_message").set("html",'

Connecting to the Live Update server

'),onSuccess:function(t,n){t?$("lu_message").set("html",n.content):$(e).submit()}})).post({action:"liveUpdate",id:n.value,REQUEST_TOKEN:Contao.request_token})},displayBox:function(e){var t=$("tl_ajaxBox"),n=$("tl_ajaxOverlay"),r=window.getScroll();n==null&&(n=(new Element("div",{id:"tl_ajaxOverlay"})).inject($(document.body),"bottom")),n.set({styles:{display:"block",top:r.y+"px"}}),t==null&&(t=(new Element("div",{id:"tl_ajaxBox"})).inject($(document.body),"bottom")),t.set({html:e,styles:{display:"block",top:r.y+100+"px"}})},hideBox:function(){var e=$("tl_ajaxBox"),t=$("tl_ajaxOverlay");t&&t.setStyle("display","none"),e&&e.setStyle("display","none")}},Backend={currentId:null,xMousePosition:0,yMousePosition:0,popupWindow:null,getMousePosition:function(e){Backend.xMousePosition=e.client.x,Backend.yMousePosition=e.client.y},openWindow:function(e,t,n){e.blur(),t=Browser.ie?t+40:t+17,n=Browser.ie?n+30:n+17,Backend.popupWindow=window.open(e.href,"","width="+t+",height="+n+",modal=yes,left=100,top=50,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no")},openModalWindow:function(e,t,n){(new SimpleModal({width:e,hideFooter:!0,draggable:!1,overlayOpacity:.5,onShow:function(){document.body.setStyle("overflow","hidden")},onHide:function(){document.body.setStyle("overflow","auto")}})).show({title:t,contents:n})},openModalImage:function(e){var t=e||{},n=new SimpleModal({width:t.width,hideFooter:!0,draggable:!1,overlayOpacity:.5,onShow:function(){document.body.setStyle("overflow","hidden")},onHide:function(){document.body.setStyle("overflow","auto")}});n.show({title:t.title,contents:''})},openModalIframe:function(e){var t=e||{},n=(window.getSize().y-180).toInt();if(!t.height||t.height>n)t.height=n;var r=new SimpleModal({width:t.width,hideFooter:!0,draggable:!1,overlayOpacity:.5,onShow:function(){document.body.setStyle("overflow","hidden")},onHide:function(){document.body.setStyle("overflow","auto")}});r.show({title:t.title,contents:''})},openModalSelector:function(e){var t=e||{},n=(window.getSize().y-180).toInt();if(!t.height||t.height>n)t.height=n;var r=new SimpleModal({width:t.width,btn_ok:Contao.lang.close,draggable:!1,overlayOpacity:.5,onShow:function(){document.body.setStyle("overflow","hidden")},onHide:function(){document.body.setStyle("overflow","auto")}});r.addButton(Contao.lang.close,"btn",function(){this.hide()}),r.addButton(Contao.lang.apply,"btn primary",function(){var e=[],n=null,r=window.frames;for(var i=0;i',model:"modal"})},getScrollOffset:function(){document.cookie="BE_PAGE_OFFSET="+window.getScroll().y+"; path="+(Contao.path||"/")},autoSubmit:function(e){Backend.getScrollOffset();var t=new Element("input",{type:"hidden",name:"SUBMIT_TYPE",value:"auto"}),n=$(e)||e;t.inject(n,"bottom"),n.submit()},vScrollTo:function(e){window.addEvent("load",function(){window.scrollTo(null,parseInt(e))})},limitPreviewHeight:function(){var e=null,t=null,n="",r=0;$$("div.limit_height").each(function(i){e=i.getCoordinates(),r===0&&(r=i.className.replace(/[^0-9]*/,"").toInt());if(!r)return;i.setStyle("height",r);var s=Contao.script_url+"system/themes/"+Contao.theme+"/images/";t=new Element("img",{"class":"limit_toggler",alt:"",title:Contao.lang.expand,width:20,height:24}),new Tips.Contao(t,{offset:{x:0,y:30}});if(e.heightr?r:""),this.src.indexOf("expand.gif")!=-1?(this.src=s+"collapse.gif",this.store("tip:title",Contao.lang.collapse)):(this.src=s+"expand.gif",this.store("tip:title",Contao.lang.expand))}),t.inject(i,"after")})},toggleCheckboxes:function(e,t){var n=$$("input"),r=e.checked?"checked":"";for(var i=0;i1?i.destroy():i.getFirst("input").set("value","")}l=r.getChildren();for(c=0;c1?u.destroy():u.getElements("textarea").set("text","");break;case"ccopy":for(d=0;d0)for(d=0;d2){for(d=0;d1&&s.destroy()}o=i.getChildren();for(h=0;h1&&s.destroy()}o=i.getChildren();for(l=0;l1&&s.destroy()}o=i.getChildren();for(l=0;l0?(t.getElement("a.module_link").setStyle("display","inline"),t.getElement("img.module_image").setStyle("display","none")):(t.getElement("a.module_link").setStyle("display","none"),t.getElement("img.module_image").setStyle("display","inline"))},convertEnableModules:function(){$$("img.mw_enable").each(function(e){e.addEvent("click",function(){Backend.getScrollOffset();var t=e.getNext("input");t.checked?(t.checked="",e.src=e.src.replace("visible.gif","invisible.gif")):(t.checked="checked",e.src=e.src.replace("invisible.gif","visible.gif"))})})}};document.addEvent("mousedown",function(e){Backend.getMousePosition(e)}),window.addEvent("domready",function(){$(document.body).addClass("js"),Browser.Features.Touch&&$(document.body).addClass("touch"),Backend.collapsePalettes(),Backend.addInteractiveHelp(),Backend.addColorPicker(),Backend.convertEnableModules(),Backend.makeWizardsSortable(),Elements.chosen!=undefined&&$$("select.tl_chosen").chosen(),$$("textarea.monospace").each(function(e){Backend.toggleWrap(e)})}),window.addEvent("load",function(){Backend.limitPreviewHeight()}),window.addEvent("ajax_change",function(){Backend.addInteractiveHelp(),Backend.makeWizardsSortable(),Elements.chosen!=undefined&&$$("select.tl_chosen").filter(function(e){return e.getStyle("display")!="none"}).chosen()}),Browser.Features.Touch&&function(){delete Element.NativeEvents.mousedown,Element.defineCustomEvent("mousedown",{base:"touchstart"}),delete Element.NativeEvents.mousemove,Element.defineCustomEvent("mousemove",{base:"touchmove"}),delete Element.NativeEvents.mouseup,Element.defineCustomEvent("mouseup",{base:"touchend"})}();var TinyCallback={getScrollOffset:function(e){tinymce.dom.Event.add(tinymce.isGecko?e.getDoc():e.getWin(),"focus",function(){Backend.getScrollOffset()})},fileBrowser:function(e,t,n,r){var i=new SimpleModal({width:765,btn_ok:Contao.lang.close,draggable:!1,overlayOpacity:.5,onShow:function(){document.body.setStyle("overflow","hidden")},onHide:function(){document.body.setStyle("overflow","auto")}});i.addButton(Contao.lang.close,"btn",function(){this.hide()}),i.addButton(Contao.lang.apply,"btn primary",function(){var t=window.frames,i,s,o;for(var u=0;u'}}this.hide()}),i.show({title:r.document.title,contents:'',model:"modal"})}}; \ No newline at end of file diff --git a/system/docs/CHANGELOG.md b/system/docs/CHANGELOG.md index 243363d0e6..2b33e03d6e 100644 --- a/system/docs/CHANGELOG.md +++ b/system/docs/CHANGELOG.md @@ -4,6 +4,9 @@ Contao Open Source CMS Changelog Version 3.2.beta1 (2013-XX-XX) ------------------------------ +### Improved +Always show the save buttons in the modal windows (see #5985). + ### New Add the CSS classes "first" and "last" to articles/content elements (see #2583). diff --git a/system/themes/default/main.css b/system/themes/default/main.css index 32eaf165b0..d3de000494 100644 --- a/system/themes/default/main.css +++ b/system/themes/default/main.css @@ -1,2 +1,2 @@ /* Contao Open Source CMS, (c) 2005-2013 Leo Feyer, LGPL license */ -body{background:#f5f5f5 url("images/hbg.jpg") repeat-x}body.popup{background:#fff;padding:6px 0}#header{width:958px;margin:18px auto;text-align:left;background:#fff;border:1px solid #bbb;border-radius:3px;box-shadow:0 3px 6px #ccc}#header h1{margin:1px;padding:4px 8px 6px;background:#b3b6b3 url("images/headline.gif") repeat-x;color:#fff;border-radius:3px 3px 0 0}#header div{margin:0;padding:6px 11px 8px;text-align:right;color:#666966}#container{width:960px;margin:0 auto}.popup #container{padding:0;width:741px}#left{width:203px;background:#fff;border:1px solid #bbb;float:left;border-radius:3px;box-shadow:0 3px 6px #ccc}#main{width:741px;padding:1px;margin-left:10px;background:#fff;border:1px solid #bbb;float:left;border-radius:3px;box-shadow:0 3px 6px #ccc}.popup #main{padding:0;margin:0;border:0;float:none;box-shadow:none}#footer{width:960px;margin:0 auto;padding:12px 0 36px;text-align:right}#footer div{margin:0;padding:0 1px}#footer span{padding-left:12px}#tl_navigation h1{margin:1px 1px 0;padding:4px 8px 6px;background:#b3b6b3 url("images/headline.gif") repeat-x;color:#fff;border-radius:3px 3px 0 0}#tl_navigation .tl_level_1{margin-top:6px!important}#tl_navigation .tl_level_1_group{padding:3px 6px!important;font-weight:bold}#tl_navigation .tl_level_1_group img{margin-right:2px;vertical-align:middle;position:relative;top:-1px}#tl_navigation .tl_level_2{padding:0 0 9px 24px!important}#tl_navigation .tl_level_2 a{font-weight:normal;line-height:19px}#tl_navigation .active{color:#8ab858}#tl_buttons,#tl_buttons_a{margin:0;padding:9px 9px 0;text-align:right}.toggleWrap{cursor:pointer;vertical-align:text-bottom}.opacity{-moz-opacity:.8;opacity:.8}h1.main_headline{margin:0;padding:4px 8px 6px;background:#b3b6b3 url("images/headline.gif") repeat-x;color:#fff;border-radius:3px 3px 0 0}.popup h1.main_headline{display:none}h2.sub_headline,h2.sub_headline_all,h2.sub_headline_update,h2.sub_headline_index,h2.sub_headline_rss{margin:3px 18px 9px;padding:6px 0 8px 36px;color:#8ab858;font-size:14px}h2.sub_headline{background:url("images/current.gif") no-repeat left center}h2.sub_headline_all{background:url("images/all_big.gif") no-repeat left center}h2.sub_headline_update{background:url("images/update.gif") no-repeat left center}h2.sub_headline_index{background:url("images/index.gif") no-repeat left center}.tl_message{margin:18px 18px 0}.tl_gerror{margin:12px 6px 6px;padding:2px 0 3px 20px;background:url("images/error.gif") no-repeat left center}.tl_error,.tl_confirm,.tl_info,.tl_new{margin:1px 0 0;padding:4px 5px 5px 25px;border-radius:3px}.tl_error{background:#faeeee url("images/error.gif") no-repeat 5px center}.tl_confirm{background:#f3f8ee url("images/ok.gif") no-repeat 5px center}.tl_info{background:#eff5fa url("images/show.gif") no-repeat 6px center}.tl_new{background:#fff3e0 url("images/featured.gif") no-repeat 5px center}.tl_gerror,.tl_gerror a,.tl_error,.tl_error a{color:#c55}.tl_confirm,.tl_confirm a{color:#8ab858}.tl_info,.tl_info a{color:#5c9ac9}.tl_new,.tl_new a{color:#d68c23}#lu_message{margin-top:0}#lu_message .tl_confirm,#lu_message .tl_info{padding-left:18px;background-position:left center;background-color:transparent}.nobg .tl_error,.nobg .tl_confirm,.nobg .tl_info,.nobg .tl_new{background-color:transparent}.tl_permalert{margin:0;background-image:none;padding:8px 12px 10px;border-top:1px solid #ccc}.tl_permalert a{float:right;margin:1px 3px 0 24px;color:#666966}.tl_panel,.tl_version_panel{padding:6px 6px 7px 0;background:#f3f3f3;border-top:1px solid #fff;border-bottom:1px solid #bbb;text-align:right}.tl_panel_bottom{margin-top:1px;padding:6px 6px 6px 0;background:#f3f3f3;border-top:1px solid #bbb;text-align:right}.tl_version_panel .tl_select{width:240px}.mac .tl_version_panel .tl_select,.mac .tl_panel_bottom .tl_select{font-size:11px}.safari .tl_version_panel,.ie .tl_version_panel{overflow:hidden}.tl_version_panel .tl_formbody{position:relative}.safari .tl_version_panel .tl_formbody,.ie .tl_version_panel .tl_formbody{float:right}.tl_version_panel .tl_submit{margin-top:1px;vertical-align:top}.webkit .tl_version_panel .tl_submit,.ie .tl_version_panel .tl_submit{padding-top:4px;padding-bottom:4px}.opera .tl_version_panel .tl_submit{padding-top:3px;padding-bottom:3px;margin-top:-1px}.tl_version_panel img{position:relative;top:4px;vertical-align:top}.tl_subpanel{padding-left:24px;float:right}.tl_subpanel strong{line-height:21px}.tl_submit_panel{padding-left:6px}.tl_img_submit{position:relative;top:3px;vertical-align:top}.tl_panel .active,.tl_panel_bottom .active,#search .active{background:#ffd}.tl_panel .tl_select{width:116px}.tl_filter .tl_select{width:104px}.tl_limit .tl_select{width:90px}.tl_search .tl_text{width:66px}.mac .tl_panel .tl_select,.mac .tl_panel .tl_text{font-size:11px}.mac .tl_panel select{max-width:164px}.tl_xpl,.tl_formbody_edit{padding:0 18px}.tl_tbox{padding:0 0 26px}.tl_box{padding:12px 0 26px;border-top:1px solid #ddd}.tl_box h3,.tl_tbox h3,.tl_xpl h3{margin:0;padding:14px 0 1px;font-weight:bold}.tl_box h4,.tl_tbox h4{margin:6px 0 0;padding:0;font-weight:bold;font-size:11px}.tl_tbox.theme_import h3,.tl_tbox.theme_import h4,.tl_tbox.theme_import p{line-height:1.5}.tl_help,.tl_help a{margin-bottom:0;padding:1px 0;line-height:normal;font-size:10px;color:#a3a3a3}.tl_help a:hover,.tl_help a:focus,.tl_help a:active{text-decoration:underline}.tl_formbody_submit{border-top:1px solid #bbb}.tl_submit_container{padding:12px 18px;background:#f3f3f3;border-top:1px solid #fff}.maintenance_inactive .tl_submit_container{background:0;margin:-12px 0 28px;padding-top:0;padding-bottom:0;border:0}.maintenance_inactive{margin-top:48px}#tl_buttons+.maintenance_inactive{margin-top:0}#search{margin:18px 18px -9px;text-align:right}#search .tl_text{width:160px;padding:3px 2px}.mac #search .tl_text{padding:4px 2px}.tl_edit_preview{margin:18px 18px 6px}.tl_edit_preview img{padding:2px;border:1px solid #ddd;background:#fff;box-shadow:0 1px 3px #ddd}#tl_rebuild_index{padding:0 18px 18px;line-height:1.5}#index_note{margin:24px 0 18px;padding:11px 12px 12px;background:#ffc;border:1px solid #f90;line-height:1;font-size:14px}#index_loading{margin:0 0 12px;padding:12px 12px 12px 36px;background:url("images/loading.gif") no-repeat 2px center;line-height:1;font-size:16px;color:#5c9ac9}#index_complete{margin:0 0 12px;padding:12px 12px 12px 36px;background:url("images/help.gif") no-repeat left center;line-height:1;font-size:16px;color:#8ab858}.tl_listing{width:705px;margin:2px 0!important}.tl_listing_container{padding:2px 0;margin:24px 18px}.tl_folder_list,.tl_folder_tlist{padding:2px 0 3px;border-bottom:1px solid #e9e9e9;background:#f3f3f3;font-weight:bold}.tl_folder_tlist{border-top:1px solid #e9e9e9}.tl_file,.tl_file_list{padding:1px 0;border-bottom:1px solid #e9e9e9;background:#fff}.tl_file_list{padding:2px 0 3px}.tl_right_nowrap{padding:2px 0;text-align:right;white-space:nowrap}.tl_file a:hover,.tl_file a:focus,.tl_file a:active{color:#666966}.tl_listing_container .tl_content ul li>*{vertical-align:middle}.tl_listing tr.odd td{background-color:#fafafa}.tl_listing th,.tl_listing td{padding-left:6px!important;padding-right:6px!important}.list_view .tl_listing img{vertical-align:-4px}.list_view .tl_listing img.theme_preview{margin:3px 6px 3px 0;vertical-align:middle}.tl_show{width:705px;margin:0 18px 18px;padding:9px 0 18px}.tl_bg{background:#f6f6f6}.tl_show td{padding:4px 0}.tl_label{margin-right:12px;font-weight:bold;white-space:nowrap}.tl_empty{margin:0;padding:12px 6px 6px}.tl_empty_parent_view{margin:0;padding:18px 0 0}.tl_noopt{margin:0 0 -1px}.tl_select_trigger{padding:0 6px 3px 0;text-align:right}.tl_select_label{position:relative;top:-2px;color:#a3a3a3;font-size:10px}.tl_header{width:693px;padding:6px;background:#f9f9f9;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.tl_header_table{padding:3px 0;line-height:16px}.tl_content_header{padding:2px 6px 3px;border-bottom:1px solid #e9e9e9;background:#f6f6f6;font-weight:bold}.tl_content{width:693px;padding:6px;border-bottom:1px solid #e9e9e9;overflow:hidden;position:relative}.tl_content.wrapper_start,.tl_content.wrapper_separator,.tl_content.wrapper_stop{background:#f3f3f3}.tl_content.wrapper_start,.tl_content.wrapper_separator{border-bottom:0}.tl_content.wrapper_stop,.tl_content.wrapper_separator{border-top:0}.tl_content.wrapper_start h1{margin:0 0 9px 6px}.tl_content.indent{width:673px;border-left:10px solid #f3f3f3;border-right:10px solid #f3f3f3}.no_padding{padding:2px 6px}.tl_content h1{padding:0;margin:0 0 12px}.tl_content pre{margin-top:3px;margin-bottom:3px;word-break:break-word;white-space:pre-wrap}.tl_content pre.disabled{color:#a6a6a6}.tl_content span.comment{color:#5c9ac9;display:inline-block;margin-bottom:3px}.tl_content_left{float:left}.webkit .tl_content_left{margin-top:1px}.tl_content_right{float:right;text-align:right;margin-left:12px}.tl_content_right img{vertical-align:-4px}.cte_type{width:520px;margin-bottom:9px;font-size:10px;color:#c6c6c6}.cte_type.published{padding:1px 0 2px 20px;background:url("images/published.gif") no-repeat left center}.cte_type.unpublished{padding:1px 0 2px 20px;background:url("images/unpublished.gif") no-repeat left center}.cte_type.published,.cte_type.published a{color:#8ab858;font-size:10px}.cte_type.unpublished,.cte_type.unpublished a{color:#c55;font-size:10px}.limit_height{overflow:hidden}.limit_toggler{margin-top:9px}.limit_height input[type="file"]{position:relative}.tl_form_field_preview td{padding-right:6px}.tl_form_field_preview td.col_0{min-width:180px}.tl_form_field_preview .text,.tl_form_field_preview .password{width:140px}.tl_form_field_preview .select{width:144px}.tl_form_field_preview textarea{width:280px}.tl_folder_top{padding:1px 0;border-top:1px solid #e3e3e3;border-bottom:1px solid #e3e3e3;background:#f0f0f0}.tl_folder{padding:1px 0;border-bottom:1px solid #e9e9e9;background:#f6f6f6}.tl_listing .tl_left{float:left;width:420px;margin-left:43px;text-indent:-43px}.tl_tree_xtnd .tl_file .tl_left{margin-left:22px;text-indent:-22px}ul.level_1 .tl_left{width:400px}ul.level_2 .tl_left{width:380px}ul.level_3 .tl_left{width:360px}ul.level_4 .tl_left{width:340px}ul.level_5 .tl_left{width:320px}ul.level_6 .tl_left{width:300px}ul.level_7 .tl_left{width:280px}ul.level_8 .tl_left{width:260px}ul.level_9 .tl_left{width:240px}.tl_tree_xtnd .tl_folder .tl_left{width:460px}.tl_tree_xtnd ul.level_1 .tl_folder .tl_left{width:440px}.tl_tree_xtnd ul.level_2 .tl_folder .tl_left{width:420px}.tl_tree_xtnd ul.level_3 .tl_folder .tl_left{width:400px}.tl_tree_xtnd ul.level_4 .tl_folder .tl_left{width:380px}.tl_tree_xtnd ul.level_5 .tl_folder .tl_left{width:360px}.tl_tree_xtnd ul.level_6 .tl_folder .tl_left{width:340px}.tl_tree_xtnd ul.level_7 .tl_folder .tl_left{width:320px}.tl_tree_xtnd ul.level_8 .tl_folder .tl_left{width:300px}.tl_tree_xtnd ul.level_9 .tl_folder .tl_left{width:280px}.tl_listing .tl_right{float:right;padding:1px 0}.mac.firefox .tl_listing .tl_right{padding:0}.tl_listing,.tl_listing ul{margin:0;padding:0}.tl_listing li{margin:0;padding-left:6px;padding-right:6px;list-style-type:none}.tl_listing li.parent{display:inline;padding-left:0;padding-right:0}.tree_view .tl_listing img,ul.tree_view img{vertical-align:-5px}label.tl_change_selected{color:#a3a3a3;font-style:italic;vertical-align:top}#tl_breadcrumb{margin:0 0 12px;padding:3px;overflow:hidden;background:#ffd;border:1px solid #d49822}#tl_breadcrumb li{margin:0;padding:0 3px;list-style-type:none;float:left}#tl_breadcrumb li img{vertical-align:-5px}.selector_container ul{margin:0 0 9px;padding:0;list-style-type:none;overflow:hidden}.selector_container li{line-height:18px;margin-right:9px}.selector_container img{vertical-align:top}ul.sgallery{overflow:hidden}ul.sgallery li{float:left;margin-right:0}.gimage{margin:2px;border:1px solid #808080}#tl_welcome{margin:18px 18px 24px;padding:6px 0 8px 36px;background:url("images/current.gif") no-repeat left center;font-size:14px;color:#8ab858}#tl_soverview{margin:18px}#tl_soverview table{width:705px}#tl_messages,#tl_shortcuts{margin-bottom:24px}#tl_messages h2,#tl_shortcuts h2,#tl_versions h2{margin:18px 0 6px;padding:2px 6px 3px;border:1px solid #e9e9e9;border-width:1px 0;background:#f6f6f6}#tl_shortcuts p,#tl_versions p{padding-left:6px;padding-right:6px}#tl_shortcuts p a{text-decoration:underline}#tl_versions{margin-top:24px}#tl_versions th{background:#f6f6f6;padding:2px 3px 3px;border-top:1px solid #e9e9e9}#tl_versions th,#tl_versions td{border-bottom:1px solid #e9e9e9}#tl_versions td{padding:1px 3px}#tl_versions td img{position:relative;top:1px}#tl_versions td:first-child{white-space:nowrap}#tl_versions td:last-child{width:32px;white-space:nowrap}.tl_chmod th{width:97px;text-align:center;font-weight:normal;background:#f0f0f0}.tl_chmod td{width:97px;text-align:center;background:#f9f9f9}.tl_chmod th,.tl_chmod td{border:1px solid #fff}.tl_modulewizard{margin:0}.tl_modulewizard td,.tl_modulewizard th{padding:0 6px 1px 0}.tl_modulewizard th{font-weight:normal}.tl_modulewizard img{position:relative;top:1px}.tl_modulewizard .tl_select{width:400px}.tl_modulewizard img.mw_enable,.js .tl_modulewizard input.mw_enable{display:none}.js .tl_modulewizard img.mw_enable{display:inline;cursor:pointer}.tl_optionwizard{margin:0}.tl_optionwizard label{vertical-align:top}.tl_optionwizard td,.tl_optionwizard th{padding:0 4px 1px 0}.tl_optionwizard th{font-weight:normal;text-align:left}.fw_checkbox{margin:0 1px}.tl_optionwizard img{position:relative;top:1px}#tl_tablewizard{width:690px;padding-bottom:2px;overflow:auto}.tl_tablewizard td{padding:2px 4px 0 0}.tl_tablewizard td.tcontainer{width:148px;height:78px;vertical-align:top}.tl_listwizard li{padding-bottom:1px}.tl_listwizard .tl_text{width:586px}.tl_listwizard_img{position:relative;top:3px}.tl_checkbox_wizard{padding-top:2px}.tl_checkbox_wizard_img{margin-top:-1px;position:relative;top:3px}.tl_checkbox_wizard .fixed{display:block;margin-top:1px}.tl_checkbox_wizard .sortable span{display:block;margin:-1px 0 0}.tl_checkbox_wizard label{display:block;margin:-14px 0;padding-left:48px}.js .tl_checkbox_wizard label{padding-left:34px}.tl_checkbox_wizard label:last-child{margin-bottom:0}.tl_checkbox_wizard .fixed label{padding-left:20px}.tl_checkbox_wizard .tl_checkbox{margin-right:0}.tl_metawizard,.tl_metawizard li{margin:0 0 6px}.tl_metawizard li{overflow:hidden;margin-bottom:2px;padding:9px;background:#fcfcfc}.tl_metawizard li.odd{background:#f3f3f3}.tl_metawizard label{float:left;width:100px;margin-top:4px}.tl_metawizard .tl_text{float:left;width:550px}.tl_metawizard br{clear:left}.tl_metawizard .lang{display:block;margin-bottom:9px;font-weight:bold;position:relative}.tl_metawizard_img{position:absolute;right:0;top:-1px;cursor:pointer}.tl_metawizard_new .tl_select{width:300px}.tl_metawizard_new .tl_submit{margin-top:1px;vertical-align:top}.webkit .tl_metawizard_new .tl_submit,.ie .tl_metawizard_new .tl_submit{padding-top:4px;padding-bottom:4px}.opera .tl_metawizard_new .tl_submit{padding-top:3px;padding-bottom:3px}#tl_ajaxBox{width:20%;padding:24px;position:absolute;left:40%;background:#fff url("images/loading.gif") no-repeat right center;border:2px solid #666;border-radius:6px;font-family:"Trebuchet MS",Verdana,sans-serif;font-size:15px;text-align:left}#tl_ajaxOverlay{width:100%;height:100%;position:absolute;top:0;left:0;background:#fff;-moz-opacity:.5;opacity:.5}.ce_gallery ul{overflow:hidden}.ce_gallery li{float:left;margin:0 6px 6px 0}#theme-store{margin-top:24px;text-align:right}.drag-handle{position:relative;top:1px;cursor:move;display:none}.js .drag-handle{display:inline}.parent_view .drag-handle,.tl_tablewizard .drag-handle{top:0}.tl_listwizard .drag-handle{top:3px}.tl_checkbox_wizard .drag-handle{vertical-align:bottom}.js .button-move{width:0;height:0;left:-1000px;top:-1000px;position:absolute;overflow:hidden;display:inline}ul.sortable li{cursor:move}#manager{margin-top:9px;background:#f3f3f3;border-bottom:1px solid #bbb;padding:3px 3px 4px}#manager .open{padding:2px 0 3px 20px;background:url("images/manager.gif") left center no-repeat}#manager .close{padding:2px 0 3px 20px;background:url("images/back.gif") left center no-repeat}.ace_editor *{font-family:Courier,monospace;font-size:12px}.ace_editor.fullsize{position:absolute;top:0;right:0;bottom:0;left:0;width:auto;height:auto!important;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}a.navigation.article{background-image:url("images/article.gif")}a.navigation.news{background-image:url("images/news.gif")}a.navigation.flash{background-image:url("images/flash.gif")}a.navigation.form{background-image:url("images/form.gif")}a.navigation.themes{background-image:url("images/themes.gif")}a.navigation.page{background-image:url("images/page.gif")}a.navigation.member{background-image:url("images/member.gif")}a.navigation.mgroup{background-image:url("images/mgroup.gif")}a.navigation.user{background-image:url("images/user.gif")}a.navigation.group{background-image:url("images/group.gif")}a.navigation.files{background-image:url("images/files.gif")}a.navigation.log{background-image:url("images/log.gif")}a.navigation.settings{background-image:url("images/settings.gif")}a.navigation.maintenance{background-image:url("images/cache.gif")}a.navigation.undo{background-image:url("images/undo.gif")}a.navigation.login{background-image:url("images/login.gif")}a.navigation.tpl_editor{background-image:url("images/template_editor.gif")}a.navigation,.header_icon,.header_home,.header_user,.header_preview,.header_clipboard,.header_logout,.header_back,.header_new,.header_rss,.header_edit_all,.header_delete_all,.header_new_folder,.header_css_import,.header_theme_import,.header_store,.header_toggle,.header_sync{padding:2px 0 3px 20px;background-position:left center;background-repeat:no-repeat;margin-left:15px}a.navigation{margin-left:0}.list_icon{margin-left:-5px;padding-left:20px;background-position:left center;background-repeat:no-repeat}.list_icon_new{width:16px;background-position:left center;background-repeat:no-repeat}.webkit .list_icon,.webkit .list_icon_new{background-position:left -1px}.header_home{background-image:url("images/home.gif")}.header_user{background-image:url("images/login.gif")}.header_preview{background-image:url("images/preview.gif")}.header_clipboard{background-image:url("images/clipboard.gif")}.header_logout{background-image:url("images/logout.gif")}.header_back{background-image:url("images/back.gif")}.header_new{padding-left:18px;background-image:url("images/new.gif")}.header_rss{background-image:url("images/rss.gif")}.header_edit_all{background-image:url("images/all.gif")}.header_delete_all{background-image:url("images/deleteAll.gif")}.header_new_folder{background-image:url("images/newfolder.gif")}.header_css_import{background-image:url("images/cssimport.gif")}.header_theme_import{background-image:url("images/theme_import.gif")}.header_store{padding-left:18px;background-image:url("images/store.gif")}.header_toggle{background:url("images/folPlus.gif") no-repeat -1px center}.header_sync{background-image:url("images/sync.gif")}.tl_news_published,.tl_news_unpublished{padding:2px 0 3px 24px}.tl_news_published{background:url("images/news.gif") no-repeat left center}.tl_text_trbl,.tl_imageSize_0,.tl_imageSize_1,#ctrl_gradient input,#ctrl_playerSize input{background:url("images/hints.gif") no-repeat -20px 20px}#ctrl_playerSize_0{background-position:142px 1px!important}#ctrl_playerSize_1{background-position:143px -18px!important}.tl_imageSize_0{background-position:63px 1px!important}.tl_imageSize_1{background-position:64px -18px!important}.trbl_top{background-position:47px -39px!important}.trbl_right{background-position:47px -59px!important}.trbl_bottom{background-position:47px -79px!important}.trbl_left{background-position:47px -99px!important}#ctrl_shadowsize_top{background-position:46px -119px!important}#ctrl_shadowsize_right{background-position:46px -139px!important}#ctrl_shadowsize_bottom{background-position:46px -159px!important}#ctrl_shadowsize_left{background-position:46px -179px!important}#ctrl_borderradius_top{background-position:0 -199px!important}#ctrl_borderradius_right{background-position:47px -219px!important}#ctrl_borderradius_bottom{background-position:47px -241px!important}#ctrl_borderradius_left{background-position:0 -261px!important}label.error,legend.error{color:#c55}.tl_tbox .tl_error,.tl_box .tl_error{background:0;padding:0;font-size:10px}fieldset.tl_tbox{margin-top:18px}fieldset.tl_tbox,fieldset.tl_box{padding-top:6px;border:1px solid #ddd;border-width:1px 0 0}fieldset.nolegend{padding-top:12px}fieldset.tl_tbox>legend,fieldset.tl_box>legend{color:#8ab858;padding-left:18px;padding-right:3px;background:url("images/palOpen.gif") left center no-repeat;cursor:pointer}fieldset.collapsed{padding-top:0;padding-bottom:12px;margin-bottom:0}fieldset.collapsed div{display:none!important}fieldset.collapsed>legend{background:url("images/palCollapsed.gif") left center no-repeat}#tl_maintenance_cache th{background:#f6f6f6;padding:2px 3px 3px;border-top:1px solid #e9e9e9}#tl_maintenance_cache th,#tl_maintenance_cache td{border-bottom:1px solid #e9e9e9}#tl_maintenance_cache th{padding:3px 6px}#tl_maintenance_cache td{padding:6px 6px 7px}#tl_maintenance_cache tr:nth-child(even) td{background:#fcfcfc}#tl_maintenance_cache td span{color:#999}#tl_maintenance_cache td:first-child{width:16px}#tl_maintenance_cache .nw{white-space:nowrap}#tl_maintenance_cache .tl_checkbox_container label{margin:0;padding-left:0;font-weight:bold;display:inline}.pagination{overflow:hidden;background:#f6f6f6;border:1px solid #e9e9e9;border-width:1px 0;padding:2px 0 4px}.pagination ul{width:60%;float:right;text-align:right;padding-right:3px}.pagination p{width:30%;float:left;margin-bottom:0}.pagination li{display:inline;padding-right:3px}.pagination .current{color:#999}#sync-results{overflow:hidden;margin:6px 18px 0}#sync-results p{margin-bottom:0}#sync-results .left{float:left;padding-top:2px}#sync-results .right{float:right}#sync-results .tl_checkbox{top:0} \ No newline at end of file +body{background:#f5f5f5 url("images/hbg.jpg") repeat-x}body.popup{background:#fff;padding:6px 0}#header{width:958px;margin:18px auto;text-align:left;background:#fff;border:1px solid #bbb;border-radius:3px;box-shadow:0 3px 6px #ccc}#header h1{margin:1px;padding:4px 8px 6px;background:#b3b6b3 url("images/headline.gif") repeat-x;color:#fff;border-radius:3px 3px 0 0}#header div{margin:0;padding:6px 11px 8px;text-align:right;color:#666966}#container{width:960px;margin:0 auto}.popup #container{padding:0;width:741px}#left{width:203px;background:#fff;border:1px solid #bbb;float:left;border-radius:3px;box-shadow:0 3px 6px #ccc}#main{width:741px;padding:1px;margin-left:10px;background:#fff;border:1px solid #bbb;float:left;border-radius:3px;box-shadow:0 3px 6px #ccc}.popup #main{padding:0;margin:0;border:0;float:none;box-shadow:none}#footer{width:960px;margin:0 auto;padding:12px 0 36px;text-align:right}#footer div{margin:0;padding:0 1px}#footer span{padding-left:12px}#tl_navigation h1{margin:1px 1px 0;padding:4px 8px 6px;background:#b3b6b3 url("images/headline.gif") repeat-x;color:#fff;border-radius:3px 3px 0 0}#tl_navigation .tl_level_1{margin-top:6px!important}#tl_navigation .tl_level_1_group{padding:3px 6px!important;font-weight:bold}#tl_navigation .tl_level_1_group img{margin-right:2px;vertical-align:middle;position:relative;top:-1px}#tl_navigation .tl_level_2{padding:0 0 9px 24px!important}#tl_navigation .tl_level_2 a{font-weight:normal;line-height:19px}#tl_navigation .active{color:#8ab858}#tl_buttons,#tl_buttons_a{margin:0;padding:9px 9px 0;text-align:right}.toggleWrap{cursor:pointer;vertical-align:text-bottom}.opacity{-moz-opacity:.8;opacity:.8}h1.main_headline{margin:0;padding:4px 8px 6px;background:#b3b6b3 url("images/headline.gif") repeat-x;color:#fff;border-radius:3px 3px 0 0}.popup h1.main_headline{display:none}h2.sub_headline,h2.sub_headline_all,h2.sub_headline_update,h2.sub_headline_index,h2.sub_headline_rss{margin:3px 18px 9px;padding:6px 0 8px 36px;color:#8ab858;font-size:14px}h2.sub_headline{background:url("images/current.gif") no-repeat left center}h2.sub_headline_all{background:url("images/all_big.gif") no-repeat left center}h2.sub_headline_update{background:url("images/update.gif") no-repeat left center}h2.sub_headline_index{background:url("images/index.gif") no-repeat left center}.tl_message{margin:18px 18px 0}.tl_gerror{margin:12px 6px 6px;padding:2px 0 3px 20px;background:url("images/error.gif") no-repeat left center}.tl_error,.tl_confirm,.tl_info,.tl_new{margin:1px 0 0;padding:4px 5px 5px 25px;border-radius:3px}.tl_error{background:#faeeee url("images/error.gif") no-repeat 5px center}.tl_confirm{background:#f3f8ee url("images/ok.gif") no-repeat 5px center}.tl_info{background:#eff5fa url("images/show.gif") no-repeat 6px center}.tl_new{background:#fff3e0 url("images/featured.gif") no-repeat 5px center}.tl_gerror,.tl_gerror a,.tl_error,.tl_error a{color:#c55}.tl_confirm,.tl_confirm a{color:#8ab858}.tl_info,.tl_info a{color:#5c9ac9}.tl_new,.tl_new a{color:#d68c23}#lu_message{margin-top:0}#lu_message .tl_confirm,#lu_message .tl_info{padding-left:18px;background-position:left center;background-color:transparent}.nobg .tl_error,.nobg .tl_confirm,.nobg .tl_info,.nobg .tl_new{background-color:transparent}.tl_permalert{margin:0;background-image:none;padding:8px 12px 10px;border-top:1px solid #ccc}.tl_permalert a{float:right;margin:1px 3px 0 24px;color:#666966}.tl_panel,.tl_version_panel{padding:6px 6px 7px 0;background:#f3f3f3;border-top:1px solid #fff;border-bottom:1px solid #bbb;text-align:right}.tl_panel_bottom{margin-top:1px;padding:6px 6px 6px 0;background:#f3f3f3;border-top:1px solid #bbb;text-align:right}.tl_version_panel .tl_select{width:240px}.mac .tl_version_panel .tl_select,.mac .tl_panel_bottom .tl_select{font-size:11px}.safari .tl_version_panel,.ie .tl_version_panel{overflow:hidden}.tl_version_panel .tl_formbody{position:relative}.safari .tl_version_panel .tl_formbody,.ie .tl_version_panel .tl_formbody{float:right}.tl_version_panel .tl_submit{margin-top:1px;vertical-align:top}.webkit .tl_version_panel .tl_submit,.ie .tl_version_panel .tl_submit{padding-top:4px;padding-bottom:4px}.opera .tl_version_panel .tl_submit{padding-top:3px;padding-bottom:3px;margin-top:-1px}.tl_version_panel img{position:relative;top:4px;vertical-align:top}.tl_subpanel{padding-left:24px;float:right}.tl_subpanel strong{line-height:21px}.tl_submit_panel{padding-left:6px}.tl_img_submit{position:relative;top:3px;vertical-align:top}.tl_panel .active,.tl_panel_bottom .active,#search .active{background:#ffd}.tl_panel .tl_select{width:116px}.tl_filter .tl_select{width:104px}.tl_limit .tl_select{width:90px}.tl_search .tl_text{width:66px}.mac .tl_panel .tl_select,.mac .tl_panel .tl_text{font-size:11px}.mac .tl_panel select{max-width:164px}.tl_xpl,.tl_formbody_edit{padding:0 18px}.popup .tl_formbody_edit{padding-bottom:52px}.tl_tbox{padding:0 0 26px}.tl_box{padding:12px 0 26px;border-top:1px solid #ddd}.tl_box h3,.tl_tbox h3,.tl_xpl h3{margin:0;padding:14px 0 1px;font-weight:bold}.tl_box h4,.tl_tbox h4{margin:6px 0 0;padding:0;font-weight:bold;font-size:11px}.tl_tbox.theme_import h3,.tl_tbox.theme_import h4,.tl_tbox.theme_import p{line-height:1.5}.tl_help,.tl_help a{margin-bottom:0;padding:1px 0;line-height:normal;font-size:10px;color:#a3a3a3}.tl_help a:hover,.tl_help a:focus,.tl_help a:active{text-decoration:underline}.tl_formbody_submit{border-top:1px solid #bbb}.popup .tl_formbody_submit{position:fixed;left:0;bottom:0;width:100%;height:52px}.tl_submit_container{padding:12px 18px;background:#f3f3f3;border-top:1px solid #fff}.maintenance_inactive .tl_submit_container{background:0;margin:-12px 0 28px;padding-top:0;padding-bottom:0;border:0}.maintenance_inactive{margin-top:48px}#tl_buttons+.maintenance_inactive{margin-top:0}#search{margin:18px 18px -9px;text-align:right}#search .tl_text{width:160px;padding:3px 2px}.mac #search .tl_text{padding:4px 2px}.tl_edit_preview{margin:18px 18px 6px}.tl_edit_preview img{padding:2px;border:1px solid #ddd;background:#fff;box-shadow:0 1px 3px #ddd}#tl_rebuild_index{padding:0 18px 18px;line-height:1.5}#index_note{margin:24px 0 18px;padding:11px 12px 12px;background:#ffc;border:1px solid #f90;line-height:1;font-size:14px}#index_loading{margin:0 0 12px;padding:12px 12px 12px 36px;background:url("images/loading.gif") no-repeat 2px center;line-height:1;font-size:16px;color:#5c9ac9}#index_complete{margin:0 0 12px;padding:12px 12px 12px 36px;background:url("images/help.gif") no-repeat left center;line-height:1;font-size:16px;color:#8ab858}.tl_listing{width:705px;margin:2px 0!important}.tl_listing_container{padding:2px 0;margin:24px 18px}.tl_folder_list,.tl_folder_tlist{padding:2px 0 3px;border-bottom:1px solid #e9e9e9;background:#f3f3f3;font-weight:bold}.tl_folder_tlist{border-top:1px solid #e9e9e9}.tl_file,.tl_file_list{padding:1px 0;border-bottom:1px solid #e9e9e9;background:#fff}.tl_file_list{padding:2px 0 3px}.tl_right_nowrap{padding:2px 0;text-align:right;white-space:nowrap}.tl_file a:hover,.tl_file a:focus,.tl_file a:active{color:#666966}.tl_listing_container .tl_content ul li>*{vertical-align:middle}.tl_listing tr.odd td{background-color:#fafafa}.tl_listing th,.tl_listing td{padding-left:6px!important;padding-right:6px!important}.list_view .tl_listing img{vertical-align:-4px}.list_view .tl_listing img.theme_preview{margin:3px 6px 3px 0;vertical-align:middle}.tl_show{width:705px;margin:0 18px 18px;padding:9px 0 18px}.tl_bg{background:#f6f6f6}.tl_show td{padding:4px 0}.tl_label{margin-right:12px;font-weight:bold;white-space:nowrap}.tl_empty{margin:0;padding:12px 6px 6px}.tl_empty_parent_view{margin:0;padding:18px 0 0}.tl_noopt{margin:0 0 -1px}.tl_select_trigger{padding:0 6px 3px 0;text-align:right}.tl_select_label{position:relative;top:-2px;color:#a3a3a3;font-size:10px}.tl_header{width:693px;padding:6px;background:#f9f9f9;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.tl_header_table{padding:3px 0;line-height:16px}.tl_content_header{padding:2px 6px 3px;border-bottom:1px solid #e9e9e9;background:#f6f6f6;font-weight:bold}.tl_content{width:693px;padding:6px;border-bottom:1px solid #e9e9e9;overflow:hidden;position:relative}.tl_content.wrapper_start,.tl_content.wrapper_separator,.tl_content.wrapper_stop{background:#f3f3f3}.tl_content.wrapper_start,.tl_content.wrapper_separator{border-bottom:0}.tl_content.wrapper_stop,.tl_content.wrapper_separator{border-top:0}.tl_content.wrapper_start h1{margin:0 0 9px 6px}.tl_content.indent{width:673px;border-left:10px solid #f3f3f3;border-right:10px solid #f3f3f3}.no_padding{padding:2px 6px}.tl_content h1{padding:0;margin:0 0 12px}.tl_content pre{margin-top:3px;margin-bottom:3px;word-break:break-word;white-space:pre-wrap}.tl_content pre.disabled{color:#a6a6a6}.tl_content span.comment{color:#5c9ac9;display:inline-block;margin-bottom:3px}.tl_content_left{float:left}.webkit .tl_content_left{margin-top:1px}.tl_content_right{float:right;text-align:right;margin-left:12px}.tl_content_right img{vertical-align:-4px}.cte_type{width:520px;margin-bottom:9px;font-size:10px;color:#c6c6c6}.cte_type.published{padding:1px 0 2px 20px;background:url("images/published.gif") no-repeat left center}.cte_type.unpublished{padding:1px 0 2px 20px;background:url("images/unpublished.gif") no-repeat left center}.cte_type.published,.cte_type.published a{color:#8ab858;font-size:10px}.cte_type.unpublished,.cte_type.unpublished a{color:#c55;font-size:10px}.limit_height{overflow:hidden}.limit_toggler{margin-top:9px}.limit_height input[type="file"]{position:relative}.tl_form_field_preview td{padding-right:6px}.tl_form_field_preview td.col_0{min-width:180px}.tl_form_field_preview .text,.tl_form_field_preview .password{width:140px}.tl_form_field_preview .select{width:144px}.tl_form_field_preview textarea{width:280px}.tl_folder_top{padding:1px 0;border-top:1px solid #e3e3e3;border-bottom:1px solid #e3e3e3;background:#f0f0f0}.tl_folder{padding:1px 0;border-bottom:1px solid #e9e9e9;background:#f6f6f6}.tl_listing .tl_left{float:left;width:420px;margin-left:43px;text-indent:-43px}.tl_tree_xtnd .tl_file .tl_left{margin-left:22px;text-indent:-22px}ul.level_1 .tl_left{width:400px}ul.level_2 .tl_left{width:380px}ul.level_3 .tl_left{width:360px}ul.level_4 .tl_left{width:340px}ul.level_5 .tl_left{width:320px}ul.level_6 .tl_left{width:300px}ul.level_7 .tl_left{width:280px}ul.level_8 .tl_left{width:260px}ul.level_9 .tl_left{width:240px}.tl_tree_xtnd .tl_folder .tl_left{width:460px}.tl_tree_xtnd ul.level_1 .tl_folder .tl_left{width:440px}.tl_tree_xtnd ul.level_2 .tl_folder .tl_left{width:420px}.tl_tree_xtnd ul.level_3 .tl_folder .tl_left{width:400px}.tl_tree_xtnd ul.level_4 .tl_folder .tl_left{width:380px}.tl_tree_xtnd ul.level_5 .tl_folder .tl_left{width:360px}.tl_tree_xtnd ul.level_6 .tl_folder .tl_left{width:340px}.tl_tree_xtnd ul.level_7 .tl_folder .tl_left{width:320px}.tl_tree_xtnd ul.level_8 .tl_folder .tl_left{width:300px}.tl_tree_xtnd ul.level_9 .tl_folder .tl_left{width:280px}.tl_listing .tl_right{float:right;padding:1px 0}.mac.firefox .tl_listing .tl_right{padding:0}.tl_listing,.tl_listing ul{margin:0;padding:0}.tl_listing li{margin:0;padding-left:6px;padding-right:6px;list-style-type:none}.tl_listing li.parent{display:inline;padding-left:0;padding-right:0}.tree_view .tl_listing img,ul.tree_view img{vertical-align:-5px}label.tl_change_selected{color:#a3a3a3;font-style:italic;vertical-align:top}#tl_breadcrumb{margin:0 0 12px;padding:3px;overflow:hidden;background:#ffd;border:1px solid #d49822}#tl_breadcrumb li{margin:0;padding:0 3px;list-style-type:none;float:left}#tl_breadcrumb li img{vertical-align:-5px}.selector_container ul{margin:0 0 9px;padding:0;list-style-type:none;overflow:hidden}.selector_container li{line-height:18px;margin-right:9px}.selector_container img{vertical-align:top}ul.sgallery{overflow:hidden}ul.sgallery li{float:left;margin-right:0}.gimage{margin:2px;border:1px solid #808080}#tl_welcome{margin:18px 18px 24px;padding:6px 0 8px 36px;background:url("images/current.gif") no-repeat left center;font-size:14px;color:#8ab858}#tl_soverview{margin:18px}#tl_soverview table{width:705px}#tl_messages,#tl_shortcuts{margin-bottom:24px}#tl_messages h2,#tl_shortcuts h2,#tl_versions h2{margin:18px 0 6px;padding:2px 6px 3px;border:1px solid #e9e9e9;border-width:1px 0;background:#f6f6f6}#tl_shortcuts p,#tl_versions p{padding-left:6px;padding-right:6px}#tl_shortcuts p a{text-decoration:underline}#tl_versions{margin-top:24px}#tl_versions th{background:#f6f6f6;padding:2px 3px 3px;border-top:1px solid #e9e9e9}#tl_versions th,#tl_versions td{border-bottom:1px solid #e9e9e9}#tl_versions td{padding:1px 3px}#tl_versions td img{position:relative;top:1px}#tl_versions td:first-child{white-space:nowrap}#tl_versions td:last-child{width:32px;white-space:nowrap}.tl_chmod th{width:97px;text-align:center;font-weight:normal;background:#f0f0f0}.tl_chmod td{width:97px;text-align:center;background:#f9f9f9}.tl_chmod th,.tl_chmod td{border:1px solid #fff}.tl_modulewizard{margin:0}.tl_modulewizard td,.tl_modulewizard th{padding:0 6px 1px 0}.tl_modulewizard th{font-weight:normal}.tl_modulewizard img{position:relative;top:1px}.tl_modulewizard .tl_select{width:400px}.tl_modulewizard img.mw_enable,.js .tl_modulewizard input.mw_enable{display:none}.js .tl_modulewizard img.mw_enable{display:inline;cursor:pointer}.tl_optionwizard{margin:0}.tl_optionwizard label{vertical-align:top}.tl_optionwizard td,.tl_optionwizard th{padding:0 4px 1px 0}.tl_optionwizard th{font-weight:normal;text-align:left}.fw_checkbox{margin:0 1px}.tl_optionwizard img{position:relative;top:1px}#tl_tablewizard{width:690px;padding-bottom:2px;overflow:auto}.tl_tablewizard td{padding:2px 4px 0 0}.tl_tablewizard td.tcontainer{width:148px;height:78px;vertical-align:top}.tl_listwizard li{padding-bottom:1px}.tl_listwizard .tl_text{width:586px}.tl_listwizard_img{position:relative;top:3px}.tl_checkbox_wizard{padding-top:2px}.tl_checkbox_wizard_img{margin-top:-1px;position:relative;top:3px}.tl_checkbox_wizard .fixed{display:block;margin-top:1px}.tl_checkbox_wizard .sortable span{display:block;margin:-1px 0 0}.tl_checkbox_wizard label{display:block;margin:-14px 0;padding-left:48px}.js .tl_checkbox_wizard label{padding-left:34px}.tl_checkbox_wizard label:last-child{margin-bottom:0}.tl_checkbox_wizard .fixed label{padding-left:20px}.tl_checkbox_wizard .tl_checkbox{margin-right:0}.tl_metawizard,.tl_metawizard li{margin:0 0 6px}.tl_metawizard li{overflow:hidden;margin-bottom:2px;padding:9px;background:#fcfcfc}.tl_metawizard li.odd{background:#f3f3f3}.tl_metawizard label{float:left;width:100px;margin-top:4px}.tl_metawizard .tl_text{float:left;width:550px}.tl_metawizard br{clear:left}.tl_metawizard .lang{display:block;margin-bottom:9px;font-weight:bold;position:relative}.tl_metawizard_img{position:absolute;right:0;top:-1px;cursor:pointer}.tl_metawizard_new .tl_select{width:300px}.tl_metawizard_new .tl_submit{margin-top:1px;vertical-align:top}.webkit .tl_metawizard_new .tl_submit,.ie .tl_metawizard_new .tl_submit{padding-top:4px;padding-bottom:4px}.opera .tl_metawizard_new .tl_submit{padding-top:3px;padding-bottom:3px}#tl_ajaxBox{width:20%;padding:24px;position:absolute;left:40%;background:#fff url("images/loading.gif") no-repeat right center;border:2px solid #666;border-radius:6px;font-family:"Trebuchet MS",Verdana,sans-serif;font-size:15px;text-align:left}#tl_ajaxOverlay{width:100%;height:100%;position:absolute;top:0;left:0;background:#fff;-moz-opacity:.5;opacity:.5}.ce_gallery ul{overflow:hidden}.ce_gallery li{float:left;margin:0 6px 6px 0}#theme-store{margin-top:24px;text-align:right}.drag-handle{position:relative;top:1px;cursor:move;display:none}.js .drag-handle{display:inline}.parent_view .drag-handle,.tl_tablewizard .drag-handle{top:0}.tl_listwizard .drag-handle{top:3px}.tl_checkbox_wizard .drag-handle{vertical-align:bottom}.js .button-move{width:0;height:0;left:-1000px;top:-1000px;position:absolute;overflow:hidden;display:inline}ul.sortable li{cursor:move}#manager{margin-top:9px;background:#f3f3f3;border-bottom:1px solid #bbb;padding:3px 3px 4px}#manager .open{padding:2px 0 3px 20px;background:url("images/manager.gif") left center no-repeat}#manager .close{padding:2px 0 3px 20px;background:url("images/back.gif") left center no-repeat}.ace_editor *{font-family:Courier,monospace;font-size:12px}.ace_editor.fullsize{position:absolute;top:0;right:0;bottom:0;left:0;width:auto;height:auto!important;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}a.navigation.article{background-image:url("images/article.gif")}a.navigation.news{background-image:url("images/news.gif")}a.navigation.flash{background-image:url("images/flash.gif")}a.navigation.form{background-image:url("images/form.gif")}a.navigation.themes{background-image:url("images/themes.gif")}a.navigation.page{background-image:url("images/page.gif")}a.navigation.member{background-image:url("images/member.gif")}a.navigation.mgroup{background-image:url("images/mgroup.gif")}a.navigation.user{background-image:url("images/user.gif")}a.navigation.group{background-image:url("images/group.gif")}a.navigation.files{background-image:url("images/files.gif")}a.navigation.log{background-image:url("images/log.gif")}a.navigation.settings{background-image:url("images/settings.gif")}a.navigation.maintenance{background-image:url("images/cache.gif")}a.navigation.undo{background-image:url("images/undo.gif")}a.navigation.login{background-image:url("images/login.gif")}a.navigation.tpl_editor{background-image:url("images/template_editor.gif")}a.navigation,.header_icon,.header_home,.header_user,.header_preview,.header_clipboard,.header_logout,.header_back,.header_new,.header_rss,.header_edit_all,.header_delete_all,.header_new_folder,.header_css_import,.header_theme_import,.header_store,.header_toggle,.header_sync{padding:2px 0 3px 20px;background-position:left center;background-repeat:no-repeat;margin-left:15px}a.navigation{margin-left:0}.list_icon{margin-left:-5px;padding-left:20px;background-position:left center;background-repeat:no-repeat}.list_icon_new{width:16px;background-position:left center;background-repeat:no-repeat}.webkit .list_icon,.webkit .list_icon_new{background-position:left -1px}.header_home{background-image:url("images/home.gif")}.header_user{background-image:url("images/login.gif")}.header_preview{background-image:url("images/preview.gif")}.header_clipboard{background-image:url("images/clipboard.gif")}.header_logout{background-image:url("images/logout.gif")}.header_back{background-image:url("images/back.gif")}.header_new{padding-left:18px;background-image:url("images/new.gif")}.header_rss{background-image:url("images/rss.gif")}.header_edit_all{background-image:url("images/all.gif")}.header_delete_all{background-image:url("images/deleteAll.gif")}.header_new_folder{background-image:url("images/newfolder.gif")}.header_css_import{background-image:url("images/cssimport.gif")}.header_theme_import{background-image:url("images/theme_import.gif")}.header_store{padding-left:18px;background-image:url("images/store.gif")}.header_toggle{background:url("images/folPlus.gif") no-repeat -1px center}.header_sync{background-image:url("images/sync.gif")}.tl_news_published,.tl_news_unpublished{padding:2px 0 3px 24px}.tl_news_published{background:url("images/news.gif") no-repeat left center}.tl_text_trbl,.tl_imageSize_0,.tl_imageSize_1,#ctrl_gradient input,#ctrl_playerSize input{background:url("images/hints.gif") no-repeat -20px 20px}#ctrl_playerSize_0{background-position:142px 1px!important}#ctrl_playerSize_1{background-position:143px -18px!important}.tl_imageSize_0{background-position:63px 1px!important}.tl_imageSize_1{background-position:64px -18px!important}.trbl_top{background-position:47px -39px!important}.trbl_right{background-position:47px -59px!important}.trbl_bottom{background-position:47px -79px!important}.trbl_left{background-position:47px -99px!important}#ctrl_shadowsize_top{background-position:46px -119px!important}#ctrl_shadowsize_right{background-position:46px -139px!important}#ctrl_shadowsize_bottom{background-position:46px -159px!important}#ctrl_shadowsize_left{background-position:46px -179px!important}#ctrl_borderradius_top{background-position:0 -199px!important}#ctrl_borderradius_right{background-position:47px -219px!important}#ctrl_borderradius_bottom{background-position:47px -241px!important}#ctrl_borderradius_left{background-position:0 -261px!important}label.error,legend.error{color:#c55}.tl_tbox .tl_error,.tl_box .tl_error{background:0;padding:0;font-size:10px}fieldset.tl_tbox{margin-top:18px}fieldset.tl_tbox,fieldset.tl_box{padding-top:6px;border:1px solid #ddd;border-width:1px 0 0}fieldset.nolegend{padding-top:12px}fieldset.tl_tbox>legend,fieldset.tl_box>legend{color:#8ab858;padding-left:18px;padding-right:3px;background:url("images/palOpen.gif") left center no-repeat;cursor:pointer}fieldset.collapsed{padding-top:0;padding-bottom:12px;margin-bottom:0}fieldset.collapsed div{display:none!important}fieldset.collapsed>legend{background:url("images/palCollapsed.gif") left center no-repeat}#tl_maintenance_cache th{background:#f6f6f6;padding:2px 3px 3px;border-top:1px solid #e9e9e9}#tl_maintenance_cache th,#tl_maintenance_cache td{border-bottom:1px solid #e9e9e9}#tl_maintenance_cache th{padding:3px 6px}#tl_maintenance_cache td{padding:6px 6px 7px}#tl_maintenance_cache tr:nth-child(even) td{background:#fcfcfc}#tl_maintenance_cache td span{color:#999}#tl_maintenance_cache td:first-child{width:16px}#tl_maintenance_cache .nw{white-space:nowrap}#tl_maintenance_cache .tl_checkbox_container label{margin:0;padding-left:0;font-weight:bold;display:inline}.pagination{overflow:hidden;background:#f6f6f6;border:1px solid #e9e9e9;border-width:1px 0;padding:2px 0 4px}.pagination ul{width:60%;float:right;text-align:right;padding-right:3px}.pagination p{width:30%;float:left;margin-bottom:0}.pagination li{display:inline;padding-right:3px}.pagination .current{color:#999}#sync-results{overflow:hidden;margin:6px 18px 0}#sync-results p{margin-bottom:0}#sync-results .left{float:left;padding-top:2px}#sync-results .right{float:right}#sync-results .tl_checkbox{top:0} \ No newline at end of file diff --git a/system/themes/default/src/main.css b/system/themes/default/src/main.css index 4918e9653e..3ad8dbb19e 100644 --- a/system/themes/default/src/main.css +++ b/system/themes/default/src/main.css @@ -320,6 +320,9 @@ h2.sub_headline_index { .tl_xpl,.tl_formbody_edit { padding:0 18px; } +.popup .tl_formbody_edit { + padding-bottom:52px; +} .tl_tbox { padding:0 0 26px; } @@ -354,6 +357,13 @@ h2.sub_headline_index { .tl_formbody_submit { border-top:1px solid #bbb; } +.popup .tl_formbody_submit { + position:fixed; + left:0; + bottom:0; + width:100%; + height:52px; +} .tl_submit_container { padding:12px 18px; background:#f3f3f3;