1 PACKAGE BODY ADI_Header_Footer AS
2 /* $Header: frmkhdrb.pls 120.0 2006/12/14 02:04:41 dvayro noship $ */
3 --------------------------------------------------------------------------------
4 -- PACKAGE: ADI_Header_Footer --
5 -- --
6 -- DESCRIPTION: Creates a header and a footer which may be attached to any --
7 -- web page. --
8 -- --
9 -- Modification History --
10 -- Date Username Description --
11 -- 22-JUN-99 CCLYDE Initial Creation --
12 -- 05-AUG-99 BHOOKER Added function select_checkbox(required_field) --
13 -- 08-AUG-99 CCLYDE pagehead - Removed the icon labels (redundancy) and--
14 -- added a colour banner to the title to give the same--
15 -- look and feel as the BIS reports. --
16 -- 09-AUG-99 CCLYDE Moved icons to constant values. --
17 -- Added the Apps Logo to the end of the banner. --
18 -- Changed ALT tab from Exit to Logout. --
19 -- 20-AUG-99 CCLYDE Split the pageHead procedure into two new procs so --
20 -- that the html header and banner could be called --
21 -- seperately. This was necessary because some --
22 -- procedures need to pass attributes to the body tag --
23 -- whereas other procedures do not. --
24 -- 08-SEP-99 CCLYDE Added p_AccessCode so that the correct Login/Logout--
25 -- icon can be displayed within the banner. --
26 -- Retrieving UserId - If returns null, the user is --
27 -- not logged in and the login icon needs to be shown,--
28 -- otherwise, the logout icon is displayed. --
29 -- (Task: 3381) (pageBanner) --
30 -- 14-SEP-99 BHOOKER Adjusted banner to correctly space text and icons --
31 -- when displayed full screen (sans navigator) in a --
32 -- browser. (pageBanner & pageHead) --
33 -- 28-OCT-99 CCLYDE Added extra code to default the Home Page URL to --
34 -- the Self Service Home Page. Need to expand this --
35 -- further so that the Home Page defaults to either --
36 -- Self Service or Report Manager Navigator (which --
37 -- ever product call the report. New parameter --
38 -- defined. --
39 -- 02-NOV-99 CCLYDE Removed the new parameter p_calledFrom as this --
40 -- logic would not be feasible to implement. Toggle --
41 -- logic is now based on a new Profile Option: --
42 -- FRM_KIOSK_HOME_PAGE. (Task: 3598) --
43 -- 04-NOV-99 CCLYDE Changed the Home Page Menu for 10.7 Self Service to--
44 -- OracleApps.DMM (was .VL). (Task: 3598) --
45 -- 23-DEC-99 CCLYDE Restructured the default for the home page so that --
46 -- the Menu and Exit icons navigate to the correct --
47 -- self service portal. Profile Option now contains --
48 -- three values: KIOSK, PERSONAL and UNIVERSAL. --
49 -- Task: 3788 --
50 -- 10-FEB-00 CCLYDE Changed the name of the profile to: --
51 -- ADI_ICON_NAVIGATION. --
52 -- This avoids having to write upgrade scripts, if --
53 -- the user has already created the previous profile. --
54 -- Embedded the SELECT FROM V$INSTANCE as these --
55 -- fields do not exist within a 7.x version of the --
56 -- database. This is relevant for 10.7 only because --
57 -- Release 11.0 onwards is only compatible with an --
58 -- Oracle 8.0 database. --
59 -- 16-FEB-00 CCLYDE Added Package_Revision procedure to see if we can --
60 -- capture the revision number of the package during --
61 -- runtime. --
62 -- 02-MAR-00 GSANAP Added IF statements to include conditions for 11.51--
63 -- Task 3925. --
64 -- 16-MAY-00 GSANAP Moved the $Header comment from the top and --
65 -- replaced CREATE OR REPLACE PACKAGE IS TO AS --
66 -- 14-AUG-00 CCLYDE Created new global .gif file, c_slright and --
67 -- created the new footer as per the Apps division's --
68 -- new requirements. --
69 -- 07-DEC-00 CCLYDE Modified the anchor for Help. Changed from anchor --
70 -- anchor2 so that Help can be displayed within a new --
71 -- window. --
72 -- (PageBanner, PageHead) --
73 -- 14-NOV-02 GHOOKER Stub out procedures not used by RM8 --
74 --------------------------------------------------------------------------------
75 END ADI_Header_Footer;