1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
|
<mt:setvar name="page_title" value="<__trans phrase="Web Services Settings">">
<$mt:setvar name="position_actions_bottom" value="1"$>
<mt:setvar name="web_services" value="1">
<MTSetVarBlock name="system_msg">
<mt:if name="error">
<mtapp:statusmsg
id="generic-error"
class="error">
<mt:var name="error">
</mtapp:statusmsg>
</mt:if>
<mt:if name="saved">
<mtapp:statusmsg
id="saved"
class="success"
republish="all">
<__trans phrase="Your blog preferences have been saved.">
</mtapp:statusmsg>
</mt:if>
</MTSetVarBlock>
<MTSetVarBlock name="content_nav">
<mt:include name="include/cfg_content_nav.tmpl">
</MTSetVarBlock>
<mt:include name="include/header.tmpl">
<form name="cfg_form" method="post" action="<mt:var name="script_url">">
<input type="hidden" name="id" value="<mt:var name="id" escape="html">" />
<input type="hidden" name="__mode" value="save" />
<input type="hidden" name="_type" value="blog" />
<input type="hidden" name="cfg_screen" value="cfg_web_services" />
<input type="hidden" name="blog_id" value="<mt:var name="blog_id" escape="html">" />
<input type="hidden" name="return_args" value="<mt:var name="return_args" escape="html">" />
<input type="hidden" name="magic_token" value="<mt:var name="magic_token">" />
<fieldset>
<h3><__trans phrase="Six Apart Services"></h3>
<mtapp:setting
id="typekey_settings"
label="<__trans phrase="TypeKey">"
content_class="field-content-text"
hint="<__trans phrase="Your TypeKey token is used to access Six Apart services like its free Authentication service.">"
help_page=""
help_setion=""
show_hint="1">
<div id="options_TypeKey">
<mt:if name="remote_auth_token">
<div id="token_curr_status">
<p>
<span class="alert-success-inline icon-left icon-success"><__trans phrase="TypeKey is enabled."></span>
</p>
<p><label for="remote_auth_token"><__trans phrase="TypeKey token:"></label> <input type="text" id="remote_auth_token" name="remote_auth_token" value="<mt:var name="REMOTE_AUTH_TOKEN" escape="HTML">" /> <a href="javascript:void(0)" onclick="getByID('remote_auth_token').value='';getByID('save_token_msg').style.display='block';getByID('token_curr_status').style.display='none';return false"><__trans phrase="Clear TypeKey Token"></a></p>
</div>
<p id="save_token_msg" style="display:none">
<span class="alert-warning-inline icon-left icon-warning"><__trans phrase="Please click the Save Changes button below to disable authentication."></span>
</p>
<mt:else>
<p><span class="icon-left icon-neutral"><__trans phrase="TypeKey is not enabled."></span></p>
<p>
<label for="remote_auth_token"><__trans phrase="TypeKey token:"></label> <input type="text" name="remote_auth_token" id="remote_auth_token" value="<mt:var name="REMOTE_AUTH_TOKEN" escape="HTML">" />
<__trans phrase="or"> <a href="javascript:void(0)" onclick="window.open('<mt:var name="IDENTITY_SYSTEM">/handshake?<mt:if name="LANG">lang=<mt:var name="LANG">&</mt:if>url=<mt:var name="HANDSHAKE_RETURN" escape="URL">&blog_id=<mt:var name="BLOG_ID">');return false"><__trans phrase="Obtain TypeKey token"></a>
</p>
<p id="save_token_msg" style="display:none">
<span class="alert-warning-inline icon-left icon-warning"><__trans phrase="Please click the Save Changes button below to enable TypeKey."></span>
</p>
</mt:if>
</div>
</mtapp:setting>
</fieldset>
<fieldset>
<h3><__trans phrase="External Notifications"></h3>
<mtapp:setting
id="ping_blogs"
label="<__trans phrase="Notify of blog updates">"
content_class="field-content-text"
hint="<__trans phrase="When this blog is updated, Movable Type will automatically notify the selected sites.">"
help_page="blog_settings_entry_defaults"
help_section="update_pings">
<mt:if name="system_disabled_notify_pings">
<p><img src="<mt:var name="static_uri">images/status_icons/warning.gif" alt="<__trans phrase="Setting Ignored">" width="9" height="9" />
<span class="alert-warning-inline"><__trans phrase="Note: This option is currently ignored since outbound notification pings are disabled system-wide."></span></p>
</mt:if>
<ul>
<mt:if name="pings_loop">
<mt:loop name="pings_loop">
<li><input type="checkbox" name="ping_<mt:var name="key" escape="html">" id="ping_<mt:var name="key" escape="html">" value="1"<mt:if name="selected"> checked="checked"</mt:if> class="cb" /> <label for="ping_<mt:var name="key" escape="html">"><mt:var name="label" escape="html"></label></li>
</mt:loop>
</mt:if>
<li><label for="ping_others"><__trans phrase="Others:"> <span class="hint"><__trans phrase="(Separate URLs with a carriage return.)"></span></label>
<div class="textarea-wrapper">
<textarea name="ping_others" id="ping_others" rows="" cols="" class="full-width short"><mt:var name="ping_others" escape="html"></textarea>
</div>
</li>
</ul>
</mtapp:setting>
<mtapp:setting
id="mt_update_key"
label="<__trans phrase="Recently Updated Key">"
hint="<__trans phrase="If you have received a recently updated key (by virtue of your purchase), enter it here.">"
help_page="blog_settings_entry_defaults"
help_section="recently_updated_key"
show_hint="1">
<div class="textarea-wrapper half-width">
<input name="mt_update_key" id="mt_update_key" value="<mt:var name="mt_update_key" escape="html">" class="full-width" />
</div>
</mtapp:setting>
</fieldset>
<mt:setvarblock name="action_buttons">
<button
type="submit"
accesskey="s"
title="<__trans phrase="Save changes to these settings (s)">"
class="primary-button"
><__trans phrase="Save Changes"></button>
</mt:setvarblock>
<mt:include name="include/actions_bar.tmpl" bar_position="bottom" hide_pager="1" settings_bar="1">
</form>
<mt:include name="include/footer.tmpl">
|