- Timestamp:
- 10/08/13 15:27:39 (12 years ago)
- Branch:
- twig
- Parents:
- 1524:913f5a36bbb0 (diff), 2312:d01c85eaa37d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/default-templates/js_helpers.html.twig
r1507 r2313 10 10 11 11 {% macro common() %} 12 <!-- jsCommon --> 13 {{ _self.load('js/jquery/jquery.js') }} 14 {{ _self.load('js/jquery/jquery.biscuit.js') }} 15 {{ _self.load('js/jquery/jquery.bgFade.js') }} 16 {{ _self.load('js/common.js') }} 17 {{ _self.load('js/prelude.js') }} 18 <script type="text/javascript"> 19 {% autoescape 'js' %} 20 //<![CDATA[ 21 dotclear.nonce = '{{session.nonce}}'; 22 dotclear.img_plus_src = '{{theme_url}}images/expand.png'; 23 dotclear.img_plus_alt = '{{__('uncover')}}'; 24 dotclear.img_minus_src = '{{theme_url}}images/hide.png'; 25 dotclear.img_minus_alt = '{{__('hide')}}'; 26 dotclear.img_menu_on = '{{theme_url}}images/menu_on.png'; 27 dotclear.img_menu_off = '{{theme_url}}images/menu_off.png'; 28 dotclear.msg.help = '{{__('help')}}'; 29 dotclear.msg.no_selection = '{{__('no selection')}}'; 30 dotclear.msg.select_all = '{{__('select all')}}'; 31 dotclear.msg.invert_sel = '{{__('invert selection')}}'; 32 dotclear.msg.website = '{{__('Web site:')}}'; 33 dotclear.msg.email = '{{__('Email:')}}'; 34 dotclear.msg.ip_address = '{{__('IP address:')}}'; 35 dotclear.msg.error = '{{__('Error:')}}'; 36 dotclear.msg.entry_created = '{{__('Entry has been successfully created.')}}'; 37 dotclear.msg.edit_entry = '{{__('Edit entry')}}'; 38 dotclear.msg.view_entry = '{{__('view entry')}}'; 39 dotclear.msg.confirm_delete_posts = '{{__("Are you sure you want to delete selected entries (%s)?")}}'; 40 dotclear.msg.confirm_delete_post = '{{__("Are you sure you want to delete this entry?")}}'; 41 dotclear.msg.confirm_spam_delete = '{{__('Are you sure you want to delete all spams?')}}'; 42 dotclear.msg.confirm_delete_comments = '{{__('Are you sure you want to delete selected comments (%s)?')}}'; 43 dotclear.msg.confirm_delete_comment = '{{__('Are you sure you want to delete this comment?')}}'; 44 dotclear.msg.cannot_delete_users = '{{__('Users with posts cannot be deleted.')}}'; 45 dotclear.msg.confirm_delete_user = '{{__('Are you sure you want to delete selected users (%s)?')}}'; 46 dotclear.msg.confirm_delete_category = '{{__('Are you sure you want to delete category "%s"?')}}'; 47 dotclear.msg.confirm_reorder_categories = '{{__('Are you sure you want to reorder all categories?')}}'; 48 dotclear.msg.confirm_delete_media = '{{__('Are you sure you want to remove media "%s"?')}}'; 49 dotclear.msg.confirm_extract_current = '{{__('Are you sure you want to extract archive in current directory?')}}'; 50 dotclear.msg.confirm_remove_attachment = '{{__('Are you sure you want to remove attachment "%s"?')}}'; 51 dotclear.msg.confirm_delete_lang = '{{__('Are you sure you want to delete "%s" language?')}}'; 52 dotclear.msg.confirm_delete_plugin = '{{__('Are you sure you want to delete "%s" plugin?')}}'; 53 dotclear.msg.use_this_theme = '{{__('Use this theme')}}'; 54 dotclear.msg.remove_this_theme = '{{__('Remove this theme')}}'; 55 dotclear.msg.confirm_delete_theme = '{{__('Are you sure you want to delete "%s" theme?')}}'; 56 dotclear.msg.zip_file_content = '{{__('Zip file content')}}'; 57 dotclear.msg.xhtml_validator = '{{__('XHTML markup validator')}}'; 58 dotclear.msg.xhtml_valid = '{{__('XHTML content is valid.')}}'; 59 dotclear.msg.xhtml_not_valid = '{{__('There are XHTML markup errors.')}}'; 60 dotclear.msg.confirm_change_post_format = '{{__('You have unsaved changes. Switch post format will loose these changes. Proceed anyway?')}}'; 61 dotclear.msg.load_enhanced_uploader = '{{__('Loading enhanced uploader =>please wait.')}}'; 62 //]]> 63 </script> 64 {% endautoescape %} 12 <!-- jsCommon --> 13 {{ _self.load('js/jquery/jquery.js') }} 14 {% if current_blog is defined and jquery_migrate_mute -%} 15 <script type="text/javascript"> 16 //<![CDATA[ 17 jQuery.migrateMute = true 18 //]]> 19 </script> 20 {%- endif %} 21 {{ _self.load('js/jquery/jquery-migrate-1.2.1.js') }} 22 {{ _self.load('js/jquery/jquery.biscuit.js') }} 23 {{ _self.load('js/jquery/jquery.bgFade.js') }} 24 {{ _self.load('js/common.js') }} 25 {{ _self.load('js/prelude.js') }} 26 <script type="text/javascript"> 27 {% autoescape 'js' %} 28 //<![CDATA[ 29 dotclear.nonce = '{{session.nonce}}'; 30 dotclear.img_plus_src = 'images/expand.png'; 31 dotclear.img_plus_alt = '{{ __('uncover') }}'; 32 dotclear.img_minus_src = 'images/hide.png'; 33 dotclear.img_minus_alt = '{{ __('hide') }}'; 34 dotclear.img_menu_on = 'images/menu_on.png'; 35 dotclear.img_menu_off = 'images/menu_off.png'; 36 dotclear.img_plus_theme_src = 'images/plus-theme.png'; 37 dotclear.img_plus_theme_alt = '{{ __('uncover') }}'; 38 dotclear.img_minus_theme_src = 'images/minus-theme.png'; 39 dotclear.img_minus_theme_alt = '{{ __('hide') }}'; 40 dotclear.msg.help = '{{ __('Need help?') }}'; 41 dotclear.msg.new_window = '{{ __('new window') }}'; 42 dotclear.msg.help_hide = '{{ __('Hide') }}'; 43 dotclear.msg.to_select = '{{ __('Select:') }}'; 44 dotclear.msg.no_selection = '{{ __('no selection') }}'; 45 dotclear.msg.select_all = '{{ __('select all') }}'; 46 dotclear.msg.invert_sel = '{{ __('Invert selection') }}'; 47 dotclear.msg.website = '{{ __('Web site:') }}'; 48 dotclear.msg.email = '{{ __('Email:') }}'; 49 dotclear.msg.ip_address = '{{ __('IP address:') }}'; 50 dotclear.msg.error = '{{ __('Error:') }}'; 51 dotclear.msg.entry_created = '{{ __('Entry has been successfully created.') }}'; 52 dotclear.msg.edit_entry = '{{ __('Edit entry') }}'; 53 dotclear.msg.view_entry = '{{ __('view entry') }}'; 54 dotclear.msg.confirm_delete_posts = '{{ __("Are you sure you want to delete selected entries (%s)?") }}'; 55 dotclear.msg.confirm_delete_medias = '{{ __("Are you sure you want to delete selected medias (%d)?") }}'; 56 dotclear.msg.confirm_delete_categories = '{{ __("Are you sure you want to delete selected categories (%s)?") }}'; 57 dotclear.msg.confirm_delete_post = '{{ __("Are you sure you want to delete this entry?") }}'; 58 dotclear.msg.click_to_unlock = '{{ __("Click here to unlock the field") }}'; 59 dotclear.msg.confirm_spam_delete = '{{ __('Are you sure you want to delete all spams?') }}'; 60 dotclear.msg.confirm_delete_comments = '{{ __('Are you sure you want to delete selected comments (%s)?') }}'; 61 dotclear.msg.confirm_delete_comment = '{{ __('Are you sure you want to delete this comment?') }}'; 62 dotclear.msg.cannot_delete_users = '{{ __('Users with posts cannot be deleted.') }}'; 63 dotclear.msg.confirm_delete_user = '{{ __('Are you sure you want to delete selected users (%s)?') }}'; 64 dotclear.msg.confirm_delete_category = '{{ __('Are you sure you want to delete category "%s"?') }}'; 65 dotclear.msg.confirm_reorder_categories = '{{ __('Are you sure you want to reorder all categories?') }}'; 66 dotclear.msg.confirm_delete_media = '{{ __('Are you sure you want to remove media "%s"?') }}'; 67 dotclear.msg.confirm_extract_current = '{{ __('Are you sure you want to extract archive in current directory?') }}'; 68 dotclear.msg.confirm_remove_attachment = '{{ __('Are you sure you want to remove attachment "%s"?') }}'; 69 dotclear.msg.confirm_delete_lang = '{{ __('Are you sure you want to delete "%s" language?') }}'; 70 dotclear.msg.confirm_delete_plugin = '{{ __('Are you sure you want to delete "%s" plugin?') }}'; 71 dotclear.msg.use_this_theme = '{{ __('Use this theme') }}'; 72 dotclear.msg.remove_this_theme = '{{ __('Remove this theme') }}'; 73 dotclear.msg.confirm_delete_theme = '{{ __('Are you sure you want to delete "%s" theme?') }}'; 74 dotclear.msg.confirm_delete_backup = '{{ __('Are you sure you want to delete this backup?') }}'; 75 dotclear.msg.zip_file_content = '{{ __('Zip file content') }}'; 76 dotclear.msg.xhtml_validator = '{{ __('XHTML markup validator') }}'; 77 dotclear.msg.xhtml_valid = '{{ __('XHTML content is valid.') }}'; 78 dotclear.msg.xhtml_not_valid = '{{ __('There are XHTML markup errors.') }}'; 79 dotclear.msg.warning_validate_no_save_content = '{{ __('Attention: an audit of a content not yet registered.') }}'; 80 dotclear.msg.confirm_change_post_format = '{{ __('You have unsaved changes. Switch post format will loose these changes. Proceed anyway?') }}'; 81 dotclear.msg.confirm_change_post_format_noconvert = '{{ __("Warning: post format change will not convert existing content. You will need to apply new format by yourself. Proceed anyway?") }}'; 82 dotclear.msg.load_enhanced_uploader = '{{ __('Loading enhanced uploader, please wait.') }}'; 83 dotclear.msg.module_author = '{{ __('Author:') }}'; 84 dotclear.msg.module_details = '{{ __('Details') }}'; 85 dotclear.msg.module_support = '{{ __('Support') }}'; 86 dotclear.msg.module_help = '{{ __('Help:') }}'; 87 dotclear.msg.module_section = '{{ __('Section:') }}'; 88 dotclear.msg.module_tags = '{{ __('Tags:') }}'; 89 //]]> 90 </script> 91 {% endautoescape %} 65 92 {% endmacro %} 66 93 67 94 {% macro load_IE7() %} 68 <!--[if lt IE 8]>69 {{ _self.load('ie7/IE8.js') }}70 <link rel="stylesheet" type="text/css" href="{{theme_url}}style/iesucks.css" />71 95 <!--[if lt IE 9]> 96 {{ _self.load('js/ie7/IE9.js') }} 97 <link rel="stylesheet" type="text/css" href="style/iesucks.css" /> 98 <![endif]--> 72 99 {% endmacro %} 73 100
Note: See TracChangeset
for help on using the changeset viewer.