Changeset 13450


Ignore:
Timestamp:
2006-12-07T12:49:42+13:00 (17 years ago)
Author:
kjdon
Message:

moved the text out of javascript for printing in document.dm into macros in english.dm

Location:
trunk/gsdl/macros
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/macros/document.dm

    r13427 r13450  
    2121   <link rel="stylesheet" href="_cssfilelink_" type="text/css"
    2222    charset="UTF-8"   _linktagend_
    23   <link rel="alternate stylesheet" href="_httpimg_/preview-document.css" type="text/css"
     23  <link rel="alternate stylesheet" href="_httpimg_/preview-document.css"
     24    type="text/css"
    2425    title="Preview Document" charset="UTF-8" media="screen"  _linktagend_
    2526   <link rel="stylesheet" href="_httpimg_/print-document.css" type="text/css"
     
    327328    \} 
    328329    if (show)\{
    329         toc_link.appendChild(document.createTextNode('Show the table of content'));
     330        toc_link.appendChild(document.createTextNode('_textshowcontents_'));
    330331        show = false;
    331332        hide_toc();
    332333    \}
    333334  else\{
    334        toc_link.appendChild(document.createTextNode('Hide the table of content'));
     335       toc_link.appendChild(document.createTextNode('_texthidecontents_'));
    335336      show = true;
    336337      show_toc();
     
    354355         cancel_print_link.className = "cancelprint"
    355356         cancel_print_link.onclick = function()\{ cancel_print(); return false;\};
    356          cancel_print_link.appendChild(document.createTextNode('Return to the original page'));
     357         cancel_print_link.appendChild(document.createTextNode('_textreturnoriginal_'));
    357358          print_message.appendChild(cancel_print_link); 
    358359
     
    360361           var print_link = document.createElement('li');
    361362           print_link.onclick = function()\{ window.print(); return false;\};
    362            print_link.appendChild(document.createTextNode('Print this page'));
     363           print_link.appendChild(document.createTextNode('_textprintpage_'));
    363364           print_message.appendChild(print_link);
    364365
     
    367368          toc_link.id = "toc_link";
    368369          toc_link.onclick = function()\{ switch_toc(); return false;\};
    369           toc_link.appendChild(document.createTextNode('Hide the table of content'));                 
     370          toc_link.appendChild(document.createTextNode('_texthidecontents_'));                 
    370371          print_message.appendChild(toc_link);   
    371372         \}
  • trunk/gsdl/macros/english.dm

    r13428 r13450  
    344344_textprevsearchresult_{previous search result}
    345345
     346# macros for printing page
     347_textreturnoriginal_ {Return to the original page}
     348_textprintpage_ {Print this page}
     349_textshowcontents_ {Show the table of contents}
     350_texthidecontents_ {Hide the table of contents}
     351
    346352######################################################################
    347353# 'search' page
Note: See TracChangeset for help on using the changeset viewer.