Changeset 4608 for trunk/wp-admin/import/dotclear.php
- Timestamp:
- 12/05/2006 07:15:12 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/dotclear.php
r4495 r4608 1 1 <?php 2 2 /* 3 * Dot clear import plugin3 * DotClear import plugin 4 4 * by Thomas Quinot - http://thomas.quinot.org/ 5 5 */ … … 297 297 $dcid2wpid[$user_id] = $ret_id; 298 298 299 // Set Dot clear-to-WordPress permissions translation299 // Set DotClear-to-WordPress permissions translation 300 300 301 301 // Update Usermeta Data … … 346 346 extract($post); 347 347 348 // Set Dot clear-to-WordPress status translation348 // Set DotClear-to-WordPress status translation 349 349 $stattrans = array(0 => 'draft', 1 => 'publish'); 350 350 $comment_status_map = array (0 => 'closed', 1 => 'open'); … … 648 648 { 649 649 echo '<table class="editform">'; 650 printf('<tr><th><label for="dbuser">%s</label></th><td><input type="text" name="dbuser" id="dbuser" /></td></tr>', __('Dot clear Database User:'));650 printf('<tr><th><label for="dbuser">%s</label></th><td><input type="text" name="dbuser" id="dbuser" /></td></tr>', __('DotClear Database User:')); 651 651 printf('<tr><th><label for="dbpass">%s</label></th><td><input type="password" name="dbpass" id="dbpass" /></td></tr>', __('DotClear Database Password:')); 652 printf('<tr><th><label for="dbname">%s</label></th><td><input type="text" name="dbname" id="dbname" /></td></tr>', __('Dot clear Database Name:'));652 printf('<tr><th><label for="dbname">%s</label></th><td><input type="text" name="dbname" id="dbname" /></td></tr>', __('DotClear Database Name:')); 653 653 printf('<tr><th><label for="dbhost">%s</label></th><td><input type="text" name="dbhost" nameid="dbhost" value="localhost" /></td></tr>', __('DotClear Database Host:')); 654 654 printf('<tr><th><label for="dbprefix">%s</label></th><td><input type="text" name="dbprefix" id="dbprefix" value="dc_"/></td></tr>', __('DotClear Table prefix:')); … … 745 745 746 746 $dc_import = new Dotclear_Import(); 747 register_importer('dotclear', __('DotClear'), __('Import posts from a DotClear Blog'), array ($dc_import, 'dispatch'));747 register_importer('dotclear', __('DotClear'), __('Import categories, users, posts, comments, and links from a DotClear blog'), array ($dc_import, 'dispatch')); 748 748 ?>
Note: See TracChangeset
for help on using the changeset viewer.