-
Notifications
You must be signed in to change notification settings - Fork 0
/
Menu.php
executable file
·27 lines (24 loc) · 1.18 KB
/
Menu.php
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
<?php
/**
* Menu.php file
* Required
* - Menu entries for the CustomReportCard module
* - Add Menu entries to other modules
*
* @package CustomReportCard module
*/
/**
* Use dgettext() function instead of _() for Module specific strings translation
* see locale/README file for more information.
*/
$module_name = dgettext( 'CustomReportCard', 'CustomReportCard' );
// Menu entries for the CustomReportCard module.
$menu['CustomReportCard']['admin'] = array( // Admin menu.
'title' => dgettext( 'CustomReportCard', 'CustomReportCard' ),
'default' => 'CustomReportCard/CustomReportCards.php', // Program loaded by default when menu opened.
'CustomReportCard/CustomReportCards.php' => dgettext( 'CustomReportCard', 'Custom Report Cards' ),
'CustomReportCard/ReportCardsEmailParents.php' => dgettext( 'CustomReportCard', 'EMail Report Cards' ),
1 => _( 'Setup' ), // Add sub-menu 1 (only for admins).
'CustomReportCard/Setup.php' => _( 'Configuration' ), // Reuse existing translations: 'Configuration' exists under School module.
'CustomReportCard/Options.php' => dgettext( 'CustomReportCard', 'Options' ), // Reuse existing translations: 'Configuration' exists under School module.
);