Minor refactoring
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@170 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
5db18a09c4
commit
9d22fdc36f
3 changed files with 71 additions and 70 deletions
|
@ -68,13 +68,14 @@ $dtend = date('Y-m-d H:i:s', strtotime('tomorrow'));
|
|||
$tplVars['page'] = $page;
|
||||
$tplVars['start'] = $start;
|
||||
$tplVars['popCount'] = 30;
|
||||
//$tplVars['sidebar_blocks'] = array('search', 'users', 'linked', 'recent');
|
||||
$tplVars['sidebar_blocks'] = $GLOBALS["index_sidebar_blocks"];
|
||||
$tplVars['range'] = 'all';
|
||||
$tplVars['pagetitle'] = T_('Store, share and tag your favourite links');
|
||||
$tplVars['subtitle'] = T_('All Bookmarks');
|
||||
$tplVars['bookmarkCount'] = $start + 1;
|
||||
|
||||
$bookmarks =& $bookmarkservice->getBookmarks($start, $perpage, NULL, NULL, NULL, getSortOrder(), NULL, 0, $dtend);
|
||||
|
||||
$tplVars['total'] = $bookmarks['total'];
|
||||
$tplVars['bookmarks'] =& $bookmarks['bookmarks'];
|
||||
$tplVars['cat_url'] = createURL('bookmarks', '%1$s/%2$s');
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
/* Build services */
|
||||
/* Connect to the database and build services */
|
||||
|
||||
class ServiceFactory {
|
||||
function ServiceFactory(&$db, $serviceoverrules = array()) {
|
||||
|
|
Loading…
Reference in a new issue