root/branches/release-36/tmpl/cms/cfg_web_services.tmpl @ 2075

Revision 2075, 5.8 kB (checked in by bchoate, 19 months ago)

Applied more form labels from Su. BugId:79293

Line 
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            &nbsp;<__trans phrase="or">&nbsp;<a href="javascript:void(0)" onclick="window.open('<mt:var name="IDENTITY_SYSTEM">/handshake?<mt:if name="LANG">lang=<mt:var name="LANG">&amp;</mt:if>url=<mt:var name="HANDSHAKE_RETURN" escape="URL">&amp;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
84<mt:if name="system_disabled_notify_pings">
85<p><img src="<mt:var name="static_uri">images/status_icons/warning.gif" alt="<__trans phrase="Setting Ignored">" width="9" height="9" />
86<span class="alert-warning-inline"><__trans phrase="Note: This option is currently ignored since outbound notification pings are disabled system-wide."></span></p>
87</mt:if>
88<ul>
89<mt:if name="pings_loop">
90<mt:loop name="pings_loop">
91<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>
92</mt:loop>
93</mt:if>
94<li><label for="ping_others"><__trans phrase="Others:"> <span class="hint"><__trans phrase="(Separate URLs with a carriage return.)"></span></label><br />
95<textarea name="ping_others" id="ping_others" rows="" cols="" class="full-width short"><mt:var name="ping_others" escape="html"></textarea></li>
96</ul>
97    </mtapp:setting>
98
99    <mtapp:setting
100        id="mt_update_key"
101        label="<__trans phrase="Recently Updated Key">"
102        hint="<__trans phrase="If you have received a recently updated key (by virtue of your purchase), enter it here.">"
103        help_page="blog_settings_entry_defaults"
104        help_section="recently_updated_key"
105        show_hint="1">
106        <input name="mt_update_key" id="mt_update_key" value="<mt:var name="mt_update_key" escape="html">" />
107    </mtapp:setting>
108
109</fieldset>
110
111<mt:setvarblock name="action_buttons">
112    <button
113        type="submit"
114        accesskey="s"
115        title="<__trans phrase="Save changes to these settings (s)">"
116        class="primary-button"
117        ><__trans phrase="Save Changes"></button>
118</mt:setvarblock>
119<mt:include name="include/actions_bar.tmpl" bar_position="bottom" hide_pager="1" settings_bar="1">
120
121</form>
122
123<mt:include name="include/footer.tmpl">
Note: See TracBrowser for help on using the browser.