Home
News
Forum
Wiki
Blog
Contents
Gallery
Movies
Downloads
About NSL
[
List of Titles
|
List of Pages
|
New
|
Search
|
Recent changes
|
Help
]
Moodle/Hacking/2.x
[
Front page
]
[ ]
Start:
** Moodle-2.x Hacking
*** 申し訳ございません、セキュリティ上の理由から、httpsア...
- メッセージの変数は sslonlyaccess
- lib/setuplib.php の print_error('sslonlyaccess', 'error...
#br
*** IP アドレスの逆引き
- Moodle搭載の Geo City の GeoIP は動かないし,動いても情...
- moodle/iplookup/index.php の IP アドレスチェック後に,N...
$url = 'http://whois.nic.ad.jp/cgi-bin/whois_gw?type=NET...
redirect($url);
*** 日付
- 2.x で print_time_selector() は非推奨となった (おまけに...
function print_time_selector($hour, $minute, $currenttim...
debugging('print_time_selector() has been deprecated....
$hourselector = html_writer::select_time('hours', $ho...
$minuteselector = html_writer::select_time('minutes',...
$output = $hourselector . $minuteselector;
if ($return) {
return $output;
} else {
echo $output;
}
}
- 置き換え関数の html_writer::select_time() もバグっとる ...
- moodle/lib/outputcomponents.php
- ただし,これでも 時刻が 0 (日本時間 AM9:00) の場合は...
case 'hours':
for ($i=0; $i<=23; $i++) {
$strno = sprintf("%02d",$i);
$timeunits[$strno] = $strno;
//$timeunits[$i] = sprintf("%02d",$i);
}
break;
case 'minutes':
if ($step != 1) {
$currentdate['minutes'] = ceil($currentdate['min...
}
for ($i=0; $i<=59; $i+=$step) {
$strno = sprintf("%02d",$i);
$timeunits[$strno] = $strno;
//$timeunits[$i] = sprintf("%02d",$i);
}
End:
** Moodle-2.x Hacking
*** 申し訳ございません、セキュリティ上の理由から、httpsア...
- メッセージの変数は sslonlyaccess
- lib/setuplib.php の print_error('sslonlyaccess', 'error...
#br
*** IP アドレスの逆引き
- Moodle搭載の Geo City の GeoIP は動かないし,動いても情...
- moodle/iplookup/index.php の IP アドレスチェック後に,N...
$url = 'http://whois.nic.ad.jp/cgi-bin/whois_gw?type=NET...
redirect($url);
*** 日付
- 2.x で print_time_selector() は非推奨となった (おまけに...
function print_time_selector($hour, $minute, $currenttim...
debugging('print_time_selector() has been deprecated....
$hourselector = html_writer::select_time('hours', $ho...
$minuteselector = html_writer::select_time('minutes',...
$output = $hourselector . $minuteselector;
if ($return) {
return $output;
} else {
echo $output;
}
}
- 置き換え関数の html_writer::select_time() もバグっとる ...
- moodle/lib/outputcomponents.php
- ただし,これでも 時刻が 0 (日本時間 AM9:00) の場合は...
case 'hours':
for ($i=0; $i<=23; $i++) {
$strno = sprintf("%02d",$i);
$timeunits[$strno] = $strno;
//$timeunits[$i] = sprintf("%02d",$i);
}
break;
case 'minutes':
if ($step != 1) {
$currentdate['minutes'] = ceil($currentdate['min...
}
for ($i=0; $i<=59; $i+=$step) {
$strno = sprintf("%02d",$i);
$timeunits[$strno] = $strno;
//$timeunits[$i] = sprintf("%02d",$i);
}
Page:
Site Search
Advanced Search
Login
Username:
Password:
Lost Password?
Register now!!
Sub Menu
New Arrivals
Books
Web Links
Site Map
e-Learning
TUIS Certificate
mini Calendar
May 2025
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Today
Who's Online
92 user(s) are online (3 user(s) are browsing xpwiki)
Members: 0
Guests: 92
more...
Access Counter
Today :
Yesterday :
Total :
Powered by XOOPS Cube 2.1© 2001-2006
XOOPS Cube Project
Design by
XoopsDesign.com