diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..b2db50320 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.idea +.DS_Store +fuel/application/cache/ \ No newline at end of file diff --git a/assets/css/blog.css b/assets/css/blog.css index cb9606a85..c21281246 100755 --- a/assets/css/blog.css +++ b/assets/css/blog.css @@ -38,7 +38,7 @@ input.search_btn { background-color: #eee; height: 22px; line-height: 12px; marg /* for form */ .success { background-color: #cc0; padding: 2px 5px; } -.error { background-color: #c30; color: #fff; padding: 2px 5px; margin: 0; } +.error, .comment_error { background-color: #c30; color: #fff; padding: 2px 5px; margin: 0; } span.error_highlight input, span.error_highlight textarea, span.error_highlight select { border: 2px solid #c30; } diff --git a/fuel/application/libraries/MY_Typography.php b/fuel/application/libraries/MY_Typography.php new file mode 100644 index 000000000..a5dacebfa --- /dev/null +++ b/fuel/application/libraries/MY_Typography.php @@ -0,0 +1,3 @@ +load->library('form_builder'); +?>
The following contains documentation regarding your FUEL CMS website. This site is running FUEL CMS =FUEL_VERSION?>. Additional FUEL documentation can be found at docs.getfuelcms.com.
FUEL CMS is a hybrid of a CMS and a framework. -At it's core, FUEL is a PHP/MySQL, modular-based development platform built on top of the popular CodeIgniter framework.
+At its core, FUEL is a PHP/MySQL, modular-based development platform built on top of the popular CodeIgniter framework.Learn more at getfuelcms.com.
The =$this->fuel->config('site_name')?> website contains the following modules.
-The following modules are currently installed for your website:
+The following modules are currently installed for your website with the corresponding fields:
fuel->modules->advanced();?>You currently don't have access to any modules
+When inputting content, you can use special template functions to help insert things such as page URLS and image paths. The most common are:
Although it's unlikely you'll need to worry too much about this, some modules have extra configuration settings you can manage in the CMS. For example, you may have a blog settings area if the blog is installed.
+ + +=jquery()?> + \ No newline at end of file diff --git a/fuel/codeigniter/language/english/upload_lang.php b/fuel/codeigniter/language/english/upload_lang.php index 4de9e9e74..bdc7dfc28 100755 --- a/fuel/codeigniter/language/english/upload_lang.php +++ b/fuel/codeigniter/language/english/upload_lang.php @@ -10,7 +10,7 @@ $lang['upload_no_file_selected'] = "You did not select a file to upload."; $lang['upload_invalid_filetype'] = "The filetype you are attempting to upload is not allowed."; $lang['upload_invalid_filesize'] = "The file you are attempting to upload is larger than the permitted size."; -$lang['upload_invalid_dimensions'] = "The image you are attempting to upload exceedes the maximum height or width."; +$lang['upload_invalid_dimensions'] = "The image you are attempting to upload doesn't fit into the allowed dimensions."; $lang['upload_destination_error'] = "A problem was encountered while attempting to move the uploaded file to the final destination."; $lang['upload_no_filepath'] = "The upload path does not appear to be valid."; $lang['upload_no_file_types'] = "You have not specified any allowed file types."; diff --git a/fuel/modules/fuel/assets/css/colorpicker.css b/fuel/modules/fuel/assets/css/colorpicker.css index 1e679931f..95767cd3f 100755 --- a/fuel/modules/fuel/assets/css/colorpicker.css +++ b/fuel/modules/fuel/assets/css/colorpicker.css @@ -4,7 +4,7 @@ overflow: hidden; position: absolute; background: url(images/colorpicker_background.png); - font-family: Arial, Helvetica, sans-serif; + font-family: 'Lucida Grande', Verdana, Arial, Helvetica, Sans-serif; display: none; z-index: 10; } @@ -74,7 +74,7 @@ border: 1px solid transparent; position: absolute; font-size: 10px; - font-family: Arial, Helvetica, sans-serif; + font-family: 'Lucida Grande', Verdana, Arial, Helvetica, Sans-serif; color: #898989; top: 4px; right: 11px; diff --git a/fuel/modules/fuel/assets/css/datepicker.css b/fuel/modules/fuel/assets/css/datepicker.css index cebc4b519..8c03a2c4f 100644 --- a/fuel/modules/fuel/assets/css/datepicker.css +++ b/fuel/modules/fuel/assets/css/datepicker.css @@ -52,7 +52,7 @@ div.dp-popup { position: relative; background: #fff; font-size: 10px; - font-family: arial, sans-serif; + font-family: 'Lucida Grande', Verdana, Arial, Helvetica, Sans-serif; padding: 2px; width: 171px; line-height: 1.2em; diff --git a/fuel/modules/fuel/assets/css/fuel.css b/fuel/modules/fuel/assets/css/fuel.css index 0285a5851..2d8f62076 100644 --- a/fuel/modules/fuel/assets/css/fuel.css +++ b/fuel/modules/fuel/assets/css/fuel.css @@ -11,7 +11,7 @@ IMPORT CSS HERE SO THAT REQUIRE.JS CAN OPTIMIZE IT * { margin: 0; padding: 0; outline-style: none; } html, body { height: 100%; overflow: hidden; } -body { background-color: #333; font-family: 'Lucida Grande', 'Gill Sans', Arial, Helvetica, Sans-serif; margin: 0; padding: 0; font-size: 11px; color: #333; } +body { background-color: #333; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, Sans-serif; margin: 0; padding: 0; font-size: 11px; color: #333; } h1 { font-size: 20px; margin-bottom: 10px; } h2 { font-size: 16px; margin-bottom: 10px; } h3 { font-size: 12px; margin: 15px 0 3px 0; } @@ -21,7 +21,7 @@ a:hover { text-decoration: underline; } a:visited { color: #4679bd;} p { margin: 5px 0 15px 0; } option { margin: 0 2px; } -input,select,textarea { font-size: 11px; font-family: 'Lucida Grande', 'Gill Sans', Arial, Helvetica, Sans-serif; } +input,select,textarea { font-size: 11px; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, Sans-serif; } textarea { min-height: 40px; overflow: auto; resize: vertical; /*width: 100%;*/ } diff --git a/fuel/modules/fuel/assets/css/fuel.min.css b/fuel/modules/fuel/assets/css/fuel.min.css index 84dddd0c9..7e92eb25c 100644 --- a/fuel/modules/fuel/assets/css/fuel.min.css +++ b/fuel/modules/fuel/assets/css/fuel.min.css @@ -1 +1 @@ -.jqmWindow{display:none;position:fixed;top:50px;left:50%;margin-left:-202px;color:#333;width:400px;border:2px solid #666;z-index:300000;background-color:#fff;word-wrap:break-word;border:1px solid #ccc;display:none;-moz-box-shadow:1px 0px 5px 1px rgba(0,0,0,0.3);-webkit-box-shadow:1px 0px 5px 1px rgba(0,0,0,0.3);box-shadow:1px 0px 5px 1px rgba(0,0,0,0.3);}.jqmOverlay{background-color:#000;}* iframe.jqm{position:absolute;top:0;left:0;z-index:-1;width:expression(this.parentNode.offsetWidth+'px');height:expression(this.parentNode.offsetHeight+'px');}* html .jqmWindow{position:absolute;top:expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(8 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');}#__fuel_tooltip__{position:absolute;z-index:1000000;border:1px solid #ccc;background-color:#ffffcc;padding:3px;font-size:10px !important;font-weight:normal;width:200px;color:#333;}#__fuel_tooltip__ h3,#__fuel_tooltip__ div{margin:0;font-size:11px !important;font-weight:bold;}.treeview,.treeview ul{padding:0;margin:0;list-style:none;}.treeview ul{background-color:white;margin-top:4px;}.treeview .hitarea{background:url(../images/treeview/treeview-default.gif) -64px -25px no-repeat;height:16px;width:16px;margin-left:-16px;float:left;cursor:pointer;}* html .hitarea{display:inline;float:none;}.treeview li{margin:0;padding:3px 0pt 3px 16px;}.treeview a.selected{background-color:#eee;}#treecontrol{margin:1em 0;display:none;}.treeview .hover{cursor:pointer;}.treeview li{background:url(../images/treeview/treeview-default-line.gif) 0 0 no-repeat;}.treeview li.collapsable,.treeview li.expandable{background-position:0 -176px;}.treeview .expandable-hitarea{background-position:-80px -3px;}.treeview li.last{background-position:0 -1766px}.treeview li.lastCollapsable,.treeview li.lastExpandable{background-image:url(../images/treeview/treeview-default.gif);}.treeview li.lastCollapsable{background-position:0 -111px}.treeview li.lastExpandable{background-position:-32px -67px}.treeview div.lastCollapsable-hitarea,.treeview div.lastExpandable-hitarea{background-position:0;}.treeview-red li{background-image:url(../images/treeview/treeview-red-line.gif);}.treeview-red .hitarea,.treeview-red li.lastCollapsable,.treeview-red li.lastExpandable{background-image:url(../images/treeview/treeview-red.gif);}.treeview-black li{background-image:url(../images/treeview/treeview-black-line.gif);}.treeview-black .hitarea,.treeview-black li.lastCollapsable,.treeview-black li.lastExpandable{background-image:url(../images/treeview/treeview-black.gif);}.treeview-gray li{background-image:url(../images/treeview/treeview-gray-line.gif);}.treeview-gray .hitarea,.treeview-gray li.lastCollapsable,.treeview-gray li.lastExpandable{background-image:url(../images/treeview/treeview-gray.gif);}.treeview-famfamfam li{background-image:url(../images/treeview/treeview-famfamfam-line.gif);}.treeview-famfamfam .hitarea,.treeview-famfamfam li.lastCollapsable,.treeview-famfamfam li.lastExpandable{background-image:url(../images/treeview/treeview-famfamfam.gif);}.filetree li{padding:3px 0 2px 16px;}.filetree span.folder,.filetree span.file{padding:1px 0 1px 16px;display:block;}.filetree span.folder{background:url(../images/treeview/folder.gif) 0 0 no-repeat;}.filetree li.expandable span.folder{background:url(../images/treeview/folder-closed.gif) 0 0 no-repeat;}.filetree span.file{background:url(../images/treeview/file.gif) 0 0 no-repeat;}.supercomboselect_wrapper{position:relative;width:655px;height:220px;float:left;}.supercomboselect_left,.supercomboselect_right{position:absolute;top:0px;z-index:2;width:300px;}.supercomboselect_left{left:0px;}.supercomboselect_right{right:0px;}.supercomboselect_btns{position:absolute;left:50%;top:30%;margin-left:-20px !important;width:40px;text-align:center;z-index:1;}.supercomboselect_btns input{display:block;width:40px;margin:auto;margin-top:3px;}.supercomboselect{height:180px;overflow-y:auto;overflow-x:hidden;border:1px solid #ccc;background-color:#fff;}.supercomboselect ul{margin:0;padding:0;cursor:pointer;}.supercomboselect li{-moz-user-select:none;background-color:#fff;margin:0;padding:3px 20px 3px 10px;border-bottom:1px solid #ddd;list-style:none;display:block;overflow:hidden;text-overflow:ellipsis;}.supercomboselect li.selected{background-color:#ffc;}.supercomboselect_search{margin-top:3px;}.supercomboselect_search_text{width:294px;}.supercomboselect_empty_msg{padding:80px 5px 5px 5px;text-align:center;font-weight:bold;color:#ccc;}.supercomboselect_search_highlight{background-color:#ffff99;}.supercomboselect li.ui-sortable-helper{border:1px solid #ddd;}.supercomboselect ul.ui-sortable li{background-image:url(../images/icons/ico_sortable.png);background-repeat:no-repeat;background-position:left center;padding-left:16px;}.supercomboselect li.option_disabled{background-color:#eee;color:#999;}.supercomboselect li.optgrp{background:#DDD;cursor:default;font-weight:bold;padding-left:5px;}.markItUpButton a{background:transparent url(../images/markitup/markitup_icons.png) no-repeat;}.markItUp .bold a{background-position:0 0;}.markItUp .italic a{background-position:0 -456px;}.markItUp .stroke a{background-position:0 -906px;}.markItUp .p a{background-position:0 -792px;}.markItUp .h1 a{background-position:0 -152px;}.markItUp .h2 a{background-position:0 -190px;}.markItUp .h3 a{background-position:0 -228px;}.markItUp .h4 a{background-position:0 -266px;}.markItUp .h5 a{background-position:0 -304px;}.markItUp .h6 a{background-position:0 -342px;}.markItUp .ol a{background-position:0 -570px;}.markItUp .ul a{background-position:0 -1010px;}.markItUp .li a{background-position:0 -532px;}.markItUp .image a{background-position:0 -830px;}.markItUp .link a{background-position:0 -494px;}.markItUp .mailto a{background-position:0 -114px;}.markItUp .clean a{background-position:0 -38px;}.markItUp .preview a{background-position:0 -868px;}.markItUp .help a{background-position:0 -380px;}.markItUp .fuel_var a{background-position:0 -717px;}.markItUp .blockquote a{background-position:0 -76px;}.markItUp .hr a{background-position:0 -976px;}.markItUp .maximize a{background-position:0 -608px;}.markItUp .minimize a{background-position:0 -679px;}.markItUp *{margin:0px;padding:0px;outline:none;}.markItUp a:link,.markItUp a:visited{color:#000;text-decoration:none;}.markItUp{min-width:550px;margin:5px 0 5px 0;}.markItUpContainer{font:11px Verdana,Arial,Helvetica,sans-serif;}.markItUpEditor{font:11px 'Courier New',Courier,monospace;padding-left:5px;width:520px;height:230px;clear:both;display:block;line-height:18px;overflow:auto;border:1px solid #ccc;}.markItUpPreviewFrame{overflow:auto;background-color:#FFFFFF;width:100%;height:280px;margin:5px 0;border:1px solid #ccc;}.markItUpFooter{width:100%;}.markItUpResizeHandle{overflow:hidden;width:22px;height:5px;margin:0 auto 0px auto !important;background-image:url(../images/markitup/handle.png);cursor:n-resize;}.markItUpHeader ul li{list-style:none;float:left;position:relative;padding-top:5px;}.markItUpHeader ul li:hover > ul{display:block;}.markItUpHeader ul .markItUpDropMenu{background:transparent url(../images/markitup/menu.png) no-repeat 115% 50%;margin-right:5px;}.markItUpHeader ul .markItUpDropMenu li{margin-right:0px;}.markItUpHeader ul ul{display:none;position:absolute;top:18px;left:0px;background:#FFF;border:1px solid #000;}.markItUpHeader ul ul li{float:none;border-bottom:1px solid #000;}.markItUpHeader ul ul .markItUpDropMenu{background:#FFF url(../images/markitup/submenu.png) no-repeat 100% 50%;}.markItUpHeader ul .markItUpSeparator{margin:0 10px;width:1px;height:16px;overflow:hidden;background-color:#CCC;}.markItUpHeader ul ul .markItUpSeparator{width:auto;height:1px;margin:0px;}.markItUpHeader ul ul ul{position:absolute;top:-1px;left:150px;}.markItUpHeader ul ul ul li{float:none;}.markItUpHeader ul a{display:block;width:16px;height:16px;text-indent:-10000px;background-repeat:no-repeat;padding:3px;margin:0px;}.markItUpHeader ul ul a{display:block;padding-left:0px;text-indent:0;width:120px;padding:5px 5px 5px 25px;background-position:2px 50%;}.markItUpHeader ul ul a:hover{color:#FFF;background-color:#000;}.ui-helper-hidden{display:none;}.ui-helper-hidden-accessible{position:absolute !important;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none;}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;}.ui-helper-clearfix:after{clear:both;}.ui-helper-clearfix{zoom:1;}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0);}.ui-state-disabled{cursor:default !important;}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;}.ui-widget-overlay{position:absolute;top:0;left:0;width:100%;height:100%;}.ui-widget{font-family:'Lucida Grande','Gill Sans',Arial,Helvetica,Sans-serif;font-size:1.1em;}.ui-widget .ui-widget{font-size:1em;}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:'Lucida Grande','Gill Sans',Arial,Helvetica,Sans-serif;font-size:1em;}.ui-widget-content{border:1px solid #aaaaaa;background:#ffffff url(images/ui-bg_glass_75_ffffff_1x400.png) 50% 50% repeat-x;color:#222222;}.ui-widget-content a{color:#222222;}.ui-widget-header{border:1px solid #aaaaaa;background:#cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;color:#222222;font-weight:bold;}.ui-widget-header a{color:#222222;}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#555555;}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555555;text-decoration:none;}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999999;background:#dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121;}.ui-state-hover a,.ui-state-hover a:hover{color:#212121;text-decoration:none;}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaaaaa;background:#ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121;}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none;}.ui-widget:active{outline:none;}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;color:#363636;}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636;}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url(images/ui-bg_inset-soft_95_fef1ec_1x100.png) 50% bottom repeat-x;color:#cd0a0a;}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a;}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a;}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold;}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal;}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none;}.ui-icon{width:16px;height:16px;background-image:url(images/ui-icons_222222_256x240.png);}.ui-widget-content .ui-icon{background-image:url(images/ui-icons_222222_256x240.png);}.ui-widget-header .ui-icon{background-image:url(images/ui-icons_222222_256x240.png);}.ui-state-default .ui-icon{background-image:url(images/ui-icons_888888_256x240.png);}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(images/ui-icons_454545_256x240.png);}.ui-state-active .ui-icon{background-image:url(images/ui-icons_454545_256x240.png);}.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_2e83ff_256x240.png);}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_cd0a0a_256x240.png);}.ui-icon-carat-1-n{background-position:0 0;}.ui-icon-carat-1-ne{background-position:-16px 0;}.ui-icon-carat-1-e{background-position:-32px 0;}.ui-icon-carat-1-se{background-position:-48px 0;}.ui-icon-carat-1-s{background-position:-64px 0;}.ui-icon-carat-1-sw{background-position:-80px 0;}.ui-icon-carat-1-w{background-position:-96px 0;}.ui-icon-carat-1-nw{background-position:-112px 0;}.ui-icon-carat-2-n-s{background-position:-128px 0;}.ui-icon-carat-2-e-w{background-position:-144px 0;}.ui-icon-triangle-1-n{background-position:0 -16px;}.ui-icon-triangle-1-ne{background-position:-16px -16px;}.ui-icon-triangle-1-e{background-position:-32px -16px;}.ui-icon-triangle-1-se{background-position:-48px -16px;}.ui-icon-triangle-1-s{background-position:-64px -16px;}.ui-icon-triangle-1-sw{background-position:-80px -16px;}.ui-icon-triangle-1-w{background-position:-96px -16px;}.ui-icon-triangle-1-nw{background-position:-112px -16px;}.ui-icon-triangle-2-n-s{background-position:-128px -16px;}.ui-icon-triangle-2-e-w{background-position:-144px -16px;}.ui-icon-arrow-1-n{background-position:0 -32px;}.ui-icon-arrow-1-ne{background-position:-16px -32px;}.ui-icon-arrow-1-e{background-position:-32px -32px;}.ui-icon-arrow-1-se{background-position:-48px -32px;}.ui-icon-arrow-1-s{background-position:-64px -32px;}.ui-icon-arrow-1-sw{background-position:-80px -32px;}.ui-icon-arrow-1-w{background-position:-96px -32px;}.ui-icon-arrow-1-nw{background-position:-112px -32px;}.ui-icon-arrow-2-n-s{background-position:-128px -32px;}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px;}.ui-icon-arrow-2-e-w{background-position:-160px -32px;}.ui-icon-arrow-2-se-nw{background-position:-176px -32px;}.ui-icon-arrowstop-1-n{background-position:-192px -32px;}.ui-icon-arrowstop-1-e{background-position:-208px -32px;}.ui-icon-arrowstop-1-s{background-position:-224px -32px;}.ui-icon-arrowstop-1-w{background-position:-240px -32px;}.ui-icon-arrowthick-1-n{background-position:0 -48px;}.ui-icon-arrowthick-1-ne{background-position:-16px -48px;}.ui-icon-arrowthick-1-e{background-position:-32px -48px;}.ui-icon-arrowthick-1-se{background-position:-48px -48px;}.ui-icon-arrowthick-1-s{background-position:-64px -48px;}.ui-icon-arrowthick-1-sw{background-position:-80px -48px;}.ui-icon-arrowthick-1-w{background-position:-96px -48px;}.ui-icon-arrowthick-1-nw{background-position:-112px -48px;}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px;}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px;}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px;}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px;}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px;}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px;}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px;}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px;}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px;}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px;}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px;}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px;}.ui-icon-arrowreturn-1-w{background-position:-64px -64px;}.ui-icon-arrowreturn-1-n{background-position:-80px -64px;}.ui-icon-arrowreturn-1-e{background-position:-96px -64px;}.ui-icon-arrowreturn-1-s{background-position:-112px -64px;}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px;}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px;}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px;}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px;}.ui-icon-arrow-4{background-position:0 -80px;}.ui-icon-arrow-4-diag{background-position:-16px -80px;}.ui-icon-extlink{background-position:-32px -80px;}.ui-icon-newwin{background-position:-48px -80px;}.ui-icon-refresh{background-position:-64px -80px;}.ui-icon-shuffle{background-position:-80px -80px;}.ui-icon-transfer-e-w{background-position:-96px -80px;}.ui-icon-transferthick-e-w{background-position:-112px -80px;}.ui-icon-folder-collapsed{background-position:0 -96px;}.ui-icon-folder-open{background-position:-16px -96px;}.ui-icon-document{background-position:-32px -96px;}.ui-icon-document-b{background-position:-48px -96px;}.ui-icon-note{background-position:-64px -96px;}.ui-icon-mail-closed{background-position:-80px -96px;}.ui-icon-mail-open{background-position:-96px -96px;}.ui-icon-suitcase{background-position:-112px -96px;}.ui-icon-comment{background-position:-128px -96px;}.ui-icon-person{background-position:-144px -96px;}.ui-icon-print{background-position:-160px -96px;}.ui-icon-trash{background-position:-176px -96px;}.ui-icon-locked{background-position:-192px -96px;}.ui-icon-unlocked{background-position:-208px -96px;}.ui-icon-bookmark{background-position:-224px -96px;}.ui-icon-tag{background-position:-240px -96px;}.ui-icon-home{background-position:0 -112px;}.ui-icon-flag{background-position:-16px -112px;}.ui-icon-calendar{background-position:-32px -112px;}.ui-icon-cart{background-position:-48px -112px;}.ui-icon-pencil{background-position:-64px -112px;}.ui-icon-clock{background-position:-80px -112px;}.ui-icon-disk{background-position:-96px -112px;}.ui-icon-calculator{background-position:-112px -112px;}.ui-icon-zoomin{background-position:-128px -112px;}.ui-icon-zoomout{background-position:-144px -112px;}.ui-icon-search{background-position:-160px -112px;}.ui-icon-wrench{background-position:-176px -112px;}.ui-icon-gear{background-position:-192px -112px;}.ui-icon-heart{background-position:-208px -112px;}.ui-icon-star{background-position:-224px -112px;}.ui-icon-link{background-position:-240px -112px;}.ui-icon-cancel{background-position:0 -128px;}.ui-icon-plus{background-position:-16px -128px;}.ui-icon-plusthick{background-position:-32px -128px;}.ui-icon-minus{background-position:-48px -128px;}.ui-icon-minusthick{background-position:-64px -128px;}.ui-icon-close{background-position:-80px -128px;}.ui-icon-closethick{background-position:-96px -128px;}.ui-icon-key{background-position:-112px -128px;}.ui-icon-lightbulb{background-position:-128px -128px;}.ui-icon-scissors{background-position:-144px -128px;}.ui-icon-clipboard{background-position:-160px -128px;}.ui-icon-copy{background-position:-176px -128px;}.ui-icon-contact{background-position:-192px -128px;}.ui-icon-image{background-position:-208px -128px;}.ui-icon-video{background-position:-224px -128px;}.ui-icon-script{background-position:-240px -128px;}.ui-icon-alert{background-position:0 -144px;}.ui-icon-info{background-position:-16px -144px;}.ui-icon-notice{background-position:-32px -144px;}.ui-icon-help{background-position:-48px -144px;}.ui-icon-check{background-position:-64px -144px;}.ui-icon-bullet{background-position:-80px -144px;}.ui-icon-radio-off{background-position:-96px -144px;}.ui-icon-radio-on{background-position:-112px -144px;}.ui-icon-pin-w{background-position:-128px -144px;}.ui-icon-pin-s{background-position:-144px -144px;}.ui-icon-play{background-position:0 -160px;}.ui-icon-pause{background-position:-16px -160px;}.ui-icon-seek-next{background-position:-32px -160px;}.ui-icon-seek-prev{background-position:-48px -160px;}.ui-icon-seek-end{background-position:-64px -160px;}.ui-icon-seek-start{background-position:-80px -160px;}.ui-icon-seek-first{background-position:-80px -160px;}.ui-icon-stop{background-position:-96px -160px;}.ui-icon-eject{background-position:-112px -160px;}.ui-icon-volume-off{background-position:-128px -160px;}.ui-icon-volume-on{background-position:-144px -160px;}.ui-icon-power{background-position:0 -176px;}.ui-icon-signal-diag{background-position:-16px -176px;}.ui-icon-signal{background-position:-32px -176px;}.ui-icon-battery-0{background-position:-48px -176px;}.ui-icon-battery-1{background-position:-64px -176px;}.ui-icon-battery-2{background-position:-80px -176px;}.ui-icon-battery-3{background-position:-96px -176px;}.ui-icon-circle-plus{background-position:0 -192px;}.ui-icon-circle-minus{background-position:-16px -192px;}.ui-icon-circle-close{background-position:-32px -192px;}.ui-icon-circle-triangle-e{background-position:-48px -192px;}.ui-icon-circle-triangle-s{background-position:-64px -192px;}.ui-icon-circle-triangle-w{background-position:-80px -192px;}.ui-icon-circle-triangle-n{background-position:-96px -192px;}.ui-icon-circle-arrow-e{background-position:-112px -192px;}.ui-icon-circle-arrow-s{background-position:-128px -192px;}.ui-icon-circle-arrow-w{background-position:-144px -192px;}.ui-icon-circle-arrow-n{background-position:-160px -192px;}.ui-icon-circle-zoomin{background-position:-176px -192px;}.ui-icon-circle-zoomout{background-position:-192px -192px;}.ui-icon-circle-check{background-position:-208px -192px;}.ui-icon-circlesmall-plus{background-position:0 -208px;}.ui-icon-circlesmall-minus{background-position:-16px -208px;}.ui-icon-circlesmall-close{background-position:-32px -208px;}.ui-icon-squaresmall-plus{background-position:-48px -208px;}.ui-icon-squaresmall-minus{background-position:-64px -208px;}.ui-icon-squaresmall-close{background-position:-80px -208px;}.ui-icon-grip-dotted-vertical{background-position:0 -224px;}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px;}.ui-icon-grip-solid-vertical{background-position:-32px -224px;}.ui-icon-grip-solid-horizontal{background-position:-48px -224px;}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px;}.ui-icon-grip-diagonal-se{background-position:-80px -224px;}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;}.ui-widget-overlay{background:#aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.30;filter:Alpha(Opacity=30);}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.30;filter:Alpha(Opacity=30);-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px;}.ui-resizable{position:relative;}.ui-resizable-handle{position:absolute;font-size:0.1px;z-index:99999;display:block;}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none;}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0;}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0;}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%;}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%;}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px;}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px;}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px;}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px;}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black;}.ui-accordion{width:100%;}.ui-accordion .ui-accordion-header{cursor:pointer;position:relative;margin-top:1px;zoom:1;}.ui-accordion .ui-accordion-li-fix{display:inline;}.ui-accordion .ui-accordion-header-active{border-bottom:0 !important;}.ui-accordion .ui-accordion-header a{display:block;font-size:1em;padding:.5em .5em .5em .7em;}.ui-accordion-icons .ui-accordion-header a{padding-left:2.2em;}.ui-accordion .ui-accordion-header .ui-icon{position:absolute;left:.5em;top:50%;margin-top:-8px;}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;margin-top:-2px;position:relative;top:1px;margin-bottom:2px;overflow:auto;display:none;zoom:1;}.ui-accordion .ui-accordion-content-active{display:block;}.ui-autocomplete{position:absolute;cursor:default;}* html .ui-autocomplete{width:1px;}.ui-menu{list-style:none;padding:2px;margin:0;display:block;float:left;}.ui-menu .ui-menu{margin-top:-3px;}.ui-menu .ui-menu-item{margin:0;padding:0;zoom:1;float:left;clear:left;width:100%;}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:.2em .4em;line-height:1.5;zoom:1;}.ui-menu .ui-menu-item a.ui-state-hover,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px;}.ui-dialog{position:absolute;padding:.2em;width:300px;overflow:hidden;}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative;}.ui-dialog .ui-dialog-title{float:left;margin:.1em 16px .1em 0;}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:19px;margin:-10px 0 0 0;padding:1px;height:18px;}.ui-dialog .ui-dialog-titlebar-close span{display:block;margin:1px;}.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus{padding:0;}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto;zoom:1;}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin:.5em 0 0 0;padding:.3em 1em .5em .4em;}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right;}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer;}.ui-dialog .ui-resizable-se{width:14px;height:14px;right:3px;bottom:3px;}.ui-draggable .ui-dialog-titlebar{cursor:move;}.ui-slider{position:relative;text-align:left;}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0;}.ui-slider-horizontal{height:.8em;}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em;}.ui-slider-horizontal .ui-slider-range{top:0;height:100%;}.ui-slider-horizontal .ui-slider-range-min{left:0;}.ui-slider-horizontal .ui-slider-range-max{right:0;}.ui-slider-vertical{width:.8em;height:100px;}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em;}.ui-slider-vertical .ui-slider-range{left:0;width:100%;}.ui-slider-vertical .ui-slider-range-min{bottom:0;}.ui-slider-vertical .ui-slider-range-max{top:0;}.ui-tabs{position:relative;padding:.2em;zoom:1;}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0;}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:1px;margin:0 .2em 1px 0;border-bottom:0 !important;padding:0;white-space:nowrap;}.ui-tabs .ui-tabs-nav li a{float:left;padding:.5em 1em;text-decoration:none;}.ui-tabs .ui-tabs-nav li.ui-tabs-selected{margin-bottom:0;padding-bottom:1px;}.ui-tabs .ui-tabs-nav li.ui-tabs-selected a,.ui-tabs .ui-tabs-nav li.ui-state-disabled a,.ui-tabs .ui-tabs-nav li.ui-state-processing a{cursor:text;}.ui-tabs .ui-tabs-nav li a,.ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a{cursor:pointer;}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none;}.ui-tabs .ui-tabs-hide{display:none !important;}.ui-datepicker{width:15em;padding:.1em .1em 0;display:none;z-index:999999 !important;}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0;}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em;}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px;}.ui-datepicker .ui-datepicker-prev{left:2px;}.ui-datepicker .ui-datepicker-next{right:2px;}.ui-datepicker .ui-datepicker-prev-hover{left:1px;}.ui-datepicker .ui-datepicker-next-hover{right:1px;}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px;}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center;}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0;}.ui-datepicker select.ui-datepicker-month-year{width:100%;}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%;}.ui-datepicker table{width:100%;font-size:.8em;border-collapse:collapse;margin:0 0 .4em;}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0;}.ui-datepicker td{border:0;padding:1px;}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none;}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0;}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .4em .3em .4em;width:auto;overflow:visible;}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left;}.ui-datepicker-trigger{cursor:pointer;margin:0 3px -2px 0;}.ui-datepicker.ui-datepicker-multi{width:auto;}.ui-datepicker-multi .ui-datepicker-group{float:left;}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em;}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%;}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%;}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%;}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header{border-left-width:0;}.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0;}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left;}.ui-datepicker-row-break{clear:both;width:100%;font-size:0em;}.ui-datepicker-rtl{direction:rtl;}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto;}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto;}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto;}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto;}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right;}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left;}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current{float:right;}.ui-datepicker-rtl .ui-datepicker-group{float:right;}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header{border-right-width:0;border-left-width:1px;}.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px;}.ui-datepicker-cover{display:none; display:block; position:absolute; z-index:-1; filter:mask(); top:-4px; left:-4px; width:200px; height:200px;}.ui-progressbar{height:2em;text-align:left;overflow:hidden;}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%;}.jqmWindow{display:none;position:fixed;top:50px;left:50%;margin-left:-202px;color:#333;width:400px;border:2px solid #666;z-index:300000;background-color:#fff;word-wrap:break-word;border:1px solid #ccc;display:none;-moz-box-shadow:1px 0px 5px 1px rgba(0,0,0,0.3);-webkit-box-shadow:1px 0px 5px 1px rgba(0,0,0,0.3);box-shadow:1px 0px 5px 1px rgba(0,0,0,0.3);}.jqmOverlay{background-color:#000;}* iframe.jqm{position:absolute;top:0;left:0;z-index:-1;width:expression(this.parentNode.offsetWidth+'px');height:expression(this.parentNode.offsetHeight+'px');}* html .jqmWindow{position:absolute;top:expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(8 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');}#__fuel_tooltip__{position:absolute;z-index:1000000;border:1px solid #ccc;background-color:#ffffcc;padding:3px;font-size:10px !important;font-weight:normal;width:200px;color:#333;}#__fuel_tooltip__ h3,#__fuel_tooltip__ div{margin:0;font-size:11px !important;font-weight:bold;}.treeview,.treeview ul{padding:0;margin:0;list-style:none;}.treeview ul{background-color:white;margin-top:4px;}.treeview .hitarea{background:url(../images/treeview/treeview-default.gif) -64px -25px no-repeat;height:16px;width:16px;margin-left:-16px;float:left;cursor:pointer;}* html .hitarea{display:inline;float:none;}.treeview li{margin:0;padding:3px 0pt 3px 16px;}.treeview a.selected{background-color:#eee;}#treecontrol{margin:1em 0;display:none;}.treeview .hover{cursor:pointer;}.treeview li{background:url(../images/treeview/treeview-default-line.gif) 0 0 no-repeat;}.treeview li.collapsable,.treeview li.expandable{background-position:0 -176px;}.treeview .expandable-hitarea{background-position:-80px -3px;}.treeview li.last{background-position:0 -1766px}.treeview li.lastCollapsable,.treeview li.lastExpandable{background-image:url(../images/treeview/treeview-default.gif);}.treeview li.lastCollapsable{background-position:0 -111px}.treeview li.lastExpandable{background-position:-32px -67px}.treeview div.lastCollapsable-hitarea,.treeview div.lastExpandable-hitarea{background-position:0;}.treeview-red li{background-image:url(../images/treeview/treeview-red-line.gif);}.treeview-red .hitarea,.treeview-red li.lastCollapsable,.treeview-red li.lastExpandable{background-image:url(../images/treeview/treeview-red.gif);}.treeview-black li{background-image:url(../images/treeview/treeview-black-line.gif);}.treeview-black .hitarea,.treeview-black li.lastCollapsable,.treeview-black li.lastExpandable{background-image:url(../images/treeview/treeview-black.gif);}.treeview-gray li{background-image:url(../images/treeview/treeview-gray-line.gif);}.treeview-gray .hitarea,.treeview-gray li.lastCollapsable,.treeview-gray li.lastExpandable{background-image:url(../images/treeview/treeview-gray.gif);}.treeview-famfamfam li{background-image:url(../images/treeview/treeview-famfamfam-line.gif);}.treeview-famfamfam .hitarea,.treeview-famfamfam li.lastCollapsable,.treeview-famfamfam li.lastExpandable{background-image:url(../images/treeview/treeview-famfamfam.gif);}.filetree li{padding:3px 0 2px 16px;}.filetree span.folder,.filetree span.file{padding:1px 0 1px 16px;display:block;}.filetree span.folder{background:url(../images/treeview/folder.gif) 0 0 no-repeat;}.filetree li.expandable span.folder{background:url(../images/treeview/folder-closed.gif) 0 0 no-repeat;}.filetree span.file{background:url(../images/treeview/file.gif) 0 0 no-repeat;}.supercomboselect_wrapper{position:relative;width:655px;height:220px;float:left;}.supercomboselect_left,.supercomboselect_right{position:absolute;top:0px;z-index:2;width:300px;}.supercomboselect_left{left:0px;}.supercomboselect_right{right:0px;}.supercomboselect_btns{position:absolute;left:50%;top:30%;margin-left:-20px !important;width:40px;text-align:center;z-index:1;}.supercomboselect_btns input{display:block;width:40px;margin:auto;margin-top:3px;}.supercomboselect{height:180px;overflow-y:auto;overflow-x:hidden;border:1px solid #ccc;background-color:#fff;}.supercomboselect ul{margin:0;padding:0;cursor:pointer;}.supercomboselect li{-moz-user-select:none;background-color:#fff;margin:0;padding:3px 20px 3px 10px;border-bottom:1px solid #ddd;list-style:none;display:block;overflow:hidden;text-overflow:ellipsis;}.supercomboselect li.selected{background-color:#ffc;}.supercomboselect_search{margin-top:3px;}.supercomboselect_search_text{width:294px;}.supercomboselect_empty_msg{padding:80px 5px 5px 5px;text-align:center;font-weight:bold;color:#ccc;}.supercomboselect_search_highlight{background-color:#ffff99;}.supercomboselect li.ui-sortable-helper{border:1px solid #ddd;}.supercomboselect ul.ui-sortable li{background-image:url(../images/icons/ico_sortable.png);background-repeat:no-repeat;background-position:left center;padding-left:16px;}.supercomboselect li.option_disabled{background-color:#eee;color:#999;}.supercomboselect li.optgrp{background:#DDD;cursor:default;font-weight:bold;padding-left:5px;}.markItUpButton a{background:transparent url(../images/markitup/markitup_icons.png) no-repeat;}.markItUp .bold a{background-position:0 0;}.markItUp .italic a{background-position:0 -456px;}.markItUp .stroke a{background-position:0 -906px;}.markItUp .p a{background-position:0 -792px;}.markItUp .h1 a{background-position:0 -152px;}.markItUp .h2 a{background-position:0 -190px;}.markItUp .h3 a{background-position:0 -228px;}.markItUp .h4 a{background-position:0 -266px;}.markItUp .h5 a{background-position:0 -304px;}.markItUp .h6 a{background-position:0 -342px;}.markItUp .ol a{background-position:0 -570px;}.markItUp .ul a{background-position:0 -1010px;}.markItUp .li a{background-position:0 -532px;}.markItUp .image a{background-position:0 -830px;}.markItUp .link a{background-position:0 -494px;}.markItUp .mailto a{background-position:0 -114px;}.markItUp .clean a{background-position:0 -38px;}.markItUp .preview a{background-position:0 -868px;}.markItUp .help a{background-position:0 -380px;}.markItUp .fuel_var a{background-position:0 -717px;}.markItUp .blockquote a{background-position:0 -76px;}.markItUp .hr a{background-position:0 -976px;}.markItUp .maximize a{background-position:0 -608px;}.markItUp .minimize a{background-position:0 -679px;}.markItUp *{margin:0px;padding:0px;outline:none;}.markItUp a:link,.markItUp a:visited{color:#000;text-decoration:none;}.markItUp{min-width:550px;margin:5px 0 5px 0;}.markItUpContainer{font:11px Verdana,Arial,Helvetica,sans-serif;}.markItUpEditor{font:11px 'Courier New',Courier,monospace;padding-left:5px;width:520px;height:230px;clear:both;display:block;line-height:18px;overflow:auto;border:1px solid #ccc;}.markItUpPreviewFrame{overflow:auto;background-color:#FFFFFF;width:100%;height:280px;margin:5px 0;border:1px solid #ccc;}.markItUpFooter{width:100%;}.markItUpResizeHandle{overflow:hidden;width:22px;height:5px;margin:0 auto 0px auto !important;background-image:url(../images/markitup/handle.png);cursor:n-resize;}.markItUpHeader ul li{list-style:none;float:left;position:relative;padding-top:5px;}.markItUpHeader ul li:hover > ul{display:block;}.markItUpHeader ul .markItUpDropMenu{background:transparent url(../images/markitup/menu.png) no-repeat 115% 50%;margin-right:5px;}.markItUpHeader ul .markItUpDropMenu li{margin-right:0px;}.markItUpHeader ul ul{display:none;position:absolute;top:18px;left:0px;background:#FFF;border:1px solid #000;}.markItUpHeader ul ul li{float:none;border-bottom:1px solid #000;}.markItUpHeader ul ul .markItUpDropMenu{background:#FFF url(../images/markitup/submenu.png) no-repeat 100% 50%;}.markItUpHeader ul .markItUpSeparator{margin:0 10px;width:1px;height:16px;overflow:hidden;background-color:#CCC;}.markItUpHeader ul ul .markItUpSeparator{width:auto;height:1px;margin:0px;}.markItUpHeader ul ul ul{position:absolute;top:-1px;left:150px;}.markItUpHeader ul ul ul li{float:none;}.markItUpHeader ul a{display:block;width:16px;height:16px;text-indent:-10000px;background-repeat:no-repeat;padding:3px;margin:0px;}.markItUpHeader ul ul a{display:block;padding-left:0px;text-indent:0;width:120px;padding:5px 5px 5px 25px;background-position:2px 50%;}.markItUpHeader ul ul a:hover{color:#FFF;background-color:#000;}.ui-helper-hidden{display:none;}.ui-helper-hidden-accessible{position:absolute !important;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none;}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;}.ui-helper-clearfix:after{clear:both;}.ui-helper-clearfix{zoom:1;}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0);}.ui-state-disabled{cursor:default !important;}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;}.ui-widget-overlay{position:absolute;top:0;left:0;width:100%;height:100%;}.ui-widget{font-family:'Lucida Grande','Gill Sans',Arial,Helvetica,Sans-serif;font-size:1.1em;}.ui-widget .ui-widget{font-size:1em;}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:'Lucida Grande','Gill Sans',Arial,Helvetica,Sans-serif;font-size:1em;}.ui-widget-content{border:1px solid #aaaaaa;background:#ffffff url(images/ui-bg_glass_75_ffffff_1x400.png) 50% 50% repeat-x;color:#222222;}.ui-widget-content a{color:#222222;}.ui-widget-header{border:1px solid #aaaaaa;background:#cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;color:#222222;font-weight:bold;}.ui-widget-header a{color:#222222;}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#555555;}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555555;text-decoration:none;}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999999;background:#dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121;}.ui-state-hover a,.ui-state-hover a:hover{color:#212121;text-decoration:none;}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaaaaa;background:#ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121;}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none;}.ui-widget:active{outline:none;}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;color:#363636;}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636;}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url(images/ui-bg_inset-soft_95_fef1ec_1x100.png) 50% bottom repeat-x;color:#cd0a0a;}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a;}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a;}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold;}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal;}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none;}.ui-icon{width:16px;height:16px;background-image:url(images/ui-icons_222222_256x240.png);}.ui-widget-content .ui-icon{background-image:url(images/ui-icons_222222_256x240.png);}.ui-widget-header .ui-icon{background-image:url(images/ui-icons_222222_256x240.png);}.ui-state-default .ui-icon{background-image:url(images/ui-icons_888888_256x240.png);}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(images/ui-icons_454545_256x240.png);}.ui-state-active .ui-icon{background-image:url(images/ui-icons_454545_256x240.png);}.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_2e83ff_256x240.png);}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_cd0a0a_256x240.png);}.ui-icon-carat-1-n{background-position:0 0;}.ui-icon-carat-1-ne{background-position:-16px 0;}.ui-icon-carat-1-e{background-position:-32px 0;}.ui-icon-carat-1-se{background-position:-48px 0;}.ui-icon-carat-1-s{background-position:-64px 0;}.ui-icon-carat-1-sw{background-position:-80px 0;}.ui-icon-carat-1-w{background-position:-96px 0;}.ui-icon-carat-1-nw{background-position:-112px 0;}.ui-icon-carat-2-n-s{background-position:-128px 0;}.ui-icon-carat-2-e-w{background-position:-144px 0;}.ui-icon-triangle-1-n{background-position:0 -16px;}.ui-icon-triangle-1-ne{background-position:-16px -16px;}.ui-icon-triangle-1-e{background-position:-32px -16px;}.ui-icon-triangle-1-se{background-position:-48px -16px;}.ui-icon-triangle-1-s{background-position:-64px -16px;}.ui-icon-triangle-1-sw{background-position:-80px -16px;}.ui-icon-triangle-1-w{background-position:-96px -16px;}.ui-icon-triangle-1-nw{background-position:-112px -16px;}.ui-icon-triangle-2-n-s{background-position:-128px -16px;}.ui-icon-triangle-2-e-w{background-position:-144px -16px;}.ui-icon-arrow-1-n{background-position:0 -32px;}.ui-icon-arrow-1-ne{background-position:-16px -32px;}.ui-icon-arrow-1-e{background-position:-32px -32px;}.ui-icon-arrow-1-se{background-position:-48px -32px;}.ui-icon-arrow-1-s{background-position:-64px -32px;}.ui-icon-arrow-1-sw{background-position:-80px -32px;}.ui-icon-arrow-1-w{background-position:-96px -32px;}.ui-icon-arrow-1-nw{background-position:-112px -32px;}.ui-icon-arrow-2-n-s{background-position:-128px -32px;}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px;}.ui-icon-arrow-2-e-w{background-position:-160px -32px;}.ui-icon-arrow-2-se-nw{background-position:-176px -32px;}.ui-icon-arrowstop-1-n{background-position:-192px -32px;}.ui-icon-arrowstop-1-e{background-position:-208px -32px;}.ui-icon-arrowstop-1-s{background-position:-224px -32px;}.ui-icon-arrowstop-1-w{background-position:-240px -32px;}.ui-icon-arrowthick-1-n{background-position:0 -48px;}.ui-icon-arrowthick-1-ne{background-position:-16px -48px;}.ui-icon-arrowthick-1-e{background-position:-32px -48px;}.ui-icon-arrowthick-1-se{background-position:-48px -48px;}.ui-icon-arrowthick-1-s{background-position:-64px -48px;}.ui-icon-arrowthick-1-sw{background-position:-80px -48px;}.ui-icon-arrowthick-1-w{background-position:-96px -48px;}.ui-icon-arrowthick-1-nw{background-position:-112px -48px;}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px;}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px;}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px;}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px;}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px;}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px;}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px;}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px;}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px;}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px;}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px;}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px;}.ui-icon-arrowreturn-1-w{background-position:-64px -64px;}.ui-icon-arrowreturn-1-n{background-position:-80px -64px;}.ui-icon-arrowreturn-1-e{background-position:-96px -64px;}.ui-icon-arrowreturn-1-s{background-position:-112px -64px;}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px;}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px;}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px;}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px;}.ui-icon-arrow-4{background-position:0 -80px;}.ui-icon-arrow-4-diag{background-position:-16px -80px;}.ui-icon-extlink{background-position:-32px -80px;}.ui-icon-newwin{background-position:-48px -80px;}.ui-icon-refresh{background-position:-64px -80px;}.ui-icon-shuffle{background-position:-80px -80px;}.ui-icon-transfer-e-w{background-position:-96px -80px;}.ui-icon-transferthick-e-w{background-position:-112px -80px;}.ui-icon-folder-collapsed{background-position:0 -96px;}.ui-icon-folder-open{background-position:-16px -96px;}.ui-icon-document{background-position:-32px -96px;}.ui-icon-document-b{background-position:-48px -96px;}.ui-icon-note{background-position:-64px -96px;}.ui-icon-mail-closed{background-position:-80px -96px;}.ui-icon-mail-open{background-position:-96px -96px;}.ui-icon-suitcase{background-position:-112px -96px;}.ui-icon-comment{background-position:-128px -96px;}.ui-icon-person{background-position:-144px -96px;}.ui-icon-print{background-position:-160px -96px;}.ui-icon-trash{background-position:-176px -96px;}.ui-icon-locked{background-position:-192px -96px;}.ui-icon-unlocked{background-position:-208px -96px;}.ui-icon-bookmark{background-position:-224px -96px;}.ui-icon-tag{background-position:-240px -96px;}.ui-icon-home{background-position:0 -112px;}.ui-icon-flag{background-position:-16px -112px;}.ui-icon-calendar{background-position:-32px -112px;}.ui-icon-cart{background-position:-48px -112px;}.ui-icon-pencil{background-position:-64px -112px;}.ui-icon-clock{background-position:-80px -112px;}.ui-icon-disk{background-position:-96px -112px;}.ui-icon-calculator{background-position:-112px -112px;}.ui-icon-zoomin{background-position:-128px -112px;}.ui-icon-zoomout{background-position:-144px -112px;}.ui-icon-search{background-position:-160px -112px;}.ui-icon-wrench{background-position:-176px -112px;}.ui-icon-gear{background-position:-192px -112px;}.ui-icon-heart{background-position:-208px -112px;}.ui-icon-star{background-position:-224px -112px;}.ui-icon-link{background-position:-240px -112px;}.ui-icon-cancel{background-position:0 -128px;}.ui-icon-plus{background-position:-16px -128px;}.ui-icon-plusthick{background-position:-32px -128px;}.ui-icon-minus{background-position:-48px -128px;}.ui-icon-minusthick{background-position:-64px -128px;}.ui-icon-close{background-position:-80px -128px;}.ui-icon-closethick{background-position:-96px -128px;}.ui-icon-key{background-position:-112px -128px;}.ui-icon-lightbulb{background-position:-128px -128px;}.ui-icon-scissors{background-position:-144px -128px;}.ui-icon-clipboard{background-position:-160px -128px;}.ui-icon-copy{background-position:-176px -128px;}.ui-icon-contact{background-position:-192px -128px;}.ui-icon-image{background-position:-208px -128px;}.ui-icon-video{background-position:-224px -128px;}.ui-icon-script{background-position:-240px -128px;}.ui-icon-alert{background-position:0 -144px;}.ui-icon-info{background-position:-16px -144px;}.ui-icon-notice{background-position:-32px -144px;}.ui-icon-help{background-position:-48px -144px;}.ui-icon-check{background-position:-64px -144px;}.ui-icon-bullet{background-position:-80px -144px;}.ui-icon-radio-off{background-position:-96px -144px;}.ui-icon-radio-on{background-position:-112px -144px;}.ui-icon-pin-w{background-position:-128px -144px;}.ui-icon-pin-s{background-position:-144px -144px;}.ui-icon-play{background-position:0 -160px;}.ui-icon-pause{background-position:-16px -160px;}.ui-icon-seek-next{background-position:-32px -160px;}.ui-icon-seek-prev{background-position:-48px -160px;}.ui-icon-seek-end{background-position:-64px -160px;}.ui-icon-seek-start{background-position:-80px -160px;}.ui-icon-seek-first{background-position:-80px -160px;}.ui-icon-stop{background-position:-96px -160px;}.ui-icon-eject{background-position:-112px -160px;}.ui-icon-volume-off{background-position:-128px -160px;}.ui-icon-volume-on{background-position:-144px -160px;}.ui-icon-power{background-position:0 -176px;}.ui-icon-signal-diag{background-position:-16px -176px;}.ui-icon-signal{background-position:-32px -176px;}.ui-icon-battery-0{background-position:-48px -176px;}.ui-icon-battery-1{background-position:-64px -176px;}.ui-icon-battery-2{background-position:-80px -176px;}.ui-icon-battery-3{background-position:-96px -176px;}.ui-icon-circle-plus{background-position:0 -192px;}.ui-icon-circle-minus{background-position:-16px -192px;}.ui-icon-circle-close{background-position:-32px -192px;}.ui-icon-circle-triangle-e{background-position:-48px -192px;}.ui-icon-circle-triangle-s{background-position:-64px -192px;}.ui-icon-circle-triangle-w{background-position:-80px -192px;}.ui-icon-circle-triangle-n{background-position:-96px -192px;}.ui-icon-circle-arrow-e{background-position:-112px -192px;}.ui-icon-circle-arrow-s{background-position:-128px -192px;}.ui-icon-circle-arrow-w{background-position:-144px -192px;}.ui-icon-circle-arrow-n{background-position:-160px -192px;}.ui-icon-circle-zoomin{background-position:-176px -192px;}.ui-icon-circle-zoomout{background-position:-192px -192px;}.ui-icon-circle-check{background-position:-208px -192px;}.ui-icon-circlesmall-plus{background-position:0 -208px;}.ui-icon-circlesmall-minus{background-position:-16px -208px;}.ui-icon-circlesmall-close{background-position:-32px -208px;}.ui-icon-squaresmall-plus{background-position:-48px -208px;}.ui-icon-squaresmall-minus{background-position:-64px -208px;}.ui-icon-squaresmall-close{background-position:-80px -208px;}.ui-icon-grip-dotted-vertical{background-position:0 -224px;}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px;}.ui-icon-grip-solid-vertical{background-position:-32px -224px;}.ui-icon-grip-solid-horizontal{background-position:-48px -224px;}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px;}.ui-icon-grip-diagonal-se{background-position:-80px -224px;}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;}.ui-widget-overlay{background:#aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.30;filter:Alpha(Opacity=30);}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.30;filter:Alpha(Opacity=30);-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px;}.ui-resizable{position:relative;}.ui-resizable-handle{position:absolute;font-size:0.1px;z-index:99999;display:block;}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none;}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0;}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0;}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%;}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%;}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px;}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px;}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px;}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px;}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black;}.ui-accordion{width:100%;}.ui-accordion .ui-accordion-header{cursor:pointer;position:relative;margin-top:1px;zoom:1;}.ui-accordion .ui-accordion-li-fix{display:inline;}.ui-accordion .ui-accordion-header-active{border-bottom:0 !important;}.ui-accordion .ui-accordion-header a{display:block;font-size:1em;padding:.5em .5em .5em .7em;}.ui-accordion-icons .ui-accordion-header a{padding-left:2.2em;}.ui-accordion .ui-accordion-header .ui-icon{position:absolute;left:.5em;top:50%;margin-top:-8px;}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;margin-top:-2px;position:relative;top:1px;margin-bottom:2px;overflow:auto;display:none;zoom:1;}.ui-accordion .ui-accordion-content-active{display:block;}.ui-autocomplete{position:absolute;cursor:default;}* html .ui-autocomplete{width:1px;}.ui-menu{list-style:none;padding:2px;margin:0;display:block;float:left;}.ui-menu .ui-menu{margin-top:-3px;}.ui-menu .ui-menu-item{margin:0;padding:0;zoom:1;float:left;clear:left;width:100%;}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:.2em .4em;line-height:1.5;zoom:1;}.ui-menu .ui-menu-item a.ui-state-hover,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px;}.ui-dialog{position:absolute;padding:.2em;width:300px;overflow:hidden;}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative;}.ui-dialog .ui-dialog-title{float:left;margin:.1em 16px .1em 0;}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:19px;margin:-10px 0 0 0;padding:1px;height:18px;}.ui-dialog .ui-dialog-titlebar-close span{display:block;margin:1px;}.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus{padding:0;}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto;zoom:1;}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin:.5em 0 0 0;padding:.3em 1em .5em .4em;}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right;}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer;}.ui-dialog .ui-resizable-se{width:14px;height:14px;right:3px;bottom:3px;}.ui-draggable .ui-dialog-titlebar{cursor:move;}.ui-slider{position:relative;text-align:left;}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0;}.ui-slider-horizontal{height:.8em;}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em;}.ui-slider-horizontal .ui-slider-range{top:0;height:100%;}.ui-slider-horizontal .ui-slider-range-min{left:0;}.ui-slider-horizontal .ui-slider-range-max{right:0;}.ui-slider-vertical{width:.8em;height:100px;}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em;}.ui-slider-vertical .ui-slider-range{left:0;width:100%;}.ui-slider-vertical .ui-slider-range-min{bottom:0;}.ui-slider-vertical .ui-slider-range-max{top:0;}.ui-tabs{position:relative;padding:.2em;zoom:1;}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0;}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:1px;margin:0 .2em 1px 0;border-bottom:0 !important;padding:0;white-space:nowrap;}.ui-tabs .ui-tabs-nav li a{float:left;padding:.5em 1em;text-decoration:none;}.ui-tabs .ui-tabs-nav li.ui-tabs-selected{margin-bottom:0;padding-bottom:1px;}.ui-tabs .ui-tabs-nav li.ui-tabs-selected a,.ui-tabs .ui-tabs-nav li.ui-state-disabled a,.ui-tabs .ui-tabs-nav li.ui-state-processing a{cursor:text;}.ui-tabs .ui-tabs-nav li a,.ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a{cursor:pointer;}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none;}.ui-tabs .ui-tabs-hide{display:none !important;}.ui-datepicker{width:15em;padding:.1em .1em 0;display:none;z-index:999999 !important;}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0;}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em;}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px;}.ui-datepicker .ui-datepicker-prev{left:2px;}.ui-datepicker .ui-datepicker-next{right:2px;}.ui-datepicker .ui-datepicker-prev-hover{left:1px;}.ui-datepicker .ui-datepicker-next-hover{right:1px;}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px;}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center;}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0;}.ui-datepicker select.ui-datepicker-month-year{width:100%;}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%;}.ui-datepicker table{width:100%;font-size:.8em;border-collapse:collapse;margin:0 0 .4em;}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0;}.ui-datepicker td{border:0;padding:1px;}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none;}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0;}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .4em .3em .4em;width:auto;overflow:visible;}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left;}.ui-datepicker-trigger{cursor:pointer;margin:0 3px -2px 0;}.ui-datepicker.ui-datepicker-multi{width:auto;}.ui-datepicker-multi .ui-datepicker-group{float:left;}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em;}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%;}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%;}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%;}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header{border-left-width:0;}.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0;}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left;}.ui-datepicker-row-break{clear:both;width:100%;font-size:0em;}.ui-datepicker-rtl{direction:rtl;}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto;}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto;}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto;}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto;}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right;}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left;}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current{float:right;}.ui-datepicker-rtl .ui-datepicker-group{float:right;}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header{border-right-width:0;border-left-width:1px;}.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px;}.ui-datepicker-cover{display:none; display:block; position:absolute; z-index:-1; filter:mask(); top:-4px; left:-4px; width:200px; height:200px;}.ui-progressbar{height:2em;text-align:left;overflow:hidden;}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%;}*{margin:0;padding:0;outline-style:none;}html,body{height:100%;overflow:hidden;}body{background-color:#333;font-family:'Lucida Grande','Gill Sans',Arial,Helvetica,Sans-serif;margin:0;padding:0;font-size:11px;color:#333;}h1{font-size:20px;margin-bottom:10px;}h2{font-size:16px;margin-bottom:10px;}h3{font-size:12px;margin:15px 0 3px 0;}a{color:#0e3e7e;text-decoration:none;}img{border:0;max-width:100%;}a:hover{text-decoration:underline;}a:visited{color:#4679bd;}p{margin:5px 0 15px 0;}option{margin:0 2px;}input,select,textarea{font-size:11px;font-family:'Lucida Grande','Gill Sans',Arial,Helvetica,Sans-serif;}textarea{min-height:40px;overflow:auto;resize:vertical;}ul{margin-bottom:10px;}ul ul{margin:10px;}optgroup{color:#000;font-style:normal;font-weight:normal;}optgroup option{padding-left:10px;}fieldset{border-top:5px solid #eee;border-left:none;border-right:none;border-bottom:none;margin:0;padding:20px 0 10px 0;}legend{padding:5px 30px 5px 5px;font-size:12px;background-color:#eee;font-weight:bold;text-align:left;}iframe{border:none;}::-moz-focus-inner{border:0;padding:0;}input[type="search"]::-webkit-search-decoration{display:none;}input,button,select,textarea{margin:0;}input[type="radio"],input[type="checkbox"]{position:relative;top:1px; top:0\0; *top:-3px;}button,input[type="reset"],input[type="submit"],input[type="button"]{-webkit-appearance:none;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding;background-clip:padding-box;background:#ddd url(../images/btn.png) repeat-x;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,whitesmoke),color-stop(1,#cfd1cf));background:-moz-linear-gradient(top center,whitesmoke 0%,#cfd1cf 100%);border:1px solid;border-color:#ddd #bbb #999;cursor:pointer;color:#333; font-weight:bold;outline:0;overflow:visible;padding:3px 10px;text-shadow:#fff 0 1px 1px;width:auto; *padding-top:2px;*padding-bottom:0px;}button{ *padding-top:1px;*padding-bottom:1px;}textarea,select,input[type="date"],input[type="datetime"],input[type="datetime-local"],input[type="email"],input[type="month"],input[type="number"],input[type="password"],input[type="search"],input[type="tel"],input[type="text"],input[type="time"],input[type="url"],input[type="week"]{-webkit-appearance:none;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-moz-background-clip:padding;-webkit-background-clip:padding;background-clip:padding-box;background-color:#fff;border:1px solid;border-color:#aaa #c1c1c1 #e1e1e1;outline:0;padding:5px 3px 4px 3px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px; *padding-top:2px;*padding-bottom:1px;*height:auto;-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;-moz-transition:border linear 0.2s,box-shadow linear 0.2s;-ms-transition:border linear 0.2s,box-shadow linear 0.2s;-o-transition:border linear 0.2s,box-shadow linear 0.2s;transition:border linear 0.2s,box-shadow linear 0.2s;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);}select{height:25px;line-height:16px;max-width:525px;}::-webkit-input-placeholder{color:#888;}input:-moz-placeholder,textarea:-moz-placeholder{color:#888;}input.placeholder_text,textarea.placeholder_text{color:#888;}:invalid{ -moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;}button:focus,button:active,input:focus,input:active,select:focus,select:active,textarea:focus,textarea:active{outline:0;border-color:rgba(82,168,236,0.8);-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,0.1),0 0 8px rgba(82,168,236,0.6);-moz-box-shadow:inset 0 1px 3px rgba(0,0,0,0.1),0 0 8px rgba(82,168,236,0.6);box-shadow:inset 0 1px 3px rgba(0,0,0,0.1),0 0 8px rgba(82,168,236,0.6); z-index:1;}input[type="file"]:focus,input[type="file"]:active,input[type="radio"]:focus,input[type="radio"]:active,input[type="checkbox"]:focus,input[type="checkbox"]:active{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;}select[disabled],textarea[disabled],input[type="date"][disabled],input[type="datetime"][disabled],input[type="datetime-local"][disabled],input[type="email"][disabled],input[type="month"][disabled],input[type="number"][disabled],input[type="password"][disabled],input[type="search"][disabled],input[type="tel"][disabled],input[type="text"][disabled],input[type="time"][disabled],input[type="url"][disabled],input[type="week"][disabled]{background-color:#eee;}button[disabled],input[disabled],select[disabled],select[disabled] option,select[disabled] optgroup,textarea[disabled]{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#888;cursor:default;}input[readonly],textarea[readonly],select[readonly]{background-color:transparent;border:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}textarea,select[size],select[multiple]{height:auto;}input[type="file"]{border:1px dashed #ccc;border-radius:3px;padding:10px;}@media (-webkit-min-device-pixel-ratio:0) {select{background-image:url(../images/select_arrow.gif);background-repeat:no-repeat;background-position:right center;padding-right:20px;}select[size],select[multiple]{background-image:none;padding:0;}::-webkit-validation-bubble-message{box-shadow:rgba(0,0,0,0.5) 0 0 5px;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#666),color-stop(1,#000));border:1px solid;border-color:#747474 #5e5e5e #4f4f4f;color:#fff;font:13px/17px 'Lucida Grande',Arial,'Liberation Sans',FreeSans,sans-serif;overflow:hidden;padding:15px 15px 17px;text-shadow:#000 0 0 1px;height:16px;}::-webkit-validation-bubble-arrow,::-webkit-validation-bubble-top-outer-arrow,::-webkit-validation-bubble-top-inner-arrow{-webkit-box-shadow:none;box-shadow:none;background:#666;border:0;}}::-webkit-scrollbar{width:12px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 3px rgba(0,0,0,0.4);border-radius:10px;}::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 3px rgba(140,140,140,0.9);}p.instructions{font-size:14px;line-height:18px;}ul.nobullets{list-style:none;}ul.nobullets li{margin-bottom:2px;}.tooltip{cursor:help;text-decoration:none;border-bottom:1px dotted #0e3e7e;}.fillin{color:#aaa;}.clear{clear:both;height:0;font-size:0px;line-height:0px;}.clearfix:before,.clearfix:after{content:"";display:table;}.clearfix:after{clear:both;}.clearfix{zoom:1;}span.required{color:#c30;}.datepicker_hh{margin-right:2px;}.datepicker_mm{margin:0 5px 0 2px;}.unpublished{color:#b30 !important;}.published{color:#690;}.div_vert{background:transparent url(../images/div_vert.png) repeat-y center center;width:2px;height:36px;padding:0 15px;}.search{padding-left:3px;}.show{padding-left:15px;}.loader{margin:auto;width:32px;height:32px;text-align:center;background:#fff url(../images/spinner.gif) no-repeat center center;}.loader_sm{margin:auto;width:16px;height:16px;text-align:center;background:#fff url(../images/spinner_sm.gif) no-repeat center center !important;}.hidden{display:none;}.float_left{float:left;}.float_right{float:right;}.tiny{font-size:9px;}tr.drag{border:1px solid #ccc !important;background-color:#ffe !important}tr.drag td{cursor:move !important;background-color:#ffe !important;}a.editor_viewsource,a.editor_preview{margin:4px 4px 4px 0;display:block;float:left;height:14px;line-height:14px !important;}td.vtop{vertical-align:top;}body .success{background-color:#6ec461;background-repeat:no-repeat;}body .warning{background-color:#ff1;background-repeat:no-repeat;}body .error{background-color:#c30;background-repeat:no-repeat;}body .error li{color:#fff;}body .error li p,body .error li li{margin:0;padding:0;}span.error,span.success,strong.error,strong.success{color:#fff;padding:1px 5px;}span.error a{color:#fff;}span.warning{padding:2px 5px;}span.error_highlight input,span.error_highlight textarea,span.error_highlight select{border:2px solid #c30;}.change{background:#ffe;}.delete{color:#c30;font-weight:bold;}a.delete{color:#c30;display:block;float:left;margin-top:10px;border:1px solid #ccc;padding:5px;}a.btn{border:1px solid #ccc;height:27px;line-height:27px;display:block;padding:0 15px 0 15px;float:left;}div.btn{border:1px solid #ccc;float:left;list-style:none;margin:0;padding:0 15px 0 0px;line-height:27px;}.btn input,.btn .button{border:none;height:19px;}a.btn,div.btn,.btn input,.btn .button{background:-webkit-gradient(linear,left top,left bottom,color-stop(0,whitesmoke),color-stop(1,#cfd1cf));background:-moz-linear-gradient(top center,whitesmoke 0%,#cfd1cf 100%);}.update_notice{background:#FFFBCC;border:1px solid #E6DB55;margin-bottom:10px;padding:4px 5px;}.update_notice a{font-style:italic;text-decoration:underline;}.update_notice a:hover{text-decoration:none;}.repeatable{background-color:#fdfdfd;position:relative;padding:10px;border:1px solid #eee;margin:0 10px 10px 0;min-width:300px;}.repeatable .grabber{min-height:10px;overflow:hidden;margin:0 auto 10px auto !important;padding-right:60px !important;background:transparent url(../images/markitup/handle.png) no-repeat center center;cursor:move;}.repeatable .remove{position:absolute;top:15px;right:15px;}.repeatable td>.remove{position:static;}.add_another{padding:10px;float:left;}.repeatable.ui-sortable-helper{-moz-box-shadow:1px 3px 5px 1px rgba(0,0,0,0.1);-webkit-box-shadow:1px 3px 5px 1px rgba(0,0,0,0.1);box-shadow:1px 3px 5px 1px rgba(0,0,0,0.1);}.repeatable_container.repeatable_container_condensed .repeatable{margin:0;padding:1px 5px;}.repeatable_container.repeatable_container_condensed .repeatable .grabber{float:left;}.repeatable_container.non_sortable .grabber{display:none;}.MultiFile-remove{line-height:22px;padding:0 3px;border:1px solid #ccc;background-color:#f9f9f9;}.tDnD_whileDrag{background-color:#ff1 !important;}.overwrite_field{margin-top:3px;}.overwrite_field input{margin-top:6px;}fieldset.tab{display:none;}fieldset.tab fieldset{display:block;}fieldset.collapsible legend{cursor:pointer;}div#fuel_footer{font-size:9px;position:absolute;left:0px;bottom:0px;right:0px;text-align:center;color:#ccc;padding:3px;height:14px;}div#fuel_footer a{color:#fff;}div#fuel_boilerplate{line-height:12px;}div#fuel_body{}div#fuel_top{z-index:2;line-height:28px;height:30px;background-color:#393939;color:#fff;padding:0 10px;color:#fff;text-shadow:#444 0px 1px 0px;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#5d5d5d),color-stop(1,#393939));background:-moz-linear-gradient(top center,#5d5d5d 0%,#393939 100%);}div#fuel_top a:hover{text-decoration:underline;}h1#fuel_site_name{float:left;font-size:18px;width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}h1#fuel_site_name a{color:#999;text-shadow:#111 0px -1px 0px;text-decoration:none;}h1#fuel_site_name a:hover{color:#aaa;text-decoration:none;}div#fuel_left_panel{z-index:1;position:absolute;top:30px;left:0px;bottom:0px;width:200px;background-color:#333;overflow:auto;border-right:1px solid #292929;overflow-x:hidden;-moz-box-shadow:inset -5px 5px 20px 5px #2f2f2f;-webkit-box-shadow:inset -5px 5px 20px 5px #2f2f2f;box-shadow:inset -5px 5px 20px 5px #2f2f2f;}div#fuel_left_panel a{color:#999;text-decoration:none;text-shadow:#000 0px 1px 0px;display:block;overflow:hidden;text-overflow:ellipsis;width:130px;}div#fuel_left_panel a:hover{color:#bbb;text-decoration:underline;}div#fuel_left_panel_inner{padding:10px;text-shadow:#000 0px 1px 0px;}div#fuel_left_panel_inner h3{margin:0;cursor:pointer;font-size:11px;color:#999;text-transform:uppercase;background:transparent url(../images/toggle_arrow_down.png) no-repeat 0px 3px;padding-left:15px;margin-bottom:2px;}div#fuel_left_panel_inner h3.closed{background-image:url(../images/toggle_arrow_right.png);background-position:1px 3px;}div#fuel_left_panel_inner li{list-style:none;margin:0 -15px 0 -20px;padding:0 30px 0 30px;width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}div#fuel_left_panel_inner li.active{background:transparent url(../images/leftnav_on.png) repeat-x;color:#fff;}div#fuel_left_panel_inner li.active a{color:#fff;text-shadow:#555 0px 1px 0px;}div#fuel_left_panel_inner li ul li a{margin-left:15px;}div#fuel_left_panel_inner li.active ul li.active{background:none;}div#fuel_left_panel_inner li.active ul li a{color:#333;text-decoration:none;text-shadow:#fff 0px 1px 0px;background:none;}div#fuel_left_panel_inner li.active ul li.active a{text-decoration:underline;}.ico{display:block;padding-left:24px;list-style:none;background-position:5px 2px;background-repeat:no-repeat;line-height:20px;background-image:url(../images/fuel_icons.png);min-width:16px;min-height:16px;}h2.ico{margin-top:5px;line-height:21px !important;}.ico_activate,.ico_publish{background-position:5px -1071px;}.ico_assets{background-position:5px -1478px;}.ico_blocks{background-position:5px -109px;}.ico_cancel,.ico_error,.ico_no,.ico_remove_line{background-position:5px -220px;}.ico_categories{background-position:5px -553px;}.ico_create{background-position:5px -923px;}.ico_dashboard{background-position:5px -664px;}.ico_deactivate,.ico_unpublish{background-position:5px -1145px;}.ico_delete{background-position:5px -997px;}.ico_duplicate{background-position:5px -960px;}.ico_export{background-position:5px -1034px;}.ico_fuel{background-position:5px -590px;}.ico_info{background-position:15px -737px;}.ico_logs{background-position:5px -183px;}.ico_manage_cache{background-position:5px -1108px;}.ico_menu{background-position:5px -2014px;}.ico_module,.ico_other{background-position:5px -368px;}.ico_navigation{background-position:5px -1515px;}.ico_navigation_download{background-position:5px -1997px;}.ico_navigation_group{background-position:5px -294px;}.ico_notes{background-position:5px -886px;}.ico_pages{background-position:5px -812px;}.ico_pages_upload,.ico_navigation_upload,.ico_blocks_upload{background-position:5px -1293px;}.ico_permissions{background-position:5px -775px;}.ico_precedence{background-position:5px -1737px;}.ico_refresh{background-position:5px -146px;}.ico_remove_line{float:right;}.ico_replace{background-position:5px -1182px;}.ico_save{background-position:5px -442px;}.ico_select_all{background-position:5px -1330px;}.ico_settings{background-position:5px -1700px;}.ico_sitevariables{background-position:5px -1219px;}.ico_success,.ico_yes{background-position:5px -332px;}.ico_table{background-position:5px -1663px;width:16px;height:16px;}.ico_tags{background-position:5px -1774px;}.ico_tools{background-position:5px -1959px;}.ico_tree{background-position:5px -1885px;}.ico_view{background-position:5px -849px;}.ico_view_all{background-image:none;line-height:22px;padding-left:5px;}.ico_users{background-position:5px -1589px;}.ico_users_send_email{background-position:5px -482px;}.ico_warn{background-position:15px -516px;}.notification .ico_success,.notification .ico_yes{background-position:15px -330px;}.notification .ico_error{background-position:15px -220px;}div#fuel_main_panel{position:absolute;top:0;left:201px;right:0px;bottom:0px;background-color:#fff;-webkit-transition:all 0.2s cubic-bezier(0.445,0,0,1);-moz-transition:all 0.2s cubic-bezier(0.445,0,0,1);-ms-transition:all 0.2s cubic-bezier(0.445,0,0,1);-o-transition:all 0.2s cubic-bezier(0.445,0,0,1);transition:all 0.2s cubic-bezier(0.445,0,0,1);}#nav_toggle{opacity:0.9;}#nav_toggle{position:absolute;left:182px;top:0;font-size:1.3em;color:#fff;opacity:0.5;cursor:pointer;display:block;padding-left:25px;background:url(../images/icons/ico_nav_list.png) no-repeat left center;background-size:50%;text-indent:-10000px;}.nav_hide div#fuel_main_panel,div#fuel_left_panel{top:30px;left:0px;}body.nav_hide{overflow:hidden;width:100%;display:block;position:relative;}body.nav_hide,div#fuel_main_panel{min-width:700px;}.nav_hide div#fuel_top{height:30px;line-height:30px;}.nav_hide div#fuel_left_panel{left:-201px;z-index:50;-webkit-transform:translateX(201px);-moz-transform:translateX(201px);-ms-transform:translateX(201px);-o-transform:translateX(201px);transform:translateX(201px);}.nav_hide div#fuel_main_panel{left:0px;z-index:100;}.nav_hide h1#fuel_site_name{width:auto;display:block;float:none;padding:0 100px 0 85px;text-align:center;}.nav_hide div#fuel_left_panel_inner li.active{-webkit-background-size:auto 100%;background-size:auto 100%;}.nav_hide #nav_toggle{position:absolute;left:15px;top:0;font-size:1.3em;color:#fff;opacity:0.5;cursor:pointer;display:block;padding-left:20px;background-size:27%;text-indent:0;}.nav_hide div#fuel_main_panel{-webkit-transform:translateX(0px);-moz-transform:translateX(0px);-ms-transform:translateX(0px);-o-transform:translateX(0px);transform:translateX(0px);}@media only screen and (min-device-width:768px) and (max-device-width:1024px) {div#fuel_left_panel a{font-size:1.2em;line-height:2em;}}@media only screen and (min-device-width:320px) and (max-device-width:480px) {div#fuel_left_panel a{font-size:1.2em;line-height:2em;}}div#fuel_main_top_panel{height:29px;font-size:13px;color:#fff;background-color:#e7e7e7;border-bottom:1px solid #ccc;overflow:hidden;}div#fuel_main_top_panel h2{color:#333;text-shadow:#fff 0px 1px 0px;line-height:30px;margin-left:11px;}div#fuel_main_top_panel h2 a{color:#0E3E7E;}div#fuel_main_top_panel li{float:left;display:block;list-style:none;line-height:29px;font-weight:bold;border-right:1px solid #6e6e6e;}div#fuel_main_top_panel li a{display:block;color:#fff;text-shadow:#555 0px 1px 0px;background:#6d6d6d url(../images/tab.png) repeat-x;padding:0 15px;}div#fuel_main_top_panel li a:hover{background:#7c7c7c url(../images/tab.png) repeat-x 0 -29px;}div#fuel_main_top_panel li.active a{background:#e7e7e7 url(../images/tab.png) repeat-x 0 -58px;color:#113556;text-shadow:#fff 0px 1px 0px;}div#fuel_login_logout{position:absolute;top:8px;right:15px;font-size:11px;color:#333;background-color:#e7e7e7;height:21px;text-shadow:#fff 0px 1px 0px;}div#fuel_actions{height:46px;border-bottom:1px solid #b6b6b6;position:relative;min-width:680px;background:#eee;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,whiteSmoke),color-stop(1,#cfd1cf));background:-moz-linear-gradient(top center,#f6f6f6 0%,#ddd 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6',endColorstr='#dddddd');}div#fuel_main_content{overflow:auto;position:absolute;top:99px;left:0px;right:0px;bottom:0px;}div#fuel_main_content .buttonbar li,#fuel_main_content_compact .buttonbar li{margin-right:15px;}div#fuel_main_content_inner h3{background-color:#f6f6f6;padding:5px;margin-bottom:10px;}div#fuel_main_content_inner{padding:15px 37px;}div#fuel_main_content_inner .bullets{margin-left:15px;}div.noactions{top:51px !important;}div.notitlebar{top:69px !important;}div.noactions_notitlebar{top:22px !important;}div.noactions_nonotification{top:30px !important;}div#fuel_main_panel_compact{position:absolute;top:0px;left:0px;right:0px;bottom:0px;background-color:#fff;}div#fuel_main_content_compact{background-color:#fff;overflow:auto;position:absolute;top:99px;left:0px;right:0px;bottom:0px;}div.dashboard_pod{float:left;margin-right:10px}div.dashboard_module{float:left;margin-right:10px;margin-top:10px;}div#filters{position:absolute;right:15px;top:12px;}a#multi_delete{display:block;}.adv_search{position:absolute;min-width:360px;background:white;border:1px solid #b6b6b6;z-index:1000;left:-120px;padding:10px 15px;display:none;-moz-box-shadow:1px 3px 5px 1px rgba(0,0,0,0.3);-webkit-box-shadow:1px 3px 5px 1px rgba(0,0,0,0.3);box-shadow:2px 2px 10px 1px rgba(0,0,0,0.3);}}.adv_search .more_filters{max-height:500px;overflow-y:auto;}.adv_search .more_filters div div{float:none;overflow:hidden;margin-bottom:7px;}.adv_search .label{width:100px;}.adv_search input[type="text"]{max-width:217px;}.search_input{position:relative;}#search_term.advanced{padding-right:15px;}.search_input #adv-search-btn{position:absolute;right:4px;top:5px;padding-top:5px;height:10px;background-color:#fff;}div#other_items{float:left;margin:2px 20px 0px 20px;}div#other_items select{max-width:250px;}div#action_btns{position:absolute;top:9px;left:15px;height:29px;overflow:hidden;}div.buttonbar ul{height:27px;float:left;}div.buttonbar li{border-top:1px solid #ccc;border-left:1px solid #b9b9b9;border-bottom:1px solid #b9b9b9;float:left;list-style:none;margin:0;background:#e6e6e6 url(../images/btn.png) repeat-x;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fff),color-stop(1,#ddd));background:-moz-linear-gradient(top center,#fff 0%,#ddd 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#dddddd');}div.buttonbar li:hover{background-position:0 -27px;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fff),color-stop(1,#eee));background:-moz-linear-gradient(top center,#fff 0%,#eee 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#eeeeee');-moz-box-shadow:inset 0 0 5px #ddd;-webkit-box-shadow:inset 0 0 5px #ddd;box-shadow:inner 0 0 5px #ddd;}div.buttonbar li.active{background-position:0 -54px;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#ddd),color-stop(1,#fff));background:-moz-linear-gradient(top center,#ddd 0%,#fff 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dddddd',endColorstr='#ffffff');}div.buttonbar li.active a{color:#000;}div.buttonbar li a{color:#0e3e7e;height:22px;line-height:20px;display:block;padding:0 11px 1px 26px;margin-top:4px;}div.buttonbar li.spacer,li.unattached{margin-left:10px;}div.buttonbar li:last-child,li.unattached{border-right:1px solid #b9b9b9;}div.buttonbar li.end{border-right:1px solid #b9b9b9;}div.buttonbar li:first-child,div.buttonbar li.unattached{-webkit-border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-topleft:4px;-moz-border-radius-bottomleft:4px;border-top-left-radius:4px;border-bottom-left-radius:4px;}div.buttonbar li:last-child,div.buttonbar li.unattached{-webkit-border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;}div.buttonbar li.start{border-left:1px solid #b9b9b9;}div.save_cancel{height:35px;}div.save_cancel li{margin:5px 3px;}div.form_tabs li{padding:5px 15px;list-style:none;margin:0 3px 0 0;border-left:1px solid #eee;border-right:1px solid #eee;border-top:1px solid #eee;text-align:center;float:left;font-weight:bold;background-color:#ffffff;-webkit-border-top-left-radius:4px;-webkit-border-top-right-radius:4px;-moz-border-radius-topleft:4px;-moz-border-radius-topright:4px;border-top-left-radius:4px;border-top-right-radius:4px;}div.form_tabs li.active{background-color:#eee;}div.form_tabs li.active a{color:#333;}div.boxbuttons li{float:left;display:block;list-style:none;width:110px;height:60px;border:1px solid #ccc;margin-bottom:15px;margin-right:15px;}div.boxbuttons li a{display:block;text-align:center;padding:10px 5px 5px 5px;width:100px;height:45px;background-color:#fff;}div.boxbuttons li a:hover{background-color:#f6f6f6;}div.boxbuttons li i{display:block;padding:0;margin:auto;width:21px;height:22px;padding-right:5px;}div#fuel_notification{height:21px;border-bottom:1px solid #ccc;background-color:#ecf1f5;text-overflow:ellipsis;overflow:hidden;position:relative;}div.notification p,div.notification div,div.notification ul{margin:0;min-height:15px;line-height:15px;padding:3px 0 3px 35px;list-style:none;background-repeat:no-repeat;list-style:none;}div.notification .ico{line-height:15px;}div#pagination{position:absolute;z-index:1;right:0px;top:-3px;text-align:right;padding-right:25px;}div#pagination a{line-height:21px;padding:0 3px;border:1px solid #ccc;background-color:#f9f9f9;}div#pagination a:hover{background-color:#fdfdfd;}div#pagination b{color:#fff;background-color:#4f7193;line-height:21px;padding:0 3px;border:1px solid #ccc;}div#module_description{border-bottom:1px solid #ccc;background-color:#f6f6f6;padding:15px;}div#module_description p{margin:0;}div#table_loader{position:absolute;top:20px;left:50%;margin-left:-25px;z-index:2;}div#data_table_container{padding:6px 0;}#data_table .publish_hover:hover .publish_action{display:inline;}#data_table .publish_hover:hover .publish_text{display:none;}table#data_table.rearrange tr:hover td{cursor:move !important;background-color:#ffe !important;}table.data{width:98%;margin:0px auto;}table.data th{padding:0 20px 0 0;white-space:nowrap;}table.data td{padding:5px 20px;border-top:1px solid #fff;white-space:nowrap;max-width:300px;text-overflow:ellipsis;overflow:hidden;}table.data th.on,table.data th.on a{color:#4f7193;}table.data th a{text-decoration:underline;}table.data th a,table.data th span{color:#333;display:block;line-height:22px;padding:0 0 0 20px;width:100%;border-left:1px solid #fff;}table.data th.asc a{background:transparent url(../images/th_arrow_asc.png) no-repeat 5px center;}table.data th.desc a{background:transparent url(../images/th_arrow_desc.png) no-repeat 5px center;}table.data th{text-align:left;}table.data td.next_last{width:100%;}table.data td.actions{text-align:right;white-space:nowrap;padding-left:5px;}table.data tr.rowaction:hover td{background-color:#edf2f7 !important;cursor:pointer;}table.data th.col1{min-width:200px;}table.data tr.alt{background-color:#f3f3f3;}div.nodata{text-align:center;padding:10px 0 15px 0;}span.publish_col{width:100px;display:block;cursor:pointer !important;}.form{border:none;border-spacing:0;display:table;}.form td.label{padding:6px 15px 0 0;font-weight:bold;vertical-align:top;}.form td.value{padding:3px 0;white-space:nowrap;}.form td.required{padding-top:10px;}div.more_filters{padding-left:10px;}div.more_filters span.label{float:left;padding-top:6px;}div.more_filters span.field{float:left;display:block;padding:0 0 0 5px;}div.more_filters div div{float:left;margin-right:10px;}div#tree_container{padding:16px 15px;}div#tree_loader{position:absolute;top:20px;left:50%;margin-left:-25px;z-index:2;}div#login{padding:15% 0 0 0;border:none;background-color:transparent;margin:0 auto;}div#login h3,div#login p{color:#fff;text-align:center;}div#login form{width:270px;margin:0 auto;}div#login input{background-color:#1d1d1d;color:#fff;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;border:2px solid #444;height:40px;width:270px;padding:0 1em;}.login_logo{background:transparent url(../images/fuel_logo.png) no-repeat;background-size:100%;width:233px;height:46px;overflow:hidden;margin:0 auto 1.5em auto;}div#login::-webkit-input-placeholder{color:#999;}div#login:-moz-placeholder{color:#999;}div#login:-ms-input-placeholder{color:#999;}div#login input[type="submit"]{background:#3dbfd9 !important;color:#fff;font-size:20px;text-shadow:none;}div#login_notification{text-overflow:ellipsis;overflow:hidden;width:440px;margin:auto;}a#forgotten_pwd{text-align:center;display:block;padding-top:15px;padding-left:20px;color:#999;}a.modal_close{position:absolute;left:-11px;top:-11px;z-index:10;background:transparent url(../images/x_close.png) no-repeat center center;width:23px;height:23px;text-indent:-10000px;overflow:hidden;}div.modal_content{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background-color:#fff;width:100%;height:100%; overflow:hidden;}div.modal_content iframe{width:100% !important;}div.modal_content_inner{padding:10px 20px;}div#asset_preview{height:275px;width:740px;overflow:auto;text-align:center;margin:10px 0 20px 0;}div.asset_select > div > div{float:left;}div.asset_select span.label{padding:0 5px 0 15px;}div.asset_select div.actions{padding-top:50px;float:left;}div.img_crop{max-width:400px;max-height:200px;overflow:auto;}div#yes_no_modal{text-align:center;margin:0;}div#yes_no_modal ul{float:none;}div#yes_no_modal li{display:inline-block;margin-right:5px;float:none;}div#__FUEL_modal__{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;width:98%;max-width:864px;margin-left:-425px;max-height:508px;background-color:#fff;}div#__FUEL_modal__ .add_inline_button,div#__FUEL_modal__ .edit_inline_button{display:none;}a.btn_field_right{display:block;float:right;margin-bottom:5px;margin-right:3px;}div.img_display{float:right;overflow:auto;height:120px;width:300px;}div.viewpage_modal{top:16px;border:2px solid #666;background-color:#fff;height:96% !important;width:96% !important;max-width:96% !important;max-height:96% !important;padding:0;display:none;}div#viewpage_btns{position:absolute;z-index:1;top:-17px;right:-2px;}a.viewpage_btn{float:left;margin-right:2px;color:#ccc;background-color:#666;padding:1px 5px;}a#viewpage_close{right:0px;}a#viewpage_new_page{right:100px;}iframe#viewpage_iframe{border:none;width:100%;height:100%;}input#Save,input.submit{margin-top:10px;width:150px;text-align:center;}input#Cancel,input.cancel{margin-top:10px;margin-right:10px;width:60px;text-align:center;}div#tooltip h3{font-size:11px;font-weight:normal;}a.btn_field{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;line-height:12px;border:1px solid #ccc;padding:3px 5px 3px 5px;background:#eee url(../images/btn.png) repeat-x;}a.btn_field:hover{background-position:0 -27px;}a#back_to{margin-bottom:20px;display:block;}.hidden_form{visibility:hidden;height:0px;overflow:hidden;}div#related_items{float:right;width:210px;background-color:#ecf1f5;border-left:1px solid #ccc;border-bottom:1px solid #ccc;padding:10px;}div#related_items h3{background-color:transparent;padding-left:24px;margin-top:5px;}div#related_items li{list-style:none;padding-left:5px;margin:5px 0;}div#related_items select{max-width:212px;}div#related_items .layout_preview{max-width:210px;margin:10px auto;}a.reset{display:block;width:16px;height:16px;background:transparent url(../images/fuel_icons.png) no-repeat 0px -146px;margin-right:5px;}div.perms_list ul ul{margin:10px;}div.perms_list ul li{margin:8px 0 8px;list-style:none;display:block;}div.perms_list ul li input{margin-right:2px;}div.perms_list ul ul li{margin:8px 0 8px 10px;}div.perms_list label{font-weight:bold;}.match_class{display:block;position:absolute;z-index:10;margin-bottom:0px;min-height:30px;}.match_class span{display:inline-block;cursor:pointer;padding:3px;background-color:#fcfce6;border:1px solid #ccc;margin:3px 0 3px 3px;}.multi_field{margin-bottom:10px;display:inline-block;padding-top:2px;}.cke_top{min-width:565px !important;}.cke_button__fuellink_icon{background:url(../js/editors/ckeditor/skins/moono/icons.png) no-repeat 0 -528px !important;}.cke_button__fuelunlink_icon{background:url(../js/editors/ckeditor/skins/moono/icons.png) no-repeat 0 -552px !important;}.cke_button__fuelimage_icon{background:url(../js/editors/ckeditor/skins/moono/icons.png) no-repeat 0 -360px !important;}#codeigniter_profiler{position:absolute;bottom:0;left:200px;height:300px;overflow:auto;} \ No newline at end of file +.jqmWindow{display:none;position:fixed;top:50px;left:50%;margin-left:-202px;color:#333;width:400px;border:2px solid #666;z-index:300000;background-color:#fff;word-wrap:break-word;border:1px solid #ccc;display:none;-moz-box-shadow:1px 0px 5px 1px rgba(0,0,0,0.3);-webkit-box-shadow:1px 0px 5px 1px rgba(0,0,0,0.3);box-shadow:1px 0px 5px 1px rgba(0,0,0,0.3);}.jqmOverlay{background-color:#000;}* iframe.jqm{position:absolute;top:0;left:0;z-index:-1;width:expression(this.parentNode.offsetWidth+'px');height:expression(this.parentNode.offsetHeight+'px');}* html .jqmWindow{position:absolute;top:expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(8 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');}#__fuel_tooltip__{position:absolute;z-index:1000000;border:1px solid #ccc;background-color:#ffffcc;padding:3px;font-size:10px !important;font-weight:normal;width:200px;color:#333;}#__fuel_tooltip__ h3,#__fuel_tooltip__ div{margin:0;font-size:11px !important;font-weight:bold;}.treeview,.treeview ul{padding:0;margin:0;list-style:none;}.treeview ul{background-color:white;margin-top:4px;}.treeview .hitarea{background:url(../images/treeview/treeview-default.gif) -64px -25px no-repeat;height:16px;width:16px;margin-left:-16px;float:left;cursor:pointer;}* html .hitarea{display:inline;float:none;}.treeview li{margin:0;padding:3px 0pt 3px 16px;}.treeview a.selected{background-color:#eee;}#treecontrol{margin:1em 0;display:none;}.treeview .hover{cursor:pointer;}.treeview li{background:url(../images/treeview/treeview-default-line.gif) 0 0 no-repeat;}.treeview li.collapsable,.treeview li.expandable{background-position:0 -176px;}.treeview .expandable-hitarea{background-position:-80px -3px;}.treeview li.last{background-position:0 -1766px}.treeview li.lastCollapsable,.treeview li.lastExpandable{background-image:url(../images/treeview/treeview-default.gif);}.treeview li.lastCollapsable{background-position:0 -111px}.treeview li.lastExpandable{background-position:-32px -67px}.treeview div.lastCollapsable-hitarea,.treeview div.lastExpandable-hitarea{background-position:0;}.treeview-red li{background-image:url(../images/treeview/treeview-red-line.gif);}.treeview-red .hitarea,.treeview-red li.lastCollapsable,.treeview-red li.lastExpandable{background-image:url(../images/treeview/treeview-red.gif);}.treeview-black li{background-image:url(../images/treeview/treeview-black-line.gif);}.treeview-black .hitarea,.treeview-black li.lastCollapsable,.treeview-black li.lastExpandable{background-image:url(../images/treeview/treeview-black.gif);}.treeview-gray li{background-image:url(../images/treeview/treeview-gray-line.gif);}.treeview-gray .hitarea,.treeview-gray li.lastCollapsable,.treeview-gray li.lastExpandable{background-image:url(../images/treeview/treeview-gray.gif);}.treeview-famfamfam li{background-image:url(../images/treeview/treeview-famfamfam-line.gif);}.treeview-famfamfam .hitarea,.treeview-famfamfam li.lastCollapsable,.treeview-famfamfam li.lastExpandable{background-image:url(../images/treeview/treeview-famfamfam.gif);}.filetree li{padding:3px 0 2px 16px;}.filetree span.folder,.filetree span.file{padding:1px 0 1px 16px;display:block;}.filetree span.folder{background:url(../images/treeview/folder.gif) 0 0 no-repeat;}.filetree li.expandable span.folder{background:url(../images/treeview/folder-closed.gif) 0 0 no-repeat;}.filetree span.file{background:url(../images/treeview/file.gif) 0 0 no-repeat;}.supercomboselect_wrapper{position:relative;width:655px;height:220px;float:left;}.supercomboselect_left,.supercomboselect_right{position:absolute;top:0px;z-index:2;width:300px;}.supercomboselect_left{left:0px;}.supercomboselect_right{right:0px;}.supercomboselect_btns{position:absolute;left:50%;top:30%;margin-left:-20px !important;width:40px;text-align:center;z-index:1;}.supercomboselect_btns input{display:block;width:40px;margin:auto;margin-top:3px;}.supercomboselect{height:180px;overflow-y:auto;overflow-x:hidden;border:1px solid #ccc;background-color:#fff;}.supercomboselect ul{margin:0;padding:0;cursor:pointer;}.supercomboselect li{-moz-user-select:none;background-color:#fff;margin:0;padding:3px 20px 3px 10px;border-bottom:1px solid #ddd;list-style:none;display:block;overflow:hidden;text-overflow:ellipsis;}.supercomboselect li.selected{background-color:#ffc;}.supercomboselect_search{margin-top:3px;}.supercomboselect_search_text{width:294px;}.supercomboselect_empty_msg{padding:80px 5px 5px 5px;text-align:center;font-weight:bold;color:#ccc;}.supercomboselect_search_highlight{background-color:#ffff99;}.supercomboselect li.ui-sortable-helper{border:1px solid #ddd;}.supercomboselect ul.ui-sortable li{background-image:url(../images/icons/ico_sortable.png);background-repeat:no-repeat;background-position:left center;padding-left:16px;}.supercomboselect li.option_disabled{background-color:#eee;color:#999;}.supercomboselect li.optgrp{background:#DDD;cursor:default;font-weight:bold;padding-left:5px;}.markItUpButton a{background:transparent url(../images/markitup/markitup_icons.png) no-repeat;}.markItUp .bold a{background-position:0 0;}.markItUp .italic a{background-position:0 -456px;}.markItUp .stroke a{background-position:0 -906px;}.markItUp .p a{background-position:0 -792px;}.markItUp .h1 a{background-position:0 -152px;}.markItUp .h2 a{background-position:0 -190px;}.markItUp .h3 a{background-position:0 -228px;}.markItUp .h4 a{background-position:0 -266px;}.markItUp .h5 a{background-position:0 -304px;}.markItUp .h6 a{background-position:0 -342px;}.markItUp .ol a{background-position:0 -570px;}.markItUp .ul a{background-position:0 -1010px;}.markItUp .li a{background-position:0 -532px;}.markItUp .image a{background-position:0 -830px;}.markItUp .link a{background-position:0 -494px;}.markItUp .mailto a{background-position:0 -114px;}.markItUp .clean a{background-position:0 -38px;}.markItUp .preview a{background-position:0 -868px;}.markItUp .help a{background-position:0 -380px;}.markItUp .fuel_var a{background-position:0 -717px;}.markItUp .blockquote a{background-position:0 -76px;}.markItUp .hr a{background-position:0 -976px;}.markItUp .maximize a{background-position:0 -608px;}.markItUp .minimize a{background-position:0 -679px;}.markItUp *{margin:0px;padding:0px;outline:none;}.markItUp a:link,.markItUp a:visited{color:#000;text-decoration:none;}.markItUp{min-width:550px;margin:5px 0 5px 0;}.markItUpContainer{font:11px Verdana,Arial,Helvetica,sans-serif;}.markItUpEditor{font:11px 'Courier New',Courier,monospace;padding-left:5px;width:520px;height:230px;clear:both;display:block;line-height:18px;overflow:auto;border:1px solid #ccc;}.markItUpPreviewFrame{overflow:auto;background-color:#FFFFFF;width:100%;height:280px;margin:5px 0;border:1px solid #ccc;}.markItUpFooter{width:100%;}.markItUpResizeHandle{overflow:hidden;width:22px;height:5px;margin:0 auto 0px auto !important;background-image:url(../images/markitup/handle.png);cursor:n-resize;}.markItUpHeader ul li{list-style:none;float:left;position:relative;padding-top:5px;}.markItUpHeader ul li:hover > ul{display:block;}.markItUpHeader ul .markItUpDropMenu{background:transparent url(../images/markitup/menu.png) no-repeat 115% 50%;margin-right:5px;}.markItUpHeader ul .markItUpDropMenu li{margin-right:0px;}.markItUpHeader ul ul{display:none;position:absolute;top:18px;left:0px;background:#FFF;border:1px solid #000;}.markItUpHeader ul ul li{float:none;border-bottom:1px solid #000;}.markItUpHeader ul ul .markItUpDropMenu{background:#FFF url(../images/markitup/submenu.png) no-repeat 100% 50%;}.markItUpHeader ul .markItUpSeparator{margin:0 10px;width:1px;height:16px;overflow:hidden;background-color:#CCC;}.markItUpHeader ul ul .markItUpSeparator{width:auto;height:1px;margin:0px;}.markItUpHeader ul ul ul{position:absolute;top:-1px;left:150px;}.markItUpHeader ul ul ul li{float:none;}.markItUpHeader ul a{display:block;width:16px;height:16px;text-indent:-10000px;background-repeat:no-repeat;padding:3px;margin:0px;}.markItUpHeader ul ul a{display:block;padding-left:0px;text-indent:0;width:120px;padding:5px 5px 5px 25px;background-position:2px 50%;}.markItUpHeader ul ul a:hover{color:#FFF;background-color:#000;}.ui-helper-hidden{display:none;}.ui-helper-hidden-accessible{position:absolute !important;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none;}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;}.ui-helper-clearfix:after{clear:both;}.ui-helper-clearfix{zoom:1;}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0);}.ui-state-disabled{cursor:default !important;}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;}.ui-widget-overlay{position:absolute;top:0;left:0;width:100%;height:100%;}.ui-widget{font-family:'Lucida Grande',Verdana,Arial,Helvetica,Sans-serif;font-size:1.1em;}.ui-widget .ui-widget{font-size:1em;}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:'Lucida Grande',Verdana,Arial,Helvetica,Sans-serif;font-size:1em;}.ui-widget-content{border:1px solid #aaaaaa;background:#ffffff url(images/ui-bg_glass_75_ffffff_1x400.png) 50% 50% repeat-x;color:#222222;}.ui-widget-content a{color:#222222;}.ui-widget-header{border:1px solid #aaaaaa;background:#cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;color:#222222;font-weight:bold;}.ui-widget-header a{color:#222222;}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#555555;}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555555;text-decoration:none;}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999999;background:#dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121;}.ui-state-hover a,.ui-state-hover a:hover{color:#212121;text-decoration:none;}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaaaaa;background:#ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121;}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none;}.ui-widget:active{outline:none;}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;color:#363636;}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636;}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url(images/ui-bg_inset-soft_95_fef1ec_1x100.png) 50% bottom repeat-x;color:#cd0a0a;}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a;}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a;}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold;}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal;}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none;}.ui-icon{width:16px;height:16px;background-image:url(images/ui-icons_222222_256x240.png);}.ui-widget-content .ui-icon{background-image:url(images/ui-icons_222222_256x240.png);}.ui-widget-header .ui-icon{background-image:url(images/ui-icons_222222_256x240.png);}.ui-state-default .ui-icon{background-image:url(images/ui-icons_888888_256x240.png);}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(images/ui-icons_454545_256x240.png);}.ui-state-active .ui-icon{background-image:url(images/ui-icons_454545_256x240.png);}.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_2e83ff_256x240.png);}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_cd0a0a_256x240.png);}.ui-icon-carat-1-n{background-position:0 0;}.ui-icon-carat-1-ne{background-position:-16px 0;}.ui-icon-carat-1-e{background-position:-32px 0;}.ui-icon-carat-1-se{background-position:-48px 0;}.ui-icon-carat-1-s{background-position:-64px 0;}.ui-icon-carat-1-sw{background-position:-80px 0;}.ui-icon-carat-1-w{background-position:-96px 0;}.ui-icon-carat-1-nw{background-position:-112px 0;}.ui-icon-carat-2-n-s{background-position:-128px 0;}.ui-icon-carat-2-e-w{background-position:-144px 0;}.ui-icon-triangle-1-n{background-position:0 -16px;}.ui-icon-triangle-1-ne{background-position:-16px -16px;}.ui-icon-triangle-1-e{background-position:-32px -16px;}.ui-icon-triangle-1-se{background-position:-48px -16px;}.ui-icon-triangle-1-s{background-position:-64px -16px;}.ui-icon-triangle-1-sw{background-position:-80px -16px;}.ui-icon-triangle-1-w{background-position:-96px -16px;}.ui-icon-triangle-1-nw{background-position:-112px -16px;}.ui-icon-triangle-2-n-s{background-position:-128px -16px;}.ui-icon-triangle-2-e-w{background-position:-144px -16px;}.ui-icon-arrow-1-n{background-position:0 -32px;}.ui-icon-arrow-1-ne{background-position:-16px -32px;}.ui-icon-arrow-1-e{background-position:-32px -32px;}.ui-icon-arrow-1-se{background-position:-48px -32px;}.ui-icon-arrow-1-s{background-position:-64px -32px;}.ui-icon-arrow-1-sw{background-position:-80px -32px;}.ui-icon-arrow-1-w{background-position:-96px -32px;}.ui-icon-arrow-1-nw{background-position:-112px -32px;}.ui-icon-arrow-2-n-s{background-position:-128px -32px;}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px;}.ui-icon-arrow-2-e-w{background-position:-160px -32px;}.ui-icon-arrow-2-se-nw{background-position:-176px -32px;}.ui-icon-arrowstop-1-n{background-position:-192px -32px;}.ui-icon-arrowstop-1-e{background-position:-208px -32px;}.ui-icon-arrowstop-1-s{background-position:-224px -32px;}.ui-icon-arrowstop-1-w{background-position:-240px -32px;}.ui-icon-arrowthick-1-n{background-position:0 -48px;}.ui-icon-arrowthick-1-ne{background-position:-16px -48px;}.ui-icon-arrowthick-1-e{background-position:-32px -48px;}.ui-icon-arrowthick-1-se{background-position:-48px -48px;}.ui-icon-arrowthick-1-s{background-position:-64px -48px;}.ui-icon-arrowthick-1-sw{background-position:-80px -48px;}.ui-icon-arrowthick-1-w{background-position:-96px -48px;}.ui-icon-arrowthick-1-nw{background-position:-112px -48px;}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px;}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px;}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px;}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px;}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px;}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px;}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px;}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px;}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px;}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px;}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px;}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px;}.ui-icon-arrowreturn-1-w{background-position:-64px -64px;}.ui-icon-arrowreturn-1-n{background-position:-80px -64px;}.ui-icon-arrowreturn-1-e{background-position:-96px -64px;}.ui-icon-arrowreturn-1-s{background-position:-112px -64px;}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px;}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px;}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px;}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px;}.ui-icon-arrow-4{background-position:0 -80px;}.ui-icon-arrow-4-diag{background-position:-16px -80px;}.ui-icon-extlink{background-position:-32px -80px;}.ui-icon-newwin{background-position:-48px -80px;}.ui-icon-refresh{background-position:-64px -80px;}.ui-icon-shuffle{background-position:-80px -80px;}.ui-icon-transfer-e-w{background-position:-96px -80px;}.ui-icon-transferthick-e-w{background-position:-112px -80px;}.ui-icon-folder-collapsed{background-position:0 -96px;}.ui-icon-folder-open{background-position:-16px -96px;}.ui-icon-document{background-position:-32px -96px;}.ui-icon-document-b{background-position:-48px -96px;}.ui-icon-note{background-position:-64px -96px;}.ui-icon-mail-closed{background-position:-80px -96px;}.ui-icon-mail-open{background-position:-96px -96px;}.ui-icon-suitcase{background-position:-112px -96px;}.ui-icon-comment{background-position:-128px -96px;}.ui-icon-person{background-position:-144px -96px;}.ui-icon-print{background-position:-160px -96px;}.ui-icon-trash{background-position:-176px -96px;}.ui-icon-locked{background-position:-192px -96px;}.ui-icon-unlocked{background-position:-208px -96px;}.ui-icon-bookmark{background-position:-224px -96px;}.ui-icon-tag{background-position:-240px -96px;}.ui-icon-home{background-position:0 -112px;}.ui-icon-flag{background-position:-16px -112px;}.ui-icon-calendar{background-position:-32px -112px;}.ui-icon-cart{background-position:-48px -112px;}.ui-icon-pencil{background-position:-64px -112px;}.ui-icon-clock{background-position:-80px -112px;}.ui-icon-disk{background-position:-96px -112px;}.ui-icon-calculator{background-position:-112px -112px;}.ui-icon-zoomin{background-position:-128px -112px;}.ui-icon-zoomout{background-position:-144px -112px;}.ui-icon-search{background-position:-160px -112px;}.ui-icon-wrench{background-position:-176px -112px;}.ui-icon-gear{background-position:-192px -112px;}.ui-icon-heart{background-position:-208px -112px;}.ui-icon-star{background-position:-224px -112px;}.ui-icon-link{background-position:-240px -112px;}.ui-icon-cancel{background-position:0 -128px;}.ui-icon-plus{background-position:-16px -128px;}.ui-icon-plusthick{background-position:-32px -128px;}.ui-icon-minus{background-position:-48px -128px;}.ui-icon-minusthick{background-position:-64px -128px;}.ui-icon-close{background-position:-80px -128px;}.ui-icon-closethick{background-position:-96px -128px;}.ui-icon-key{background-position:-112px -128px;}.ui-icon-lightbulb{background-position:-128px -128px;}.ui-icon-scissors{background-position:-144px -128px;}.ui-icon-clipboard{background-position:-160px -128px;}.ui-icon-copy{background-position:-176px -128px;}.ui-icon-contact{background-position:-192px -128px;}.ui-icon-image{background-position:-208px -128px;}.ui-icon-video{background-position:-224px -128px;}.ui-icon-script{background-position:-240px -128px;}.ui-icon-alert{background-position:0 -144px;}.ui-icon-info{background-position:-16px -144px;}.ui-icon-notice{background-position:-32px -144px;}.ui-icon-help{background-position:-48px -144px;}.ui-icon-check{background-position:-64px -144px;}.ui-icon-bullet{background-position:-80px -144px;}.ui-icon-radio-off{background-position:-96px -144px;}.ui-icon-radio-on{background-position:-112px -144px;}.ui-icon-pin-w{background-position:-128px -144px;}.ui-icon-pin-s{background-position:-144px -144px;}.ui-icon-play{background-position:0 -160px;}.ui-icon-pause{background-position:-16px -160px;}.ui-icon-seek-next{background-position:-32px -160px;}.ui-icon-seek-prev{background-position:-48px -160px;}.ui-icon-seek-end{background-position:-64px -160px;}.ui-icon-seek-start{background-position:-80px -160px;}.ui-icon-seek-first{background-position:-80px -160px;}.ui-icon-stop{background-position:-96px -160px;}.ui-icon-eject{background-position:-112px -160px;}.ui-icon-volume-off{background-position:-128px -160px;}.ui-icon-volume-on{background-position:-144px -160px;}.ui-icon-power{background-position:0 -176px;}.ui-icon-signal-diag{background-position:-16px -176px;}.ui-icon-signal{background-position:-32px -176px;}.ui-icon-battery-0{background-position:-48px -176px;}.ui-icon-battery-1{background-position:-64px -176px;}.ui-icon-battery-2{background-position:-80px -176px;}.ui-icon-battery-3{background-position:-96px -176px;}.ui-icon-circle-plus{background-position:0 -192px;}.ui-icon-circle-minus{background-position:-16px -192px;}.ui-icon-circle-close{background-position:-32px -192px;}.ui-icon-circle-triangle-e{background-position:-48px -192px;}.ui-icon-circle-triangle-s{background-position:-64px -192px;}.ui-icon-circle-triangle-w{background-position:-80px -192px;}.ui-icon-circle-triangle-n{background-position:-96px -192px;}.ui-icon-circle-arrow-e{background-position:-112px -192px;}.ui-icon-circle-arrow-s{background-position:-128px -192px;}.ui-icon-circle-arrow-w{background-position:-144px -192px;}.ui-icon-circle-arrow-n{background-position:-160px -192px;}.ui-icon-circle-zoomin{background-position:-176px -192px;}.ui-icon-circle-zoomout{background-position:-192px -192px;}.ui-icon-circle-check{background-position:-208px -192px;}.ui-icon-circlesmall-plus{background-position:0 -208px;}.ui-icon-circlesmall-minus{background-position:-16px -208px;}.ui-icon-circlesmall-close{background-position:-32px -208px;}.ui-icon-squaresmall-plus{background-position:-48px -208px;}.ui-icon-squaresmall-minus{background-position:-64px -208px;}.ui-icon-squaresmall-close{background-position:-80px -208px;}.ui-icon-grip-dotted-vertical{background-position:0 -224px;}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px;}.ui-icon-grip-solid-vertical{background-position:-32px -224px;}.ui-icon-grip-solid-horizontal{background-position:-48px -224px;}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px;}.ui-icon-grip-diagonal-se{background-position:-80px -224px;}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;}.ui-widget-overlay{background:#aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.30;filter:Alpha(Opacity=30);}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.30;filter:Alpha(Opacity=30);-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px;}.ui-resizable{position:relative;}.ui-resizable-handle{position:absolute;font-size:0.1px;z-index:99999;display:block;}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none;}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0;}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0;}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%;}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%;}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px;}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px;}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px;}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px;}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black;}.ui-accordion{width:100%;}.ui-accordion .ui-accordion-header{cursor:pointer;position:relative;margin-top:1px;zoom:1;}.ui-accordion .ui-accordion-li-fix{display:inline;}.ui-accordion .ui-accordion-header-active{border-bottom:0 !important;}.ui-accordion .ui-accordion-header a{display:block;font-size:1em;padding:.5em .5em .5em .7em;}.ui-accordion-icons .ui-accordion-header a{padding-left:2.2em;}.ui-accordion .ui-accordion-header .ui-icon{position:absolute;left:.5em;top:50%;margin-top:-8px;}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;margin-top:-2px;position:relative;top:1px;margin-bottom:2px;overflow:auto;display:none;zoom:1;}.ui-accordion .ui-accordion-content-active{display:block;}.ui-autocomplete{position:absolute;cursor:default;}* html .ui-autocomplete{width:1px;}.ui-menu{list-style:none;padding:2px;margin:0;display:block;float:left;}.ui-menu .ui-menu{margin-top:-3px;}.ui-menu .ui-menu-item{margin:0;padding:0;zoom:1;float:left;clear:left;width:100%;}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:.2em .4em;line-height:1.5;zoom:1;}.ui-menu .ui-menu-item a.ui-state-hover,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px;}.ui-dialog{position:absolute;padding:.2em;width:300px;overflow:hidden;}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative;}.ui-dialog .ui-dialog-title{float:left;margin:.1em 16px .1em 0;}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:19px;margin:-10px 0 0 0;padding:1px;height:18px;}.ui-dialog .ui-dialog-titlebar-close span{display:block;margin:1px;}.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus{padding:0;}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto;zoom:1;}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin:.5em 0 0 0;padding:.3em 1em .5em .4em;}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right;}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer;}.ui-dialog .ui-resizable-se{width:14px;height:14px;right:3px;bottom:3px;}.ui-draggable .ui-dialog-titlebar{cursor:move;}.ui-slider{position:relative;text-align:left;}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0;}.ui-slider-horizontal{height:.8em;}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em;}.ui-slider-horizontal .ui-slider-range{top:0;height:100%;}.ui-slider-horizontal .ui-slider-range-min{left:0;}.ui-slider-horizontal .ui-slider-range-max{right:0;}.ui-slider-vertical{width:.8em;height:100px;}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em;}.ui-slider-vertical .ui-slider-range{left:0;width:100%;}.ui-slider-vertical .ui-slider-range-min{bottom:0;}.ui-slider-vertical .ui-slider-range-max{top:0;}.ui-tabs{position:relative;padding:.2em;zoom:1;}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0;}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:1px;margin:0 .2em 1px 0;border-bottom:0 !important;padding:0;white-space:nowrap;}.ui-tabs .ui-tabs-nav li a{float:left;padding:.5em 1em;text-decoration:none;}.ui-tabs .ui-tabs-nav li.ui-tabs-selected{margin-bottom:0;padding-bottom:1px;}.ui-tabs .ui-tabs-nav li.ui-tabs-selected a,.ui-tabs .ui-tabs-nav li.ui-state-disabled a,.ui-tabs .ui-tabs-nav li.ui-state-processing a{cursor:text;}.ui-tabs .ui-tabs-nav li a,.ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a{cursor:pointer;}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none;}.ui-tabs .ui-tabs-hide{display:none !important;}.ui-datepicker{width:15em;padding:.1em .1em 0;display:none;z-index:999999 !important;}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0;}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em;}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px;}.ui-datepicker .ui-datepicker-prev{left:2px;}.ui-datepicker .ui-datepicker-next{right:2px;}.ui-datepicker .ui-datepicker-prev-hover{left:1px;}.ui-datepicker .ui-datepicker-next-hover{right:1px;}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px;}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center;}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0;}.ui-datepicker select.ui-datepicker-month-year{width:100%;}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%;}.ui-datepicker table{width:100%;font-size:.8em;border-collapse:collapse;margin:0 0 .4em;}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0;}.ui-datepicker td{border:0;padding:1px;}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none;}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0;}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .4em .3em .4em;width:auto;overflow:visible;}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left;}.ui-datepicker-trigger{cursor:pointer;margin:0 3px -2px 0;}.ui-datepicker.ui-datepicker-multi{width:auto;}.ui-datepicker-multi .ui-datepicker-group{float:left;}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em;}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%;}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%;}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%;}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header{border-left-width:0;}.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0;}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left;}.ui-datepicker-row-break{clear:both;width:100%;font-size:0em;}.ui-datepicker-rtl{direction:rtl;}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto;}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto;}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto;}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto;}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right;}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left;}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current{float:right;}.ui-datepicker-rtl .ui-datepicker-group{float:right;}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header{border-right-width:0;border-left-width:1px;}.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px;}.ui-datepicker-cover{display:none; display:block; position:absolute; z-index:-1; filter:mask(); top:-4px; left:-4px; width:200px; height:200px;}.ui-progressbar{height:2em;text-align:left;overflow:hidden;}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%;}.jqmWindow{display:none;position:fixed;top:50px;left:50%;margin-left:-202px;color:#333;width:400px;border:2px solid #666;z-index:300000;background-color:#fff;word-wrap:break-word;border:1px solid #ccc;display:none;-moz-box-shadow:1px 0px 5px 1px rgba(0,0,0,0.3);-webkit-box-shadow:1px 0px 5px 1px rgba(0,0,0,0.3);box-shadow:1px 0px 5px 1px rgba(0,0,0,0.3);}.jqmOverlay{background-color:#000;}* iframe.jqm{position:absolute;top:0;left:0;z-index:-1;width:expression(this.parentNode.offsetWidth+'px');height:expression(this.parentNode.offsetHeight+'px');}* html .jqmWindow{position:absolute;top:expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(8 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');}#__fuel_tooltip__{position:absolute;z-index:1000000;border:1px solid #ccc;background-color:#ffffcc;padding:3px;font-size:10px !important;font-weight:normal;width:200px;color:#333;}#__fuel_tooltip__ h3,#__fuel_tooltip__ div{margin:0;font-size:11px !important;font-weight:bold;}.treeview,.treeview ul{padding:0;margin:0;list-style:none;}.treeview ul{background-color:white;margin-top:4px;}.treeview .hitarea{background:url(../images/treeview/treeview-default.gif) -64px -25px no-repeat;height:16px;width:16px;margin-left:-16px;float:left;cursor:pointer;}* html .hitarea{display:inline;float:none;}.treeview li{margin:0;padding:3px 0pt 3px 16px;}.treeview a.selected{background-color:#eee;}#treecontrol{margin:1em 0;display:none;}.treeview .hover{cursor:pointer;}.treeview li{background:url(../images/treeview/treeview-default-line.gif) 0 0 no-repeat;}.treeview li.collapsable,.treeview li.expandable{background-position:0 -176px;}.treeview .expandable-hitarea{background-position:-80px -3px;}.treeview li.last{background-position:0 -1766px}.treeview li.lastCollapsable,.treeview li.lastExpandable{background-image:url(../images/treeview/treeview-default.gif);}.treeview li.lastCollapsable{background-position:0 -111px}.treeview li.lastExpandable{background-position:-32px -67px}.treeview div.lastCollapsable-hitarea,.treeview div.lastExpandable-hitarea{background-position:0;}.treeview-red li{background-image:url(../images/treeview/treeview-red-line.gif);}.treeview-red .hitarea,.treeview-red li.lastCollapsable,.treeview-red li.lastExpandable{background-image:url(../images/treeview/treeview-red.gif);}.treeview-black li{background-image:url(../images/treeview/treeview-black-line.gif);}.treeview-black .hitarea,.treeview-black li.lastCollapsable,.treeview-black li.lastExpandable{background-image:url(../images/treeview/treeview-black.gif);}.treeview-gray li{background-image:url(../images/treeview/treeview-gray-line.gif);}.treeview-gray .hitarea,.treeview-gray li.lastCollapsable,.treeview-gray li.lastExpandable{background-image:url(../images/treeview/treeview-gray.gif);}.treeview-famfamfam li{background-image:url(../images/treeview/treeview-famfamfam-line.gif);}.treeview-famfamfam .hitarea,.treeview-famfamfam li.lastCollapsable,.treeview-famfamfam li.lastExpandable{background-image:url(../images/treeview/treeview-famfamfam.gif);}.filetree li{padding:3px 0 2px 16px;}.filetree span.folder,.filetree span.file{padding:1px 0 1px 16px;display:block;}.filetree span.folder{background:url(../images/treeview/folder.gif) 0 0 no-repeat;}.filetree li.expandable span.folder{background:url(../images/treeview/folder-closed.gif) 0 0 no-repeat;}.filetree span.file{background:url(../images/treeview/file.gif) 0 0 no-repeat;}.supercomboselect_wrapper{position:relative;width:655px;height:220px;float:left;}.supercomboselect_left,.supercomboselect_right{position:absolute;top:0px;z-index:2;width:300px;}.supercomboselect_left{left:0px;}.supercomboselect_right{right:0px;}.supercomboselect_btns{position:absolute;left:50%;top:30%;margin-left:-20px !important;width:40px;text-align:center;z-index:1;}.supercomboselect_btns input{display:block;width:40px;margin:auto;margin-top:3px;}.supercomboselect{height:180px;overflow-y:auto;overflow-x:hidden;border:1px solid #ccc;background-color:#fff;}.supercomboselect ul{margin:0;padding:0;cursor:pointer;}.supercomboselect li{-moz-user-select:none;background-color:#fff;margin:0;padding:3px 20px 3px 10px;border-bottom:1px solid #ddd;list-style:none;display:block;overflow:hidden;text-overflow:ellipsis;}.supercomboselect li.selected{background-color:#ffc;}.supercomboselect_search{margin-top:3px;}.supercomboselect_search_text{width:294px;}.supercomboselect_empty_msg{padding:80px 5px 5px 5px;text-align:center;font-weight:bold;color:#ccc;}.supercomboselect_search_highlight{background-color:#ffff99;}.supercomboselect li.ui-sortable-helper{border:1px solid #ddd;}.supercomboselect ul.ui-sortable li{background-image:url(../images/icons/ico_sortable.png);background-repeat:no-repeat;background-position:left center;padding-left:16px;}.supercomboselect li.option_disabled{background-color:#eee;color:#999;}.supercomboselect li.optgrp{background:#DDD;cursor:default;font-weight:bold;padding-left:5px;}.markItUpButton a{background:transparent url(../images/markitup/markitup_icons.png) no-repeat;}.markItUp .bold a{background-position:0 0;}.markItUp .italic a{background-position:0 -456px;}.markItUp .stroke a{background-position:0 -906px;}.markItUp .p a{background-position:0 -792px;}.markItUp .h1 a{background-position:0 -152px;}.markItUp .h2 a{background-position:0 -190px;}.markItUp .h3 a{background-position:0 -228px;}.markItUp .h4 a{background-position:0 -266px;}.markItUp .h5 a{background-position:0 -304px;}.markItUp .h6 a{background-position:0 -342px;}.markItUp .ol a{background-position:0 -570px;}.markItUp .ul a{background-position:0 -1010px;}.markItUp .li a{background-position:0 -532px;}.markItUp .image a{background-position:0 -830px;}.markItUp .link a{background-position:0 -494px;}.markItUp .mailto a{background-position:0 -114px;}.markItUp .clean a{background-position:0 -38px;}.markItUp .preview a{background-position:0 -868px;}.markItUp .help a{background-position:0 -380px;}.markItUp .fuel_var a{background-position:0 -717px;}.markItUp .blockquote a{background-position:0 -76px;}.markItUp .hr a{background-position:0 -976px;}.markItUp .maximize a{background-position:0 -608px;}.markItUp .minimize a{background-position:0 -679px;}.markItUp *{margin:0px;padding:0px;outline:none;}.markItUp a:link,.markItUp a:visited{color:#000;text-decoration:none;}.markItUp{min-width:550px;margin:5px 0 5px 0;}.markItUpContainer{font:11px Verdana,Arial,Helvetica,sans-serif;}.markItUpEditor{font:11px 'Courier New',Courier,monospace;padding-left:5px;width:520px;height:230px;clear:both;display:block;line-height:18px;overflow:auto;border:1px solid #ccc;}.markItUpPreviewFrame{overflow:auto;background-color:#FFFFFF;width:100%;height:280px;margin:5px 0;border:1px solid #ccc;}.markItUpFooter{width:100%;}.markItUpResizeHandle{overflow:hidden;width:22px;height:5px;margin:0 auto 0px auto !important;background-image:url(../images/markitup/handle.png);cursor:n-resize;}.markItUpHeader ul li{list-style:none;float:left;position:relative;padding-top:5px;}.markItUpHeader ul li:hover > ul{display:block;}.markItUpHeader ul .markItUpDropMenu{background:transparent url(../images/markitup/menu.png) no-repeat 115% 50%;margin-right:5px;}.markItUpHeader ul .markItUpDropMenu li{margin-right:0px;}.markItUpHeader ul ul{display:none;position:absolute;top:18px;left:0px;background:#FFF;border:1px solid #000;}.markItUpHeader ul ul li{float:none;border-bottom:1px solid #000;}.markItUpHeader ul ul .markItUpDropMenu{background:#FFF url(../images/markitup/submenu.png) no-repeat 100% 50%;}.markItUpHeader ul .markItUpSeparator{margin:0 10px;width:1px;height:16px;overflow:hidden;background-color:#CCC;}.markItUpHeader ul ul .markItUpSeparator{width:auto;height:1px;margin:0px;}.markItUpHeader ul ul ul{position:absolute;top:-1px;left:150px;}.markItUpHeader ul ul ul li{float:none;}.markItUpHeader ul a{display:block;width:16px;height:16px;text-indent:-10000px;background-repeat:no-repeat;padding:3px;margin:0px;}.markItUpHeader ul ul a{display:block;padding-left:0px;text-indent:0;width:120px;padding:5px 5px 5px 25px;background-position:2px 50%;}.markItUpHeader ul ul a:hover{color:#FFF;background-color:#000;}.ui-helper-hidden{display:none;}.ui-helper-hidden-accessible{position:absolute !important;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none;}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;}.ui-helper-clearfix:after{clear:both;}.ui-helper-clearfix{zoom:1;}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0);}.ui-state-disabled{cursor:default !important;}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;}.ui-widget-overlay{position:absolute;top:0;left:0;width:100%;height:100%;}.ui-widget{font-family:'Lucida Grande',Verdana,Arial,Helvetica,Sans-serif;font-size:1.1em;}.ui-widget .ui-widget{font-size:1em;}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:'Lucida Grande',Verdana,Arial,Helvetica,Sans-serif;font-size:1em;}.ui-widget-content{border:1px solid #aaaaaa;background:#ffffff url(images/ui-bg_glass_75_ffffff_1x400.png) 50% 50% repeat-x;color:#222222;}.ui-widget-content a{color:#222222;}.ui-widget-header{border:1px solid #aaaaaa;background:#cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;color:#222222;font-weight:bold;}.ui-widget-header a{color:#222222;}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#555555;}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555555;text-decoration:none;}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999999;background:#dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121;}.ui-state-hover a,.ui-state-hover a:hover{color:#212121;text-decoration:none;}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaaaaa;background:#ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121;}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none;}.ui-widget:active{outline:none;}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;color:#363636;}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636;}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url(images/ui-bg_inset-soft_95_fef1ec_1x100.png) 50% bottom repeat-x;color:#cd0a0a;}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a;}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a;}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold;}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal;}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none;}.ui-icon{width:16px;height:16px;background-image:url(images/ui-icons_222222_256x240.png);}.ui-widget-content .ui-icon{background-image:url(images/ui-icons_222222_256x240.png);}.ui-widget-header .ui-icon{background-image:url(images/ui-icons_222222_256x240.png);}.ui-state-default .ui-icon{background-image:url(images/ui-icons_888888_256x240.png);}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(images/ui-icons_454545_256x240.png);}.ui-state-active .ui-icon{background-image:url(images/ui-icons_454545_256x240.png);}.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_2e83ff_256x240.png);}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_cd0a0a_256x240.png);}.ui-icon-carat-1-n{background-position:0 0;}.ui-icon-carat-1-ne{background-position:-16px 0;}.ui-icon-carat-1-e{background-position:-32px 0;}.ui-icon-carat-1-se{background-position:-48px 0;}.ui-icon-carat-1-s{background-position:-64px 0;}.ui-icon-carat-1-sw{background-position:-80px 0;}.ui-icon-carat-1-w{background-position:-96px 0;}.ui-icon-carat-1-nw{background-position:-112px 0;}.ui-icon-carat-2-n-s{background-position:-128px 0;}.ui-icon-carat-2-e-w{background-position:-144px 0;}.ui-icon-triangle-1-n{background-position:0 -16px;}.ui-icon-triangle-1-ne{background-position:-16px -16px;}.ui-icon-triangle-1-e{background-position:-32px -16px;}.ui-icon-triangle-1-se{background-position:-48px -16px;}.ui-icon-triangle-1-s{background-position:-64px -16px;}.ui-icon-triangle-1-sw{background-position:-80px -16px;}.ui-icon-triangle-1-w{background-position:-96px -16px;}.ui-icon-triangle-1-nw{background-position:-112px -16px;}.ui-icon-triangle-2-n-s{background-position:-128px -16px;}.ui-icon-triangle-2-e-w{background-position:-144px -16px;}.ui-icon-arrow-1-n{background-position:0 -32px;}.ui-icon-arrow-1-ne{background-position:-16px -32px;}.ui-icon-arrow-1-e{background-position:-32px -32px;}.ui-icon-arrow-1-se{background-position:-48px -32px;}.ui-icon-arrow-1-s{background-position:-64px -32px;}.ui-icon-arrow-1-sw{background-position:-80px -32px;}.ui-icon-arrow-1-w{background-position:-96px -32px;}.ui-icon-arrow-1-nw{background-position:-112px -32px;}.ui-icon-arrow-2-n-s{background-position:-128px -32px;}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px;}.ui-icon-arrow-2-e-w{background-position:-160px -32px;}.ui-icon-arrow-2-se-nw{background-position:-176px -32px;}.ui-icon-arrowstop-1-n{background-position:-192px -32px;}.ui-icon-arrowstop-1-e{background-position:-208px -32px;}.ui-icon-arrowstop-1-s{background-position:-224px -32px;}.ui-icon-arrowstop-1-w{background-position:-240px -32px;}.ui-icon-arrowthick-1-n{background-position:0 -48px;}.ui-icon-arrowthick-1-ne{background-position:-16px -48px;}.ui-icon-arrowthick-1-e{background-position:-32px -48px;}.ui-icon-arrowthick-1-se{background-position:-48px -48px;}.ui-icon-arrowthick-1-s{background-position:-64px -48px;}.ui-icon-arrowthick-1-sw{background-position:-80px -48px;}.ui-icon-arrowthick-1-w{background-position:-96px -48px;}.ui-icon-arrowthick-1-nw{background-position:-112px -48px;}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px;}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px;}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px;}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px;}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px;}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px;}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px;}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px;}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px;}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px;}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px;}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px;}.ui-icon-arrowreturn-1-w{background-position:-64px -64px;}.ui-icon-arrowreturn-1-n{background-position:-80px -64px;}.ui-icon-arrowreturn-1-e{background-position:-96px -64px;}.ui-icon-arrowreturn-1-s{background-position:-112px -64px;}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px;}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px;}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px;}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px;}.ui-icon-arrow-4{background-position:0 -80px;}.ui-icon-arrow-4-diag{background-position:-16px -80px;}.ui-icon-extlink{background-position:-32px -80px;}.ui-icon-newwin{background-position:-48px -80px;}.ui-icon-refresh{background-position:-64px -80px;}.ui-icon-shuffle{background-position:-80px -80px;}.ui-icon-transfer-e-w{background-position:-96px -80px;}.ui-icon-transferthick-e-w{background-position:-112px -80px;}.ui-icon-folder-collapsed{background-position:0 -96px;}.ui-icon-folder-open{background-position:-16px -96px;}.ui-icon-document{background-position:-32px -96px;}.ui-icon-document-b{background-position:-48px -96px;}.ui-icon-note{background-position:-64px -96px;}.ui-icon-mail-closed{background-position:-80px -96px;}.ui-icon-mail-open{background-position:-96px -96px;}.ui-icon-suitcase{background-position:-112px -96px;}.ui-icon-comment{background-position:-128px -96px;}.ui-icon-person{background-position:-144px -96px;}.ui-icon-print{background-position:-160px -96px;}.ui-icon-trash{background-position:-176px -96px;}.ui-icon-locked{background-position:-192px -96px;}.ui-icon-unlocked{background-position:-208px -96px;}.ui-icon-bookmark{background-position:-224px -96px;}.ui-icon-tag{background-position:-240px -96px;}.ui-icon-home{background-position:0 -112px;}.ui-icon-flag{background-position:-16px -112px;}.ui-icon-calendar{background-position:-32px -112px;}.ui-icon-cart{background-position:-48px -112px;}.ui-icon-pencil{background-position:-64px -112px;}.ui-icon-clock{background-position:-80px -112px;}.ui-icon-disk{background-position:-96px -112px;}.ui-icon-calculator{background-position:-112px -112px;}.ui-icon-zoomin{background-position:-128px -112px;}.ui-icon-zoomout{background-position:-144px -112px;}.ui-icon-search{background-position:-160px -112px;}.ui-icon-wrench{background-position:-176px -112px;}.ui-icon-gear{background-position:-192px -112px;}.ui-icon-heart{background-position:-208px -112px;}.ui-icon-star{background-position:-224px -112px;}.ui-icon-link{background-position:-240px -112px;}.ui-icon-cancel{background-position:0 -128px;}.ui-icon-plus{background-position:-16px -128px;}.ui-icon-plusthick{background-position:-32px -128px;}.ui-icon-minus{background-position:-48px -128px;}.ui-icon-minusthick{background-position:-64px -128px;}.ui-icon-close{background-position:-80px -128px;}.ui-icon-closethick{background-position:-96px -128px;}.ui-icon-key{background-position:-112px -128px;}.ui-icon-lightbulb{background-position:-128px -128px;}.ui-icon-scissors{background-position:-144px -128px;}.ui-icon-clipboard{background-position:-160px -128px;}.ui-icon-copy{background-position:-176px -128px;}.ui-icon-contact{background-position:-192px -128px;}.ui-icon-image{background-position:-208px -128px;}.ui-icon-video{background-position:-224px -128px;}.ui-icon-script{background-position:-240px -128px;}.ui-icon-alert{background-position:0 -144px;}.ui-icon-info{background-position:-16px -144px;}.ui-icon-notice{background-position:-32px -144px;}.ui-icon-help{background-position:-48px -144px;}.ui-icon-check{background-position:-64px -144px;}.ui-icon-bullet{background-position:-80px -144px;}.ui-icon-radio-off{background-position:-96px -144px;}.ui-icon-radio-on{background-position:-112px -144px;}.ui-icon-pin-w{background-position:-128px -144px;}.ui-icon-pin-s{background-position:-144px -144px;}.ui-icon-play{background-position:0 -160px;}.ui-icon-pause{background-position:-16px -160px;}.ui-icon-seek-next{background-position:-32px -160px;}.ui-icon-seek-prev{background-position:-48px -160px;}.ui-icon-seek-end{background-position:-64px -160px;}.ui-icon-seek-start{background-position:-80px -160px;}.ui-icon-seek-first{background-position:-80px -160px;}.ui-icon-stop{background-position:-96px -160px;}.ui-icon-eject{background-position:-112px -160px;}.ui-icon-volume-off{background-position:-128px -160px;}.ui-icon-volume-on{background-position:-144px -160px;}.ui-icon-power{background-position:0 -176px;}.ui-icon-signal-diag{background-position:-16px -176px;}.ui-icon-signal{background-position:-32px -176px;}.ui-icon-battery-0{background-position:-48px -176px;}.ui-icon-battery-1{background-position:-64px -176px;}.ui-icon-battery-2{background-position:-80px -176px;}.ui-icon-battery-3{background-position:-96px -176px;}.ui-icon-circle-plus{background-position:0 -192px;}.ui-icon-circle-minus{background-position:-16px -192px;}.ui-icon-circle-close{background-position:-32px -192px;}.ui-icon-circle-triangle-e{background-position:-48px -192px;}.ui-icon-circle-triangle-s{background-position:-64px -192px;}.ui-icon-circle-triangle-w{background-position:-80px -192px;}.ui-icon-circle-triangle-n{background-position:-96px -192px;}.ui-icon-circle-arrow-e{background-position:-112px -192px;}.ui-icon-circle-arrow-s{background-position:-128px -192px;}.ui-icon-circle-arrow-w{background-position:-144px -192px;}.ui-icon-circle-arrow-n{background-position:-160px -192px;}.ui-icon-circle-zoomin{background-position:-176px -192px;}.ui-icon-circle-zoomout{background-position:-192px -192px;}.ui-icon-circle-check{background-position:-208px -192px;}.ui-icon-circlesmall-plus{background-position:0 -208px;}.ui-icon-circlesmall-minus{background-position:-16px -208px;}.ui-icon-circlesmall-close{background-position:-32px -208px;}.ui-icon-squaresmall-plus{background-position:-48px -208px;}.ui-icon-squaresmall-minus{background-position:-64px -208px;}.ui-icon-squaresmall-close{background-position:-80px -208px;}.ui-icon-grip-dotted-vertical{background-position:0 -224px;}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px;}.ui-icon-grip-solid-vertical{background-position:-32px -224px;}.ui-icon-grip-solid-horizontal{background-position:-48px -224px;}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px;}.ui-icon-grip-diagonal-se{background-position:-80px -224px;}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;}.ui-widget-overlay{background:#aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.30;filter:Alpha(Opacity=30);}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.30;filter:Alpha(Opacity=30);-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px;}.ui-resizable{position:relative;}.ui-resizable-handle{position:absolute;font-size:0.1px;z-index:99999;display:block;}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none;}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0;}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0;}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%;}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%;}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px;}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px;}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px;}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px;}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black;}.ui-accordion{width:100%;}.ui-accordion .ui-accordion-header{cursor:pointer;position:relative;margin-top:1px;zoom:1;}.ui-accordion .ui-accordion-li-fix{display:inline;}.ui-accordion .ui-accordion-header-active{border-bottom:0 !important;}.ui-accordion .ui-accordion-header a{display:block;font-size:1em;padding:.5em .5em .5em .7em;}.ui-accordion-icons .ui-accordion-header a{padding-left:2.2em;}.ui-accordion .ui-accordion-header .ui-icon{position:absolute;left:.5em;top:50%;margin-top:-8px;}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;margin-top:-2px;position:relative;top:1px;margin-bottom:2px;overflow:auto;display:none;zoom:1;}.ui-accordion .ui-accordion-content-active{display:block;}.ui-autocomplete{position:absolute;cursor:default;}* html .ui-autocomplete{width:1px;}.ui-menu{list-style:none;padding:2px;margin:0;display:block;float:left;}.ui-menu .ui-menu{margin-top:-3px;}.ui-menu .ui-menu-item{margin:0;padding:0;zoom:1;float:left;clear:left;width:100%;}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:.2em .4em;line-height:1.5;zoom:1;}.ui-menu .ui-menu-item a.ui-state-hover,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px;}.ui-dialog{position:absolute;padding:.2em;width:300px;overflow:hidden;}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative;}.ui-dialog .ui-dialog-title{float:left;margin:.1em 16px .1em 0;}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:19px;margin:-10px 0 0 0;padding:1px;height:18px;}.ui-dialog .ui-dialog-titlebar-close span{display:block;margin:1px;}.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus{padding:0;}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto;zoom:1;}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin:.5em 0 0 0;padding:.3em 1em .5em .4em;}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right;}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer;}.ui-dialog .ui-resizable-se{width:14px;height:14px;right:3px;bottom:3px;}.ui-draggable .ui-dialog-titlebar{cursor:move;}.ui-slider{position:relative;text-align:left;}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0;}.ui-slider-horizontal{height:.8em;}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em;}.ui-slider-horizontal .ui-slider-range{top:0;height:100%;}.ui-slider-horizontal .ui-slider-range-min{left:0;}.ui-slider-horizontal .ui-slider-range-max{right:0;}.ui-slider-vertical{width:.8em;height:100px;}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em;}.ui-slider-vertical .ui-slider-range{left:0;width:100%;}.ui-slider-vertical .ui-slider-range-min{bottom:0;}.ui-slider-vertical .ui-slider-range-max{top:0;}.ui-tabs{position:relative;padding:.2em;zoom:1;}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0;}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:1px;margin:0 .2em 1px 0;border-bottom:0 !important;padding:0;white-space:nowrap;}.ui-tabs .ui-tabs-nav li a{float:left;padding:.5em 1em;text-decoration:none;}.ui-tabs .ui-tabs-nav li.ui-tabs-selected{margin-bottom:0;padding-bottom:1px;}.ui-tabs .ui-tabs-nav li.ui-tabs-selected a,.ui-tabs .ui-tabs-nav li.ui-state-disabled a,.ui-tabs .ui-tabs-nav li.ui-state-processing a{cursor:text;}.ui-tabs .ui-tabs-nav li a,.ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a{cursor:pointer;}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none;}.ui-tabs .ui-tabs-hide{display:none !important;}.ui-datepicker{width:15em;padding:.1em .1em 0;display:none;z-index:999999 !important;}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0;}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em;}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px;}.ui-datepicker .ui-datepicker-prev{left:2px;}.ui-datepicker .ui-datepicker-next{right:2px;}.ui-datepicker .ui-datepicker-prev-hover{left:1px;}.ui-datepicker .ui-datepicker-next-hover{right:1px;}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px;}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center;}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0;}.ui-datepicker select.ui-datepicker-month-year{width:100%;}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%;}.ui-datepicker table{width:100%;font-size:.8em;border-collapse:collapse;margin:0 0 .4em;}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0;}.ui-datepicker td{border:0;padding:1px;}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none;}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0;}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .4em .3em .4em;width:auto;overflow:visible;}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left;}.ui-datepicker-trigger{cursor:pointer;margin:0 3px -2px 0;}.ui-datepicker.ui-datepicker-multi{width:auto;}.ui-datepicker-multi .ui-datepicker-group{float:left;}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em;}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%;}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%;}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%;}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header{border-left-width:0;}.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0;}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left;}.ui-datepicker-row-break{clear:both;width:100%;font-size:0em;}.ui-datepicker-rtl{direction:rtl;}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto;}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto;}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto;}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto;}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right;}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left;}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current{float:right;}.ui-datepicker-rtl .ui-datepicker-group{float:right;}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header{border-right-width:0;border-left-width:1px;}.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px;}.ui-datepicker-cover{display:none; display:block; position:absolute; z-index:-1; filter:mask(); top:-4px; left:-4px; width:200px; height:200px;}.ui-progressbar{height:2em;text-align:left;overflow:hidden;}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%;}*{margin:0;padding:0;outline-style:none;}html,body{height:100%;overflow:hidden;}body{background-color:#333;font-family:'Lucida Grande',Verdana,Arial,Helvetica,Sans-serif;margin:0;padding:0;font-size:11px;color:#333;}h1{font-size:20px;margin-bottom:10px;}h2{font-size:16px;margin-bottom:10px;}h3{font-size:12px;margin:15px 0 3px 0;}a{color:#0e3e7e;text-decoration:none;}img{border:0;max-width:100%;}a:hover{text-decoration:underline;}a:visited{color:#4679bd;}p{margin:5px 0 15px 0;}option{margin:0 2px;}input,select,textarea{font-size:11px;font-family:'Lucida Grande',Verdana,Arial,Helvetica,Sans-serif;}textarea{min-height:40px;overflow:auto;resize:vertical;}ul{margin-bottom:10px;}ul ul{margin:10px;}optgroup{color:#000;font-style:normal;font-weight:normal;}optgroup option{padding-left:10px;}fieldset{border-top:5px solid #eee;border-left:none;border-right:none;border-bottom:none;margin:0;padding:20px 0 10px 0;}legend{padding:5px 30px 5px 5px;font-size:12px;background-color:#eee;font-weight:bold;text-align:left;}iframe{border:none;}::-moz-focus-inner{border:0;padding:0;}input[type="search"]::-webkit-search-decoration{display:none;}input,button,select,textarea{margin:0;}input[type="radio"],input[type="checkbox"]{position:relative;top:1px; top:0\0; *top:-3px;}button,input[type="reset"],input[type="submit"],input[type="button"]{-webkit-appearance:none;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding;background-clip:padding-box;background:#ddd url(../images/btn.png) repeat-x;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,whitesmoke),color-stop(1,#cfd1cf));background:-moz-linear-gradient(top center,whitesmoke 0%,#cfd1cf 100%);border:1px solid;border-color:#ddd #bbb #999;cursor:pointer;color:#333; font-weight:bold;outline:0;overflow:visible;padding:3px 10px;text-shadow:#fff 0 1px 1px;width:auto; *padding-top:2px;*padding-bottom:0px;}button{ *padding-top:1px;*padding-bottom:1px;}textarea,select,input[type="date"],input[type="datetime"],input[type="datetime-local"],input[type="email"],input[type="month"],input[type="number"],input[type="password"],input[type="search"],input[type="tel"],input[type="text"],input[type="time"],input[type="url"],input[type="week"]{-webkit-appearance:none;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-moz-background-clip:padding;-webkit-background-clip:padding;background-clip:padding-box;background-color:#fff;border:1px solid;border-color:#aaa #c1c1c1 #e1e1e1;outline:0;padding:5px 3px 4px 3px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px; *padding-top:2px;*padding-bottom:1px;*height:auto;-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;-moz-transition:border linear 0.2s,box-shadow linear 0.2s;-ms-transition:border linear 0.2s,box-shadow linear 0.2s;-o-transition:border linear 0.2s,box-shadow linear 0.2s;transition:border linear 0.2s,box-shadow linear 0.2s;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);}select{height:25px;line-height:16px;max-width:525px;}::-webkit-input-placeholder{color:#888;}input:-moz-placeholder,textarea:-moz-placeholder{color:#888;}input.placeholder_text,textarea.placeholder_text{color:#888;}:invalid{ -moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;}button:focus,button:active,input:focus,input:active,select:focus,select:active,textarea:focus,textarea:active{outline:0;border-color:rgba(82,168,236,0.8);-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,0.1),0 0 8px rgba(82,168,236,0.6);-moz-box-shadow:inset 0 1px 3px rgba(0,0,0,0.1),0 0 8px rgba(82,168,236,0.6);box-shadow:inset 0 1px 3px rgba(0,0,0,0.1),0 0 8px rgba(82,168,236,0.6); z-index:1;}input[type="file"]:focus,input[type="file"]:active,input[type="radio"]:focus,input[type="radio"]:active,input[type="checkbox"]:focus,input[type="checkbox"]:active{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;}select[disabled],textarea[disabled],input[type="date"][disabled],input[type="datetime"][disabled],input[type="datetime-local"][disabled],input[type="email"][disabled],input[type="month"][disabled],input[type="number"][disabled],input[type="password"][disabled],input[type="search"][disabled],input[type="tel"][disabled],input[type="text"][disabled],input[type="time"][disabled],input[type="url"][disabled],input[type="week"][disabled]{background-color:#eee;}button[disabled],input[disabled],select[disabled],select[disabled] option,select[disabled] optgroup,textarea[disabled]{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#888;cursor:default;}input[readonly],textarea[readonly],select[readonly]{background-color:transparent;border:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}textarea,select[size],select[multiple]{height:auto;}input[type="file"]{border:1px dashed #ccc;border-radius:3px;padding:10px;}@media (-webkit-min-device-pixel-ratio:0) {select{background-image:url(../images/select_arrow.gif);background-repeat:no-repeat;background-position:right center;padding-right:20px;}select[size],select[multiple]{background-image:none;padding:0;}::-webkit-validation-bubble-message{box-shadow:rgba(0,0,0,0.5) 0 0 5px;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#666),color-stop(1,#000));border:1px solid;border-color:#747474 #5e5e5e #4f4f4f;color:#fff;font:13px/17px 'Lucida Grande',Arial,'Liberation Sans',FreeSans,sans-serif;overflow:hidden;padding:15px 15px 17px;text-shadow:#000 0 0 1px;height:16px;}::-webkit-validation-bubble-arrow,::-webkit-validation-bubble-top-outer-arrow,::-webkit-validation-bubble-top-inner-arrow{-webkit-box-shadow:none;box-shadow:none;background:#666;border:0;}}::-webkit-scrollbar{width:12px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 3px rgba(0,0,0,0.4);border-radius:10px;}::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 3px rgba(140,140,140,0.9);}p.instructions{font-size:14px;line-height:18px;}ul.nobullets{list-style:none;}ul.nobullets li{margin-bottom:2px;}.tooltip{cursor:help;text-decoration:none;border-bottom:1px dotted #0e3e7e;}.fillin{color:#aaa;}.clear{clear:both;height:0;font-size:0px;line-height:0px;}.clearfix:before,.clearfix:after{content:"";display:table;}.clearfix:after{clear:both;}.clearfix{zoom:1;}span.required{color:#c30;}.datepicker_hh{margin-right:2px;}.datepicker_mm{margin:0 5px 0 2px;}.unpublished{color:#b30 !important;}.published{color:#690;}.div_vert{background:transparent url(../images/div_vert.png) repeat-y center center;width:2px;height:36px;padding:0 15px;}.search{padding-left:3px;}.show{padding-left:15px;}.loader{margin:auto;width:32px;height:32px;text-align:center;background:#fff url(../images/spinner.gif) no-repeat center center;}.loader_sm{margin:auto;width:16px;height:16px;text-align:center;background:#fff url(../images/spinner_sm.gif) no-repeat center center !important;}.hidden{display:none;}.float_left{float:left;}.float_right{float:right;}.tiny{font-size:9px;}tr.drag{border:1px solid #ccc !important;background-color:#ffe !important}tr.drag td{cursor:move !important;background-color:#ffe !important;}a.editor_viewsource,a.editor_preview{margin:4px 4px 4px 0;display:block;float:left;height:14px;line-height:14px !important;}td.vtop{vertical-align:top;}body .success{background-color:#6ec461;background-repeat:no-repeat;}body .warning{background-color:#ff1;background-repeat:no-repeat;}body .error{background-color:#c30;background-repeat:no-repeat;}body .error li{color:#fff;}body .error li p,body .error li li{margin:0;padding:0;}span.error,span.success,strong.error,strong.success{color:#fff;padding:1px 5px;}span.error a{color:#fff;}span.warning{padding:2px 5px;}span.error_highlight input,span.error_highlight textarea,span.error_highlight select{border:2px solid #c30;}.change{background:#ffe;}.delete{color:#c30;font-weight:bold;}a.delete{color:#c30;display:block;float:left;margin-top:10px;border:1px solid #ccc;padding:5px;}a.btn{border:1px solid #ccc;height:27px;line-height:27px;display:block;padding:0 15px 0 15px;float:left;}div.btn{border:1px solid #ccc;float:left;list-style:none;margin:0;padding:0 15px 0 0px;line-height:27px;}.btn input,.btn .button{border:none;height:19px;}a.btn,div.btn,.btn input,.btn .button{background:-webkit-gradient(linear,left top,left bottom,color-stop(0,whitesmoke),color-stop(1,#cfd1cf));background:-moz-linear-gradient(top center,whitesmoke 0%,#cfd1cf 100%);}.update_notice{background:#FFFBCC;border:1px solid #E6DB55;margin-bottom:10px;padding:4px 5px;}.update_notice a{font-style:italic;text-decoration:underline;}.update_notice a:hover{text-decoration:none;}.repeatable{background-color:#fdfdfd;position:relative;padding:10px;border:1px solid #eee;margin:0 10px 10px 0;min-width:300px;}.repeatable .grabber{min-height:10px;overflow:hidden;margin:0 auto 10px auto !important;padding-right:60px !important;background:transparent url(../images/markitup/handle.png) no-repeat center center;cursor:move;}.repeatable .remove{position:absolute;top:15px;right:15px;}.repeatable td>.remove{position:static;}.add_another{padding:10px;float:left;}.repeatable.ui-sortable-helper{-moz-box-shadow:1px 3px 5px 1px rgba(0,0,0,0.1);-webkit-box-shadow:1px 3px 5px 1px rgba(0,0,0,0.1);box-shadow:1px 3px 5px 1px rgba(0,0,0,0.1);}.repeatable_container.repeatable_container_condensed .repeatable{margin:0;padding:1px 5px;}.repeatable_container.repeatable_container_condensed .repeatable .grabber{float:left;}.repeatable_container.non_sortable .grabber{display:none;}.MultiFile-remove{line-height:22px;padding:0 3px;border:1px solid #ccc;background-color:#f9f9f9;}.tDnD_whileDrag{background-color:#ff1 !important;}.overwrite_field{margin-top:3px;}.overwrite_field input{margin-top:6px;}fieldset.tab{display:none;}fieldset.tab fieldset{display:block;}fieldset.collapsible legend{cursor:pointer;}div#fuel_footer{font-size:9px;position:absolute;left:0px;bottom:0px;right:0px;text-align:center;color:#ccc;padding:3px;height:14px;}div#fuel_footer a{color:#fff;}div#fuel_boilerplate{line-height:12px;}div#fuel_body{}div#fuel_top{z-index:2;line-height:28px;height:30px;background-color:#393939;color:#fff;padding:0 10px;color:#fff;text-shadow:#444 0px 1px 0px;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#5d5d5d),color-stop(1,#393939));background:-moz-linear-gradient(top center,#5d5d5d 0%,#393939 100%);}div#fuel_top a:hover{text-decoration:underline;}h1#fuel_site_name{float:left;font-size:18px;width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}h1#fuel_site_name a{color:#999;text-shadow:#111 0px -1px 0px;text-decoration:none;}h1#fuel_site_name a:hover{color:#aaa;text-decoration:none;}div#fuel_left_panel{z-index:1;position:absolute;top:30px;left:0px;bottom:0px;width:200px;background-color:#333;overflow:auto;border-right:1px solid #292929;overflow-x:hidden;-moz-box-shadow:inset -5px 5px 20px 5px #2f2f2f;-webkit-box-shadow:inset -5px 5px 20px 5px #2f2f2f;box-shadow:inset -5px 5px 20px 5px #2f2f2f;}div#fuel_left_panel a{color:#999;text-decoration:none;text-shadow:#000 0px 1px 0px;display:block;overflow:hidden;text-overflow:ellipsis;width:130px;}div#fuel_left_panel a:hover{color:#bbb;text-decoration:underline;}div#fuel_left_panel_inner{padding:10px;text-shadow:#000 0px 1px 0px;}div#fuel_left_panel_inner h3{margin:0;cursor:pointer;font-size:11px;color:#999;text-transform:uppercase;background:transparent url(../images/toggle_arrow_down.png) no-repeat 0px 3px;padding-left:15px;margin-bottom:2px;}div#fuel_left_panel_inner h3.closed{background-image:url(../images/toggle_arrow_right.png);background-position:1px 3px;}div#fuel_left_panel_inner li{list-style:none;margin:0 -15px 0 -20px;padding:0 30px 0 30px;width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}div#fuel_left_panel_inner li.active{background:transparent url(../images/leftnav_on.png) repeat-x;color:#fff;}div#fuel_left_panel_inner li.active a{color:#fff;text-shadow:#555 0px 1px 0px;}div#fuel_left_panel_inner li ul li a{margin-left:15px;}div#fuel_left_panel_inner li.active ul li.active{background:none;}div#fuel_left_panel_inner li.active ul li a{color:#333;text-decoration:none;text-shadow:#fff 0px 1px 0px;background:none;}div#fuel_left_panel_inner li.active ul li.active a{text-decoration:underline;}.ico{display:block;padding-left:24px;list-style:none;background-position:5px 2px;background-repeat:no-repeat;line-height:20px;background-image:url(../images/fuel_icons.png);min-width:16px;min-height:16px;}h2.ico{margin-top:5px;line-height:21px !important;}.ico_activate,.ico_publish{background-position:5px -1071px;}.ico_assets{background-position:5px -1478px;}.ico_blocks{background-position:5px -109px;}.ico_cancel,.ico_error,.ico_no,.ico_remove_line{background-position:5px -220px;}.ico_categories{background-position:5px -553px;}.ico_create{background-position:5px -923px;}.ico_dashboard{background-position:5px -664px;}.ico_deactivate,.ico_unpublish{background-position:5px -1145px;}.ico_delete{background-position:5px -997px;}.ico_duplicate{background-position:5px -960px;}.ico_export{background-position:5px -1034px;}.ico_fuel{background-position:5px -590px;}.ico_info{background-position:15px -737px;}.ico_logs{background-position:5px -183px;}.ico_manage_cache{background-position:5px -1108px;}.ico_menu{background-position:5px -2014px;}.ico_module,.ico_other{background-position:5px -368px;}.ico_navigation{background-position:5px -1515px;}.ico_navigation_download{background-position:5px -1997px;}.ico_navigation_group{background-position:5px -294px;}.ico_notes{background-position:5px -886px;}.ico_pages{background-position:5px -812px;}.ico_pages_upload,.ico_navigation_upload,.ico_blocks_upload{background-position:5px -1293px;}.ico_permissions{background-position:5px -775px;}.ico_precedence{background-position:5px -1737px;}.ico_refresh{background-position:5px -146px;}.ico_remove_line{float:right;}.ico_replace{background-position:5px -1182px;}.ico_save{background-position:5px -442px;}.ico_select_all{background-position:5px -1330px;}.ico_settings{background-position:5px -1700px;}.ico_sitevariables{background-position:5px -1219px;}.ico_success,.ico_yes{background-position:5px -332px;}.ico_table{background-position:5px -1663px;width:16px;height:16px;}.ico_tags{background-position:5px -1774px;}.ico_tools{background-position:5px -1959px;}.ico_tree{background-position:5px -1885px;}.ico_view{background-position:5px -849px;}.ico_view_all{background-image:none;line-height:22px;padding-left:5px;}.ico_users{background-position:5px -1589px;}.ico_users_send_email{background-position:5px -482px;}.ico_warn{background-position:15px -516px;}.notification .ico_success,.notification .ico_yes{background-position:15px -330px;}.notification .ico_error{background-position:15px -220px;}div#fuel_main_panel{position:absolute;top:0;left:201px;right:0px;bottom:0px;background-color:#fff;-webkit-transition:all 0.2s cubic-bezier(0.445,0,0,1);-moz-transition:all 0.2s cubic-bezier(0.445,0,0,1);-ms-transition:all 0.2s cubic-bezier(0.445,0,0,1);-o-transition:all 0.2s cubic-bezier(0.445,0,0,1);transition:all 0.2s cubic-bezier(0.445,0,0,1);}#nav_toggle{opacity:0.9;}#nav_toggle{position:absolute;left:182px;top:0;font-size:1.3em;color:#fff;opacity:0.5;cursor:pointer;display:block;padding-left:25px;background:url(../images/icons/ico_nav_list.png) no-repeat left center;background-size:50%;text-indent:-10000px;}.nav_hide div#fuel_main_panel,div#fuel_left_panel{top:30px;left:0px;}body.nav_hide{overflow:hidden;width:100%;display:block;position:relative;}body.nav_hide,div#fuel_main_panel{min-width:700px;}.nav_hide div#fuel_top{height:30px;line-height:30px;}.nav_hide div#fuel_left_panel{left:-201px;z-index:50;-webkit-transform:translateX(201px);-moz-transform:translateX(201px);-ms-transform:translateX(201px);-o-transform:translateX(201px);transform:translateX(201px);}.nav_hide div#fuel_main_panel{left:0px;z-index:100;}.nav_hide h1#fuel_site_name{width:auto;display:block;float:none;padding:0 100px 0 85px;text-align:center;}.nav_hide div#fuel_left_panel_inner li.active{-webkit-background-size:auto 100%;background-size:auto 100%;}.nav_hide #nav_toggle{position:absolute;left:15px;top:0;font-size:1.3em;color:#fff;opacity:0.5;cursor:pointer;display:block;padding-left:20px;background-size:27%;text-indent:0;}.nav_hide div#fuel_main_panel{-webkit-transform:translateX(0px);-moz-transform:translateX(0px);-ms-transform:translateX(0px);-o-transform:translateX(0px);transform:translateX(0px);}@media only screen and (min-device-width:768px) and (max-device-width:1024px) {div#fuel_left_panel a{font-size:1.2em;line-height:2em;}}@media only screen and (min-device-width:320px) and (max-device-width:480px) {div#fuel_left_panel a{font-size:1.2em;line-height:2em;}}div#fuel_main_top_panel{height:29px;font-size:13px;color:#fff;background-color:#e7e7e7;border-bottom:1px solid #ccc;overflow:hidden;}div#fuel_main_top_panel h2{color:#333;text-shadow:#fff 0px 1px 0px;line-height:30px;margin-left:11px;}div#fuel_main_top_panel h2 a{color:#0E3E7E;}div#fuel_main_top_panel li{float:left;display:block;list-style:none;line-height:29px;font-weight:bold;border-right:1px solid #6e6e6e;}div#fuel_main_top_panel li a{display:block;color:#fff;text-shadow:#555 0px 1px 0px;background:#6d6d6d url(../images/tab.png) repeat-x;padding:0 15px;}div#fuel_main_top_panel li a:hover{background:#7c7c7c url(../images/tab.png) repeat-x 0 -29px;}div#fuel_main_top_panel li.active a{background:#e7e7e7 url(../images/tab.png) repeat-x 0 -58px;color:#113556;text-shadow:#fff 0px 1px 0px;}div#fuel_login_logout{position:absolute;top:8px;right:15px;font-size:11px;color:#333;background-color:#e7e7e7;height:21px;text-shadow:#fff 0px 1px 0px;}div#fuel_actions{height:46px;border-bottom:1px solid #b6b6b6;position:relative;min-width:680px;background:#eee;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,whiteSmoke),color-stop(1,#cfd1cf));background:-moz-linear-gradient(top center,#f6f6f6 0%,#ddd 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6',endColorstr='#dddddd');}div#fuel_main_content{overflow:auto;position:absolute;top:99px;left:0px;right:0px;bottom:0px;}div#fuel_main_content .buttonbar li,#fuel_main_content_compact .buttonbar li{margin-right:15px;}div#fuel_main_content_inner h3{background-color:#f6f6f6;padding:5px;margin-bottom:10px;}div#fuel_main_content_inner{padding:15px 37px;}div#fuel_main_content_inner .bullets{margin-left:15px;}div.noactions{top:51px !important;}div.notitlebar{top:69px !important;}div.noactions_notitlebar{top:22px !important;}div.noactions_nonotification{top:30px !important;}div#fuel_main_panel_compact{position:absolute;top:0px;left:0px;right:0px;bottom:0px;background-color:#fff;}div#fuel_main_content_compact{background-color:#fff;overflow:auto;position:absolute;top:99px;left:0px;right:0px;bottom:0px;}div.dashboard_pod{float:left;margin-right:10px}div.dashboard_module{float:left;margin-right:10px;margin-top:10px;}div#filters{position:absolute;right:15px;top:12px;}a#multi_delete{display:block;}.adv_search{position:absolute;min-width:360px;background:white;border:1px solid #b6b6b6;z-index:1000;left:-120px;padding:10px 15px;display:none;-moz-box-shadow:1px 3px 5px 1px rgba(0,0,0,0.3);-webkit-box-shadow:1px 3px 5px 1px rgba(0,0,0,0.3);box-shadow:2px 2px 10px 1px rgba(0,0,0,0.3);}}.adv_search .more_filters{max-height:500px;overflow-y:auto;}.adv_search .more_filters div div{float:none;overflow:hidden;margin-bottom:7px;}.adv_search .label{width:100px;}.adv_search input[type="text"]{max-width:217px;}.search_input{position:relative;}#search_term.advanced{padding-right:15px;}.search_input #adv-search-btn{position:absolute;right:4px;top:5px;padding-top:5px;height:10px;background-color:#fff;}div#other_items{float:left;margin:2px 20px 0px 20px;}div#other_items select{max-width:250px;}div#action_btns{position:absolute;top:9px;left:15px;height:29px;overflow:hidden;}div.buttonbar ul{height:27px;float:left;}div.buttonbar li{border-top:1px solid #ccc;border-left:1px solid #b9b9b9;border-bottom:1px solid #b9b9b9;float:left;list-style:none;margin:0;background:#e6e6e6 url(../images/btn.png) repeat-x;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fff),color-stop(1,#ddd));background:-moz-linear-gradient(top center,#fff 0%,#ddd 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#dddddd');}div.buttonbar li:hover{background-position:0 -27px;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fff),color-stop(1,#eee));background:-moz-linear-gradient(top center,#fff 0%,#eee 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#eeeeee');-moz-box-shadow:inset 0 0 5px #ddd;-webkit-box-shadow:inset 0 0 5px #ddd;box-shadow:inner 0 0 5px #ddd;}div.buttonbar li.active{background-position:0 -54px;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#ddd),color-stop(1,#fff));background:-moz-linear-gradient(top center,#ddd 0%,#fff 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dddddd',endColorstr='#ffffff');}div.buttonbar li.active a{color:#000;}div.buttonbar li a{color:#0e3e7e;height:22px;line-height:20px;display:block;padding:0 11px 1px 26px;margin-top:4px;}div.buttonbar li.spacer,li.unattached{margin-left:10px;}div.buttonbar li:last-child,li.unattached{border-right:1px solid #b9b9b9;}div.buttonbar li.end{border-right:1px solid #b9b9b9;}div.buttonbar li:first-child,div.buttonbar li.unattached{-webkit-border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-topleft:4px;-moz-border-radius-bottomleft:4px;border-top-left-radius:4px;border-bottom-left-radius:4px;}div.buttonbar li:last-child,div.buttonbar li.unattached{-webkit-border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;}div.buttonbar li.start{border-left:1px solid #b9b9b9;}div.save_cancel{height:35px;}div.save_cancel li{margin:5px 3px;}div.form_tabs li{padding:5px 15px;list-style:none;margin:0 3px 0 0;border-left:1px solid #eee;border-right:1px solid #eee;border-top:1px solid #eee;text-align:center;float:left;font-weight:bold;background-color:#ffffff;-webkit-border-top-left-radius:4px;-webkit-border-top-right-radius:4px;-moz-border-radius-topleft:4px;-moz-border-radius-topright:4px;border-top-left-radius:4px;border-top-right-radius:4px;}div.form_tabs li.active{background-color:#eee;}div.form_tabs li.active a{color:#333;}div.boxbuttons li{float:left;display:block;list-style:none;width:110px;height:60px;border:1px solid #ccc;margin-bottom:15px;margin-right:15px;}div.boxbuttons li a{display:block;text-align:center;padding:10px 5px 5px 5px;width:100px;height:45px;background-color:#fff;}div.boxbuttons li a:hover{background-color:#f6f6f6;}div.boxbuttons li i{display:block;padding:0;margin:auto;width:21px;height:22px;padding-right:5px;}div#fuel_notification{height:21px;border-bottom:1px solid #ccc;background-color:#ecf1f5;text-overflow:ellipsis;overflow:hidden;position:relative;}div.notification p,div.notification div,div.notification ul{margin:0;min-height:15px;line-height:15px;padding:3px 0 3px 35px;list-style:none;background-repeat:no-repeat;list-style:none;}div.notification .ico{line-height:15px;}div#pagination{position:absolute;z-index:1;right:0px;top:-3px;text-align:right;padding-right:25px;}div#pagination a{line-height:21px;padding:0 3px;border:1px solid #ccc;background-color:#f9f9f9;}div#pagination a:hover{background-color:#fdfdfd;}div#pagination b{color:#fff;background-color:#4f7193;line-height:21px;padding:0 3px;border:1px solid #ccc;}div#module_description{border-bottom:1px solid #ccc;background-color:#f6f6f6;padding:15px;}div#module_description p{margin:0;}div#table_loader{position:absolute;top:20px;left:50%;margin-left:-25px;z-index:2;}div#data_table_container{padding:6px 0;}#data_table .publish_hover:hover .publish_action{display:inline;}#data_table .publish_hover:hover .publish_text{display:none;}table#data_table.rearrange tr:hover td{cursor:move !important;background-color:#ffe !important;}table.data{width:98%;margin:0px auto;}table.data th{padding:0 20px 0 0;white-space:nowrap;}table.data td{padding:5px 20px;border-top:1px solid #fff;white-space:nowrap;max-width:300px;text-overflow:ellipsis;overflow:hidden;}table.data th.on,table.data th.on a{color:#4f7193;}table.data th a{text-decoration:underline;}table.data th a,table.data th span{color:#333;display:block;line-height:22px;padding:0 0 0 20px;width:100%;border-left:1px solid #fff;}table.data th.asc a{background:transparent url(../images/th_arrow_asc.png) no-repeat 5px center;}table.data th.desc a{background:transparent url(../images/th_arrow_desc.png) no-repeat 5px center;}table.data th{text-align:left;}table.data td.next_last{width:100%;}table.data td.actions{text-align:right;white-space:nowrap;padding-left:5px;}table.data tr.rowaction:hover td{background-color:#edf2f7 !important;cursor:pointer;}table.data th.col1{min-width:200px;}table.data tr.alt{background-color:#f3f3f3;}div.nodata{text-align:center;padding:10px 0 15px 0;}span.publish_col{width:100px;display:block;cursor:pointer !important;}.form{border:none;border-spacing:0;display:table;}.form td.label{padding:6px 15px 0 0;font-weight:bold;vertical-align:top;}.form td.value{padding:3px 0;white-space:nowrap;}.form td.required{padding-top:10px;}div.more_filters{padding-left:10px;}div.more_filters span.label{float:left;padding-top:6px;}div.more_filters span.field{float:left;display:block;padding:0 0 0 5px;}div.more_filters div div{float:left;margin-right:10px;}div#tree_container{padding:16px 15px;}div#tree_loader{position:absolute;top:20px;left:50%;margin-left:-25px;z-index:2;}div#login{padding:15% 0 0 0;border:none;background-color:transparent;margin:0 auto;}div#login h3,div#login p{color:#fff;text-align:center;}div#login form{width:270px;margin:0 auto;}div#login input{background-color:#1d1d1d;color:#fff;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;border:2px solid #444;height:40px;width:270px;padding:0 1em;}.login_logo{background:transparent url(../images/fuel_logo.png) no-repeat;background-size:100%;width:233px;height:46px;overflow:hidden;margin:0 auto 1.5em auto;}div#login::-webkit-input-placeholder{color:#999;}div#login:-moz-placeholder{color:#999;}div#login:-ms-input-placeholder{color:#999;}div#login input[type="submit"]{background:#3dbfd9 !important;color:#fff;font-size:20px;text-shadow:none;}div#login_notification{text-overflow:ellipsis;overflow:hidden;width:440px;margin:auto;}a#forgotten_pwd{text-align:center;display:block;padding-top:15px;padding-left:20px;color:#999;}a.modal_close{position:absolute;left:-11px;top:-11px;z-index:10;background:transparent url(../images/x_close.png) no-repeat center center;width:23px;height:23px;text-indent:-10000px;overflow:hidden;}div.modal_content{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background-color:#fff;width:100%;height:100%; overflow:hidden;}div.modal_content iframe{width:100% !important;}div.modal_content_inner{padding:10px 20px;}div#asset_preview{height:275px;width:740px;overflow:auto;text-align:center;margin:10px 0 20px 0;}div.asset_select > div > div{float:left;}div.asset_select span.label{padding:0 5px 0 15px;}div.asset_select div.actions{padding-top:50px;float:left;}div.img_crop{max-width:400px;max-height:200px;overflow:auto;}div#yes_no_modal{text-align:center;margin:0;}div#yes_no_modal ul{float:none;}div#yes_no_modal li{display:inline-block;margin-right:5px;float:none;}div#__FUEL_modal__{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;width:98%;max-width:864px;margin-left:-425px;max-height:508px;background-color:#fff;}div#__FUEL_modal__ .add_inline_button,div#__FUEL_modal__ .edit_inline_button{display:none;}a.btn_field_right{display:block;float:right;margin-bottom:5px;margin-right:3px;}div.img_display{float:right;overflow:auto;height:120px;width:300px;}div.viewpage_modal{top:16px;border:2px solid #666;background-color:#fff;height:96% !important;width:96% !important;max-width:96% !important;max-height:96% !important;padding:0;display:none;}div#viewpage_btns{position:absolute;z-index:1;top:-17px;right:-2px;}a.viewpage_btn{float:left;margin-right:2px;color:#ccc;background-color:#666;padding:1px 5px;}a#viewpage_close{right:0px;}a#viewpage_new_page{right:100px;}iframe#viewpage_iframe{border:none;width:100%;height:100%;}input#Save,input.submit{margin-top:10px;width:150px;text-align:center;}input#Cancel,input.cancel{margin-top:10px;margin-right:10px;width:60px;text-align:center;}div#tooltip h3{font-size:11px;font-weight:normal;}a.btn_field{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;line-height:12px;border:1px solid #ccc;padding:3px 5px 3px 5px;background:#eee url(../images/btn.png) repeat-x;}a.btn_field:hover{background-position:0 -27px;}a#back_to{margin-bottom:20px;display:block;}.hidden_form{visibility:hidden;height:0px;overflow:hidden;}div#related_items{float:right;width:210px;background-color:#ecf1f5;border-left:1px solid #ccc;border-bottom:1px solid #ccc;padding:10px;}div#related_items h3{background-color:transparent;padding-left:24px;margin-top:5px;}div#related_items li{list-style:none;padding-left:5px;margin:5px 0;}div#related_items select{max-width:212px;}div#related_items .layout_preview{max-width:210px;margin:10px auto;}a.reset{display:block;width:16px;height:16px;background:transparent url(../images/fuel_icons.png) no-repeat 0px -146px;margin-right:5px;}div.perms_list ul ul{margin:10px;}div.perms_list ul li{margin:8px 0 8px;list-style:none;display:block;}div.perms_list ul li input{margin-right:2px;}div.perms_list ul ul li{margin:8px 0 8px 10px;}div.perms_list label{font-weight:bold;}.match_class{display:block;position:absolute;z-index:10;margin-bottom:0px;min-height:30px;}.match_class span{display:inline-block;cursor:pointer;padding:3px;background-color:#fcfce6;border:1px solid #ccc;margin:3px 0 3px 3px;}.multi_field{margin-bottom:10px;display:inline-block;padding-top:2px;}.cke_top{min-width:565px !important;}.cke_button__fuellink_icon{background:url(../js/editors/ckeditor/skins/moono/icons.png) no-repeat 0 -528px !important;}.cke_button__fuelunlink_icon{background:url(../js/editors/ckeditor/skins/moono/icons.png) no-repeat 0 -552px !important;}.cke_button__fuelimage_icon{background:url(../js/editors/ckeditor/skins/moono/icons.png) no-repeat 0 -360px !important;}#codeigniter_profiler{position:absolute;bottom:0;left:200px;height:300px;overflow:auto;} \ No newline at end of file diff --git a/fuel/modules/fuel/assets/css/fuel_inline.css b/fuel/modules/fuel/assets/css/fuel_inline.css index a3c0a70f1..0a5dea9b2 100644 --- a/fuel/modules/fuel/assets/css/fuel_inline.css +++ b/fuel/modules/fuel/assets/css/fuel_inline.css @@ -1,5 +1,5 @@ /* generic styles */ -.__fuel__ * { font-family: 'Lucida Grande', 'Gill Sans', Arial, Helvetica, Sans-serif; margin: 0; padding: 0; font-size: 11px; outline-style: none; color: #000; text-shadow: none !important; background: none; } +.__fuel__ * { font-family: 'Lucida Grande', Verdana, Arial, Helvetica, Sans-serif; margin: 0; padding: 0; font-size: 11px; outline-style: none; color: #000; text-shadow: none !important; background: none; } .__fuel__ h2 { font-size: 14px !important; margin-bottom: 10px !important; } .__fuel__ a { color: #0e3e7e !important; text-decoration: none !important; font-weight: normal !important; border: none !important; } .__fuel__ a:hover { text-decoration: underline !important; } diff --git a/fuel/modules/fuel/assets/css/jquery-ui-1.8.17.custom.css b/fuel/modules/fuel/assets/css/jquery-ui-1.8.17.custom.css index 18c361fa0..abff4ce9f 100755 --- a/fuel/modules/fuel/assets/css/jquery-ui-1.8.17.custom.css +++ b/fuel/modules/fuel/assets/css/jquery-ui-1.8.17.custom.css @@ -53,9 +53,9 @@ /* Component containers ----------------------------------*/ -.ui-widget { font-family: 'Lucida Grande', 'Gill Sans', Arial, Helvetica, Sans-serif; font-size: 1.1em; } +.ui-widget { font-family: 'Lucida Grande', Verdana, Arial, Helvetica, Sans-serif; font-size: 1.1em; } .ui-widget .ui-widget { font-size: 1em; } -.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: 'Lucida Grande', 'Gill Sans', Arial, Helvetica, Sans-serif; font-size: 1em; } +.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: 'Lucida Grande', Verdana, Arial, Helvetica, Sans-serif; font-size: 1em; } .ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_glass_75_ffffff_1x400.png) 50% 50% repeat-x; color: #222222; } .ui-widget-content a { color: #222222; } .ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; } diff --git a/fuel/modules/fuel/assets/js/editors/markitup/jquery.markitup.set.js b/fuel/modules/fuel/assets/js/editors/markitup/jquery.markitup.set.js index 526b87139..f4bfd7478 100644 --- a/fuel/modules/fuel/assets/js/editors/markitup/jquery.markitup.set.js +++ b/fuel/modules/fuel/assets/js/editors/markitup/jquery.markitup.set.js @@ -453,7 +453,7 @@ myMarkItUpSettings.displayLinkEditWindow = function(selected, attrs, callback){ if ($class.length && $class.val().length){ replace += ' class="' + $class.val() + '"'; } - replace += '>' + $selected.val() + ''; + replace += '>' + unescape($selected.val()) + ''; callback(replace); } diff --git a/fuel/modules/fuel/assets/js/fuel/controller/AssetsController.js b/fuel/modules/fuel/assets/js/fuel/controller/AssetsController.js index 65e5428c3..70e92c1c4 100644 --- a/fuel/modules/fuel/assets/js/fuel/controller/AssetsController.js +++ b/fuel/modules/fuel/assets/js/fuel/controller/AssetsController.js @@ -23,7 +23,7 @@ fuel.controller.AssetsController = jqx.createController(fuel.controller.BaseFuel var selectedAssetFolder = this.initObj.folder; $assetSelect.change(function(e){ - var isImg = ($assetSelect.val() && $assetSelect.val().match(/\.jpg$|\.jpeg$|\.gif$|\.png$/)); + var isImg = ($assetSelect.val() && $assetSelect.val().toLowerCase().match(/\.jpg$|\.jpeg$|\.gif$|\.png$/)); if (isImg){ $assetPreview.show().html(''); $('.img_only').show(); diff --git a/fuel/modules/fuel/assets/js/fuel/controller/BaseFuelController.js b/fuel/modules/fuel/assets/js/fuel/controller/BaseFuelController.js index eb5b4049c..34840ab9d 100755 --- a/fuel/modules/fuel/assets/js/fuel/controller/BaseFuelController.js +++ b/fuel/modules/fuel/assets/js/fuel/controller/BaseFuelController.js @@ -184,7 +184,6 @@ fuel.controller.BaseFuelController = jqx.lib.BaseController.extend({ var itemViewsCookie = $.supercookie(this.uiCookie, itemViewsCookieId); $('#toggle_tree').click(function(e){ - _this._toggleRearrangeBtn(); $('#toggle_tree').parent().addClass('active'); if ($('#rearrange').parent().hasClass('active')){ @@ -202,6 +201,8 @@ fuel.controller.BaseFuelController = jqx.lib.BaseController.extend({ // lazy load tree if (!_this.treeLoaded){ _this.redrawTree(); + } else { + _this._toggleRearrangeBtn(); } return false; }); @@ -220,6 +221,8 @@ fuel.controller.BaseFuelController = jqx.lib.BaseController.extend({ // lazy load table if (!_this.tableLoaded){ _this.redrawTable(); + } else { + _this._toggleRearrangeBtn(); } return false; }); @@ -603,17 +606,10 @@ fuel.controller.BaseFuelController = jqx.lib.BaseController.extend({ }, _toggleRearrangeBtn : function(){ - - // remove the button if no precedence columns - if (!$('#precedence').length) - { - $('.ico_precedence').parent().remove(); - } - - if ($('#precedence').val() != 1){ - $('#rearrange').parent().hide(); - } else { + if (!$('#list_container').is(':hidden') && parseInt($('#precedence').val()) == 1){ $('#rearrange').parent().show(); + } else { + $('#rearrange').parent().hide(); } }, @@ -645,7 +641,7 @@ fuel.controller.BaseFuelController = jqx.lib.BaseController.extend({ if (!_this.treeLoaded) _this.treeLoaded = true; // setup rearranging precedence - $('#rearrange').parent().hide(); + _this._toggleRearrangeBtn(); }, @@ -662,7 +658,6 @@ fuel.controller.BaseFuelController = jqx.lib.BaseController.extend({ $.post(_this.modulePath + '/toggle_' + toggleStatus + '/' + id + '/' + field, params, function(html){ _this.redrawTable(true, false); }); - } $('#data_table .publish_text').parent().addClass('publish_col'); @@ -683,7 +678,7 @@ fuel.controller.BaseFuelController = jqx.lib.BaseController.extend({ if (!_this.rearrangeOn){ var actionsCol = $(this).parent().find('td.actions'); var firstLink = $('a:first', actionsCol[0]).attr('href'); - if (firstLink && firstLink){ + if (firstLink){ window.location = firstLink; } } diff --git a/fuel/modules/fuel/assets/js/fuel/custom_fields.js b/fuel/modules/fuel/assets/js/fuel/custom_fields.js index 97c2d4563..78f086f76 100644 --- a/fuel/modules/fuel/assets/js/fuel/custom_fields.js +++ b/fuel/modules/fuel/assets/js/fuel/custom_fields.js @@ -36,6 +36,9 @@ fuel.fields.datetime_field = function(context){ firstDay : $(this).attr('data-first_day'), showOn : $(this).attr('data-show_on') }; + if ($(this).attr('data-button_image')){ + options.buttonImage = $(this).attr('data-button_image'); + } var opts = $.extend(o, options); $.datepicker.regional[o.region]; @@ -321,8 +324,13 @@ fuel.fields.wysiwyg_field = function(context){ var createPreview = function(id){ var $textarea = $('#' + id); + + if ($textarea.data('preview') != undefined && $textarea.data('preview').length == 0){ + return; + } + var previewButton = '' + fuel.lang('btn_preview') + ''; - + // add preview to make it noticable and consistent if ($textarea.parent().find('.editor_preview').length == 0){ var $previewBtn = $textarea.parent('.markItUpContainer').find('.markItUpHeader .preview'); @@ -436,7 +444,6 @@ fuel.fields.asset_field = function(context, options){ $assetPreview = $('#asset_preview', iframeContext); $('.cancel', iframeContext).add('.modal_close').click(function(){ $modal.jqmHide(); - if ($(this).is('.save')){ var $activeField = $('#' + activeField); var assetVal = jQuery.trim($activeField.val()); @@ -449,7 +456,11 @@ fuel.fields.asset_field = function(context, options){ } else { assetVal = selectedVal; } - $('#' + activeField).val(assetVal).trigger("change"); + $activeField.val(assetVal).trigger("change"); + + refreshImage($activeField); + + } return false; }); @@ -508,21 +519,24 @@ fuel.fields.asset_field = function(context, options){ $modal.find('iframe#add_edit_inline_iframe').bind('load', function(){ var iframeContext = this.contentDocument; selected = $('#uploaded_file_name', iframeContext).val(); + if (selected && selected.length){ var $activeField = $('#' + activeField); - if ($activeField.data('multiple') == '1'){ - var selectedAssetValue = jQuery.trim($('#' + activeField).val()); + var multiple = parseInt($activeField.attr('data-multiple')) == 1; + if (multiple){ + var selectedAssetValue = jQuery.trim($activeField.val()); var selectedAssets = []; if (selectedAssetValue.length){ selectedAssets = selectedAssetValue.split(','); } selectedAssets.push(selected); - $('#' + activeField).val(selectedAssets.join(',')) + $activeField.val(selectedAssets.join(',')) } else { - $('#' + activeField).val(selected); + $activeField.val(selected); } $modal.jqmHide(); + refreshImage($activeField); } }) return false; @@ -556,6 +570,49 @@ fuel.fields.asset_field = function(context, options){ return false; }); + + // refresh any images + var refreshImage = function(activeField){ + $activeField = $(activeField); + var folder = $activeField.data('folder') + var imgPath = jqx_config.assetsPath + folder + '/'; + var $preview = $activeField.parent().find('.img_preview'); + var value = $activeField.val(); + var imgValues = value.split(','); + var imgStyles = $preview.data('imgstyles'); + $preview.empty(); + var previewHTML = ''; + $.each(imgValues, function(img){ + + // check if it is an image + if (this.length && this.toLowerCase().match(/\.jpg$|\.jpeg$|\.gif$|\.png$/)){ + var newSrc = (this.toLowerCase().match(/^http(s)?:\/\//)) ? '' : imgPath; + newSrc += $.trim(this) + '?c=' + new Date().getTime() + previewHTML += ''; + previewHTML += '' + previewHTML += ''; + } + + if (value && $activeField.data('orig') != value){ + previewHTML += '' + fuel.lang('assets_need_to_save') + '
'; + } + }) + + if (previewHTML.length){ + $preview.show().html(previewHTML); + } else { + $preview.hide(); + } + + } + + $('.asset_select, .asset_upload', context).each(function(){ + $(this).on('change', function(e){ + refreshImage(this); + }) + refreshImage(this); + }); + } // inline editing of another module @@ -1146,7 +1203,7 @@ fuel.fields.toggler_field = function(context, options){ }) // for block fields that get ajaxed in - $(document).on("blockLoaded", function(e, elem, context){ + $(document).off("blockLoaded").on("blockLoaded", function(e, elem, context){ var $togglers = $(elem).parent().find(".toggler").not('.__applied__'); $togglers.each(function(){ var $this = $(this); diff --git a/fuel/modules/fuel/assets/js/fuel/fuel.min.js b/fuel/modules/fuel/assets/js/fuel/fuel.min.js index fc327e5cd..7b4e76985 100644 --- a/fuel/modules/fuel/assets/js/fuel/fuel.min.js +++ b/fuel/modules/fuel/assets/js/fuel/fuel.min.js @@ -519,11 +519,11 @@ i);parseTemplate(this,i)})};var checkMax=function($elem,max){if(max&&$elem.child var cloneRepeatableNode=function($elem){$clone=$elem.children(options.repeatableSelector+":first").clone(false);return $clone};var createCollapsingContent=function($elem){if(options.allowCollapsingContent)$($elem).find(options.sortableSelector).unbind("dblclick").dblclick(function(e){$parent=$(this).closest(options.repeatableSelector).parent();var dblclick=$parent.attr("data-dblclick")?$parent.attr("data-dblclick"):null;var $elems=$(this).closest(options.repeatableSelector).find(options.contentSelector+ ":first");if(dblclick=="accordion"||dblclick=="accordian"){$parent.find(options.contentSelector).hide();$elems.show()}else $elems.toggle()})};var createAddButton=function($elem){$("."+options.addButtonClass).each(function(i){var $prev=$(this).prev();var $clone=cloneRepeatableNode($prev);$(this).data("clone",$clone)})};$(document).on("click","."+options.addButtonClass,function(e){e.preventDefault();e.stopImmediatePropagation();var $prev=$(this).prev();var max=$prev.attr("data-max")?parseInt($prev.attr("data-max")): null;var min=$prev.attr("data-min")?parseInt($prev.attr("data-min")):null;var dblclick=$prev.attr("data-dblclick")?$prev.attr("data-dblclick"):null;if(!$(e.currentTarget).data("clone")){var $clone=cloneRepeatableNode($prev);$(e.currentTarget).data("clone",$clone)}else var $clone=$(e.currentTarget).data("clone");var $this=$(this).prev();var $clonecopy=$clone.clone(false);$clonecopy.addClass("noclone");$clonecopy.find(options.contentSelector+":first").show();if(dblclick=="accordian"||dblclick=="accordion")$prev.find(options.contentSelector).hide(); -createCollapsingContent($clonecopy);var $children=$this.children(options.repeatableSelector);if(max&&$children.length>=max)return false;var index=$children.length;parseTemplate($clonecopy,index);createRemoveButton($clonecopy);$this.append($clonecopy);$clonecopy.find("input,select,textarea").not('input[type="radio"], input[type="checkbox"], input[type="button"], .noclear').val("");$clonecopy.find(".noclone").remove();reOrder($this);if(max&&$children.length!=0&&$children.length>=max-1)$(this).hide(); -checkMin($prev,min);$this.trigger({type:"cloned",clonedNode:$clonecopy})});var index=0;return this.each(function(){var $this=$(this);var $repeatables=$this.children(options.repeatableSelector);if(!$this.is(".__applied__"))$repeatables.each(function(i){parseTemplate(this,i);createRemoveButton(this)});$parent=$this.parent();if(options.max)$this.attr("data-max",options.max);if(options.min)$this.attr("data-min",options.min);if(options.dblClickBehavior)$this.attr("data-dblclick",options.dblClickBehavior); -if(options.initDisplay&&!$this.is(".__applied__")){$this.attr("data-init_display",options.init_display);if($repeatables.closest(options.contentSelector).length)$toDisplay=$repeatables.find(options.contentSelector);else $toDisplay=$repeatables.find(options.contentSelector).not(options.contentSelector+" "+options.contentSelector);if(options.initDisplay=="first")$toDisplay.not(":first").hide();else if(options.initDisplay=="none"||options.initDisplay=="closed")$toDisplay.hide()}if($parent.find(options.addButtonClass).length== -0&&!$this.hasClass("__applied__"))$parent.append(''+options.addButtonText+" ");if(options.sortable)$this.sortable({cursor:"move",handle:options.sortableSelector,start:function(event,ui){$this.trigger({type:"sortStarted",clonedNode:$this})},stop:function(event,ui){reOrder($(this));$this.trigger({type:"sortStopped",clonedNode:$this})}});if(!$this.hasClass("__applied__"))createAddButton($this);if($this.attr("data-max"))checkMax($this,options.max);if($this.attr("data-min"))checkMin($this, -options.min);createCollapsingContent($this);index++;$this.addClass("__applied__");return this})}})(jQuery); +createCollapsingContent($clonecopy);var $children=$this.children(options.repeatableSelector);if(max&&$children.length>=max)return false;var index=$children.length;parseTemplate($clonecopy,index);createRemoveButton($clonecopy);$this.append($clonecopy);$clonecopy.find("input,select,textarea").not('input[type="radio"], input[type="checkbox"], input[type="button"], .noclear').val("");$clonecopy.find('input[type="checkbox"]').not(".noclear").prop("checked",false);$clonecopy.find('input[type="radio"]').not(".noclear").each(function(){if(parseInt($(this).data("orig_checked"))== +1)$(this).prop("checked",true);else $(this).prop("checked",false)});$clonecopy.find(".noclone").remove();reOrder($this);if(max&&$children.length!=0&&$children.length>=max-1)$(this).hide();checkMin($prev,min);$this.trigger({type:"cloned",clonedNode:$clonecopy})});var index=0;return this.each(function(){var $this=$(this);var $repeatables=$this.children(options.repeatableSelector);if(!$this.is(".__applied__"))$repeatables.each(function(i){parseTemplate(this,i);createRemoveButton(this)});$parent=$this.parent(); +if(options.max)$this.attr("data-max",options.max);if(options.min)$this.attr("data-min",options.min);if(options.dblClickBehavior)$this.attr("data-dblclick",options.dblClickBehavior);if(options.initDisplay&&!$this.is(".__applied__")){$this.attr("data-init_display",options.init_display);if($repeatables.closest(options.contentSelector).length)$toDisplay=$repeatables.find(options.contentSelector);else $toDisplay=$repeatables.find(options.contentSelector).not(options.contentSelector+" "+options.contentSelector); +if(options.initDisplay=="first")$toDisplay.not(":first").hide();else if(options.initDisplay=="none"||options.initDisplay=="closed")$toDisplay.hide()}if($parent.find(options.addButtonClass).length==0&&!$this.hasClass("__applied__"))$parent.append(''+options.addButtonText+" ");if(options.sortable)$this.sortable({cursor:"move",handle:options.sortableSelector,start:function(event,ui){$this.trigger({type:"sortStarted",clonedNode:$this})},stop:function(event, +ui){reOrder($(this));$this.trigger({type:"sortStopped",clonedNode:$this})}});if(!$this.hasClass("__applied__"))createAddButton($this);if($this.attr("data-max"))checkMax($this,options.max);if($this.attr("data-min"))checkMin($this,options.min);createCollapsingContent($this);index++;$this.addClass("__applied__");return this})}})(jQuery); (function($){var pushStackOrig,pushStackChrome;pushStackOrig=$.fn.pushStack;pushStackChrome=function(elems,name,selector){var ret=new jQuery.fn.init;if(jQuery.isArray(elems))push.apply(ret,elems);else jQuery.merge(ret,elems);ret.prevObject=this;ret.context=this.context;if(name==="find")ret.selector=this.selector+(this.selector?" ":"")+selector;else if(name)ret.selector=this.selector+"."+name+"("+selector+")";return ret};$.fn.pushStack=function(elems,name,selector){var ret;try{ret=pushStackOrig.call(this, elems,name,selector);return ret}catch(e){if(e instanceof TypeError)if(!(ret instanceof jQuery.fn.init)){ret=pushStackChrome.call(this,elems,name,selector);return ret}throw e;}}}).call(this,jQuery);jQuery.fn.exists=function(){return this.size()>0};jQuery.fn.setClass=function(cssClass){var j=jQuery(this).attr("className",cssClass);return j};jQuery.fn.isHidden=function(){if(jQuery(this).css("display")=="none")return true;return false}; jQuery.include=function(file,type){if(!type)type="script";$.ajax({async:false,url:file,dataType:type,error:function(){var msg=new jqx.lib.Message("There was an error in loading the file"+file,"error");msg.display()}})};function initFuelNamespace(){var f;if(window.fuel==undefined)if(top.window.fuel!=undefined)f=top.window.fuel;else f={};else f=window.fuel;return f}if(typeof window.fuel=="undefined")window.fuel={};fuel.lang=function(key){return __FUEL_LOCALIZED__[key]}; diff --git a/fuel/modules/fuel/assets/js/jquery/plugins/jquery.repeatable.js b/fuel/modules/fuel/assets/js/jquery/plugins/jquery.repeatable.js index 35d4e4906..665bc3c3b 100644 --- a/fuel/modules/fuel/assets/js/jquery/plugins/jquery.repeatable.js +++ b/fuel/modules/fuel/assets/js/jquery/plugins/jquery.repeatable.js @@ -280,6 +280,16 @@ dave@thedaylightstudio.com // remove values from any form fields $clonecopy.find('input,select,textarea').not('input[type="radio"], input[type="checkbox"], input[type="button"], .noclear').val(''); + $clonecopy.find('input[type="checkbox"]').not('.noclear').prop('checked', false); + $clonecopy.find('input[type="radio"]').not('.noclear').each(function(){ + if (parseInt($(this).data('orig_checked')) == 1){ + $(this).prop('checked', true); + } else { + $(this).prop('checked', false); + } + + }); + $clonecopy.find('.noclone').remove(); reOrder($this); diff --git a/fuel/modules/fuel/config/custom_fields.php b/fuel/modules/fuel/config/custom_fields.php index 8a9771c7e..dbc9a236e 100644 --- a/fuel/modules/fuel/config/custom_fields.php +++ b/fuel/modules/fuel/config/custom_fields.php @@ -1,242 +1,187 @@ 'datepicker', 'js_function' => 'fuel.fields.datetime_field', - // 'js_params' => array('format' => 'mm-dd-yyyy'), - 'represents' => 'datetime|timestamp', + 'represents' => 'datetime|timestamp' ); -// date field +// Date field $fields['date'] = array( 'css_class' => 'datepicker', - 'js_function' => 'fuel.fields.datetime_field', + 'js_function' => 'fuel.fields.datetime_field' ); -// multi field +// Multi field $fields['multi'] = array( - 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), - 'function' => 'multi', - // 'js' => array( - // FUEL_FOLDER => array( - // 'jquery/plugins/jquery.selso', - // 'jquery/plugins/jquery.disable.text.select.pack', - // 'jquery/plugins/jquery.supercomboselect', - // ) - // ), + 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), + 'function' => 'multi', 'js_function' => 'fuel.fields.multi_field', - //'css' => array(FUEL_FOLDER => 'jquery.supercomboselect'), - 'represents' => 'array', + 'represents' => 'array' ); -// multi field +// Asset field $fields['asset'] = array( - 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), - 'function' => 'asset', - 'filepath' => '', - // 'js' => array( - // FUEL_FOLDER => array( - // 'jquery/plugins/jqModal', - // ) - // ), + 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), + 'function' => 'asset', + 'filepath' => '', 'js_function' => 'fuel.fields.asset_field', 'represents' => array('name' => '.*image\]?$|.*img\]?$'), ); -// wysiwyg field +// Wysiwyg field $fields['wysiwyg'] = array( - 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), - 'function' => 'wysiwyg', - 'filepath' => '', - 'js' => array( - FUEL_FOLDER => array( - 'editors/markitup/jquery.markitup', - 'editors/markitup/jquery.markitup.set', - 'editors/ckeditor/ckeditor.js', - 'editors/ckeditor/config.js', - ) + 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), + 'function' => 'wysiwyg', + 'filepath' => '', + 'js' => array( + FUEL_FOLDER => array( + 'editors/markitup/jquery.markitup', + 'editors/markitup/jquery.markitup.set', + 'editors/ckeditor/ckeditor.js', + 'editors/ckeditor/config.js', + ) ), - //'css' => array(FUEL_FOLDER => 'markitup'), 'js_function' => 'fuel.fields.wysiwyg_field', - 'represents' => array('text', 'textarea', 'longtext', 'mediumtext'), + 'represents' => array('text', 'textarea', 'longtext', 'mediumtext') ); -// file field +// File field $fields['file'] = array( - 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), - 'function' => 'file', - 'filepath' => '', - // 'js' => array( - // FUEL_FOLDER => array( - // 'jquery/plugins/jquery.MultiFile', - // ) - // ), + 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), + 'function' => 'file', + 'filepath' => '', 'js_function' => 'fuel.fields.file_upload_field', - 'represents' => 'blob', - + 'represents' => 'blob' ); // inline edit filed $fields['inline_edit'] = array( - 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), - 'function' => 'inline_edit', + 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), + 'function' => 'inline_edit', 'js_function' => 'fuel.fields.inline_edit_field', 'represents' => array('select'), ); -// linked field +// Linked field $fields['linked'] = array( - 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), - 'function' => 'linked', - 'filepath' => '', - // 'js' => array( - // FUEL_FOLDER => array( - // 'fuel/linked_field_formatters', - // ) - // ), - 'js_function' => 'fuel.fields.linked_field', - + 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), + 'function' => 'linked', + 'filepath' => '', + 'js_function' => 'fuel.fields.linked_field' ); -// template field +// Template field $fields['template'] = array( - 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), - 'function' => 'template', - 'filepath' => '', - // 'js' => array( - // FUEL_FOLDER => - // 'jquery/plugins/jquery.repeatable', - // ), + 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), + 'function' => 'template', + 'filepath' => '', 'js_function' => 'fuel.fields.template_field', - 'js_exec_order' => 0, // must be set to 0 so that the node clone will get raw nodes before other js is executed + 'js_exec_order' => 0 // Must be set to 0 so that the node clone will get raw nodes before other js is executed ); -// number field +// Number field $fields['number'] = array( - //'js' => array(FUEL_FOLDER => 'jquery/plugins/jquery.numeric'), 'js_function' => 'fuel.fields.number_field', 'represents' => array('int', 'smallint', 'mediumint', 'bigint'), ); -// currency field +// Currency field $fields['currency'] = array( - 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), - 'function' => 'currency', - 'filepath' => '', - 'js' => array(FUEL_FOLDER => 'jquery/plugins/jquery.autoNumeric'), + 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), + 'function' => 'currency', + 'filepath' => '', + 'js' => array(FUEL_FOLDER => 'jquery/plugins/jquery.autoNumeric'), 'js_function' => 'fuel.fields.currency_field', 'represents' => array('name' => 'price') ); -// state field +// State field $fields['state'] = array( - 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), - 'function' => 'state', - 'filepath' => '', - 'represents' => array('name' => 'state'), - + 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), + 'function' => 'state', + 'filepath' => '', + 'represents' => array('name' => 'state') ); -// slug field +// Slug field $fields['slug'] = array( - 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), - 'function' => 'slug', - 'filepath' => '', - // 'js' => array( - // FUEL_FOLDER => array( - // 'fuel/linked_field_formatters', - // ) - // ), + 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), + 'function' => 'slug', + 'filepath' => '', 'js_function' => 'fuel.fields.linked_field', - 'represents' => array('name' => 'slug|permalink'), + 'represents' => array('name' => 'slug|permalink') ); -// list items +// List items $fields['list_items'] = array( - 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), - 'function' => 'list_items', - 'filepath' => '', + 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), + 'function' => 'list_items', + 'filepath' => '' ); -// url field +// URL field $fields['url'] = array( - 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), - 'function' => 'url', - 'filepath' => '', - // 'js' => array( - // FUEL_FOLDER => array( - // 'jquery/plugins/jqModal', - // ) - // ), + 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), + 'function' => 'url', + 'filepath' => '', 'js_function' => 'fuel.fields.url_field', - 'represents' => array('name' => 'url|link'), + 'represents' => array('name' => 'url|link') ); -// language field +// Language field $fields['language'] = array( 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), 'function' => 'language', 'filepath' => '', - 'represents' => array('name' => 'language'), + 'represents' => array('name' => 'language') ); -// keyval field +// Keyval field $fields['keyval'] = array( - 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), - 'function' => 'keyval', - 'filepath' => '', + 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), + 'function' => 'keyval', + 'filepath' => '' ); -// block field +// Block field $fields['block'] = array( - 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), - 'function' => 'block', - 'filepath' => '', - 'js_function' => 'fuel.fields.block_field', - + 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), + 'function' => 'block', + 'filepath' => '', + 'js_function' => 'fuel.fields.block_field' ); - -// toggler field +// Toggler field $fields['toggler'] = array( - 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), - 'function' => 'toggler', - 'filepath' => '', - 'js_function' => 'fuel.fields.toggler_field', - + 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), + 'function' => 'toggler', + 'filepath' => '', + 'js_function' => 'fuel.fields.toggler_field' ); -// color picker field +// Color picker field $fields['colorpicker'] = array( - 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), - 'function' => 'colorpicker', - 'filepath' => '', + 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), + 'function' => 'colorpicker', + 'filepath' => '', 'js_function' => 'fuel.fields.colorpicker_field', - 'js' => array( - FUEL_FOLDER => array( - 'jquery/plugins/colorpicker', - ) + 'js' => array( + FUEL_FOLDER => array( + 'jquery/plugins/colorpicker', + ) ), 'css' => array(FUEL_FOLDER => 'colorpicker'), ); -// dependent field +// Dependent field $fields['dependent'] = array( - 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), - 'function' => 'dependent', - 'filepath' => '', - // 'js' => array( - // FUEL_FOLDER => array( - // 'jquery/plugins/jquery.selso', - // 'jquery/plugins/jquery.disable.text.select.pack', - // 'jquery/plugins/jquery.supercomboselect', - // ) - // ), + 'class' => array(FUEL_FOLDER => 'Fuel_custom_fields'), + 'function' => 'dependent', + 'filepath' => '', 'css' => array(FUEL_FOLDER => 'jquery.supercomboselect'), - - 'js_function' => 'fuel.fields.dependent_field', - + 'js_function' => 'fuel.fields.dependent_field' ); /* End of file custom_fields.php */ diff --git a/fuel/modules/fuel/config/form_builder.php b/fuel/modules/fuel/config/form_builder.php index 6ba829af9..80b822edb 100644 --- a/fuel/modules/fuel/config/form_builder.php +++ b/fuel/modules/fuel/config/form_builder.php @@ -1,18 +1,19 @@ array( - 'jquery/plugins/jquery-migrate-1.1.1.js', - 'jquery/plugins/jquery.formbuilder', - 'fuel/custom_fields.js', - ) - ); + 'jquery/plugins/jquery-migrate-1.1.1.js', + 'jquery/plugins/jquery.formbuilder', + 'fuel/custom_fields.js' + ) +); + $config['required_text'] = '{required_indicator} '.lang('required_text'); + $config['representatives'] = array( 'number' => array('int', 'smallint', 'mediumint', 'bigint'), - 'password' => array('name' => array('pwd', 'passwd')), - ); - - - + 'password' => array( + 'name' => array('pwd', 'passwd') + ) +); /* End of file form_builder.php */ /* Location: ./application/config/form_builder.php */ \ No newline at end of file diff --git a/fuel/modules/fuel/config/fuel.php b/fuel/modules/fuel/config/fuel.php index ac8c6e46b..1e3a18c09 100644 --- a/fuel/modules/fuel/config/fuel.php +++ b/fuel/modules/fuel/config/fuel.php @@ -32,87 +32,88 @@ |-------------------------------------------------------------------------- */ -// the name of the site to be displayed at the top. Also used to generate your session key +// The name of the site to be displayed at the top. Also used to generate your session key $config['site_name'] = 'MyWebsite'; // path to the fuel admin from the web base directory... MUST HAVE TRAILING SLASH! $config['fuel_path'] = FUEL_FOLDER.'/'; -// options are cms, views, auto... cms pulls views and variables from the database, -// views mode pulls views from the views folder and variables from the _variables folder. +// Options are cms, views, auto... cms pulls views and variables from the database, +// Views mode pulls views from the views folder and variables from the _variables folder. // The auto option will first check the database for a page and if it doesn't exist or is not published, it will then check for a corresponding view file. // Additionally, you can create an array value specifying the keys, 'pages', 'blocks' and 'navigation' to specify how those modules work individually // (e.g. array('pages' => 'AUTO', 'blocks' => 'views', 'navigation' => 'cms');) $config['fuel_mode'] = 'views'; -// used for system emails. Can be overwritten by MY_fuel.php +// Used for system emails. Can be overwritten by MY_fuel.php $config['domain'] = $_SERVER['SERVER_NAME']; -// the page to redirect to AFTER logging in +// The page to redirect to AFTER logging in $config['login_redirect'] = $config['fuel_path'].'dashboard'; -// the page to redirect to AFTER logging out. . Use the special value :last to redirect to the last page you were on. +// The page to redirect to AFTER logging out. . Use the special value :last to redirect to the last page you were on. //$config['logout_redirect'] = $config['fuel_path'].'login'; // to take you back to the login page instead of the last page you were on $config['logout_redirect'] = ':last'; -// used for system emails +// Used for system emails $config['from_email'] = 'admin@'.$config['domain']; -// allow for login link to allow forgotten passwords +// Allow for login link to allow forgotten passwords $config['allow_forgotten_password'] = TRUE; -// archiving +// Archiving $config['max_number_archived'] = 5; -// warn if a form field has changed before leaving page +// Warn if a form field has changed before leaving page $config['warn_if_modified'] = TRUE; -// max number of recent pages to display +// Max number of recent pages to display $config['max_recent_pages'] = 5; -// the maximum number of pages that page state will be saved before dumping the last one saved. +// The maximum number of pages that page state will be saved before dumping the last one saved. // This is used on the list pages in the admin to save sorting and filtering. Used to save on space needed for session. $config['saved_page_state_max'] = 0; -// provide a cookie path... different from the CI config if you need it (default is same as CI config) +// Provide a cookie path... different from the CI config if you need it (default is same as CI config) $config['fuel_cookie_path'] = WEB_PATH; -// external css file for additional styles possibly needed for 3rd party integration and customizing. -// must exist in the assets/css file and not the fuel/assets/css folder +// External css file for additional styles possibly needed for 3rd party integration and customizing. +// Must exist in the assets/css file and not the fuel/assets/css folder $config['xtra_css'] = ''; -// the main layout file to be used for the interface. +// The main layout file to be used for the interface. // By default, it will pull from the fuel module folder however, if an array is specified, the key will be the module and the value will be the view file. $config['main_layout'] = 'admin_main'; -// keyboard shortcuts +// Keyboard shortcuts $config['keyboard_shortcuts'] = array( 'toggle_view' => 'Ctrl+Shift+m', 'save' => 'Ctrl+Shift+s', - 'view' => 'Ctrl+Shift+p'); + 'view' => 'Ctrl+Shift+p' +); -// dashboard modules to include +// Dashboard modules to include $config['dashboards'] = array('fuel'); -// dashboard rss +// Dashboard rss $config['dashboard_rss'] = 'http://www.getfuelcms.com/blog/feed/rss'; -// text editor settings... options are markitup or ckeditor +// Text editor settings... options are markitup or ckeditor $config['text_editor'] = 'markitup'; -// ck editor specific settings +// CK editor specific settings $config['ck_editor_settings'] = array( 'toolbar' => array( - //array('Source'), - array('Bold','Italic','Strike'), - array('Format'), - array('Image','HorizontalRule'), - array('NumberedList','BulletedList'), - array('Link','Unlink'), - array('Undo','Redo','RemoveFormat'), - array('Preview'), - array('Maximize'), - ), + //array('Source'), + array('Bold','Italic','Strike'), + array('Format'), + array('Image','HorizontalRule'), + array('NumberedList','BulletedList'), + array('Link','Unlink'), + array('Undo','Redo','RemoveFormat'), + array('Preview'), + array('Maximize'), + ), 'contentsCss' => WEB_PATH.'assets/css/main.css', 'htmlEncodeOutput' => FALSE, 'entities' => FALSE, @@ -120,7 +121,7 @@ 'toolbarCanCollapse' => FALSE, ); -// an associative array of objects to attach to the fuel object +// An associative array of objects to attach to the fuel object $config['attach'] = array(); @@ -130,34 +131,37 @@ |-------------------------------------------------------------------------- */ -// languages for pages. The key is saved to the page variables +// Languages for pages. The key is saved to the page variables $config['languages'] = array( - 'english' => 'English', - ); + 'english' => 'English' +); -// specifies the method in which to look for pages with different languages. -// values can be "domain", "segment", "query_string" or "both" (which means both "segment" and "query_string") +// Specifies the method in which to look for pages with different languages. +// Values can be "domain", "segment", "query_string" or "both" (which means both "segment" and "query_string") $config['language_mode'] = 'domain'; -// append the current language value to the site URL automatically +// Append the current language value to the site URL automatically $config['add_language_to_site_url'] = FALSE; +// force the default language segment, or query string on any URLs created with site_url +$config['language_force_default_to_site_url'] = FALSE; + // The name of the query string parameter to use for setting the language $config['language_query_str_param'] = 'lang'; // The name of the cookie to hold the currently selected language. One will be generated if left blank $config['language_cookie_name'] = ''; -// default is 2 years +// Default is 2 years $config['language_cookie_exp'] = '63072000'; -// use cookies to remember a selected language +// Use cookies to remember a selected language $config['language_use_cookies'] = TRUE; -// will check the user agent during language detection +// Will check the user agent during language detection $config['language_detect_user_agent'] = ''; -// the default language to use +// The default language to use $config['language_default_option'] = NULL; @@ -167,37 +171,35 @@ |-------------------------------------------------------------------------- */ -// paths specific to FUEL... relative to the WEB_ROOT +// Paths specific to FUEL... relative to the WEB_ROOT $config['fuel_assets_path'] = 'fuel/modules/{module}/assets/'; -// excludes certain folders from being viewed +// Excludes certain folders from being viewed $config['assets_excluded_dirs'] = array('js', 'css', 'cache', 'swf', 'captchas'); -// allow subfolders to be created in the assets folder if they don't exist' +// Allow subfolders to be created in the assets folder if they don't exist' $config['assets_allow_subfolder_creation'] = TRUE; -// specifies what filetype extensions can be included in the folders +// Specifies what filetype extensions can be included in the folders $config['editable_asset_filetypes'] = array( - 'images' => 'jpg|jpeg|jpe|gif|png|zip', - 'pdf' => 'pdf|zip', - 'media' => 'mov|mp3|aiff|mpeg|zip', - 'assets' => 'jpg|jpeg|jpe|png|gif|mov|mpeg|mp3|wav|aiff|pdf|css|zip' - ); + 'images' => 'jpg|jpeg|jpe|gif|png|zip', + 'pdf' => 'pdf|zip', + 'media' => 'mov|mp3|aiff|mpeg|zip', + 'assets' => 'jpg|jpeg|jpe|png|gif|mov|mpeg|mp3|wav|aiff|pdf|css|zip' +); -// max upload files size for assets +// Max upload files size for assets $config['assets_upload_max_size'] = '1000'; -// max width for asset images being uploaded +// Max width for asset images being uploaded $config['assets_upload_max_width'] = '1024'; -// max height for asset images being uploaded +// Max height for asset images being uploaded $config['assets_upload_max_height'] = '768'; -// javascript files (mostly jquery plugins) to be included other then the controller js files - - +// Javascript files (mostly jquery plugins) to be included other then the controller js files $config['fuel_javascript'] = array( -/* + /* 'fuel' => array( 'jquery/plugins/jquery-ui-1.8.17.custom.min', 'jquery/plugins/jquery.easing', @@ -229,22 +231,20 @@ // http://stackoverflow.com/questions/10251272/what-could-cause-this-randomly-appearing-error-inside-jquery-itself 'jquery/plugins/chrome_pushstack_fix.js', 'jqx/plugins/util.js', - 'fuel/global')*/ - - + 'fuel/global') + */ 'fuel' => 'fuel/fuel.min' ); - -// css other then the fuel.css file which automatically gets loaded +// CSS other then the fuel.css file which automatically gets loaded $config['fuel_css'] = array(); -// allow for asset optimization. Requires that all module folders have a writable assets/cache folder -// values can be TRUE, FALSE, inline, gzip, whitespace, or combine. See the config/asset.php file for more info +// Allow for asset optimization. Requires that all module folders have a writable assets/cache folder +// Values can be TRUE, FALSE, inline, gzip, whitespace, or combine. See the config/asset.php file for more info $config['fuel_assets_output'] = FALSE; -// set this value to the file permission that will be applied with chmod() after a file gets uploaded -// value should be a unix file permission integer (i.e. 0755) +// Set this value to the file permission that will be applied with chmod() after a file gets uploaded +// Value should be a unix file permission integer (i.e. 0755) $config['set_upload_file_perms'] = FALSE; @@ -254,53 +254,54 @@ |-------------------------------------------------------------------------- */ -// sets the site to offline mode. Uses "offline" view file to render page +// Sets the site to offline mode. Uses "offline" view file to render page $config['offline'] = FALSE; -// restrict fuel to only certain ip addresses (can be string or an array of IP addresses) +// Restrict fuel to only certain ip addresses (can be string or an array of IP addresses) $config['restrict_to_remote_ip'] = array(); -// restrict fuel webhooks like the migrate functionality to only certain IP address (can be string or an array of IP addresses) +// Restrict fuel webhooks like the migrate functionality to only certain IP address (can be string or an array of IP addresses) $config['webhook_remote_ip'] = array(); -// default password to alert against +// Sefault password to alert against $config['default_pwd'] = 'admin'; -// enable the FUEL admin or not? +// Enable the FUEL admin or not? $config['admin_enabled'] = FALSE; -// the number of times someone can attempt to login before they are locked out for 1 minute +// The number of times someone can attempt to login before they are locked out for 1 minute $config['num_logins_before_lock'] = 3; -// the number of seconds to lock out a person upon reaching the max number failed login attempts +// The number of seconds to lock out a person upon reaching the max number failed login attempts $config['seconds_to_unlock'] = 60; // If you set a dev password, the site will require a password to view $config['dev_password'] = ''; -// will auto search view files. The max_page_params config can also be used for this as well +// Will auto search view files. The max_page_params config can also be used for this as well // If the URI is about/history and the about/history view does not exist but about does, it will render the about page $config['auto_search_views'] = FALSE; -// functions that can be used for the sanitize_input value on a basic module. +// Functions that can be used for the sanitize_input value on a basic module. // The key of the array is what should be used when configuring your module $config['module_sanitize_funcs'] = array( 'xss' => 'xss_clean', 'php' => 'encode_php_tags', 'template' => 'php_to_template_syntax', - 'entities' => 'htmlentities', + 'entities' => 'htmlentities' ); + /* |-------------------------------------------------------------------------- | Module settings |-------------------------------------------------------------------------- */ -// specifies which modules are allowed to be used in the FUEL admin (e.g. 'user_guide', 'blog', 'backup'...) +// Specifies which modules are allowed to be used in the FUEL admin (e.g. 'user_guide', 'blog', 'backup'...) $config['modules_allowed'] = array(); -// site... Dashboard will always be there +// Site... Dashboard will always be there $config['nav']['site'] = array( 'dashboard' => lang('module_dashboard'), 'pages' => lang('module_pages'), @@ -310,50 +311,52 @@ 'categories' => lang('module_categories'), 'assets' => lang('module_assets'), 'sitevariables' => lang('module_sitevariables') - ); +); -// my modules... if set to empty array, then it will automatically include all in MY_fuel_modules.php +// My modules... if set to empty array, then it will automatically include all in MY_fuel_modules.php $config['nav']['modules'] = array(); -// tools +// Tools $config['nav']['tools'] = array(); -// manage +// Manage $config['nav']['manage'] = array( - 'users' => lang('module_users'), - 'permissions' => lang('module_permissions'), - 'manage/cache' => lang('module_manage_cache'), - 'logs' => lang('module_manage_activity'), - 'settings' => lang('module_manage_settings'), - ); - -// will auto arrange the navigation into the normal order + 'users' => lang('module_users'), + 'permissions' => lang('module_permissions'), + 'manage/cache' => lang('module_manage_cache'), + 'logs' => lang('module_manage_activity'), + 'settings' => lang('module_manage_settings'), +); + +// Will auto arrange the navigation into the normal order $config['nav_auto_arrange'] = TRUE; + + /* |-------------------------------------------------------------------------- | Fuel Router settings |-------------------------------------------------------------------------- */ -// the default view for home +// The default view for home $config['default_home_view'] = 'home'; -// turn on cache. Can be TRUE/FALSE or cms +// Turn on cache. Can be TRUE/FALSE or cms $config['use_page_cache'] = 'cms'; -// how long to cache the page. A value of 0 means forever until the page or other modules have been updated +// How long to cache the page. A value of 0 means forever until the page or other modules have been updated $config['page_cache_ttl'] = 0; -// the name of the group the cache is associated with (so you can just remove the group) +// The name of the group the cache is associated with (so you can just remove the group) $config['page_cache_group'] = 'pages'; -// maximum number of paramters that can be passed to the page. Used to cut down on queries to the db. +// Maximum number of paramters that can be passed to the page. Used to cut down on queries to the db. // If it is an array, then it will loop through the array using the keys to match against a regular expression: // $config['max_page_params'] = array('about/news/' => 1); $config['max_page_params'] = 0; -// a list of URI paths that will always pull from the view folder... can use :any, like routes -// Good to use if you are passing page parameters to your pages controlled in the admin and +// A list of URI paths that will always pull from the view folder... can use :any, like routes +// good to use if you are passing page parameters to your pages controlled in the admin and // you have a page you always want to pull from a view file // (e.g. URI = company/press and you have a page of "company" in the admin with max page params set to 1 or more // it would normally pull the company page if no company/press page existed in the admin and in this case @@ -367,22 +370,23 @@ |-------------------------------------------------------------------------- */ -// the FUEL specific database tables +// The FUEL specific database tables $config['tables'] = array( - 'fuel_archives' => 'fuel_archives', - 'fuel_blocks' => 'fuel_blocks', - 'fuel_categories' => 'fuel_categories', - 'fuel_logs' => 'fuel_logs', - 'fuel_navigation' => 'fuel_navigation', - 'fuel_navigation_groups' => 'fuel_navigation_groups', - 'fuel_pages' => 'fuel_pages', - 'fuel_pagevars' => 'fuel_page_variables', - 'fuel_permissions' => 'fuel_permissions', - 'fuel_relationships' => 'fuel_relationships', - 'fuel_settings' => 'fuel_settings', - 'fuel_tags' => 'fuel_tags', - 'fuel_users' => 'fuel_users', - ); + 'fuel_archives' => 'fuel_archives', + 'fuel_blocks' => 'fuel_blocks', + 'fuel_categories' => 'fuel_categories', + 'fuel_logs' => 'fuel_logs', + 'fuel_navigation' => 'fuel_navigation', + 'fuel_navigation_groups' => 'fuel_navigation_groups', + 'fuel_pages' => 'fuel_pages', + 'fuel_pagevars' => 'fuel_page_variables', + 'fuel_permissions' => 'fuel_permissions', + 'fuel_relationships' => 'fuel_relationships', + 'fuel_settings' => 'fuel_settings', + 'fuel_tags' => 'fuel_tags', + 'fuel_users' => 'fuel_users' +); + /* |-------------------------------------------------------------------------- @@ -390,16 +394,16 @@ |-------------------------------------------------------------------------- */ -// the group to associate with the auto-created navigation item +// The group to associate with the auto-created navigation item $config['auto_page_navigation_group_id'] = 1; -// automatically removes the following path from the location +// Automatically removes the following path from the location $config['page_uri_prefix'] = ''; -// view the page from the admin in a new window or within a modal window +// View the page from the admin in a new window or within a modal window $config['view_in_new_window'] = TRUE; -// runs the parsing process twice for pages created in the CMS which allows +// Runs the parsing process twice for pages created in the CMS which allows // for variables to be set from within blocks and layout fields and can // bubble up to the layout view file (takes slightly longer to render // if caching is turned off). Valid values are TRUE, FALSE, or 'AUTO' which @@ -414,47 +418,45 @@ |-------------------------------------------------------------------------- */ -// the files/folders to generate with the CLI generate command +// The files/folders to generate with the CLI generate command $config['generate'] = array( - 'search' => array('app', 'fuel'), - 'advanced' => array( - 'assets/css/{module}.css', - 'assets/images/ico_cog.png', - 'assets/js/{ModuleName}Controller.js', - 'assets/cache/', - 'config/{module}.php', - 'config/{module}_constants.php', - 'config/{module}_routes.php', - 'controllers/{module}_module.php', - 'helpers/{module}_helper.php', - 'install/install.php', - 'libraries/Fuel_{module}.php', - 'language/english/{module}_lang.php', - 'models/', - 'tests/sql/', - 'views/_admin/{module}.php', - 'views/_blocks/', - 'views/_docs/index.php', - 'views/_layouts/', - ), - 'simple' => 'MY_fuel_modules.php', - 'model' => array( - '{model}_model.php', - 'sql/{table}.sql', - ), - ); - + 'search' => array('app', 'fuel'), + 'advanced' => array( + 'assets/css/{module}.css', + 'assets/images/ico_cog.png', + 'assets/js/{ModuleName}Controller.js', + 'assets/cache/', + 'config/{module}.php', + 'config/{module}_constants.php', + 'config/{module}_routes.php', + 'controllers/{module}_module.php', + 'helpers/{module}_helper.php', + 'install/install.php', + 'libraries/Fuel_{module}.php', + 'language/english/{module}_lang.php', + 'models/', + 'tests/sql/', + 'views/_admin/{module}.php', + 'views/_blocks/', + 'views/_docs/index.php', + 'views/_layouts/', + ), + 'simple' => 'MY_fuel_modules.php', + 'model' => array( + '{model}_model.php', + 'sql/{table}.sql', + ) +); @include(APPPATH.'config/MY_fuel.php'); -// EXAMPLE: Uncomment if you want to controll these options from the CMS +// EXAMPLE: Uncomment if you want to control these options from the CMS // $config['settings'] = array(); // $config['settings']['site_name'] = array('value' => $config['site_name']); -// if (!empty($config['modules_allowed'])) +// if ( ! empty($config['modules_allowed'])) // { // $config['settings']['modules_allowed'] = array('type' => 'multi', 'options' => array_combine($config['modules_allowed'], $config['modules_allowed'])); // } - /* End of file fuel.php */ /* Location: ./modules/fuel/config/fuel.php */ \ No newline at end of file diff --git a/fuel/modules/fuel/config/fuel_constants.php b/fuel/modules/fuel/config/fuel_constants.php index 23e691d8e..93cd0f10e 100644 --- a/fuel/modules/fuel/config/fuel_constants.php +++ b/fuel/modules/fuel/config/fuel_constants.php @@ -1,6 +1,6 @@ 1) ? $_FUEL_SEGS[count($_FUEL_SEGS)-2] : '/'); define('MODULES_WEB_PATH', FUEL_FOLDER.'/modules/'); - -// must include language helper if you want to use lang function +// Must include language helper if you want to use lang function include(APPPATH.'helpers/MY_language_helper.php'); include(FUEL_PATH.'config/fuel.php'); -// used for CLI... must create $_SERVER['REQUEST_URI] +// Used for CLI... must create $_SERVER['REQUEST_URI] if (defined('STDIN')) { $args = array_slice($_SERVER['argv'], 1); $_SERVER['REQUEST_URI'] = $args ? implode('/', $args) : ''; } - - define('FUEL_ROUTE', $config['fuel_path']); - -// DETECT URI PATH +// Detect URI path if (isset($_SERVER['REQUEST_URI'])) { $_URI_PATH = $_SERVER['REQUEST_URI']; @@ -51,21 +47,21 @@ define('USE_FUEL_ROUTES', (strpos($_URI_PATH, '/'.$config['fuel_path']) !== FALSE)); -foreach($config['modules_allowed'] as $module) +foreach ($config['modules_allowed'] as $module) { $constants_path = MODULES_PATH . $module . '/config/' . $module . '_constants.php'; + if (file_exists($constants_path)) { require_once($constants_path); } } - -if (!defined('BASE_URL')) +if ( ! defined('BASE_URL')) { $_base_path = $_SERVER['HTTP_HOST'].str_replace(basename($_SERVER['SCRIPT_NAME']),"",$_SERVER['SCRIPT_NAME']); - if (!empty($_SERVER['HTTPS']) AND strtolower($_SERVER['HTTPS']) !== 'off' OR $_SERVER['SERVER_PORT'] == 443) + if ( ! empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off' OR $_SERVER['SERVER_PORT'] == 443) { define('BASE_URL', "https://".$_base_path); } diff --git a/fuel/modules/fuel/config/fuel_hooks.php b/fuel/modules/fuel/config/fuel_hooks.php index f45705593..d0e56be27 100644 --- a/fuel/modules/fuel/config/fuel_hooks.php +++ b/fuel/modules/fuel/config/fuel_hooks.php @@ -10,49 +10,49 @@ */ $hook['pre_controller'][] = array( - 'class' => 'Fuel_hooks', - 'function' => 'pre_controller', - 'filename' => 'Fuel_hooks.php', - 'filepath' => 'hooks', - 'params' => array(), - 'module' => FUEL_FOLDER, - ); + 'class' => 'Fuel_hooks', + 'function' => 'pre_controller', + 'filename' => 'Fuel_hooks.php', + 'filepath' => 'hooks', + 'params' => array(), + 'module' => FUEL_FOLDER +); $hook['post_controller_constructor'][] = array( - 'class' => 'Fuel_hooks', - 'function' => 'dev_password', - 'filename' => 'Fuel_hooks.php', - 'filepath' => 'hooks', - 'params' => array(), - 'module' => FUEL_FOLDER, - ); + 'class' => 'Fuel_hooks', + 'function' => 'dev_password', + 'filename' => 'Fuel_hooks.php', + 'filepath' => 'hooks', + 'params' => array(), + 'module' => FUEL_FOLDER +); $hook['post_controller_constructor'][] = array( - 'class' => 'Fuel_hooks', - 'function' => 'offline', - 'filename' => 'Fuel_hooks.php', - 'filepath' => 'hooks', - 'params' => array(), - 'module' => FUEL_FOLDER, - ); + 'class' => 'Fuel_hooks', + 'function' => 'offline', + 'filename' => 'Fuel_hooks.php', + 'filepath' => 'hooks', + 'params' => array(), + 'module' => FUEL_FOLDER +); $hook['post_controller_constructor'][] = array( - 'class' => 'Fuel_hooks', - 'function' => 'redirects', - 'filename' => 'Fuel_hooks.php', - 'filepath' => 'hooks', - 'params' => array(), - 'module' => FUEL_FOLDER, - ); + 'class' => 'Fuel_hooks', + 'function' => 'redirects', + 'filename' => 'Fuel_hooks.php', + 'filepath' => 'hooks', + 'params' => array(), + 'module' => FUEL_FOLDER +); $hook['post_controller'][] = array( - 'class' => 'Fuel_hooks', - 'function' => 'post_controller', - 'filename' => 'Fuel_hooks.php', - 'filepath' => 'hooks', - 'params' => array(), - 'module' => FUEL_FOLDER, - ); + 'class' => 'Fuel_hooks', + 'function' => 'post_controller', + 'filename' => 'Fuel_hooks.php', + 'filepath' => 'hooks', + 'params' => array(), + 'module' => FUEL_FOLDER +); /* End of file fuel_hooks.php */ /* Location: ./modules/fuel/config/fuel_hooks.php */ \ No newline at end of file diff --git a/fuel/modules/fuel/config/fuel_layouts.php b/fuel/modules/fuel/config/fuel_layouts.php index 76aece595..4b7078910 100644 --- a/fuel/modules/fuel/config/fuel_layouts.php +++ b/fuel/modules/fuel/config/fuel_layouts.php @@ -67,15 +67,21 @@ $config['layouts']['301_redirect'] = array( 'label' => '301 Redirect', 'fields' => array( - 'copy' => array('type' => 'copy', 'label' => lang('layout_field_301_redirect_copy')), - 'redirect_to' => array('label' => lang('layout_field_redirect_to')), + 'copy' => array( + 'type' => 'copy', + 'label' => lang('layout_field_301_redirect_copy') + ), + 'redirect_to' => array('label' => lang('layout_field_redirect_to')) ) ); $config['layouts']['alias'] = array( 'label' => 'Alias', 'fields' => array( - 'copy' => array('type' => 'copy', 'label' => lang('layout_field_alias_copy')), + 'copy' => array( + 'type' => 'copy', + 'label' => lang('layout_field_alias_copy') + ), 'alias' => array('label' => lang('layout_field_alias')), ) ); @@ -91,7 +97,10 @@ $config['layouts']['sitemap_xml'] = array( 'label' => 'sitemap.xml', 'fields' => array( - 'copy' => array('type' => 'copy', 'label' => lang('layout_field_sitemap_xml_copy')), + 'copy' => array( + 'type' => 'copy', + 'label' => lang('layout_field_sitemap_xml_copy') + ), 'frequency' => array( 'type' => 'select', 'options' => array( @@ -104,27 +113,39 @@ 'never' => lang('layout_field_frequency_never'), ), 'value' => 'always', - 'label' => lang('layout_field_frequency')), + 'label' => lang('layout_field_frequency') + ) ) ); $config['layouts']['robots_txt'] = array( 'label' => 'robots.txt', 'fields' => array( - 'copy' => array('type' => 'copy', 'label' => lang('layout_field_robots_txt_copy')), - 'body' => array('type' => 'textarea', 'label' => lang('layout_field_body'), 'value' => "User-agent: *\nDisallow: /fuel/", 'class' => 'no_editor'), + 'copy' => array( + 'type' => 'copy', + 'label' => lang('layout_field_robots_txt_copy') + ), + 'body' => array( + 'type' => 'textarea', + 'label' => lang('layout_field_body'), + 'value' => "User-agent: *\nDisallow: /fuel/", 'class' => 'no_editor' + ) ) ); $config['layouts']['none'] = array( 'label' => 'None', 'fields' => array( - 'copy' => array('type' => 'copy', 'label' => lang('layout_field_none_copy')), - 'body' => array('type' => 'textarea', 'label' => lang('layout_field_body')), + 'copy' => array( + 'type' => 'copy', + 'label' => lang('layout_field_none_copy') + ), + 'body' => array( + 'type' => 'textarea', + 'label' => lang('layout_field_body') + ) ) ); - - /* End of file fuel_layouts.php */ /* Location: ./modules/fuel/config/fuel_layouts.php */ \ No newline at end of file diff --git a/fuel/modules/fuel/config/fuel_modules.php b/fuel/modules/fuel/config/fuel_modules.php index bcf5359d5..3f2f0e778 100644 --- a/fuel/modules/fuel/config/fuel_modules.php +++ b/fuel/modules/fuel/config/fuel_modules.php @@ -9,7 +9,7 @@ $config['modules'] = array(); -// page module init values +// Page module init values $config['modules']['pages'] = array( 'module_name' => 'Pages', 'model_location' => 'fuel', @@ -27,15 +27,44 @@ 'js_controller' => 'fuel.controller.PageController', 'js_controller_params' => array('import_field' => 'vars--body'), 'preview_path' => '{location}', - 'permission' => array('pages', 'create', 'edit', 'pages/upload' => 'pages/create', 'publish', 'delete'), + 'permission' => array( + 'pages', 'create', 'edit', + 'pages/upload' => 'pages/create', + 'publish', 'delete' + ), 'instructions' => lang('pages_instructions'), 'archivable' => TRUE, 'sanitize_input' => array('template','php'), 'list_actions' => array('pages/upload' => lang('btn_upload')), - 'item_actions' => array('save', 'view', 'publish', 'delete', 'duplicate', 'replace', 'create', 'others' => array('pages/upload' => lang('btn_upload'))), + 'item_actions' => array( + 'save', 'view', 'publish', 'delete', 'duplicate', 'replace', 'create', + 'others' => array('pages/upload' => lang('btn_upload')) + ), + 'advanced_search' => TRUE, + 'filters' => array( + 'layout' => array( + 'default' => 1, + 'label' => lang('form_label_layout'), + 'type' => 'select', + 'model' => 'fuel_pages_model', + 'model_params' => array('layout', 'layout'), + 'hide_if_one' => TRUE, + 'default' => '', + 'first_option' => 'Select a layout...', + ), + 'published' => array( + 'default' => 1, + 'label' => lang('form_label_published'), + 'type' => 'select', + 'options' => array('yes' => 'Published', 'no' =>'Unpublished'), + 'hide_if_one' => TRUE, + 'default' => '', + 'first_option' => 'Select only...', + ), + ), ); -// page module init values +// Page module init values $config['modules']['pagevariables'] = array( 'module_name' => 'Page Variables', 'model_location' => 'fuel', @@ -51,26 +80,36 @@ 'sanitize_input' => array('template','php'), 'default_col' => 'page_id', 'default_order' => 'asc', - 'permission' => array('edit' => 'pages', 'publish' => 'pages/publish', 'delete' => 'pages/delete'), + 'permission' => array( + 'edit' => 'pages', + 'publish' => 'pages/publish', + 'delete' => 'pages/delete' + ), 'hidden' => TRUE ); -// navigation module init values +// Navigation module init values $config['modules']['blocks'] = array( 'module_name' => 'Blocks', 'model_location' => 'fuel', 'model_name' => 'fuel_blocks_model', 'display_field' => 'name', - 'permission' => array('blocks', 'create', 'edit', 'blocks/upload' => 'blocks/create', 'publish', 'delete'), + 'permission' => array( + 'blocks', 'create', 'edit', + 'blocks/upload' => 'blocks/create', + 'publish', 'delete' + ), 'default_col' => 'name', 'default_order' => 'asc', 'js_controller' => 'fuel.controller.BlockController', 'sanitize_input' => array('template','php'), 'list_actions' => array('blocks/upload' => lang('btn_upload')), - 'item_actions' => array('save', 'view', 'publish', 'delete', 'duplicate', 'replace', 'create', 'others' => array('blocks/upload' => lang('btn_upload'))), + 'item_actions' => array('save', 'view', 'publish', 'delete', 'duplicate', 'replace', 'create', + 'others' => array('blocks/upload' => lang('btn_upload')) + ) ); -// navigation module init values +// Navigation module init values $config['modules']['navigation'] = array( 'module_name' => 'Navigation', 'model_location' => 'fuel', @@ -80,14 +119,29 @@ 'default_order' => 'asc', 'js_controller' => 'fuel.controller.NavigationController', 'preview_path' => '', - 'permission' => array('navigation', 'create', 'edit', 'navigation/upload' => 'navigation/create', 'publish', 'delete'), + 'permission' => array( + 'navigation', 'create', 'edit', + 'navigation/upload' => 'navigation/create', + 'publish', 'delete' + ), 'instructions' => lang('navigation_instructions'), - 'filters' => array('group_id' => array('default' => 1, 'label' => lang('form_label_navigation_group'), 'type' => 'select', 'model' => 'fuel_navigation_groups_model', 'hide_if_one' => TRUE)), + 'filters' => array( + 'group_id' => array( + 'default' => 1, + 'label' => lang('form_label_navigation_group'), + 'type' => 'select', + 'model' => 'fuel_navigation_groups_model', + 'hide_if_one' => TRUE + ) + ), 'archivable' => TRUE, - 'list_actions' => array('navigation/upload' => lang('btn_upload'), 'navigation/download' => lang('btn_download')) + 'list_actions' => array( + 'navigation/upload' => lang('btn_upload'), + 'navigation/download' => lang('btn_download') + ) ); -// navigation module init values +// Navigation module init values $config['modules']['navigation_group'] = array( 'module_name' => 'Navigation Groups', 'model_location' => 'fuel', @@ -95,12 +149,12 @@ 'table_headers' => array( 'id', 'name', - 'published', + 'published' ), 'permission' => 'navigation' ); -// navigation module init values +// Navigation module init values $config['modules']['tags'] = array( 'module_name' => 'Tags', 'model_location' => 'fuel', @@ -109,12 +163,11 @@ 'id', 'name', 'slug', - 'published', - ), - //'filters' => array('context' => array('label' => lang('form_label_category'), 'type' => 'select', 'model' => 'fuel_categories_model', 'first_option' => '')), + 'published' + ) ); -// navigation module init values +// Navigation module init values $config['modules']['categories'] = array( 'module_name' => 'Categories', 'model_location' => 'fuel', @@ -128,10 +181,21 @@ 'precedence', 'published', ), - 'filters' => array('context' => array('label' => lang('form_label_context'), 'type' => 'select', 'model' => array(FUEL_FOLDER => array('fuel_categories_model' => 'context_options_list')), 'first_option' => 'Select a context...')), + 'filters' => array( + 'context' => array( + 'label' => lang('form_label_context'), + 'type' => 'select', + 'model' => array( + FUEL_FOLDER => array( + 'fuel_categories_model' => 'context_options_list' + ) + ), + 'first_option' => 'Select a context...' + ) + ) ); -// assets module init values +// Assets module init values $config['modules']['assets'] = array( 'module_name' => 'Assets', 'model_location' => 'fuel', @@ -150,7 +214,17 @@ 'preview_path' => '', 'permission' => 'assets', 'instructions' => lang('assets_instructions'), - 'filters' => array('group_id' => array('default' => 0, 'label' => lang('form_label_asset_folder'), 'type' => 'select', 'options' => array(0 => 'images'), 'default' => 'images')), + 'filters' => array( + 'group_id' => array( + 'default' => 0, + 'label' => lang('form_label_asset_folder'), + 'type' => 'select', + 'options' => array( + 0 => 'images' + ), + 'default' => 'images' + ) + ), 'archivable' => FALSE, 'table_actions' => array('DELETE'), 'rows_selectable' => FALSE, @@ -158,7 +232,7 @@ 'sanitize_images' => FALSE ); -// sitevariable module init values +// Sitevariable module init values $config['modules']['sitevariables'] = array( 'module_name' => 'Site Variables', 'model_location' => 'fuel', @@ -170,7 +244,6 @@ 'scope', 'active', ), - 'display_field' => 'name', 'preview_path' => '', 'permission' => 'sitevariables', @@ -180,8 +253,7 @@ 'clear_cache_on_save' => FALSE ); - -// users module init values +// Users module init values $config['modules']['users'] = array( 'module_name' => 'Users', 'model_location' => 'fuel', @@ -193,14 +265,13 @@ 'first_name', 'last_name', 'super_admin', - 'active', + 'active' ), 'language_col' => FALSE, // so it won't render the dropdown filter select 'js_controller' => 'fuel.controller.UserController', 'display_field' => 'email', 'preview_path' => '', 'permission' => 'users', - //'edit_method' => 'user_info', 'instructions' => lang('users_instructions'), 'archivable' => FALSE, 'table_actions' => array( @@ -210,7 +281,7 @@ if ($cols[\'super_admin\'] != "yes") { $CI =& get_instance(); $link = ""; - if ($CI->fuel->auth->has_permission($CI->permission, "delete") AND isset($cols[$CI->model->key_field()])) + if ($CI->fuel->auth->has_permission($CI->permission, "delete") && isset($cols[$CI->model->key_field()])) { $url = site_url("/".$CI->config->item("fuel_path", "fuel").$CI->module_uri."/delete/".$cols[$CI->model->key_field()]); $link = "".lang("table_action_delete").""; @@ -224,7 +295,7 @@ $CI =& get_instance(); $link = ""; $user = $CI->fuel->auth->user_data(); - if ($CI->fuel->auth->is_super_admin() AND ($cols[$CI->model->key_field()] != $user["id"])) + if ($CI->fuel->auth->is_super_admin() && ($cols[$CI->model->key_field()] != $user["id"])) { $url = site_url("/".$CI->config->item("fuel_path", "fuel").$CI->module_uri."/login_as/".$cols[$CI->model->key_field()]); $link = "".lang("table_action_login_as").""; @@ -234,10 +305,10 @@ ), ), 'item_actions' => array('save', 'activate', 'duplicate', 'create', 'delete'), - 'clear_cache_on_save' => FALSE, + 'clear_cache_on_save' => FALSE ); -// permissions module init values +// Permissions module init values $config['modules']['permissions'] = array( 'module_name' => 'Permissions', 'model_location' => 'fuel', @@ -258,7 +329,7 @@ 'clear_cache_on_save' => FALSE ); -// permissions module init values +// Permissions module init values $config['modules']['logs'] = array( 'module_name' => 'Activity Log', 'model_location' => 'fuel', @@ -282,12 +353,19 @@ 'rows_selectable' => FALSE, 'clear_cache_on_save' => FALSE, 'filters' => array( - 'type' => array('type' => 'select', 'label' => 'Type:', 'options' => array('info' => 'info', 'debug' => 'debug'), 'first_option' => lang('label_select_one')), - ), + 'type' => array( + 'type' => 'select', + 'label' => 'Type:', + 'options' => array( + 'info' => 'info', + 'debug' => 'debug' + ), + 'first_option' => lang('label_select_one') + ) + ) ); //@include(APPPATH.'config/MY_fuel_modules.php'); - /* End of file fuel_modules.php */ /* Location: ./modules/fuel/config/fuel_modules.php */ \ No newline at end of file diff --git a/fuel/modules/fuel/config/fuel_routes.php b/fuel/modules/fuel/config/fuel_routes.php index 0e47aa68a..7538f426e 100644 --- a/fuel/modules/fuel/config/fuel_routes.php +++ b/fuel/modules/fuel/config/fuel_routes.php @@ -11,63 +11,59 @@ $module_folder = MODULES_PATH.'/'; -// config isn't loaded yet so do it manually' +// Config isn't loaded yet so do it manually' include(FUEL_PATH.'config/fuel.php'); -// load any public routes for advanced modules +// Load any public routes for advanced modules foreach ($config['modules_allowed'] as $module) { $routes_path = $module_folder.$module.'/config/'.$module.'_routes.php'; - - if (file_exists($routes_path)) - { - include($routes_path); - } + + if (file_exists($routes_path)) include($routes_path); } -// to prevent the overhead of this on every request, we do a quick check of the path... USE_FUEL_ROUTES is defined in fuel_constants +// To prevent the overhead of this on every request, we do a quick check of the path... USE_FUEL_ROUTES is defined in fuel_constants if (USE_FUEL_ROUTES) { - $route[FUEL_ROUTE.'login|'.FUEL_ROUTE.'login/:any'] = "fuel/login"; // so we can pass forward param - + $module_folder = MODULES_PATH; include(FUEL_PATH.'config/fuel_modules.php'); @include(APPPATH.'/config/MY_fuel_modules.php'); - + $modules = array_keys($config['modules']); $modules = array_merge($config['modules_allowed'], $modules); - foreach($modules as $module) + foreach ($modules as $module) { - // check FUEL folder for controller first... if not there then we use the default module to map to - if (!file_exists($module_folder.FUEL_FOLDER.'/controllers/'.$module.EXT) - AND !file_exists($module_folder.$module.'/controllers/'.$module.'_module'.EXT) - ) + // Check FUEL folder for controller first... if not there then we use the default module to map to + if ( ! file_exists($module_folder.FUEL_FOLDER.'/controllers/'.$module.EXT) + && ! file_exists($module_folder.$module.'/controllers/'.$module.'_module'.EXT) + ) { $route[FUEL_ROUTE.$module] = FUEL_FOLDER.'/module'; $route[FUEL_ROUTE.$module.'/(.*)'] = FUEL_FOLDER.'/module/$1'; } - // check if controller does exist in FUEL folder and if so, create the proper ROUTE if it does not equal the FUEL_FOLDER + // Check if controller does exist in FUEL folder and if so, create the proper ROUTE if it does not equal the FUEL_FOLDER else if (file_exists($module_folder.FUEL_FOLDER.'/controllers/'.$module.EXT)) { $route[FUEL_ROUTE.$module] = FUEL_FOLDER.'/'.$module; $route[FUEL_ROUTE.$module.'/(.*)'] = FUEL_FOLDER.'/'.$module.'/$1'; } - // check module specific folder next + // Check module specific folder next else if (file_exists($module_folder.$module.'/controllers/'.$module.'_module'.EXT)) { $route[FUEL_ROUTE.$module] = $module.'/'.$module.'_module'; $route[FUEL_ROUTE.$module.'/(.*)'] = $module.'/'.$module.'_module/$1'; } } - // catch all + + // Catch all $route[FUEL_ROUTE.'(:any)'] = FUEL_FOLDER."/$1"; } - /* End of file fuel_routes.php */ /* Location: ./modules/fuel/config/fuel_routes.php */ \ No newline at end of file diff --git a/fuel/modules/fuel/controllers/assets.php b/fuel/modules/fuel/controllers/assets.php index ea3cf2a8a..365934b39 100644 --- a/fuel/modules/fuel/controllers/assets.php +++ b/fuel/modules/fuel/controllers/assets.php @@ -14,6 +14,7 @@ public function items($inline = FALSE) { $dirs = $this->fuel->assets->dirs(); $this->filters['group_id']['options'] = $dirs; + parent::items($inline); } @@ -21,36 +22,31 @@ public function create($dir = NULL, $inline = FALSE) { $id = NULL; - if (!empty($dir)) - { - $dir = uri_safe_decode($dir); - } + if ( ! empty($dir)) $dir = uri_safe_decode($dir); + + if ($inline !== FALSE) $this->fuel->admin->set_inline(TRUE); - if ($inline !== FALSE) - { - $this->fuel->admin->set_inline(TRUE); - } - $inline = $this->fuel->admin->is_inline(); - if (!empty($_POST)) + if ( ! empty($_POST)) { - if (!empty($_FILES['userfile___0']) AND $_FILES['userfile___0']['error'] != 4) + if (( ! empty($_FILES['userfile']) AND $_FILES['userfile']['error'] != 4) OR ( ! empty($_FILES['userfile___0']) AND $_FILES['userfile___0']['error'] != 4)) { - $this->model->on_before_post(); if ($this->input->post('asset_folder')) { $dir = $this->input->get_post('asset_folder', TRUE); - if (!in_array($dir, array_keys($this->fuel->assets->dirs()))) + + if ( ! in_array($dir, array_keys($this->fuel->assets->dirs()))) { show_404(); } } - + $subfolder = ($this->config->item('assets_allow_subfolder_creation', 'fuel')) ? str_replace('..'.DIRECTORY_SEPARATOR, '', $this->input->get_post('subfolder', TRUE)) : ''; // remove any going down the folder structure for protections $upload_path = $this->config->item('assets_server_path').$this->fuel->assets->dir($dir).DIRECTORY_SEPARATOR.$subfolder; //assets_server_path is in assets config + $posted['upload_path'] = $upload_path; $posted['overwrite'] = ($this->input->get_post('overwrite')) ? TRUE : FALSE; $posted['create_thumb'] = ($this->input->get_post('create_thumb')) ? TRUE : FALSE; @@ -64,6 +60,13 @@ public function create($dir = NULL, $inline = FALSE) $redirect_to = uri_safe_decode($this->input->get_post('redirect_to')); $id = $posted['file_name']; + + // run before_create hook + $this->_run_hook('before_create', $posted); + + // run before_save hook + $this->_run_hook('before_save', $posted); + if ($this->fuel->assets->upload($posted)) { foreach($_FILES as $filename => $fileinfo) @@ -89,11 +92,13 @@ public function create($dir = NULL, $inline = FALSE) $uploaded_file_name_arr = array(); $uploaded_file_webpath_arr = array(); + foreach($uploaded_data as $ud) { $uploaded_file_name_arr[] = trim(str_replace(assets_server_path().$dir, '', $ud['full_path']), '/'); $uploaded_file_webpath_arr[] = assets_server_to_web_path($ud['full_path']); } + // set the uploaded file name to a concatenated string separated by commas $uploaded_file_name = implode(', ', $uploaded_file_name_arr); @@ -102,14 +107,14 @@ public function create($dir = NULL, $inline = FALSE) $this->session->set_flashdata('uploaded_post', $flashdata); $this->fuel->admin->set_notification(lang('data_saved'), Fuel_admin::NOTIFICATION_SUCCESS); - + $this->model->on_after_post($posted); $inline = $this->fuel->admin->is_inline(); $query_str = query_str(array(), TRUE); - if (!empty($redirect_to)) + if ( ! empty($redirect_to)) { $url = $redirect_to; } @@ -121,36 +126,33 @@ public function create($dir = NULL, $inline = FALSE) { $url = fuel_uri($this->module.'/create/'.uri_safe_encode($dir).$query_str, FALSE); } + redirect($url); - } else { add_errors($this->fuel->assets->errors()); } - } else { add_errors(lang('error_upload')); } } - + $form_vars = $this->input->get(NULL, TRUE); - if (!empty($dir)) - { - $form_vars['asset_folder'] = $dir; - } - + + if ( ! empty($dir)) $form_vars['asset_folder'] = $dir; + $form_vars['asset_folder'] = (!empty($form_vars['asset_folder'])) ? trim($form_vars['asset_folder'], '/') : ''; $vars = $this->_form($form_vars, $inline); $vars['related_items'] = $this->model->related_items($vars); - $list_view = ($inline) ? $this->module_uri.'/inline_items/' : $this->module_uri; $crumbs = array($list_view => $this->module_name, lang('assets_upload_action')); + $this->fuel->admin->set_titlebar($crumbs); $this->fuel->admin->set_inline(($inline === TRUE)); - + if ($inline === TRUE) { $this->fuel->admin->set_display_mode(Fuel_admin::DISPLAY_COMPACT_TITLEBAR); @@ -159,10 +161,10 @@ public function create($dir = NULL, $inline = FALSE) { $vars['actions'] = $this->load->module_view(FUEL_FOLDER, '_blocks/module_create_edit_actions', $vars, TRUE); } - $this->fuel->admin->render($this->views['create_edit'], $vars); + + $this->fuel->admin->render($this->views['create_edit'], $vars, '', FUEL_FOLDER); + return $id; - - } public function inline_create($field = NULL) @@ -172,10 +174,11 @@ public function inline_create($field = NULL) public function select($dir = NULL) { - if (!is_numeric($dir)) + if ( ! is_numeric($dir)) { $dir = fuel_uri_string(1, NULL, TRUE); $dirs = $this->fuel->assets->dirs(); + foreach($dirs as $key => $d) { if ($d == $dir) @@ -187,16 +190,20 @@ public function select($dir = NULL) } $value = ''; + if ($this->session->flashdata('uploaded_post')) { $uploaded_post = $this->session->flashdata('uploaded_post'); + if (isset($uploaded_post)) { $subfolder = trim(preg_replace('#^'.preg_quote($dir).'(.*)#', '$1', $uploaded_post['asset_folder']), '/'); - if (!empty($subfolder)) + + if ( ! empty($subfolder)) { $subfolder = $subfolder.'/'; } + $value = $subfolder.$uploaded_post['uploaded_file_name']; } } @@ -204,15 +211,16 @@ public function select($dir = NULL) { $value = $this->input->get_post('selected', TRUE); } - + $this->js_controller_params['method'] = 'select'; $this->js_controller_params['folder'] = $dir; - + $this->load->helper('array'); $this->load->library('form_builder'); $this->model->add_filters(array('group_id' => $dir)); $order = $this->input->get_post('order', TRUE); + if ($order == 'last_updated') { $by = 'desc'; @@ -222,10 +230,11 @@ public function select($dir = NULL) $order = 'name'; $by = 'asc'; } + $options = options_list($this->model->list_items(NULL, 0, $order, $by), 'name', 'name'); $redirect_to = uri_safe_encode(fuel_uri(fuel_uri_string(), TRUE)); // added back to make it refresh - $preview = ' OR Upload'; + $field_values['asset_folder']['value'] = $dir; $fields['asset_select'] = array('value' => $value, 'label' => lang('assets_select_action'), 'type' => 'select', 'options' => $options, 'after_html' => $preview); @@ -233,7 +242,7 @@ public function select($dir = NULL) { $fields['width'] = array('value' => $this->input->get_post('width', TRUE), 'label' => lang('form_label_width'), 'size' => 5, 'row_class' => 'img_only'); } - + if (isset($_GET['height'])) { $fields['height'] = array('value' => $this->input->get_post('height', TRUE), 'label' => lang('form_label_height'), 'size' => 5, 'row_class' => 'img_only'); @@ -263,14 +272,16 @@ public function select($dir = NULL) { $fields['class'] = array('value' => $this->input->get_post('class', TRUE), 'label' => lang('form_label_class'), 'size' => 6, 'row_class' => 'img_only'); } - + $this->form_builder->css_class = 'asset_select'; $this->form_builder->submit_value = NULL; $this->form_builder->use_form_tag = FALSE; $this->form_builder->set_fields($fields); $this->form_builder->display_errors = FALSE; $this->form_builder->set_field_values($field_values); + $vars['form'] = $this->form_builder->render_divs(); + $this->fuel->admin->set_inline(TRUE); $crumbs = array('' => $this->module_name, lang('assets_select_action')); @@ -290,80 +301,90 @@ public function _form($field_values = NULL, $inline = FALSE) { $this->load->library('form_builder'); $this->load->helper('convert'); - + $model = $this->model; $this->js_controller_params['method'] = 'add_edit'; - + $fields = $this->model->form_fields(); $fields['redirect_to'] = array('type' => 'hidden', 'value' => uri_safe_encode($this->input->get_post('redirect_to'))); $not_hidden = array(); - if (!empty($field_values['hide_options']) AND is_true_val($field_values['hide_options'])) + + if ( ! empty($field_values['hide_options']) AND is_true_val($field_values['hide_options'])) { $not_hidden = array('userfile'); } - else if (!empty($field_values['hide_image_options']) AND is_true_val($field_values['hide_image_options'])) + else if ( ! empty($field_values['hide_image_options']) AND is_true_val($field_values['hide_image_options'])) { $not_hidden = array('userfile', 'asset_folder', 'subfolder', 'userfile_file_name', 'overwrite', 'unzip'); } - if (!empty($field_values['accept'])) + if ( ! empty($field_values['accept'])) { $fields['userfile']['accept'] = $field_values['accept']; } - - + + if (isset($field_values['multiple'])) + { + if ((bool)$field_values['multiple'] === FALSE) + { + $fields['userfile']['class'] = ''; + } + else + { + // if their are multiple files being uploaded, the new file name won't really work + unset($fields['user_file_name']); + } + } + // hide certain fields if params were passed - if (!empty($not_hidden)) + if ( ! empty($not_hidden)) { foreach($fields as $key => $field) { - if (!in_array($key, $not_hidden)) + if ( ! in_array($key, $not_hidden)) { $fields[$key]['type'] = 'hidden'; } } } - + if ($this->session->flashdata('uploaded_post')) { $field_values = $this->session->flashdata('uploaded_post'); } - + // load custom fields $this->form_builder->load_custom_fields(APPPATH.'config/custom_fields.php'); - $this->form_builder->submit_value = lang('btn_upload'); $this->form_builder->use_form_tag = FALSE; $this->form_builder->set_fields($fields); $this->form_builder->display_errors = FALSE; $this->form_builder->set_field_values($field_values); - /* NOT QUITE WORKING DUE TO CANCEL BUTTON */ // if ($this->input->get_post('redirect_to')) // { // $this->form_builder->other_actions = $this->form->button('Back', 'back', 'style="margin: 10px 10px 0 0; float: left;" data-url="'.site_url($this->input->get_post('redirect_to')).'"'); // } - $vars['form'] = $this->form_builder->render(); - + // other variables $vars['id'] = (!empty($field_values['asset_folder'])) ? uri_safe_encode($field_values['asset_folder']) : NULL; $vars['data'] = array(); $vars['action'] = 'create'; - + // $preview_key = preg_replace('#^(.*)\{(.+)\}(.*)$#', "\\2", $this->preview_path); // if (!empty($vars['data'][$preview_key])) $this->preview_path = preg_replace('#^(.*)\{(.+)\}(.*)$#e', "'\\1'.\$vars['data']['\\2'].'\\3'", $this->preview_path); - + // active or publish fields //$vars['publish'] = (!empty($saved['published']) && ($saved['published'] == 'yes')) ? 'Unpublish' : 'Publish'; $vars['module'] = $this->module; $vars['actions'] = $this->load->view('_blocks/module_create_edit_actions', $vars, TRUE); $vars['notifications'] = $this->load->view('_blocks/notifications', $vars, TRUE); - + // setup query string $query_str = query_str(); @@ -384,6 +405,4 @@ public function view($id = null) $url = $this->preview_path.'/'.$id; redirect($url); } - - } \ No newline at end of file diff --git a/fuel/modules/fuel/controllers/blocks.php b/fuel/modules/fuel/controllers/blocks.php index e7e1ce098..effa8744b 100644 --- a/fuel/modules/fuel/controllers/blocks.php +++ b/fuel/modules/fuel/controllers/blocks.php @@ -14,31 +14,38 @@ public function _form_vars($id = NULL, $fields = NULL, $log_to_recent = TRUE, $d $saved = $vars['data']; $import_view = FALSE; $warning_window = ''; - if (!empty($saved['name'])) { + + if ( ! empty($saved['name'])) + { $view_twin = APPPATH.'views/_blocks/'.$saved['name'].EXT; + if (file_exists($view_twin)) { $this->load->helper('file'); $view_twin_info = get_file_info($view_twin); - if (!empty($saved)) + + if ( ! empty($saved)) { $tz = date('T'); + if ($view_twin_info['date'] > strtotime($saved['last_modified'].' '.$tz) OR - $saved['last_modified'] == $saved['date_added'] AND !$this->input->get('uploaded')) + $saved['last_modified'] == $saved['date_added'] AND ! $this->input->get('uploaded')) { $warning_window = lang('blocks_updated_view', $view_twin); } } } } + $vars['warning_window'] = $warning_window; + return $vars; } public function import_view_cancel() { - if ($this->input->post('id')){ - + if ($this->input->post('id')) + { // don't need to pass anything because it will automatically update last_modified' $save['id'] = $this->input->post('id'); $save['name'] = $this->input->post('name'); @@ -50,19 +57,22 @@ public function import_view_cancel() return; } } + $this->output->set_output('error'); } public function import_view() { $out = 'error'; - if (!empty($_POST['id'])) + + if ( ! empty($_POST['id'])) { $out = $this->fuel->blocks->import($this->input->post('id'), $this->sanitize_input); } + $this->output->set_output($out); } - + public function upload($inline = FALSE) { $this->load->helper('file'); @@ -71,8 +81,8 @@ public function upload($inline = FALSE) $this->load->library('upload'); $this->js_controller_params['method'] = 'upload'; - - if (!empty($_POST) AND !empty($_FILES)) + + if ( ! empty($_POST) AND ! empty($_FILES)) { $params['upload_path'] = sys_get_temp_dir(); $params['allowed_types'] = 'php|html|txt'; @@ -90,16 +100,17 @@ public function upload($inline = FALSE) 'text/html', 'text/x-php', 'application/x-httpd-php-source', - 'text/plain'); + 'text/plain' + ); if ($this->upload->do_upload('file')) { $upload_data = $this->upload->data(); $error = FALSE; - + // read in the file so we can filter it $file = read_file($upload_data['full_path']); - + // sanitize the file before saving $file = $this->_sanitize($file); $id = $this->input->post('id', TRUE); @@ -111,10 +122,7 @@ public function upload($inline = FALSE) $name = current(explode('.', $file_info['name'])); } - if ($id) - { - $save['id'] = $id; - } + if ($id) $save['id'] = $id; $save['name'] = $name; $save['view'] = $file; @@ -123,7 +131,8 @@ public function upload($inline = FALSE) $save['last_modified'] = date('Y-m-d H:i:s', (time() + 1)); // to prevent window from popping up after upload $id = $this->model->save($save); - if (!$id) + + if ( ! $id) { add_error(lang('error_upload')); } @@ -131,10 +140,9 @@ public function upload($inline = FALSE) { // change list view page state to show the selected group id $this->fuel->admin->set_notification(lang('blocks_success_upload'), Fuel_admin::NOTIFICATION_SUCCESS); - + redirect(fuel_url('blocks/edit/'.$id)); } - } else { @@ -145,46 +153,42 @@ public function upload($inline = FALSE) $fields = array(); $blocks = $this->model->options_list('id', 'name', array('published' => 'yes'), 'name'); - + $fields['name'] = array('label' => lang('form_label_name'), 'type' => 'inline_edit', 'options' => $blocks, 'module' => 'blocks'); $fields['file'] = array('type' => 'file', 'accept' => '', 'required' => TRUE); $fields['id'] = array('type' => 'hidden'); $fields['language'] = array('type' => 'hidden'); - + $field_values = $_POST; $common_fields = $this->_common_fields($field_values); $fields = array_merge($fields, $common_fields); - - + $this->form_builder->hidden = array(); $this->form_builder->set_fields($fields); $this->form_builder->set_field_values($_POST); $this->form_builder->submit_value = ''; $this->form_builder->use_form_tag = FALSE; + $vars['instructions'] = lang('blocks_upload_instructions'); $vars['form'] = $this->form_builder->render(); $vars['back_action'] = ($this->fuel->admin->last_page() AND $this->fuel->admin->is_inline()) ? $this->fuel->admin->last_page() : fuel_uri($this->module_uri); //$vars['back_action'] = fuel_uri($this->module_uri); - + $crumbs = array($this->module_uri => $this->module_name, lang('action_upload')); + $this->fuel->admin->set_titlebar($crumbs); - - $this->fuel->admin->render('upload', $vars, Fuel_admin::DISPLAY_NO_ACTION); + $this->fuel->admin->render('upload', $vars, Fuel_admin::DISPLAY_NO_ACTION, FUEL_FOLDER); } - public function layout_fields($layout, $id = NULL, $lang = NULL, $_context = NULL, $_name = NULL) { - // add back in slash $layout = str_replace(':', '/', $layout); - + // check to make sure there is no conflict between page columns and layout vars $layout = $this->fuel->layouts->get($layout, 'block'); - if (!$layout) - { - return; - } + + if ( ! $layout) return; // sort of kludgy but not wanting to encode/unencode brackets if (empty($_context)) @@ -202,13 +206,15 @@ public function layout_fields($layout, $id = NULL, $lang = NULL, $_context = NUL $_name = $_context; } - if (!empty($_context)) + if ( ! empty($_context)) { $layout->set_context($_context); } - if (!empty($id)) + + if ( ! empty($id)) { $model = $layout->model(); + if (empty($model)) { $this->load->module_model(FUEL_FOLDER, 'fuel_pagevariables_model'); @@ -219,7 +225,6 @@ public function layout_fields($layout, $id = NULL, $lang = NULL, $_context = NUL { $page_vars = $this->fuel_pagevariables_model->find_all_by_page_id($id, $this->fuel->language->default_option()); } - } else { @@ -233,17 +238,16 @@ public function layout_fields($layout, $id = NULL, $lang = NULL, $_context = NUL { $this->load->model($model); } - $method = $layout->method(); - if (empty($method)) - { - $method = 'find_one_array'; - } + + if (empty($method)) $method = 'find_one_array'; + $key_field = $this->$model->key_field(); $where[$key_field] = $id; $page_vars = $this->$model->$method($where); - if (!empty($page_vars) AND is_array($page_vars)) + + if ( ! empty($page_vars) AND is_array($page_vars)) { if (is_json_str($page_vars)) { @@ -256,7 +260,8 @@ public function layout_fields($layout, $id = NULL, $lang = NULL, $_context = NUL extract($page_vars); $_name = end(explode('--', $_name)); $_name_var = str_replace(array('[', ']'), array('["', '"]'), $_name); - if (!empty($_name_var)) + + if ( ! empty($_name_var)) { $_name_var_eval = '@$_name = (isset($'.$_name_var.')) ? $'.$_name_var.' : "";'; @eval($_name_var_eval); @@ -267,14 +272,13 @@ public function layout_fields($layout, $id = NULL, $lang = NULL, $_context = NUL $block_vars = $_name; $layout->set_field_values($block_vars); } - } - $fields = $layout->fields(); + $fields = $layout->fields(); $this->load->library('form_builder'); + $this->form_builder->load_custom_fields(APPPATH.'config/custom_fields.php'); - $this->form_builder->question_keys = array(); $this->form_builder->submit_value = ''; $this->form_builder->cancel_value = ''; @@ -282,10 +286,12 @@ public function layout_fields($layout, $id = NULL, $lang = NULL, $_context = NUL //$this->form_builder->name_prefix = 'vars'; $this->form_builder->set_fields($fields); $this->form_builder->display_errors = FALSE; + if (isset($block_vars)) { $this->form_builder->set_field_values($block_vars); } + $form = $this->form_builder->render(); $this->output->set_output($form); } diff --git a/fuel/modules/fuel/controllers/build.php b/fuel/modules/fuel/controllers/build.php index 1063c18ab..fd6d30599 100644 --- a/fuel/modules/fuel/controllers/build.php +++ b/fuel/modules/fuel/controllers/build.php @@ -32,12 +32,12 @@ function _remap($module, $segs = NULL) $params = array('module' => $module); $GLOBALS['EXT']->_call_hook('before_build', $params); - // get the type of build which can either be CSS or JS $type = array_shift($segs); $valid_types = array('css', 'js'); - if (!empty($type) AND in_array($type, $valid_types)) + + if ( ! empty($type) AND in_array($type, $valid_types)) { $this->load->helper('file'); @@ -65,7 +65,6 @@ function _remap($module, $segs = NULL) $files[] = str_replace($replace, '', trim($file, '/')); } - $output_params['type'] = $type; $output_params['whitespace'] = TRUE; $output_params['destination'] = assets_server_path($filename.'.'.$type, $type, $module); @@ -76,10 +75,7 @@ function _remap($module, $segs = NULL) { $results = $this->fuel->$module->build(); - if ($results === FALSE) - { - echo lang('error_no_build'); - } + if ($results === FALSE) echo lang('error_no_build'); } else { @@ -90,10 +86,8 @@ function _remap($module, $segs = NULL) // call after build hook $GLOBALS['EXT']->_call_hook('after_build', $params); - } - function optimize_js() { $js = array( @@ -129,8 +123,7 @@ function optimize_js() 'jqx/plugins/util', 'fuel/global', ); - - + $js_inline = array( 'jquery/plugins/jquery.form', 'jquery/plugins/jqModal', @@ -142,7 +135,6 @@ function optimize_js() 'fuel/edit_mode' ); - // set the folder in which to place the file $output_params['type'] = 'js'; $output_params['whitespace'] = TRUE; @@ -167,7 +159,7 @@ function optimize_css() 'jquery-ui-1.8.17.custom', 'fuel' ); - + // set the folder in which to place the file $output_params['type'] = 'css'; $output_params['whitespace'] = TRUE; diff --git a/fuel/modules/fuel/controllers/dashboard.php b/fuel/modules/fuel/controllers/dashboard.php index 79c0e4ba1..0e621975c 100644 --- a/fuel/modules/fuel/controllers/dashboard.php +++ b/fuel/modules/fuel/controllers/dashboard.php @@ -29,7 +29,6 @@ public function index() $this->fuel->admin->set_titlebar($crumbs, 'ico_dashboard'); $this->fuel->admin->render('dashboard', $vars, Fuel_admin::DISPLAY_NO_ACTION); } - } /* need to be outside of index so when you click back button it will not show the ajax */ @@ -42,12 +41,13 @@ public function ajax() $this->load->module_model(FUEL_FOLDER, 'fuel_logs_model'); $vars['recently_modifed_pages'] = $this->fuel_pages_model->find_all_array(array(), 'last_modified desc', 10); $vars['latest_activity'] = $this->fuel_logs_model->latest_activity(10); + if (file_exists(APPPATH.'/views/_docs/fuel'.EXT)) { $vars['docs'] = $this->load->module_view(NULL, '_docs/fuel', $vars, TRUE); } - $feed = $this->fuel->config('dashboard_rss'); + $feed = $this->fuel->config('dashboard_rss'); $limit = 3; $feed_data = simplepie($feed, $limit); @@ -56,16 +56,19 @@ public function ajax() { $vars['latest_fuel_version'] = $feed_data['latest_fuel_version']; } + unset($feed_data['latest_fuel_version']); $vars['feed'] = $feed_data; - $this->load->view('dashboard_ajax', $vars); + + $this->load->module_view(FUEL_FOLDER, 'dashboard_ajax', $vars); } } public function recent() { $recent = $this->session->userdata('recent'); - if (!empty($recent[0])) + + if ( ! empty($recent[0])) { $redirect_to = $recent[0]['link']; } @@ -73,8 +76,7 @@ public function recent() { $redirect_to = $this->config->item('fuel_path', 'fuel').'dashboard'; } + redirect($redirect_to); } - - } \ No newline at end of file diff --git a/fuel/modules/fuel/controllers/generate.php b/fuel/modules/fuel/controllers/generate.php index ead9afa20..839109e52 100644 --- a/fuel/modules/fuel/controllers/generate.php +++ b/fuel/modules/fuel/controllers/generate.php @@ -2,35 +2,34 @@ require_once(FUEL_PATH.'/libraries/Fuel_base_controller.php'); class Generate extends Fuel_base_controller { - + public $created = array(); public $errors = array(); public $modified = array(); - + public function __construct() { $validate = (php_sapi_name() == 'cli' OR defined('STDIN')) ? FALSE : TRUE; parent::__construct($validate); - + // must be in dev mode to generate - if (!is_dev_mode()) + if ( ! is_dev_mode()) { show_error(lang('error_not_in_dev_mode')); } - + // validate user has permission if ($validate) { $this->_validate_user('generate'); } - + $this->load->helper('file'); $this->load->library('parser'); - } - + // -------------------------------------------------------------------- - + /** * Generates the folders and files for an advanced module * @@ -44,17 +43,15 @@ public function advanced($name = NULL) { show_error(lang('error_missing_params')); } + $fuel_config = $this->fuel->config('generate'); - $names = $this->_get_module_names($name); - foreach($names as $name) - { - $this->_advanced($name); - } + + foreach($names as $name) $this->_advanced($name); // create a generic permission for the advanced module $this->fuel->permissions->create($name); - + $vars['created'] = $this->created; $vars['errors'] = $this->errors; $vars['modified'] = $this->modified; @@ -63,7 +60,7 @@ public function advanced($name = NULL) } // -------------------------------------------------------------------- - + /** * Protected helper method to that generates the folders and files for an advanced module * @@ -77,21 +74,21 @@ protected function _advanced($name = NULL) { show_error(lang('error_missing_params')); } + $fuel_config = $this->fuel->config('generate'); - - + // check that the configuration to map to files to generate exists - if (!isset($fuel_config['advanced'])) + if ( ! isset($fuel_config['advanced'])) { show_error(lang('error_missing_generation_files', 'advanced')); } - + $config = (array)$fuel_config['advanced']; $name_path = MODULES_PATH.$name.'/'; - if (!file_exists($name_path)) + if ( ! file_exists($name_path)) { - if (!mkdir($name_path, DIR_READ_MODE, TRUE)) + if ( ! mkdir($name_path, DIR_READ_MODE, TRUE)) { $this->errors[] = lang('error_could_not_create_folder', $name_path)."\n"; } @@ -105,11 +102,14 @@ protected function _advanced($name = NULL) $vars = $this->_common_vars($name); $find_arr = array_keys($vars); $find = array(); + foreach($find_arr as $f) { $find[] = '{'.$f.'}'; } + $replace = array_values($vars); + foreach($config as $val) { $substituted = str_replace($find, $replace, $val); @@ -118,9 +118,9 @@ protected function _advanced($name = NULL) if (empty($ext)) { - if (!file_exists($file)) + if ( ! file_exists($file)) { - if (!mkdir($file, DIR_READ_MODE, TRUE)) + if ( ! mkdir($file, DIR_READ_MODE, TRUE)) { $this->errors[] = lang('error_could_not_create_folder', $file)."\n"; } @@ -132,29 +132,29 @@ protected function _advanced($name = NULL) } else { - $dir = dirname($file); + $dir = dirname($file); // create parent directory if it doesn't exist already' - if (!file_exists($dir)) + if ( ! file_exists($dir)) { - if (!mkdir($dir, DIR_READ_MODE, TRUE)) + if ( ! mkdir($dir, DIR_READ_MODE, TRUE)) { $this->errors[] = lang('error_could_not_create_folder', $dir)."\n"; } } // create file if it doesn't exits' - if (!file_exists($file)) + if ( ! file_exists($file)) { $content = $this->_parse_template($val, $vars, 'advanced'); - if (!$content) + if ( ! $content) { $this->errors[] = lang('error_could_not_create_file', $file)."\n"; } else { - if (!write_file($file, $content)) + if ( ! write_file($file, $content)) { $this->errors[] = lang('error_could_not_create_file', $file)."\n"; } @@ -166,9 +166,9 @@ protected function _advanced($name = NULL) } } } - + // add to modules_allowed to MY_fuel and to the database - if (!in_array($name, $this->fuel->config('modules_allowed'))) + if ( ! in_array($name, $this->fuel->config('modules_allowed'))) { // add to advanced module config $my_fuel_path = APPPATH.'config/MY_fuel.php'; @@ -178,27 +178,32 @@ protected function _advanced($name = NULL) $content = file_get_contents($my_fuel_path); $allowed_str = "\$config['modules_allowed'] = array(\n"; + foreach($modules_allowed as $mod) { $allowed_str .= "\t\t'".$mod."',\n"; } + $allowed_str .= ");"; // create variables for parsed files $content = preg_replace('#(\$config\[([\'|"])modules_allowed\\2\].+;)#Ums', $allowed_str, $content, 1); - if (!write_file($my_fuel_path, $content)) + if ( ! write_file($my_fuel_path, $content)) { $this->errors[] = lang('error_could_not_create_file', $my_fuel_path)."\n"; } + $this->modified[] = $my_fuel_path; - + // save to database if the settings is there - + $module_obj = $this->fuel->modules->get($name); - if (!empty($module_obj) AND $this->fuel->modules->is_advanced($module_obj)) + + if ( ! empty($module_obj) AND $this->fuel->modules->is_advanced($module_obj)) { $settings = $module_obj->settings_fields(); + if (isset($settings['modules_allowed'])) { $this->fuel->settings->save(FUEL_FOLDER, 'modules_allowed', $modules_allowed); @@ -211,7 +216,7 @@ protected function _advanced($name = NULL) } // -------------------------------------------------------------------- - + /** * Generates the table, model, permissions and adds to MY_fuel_modules * @@ -226,22 +231,23 @@ public function simple($name = NULL, $module = '') { show_error(lang('error_missing_params')); } - + $names = $this->_get_module_names($name); + foreach($names as $name) { $this->_simple($name, $module); } - + $vars['created'] = $this->created; $vars['errors'] = $this->errors; $vars['modified'] = $this->modified; $this->_load_results($vars); } - + // -------------------------------------------------------------------- - + /** * Protected helper method that generates the table, model, permissions and adds to MY_fuel_modules * @@ -258,19 +264,18 @@ protected function _simple($name = NULL, $module = '') $fuel_config = $this->fuel->config('generate'); // check that the configuration to map to files to generate exists - if (!isset($fuel_config['simple'])) + if ( ! isset($fuel_config['simple'])) { show_error(lang('error_missing_generation_files', 'simple')); } - + $config = (array)$fuel_config['simple']; - $basepath = (!empty($module)) ? MODULES_PATH.$module.'/' : APPPATH; - - + $basepath = ( ! empty($module)) ? MODULES_PATH.$module.'/' : APPPATH; + // add to MY_fuel_modules if it doesn't exist' - $module_path = (!empty($module)) ? $basepath.'config/'.$module.'_fuel_modules.php' : $basepath.'config/MY_fuel_modules.php'; - + $module_path = ( ! empty($module)) ? $basepath.'config/'.$module.'_fuel_modules.php' : $basepath.'config/MY_fuel_modules.php'; + if (file_exists($module_path)) { @include($module_path); @@ -278,7 +283,8 @@ protected function _simple($name = NULL, $module = '') else { $content = "errors[] = lang('error_could_not_create_file', $module_path)."\n"; } @@ -287,8 +293,8 @@ protected function _simple($name = NULL, $module = '') $this->created[] = $module_path; } } - - if (!isset($config['modules'][$name])) + + if ( ! isset($config['modules'][$name])) { // create variables for parsed files $vars = $this->_common_vars($name); @@ -296,7 +302,7 @@ protected function _simple($name = NULL, $module = '') $file = current($config); $content = "\n".$this->_parse_template($file, $vars, 'simple'); - if (!write_file($module_path, $content, FOPEN_WRITE_CREATE)) + if ( ! write_file($module_path, $content, FOPEN_WRITE_CREATE)) { $this->errors[] = lang('error_could_not_create_file', $module_path)."\n"; } @@ -309,9 +315,9 @@ protected function _simple($name = NULL, $module = '') // now create permissions $this->fuel->permissions->create_simple_module_permissions($name); } - + // -------------------------------------------------------------------- - + /** * Generates the table and model * @@ -326,20 +332,22 @@ public function model($model, $module = '', $display_results = TRUE) { show_error(lang('error_missing_params')); } + $fuel_config = $this->fuel->config('generate'); // check that the configuration to map to files to generate exists - if (!isset($fuel_config['model'])) + if ( ! isset($fuel_config['model'])) { show_error(lang('error_missing_generation_files', 'model')); } - + $names = $this->_get_module_names($model); + foreach($names as $name) { $this->_model($name, $module); } - + if ($display_results) { $vars['created'] = $this->created; @@ -349,9 +357,9 @@ public function model($model, $module = '', $display_results = TRUE) $this->_load_results($vars); } } - + // -------------------------------------------------------------------- - + /** * Protected helper method that generates the table and model * @@ -363,22 +371,25 @@ public function model($model, $module = '', $display_results = TRUE) public function _model($model, $module = '') { $fuel_config = $this->fuel->config('generate'); - + $config = (array)$fuel_config['model']; // create variables for parsed files $vars = $this->_common_vars($model); - + $find_arr = array_keys($vars); $find = array(); + foreach($find_arr as $f) { $find[] = '{'.$f.'}'; } - + $replace = array_values($vars); + // create model file - $basepath = (!empty($module)) ? MODULES_PATH.$module.'/' : APPPATH; + $basepath = ( ! empty($module)) ? MODULES_PATH.$module.'/' : APPPATH; + foreach($config as $val) { $substituted = str_replace($find, $replace, $val); @@ -386,40 +397,42 @@ public function _model($model, $module = '') $file = $basepath .'models/'. $substituted; // create file if it doesn't exits' - if (!file_exists($file)) + if ( ! file_exists($file)) { $file_arr = array($substituted, $val); $content = $this->_parse_template($file_arr, $vars, 'model'); - if (!$content) + if ( ! $content) { $this->errors[] = lang('error_could_not_create_file', $dir)."\n"; } - + // if SQL file extension, then we try and load the SQL if (preg_match('#\.sql$#', $file)) { // load database if it isn't already - if (!isset($this->db)) + if ( ! isset($this->db)) { $this->load->database(); } + $this->db->load_sql($content, FALSE); } else { - if (!write_file($file, $content)) + if ( ! write_file($file, $content)) { $this->errors[] = lang('error_could_not_create_file', $file)."\n"; } + $this->created[] = $file; } } } } - + // -------------------------------------------------------------------- - + /** * Protected helper method that returns the module names * @@ -431,9 +444,9 @@ protected function _get_module_names($names) { return explode(':', $names); } - + // -------------------------------------------------------------------- - + /** * Protected helper method that displays the output results * @@ -451,12 +464,12 @@ protected function _load_results($vars) { $crumbs = array(lang('module_generate')); $this->fuel->admin->set_titlebar($crumbs); - $this->fuel->admin->render('_generate/results', $vFuears, Fuel_admin::DISPLAY_NO_ACTION); + $this->fuel->admin->render('_generate/results', $vars, Fuel_admin::DISPLAY_NO_ACTION, FUEL_FOLDER); } } - + // -------------------------------------------------------------------- - + /** * Protected helper method that generates the table and model * @@ -467,12 +480,11 @@ protected function _load_results($vars) protected function _find_template($file, $vars, $type = 'advanced') { $fuel_config = $this->fuel->config('generate'); - + $search = (array)$fuel_config['search']; - $file = (array)$file; - $found = FALSE; + foreach($file as $f) { foreach($search as $module) @@ -480,6 +492,7 @@ protected function _find_template($file, $vars, $type = 'advanced') $file_path = ($module == 'app' OR $module == 'application') ? APPPATH : MODULES_PATH.$module.'/'; // first check APPPATH for template files $template_path = rtrim($file_path.'views/_generate/'.$type.'/'.$f, '/'); + if (file_exists($template_path)) { $found = TRUE; @@ -487,11 +500,12 @@ protected function _find_template($file, $vars, $type = 'advanced') } } } + return $template_path; } - + // -------------------------------------------------------------------- - + /** * Protected helper method that parses a template file * @@ -504,20 +518,24 @@ protected function _find_template($file, $vars, $type = 'advanced') protected function _parse_template($file, $vars, $type = 'advanced') { $template_path = $this->_find_template($file, $vars, $type); + if (file_exists($template_path)) { $contents = file_get_contents($template_path); - + // parse $contents = $this->parser->parse_simple($contents, $vars); + return $contents; } + $this->errors[] = lang('error_could_not_create_file', $file)."\n"; + return ''; } // -------------------------------------------------------------------- - + /** * Protected helper method that returns common variables that get used during the parsing of a template * @@ -536,11 +554,12 @@ protected function _common_vars($name) $vars['model_record'] = ucfirst(preg_replace('#ie$#', 'y', rtrim($name, 's'))); $vars['ModuleName'] = ucfirst(camelize($name)); $vars['MODULE_NAME'] = strtoupper($name); + if ($vars['model_name'] == $vars['model_record']) { $vars['model_record'] = $vars['model_record'].'_item'; } + return $vars; } - } \ No newline at end of file diff --git a/fuel/modules/fuel/controllers/installer.php b/fuel/modules/fuel/controllers/installer.php index 44c24b756..0e2b800f2 100644 --- a/fuel/modules/fuel/controllers/installer.php +++ b/fuel/modules/fuel/controllers/installer.php @@ -2,54 +2,54 @@ require_once(FUEL_PATH.'/libraries/Fuel_base_controller.php'); class Installer extends Fuel_base_controller { - + protected $module = ''; public function __construct() { $validate = (php_sapi_name() == 'cli' OR defined('STDIN')) ? FALSE : TRUE; parent::__construct($validate); - + // must be in dev mode to install modules - if (!is_dev_mode()) + if ( ! is_dev_mode()) { show_error(lang('error_not_in_dev_mode')); } - + // validate user has permission - if ($validate) - { - $this->_validate_user('installer'); - } - + if ($validate) $this->_validate_user('installer'); } - + public function install($module = NULL) { if (empty($module)) { show_error(lang('error_missing_params')); } - + // load constants $constant = strtoupper($module).'_VERSION'; - if (!defined($constant)) + + if ( ! defined($constant)) { - $constants_file = MODULES_PATH.$module.'/config/'.$module.'_constants.php'; + $constants_file = MODULES_PATH.$module.'/config/'.$module.'_constants.php'; + if (file_exists($constants_file)) { require_once($constants_file); } } - + // need to load it the old fashioned way because it is not enabled by default $module_file = MODULES_PATH.$module.'/libraries/Fuel_'.$module.'.php'; + if (file_exists($module_file)) { $init = array('name' => $module, 'folder' => $module); $this->load->module_library($module, 'fuel_'.$module, $init); $module_lib = 'fuel_'.$module; - if (!$this->$module_lib->install()) + + if ( ! $this->$module_lib->install()) { echo $this->fuel->installer->last_error()."\n"; } @@ -66,7 +66,6 @@ public function install($module = NULL) public function add_git_submodule($params = NULL) { - if (empty($params)) { show_error(lang('error_missing_params')); @@ -79,16 +78,13 @@ public function add_git_submodule($params = NULL) $module = array_pop($segs); $repo = implode('/', $segs); - if (empty($module)) - { - $module = $this->module; - } - + if (empty($module)) $module = $this->module; + $module_folder = MODULES_WEB_PATH.$module; $cmd = 'git submodule add '.$repo.' '.$module_folder; $output = shell_exec($cmd); - if (!empty($output)) + if ( ! empty($output)) { echo $output."\n"; return; @@ -96,17 +92,17 @@ public function add_git_submodule($params = NULL) return $output; } - + public function uninstall($module = NULL) { - if (!$this->fuel->modules->exists($module)) + if ( ! $this->fuel->modules->exists($module)) { echo lang('cannot_determine_module')."\n"; return; } // uninstall - if (!$this->fuel->$module->uninstall()) + if ( ! $this->fuel->$module->uninstall()) { echo $this->fuel->installer->last_error(); } @@ -115,7 +111,5 @@ public function uninstall($module = NULL) $module_folder = MODULES_WEB_PATH.$module; echo lang('module_uninstall', $module, $module_folder); } - } - } \ No newline at end of file diff --git a/fuel/modules/fuel/controllers/login.php b/fuel/modules/fuel/controllers/login.php index d55fd932e..2f890959e 100644 --- a/fuel/modules/fuel/controllers/login.php +++ b/fuel/modules/fuel/controllers/login.php @@ -37,7 +37,7 @@ public function __construct() ); } - + public function index() { // check if it's a password request and redirect' @@ -51,23 +51,23 @@ public function index() $this->dev(); return; } + $this->js_controller_params['method'] = 'add_edit'; - + $this->load->helper('convert'); $this->load->helper('cookie'); - + $session_key = $this->fuel->auth->get_session_namespace(); - + $user_data = $this->session->userdata($session_key); - if (!empty($_POST)) - { + if ( ! empty($_POST)) + { // check if they are locked out out or not if (isset($user_data['failed_login_timer']) AND (time() - $user_data['failed_login_timer']) < (int)$this->fuel->config('seconds_to_unlock')) { $this->fuel_users_model->add_error(lang('error_max_attempts', $this->fuel->config('seconds_to_unlock'))); $user_data['failed_login_timer'] = time(); - } else { @@ -87,9 +87,10 @@ public function index() ); set_cookie($config); - + $forward = $this->input->post('forward'); $forward_uri = uri_safe_decode($forward); + if ($forward AND $forward_uri != $this->fuel->config('login_redirect')) { redirect($forward_uri); @@ -113,9 +114,8 @@ public function index() // add to the number of attempts if it's an invalid login' $num_attempts = (!isset($user_data['failed_login_attempts'])) ? 0 : $user_data['failed_login_attempts'] + 1; $user_data['failed_login_attempts'] = $num_attempts; - } - + // check if they should be locked out if (isset($user_data['failed_login_attempts']) AND $user_data['failed_login_attempts'] >= (int)$this->fuel->config('num_logins_before_lock') -1) { @@ -135,11 +135,11 @@ public function index() $this->fuel_users_model->add_error(lang('error_empty_user_pwd')); } } + $this->session->set_userdata($session_key, $user_data); } // build form - $this->form_builder->set_validator($this->fuel_users_model->get_validation()); $fields['user_name'] = array('size' => 25, 'placeholder' => 'username', 'display_label' => FALSE); $fields['password'] = array('type' => 'password', 'size' => 25, 'placeholder' => 'password', 'display_label' => FALSE); @@ -168,33 +168,37 @@ public function index() $vars['notifications'] = $notifications; $vars['display_forgotten_pwd'] = $this->fuel->config('allow_forgotten_password'); $vars['page_title'] = lang('fuel_page_title'); - $this->load->view('login', $vars); + + $this->load->module_view(FUEL_FOLDER, 'login', $vars); } - + public function pwd_reset() { - if (!$this->fuel->config('allow_forgotten_password')) show_404(); + if ( ! $this->fuel->config('allow_forgotten_password')) show_404(); + $this->js_controller_params['method'] = 'add_edit'; - if (!empty($_POST)) + if ( ! empty($_POST)) { if ($this->input->post('email')) { $user = $this->fuel_users_model->find_one_array(array('email' => $this->input->post('email'))); - if (!empty($user['email'])) + + if ( ! empty($user['email'])) { $users = $this->fuel->users; $new_pwd = $this->fuel->users->reset_password($user['email']); + if ($new_pwd !== FALSE) { $url = 'reset/'.md5($user['email']).'/'.md5($new_pwd); $msg = lang('pwd_reset_email', fuel_url($url)); - + $params['to'] = $this->input->post('email'); $params['subject'] = lang('pwd_reset_subject'); $params['message'] = $msg; $params['use_dev_mode'] = FALSE; - + if ($this->fuel->notification->send($params)) { $this->session->set_flashdata('success', lang('pwd_reset')); @@ -205,6 +209,7 @@ public function pwd_reset() $this->session->set_flashdata('error', lang('error_pwd_reset')); $this->fuel->logs->write($this->fuel->notification->last_error(), 'debug'); } + redirect(fuel_uri('login')); } else @@ -222,29 +227,33 @@ public function pwd_reset() $this->fuel_users_model->add_error(lang('error_empty_email')); } } + $this->form_builder->set_validator($this->fuel_users_model->get_validation()); // build form $fields['Reset Password'] = array('type' => 'section', 'label' => lang('login_reset_pwd')); $fields['email'] = array('required' => TRUE, 'size' => 30, 'placeholder' => 'email', 'display_label' => FALSE); + $this->form_builder->show_required = FALSE; $this->form_builder->set_fields($fields); + $vars['form'] = $this->form_builder->render(); // notifications template $vars['error'] = $this->fuel_users_model->get_errors(); - $vars['notifications'] = $this->load->view('_blocks/notifications', $vars, TRUE); + $vars['notifications'] = $this->load->module_view(FUEL_FOLDER, '_blocks/notifications', $vars, TRUE); $vars['page_title'] = lang('fuel_page_title'); - $this->load->view('pwd_reset', $vars); + + $this->load->module_view(FUEL_FOLDER, 'pwd_reset', $vars); } - - + public function dev() { $this->config->set_item('allow_forgotten_password', FALSE); - if (!empty($_POST)) + + if ( ! empty($_POST)) { - if (!$this->fuel->config('dev_password')) + if ( ! $this->fuel->config('dev_password')) { redirect(''); } @@ -260,20 +269,22 @@ public function dev() add_error(lang('error_invalid_login')); } } + $fields['password'] = array('type' => 'password', 'placeholder' => 'password', 'display_label' => FALSE, 'size' => 25); $fields['forward'] = array('type' => 'hidden', 'value' => fuel_uri_segment(2)); + $this->form_builder->show_required = FALSE; $this->form_builder->submit_value = 'Login'; $this->form_builder->set_fields($fields); - if (!empty($_POST)) $this->form_builder->set_field_values($this->input->post(NULL, TRUE)); + + if ( ! empty($_POST)) $this->form_builder->set_field_values($this->input->post(NULL, TRUE)); + $vars['form'] = $this->form_builder->render(); - $vars['notifications'] = $this->load->view('_blocks/notifications', $vars, TRUE); - + $vars['notifications'] = $this->load->module_view(FUEL_FOLDER, '_blocks/notifications', $vars, TRUE); $vars['display_forgotten_pwd'] = FALSE; $vars['instructions'] = lang('dev_pwd_instructions'); $vars['page_title'] = lang('fuel_page_title'); - $this->load->view('login', $vars); - - + + $this->load->module_view(FUEL_FOLDER, 'login', $vars); } } \ No newline at end of file diff --git a/fuel/modules/fuel/controllers/logout.php b/fuel/modules/fuel/controllers/logout.php index aab748196..962677b99 100644 --- a/fuel/modules/fuel/controllers/logout.php +++ b/fuel/modules/fuel/controllers/logout.php @@ -1,14 +1,16 @@ config->load('fuel', TRUE); - if (!$this->config->item('admin_enabled', 'fuel')) show_404(); + + if ( ! $this->config->item('admin_enabled', 'fuel')) show_404(); } - + public function _remap($segment) { $this->load->helper('convert'); @@ -17,19 +19,22 @@ public function _remap($segment) 'name' => $this->fuel->auth->get_fuel_trigger_cookie_name(), 'path' => WEB_PATH ); + delete_cookie($config); - + $redirect = $this->fuel->config('logout_redirect'); + if ($redirect == ':last') { $this->load->helper('convert'); - $redirect = uri_safe_decode($segment); } + if ($segment == 'page_router' OR $redirect == 'page_router') { $redirect = $this->fuel->config('default_home_view'); } + redirect($redirect, 'location', 302, FALSE); } } \ No newline at end of file diff --git a/fuel/modules/fuel/controllers/manage.php b/fuel/modules/fuel/controllers/manage.php index 9d545992d..65a426a1c 100644 --- a/fuel/modules/fuel/controllers/manage.php +++ b/fuel/modules/fuel/controllers/manage.php @@ -2,24 +2,25 @@ require_once(FUEL_PATH.'/libraries/Fuel_base_controller.php'); class Manage extends Fuel_base_controller { - + public $nav_selected = 'manage'; public $module_uri = 'manage/activity'; - + public function __construct() { parent::__construct(FALSE); $this->js_controller = 'fuel.controller.ManageController'; } - + public function index() { $this->_validate_user('manage'); $crumbs = array(lang('section_manage')); + $this->fuel->admin->set_titlebar($crumbs); - $this->fuel->admin->render('manage'); + $this->fuel->admin->render('manage', array(), '', FUEL_FOLDER); } - + public function cache() { $this->_validate_user('manage/cache'); @@ -27,13 +28,14 @@ public function cache() // to display the logout button in the top right of the admin $load_vars['user'] = $this->fuel->auth->user_data(); $this->load->vars($load_vars); - + $this->fuel->admin->set_nav_selected('manage/cache'); - + if ($this->input->post('action')) { $msg = $this->clear_cache(TRUE); $this->fuel->admin->set_notification($msg, Fuel_admin::NOTIFICATION_SUCCESS); + redirect('fuel/manage/cache'); } else @@ -41,7 +43,7 @@ public function cache() $crumbs = array('manage' => lang('section_manage'), lang('module_manage_cache')); $this->fuel->admin->set_titlebar($crumbs, 'ico_manage_cache'); - $this->fuel->admin->render('manage/cache'); + $this->fuel->admin->render('manage/cache', array(), '', FUEL_FOLDER); } } @@ -53,20 +55,15 @@ public function clear_cache($return = FALSE) // check if it is CLI or a web hook otherwise we need to validate $validate = (php_sapi_name() == 'cli' OR defined('STDIN') OR $is_web_hook) ? FALSE : TRUE; - if ($validate) - { - $this->_validate_user('manage/cache'); - } + if ($validate) $this->_validate_user('manage/cache'); $this->fuel->cache->clear(); $msg = lang('cache_cleared'); $this->fuel->logs->write($msg); - if ($return) - { - return $msg; - } + + if ($return) return $msg; + echo $msg."\n"; } - } \ No newline at end of file diff --git a/fuel/modules/fuel/controllers/migrate.php b/fuel/modules/fuel/controllers/migrate.php index 610b8f285..5772e191a 100644 --- a/fuel/modules/fuel/controllers/migrate.php +++ b/fuel/modules/fuel/controllers/migrate.php @@ -22,19 +22,16 @@ public function __construct() $this->fuel->admin->check_login(); $this->_validate_user('migrate'); } - } - public function latest($module = NULL) { $this->_init_migrate($module); $version = $this->migration->latest(); - if ( ! $version) - { - $this->_show_error(); - } + + if ( ! $version) $this->_show_error(); + $this->_success($version); } @@ -43,10 +40,9 @@ public function current($module = NULL) $this->_init_migrate($module); $version = $this->migration->current(); - if ( ! $version) - { - $this->_show_error(); - } + + if ( ! $version) $this->_show_error(); + $this->_success($version); } @@ -55,16 +51,15 @@ public function version($version = 1, $module = NULL) $this->_init_migrate($module); // must be in dev mode change the version to something uther then the latest or current - if (!is_dev_mode()) + if ( ! is_dev_mode()) { $this->_show_error(lang('error_not_in_dev_mode')); } $version = $this->migration->version($version); - if ( ! $version) - { - $this->_show_error(); - } + + if ( ! $version) $this->_show_error(); + $this->_success($version); } @@ -72,6 +67,7 @@ protected function _init_migrate($module) { $config['migration_enabled'] = TRUE; $config['module'] = $module; + $this->load->library('migration', $config); } @@ -87,6 +83,7 @@ protected function _success($version) echo lang('migrate_success', $version); $msg = lang('database_migration_success', $version); } + $this->fuel->logs->write($msg); } @@ -96,6 +93,7 @@ protected function _show_error($error = '') { $error = $this->migration->error_string(); } + echo $error."\n"; exit(); } diff --git a/fuel/modules/fuel/controllers/module.php b/fuel/modules/fuel/controllers/module.php index 532b596e7..816324e5c 100644 --- a/fuel/modules/fuel/controllers/module.php +++ b/fuel/modules/fuel/controllers/module.php @@ -14,6 +14,7 @@ function __construct($validate = TRUE) parent::__construct($validate); $this->load->module_model(FUEL_FOLDER, 'fuel_archives_model'); + if (empty($this->module)) { $this->module = fuel_uri_segment(1); @@ -25,6 +26,7 @@ function __construct($validate = TRUE) } $params = array(); + if ($this->fuel->modules->exists($this->module, FALSE)) { $this->module_obj = $this->fuel->modules->get($this->module, FALSE); @@ -34,6 +36,7 @@ function __construct($validate = TRUE) { // if it is a module with multiple controllers, then we'll check first and second FUEL segment with an underscore' $this->module = $this->module.'_'.fuel_uri_segment(2); + if ($this->fuel->modules->exists($this->module, FALSE)) { $this->module_obj = $this->fuel->modules->get($this->module, FALSE); @@ -54,6 +57,7 @@ function __construct($validate = TRUE) { show_error(lang('error_missing_module', fuel_uri_segment(1))); } + unset($mod_name); $params = $this->module_obj->info(); } @@ -69,7 +73,7 @@ function __construct($validate = TRUE) } // load any configuration - if (!empty($this->configuration)) + if ( ! empty($this->configuration)) { if (is_array($this->configuration)) { @@ -85,7 +89,7 @@ function __construct($validate = TRUE) } // load any language - if (!empty($this->language)) + if ( ! empty($this->language)) { if (is_array($this->language)) { @@ -103,7 +107,7 @@ function __construct($validate = TRUE) } // load the model - if (!empty($this->model_location)) + if ( ! empty($this->model_location)) { $this->load->module_model($this->model_location, $this->model_name); } @@ -116,14 +120,12 @@ function __construct($validate = TRUE) $model_parts = explode('/', $this->model_name); $model = end($model_parts); - // set the module_uri if (empty($this->module_uri)) $this->module_uri = $this->module; $this->js_controller_params['module'] = $this->module_uri; - - if (!empty($model)) + if ( ! empty($model)) { $this->model =& $this->$model; } @@ -134,26 +136,27 @@ function __construct($validate = TRUE) // global variables $vars = array(); - if (!empty($params['js'])) + + if ( ! empty($params['js'])) { if (is_string($params['js'])) { $params['js'] = preg_split("/,\s*/", $params['js']); } + $vars['js'] = $params['js']; } - if (!empty($this->nav_selected)) $vars['nav_selected'] = $this->nav_selected; + if ( ! empty($this->nav_selected)) $vars['nav_selected'] = $this->nav_selected; + $this->load->vars($vars); - + $this->fuel->admin->load_js_localized($params['js_localized']); - if (!empty($this->permission) AND $validate) + if ( ! empty($this->permission) AND $validate) { $this->_validate_user($this->permission); } - - } // -------------------------------------------------------------------- @@ -193,7 +196,8 @@ function items() { $languages = $this->model->get_languages($this->language_col); $first_option = current($languages); - if (!empty($languages) AND (is_string($first_option) OR (is_array($first_option)) AND count($first_option) > 1)) + + if ( ! empty($languages) AND (is_string($first_option) OR (is_array($first_option)) AND count($first_option) > 1)) { $lang_filter = array('type' => 'select', 'options' => $languages, 'label' => lang('label_language'), 'first_option' => lang('label_select_a_language')); $this->filters[$this->language_col.'_equal'] = $lang_filter; @@ -206,41 +210,19 @@ function items() // save page state $this->fuel->admin->save_page_state($params); - - // create search filter - $filters[$this->display_field] = trim($params['search_term']); - - // sort of hacky here... to make it easy for the model to just filter on the search term (like the users model) - $this->model->filter_value = trim($params['search_term']); - foreach($this->filters as $key => $val) - { - $filters[$key] = $params[$key]; - if (!empty($val['filter_join'])) - { - if (!is_array($this->model->filter_join[$key])) - { - settype($this->model->filter_join, 'array'); - } - $this->model->filter_join[$key] = $val['filter_join']; - } - } - - // set model filters before pagination and setting table data - if (method_exists($this->model, 'add_filters')) - { - $this->model->add_filters($filters); - } - - // to prevent it from being called unecessarility with ajax - if (!is_ajax()) + // filter the list + $this->_filter_list($params); + + // to prevent it from being called unnecessarily with ajax + if ( ! is_ajax()) { $this->config->set_item('enable_query_strings', FALSE); // pagination $query_str_arr = $this->input->get(NULL, TRUE); unset($query_str_arr['offset']); - $query_str = (!empty($query_str_arr)) ? http_build_query($query_str_arr) : ''; - + $query_str = ( ! empty($query_str_arr)) ? http_build_query($query_str_arr) : ''; + $config['base_url'] = fuel_url($this->module_uri).'/items/?'.$query_str; $uri_segment = 4 + (count(explode('/', $this->module_uri)) - 1); $config['total_rows'] = $this->model->list_items_total(); @@ -249,16 +231,15 @@ function items() $config['query_string_segment'] = 'offset'; $config['page_query_string'] = TRUE; $config['num_links'] = 5; - + $config['prev_link'] = lang('pagination_prev_page'); $config['next_link'] = lang('pagination_next_page'); $config['first_link'] = lang('pagination_first_link'); $config['last_link'] = lang('pagination_last_link'); - + // must reset these in case a config file has something different $config['full_tag_open'] = NULL; $config['full_tag_close'] = NULL; - $config['full_tag_close'] = NULL; $config['num_tag_open'] = ' '; $config['num_tag_close'] = NULL; $config['cur_tag_open'] = ' '; @@ -275,24 +256,19 @@ function items() if (method_exists($this->model, 'tree')) { - //$vars['tree'] = "Loading...\n'.lang('error_page_layout_variable_conflict', implode(', ', $reserved_cols)).'
'.lang('error_inline_page_edit').'
By default, FUEL uses the built-in relationships model to save relationship data. However, if you want to change the model, as well as the field names it uses to store the key information, - you can pass the following parameters in your has_many or belongs_to properties array: fuel_relationships_model, foreign_key, candidate_key. An Example is below: + you can pass the following parameters in your has_many or belongs_to properties array: relationships_model, foreign_key, candidate_key. An Example is below:
class Products_model extends Base_module_model { - public $has_many = array('attributes' => array('model' => array(FUEL_FOLDER => 'fuel_tags_model'), 'fuel_relationships_model' => 'my_relationship_model', 'foreign_key' => 'my_foreign_key', 'candidate_key' => 'candidate_key')); + public $has_many = array('attributes' => array('model' => array(FUEL_FOLDER => 'fuel_tags_model'), 'relationships_model' => 'my_relationship_model', 'foreign_key' => 'my_foreign_key', 'candidate_key' => 'candidate_key')); function __construct() { diff --git a/fuel/modules/fuel/views/_docs/installation/requirements.php b/fuel/modules/fuel/views/_docs/installation/requirements.php index fcd9dc00d..518973162 100644 --- a/fuel/modules/fuel/views/_docs/installation/requirements.php +++ b/fuel/modules/fuel/views/_docs/installation/requirements.php @@ -1,6 +1,6 @@Server Requirements
In the latter example above, the record property tags can be called as a method as well by pre-pending "get_" in front of the properties name (e.g. get_tags()). +
In the latter example above, the record property tags can be called as a method as well by pre-appending "get_" in front of the properties name (e.g. get_tags()). This allows us to pass additional parameters.
@@ -339,7 +339,7 @@ class and gets passed to a assets/images/articles instead of the default assets/images folder. To make this change, - you'll need to create that folder and make sure it is writable by PHP. Then you can add the following parameter to the content field in hte form_fields method: + you'll need to create that folder and make sure it is writable by PHP. Then you can add the following parameter to the content field in the form_fields method:function form_fields($values = array(), $related = array()) { diff --git a/fuel/modules/fuel/views/_generate/advanced/controllers/{module}_module.php b/fuel/modules/fuel/views/_generate/advanced/controllers/{module}_module.php index 642295057..eb74939cf 100644 --- a/fuel/modules/fuel/views/_generate/advanced/controllers/{module}_module.php +++ b/fuel/modules/fuel/views/_generate/advanced/controllers/{module}_module.php @@ -4,20 +4,18 @@ class {model_name}_module extends Fuel_base_controller { public $nav_selected = '{module}|{module}/:any'; - function __construct() { parent::__construct(); } - + function index() { $vars['page_title'] = $this->fuel->admin->page_title(array(lang('module_{module}')), FALSE); $crumbs = array('tools' => lang('section_tools'), lang('module_{module}')); - $this->fuel->admin->set_titlebar($crumbs, 'ico_{module}'); - $this->fuel->admin->render('_admin/{module}', $vars); + $this->fuel->admin->set_titlebar($crumbs, 'ico_{module}'); + $this->fuel->admin->render('_admin/{module}', $vars, '', FUEL_FOLDER); } - } \ No newline at end of file diff --git a/fuel/modules/fuel/views/_generate/advanced/libraries/Fuel_{module}.php b/fuel/modules/fuel/views/_generate/advanced/libraries/Fuel_{module}.php index 1cfab0a8f..9905f2468 100644 --- a/fuel/modules/fuel/views/_generate/advanced/libraries/Fuel_{module}.php +++ b/fuel/modules/fuel/views/_generate/advanced/libraries/Fuel_{module}.php @@ -20,7 +20,7 @@ // ------------------------------------------------------------------------ class Fuel_{module} extends Fuel_advanced_module { - + public $name = "{module}"; // the folder name of the module /** @@ -33,9 +33,9 @@ function __construct($params = array()) parent::__construct(); $this->initialize($params); } - + // -------------------------------------------------------------------- - + /** * Initialize the backup object * @@ -53,10 +53,9 @@ function initialize($params) } // -------------------------------------------------------------------- - + /** * Add your custom methods for this advanced module below. * You will be able to access it via $this->fuel->{module}->my_method() - */ - + */ } \ No newline at end of file diff --git a/fuel/modules/fuel/views/_generate/advanced/views/_docs/index.php b/fuel/modules/fuel/views/_generate/advanced/views/_docs/index.php index dfdc74663..7a1b4eed4 100644 --- a/fuel/modules/fuel/views/_generate/advanced/views/_docs/index.php +++ b/fuel/modules/fuel/views/_generate/advanced/views/_docs/index.php @@ -3,6 +3,4 @@ =generate_config_info()?> -=generate_toc()?> - - +=generate_toc()?> \ No newline at end of file diff --git a/fuel/modules/fuel/views/_generate/model/{model}_model.php b/fuel/modules/fuel/views/_generate/model/{model}_model.php index 4ef1aa63b..d89a2f189 100644 --- a/fuel/modules/fuel/views/_generate/model/{model}_model.php +++ b/fuel/modules/fuel/views/_generate/model/{model}_model.php @@ -29,7 +29,7 @@ function __construct() parent::__construct('{table}'); // table name } - function list_items($limit = NULL, $offset = NULL, $col = 'precedence', $order = 'desc', $just_count = FALSE) + function list_items($limit = NULL, $offset = NULL, $col = 'precedence', $order = 'asc', $just_count = FALSE) { $data = parent::list_items($limit, $offset, $col, $order, $just_count = FALSE); return $data; diff --git a/fuel/modules/fuel/views/login.php b/fuel/modules/fuel/views/login.php index 7409fcd98..f2fc58a69 100644 --- a/fuel/modules/fuel/views/login.php +++ b/fuel/modules/fuel/views/login.php @@ -9,7 +9,7 @@ =$css?> =js('jquery/jquery', FUEL_FOLDER)?> =js('jqx/jqx', FUEL_FOLDER)?> diff --git a/fuel/modules/fuel/views/pages/page_create_edit.php b/fuel/modules/fuel/views/pages/page_create_edit.php index 89eda47b3..84b3d5d9d 100644 --- a/fuel/modules/fuel/views/pages/page_create_edit.php +++ b/fuel/modules/fuel/views/pages/page_create_edit.php @@ -1,4 +1,4 @@ -load->view('_blocks/related_items'); ?> +load->module_view(FUEL_FOLDER, '_blocks/related_items'); ?>diff --git a/fuel/modules/fuel/views/pwd_reset.php b/fuel/modules/fuel/views/pwd_reset.php index d13ae80ea..c58ce7014 100644 --- a/fuel/modules/fuel/views/pwd_reset.php +++ b/fuel/modules/fuel/views/pwd_reset.php @@ -9,7 +9,7 @@ =$css?> =js('jquery/jquery', FUEL_FOLDER)?> =js('jqx/jqx', FUEL_FOLDER)?>