You are here

function typogrify_filter_tips in Typogrify 5

Same name and namespace in other branches
  1. 6 typogrify.module \typogrify_filter_tips()

File

./typogrify.module, line 27

Code

function typogrify_filter_tips($delta = 0, $format = -1, $long) {
  if ($long) {
    $the_output = t('Typogrify.module brings the typographic refinements of Typogrify to Drupal.<ul>
<li>Wraps ampersands (the $ldquo;&amp;&rdquo; character) with &lt;span class=\\"amp\\"&gt;&amp;&lt;/span&gt;.</li>
<li>Prevents single words from wrapping onto their own line using Shaun Inman\'s Widont technique.</li>
<li>Converts straight quotation marks to typographer\'s quotation marks, using SmartyPants.</li>
<li>Converts multiple hyphens to en dashes and em dashes (according to your preferences), using SmartyPants.</li>
<li>Wraps multiple capital letters with &lt;span class=\\"caps\\"&gt;CAPS&lt;/span&gt;.</li>
<li>Wraps initial quotation marks with &lt;span class=\\"quo\\"&gt;&lt;/span&gt; or &lt;span class=\\"dquo\\"&gt;&lt;/span&gt;.</li>
<li>Adds a css style sheet that uses the &lt;span&gt; tags to substitute a showy ampersand in headlines, switch caps to small caps, and hang initial quotation marks.</li></ul>');
  }
  else {
    $the_output = t('Adds typographic refinements.');
  }
  return $the_output;
}