Beispiel #1
0
        private DirectoryTreeItem()
        {
            var treeDirectoryUrl = SiteCoreAssets.GetIconUrl("tree");

            iconFolderUrl       = PageUtils.Combine(treeDirectoryUrl, "folder.gif");
            iconOpenedFolderUrl = PageUtils.Combine(treeDirectoryUrl, "openedfolder.gif");
            iconEmptyUrl        = PageUtils.Combine(treeDirectoryUrl, "empty.gif");
            iconMinusUrl        = PageUtils.Combine(treeDirectoryUrl, "minus.png");
            iconPlusUrl         = PageUtils.Combine(treeDirectoryUrl, "plus.png");
        }
Beispiel #2
0
 public static string GetMenusPath(params string[] paths)
 {
     return(Combine(SiteCoreAssets.GetPath("menus"), Combine(paths)));
 }