Posted on: 03/28/05 01:20pm
By: knuff
// Determine which Core Modules and Plugins support AutoLinks // 'tag' => 'module' // // Hack - Autotag Links - Part 1 // Added standard Geeklog Links. $autolinkModules = array ('story' => 'geeklog', 'event' => 'geeklog', 'link' => 'geeklog' );
} else if ($autotag['tag'] == 'event') { $autotag['parm1'] = COM_applyFilter ($autotag['parm1']); $url = $_CONF['site_url'] . '/calendar_event.php?eid=' . $autotag['parm1']; if (empty ($linktext)) { $linktext = stripslashes (DB_getItem ($_TABLES['events'], 'title', "eid = '{$autotag['parm1']}'")); } } // // Added GL Links - Part 2 // else if ($autotag['tag'] == 'link') { $autotag['parm1'] = COM_applyFilter ($autotag['parm1']); $url = $_CONF['site_url'] . '/portal.php/link/' . $autotag['parm1']; if (empty ($linktext)) { $linktext = stripslashes (DB_getItem ($_TABLES['links'], 'title', "lid = '{$autotag['parm1']}'")); } } // // End Links //
Posted on: 11/18/05 09:15am
By: beewee
Posted on: 11/18/05 01:39pm
By: Dirk