aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Views
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Views')
-rw-r--r--h-source/Application/Views/Meet/contributions.php7
-rw-r--r--h-source/Application/Views/Meet/talk.php56
-rw-r--r--h-source/Application/Views/talk.php1
3 files changed, 64 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> &raquo; <a href="<?php echo $this->baseUrl."/meet/user/$lang/$meet_username";?>">meet <b><?php echo $meet_username;?></b></a> &raquo; <a href="<?php echo $this->baseUrl."/meet/contributions/$lang/$meet_username";?>">contributions</a> &raquo; 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
diff --git a/h-source/Application/Views/talk.php b/h-source/Application/Views/talk.php
index d0872f4..5975c54 100644
--- a/h-source/Application/Views/talk.php
+++ b/h-source/Application/Views/talk.php
@@ -34,6 +34,7 @@
<?php if (strcmp($message['talk']['deleted'],'no') === 0) { ?>
+ <a name="talk-<?php echo $message['talk']['id_talk'];?>"></a>
<div class="talk_message_item">
<div class="talk_message_item_title_date">