ef934540d965e1222fa1e8944c873088f65d1646
[com.zyxware.civiwci.git] / templates / CRM / Wci / Page / ManageEmbedCode.tpl
1 {*<h3>This new page is generated by CRM/Wci/Page/ManageEmbedCode.php</h3>
2
3 Example: Display a variable directly
4 <p>The current time is {$currentTime}</p>*}
5
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>*}
8
9 {if $rows}
10 <div id="configure_contribution_page">
11 {strip}
12
13 {include file="CRM/common/pager.tpl" location="top"}
14 {include file="CRM/common/pagerAToZ.tpl"}
15 {include file="CRM/common/jsortable.tpl"}
16 <table id="options" class="display">
17 <thead>
18 <tr>
19 <th id="sortable">{ts}Title{/ts}</th>
20 {*<th>{ts}Description{/ts}</th> *}
21 <th></th>
22 </tr>
23 </thead>
24 {foreach from=$rows item=row}
25 <tr id="row_{$row.id}" > {* class="{if NOT $row.is_active} disabled{/if}" *}
26 <td><strong>{$row.name}</strong></td>
27 {* <td>{$row.description}</td>*}
28 <td class="crm-contribution-page-actions right nowrap">
29
30 {if $row.configureActionLinks}
31 <div class="crm-contribution-page-configure-actions">
32 {$row.configureActionLinks|replace:'xx':$row.id}
33 </div>
34 {/if}
35
36 {if $row.contributionLinks}
37 <div class="crm-contribution-online-contribution-actions">
38 {$row.contributionLinks|replace:'xx':$row.id}
39 </div>
40 {/if}
41
42 {if $row.onlineContributionLinks}
43 <div class="crm-contribution-search-contribution-actions">
44 {$row.onlineContributionLinks|replace:'xx':$row.id}
45 </div>
46 {/if}
47
48 <div class="crm-contribution-page-more">
49 {$row.action|replace:'xx':$row.id}
50 </div>
51
52 </td>
53
54 </tr>
55 {/foreach}
56 </table>
57
58 {/strip}
59 </div>
60 {else}
61 {if $isSearch eq 1}
62 <div class="status messages">
63 <img src="{$config->resourceBase}i/Inform.gif" alt="{ts}status{/ts}"/>
64 {capture assign=browseURL}{crmURL p='civicrm/contribute/manage' q="reset=1"}{/capture}
65 {ts}No available Contribution Pages match your search criteria. Suggestions:{/ts}
66 <div class="spacer"></div>
67 <ul>
68 <li>{ts}Check your spelling.{/ts}</li>
69 <li>{ts}Try a different spelling or use fewer letters.{/ts}</li>
70 <li>{ts}Make sure you have enough privileges in the access control system.{/ts}</li>
71 </ul>
72 {ts 1=$browseURL}Or you can <a href='%1'>browse all available Contribution Pages</a>.{/ts}
73 </div>
74 {else}
75 <div class="messages status no-popup">
76 <div class="icon inform-icon"></div> &nbsp;
77 {ts 1=$newPageURL}No embeded code have been selected yet. Click <a accesskey="N" href='embed-code/add'>here</a> to select a wci widget for the embeded code.{/ts}
78 </div>
79 {/if}
80 {/if}