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.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.UI; | |
using System.Web.UI.WebControls; | |
using System.Web.Security; | |
using System.DirectoryServices; | |
using System.DirectoryServices.AccountManagement; |
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.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Umbraco.Core; | |
using Umbraco.Core.Logging; | |
using Umbraco.Core.Models; | |
using Umbraco.Core.Services; |
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
@inherits Umbraco.Web.Macros.PartialViewMacroPage | |
@using Umbraco.Web.Models | |
@{ | |
var folders = Model.GetParameterValue<string>("mediaFolder", "") | |
.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries); | |
var subFolders = Model.GetParameterValue<bool>("subFolders", true); | |
var selection = Umbraco.TypedMedia(folders).Where(x => x != null); |
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
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage | |
@using Jumoo.UmbLocalGov; | |
@{ | |
var letter = Request.QueryString["letter"]; | |
if (!string.IsNullOrWhiteSpace(letter)) | |
{ | |
<h2>@letter.ToUpper()</h2> | |
// get everthing with the letter. |
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.Linq; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; | |
using Umbraco.Core; | |
using Jumoo.TranslatePlus.Core.Models; | |
namespace Jumoo.TranslatePlus.Core.ValueMappers | |
{ |
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.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Jumoo.TranslatePlus.Core.Models; | |
using Jumoo.TranslatePlus.Core.Providers; | |
using Jumoo.TranslatePlus.Core.ValueMappers; | |
using Newtonsoft.Json; | |
using Umbraco.Core; |
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
/* | |
n.b this code isn't really tested - but in principle will work - it may need tweaking around | |
the edges. | |
At the moment there are no TranslationNode creation events - so you have to attach this to the | |
job submitting event which happens just before a job is created - in practice if you are | |
creating jobs directly from the send to translate dialog you won't notice the diffrence. | |
*/ | |
// |
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.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Jumoo.TranslationManager.Core.Models; | |
using Umbraco.Core; | |
using Umbraco.Core.Services; | |
namespace Jumoo.TranslationManager.LinkUpdater.LinkMappers |
OlderNewer