public static string B_get_maximized_dialog(Global global, string sShopId)
    {
        backoffice.admin_shop shop = global.www_backoffice().get_shop(sShopId);

        StringBuilder s = new StringBuilder();

        // 21 okt

        s.Append(HTML_TOOLBOX.infobox_TWITTER_fixed_width_var_height("",
                                                                     shop.sParentName +
                                                                     "<br> " + shop.sName +
                                                                     "<br><br>Lojalitetsprosent:  " + shop.iLoyaltyPercent.ToString() + " %" +
                                                                     HTML_TOOLBOX.newline() +
                                                                     SHOP_UPDATE.ENROLLMENT_UPDATE.A_get_minimized_dialog(shop, true) +
                                                                     HTML_TOOLBOX.newline() +
                                                                     SHOP_UPDATE.MERCHANT_UPDATE.A_get_minimized_dialog(shop, true) +
                                                                     HTML_TOOLBOX.newline() +
                                                                     SHOP_UPDATE.ENROLLMENT_SMS_UPDATE.A_get_minimized_dialog(shop, true) +
                                                                     HTML_TOOLBOX.newline() +
                                                                     HTML_TOOLBOX.button_GOOGLE("Lukk vindu", 10, 4, 4, 4, 4, "shop_update_close_shop('" + shop.iId.ToString() + "')"), 12, 400, 10, 10, 10, 10, ""));

        return(s.ToString());
    }
示例#2
0
 private static string getHoursSinceButton(int iHours)
 {
     return(HTML_TOOLBOX.button_GOOGLE(iHours.ToString(), 10, 3, 3, 3, 3, "alert('Hei')"));
 }