Ignore:
Timestamp:
2013-05-02T19:18:38+12:00 (11 years ago)
Author:
ak19
Message:
  1. Basic authentication when adding user comments. 2. Rearranged some divs to do with adding user comments. 3. A few default css statements for the form.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/macros/style.dm

    r27293 r27294  
    330330    // (we do this here for all values together to hopefully avoid reloading the page for each comment)
    331331
     332    if(metapos > 0) \{
     333        var heading=document.createElement("div");
     334        var attr=document.createAttribute("class");
     335        attr.nodeValue="usercommentheading";
     336        heading.setAttributeNode(attr);
     337        var txt=document.createTextNode("_text-usercomments-section_");
     338        heading.appendChild(txt);
     339        usercommentdiv.appendChild(heading);
     340    \}
     341
    332342    for(var i = 0; i < metapos; i++) \{
    333 
    334343        var comment_record = comments_arraymap[i];
    335344
Note: See TracChangeset for help on using the changeset viewer.