OSDN Git Service

add ACS webapp, sql, htdocs
[acs/acs.git] / webapp / modules / Community / templates / DeleteFolder.tpl.php
diff --git a/webapp/modules/Community/templates/DeleteFolder.tpl.php b/webapp/modules/Community/templates/DeleteFolder.tpl.php
new file mode 100644 (file)
index 0000000..13730d3
--- /dev/null
@@ -0,0 +1,66 @@
+<div class="sub_title"><?= ACSMsg::get_msg("Community", "DeleteFolder.tpl.php",'M001') ?></div>
+
+<div class="confirm_msg">
+<?= ACSMsg::get_msg("Community", "DeleteFolder.tpl.php",'M002') ?><br>
+<?= ACSMsg::get_msg("Community", "DeleteFolder.tpl.php",'M003') ?><br>
+<?= ACSMsg::get_msg("Community", "DeleteFolder.tpl.php",'M004') ?><br>
+<?= ACSMsg::get_msg("Community", "DeleteFolder.tpl.php",'M005') ?><br>
+</div>
+
+<form name="delete_folder" method="POST" action="<?= $this->_tpl_vars['action_url'] ?>">
+
+<p>
+<table class="file_list_table">
+<?php
+       // Êѹ¹ÂоݤΥե©¥ë¥À
+       if ($this->_tpl_vars['folder_row_array']) {
+               foreach ($this->_tpl_vars['folder_row_array'] as $folder_row) {
+                       print '<tr>';
+
+                       // ¥¢¥¤¥³¥ó
+                       print '<td>';
+                       print '<table class="layout_table"><tr>';
+                       print '<td>';
+                       print '<img src="' . ACS_IMAGE_DIR . 'folder.png">';
+                       print '</td>';
+
+                       // ¥Õ¥©¥ë¥À̾
+                       print '<td>';
+                       print '<input type="hidden" name="selected_folder[]" value="' . $folder_row['folder_id'] . '">';
+                       print htmlspecialchars($folder_row['folder_name']);
+                       print '</td>';
+                       print '</tr></table>';
+
+                       print '</tr>'. "\n";
+               }
+       }
+
+       // Êѹ¹ÂоݤΥե¡¥¤¥ë
+       if ($this->_tpl_vars['file_row_array']) {
+               foreach ($this->_tpl_vars['file_row_array'] as $file_row) {
+                       print '<tr>';
+
+                       // ¥¢¥¤¥³¥ó
+                       print '<td>';
+                       print '<table class="layout_table"><tr>';
+                       print '<td>';
+                       print '<img src="' . ACS_IMAGE_DIR . 'file.gif">';
+                       print '</td>';
+
+                       // ¥Õ¥¡¥¤¥ë̾
+                       print '<td>';
+                       print '<input type="hidden" name="selected_file[]" value="' . $file_row['file_id'] . '">';
+                       print htmlspecialchars($file_row['file_name']);
+                       print '</td>';
+                       print '</tr></table>';
+
+                       print '</tr>'. "\n";
+               }
+       }
+?>
+</table>
+</p>
+
+<input type="submit" value="<?= ACSMsg::get_msg("Community", "DeleteFolder.tpl.php",'M006') ?>">&nbsp;
+<input type="button" value="<?= ACSMsg::get_msg("Community", "DeleteFolder.tpl.php",'M007') ?>" onClick="location.href='<?= $this->_tpl_vars['cancel_url'] ?>'">
+</form>