rem: if(lastmoddate == 0) lastmod = GetString("Unknown"); 
add: if(lastmoddate != 0) lastmodString = lastmoddate; 
context: function Startup(){  if (!InitEditorShell())    return;  dialog = new Object;  if (!dialog)  {    dump("Failed to create dialog object!!!\n");    window.close();  }  dialog.PageLocation     = document.getElementById("PageLocation");  dialog.TitleInput       = document.getElementById("TitleInput");  dialog.AuthorInput      = document.getElementById("AuthorInput");  dialog.DescriptionInput = document.getElementById("DescriptionInput");  doSetOKCancel(onOK, onCancel);    // Default string for new page is set from DTD string in XUL,  //   so set only if not new doc URL  var location = editorShell.editorDocument.location;  if (location != "about:blank")  {    dialog.PageLocation.setAttribute("value", editorShell.editorDocument.location);    // Get last-modified file date+time    // TODO: Convert this to local time?    var lastmod = editorShell.editorDocument.lastModified;  // get string of last modified date    var lastmoddate = Date.parse(lastmod);                  // convert modified string to date    if(lastmoddate == 0)                                    // unknown date (or January 1, 1970 GMT)      lastmod = GetString("Unknown");    document.getElementById("PageModDate").setAttribute("value",lastmod);  }  authorElement = GetMetaElement("author");  if (!authorElement)  {    authorElement = CreateMetaElement("author");    if (!authorElement)      window.close();    insertNewAuthor = true;  }  descriptionElement = GetMetaElement("description");  if (!descriptionElement)  {    descriptionElement = CreateMetaElement("description");    if (!descriptionElement)      window.close();    insertNewDescription = true;  }    InitDialog();  SetTextfieldFocus(dialog.TitleInput);  SetWindowLocation();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/c14165d094712ddf8413059b747aa894f5195632/EdPageProps.js/clean/editor/ui/dialogs/content/EdPageProps.js