diff --git a/views/options-page.php b/views/options-page.php index 7efe9bc..a14dde5 100755 --- a/views/options-page.php +++ b/views/options-page.php @@ -1,63 +1,63 @@
- +

Multisite Shared Menu Settings

Select the source site that will be used for the selected menu location(s).

Please Note: Use the same theme on each site to ensure menu location compatibility.

- -
+ + '; - + echo ''; - + // Output available theme menu locations... echo ''; ?>
'; - - + + $locations = get_registered_nav_menus(); $locationKeys = array_keys( $locations ); $menuLocation = get_option('mfs_override_menu_location'); - + if( !is_array( $menuLocation ) ) { $menuLocation = array( $menuLocation ); // backwards-compatibility from previous version } if( count($locations) ) { - + $option_count = 1; - + foreach ($locationKeys as $curLocation ) { if ( in_array ( $curLocation, $menuLocation ) ) { $checked = true; @@ -65,7 +65,7 @@ else { $checked = false; } - + echo '
'; $option_count++; } @@ -74,16 +74,16 @@ // No menu locations echo '
Error: No navigation menus have been registered for this theme. Please view WordPress\' documentation to learn how to register navigation menus.
'; } - + echo '
'; - + submit_button(); echo '
- -
\ No newline at end of file + +