Esempio n. 1
0
        // -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        string BuildSubMenuText(bool friendlyWanted, bool plain, string callingServlet, string account, string dateFrom, string dateTo, string p5, string p6, string unm, string sid, string uty,
                                string men, string den, string dnm, string bnm, int[] hmenuCount)
        {
            string s = "<div id='submenu'>";

            hmenuCount[0] = 1;

            // does friendly printing for GL
            if (friendlyWanted && !plain)
            {
                s += "<dl><dt onmouseover=\"setup('hmenu" + hmenuCount[0]++ + "');\">";
                s += "<a href=\"/central/servlet/" + callingServlet + "?unm=" + unm + "&sid=" + sid + "&uty=" + uty + "&men=" + men + "&den=" + den + "&dnm=" + dnm
                     + "&bnm=" + bnm + "&p1=" + account + "&p2=" + generalUtils.ConvertFromYYYYMMDD(dateFrom) + "&p3="
                     + generalUtils.ConvertFromYYYYMMDD(dateTo) + "&p5=" + p5 + "&p6=" + p6 + "&p4=P\">Friendly</a></dt></dl>";
            }

            s += "</div>";

            --hmenuCount[0];

            return(s);
        }