| 1 |
<?php |
<?php |
| 2 |
// $Id: bookmarks2.module,v 1.12 2008/07/26 18:04:16 sanduhrs Exp $ |
// $Id: bookmarks2.module,v 1.13 2008/07/27 19:36:41 sanduhrs Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 788 |
} |
} |
| 789 |
|
|
| 790 |
if ($link_display) { |
if ($link_display) { |
| 791 |
$rows[] = array(_bookmarks2_get_link($data->url, $data->title, $data->description, $data->options, $link_display), $data->uname, $decrypted_pword, ' '. l(t('edit'), "bookmarks2/$user->uid/edit", null, 'url='. urlencode($data->url)) .' '. l(t('delete'), "bookmarks2/$user->uid/delete", null, 'url='. urlencode($data->url))); |
$rows[] = array( |
| 792 |
|
_bookmarks2_get_link($data->url, $data->title, $data->description, $data->options, $link_display), |
| 793 |
|
$data->uname, |
| 794 |
|
$decrypted_pword, |
| 795 |
|
l(t('edit'), "bookmarks2/edit", array('query' => 'url='. urlencode($data->url))), |
| 796 |
|
l(t('delete'), "bookmarks2/delete", array('query' => 'url='. urlencode($data->url))) |
| 797 |
|
); |
| 798 |
} |
} |
| 799 |
else { |
else { |
| 800 |
$rows[] = array($data->title, _bookmarks2_get_link($data->url, $data->title, $data->description, $data->options, $link_display), $data->uname, $decrypted_pword, ' '. l(t('edit'), "bookmarks2/$user->uid/edit", null, 'url='. urlencode($data->url)) .' '. l(t('delete'), "bookmarks2/$user->uid/delete", null, 'url='. urlencode($data->url))); |
$rows[] = array( |
| 801 |
|
$data->title, |
| 802 |
|
_bookmarks2_get_link($data->url, $data->title, $data->description, $data->options, $link_display), |
| 803 |
|
$data->uname, |
| 804 |
|
$decrypted_pword, |
| 805 |
|
l(t('edit'), "bookmarks2/edit", array('query' => 'url='. urlencode($data->url))), |
| 806 |
|
l(t('delete'), "bookmarks2/delete", array('query' => 'url='. urlencode($data->url))) |
| 807 |
|
); |
| 808 |
} |
} |
| 809 |
|
|
| 810 |
} |
} |