* Name: Forum Directory
* Description: Add a directory of forums hosted on your server, with verbose descriptions.
* Version: 1.0
-* Author: Thomas Willingham <https://kakste.com/profile/beardyunixer>
+* Author: Thomas Willingham <https://beardyunixer.com/profile/beardyunixer>
*/
function forumdirectory_install() {
$arr = array('contact' => $rr, 'entry' => $entry);
- call_hooks('directory_item', $arr);
-
unset($profile);
unset($location);
$a->page['htmlhead'] .= <<< EOS
<script>
$(function(){
- $('a[href*="/viewsrc/"]').fancybox();
+ $('a[href*="/viewsrc/"]').each(function() {
+ $(this).colorbox($(this).attr('href'));
+ });
});
</script>
EOS;