post_subject.naml

<override_macro name="post_subject" parameters="separator" requires="node">
    <n.set_var. name='parent_subject'>
        <n.if.has_parent>
            <then.parent_node.subject/>
        </n.if.has_parent>
    </n.set_var.>
    <n.if.not.ends_with text="[n.subject/]" suffix="[n.var name='parent_subject'/]">
        <then>
               <n.set_var. name="value"><n.subject/></n.set_var.>
                <n.set_var. name="value1"><n.subject/></n.set_var.>
               <n.if.contains_substring string="[n.var name='value1'/]" substring=" ¬n¬">
                <then>
                   <n.set_var. name="value"><img src="http://jsmastronomy.245.s1.nabble.com/file/n588/icone_new.gif" />&nbsp;<n.jsm_limpamark_new texto="[n.var name='value1'/]" /></n.set_var.>
                </then>
           </n.if.contains_substring>
           <n.if.contains_substring string="[n.var name='value1'/]" substring=" ¬¢¬">
                <then>
                    <n.set_var. name="value"><img src="http://jsmastronomy.245.s1.nabble.com/file/n588/success.png" />&nbsp;<n.jsm_limpamark_chkfull texto="[n.var name='value1'/]" /></n.set_var.>
                </then>
           </n.if.contains_substring>    
           <n.if.contains_substring string="[n.var name='value1'/]" substring=" ¬.¬">
                <then>
                 <n.set_var. name="value"><img src="http://jsmastronomy.245.s1.nabble.com/file/n588/iconmark.png" />&nbsp;<n.jsm_limpamark_chknormal texto="[n.var name='value1'/]" /></n.set_var.>
                </then>
           </n.if.contains_substring>
            <n.if.contains_substring string="[n.var name='value1'/]" substring=" ¬h¬">
              <then>
                   <n.set_var. name="value"><img src="http://jsmastronomy.245.s1.nabble.com/file/n588/iconehelp.png" />&nbsp;<n.jsm_limpamark_chkhelp texto="[n.var name='value'/]" /></n.set_var.>
              </then>
              </n.if.contains_substring>
                <n.if.contains_substring string="[n.var name='value1'/]" substring=" ¬e¬">
              <then>
                   <n.set_var. name="value"><img src="http://jsmastronomy.245.s1.nabble.com/file/n588/iconexclama.png" />&nbsp;<n.jsm_limpamark_chkexclama texto="[n.var name='value'/]" /></n.set_var.>
              </then>
              </n.if.contains_substring>
               <n.if.contains_substring string="[n.var name='value1'/]" substring=" ¬a¬">
              <then>
                   <n.set_var. name="value"><img src="http://jsmastronomy.245.s1.nabble.com/file/n588/iconadmin.png" />&nbsp;<n.jsm_limpamark_chkadm texto="[n.var name='value'/]" /></n.set_var.>
              </then>
              </n.if.contains_substring>
 
           <span class="post-subject adbayes-content"><n.var name='value'/><n.hide_null.separator/></span>
        </then>
    </n.if.not.ends_with>
</override_macro>