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