added secondary rss feed to bookmark page to test
This commit is contained in:
parent
97717684c4
commit
a32c9a1578
@ -215,7 +215,7 @@ if ($currenttag!= '') {
|
|||||||
$brss = '';
|
$brss = '';
|
||||||
$size = count($rsschannels);
|
$size = count($rsschannels);
|
||||||
for ($i = 0; $i < $size; $i++) {
|
for ($i = 0; $i < $size; $i++) {
|
||||||
$brss = '<a style="background:#FFFFFF" href="'. htmlspecialchars($rsschannels[$i][1]) . '"'
|
$brss .= '<a style="background:#FFFFFF" href="'. htmlspecialchars($rsschannels[$i][1]) . '"'
|
||||||
. ' title="' . htmlspecialchars($rsschannels[$i][0]) . '">'
|
. ' title="' . htmlspecialchars($rsschannels[$i][0]) . '">'
|
||||||
. '<img src="' . ROOT . 'images/rss.gif" width="16" height="16" alt="' . htmlspecialchars($rsschannels[$i][0]) .'"/>'
|
. '<img src="' . ROOT . 'images/rss.gif" width="16" height="16" alt="' . htmlspecialchars($rsschannels[$i][0]) .'"/>'
|
||||||
. '</a>';
|
. '</a>';
|
||||||
|
@ -6,7 +6,7 @@ require_once dirname(__FILE__) . '/../src/SemanticScuttle/header-standalone.php'
|
|||||||
|
|
||||||
$us = SemanticScuttle_Service_Factory::get('User');
|
$us = SemanticScuttle_Service_Factory::get('User');
|
||||||
//$uid = $us->addUser('dummy', 'dummy', 'dummy@example.org');
|
//$uid = $us->addUser('dummy', 'dummy', 'dummy@example.org');
|
||||||
$uid = $us->getUserByUserName('mpemberton5');
|
$uid = $us->getUserByUserName('user123');
|
||||||
|
|
||||||
$bs = SemanticScuttle_Service_Factory::get('Bookmark');
|
$bs = SemanticScuttle_Service_Factory::get('Bookmark');
|
||||||
for ($nA = 0; $nA < 10000; $nA++) {
|
for ($nA = 0; $nA < 10000; $nA++) {
|
||||||
|
@ -256,6 +256,10 @@ if ($templatename == 'editbookmark.tpl') {
|
|||||||
array(
|
array(
|
||||||
filter($sitename .': '. $pagetitle),
|
filter($sitename .': '. $pagetitle),
|
||||||
createURL('rss', filter($user, 'url') . $rssCat.'?sort='.getSortOrder())
|
createURL('rss', filter($user, 'url') . $rssCat.'?sort='.getSortOrder())
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
filter($sitename .': (private) '. $pagetitle),
|
||||||
|
createURL('rss', filter($user, 'url') . $rssCat.'?sort='.getSortOrder().'&privatekey='.$currentUser->getPrivateKey())
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user