// $Id: SkyDock.wod,v 1.1 2003/08/04 12:51:50 thomas Exp $ IsTextMode: WOConditional { // tables, but no imgs condition = isInTextMode; } IsNotTextMode: WOConditional { // tables+imgs condition = isInGfxMode; } IsTextModeBrowser: WOConditional { // no tables, no imgs condition = isTextModeBrowser; } DockEntries: WORepetition { list = pages; index = index; separator = ""; item = item; } TextDockEntries: WORepetition { list = pages; index = index; separator = " | "; item = item; } DockLink: WOHyperlink { directActionName = "dock"; ?page = dockComponent; ?cid = context.contextID; CLASS = "skydockfont"; } DockImage: WOImage { filename = dockImageName; ALT = dockLabel; BORDER = 0; } DockLabel: WOString { value = dockLabel; } TextDockCell: WOGenericContainer { elementName = "td"; align = "left"; valign = "middle"; rowspan = "2"; // BGCOLOR = config.colors_headerCell; } HasMiniView: WOConditional { condition = hasDockMiniView; } LacksMiniView: WOConditional { condition = hasDockMiniView; negate = YES; } MiniView: WOComponentReference { component = dockMiniView; hideLink = disableLinks; } // bookmarks SkyDockShowBookmarks: WOConditional { condition = session.userDefaults.SkyDockShowBookmarks; } SkyDockShowDesktop: WOConditional { condition = session.userDefaults.SkyDockShowDesktop; } PersonalBookmarkLink: WOHyperlink { directActionName = "downloadBookmark"; actionClass = "DirectAction"; ?pkey = session.activeAccount.companyId.stringValue; target = "private_desktop"; CLASS = "skydockfont"; } PublicBookmarkLink: WOHyperlink { directActionName = "downloadBookmark"; actionClass = "DirectAction"; ?pkey = "10000"; target = "public_desktop"; STYLE = "text-decoration:none"; } PersonalBookmarkImage: WOImage { filename = "menu_bookmarks_labeled.gif"; ALT = labels.bookmarks; BORDER = 0; } PublicBookmarkImage: WOImage { filename = "menu_desktop_labeled.gif"; ALT = labels.desktop; BORDER = 0; } PersonalBookmarkLabel: WOString { value = labels.bookmarks; } PublicBookmarkLabel: WOString { value = labels.desktop; } PrefsLabel: WOString { value = labels.preferences; escapeHTML = NO; } // active page type ActivePageIsEditor: WOConditional { condition = disableLinks; } ActivePageIsNotEditor: WOConditional { condition = disableLinks; negate = YES; } Font: WOGenericContainer { elementName = "font"; CLASS = "skydockfont"; }; PrefsLink: WOHyperlink { directActionName = "dock"; ?page = "LSWPreferencesViewer"; ?cid = context.contextID; CLASS = "skydockfont"; } HomeLink: WOHyperlink { directActionName = "downloadBookmark"; actionClass = "DirectAction"; ?pkey = session.activeAccount.companyId.stringValue; target = "private_desktop"; CLASS = "skydockfont"; } DeskLink: WOHyperlink { directActionName = "downloadBookmark"; actionClass = "DirectAction"; ?pkey = "10000"; target = "public_desktop"; CLASS = "skydockfont"; } PrefsImage: WOImage { filename = "menu_static_prefs.gif"; alt = labels.preferences; border = 0; } HomeImage: WOImage { filename = "menu_static_home.gif"; ALT = labels.bookmarks; BORDER = 0; }; DeskImage: WOImage { filename = "menu_static_desk.gif"; ALT = labels.desktop; BORDER = 0; }; PrefsImageRight: WOImage { filename = "menu_static_prefs_right.gif"; alt = labels.preferences; border = 0; } HomeImageRight: WOImage { filename = "menu_static_home_right.gif"; ALT = labels.bookmarks; BORDER = 0; }; DeskImageRight: WOImage { filename = "menu_static_desk_right.gif"; ALT = labels.desktop; BORDER = 0; }; StaticDockEntries: WORepetition { list = pages; // index = index; identifier = Peferences; item = dockComponent //count = 1; } PrefsCond: WOConditional { condition = Preferences; negate = YES; } DockedProjects: SkyDockedProjects { isInTextMode = isInTextMode; } IsProjectLicensed: SkyLicenseConditional { modules = ( Project ); showInfo = NO; } HasMiniTextView: WOConditional { condition = hasDockMiniTextView; } LacksMiniTextView: WOConditional { condition = hasDockMiniTextView; negate = YES; } MiniTextView: WOComponentReference { component = dockMiniTextView; hideLink = disableLinks; } Banner10Icon: WOImage { filename = "menu_logo_bottom.gif"; ALIGN = "CENTER"; VALIGN = "MIDDLE"; BORDER = 0; ALT = ""; };