function SB_Writer_xbel_mozilla() { parent::__construct(); $this->metaAttr = array('owner' => 'Mozilla'); $db =& SB_Database::staticInstance(); $special = array('is_toolbar' => 'BookmarksToolbarFolder', 'is_unfiled' => 'UnfiledBookmarksFolder'); foreach ($special as $attr => $label) { $id = $db->getUserData('special', $this->um->uid, $attr); if ($id) { $this->metaAttr[$label] = 'n' . $id; } } }
function SB_Writer_xbel_std() { parent::__construct(); }
function getMetaDataAtt() { $att = parent::getMetaDataAtt(); $att['style'] = $this->getSkinsPath('directory.css'); $att['curdate'] = date('Y-m-d\\TH:i:s'); $att['imgnode'] = $this->getSkinsPath('node.png'); $att['imgnodeopen'] = $this->getSkinsPath('node_open.png'); $att['imglink'] = $this->getSkinsPath('link.png'); return $att; }