Dotclear


Ignore:
Timestamp:
11/08/16 21:35:28 (9 years ago)
Author:
Jean-Christian Denis <contact@…>
Branch:
default
Message:

Group js filter control into dcPage. (lazy coder inside)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.dc.page.php

    r3373 r3397  
    977977     } 
    978978 
     979     public static function jsFilterControl($show=true) 
     980     { 
     981          return 
     982          self::jsLoad('js/filter-controls.js'). 
     983          '<script type="text/javascript">'."\n". 
     984          "//<![CDATA["."\n". 
     985          self::jsVar('dotclear.msg.show_filters', $show ? 'true':'false')."\n". 
     986          self::jsVar('dotclear.msg.filter_posts_list',__('Show filters and display options'))."\n". 
     987          self::jsVar('dotclear.msg.cancel_the_filter',__('Cancel filters and display options'))."\n". 
     988          "//]]>". 
     989          "</script>"; 
     990     } 
     991 
    979992     public static function jsLoadCodeMirror($theme = '',$multi = true,$modes = array('css','htmlmixed','javascript','php','xml')) 
    980993     { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map