|
|
|
@ -591,30 +591,30 @@ function showlinksofcategory($catid) |
|
|
|
|
// DISPLAY MOVE UP COMMAND only if it is not the top link |
|
|
|
|
if ($i != 1) |
|
|
|
|
{ |
|
|
|
|
echo "<a href=\"".api_get_self()."?".api_get_cidreq()."&urlview=".$urlview."&up=", $myrow["id"], "\" title=\"".get_lang('Up')."\" >", "<img src=../img/up.gif border=0 alt=\"Up\"/>", "</a>\n"; |
|
|
|
|
echo "<a href=\"".api_get_self()."?".api_get_cidreq()."&urlview=".$urlview."&up=", $myrow["id"], "\" title=\"".get_lang('Up')."\" >", "<img src=../img/up.gif border=0 alt=\"".get_lang('Up')."\"/>", "</a>\n"; |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
|
echo '<img src="'.api_get_path(WEB_IMG_PATH).'up_na.gif" border=0 alt="Up"/>'; |
|
|
|
|
echo '<img src="'.api_get_path(WEB_IMG_PATH).'up_na.gif" border=0 alt="'.get_lang('Up').'"/>'; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// DISPLAY MOVE DOWN COMMAND only if it is not the bottom link |
|
|
|
|
if ($i < $numberoflinks) |
|
|
|
|
{ |
|
|
|
|
echo "<a href=\"".api_get_self()."?".api_get_cidreq()."&urlview=".$urlview."&down=".$myrow["id"]."\" title=\"".get_lang('Down')."\" >", "<img src=\"../img/down.gif\" border=\"0\" alt=\"Down\"/>", "</a>\n"; |
|
|
|
|
echo "<a href=\"".api_get_self()."?".api_get_cidreq()."&urlview=".$urlview."&down=".$myrow["id"]."\" title=\"".get_lang('Down')."\" >", "<img src=\"../img/down.gif\" border=\"0\" alt=\"".get_lang('Down')."\"/>", "</a>\n"; |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
|
echo '<img src="'.api_get_path(WEB_IMG_PATH).'down_na.gif" border=0 alt="Up"/>'; |
|
|
|
|
echo '<img src="'.api_get_path(WEB_IMG_PATH).'down_na.gif" border=0 alt="'.get_lang('Down').'"/>'; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if ($myrow['visibility'] == "1") |
|
|
|
|
{ |
|
|
|
|
echo '<a href="link.php?'.api_get_cidreq().'&action=invisible&id='.$myrow['id'].'&scope=link&urlview='.$urlview.'" title="'.get_lang('langVisible').'"><img src="../img/visible.gif" border="0" /></a>'; |
|
|
|
|
echo '<a href="link.php?'.api_get_cidreq().'&action=invisible&id='.$myrow['id'].'&scope=link&urlview='.$urlview.'" title="'.get_lang('Hide').'"><img src="../img/visible.gif" border="0" /></a>'; |
|
|
|
|
} |
|
|
|
|
if ($myrow['visibility'] == "0") |
|
|
|
|
{ |
|
|
|
|
echo '<a href="link.php?'.api_get_cidreq().'&action=visible&id='.$myrow['id'].'&scope=link&urlview='.$urlview.'" title="'.get_lang('langVisible').'"><img src="../img/invisible.gif" border="0" /></a>'; |
|
|
|
|
echo '<a href="link.php?'.api_get_cidreq().'&action=visible&id='.$myrow['id'].'&scope=link&urlview='.$urlview.'" title="'.get_lang('Show').'"><img src="../img/invisible.gif" border="0" /></a>'; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
echo '</td>'; |
|
|
|
@ -640,20 +640,20 @@ function showcategoryadmintools($categoryid) |
|
|
|
|
// DISPLAY MOVE UP COMMAND only if it is not the top link |
|
|
|
|
if ($catcounter != 1) |
|
|
|
|
{ |
|
|
|
|
echo "<a href=\"".api_get_self()."?".api_get_cidreq()."&catmove=true&up=", $categoryid, "&urlview=$urlview\" title=\"".get_lang('Up')."\" >", "<img src=../img/up.gif border=0 alt=\"Up\"/>", "</a>\n"; |
|
|
|
|
echo "<a href=\"".api_get_self()."?".api_get_cidreq()."&catmove=true&up=", $categoryid, "&urlview=$urlview\" title=\"".get_lang('Up')."\" >", "<img src=../img/up.gif border=0 alt=\"".get_lang('Up')."\"/>", "</a>\n"; |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
|
echo '<img src="'.api_get_path(WEB_IMG_PATH).'up_na.gif" border=0 alt="Up"/>'; |
|
|
|
|
echo '<img src="'.api_get_path(WEB_IMG_PATH).'up_na.gif" border=0 alt="'.get_lang('Up').'"/>'; |
|
|
|
|
} |
|
|
|
|
// DISPLAY MOVE DOWN COMMAND only if it is not the bottom link |
|
|
|
|
if ($catcounter < $aantalcategories) |
|
|
|
|
{ |
|
|
|
|
echo "<a href=\"".api_get_self()."?".api_get_cidreq()."&catmove=true&down=".$categoryid."&urlview=$urlview\">", "<img src=\"../img/down.gif\" border=\"0\" alt=\"Down\"/>", "</a>\n"; |
|
|
|
|
echo "<a href=\"".api_get_self()."?".api_get_cidreq()."&catmove=true&down=".$categoryid."&urlview=$urlview\">", "<img src=\"../img/down.gif\" border=\"0\" alt=\"".get_lang('Down')."\"/>", "</a>\n"; |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
|
echo '<img src="'.api_get_path(WEB_IMG_PATH).'down_na.gif" border=0 alt="Up"/>'; |
|
|
|
|
echo '<img src="'.api_get_path(WEB_IMG_PATH).'down_na.gif" border=0 alt="'.get_lang('Down').'"/>'; |
|
|
|
|
} |
|
|
|
|
$catcounter ++; |
|
|
|
|
} |
|
|
|
|