This file contains 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
<div id="dnnUserFileManager" class="dnnFileManager dnnClear"> | |
<div class="fm-explorer-wrap dnnLeft"> | |
<div class="fm-breadcrumb"> | |
<p> | |
<span data-bind="foreach: currentBreadcrumbs"> | |
<!-- ko if: id === $root.chosenFolderId() --> | |
<span data-bind="text: name"></span> | |
<!-- /ko --> | |
<!-- ko if: id !== $root.chosenFolderId() --> | |
<a href="#" data-bind="text: name, click: $root.goToFolder"></a> / |
This file contains 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 ($, window) { | |
$.fn.dnnActionMenu = function (options) { | |
var opts = $.extend({}, | |
$.fn.dnnActionMenu.defaultOptions, options), | |
$moduleWrap = this; | |
$moduleWrap.each(function () { | |
var $module = $(this); |
This file contains 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
<component type="Config"> | |
<config> | |
<configFile>web.config</configFile> | |
<install> | |
<configuration> | |
<nodes> | |
<node path="/configuration/system.web/httpModules" action="update" key="name" collision="overwrite"> | |
<add name="CustomProviderModule" type="DotNetNuke.Providers.CustomProvider.CustomProviderModule, DotNetNuke"/> | |
</node> | |
<node path="/configuration/system.webServer/modules" action="update" key="name" collision="overwrite"> |
This file contains 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
<!doctype html> | |
<html lang=en> | |
<meta charset=utf-8> | |
<title>test</title> | |
<body> | |
<p>Shit yeah, go on, type some shit!</p> | |
<textarea></textarea> | |
<div style="display:none;"></div> | |
<a href="#" style="display:none;">clear</a> | |
</body> |
This file contains 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
// UntappdApi.cs | |
// ************* | |
using RestSharp; | |
public class UntappdApi | |
{ | |
private const string BaseUrl = "http://api.untappd.com/v3/"; | |
private readonly string apiKey; |
This file contains 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
<html> | |
<head> | |
<!-- New API CSS (e.g. ClientResourceManager.RegisterStyleSheet) --> | |
<asp:PlaceHolder runat="server" ID="ClientDependencyHeadCss"></asp:PlaceHolder> | |
<!-- New API JS (e.g. ClientResourceManager.RegisterScript)--> | |
<asp:PlaceHolder runat="server" ID="ClientDependencyHeadJs"></asp:PlaceHolder> | |
<!-- "Old API" CSS (e.g. styles skin object)--> | |
<asp:placeholder id="CSS" runat="server" /> |
This file contains 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
<html> | |
<head></head> | |
<body> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script> | |
<script type="text/javascript"> | |
console.log('loaded jQuery and jQuery UI'); | |
console.log('Draggable is a function: ' + $.isFunction($().draggable)); | |
</script> |
This file contains 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
<ul class="dnnActionsMenu"> | |
<li class="first last"><span>Manage</span><ul> | |
<li class="first"><span>Edit</span><ul> | |
<li class="first"><a href="javascript:dnnModal.show('http://core.dnndev.me/GettingStarted/tabid/55/ctl/Edit/mid/362/Default.aspx?popUp=true&SkinSrc=[G]Skins/_default/popUpSkin&ContainerSrc=[G]Containers/_default/popUpContainer',/*showReturn*/false,550,950)">Edit Content</a></li> | |
<li class=" last"><a href="javascript:dnnModal.show('http://core.dnndev.me/GettingStarted/tabid/55/ctl/MyWork/mid/362/Default.aspx?popUp=true&SkinSrc=[G]Skins/_default/popUpSkin&ContainerSrc=[G]Containers/_default/popUpContainer',/*showReturn*/false,550,950)">My Work</a></li> | |
</ul> | |
</li> | |
<li class=""><span>Admin</span><ul> | |
<li class="first"><a href="javascript:if(dnnModal.show('http://core.dnndev.me/GettingStarted/tabid/55/ctl/ExportModule/moduleid/362/Default.aspx?popUp=true&SkinSrc=[G]Skins/_default/popUpSkin&ContainerSrc=[G]Containers/_default/popUpContainer',/* |
This file contains 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
<asp:DropDownList runat="server" ID="PagesList" /> | |
this.PagesList.DataSource = TabController.GetPortalTabs(this.PortalId, -1, true, Localization.GetString("DefaultPagesListItem.Text", this.LocalResourceFile), true, false, false, true, true); | |
this.PagesList.DataValueField = "TabID"; | |
this.PagesList.DataTextField = "IndentedTabName"; | |
this.PagesList.DataBind(); |
This file contains 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
var targetUrl = 'http://site.to.search.com/?query=' + encodeURIComponent(searchPhrase); // important to encode user input | |
$.get(targetUrl, function (res) { // relies on xdomainajax plugin | |
var totalResults = $(res.responseText).find('#parse .the-results .per-usual').html(); | |
}); | |
window.open(targetUrl); |
NewerOlder