<%@ Assembly Name="Microsoft.SharePoint.ApplicationPages, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%> <%@ Page Language="C#" DynamicMasterPageFile="~masterurl/default.master" Inherits="Microsoft.SharePoint.WebControls.LayoutsPageBase" %> <%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %> <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint" %> <%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register TagPrefix="wssuc" TagName="BdcFinderConfigurator" src="~/_controltemplates/BdcFinderConfigurator.ascx" %> <%@ Register TagPrefix="wssuc" TagName="LinksTable" src="/_controltemplates/LinksTable.ascx" %> <%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="/_controltemplates/InputFormSection.ascx" %> <%@ Register TagPrefix="wssuc" TagName="InputFormControl" src="/_controltemplates/InputFormControl.ascx" %> <%@ Register TagPrefix="wssuc" TagName="LinkSection" src="/_controltemplates/LinkSection.ascx" %> <%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="/_controltemplates/ButtonSection.ascx" %> <%@ Register TagPrefix="wssuc" TagName="ActionBar" src="/_controltemplates/ActionBar.ascx" %> <%@ Register TagPrefix="wssuc" TagName="ToolBar" src="/_controltemplates/ToolBar.ascx" %> <%@ Register TagPrefix="wssuc" TagName="ToolBarButton" src="/_controltemplates/ToolBarButton.ascx" %> <%@ Register TagPrefix="wssuc" TagName="Welcome" src="/_controltemplates/Welcome.ascx" %> <%@ Register Tagprefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import namespace = "System.IO" %> <%@ Import namespace = "System.Xml" %> <%@ Import namespace = "System.Globalization" %> <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Meetings" Namespace="Microsoft.SharePoint.Meetings" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> ><%SPHttpUtility.HtmlEncode(spList.Title,Response.Output);%> > <% if (strViewType == "GRID") { %> <% } else if (strViewType == "CALENDAR") { %> <% } else { %> <% } %> <% if (!bViewReadOnly) { %> <% { string str = (string)(this.GetGlobalResourceObject("wss", "viewnew_pagedescription")); string strParam; switch (iBaseType) { case SPBaseType.DocumentLibrary: if (SPListTemplateType.PictureLibrary == iServerTemplate) { strParam = "listname_picturelib"; } else if (SPListTemplateType.XMLForm == iServerTemplate) { strParam = "listname_formlib"; } else if (SPListTemplateType.DataConnectionLibrary == iServerTemplate) { strParam = "listname_dcllib"; } else if (SPListTemplateType.ListTemplateCatalog == iServerTemplate || SPListTemplateType.WebTemplateCatalog == iServerTemplate || SPListTemplateType.WebPartCatalog == iServerTemplate) { strParam = "listname_gallery"; } else { strParam = "listname_doclib"; } break; case SPBaseType.DiscussionBoard: strParam = "listname_disc"; break; case SPBaseType.Survey: strParam = "listname_survey"; break; default: strParam = "listname_list"; break; } strParam = (string)(this.GetGlobalResourceObject("wss", strParam)); str = string.Format(str, strParam); SPHttpUtility.NoEncode(str,Response.Output); } %> <% } %> <% String strView = ""; strView = Request.QueryString["View"]; bool bOrderedList = spList.Ordered; bool bCalSingleDate = true; String[] strFieldPicker = new String[10]; String[] strOperatorPicker = new String[10]; String[] strCompareWithValue = new String[10]; bool[] bNextIsAnd = new bool[10]; bool bBrowserIsIE = ((Request.Browser.Browser.ToUpper().IndexOf("IE") > -1) && Request.Browser.Win32); %> <% bool bViewDefaultView = false; bool bViewDefaultViewForContentType = false; bool bThreaded = false; bool bOrderedView = false; bool bViewPoisoned = false; bool bViewPaged = true; bool bCreatePersonalView = false; bool bIncludeRootFolder = false; String strViewUrl = ""; String strViewDirName = ""; String strViewRootName = ""; string strMobileSimpleViewField = ""; uint iViewRowLimit = 30; uint iViewMobileItemLimit = 3; SPViewFieldCollection spViewFields; SPViewScope viewScope; if (bBasedOnExistingView) { iViewRowLimit = spView.RowLimit; iViewMobileItemLimit = spView.MobileItemLimit; strMobileSimpleViewField = spView.MobileSimpleViewField; bViewPaged = spView.Paged; bViewPoisoned = spView.EditorModified; bThreaded = spView.Threaded; spViewFields = spView.ViewFields; viewScope = spView.Scope; bIncludeRootFolder = spView.IncludeRootFolder; bCreatePersonalView = spView.PersonalView || !spList.DoesUserHavePermissions(SPBasePermissions.ManageLists); bOrderedView = spView.OrderedView; bModerationView = (spList.EnableModeration && !(spView.ModerationType == null || spView.ModerationType.Length == 0)); if (strViewType == "CALENDAR") { bCalSingleDate = (spViewFields.Count == 2); } } else { bViewPoisoned = false; viewScope = SPViewScope.Default; string inputScope = Request.QueryString["Scope"]; bCreatePersonalView = !spList.DoesUserHavePermissions(SPBasePermissions.ManageLists); if ("RecursiveAll".Equals(inputScope)) { viewScope = SPViewScope.RecursiveAll; } else if ("Recursive".Equals(inputScope)) { viewScope = SPViewScope.Recursive; } bThreaded = false; bOrderedView = false; bIncludeRootFolder = false; spViewFields = null; if (iBaseType == SPBaseType.DiscussionBoard) { if ((spList.DefaultView != null) && !spList.DefaultView.Threaded) spViewFields = spList.DefaultView.ViewFields; else { for (int i = 0; i < spList.Views.Count; i++) { if (spList.Views[i].BaseViewID == "2") { spViewFields = spList.Views[i].ViewFields; break; } } } } else { if (spList.DefaultView != null) spViewFields = spList.DefaultView.ViewFields; } } string hiddenFilter = String.Empty; %> <% XmlNode m_nodeOrderBy = null; XmlNode m_nodeGroupBy = null; XmlNode m_nodeWhere = null; XmlDocument xmlQuery = null; ArrayList m_alFieldRef = null; ArrayList m_alOperator = null; ArrayList m_alValue = null; ArrayList m_alAndOr = null; int FilterCount = 0; bool bOverrideOrderBy = false; if (bBasedOnExistingView) { String q = ""+spView.Query+""; xmlQuery = new XmlDocument(); if (q != null && q != String.Empty) { xmlQuery.LoadXml(q); XmlNodeList node = xmlQuery.FirstChild.ChildNodes; for (int i = 0; i < node.Count; i++) { if (node.Item(i).Name == "GroupBy") { m_nodeGroupBy = node.Item(i); } if (node.Item(i).Name == "OrderBy") { m_nodeOrderBy = node.Item(i); } if (node.Item(i).Name == "Where") { m_nodeWhere = node.Item(i); } } } if (m_nodeOrderBy != null && m_nodeOrderBy.Attributes != null && m_nodeOrderBy.Attributes["Override"] != null) { CompareInfo compInfo = CultureInfo.InvariantCulture.CompareInfo; bOverrideOrderBy = (0 == compInfo.Compare( m_nodeOrderBy.Attributes["Override"].Value, "TRUE", CompareOptions.IgnoreCase)); } if (m_nodeWhere != null) { XmlNode filter = m_nodeWhere.FirstChild; if (filter != null) { if (filter.Name == "And") { XmlNodeList operands = filter.ChildNodes; if (operands.Count == 2) { bool firstOperandHidden = IsHiddenFilter(operands[0]); bool secondOperandHidden = IsHiddenFilter(operands[1]); if (firstOperandHidden && secondOperandHidden) { hiddenFilter = filter.OuterXml; filter = null; } else if (firstOperandHidden) { hiddenFilter = operands[0].OuterXml; filter = operands[1]; } else if (secondOperandHidden) { hiddenFilter = operands[1].OuterXml; filter = operands[0]; } } } else if (IsHiddenFilter(filter)) { hiddenFilter = filter.OuterXml; m_nodeWhere = null; filter = null; } } if ((m_alFieldRef == null) && (filter != null)) { m_alFieldRef = new ArrayList(); m_alOperator = new ArrayList(); m_alValue = new ArrayList(); m_alAndOr = new ArrayList(); XmlNodeReader reader = new XmlNodeReader(filter); while (reader.Read()) { if (reader.NodeType == XmlNodeType.Element) { if ((reader.Name == "And") || (reader.Name == "Or") ) m_alAndOr.Insert(0, reader.Name); else if (reader.Name == Convert.ToString("FieldRef")) m_alFieldRef.Add(reader["Name"]); else if (reader.Name == Convert.ToString("Value")) { if (reader.Read()) { if (reader.NodeType.ToString() == "Text") m_alValue.Add(reader.Value); else if (reader.NodeType== XmlNodeType.Element) { if (reader.Name == "Today") { string displayValue = SPResource.GetString("Today"); string daysOffset = reader["OffsetDays"]; if (!String.IsNullOrEmpty(daysOffset)) { if (daysOffset[0] != '-') displayValue += '+'; displayValue += daysOffset; } m_alValue.Add(displayValue); } else if (reader.Name == "UserID" ) m_alValue.Add(SPResource.GetString("Me")); else if (reader.Name == "GetVar" && reader.GetAttribute("Name") == "ID") m_alValue.Add("[ID]"); } else m_alValue.Add(String.Empty); } } else if (reader.Name == "DateRangesOverlap" || reader.Name == "Membership") { int depth = reader.Depth; while (reader.Read()) { if (depth == reader.Depth && reader.NodeType == XmlNodeType.EndElement) { break; } } } else { m_alOperator.Add(reader.Name); if ((reader.Name == "IsNull") || (reader.Name == "IsNotNull") ) m_alValue.Add(String.Empty); } } } } } } else { hiddenFilter = ""; } string ganttTitle = null; string ganttStartDate = null; string ganttEndDate = null; string ganttPercentComplete = null; string ganttPredecessors = null; string calendarMonthTitle = null; string calendarWeekTitle = null; string calendarWeekLocation = null; string calendarDayTitle = null; string calendarDayLocation = null; if (bBasedOnExistingView) { XmlTextReader rdr = new XmlTextReader(new StringReader("" + spView.ViewData + "")); while (rdr.Read()) { if (String.Compare(rdr.LocalName, "FieldRef", true, CultureInfo.InvariantCulture) == 0) { string typeAttr = rdr.GetAttribute("Type"); if (!String.IsNullOrEmpty(typeAttr)) { if (String.Compare(typeAttr, "GanttTitle", true, CultureInfo.InvariantCulture) == 0) ganttTitle = rdr.GetAttribute("Name"); if (String.Compare(typeAttr, "GanttStartDate", true, CultureInfo.InvariantCulture) == 0) ganttStartDate = rdr.GetAttribute("Name"); if (String.Compare(typeAttr, "GanttEndDate", true, CultureInfo.InvariantCulture) == 0) ganttEndDate = rdr.GetAttribute("Name"); if (String.Compare(typeAttr, "GanttPercentComplete", true, CultureInfo.InvariantCulture) == 0) ganttPercentComplete = rdr.GetAttribute("Name"); if (String.Compare(typeAttr, "GanttPredecessors", true, CultureInfo.InvariantCulture) == 0) ganttPredecessors = rdr.GetAttribute("Name"); if (String.Compare(typeAttr, "CalendarMonthTitle", true, CultureInfo.InvariantCulture) == 0) calendarMonthTitle = rdr.GetAttribute("Name"); if (String.Compare(typeAttr, "CalendarWeekTitle", true, CultureInfo.InvariantCulture) == 0) calendarWeekTitle = rdr.GetAttribute("Name"); if (String.Compare(typeAttr, "CalendarWeekLocation", true, CultureInfo.InvariantCulture) == 0) calendarWeekLocation = rdr.GetAttribute("Name"); if (String.Compare(typeAttr, "CalendarDayTitle", true, CultureInfo.InvariantCulture) == 0) calendarDayTitle = rdr.GetAttribute("Name"); if (String.Compare(typeAttr, "CalendarDayLocation", true, CultureInfo.InvariantCulture) == 0) calendarDayLocation = rdr.GetAttribute("Name"); } } } } %> <% String strGroupByField1 = String.Empty; String strGroupByField2 = String.Empty; bool bGroupByDirection1 = true; bool bGroupByDirection2 = true; bool bCollapseGroups = true; uint iViewGroupLimit = 30; String strOrderByField1 = String.Empty; String strOrderByField2 = String.Empty; bool bOrderByDirection1 = true; bool bOrderByDirection2 = true; bool bIsThereAQuery = false; if (bBasedOnExistingView) { if (m_nodeWhere != null && m_alFieldRef != null) { FilterCount = m_alFieldRef.Count; } strGroupByField1 = GetQueryPartFields(0,0, m_nodeGroupBy, m_nodeOrderBy ); strGroupByField2 = GetQueryPartFields(0,1, m_nodeGroupBy, m_nodeOrderBy ); bGroupByDirection1 =GetQueryPartDirections(0,0, m_nodeGroupBy, m_nodeOrderBy ); bGroupByDirection2 =GetQueryPartDirections(0,1, m_nodeGroupBy, m_nodeOrderBy ); bCollapseGroups = CollapseGroups(m_nodeGroupBy); iViewGroupLimit = GetGroupLimit(m_nodeGroupBy); strOrderByField1 = GetQueryPartFields(1,0, m_nodeGroupBy, m_nodeOrderBy ); strOrderByField2 = GetQueryPartFields(1,1, m_nodeGroupBy, m_nodeOrderBy ); bOrderByDirection1 = GetQueryPartDirections(1,0, m_nodeGroupBy, m_nodeOrderBy ); bOrderByDirection2 =GetQueryPartDirections(1,1, m_nodeGroupBy, m_nodeOrderBy ); bIsThereAQuery = FilterCount > 0; for(int i=0; i < 10; i++) { strFieldPicker[i] = GetFilterString(0,i, m_nodeWhere, m_alFieldRef, m_alOperator, m_alValue ); strOperatorPicker[i] = GetFilterString(1,i, m_nodeWhere, m_alFieldRef, m_alOperator, m_alValue ); strCompareWithValue[i] = GetFilterString(2,i, m_nodeWhere, m_alFieldRef, m_alOperator, m_alValue ); if (i > 0) { bNextIsAnd[i - 1] = IsFilterConditionAnd(i - 1, m_nodeWhere, m_alAndOr); } } } else { for(int i=0; i < 10; i++) { strFieldPicker[i] = String.Empty; strOperatorPicker[i] = "eq"; strCompareWithValue[i] = String.Empty; bNextIsAnd[i] = false; } if (iBaseType == SPBaseType.Issue) { bIsThereAQuery = true; strFieldPicker[0] = "IsCurrent"; strOperatorPicker[0] = "eq"; strCompareWithValue[0] = "1"; } } %> <% strLocalizedTodayString = SPResource.GetString(Strings.Today); strLocalizedMeString = SPResource.GetString(Strings.Me); strLocalizedYesString = SPResource.GetString(Strings.Yes); strLocalizedNoString = SPResource.GetString(Strings.No); %>
> > > > > > > > > > > > > > <% if (!bViewPoisoned && !bViewReadOnly) { %> <% if (strViewType != "CALENDAR" && !bThreaded) { %> <% } %> <% if (strViewType == "GANTT") { %> <% } %> <% if (strViewType == "CALENDAR") { string strFirstDateFieldName = null; %> <% if (strViewType == "CALENDAR") { %> <% } %> <% } %> <% if(!bThreaded) { %> <% if (strViewType != "CALENDAR" && !bRecurrenceRowset) { %> <% if (bOrderedList && !bPersonalView) { %> <% } %> <% } else { %> > <% } } else { %> >>>>> <% } %> <% if (spList.HasExternalDataSource) { %> <% } %> <% if(!bThreaded) { %> <% if ((FilterCount < 10)) { %> <% } %> <% if (strViewType != "GRID" && strViewType != "CALENDAR" && strViewType != "GANTT" && !bRecurrenceRowset && !spList.HasExternalDataSource) { %> <% } %> <% if (strViewType != "GRID" && strViewType != "CALENDAR" && strViewType != "GANTT" && DisplayTabularViewSection()) { %> <% } %> <% if (strViewType != "GRID" && strViewType != "CALENDAR" && !bRecurrenceRowset) { %> <% } %> <% if (strViewType != "CALENDAR" && !bRecurrenceRowset) { %> <% } if (strViewType != "GRID" && strViewType != "CALENDAR") { if (iBaseType != SPBaseType.DiscussionBoard) { %> <% } } %> <% if (viewScope == SPViewScope.Default || viewScope == SPViewScope.Recursive) { if (strViewType != "CALENDAR" && !spList.HasExternalDataSource && !(SPMeeting.IsMeetingWorkspaceWeb(spWeb) && iBaseType != SPBaseType.DocumentLibrary && !spList.ContentTypesEnabled)) { %> <% } else if (strViewType == "CALENDAR") { %> <% } } else if (viewScope == SPViewScope.Recursive) { %> <% } else if (viewScope == SPViewScope.RecursiveAll) { %> <% } } if (bIncludeRootFolder) { %> <% } if (strViewType != "GRID" && strViewType != "CALENDAR") { %> <% } else { %>   <% } %> <% } else if (strViewType == "GRID") { %> <% } else { %> <% } %> <% } %> <% if (!bPersonalView && !bViewPoisoned && !bViewReadOnly && !bModerationView && iServerTemplate != SPListTemplateType.ListTemplateCatalog && iServerTemplate != SPListTemplateType.WebTemplateCatalog && iServerTemplate != SPListTemplateType.WebPartCatalog && iServerTemplate != SPListTemplateType.MasterPageCatalog && iServerTemplate != SPListTemplateType.DataConnectionLibrary && iServerTemplate != SPListTemplateType.WorkflowHistory && iServerTemplate != SPListTemplateType.DiscussionBoard) { if (strViewType == "HTML" || strViewType == "RECURRENCE" || strViewType == "CALENDAR") { %> <% if (strViewType != "CALENDAR" && iServerTemplate != SPListTemplateType.Contacts && iServerTemplate != SPListTemplateType.Events) { %> <% } %> <% } } %>
 

<% { string str = (string)(this.GetGlobalResourceObject("wss", "viewedit_typenameforthisview")); string strParam; switch (iBaseType) { case SPBaseType.DocumentLibrary: if (SPListTemplateType.PictureLibrary == iServerTemplate) { strParam = "listname_picturelib"; } else if (SPListTemplateType.XMLForm == iServerTemplate) { strParam = "listname_formlib"; } else if (SPListTemplateType.DataConnectionLibrary == iServerTemplate) { strParam = "listname_dcllib"; } else if (SPListTemplateType.ListTemplateCatalog == iServerTemplate || SPListTemplateType.WebTemplateCatalog == iServerTemplate || SPListTemplateType.WebPartCatalog == iServerTemplate) { strParam = "listname_gallery"; } else { strParam = "listname_doclib"; } break; case SPBaseType.DiscussionBoard: strParam = "listname_disc"; break; case SPBaseType.Survey: strParam = "listname_survey"; break; default: strParam = "listname_list"; break; } strParam = (string)(this.GetGlobalResourceObject("wss", strParam)); str = string.Format(str, strParam); SPHttpUtility.NoEncode(str,Response.Output); } %>
 
  : 
  title="" size="30" maxlength="255" id="ViewName">
 
<% if (!bPersonalView && !bCreatePersonalView) { switch ( bViewDefaultView ) { case true: %> <% break; default : if (bViewDefaultViewForContentType || bNewView && spList.DefaultView == null) { %> <% } else { %> <% } %> <% break; } } %>
  <% { string str = (string)(this.GetGlobalResourceObject("wss", "viewedit_applywhenvisitor")); string strParam; switch (iBaseType) { case SPBaseType.DocumentLibrary: if (SPListTemplateType.PictureLibrary == iServerTemplate) { strParam = "listname_picturelib"; } else if (SPListTemplateType.XMLForm == iServerTemplate) { strParam = "listname_formlib"; } else if (SPListTemplateType.DataConnectionLibrary == iServerTemplate) { strParam = "listname_dcllib"; } else if (SPListTemplateType.ListTemplateCatalog == iServerTemplate || SPListTemplateType.WebTemplateCatalog == iServerTemplate || SPListTemplateType.WebPartCatalog == iServerTemplate) { strParam = "listname_gallery"; } else { strParam = "listname_doclib"; } break; case SPBaseType.DiscussionBoard: strParam = "listname_disc"; break; case SPBaseType.Survey: strParam = "listname_survey"; break; default: strParam = "listname_list"; break; } strParam = (string)(this.GetGlobalResourceObject("wss", strParam)); str = string.Format(str, strParam); SPHttpUtility.NoEncode(str,Response.Output); } %>
 
 


 
   
  <% if ( bCreatePersonalView == true ) { %> <% ; } else { %> <% ; } %>  


 
  <% if ( bCreatePersonalView == true ) { %> /> <% ; } else { %> checked="checked" /> <% ;} %>  
 

 

 
 
  <% int iCurrentIndex = -1; if (spViewFields != null) { for ( int iInd1 = 0 ; iInd1 < spViewFields.Count ; iInd1 ++ ) { try { if (projectedFieldNames != null && projectedFieldNames.ContainsKey(spViewFields[iInd1])) { spField = new SPFieldDummyProjected(spFields, "Lookup", spViewFields[iInd1]); } else { spField = spFields.GetFieldByInternalName(spViewFields[iInd1]); } } catch (ArgumentException) { continue; } iCurrentIndex++; String strFieldName = spField.Title; String strAuthoringInfo = strFieldName+" "+spField.AuthoringInfo; %> <% } } for ( int iIndex1 = 0 ; iIndex1 < spOrderedFields.Count ; iIndex1 ++ ) { spField = (SPField)spOrderedFields[iIndex1]; String strFieldName = spField.Title; if (!ShowField(spField)) continue; if (spViewFields != null && spViewFields.Exists(GetInternalName(spField))) continue; iCurrentIndex++; String strAuthoringInfo = strFieldName+" "+spField.AuthoringInfo; %> <% } %>
   
<% if (spViewFields.Explicit(iInd1)) {%> <% } %>   <% string strTemp324 = (string)(this.GetGlobalResourceObject("wss", "viewedit_position_param")); strTemp324 = string.Format(strTemp324, SPHttpUtility.HtmlEncode(strAuthoringInfo)); %>  
  <% string strTemp324 = (string)(this.GetGlobalResourceObject("wss", "viewedit_position_param")); strTemp324 = string.Format(strTemp324, SPHttpUtility.HtmlEncode(strAuthoringInfo)); %>  
  

 

 
 
 
<% if (spWeb.UIVersion == 4) { %> <% } %>
 

 

 
 
 
  

 

 
 
 
  

 

 
 
  <% for ( int iIndexC = 0 ; iIndexC < vsColl.Count ; iIndexC ++ ) { string displayStyle = ""; SPCalendarViewStyle viewStyle = vsColl[iIndexC]; string checkedValue = viewStyle.Default?" CHECKED ":""; if (!enableGroup) { if(viewStyle.Type == "weekgroup" || viewStyle.Type == "daygroup") { displayStyle = "none"; } if(groupDefault && viewStyle.Type == "month") { checkedValue = " CHECKED "; } } %> <% } %>
 
type="radio" value=<%SPHttpUtility.AddQuote(SPHttpUtility.NoEncode(iIndexC.ToString()),Response.Output);%> <%SPHttpUtility.NoEncode(checkedValue,Response.Output);%> />
  

 

 
 
 
  <% if ( bOrderedView == true ) { %> <% ; } else { %> <% ; } %>   <% if ( bOrderedView == true ) { %> <% ; } else { %> <% ;} %>  
 
 
: 
<% if ( bOrderByDirection1 == false ) { %> <% ; } else { %> <% ;} %> <%$Resources:wss,viewedit_onetidSortAsc%>
<% if ( bOrderByDirection1 == false ) { %> <% ; } else { %> <% ; } %> <%$Resources:wss,viewedit_onetidSortDesc%>
 
: 
<% if ( bOrderByDirection2 == false ) { %> <% ; } else { %> <% ;} %> <%$Resources:wss,viewedit_onetidSortAsc%>
<% if ( bOrderByDirection2 == false ) { %> <% ; } else { %> <% ; } %> <%$Resources:wss,viewedit_onetidSortDesc%>
<% if ( bOverrideOrderBy == true ) { %> <% ; } else { %> <% ; } %>
 

 

 
 
 
  : 
 
 
 

 

 
<% if (iBaseType == SPBaseType.Issue) { %> <% } %>  
  <% for(int iQuery=1; iQuery <= 10; iQuery++) { string strNum = iQuery.ToString(); string strFieldPickerName = "FieldPicker" + strNum; string strOperatorPickerName = "OperatorPicker" + strNum; string strCompareWithValueName = "CompareWithValue" + strNum; string strNextIsAndName = "NextIsAnd" + strNum; %> <% if (iQuery != 1) { %> <% } %> <% if (iQuery != 10) { %> <% } %> <% } %>
<% if ( bIsThereAQuery == true ) { %> <% ; } else { %> <% ;} %> <%$Resources:wss,viewedit_onetidShowAll%>
<% if ( bIsThereAQuery == true ) { %> <% ; } else { %> <% ; } %> <%$Resources:wss,viewedit_onetidApplyFilter%>
id=<% SPHttpUtility.AddQuote(SPHttpUtility.HtmlEncode(strNextIsAndName + "A"),Response.Output); %> <%SPHttpUtility.NoEncode(bNextIsAnd[iQuery -1]?strCheckedLiteral:"",Response.Output);%>>     id=<% SPHttpUtility.AddQuote(SPHttpUtility.HtmlEncode(strNextIsAndName + "o"),Response.Output); %> <%SPHttpUtility.NoEncode(!bNextIsAnd[iQuery - 1]?strCheckedLiteral:"",Response.Output);%>>
  
     

 

 
 
 
<% if ( strInlineEdit == "TRUE" ) { %> <% ; } else { %> <% ; } %>
 

 

 
 
 
<% if ( strTabularView == "TRUE" ) { %> <% ; } else { %> <% ; } %>
 

 

 
 
  : 
<% if ( bGroupByDirection1 == false ) { %> <% ; } else { %> <% ;} %> <%$Resources:wss,viewedit_groupasc%>
<% if ( bGroupByDirection1 == false ) { %> <% ; } else { %> <% ; } %> <%$Resources:wss,viewedit_groupdesc%>
  : 
<% if ( bGroupByDirection2 == false ) { %> <% ; } else { %> <% ;} %> <%$Resources:wss,viewedit_groupasc%>
<% if ( bGroupByDirection2 == false ) { %> <% ; } else { %> <% ; } %> <%$Resources:wss,viewedit_groupdesc%>
   
<% if ( bCollapseGroups == false ) { %> <% ; } else { %> <% ;} %> <% if ( bCollapseGroups == false ) { %> <% ; } else { %> <% ; } %>
   
  title="">
 

 

 
 
  <% int cdt = spWeb.Site.WebApplication.DocumentConverters.Count; for ( int iIndex1 = 0 ; iIndex1 < spOrderedFields.Count ; iIndex1 ++ ) { spField = (SPField)spOrderedFields[iIndex1]; String strFieldName = spField.Title; SPFieldType type = spField.Type; if (spField.Hidden || (spField.ShowInViewForms == false) || (type == SPFieldType.Computed && !spField.Sortable) || (type == SPFieldType.Lookup && (spField as SPFieldLookup) != null && (spField as SPFieldLookup).CountRelated) || (bAttachmentsDisabled && SPFieldType.Attachments == type) || (spField as SPFieldLookup) != null && (spField as SPFieldLookup).AllowMultipleValues || (strViewType != "GRID" && (spField is SPFieldCalculated || spField is SPFieldMultiLineText || spField is SPFieldMultiColumn || type == SPFieldType.MultiChoice || type == SPFieldType.GridChoice))) continue; if (cdt == 0 && (spField.Id == SPBuiltInFieldId.ParentLeafName || spField.Id == SPBuiltInFieldId.ParentVersionString)) { continue; } if (iBaseType == SPBaseType.DocumentLibrary) { if (GetInternalName(spField) == "FileSizeDisplay") type = SPFieldType.Integer; if (GetInternalName(spField) == "Created_x0020_Date" || GetInternalName(spField) == "Last_x0020_Modified") type = SPFieldType.DateTime; } if (strViewType == "GRID" && spField is SPFieldCalculated) { type = ((SPFieldCalculated)spField).OutputType; } String strAggregation = String.Empty; if (bBasedOnExistingView) strAggregation = spView.GetAggregationString(GetInternalName(spField)); %> <% } %>

 

<%SPHttpUtility.HtmlEncode(strFieldName,Response.Output); if (strViewType != "GRID" && (!ListViewWebPart.RestrictedTemplateType(spList)) && (spField is SPFieldDateTime) && (!spList.HasExternalDataSource)) {%>   <%}%>
  

 

 
 
  :  
 
  

 

 
 
  <% if (!SPMeeting.IsMeetingWorkspaceWeb(spWeb) || iBaseType == SPBaseType.DocumentLibrary) { %> <% } if (spList.ContentTypesEnabled) { string ctypeRestriction = "Other"; string strSystem = SPBuiltInContentTypeId.System.ToString(); string strRootOfList = SPBuiltInContentTypeId.RootOfList.ToString(); if (strContentTypeID == strSystem) { ctypeRestriction = "None"; } else if (strContentTypeID == strRootOfList) { ctypeRestriction = "RootOnly"; } %> <% if (ctypeRestriction != "Other") { %> <% } if (bViewDefaultView) { %> <% } } else { %> name="ContentTypeId"> <% } %>
 
 <% if ( viewScope == SPViewScope.Default ) { %> <% ; } else { %> <% ; } %>
 <% if ( viewScope == SPViewScope.Recursive ) { %> <% ; } else { %> <% ; } %>
 
 <% if ( ctypeRestriction == "None" ) { %> onclick="javascript:DisableCtIdSelector();" checked="checked" /> <% ; } else { %> onclick="javascript:DisableCtIdSelector();" /> <% ; } %>
 <% if ( ctypeRestriction == "RootOnly" ) { %> onclick="javascript:DisableCtIdSelector();" checked="checked" /> <% ; } else { %> onclick="javascript:DisableCtIdSelector();" /> <% ; } %>
 <% if ( ctypeRestriction == "Other" ) { %> <% ; } else { %> <% ; } %>
  

<% if (bThreaded) { %>  

 
<% { string str = (string)(this.GetGlobalResourceObject("wss", "viewedit_itemlimitdesc2")); string strParam; switch (iBaseType) { case SPBaseType.DocumentLibrary: if (SPListTemplateType.PictureLibrary == iServerTemplate) { strParam = "listname_picturelib"; } else if (SPListTemplateType.XMLForm == iServerTemplate) { strParam = "listname_formlib"; } else if (SPListTemplateType.DataConnectionLibrary == iServerTemplate) { strParam = "listname_dcllib"; } else if (SPListTemplateType.ListTemplateCatalog == iServerTemplate || SPListTemplateType.WebTemplateCatalog == iServerTemplate || SPListTemplateType.WebPartCatalog == iServerTemplate) { strParam = "listname_gallery"; } else { strParam = "listname_doclib"; } break; case SPBaseType.DiscussionBoard: strParam = "listname_disc"; break; case SPBaseType.Survey: strParam = "listname_survey"; break; default: strParam = "listname_list"; break; } strParam = (string)(this.GetGlobalResourceObject("wss", strParam)); str = string.Format(str, strParam); SPHttpUtility.NoEncode(str,Response.Output); } %>    
  :  
<% if (!bBasedOnExistingView) { %> <% } else { %> <% } %>
  title="">
<% if ( bViewPaged == true ) { %> <% ; } else { %> <% ; } %>
<% if ( bViewPaged == true ) { %> <% ; } else { %> <% ;} %>
  

 

 
<% { string str = (string)(this.GetGlobalResourceObject("wss", "viewedit_itemlimitdesc2")); string strParam; switch (iBaseType) { case SPBaseType.DocumentLibrary: if (SPListTemplateType.PictureLibrary == iServerTemplate) { strParam = "listname_picturelib"; } else if (SPListTemplateType.XMLForm == iServerTemplate) { strParam = "listname_formlib"; } else if (SPListTemplateType.DataConnectionLibrary == iServerTemplate) { strParam = "listname_dcllib"; } else if (SPListTemplateType.ListTemplateCatalog == iServerTemplate || SPListTemplateType.WebTemplateCatalog == iServerTemplate || SPListTemplateType.WebPartCatalog == iServerTemplate) { strParam = "listname_gallery"; } else { strParam = "listname_doclib"; } break; case SPBaseType.DiscussionBoard: strParam = "listname_disc"; break; case SPBaseType.Survey: strParam = "listname_survey"; break; default: strParam = "listname_list"; break; } strParam = (string)(this.GetGlobalResourceObject("wss", strParam)); str = string.Format(str, strParam); SPHttpUtility.NoEncode(str,Response.Output); } %>    
   
<% if (bBasedOnExistingView) { %> <% } else { %> <% } %>
 
 
  <% if ( bViewPaged == true ) { %> <% ; } else { %> <% ; } %>
  <% if ( bViewPaged == true ) { %> <% ; } else { %> <% ;} %>
  style="ime-mode:disabled" title="">
  

 

 
 
  <% if (bNewView || !bNewView && !spView.Hidden) { %> <% } %>
  <% if ((bBasedOnExistingView && spView.MobileView) || bNewView) { %> <% } else { %> <% } %>  
 
  <% if (!bNewView && spView.MobileDefaultView) { %> <% } else { %> <% } %>  
 
 
 
  title="">

   
  <% if (spViewFields != null) { %> <% } %>

 
 
 
 
<%@ Register TagPrefix="wssuc" TagName="TopNavBar" src="~/_controltemplates/TopNavBar.ascx" %>