1 <?php \Civi\Setup
::assertRunning(); ?
>
3 // I don't really understand the behavior here -- seems to spend a lot of work
4 // building a page, and then it immediately redirects away...
6 $cmsURL = admin_url('admin.php?page=CiviCRM&q=civicrm/admin/configtask&reset=1');
7 $wpPermissionsURL = admin_url('admin.php?page=CiviCRM&q=civicrm/admin/access/wp-permissions&reset=1');
8 $wpInstallRedirect = admin_url('admin.php?page=CiviCRM&q=civicrm&reset=1');
10 <h1
><?php
echo ts('CiviCRM Installed'); ?
></h1
>
11 <div style
="padding: 1em;">
12 <p style
="background-color: #0C0; border: 1px #070 solid; color: white;">
13 <?php
echo ts("CiviCRM has been successfully installed"); ?
>
17 echo ts("WordPress user permissions have been automatically set - giving Anonymous and Subscribers access to public CiviCRM forms and features. We recommend that you <a %1>review these permissions</a> to ensure that they are appropriate for your requirements (<a %2>learn more...</a>)", array(
18 1 => "target='_blank' href='{$wpPermissionsURL}'",
19 2 => "target='_blank' href='http://wiki.civicrm.org/confluence/display/CRMDOC/Default+Permissions+and+Roles'",
23 echo ts("Use the <a %1>Configuration Checklist</a> to review and configure settings for your new site", array(1 => "target='_blank' href='$cmsURL'"));
25 <?php
include 'finished.Common.php'; ?
>
29 window
.location
= <?php
echo json_encode($wpInstallRedirect); ?
>;