translate("APPLY_CHANGES");?>
'Homepage Settings',
'id' => 'homepage_settings',
'tabs' => array(
array(
'title' => 'Plex',
'id' => 'plex',
'image' => 'images/plex.png',
'fields' => array(
array(
'type' => 'text',
'placeholder' => 'http://hostname:32400',
'labelTranslate' => 'PLEX_URL',
'assist' => 'http://hostname:32400',
'name' => 'plexURL',
'pattern' => $urlPattern,
'value' => PLEXURL,
),
array(
'type' => 'text',
'placeholder' => randString(20),
'labelTranslate' => 'PLEX_TOKEN',
'name' => 'plexToken',
'pattern' => '[a-zA-Z0-9]{20}',
'value' => PLEXTOKEN,
),
array(
array(
'type' => 'checkbox',
'labelTranslate' => 'RECENT_MOVIES',
'name' => 'plexRecentMovie',
'value' => PLEXRECENTMOVIE,
),
array(
'type' => 'checkbox',
'labelTranslate' => 'RECENT_TV',
'name' => 'plexRecentTV',
'value' => PLEXRECENTTV,
),
array(
'type' => 'checkbox',
'labelTranslate' => 'RECENT_MUSIC',
'name' => 'plexRecentMusic',
'value' => PLEXRECENTMUSIC,
),
array(
'type' => 'checkbox',
'labelTranslate' => 'PLAYING_NOW',
'name' => 'plexPlayingNow',
'value' => PLEXPLAYINGNOW,
),
),
),
),
array(
'title' => 'Emby',
'id' => 'emby',
'image' => 'images/emby.png',
'fields' => array(
array(
'type' => 'text',
'placeholder' => 'http://hostname:8096/emby',
'labelTranslate' => 'EMBY_URL',
'assist' => 'http://hostname:8096 | https://hostname/emby | http://hostname:8096/emby',
'name' => 'embyURL',
'pattern' => $urlPattern,
'value' => EMBYURL,
),
array(
'type' => 'text',
'placeholder' => randString(32),
'labelTranslate' => 'EMBY_TOKEN',
'name' => 'plexToken',
'pattern' => '[a-zA-Z0-9]{32}',
'value' => EMBYTOKEN,
),
array(
array(
'type' => 'checkbox',
'labelTranslate' => 'RECENT_MOVIES',
'name' => 'embyRecentMovie',
'value' => EMBYRECENTMOVIE,
),
array(
'type' => 'checkbox',
'labelTranslate' => 'RECENT_TV',
'name' => 'embyRecentTV',
'value' => EMBYRECENTTV,
),
array(
'type' => 'checkbox',
'labelTranslate' => 'RECENT_MUSIC',
'name' => 'embyRecentMusic',
'value' => EMBYRECENTMUSIC,
),
array(
'type' => 'checkbox',
'labelTranslate' => 'PLAYING_NOW',
'name' => 'embyPlayingNow',
'value' => EMBYPLAYINGNOW,
),
),
),
),
array(
'title' => 'Sonarr',
'id' => 'sonarr',
'image' => 'images/sonarr.png',
'fields' => array(
array(
'type' => 'text',
'placeholder' => 'http://hostname:8989',
'labelTranslate' => 'SONARR_URL',
'assist' => 'http://hostname:8989 | hostname/sonarr | http://hostname:8989/sonarr',
'name' => 'sonarrURL',
'pattern' => $urlPattern,
'value' => SONARRURL,
),
array(
'type' => 'text',
'placeholder' => randString(32),
'labelTranslate' => 'SONARR_KEY',
'name' => 'sonarrKey',
'pattern' => '[a-zA-Z0-9]{32}',
'value' => SONARRKEY,
),
),
),
array(
'title' => 'Radarr',
'id' => 'radarr',
'image' => 'images/radarr.png',
'fields' => array(
array(
'type' => 'text',
'placeholder' => 'http://hostname:8989',
'labelTranslate' => 'RADARR_URL',
'assist' => 'http://hostname:8989 | hostname/radarr | http://hostname:8989/radarr',
'name' => 'radarrURL',
'pattern' => $urlPattern,
'value' => RADARRURL,
),
array(
'type' => 'text',
'placeholder' => randString(32),
'labelTranslate' => 'RADARR_KEY',
'name' => 'radarrKey',
'pattern' => '[a-zA-Z0-9]{32}',
'value' => RADARRKEY,
),
),
),
array(
'title' => 'Sickbeard/Sickrage',
'id' => 'sick',
'image' => 'images/sickrage.png',
'fields' => array(
array(
'type' => 'text',
'placeholder' => 'http://hostname:8081/sick',
'labelTranslate' => 'SICK_URL',
'assist' => 'http://hostname:8081 | hostname/sick | http://hostname:8081/sick',
'name' => 'sickrageURL',
'pattern' => $urlPattern,
'value' => SICKRAGEURL,
),
array(
'type' => 'text',
'placeholder' => randString(32),
'labelTranslate' => 'SICK_KEY',
'name' => 'sickrageKey',
//'pattern' => '[a-zA-Z0-9]{32}',
'value' => SICKRAGEKEY,
),
),
),
array(
'title' => 'Headphones',
'id' => 'headphones',
'image' => 'images/headphones.png',
'fields' => array(
array(
'type' => 'text',
'placeholder' => 'http://hostname:8181',
'labelTranslate' => 'HEADPHONES_URL',
'assist' => 'http://hostname:8181',
'name' => 'headphonesURL',
'pattern' => $urlPattern,
'value' => HEADPHONESURL,
),
array(
'type' => 'text',
'placeholder' => randString(32),
'labelTranslate' => 'HEADPHONES_KEY',
'name' => 'headphonesKey',
//'pattern' => '[a-zA-Z0-9]{32}',
'value' => HEADPHONESKEY,
),
),
),
array(
'title' => 'Sabnzbd',
'id' => 'sabnzbd',
'image' => 'images/sabnzbd.png',
'fields' => array(
array(
'type' => 'text',
'placeholder' => 'http://hostname:8080/sabnzbd',
'labelTranslate' => 'SABNZBD_URL',
'assist' => 'http://hostname:8080 | http://hostname/sabnzbd | http://hostname:8080/sabnzbd',
'name' => 'sabnzbdURL',
'pattern' => $urlPattern,
'value' => SABNZBDURL,
),
array(
'type' => 'text',
'placeholder' => randString(32),
'labelTranslate' => 'SABNZBD_KEY',
'name' => 'sabnzbdKey',
//'pattern' => '[a-zA-Z0-9]{32}',
'value' => SABNZBDKEY,
),
),
),
array(
'title' => 'nzbGET',
'id' => 'nzbget',
'image' => 'images/nzbget.png',
'fields' => array(
array(
'type' => 'text',
'placeholder' => 'http://hostname:6789',
'labelTranslate' => 'NZBGET_URL',
'assist' => 'http://hostname:6789',
'name' => 'nzbgetURL',
'pattern' => $urlPattern,
'value' => NZBGETURL,
),
array(
'type' => 'text',
'labelTranslate' => 'USERNAME',
'name' => 'nzbgetUsername',
//'pattern' => '[a-zA-Z0-9]{32}',
'value' => NZBGETUSERNAME,
),
array(
'type' => 'password',
'labelTranslate' => 'PASSWORD',
'name' => 'nzbgetPassword',
//'pattern' => '[a-zA-Z0-9]{32}',
'value' => (empty(NZBGETPASSWORD)?'':randString(20)),
),
),
),
array(
'title' => 'Calendar',
'id' => 'calendar',
'image' => 'images/calendar.png',
'fields' => array(
array(
'type' => 'select',
'labelTranslate' => 'CALENDAR_START_DAY',
'name' => 'calendarStart',
'value' => CALENDARSTART,
'options' => array(
explode('|', translate('DAYS'))[0] => '0',
explode('|', translate('DAYS'))[1] => '1',
explode('|', translate('DAYS'))[2] => '2',
explode('|', translate('DAYS'))[3] => '3',
explode('|', translate('DAYS'))[4] => '4',
explode('|', translate('DAYS'))[5] => '5',
explode('|', translate('DAYS'))[6] => '6',
),
),
array(
'type' => 'select',
'labelTranslate' => 'DEFAULT',
'name' => 'calendarView',
'value' => CALENDARVIEW,
'options' => array(
translate('MONTH') => 'month',
translate('DAY') => 'basicDay',
translate('WEEK') => 'basicWeek',
),
),
array(
'type' => 'select',
'labelTranslate' => 'CALTIMEFORMAT',
'name' => 'calTimeFormat',
'value' => CALTIMEFORMAT,
'options' => array(
'6p' => 'h(:mm)t',
'6:00p' => 'h:mmt',
'6:00' => 'h:mm',
'18' => 'H(:mm)',
'18:00' => 'H:mm',
),
),
array(
'type' => 'text',
'placeholder' => '10',
'labelTranslate' => 'CALENDAR_START_DATE',
'name' => 'calendarStartDay',
'pattern' => '[1-9][0-9]+',
'value' => CALENDARSTARTDAY,
),
array(
'type' => 'text',
'placeholder' => '10',
'labelTranslate' => 'CALENDAR_END_DATE',
'name' => 'calendarEndDay',
'pattern' => '[1-9][0-9]+',
'value' => CALENDARENDDAY,
),
),
),
),
)
);
?>
SUBREDDIT
translate("SUBMIT_ISSUE");?>
translate("VIEW_ON_GITHUB");?>
translate("CHAT_WITH_US");?>
translate("HELP");?>
translate("DELETE_DATABASE");?>
translate("ADDING_TABS");?>
translate("START_ADDING_TABS");?>
translate("TAB_URL");?> translate("TAB_URL_ABOUT");?>
translate("ICON_URL");?> translate("ICON_URL_ABOUT");?>
translate("DEFAULT");?> translate("DEFAULT_ABOUT");?>
translate("ACTIVE");?> translate("ACTIVE_ABOUT");?>
translate("USER");?> translate("USER_ABOUT");?>
translate("GUEST");?> translate("GUEST_ABOUT");?>
translate("NO_IFRAME");?> translate("NO_IFRAME_ABOUT");?>
translate("QUICK_ACCESS");?>
translate("QUICK_ACCESS_ABOUT");?> #Sonarr
translate("SIDE_BY_SIDE");?>
translate("SIDE_BY_SIDE_ABOUT");?>
translate("SIDE_BY_SIDE_INSTRUCTIONS1");?>
translate("SIDE_BY_SIDE_INSTRUCTIONS2");?> [ ]
translate("SIDE_BY_SIDE_INSTRUCTIONS3");?>
translate("KEYBOARD_SHORTCUTS");?>
translate("KEYBOARD_SHORTCUTS_ABOUT");?>
S + S translate("KEYBOARD_INSTRUCTIONS1");?>
F + F translate("KEYBOARD_INSTRUCTIONS6");?>
P + P translate("KEYBOARD_INSTRUCTIONS7");?>
M + M translate("KEYBOARD_INSTRUCTIONS8");?>
Ctrl + Shift + ↓ translate("KEYBOARD_INSTRUCTIONS2");?>
Ctrl + Shift + ↑ translate("KEYBOARD_INSTRUCTIONS3");?>
Ctrl + Shift + 1 - 9 translate("KEYBOARD_INSTRUCTIONS5");?>
Esc + Esc translate("KEYBOARD_INSTRUCTIONS4");?>
translate("TAB_NOT_LOADING");?>
translate("TAB_NOT_LOADING_ABOUT");?>
Ignore X-Frame headers by Guillaume Ryder";
elseif(get_browser_name() == "Firefox") : echo get_browser_name() . ":
Ignore X-Frame headers by rjhoukema";
else : echo "Sorry, currently there is no other alternative for " . get_browser_name(); endif;
?>
translate("USER_ICONS");?>
translate("TRANSLATIONS");?>
translate("DELETE_DATABASE");?>
translate("DELETE_WARNING");?>
translate("DELETE_DATABASE");?>
translate("SHOW_MORE");?>
translate("SHOW_LESS");?>
#
translate("USERNAME");?>
translate("EMAIL");?>
translate("LOGIN_STATUS");?>
translate("LAST_SEEN");?>
translate("USER_GROUP");?>
translate("USER_ACTIONS");?>
translate("LOGGED_IN");
$userActiveColor = "primary";
else :
$userActive = $language->translate("LOGGED_OUT");
$userActiveColor = "danger";
endif;
$userpic = md5( strtolower( trim( $row['email'] ) ) );
if(!empty($row["last"])) :
$lastActive = date("Y-m-d H:i", intval($row["last"]));
else :
$lastActive = "";
endif;
?>
=$countUsers;?>
=$row['username'];?>
=$row['email'];?>
=$userActive;?>
=$lastActive;?>
=$row['role'];?>
class="btn waves btn-labeled btn-danger btn btn-sm text-uppercase waves-effect waves-float deleteUser">
translate("DELETE");?>
translate("PROMOTE");?>
class="btn waves btn-labeled btn-warning btn btn-sm text-uppercase waves-effect waves-float demoteUser">
translate("DEMOTE");?>
3
translate("GOOD_LOGINS");?>
translate("BAD_LOGINS");?>
translate("DATE");?>
translate("USERNAME");?>
translate("IP_ADDRESS");?>
translate("TYPE");?>
$val) :
if($val["auth_type"] == "bad_auth") : $badLogin++; elseif($val["auth_type"] == "good_auth") : $goodLogin++; endif;
?>
=$val["date"];?>
=$val["username"];?>
=$val["ip"];?>
">=$val["auth_type"];?>
translate("NOTHING_LOG");
endif;
?>