forked from smartstore/SmartStoreNET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAdminMenu.cs
More file actions
35 lines (31 loc) · 755 Bytes
/
Copy pathAdminMenu.cs
File metadata and controls
35 lines (31 loc) · 755 Bytes
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Routing;
using System.Web.Mvc;
using SmartStore.Web.Framework.UI;
using SmartStore.Collections;
namespace SmartStore.Clickatell
{
public class AdminMenu : AdminMenuProvider
{
protected override void BuildMenuCore(TreeNode<MenuItem> pluginsNode)
{
var menuItem = new MenuItem().ToBuilder()
.Text("Clickatell SMS Provider")
.ResKey("Plugins.FriendlyName.Mobile.SMS.Clickatell")
.Icon("send-o")
.Action("ConfigurePlugin", "Plugin", new { systemName = "SmartStore.Clickatell", area = "Admin" })
.ToItem();
pluginsNode.Prepend(menuItem);
}
public override int Ordinal
{
get
{
return 100;
}
}
}
}