Пример #1
0
		<fieldset><legend>Post/Entry defaults</legend>
			<?php 
    form_checkbox('default_convert_breaks', $default_convert_breaks, 'Convert-Breaks default', 'will be used for posts with empty CONVERT BREAKS or "__default__"');
    form_select('post_locale', $Settings->get('default_locale'), 'locale_options', T_('Default locale'), 'Locale for posts.');
    form_checkbox('convert_html_tags', $convert_html_tags, 'Convert ugly HTML', 'this will lowercase all html tags and add a XHTML compliant closing tag to &lt;br&gt;, &lt;img&gt;, &lt;hr&gt; (you\'ll get notes)');
    if ($import_mode != 'easy') {
        // we'll use 'default' when importing
        // Autoselect a blog from where to get renderer settings
        $autoselect_blog = autoselect_blog('blog_post_statuses', 'edit');
        $BlogCache =& get_BlogCache();
        $setting_Blog =& $BlogCache->get_by_ID($autoselect_blog);
        ?>
				<div class="label">Renderers:</div>
				<div class="input"><?php 
        renderer_list($setting_Blog);
        ?>
</div>
			<?php 
    }
    ?>
		</fieldset>

		<?php 
    /*<fieldset style="padding-left:1ex"><legend>&lt;img&gt;-URL mapping</legend>
    			<a id="imgurls"><p class="notes">This lets you map found image urls (their basename) to another basename.
    
    			// TODO: refer to Blog media folder/url and ensure that it's enabled..
    
    			You probably want to put the images that you had on your MT installation into b2evo's media folder.<br />
    			So you would use <strong><?php echo "TODO" ?></strong> for replacement.<br />
Пример #2
0
		<?php 
    }
    ?>


		<fieldset><legend>Post/Entry defaults</legend>
			<?php 
    form_checkbox('default_convert_breaks', $default_convert_breaks, 'Convert-Breaks default', 'will be used for posts with empty CONVERT BREAKS or "__default__"');
    form_select('post_locale', $Settings->get('default_locale'), 'locale_options', T_('Default locale'), 'Locale for posts.');
    form_checkbox('convert_html_tags', $convert_html_tags, 'Convert ugly HTML', 'this will lowercase all html tags and add a XHTML compliant closing tag to &lt;br&gt;, &lt;img&gt;, &lt;hr&gt; (you\'ll get notes)');
    if ($import_mode != 'easy') {
        // we'll use 'default' when importing
        ?>
				<div class="label">Renderers:</div>
				<div class="input"><?php 
        renderer_list();
        ?>
</div>
			<?php 
    }
    ?>
		</fieldset>

		<?php 
    /*<fieldset style="padding-left:1ex"><legend>&lt;img&gt;-URL mapping</legend>
    			<a id="imgurls"><p class="notes">This lets you map found image urls (their basename) to another basename.
    
    			// TODO: refer to Blog media folder/url and ensure that it's enabled..
    
    			You probably want to put the images that you had on your MT installation into b2evo's media folder.<br />
    			So you would use <strong><?php echo "TODO" ?></strong> for replacement.<br />