<!DOCTYPEhtmlPUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
htmlxmlns=" dir="ltr" lang="en" xml:lang="en">
head
metahttp-equiv="Content-Type" content="text/html; charset=utf-8" />
linkrel="stylesheet" type="text/css" href=" />
linkrel="stylesheet" type="text/css" href=" />
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href=" />
<![endif]-->
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href=" />
<![endif]-->
metahttp-equiv="pragma" content="no-cache" />
metahttp-equiv="expires" content="0" /> metaname="keywords" content="moodle, GL-Badiner: Editing Resource " />
titleGL-Badiner: Editing Resource</title
linkrel="shortcut icon" href=" />
<!--<style type="text/css">/*<![CDATA[*/ body{behavior:url( /*]]>*/</style>-->
scripttype="text/javascript" src="
scripttype="text/javascript" src="
scripttype="text/javascript" src="
scripttype="text/javascript" src="
scripttype="text/javascript" src="
scripttype="text/javascript" src="
scripttype="text/javascript" src="
scripttype="text/javascript" defer="defer">
//<![CDATA[
setTimeout('fix_column_widths()', 20);
//]]>
</script
scripttype="text/javascript">
//<![CDATA[
function openpopup(url, name, options, fullscreen) {
var fullurl = " + url;
var windowobj = window.open(fullurl, name, options);
if (!windowobj) {
return true;
}
if (fullscreen) {
windowobj.moveTo(0, 0);
windowobj.resizeTo(screen.availWidth, screen.availHeight);
}
windowobj.focus();
return false;
}
function uncheckall() {
var inputs = document.getElementsByTagName('input');
for(var i = 0; i < inputs.length; i++) {
inputs[i].checked = false;
}
}
function checkall() {
var inputs = document.getElementsByTagName('input');
for(var i = 0; i < inputs.length; i++) {
inputs[i].checked = true;
}
}
function inserttext(text) {
text = ' ' + text + ' ';
if ( opener.document.forms['theform'].message.createTextRange & opener.document.forms['theform'].message.caretPos) {
var caretPos = opener.document.forms['theform'].message.caretPos;
caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
} else {
opener.document.forms['theform'].message.value += text;
}
opener.document.forms['theform'].message.focus();
}
addonload(function() { if(document.forms['mform1']) document.forms['mform1'].elements['name'].focus(); });
function getElementsByClassName(oElm, strTagName, oClassNames){
var arrElements = (strTagName == "*" & oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName);
var arrReturnElements = new Array();
var arrRegExpClassNames = new Array();
if(typeof oClassNames == "object"){
for(var i=0; i<oClassNames.length; i++){
arrRegExpClassNames.push(new RegExp("(^|\\s)" + oClassNames[i].replace(/\-/g, "\\-") + "(\\s|$)"));
}
}
else{
arrRegExpClassNames.push(new RegExp("(^|\\s)" + oClassNames.replace(/\-/g, "\\-") + "(\\s|$)"));
}
var oElement;
var bMatchesAll;
for(var j=0; j<arrElements.length; j++){
oElement = arrElements[j];
bMatchesAll = true;
for(var k=0; k<arrRegExpClassNames.length; k++){
if(!arrRegExpClassNames[k].test(oElement.className)){
bMatchesAll = false;
break;
}
}
if(bMatchesAll){
arrReturnElements.push(oElement);
}
}
return (arrReturnElements)
}
//]]>
</script
</head
body class="mod-resource course-162 editing dir-ltr lang-en_utf8" id="mod-resource-html">
divid="page">
divid="header" class=" clearfix"> h1class="headermain">503's Moodle </h1
divclass="headermenu"<divclass="logininfo">You are logged in as a href=" Badiner</a (a href="
</div divclass="clearer" </div
divclass="navbar clearfix">
divclass="breadcrumb"<h2class="accesshide " >You are here</h2ul
liclass="first"<aonclick="this.target='_top'" href=" Moodle</a</liliclass="first">spanclass="accesshide " >/ </spanspanclass="arrow sep"►</spanaonclick="this.target='_top'" href=" " >/ </spanspanclass="arrow sep"►</spanaonclick="this.target='_top'" href=" " >/ </spanspanclass="arrow sep"►</span Editing Resource</li</ul</div
divclass="navbutton" </div
</div
divclass="clearer" </div
<!-- END OF HEADER -->
divid="content"<h2class="main help"<imgsrc=" alt=""/>Adding a new Resourcespanclass="helplink"<atitle="Help with Adding a new Resource (new window)" href=" onclick="this.target='popup'; return openpopup('/help.php?module=resource&file=mods.html&forcelang=', 'popup', 'menubar=0,location=0,scrollbars,resizable,width=500,height=400', 0);"<imgclass="iconhelp" alt="Help with Adding a new Resource (new window)" src=" /</a</span</h2scripttype="text/javascript" src="
scripttype="text/javascript" src="
scripttype="text/javascript">
//<![CDATA[
var skipClientValidation = false;
function qf_errorHandler(element, _qfMsg) {
div = element.parentNode;
if (_qfMsg != '') {
var errorSpan = document.getElementById('id_error_'+element.name);
if (!errorSpan) {
errorSpan = document.createElement("span");
errorSpan.id = 'id_error_'+element.name;
errorSpan.className = "error";
element.parentNode.insertBefore(errorSpan, element.parentNode.firstChild);
}
while (errorSpan.firstChild) {
errorSpan.removeChild(errorSpan.firstChild);
}
errorSpan.appendChild(document.createTextNode(_qfMsg.substring(3)));
errorSpan.appendChild(document.createElement("br"));
if (div.className.substr(div.className.length - 6, 6) != " error"
& div.className != "error") {
div.className += " error";
}
return false;
} else {
var errorSpan = document.getElementById('id_error_'+element.name);
if (errorSpan) {
errorSpan.parentNode.removeChild(errorSpan);
}
if (div.className.substr(div.className.length - 6, 6) == " error") {
div.className = div.className.substr(0, div.className.length - 6);
} elseif (div.className == "error") {
div.className = "";
}
return true;
}
}
function validate_mod_resource_mod_form_name(element) {
var value = '';
var errFlag = new Array();
var _qfGroups = {};
var _qfMsg = '';
var frm = element.parentNode;
while (frm & frm.nodeName.toUpperCase() != "FORM") {
frm = frm.parentNode;
}
value = frm.elements['name'].value;
if (value == '' & !errFlag['name']) {
errFlag['name'] = true;
_qfMsg = _qfMsg + '\n - You must supply a value here.';
}
return qf_errorHandler(element, _qfMsg);
}
function validate_mod_resource_mod_form_alltext(element) {
var value = '';
var errFlag = new Array();
var _qfGroups = {};
var _qfMsg = '';
var frm = element.parentNode;
while (frm & frm.nodeName.toUpperCase() != "FORM") {
frm = frm.parentNode;
}
value = frm.elements['alltext'].value;
if (value == '' & !errFlag['alltext']) {
errFlag['alltext'] = true;
_qfMsg = _qfMsg + '\n - Required';
}
return qf_errorHandler(element, _qfMsg);
}
function validate_mod_resource_mod_form(frm) {
if (skipClientValidation) {
return true;
}
var ret = true;
var frm = document.getElementById('mform1')
var first_focus = false;
ret = validate_mod_resource_mod_form_name(frm.elements['name']) & ret;
if (!ret & !first_focus) {
first_focus = true;
frm.elements['name'].focus();
}
ret = validate_mod_resource_mod_form_alltext(frm.elements['alltext']) & ret;
if (!ret & !first_focus) {
first_focus = true;
frm.elements['alltext'].focus();
}
;
return ret;
}
//]]>
</script
formaction="modedit.php" method="post" accept-charset="utf-8" id="mform1" class="mform" onsubmit="try { var myValidator = validate_mod_resource_mod_form; } catch(e) { return true; } return myValidator(this);">
divstyle="display: none;"<inputname="MAX_FILE_SIZE" type="hidden" value="52428800" />
inputname="type" type="hidden" value="html" />
inputname="mform_showadvanced_last" type="hidden" value="1" />
inputname="course" type="hidden" value="162" />
inputname="coursemodule" type="hidden" value="" />
inputname="section" type="hidden" value="0" />
inputname="module" type="hidden" value="11" />
inputname="modulename" type="hidden" value="resource" />
inputname="instance" type="hidden" value="" />
inputname="add" type="hidden" value="resource" />
inputname="update" type="hidden" value="0" />
inputname="return" type="hidden" value="0" />
inputname="sesskey" type="hidden" value="aldj6MOjwM" />
inputname="_qf__mod_resource_mod_form" type="hidden" value="1" />
</div
fieldsetclass="clearfix" id="general">
legendclass="ftoggler">General</legend
divclass="advancedbutton"</divdivclass="fcontainer clearfix">
divclass="fitem required"<divclass="fitemtitle"<labelfor="id_name">Nameimgclass="req" title="Required field" alt="Required field" src=" /</label</divdivclass="felement ftext"<inputsize="48" name="name" type="text" onblur="validate_mod_resource_mod_form_name(this)" onchange="validate_mod_resource_mod_form_name(this)" id="id_name" /</div</div
divclass="fitem"<divclass="fitemtitle"<labelfor="id_summary">Summary spanclass="helplink"<atitle="Help with Summary (new window)" href=" onclick="this.target='popup'; return openpopup('/help.php?module=resource&file=summary.html&forcelang=', 'popup', 'menubar=0,location=0,scrollbars,resizable,width=500,height=400', 0);"<imgclass="iconhelp" alt="Help with Summary (new window)" src=" /</a</span </label</divdivclass="felement fhtmleditor"<scripttype="text/javascript" src="
scripttype="text/javascript" src="
textareaclass="form-textarea" id="id_summary" name="summary" rows="10" cols="45"</textarea
scripttype="text/javascript">
//<![CDATA[
document.write('<span class=\"helplink\"<a title=\"Help with Editor shortcut keys (new window)\" href=\" onclick=\"this.target=\'popup\'; return openpopup(\'/help.php?module=moodle&file=editorshortcuts.html&forcelang=\', \'popup\', \'menubar=0,location=0,scrollbars,resizable,width=500,height=400\', 0);\"<img src=\" alt=\"Editor shortcut keys\" class=\"iconkbhelp\" /<\/a<\/span>');
//]]>
</script
scripttype="text/javascript" defer="defer">
//<![CDATA[
editor_a80da1282f2c775bbc5f2c92c836968b = new HTMLArea('id_summary');
var config = editor_a80da1282f2c775bbc5f2c92c836968b.config;
config.pageStyle = "body { background-color: #ffffff; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 10; }";
config.killWordOnPaste = true;
config.fontname = {
"Trebuchet":'Trebuchet MS,Verdana,Arial,Helvetica,sans-serif',
"Arial":'arial,helvetica,sans-serif',
"Courier New":'courier new,courier,monospace',
"Georgia":'georgia,times new roman,times,serif',
"Tahoma":'tahoma,arial,helvetica,sans-serif',
"Times New Roman":'times new roman,times,serif',
"Verdana":'verdana,arial,helvetica,sans-serif',
"Impact":'impact',
"Wingdings":'wingdings',
"Comic Sans":'comic sans'};
config.hideSomeButtons(" lefttoright righttoleft outdent indent createanchor insertsmile insertchar htmlmode popupeditor search_replace ");
editor_a80da1282f2c775bbc5f2c92c836968b.generate();
//]]>
</script
</div</div
</div</fieldset
fieldsetclass="clearfix" id="typedesc">
legendclass="ftoggler">Compose a web page</legend
divclass="advancedbutton"</divdivclass="fcontainer clearfix">
divclass="fitem required"<divclass="fitemtitle"<labelfor="id_alltext">Full textimgclass="req" title="Required field" alt="Required field" src=" />atitle="Read carefully, Write carefully and About the HTML editor" href=" onclick="this.target='popup'; return openpopup('/lib/form/editorhelp.php?button1=reading&button2=writing&button3=richtext', 'popup', 'menubar=0,location=0,scrollbars,resizable,width=500,height=400', 0);"<imgalt="Read carefully, Write carefully and About the HTML editor" class="iconhelp" src=" /</a </label</divdivclass="felement fhtmleditor"<textareaclass="form-textarea" id="id_alltext" name="alltext" rows="30" cols="85"</textarea
scripttype="text/javascript">
//<![CDATA[
document.write('<span class=\"helplink\"<a title=\"Help with Editor shortcut keys (new window)\" href=\" onclick=\"this.target=\'popup\'; return openpopup(\'/help.php?module=moodle&file=editorshortcuts.html&forcelang=\', \'popup\', \'menubar=0,location=0,scrollbars,resizable,width=500,height=400\', 0);\"<img src=\" alt=\"Editor shortcut keys\" class=\"iconkbhelp\" /<\/a<\/span>');
//]]>
</script
scripttype="text/javascript" defer="defer">
//<![CDATA[
editor_9b0760a3ddf20f2d664ac83f9a41b698 = new HTMLArea('id_alltext');
var config = editor_9b0760a3ddf20f2d664ac83f9a41b698.config;
config.pageStyle = "body { background-color: #ffffff; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 10; }";
config.killWordOnPaste = true;
config.fontname = {
"Trebuchet":'Trebuchet MS,Verdana,Arial,Helvetica,sans-serif',
"Arial":'arial,helvetica,sans-serif',
"Courier New":'courier new,courier,monospace',
"Georgia":'georgia,times new roman,times,serif',
"Tahoma":'tahoma,arial,helvetica,sans-serif',
"Times New Roman":'times new roman,times,serif',
"Verdana":'verdana,arial,helvetica,sans-serif',
"Impact":'impact',
"Wingdings":'wingdings',
"Comic Sans":'comic sans'};
config.hideSomeButtons(" lefttoright righttoleft outdent indent createanchor insertsmile insertchar htmlmode popupeditor search_replace ");
editor_9b0760a3ddf20f2d664ac83f9a41b698.generate();
//]]>
</script
</div</div
</div</fieldset
fieldsetclass="clearfix" id="displaysettings">
legendclass="ftoggler">Window</legend
divclass="advancedbutton"<imgclass="adv" title="Advanced element" alt="Advanced element" src=" /<scriptid="displaysettings_script" type="text/javascript">
showAdvancedInit('displaysettings_script', 'mform_showadvanced', 'Hide Advanced', 'Hide Advanced', 'Show Advanced');
</scriptnoscriptdivstyle="display:inline"<inputname="mform_showadvanced" value="Hide Advanced" type="submit" /</div</noscript</divdivclass="fcontainer clearfix">
divclass="fitem"<divclass="fitemtitle"<labelfor="id_windowpopup">Window </label</divdivclass="felement fselect"<selectname="windowpopup" id="id_windowpopup">
optionvalue="0" selected="selected">Same window</option
optionvalue="1">New window</option
</select</div</div
divclass="fitem advanced"<divclass="fitemtitle"<labelfor="id_abeb65">Show the course blocksimgclass="adv" title="Advanced element" alt="Advanced element" src=" /</label</divdivclass="felement fcheckbox"<spaninputname="blockdisplay" type="checkbox" value="1" id="id_abeb65" /</span</div</div
divclass="fitem advanced"<divclass="fitemtitle"<labelfor="id_27c52b">Allow the window to be resizedimgclass="adv" title="Advanced element" alt="Advanced element" src=" /</label</divdivclass="felement fcheckbox"<spaninputname="resizable" type="checkbox" value="1" id="id_27c52b" checked="checked" /</span</div</div
divclass="fitem advanced"<divclass="fitemtitle"<labelfor="id_a79dfd">Allow the window to be scrolledimgclass="adv" title="Advanced element" alt="Advanced element" src=" /</label</divdivclass="felement fcheckbox"<spaninputname="scrollbars" type="checkbox" value="1" id="id_a79dfd" checked="checked" /</span</div</div
divclass="fitem advanced"<divclass="fitemtitle"<labelfor="id_c44797">Show the directory linksimgclass="adv" title="Advanced element" alt="Advanced element" src=" /</label</divdivclass="felement fcheckbox"<spaninputname="directories" type="checkbox" value="1" id="id_c44797" checked="checked" /</span</div</div
divclass="fitem advanced"<divclass="fitemtitle"<labelfor="id_38080f">Show the location barimgclass="adv" title="Advanced element" alt="Advanced element" src=" /</label</divdivclass="felement fcheckbox"<spaninputname="location" type="checkbox" value="1" id="id_38080f" checked="checked" /</span</div</div
divclass="fitem advanced"<divclass="fitemtitle"<labelfor="id_a125ab">Show the menu barimgclass="adv" title="Advanced element" alt="Advanced element" src=" /</label</divdivclass="felement fcheckbox"<spaninputname="menubar" type="checkbox" value="1" id="id_a125ab" checked="checked" /</span</div</div
divclass="fitem advanced"<divclass="fitemtitle"<labelfor="id_0efbb2">Show the toolbarimgclass="adv" title="Advanced element" alt="Advanced element" src=" /</label</divdivclass="felement fcheckbox"<spaninputname="toolbar" type="checkbox" value="1" id="id_0efbb2" checked="checked" /</span</div</div
divclass="fitem advanced"<divclass="fitemtitle"<labelfor="id_b50532">Show the status barimgclass="adv" title="Advanced element" alt="Advanced element" src=" /</label</divdivclass="felement fcheckbox"<spaninputname="status" type="checkbox" value="1" id="id_b50532" checked="checked" /</span</div</div
divclass="fitem advanced"<divclass="fitemtitle"<labelfor="id_width">Default window width (in pixels)imgclass="adv" title="Advanced element" alt="Advanced element" src=" /</label</divdivclass="felement ftext"<inputsize="4" name="width" type="text" value="620" id="id_width" /</div</div
divclass="fitem advanced"<divclass="fitemtitle"<labelfor="id_height">Default window height (in pixels)imgclass="adv" title="Advanced element" alt="Advanced element" src=" /</label</divdivclass="felement ftext"<inputsize="4" name="height" type="text" value="450" id="id_height" /</div</div
</div</fieldset
fieldsetclass="clearfix" id="modstandardelshdr">
legendclass="ftoggler">Common module settings</legend
divclass="advancedbutton"</divdivclass="fcontainer clearfix">
divclass="fitem"<divclass="fitemtitle"<labelfor="id_visible">Visible </label</divdivclass="felement fmodvisible"<selectname="visible" id="id_visible">
optionvalue="1" selected="selected">Show</option
optionvalue="0">Hide</option
</select</div</div
divclass="fitem"<divclass="fitemtitle"<labelfor="id_cmidnumber">ID number spanclass="helplink"<atitle="Help with ID number (new window)" href=" onclick="this.target='popup'; return openpopup('/help.php?module=moodle&file=cmidnumber.html&forcelang=', 'popup', 'menubar=0,location=0,scrollbars,resizable,width=500,height=400', 0);"<imgclass="iconhelp" alt="Help with ID number (new window)" src=" /</a</span </label</divdivclass="felement ftext"<inputname="cmidnumber" type="text" id="id_cmidnumber" /</div</div
</div</fieldset
fieldsetclass="hidden"<div
divclass="fitem"<divclass="fitemtitle"<divclass="fgrouplabel"<label</label</div</divfieldsetclass="felement fgroup"<inputname="submitbutton2" value="Save and return to course" type="submit" id="id_submitbutton2" />inputname="submitbutton" value="Save and display" type="submit" id="id_submitbutton" />inputname="cancel" value="Cancel" type="submit" onclick="skipClientValidation = true; return true;" id="id_cancel" /</fieldset</div
divclass="fdescription required">There are required fields in this form markedimgalt="Required field" src=" />.</div
</div</fieldset
</form
scripttype="text/javascript">
//<![CDATA[
var mform1items = Array();
mform1items['windowpopup'] = Array();
mform1items['windowpopup']['eq'] = Array();
mform1items['windowpopup']['eq']['1'] = Array();
mform1items['windowpopup']['eq']['1'][0]='blockdisplay';
mform1items['windowpopup']['eq']['0'] = Array();
mform1items['windowpopup']['eq']['0'][0]='resizable';
mform1items['windowpopup']['eq']['0'][1]='scrollbars';
mform1items['windowpopup']['eq']['0'][2]='directories';
mform1items['windowpopup']['eq']['0'][3]='location';
mform1items['windowpopup']['eq']['0'][4]='menubar';
mform1items['windowpopup']['eq']['0'][5]='toolbar';
mform1items['windowpopup']['eq']['0'][6]='status';
mform1items['windowpopup']['eq']['0'][7]='width';
mform1items['windowpopup']['eq']['0'][8]='height';
lockoptionsallsetup('mform1');
//]]>
</script
</divdivid="footer"<hr /<divclass="logininfo">You are logged in as a href=" Badiner</a (a href=" href=" /<pclass="helplink"<ahref=" target="_blank"<imgclass="iconhelp" src=" alt="" />Moodle Docs for this page</a</p</div
</div
</body
</html