[Feed-collector-svn] SF.net SVN: feed-collector: [89] trunk
Status: Beta
Brought to you by:
c167
|
From: <c1...@us...> - 2007-01-04 14:52:52
|
Revision: 89
http://feed-collector.svn.sourceforge.net/feed-collector/?rev=89&view=rev
Author: c167
Date: 2007-01-04 06:52:53 -0800 (Thu, 04 Jan 2007)
Log Message:
-----------
working correctly, XHTML valid
Modified Paths:
--------------
trunk/page_show_all_feeds.php
trunk/styles/default/page_show_all_feeds-screen.css
trunk/styles/default/page_show_all_feeds.tpl
Modified: trunk/page_show_all_feeds.php
===================================================================
--- trunk/page_show_all_feeds.php 2007-01-04 14:20:35 UTC (rev 88)
+++ trunk/page_show_all_feeds.php 2007-01-04 14:52:53 UTC (rev 89)
@@ -35,8 +35,6 @@
echo $db->getMessage();
echo "<br />";
echo $db->getDebugInfo();
-} else {
- //$log->log(_("Successfully connected to the database"), PEAR_LOG_DEGUB);
}
$db->setFetchMode(MDB2_FETCHMODE_ASSOC);
@@ -49,8 +47,7 @@
'table' => $session['container']['tablename'],
'autooptimize' => $session['container']['autooptimize']
);
-HTTP_Session :: setContainer('MDB2', /*$session['container']['options']*/
-$options);
+HTTP_Session :: setContainer('MDB2', $options);
HTTP_Session :: start();
HTTP_Session :: setExpire($session['time']['expire']);
HTTP_Session :: setIdle($session['time']['idle']);
@@ -79,9 +76,6 @@
require_once "class/Tag_manager.php";
$tag_manager = new Tag_Manager($db);
-HTTP_Session :: set("logged_in", true);
-HTTP_Session :: set("uid", 0);
-
####################################
# Working with the users feed-list #
####################################
@@ -144,8 +138,7 @@
if (true === HTTP_Session :: get("logged_in", false)) {
$main = createSelectionForm($feed, $tag_manager, $user);
} else {
- $main = createSelectionTable($feed, /*30, detectActualPage($maxpages),*/
- $tag_manager);
+ $main = createSelectionTable($feed, $tag_manager);
}
$design = str_replace("<!-- main -->", $main, $design);
@@ -166,7 +159,7 @@
return "error!!!";
}
$return = sprintf(" <form action=\"%s\" method=\"post\">\n", $_SERVER['PHP_SELF']);
- $return .= sprintf(" <table summary=\"\" border=\"1\">\n" .
+ $return .= sprintf(" <table summary=\"\" >\n" .
" <tr>\n" .
" <th colspan=\"5\" class=\"submit\"><input type=\"submit\" name=\"Submit\" value=\"%s\" /></th>\n" .
" </tr>\n" .
@@ -244,11 +237,11 @@
} else {
$return .= " <td>\n";
foreach ($tags as $id => $tag) {
- $return .= " <a href=\"./page_show_feed_tag.php?tag=$tag\">$tag</a>";
+ $taglink = str_replace(" ", "%20", $tag);
+ $return .= "<a href=\"./page_show_feed_tag.php?tag=$taglink\">$tag</a>";
if ($id !== (count($tags) - 1)) {
$return .= ", ";
}
- //$main .= "\n";
}
$return .= " </td>\n";
}
Modified: trunk/styles/default/page_show_all_feeds-screen.css
===================================================================
--- trunk/styles/default/page_show_all_feeds-screen.css 2007-01-04 14:20:35 UTC (rev 88)
+++ trunk/styles/default/page_show_all_feeds-screen.css 2007-01-04 14:52:53 UTC (rev 89)
@@ -237,6 +237,21 @@
padding: 0;
}
+table {
+ width: 100%;
+}
+
+th {
+ text-align: left;
+ border-left: 1px solid rgb(204, 204, 204);
+ border-top: 1px solid rgb(204, 204, 204);
+ border-bottom: 1px solid rgb(204, 204, 204);
+}
+
+td {
+ border-bottom: 1px solid rgb(204, 204, 204);
+ border-left: 1px solid rgb(204, 204, 204);
+}
.checked {
background-color: yellow;
}
Modified: trunk/styles/default/page_show_all_feeds.tpl
===================================================================
--- trunk/styles/default/page_show_all_feeds.tpl 2007-01-04 14:20:35 UTC (rev 88)
+++ trunk/styles/default/page_show_all_feeds.tpl 2007-01-04 14:52:53 UTC (rev 89)
@@ -8,8 +8,6 @@
<meta name="generator" content="haran" />
<link rel="stylesheet" type="text/css" href="./styles/default/page_show_all_feeds-screen.css" media="screen, tv, projection" title="Default" />
- <link rel="stylesheet alternative" type="text/css" href="./styles/default/page_show_all_feeds-print.css" media="screen" title="Print Preview" />
- <link rel="stylesheet" type="text/css" href="./styles/default/page_show_all_feeds-print.css" media="print" />
<title><!-- title --></title>
</head>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|