File tree Expand file tree Collapse file tree 5 files changed +20
-25
lines changed Expand file tree Collapse file tree 5 files changed +20
-25
lines changed Original file line number Diff line number Diff line change 10
10
*
11
11
* Parameters:
12
12
*
13
- * org_uuid - Show only announcements of this organization
13
+ * organization_short_name : short name of the organization whose announcements should be shown
14
14
***********************************************************************************************
15
15
*/
16
16
require_once (__DIR__ . '/../../system/common.php ' );
17
17
18
- $ getOrgUuid = admFuncVariableIsValid ($ _GET , 'org_uuid ' , 'string ' );
18
+ $ getOrganizationShortName = admFuncVariableIsValid ($ _GET , 'organization_short_name ' , 'string ' );
19
19
20
20
// Check if RSS is active...
21
21
if (!$ gSettingsManager ->getBool ('enable_rss ' )) {
33
33
34
34
$ announcements = new ModuleAnnouncements ();
35
35
36
- if ($ getOrgUuid !== '' ) {
37
- $ organization = new Organization ($ gDb );
38
- $ organization ->readDataByUuid ($ getOrgUuid );
36
+ if ($ getOrganizationShortName !== '' ) {
37
+ $ organization = new Organization ($ gDb , $ getOrganizationShortName );
39
38
$ organizationName = $ organization ->getValue ('org_long_name ' );
40
39
$ gCurrentUser ->setOrganization ($ organization ->getValue ('org_id ' ));
41
40
} else {
Original file line number Diff line number Diff line change 10
10
*
11
11
* Parameters:
12
12
*
13
- * org_uuid - Show only announcements of this organization
13
+ * organization_short_name : short name of the organization whose events should be shown
14
14
* *********************************************************************************************
15
15
*/
16
16
require_once (__DIR__ . '/../../system/common.php ' );
17
17
18
- $ getOrgUuid = admFuncVariableIsValid ($ _GET , 'org_uuid ' , 'string ' );
18
+ $ getOrganizationShortName = admFuncVariableIsValid ($ _GET , 'organization_short_name ' , 'string ' );
19
19
20
20
// Check if RSS is active...
21
21
if (!$ gSettingsManager ->getBool ('enable_rss ' )) {
30
30
// => EXIT
31
31
}
32
32
33
- if ($ getOrgUuid !== '' ) {
34
- $ organization = new Organization ($ gDb );
35
- $ organization ->readDataByUuid ($ getOrgUuid );
33
+ if ($ getOrganizationShortName !== '' ) {
34
+ $ organization = new Organization ($ gDb , $ getOrganizationShortName );
36
35
$ organizationName = $ organization ->getValue ('org_long_name ' );
37
36
$ gCurrentUser ->setOrganization ($ organization ->getValue ('org_id ' ));
38
37
} else {
Original file line number Diff line number Diff line change 10
10
*
11
11
* Parameters:
12
12
*
13
- * org_uuid - Show only announcements of this organization
13
+ * organization_short_name : short name of the organization whose guestbook entries should be shown
14
14
* *********************************************************************************************
15
15
*/
16
16
require_once (__DIR__ . '/../../system/common.php ' );
17
17
18
- $ getOrgUuid = admFuncVariableIsValid ($ _GET , 'org_uuid ' , 'string ' );
18
+ $ getOrganizationShortName = admFuncVariableIsValid ($ _GET , 'organization_short_name ' , 'string ' );
19
19
20
20
// Check if RSS is active...
21
21
if (!$ gSettingsManager ->getBool ('enable_rss ' )) {
30
30
// => EXIT
31
31
}
32
32
33
- if ($ getOrgUuid !== '' ) {
34
- $ organization = new Organization ($ gDb );
35
- $ organization ->readDataByUuid ($ getOrgUuid );
33
+ if ($ getOrganizationShortName !== '' ) {
34
+ $ organization = new Organization ($ gDb , $ getOrganizationShortName );
36
35
$ organizationName = $ organization ->getValue ('org_long_name ' );
37
36
$ organizationID = $ organization ->getValue ('org_id ' );
38
37
} else {
Original file line number Diff line number Diff line change 10
10
*
11
11
* Parameters:
12
12
*
13
- * org_uuid - Show only announcements of this organization
13
+ * organization_short_name : short name of the organization whose weblinks should be shown
14
14
* *********************************************************************************************
15
15
*/
16
16
require_once (__DIR__ . '/../../system/common.php ' );
17
17
18
- $ getOrgUuid = admFuncVariableIsValid ($ _GET , 'org_uuid ' , 'string ' );
18
+ $ getOrganizationShortName = admFuncVariableIsValid ($ _GET , 'organization_short_name ' , 'string ' );
19
19
20
20
// Check if RSS is active...
21
21
if (!$ gSettingsManager ->getBool ('enable_rss ' )) {
31
31
// => EXIT
32
32
}
33
33
34
- if ($ getOrgUuid !== '' ) {
35
- $ organization = new Organization ($ gDb );
36
- $ organization ->readDataByUuid ($ getOrgUuid );
34
+ if ($ getOrganizationShortName !== '' ) {
35
+ $ organization = new Organization ($ gDb , $ getOrganizationShortName );
37
36
$ organizationName = $ organization ->getValue ('org_long_name ' );
38
37
$ organizationID = $ organization ->getValue ('org_id ' );
39
38
} else {
Original file line number Diff line number Diff line change 10
10
*
11
11
* Parameters:
12
12
*
13
- * org_uuid - Show only announcements of this organization
13
+ * organization_short_name : short name of the organization whose photos should be shown
14
14
* *********************************************************************************************
15
15
*/
16
16
require_once (__DIR__ . '/../../system/common.php ' );
17
17
18
- $ getOrgUuid = admFuncVariableIsValid ($ _GET , 'org_uuid ' , 'string ' );
18
+ $ getOrganizationShortName = admFuncVariableIsValid ($ _GET , 'organization_short_name ' , 'string ' );
19
19
20
20
// check if module is active
21
21
if (!$ gSettingsManager ->getBool ('enable_rss ' )) {
33
33
require (__DIR__ . '/../../system/login_valid.php ' );
34
34
}
35
35
36
- if ($ getOrgUuid !== '' ) {
37
- $ organization = new Organization ($ gDb );
38
- $ organization ->readDataByUuid ($ getOrgUuid );
36
+ if ($ getOrganizationShortName !== '' ) {
37
+ $ organization = new Organization ($ gDb , $ getOrganizationShortName );
39
38
$ organizationName = $ organization ->getValue ('org_long_name ' );
40
39
$ organizationID = $ organization ->getValue ('org_id ' );
41
40
} else {
You can’t perform that action at this time.
0 commit comments