]> projects.mako.cc - scuttle/blob - templates/importNetscape.tpl.php
- Override privacy status on bookmark file import, if specified (i.e. Delicious)
[scuttle] / templates / importNetscape.tpl.php
1 <?php $this->includeTemplate($GLOBALS['top_include']); ?>
2
3 <div id="bookmarks">
4     <form id="import" enctype="multipart/form-data" action="<?php echo $formaction; ?>" method="post">
5     <table>
6     <tr valign="top">
7         <th align="left"><?php echo T_('File'); ?></th>
8         <td>
9             <input type="hidden" name="MAX_FILE_SIZE" value="1024000" />
10             <input type="file" name="userfile" size="50" />
11         </td>
12     </tr>
13     <tr valign="top">
14         <th align="left"><?php echo T_('Privacy'); ?></th>
15         <td>
16             <select name="status">
17                 <option value="0"><?php echo T_('Public'); ?></option>
18                 <option value="1"><?php echo T_('Shared with Watchlist'); ?></option>
19                 <option value="2"><?php echo T_('Private'); ?></option>
20             </select>
21         </td>
22     </tr>
23     <tr>
24         <td />
25         <td><input type="submit" value="<?php echo T_('Import'); ?>" /></td>
26     </tr>
27     </table>
28     </form>
29
30     <h3><?php echo T_('Instructions'); ?></h3>
31     <ol>
32         <li>
33             <p><?php echo T_('Export your bookmarks from your browser to a file'); ?>:</p>
34             <ul>
35                 <li><?php echo T_('Internet Explorer: <kbd>File &rarr; Import and Export&hellip; &rarr; Export Favorites</kbd>'); ?></li>
36                 <li><?php echo T_('Mozilla Firefox: <kbd>Bookmarks &rarr; Manage Bookmarks&hellip; &rarr; File &rarr; Export&hellip;</kbd>'); ?></li>
37                 <li><?php echo T_('Google Chrome: <kbd>Bookmark Manager &rarr; Organize &rarr; Export Bookmarks&hellip;</kbd>'); ?></li>
38             </ul>
39         </li>
40         <li><?php echo T_('Click <kbd>Browse&hellip;</kbd> to find the saved bookmark file on your computer. The maximum size the file can be is 1MB.'); ?></li>
41         <li><?php echo T_('Select the default privacy setting for your imported bookmarks.'); ?></li>
42         <li><?php echo T_('Click <kbd>Import</kbd> to start importing the bookmarks; it may take a minute.'); ?></li>
43     </ol>
44 </div>
45
46 <?php $this->includeTemplate($GLOBALS['bottom_include']); ?>

Benjamin Mako Hill || Want to submit a patch?