[ Indice ]

Riferimento incrociato di Joomla! 2.5.7 - VM 2.0.10

Servizio fornito da VMItalia
Classe:   Funzione:   Variabile:   Costante:  
Storico Ricerche +

titolo

Corpo

[chiudi]

/components/com_virtuemart/views/user/tmpl/ -> mail_html_reguser.php (sorgente)

   1  <?php
   2  defined('_JEXEC') or die('');
   3  
   4  /**
   5   * Renders the email for the user send in the registration process
   6   * @package    VirtueMart
   7   * @subpackage User
   8   * @author Max Milbers
   9   * @author Valérie Isaksen
  10   * @link http://www.virtuemart.net
  11   * @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved.
  12   * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
  13   * VirtueMart is free software. This version may have been modified pursuant
  14   * to the GNU General Public License, and as distributed it includes or
  15   * is derivative of works licensed under the GNU General Public License or
  16   * other free or open source software licenses.
  17   * @version $Id: view.html.php 2459 2010-07-02 17:30:23Z milbo $
  18   */
  19  $li = '<br />';
  20  ?>
  21  
  22  <html>
  23      <head>
  24      <style type="text/css">
  25              body, td, span, p, th { font-size: 11px; }
  26          table.html-email {margin:10px auto;background:#fff;border:solid #dad8d8 1px;}
  27          .html-email tr{border-bottom : 1px solid #eee;}
  28          span.grey {color:#666;}
  29          span.date {color:#666;font-size: 10px;}
  30          a.default:link, a.default:hover, a.default:visited {color:#666;line-height:25px;background: #f2f2f2;margin: 10px ;padding: 3px 8px 1px 8px;border: solid #CAC9C9 1px;border-radius: 4px;-webkit-border-radius: 4px;-moz-border-radius: 4px;text-shadow: 1px 1px 1px #f2f2f2;font-size: 12px;background-position: 0px 0px;display: inline-block;text-decoration: none;}
  31          a.default:hover {color:#888;background: #f8f8f8;}
  32          .cart-summary{ }
  33          .html-email th { background: #ccc;margin: 0px;padding: 10px;}
  34          .sectiontableentry2, .html-email th, .cart-summary th{ background: #ccc;margin: 0px;padding: 10px;}
  35          .sectiontableentry1, .html-email td, .cart-summary td {background: #fff;margin: 0px;padding: 10px;}
  36      </style>
  37  
  38      </head>
  39  
  40      <body style="background: #F2F2F2;word-wrap: break-word;">
  41      <div style="background-color: #e6e6e6;" width="100%">
  42          <table style="margin: auto;" cellpadding="0" cellspacing="0" width="600" >
  43          <tr>
  44              <td>
  45              <table width="100%" border="0" cellpadding="0" cellspacing="0" class="html-email">
  46                  <tr>
  47                  <td >
  48  
  49                      <?php echo JText::sprintf('COM_VIRTUEMART_WELCOME_USER', $this->user->name); ?>
  50                      <br />
  51                      <?php
  52                      if (!empty($this->activationLink)) {
  53                      $activationLink = '<a class="default" href="' . JURI::root() . $this->activationLink . '">' . JText::_('COM_VIRTUEMART_LINK_ACTIVATE_ACCOUNT') . '</a>';
  54                      echo $li;
  55                      echo $activationLink . $li;
  56                      }
  57                      ?>
  58                  </td>
  59                  </tr>
  60              </table>
  61  
  62              <table class="html-email" cellspacing="0" cellpadding="0" border="0" width="100%">
  63                  <tr>
  64                  <th width="100%">
  65                      <?php echo JText::_('COM_VIRTUEMART_SHOPPER_REGISTRATION_DATA') ?>
  66                  </th>
  67  
  68                  </tr>
  69                  <tr>
  70                  <td valign="top" width="100%">
  71                      <?php
  72                      echo JText::_('COM_VIRTUEMART_YOUR_LOGINAME')   . $this->user->username . $li;
  73                      echo JText::_('COM_VIRTUEMART_YOUR_DISPLAYED_NAME')   . $this->user->name . $li;
  74                      echo JText::_('COM_VIRTUEMART_YOUR_PASSWORD')  . $this->user->password_clear . $li. $li;
  75                      echo JText::_('COM_VIRTUEMART_YOUR_ADDRESS')  . $li;
  76  
  77                      foreach ($this->userFields['fields'] as $userField) {
  78                      if (!empty($userField['value']) && $userField['type'] != 'delimiter' && $userField['type'] != 'BT' && $userField['type'] != 'hidden') {
  79                          echo $userField['title'] . ': ' . $userField['value'] . $li;
  80  
  81                      }
  82                      }
  83                      ?>
  84                  </td>
  85                  </tr>
  86              </table>
  87              </td>
  88          </tr>
  89          </table>
  90      </div>
  91      </body>
  92  </html>


Generato il: Sun Sep 30 12:04:56 2012 Generato con PHPXref 0.7