[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/layouts/vlayout/modules/Calendar/ -> QuickCreateFollowup.tpl (source)

   1  {*<!--
   2  /*********************************************************************************
   3  ** The contents of this file are subject to the vtiger CRM Public License Version 1.0
   4  * ("License"); You may not use this file except in compliance with the License
   5  * The Original Code is:  vtiger CRM Open Source
   6  * The Initial Developer of the Original Code is vtiger.
   7  * Portions created by vtiger are Copyright (C) vtiger.
   8  * All Rights Reserved.
   9  *
  10  ********************************************************************************/
  11  -->*}
  12  {strip}    
  13  <div class="modelContainer">
  14      <div class="modal-header contentsBackground">
  15          <button class="close" aria-hidden="true" data-dismiss="modal" type="button" title="{vtranslate('LBL_CLOSE')}">&times;</button>
  16          <h3>{vtranslate('LBL_CREATE_FOLLOWUP_EVENT', "Events")}</h3>
  17      </div>
  18      {assign var=RECORD_ID value="{$RECORD_MODEL->get('id')}"}
  19      {assign var="dateFormat" value=$USER_MODEL->get('date_format')}
  20      {assign var="timeformat" value=$USER_MODEL->get('hour_format')}
  21      {assign var="currentDate" value=Vtiger_Date_UIType::getDisplayDateValue('')}
  22      {assign var="time" value=Vtiger_Time_UIType::getDisplayTimeValue(null)}
  23      {assign var="currentTimeInVtigerFormat" value=Vtiger_Time_UIType::getDisplayValue($time)}
  24      {assign var=FOLLOW_UP_LABEL value={vtranslate('LBL_HOLD_FOLLOWUP_ON',"Events")}}
  25      
  26      <form class="form-horizontal followupCreateView" id="followupQuickCreate" name="followupQuickCreate" method="post" action="index.php">
  27          <input type="hidden" name="module" value="{$MODULE}">
  28          <input type="hidden" name="action" value="SaveFollowupAjax" />
  29          <input type="hidden" name="mode" value="createFollowupEvent">
  30          <input type="hidden" name="record" value="{$RECORD_ID}" />
  31          <input type="hidden" name="defaultCallDuration" value="{$USER_MODEL->get('callduration')}" />
  32          <input type="hidden" name="defaultOtherEventDuration" value="{$USER_MODEL->get('othereventduration')}" />
  33          <input class="dateField" type="hidden" name="date_start" value="{$STARTDATE}" data-date-format="{$dateFormat}" data-fieldinfo="{Vtiger_Util_Helper::toSafeHTML(ZEND_JSON::encode($STARTDATEFIELDMODEL))}"/>
  34          <div class="modal-body" style="padding:0px">
  35              {$FIELD_INFO['label'] = {$FOLLOW_UP_LABEL}}
  36              <br />
  37              <div class="control-group">
  38                  <div class="control-label">
  39                      <label class="muted">
  40                          {$FOLLOW_UP_LABEL}
  41                      </label>
  42                  </div>
  43                  <div class="controls">
  44                          <div class="input-append row-fluid">
  45                              <div class="span10 row-fluid date">
  46                                  <input name="followup_date_start" type="text" class="span9 dateField" data-date-format="{$dateFormat}" type="text"  data-fieldinfo= '{Vtiger_Util_Helper::toSafeHTML(ZEND_JSON::encode($FIELD_INFO))}'
  47                                         value="{$currentDate}" data-validation-engine="validate[ required,funcCall[Vtiger_Base_Validator_Js.invokeValidation]] validate[funcCall[Vtiger_greaterThanDependentField_Validator_Js.invokeValidation,]]" />
  48                                  <span class="add-on"><i class="icon-calendar"></i></span>
  49                              </div>    
  50                          </div>        
  51                  </div>
  52                  <div class="controls">
  53                      <div class="input-append time">
  54                          <input type="text" name="followup_time_start" class="timepicker-default input-small" 
  55                                 value="{$currentTimeInVtigerFormat}" data-format="{$timeformat}" data-validation-engine="validate[ required,funcCall[Vtiger_Base_Validator_Js.invokeValidation]]" />
  56                          <span class="add-on cursorPointer">
  57                              <i class="icon-time"></i>
  58                          </span>
  59                      </div>
  60                  </div>
  61              </div>
  62              <div class="tab-content overflowVisible">
  63                  <div class="modal-footer quickCreateActions">
  64                          <a class="cancelLink cancelLinkContainer pull-right" type="reset" data-dismiss="modal">{vtranslate('LBL_CANCEL', $MODULE)}</a>
  65                          <button class="btn btn-success" type="submit"><strong>{vtranslate('LBL_CREATE', $MODULE)}</strong></button>
  66                  </div>
  67              </div>
  68          </div>
  69      </form>
  70  </div>  
  71  {/strip}
  72  


Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1