App.Views.PresetsView=Backbone.View.extend({id:"child_content",el:"#child_content",className:"presets",template:_.template(presets_template),initialize:function(){this.render()},events:function(){},render:function(){this.$el.addClass(this.className),this.$el.html(this.template({presetListItems:this.preparePresetsListItems(),favoriteCancel:funcObj.langCon.getString("Favorites Cancel"),favoriteTip:isQT||isBrowser?funcObj.langCon.getString("Favorites FavoriteNowplayTextClick"):funcObj.langCon.getString("Favorites_FavoriteNowplayText"),favoriteHeader:funcObj.langCon.getString("Favorites Header"),closeAccessibility:funcObj.contentCon.getContent("ACCESSIBILITYATTR",{repl:{LABEL:funcObj.langCon.getString("AccessibilityMessages_Close")}})}))},closeBottomDrawer:function(e){var t="#"+this.model.get("parentDrawer");$(t).close()},preparePresetsListItems:function(e){var t="";for(var n=0;n<6;n++){var r=n+1;t+=funcObj.contentCon.getContent("PRESETSLISTITEMS",{repl:{ITEMID:"preset_"+r,PRENUM:r,ITEMPAD:" preset_select preset_name preset_item item_pad_norm",ITEMIND:"",ITEMCONTENT:funcObj.langCon.getString("General PresetNotSet"),ITEMCONTENTIMG:funcObj.contentCon.getContent("listItemImg",{repl:{ITEMIMGID:"preset_hold_img_"+n}}),ITEMCONTENTSUB:funcObj.contentCon.getContent("listItemSub",{repl:{ITEMSUB:""}}),ITEMDISPLAYNUMBER:"",LABEL:funcObj.langCon.getString("AccessibilityMessages_Preset"+r),LABELLEDBY:""}})}return t}});