Exemple #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;
 }
 function fatal($msg, $arg = null)
 {
     die("**05" . parent::fatal($msg, $arg) . "\r");
 }
 function SB_Writer_sitebar_plain()
 {
     parent::__construct();
     $this->switches['hits'] = false;
 }
Exemple #4
0
 function SB_Writer_opera()
 {
     parent::__construct();
 }
Exemple #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;
 }
 function SB_Writer_netscape()
 {
     parent::__construct();
 }
Exemple #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');
 }
 function SB_Writer_blogroll()
 {
     parent::__construct();
     $this->switches['flat'] = true;
 }
Exemple #9
0
 function SB_Writer_phplm()
 {
     parent::__construct();
 }