@@ -5,8 +5,8 @@ Il se veut léger et facile à prendre en main tout en étant un outil puissant
* Site officiel : http://marienfressinaud.github.io/FreshRSS/
* Démo : http://marienfressinaud.fr/projets/freshrss/
* Développeur : Marien Fressinaud <dev@marienfressinaud.fr>
-* Version actuelle : 0.7-dev
-* Date de publication 2013-12-xx
+* Version actuelle : 0.7-beta
+* Date de publication 2014-01-xx
* License [GNU AGPL 3](http://www.gnu.org/licenses/agpl-3.0.html)

@@ -1,4 +1,5 @@
<?php
+
class FreshRSS_CategoryDAO extends Minz_ModelPdo {
public function addCategory ($valuesTmp) {
$sql = 'INSERT INTO `' . $this->prefix . 'category` (name, color) VALUES(?, ?)';
class FreshRSS_Configuration extends Minz_Model {
private $available_languages = array (
'en' => 'English',
class FreshRSS_ConfigurationDAO extends Minz_ModelArray {
public $language = 'en';
public $posts_per_page = 20;
class FreshRSS_Entry extends Minz_Model {
private $id = 0;
class FreshRSS_EntryDAO extends Minz_ModelPdo {
public function addEntry ($valuesTmp) {
$sql = 'INSERT INTO `' . $this->prefix . 'entry`(id, guid, title, author, content_bin, link, date, is_read, is_favorite, id_feed, tags) '
class FreshRSS_Feed extends Minz_Model {
private $url;
class FreshRSS_FeedDAO extends Minz_ModelPdo {
public function addFeed ($valuesTmp) {
$sql = 'INSERT INTO `' . $this->prefix . 'feed` (url, category, name, website, description, lastUpdate, priority, httpAuth, error, keep_history) VALUES(?, ?, ?, ?, ?, ?, 10, ?, 0, 0)';
class FreshRSS_LogDAO extends Minz_ModelTxt {
public function __construct () {
parent::__construct (LOG_PATH . '/application.log', 'r+');
@@ -164,6 +164,7 @@ function initTranslate () {
$translates = array_merge($translates, include($file));
}
function getBetterLanguage ($fallback) {
$available = availableLanguages ();
$accept = $_SERVER['HTTP_ACCEPT_LANGUAGE'];