Changeset 15988


Ignore:
Timestamp:
2008-06-13T13:36:58+12:00 (16 years ago)
Author:
mdewsnip
Message:

(Adding dynamic classifiers) Creating a new dynamicclassifier macrofile instead of using the document macros, and modifying dynamicclassifieraction to use this instead.

Location:
gsdl/trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/etc/main.cfg

    r15129 r15988  
    8383                document.dm browse.dm status.dm authen.dm users.dm html.dm \
    8484                extlink.dm gsdl.dm extra.dm home.dm collect.dm deposit.dm docs.dm \
    85         bsummary.dm gti.dm gli.dm nav_css.dm languages.dm \
     85        bsummary.dm gti.dm gli.dm nav_css.dm languages.dm dynamicclassifier.dm \
    8686        english.dm english2.dm french.dm french2.dm spanish.dm \
    8787        spanish2.dm russian.dm russian2.dm \
  • gsdl/trunk/src/recpt/dynamicclassifieraction.cpp

    r15954 r15988  
    128128  }
    129129
    130   textout << outconvert << disp << "_document:header_\n";
    131   textout << outconvert << disp << "_document:content_\n";
     130  textout << outconvert << disp << "_dynamicclassifier:header_\n";
     131  textout << outconvert << disp << "_dynamicclassifier:content_\n";
    132132
    133133  // Check a dynamic classifier ID has been specified
     
    136136  {
    137137    textout << outconvert << disp << "Error: Missing dcl argument.\n";
    138     textout << outconvert << disp << "_document:footer_\n";
     138    textout << outconvert << disp << "_dynamicclassifier:footer_\n";
    139139    return true;
    140140  }
     
    145145  {
    146146    textout << outconvert << disp << "Error: Invalid dcl value \"" << arg_dcl << "\".\n";
    147     textout << outconvert << disp << "_document:footer_\n";
     147    textout << outconvert << disp << "_dynamicclassifier:footer_\n";
    148148    return true;
    149149  }
     
    162162  }
    163163
    164   textout << outconvert << disp << "_document:footer_\n";
     164  textout << outconvert << disp << "_dynamicclassifier:footer_\n";
    165165  return true;
    166166}
Note: See TracChangeset for help on using the changeset viewer.