-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathPrinterFriendly.aspx
34 lines (33 loc) · 1.17 KB
/
PrinterFriendly.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<%@ Page Language="c#" AutoEventWireup="false" Inherits="Engage.Dnn.Publish.PrinterFriendly" Codebehind="PrinterFriendly.aspx.cs" %>
<%@ Import Namespace="DotNetNuke.Services.Localization" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><asp:Literal id="pageTitle" runat="server" /></title>
<link rel="stylesheet" type="text/css" href="<%=this.GetCssStyle()%>" />
<style type="text/css">
@media print
{
#articlePrint
{
display: none;
}
}
</style>
</head>
<body id="printerFriendlyBody">
<div id="articlePrint">
<input type="button" onclick="javascript:print();return false;" value='<%=Localization.GetString("Print", this.LocalResourceFile)%>' />
</div>
<div id="ArticleDisplay">
<div id="divPortalLogo">
<asp:Hyperlink ID="lnkPortalLogo" Runat="server"/>
</div>
<div id="divArticleTitle" class="Head">
<asp:label ID="lblArticleTitle" Runat="server"/>
</div>
<div id="divArticleContent" class="Normal">
<asp:label ID="lblArticleText" Runat="server"/>
</div>
</div>
</body>
</html>