Aww snap! That tag isn't being used anyway
13 | } -------------------------------------------------------------------------------- /src/FunnelWeb/Repositories/IPagedQuery.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using FunnelWeb.Providers.Database; 3 | using NHibernate; 4 | 5 | namespace FunnelWeb.Repositories 6 | { 7 | public interface IPagedQueryNo posts have been published yet.
5 | if (ViewData.IsLoggedIn()) 6 | { 7 |8 | Use the @Html.AdminActionLink("New Post", "Edit", "WikiAdmin") link at the top of 9 | the page to create a post.
10 | } 11 | } 12 | else 13 | { 14 |Powered by FunnelWeb, the blog engine of real developers.
', 'HTML: This will appear at the bottom of the page - use it to add copyright information, links to any web hosts, people or technologies that helped you to build the site, and so on.'); 4 | -------------------------------------------------------------------------------- /src/FunnelWeb.Wcf/AutofacConfigurableServiceHostFactory.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.ServiceModel; 3 | using Autofac.Integration.Wcf; 4 | using Microsoft.ServiceModel.Http; 5 | 6 | namespace FunnelWeb.Extensions.WcfDemo 7 | { 8 | public class AutofacConfigurableServiceHostFactory : AutofacServiceHostFactory, IConfigurableServiceHostFactory 9 | { 10 | // Methods 11 | protected override ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses) 12 | { 13 | return new WebHttpServiceHost(serviceType, Configuration, baseAddresses); 14 | } 15 | 16 | public HttpHostConfiguration Configuration { get; set; } 17 | } 18 | } -------------------------------------------------------------------------------- /src/FunnelWeb/Model/Mappings/CommentMapping.cs: -------------------------------------------------------------------------------- 1 | using FluentNHibernate.Mapping; 2 | 3 | namespace FunnelWeb.Model.Mappings 4 | { 5 | public class CommentMapping : ClassMap| Task | 13 |Arguments | 14 |Started | 15 |Progress | 16 |Status | 17 |
| @Html.ActionLink(task.TaskName, "Task", "Admin", new { Area = "Admin", id = task.Id }, new { }) | 24 |@task.Arguments | 25 |@Html.Date(task.Started) | 26 |@task.ProgressEstimate% | 27 |@task.Status | 28 |
The upgrade completed successfully. @Model.Results.Sum(x => x.Scripts.Count()) scripts were run.
12 | 13 | } 14 | else 15 | { 16 |The upgrade failed. Please review the logs below to resolve the issue.
17 |18 | @Html.AdminActionLink("Back to upgrade page", "Index", "Install") 19 |
20 | } 21 | 22 | @if (Model.Results.Any(x => x.Error != null)) 23 | { 24 |@Model.Log27 | } 28 | -------------------------------------------------------------------------------- /src/FunnelWeb/DatabaseDeployer/Scripts/Script0010.sql: -------------------------------------------------------------------------------- 1 | declare @hasFullText bit 2 | declare @hasFullTextIndex bit 3 | select @hasFullText = convert(int, SERVERPROPERTY('IsFullTextInstalled')) 4 | SELECT @hasFullTextIndex = OBJECTPROPERTY(OBJECT_ID('$schema$.[Entry]'), 'TableHasActiveFulltextIndex') 5 | if (@hasFullText = 1 AND @hasFullTextIndex = 1) 6 | begin 7 | begin try 8 | exec sp_fulltext_table '$schema$.[Revision]', 'create', 'FTCatalog', 'PK_Revision_Id' 9 | exec sp_fulltext_column '$schema$.[Revision]', 'Body', 'add', 0x0409 10 | exec sp_fulltext_table '$schema$.[Revision]', 'activate' 11 | exec sp_fulltext_catalog 'FTCatalog', 'start_full' 12 | exec sp_fulltext_table '$schema$.[Revision]', 'start_change_tracking' 13 | exec sp_fulltext_table '$schema$.[Revision]', 'start_background_updateindex' 14 | end try 15 | begin catch 16 | --Full text not installed 17 | PRINT 'Full text catalog not installed' 18 | end catch 19 | end 20 | -------------------------------------------------------------------------------- /src/FunnelWeb.Web/Views/Shared/DisplayTemplates/Comment.cshtml: -------------------------------------------------------------------------------- 1 | @model Comment 2 | 3 |
|
13 | @Html.Encode(pingback.Entry.Title) 14 | @Html.Encode(pingback.TargetTitle) | 15 | @Html.Encode(pingback.TargetUri) 16 | |
17 | 18 | @Html.ActionLink("Delete", "DeletePingback", "Admin", new { Area = "Admin", pingback.Id }, null) 19 | @Html.ActionLink(pingback.IsSpam ? "Unspam" : "Spam", "TogglePingbackSpam", "Admin", new { Area = "Admin", pingback.Id }, null) 20 | | 21 |
6 | Comments
7 | @if (!Model.Any() && !Html.Settings().EnableDisqusCommenting) 8 | { 9 |11 | No comments yet. Be the first!
12 |