/[drupal]/contributions/modules/geshifilter/geshifilter.admin.inc
ViewVC logotype

Diff of /contributions/modules/geshifilter/geshifilter.admin.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.21, Sat Jul 4 09:48:59 2009 UTC revision 1.22, Sat Jul 4 11:05:56 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: geshifilter.admin.inc,v 1.20 2009/06/27 12:54:15 soxofaan Exp $  // $Id: geshifilter.admin.inc,v 1.21 2009/07/04 09:48:59 soxofaan Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 385  function _geshifilter_general_highlight_ Line 385  function _geshifilter_general_highlight_
385        GESHIFILTER_BRACKETS_ANGLE => '<code>'. check_plain('<foo> ... </foo>') .'</code>',        GESHIFILTER_BRACKETS_ANGLE => '<code>'. check_plain('<foo> ... </foo>') .'</code>',
386        GESHIFILTER_BRACKETS_SQUARE => '<code>'. check_plain('[foo] ... [/foo]') .'</code>',        GESHIFILTER_BRACKETS_SQUARE => '<code>'. check_plain('[foo] ... [/foo]') .'</code>',
387        GESHIFILTER_BRACKETS_DOUBLESQUARE => '<code>'. check_plain('[[foo]] ... [[/foo]]') .'</code>',        GESHIFILTER_BRACKETS_DOUBLESQUARE => '<code>'. check_plain('[[foo]] ... [[/foo]]') .'</code>',
388          GESHIFILTER_BRACKETS_PHPBLOCK => t('PHP style source code blocks: !php and !percent', array(
389            '!php' => '<code>'. check_plain('<?php ... ?>'). '</code>',
390            '!percent' =>  '<code>'. check_plain('<% ... %>'). '</code>',
391          )),
392      ),      ),
393      '#default_value' => _geshifilter_tag_styles($format),      '#default_value' => _geshifilter_tag_styles($format),
394      '#description' => t('Select the container tag styles that should trigger GeSHi syntax highlighting.'),      '#description' => t('Select the container tag styles that should trigger GeSHi syntax highlighting.'),
395    );    );
   // PHP specific delimiters.  
   // @todo: merge this option into geshifilter_tag_styles$f.  
   $form['geshifilter']["geshifilter_enable_php_delimiters$f"] = array(  
     '#type' => 'checkbox',  
     '#title' => t('Also apply syntax highlighting to &lt;?php ... ?&gt; style PHP source code blocks.'),  
     '#description' => t('When enabled, PHP source code enclosed in &lt;?php...?&gt; or &lt;%...%&gt; will also be processed.'),  
     '#default_value' => _geshifilter_php_delimeters($format),  
   );  
396    return $form;    return $form;
397  }  }
398    

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.2