Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Slightly better error checking in template.php

Featured Replies

A few minor changes to the template.php

 

I made the following changes to webGui/template.php to assist in my development.  They clean up some errors that will show up when debugging is enabled.  (The added code is in "blue")

 

Joe L.

 

In webGui/template.php in the function build_pages:

    // assign defaults

    if (!array_key_exists( 'Author', $page ) || strlen($page['Author']) == 0)

      $page['Author'] = "anonymous";

    if (!array_key_exists( 'Version', $page ) || strlen($page['Version']) == 0)

      $page['Version'] = "unknown";

    if (!array_key_exists( 'Title', $page ) || strlen($page['Title']) == 0)

      $page['Title'] = $page['Title'];

    if (!array_key_exists( 'Type', $page ) || strlen($page['Type']) == 0)

      $page['Type'] = "echo 'Not much here.'";

    if (!array_key_exists( 'Icon', $page ) || strlen($page['Icon']) == 0)

      $page['Icon'] = "default.png";

    if (!array_key_exists( 'Menu', $page) || strlen($page['Menu']) == 0)

      $page['Menu'] = "";

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.