2009-06-25 02:57:46 +00:00
|
|
|
var timefromitems = ['fromday','frommonth','fromyear','fromhour', 'fromminute'];
|
|
|
|
var timetoitems = ['today','tomonth','toyear','tohour','tominute'];
|
|
|
|
|
2009-06-23 03:16:16 +00:00
|
|
|
function forum_produce_subscribe_link(forumid, backtoindex, ltext, ltitle) {
|
|
|
|
var elementid = "subscriptionlink";
|
|
|
|
var subs_link = document.getElementById(elementid);
|
|
|
|
if(subs_link){
|
|
|
|
subs_link.innerHTML = "<a title="+ltitle+" href='"+moodle_cfg.wwwroot+"/mod/forum/subscribe.php?id="+forumid+backtoindex+"'>"+ltext+"<\/a>";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function forum_produce_tracking_link(forumid, ltext, ltitle) {
|
|
|
|
var elementid = "trackinglink";
|
|
|
|
var subs_link = document.getElementById(elementid);
|
|
|
|
if(subs_link){
|
|
|
|
subs_link.innerHTML = "<a title="+ltitle+" href='"+moodle_cfg.wwwroot+"/mod/forum/settracking.php?id="+forumid+"'>"+ltext+"<\/a>";
|
|
|
|
}
|
|
|
|
}
|