Linked, which * contains the "linked" value. * * This also allows multiple values, separated by commas. * * This requires 2.2-beta64 or later. * * To activate this script, copy it into the cookbook/ directory, then add * the following line to your local/config.php: * * include_once("$FarmD/cookbook/multicat.php"); * * File modified by Petko Yotov to work with PHP 5.5 */ $RecipeInfo['Tagger']['Version'] = '20140515'; SDVA($TaggerGroups, array()); SDV($TaggerTagSeparators, array(',','/','&')); /*====================================================================== * Tagger */ // set up multiple category groups function TaggerSetup () { global $TaggerGroups; global $FmtPV; if ($TaggerGroups) { foreach ($TaggerGroups as $tagname => $catgroup) { $FmtPV['$' . $tagname . 'Linked'] = "TaggerLinksVar(\$pn, '$tagname', '$catgroup', 'LinkedTitle')"; $FmtPV['$' . $tagname . 'LinkedName'] = "TaggerLinksVar(\$pn, '$tagname', '$catgroup', 'LinkedName')"; $FmtPV['$' . $tagname . 'Name'] = "TaggerLinksVar(\$pn, '$tagname', '$catgroup', 'Name')"; } // markup to insert the links $tags = array_keys($TaggerGroups); $tagpat = implode('|', $tags); if(function_exists('Markup_e')) { # added by Petko Yotov Markup_e("tagger", '