HOME | DOWNLOAD | SUPPORT | INSTALLATION | FAQ | SUPPORT FORUM | DEMO
 ° Forums ° Statistics ° Registration ° Search ° Manual °
SkaLinks Forum / Technical Support / HTTP status bug
Author Message
bug


Posted: 15 Aug 2005 10:10:24


If there are not any links in the directory, on the main admin page under "HTTP status" the word "Array" is displayed instead of something sensible. There are fragment from templates/admin_index.tpl that should be fixed:

{if $_output.count_broken_link}

{foreach item=key from=$_output.count_broken_link}

<tr><td>
{$key.UrlHeader}:</td><td>
<a href="{$_skalinks_url.admin}admin_links_list.php?show=2&hcode={$key.Ur lHeader}">{$key.count}</a><br></td
></tr>

{/foreach}
{else}
{$_output.count_broken_link}
{/if}


The $_output.count_broken_link is array and if there are no elements in it, it return word "Array"

skalinks
Admin

Posted: 16 Aug 2005 00:44:08


Hi bug.
This is not a bug because when the first link appears, the word "array" disappears. We will fix that.
Thank you for your attention.