/[cvs]/nfo/php/libs/org.netfrag.app/WebExplorer/Module/NavigationList.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.app/WebExplorer/Module/NavigationList.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by joko, Sun Apr 6 04:26:43 2003 UTC revision 1.6 by joko, Tue Apr 8 22:40:06 2003 UTC
# Line 4  Line 4 
4  ##    $Id$  ##    $Id$
5  ##    -----------------------------------------------------------------------------  ##    -----------------------------------------------------------------------------
6  ##    $Log$  ##    $Log$
7    ##    Revision 1.6  2003/04/08 22:40:06  joko
8    ##    renamed / revamped shortcut to LinkBuilder (now via url::short)
9    ##
10  ##    Revision 1.5  2003/04/06 04:26:43  joko  ##    Revision 1.5  2003/04/06 04:26:43  joko
11  ##    shortcut for LinkBuilder  ##    shortcut for LinkBuilder
12  ##  ##
# Line 43  class WebExplorer_Module_NavigationList Line 46  class WebExplorer_Module_NavigationList
46    
47        // V3: use LinkBuilder to save vars at session and get unique id instead        // V3: use LinkBuilder to save vars at session and get unique id instead
48        $link_vars['ecdid'] = $value;        $link_vars['ecdid'] = $value;
49        $link_guid = link::store($link_vars);        
50        $url = $_SERVER['PHP_SELF'] . "?lbid=" . $link_guid;        // encoded links: shorter and more cryptic   ;-)
51          // V1
52          //$link_guid = link::store($link_vars);
53          //$url = $_SERVER['PHP_SELF'] . "?lbid=" . $link_guid;
54    
55          // V2
56          $url = url::short(null, $link_vars);
57    
58        $this->nav->add($url, $value, $alt_caption);        $this->nav->add($url, $value, $alt_caption);
59      }      }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed