Changeset 908:091aa8d3a177 for admin/blog_pref.php
- Timestamp:
- 10/25/12 15:16:46 (11 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/blog_pref.php
r907 r908 342 342 '<p><label for="enable_xmlrpc" class="classic">'. 343 343 form::checkbox('enable_xmlrpc','1',$blog_settings->system->enable_xmlrpc). 344 __('Enable XML/RPC interface').'</label>'. 345 ' - <a href="#xmlrpc">'.__('more information').'</a></p>'. 344 __('Enable XML/RPC interface').'</label></p>'; 345 346 echo 347 '<p class="form-note">'.__('XML/RPC interface allows you to edit your blog with an external client.').'</p>'; 348 349 if ($blog_settings->system->enable_xmlrpc) { 350 echo 351 '<p>'.__('XML/RPC interface is active. You should set the following parameters on your XML/RPC client:').'</p>'. 352 '<ul>'. 353 '<li>'.__('Server URL:').' <strong><code>'. 354 sprintf(DC_XMLRPC_URL,$core->blog->url,$core->blog->id). 355 '</code></strong></li>'. 356 '<li>'.__('Blogging system:').' <strong><code>Movable Type</code></strong></li>'. 357 '<li>'.__('User name:').' <strong><code>'.$core->auth->userID().'</code></strong></li>'. 358 '<li>'.__('Password:').' <strong><code><'.__('your password').'></code></strong></li>'. 359 '<li>'.__('Blog ID:').' <strong><code>1</code></strong></li>'. 360 '</ul>'; 361 } 362 363 echo 346 364 '</div>'. 347 365 '</div>'. … … 499 517 $core->formNonce().'</p>'. 500 518 '</form>'; 501 }502 503 # XML/RPC information504 echo '<h3 id="xmlrpc">'.__('XML/RPC interface').'</h3>';505 506 echo '<p>'.__('XML/RPC interface allows you to edit your blog with an external client.').'</p>';507 508 if (!$blog_settings->system->enable_xmlrpc)509 {510 echo '<p>'.__('XML/RPC interface is not active. Change settings to enable it.').'</p>';511 }512 else513 {514 echo515 '<p>'.__('XML/RPC interface is active. You should set the following parameters on your XML/RPC client:').'</p>'.516 '<ul>'.517 '<li>'.__('Server URL:').' <strong>'.518 sprintf(DC_XMLRPC_URL,$core->blog->url,$core->blog->id).519 '</strong></li>'.520 '<li>'.__('Blogging system:').' <strong>Movable Type</strong></li>'.521 '<li>'.__('User name:').' <strong>'.$core->auth->userID().'</strong></li>'.522 '<li>'.__('Password:').' <strong>'.__('your password').'</strong></li>'.523 '<li>'.__('Blog ID:').' <strong>1</strong></li>'.524 '</ul>';525 519 } 526 520
Note: See TracChangeset
for help on using the changeset viewer.