From a82065a18b430f808799634cf1132c9921a5f18b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 8 Sep 2005 10:35:05 +0100 Subject: [PATCH] no entries found -> no articles found --- backend.php | 2 +- schema/ttrss_schema_mysql.sql | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend.php b/backend.php index 8b39ce5f3..7903dcf55 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 b7267e3b7..0ed2b8df5 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');