Beispiel #1
0
        private string BuildTabST(bool rebuilding = false)
        {
            var stb = new StringBuilder();
            var st  = new clsJQuery.jqSlidingTab("myslide1ID", this.PageName, false);

            st.initiallyOpen      = true;
            st.callGetOnOpenClose = false;
            st.tab.AddContent("my sliding tab");
            st.tab.name = "myslide_name";
            st.tab.tabName.Unselected = "Unselected Tab Title";
            st.tab.tabName.Selected   = "Selected Tab Title";

            stb.Append(st.Build());
            if (rebuilding)
            {
                this.divToUpdate.Add("TabST_div", stb.ToString());
            }
            return(stb.ToString());
        }
Beispiel #2
0
        public string GetPagePlugin(string page, string user, int userRights, string queryString)
        {
            var returnString = new StringBuilder();

            reset();
            UsesJqAll = true;

            returnString.Append($"<title>About {Utility.PluginName} plugin</title>");
            returnString.Append(_hs.GetPageHeader(_pageName, Utility.PluginName, "", "", false, false));
            returnString.Append(DivStart("pluginpage", ""));

            returnString.Append("<br/>");
            returnString.Append("<br/>Big thank you to :");
            returnString.Append("<br/>");
            //returnString.Append("<br/>Kenneth at <a href=\"https://www.hjemmeautomasjon.no\" target=\"_blank\">www.hjemmeautomasjon.no</a>");

            returnString.Append("<br/>Moskus at <a href=\"https://www.hjemmeautomasjon.no\" target=\"_blank\">www.hjemmeautomasjon.no</a>");
            returnString.Append("<br/>");


            returnString.Append("<br/>");
            returnString.Append($"<br/>Guahtdim 2019 - {Utility.PluginName} version: " + Assembly.GetExecutingAssembly().GetName().Version);
            returnString.Append("<br/>");
            returnString.Append("<br/>Donations to paypal account [email protected] ");
            returnString.Append("<br/>");
            returnString.Append("<br/>");
            returnString.Append("<br/>");
            var advancedText = new clsJQuery.jqSlidingTab("donations", PageName, false);

            advancedText.initiallyOpen        = false;
            advancedText.tab.name             = "Donations";
            advancedText.tab.tabName.Selected = "Donations";
            advancedText.tab.AddContent(CreateDonationsContent());
            returnString.Append(advancedText.Build());
            returnString.Append("<br/>");
            returnString.Append("<br/>");
            returnString.Append(DivEnd());
            AddFooter(_hs.GetPageFooter());
            suppressDefaultFooter = true;
            AddBody(returnString.ToString());
            return(BuildPage());
        }