I have a SharePoint 2010 web application that will be accessed by internal employees and outside partners which I would like to use the same url.
I have开发者_如何学运维 it set up for Claims based authentication with Windows and Forms based authentication enabled. The default login page looks as follows:
I would like to edit the text in the drop-down menu to say "Internal Employees" instead of "Windows Authentication" and "External Partners" instead of "Forms Authentication" as well as change the red error image to the company logo.
if you don't mind a javascript solution you can do something like this:
http://jsfiddle.net/pxfunc/jXd2H/
var ddlLogin = document.getElementById("[drop down's client ID]");
ddlLogin.options[0].innerText = "Internal Employees";
ddlLogin.options[1].innerText = "External Partners";
You'll need to determine the client ID for the select box or if you know the server-side ID use document.getElementById("<%=LoginTypeDropDown.ClientID %>");
(assuming server-side ID is LoginTypeDropDown
)
精彩评论