Skip to content

Commit

Permalink
Fixed small bug with wrong link to rss feed in Normal theme - issue 166
Browse files Browse the repository at this point in the history
  • Loading branch information
martijn.niji@gmail.com committed Apr 20, 2009
1 parent a18eae4 commit 25bbc72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Sigla:
+ Added Danish translation for admin and file manager. Thanks Kenan.
+ Added Croatian translation for admin and file manager. Thanks jackie.

- Fixed small bug with wrong link to rss feed in Normal theme - issue 166
- Fixed bug with default tab listing showing controller which had set show_tab to false.
- Fixed some SQLite related problems in the comment plugin
- Fixed some i18n issues - issue 158
Expand Down
2 changes: 1 addition & 1 deletion install/sql_data.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function frog_datetime_incrementor()
// Dumping data for table: layout -------------------------------------------

$PDO->exec("INSERT INTO ".TABLE_PREFIX."layout (id, name, content_type, content, created_on, updated_on, created_by_id, updated_by_id) VALUES (1, 'none', 'text/html', '<?php echo \$this->content(); ?>', '".frog_datetime_incrementor()."', '".frog_datetime_incrementor()."', 1, 1)");
$PDO->exec("INSERT INTO ".TABLE_PREFIX."layout (id, name, content_type, content, created_on, updated_on, created_by_id, updated_by_id) VALUES (2, 'Normal', 'text/html', '<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\r\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n <title><?php echo \$this->title(); ?></title>\r\n\r\n <meta http-equiv=\"content-type\" content=\"application/xhtml+xml; charset=utf-8\" />\r\n <meta name=\"robots\" content=\"index, follow\" />\r\n <meta name=\"description\" content=\"<?php echo (\$this->description() != '''') ? \$this->description() : ''Default description goes here''; ?>\" />\r\n <meta name=\"keywords\" content=\"<?php echo (\$this->keywords() != '''') ? \$this->keywords() : ''default, keywords, here''; ?>\" />\r\n <meta name=\"author\" content=\"Author Name\" />\r\n\r\n <link rel=\"favourites icon\" href=\"<?php echo URL_PUBLIC; ?>favicon.ico\" />\r\n <link rel=\"stylesheet\" href=\"<?php echo URL_PUBLIC; ?>public/themes/normal/screen.css\" media=\"screen\" type=\"text/css\" />\r\n <link rel=\"stylesheet\" href=\"<?php echo URL_PUBLIC; ?>public/themes/normal/print.css\" media=\"print\" type=\"text/css\" />\r\n <link rel=\"alternate\" type=\"application/rss+xml\" title=\"Frog Default RSS Feed\" href=\"<?php echo URL_PUBLIC.(USE_MOD_REWRITE)?'''':''/?''; ?>rss.xml\" />\r\n\r\n</head>\r\n<body>\r\n<div id=\"page\">\r\n<?php \$this->includeSnippet(''header''); ?>\r\n<div id=\"content\">\r\n\r\n <h2><?php echo \$this->title(); ?></h2>\r\n <?php echo \$this->content(); ?> \r\n <?php if (\$this->hasContent(''extended'')) echo \$this->content(''extended''); ?> \r\n\r\n</div> <!-- end #content -->\r\n<div id=\"sidebar\">\r\n\r\n <?php echo \$this->content(''sidebar'', true); ?> \r\n\r\n</div> <!-- end #sidebar -->\r\n<?php \$this->includeSnippet(''footer''); ?>\r\n</div> <!-- end #page -->\r\n</body>\r\n</html>', '".frog_datetime_incrementor()."', '".frog_datetime_incrementor()."', 1, 1)");
$PDO->exec("INSERT INTO ".TABLE_PREFIX."layout (id, name, content_type, content, created_on, updated_on, created_by_id, updated_by_id) VALUES (2, 'Normal', 'text/html', '<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\r\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n <title><?php echo \$this->title(); ?></title>\r\n\r\n <meta http-equiv=\"content-type\" content=\"application/xhtml+xml; charset=utf-8\" />\r\n <meta name=\"robots\" content=\"index, follow\" />\r\n <meta name=\"description\" content=\"<?php echo (\$this->description() != '''') ? \$this->description() : ''Default description goes here''; ?>\" />\r\n <meta name=\"keywords\" content=\"<?php echo (\$this->keywords() != '''') ? \$this->keywords() : ''default, keywords, here''; ?>\" />\r\n <meta name=\"author\" content=\"Author Name\" />\r\n\r\n <link rel=\"favourites icon\" href=\"<?php echo URL_PUBLIC; ?>favicon.ico\" />\r\n <link rel=\"stylesheet\" href=\"<?php echo URL_PUBLIC; ?>public/themes/normal/screen.css\" media=\"screen\" type=\"text/css\" />\r\n <link rel=\"stylesheet\" href=\"<?php echo URL_PUBLIC; ?>public/themes/normal/print.css\" media=\"print\" type=\"text/css\" />\r\n <link rel=\"alternate\" type=\"application/rss+xml\" title=\"Frog Default RSS Feed\" href=\"<?php echo URL_PUBLIC.((USE_MOD_REWRITE)?'''':''/?''); ?>rss.xml\" />\r\n\r\n</head>\r\n<body>\r\n<div id=\"page\">\r\n<?php \$this->includeSnippet(''header''); ?>\r\n<div id=\"content\">\r\n\r\n <h2><?php echo \$this->title(); ?></h2>\r\n <?php echo \$this->content(); ?> \r\n <?php if (\$this->hasContent(''extended'')) echo \$this->content(''extended''); ?> \r\n\r\n</div> <!-- end #content -->\r\n<div id=\"sidebar\">\r\n\r\n <?php echo \$this->content(''sidebar'', true); ?> \r\n\r\n</div> <!-- end #sidebar -->\r\n<?php \$this->includeSnippet(''footer''); ?>\r\n</div> <!-- end #page -->\r\n</body>\r\n</html>', '".frog_datetime_incrementor()."', '".frog_datetime_incrementor()."', 1, 1)");
$PDO->exec("INSERT INTO ".TABLE_PREFIX."layout (id, name, content_type, content, created_on, updated_on, created_by_id, updated_by_id) VALUES (3, 'RSS XML', 'application/rss+xml', '<?php echo \$this->content(); ?>', '".frog_datetime_incrementor()."', '".frog_datetime_incrementor()."', 1, 1)");


Expand Down

0 comments on commit 25bbc72

Please sign in to comment.