OSDN Git Service

363813b97498179cd87a4fbe8ee92746d51ccaa6
[acs/acs.git] / webapp / modules / User / templates / FolderPutCommunity.tpl.php
1 <div class="ttl"><?= ACSMsg::get_msg("User", "FolderPutCommunity.tpl.php",'M001') ?></div>
2
3 <div class="msg">
4 <?= ACSMsg::get_msg("User", "FolderPutCommunity.tpl.php",'M002') ?><br>
5 </div>
6
7 <p>
8 <form name="select_put_community" method="POST" action="<?= $this->_tpl_vars['put_community_url'] ?>">
9 <table border="0" cellpadding="6" cellspacing="1" bgcolor="#99CC33">
10 <?php
11 foreach ($this->_tpl_vars['select_community_row_array'] as $select_community_row) {
12         print '<tr>';
13
14         // ¥³¥ß¥å¥Ë¥Æ¥£Ì¾
15         print '<td bgcolor="#ffffff">';
16         print '<a href="' . $select_community_row['top_page_url'] . '" target="_blank">';
17         print htmlspecialchars($select_community_row['community_name']);
18         print '</a>';
19         print '</td>';
20         print "\n";
21
22         // ¥Õ¥©¥ë¥ÀÁªÂò¤Î select ¥Ü¥Ã¥¯¥¹
23         print '<td bgcolor="#ffffff">';
24         if (count($select_community_row['folder_tree'])) {
25                 print '<select name="selected_put_folder_id[' . $select_community_row['community_id'] . ']">';
26                 print '<option value="">';
27                 foreach ($select_community_row['folder_tree'] as $folder_row) {
28                         $selected_str = "";
29                         if ($folder_row['is_selected']) {
30                                 $selected_str = " selected";
31                         }
32                         print '<option value="' . $folder_row['folder_id'] . '"' . $selected_str . '>';
33                         print str_repeat("-", $folder_row['tree_level']);
34                         print htmlspecialchars($folder_row['folder_name']);
35                         print "\n";
36                 }
37                 print '</select>';
38                 print "\n";
39
40         } else {
41                 // ¥³¥ß¥å¥Ë¥Æ¥£¤Ë¥Õ¥©¥ë¥À¤¬¤Ê¤¤¾ì¹ç
42                 print ACSMsg::get_msg("User", "FolderPutCommunity.tpl.php",'M003');
43         }
44         print '</td>';
45
46         print '</tr>' . "\n";
47 }
48 ?>
49 </table>
50 <input type="checkbox" value="t" name="send_announce_mail" <?= $this->_tpl_vars['send_annouce_mail_checked'] ?>>
51     <?= ACSMsg::get_msg("User", "FolderPutCommunity.tpl.php",'M005') ?>
52 </p>
53
54 <p>
55 <input type="submit" value="<?= ACSMsg::get_msg("User", "FolderPutCommunity.tpl.php",'M004') ?>">
56 </p>
57 </form>