-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dashboard.ascx.cs
36 lines (33 loc) · 1012 Bytes
/
Dashboard.ascx.cs
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
35
36
using DotNetNuke.Services.Exceptions;
using System;
using DotNetNuke.Entities.Modules.Actions;
using DotNetNuke.Entities.Modules;
namespace Dnn.CommunityMetrics
{
partial class Dashboard : ModuleBase, IActionable
{
public ModuleActionCollection ModuleActions
{
get
{
ModuleActionCollection Actions = new ModuleActionCollection();
if (IsEditable)
{
Actions.Add(GetNextActionID(), "Admin", ModuleActionType.AddContent, "", "", EditUrl("Admin"), false, DotNetNuke.Security.SecurityAccessLevel.Edit, true, false);
}
return Actions;
}
}
protected new void Page_Load(Object sender, EventArgs e)
{
try
{
base.Page_Load(sender, e);
}
catch (Exception ex)
{
Exceptions.ProcessModuleLoadException(this, ex);
}
}
}
}