[ Index ]
 

Code source de vtiger CRM 5.0.2

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

title

Body

[fermer]

/Smarty/templates/ -> ActivityDetailView.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  <script type="text/javascript" src="modules/{$MODULE}/Activity.js"></script>
  15  <script type="text/javascript" src="include/js/reflection.js"></script>
  16  <script src="include/scriptaculous/prototype.js" type="text/javascript"></script>
  17  <script src="include/scriptaculous/scriptaculous.js" type="text/javascript"></script>
  18  <script language="JavaScript" type="text/javascript" src="include/js/dtlviewajax.js"></script>
  19  <span id="crmspanid" style="display:none;position:absolute;"  onmouseover="show('crmspanid');">
  20     <a class="link"  align="right" href="javascript:;">{$APP.LBL_EDIT_BUTTON}</a>
  21  </span>
  22  
  23  <script>
  24  function tagvalidate()
  25  {ldelim}
  26      if(document.getElementById('txtbox_tagfields').value != '')
  27          SaveTag('txtbox_tagfields','{$ID}','{$MODULE}');    
  28      else
  29      {ldelim}
  30          alert("Please enter a tag");
  31          return false;
  32      {rdelim}
  33  {rdelim}
  34  function DeleteTag(id)
  35  {ldelim}
  36      $("vtbusy_info").style.display="inline";
  37      Effect.Fade('tag_'+id);
  38      new Ajax.Request(
  39          'index.php',
  40                  {ldelim}queue: {ldelim}position: 'end', scope: 'command'{rdelim},
  41                          method: 'post',
  42                          postBody: "file=TagCloud&module={$MODULE}&action={$MODULE}Ajax&ajxaction=DELETETAG&tagid=" +id,
  43                          onComplete: function(response) {ldelim}
  44                          getTagCloud();
  45                          $("vtbusy_info").style.display="none";
  46                          {rdelim}
  47                  {rdelim}
  48          );
  49  {rdelim}
  50  </script>
  51  <table width="100%" cellpadding="2" cellspacing="0" border="0">
  52  <form action="index.php" method="post" name="DetailView" id="form">
  53  <tr><td>&nbsp;</td>
  54      <td>
  55                  <table cellpadding="0" cellspacing="5" border="0">
  56              {include file='DetailViewHidden.tpl'}
  57          </table>    
  58  
  59  <!-- Contents -->
  60  <table  border="0" cellpadding="5" cellspacing="0" width="100%" >
  61  <tr>
  62      <td class="lvtHeaderText" style="border-bottom:1px dotted #cccccc">
  63      
  64          <table align="center" border="0" cellpadding="0" cellspacing="0" width="95%">
  65              <tr><td>        
  66                   <span class="lvtHeaderText"><font color="purple">[ {$ID} ] </font>{$NAME} -  {$SINGLE_MOD} {$APP.LBL_INFORMATION}</span>&nbsp;&nbsp;<span id="vtbusy_info" style="display:none;" valign="bottom"><img src="{$IMAGE_PATH}vtbusy.gif" border="0"></span><span id="vtbusy_info" style="visibility:hidden;" valign="bottom"><img src="{$IMAGE_PATH}vtbusy.gif" border="0"></span></td><td>&nbsp;
  67              </td></tr>
  68               <tr height=20><td class=small>{$UPDATEINFO}</td></tr>
  69           </table>
  70      </td>
  71  </tr>
  72  <tr><td>
  73  <table border="0" cellpadding="0" cellspacing="0" width="100%">
  74      <tr>
  75          <td valign=top align=left >
  76                             <table border=0 cellspacing=0 cellpadding=3 width=100%>
  77                  <tr>
  78                      <td align=left>
  79                      <!-- content cache -->
  80                      
  81                      <table border=0 cellspacing=0 cellpadding=0 width=100%>
  82                                <tr>
  83                           <td style="padding:3px">
  84                               <!-- General details -->
  85                                       <table border=0 cellspacing=0 cellpadding=0 width=100%>
  86                               <tr nowrap>
  87                              <td  colspan=4 style="padding:5px">
  88                                  {if $EDIT_DUPLICATE eq 'permitted'}
  89                                                                  <input title="{$APP.LBL_EDIT_BUTTON_TITLE}" accessKey="{$APP.LBL_EDIT_BUTTON_KEY}" class="crmbutton small edit" onclick="this.form.return_module.value='{$MODULE}'; this.form.return_action.value='DetailView'; this.form.return_id.value='{$ID}';this.form.module.value='{$MODULE}';this.form.action.value='EditView'" type="submit" name="Edit" value="&nbsp;{$APP.LBL_EDIT_BUTTON_LABEL}&nbsp;">&nbsp;
  90                                  {/if}
  91                              </td>
  92                              <td width=50% align=right>
  93                              {if $EDIT_DUPLICATE eq 'permitted'}
  94                                                                  <input title="{$APP.LBL_DUPLICATE_BUTTON_TITLE}" accessKey="{$APP.LBL_DUPLICATE_BUTTON_KEY}" class="crmbutton small create" onclick="this.form.return_module.value='{$MODULE}'; this.form.return_action.value='DetailView'; this.form.isDuplicate.value='true';this.form.module.value='{$MODULE}'; this.form.action.value='EditView'" type="submit" name="Duplicate" value="{$APP.LBL_DUPLICATE_BUTTON_LABEL}">&nbsp;
  95                                                          {/if}
  96                              {if $DELETE eq 'permitted'}
  97                                                                  <input title="{$APP.LBL_DELETE_BUTTON_TITLE}" accessKey="{$APP.LBL_DELETE_BUTTON_KEY}" class="crmbutton small delete" onclick="this.form.return_module.value='{$MODULE}'; {if $VIEWTYPE eq 'calendar'} this.form.return_action.value='index'; {else} this.form.return_action.value='ListView'; {/if}  this.form.action.value='Delete'; return confirm('{$APP.NTC_DELETE_CONFIRMATION}')" type="submit" name="Delete" value="{$APP.LBL_DELETE_BUTTON_LABEL}">&nbsp;
  98                                                           {/if}
  99  
 100                              </td>
 101                               </tr>
 102                               </table>
 103                               {foreach key=header item=detail from=$BLOCKS}
 104                               <table border=0 cellspacing=0 cellpadding=5 width=100% class="small">
 105                                   <tr>{strip}
 106                                       <td colspan=4 class="tableHeading">
 107                                      <b>{$header}</b>
 108                                  </td>{/strip}
 109                                       </tr>
 110                               </table>
 111                               {/foreach}
 112                               {if $ACTIVITYDATA.activitytype neq 'Task'}    
 113                               <!-- display of fields starts -->
 114                               <table border=0 cellspacing=0 cellpadding=5 width=100% >
 115                                          <tr>
 116                                  {if $LABEL.activitytype neq ''}
 117                                  <td class="cellLabel" width="20%" align="right"><b>{$MOD.LBL_EVENTTYPE}</b></td>
 118                                  <td class="cellInfo" width="30%"align="left">{$ACTIVITYDATA.activitytype}</td>
 119                                  {/if}
 120                                  {if $LABEL.visibility neq ''}
 121                                  <td class="cellLabel" width="20%" align="right"><b>{$LABEL.visibility}</b></td>
 122                                                                  <td class="cellInfo" width="30%" align="left" >{$ACTIVITYDATA.visibility}</td>
 123                                  {/if}
 124                               </tr>
 125                               <tr>
 126                                              <td class="cellLabel" align="right"><b>{$MOD.LBL_EVENTNAME}</b></td>
 127                                              <td class="cellInfo" colspan=3 align="left" >{$ACTIVITYDATA.subject}</td>
 128                                        </tr>
 129                               {if $LABEL.description neq ''}
 130                               <tr>
 131                                  <td class="cellLabel" align="right" nowrap valign="top"><b>{$LABEL.description}</b></td>
 132                                  <td class="cellInfo" valign="top" align="left" colspan="3" height="60px">{$ACTIVITYDATA.description}</td>
 133                               </tr>
 134                              {/if}
 135                               <tr>
 136                                  {if $LABEL.eventstatus neq ''}
 137                                  <td class="cellLabel" align="right" nowrap valign="top"><b>{$LABEL.eventstatus}</b></td>
 138                                  <td class="cellInfo" align="left" nowrap valign="top">{$ACTIVITYDATA.eventstatus}</td>
 139                                  {/if}
 140                                  {if $LABEL.assigned_user_id neq ''}
 141                                  <td class="cellLabel" align="right" nowrap valign="top"><b>{$LABEL.assigned_user_id}</b></td>
 142                                  <td class="cellInfo" align="left" nowrap valign="top">{$ACTIVITYDATA.assigned_user_id}</td>
 143                                  {/if}
 144                                                           </tr>
 145                               <tr>
 146                                  {if $LABEL.taskpriority neq ''}
 147                                                                  <td class="cellLabel" align="right" nowrap valign="top"><b>{$LABEL.taskpriority}</b></td>
 148                                                                  <td class="cellInfo" align="left" nowrap valign="top">{$ACTIVITYDATA.taskpriority}</td>
 149                                  {/if}
 150                                  {if $LABEL.sendnotification neq ''}
 151                                                                  <td class="cellLabel" align="right" nowrap valign="top"><b>{$LABEL.sendnotification}</b></td>
 152                                                                  <td class="cellInfo" align="left" nowrap valign="top">{$ACTIVITYDATA.sendnotification}</td>
 153                                  {/if}
 154                                                           </tr>
 155                                                           <tr>
 156                                                                  <td class="cellLabel" align="right" nowrap valign="top"align="right">{if $LABEL.createdtime neq ''}<b>{$LABEL.createdtime}</b>{/if}</td>
 157                                                                  <td class="cellInfo" align="left" nowrap valign="top">{if $LABEL.createdtime neq ''}{$ACTIVITYDATA.createdtime}{/if}</td>
 158                                                                  <td class="cellLabel" align="right" nowrap valign="top"align="right">{if $LABEL.modifiedtime neq ''}<b>{$LABEL.modifiedtime}</b>{/if}</td>
 159                                                                  <td class="cellInfo" align="left" nowrap valign="top">{if $LABEL.modifiedtime neq ''}{$ACTIVITYDATA.modifiedtime}{/if}</td>
 160                                                           </tr>
 161                               </table>
 162                               <table border=0 cellspacing=1 cellpadding=0 width=100%>
 163                              <tr><td width=50% valign=top >
 164                                  <table border=0 cellspacing=0 cellpadding=2 width=100%>
 165                                                                          <tr><td class="mailSubHeader"><b>{$MOD.LBL_EVENTSTAT}</b></td></tr>
 166                                                                          <tr><td class=small>{$ACTIVITYDATA.starthr}:{$ACTIVITYDATA.startmin}{$ACTIVITYDATA.startfmt}</td></tr>
 167                                                                          <tr><td class=small>{$ACTIVITYDATA.date_start}</td></tr>
 168                                                                  </table></td>
 169                              <td width=50% valign=top >
 170                                                                  <table border=0 cellspacing=0 cellpadding=2 width=100%>
 171                                                                          <tr><td  class="mailSubHeader"><b>{$MOD.LBL_EVENTEDAT}</b></td></tr>
 172                                                                          <tr><td class=small>{$ACTIVITYDATA.endhr}:{$ACTIVITYDATA.endmin}{$ACTIVITYDATA.endfmt}</td></tr>
 173                                                                          <tr><td class=small>{$ACTIVITYDATA.due_date}</td></tr>
 174                                                                  </table>
 175                                                          </td></tr>
 176                                                       </table>
 177                               <br>
 178                                   <table border=0 cellspacing=0 cellpadding=0 width=100% align=center>
 179                                       <tr>
 180                                              <td>
 181                                                       <table border=0 cellspacing=0 cellpadding=3 width=100%>
 182                                                       <tr>
 183                                                              <td class="dvtTabCache" style="width:10px" nowrap>&nbsp;</td>
 184                                                              <td id="cellTabInvite" class="dvtSelectedCell" align=center nowrap><a href="javascript:doNothing()" onClick="switchClass('cellTabInvite','on');switchClass('cellTabAlarm','off');switchClass('cellTabRepeat','off');switchClass('cellTabRelatedto','off');ghide('addEventAlarmUI');dispLayer('addEventInviteUI');ghide('addEventRepeatUI');ghide('addEventRelatedtoUI');">{$MOD.LBL_INVITE}</a></td>
 185                                          <td class="dvtTabCache" style="width:10px">&nbsp;</td>
 186                                          <td id="cellTabAlarm" class="dvtUnSelectedCell" align=center nowrap><a href="javascript:doNothing()" onClick="switchClass('cellTabInvite','off');switchClass('cellTabAlarm','on');switchClass('cellTabRepeat','off');switchClass('cellTabRelatedto','off');dispLayer('addEventAlarmUI');ghide('addEventInviteUI');ghide('addEventRepeatUI');ghide('addEventRelatedtoUI');">{$MOD.LBL_REMINDER}</a></td>
 187                                          <td class="dvtTabCache" style="width:10px">&nbsp;</td>
 188                                          <td id="cellTabRepeat" class="dvtUnSelectedCell" align=center nowrap><a href="javascript:doNothing()" onClick="switchClass('cellTabInvite','off');switchClass('cellTabAlarm','off');switchClass('cellTabRepeat','on');switchClass('cellTabRelatedto','off');ghide('addEventAlarmUI');ghide('addEventInviteUI');dispLayer('addEventRepeatUI');ghide('addEventRelatedtoUI');">{$MOD.LBL_REPEAT}</a></td>
 189                                          <td class="dvtTabCache" style="width:10px">&nbsp;</td>
 190                                          <td id="cellTabRelatedto" class="dvtUnSelectedCell" align=center nowrap><a href="javascript:doNothing()" onClick="switchClass('cellTabInvite','off');switchClass('cellTabAlarm','off');switchClass('cellTabRepeat','off');switchClass('cellTabRelatedto','on');ghide('addEventAlarmUI');ghide('addEventInviteUI');dispLayer('addEventRelatedtoUI');ghide('addEventRepeatUI');">{$MOD.LBL_LIST_RELATED_TO}</a></td>
 191                                          <td class="dvtTabCache" style="width:100%">&nbsp;</td>
 192                                      </tr>
 193                                      </table>
 194                                  </td>
 195                               </tr>
 196                              
 197                               <tr>
 198                                  <td width=100% valign=top align=left class="dvtContentSpace" style="padding:10px;height:120px">
 199                                      <!-- Invite UI -->
 200                                      <DIV id="addEventInviteUI" style="display:block;width:100%">
 201                                      <table width="100%" cellpadding="5" cellspacing="0" border="0">
 202                                          <tr>
 203                                                                                          <td width="30%" valign="top" align=right><b>{$MOD.LBL_USERS}</b></td>
 204                                                                                          <td width="70%" align=left valign="top" >
 205                                                  {foreach item=username key=userid from=$INVITEDUSERS}
 206                                                                                                      {$username.3}<br>
 207                                                                                                  {/foreach}
 208                                              </td>
 209                                                                                  </tr>
 210                                      </table>
 211                                      </DIV>
 212                                      <!-- Reminder UI -->
 213                                                      <DIV id="addEventAlarmUI" style="display:none;width:100%">
 214                                      {if $LABEL.reminder_time != ''}
 215                                      <table width="100%" cellpadding="5" cellspacing="0" border="0">
 216                                                                                  <tr>
 217                                                                                          <td width="30%" align=right><b>{$MOD.LBL_SENDREMINDER}</b></td>
 218                                                                                          <td width="70%" align=left>{$ACTIVITYDATA.set_reminder}</td>
 219                                                                                  </tr>
 220                                          {if $ACTIVITYDATA.set_reminder != 'No'}
 221                                          <tr>
 222                                                                                          <td width="30%" align=right><b>{$MOD.LBL_RMD_ON}</b></td>
 223                                              <td width="70%" align=left>{$ACTIVITYDATA.reminder_str}</td>
 224                                          </tr>
 225                                          {/if}
 226                                                                          </table>
 227                                      {/if}
 228                                      </DIV>
 229                                      <!-- Repeat UI -->
 230                                                      <div id="addEventRepeatUI" style="display:none;width:100%">
 231                                      {if $LABEL.recurringtype neq ''}
 232                                      <table width="100%" cellpadding="5" cellspacing="0" border="0">
 233                                          <tr>
 234                                                                                          <td width="30%" align=right><b>{$MOD.LBL_ENABLE_REPEAT}</b></td>
 235                                                                                          <td width="70%" align=left>{$ACTIVITYDATA.recurringcheck}</td>
 236                                                                                  </tr>
 237                                          {if $ACTIVITYDATA.recurringcheck != 'No'}
 238                                          <tr>
 239                                              <td width="30%" align=right>&nbsp;</td>
 240                                              <td>{$MOD.LBL_REPEATEVENT}&nbsp;{$ACTIVITYDATA.repeat_frequency}&nbsp;{$MOD[$ACTIVITYDATA.recurringtype]}</td>
 241                                          </tr>
 242                                          <tr>
 243                                                                                          <td width="30%" align=right>&nbsp;</td>
 244                                                                                          <td>{$ACTIVITYDATA.repeat_str}</td>
 245                                                                                  </tr>
 246                                          {/if}
 247                                      </table>
 248                                      {/if}
 249                                      </div>
 250                                      <!-- Relatedto UI -->
 251                                      <div id="addEventRelatedtoUI" style="display:none;width:100%">
 252                                      <table width="100%" cellpadding="5" cellspacing="0" border="0">
 253                                          {if $LABEL.parent_id neq ''}
 254                                          <tr>
 255                                              <td width="30%" align=right valign="top"><b>{$LABEL.parent_id}</b></td>
 256                                              <td width="70%" align=left valign="top">{$ACTIVITYDATA.parent_name}</td>
 257                                          </tr>
 258                                          {/if}
 259                                          <tr>
 260                                              <td width="30%" valign="top" align=right><b>{$MOD.LBL_CONTACT_NAME}</b></td>    
 261                                              <td width="70%" valign="top" align=left>
 262                                              {foreach item=contactname key=cntid from=$CONTACTS}
 263                                                                                      {$contactname.0}&nbsp;{$contactname.1}<br>
 264                                                                                          {/foreach}
 265                                          </tr>
 266                                      </table>
 267                                      </div>
 268                                  </td>
 269                                       </tr>
 270                               </table>
 271                              {else}
 272                              <!-- detailed view of a ToDo -->
 273                                <table border="0" cellpadding="5" cellspacing="0" width="100%">
 274                              <tr>
 275                                  <td class="cellLabel" width="20%" align="right"><b>{$MOD.LBL_TODO}</b></td>
 276                                  <td class="cellInfo" width="80%" align="left">{$ACTIVITYDATA.subject}</td>
 277                              </tr>
 278                              {if $LABEL.description neq ''}
 279                              <tr>
 280                                  <td class="cellLabel" align="right" valign="top"><b>{$LABEL.description}</b></td>
 281                                                                  <td class="cellInfo" align="left" colspan="3" valign="top" height="60px">{$ACTIVITYDATA.description}</td>
 282                                      </tr>
 283                              {/if}
 284                              <tr>
 285                                              <td colspan="2" align="center" style="padding:0px">
 286                                                  <table border="0" cellpadding="5" cellspacing="1" width="100%" >
 287                                                             <tr>
 288                                                                  <td class="cellLabel" width=33% align="left">{if $LABEL.taskstatus neq ''}<b>{$LABEL.taskstatus}</b>{/if}</td>
 289                                          <td class="cellLabel" width=33% align="left">{if $LABEL.taskpriority neq ''}<b>{$LABEL.taskpriority}</b>{/if}</td>
 290                                          <td class="cellLabel" width=34% align="left">{if $LABEL.assigned_user_id neq ''}<b>{$LABEL.assigned_user_id}</b>{/if}</td>
 291                                      </tr>
 292                                      <tr>
 293                                                                  <td class="cellInfo" align="left" valign="top">{if $LABEL.taskstatus neq ''}{$ACTIVITYDATA.taskstatus}{/if}</td>
 294                                          <td class="cellInfo" align="left" valign="top">{if $LABEL.taskpriority neq ''}{$ACTIVITYDATA.taskpriority}{/if}</td>
 295                                          <td class="cellInfo" align="left" valign="top">{if $LABEL.taskpriority neq ''}{$ACTIVITYDATA.assigned_user_id}{/if}</td>
 296                                      </tr>
 297                                  </table>
 298                                  </td>
 299                              </tr>
 300                               </table>
 301                               <table border="0" cellpadding="0" cellspacing="0" width="100%" align=center>
 302                                                      <tr><td width=50% valign=top >
 303                                  <table border=0 cellspacing=0 cellpadding=2 width=100% align=center>
 304                                      <tr><td class="mailSubHeader" align=left ><b>{$MOD.LBL_TIMEDATE}</b></td></tr>
 305                                      <tr><td class="small" >{$ACTIVITYDATA.starthr}:{$ACTIVITYDATA.startmin}{$ACTIVITYDATA.startfmt}</td></tr>
 306                                      <tr><td class="cellInfo" style="padding-left:0px">{$ACTIVITYDATA.date_start}</td></tr>
 307                                  </table>
 308                              </td>
 309                              <td width=50% valign="top">
 310                                  <table border=0 cellspacing=0 cellpadding=2 width=100% align=center>
 311                                      <tr><td class="mailSubHeader"><b>{$LABEL.due_date}</b></td></tr>
 312                                      <tr><td class="small">{$ACTIVITYDATA.due_date}</td></tr>
 313                                      <tr><td class="cellInfo">&nbsp;</td></tr>
 314                                  </table>
 315                              </td>
 316                               </table>
 317                               <table border=0 cellspacing=0 cellpadding=5 width=100% >
 318                              <tr>
 319                                  <td class="cellLabel" align=right nowrap width=20%>{if $LABEL.createdtime neq ''}<b>{$LABEL.createdtime}</b>{/if}</td>
 320                                                                  <td class="cellInfo" align=left nowrap width=30%>{if $LABEL.createdtime neq ''}{$ACTIVITYDATA.createdtime}{/if}</td>
 321                                                                  <td class="cellLabel" align=right nowrap width=20%>{if $LABEL.modifiedtime neq ''}<b>{$LABEL.modifiedtime}</b>{/if}</td>
 322                                                                  <td class="cellInfo" align=left  nowrap width=30%>{if $LABEL.modifiedtime neq ''}{$ACTIVITYDATA.modifiedtime}{/if}</td>
 323                                                          </tr>
 324                                                       </table>
 325                               <br>
 326                               <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
 327                              <tr>
 328                                  <td>
 329                                      <table border="0" cellpadding="3" cellspacing="0" width="100%">
 330                                      <tr>
 331                                          <td class="dvtTabCache" style="width: 10px;" nowrap="nowrap">&nbsp;</td>
 332                                                                                  <td id="cellTabInvite" class="dvtSelectedCell" align="center" nowrap="nowrap"><a href="javascript:doNothing()" onClick="switchClass('cellTabInvite','on');switchClass('cellTabRelatedto','off');dispLayer('addTaskAlarmUI');ghide('addTaskRelatedtoUI');">{$MOD.LBL_NOTIFICATION}</td></a>
 333                                          <td class="dvtTabCache" style="width: 10px;" nowrap="nowrap">&nbsp;
 334                                                                                  <td id="cellTabRelatedto" class="dvtUnSelectedCell" align=center nowrap><a href="javascript:doNothing()" onClick="switchClass('cellTabInvite','off');switchClass('cellTabRelatedto','on');dispLayer('addTaskRelatedtoUI');ghide('addTaskAlarmUI');">{$MOD.LBL_RELATEDTO}</a></td>
 335  
 336                                                                                  <td class="dvtTabCache" style="width: 100%;">&nbsp;</td>
 337                                      </tr>
 338                                      </table>
 339                                  </td>
 340                              </tr>
 341                              <tr>
 342                                  <td width=100% valign=top align=left class="dvtContentSpace" style="padding:10px;height:120px">
 343                                                                  <!-- Notification UI -->
 344                                                                          <DIV id="addTaskAlarmUI" style="display:block;width:100%">
 345                                      {if $LABEL.sendnotification neq ''}
 346                                                                          <table width="100%" cellpadding="5" cellspacing="0" border="0">
 347                                                                                  <tr>
 348                                                                                          <td width="30%" align=right><b>{$MOD.LBL_SENDNOTIFICATION}</b></td>
 349                                                                                          <td width="70%" align=left>{$ACTIVITYDATA.sendnotification}</td>
 350                                                                                  </tr>
 351                                                                          </table>
 352                                      {/if}
 353                                                                          </DIV>
 354                                      <div id="addTaskRelatedtoUI" style="display:none;width:100%">
 355                                      {if $LABEL.parent_id neq ''}
 356                                                                          <table width="100%" cellpadding="5" cellspacing="0" border="0">
 357                                                                                  <tr>
 358                                                                                          <td width="30%" align=right><b>{$LABEL.parent_id}</b></td>
 359                                                                                          <td width="70%" align=left>{$ACTIVITYDATA.parent_name}</td>
 360                                                                                  </tr>
 361                                                                                  <tr>
 362                                                                                          <td align=right><b>{$MOD.LBL_CONTACT_NAME}</b></td>
 363                                                                                          <td align=left>{$ACTIVITYDATA.contact_id}</td>
 364                                                                                  </tr>
 365                                                                          </table>
 366                                      {/if}
 367                                                                          </div>
 368                                  </td>
 369                              </tr>
 370                               </table>
 371                               {/if}
 372  
 373                                                 </td>
 374                         </tr>
 375                  </tr>
 376          <tr>
 377              <td style="padding:10px">
 378                     <table border=0 cellspacing=0 cellpadding=0 width=100%>
 379                       {strip}<tr nowrap>
 380                              <td  colspan=4 style="padding:5px">
 381                                  {if $EDIT_DUPLICATE eq 'permitted'}
 382                                                                  <input title="{$APP.LBL_EDIT_BUTTON_TITLE}" accessKey="{$APP.LBL_EDIT_BUTTON_KEY}" class="crmbutton small edit" onclick="this.form.return_module.value='{$MODULE}'; this.form.return_action.value='DetailView'; this.form.return_id.value='{$ID}';this.form.module.value='{$MODULE}';this.form.action.value='EditView'" type="submit" name="Edit" value="&nbsp;{$APP.LBL_EDIT_BUTTON_LABEL}&nbsp;">&nbsp;
 383                                  {/if}
 384                              </td>
 385                              <td align=right>
 386                                  {if $EDIT_DUPLICATE eq 'permitted'}
 387                                                                  <input title="{$APP.LBL_DUPLICATE_BUTTON_TITLE}" accessKey="{$APP.LBL_DUPLICATE_BUTTON_KEY}" class="crmbutton small create" onclick="this.form.return_module.value='{$MODULE}'; this.form.return_action.value='DetailView'; this.form.isDuplicate.value='true';this.form.module.value='{$MODULE}'; this.form.action.value='EditView'" type="submit" name="Duplicate" value="{$APP.LBL_DUPLICATE_BUTTON_LABEL}">&nbsp;
 388                                                                  {/if}
 389                                  {if $DELETE eq 'permitted'}
 390                                                                  <input title="{$APP.LBL_DELETE_BUTTON_TITLE}" accessKey="{$APP.LBL_DELETE_BUTTON_KEY}" class="crmbutton small delete" onclick="this.form.return_module.value='{$MODULE}'; this.form.return_action.value='index'; this.form.action.value='Delete'; return confirm('{$APP.NTC_DELETE_CONFIRMATION}')" type="submit" name="Delete" value="{$APP.LBL_DELETE_BUTTON_LABEL}">&nbsp;
 391                                                                  {/if}
 392  
 393                              </td>
 394                      </tr>{/strip}
 395                 </table>
 396              </td>
 397          </tr>
 398      </table>
 399      </td>
 400      <td width=22% valign=top style="border-left:2px dashed #cccccc;padding:13px">
 401                          <!-- right side relevant info -->
 402  
 403          <!-- Tag cloud display -->
 404          <table border=0 cellspacing=0 cellpadding=0 width=100% class="tagCloud">
 405          <tr>
 406              <td class="tagCloudTopBg"><img src="{$IMAGE_PATH}tagCloudName.gif" border=0></td>
 407          </tr>
 408          <tr>
 409                            <td><div id="tagdiv" style="display:visible;"><input class="textbox"  type="text" id="txtbox_tagfields" name="textbox_First Name" value="" style="width:100px;margin-left:5px;"></input>&nbsp;&nbsp;<input name="button_tagfileds" type="button" class="crmbutton small save" value="{$APP.LBL_TAG_IT}" onclick="return tagvalidate()"/></div></td>
 410                  </tr>
 411          <tr>
 412              <td class="tagCloudDisplay" valign=top> <span id="tagfields">{$ALL_TAG}</span></td>
 413          </tr>
 414          </table>
 415          <!-- End Tag cloud display -->
 416              <!-- Mail Merge-->
 417                  <br>
 418                  {if $MERGEBUTTON eq 'permitted'}
 419                    <table border=0 cellspacing=0 cellpadding=0 width=100% class="rightMailMerge">
 420                        <tr>
 421                               <td class="rightMailMergeHeader"><b>{$WORDTEMPLATEOPTIONS}</b></td>
 422                        </tr>
 423                        <tr style="height:25px">
 424                                <td class="rightMailMergeContent">
 425                                    <select name="mergefile">{foreach key=templid item=tempflname from=$TOPTIONS}<option value="{$templid}">{$tempflname}</option>{/foreach}</select>
 426                                    <input class="crmbutton small create" value="{$APP.LBL_MERGE_BUTTON_LABEL}" onclick="this.form.action.value='Merge';" type="submit"></input>
 427                              </td>
 428                        </tr>
 429                    </table>
 430                  {/if}
 431              </td>
 432          </tr>
 433          </table>
 434          
 435              
 436              
 437          
 438          </div>
 439          <!-- PUBLIC CONTENTS STOPS-->
 440      </td>
 441  </tr>
 442  </table>
 443  
 444  {if $MODULE eq 'Products'}
 445  <script language="JavaScript" type="text/javascript" src="modules/Products/Productsslide.js"></script>
 446  <script language="JavaScript" type="text/javascript">Carousel();</script>
 447  {/if}
 448  
 449  <script>
 450  function getTagCloud()
 451  {ldelim}
 452  new Ajax.Request(
 453          'index.php',
 454          {ldelim}queue: {ldelim}position: 'end', scope: 'command'{rdelim},
 455          method: 'post',
 456          postBody: 'module={$MODULE}&action={$MODULE}Ajax&file=TagCloud&ajxaction=GETTAGCLOUD&recordid={$ID}',
 457          onComplete: function(response) {ldelim}
 458                                  $("tagfields").innerHTML=response.responseText;
 459                                  $("txtbox_tagfields").value ='';
 460                          {rdelim}
 461          {rdelim}
 462  );
 463  {rdelim}
 464  getTagCloud();
 465  </script>
 466  <!-- added for validation -->
 467  <script language="javascript">
 468    var fieldname = new Array({$VALIDATION_DATA_FIELDNAME});
 469    var fieldlabel = new Array({$VALIDATION_DATA_FIELDLABEL});
 470    var fielddatatype = new Array({$VALIDATION_DATA_FIELDDATATYPE});
 471  </script>
 472  </td>
 473  
 474  </tr></table></form>
 475  </td></tr></table>
 476  </td></tr></table>
 477  </td></tr></table>
 478          </td></tr></table>
 479          </td></tr></table>
 480          </div>
 481          </td>
 482          <td valign=top><img src="{$IMAGE_PATH}showPanelTopRight.gif"></td>
 483          </tr>
 484          </table>
 485  
 486  


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