Permalink
Browse files

fixed the rest of the pagination

  • Loading branch information...
caseysoftware committed Nov 22, 2017
1 parent dadfd1b commit 702e810e0b8e4a1f2c9a28313d9981341b01e671
@@ -3,13 +3,15 @@
die('You should not access this file directly.');
}
global $AppUI, $project_id, $deny, $canRead, $canEdit, $w2Pconfig, $showCompany;
global $AppUI, $m, $project_id, $deny, $canRead, $canEdit, $w2Pconfig, $showCompany;
$showCompany = false;
if (canView('notebook')) {
if (canEdit('notebook')) {
echo '<a href="./index.php?m=notebook&a=addedit&project_id=' . $project_id . '">' . $AppUI->_('Add Note') . '</a>';
echo w2PshowImage('stock_attach-16.png', 16, 16, '', '', $m);
}
$m = 'projects&a=view&project_id=' . $project_id; // override to correct pagination issue
include (W2P_BASE_DIR . '/modules/notebook/index_table.php');
}
@@ -11,5 +11,7 @@
echo w2PshowImage('stock_attach-16.png', 16, 16, '', '', $m);
}
$project_id = $obj->task_project;
$m = 'tasks&a=view&task_id=' . $task_id; // override to correct pagination issue
include (W2P_BASE_DIR . '/modules/notebook/index_table.php');
}
@@ -11,5 +11,7 @@
echo w2PshowImage('stock_attach-16.png', 16, 16, '', '', $m);
}
$company_id = 0;
$m = 'users&a=view&user_id' . $user_id; // override to correct pagination issue
include (W2P_BASE_DIR . '/modules/notebook/index_table.php');
}

0 comments on commit 702e810

Please sign in to comment.