From e828e31e83e8d487ad02fd9831690b8d113218fe Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 7 Sep 2005 08:19:14 +0100 Subject: big interface overhaul, new logo --- backend.php | 127 +++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 78 insertions(+), 49 deletions(-) (limited to 'backend.php') diff --git a/backend.php b/backend.php index bb8f86534..a9a661427 100644 --- a/backend.php +++ b/backend.php @@ -40,7 +40,9 @@ $actid = $_GET["actid"]; - print ""; +// print "
"; + + print ""; +// print ""; $icon_file = ICONS_DIR . "/$feed_id.ico"; if ($subop != "piggie") { if (file_exists($icon_file) && filesize($icon_file) > 0) { - $feed_icon = ""; + $feed_icon = ""; } else { - $feed_icon = " "; + $feed_icon = ""; } } else { $feed_icon = "$feed"; - if (ENABLE_FEED_ICONS) { + +/* if (ENABLE_FEED_ICONS) { print ""; } + print ""; print ""; - print ""; - ++$lnum; - } + print ""; */ + + print "
  • "; + if (ENABLE_FEED_ICONS) { + print "$feed_icon"; + } + print "$feed"; -// print "
  • "; + if ($unread > 0) { + print " +  ($unread)"; + } + + print ""; -// print ""; + ++$lnum; + } print "
    $feed_icon$feed"; print "$unread / "; print "$total"; print "
    -// Update all feeds
     "; -// print "
    "; print "
    $total_unread
    "; print "
    $actid
    "; -/* - print "

    All feeds: - Update"; - - print " Mark as read

    "; - - print "
    $total_unread
    "; -*/ - - - } @@ -226,7 +226,23 @@ $feed_icon = " "; } - print ""; + + print "
    "; + + print " + "; + print " + "; + + print "
    Title:" . $line["title"] . "
    Link:" . $line["link"] . "
    "; + + print "
    " . $feed_icon . "
    "; + print "
    " . $line["content"] . "
    "; + + print ""; + +/* print ""; print " @@ -244,7 +260,7 @@ colspan=\"2\" width=\"100%\">" . $line["content"] . ""; - print "
    Title: $feed_icon
    "; + print ""; */ } @@ -629,26 +645,30 @@ if ($subop == "edit") { print "Edit feed:  - Cancel  - Save"; + + "; } else { print " Selection:  - Edit  - Remove "; + + "; + if (ENABLE_PREFS_CATCHUP_UNCATCHUP) { print " - Mark as read  - Mark as unread "; + +  "; } print " - All feeds:  - Export OPML"; + All feeds: + "; } @@ -808,20 +828,29 @@ print "

    "; if ($subop == "edit") { - print "Edit feed:  - Cancel  - Save"; + print "Edit feed: + + "; } else { print " - Selection:  - Edit  - Remove "; + Selection: + + "; } } + if ($op == "error") { + print "

    "; + $msg = $_GET["msg"]; + print $msg; + print "
    "; + } + pg_close($link); ?> -- cgit v1.2.3