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 |
## |
## |
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 |
} |
} |