shuber      2004/08/24 19:41:21 CEST

  Modified files:
    src/view/jsp/include sitemap.inc 
  Log:
  Bugfix : fix problem with link no longer appearing in Live mode for pages marked for 
deletion.
  
  Revision  Changes    Path
  1.7       +3 -0      corporate_portal_templates/src/view/jsp/include/sitemap.inc
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/corporate_portal_templates/src/view/jsp/include/sitemap.inc.diff?r1=1.6&r2=1.7&f=h
  
  
  
  Index: sitemap.inc
  ===================================================================
  RCS file: /cvs/corporate_portal_templates/src/view/jsp/include/sitemap.inc,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- sitemap.inc       19 Aug 2004 19:46:39 -0000      1.6
  +++ sitemap.inc       24 Aug 2004 17:41:20 -0000      1.7
  @@ -155,6 +155,9 @@
               // Write page title --------------------------------------------
               String pageTitle2 = treeJahiaSiteMap.getPageTitle(i, 
jParams.getLocale().toString());
               boolean isPageMarkedForDeletion = 
contentPage.isStagedEntryMarkedForDeletion(jParams.getLocale().toString());
  +            if (jData.gui().isNormalMode()) {
  +                isPageMarkedForDeletion = false;
  +            }
               String style = "white-space: nowrap;";
               if (! isPageMarkedForDeletion) {
                   %><a href='<%= (pageTitle2 ==null && jData.gui().isNormalMode() || 
!reachablePage) ?
  

Reply via email to