2023-06-20, 03:07:43
(2012-04-20, 14:15:35)andyash Wrote:mvlcek Wrote:global $SITEURL;
... echo substr($item->link,0,strlen($SITEURL)) == $SITEURL ? '_self' : '_blank'; ...mvlcek Wrote:<a href="<?php echo htmlspecialchars($item->link); ?>" target="_<?php if($item->link!=='') { echo 'blank'; } else {echo 'self'; } ?>">
How and where do I put these two to achieve my target?
I need to know how to do this, as well.
...lee