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

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

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

revision 1.6, Sat Jul 4 09:48:59 2009 UTC revision 1.7, Sat Jul 4 11:05:56 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: geshifilter.filtertips.inc,v 1.5 2008/07/21 17:44:23 soxofaan Exp $  // $Id: geshifilter.filtertips.inc,v 1.6 2009/07/04 09:48:59 soxofaan Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 67  function _geshifilter_filter_tips($delta Line 67  function _geshifilter_filter_tips($delta
67      }      }
68      $items[] = t('Language specific syntax highlighting tags: !tags.', array('!tags' => implode(', ', $tags)));      $items[] = t('Language specific syntax highlighting tags: !tags.', array('!tags' => implode(', ', $tags)));
69      // PHP specific delimiters      // PHP specific delimiters
70      if (_geshifilter_php_delimeters($format)) {      if (in_array(GESHIFILTER_BRACKETS_PHPBLOCK, $tag_styles)) {
71        $items[] = t('PHP source code can also be enclosed in &lt;?php ... ?&gt; or &lt;% ... %&gt;, but additional options like line numbering are not possible here.');        $items[] = t('PHP source code can also be enclosed in &lt;?php ... ?&gt; or &lt;% ... %&gt;, but additional options like line numbering are not possible here.');
72      }      }
73    
# Line 192  function _geshifilter_filter_tips($delta Line 192  function _geshifilter_filter_tips($delta
192      if (count($tag_style_examples) > 1) {      if (count($tag_style_examples) > 1) {
193        $output .= ' '. t('The supported tag styles are: !tag_styles.' , array('!tag_styles' => implode(', ', $tag_style_examples)));        $output .= ' '. t('The supported tag styles are: !tag_styles.' , array('!tag_styles' => implode(', ', $tag_style_examples)));
194      }      }
195      if (_geshifilter_php_delimeters($format)) {      if (in_array(GESHIFILTER_BRACKETS_PHPBLOCK, $tag_styles)) {
196        $output .= ' '. t('PHP source code can also be enclosed in &lt;?php ... ?&gt; or &lt;% ... %&gt;.');        $output .= ' '. t('PHP source code can also be enclosed in &lt;?php ... ?&gt; or &lt;% ... %&gt;.');
197      }      }
198      return $output;      return $output;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.2