31499 added tips for user
[com.zyxware.civiwci.git] / templates / CRM / Wci / Page / ManageEmbedCode.tpl
index ef934540d965e1222fa1e8944c873088f65d1646..4326d85a9067c0338ce8bb7e76c8196ceeef877c 100644 (file)
@@ -1,11 +1,25 @@
-{*<h3>This new page is generated by CRM/Wci/Page/ManageEmbedCode.php</h3>
-
- Example: Display a variable directly 
-<p>The current time is {$currentTime}</p>*}
-
-{* Example: Display a translated string -- which happens to include a variable 
-<p>{ts 1=$currentTime}(In your native language) The current time is %1.{/ts}</p>*}
-
+{*
+ +--------------------------------------------------------------------+
+ | CiviCRM Widget Creation Interface (WCI) Version 1.0                |
+ +--------------------------------------------------------------------+
+ | Copyright Zyxware Technologies (c) 2014                            |
+ +--------------------------------------------------------------------+
+ | This file is a part of CiviCRM WCI.                                |
+ |                                                                    |
+ | CiviCRM WCI is free software; you can copy, modify, and distribute |
+ | it under the terms of the GNU Affero General Public License        |
+ | Version 3, 19 November 2007.                                       |
+ |                                                                    |
+ | CiviCRM WCI is distributed in the hope that it will be useful,     |
+ | but WITHOUT ANY WARRANTY; without even the implied warranty of     |
+ | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
+ | See the GNU Affero General Public License for more details.        |
+ |                                                                    |
+ | You should have received a copy of the GNU Affero General Public   |
+ | License along with this program; if not, contact Zyxware           |
+ | Technologies at info[AT]zyxware[DOT]com.                           |
+ +--------------------------------------------------------------------+
+*}
     {if $rows}
       <div id="configure_contribution_page">
              {strip}
         {/strip}
       </div>
     {else}
-  {if $isSearch eq 1}
-      <div class="status messages">
-                <img src="{$config->resourceBase}i/Inform.gif" alt="{ts}status{/ts}"/>
-                {capture assign=browseURL}{crmURL p='civicrm/contribute/manage' q="reset=1"}{/capture}
-                    {ts}No available Contribution Pages match your search criteria. Suggestions:{/ts}
-                    <div class="spacer"></div>
-                    <ul>
-                    <li>{ts}Check your spelling.{/ts}</li>
-                    <li>{ts}Try a different spelling or use fewer letters.{/ts}</li>
-                    <li>{ts}Make sure you have enough privileges in the access control system.{/ts}</li>
-                    </ul>
-                    {ts 1=$browseURL}Or you can <a href='%1'>browse all available Contribution Pages</a>.{/ts}
-      </div>
-      {else}
       <div class="messages status no-popup">
              <div class="icon inform-icon"></div> &nbsp;
              {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}
       </div>
-        {/if}
     {/if}