This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function $_global_googlemapscontrol() { | |
(function() { | |
if (typeof GMapsControlTemplate == "object") { | |
return; | |
} | |
window.GMapsControlTemplate = (function() { | |
return { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsl:stylesheet | |
version="1.0" | |
exclude-result-prefixes="x xsl cmswrt cbq" | |
xmlns:x="http://www.w3.org/2001/XMLSchema" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:cmswrt="http://schemas.microsoft.com/WebPart/v3/Publishing/runtime" | |
xmlns:cbq="urn:schemas-microsoft-com:ContentByQueryWebPart"> | |
<xsl:output method="xml" indent="no" media-type="text/html" omit-xml-declaration="yes"/> | |
<xsl:param name="cbq_isgrouping" /> | |
<xsl:param name="cbq_columnwidth" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:ddwrt2="urn:frontpage:internal"> | |
<xsl:template match ="FieldRef[@Name='EmbeddedVideoOnForm']" mode="Computed_body" > | |
<xsl:param name="thisNode" select="."/> | |
<xsl:variable name="width"> | |
<xsl:call-template name="ensureVideoPlayerSize"> | |
<xsl:with-param name="videoSize" select="$thisNode/@VideoWidth"/> | |
<xsl:with-param name="defaultSize" select="560"/> | |
</xsl:call-template> | |
</xsl:variable> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Elements xmlns="http://schemas.microsoft.com/sharepoint/"> | |
<Field Type="Number" | |
DisplayName="Frame Border" | |
Required="FALSE" | |
EnforceUniqueValues="FALSE" | |
Group="Media Columns" | |
ID="{594e551f-180d-47ec-90e5-9195225c5932}" | |
StaticName="FrameBorder" | |
Name="FrameBorder" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Elements xmlns="http://schemas.microsoft.com/sharepoint/"> | |
<!-- Parent ContentType: Link (0x0105) --> | |
<ContentType ID="0x010501" | |
Name="Video Link" | |
Group="$Resources:List_Content_Types" | |
Description="Video Link Content Type" | |
Inherits="TRUE" | |
Version="0"> | |
<FieldRefs> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function validateIfPeopleEditorNotEmpty(peId) { | |
var $pe = $("#" + peId); | |
var $peValHolder = $pe.find("input[id$='hiddenSpanData']"); | |
return ($peValHolder.val().length > 0); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//People Editor Validator with jQuery Validation plugin | |
function validatePeopleEditor(peId,messageText) | |
{ | |
var $pe = $("#" + peId); | |
var $peValHolder = $pe.find("input[id$='hiddenSpanData']"); | |
$peValHolder.rules("add", { | |
required: true, | |
messages: { | |
required: messageText |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.ComponentModel; | |
using System.Security.Permissions; | |
using System.Web.UI.WebControls; | |
using System.Web.UI.WebControls.WebParts; | |
using Microsoft.SharePoint.Publishing.WebControls; | |
using Microsoft.SharePoint.Security; | |
using Microsoft.SharePoint.WebPartPages; | |
namespace CQWPWithTableLayout.WebControls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Globalization; | |
using System.Web.UI.WebControls; | |
namespace CQWPWithTableLayout.WebControls | |
{ | |
public class CBQTableLayoutToolPart : Microsoft.SharePoint.WebPartPages.ToolPart | |
{ | |
public CBQTableLayoutToolPart() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<webParts> | |
<webPart xmlns="http://schemas.microsoft.com/WebPart/v3"> | |
<metaData> | |
<type name="CQWPWithTableLayout.WebControls.CBQTableLayout, CQWPWithTableLayout, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f96554baea0809a2" /> | |
<importErrorMessage>Cannot import this Web Part.</importErrorMessage> | |
</metaData> | |
<data> | |
<properties> | |
<property name="Title" type="string">Content Query (Plain Old Table Layout)</property> |
OlderNewer