//# 0 errors, 515 messages
//#
/*
    //#OldPageHelper.java:1:1: class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
 * Licensed to the Apache Software Foundation (ASF) under one or more
 *  contributor license agreements.  The ASF licenses this file to You
 * under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.  For additional information regarding
 * copyright in this work, please see the NOTICE file in the top level
 * directory of this distribution.
 */

package org.apache.roller.weblogger.ui.rendering.velocity.deprecated;

import java.util.Date;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.jsp.PageContext;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.roller.weblogger.WebloggerException;
import org.apache.roller.weblogger.business.plugins.entry.WeblogEntryPlugin;
import org.apache.roller.weblogger.business.plugins.PluginManager;
import org.apache.roller.weblogger.business.Weblogger;
import org.apache.roller.weblogger.business.WebloggerFactory;
import org.apache.roller.weblogger.config.WebloggerRuntimeConfig;
import org.apache.roller.weblogger.pojos.WeblogBookmarkFolder;
import org.apache.roller.weblogger.pojos.Weblog;
import org.apache.roller.weblogger.pojos.WeblogPermission;
import org.apache.roller.weblogger.pojos.wrapper.WeblogReferrerWrapper;
import org.apache.roller.weblogger.pojos.wrapper.WeblogEntryWrapper;
import org.apache.roller.weblogger.ui.core.RollerSession;
import org.apache.roller.weblogger.ui.core.tags.calendar.CalendarModel;
import org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag;
import org.apache.roller.weblogger.ui.core.tags.calendar.BigWeblogCalendarModel;
import org.apache.roller.weblogger.ui.core.tags.calendar.WeblogCalendarModel;
import org.apache.roller.weblogger.ui.rendering.util.WeblogPageRequest;


/**
 * Provides assistance to VelociMacros, filling in where Velocity falls.
 */
public class OldPageHelper {
    
    private static Log mLogger = LogFactory.getLog(OldPageHelper.class);
    //#OldPageHelper.java:56: method: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init
    //#OldPageHelper.java:56: Warning: method not available
    //#    -- call on Log org.apache.commons.logging.LogFactory:getLog(Class)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init
    //#    unanalyzed callee: Log org.apache.commons.logging.LogFactory:getLog(Class)
    //#output(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Descendant_Table[org/apache/roller/weblogger/ui/rendering/velocity/deprecated/OldPageHelper]
    //#output(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.addParam(Ljava/lang/String;Ljava/lang/String;Ljava/util/Hashtable;)Ljava/util/Hashtable;
    //#output(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.evaluateString(Ljava/lang/String;)Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.getCommentAuthenticatorHtml()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.getEntryEditUrl(Lorg/apache/roller/weblogger/pojos/wrapper/WeblogEntryWrapper;)Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.getPathInfo()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.getSupportedLanguages()[Ljava/util/Locale;
    //#output(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.getToggleLinkbackDisplayHTML(Lorg/apache/roller/weblogger/pojos/wrapper/WeblogReferrerWrapper;)Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.isUserAuthorizedToEdit()Z
    //#output(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.renderPlugins(Lorg/apache/roller/weblogger/pojos/wrapper/WeblogEntryWrapper;Ljava/lang/String;)Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.setContentType(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.showBigWeblogCalendar()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.showEditorNavBar(Z)Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.showMenu(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.showWeblogCalendar()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.showWeblogCalendar(ZLjava/lang/String;)Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.strutsUrlHelper(ZZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.strutsUrlHelper1(ZZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Hashtable;)Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): mLogger
    //#post(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Descendant_Table[org/apache/roller/weblogger/ui/rendering/velocity/deprecated/OldPageHelper] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.addParam(Ljava/lang/String;Ljava/lang/String;Ljava/util/Hashtable;)Ljava/util/Hashtable; == &addParam
    //#post(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.evaluateString(Ljava/lang/String;)Ljava/lang/String; == &evaluateString
    //#post(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.getCommentAuthenticatorHtml()Ljava/lang/String; == &getCommentAuthenticatorHtml
    //#post(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.getEntryEditUrl(Lorg/apache/roller/weblogger/pojos/wrapper/WeblogEntryWrapper;)Ljava/lang/String; == &getEntryEditUrl
    //#post(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.getPathInfo()Ljava/lang/String; == &getPathInfo
    //#post(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.getSupportedLanguages()[Ljava/util/Locale; == &getSupportedLanguages
    //#post(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.getToggleLinkbackDisplayHTML(Lorg/apache/roller/weblogger/pojos/wrapper/WeblogReferrerWrapper;)Ljava/lang/String; == &getToggleLinkbackDisplayHTML
    //#post(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.isUserAuthorizedToEdit()Z == &isUserAuthorizedToEdit
    //#post(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.renderPlugins(Lorg/apache/roller/weblogger/pojos/wrapper/WeblogEntryWrapper;Ljava/lang/String;)Ljava/lang/String; == &renderPlugins
    //#post(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.setContentType(Ljava/lang/String;)V == &setContentType
    //#post(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.showBigWeblogCalendar()Ljava/lang/String; == &showBigWeblogCalendar
    //#post(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.showEditorNavBar(Z)Ljava/lang/String; == &showEditorNavBar
    //#post(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.showMenu(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; == &showMenu
    //#post(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.showWeblogCalendar()Ljava/lang/String; == &showWeblogCalendar
    //#post(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.showWeblogCalendar(ZLjava/lang/String;)Ljava/lang/String; == &showWeblogCalendar
    //#post(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.strutsUrlHelper(ZZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; == &strutsUrlHelper
    //#post(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): __Dispatch_Table.strutsUrlHelper1(ZZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Hashtable;)Ljava/lang/String; == &strutsUrlHelper1
    //#post(org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init): init'ed(mLogger)
    //#OldPageHelper.java:56: end of method: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper__static_init
    
    private PageContext mPageContext = null;
    private HttpServletRequest mRequest = null;
    private HttpServletResponse mResponse = null;
    
    private Map mPagePlugins = null;  // Plugins keyed by name
    private Weblog mWebsite = null;
    private Date mDate = null;
    private WeblogBookmarkFolder mFolder = null;
    private String mPageName = null;
    private WeblogPageRequest mPageRequest = null;
    
    /**
     * Initialize VelocityHelper, setting the variables it will be hiding from
     * the Velocimacros.
     */
    public OldPageHelper(HttpServletRequest request,
                      HttpServletResponse response,
                      Map ctx,
                      Weblog website,
                      Date date,WeblogBookmarkFolder folder,
                      String pageName,
                      PageContext pageContext,
                      WeblogPageRequest pageRequest) throws WebloggerException {
    //#OldPageHelper.java:80: method: void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)
    //#input(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): date
    //#input(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): folder
    //#input(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): pageContext
    //#input(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): pageRequest
    //#input(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): request
    //#input(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): response
    //#input(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): this
    //#input(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): website
    //#output(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): this.mDate
    //#output(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): this.mFolder
    //#output(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): this.mPageContext
    //#output(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): this.mPageName
    //#output(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): this.mPagePlugins
    //#output(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): this.mPageRequest
    //#output(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): this.mRequest
    //#output(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): this.mResponse
    //#output(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): this.mWebsite
    //#presumption(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): org.apache.roller.weblogger.business.Weblogger:getPluginManager(...)@95 != null
    //#presumption(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger(...)@94 != null
    //#post(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): this.mDate == date
    //#post(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): init'ed(this.mDate)
    //#post(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): this.mFolder == folder
    //#post(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): init'ed(this.mFolder)
    //#post(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): this.mPageContext == pageContext
    //#post(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): init'ed(this.mPageContext)
    //#post(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): this.mPageName == null
    //#post(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): init'ed(this.mPagePlugins)
    //#post(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): this.mPageRequest == pageRequest
    //#post(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): init'ed(this.mPageRequest)
    //#post(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): this.mRequest == request
    //#post(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): init'ed(this.mRequest)
    //#post(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): this.mResponse == response
    //#post(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): init'ed(this.mResponse)
    //#post(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): this.mWebsite == website
    //#post(void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)): init'ed(this.mWebsite)
        
        // general request objects
        mRequest = request;
        mResponse = response;
        mPageContext = pageContext;
        mPageRequest = pageRequest;
        
        // data that we'll be reusing
        mWebsite = website;
        mDate = date;
        mFolder = folder;
        
        // init plugins
        Weblogger roller = WebloggerFactory.getWeblogger();
    //#OldPageHelper.java:94: Warning: method not available
    //#    -- call on Weblogger org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)
    //#    unanalyzed callee: Weblogger org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger()
        PluginManager ppmgr = roller.getPluginManager();
    //#OldPageHelper.java:95: Warning: method not available
    //#    -- call on PluginManager org.apache.roller.weblogger.business.Weblogger:getPluginManager()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)
    //#    unanalyzed callee: PluginManager org.apache.roller.weblogger.business.Weblogger:getPluginManager()
        mPagePlugins = ppmgr.getWeblogEntryPlugins(mWebsite);
    //#OldPageHelper.java:96: Warning: method not available
    //#    -- call on Map org.apache.roller.weblogger.business.plugins.PluginManager:getWeblogEntryPlugins(Weblog)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)
    //#    unanalyzed callee: Map org.apache.roller.weblogger.business.plugins.PluginManager:getWeblogEntryPlugins(Weblog)
    }
    //#OldPageHelper.java:97: end of method: void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper(HttpServletRequest, HttpServletResponse, Map, Weblog, Date, WeblogBookmarkFolder, String, PageContext, WeblogPageRequest)
    
    
    /**
     * Another stupid helper method to make up for the shortcomings of Velocity.
     * @return HashMap
     */
    public Hashtable addParam(String key, String value, Hashtable map) {
        if (map == null) map = new Hashtable();
    //#OldPageHelper.java:105: method: Hashtable org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.addParam(String, String, Hashtable)
    //#input(Hashtable addParam(String, String, Hashtable)): key
    //#input(Hashtable addParam(String, String, Hashtable)): map
    //#input(Hashtable addParam(String, String, Hashtable)): value
    //#output(Hashtable addParam(String, String, Hashtable)): new Hashtable(addParam#1) num objects
    //#output(Hashtable addParam(String, String, Hashtable)): return_value
    //#new obj(Hashtable addParam(String, String, Hashtable)): new Hashtable(addParam#1)
    //#post(Hashtable addParam(String, String, Hashtable)): return_value == One-of{map, &new Hashtable(addParam#1)}
    //#post(Hashtable addParam(String, String, Hashtable)): return_value != null
    //#post(Hashtable addParam(String, String, Hashtable)): new Hashtable(addParam#1) num objects <= 1
    //#test_vector(Hashtable addParam(String, String, Hashtable)): key: Addr_Set{null}, Inverse{null}
    //#test_vector(Hashtable addParam(String, String, Hashtable)): map: Inverse{null}, Addr_Set{null}
    //#test_vector(Hashtable addParam(String, String, Hashtable)): value: Addr_Set{null}, Inverse{null}
        if (key != null && value != null)
            map.put(key, value);
        return map;
    //#OldPageHelper.java:108: end of method: Hashtable org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.addParam(String, String, Hashtable)
    }
    
    
    /**
     * Evaluates the String as a Velocimacro, returning the results.
     *
     * @deprecated shouldn't be used anymore because it's dangerous
     *
     * @param str String
     * @return String
     */
    public String evaluateString(String str) {
        // we no longer allow users to do this because it is dangerous
        return str;
    //#OldPageHelper.java:122: method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.evaluateString(String)
    //#input(String evaluateString(String)): str
    //#output(String evaluateString(String)): return_value
    //#post(String evaluateString(String)): return_value == str
    //#post(String evaluateString(String)): init'ed(return_value)
    //#OldPageHelper.java:122: end of method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.evaluateString(String)
    }
    
    
    /** Build the URL for editing an WeblogEntry **/
    public String getEntryEditUrl(WeblogEntryWrapper entry) {
        return WebloggerFactory.getWeblogger().getUrlStrategy().getEntryEditURL(entry.getWebsite().getHandle(), entry.getId(), false);
    //#OldPageHelper.java:128: method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.getEntryEditUrl(WeblogEntryWrapper)
    //#OldPageHelper.java:128: Warning: method not available
    //#    -- call on Weblogger org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String getEntryEditUrl(WeblogEntryWrapper)
    //#    unanalyzed callee: Weblogger org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger()
    //#OldPageHelper.java:128: Warning: method not available
    //#    -- call on URLStrategy org.apache.roller.weblogger.business.Weblogger:getUrlStrategy()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String getEntryEditUrl(WeblogEntryWrapper)
    //#    unanalyzed callee: URLStrategy org.apache.roller.weblogger.business.Weblogger:getUrlStrategy()
    //#OldPageHelper.java:128: Warning: method not available
    //#    -- call on WeblogWrapper org.apache.roller.weblogger.pojos.wrapper.WeblogEntryWrapper:getWebsite()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String getEntryEditUrl(WeblogEntryWrapper)
    //#    unanalyzed callee: WeblogWrapper org.apache.roller.weblogger.pojos.wrapper.WeblogEntryWrapper:getWebsite()
    //#OldPageHelper.java:128: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.pojos.wrapper.WeblogWrapper:getHandle()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String getEntryEditUrl(WeblogEntryWrapper)
    //#    unanalyzed callee: String org.apache.roller.weblogger.pojos.wrapper.WeblogWrapper:getHandle()
    //#OldPageHelper.java:128: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.pojos.wrapper.WeblogEntryWrapper:getId()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String getEntryEditUrl(WeblogEntryWrapper)
    //#    unanalyzed callee: String org.apache.roller.weblogger.pojos.wrapper.WeblogEntryWrapper:getId()
    //#OldPageHelper.java:128: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.business.URLStrategy:getEntryEditURL(String, String, bool)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String getEntryEditUrl(WeblogEntryWrapper)
    //#    unanalyzed callee: String org.apache.roller.weblogger.business.URLStrategy:getEntryEditURL(String, String, bool)
    //#input(String getEntryEditUrl(WeblogEntryWrapper)): entry
    //#output(String getEntryEditUrl(WeblogEntryWrapper)): return_value
    //#pre[1] (String getEntryEditUrl(WeblogEntryWrapper)): entry != null
    //#presumption(String getEntryEditUrl(WeblogEntryWrapper)): org.apache.roller.weblogger.business.Weblogger:getUrlStrategy(...)@128 != null
    //#presumption(String getEntryEditUrl(WeblogEntryWrapper)): org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger(...)@128 != null
    //#presumption(String getEntryEditUrl(WeblogEntryWrapper)): org.apache.roller.weblogger.pojos.wrapper.WeblogEntryWrapper:getWebsite(...)@128 != null
    //#post(String getEntryEditUrl(WeblogEntryWrapper)): init'ed(return_value)
    //#OldPageHelper.java:128: end of method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.getEntryEditUrl(WeblogEntryWrapper)
    }
    
    
    public String getToggleLinkbackDisplayHTML(WeblogReferrerWrapper referer) {
        // NOTE: this was EOLed as part of Weblogger 4.0 since we no longer
        // have an action for toggling linkback display
        return "";
    //#OldPageHelper.java:135: method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.getToggleLinkbackDisplayHTML(WeblogReferrerWrapper)
    //#output(String getToggleLinkbackDisplayHTML(WeblogReferrerWrapper)): return_value
    //#post(String getToggleLinkbackDisplayHTML(WeblogReferrerWrapper)): return_value == &""
    //#OldPageHelper.java:135: end of method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.getToggleLinkbackDisplayHTML(WeblogReferrerWrapper)
    }
    
    
    public boolean isUserAuthorizedToEdit() {
        try {
            RollerSession rses =
    //#OldPageHelper.java:141: method: bool org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.isUserAuthorizedToEdit()
    //#OldPageHelper.java:141: Warning: method not available
    //#    -- call on RollerSession org.apache.roller.weblogger.ui.core.RollerSession:getRollerSession(HttpServletRequest)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: bool isUserAuthorizedToEdit()
    //#    unanalyzed callee: RollerSession org.apache.roller.weblogger.ui.core.RollerSession:getRollerSession(HttpServletRequest)
    //#input(bool isUserAuthorizedToEdit()): mLogger
    //#input(bool isUserAuthorizedToEdit()): org.apache.roller.weblogger.pojos.WeblogPermission.ADMIN
    //#input(bool isUserAuthorizedToEdit()): this
    //#input(bool isUserAuthorizedToEdit()): this.mRequest
    //#input(bool isUserAuthorizedToEdit()): this.mWebsite
    //#output(bool isUserAuthorizedToEdit()): return_value
    //#pre[1] (bool isUserAuthorizedToEdit()): (soft) mLogger != null
    //#pre[3] (bool isUserAuthorizedToEdit()): (soft) init'ed(this.mRequest)
    //#pre[4] (bool isUserAuthorizedToEdit()): (soft) init'ed(this.mWebsite)
    //#presumption(bool isUserAuthorizedToEdit()): init'ed(org.apache.roller.weblogger.pojos.WeblogPermission.ADMIN)
    //#post(bool isUserAuthorizedToEdit()): init'ed(return_value)
                    RollerSession.getRollerSession(mRequest);
            if ( rses != null && rses.getAuthenticatedUser() != null
    //#OldPageHelper.java:143: Warning: method not available
    //#    -- call on User org.apache.roller.weblogger.ui.core.RollerSession:getAuthenticatedUser()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: bool isUserAuthorizedToEdit()
    //#    unanalyzed callee: User org.apache.roller.weblogger.ui.core.RollerSession:getAuthenticatedUser()
                    && mWebsite != null) {
                return mWebsite.hasUserPermissions(
    //#OldPageHelper.java:145: Warning: method not available
    //#    -- call on User org.apache.roller.weblogger.ui.core.RollerSession:getAuthenticatedUser()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: bool isUserAuthorizedToEdit()
    //#    unanalyzed callee: User org.apache.roller.weblogger.ui.core.RollerSession:getAuthenticatedUser()
    //#OldPageHelper.java:145: Warning: method not available
    //#    -- call on bool org.apache.roller.weblogger.pojos.Weblog:hasUserPermissions(User, short)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: bool isUserAuthorizedToEdit()
    //#    unanalyzed callee: bool org.apache.roller.weblogger.pojos.Weblog:hasUserPermissions(User, short)
                        rses.getAuthenticatedUser(), WeblogPermission.ADMIN);
            }
        } catch (Exception e) {
            mLogger.warn("PageHelper.isUserAuthorizedToEdit)", e);
    //#OldPageHelper.java:149: Warning: method not available
    //#    -- call on void org.apache.commons.logging.Log:warn(Object, Throwable)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: bool isUserAuthorizedToEdit()
    //#    unanalyzed callee: void org.apache.commons.logging.Log:warn(Object, Throwable)
        }
        return false;
    //#OldPageHelper.java:151: end of method: bool org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.isUserAuthorizedToEdit()
    }
    
    
    public void setContentType( String type ) {
        mResponse.setContentType(type);
    //#OldPageHelper.java:156: method: void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.setContentType(String)
    //#input(void setContentType(String)): this
    //#input(void setContentType(String)): this.mResponse
    //#input(void setContentType(String)): type
    //#pre[2] (void setContentType(String)): this.mResponse != null
    }
    //#OldPageHelper.java:157: end of method: void org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.setContentType(String)
    
    
    /**
     * Display big weblog calendar, well suited for an archive page.
     * @return HTML for calendar.
     */
    public String showBigWeblogCalendar() {
        return showWeblogCalendar(true, null);
    //#OldPageHelper.java:165: method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.showBigWeblogCalendar()
    //#OldPageHelper.java:165: Warning: suspicious precondition
    //#    the precondition for this.mPageRequest.__Tag is not a contiguous range of values
    //#    severity: SUPPRESSED
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String showBigWeblogCalendar()
    //#    suspicious precondition index: [14]
    //#    Attribs:  Soft
    //#input(String showBigWeblogCalendar()): "Error looking up weblog "._tainted
    //#input(String showBigWeblogCalendar()): __Descendant_Table[org/apache/roller/weblogger/ui/rendering/velocity/deprecated/OldPageHelper]
    //#input(String showBigWeblogCalendar()): __Descendant_Table[others]
    //#input(String showBigWeblogCalendar()): __Dispatch_Table.showWeblogCalendar(ZLjava/lang/String;)Ljava/lang/String;
    //#input(String showBigWeblogCalendar()): mLogger
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogCommentRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogFeedRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest]
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewRequest]
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest.__Descendant_Table[others]
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest.__Dispatch_Table.getLocaleInstance()Ljava/util/Locale;
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewRequest.__Dispatch_Table.getLocaleInstance()Ljava/util/Locale;
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewResourceRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogCommentRequest]
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogFeedRequest]
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest]
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewRequest]
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewResourceRequest]
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogRequest]
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogResourceRequest]
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogSearchRequest]
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogTrackbackRequest]
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[others]
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.java.lang.Boolean.TRUE
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.log
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogResourceRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogSearchRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showBigWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogTrackbackRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showBigWeblogCalendar()): this
    //#input(String showBigWeblogCalendar()): this.__Tag
    //#input(String showBigWeblogCalendar()): this.mPageContext
    //#input(String showBigWeblogCalendar()): this.mPageRequest
    //#input(String showBigWeblogCalendar()): this.mPageRequest.__Tag
    //#input(String showBigWeblogCalendar()): this.mPageRequest.locale
    //#input(String showBigWeblogCalendar()): this.mPageRequest.locale._tainted
    //#input(String showBigWeblogCalendar()): this.mPageRequest.localeInstance
    //#input(String showBigWeblogCalendar()): this.mPageRequest.weblogHandle
    //#input(String showBigWeblogCalendar()): this.mPageRequest.weblogHandle._tainted
    //#output(String showBigWeblogCalendar()): new Locale(getLocaleInstance#1) num objects
    //#output(String showBigWeblogCalendar()): new Locale(getLocaleInstance#2) num objects
    //#output(String showBigWeblogCalendar()): return_value
    //#output(String showBigWeblogCalendar()): this.mPageRequest.localeInstance
    //#output(String showBigWeblogCalendar()): this.mPageRequest.weblog
    //#new obj(String showBigWeblogCalendar()): new Locale(getLocaleInstance#1)
    //#new obj(String showBigWeblogCalendar()): new Locale(getLocaleInstance#2)
    //#pre[11] (String showBigWeblogCalendar()): this.__Tag == org/apache/roller/weblogger/ui/rendering/velocity/deprecated/OldPageHelper
    //#pre[5] (String showBigWeblogCalendar()): (soft) mLogger != null
    //#pre[6] (String showBigWeblogCalendar()): (soft) init'ed(this.mPageRequest.localeInstance)
    //#pre[9] (String showBigWeblogCalendar()): (soft) org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.log != null
    //#pre[12] (String showBigWeblogCalendar()): (soft) this.mPageContext != null
    //#pre[13] (String showBigWeblogCalendar()): (soft) this.mPageRequest != null
    //#pre[14] (String showBigWeblogCalendar()): (soft) this.mPageRequest.__Tag in {org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest, org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewRequest}
    //#pre[15] (String showBigWeblogCalendar()): (soft) init'ed(this.mPageRequest.locale)
    //#pre[17] (String showBigWeblogCalendar()): (soft) init'ed(this.mPageRequest.weblogHandle)
    //#post(String showBigWeblogCalendar()): init'ed(return_value)
    //#post(String showBigWeblogCalendar()): init'ed(this.mPageRequest.localeInstance)
    //#post(String showBigWeblogCalendar()): possibly_updated(this.mPageRequest.weblog)
    //#post(String showBigWeblogCalendar()): new Locale(getLocaleInstance#1) num objects == 0
    //#post(String showBigWeblogCalendar()): new Locale(getLocaleInstance#2) num objects == 0
    //#unanalyzed(String showBigWeblogCalendar()): Effects-of-calling:java.lang.Throwable:__curr_excep_obj
    //#unanalyzed(String showBigWeblogCalendar()): Effects-of-calling:org.apache.commons.logging.Log:error
    //#unanalyzed(String showBigWeblogCalendar()): Effects-of-calling:java.lang.String:equals
    //#unanalyzed(String showBigWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.ui.core.tags.calendar.BigWeblogCalendarModel
    //#unanalyzed(String showBigWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.ui.core.tags.calendar.WeblogCalendarModel
    //#unanalyzed(String showBigWeblogCalendar()): Effects-of-calling:javax.servlet.jsp.PageContext:setAttribute
    //#unanalyzed(String showBigWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag
    //#unanalyzed(String showBigWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:setPageContext
    //#unanalyzed(String showBigWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:setName
    //#unanalyzed(String showBigWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:setModel
    //#unanalyzed(String showBigWeblogCalendar()): Effects-of-calling:java.lang.String:split
    //#unanalyzed(String showBigWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger
    //#unanalyzed(String showBigWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.business.Weblogger:getUserManager
    //#unanalyzed(String showBigWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.business.UserManager:getWebsiteByHandle
    //#unanalyzed(String showBigWeblogCalendar()): Effects-of-calling:java.lang.StringBuilder
    //#unanalyzed(String showBigWeblogCalendar()): Effects-of-calling:java.lang.StringBuilder:append
    //#unanalyzed(String showBigWeblogCalendar()): Effects-of-calling:java.lang.StringBuilder:toString
    //#unanalyzed(String showBigWeblogCalendar()): Effects-of-calling:java.util.Locale
    //#unanalyzed(String showBigWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.pojos.Weblog:getLocaleInstance
    //#unanalyzed(String showBigWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:setLocale
    //#unanalyzed(String showBigWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:setClassSuffix
    //#unanalyzed(String showBigWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:emit
    //#OldPageHelper.java:165: end of method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.showBigWeblogCalendar()
    }
    
    
    /**
     * Call hybrid EditorNavBarTag to render editor navbar.
     * @param vertical True for vertical navbar.
     * @return String HTML for navbar.
     */
    public String showEditorNavBar(boolean vertical) {
        // this method has been EOLd starting in Weblogger 4.0
        // this same functionality can be obtained via the #showAuthorMenu() macro
        return null;
    //#OldPageHelper.java:177: method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.showEditorNavBar(bool)
    //#output(String showEditorNavBar(bool)): return_value
    //#post(String showEditorNavBar(bool)): return_value == null
    //#OldPageHelper.java:177: end of method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.showEditorNavBar(bool)
    }
    
    
    /**
     * Call hybrid EditorNavBarTag to render editor navbar.
     * @param model Name of XML file in WEB-INF that contains XML for menu.
     * @param template Name of Velocity template in classpath to display menu.
     * @return String HTML for menu.
     */
    public String showMenu(String model, String template) {
        // this method has been EOLd starting in Weblogger 4.0
        // this same functionality can be obtained via the #showAuthorMenu() macro
        return null;
    //#OldPageHelper.java:190: method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.showMenu(String, String)
    //#output(String showMenu(String, String)): return_value
    //#post(String showMenu(String, String)): return_value == null
    //#OldPageHelper.java:190: end of method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.showMenu(String, String)
    }
    
    //------------------------------------------------- WeblogCalendar methods
    
    /**
     * Display weblog calendar.
     * @return HTML for calendar.
     */
    public String showWeblogCalendar() {
        return showWeblogCalendar(false, null);
    //#OldPageHelper.java:200: method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.showWeblogCalendar()
    //#OldPageHelper.java:200: Warning: suspicious precondition
    //#    the precondition for this.mPageRequest.__Tag is not a contiguous range of values
    //#    severity: SUPPRESSED
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String showWeblogCalendar()
    //#    suspicious precondition index: [14]
    //#    Attribs:  Soft
    //#input(String showWeblogCalendar()): "Error looking up weblog "._tainted
    //#input(String showWeblogCalendar()): __Descendant_Table[org/apache/roller/weblogger/ui/rendering/velocity/deprecated/OldPageHelper]
    //#input(String showWeblogCalendar()): __Descendant_Table[others]
    //#input(String showWeblogCalendar()): __Dispatch_Table.showWeblogCalendar(ZLjava/lang/String;)Ljava/lang/String;
    //#input(String showWeblogCalendar()): mLogger
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogCommentRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogFeedRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest]
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewRequest]
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest.__Descendant_Table[others]
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest.__Dispatch_Table.getLocaleInstance()Ljava/util/Locale;
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewRequest.__Dispatch_Table.getLocaleInstance()Ljava/util/Locale;
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewResourceRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogCommentRequest]
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogFeedRequest]
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest]
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewRequest]
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewResourceRequest]
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogRequest]
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogResourceRequest]
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogSearchRequest]
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogTrackbackRequest]
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[others]
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.java.lang.Boolean.TRUE
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.log
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogResourceRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogSearchRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showWeblogCalendar()): org/apache/roller/weblogger/ui/rendering/util/WeblogTrackbackRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showWeblogCalendar()): this
    //#input(String showWeblogCalendar()): this.__Tag
    //#input(String showWeblogCalendar()): this.mPageContext
    //#input(String showWeblogCalendar()): this.mPageRequest
    //#input(String showWeblogCalendar()): this.mPageRequest.__Tag
    //#input(String showWeblogCalendar()): this.mPageRequest.locale
    //#input(String showWeblogCalendar()): this.mPageRequest.locale._tainted
    //#input(String showWeblogCalendar()): this.mPageRequest.localeInstance
    //#input(String showWeblogCalendar()): this.mPageRequest.weblogHandle
    //#input(String showWeblogCalendar()): this.mPageRequest.weblogHandle._tainted
    //#output(String showWeblogCalendar()): new Locale(getLocaleInstance#1) num objects
    //#output(String showWeblogCalendar()): new Locale(getLocaleInstance#2) num objects
    //#output(String showWeblogCalendar()): return_value
    //#output(String showWeblogCalendar()): this.mPageRequest.localeInstance
    //#output(String showWeblogCalendar()): this.mPageRequest.weblog
    //#new obj(String showWeblogCalendar()): new Locale(getLocaleInstance#1)
    //#new obj(String showWeblogCalendar()): new Locale(getLocaleInstance#2)
    //#pre[11] (String showWeblogCalendar()): this.__Tag == org/apache/roller/weblogger/ui/rendering/velocity/deprecated/OldPageHelper
    //#pre[5] (String showWeblogCalendar()): (soft) mLogger != null
    //#pre[6] (String showWeblogCalendar()): (soft) init'ed(this.mPageRequest.localeInstance)
    //#pre[9] (String showWeblogCalendar()): (soft) org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.log != null
    //#pre[12] (String showWeblogCalendar()): (soft) this.mPageContext != null
    //#pre[13] (String showWeblogCalendar()): (soft) this.mPageRequest != null
    //#pre[14] (String showWeblogCalendar()): (soft) this.mPageRequest.__Tag in {org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest, org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewRequest}
    //#pre[15] (String showWeblogCalendar()): (soft) init'ed(this.mPageRequest.locale)
    //#pre[17] (String showWeblogCalendar()): (soft) init'ed(this.mPageRequest.weblogHandle)
    //#post(String showWeblogCalendar()): init'ed(return_value)
    //#post(String showWeblogCalendar()): init'ed(this.mPageRequest.localeInstance)
    //#post(String showWeblogCalendar()): possibly_updated(this.mPageRequest.weblog)
    //#post(String showWeblogCalendar()): new Locale(getLocaleInstance#1) num objects == 0
    //#post(String showWeblogCalendar()): new Locale(getLocaleInstance#2) num objects == 0
    //#unanalyzed(String showWeblogCalendar()): Effects-of-calling:java.lang.Throwable:__curr_excep_obj
    //#unanalyzed(String showWeblogCalendar()): Effects-of-calling:org.apache.commons.logging.Log:error
    //#unanalyzed(String showWeblogCalendar()): Effects-of-calling:java.lang.String:equals
    //#unanalyzed(String showWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.ui.core.tags.calendar.BigWeblogCalendarModel
    //#unanalyzed(String showWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.ui.core.tags.calendar.WeblogCalendarModel
    //#unanalyzed(String showWeblogCalendar()): Effects-of-calling:javax.servlet.jsp.PageContext:setAttribute
    //#unanalyzed(String showWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag
    //#unanalyzed(String showWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:setPageContext
    //#unanalyzed(String showWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:setName
    //#unanalyzed(String showWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:setModel
    //#unanalyzed(String showWeblogCalendar()): Effects-of-calling:java.lang.String:split
    //#unanalyzed(String showWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger
    //#unanalyzed(String showWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.business.Weblogger:getUserManager
    //#unanalyzed(String showWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.business.UserManager:getWebsiteByHandle
    //#unanalyzed(String showWeblogCalendar()): Effects-of-calling:java.lang.StringBuilder
    //#unanalyzed(String showWeblogCalendar()): Effects-of-calling:java.lang.StringBuilder:append
    //#unanalyzed(String showWeblogCalendar()): Effects-of-calling:java.lang.StringBuilder:toString
    //#unanalyzed(String showWeblogCalendar()): Effects-of-calling:java.util.Locale
    //#unanalyzed(String showWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.pojos.Weblog:getLocaleInstance
    //#unanalyzed(String showWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:setLocale
    //#unanalyzed(String showWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:setClassSuffix
    //#unanalyzed(String showWeblogCalendar()): Effects-of-calling:org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:emit
    //#OldPageHelper.java:200: end of method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.showWeblogCalendar()
    }
    
    
    /**
     * Weblog calendar display implementation.
     * @param big Show big archive style calendar.
     * @return HTML for calendar.
     */
    public String showWeblogCalendar( boolean big, String cat ) {
        if (OldWeblogPageModel.VELOCITY_NULL.equals(cat)) cat = null;
    //#OldPageHelper.java:210: method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.showWeblogCalendar(bool, String)
    //#OldPageHelper.java:210: Warning: suspicious precondition
    //#    the precondition for this.mPageRequest.__Tag is not a contiguous range of values
    //#    severity: SUPPRESSED
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String showWeblogCalendar(bool, String)
    //#    suspicious precondition index: [15]
    //#    Attribs:  Soft
    //#input(String showWeblogCalendar(bool, String)): "Error looking up weblog "._tainted
    //#input(String showWeblogCalendar(bool, String)): big
    //#input(String showWeblogCalendar(bool, String)): cat
    //#input(String showWeblogCalendar(bool, String)): mLogger
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogCommentRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogFeedRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest]
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewRequest]
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest.__Descendant_Table[others]
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest.__Dispatch_Table.getLocaleInstance()Ljava/util/Locale;
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewRequest.__Dispatch_Table.getLocaleInstance()Ljava/util/Locale;
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewResourceRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogCommentRequest]
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogFeedRequest]
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest]
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewRequest]
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewResourceRequest]
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogRequest]
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogResourceRequest]
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogSearchRequest]
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/util/WeblogTrackbackRequest]
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Descendant_Table[others]
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.java.lang.Boolean.TRUE
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.log
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogResourceRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogSearchRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showWeblogCalendar(bool, String)): org/apache/roller/weblogger/ui/rendering/util/WeblogTrackbackRequest.__Dispatch_Table.getWeblog()Lorg/apache/roller/weblogger/pojos/Weblog;
    //#input(String showWeblogCalendar(bool, String)): this
    //#input(String showWeblogCalendar(bool, String)): this.mPageContext
    //#input(String showWeblogCalendar(bool, String)): this.mPageRequest
    //#input(String showWeblogCalendar(bool, String)): this.mPageRequest.__Tag
    //#input(String showWeblogCalendar(bool, String)): this.mPageRequest.locale
    //#input(String showWeblogCalendar(bool, String)): this.mPageRequest.locale._tainted
    //#input(String showWeblogCalendar(bool, String)): this.mPageRequest.localeInstance
    //#input(String showWeblogCalendar(bool, String)): this.mPageRequest.weblogHandle
    //#input(String showWeblogCalendar(bool, String)): this.mPageRequest.weblogHandle._tainted
    //#output(String showWeblogCalendar(bool, String)): new Locale(getLocaleInstance#1) num objects
    //#output(String showWeblogCalendar(bool, String)): new Locale(getLocaleInstance#2) num objects
    //#output(String showWeblogCalendar(bool, String)): return_value
    //#output(String showWeblogCalendar(bool, String)): this.mPageRequest.localeInstance
    //#output(String showWeblogCalendar(bool, String)): this.mPageRequest.weblog
    //#new obj(String showWeblogCalendar(bool, String)): new Locale(getLocaleInstance#1)
    //#new obj(String showWeblogCalendar(bool, String)): new Locale(getLocaleInstance#2)
    //#pre[7] (String showWeblogCalendar(bool, String)): (soft) mLogger != null
    //#pre[8] (String showWeblogCalendar(bool, String)): (soft) init'ed(this.mPageRequest.localeInstance)
    //#pre[11] (String showWeblogCalendar(bool, String)): (soft) org/apache/roller/weblogger/ui/rendering/util/WeblogRequest.log != null
    //#pre[13] (String showWeblogCalendar(bool, String)): (soft) this.mPageContext != null
    //#pre[14] (String showWeblogCalendar(bool, String)): (soft) this.mPageRequest != null
    //#pre[15] (String showWeblogCalendar(bool, String)): (soft) this.mPageRequest.__Tag in {org/apache/roller/weblogger/ui/rendering/util/WeblogPageRequest, org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewRequest}
    //#pre[16] (String showWeblogCalendar(bool, String)): (soft) init'ed(this.mPageRequest.locale)
    //#pre[18] (String showWeblogCalendar(bool, String)): (soft) init'ed(this.mPageRequest.weblogHandle)
    //#post(String showWeblogCalendar(bool, String)): init'ed(return_value)
    //#post(String showWeblogCalendar(bool, String)): init'ed(this.mPageRequest.localeInstance)
    //#post(String showWeblogCalendar(bool, String)): possibly_updated(this.mPageRequest.weblog)
    //#post(String showWeblogCalendar(bool, String)): new Locale(getLocaleInstance#1) num objects == 0
    //#post(String showWeblogCalendar(bool, String)): new Locale(getLocaleInstance#2) num objects == 0
    //#unanalyzed(String showWeblogCalendar(bool, String)): Effects-of-calling:java.lang.String:split
    //#unanalyzed(String showWeblogCalendar(bool, String)): Effects-of-calling:org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger
    //#unanalyzed(String showWeblogCalendar(bool, String)): Effects-of-calling:org.apache.roller.weblogger.business.Weblogger:getUserManager
    //#unanalyzed(String showWeblogCalendar(bool, String)): Effects-of-calling:org.apache.roller.weblogger.business.UserManager:getWebsiteByHandle
    //#unanalyzed(String showWeblogCalendar(bool, String)): Effects-of-calling:java.lang.Throwable:__curr_excep_obj
    //#unanalyzed(String showWeblogCalendar(bool, String)): Effects-of-calling:java.lang.StringBuilder
    //#unanalyzed(String showWeblogCalendar(bool, String)): Effects-of-calling:java.lang.StringBuilder:append
    //#unanalyzed(String showWeblogCalendar(bool, String)): Effects-of-calling:java.lang.StringBuilder:toString
    //#unanalyzed(String showWeblogCalendar(bool, String)): Effects-of-calling:org.apache.commons.logging.Log:error
    //#unanalyzed(String showWeblogCalendar(bool, String)): Effects-of-calling:java.util.Locale
    //#unanalyzed(String showWeblogCalendar(bool, String)): Effects-of-calling:org.apache.roller.weblogger.pojos.Weblog:getLocaleInstance
    //#test_vector(String showWeblogCalendar(bool, String)): big: {0}, {1}
    //#test_vector(String showWeblogCalendar(bool, String)): java.lang.String:equals(...)@210: {0}, {1}
        String ret = null;
        try {
            // setup weblog calendar model
            CalendarModel model = null;
    //#OldPageHelper.java:214: Warning: unused assignment
    //#    unused assignment into model
    //#    severity: SUPPRESSED
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String showWeblogCalendar(bool, String)
    //#    Attribs:  Uncertain
            if ( big ) {
                model = new BigWeblogCalendarModel(mPageRequest, cat);
    //#OldPageHelper.java:216: Warning: method not available
    //#    -- call on void org.apache.roller.weblogger.ui.core.tags.calendar.BigWeblogCalendarModel(WeblogPageRequest, String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String showWeblogCalendar(bool, String)
    //#    unanalyzed callee: void org.apache.roller.weblogger.ui.core.tags.calendar.BigWeblogCalendarModel(WeblogPageRequest, String)
            } else {
                model = new WeblogCalendarModel(mPageRequest, cat);
    //#OldPageHelper.java:218: Warning: method not available
    //#    -- call on void org.apache.roller.weblogger.ui.core.tags.calendar.WeblogCalendarModel(WeblogPageRequest, String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String showWeblogCalendar(bool, String)
    //#    unanalyzed callee: void org.apache.roller.weblogger.ui.core.tags.calendar.WeblogCalendarModel(WeblogPageRequest, String)
            }
            
            // save model in JSP page context so CalendarTag can find it
            mPageContext.setAttribute("calendarModel", model);
            
            // Create and setup calendar tag
            CalendarTag calTag = new CalendarTag();
    //#OldPageHelper.java:225: Warning: method not available
    //#    -- call on void org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String showWeblogCalendar(bool, String)
    //#    unanalyzed callee: void org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag()
            calTag.setPageContext(mPageContext);
    //#OldPageHelper.java:226: Warning: method not available
    //#    -- call on void org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:setPageContext(PageContext)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String showWeblogCalendar(bool, String)
    //#    unanalyzed callee: void org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:setPageContext(PageContext)
            calTag.setName("calendar");
    //#OldPageHelper.java:227: Warning: method not available
    //#    -- call on void org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:setName(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String showWeblogCalendar(bool, String)
    //#    unanalyzed callee: void org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:setName(String)
            calTag.setModel("calendarModel");
    //#OldPageHelper.java:228: Warning: method not available
    //#    -- call on void org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:setModel(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String showWeblogCalendar(bool, String)
    //#    unanalyzed callee: void org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:setModel(String)
            calTag.setLocale(mPageRequest.getLocaleInstance());
    //#OldPageHelper.java:229: Warning: method not available
    //#    -- call on void org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:setLocale(Locale)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String showWeblogCalendar(bool, String)
    //#    unanalyzed callee: void org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:setLocale(Locale)
            if ( big ) {
                calTag.setClassSuffix("Big");
    //#OldPageHelper.java:231: Warning: method not available
    //#    -- call on void org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:setClassSuffix(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String showWeblogCalendar(bool, String)
    //#    unanalyzed callee: void org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:setClassSuffix(String)
            }
            ret = calTag.emit();
    //#OldPageHelper.java:233: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:emit()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String showWeblogCalendar(bool, String)
    //#    unanalyzed callee: String org.apache.roller.weblogger.ui.core.tags.calendar.CalendarTag:emit()
        } catch (Exception e) {
            mLogger.error("Unexpected exception",e);
    //#OldPageHelper.java:235: Warning: method not available
    //#    -- call on void org.apache.commons.logging.Log:error(Object, Throwable)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String showWeblogCalendar(bool, String)
    //#    unanalyzed callee: void org.apache.commons.logging.Log:error(Object, Throwable)
        }
        return ret;
    //#OldPageHelper.java:237: end of method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.showWeblogCalendar(bool, String)
    }
    
    
    /**
     * Convenience method, contrived helper for Velocity.
     * @param useIds
     * @param isAction
     * @param path
     * @param val1
     * @param val2
     * @return String
     */
    public String strutsUrlHelper( boolean useIds, boolean isAction,
            String path, String val1, String val2) {
        Hashtable params = new Hashtable();
    //#OldPageHelper.java:252: method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.strutsUrlHelper(bool, bool, String, String, String)
    //#input(String strutsUrlHelper(bool, bool, String, String, String)): ".roller-ui.authoring.entryAdd.rol?weblog="._tainted
    //#input(String strutsUrlHelper(bool, bool, String, String, String)): ".roller-ui.authoring.weblogConfig.rol?weblog="._tainted
    //#input(String strutsUrlHelper(bool, bool, String, String, String)): __Descendant_Table[org/apache/roller/weblogger/ui/rendering/velocity/deprecated/OldPageHelper]
    //#input(String strutsUrlHelper(bool, bool, String, String, String)): __Descendant_Table[others]
    //#input(String strutsUrlHelper(bool, bool, String, String, String)): __Dispatch_Table.strutsUrlHelper1(ZZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Hashtable;)Ljava/lang/String;
    //#input(String strutsUrlHelper(bool, bool, String, String, String)): isAction
    //#input(String strutsUrlHelper(bool, bool, String, String, String)): path
    //#input(String strutsUrlHelper(bool, bool, String, String, String)): this
    //#input(String strutsUrlHelper(bool, bool, String, String, String)): this.__Tag
    //#input(String strutsUrlHelper(bool, bool, String, String, String)): useIds
    //#input(String strutsUrlHelper(bool, bool, String, String, String)): val1
    //#input(String strutsUrlHelper(bool, bool, String, String, String)): val1._tainted
    //#input(String strutsUrlHelper(bool, bool, String, String, String)): val2
    //#output(String strutsUrlHelper(bool, bool, String, String, String)): java.lang.StringBuilder:toString(...)._tainted
    //#output(String strutsUrlHelper(bool, bool, String, String, String)): return_value
    //#new obj(String strutsUrlHelper(bool, bool, String, String, String)): java.lang.StringBuilder:toString(...)
    //#pre[4] (String strutsUrlHelper(bool, bool, String, String, String)): this.__Tag == org/apache/roller/weblogger/ui/rendering/velocity/deprecated/OldPageHelper
    //#post(String strutsUrlHelper(bool, bool, String, String, String)): init'ed(java.lang.StringBuilder:toString(...)._tainted)
    //#post(String strutsUrlHelper(bool, bool, String, String, String)): init'ed(return_value)
    //#unanalyzed(String strutsUrlHelper(bool, bool, String, String, String)): Effects-of-calling:org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger
    //#unanalyzed(String strutsUrlHelper(bool, bool, String, String, String)): Effects-of-calling:org.apache.roller.weblogger.business.Weblogger:getUrlStrategy
    //#unanalyzed(String strutsUrlHelper(bool, bool, String, String, String)): Effects-of-calling:java.lang.StringBuilder
    //#unanalyzed(String strutsUrlHelper(bool, bool, String, String, String)): Effects-of-calling:java.lang.StringBuilder:append
    //#unanalyzed(String strutsUrlHelper(bool, bool, String, String, String)): Effects-of-calling:java.lang.StringBuilder:toString
    //#unanalyzed(String strutsUrlHelper(bool, bool, String, String, String)): Effects-of-calling:java.lang.String:equals
    //#unanalyzed(String strutsUrlHelper(bool, bool, String, String, String)): Effects-of-calling:org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getRelativeContextURL
    //#unanalyzed(String strutsUrlHelper(bool, bool, String, String, String)): Effects-of-calling:org.apache.roller.weblogger.business.URLStrategy:getLogoutURL
    //#unanalyzed(String strutsUrlHelper(bool, bool, String, String, String)): Effects-of-calling:org.apache.roller.weblogger.business.URLStrategy:getLoginURL
        return strutsUrlHelper1( useIds, isAction, path, val1, val2, params);
    //#OldPageHelper.java:253: end of method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.strutsUrlHelper(bool, bool, String, String, String)
    }
    
    
    /**
     * Very contrived helper method for Velocimacros generating Struts links.
     * This is really only of use to the showNavBar macro.
     * @param useIds
     * @param isAction
     * @param path
     * @param val1
     * @param val2
     * @return String
     */
    public String strutsUrlHelper1( boolean useIds, boolean isAction,
            String path, String val1, String val2, Hashtable params) {
        
        // NOTE: this method is now official defunct since Weblogger 4.0
        // when we EOLed struts1 and had no real equivalent for this
        
        if(path == null) {
    //#OldPageHelper.java:273: method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.strutsUrlHelper1(bool, bool, String, String, String, Hashtable)
    //#input(String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)): ".roller-ui.authoring.entryAdd.rol?weblog="._tainted
    //#input(String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)): ".roller-ui.authoring.weblogConfig.rol?weblog="._tainted
    //#input(String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)): path
    //#input(String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)): val1
    //#input(String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)): val1._tainted
    //#output(String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)): java.lang.StringBuilder:toString(...)._tainted
    //#output(String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)): return_value
    //#new obj(String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)): java.lang.StringBuilder:toString(...)
    //#presumption(String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)): org.apache.roller.weblogger.business.Weblogger:getUrlStrategy(...)@282 != null
    //#presumption(String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)): org.apache.roller.weblogger.business.Weblogger:getUrlStrategy(...)@284 != null
    //#presumption(String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)): org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger(...)@282 != null
    //#presumption(String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)): org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger(...)@284 != null
    //#post(String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)): init'ed(java.lang.StringBuilder:toString(...)._tainted)
    //#post(String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)): init'ed(return_value)
    //#test_vector(String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)): path: Inverse{null}, Addr_Set{null}
    //#test_vector(String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)): java.lang.String:equals(...)@275: {0}, {1}
    //#test_vector(String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)): java.lang.String:equals(...)@278: {0}, {1}
    //#test_vector(String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)): java.lang.String:equals(...)@281: {0}, {1}
    //#test_vector(String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)): java.lang.String:equals(...)@283: {0}, {1}
            return null;
        } else if("weblogCreate".equals(path)) {
            // a little hacky, but hopefully nobody is really using this anymore
            return WebloggerRuntimeConfig.getRelativeContextURL()+"/roller-ui/authoring/entryAdd.rol?weblog="+val1;
    //#OldPageHelper.java:277: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getRelativeContextURL()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)
    //#    unanalyzed callee: String org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getRelativeContextURL()
        } else if("editWebsite".equals(path)) {
            // a little hacky, but hopefully nobody is really using this anymore
            return WebloggerRuntimeConfig.getRelativeContextURL()+"/roller-ui/authoring/weblogConfig.rol?weblog="+val1;
    //#OldPageHelper.java:280: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getRelativeContextURL()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)
    //#    unanalyzed callee: String org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getRelativeContextURL()
        } else if("logout-redirect".equals(path)) {
            return WebloggerFactory.getWeblogger().getUrlStrategy().getLogoutURL(false);
    //#OldPageHelper.java:282: Warning: method not available
    //#    -- call on Weblogger org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)
    //#    unanalyzed callee: Weblogger org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger()
    //#OldPageHelper.java:282: Warning: method not available
    //#    -- call on URLStrategy org.apache.roller.weblogger.business.Weblogger:getUrlStrategy()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)
    //#    unanalyzed callee: URLStrategy org.apache.roller.weblogger.business.Weblogger:getUrlStrategy()
    //#OldPageHelper.java:282: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.business.URLStrategy:getLogoutURL(bool)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)
    //#    unanalyzed callee: String org.apache.roller.weblogger.business.URLStrategy:getLogoutURL(bool)
        } else if("login-redirect".equals(path)) {
            return WebloggerFactory.getWeblogger().getUrlStrategy().getLoginURL(false);
    //#OldPageHelper.java:284: Warning: method not available
    //#    -- call on Weblogger org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)
    //#    unanalyzed callee: Weblogger org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger()
    //#OldPageHelper.java:284: Warning: method not available
    //#    -- call on URLStrategy org.apache.roller.weblogger.business.Weblogger:getUrlStrategy()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)
    //#    unanalyzed callee: URLStrategy org.apache.roller.weblogger.business.Weblogger:getUrlStrategy()
    //#OldPageHelper.java:284: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.business.URLStrategy:getLoginURL(bool)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String strutsUrlHelper1(bool, bool, String, String, String, Hashtable)
    //#    unanalyzed callee: String org.apache.roller.weblogger.business.URLStrategy:getLoginURL(bool)
        } else {
            return "<span class=\"error\">ERROR generating link</span>";
    //#OldPageHelper.java:286: end of method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.strutsUrlHelper1(bool, bool, String, String, String, Hashtable)
        }
    }
    
    
    /**
     * Pass the String through any PagePlugins that have been
     * assigned to the PageHelper, as selected by the Entry.
     *
     * @param entry Entry being rendered.
     * @param str   String to which plugins are to be applied.
     * @return      Result of applying plugins to str.
     */
    public String renderPlugins(WeblogEntryWrapper entry, String str) {
        String ret = str;
    //#OldPageHelper.java:300: method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.renderPlugins(WeblogEntryWrapper, String)
    //#input(String renderPlugins(WeblogEntryWrapper, String)): "ERROR from plugin: "._tainted
    //#input(String renderPlugins(WeblogEntryWrapper, String)): entry
    //#input(String renderPlugins(WeblogEntryWrapper, String)): mLogger
    //#input(String renderPlugins(WeblogEntryWrapper, String)): str
    //#input(String renderPlugins(WeblogEntryWrapper, String)): this
    //#input(String renderPlugins(WeblogEntryWrapper, String)): this.mPagePlugins
    //#output(String renderPlugins(WeblogEntryWrapper, String)): return_value
    //#pre[2] (String renderPlugins(WeblogEntryWrapper, String)): mLogger != null
    //#pre[5] (String renderPlugins(WeblogEntryWrapper, String)): init'ed(this.mPagePlugins)
    //#pre[1] (String renderPlugins(WeblogEntryWrapper, String)): (soft) entry != null
    //#presumption(String renderPlugins(WeblogEntryWrapper, String)): java.util.Map:get(...)@315 != null
    //#presumption(String renderPlugins(WeblogEntryWrapper, String)): java.util.Map:keySet(...)@311 != null
    //#post(String renderPlugins(WeblogEntryWrapper, String)): init'ed(return_value)
    //#test_vector(String renderPlugins(WeblogEntryWrapper, String)): this.mPagePlugins: Addr_Set{null}, Inverse{null}
    //#test_vector(String renderPlugins(WeblogEntryWrapper, String)): java.util.Iterator:hasNext(...)@312: {0}, {1}
    //#test_vector(String renderPlugins(WeblogEntryWrapper, String)): java.util.List:contains(...)@314: {0}, {1}
    //#test_vector(String renderPlugins(WeblogEntryWrapper, String)): java.util.List:isEmpty(...)@306: {1}, {0}
    //#test_vector(String renderPlugins(WeblogEntryWrapper, String)): org.apache.roller.weblogger.pojos.wrapper.WeblogEntryWrapper:getPluginsList(...)@304: Addr_Set{null}, Inverse{null}
        mLogger.debug("Applying page plugins to string");
    //#OldPageHelper.java:301: Warning: method not available
    //#    -- call on void org.apache.commons.logging.Log:debug(Object)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String renderPlugins(WeblogEntryWrapper, String)
    //#    unanalyzed callee: void org.apache.commons.logging.Log:debug(Object)
        
        if (mPagePlugins != null) {
            List entryPlugins = entry.getPluginsList();
    //#OldPageHelper.java:304: Warning: method not available
    //#    -- call on List org.apache.roller.weblogger.pojos.wrapper.WeblogEntryWrapper:getPluginsList()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String renderPlugins(WeblogEntryWrapper, String)
    //#    unanalyzed callee: List org.apache.roller.weblogger.pojos.wrapper.WeblogEntryWrapper:getPluginsList()
            // if no Entry plugins, don't bother looping.
            if (entryPlugins != null && !entryPlugins.isEmpty()) {
                
                // now loop over mPagePlugins, matching
                // against Entry plugins (by name):
                // where a match is found render Plugin.
                Iterator iter = mPagePlugins.keySet().iterator();
                while (iter.hasNext()) {
                    String key = (String)iter.next();
                    if (entryPlugins.contains(key)) {
                        WeblogEntryPlugin pagePlugin = (WeblogEntryPlugin)mPagePlugins.get(key);
                        try {
                            ret = pagePlugin.render(entry.getPojo(), ret);
    //#OldPageHelper.java:317: Warning: method not available
    //#    -- call on WeblogEntry org.apache.roller.weblogger.pojos.wrapper.WeblogEntryWrapper:getPojo()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String renderPlugins(WeblogEntryWrapper, String)
    //#    unanalyzed callee: WeblogEntry org.apache.roller.weblogger.pojos.wrapper.WeblogEntryWrapper:getPojo()
    //#OldPageHelper.java:317: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.business.plugins.entry.WeblogEntryPlugin:render(WeblogEntry, String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String renderPlugins(WeblogEntryWrapper, String)
    //#    unanalyzed callee: String org.apache.roller.weblogger.business.plugins.entry.WeblogEntryPlugin:render(WeblogEntry, String)
                        } catch (Throwable t) {
                            mLogger.error("ERROR from plugin: " + pagePlugin.getName(), t);
    //#OldPageHelper.java:319: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.business.plugins.entry.WeblogEntryPlugin:getName()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String renderPlugins(WeblogEntryWrapper, String)
    //#    unanalyzed callee: String org.apache.roller.weblogger.business.plugins.entry.WeblogEntryPlugin:getName()
    //#OldPageHelper.java:319: Warning: method not available
    //#    -- call on void org.apache.commons.logging.Log:error(Object, Throwable)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
    //#    method: String renderPlugins(WeblogEntryWrapper, String)
    //#    unanalyzed callee: void org.apache.commons.logging.Log:error(Object, Throwable)
                        }
                    }
                }
            }
        }
        
        return ret;
    //#OldPageHelper.java:326: end of method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.renderPlugins(WeblogEntryWrapper, String)
    }
    
    
    /**
     * This method used to return an array of supported locales based on some
     * of the old i18n work done in Weblogger, however, as of Weblogger 3.0 there is
     * no longer a list of supported languages.  The languages available to a
     * weblog are unbounded and are purely determined by the weblog author.
     * 
     * This method always returns null.
     */
    public Locale[] getSupportedLanguages() {
        return null;
    //#OldPageHelper.java:339: method: Locale[] org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.getSupportedLanguages()
    //#output(Locale[] getSupportedLanguages()): return_value
    //#post(Locale[] getSupportedLanguages()): return_value == null
    //#OldPageHelper.java:339: end of method: Locale[] org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.getSupportedLanguages()
    }
    
    
    /**
     * @return relative URL to page, starting with /username
     */
    public String getPathInfo() {
        String pathInfo = mRequest.getPathInfo();
    //#OldPageHelper.java:347: method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.getPathInfo()
    //#input(String getPathInfo()): this
    //#input(String getPathInfo()): this.mRequest
    //#output(String getPathInfo()): return_value
    //#pre[2] (String getPathInfo()): this.mRequest != null
    //#post(String getPathInfo()): return_value != null
    //#test_vector(String getPathInfo()): javax.servlet.http.HttpServletRequest:getPathInfo(...)@347: Inverse{null}, Addr_Set{null}
        if(pathInfo == null) {
            pathInfo = "";
        }
        
        return pathInfo;
    //#OldPageHelper.java:352: end of method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.getPathInfo()
    }
    
    
    public String getCommentAuthenticatorHtml() {
        // deprecated, does nothing now
        return "";
    //#OldPageHelper.java:358: method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.getCommentAuthenticatorHtml()
    //#output(String getCommentAuthenticatorHtml()): return_value
    //#post(String getCommentAuthenticatorHtml()): return_value == &""
    //#OldPageHelper.java:358: end of method: String org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper.getCommentAuthenticatorHtml()
    }
    
}
    //#OldPageHelper.java:: end of class: org.apache.roller.weblogger.ui.rendering.velocity.deprecated.OldPageHelper
