Credit Kaeru in the header.

This commit is contained in:
Greg Edwards 2022-01-25 00:38:13 -05:00
parent 0b63656825
commit 9809d699a4
4 changed files with 26 additions and 3 deletions

View File

@ -1,3 +1,5 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DnsAddress.ascx.cs" Inherits="PkmnFoundations.Web.controls.DnsAddress" %>
178.62.43.212
178.62.43.212<asp:PlaceHolder ID="phAttribution" Visible="false" runat="server">
(<a href="https://kaeru.world/projects/wfc">Kaeru WFC</a>)
</asp:PlaceHolder>

View File

@ -13,5 +13,17 @@ namespace PkmnFoundations.Web.controls
{
}
public bool ShowAttribution
{
get
{
return phAttribution.Visible;
}
set
{
phAttribution.Visible = value;
}
}
}
}

View File

@ -3,7 +3,7 @@
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
@ -13,5 +13,14 @@ namespace PkmnFoundations.Web.controls
public partial class DnsAddress
{
/// <summary>
/// phAttribution control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.PlaceHolder phAttribution;
}
}

View File

@ -36,7 +36,7 @@
<div id="gtsHeadMain">
<ul class="gtsHeadContent">
<li>DNS: <strong><pf:DnsAddress runat="server" /></strong></li>
<li>DNS: <strong><pf:DnsAddress ShowAttribution="true" runat="server" /></strong></li>
<li><asp:Literal ID="litPokemon" runat="server" />
Pokémon available for offer.</li>
<li><asp:Literal ID="litVideos" runat="server" />