Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Logeshwaran
/
mynotes
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
8
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
88068283
authored
2018-11-15 13:28:37 +0530
by
logesh
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
dev:changes in notes settings
1 parent
bbb7b480
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
amd/build/mynotesblock.js
settings.php
amd/build/mynotesblock.js
View file @
8806828
...
...
@@ -747,7 +747,7 @@ define(['jquery', 'core/yui', 'core/str', 'core/config', 'core/notification'], f
panel
=
new
M
.
core
.
dialogue
({
width
:
'300px'
,
draggable
:
fals
e
,
draggable
:
tru
e
,
modal
:
true
,
closeButton
:
true
,
headerContent
:
M
.
util
.
get_string
(
'mynotes'
,
'block_mynotes'
),
...
...
settings.php
View file @
8806828
...
...
@@ -26,14 +26,14 @@ defined('MOODLE_INTERNAL') || die;
if
(
$ADMIN
->
fulltree
)
{
$perpageoptions
=
array
();
for
(
$i
=
1
;
$i
<
3
0
;
$i
++
)
{
for
(
$i
=
1
;
$i
<
5
0
;
$i
++
)
{
$perpageoptions
[
$i
]
=
$i
;
}
$settings
->
add
(
new
admin_setting_configselect
(
'block_mynotes/mynotesperpage'
,
get_string
(
'mynotesperpage'
,
'block_mynotes'
),
get_string
(
'mynotesperpage_help'
,
'block_mynotes'
),
20
,
$perpageoptions
));
get_string
(
'mynotesperpage_help'
,
'block_mynotes'
),
48
,
$perpageoptions
));
$settings
->
add
(
new
admin_setting_configtext
(
'block_mynotes/characterlimit'
,
get_string
(
'characterlimit'
,
'block_mynotes'
),
get_string
(
'characterlimit_help'
,
'block_mynotes'
),
45
0
,
PARAM_INT
,
3
));
get_string
(
'characterlimit_help'
,
'block_mynotes'
),
50
0
,
PARAM_INT
,
3
));
$positionoptions
=
array
();
$positionoptions
[
'mynotes-pos-rb'
]
=
get_string
(
'bottomright'
,
'block_mynotes'
);
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment