| @@ -52,6 +52,8 @@ const UserMenu = () => { | |||||
| ; | ; | ||||
| } | } | ||||
| const pnspsurl = "https://"+window.location.hostname; | |||||
| return ( | return ( | ||||
| !onReady ? | !onReady ? | ||||
| @@ -90,102 +92,102 @@ const UserMenu = () => { | |||||
| {getRow({ | {getRow({ | ||||
| title: <FormattedMessage id="userGuide1" />, | title: <FormattedMessage id="userGuide1" />, | ||||
| orgEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/01 - Create account - c 1.pdf", | |||||
| orgZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/01c - Create account - c 1.pdf", | |||||
| orgCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/01sc - Create account - c 1.pdf", | |||||
| indEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/01 - Create account - p 1.pdf", | |||||
| indZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/01c - Create account - p 1.pdf", | |||||
| indCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/01sc - Create account - p 1.pdf" | |||||
| orgEn: pnspsurl + "/user-guide-pub/eng/01 - Create account - c 1.pdf", | |||||
| orgZh: pnspsurl + "/user-guide-pub/cht/01c - Create account - c 1.pdf", | |||||
| orgCn: pnspsurl + "/user-guide-pub/chs/01sc - Create account - c 1.pdf", | |||||
| indEn: pnspsurl + "/user-guide-pub/eng/01 - Create account - p 1.pdf", | |||||
| indZh: pnspsurl + "/user-guide-pub/cht/01c - Create account - p 1.pdf", | |||||
| indCn: pnspsurl + "/user-guide-pub/chs/01sc - Create account - p 1.pdf" | |||||
| })} | })} | ||||
| {getRow({ | {getRow({ | ||||
| title: <FormattedMessage id="userGuide2" />, | title: <FormattedMessage id="userGuide2" />, | ||||
| orgEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/02 - Login - c 1.pdf", | |||||
| orgZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/02c - Login - c 1.pdf", | |||||
| orgCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/02sc - Login - c 1.pdf", | |||||
| indEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/02 - Login - p 1.pdf", | |||||
| indZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/02c - Login - p 1.pdf", | |||||
| indCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/02sc - Login - p 1.pdf" | |||||
| orgEn: pnspsurl + "/user-guide-pub/eng/02 - Login - c 1.pdf", | |||||
| orgZh: pnspsurl + "/user-guide-pub/cht/02c - Login - c 1.pdf", | |||||
| orgCn: pnspsurl + "/user-guide-pub/chs/02sc - Login - c 1.pdf", | |||||
| indEn: pnspsurl + "/user-guide-pub/eng/02 - Login - p 1.pdf", | |||||
| indZh: pnspsurl + "/user-guide-pub/cht/02c - Login - p 1.pdf", | |||||
| indCn: pnspsurl + "/user-guide-pub/chs/02sc - Login - p 1.pdf" | |||||
| })} | })} | ||||
| {getRow({ | {getRow({ | ||||
| title: <FormattedMessage id="userGuide3" />, | title: <FormattedMessage id="userGuide3" />, | ||||
| orgEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/03 - Application for publishing a Public Notice in the Gazette - c 1.pdf", | |||||
| orgZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/03c - Application for publishing a Public Notice in the Gazette - c 1.pdf", | |||||
| orgCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/03sc - Application for publishing a Public Notice in the Gazette - c 1.pdf", | |||||
| indEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/03 - Application for publishing a Public Notice in the Gazette - p 1.pdf", | |||||
| indZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/03c - Application for publishing a Public Notice in the Gazette - p 1.pdf", | |||||
| indCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/03sc - Application for publishing a Public Notice in the Gazette - p 1.pdf" | |||||
| orgEn: pnspsurl + "/user-guide-pub/eng/03 - Application for publishing a Public Notice in the Gazette - c 1.pdf", | |||||
| orgZh: pnspsurl + "/user-guide-pub/cht/03c - Application for publishing a Public Notice in the Gazette - c 1.pdf", | |||||
| orgCn: pnspsurl + "/user-guide-pub/chs/03sc - Application for publishing a Public Notice in the Gazette - c 1.pdf", | |||||
| indEn: pnspsurl + "/user-guide-pub/eng/03 - Application for publishing a Public Notice in the Gazette - p 1.pdf", | |||||
| indZh: pnspsurl + "/user-guide-pub/cht/03c - Application for publishing a Public Notice in the Gazette - p 1.pdf", | |||||
| indCn: pnspsurl + "/user-guide-pub/chs/03sc - Application for publishing a Public Notice in the Gazette - p 1.pdf" | |||||
| })} | })} | ||||
| {getRow({ | {getRow({ | ||||
| title: <FormattedMessage id="userGuide4" />, | title: <FormattedMessage id="userGuide4" />, | ||||
| orgEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/04 - Proofreading reply (with correction) - c 1.pdf", | |||||
| orgZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/04c - Proofreading reply (with correction) - c 1.pdf", | |||||
| orgCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/04sc - Proofreading reply (with correction) - c 1.pdf", | |||||
| indEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/04 - Proofreading reply (with correction) - p 1.pdf", | |||||
| indZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/04c - Proofreading reply (with correction) - p 1.pdf", | |||||
| indCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/04sc - Proofreading reply (with correction) - p 1.pdf" | |||||
| orgEn: pnspsurl + "/user-guide-pub/eng/04 - Proofreading reply (with correction) - c 1.pdf", | |||||
| orgZh: pnspsurl + "/user-guide-pub/cht/04c - Proofreading reply (with correction) - c 1.pdf", | |||||
| orgCn: pnspsurl + "/user-guide-pub/chs/04sc - Proofreading reply (with correction) - c 1.pdf", | |||||
| indEn: pnspsurl + "/user-guide-pub/eng/04 - Proofreading reply (with correction) - p 1.pdf", | |||||
| indZh: pnspsurl + "/user-guide-pub/cht/04c - Proofreading reply (with correction) - p 1.pdf", | |||||
| indCn: pnspsurl + "/user-guide-pub/chs/04sc - Proofreading reply (with correction) - p 1.pdf" | |||||
| })} | })} | ||||
| {getRow({ | {getRow({ | ||||
| title: <FormattedMessage id="userGuide5" />, | title: <FormattedMessage id="userGuide5" />, | ||||
| orgEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/05 - Proofreading reply (pass for printing) - c 1.pdf", | |||||
| orgZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/05c - Proofreading reply (pass for printing) - c 1.pdf", | |||||
| orgCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/05sc - Proofreading reply (pass for printing) - c 1.pdf", | |||||
| indEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/05 - Proofreading reply (pass for printing) - p 1.pdf", | |||||
| indZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/05c - Proofreading reply (pass for printing) - p 1.pdf", | |||||
| indCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/05sc - Proofreading reply (pass for printing) - p 1.pdf" | |||||
| orgEn: pnspsurl + "/user-guide-pub/eng/05 - Proofreading reply (pass for printing) - c 1.pdf", | |||||
| orgZh: pnspsurl + "/user-guide-pub/cht/05c - Proofreading reply (pass for printing) - c 1.pdf", | |||||
| orgCn: pnspsurl + "/user-guide-pub/chs/05sc - Proofreading reply (pass for printing) - c 1.pdf", | |||||
| indEn: pnspsurl + "/user-guide-pub/eng/05 - Proofreading reply (pass for printing) - p 1.pdf", | |||||
| indZh: pnspsurl + "/user-guide-pub/cht/05c - Proofreading reply (pass for printing) - p 1.pdf", | |||||
| indCn: pnspsurl + "/user-guide-pub/chs/05sc - Proofreading reply (pass for printing) - p 1.pdf" | |||||
| })} | })} | ||||
| {getRow({ | {getRow({ | ||||
| title: <FormattedMessage id="userGuide6" />, | title: <FormattedMessage id="userGuide6" />, | ||||
| orgEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/06 - Cancellation of application for publishing a Public Notice in the Gazette - c 1.pdf", | |||||
| orgZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/06c - Cancellation of application for publishing a Public Notice in the Gazette - c 1.pdf", | |||||
| orgCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/06sc - Cancellation of application for publishing a Public Notice in the Gazette - c 1.pdf", | |||||
| indEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/06 - Cancellation of application for publishing a Public Notice in the Gazette - p 1.pdf", | |||||
| indZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/06c - Cancellation of application for publishing a Public Notice in the Gazette - p 1.pdf", | |||||
| indCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/06sc - Cancellation of application for publishing a Public Notice in the Gazette - p 1.pdf" | |||||
| orgEn: pnspsurl + "/user-guide-pub/eng/06 - Cancellation of application for publishing a Public Notice in the Gazette - c 1.pdf", | |||||
| orgZh: pnspsurl + "/user-guide-pub/cht/06c - Cancellation of application for publishing a Public Notice in the Gazette - c 1.pdf", | |||||
| orgCn: pnspsurl + "/user-guide-pub/chs/06sc - Cancellation of application for publishing a Public Notice in the Gazette - c 1.pdf", | |||||
| indEn: pnspsurl + "/user-guide-pub/eng/06 - Cancellation of application for publishing a Public Notice in the Gazette - p 1.pdf", | |||||
| indZh: pnspsurl + "/user-guide-pub/cht/06c - Cancellation of application for publishing a Public Notice in the Gazette - p 1.pdf", | |||||
| indCn: pnspsurl + "/user-guide-pub/chs/06sc - Cancellation of application for publishing a Public Notice in the Gazette - p 1.pdf" | |||||
| })} | })} | ||||
| {getRow({ | {getRow({ | ||||
| title: <FormattedMessage id="userGuide7" />, | title: <FormattedMessage id="userGuide7" />, | ||||
| orgEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/07 - Forgot password - c 1.pdf", | |||||
| orgZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/07c - Forgot password - c 1.pdf", | |||||
| orgCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/07sc - Forgot password - c 1.pdf", | |||||
| indEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/07 - Forgot password - p 1.pdf", | |||||
| indZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/07c - Forgot password - p 1.pdf", | |||||
| indCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/07sc - Forgot password - p 1.pdf" | |||||
| orgEn: pnspsurl + "/user-guide-pub/eng/07 - Forgot password - c 1.pdf", | |||||
| orgZh: pnspsurl + "/user-guide-pub/cht/07c - Forgot password - c 1.pdf", | |||||
| orgCn: pnspsurl + "/user-guide-pub/chs/07sc - Forgot password - c 1.pdf", | |||||
| indEn: pnspsurl + "/user-guide-pub/eng/07 - Forgot password - p 1.pdf", | |||||
| indZh: pnspsurl + "/user-guide-pub/cht/07c - Forgot password - p 1.pdf", | |||||
| indCn: pnspsurl + "/user-guide-pub/chs/07sc - Forgot password - p 1.pdf" | |||||
| })} | })} | ||||
| {getRow({ | {getRow({ | ||||
| title: <FormattedMessage id="userGuide8" />, | title: <FormattedMessage id="userGuide8" />, | ||||
| orgEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/08 - Change password - c 1.pdf", | |||||
| orgZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/08c - Change password - c 1.pdf", | |||||
| orgCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/08sc - Change password - c 1.pdf", | |||||
| indEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/08 - Change password - p 1.pdf", | |||||
| indZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/08c - Change password - p 1.pdf", | |||||
| indCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/08sc - Change password - p 1.pdf" | |||||
| orgEn: pnspsurl + "/user-guide-pub/eng/08 - Change password - c 1.pdf", | |||||
| orgZh: pnspsurl + "/user-guide-pub/cht/08c - Change password - c 1.pdf", | |||||
| orgCn: pnspsurl + "/user-guide-pub/chs/08sc - Change password - c 1.pdf", | |||||
| indEn: pnspsurl + "/user-guide-pub/eng/08 - Change password - p 1.pdf", | |||||
| indZh: pnspsurl + "/user-guide-pub/cht/08c - Change password - p 1.pdf", | |||||
| indCn: pnspsurl + "/user-guide-pub/chs/08sc - Change password - p 1.pdf" | |||||
| })} | })} | ||||
| {getRow({ | {getRow({ | ||||
| title: <FormattedMessage id="userGuide9" />, | title: <FormattedMessage id="userGuide9" />, | ||||
| orgEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/09 - Language of email notification - c 1.pdf", | |||||
| orgZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/09c - Language of email notification - c 1.pdf", | |||||
| orgCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/09sc - Language of email notification - c 1.pdf", | |||||
| indEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/09 - Language of email notification - p 1.pdf", | |||||
| indZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/09c - Language of email notification - p 1.pdf", | |||||
| indCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/09sc - Language of email notification - p 1.pdf" | |||||
| orgEn: pnspsurl + "/user-guide-pub/eng/09 - Language of email notification - c 1.pdf", | |||||
| orgZh: pnspsurl + "/user-guide-pub/cht/09c - Language of email notification - c 1.pdf", | |||||
| orgCn: pnspsurl + "/user-guide-pub/chs/09sc - Language of email notification - c 1.pdf", | |||||
| indEn: pnspsurl + "/user-guide-pub/eng/09 - Language of email notification - p 1.pdf", | |||||
| indZh: pnspsurl + "/user-guide-pub/cht/09c - Language of email notification - p 1.pdf", | |||||
| indCn: pnspsurl + "/user-guide-pub/chs/09sc - Language of email notification - p 1.pdf" | |||||
| })} | })} | ||||
| {getRow({ | {getRow({ | ||||
| title: <FormattedMessage id="userGuidePub10" />, | title: <FormattedMessage id="userGuidePub10" />, | ||||
| orgEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/10 - Payment - c 1.pdf", | |||||
| orgZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/10c - Payment - c 1.pdf", | |||||
| orgCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/10sc - Payment - c 1.pdf", | |||||
| indEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/10 - Payment - p 1.pdf", | |||||
| indZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/10c - Payment - p 1.pdf", | |||||
| indCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/10sc - Payment - p 1.pdf" | |||||
| orgEn: pnspsurl + "/user-guide-pub/eng/10-Payment-c1.pdf", | |||||
| orgZh: pnspsurl + "/user-guide-pub/cht/10c-Payment-c1.pdf", | |||||
| orgCn: pnspsurl + "/user-guide-pub/chs/10sc-Payment-c1.pdf", | |||||
| indEn: pnspsurl + "/user-guide-pub/eng/10-Payment-p1.pdf", | |||||
| indZh: pnspsurl + "/user-guide-pub/cht/10c-Payment-p1.pdf", | |||||
| indCn: pnspsurl + "/user-guide-pub/chs/10sc-Payment-p1.pdf" | |||||
| })} | })} | ||||