Skip to content

Commit

Permalink
Atualizacao nao importante
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiancarlos committed May 8, 2012
1 parent 4b18eb2 commit d89c858
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions application/classes/controller/applicationBlog.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@ abstract class Controller_ApplicationBlog extends Controller_Template{
public $template = 'layouts/template_blog';

public function before(){

$icon = URL::base() . 'media/images/favicon_blog.png';

parent::before();
View::set_global('site_name', 'Blog com Kohana 3.2');
View::set_global('description', 'Exemplo de blog usando framework kohana');
View::set_global('shortcut_icon', $icon);

$this->template->content = '';
$this->template->styles = array(
Expand Down
2 changes: 0 additions & 2 deletions application/views/layouts/template_blog.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
<meta charset="utf-8" />
<meta name="description" content=" <?php echo $description; ?>" />
<title><?php echo $site_name; ?></title>

<link rel="shortcut icon" href="<?php echo $shortcut_icon; ?>" />

<?php foreach ($styles as $style): ?>
<link rel="stylesheet" href="<?php echo URL::base(); ?>media/css/<?php echo $style; ?>.css" type="text/css" media="screen" />
Expand Down
2 changes: 1 addition & 1 deletion media/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

body { margin:0px; padding:0px; background: #f5f5f5 url('../images/blog_background.png') repeat 0 0; height:100%; width:100%; top:0; left:0; }
body { margin:0px; padding:0px; background: #f5f5f5 url('../images/blog_background.png') repeat 0 0; height:100%; width:100%; top:0; left:0; }

/* Text Font and Color CUSTOM */
body, button, input, select, textarea { font-family: "Trebuchet MS", Tahoma, sans-serif; color:#474646; }
Expand Down

0 comments on commit d89c858

Please sign in to comment.