[ Index ]
 

Code source de SugarCRM 5.0.0beta1

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/ModuleInstall/PackageManager/tpls/ -> ModuleLoaderListView.tpl (source)

   1  {*
   2  /**

   3   * SugarCRM is a customer relationship management program developed by

   4   * SugarCRM, Inc. Copyright (C) 2004 - 2007 SugarCRM Inc.

   5   * 

   6   * This program is free software; you can redistribute it and/or modify it under

   7   * the terms of the GNU General Public License version 3 as published by the

   8   * Free Software Foundation.

   9   * 

  10   * This program is distributed in the hope that it will be useful, but WITHOUT

  11   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS

  12   * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more

  13   * details.

  14   * 

  15   * You should have received a copy of the GNU General Public License along with

  16   * this program; if not, see http://www.gnu.org/licenses or write to the Free

  17   * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA

  18   * 02110-1301 USA.

  19   * 

  20   * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,

  21   * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.

  22   * 

  23   * The interactive user interfaces in modified source and object code versions

  24   * of this program must display Appropriate Legal Notices, as required under

  25   * Section 5 of the GNU General Public License version 3.

  26   * 

  27   * In accordance with Section 7(b) of the GNU General Public License version 3,

  28   * these Appropriate Legal Notices must retain the display of the "Powered by

  29   * SugarCRM" logo. If the display of the logo is not reasonably feasible for

  30   * technical reasons, the Appropriate Legal Notices must display the words

  31   * "Powered by SugarCRM".

  32   */
  33   
  34  *}
  35  
  36  <table id='fileviewtable'>
  37      <tr height='20'>
  38          {counter start=0 name="colCounter" print=false assign="colCounter"}
  39          <td scope='col' width='5' class='listViewThS1' nowrap>view/hide</td>
  40          {foreach from=$displayColumns key=colHeader item=params}
  41              {if $params.show}
  42              <td scope='col' width='{$params.width}%' class='listViewThS1' nowrap>
  43                  <span sugar="sugar{$colCounter}"><div style='white-space: nowrap;'width='100%' align='{$params.align|default:'left'}'>
  44                      {sugar_translate label=$params.label module='Administration'}
  45                  </div></span sugar='sugar{$colCounter}'>
  46              </td>
  47              {/if}
  48                  {counter name="colCounter"}
  49          {/foreach}
  50          <td scope='col' width='5' class='listViewThS1' nowrap>Select</td>
  51      </tr>
  52          {foreach name=rowIteration from=$data key=package_id item=package}
  53          {if $smarty.foreach.rowIteration.iteration is odd}
  54              {assign var='_bgColor' value=$bgColor[0]}
  55              {assign var='_rowColor' value=$rowColor[0]}
  56          {else}
  57              {assign var='_bgColor' value=$bgColor[1]}
  58              {assign var='_rowColor' value=$rowColor[1]}
  59          {/if}
  60  
  61              <tr id='package_tr_{$package_id}' height='20' onmouseover="setPointer(this, '{$package_id}', 'over', '{$_bgColor}', '{$bgHilite}', '');" onmouseout="setPointer(this, '{$package[$params.id]|default:$package.package_id}', 'out', '{$_bgColor}', '{$bgHilite}', '');" onmousedown="setPointer(this, '{$package_id}', 'click', '{$_bgColor}', '{$bgHilite}', '');">
  62              <td scope='row' align='left' valign=top class='{$_rowColor}S1' bgcolor='{$_bgColor}'><a class="listViewTdToolsS1" onclick="PackageManager.toggle_div('{$package_id}')" valign=top class='{$_rowColor}S1' bgcolor='{$_bgColor}'><span id='span_toggle_package_{$package_id}'><img src='{$imagePath}advanced_search.gif' width='8' height='8' alt='Advanced' border='0'>&nbsp;</span></a></td>
  63              {counter start=0 name="colCounter" print=false assign="colCounter"}
  64              {foreach from=$displayColumns key=col item=params}
  65                  <td scope='row' align='{$params.align|default:'left'}' valign=top class='{$_rowColor}S1' bgcolor='{$_bgColor}'><span sugar="sugar{$colCounter}b">
  66                      {if $params.show}
  67                      {$package.$col}
  68                      {/if}
  69                  </span sugar='sugar{$colCounter}b'>
  70                  </td>
  71                  {counter name="colCounter"}
  72              {/foreach}
  73              <td scope='row' align='left' valign=top class='{$_rowColor}S1' bgcolor='{$_bgColor}'><a class="listViewTdToolsS1" onclick="PackageManager.select_package('{$package_id}')" valign=top class='{$_rowColor}S1' bgcolor='{$_bgColor}'>Select</a></td>
  74              </tr>
  75              <tr><td colspan="5"><table id='release_table_{$package_id}' style='display:none'>
  76              {foreach name=releaseIteration from=$package.releases key=release_id item=release}
  77                  <tr id='release_tr_{$release_id}' height='20' onmouseover="setPointer(this, '{$release_id}', 'over', '{$_bgColor}', '{$bgHilite}', '');" onmouseout="setPointer(this, '{$release.release_id}', 'out', '{$_bgColor}', '{$bgHilite}', '');" onmousedown="setPointer(this, '{$release_id}', 'click', '{$_bgColor}', '{$bgHilite}', '');">
  78                  {counter start=0 name="colCounter" print=false assign="colCounter"}
  79                  {foreach from=$secondaryDisplayColumns key=col item=params}
  80                      <td scope='row' align='{$params.align|default:'left'}' valign=top class='{$_rowColor}S1' bgcolor='{$_bgColor}'><span sugar="sugar{$colCounter}b">
  81                          {$release.$col}
  82                      </span sugar='sugar{$colCounter}b'>
  83                      </td>
  84                      {counter name="colCounter"}
  85                  {/foreach}
  86                  <td scope='row' align='left' valign=top class='{$_rowColor}S1' bgcolor='{$_bgColor}'><a class="listViewTdToolsS1" onclick="PackageManager.select_release('{$release_id}')" valign=top class='{$_rowColor}S1' bgcolor='{$_bgColor}'>Select</a></td>
  87                  </tr>
  88              {/foreach}
  89              </table></td></tr>
  90           <tr><td colspan='20' class='listViewHRS1'></td></tr>
  91      {/foreach}
  92      
  93  </table>


Généré le : Tue Sep 11 10:48:47 2007 par Balluche grâce à PHPXref 0.7