X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=prefs.php;h=68bc6eb9202e6be27d11a4521e64883744e6a240;hb=e8614131e893af473e0a585addb19d9f4e8b8973;hp=79ffcf1115a380fc258539b00ad2fce6125eb3a7;hpb=83fe4d6db52b8eca0d072f35c44b9683b10c05ed;p=tt-rss.git diff --git a/prefs.php b/prefs.php index 79ffcf11..68bc6eb9 100644 --- a/prefs.php +++ b/prefs.php @@ -1,59 +1,183 @@ + + require_once "functions.php"; + + basic_nosid_redirect_check(); + + require_once "sessions.php"; + + require_once "sanity_check.php"; + require_once "version.php"; + require_once "config.php"; + require_once "db-prefs.php"; + + $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); + + login_sequence($link); + + $dt_add = get_script_dt_add(); + +?>
-- Preferences + |
+
|
|||||
- |
+ | + if (!SINGLE_USER_MODE) { ?> + Hello, = $_SESSION["name"] ?> + (Logout) + } ?> + | ||||
+ + + if (ENABLE_FEED_BROWSER && !SINGLE_USER_MODE) { ?> + + } ?> + + if (GLOBAL_ENABLE_LABELS && get_pref($link, 'ENABLE_LABELS')) { ?> + + } ?> + if ($_SESSION["access_level"] >= 10) { ?> + + } ?> | -- Return to main + | + | +
- Feed Configuration- -
|
- Selection: - Remove - Mark as read - Mark as unread - - + Loading, please wait... |
+ if (get_pref($link, 'DISPLAY_FOOTER')) { ?>
||
- Tiny-Tiny RSS v0.1 © 2005 Andrew Dolgov + |
+ Tiny-Tiny RSS v= VERSION ?> © 2005-2006 Andrew Dolgov
+ if (WEB_DEMO_MODE) { ?>
+ Running in demo mode, some functionality is disabled. + } ?> |
+ } ?>