1 {*<h3>This new page is generated by CRM/Wci/Page/ProgressBarList.php</h3> *}
3 {* Example: Display a variable directly
4 <p>The current time is {$currentTime}</p>
6 {* Example: Display a translated string -- which happens to include a variable
7 <p>{ts 1=$currentTime}(In your native language) The current time is %1.{/ts}</p>
11 {capture assign=newPageURL}{crmURL p='civicrm/admin/contribute/add' q='action=add&reset=1'}{/capture}
13 {ts}CiviContribute allows you to create and maintain any number of Online Contribution Pages. You can create different pages for different programs or campaigns - and customize text, amounts, types of information collected from contributors, etc.{/ts} {help id="id-intro"}
16 {include file="CRM/Contribute/Form/SearchContribution.tpl"}
17 {if NOT ($action eq 1 or $action eq 2) }
18 <table class="form-layout-compressed">
20 <td><a href="{$newPageURL}" class="button"><span><div class="icon add-icon"></div>{ts}Add Contribution Page{/ts}</span></a></td>
21 <td style="vertical-align: top"><a class="button" href="{crmURL p="civicrm/admin/pcp" q="reset=1"}"><span>{ts}Manage Personal Campaign Pages{/ts}</span></a> {help id="id-pcp-intro" file="CRM/PCP/Page/PCP.hlp"}</td>
27 <div id="configure_contribution_page">
30 {include file="CRM/common/pager.tpl" location="top"}
31 {include file="CRM/common/pagerAToZ.tpl"}
32 {* handle enable/disable actions *}
33 {include file="CRM/common/enableDisable.tpl"}
34 {include file="CRM/common/jsortable.tpl"}
35 <table id="options" class="display">
38 <th id="sortable">{ts}Name{/ts}</th>
39 <th>{ts}Goal Amout{/ts}</th>
40 {*<th>{ts}Enabled?{/ts}</th>*}
42 {if call_user_func(array('CRM_Campaign_BAO_Campaign','isCampaignEnable'))}
43 <th>{ts}Campaign{/ts}</th>
48 {foreach from=$rows item=row}
49 <tr id="row_{$row.id}" > {* class="{if NOT $row.is_active} disabled{/if}" *}
50 <td><strong>{$row.name}</strong></td>
51 <td>{$row.goal_amount}</td>
52 {* <td id="row_{$row.id}_status">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
53 {if call_user_func(array('CRM_Campaign_BAO_Campaign','isCampaignEnable'))}
54 <td>{$row.campaign}</td>
56 <td class="crm-contribution-page-actions right nowrap">
58 {if $row.configureActionLinks}
59 <div class="crm-contribution-page-configure-actions">
60 {$row.configureActionLinks|replace:'xx':$row.id}
64 {if $row.contributionLinks}
65 <div class="crm-contribution-online-contribution-actions">
66 {$row.contributionLinks|replace:'xx':$row.id}
70 {if $row.onlineContributionLinks}
71 <div class="crm-contribution-search-contribution-actions">
72 {$row.onlineContributionLinks|replace:'xx':$row.id}
76 <div class="crm-contribution-page-more">
77 {$row.action|replace:'xx':$row.id}
90 <div class="status messages">
91 <img src="{$config->resourceBase}i/Inform.gif" alt="{ts}status{/ts}"/>
92 {capture assign=browseURL}{crmURL p='civicrm/contribute/manage' q="reset=1"}{/capture}
93 {ts}No available Contribution Pages match your search criteria. Suggestions:{/ts}
94 <div class="spacer"></div>
96 <li>{ts}Check your spelling.{/ts}</li>
97 <li>{ts}Try a different spelling or use fewer letters.{/ts}</li>
98 <li>{ts}Make sure you have enough privileges in the access control system.{/ts}</li>
100 {ts 1=$browseURL}Or you can <a href='%1'>browse all available Contribution Pages</a>.{/ts}
103 <div class="messages status no-popup">
104 <div class="icon inform-icon"></div>
105 {ts 1=$newPageURL}No Progressbars have been created yet. Click <a accesskey="N" href='%1'>here</a> to create a new Progressbar.{/ts}