diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2010-10-30 16:53:58 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2010-10-30 16:53:58 +0000 |
commit | de4b3670d8252fe180f634fe17647226b9a1b2a6 (patch) | |
tree | 3197c660fee107785ddb7abbe087c7d0247d2a9b /h-source/Application/Views/Meet | |
parent | 19272c7c88f5df7fbba47f120efe440b5a472315 (diff) |
improved users history - part 2
Diffstat (limited to 'h-source/Application/Views/Meet')
-rw-r--r-- | h-source/Application/Views/Meet/contributions.php | 7 | ||||
-rw-r--r-- | h-source/Application/Views/Meet/talk.php | 56 |
2 files changed, 63 insertions, 0 deletions
diff --git a/h-source/Application/Views/Meet/contributions.php b/h-source/Application/Views/Meet/contributions.php index f679c71..99ad4d1 100644 --- a/h-source/Application/Views/Meet/contributions.php +++ b/h-source/Application/Views/Meet/contributions.php @@ -51,6 +51,13 @@ </div> <?php } ?> + <!--talk messages submitted--> + <?php if ($hasTalk) { ?> + <div class="user_hardware_pages"> + <a href="<?php echo $this->baseUrl."/meet/talk/$lang/$meet_username".$this->viewStatus;?>">talk messages submitted by <b><?php echo $meet_username;?></b></a> + </div> + <?php } ?> + </div> </div>
\ No newline at end of file diff --git a/h-source/Application/Views/Meet/talk.php b/h-source/Application/Views/Meet/talk.php new file mode 100644 index 0000000..7ad80f0 --- /dev/null +++ b/h-source/Application/Views/Meet/talk.php @@ -0,0 +1,56 @@ +<?php if (!defined('EG')) die('Direct access not allowed!'); ?> + +<?php +// h-source, a web software to build a community of people that want to share their hardware information. +// Copyright (C) 2010 Antonio Gallo (h-source-copyright.txt) +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +?> + + <div id="left"> + + <div class="position_tree_box"> + <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> » <a href="<?php echo $this->baseUrl."/meet/user/$lang/$meet_username";?>">meet <b><?php echo $meet_username;?></b></a> » <a href="<?php echo $this->baseUrl."/meet/contributions/$lang/$meet_username";?>">contributions</a> » talk messages + </div> + + <div class="contrib_explain_box"> + talk messages submitted by <?php echo $meet_username;?> + </div> + + <div class="external_users_contrib"> + <?php foreach ($table as $item) {?> + <div class="users_contrib_item"> + + <div class="contribution_item"> + <?php + + $t_date = $item['talk']['creation_date']; + $t_title = $item['talk']['title']; + $t_id = $item['talk']['id_hard']; + $t_id_talk = $item['talk']['id_talk']; + $controller = MyStrings::$reverse[$item['hardware']['type']]; + ?> + + <?php echo "<a href='".$this->baseUrl."/$controller/talk/$lang/$t_id#talk-$t_id_talk'>".$t_title."</a> at ".smartDate($t_date);?> + </div> + + </div> + <?php } ?> + </div> + + <div class="history_page_list"> + <?php echo gtext("page list");?>: <?php echo $pageList;?> + </div> + + </div>
\ No newline at end of file |