Dotclear


Ignore:
Timestamp:
10/08/13 15:27:39 (12 years ago)
Author:
Dsls
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.
Message:

Twig merge - lots of things to adapt yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/default-templates/js_helpers.html.twig

    r1507 r2313  
    1010 
    1111{% 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[ 
     29dotclear.nonce = '{{session.nonce}}'; 
     30dotclear.img_plus_src = 'images/expand.png'; 
     31dotclear.img_plus_alt = '{{ __('uncover') }}'; 
     32dotclear.img_minus_src = 'images/hide.png'; 
     33dotclear.img_minus_alt = '{{ __('hide') }}'; 
     34dotclear.img_menu_on = 'images/menu_on.png'; 
     35dotclear.img_menu_off = 'images/menu_off.png'; 
     36dotclear.img_plus_theme_src = 'images/plus-theme.png'; 
     37dotclear.img_plus_theme_alt = '{{ __('uncover') }}'; 
     38dotclear.img_minus_theme_src = 'images/minus-theme.png'; 
     39dotclear.img_minus_theme_alt = '{{ __('hide') }}'; 
     40dotclear.msg.help  = '{{ __('Need help?') }}'; 
     41dotclear.msg.new_window  =  '{{ __('new window') }}'; 
     42dotclear.msg.help_hide  =  '{{ __('Hide') }}'; 
     43dotclear.msg.to_select  =  '{{ __('Select:') }}'; 
     44dotclear.msg.no_selection  =  '{{ __('no selection') }}'; 
     45dotclear.msg.select_all  =  '{{ __('select all') }}'; 
     46dotclear.msg.invert_sel  =  '{{ __('Invert selection') }}'; 
     47dotclear.msg.website  =  '{{ __('Web site:') }}'; 
     48dotclear.msg.email  =  '{{ __('Email:') }}'; 
     49dotclear.msg.ip_address  =  '{{ __('IP address:') }}'; 
     50dotclear.msg.error  =  '{{ __('Error:') }}'; 
     51dotclear.msg.entry_created  =  '{{ __('Entry has been successfully created.') }}'; 
     52dotclear.msg.edit_entry  =  '{{ __('Edit entry') }}'; 
     53dotclear.msg.view_entry  =  '{{ __('view entry') }}'; 
     54dotclear.msg.confirm_delete_posts  =  '{{ __("Are you sure you want to delete selected entries (%s)?") }}'; 
     55dotclear.msg.confirm_delete_medias  =  '{{ __("Are you sure you want to delete selected medias (%d)?") }}'; 
     56dotclear.msg.confirm_delete_categories  =  '{{ __("Are you sure you want to delete selected categories (%s)?") }}'; 
     57dotclear.msg.confirm_delete_post  =  '{{ __("Are you sure you want to delete this entry?") }}'; 
     58dotclear.msg.click_to_unlock  =  '{{ __("Click here to unlock the field") }}'; 
     59dotclear.msg.confirm_spam_delete  =  '{{ __('Are you sure you want to delete all spams?') }}'; 
     60dotclear.msg.confirm_delete_comments  =  '{{ __('Are you sure you want to delete selected comments (%s)?') }}'; 
     61dotclear.msg.confirm_delete_comment  =  '{{ __('Are you sure you want to delete this comment?') }}'; 
     62dotclear.msg.cannot_delete_users  =  '{{ __('Users with posts cannot be deleted.') }}'; 
     63dotclear.msg.confirm_delete_user  =  '{{ __('Are you sure you want to delete selected users (%s)?') }}'; 
     64dotclear.msg.confirm_delete_category  =  '{{ __('Are you sure you want to delete category "%s"?') }}'; 
     65dotclear.msg.confirm_reorder_categories  =  '{{ __('Are you sure you want to reorder all categories?') }}'; 
     66dotclear.msg.confirm_delete_media  =  '{{ __('Are you sure you want to remove media "%s"?') }}'; 
     67dotclear.msg.confirm_extract_current  =  '{{ __('Are you sure you want to extract archive in current directory?') }}'; 
     68dotclear.msg.confirm_remove_attachment  =  '{{ __('Are you sure you want to remove attachment "%s"?') }}'; 
     69dotclear.msg.confirm_delete_lang  =  '{{ __('Are you sure you want to delete "%s" language?') }}'; 
     70dotclear.msg.confirm_delete_plugin  =  '{{ __('Are you sure you want to delete "%s" plugin?') }}'; 
     71dotclear.msg.use_this_theme  =  '{{ __('Use this theme') }}'; 
     72dotclear.msg.remove_this_theme  =  '{{ __('Remove this theme') }}'; 
     73dotclear.msg.confirm_delete_theme  =  '{{ __('Are you sure you want to delete "%s" theme?') }}'; 
     74dotclear.msg.confirm_delete_backup  =  '{{ __('Are you sure you want to delete this backup?') }}'; 
     75dotclear.msg.zip_file_content  =  '{{ __('Zip file content') }}'; 
     76dotclear.msg.xhtml_validator  =  '{{ __('XHTML markup validator') }}'; 
     77dotclear.msg.xhtml_valid  =  '{{ __('XHTML content is valid.') }}'; 
     78dotclear.msg.xhtml_not_valid  =  '{{ __('There are XHTML markup errors.') }}'; 
     79dotclear.msg.warning_validate_no_save_content  =  '{{ __('Attention: an audit of a content not yet registered.') }}'; 
     80dotclear.msg.confirm_change_post_format  =  '{{ __('You have unsaved changes. Switch post format will loose these changes. Proceed anyway?') }}'; 
     81dotclear.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?") }}'; 
     82dotclear.msg.load_enhanced_uploader  =  '{{ __('Loading enhanced uploader, please wait.') }}'; 
     83dotclear.msg.module_author  =  '{{ __('Author:') }}'; 
     84dotclear.msg.module_details  =  '{{ __('Details') }}'; 
     85dotclear.msg.module_support  =  '{{ __('Support') }}'; 
     86dotclear.msg.module_help  =  '{{ __('Help:') }}'; 
     87dotclear.msg.module_section  =  '{{ __('Section:') }}'; 
     88dotclear.msg.module_tags  =  '{{ __('Tags:') }}'; 
     89//]]> 
     90</script> 
     91{% endautoescape %} 
    6592{% endmacro %} 
    6693 
    6794{% 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      <![endif]--> 
     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]--> 
    7299{% endmacro %} 
    73100 
Note: See TracChangeset for help on using the changeset viewer.

Sites map