summaryrefslogtreecommitdiff
path: root/data/templates/default/importStructure.tpl.php
diff options
context:
space:
mode:
authorMark Pemberton <mpemberton5@gmail.com>2011-06-04 00:38:07 -0400
committerMark Pemberton <mpemberton5@gmail.com>2011-06-04 00:38:07 -0400
commitb628e63e015bc3b2eadc712feaa6c4d05cf75bbd (patch)
treeebdcec5c8133a3b6f86d06dc3f6fb3de46609f04 /data/templates/default/importStructure.tpl.php
parent84e603aa91a303a1419962ff3ff6086710a7b1a9 (diff)
parent4c8a53c5bc632302aaf8978e711eb53a03166db5 (diff)
downloadsemanticscuttle-b628e63e015bc3b2eadc712feaa6c4d05cf75bbd.tar.gz
semanticscuttle-b628e63e015bc3b2eadc712feaa6c4d05cf75bbd.tar.bz2
Merge branch 'master' into privatekey2
Conflicts: data/templates/default/bookmarks.tpl.php
Diffstat (limited to 'data/templates/default/importStructure.tpl.php')
-rw-r--r--data/templates/default/importStructure.tpl.php42
1 files changed, 42 insertions, 0 deletions
diff --git a/data/templates/default/importStructure.tpl.php b/data/templates/default/importStructure.tpl.php
new file mode 100644
index 0000000..9c54612
--- /dev/null
+++ b/data/templates/default/importStructure.tpl.php
@@ -0,0 +1,42 @@
+<?php
+$this->includeTemplate($GLOBALS['top_include']);
+?>
+
+<div id="bookmarks">
+<form id="import" enctype="multipart/form-data"
+ action="<?php echo $formaction; ?>" method="post">
+<table>
+ <tr valign="top">
+ <th align="left"><?php echo T_('File'); ?></th>
+ <td><input type="hidden" name="MAX_FILE_SIZE" value="1024000" /> <input
+ type="file" name="userfile" size="50" /></td>
+ </tr>
+ <tr>
+ <td />
+ <td><input type="submit" value="<?php echo T_('Import'); ?>" /></td>
+ </tr>
+</table>
+</form>
+
+<h3><?php echo T_('Instructions'); ?></h3>
+<ol>
+ <li>
+ <p><?php echo T_('Create your structure into a simple text file and following this model:');?></p>
+ <ul>
+ <li>firstTagOfLevel1</li>
+ <li>&nbsp;&nbsp;&nbsp;&nbsp;firstTagOfLevel2 <i>(the line starts with two spaces)</i></li>
+ <li>&nbsp;&nbsp;&nbsp;&nbsp;secondTagOfLevel2</li>
+ <li>&nbsp;&nbsp;&nbsp;&nbsp;thirdTagOfLevel2</li>
+ <li>secondTagOfLevel1</li>
+ <li>&nbsp;&nbsp;&nbsp;&nbsp;fourthTagOfLevel2 <i>(included into secondTagOfLevel1)</i></li>
+ </ul>
+ </li>
+ <li>
+ <p><?php echo T_('Then import the file. The tags and their relations will be added to your profile.'); ?></p>
+ </li>
+</ol>
+</div>
+
+<?php
+$this->includeTemplate($GLOBALS['bottom_include']);
+?> \ No newline at end of file