';
/*
*Add the like markup to PmWiki markup dictionary.
*/
Markup('fblike', 'directives', '/\\(:fblike(.*?):\\)/e', 'DspFBLike("$pagename", "$1")');
/**
* Create a fbxml's "like" tag from wiki directive
*
* Empty tag creates "like"-tag for this page
*
* name=pagename creates "like"-tag for wikipage [group(.|/)]title
*/
function DspFBLike($pn, $opts) {
global $ScriptUrl;
$args = ParseArgs($opts);
if (empty($args['name'])){
//no group or page title given -> generate default tag
return '