All pastes #338612 Raw Edit

hmmmm

public text v1 · immutable
·published 2007-02-03 16:05 UTC
rendered paste body
<xar:if condition="!empty($hooks)">
   <xar:foreach in="$hooks" key="$item">
      <xar:if condition="$item eq 'firstspecificmodulehere'">
         <xar:set name="firstseperatedhookitem">$hooks[$item]</xar:set>
      </xar:if>
      <xar:if condition="$item eq 'secondspecificmodulehere'">
         <xar:set name="secondseperatedhookitem">$hooks[$item]</xar:set>
      </xar:if>
      <xar:if condition="$item eq 'thirdspecificmodulehere'">
         <xar:set name="thirdseperatedhookitem">$hooks[$item]</xar:set>
      </xar:if>
      <xar:if condition="($item ne 'firstspecificmodulehere') or ($item ne 'secondspecificmodulehere') or ($item ne 'thirdspecificmodulehere')">
         <xar:set name="otherhookeditems">$hooks[$item]</xar:set>
      </xar:if>
   </xar:foreach>   
</xar:if>