OSDN Git Service

add ACS webapp, sql, htdocs
[acs/acs.git] / webapp / modules / User / templates / NewCommunityFolder.tpl.php
diff --git a/webapp/modules/User/templates/NewCommunityFolder.tpl.php b/webapp/modules/User/templates/NewCommunityFolder.tpl.php
new file mode 100644 (file)
index 0000000..e203556
--- /dev/null
@@ -0,0 +1,78 @@
+<?php
+// +----------------------------------------------------------------------+
+// | PHP version 5 & mojavi version 3                                     |
+// +----------------------------------------------------------------------+
+// | Authors: y-yuki v 1.0 2009/01/23 14:40:00                            |
+// +----------------------------------------------------------------------+
+// $Id: NewCommunityFolder.tpl.php,v 1.6 2007/03/28 08:39:34 w-ota Exp $
+?>
+
+<div class="ttl"><?= ACSMsg::get_msg("User", "NewCommunityFolder.tpl.php", 'M001') ?></div>
+<br>
+
+<?php
+if ($this->_tpl_vars['get_days']>0) {
+?>
+<div class="getdays">
+    <?= ACSMsg::get_tag_replace(ACSMsg::get_msg("User", "NewCommunityFolder.tpl.php",'GETDAYS'),
+    array('{DAYS}'=>$this->_tpl_vars['get_days'])) ?>
+</div>
+<?php
+}
+?>
+<?php
+// ¥Ú¡¼¥¸¥ó¥°É½¼¨
+ACSTemplateLib::print_paging_link($this->_tpl_vars['paging_info']);
+?>
+
+<table class="layout_table">
+<?php
+foreach ($this->_tpl_vars['new_folder_row_array'] as $new_folder_row) {
+?>
+ <tr>
+  <td width="16px">
+<?php
+   if ($new_folder_row['is_put_icon']) {
+?>
+   <img src="<?= ACS_IMAGE_DIR.'put_file.gif' ?>">
+<?php
+   } else {
+?>
+   <img src="<?= ACS_IMAGE_DIR.'file.gif' ?>">
+<?php
+   }
+?>
+  </td>
+  <td> &nbsp;
+<?php
+ if ($new_folder_row['is_unread']) {
+   echo "<b>";
+ }
+?>
+   <a href="<?= $new_folder_row['file_detail_url'] ?>">
+   <?= htmlspecialchars(ACSTemplateLib::trim_long_str($new_folder_row['display_file_name'])) ?></a>
+<?php
+ if ($new_folder_row['is_unread']) {
+   echo "</b>";
+ }
+?>
+   &nbsp; (<?= htmlspecialchars($new_folder_row['community_name']) ?>)
+  </td>
+ </tr>
+<?php
+}
+if (count($this->_tpl_vars['new_folder_row_array']) == 0) {
+       echo "<tr><td>".ACSMsg::get_msg("User", "NewCommunityFolder.tpl.php", 'M002')."</td></tr>\n";
+}
+?>
+</table>
+<?php
+if ($this->_tpl_vars['new_folder_url']) {
+    echo "<br>\n";
+    echo "<div align=\"right\">";
+    echo "<a class=\"ichiran\" href=\"" . $this->_tpl_vars['new_folder_url'] . "\">" .
+                            ACSMsg::get_msg("User", "NewCommunityFolder.tpl.php", 'M003')."</a> &nbsp; ";
+    echo "</div>\n";
+}
+?>
+