示例#1
0
 function load()
 {
     SB_WriterInterface::load();
     $this->wantLoad = false;
     $newroot = new SB_Tree_Node(array());
     $this->addSorted($newroot, 'hits');
     $this->addSorted($newroot, 'visited');
     $this->addSorted($newroot, 'added');
     $this->addSorted($newroot, 'changed');
     $this->root = $newroot;
 }
示例#2
0
 function fatal($msg, $arg = null)
 {
     die("**05" . parent::fatal($msg, $arg) . "\r");
 }
 function SB_Writer_sitebar_plain()
 {
     parent::__construct();
     $this->switches['hits'] = false;
 }
示例#4
0
 function SB_Writer_opera()
 {
     parent::__construct();
 }
示例#5
0
 function drawChildren(&$node)
 {
     if ($this->switches['flat']) {
         echo '<div class="root tree">' . "\r";
     }
     $ret = parent::drawChildren($node);
     if ($this->switches['flat']) {
         echo "</div>\r";
     }
     return $ret;
 }
示例#6
0
 function SB_Writer_netscape()
 {
     parent::__construct();
 }
示例#7
0
 function commandExportBookmarksSettings()
 {
     $checks = array('allow_anonymous_export');
     foreach ($checks as $check) {
         $this->um->setParam('config', $check, SB_reqVal($check));
     }
     require_once './inc/writer.inc.php';
     foreach (SB_WriterInterface::settingItems() as $name) {
         $this->um->setParamB64('config', $name, SB_reqVal($name));
     }
     $this->um->saveConfiguration();
     $this->forwardCommand('SiteBar Settings');
 }
示例#8
0
 function SB_Writer_blogroll()
 {
     parent::__construct();
     $this->switches['flat'] = true;
 }
示例#9
0
 function SB_Writer_phplm()
 {
     parent::__construct();
 }