|
| : | <% string siteUrl = Web.Url + "/"; SPHttpUtility.HtmlEncode(siteUrl,Response.Output);%> |
<%
string externalPath = SPMobileUtility.GenerateExternalUri(new Uri(siteUrl));
if (!String.IsNullOrEmpty(externalPath))
{
if (!externalPath.EndsWith("/", StringComparison.InvariantCulture))
{
externalPath += "/";
}
%>
| : |
<%
SPHttpUtility.HtmlEncode(externalPath,Response.Output);
%>
|
<%
}
%>
| : |
<%
string mobilePath = SPMobileUtility.AppendMobileQueryString(siteUrl, true);
SPHttpUtility.HtmlEncode(mobilePath,Response.Output);
%>
|
<%
if (!String.IsNullOrEmpty(externalPath))
{
%>
| : |
<%
string mobileExternalPath = SPMobileUtility.AppendMobileQueryString(externalPath, true);
SPHttpUtility.HtmlEncode(mobileExternalPath,Response.Output);
%>
|
<%
}
%>
|
|