Project

General

Profile

« Previous | Next » 

Revision f14ab2c6

Added by Jim Pingle almost 6 years ago

Setup shortcuts for packages. Fixes #9770

(cherry picked from commit 37213abe96e83884b4a8ffbbbb7cc759cd2799ec)

View differences:

src/usr/local/www/head.inc
638 638
	<?php endif?>
639 639

  
640 640
<?php
641
/* Determine shortcut section for XML-based packages */
642
if (empty($shortcut_section) && !empty($xmlfile)) {
643
	$shortcut_section = basename($pagename, '.xml');
644
}
645

  
641 646
if (!$hide_service_status && !empty($shortcuts[$shortcut_section]['service']) && isAllowedPage('status_services.php')) {
642 647
	$ssvc = array();
643 648
	switch ($shortcut_section) {

Also available in: Unified diff