"> <$mt:setvar name="position_actions_bottom" value="1"$> <__trans phrase="Error: Movable Type was not able to create a directory for publishing your [_1]. If you create this directory yourself, grant write permission to the web server." params=""> <__trans phrase="Error: Movable Type was not able to create a directory to cache your dynamic templates. You should create a directory called [_1] underneath your blog directory." params="templates_c"> <__trans phrase="Error: Movable Type cannot write to the template cache directory. Please check the permissions for the directory called [_1] underneath your blog directory." params="templates_c"> <__trans phrase="Error: Movable Type was not able to create a directory to cache your dynamic templates. You should create a directory called [_1] underneath your blog directory." params="cache"> <__trans phrase="Error: Movable Type cannot write to the template cache directory. Please check the permissions for the directory called [_1] underneath your blog directory." params="cache"> <__trans phrase="Your preferences have been saved."> <__trans phrase="Your preferences have been saved.">

<__trans phrase="[_1] Settings" params="">

" hint="<__trans phrase="Name your blog. The name can be changed at any time.">" help_page="blog_settings_general" help_section="blog_name"> " /> " hint="<__trans phrase="Enter a description for your blog.">" help_page="blog_settings_general" help_section="blog_description"> " hint="<__trans phrase="Select your time zone from the pulldown menu.">" help_page="blog_settings_general" help_section="blog_timezone"> " help_page="blog_settings_general" help_section="creative_commons_license"> " />

<__trans phrase="Publishing Paths">

://" class="blog-subdomain-text path" />." class="blog-url-text path" />
://" class="blog-subdomain-text path" />." class="blog-url-text path" />
checked="checked" class="cb" />
://" class="blog-subdomain-text path" />." class="blog-url-text path" />
checked="checked" class="cb" />
" class="text website-url-field mt-edit-field required" />
<__trans phrase="The URL of your blog. Exclude the filename (i.e. index.html). End with '/'. Example: http://www.example.com/blog/">
<__trans phrase="The URL of your website. Exclude the filename (i.e. index.html). End with '/'. Example: http://www.example.com/">
" class=" blog-path-text path mt-edit-field website-path-field required limited_path hide-input" />
" size="50" class="text blog-path-text hide-input" />
checked="checked" class="cb" />
<__trans phrase="The path where your index files will be published. Do not end with '/' or '\'. Example: /home/mt/public_html/blog or C:\www\public_html\blog">
<__trans phrase="The path where your index files will be published. An absolute path (starting with '/' for Linux or 'C:\' for Windows) is preferred. Do not end with '/' or '\'. Example: /home/mt/public_html or C:\www\public_html">
" show_label="0" hint="<__trans phrase="Select this option only if you need to publish your archives outside of your Blog Root.">" help_page="blog_settings_publishing" help_section="advanced_archive_publishing"> checked="checked" class="cb" />
class="hidden"> " hint="<__trans phrase="The URL of the archives section of your blog. Example: http://www.example.com/blog/archives/">" show_hint="1" help_page="blog_settings_publishing" help_section="archive_url">
://" class="blog-subdomain-text path" />." class="blog-url-text path" />
://" class="blog-subdomain-text path" />." class="blog-url-text path" />
://" class="blog-subdomain-text path" />." class="show-input blog-url-text path" />
://" class="blog-subdomain-text path" />." class="blog-url-text path" />
" show_hint="1" help_page="blog_settings_publishing" help_section="archive_path">
" class="blog-path-text blog-path-text path show-input required" />
" class="blog-path-text show-input" />
checked="checked" class="cb" />
<__trans phrase="The path where your archives section index files will be published. Do not end with '/' or '\'. Example: /home/mt/public_html/blog or C:\www\public_html\blog">
<__trans phrase="The path where your archives section index files will be published. An absolute path (starting with '/' for Linux or 'C:\' for Windows) is preferred. Do not end with '/' or '\'. Example: /home/mt/public_html or C:\www\public_html">

<__trans phrase="Dynamic Publishing Options">

" show_label="0">
  • checked="checked"/>
  • checked="checked"/>

<__trans phrase="Archive Settings">

" hint="<__trans phrase="Enter the archive file extension. This can take the form of 'html', 'shtml', 'php', etc. Note: Do not enter the leading period ('.').">" help_page="blog_setting_publishing" help_section="archive_file_extension"> " /> " hint="<__trans phrase="Used to generate URLs (permalinks) for this blog's archived entries. Choose one of the archive type used in this blog's archive templates.">" show_hint="1" help_page="blog_settings_publishing" help_section="preferred_archive_type">

<__trans phrase="No archives are active">

<__trans phrase="Module Settings">

" help_page="blog_settings_publishing" help_section="ssi"> " help_page="blog_settings_publishing" help_section="include_cache"> checked="checked" />

<__trans phrase="Revision History">

<__trans phrase="Note: Revision History is currently disabled at the system level."> ">
<__trans phrase="Number of revisions per entry/page"><__trans phrase="Number of revisions per page"> "> " /> "> " />
jQuery('input#enable_archive_paths').click(function() { jQuery('div#enable_archive_paths_prefs').toggleClass('hidden'); }); jQuery('.blog-subdomain-text').bind('keyup focusin focusout', function($e) { var $orig = jQuery(this).parents('.url-field:first').find('.blog-url-text'); var ns = jQuery.data( $orig.get(0), 'mtValidator' ); if ( ns ) { $orig.mtValid({ focus: false }); } $e.stopPropagation(); return false; }); function is_valid_url(url_){ if (url_.indexOf(' ') != -1) { return false; } return url_.match(/^https?:\/\/[a-z0-9-\.]+\/?([^\s<>\#%"\,\{\}\\|\\\^\[\]`]+)?$/); } function is_path_limit_clear( path_ ) { re = new RegExp("^$", "i"); if ( path_.match( re ) ) { return true; } re = new RegExp("^", "i"); if ( !path_.match( re ) ) { return false; } return true; } function is_valid_path(path_){ var str = path_.replace(/[ "%<>\[\\\]\^`{\|}~]/g, ""); //" str = encodeURI(str); if (str.indexOf('%') != -1) { return false; } if (str.match(/\.\./)) { return false; } if ( path_.match(/^\//) || path_.match(/^[a-zA-Z]:\\/) || path_.match(/^\\\\[a-zA-Z0-9\.]+/ ) ) { return false; } return true; } function is_valid_absolute_path(path_) { if ( path_.match(/^\//) || path_.match(/^[a-zA-Z]:\\/) || path_.match(/^\\\\[a-zA-Z0-9\.]+/ ) ) { return true; } return false; } jQuery.mtValidateAddRules({ "#site_url_path": function($e) { var base = '://'; var chk = jQuery($e).parents('.url-field:first').find(':checkbox:checked'); var subdomain = jQuery($e).parents('.url-field:first').find('.blog-subdomain-text'); if ( chk.length && subdomain.val().length) { base = '://'+subdomain.val()+'.'; } var ret = is_valid_url(base + $e.val()); if (ret) { subdomain.addClass('valid').removeClass('error'); } else { subdomain.removeClass('valid').addClass('error'); } return ret; }, "#site_path_absolute": function($e) { return is_valid_absolute_path($e.val()); }, "#archive_url_path": function($e) { var base = '://'; var chk = jQuery($e).parents('.url-field:first').find(':checkbox:checked'); var subdomain = jQuery($e).parents('.url-field:first').find('.blog-subdomain-text'); if ( chk.length && subdomain.val().length) { base = '://'+subdomain.val()+'.'; } var ret = is_valid_url(base + $e.val()); if (ret) { subdomain.addClass('valid').removeClass('error'); } else { subdomain.removeClass('valid').addClass('error'); } return ret; }, "#site_url": function($e) { return is_valid_url('' + $e.val()); }, "#site_path": function($e) { return is_valid_path($e.val()); }, "#site_path.limited_path": function( $e ) { return is_path_limit_clear( $e.val() ); }, "#archive_path": function ($e) { if ( jQuery('#enable_archive_paths:checked').length && !jQuery('#use_absolute_archive:checked').length ) { if ( !$e.val().length ) return false; if ( !is_valid_path($e.val()) ) return false; } return true; }, "#archive_path_absolute": function ($e) { if ( jQuery('#enable_archive_paths:checked').length && jQuery('#use_absolute_archive:checked').length ) { if ( !is_valid_absolute_path($e.val()) ) return false; } return true; }, "#preferred_archive_type": function ($e) { var $selected = jQuery('#preferred_archive_type').find('option:selected'); if (( $selected.length == 0 ) || ($selected.attr('value') == "") ) return false; return true; } }); jQuery.mtValidateAddMessages({ "#name.required": '<__trans phrase="You must set your Blog Name." escape="singlequotes">', "#server_offset.required": '<__trans phrase="You did not select a time zone." escape="singlequotes">', "#site_url": '<__trans phrase="You must set a valid URL." escape="singlequotes">', "#site_url_path": '<__trans phrase="You must set a valid URL." escape="singlequotes">', "#site_path": '<__trans phrase="You must set your Local file Path." escape="singlequotes">', "#site_path.required": '<__trans phrase="You must set your Local file Path." escape="singlequotes">', "#site_path.path": '<__trans phrase="You must set a valid Local file Path." escape="singlequotes">', "#site_path.limited_path": '<__trans phrase="Website root must be under [_1]" params="" escape="singlequotes">', "#site_path_absolute.required": '<__trans phrase="You must set your Local file Path." escape="singlequotes">', "#site_path_absolute": '<__trans phrase="You must set a valid Local file Path." escape="singlequotes">', "#archive_url_path.required": '<__trans phrase="You must set a valid Archive URL." escape="singlequotes">', "#archive_url_path": '<__trans phrase="You must set a valid Archive URL." escape="singlequotes">', "#archive_path.required": '<__trans phrase="You must set your Local Archive Path." escape="singlequotes">', "#archive_path": '<__trans phrase="You must set a valid Local Archive Path." escape="singlequotes">', "#archive_path_absolute.required": '<__trans phrase="You must set your Local Archive Path." escape="singlequotes">', "#archive_path_absolute": '<__trans phrase="You must set a valid Local Archive Path." escape="singlequotes">', "#preferred_archive_type": '<__trans phrase="Please choose a preferred archive type." escape="singlequotes">' }); jQuery('#cfg_form').submit( function () { if ( !jQuery(this).find('input:visible, select:visible').mtValidate('simple') ) return false; }); jQuery.mtEditSiteUrl({ edit: '<__trans phrase="Edit">' }); jQuery.mtUseSubdomain(); jQuery.mtEditSitePath({ edit: '<__trans phrase="Edit">' }); jQuery.mtUseAbsolute();