1
Would be nice if someone could have a quick shot at this:
le="color: #000000"><?php <ul> <{foreach item=module from=$block.modules}> <li><a href="<{$module.adminlink}>"><{$module.lang_linkname}></a>: <{$module.pendingnum}></li> <{/foreach}> </ul>
This is the usual ´Waiting content´-Block. Just looking for some code to use some color if the amount of waiting content is bigger than 0.
Something like
le="color: #000000"><?php case (<{$module.pendingnum}> = 0) then <{$module.pendingnum}> else <style="font-weight:bold; font-color:red"> <{$module.pendingnum}> </style>
Uuhm ... just that with the correct syntax