From: Andrew Dolgov Date: Thu, 8 Sep 2005 09:35:05 +0000 (+0100) Subject: no entries found -> no articles found X-Git-Tag: 1.0.4~18 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a82065a18b430f808799634cf1132c9921a5f18b;p=tt-rss.git no entries found -> no articles found --- diff --git a/backend.php b/backend.php index 8b39ce5f..7903dcf5 100644 --- a/backend.php +++ b/backend.php @@ -437,7 +437,7 @@ } if ($lnum == 0) { - print "No entries found."; + print "No articles found."; } /* while ($lnum < HEADLINES_PER_PAGE) { diff --git a/schema/ttrss_schema_mysql.sql b/schema/ttrss_schema_mysql.sql index b7267e3b..0ed2b8df 100644 --- a/schema/ttrss_schema_mysql.sql +++ b/schema/ttrss_schema_mysql.sql @@ -60,11 +60,11 @@ create table ttrss_filters (id integer primary key auto_increment, reg_exp varchar(250) not null, description varchar(250) not null default '') TYPE=InnoDB; -drop table ttrss_labels; +drop table if exists ttrss_labels; -create table ttrss_labels (id integer primary key auto increment, +create table ttrss_labels (id integer primary key auto_increment, sql_exp varchar(250) not null, - description varchar(250) not null); + description varchar(250) not null) TYPE=InnoDB; insert into ttrss_labels (sql_exp,description) values ('title = \'Interesting Topic\'', 'Example Label');