[ Index ]
 

Code source de vtiger CRM 5.0.2

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

title

Body

[fermer]

/Smarty/templates/ -> CreateView.tpl (source)

   1  {*<!--
   2  
   3  /*********************************************************************************
   4  ** The contents of this file are subject to the vtiger CRM Public License Version 1.0
   5   * ("License"); You may not use this file except in compliance with the License
   6   * The Original Code is:  vtiger CRM Open Source
   7   * The Initial Developer of the Original Code is vtiger.
   8   * Portions created by vtiger are Copyright (C) vtiger.
   9   * All Rights Reserved.
  10  *
  11   ********************************************************************************/
  12  
  13  -->*}
  14  
  15  {*<!-- module header -->*}
  16  
  17  <link rel="stylesheet" type="text/css" media="all" href="jscalendar/calendar-win2k-cold-1.css">
  18  <script type="text/javascript" src="jscalendar/calendar.js"></script>
  19  <script type="text/javascript" src="jscalendar/lang/calendar-{$CALENDAR_LANG}.js"></script>
  20  <script type="text/javascript" src="jscalendar/calendar-setup.js"></script>
  21  <script type="text/javascript" src="modules/{$MODULE}/{$SINGLE_MOD}.js"></script>
  22  
  23  <script type="text/javascript">
  24  function sensex_info()
  25  {ldelim}
  26          var Ticker = $('tickersymbol').value;
  27          if(Ticker!='')
  28          {ldelim}
  29                  $("vtbusy_info").style.display="inline";
  30                  new Ajax.Request(
  31                        'index.php',
  32                        {ldelim}queue: {ldelim}position: 'end', scope: 'command'{rdelim},
  33                                  method: 'post',
  34                                  postBody: 'module={$MODULE}&action=Tickerdetail&tickersymbol='+Ticker,
  35                                  onComplete: function(response) {ldelim}
  36                                          $('autocom').innerHTML = response.responseText;
  37                                          $('autocom').style.display="block";
  38                                          $("vtbusy_info").style.display="none";
  39                                  {rdelim}
  40                          {rdelim}
  41                  );
  42          {rdelim}
  43  {rdelim}
  44  </script>
  45  
  46          {include file='Buttons_List1.tpl'}
  47  
  48  {*<!-- Contents -->*}
  49  <table border=0 cellspacing=0 cellpadding=0 width=98% align=center>
  50     <tr>
  51      <td valign=top>
  52          <img src="{$IMAGE_PATH}showPanelTopLeft.gif">
  53      </td>
  54  
  55      <td class="showPanelBg" valign=top width=100%>
  56           {*<!-- PUBLIC CONTENTS STARTS-->*}
  57           <div class="small" style="padding:20px">
  58          
  59           {if $OP_MODE eq 'edit_view'}   
  60               <span class="lvtHeaderText"><font color="purple">[ {$ID} ] </font>{$NAME} -  {$APP.LBL_EDITING} {$APP[$SINGLE_MOD]} {$APP.LBL_INFORMATION}</span> <br>
  61              {$UPDATEINFO}     
  62           {/if}
  63           {if $OP_MODE eq 'create_view'}
  64              <span class="lvtHeaderText">{$APP.LBL_CREATING} {$APP.LBL_NEW} {$APP[$SINGLE_MOD]}</span> <br>
  65           {/if}
  66  
  67           <hr noshade size=1>
  68           <br> 
  69          
  70          {include file='EditViewHidden.tpl'}
  71  
  72          {*<!-- Account details tabs -->*}
  73          <table border=0 cellspacing=0 cellpadding=0 width=95% align=center>
  74             <tr>
  75              <td>
  76                  <table border=0 cellspacing=0 cellpadding=3 width=100% class="small">
  77                     <tr>
  78                      <td class="dvtTabCache" style="width:10px" nowrap>&nbsp;</td>
  79  
  80                      {if $MODULE eq 'Leads' || $MODULE eq 'Accounts' || $MODULE eq 'Contacts' || $MODULE eq 'Products'}    
  81                          <td width=75 style="width:15%" align="center" nowrap class="dvtSelectedCell" id="bi" onclick="fnLoadValues('bi','mi','basicTab','moreTab','normal','{$MODULE}')"><b>{$APP.LBL_BASIC} {$APP.LBL_INFORMATION}</b></td>
  82                                      <td class="dvtUnSelectedCell" style="width: 100px;" align="center" nowrap id="mi" onclick="fnLoadValues('mi','bi','moreTab','basicTab','normal','{$MODULE}')"><b>{$APP.LBL_MORE} {$APP.LBL_INFORMATION} </b></td>
  83                                     <td class="dvtTabCache" style="width:65%" nowrap>&nbsp;</td>
  84                      {else}
  85                          <td class="dvtSelectedCell" align=center nowrap>{$APP.LBL_BASIC} {$APP.LBL_INFORMATION}</td>
  86                                              <td class="dvtTabCache" style="width:65%">&nbsp;</td>
  87                      {/if}
  88                     <tr>
  89                  </table>
  90              </td>
  91             </tr>
  92             <tr>
  93              <td valign=top align=left >
  94  
  95                  <!-- Basic Information Tab Opened -->
  96                  <div id="basicTab">
  97  
  98                  <table border=0 cellspacing=0 cellpadding=3 width=100% class="dvtContentSpace">
  99                     <tr>
 100                      <td align=left>
 101                      <!-- content cache -->
 102                      
 103                          <table border=0 cellspacing=0 cellpadding=0 width=100%>
 104                             <tr>
 105                              <td id ="autocom"></td>
 106                             </tr>
 107                             <tr>
 108                              <td style="padding:10px">
 109                              <!-- General details -->
 110                                  <table border=0 cellspacing=0 cellpadding=0 width=100% class="small">
 111                                     <tr>
 112                                      <td  colspan=4 style="padding:5px">
 113                                         <div align="center">
 114                                          <input title="{$APP.LBL_SAVE_BUTTON_TITLE}" accessKey="{$APP.LBL_SAVE_BUTTON_KEY}" class="crmbutton small save" onclick="this.form.action.value='Save';  return formValidate()" type="submit" name="button" value="  {$APP.LBL_SAVE_BUTTON_LABEL}  " style="width:70px" >
 115                                                                           <input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="crmbutton small cancel" onclick="window.history.back()" type="button" name="button" value="  {$APP.LBL_CANCEL_BUTTON_LABEL}  " style="width:70px">
 116                                         </div>
 117                                      </td>
 118                                     </tr>
 119  
 120                                     {foreach key=header item=data from=$BASBLOCKS}
 121                                     <tr>
 122                                      {if $header== $MOD.LBL_ADDRESS_INFORMATION && ($MODULE == 'Accounts' || $MODULE == 'Quotes' || $MODULE == 'PurchaseOrder' || $MODULE == 'SalesOrder'|| $MODULE == 'Invoice')}
 123                                                                          <td colspan=2 class="detailedViewHeader">
 124                                                                          <b>{$header}</b></td>
 125                                                                          <td class="detailedViewHeader">
 126                                                                          <input name="cpy" onclick="return copyAddressLeft(EditView)" type="radio"><b>{$APP.LBL_RCPY_ADDRESS}</b></td>
 127                                                                          <td class="detailedViewHeader">
 128                                                                          <input name="cpy" onclick="return copyAddressRight(EditView)" type="radio"><b>{$APP.LBL_LCPY_ADDRESS}</b></td>
 129  
 130                                      {elseif $header== $MOD.LBL_ADDRESS_INFORMATION && $MODULE == 'Contacts'}
 131                                      <td colspan=2 class="detailedViewHeader">
 132                                                                          <b>{$header}</b></td>
 133                                                                          <td class="detailedViewHeader">
 134                                                                          <input name="cpy" onclick="return copyAddressLeft(EditView)" type="radio"><b>{$APP.LBL_CPY_OTHER_ADDRESS}</b></td>
 135                                                                          <td class="detailedViewHeader">
 136                                                                          <input name="cpy" onclick="return copyAddressRight(EditView)" type="radio"><b>{$APP.LBL_CPY_MAILING_ADDRESS}</b></td>
 137                                                                          {else}
 138                                           <td colspan=4 class="detailedViewHeader">
 139                                                                      <b>{$header}</b>
 140                                      {/if}
 141                                       </td>
 142                                                         </tr>
 143  
 144                                     <!-- Here we should include the uitype handlings-->
 145                                     {include file="DisplayFields.tpl"}                            
 146                                     <tr style="height:25px"><td>&nbsp;</td></tr>
 147                                     {/foreach}
 148  
 149                                     <tr>
 150                                      <td  colspan=4 style="padding:5px">
 151                                         <div align="center">
 152                                          {if $MODULE eq 'Emails'}
 153                                                                              <input title="{$APP.LBL_SELECTEMAILTEMPLATE_BUTTON_TITLE}" accessKey="{$APP.LBL_SELECTEMAILTEMPLATE_BUTTON_KEY}" class="crmbutton small create" onclick="window.open('index.php?module=Users&action=lookupemailtemplates&entityid={$ENTITY_ID}&entity={$ENTITY_TYPE}','emailtemplate','top=100,left=200,height=400,width=300,menubar=no,addressbar=no,status=yes')" type="button" name="button" value="{$APP.LBL_SELECTEMAILTEMPLATE_BUTTON_LABEL}">
 154                                                                              <input title="{$MOD.LBL_SEND}" accessKey="{$MOD.LBL_SEND}" class="crmbutton small save" onclick="this.form.action.value='Save';this.form.send_mail.value='true'; return formValidate()" type="submit" name="button" value="  {$MOD.LBL_SEND}  " >
 155                                                                          {/if}
 156                                                                          <input title="{$APP.LBL_SAVE_BUTTON_TITLE}" accessKey="{$APP.LBL_SAVE_BUTTON_KEY}" class="crmbutton small save" onclick="this.form.action.value='Save';  return formValidate()" type="submit" name="button" value="  {$APP.LBL_SAVE_BUTTON_LABEL}  " style="width:70px" >
 157                                                                          <input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="crmbutton small cancel" onclick="window.history.back()" type="button" name="button" value="  {$APP.LBL_CANCEL_BUTTON_LABEL}  " style="width:70px">
 158                                         </div>
 159                                      </td>
 160                                     </tr>
 161                                  </table>
 162                              </td>
 163                             </tr>
 164                          </table>
 165                      </td>
 166                     </tr>
 167                  </table>
 168                      
 169                  </div>
 170                  <!-- Basic Information Tab Closed -->
 171  
 172                  <!-- More Information Tab Opened -->
 173                  <div id="moreTab">
 174                  <table border=0 cellspacing=0 cellpadding=3 width=100% class="dvtContentSpace">
 175                     <tr>
 176                      <td align=left>
 177                      {*<!-- content cache -->*}
 178                      
 179                          <table border=0 cellspacing=0 cellpadding=0 width=100%>
 180                             <tr>
 181                              <td id ="autocom"></td>
 182                             </tr>
 183                             <tr>
 184                              <td style="padding:10px">
 185                              <!-- General details -->
 186                                  <table border=0 cellspacing=0 cellpadding=0 width=100% class="small">
 187                                     <tr>
 188                                      <td  colspan=4 style="padding:5px">
 189                                         <div align="center">
 190                                          <input title="{$APP.LBL_SAVE_BUTTON_TITLE}" accessKey="{$APP.LBL_SAVE_BUTTON_KEY}" class="crmbutton small save" onclick="this.form.action.value='Save';  return formValidate()" type="submit" name="button" value="  {$APP.LBL_SAVE_BUTTON_LABEL}  " style="width:70px" >
 191                                                                           <input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="crmbutton small cancel" onclick="window.history.back()" type="button" name="button" value="  {$APP.LBL_CANCEL_BUTTON_LABEL}  " style="width:70px">
 192                                         </div>
 193                                      </td>
 194                                     </tr>
 195  
 196                                     {foreach key=header item=data from=$ADVBLOCKS}
 197                                     <tr>
 198                                           <td colspan=4 class="detailedViewHeader">
 199                                                                      <b>{$header}</b>
 200                                                                   </td>
 201                                                                  </tr>
 202  
 203                                     <!-- Here we should include the uitype handlings-->
 204                                                                 {include file="DisplayFields.tpl"}
 205  
 206                                      <tr style="height:25px"><td>&nbsp;</td></tr>
 207                                     {/foreach}
 208  
 209                                     <tr>
 210                                      <td  colspan=4 style="padding:5px">
 211                                         <div align="center">
 212                                          {if $MODULE eq 'Emails'}
 213                                                                              <input title="{$APP.LBL_SELECTEMAILTEMPLATE_BUTTON_TITLE}" accessKey="{$APP.LBL_SELECTEMAILTEMPLATE_BUTTON_KEY}" class="crmbutton small create" onclick="window.open('index.php?module=Users&action=lookupemailtemplates&entityid={$ENTITY_ID}&entity={$ENTITY_TYPE}','emailtemplate','top=100,left=200,height=400,width=300,menubar=no,addressbar=no,status=yes')" type="button" name="button" value="{$APP.LBL_SELECTEMAILTEMPLATE_BUTTON_LABEL}">
 214                                                                              <input title="{$MOD.LBL_SEND}" accessKey="{$MOD.LBL_SEND}" class="crmbutton small save" onclick="this.form.action.value='Save';this.form.send_mail.value='true'; return formValidate()" type="submit" name="button" value="  {$MOD.LBL_SEND}  " >
 215                                                                          {/if}
 216  
 217                                          <input title="{$APP.LBL_SAVE_BUTTON_TITLE}" accessKey="{$APP.LBL_SAVE_BUTTON_KEY}" class="crmbutton small save" onclick="this.form.action.value='Save';return formValidate()" type="submit" name="button" value="  {$APP.LBL_SAVE_BUTTON_LABEL}  " style="width:70px" >
 218                                          <input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="crmbutton small cancel" onclick="window.history.back()" type="button" name="button" value="  {$APP.LBL_CANCEL_BUTTON_LABEL}  " style="width:70px">
 219                                         </div>
 220                                      </td>
 221                                     </tr>
 222                                  </table>
 223                              </td>
 224                             </tr>
 225                          </table>
 226                      </td>
 227                     </tr>
 228                  </table>
 229                  </div>
 230  
 231              </td>
 232             </tr>
 233          </table>
 234           </div>
 235      </td>
 236      <td align=right valign=top><img src="{$IMAGE_PATH}showPanelTopRight.gif"></td>
 237     </tr>
 238  </table>
 239  </form>
 240  
 241  {if ($MODULE eq 'Emails' || 'Notes') and ($FCKEDITOR_DISPLAY eq 'true')}
 242         <script type="text/javascript" src="include/fckeditor/fckeditor.js"></script>
 243         <script type="text/javascript" defer="1">
 244  
 245         var oFCKeditor = null;
 246  
 247         {if $MODULE eq 'Notes'}
 248                 oFCKeditor = new FCKeditor( "notecontent" ) ;
 249         {/if}
 250  
 251         oFCKeditor.BasePath   = "include/fckeditor/" ;
 252         oFCKeditor.ReplaceTextarea() ;
 253  
 254         </script>
 255  {/if}
 256  {if $MODULE eq 'Accounts'}
 257  <script>
 258      ScrollEffect.limit = 201;
 259      ScrollEffect.closelimit= 200;
 260  </script>
 261  {/if}
 262  <script>
 263  
 264  
 265  
 266          var fieldname = new Array({$VALIDATION_DATA_FIELDNAME})
 267  
 268          var fieldlabel = new Array({$VALIDATION_DATA_FIELDLABEL})
 269  
 270          var fielddatatype = new Array({$VALIDATION_DATA_FIELDDATATYPE})
 271  
 272  
 273  </script>
 274  
 275  
 276  


Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7