|
|
|
|
@ -276,7 +276,13 @@ function show_tools_category($course_tool_category) |
|
|
|
|
$class=''; |
|
|
|
|
|
|
|
|
|
$qm_or_amp = ((strpos($toolsRow['link'], '?') === FALSE) ? '?' : '&'); |
|
|
|
|
//If it's a link, we don't add the cidReq |
|
|
|
|
if($toolsRow['image'] == 'file_html.gif' || $toolsRow['image'] == 'file_html_na.gif'){ |
|
|
|
|
$toolsRow['link'] = $toolsRow['link'].$qm_or_amp; |
|
|
|
|
} |
|
|
|
|
else{ |
|
|
|
|
$toolsRow['link'] = $toolsRow['link'].$qm_or_amp.api_get_cidreq(); |
|
|
|
|
} |
|
|
|
|
if(strpos($toolsRow['name'],'visio_')!==false){ |
|
|
|
|
echo "\t" . '   <a ' . $class . ' href="#" onclick="window.open(\'' . htmlspecialchars($toolsRow['link']) . '\',\'window_visio\',config=\'height=\'+(screen.height)+\', width=\'+(screen.width-20)+\', toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, directories=no, status=no\')" target="' . $toolsRow['target'] . '"> '; |
|
|
|
|
} |
|
|
|
|
|