Changeset 35
- Timestamp:
- 07/16/07 16:15:20 (18 months ago)
- Location:
- trunk/app
- Files:
-
- 1 added
- 3 modified
-
controllers/news_controller.php (modified) (1 diff)
-
controllers/users_controller.php (modified) (4 diffs)
-
views/news/display.thtml (added)
-
views/news/rss.thtml (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/controllers/news_controller.php
r34 r35 57 57 } 58 58 59 $this->layout = 'portal'; 60 59 61 $conditions = array("News.status"=>1, "News.id"=>$id); 60 62 61 $fields = array("News.id", "News.title", "News. votes", "News.comments", "News.body", "News.created", "News.reference", "News.theme_id", "News.user_id", "Theme.img", "Theme.theme", "User.username");63 $fields = array("News.id", "News.title", "News.comments", "News.body", "News.created", "News.reference", "News.theme_id", "News.user_id", "Theme.img", "Theme.theme", "User.username"); 62 64 63 65 $this->pageTitle = 'Hacktivismo'; -
trunk/app/controllers/users_controller.php
r34 r35 255 255 $this->layout = 'portal'; 256 256 } 257 257 258 258 public function recover() 259 259 { … … 264 264 $this->layout = 'portal'; 265 265 } 266 267 266 268 267 public function bloggers($order = 'username', $desc = 'DESC') … … 280 279 public function login() 281 280 { 281 $this->layout = 'portal'; 282 282 283 $this->pageTitle = 'Login :: Karamelo E-learning'; 283 284 … … 310 311 { 311 312 $this->layout = 'portal'; 312 313 313 314 314 $this->Group = new Group; -
trunk/app/views/news/rss.thtml
r20 r35 1 1 <rss version="2.0"> 2 2 <channel> 3 <title>:: KarameloRSS::</title>3 <title>::MonoNeurona RSS::</title> 4 4 <link>http://<?php echo $_SERVER['SERVER_NAME'] ?></link> 5 5 <description>Noticias del mundo libre</description> … … 7 7 <image> 8 8 <title>MonoNeurona - Minuto x Minuto</title> 9 <url>http:// <?php echo $_SERVER['SERVER_NAME']; ?>/img/static/mn-small.png</url>10 <link>http:// <?php echo $_SERVER['SERVER_NAME']; ?></link>9 <url>http://www.mononeurona.org/img/static/mn-small.png</url> 10 <link>http://www.monneurona.org</link> 11 11 <width>100</width> 12 12 <height>71</height> … … 21 21 <title><?php echo $v["News"]['title']; ?></title> 22 22 <link>http://<?php echo $_SERVER['SERVER_NAME'] ?>/news/display/<?php echo $v["News"]["id"]; ?></link> 23 <comments><?php echo $_SERVER['SERVER_NAME'] ;?>/news/display/<?php echo $v["News"]["id"] ?></comments>23 <comments><?php echo $_SERVER['SERVER_NAME'] ?>/news/display/<?php echo $v["News"]["id"] ?></comments> 24 24 <description><![CDATA[<?php echo $body; ?>]]></description> 25 25 <pubdate><?php echo $v["News"]["created"] ?></pubdate> 26 26 <creator><?php echo $v["News"]["created"] ?></creator> 27 <category><?php echo $v["News"][' subject_id']; ?></category>27 <category><?php echo $v["News"]['theme_id']; ?></category> 28 28 <guid><?php echo $_SERVER['SERVER_NAME'] ?>/news/display/<?php echo $v["News"]["id"] ?></guid> 29 29 </item>
