SignalEvent($EventName); $AdditionalMenuItems = array(); foreach ($SignalResult as $HandlerName => $Results) { $HandlerNamePieces = preg_split("/::/", $HandlerName); $HandlerBaseName = $HandlerNamePieces[0]; foreach ($Results as $ItemLink => $ItemLabel) { if (!preg_match("/\.php/", $ItemLink)) { $ItemLink = "index.php?P=P_".$HandlerBaseName."_".$ItemLink; } $AdditionalMenuItems[$ItemLink] = $ItemLabel; } } asort($AdditionalMenuItems); return $AdditionalMenuItems; } function DisplayAddedMenuItems($EventName) { $MenuItems = GetAddedMenuItemsFromEventSignal($EventName); if (count($MenuItems)) { ?>

$ItemLabel) { if ($Index == ceil(count($MenuItems) / 2)) { ?>

HasPriv(PRIV_SYSADMIN)) { ?> GetOrphanedTaskCount()) { ?>

WARNING: There are currently orphaned tasks. Please visit the Task Queue page and re-queue or delete the tasks as appropriate.

TaskExecutionEnabled()) { ?>

PLEASE NOTE: Automatic task execution is currently disabled, which means that background tasks like search database updates and periodic mailings will not run. Visit the Task Queue page to re-enable task execution.

HasPriv(PRIV_SYSADMIN, PRIV_COLLECTIONADMIN)) { ?>

# Collection Administration

- Metadata Field Editor
- Qualifier Editor
- Metadata Field Ordering
- Search Configuration
- View Search Log
- View Failed Search Log
- Rebuild Search Database

- Import Tab-Delimited Data
Import Data (OAI-PMH) */ ?>
- Export Data
- Purge Sample Records
- View OAI-PMH Harvest Log
- Rebuild Recommender Database

HasPriv(PRIV_SYSADMIN, PRIV_USERADMIN)) { ?>

# User Administration

- Edit Users
- Import User Accounts
- Export User Accounts

- Edit Account-Related E-mail Text
HasPriv(PRIV_SYSADMIN, PRIV_FORUMADMIN)) { ?>
- Add or Remove Forums
- Track User Comments
- Track User Comments

HasPriv(PRIV_SYSADMIN)) { ?>

# System Administration

- System Configuration
- RSS Export Configuration
- RSS Import Configuration
- Edit Custom Privilege Flags

- Plugins
- Task Queue
HasRegistered()) { ?>
- Update Registration
- Register with Scout
- Administration Help

HasPriv(PRIV_SYSADMIN)) { ?>

# Developer Support

- CWIS Developers Documentation
- PHP Manual

- CWIS Revision History
- CWIS Support
- CWIS Announcements Mailing List

HasPriv(PRIV_SYSADMIN, PRIV_USERADMIN)) { ?>

# Users Currently Logged In

User | Login | Idle | Where | From
--- | --- | --- | --- | ---
Get("LastLoginDate"))); $IdleTime = time() - strtotime($LoggedUser->LastActiveDate()); $IdleTime = sprintf("%d:%02d:%02d", $IdleTime / 3600, ($IdleTime % 3600) / 60, $IdleTime % 60); $Location = $LoggedUser->LastLocation(); $Location = preg_replace("/P_([A-Za-z0-9]+)_/", "\\1:", $Location); $From = GetHostNameForAddr($LoggedUser->LastIPAddress()); ?>
Get("UserName"); ?> |  |  |  |

HasPriv(PRIV_SYSADMIN, PRIV_USERADMIN) && count($G_RecentlyLoggedInUsers)) { ?>

# Users Recently Logged In

User | Login | Idle | Where | From
--- | --- | --- | --- | ---
LastActiveDate()); $LoginTime = date("g:ia", strtotime($LoggedUser->Get("LastLoginDate"))); $From = GetHostNameForAddr($LoggedUser->LastIPAddress()); $IdleTime = sprintf("%d:%02d:%02d", $IdleTime / 3600, ($IdleTime % 3600) / 60, $IdleTime % 60); ?>
Get("UserName"); ?> |  |  | LastLocation(); ?> |

# System Information

CWIS Version |
PHP Version |
MySQL Version |
Database Name |
Supported Image Formats |
PHP Configuration Summary | phpinfo()
Server Time |
Server Load Average |
RSS Feed URL | TEST
SignalEvent("EVENT_SYSTEM_INFO_LIST"); if (count($SignalResult)) { foreach ($SignalResult as $HandlerName => $Items) { foreach ($Items as $Label => $Content) { ?>