Subversion Repositories wimsdev

Rev

Rev 20 | Rev 404 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !if $lang=cn
  2. !readproc tabletheme
  3. <p>ËùÓеıȽ϶¼ÔÚ´®ÉϽøÐÐ: <tt>string1 rel string2</tt>.
  4. ¿ÉÒÔÀûÓà <tt>and</tt> Óë <tt>or</tt> °Ñ±È½Ï½áºÏÆðÀ´.
  5. »¹¿ÉÒÔÀûÓÃÀ¨ºÅÒÔ¹¹³É¸´ÔӵıȽÏʽ.<p>
  6. ÓÐЧµÄ¹ØÏµ <tt>rel</tt>:
  7.   <p>$table_header
  8.    $table_tr<td align=center>¹ØÏµ<td align=center>Ìõ¼þ
  9.    $table_tr<td align=center><tt> = </tt> »ò <tt>==</tt><td>true(Õæ), Èô <tt> string1
  10.        </tt> Óë <tt> string2 </tt> ÍêÈ«Ïàͬ.
  11.    $table_tr<td align=center><tt> != </tt> »ò <tt>&lt;&gt;</tt>
  12.     <td>true(Õæ), Èô <tt> string1
  13.        </tt> Óë <tt> string2 </tt> ²»Ïàͬ.
  14.    $table_tr<td align=center><tt> < </tt><td>true(Õæ), Èç¹ûÁ½¸ö´®µÄÊýÖµ
  15.        <tt> string1 </tt> < <tt> string2 </tt>.
  16.    $table_tr<td align=center><tt> <= </tt><td>true(Õæ), Èç¹ûÁ½¸ö´®µÄÊýÖµ
  17.        <tt> string1 </tt> $m_le <tt> string2 </tt>.
  18.    $table_tr<td align=center><tt> > </tt><td>true(Õæ), Èç¹ûÁ½¸ö´®µÄÊýÖµ
  19.        <tt> string1 </tt> > <tt> string2 </tt>.
  20.    $table_tr<td align=center><tt> >= </tt><td>true(Õæ), Èç¹ûÁ½¸ö´®µÄÊýÖµ
  21.        <tt> string1 </tt> $m_ge <tt> string2 </tt>.
  22.    $table_tr<td align=center><tt> isin </tt><td>true(Õæ), Èô <tt> string1
  23.        </tt> ÊÇ <tt> string2 </tt> µÄ×Ó´®.
  24.    $table_tr<td align=center><tt> notin </tt><td>true(Õæ), Èô <tt> string1
  25.        </tt> ²»ÊÇ <tt> string2 </tt> µÄ×Ó´®.
  26.    $table_tr<td align=center><tt> iswordof </tt><td>true(Õæ), Èô <tt> string1
  27.        </tt> ÊÇ <tt> string2 </tt> µÄÒ»¸ö´Ê.
  28.    $table_tr<td align=center><tt> notwordof </tt><td>true(Õæ), Èô <tt> string1
  29.        </tt> ²»ÊÇ <tt> string2 </tt> µÄÒ»¸ö´Ê.
  30.    $table_tr<td align=center><tt> isvarof </tt><td>true(Õæ), Èô <tt> string1
  31.        </tt> ÊDZí´ïʽ <tt> string2 </tt> µÄÒ»¸ö(Êýѧ)±äÁ¿.
  32.    $table_tr<td align=center><tt> notvarof </tt><td>true(Õæ), Èô <tt> string1
  33.        </tt> ²»ÊDZí´ïʽ <tt> string2 </tt> µÄÒ»¸ö(Êýѧ)±äÁ¿.
  34.    $table_tr<td align=center><tt> isvariableof </tt><td>true(Õæ), Èô <tt> string1
  35.        </tt> ÊDZí´ïʽ <tt> string2 </tt> µÄÒ»¸ö(Êýѧ)±äÁ¿.
  36.    $table_tr<td align=center><tt> notvariableof </tt><td>true(Õæ), Èô <tt> string1
  37.        </tt> ²»ÊDZí´ïʽ <tt> string2 </tt> µÄÒ»¸ö(Êýѧ)±äÁ¿.
  38.    $table_tr<td align=center><tt> isitemof </tt><td>true(Õæ), Èô <tt> string1
  39.        </tt> ÊDZí <tt> string2 </tt> µÄÒ»Ïî.
  40.    $table_tr<td align=center><tt> notitemdof </tt><td>true(Õæ), Èô <tt> string1
  41.        </tt> ²»ÊDZí <tt> string2 </tt> µÄÒ»Ïî.
  42.    $table_tr<td align=center><tt> islineof </tt><td>true(Õæ), Èô <tt> string1
  43.        </tt> ÊDZí <tt> string2 </tt> µÄÒ»ÐÐ.
  44.    $table_tr<td align=center><tt> notlinedof </tt><td>true(Õæ), Èô <tt> string1
  45.        </tt> ²»ÊDZí <tt> string2 </tt> µÄÒ»ÐÐ.
  46.    $table_tr<td align=center><tt> issamecase </tt><td>true(Õæ), Èô <tt> string1
  47.        </tt> Óë <tt> string2 </tt> ÓÐÏàͬµÄÎÄ×Ö, ±È½Ïʱ²»¿¼ÂǶàÓàµÄ¿Õ¸ñ, µ«ÊÇÇø±ð´óСд×Öĸ.
  48.    $table_tr<td align=center><tt> notsamecase </tt><td>true(Õæ), Èô <tt> string1
  49.        </tt> Óë <tt> string2 </tt> Óв»ÏàͬµÄÎÄ×Ö, ±È½Ïʱ²»¿¼ÂǶàÓàµÄ¿Õ¸ñ, µ«ÊÇÇø±ð´óСд×Öĸ.
  50.    $table_tr<td align=center><tt> issametext </tt><td>true(Õæ), Èô <tt> string1
  51.        </tt> Óë <tt> string2 </tt> ÓÐÏàͬµÄÎÄ×Ö, ±È½Ïʱ²»¿¼ÂǶàÓàµÄ¿Õ¸ñ¡¢´óСд×Öĸ¼°ÓÐÖØÒôºÅµÄ×Öĸ.
  52.    $table_tr<td align=center><tt> notsametext </tt><td>true(Õæ), Èô <tt> string1
  53.        </tt> Óë <tt> string2 </tt> Óв»ÏàͬµÄÎÄ×Ö, ±È½Ïʱ²»¿¼ÂǶàÓàµÄ¿Õ¸ñ¡¢´óСд×Öĸ¼°ÓÐÖØÒôºÅµÄ×Öĸ.
  54.  
  55.   $table_end<p>
  56. !exit
  57. !endif
  58.  
  59. !readproc tabletheme
  60. <p>All comparisons are made on strings: <tt>string1 rel string2</tt>.
  61. Comparisons can be joined using <tt>and</tt> and <tt>or</tt>. Parentheses may
  62. be used to build complex comparison logics.<p>
  63. Valid relations <tt>rel</tt>:
  64.   <p>$table_header
  65.    $table_tr<td align=center>relation<td align=center>condition
  66.    $table_tr<td align=center><tt> = </tt> or <tt>==</tt><td>true if <tt> string1
  67.        </tt> and <tt> string2 </tt> are identical.
  68.    $table_tr<td align=center><tt> != </tt> or <tt>&lt;&gt;</tt>
  69.     <td>true if <tt> string1
  70.        </tt> and <tt> string2 </tt> are NOT identical.
  71.    $table_tr<td align=center><tt> < </tt><td>true if (the numerical evaluation of)
  72.        <tt> string1 </tt> is < <tt> string2 </tt>.
  73.    $table_tr<td align=center><tt> <= </tt><td>true if (the numerical evaluation of)
  74.        <tt> string1 </tt> is $m_le <tt> string2 </tt>.
  75.    $table_tr<td align=center><tt> > </tt><td>true if (the numerical evaluation of)
  76.        <tt> string1 </tt> is > <tt> string2 </tt>.
  77.    $table_tr<td align=center><tt> >= </tt><td>true if (the numerical evaluation of)
  78.        <tt> string1 </tt> is $m_ge <tt> string2 </tt>.
  79.    $table_tr<td align=center><tt> isin </tt><td>true if <tt> string1
  80.        </tt> is a substring of <tt> string2 </tt>.
  81.    $table_tr<td align=center><tt> notin </tt><td>true if <tt> string1
  82.        </tt> is NOT a substring of <tt> string2 </tt>.
  83.    $table_tr<td align=center><tt> iswordof </tt><td>true if <tt> string1
  84.        </tt> is a word of <tt> string2 </tt>.
  85.    $table_tr<td align=center><tt> notwordof </tt><td>true if <tt> string1
  86.        </tt> is NOT a word of <tt> string2 </tt>.
  87.    $table_tr<td align=center><tt> isvarof </tt><td>true if <tt> string1
  88.        </tt> is a (mathematical) variable of the expression
  89.        <tt> string2 </tt>.
  90.    $table_tr<td align=center><tt> notvarof </tt><td>true if <tt> string1
  91.        </tt> is NOT a (mathematical) variable of the expression
  92.        <tt> string2 </tt>.
  93.    $table_tr<td align=center><tt> isvariableof </tt><td>true if <tt> string1
  94.        </tt> is a (mathematical) variable of the expression
  95.        <tt> string2 </tt>.
  96.    $table_tr<td align=center><tt> notvariableof </tt><td>true if <tt> string1
  97.        </tt> is NOT a (mathematical) variable of the expression
  98.        <tt> string2 </tt>.
  99.    $table_tr<td align=center><tt> isitemof </tt><td>true if <tt> string1
  100.        </tt> is an item of the list <tt> string2 </tt>.
  101.    $table_tr<td align=center><tt> notitemof </tt><td>true if <tt> string1
  102.        </tt> is NOT an item of the list <tt> string2 </tt>.
  103.    $table_tr<td align=center><tt> islineof </tt><td>true if <tt> string1
  104.        </tt> is a line of the list <tt> string2 </tt>.
  105.    $table_tr<td align=center><tt> notlinedof </tt><td>true if <tt> string1
  106.        </tt> is NOT a line of the list <tt> string2 </tt>.
  107.    $table_tr<td align=center><tt> issamecase </tt><td>true if <tt> string1
  108.        </tt> and <tt> string2 </tt> are the same text by a comparison
  109.        insensitive to multiple spaces but case-sensitive.
  110.    $table_tr<td align=center><tt> notsamecase </tt><td>true if <tt> string1
  111.        </tt> and <tt> string2 </tt> are NOT the same text by a comparison
  112.        insensitive to multiple spaces but case-sensitive.
  113.    $table_tr<td align=center><tt> issametext </tt><td>true if <tt> string1
  114.        </tt> and <tt> string2 </tt> are the same text by a comparison
  115.        insensitive to cases, multiple spaces and accented letters.
  116.    $table_tr<td align=center><tt> notsametext </tt><td>true if <tt> string1
  117.        </tt> and <tt> string2 </tt> are NOT the same text by a comparison
  118.        insensitive to cases, multiple spaces and accented letters.
  119.  
  120.   $table_end<p>
  121.