<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>txcommon — Transifex v0.9.1 documentation</title> <link rel="stylesheet" href="../_static/default.css" type="text/css" /> <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../', VERSION: '0.9.1', COLLAPSE_MODINDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="../_static/jquery.js"></script> <script type="text/javascript" src="../_static/doctools.js"></script> <link rel="top" title="Transifex v0.9.1 documentation" href="../index.html" /> <link rel="up" title="Transifex Modules" href="index.html" /> <link rel="next" title="vcs" href="vcs.html" /> <link rel="prev" title="translations" href="translations.html" /> </head> <body> <div class="document"> <div id="custom-doc" class="yui-t6"> <div id="hd"> <h1><a href="../index.html">Transifex v0.9.1 documentation</a></h1> <div id="global-nav"> <a title="Home page" href="../index.html">Home</a> | <a title="Table of contents" href="../contents.html">Table of contents</a> | <a title="Global index" href="../genindex.html">Index</a> | <a title="Search" href="../modindex.html">Modules</a> </div> <div class="nav"> « <a href="translations.html" title="<tt class="docutils literal docutils literal docutils literal"><span class="pre">translations</span></tt>">previous</a> | <a href="../contents.html" title="Table of Contents" accesskey="U">up</a> | <a href="vcs.html" title="<tt class="docutils literal docutils literal"><span class="pre">vcs</span></tt>">next</a> »</div> </div> <div id="bd"> <div id="yui-main"> <div class="yui-b"> <div class="yui-g" id="modules-txcommon"> <div class="section" id="txcommon"> <h1><tt class="xref docutils literal"><span class="pre">txcommon</span></tt><a class="headerlink" href="#txcommon" title="Permalink to this headline">¶</a></h1> <div class="section" id="decorators"> <h2>Decorators<a class="headerlink" href="#decorators" title="Permalink to this headline">¶</a></h2> </div> <div class="section" id="template-tags"> <h2>Template Tags<a class="headerlink" href="#template-tags" title="Permalink to this headline">¶</a></h2> <div class="section" id="common-tags"> <h3>Common Tags<a class="headerlink" href="#common-tags" title="Permalink to this headline">¶</a></h3> </div> <div class="section" id="module-txcommon.templatetags.search_filters"> <h3>Search Filters<a class="headerlink" href="#module-txcommon.templatetags.search_filters" title="Permalink to this headline">¶</a></h3> <dl class="function"> <dt id="txcommon.templatetags.search_filters.highlight_tag"> <tt class="descname">highlight_tag</tt><big>(</big><em>parser</em>, <em>token</em><big>)</big><a class="headerlink" href="#txcommon.templatetags.search_filters.highlight_tag" title="Permalink to this definition">¶</a></dt> <dd>{% highlight search_terms [ignore_case] [word_boundary] [class_name] [as name] %} ...text... {% endhighlight %}</dd></dl> <dl class="function"> <dt id="txcommon.templatetags.search_filters.hits_tag"> <tt class="descname">hits_tag</tt><big>(</big><em>parser</em>, <em>token</em><big>)</big><a class="headerlink" href="#txcommon.templatetags.search_filters.hits_tag" title="Permalink to this definition">¶</a></dt> <dd>{% hits search_terms [ignore_case] [word_boundary] [as name] %} ...text... {% endhits %}</dd></dl> <dl class="function"> <dt id="txcommon.templatetags.search_filters.searchexcerpt_tag"> <tt class="descname">searchexcerpt_tag</tt><big>(</big><em>parser</em>, <em>token</em><big>)</big><a class="headerlink" href="#txcommon.templatetags.search_filters.searchexcerpt_tag" title="Permalink to this definition">¶</a></dt> <dd>{% searchexcerpt search_terms [context_words] [ignore_case] [word_boundary] [as name] %} ...text... {% endsearchexcerpt %}</dd></dl> </div> </div> <div class="section" id="views"> <h2>Views<a class="headerlink" href="#views" title="Permalink to this headline">¶</a></h2> </div> </div> <div class="nav"> « <a href="translations.html" title="<tt class="docutils literal docutils literal docutils literal"><span class="pre">translations</span></tt>"><tt class="docutils literal docutils literal docutils literal"><span class="pre">translations</span></tt></a> | <a href="../contents.html" title="Table of Contents" accesskey="U">up</a> | <a href="vcs.html" title="<tt class="docutils literal docutils literal"><span class="pre">vcs</span></tt>"><tt class="docutils literal docutils literal"><span class="pre">vcs</span></tt></a> »</div> </div> </div> </div> <div class="yui-b" id="sidebar"> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <p class="logo"><a href="../index.html"> <img class="logo" src="../_static/transifex-logo.png" alt="Logo"/> </a></p> <h3><a href="../index.html">Table Of Contents</a></h3> <ul> <li><a class="reference external" href="#"><tt class="docutils literal"><span class="pre">txcommon</span></tt></a><ul> <li><a class="reference external" href="#decorators">Decorators</a></li> <li><a class="reference external" href="#template-tags">Template Tags</a><ul> <li><a class="reference external" href="#common-tags">Common Tags</a></li> <li><a class="reference external" href="#module-txcommon.templatetags.search_filters">Search Filters</a></li> </ul> </li> <li><a class="reference external" href="#views">Views</a></li> </ul> </li> </ul> <h3>Browse</h3> <ul> <li>Prev: <a href="translations.html"><tt class="docutils literal docutils literal docutils literal"><span class="pre">translations</span></tt></a></li> <li>Next: <a href="vcs.html"><tt class="docutils literal docutils literal"><span class="pre">vcs</span></tt></a></li> </ul> <h3>You are here:</h3> <ul> <li> <a href="../index.html">Transifex v0.9.1 documentation</a> <ul><li><a href="../contents.html">Table of Contents</a> <ul><li><a href="index.html">Transifex Modules</a> <ul><li><tt class="docutils literal docutils literal"><span class="pre">txcommon</span></tt></li></ul> </li></ul></li></ul> </li> </ul> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../_sources/modules/txcommon.txt" rel="nofollow">Show Source</a></li> </ul> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="../search.html" method="get"> <input type="text" name="q" size="18" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <h3>Last update:</h3> <p class="topless">Sep 24, 2010</p> </div> </div> <div id="ft"> <div class="nav"> « <a href="translations.html" title="<tt class="docutils literal docutils literal docutils literal"><span class="pre">translations</span></tt>">previous</a> | <a href="../contents.html" title="Table of Contents" accesskey="U">up</a> | <a href="vcs.html" title="<tt class="docutils literal docutils literal"><span class="pre">vcs</span></tt>">next</a> »</div> </div> </div> <div class="clearer"></div> </div> <div class="footer"> © Copyright <a href="http://www.indifex.com">Indifex</a> and the <a href="http://transifex.org/">Transifex</a> Community. Last updated on Sep 24, 2010 using <a href="http://sphinx.pocoo.org/">Sphinx</a>. </div> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-4362397-5"); pageTracker._trackPageview(); } catch(err) {}</script> </body> </html>