Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
0b332a4b
Commit
0b332a4b
authored
Jun 04, 2009
by
Nigel McNie
Browse files
Make index.js.php respect ArtefactTypeBlog::pagination
parent
9ed45f15
Changes
1
Show whitespace changes
Inline
Side-by-side
htdocs/artefact/blog/view/index.js.php
View file @
0b332a4b
...
...
@@ -46,6 +46,8 @@ $enc_cannotdeleteblogpost = json_encode(get_string('cannotdeleteblogpost', 'arte
$enc_publish_help
=
json_encode
(
get_help_icon
(
'artefact'
,
'blog'
,
null
,
null
,
null
,
'publish'
));
$limit
=
ArtefactTypeBlog
::
pagination
;
return
<<<EOJAVASCRIPT
var postlist = new TableRenderer(
...
...
@@ -53,7 +55,7 @@ var postlist = new TableRenderer(
'index.json.php',
[undefined, undefined, undefined]
);
postlist.limit =
10
;
postlist.limit =
$limit
;
postlist.rowfunction = function(d, n, gd) {
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment