[Isocial-svn] SF.net SVN: isocial: [237] app
Status: Pre-Alpha
Brought to you by:
aguidrevitch
From: <di...@us...> - 2008-06-15 11:43:24
|
Revision: 237 http://isocial.svn.sourceforge.net/isocial/?rev=237&view=rev Author: dim0s77 Date: 2008-06-15 04:43:32 -0700 (Sun, 15 Jun 2008) Log Message: ----------- minor fixes Modified Paths: -------------- app/controllers/groupapp/group_controller.php app/installers/user_installer.php app/views/groupapp/group/show_group.tpl Modified: app/controllers/groupapp/group_controller.php =================================================================== --- app/controllers/groupapp/group_controller.php 2008-06-10 17:09:30 UTC (rev 236) +++ app/controllers/groupapp/group_controller.php 2008-06-15 11:43:32 UTC (rev 237) @@ -184,6 +184,7 @@ } } $this->topics = $topics; + $this->topics_count = count($this->topics); } } Modified: app/installers/user_installer.php =================================================================== --- app/installers/user_installer.php 2008-06-10 17:09:30 UTC (rev 236) +++ app/installers/user_installer.php 2008-06-15 11:43:32 UTC (rev 237) @@ -286,18 +286,6 @@ ) ENGINE=InnoDB"); $this->execute( - "CREATE TABLE `groups` ( - `id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT, - `name` varchar(255), - `type` - `city_id` int(11), - `count` int(11), - FOREIGN KEY (user_id) REFERENCES users(id), - FOREIGN KEY (city_id) REFERENCES cities(id), - INDEX user_idx (user_id) - ) ENGINE=InnoDB"); - - $this->execute( "CREATE TABLE `group_profiles` ( `id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT, `user_id` int(11) NOT NULL, Modified: app/views/groupapp/group/show_group.tpl =================================================================== --- app/views/groupapp/group/show_group.tpl 2008-06-10 17:09:30 UTC (rev 236) +++ app/views/groupapp/group/show_group.tpl 2008-06-15 11:43:32 UTC (rev 237) @@ -100,7 +100,7 @@ {?topics} <div class="menu"> <div class="action"><a href="/groupapp/board/start_topic/{group.id?}">_{Start New Topic}</a></div> - <div class="info">_{Topics count}: <a href="/groupapp/board/{group.id?}">1</a></div> + <div class="info">_{Topics count}: <a href="/groupapp/board/{group.id?}">{topics_count?}</a></div> </div> <div class="simple_list"> {loop topics} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |