[Vtigercrm-commits] [vtiger-commits] r9661 - in /vtigercrm/branches/5.0.2: Smarty/templates/DisplayFields.tpl modules/Users/DefaultDataPopulator.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Oct 18 11:09:23 EDT 2006
Author: richie
Date: Wed Oct 18 09:09:17 2006
New Revision: 9661
Log:
* class not applied correctly so applied the classes and in tickets changed the file name block for neat page looking, Fixes #2198
Modified:
vtigercrm/branches/5.0.2/Smarty/templates/DisplayFields.tpl
vtigercrm/branches/5.0.2/modules/Users/DefaultDataPopulator.php
Modified: vtigercrm/branches/5.0.2/Smarty/templates/DisplayFields.tpl
==============================================================================
--- vtigercrm/branches/5.0.2/Smarty/templates/DisplayFields.tpl (original)
+++ vtigercrm/branches/5.0.2/Smarty/templates/DisplayFields.tpl Wed Oct 18 09:09:17 2006
@@ -81,7 +81,7 @@
{$fldlabel}
</td>
<td width="30%" align=left class="dvtCellInfo">
- <select name="{$fldname}" tabindex="{$vt_tab}" >
+ <select name="{$fldname}" tabindex="{$vt_tab}" class="small">
{foreach item=arr from=$fldvalue}
{foreach key=sel_value item=value from=$arr}
<option value="{$sel_value}" {$value}>
@@ -100,7 +100,7 @@
{$fldlabel}
</td>
<td width="30%" align=left class="dvtCellInfo">
- <select MULTIPLE name="{$fldname}[]" size="4" style="width:160px;" tabindex="{$vt_tab}" >
+ <select MULTIPLE name="{$fldname}[]" size="4" style="width:160px;" tabindex="{$vt_tab}" class="small">
{foreach item=arr from=$fldvalue}
{foreach key=sel_value item=value from=$arr}
<option value="{$sel_value}" {$value}>{$sel_value}</option>
@@ -135,13 +135,13 @@
{assign var=style_group value='display:block'}
{/if}
- <input type="radio" tabindex="{$vt_tab}" name="assigntype" {$select_user} value="U" onclick="toggleAssignType(this.value)"> {$APP.LBL_USER}
+ <input type="radio" tabindex="{$vt_tab}" name="assigntype" {$select_user} value="U" onclick="toggleAssignType(this.value)" > {$APP.LBL_USER}
{if $secondvalue neq ''}
<input type="radio" name="assigntype" {$select_group} value="T" onclick="toggleAssignType(this.value)"> {$APP.LBL_GROUP}
{/if}
<span id="assign_user" style="{$style_user}">
- <select name="assigned_user_id">
+ <select name="assigned_user_id" class="small">
{foreach key=key_one item=arr from=$fldvalue}
{foreach key=sel_value item=value from=$arr}
<option value="{$key_one}" {$value}>{$sel_value}</option>
@@ -152,7 +152,7 @@
{if $secondvalue neq ''}
<span id="assign_team" style="{$style_group}">
- <select name="assigned_group_name">';
+ <select name="assigned_group_name" class="small">';
{foreach key=key_one item=arr from=$secondvalue}
{foreach key=sel_value item=value from=$arr}
<option value="{$sel_value}" {$value}>{$sel_value}</option>
@@ -168,11 +168,11 @@
</td>
<td width="30%" align=left class="dvtCellInfo">
{if $uitype eq 52}
- <select name="assigned_user_id">
+ <select name="assigned_user_id" class="small">
{elseif $uitype eq 77}
- <select name="assigned_user_id1" tabindex="{$vt_tab}" >
- {else}
- <select name="{$fldname}" tabindex="{$vt_tab}" >
+ <select name="assigned_user_id1" tabindex="{$vt_tab}" class="small">
+ {else}
+ <select name="{$fldname}" tabindex="{$vt_tab}" class="small">
{/if}
{foreach key=key_one item=arr from=$fldvalue}
@@ -361,7 +361,7 @@
</td>
<td width="30%" align=left class="dvtCellInfo">
<input name="{$fldname}" type="text" size="2" value="{$fldvalue}" tabindex="{$vt_tab}" >
- <select name="duration_minutes" tabindex="{$vt_tab}" >
+ <select name="duration_minutes" tabindex="{$vt_tab}" class="small">
{foreach key=labelval item=selectval from=$secondvalue}
<option value="{$labelval}" {$selectval}>{$labelval}</option>
{/foreach}
@@ -369,7 +369,7 @@
{elseif $uitype eq 68 || $uitype eq 66 || $uitype eq 62}
<td width="20%" class="dvtCellLabel" align=right>
- <select name="parent_type" onChange='document.EditView.parent_name.value=""; document.EditView.parent_id.value=""'>
+ <select class="small" name="parent_type" onChange='document.EditView.parent_name.value=""; document.EditView.parent_id.value=""'>
{section name=combo loop=$fldlabel}
<option value="{$fldlabel_combo[combo]}" {$fldlabel_sel[combo]}>{$fldlabel[combo]}</option>
{/section}
@@ -386,7 +386,7 @@
<td width="90%" colspan="3">
<input name="{$fldname}" type="hidden" value="{$secondvalue}">
<textarea readonly name="parent_name" cols="70" rows="2">{$fldvalue}</textarea>
- <select name="parent_type">
+ <select name="parent_type" class="small">
{foreach key=labelval item=selectval from=$fldlabel}
<option value="{$labelval}" {$selectval}>{$labelval}</option>
{/foreach}
@@ -416,7 +416,7 @@
{elseif $uitype eq 55}
<td width="20%" class="dvtCellLabel" align=right>{$fldlabel}</td>
<td width="30%" align=left class="dvtCellInfo">
- <select name="salutationtype">
+ <select name="salutationtype" class="small">
{foreach item=arr from=$fldvalue}
{foreach key=sel_value item=value from=$arr}
<option value="{$sel_value}" {$value}>{$sel_value}</option>
@@ -528,9 +528,9 @@
</td>
<td width="30%" align=left class="dvtCellInfo">
{if $secondvalue eq 1}
- <select name="{$fldname}" tabindex="{$vt_tab}" >
+ <select name="{$fldname}" tabindex="{$vt_tab}" class="small">
{else}
- <select disabled name="{$fldname}">
+ <select disabled name="{$fldname}" class="small">
{/if}
{foreach item=arr from=$fldvalue}
{foreach key=sel_value item=value from=$arr}
@@ -568,9 +568,9 @@
</td>
<td width="30%" align=left class="dvtCellInfo">
{if $secondvalue eq 1}
- <select name="{$fldname}" tabindex="{$vt_tab}" >
+ <select name="{$fldname}" tabindex="{$vt_tab}" class="small">
{else}
- <select disabled name="{$fldname}" tabindex="{$vt_tab}" >
+ <select disabled name="{$fldname}" tabindex="{$vt_tab}" class="small">
{/if}
{foreach item=arr key=uivalueid from=$fldvalue}
@@ -618,7 +618,7 @@
{assign var=sendname value="$val_arr[2]"}
{assign var=disp_text value="$val_arr[3]"}
{assign var=sel_val value="$val_arr[4]"}
- <select name="{$sendname}">
+ <select name="{$sendname}" class="small">
{section name=reminder start=$start max=$end loop=$end step=1 }
{if $smarty.section.reminder.index eq $sel_val}
{assign var=sel_value value="SELECTED"}
Modified: vtigercrm/branches/5.0.2/modules/Users/DefaultDataPopulator.php
==============================================================================
--- vtigercrm/branches/5.0.2/modules/Users/DefaultDataPopulator.php (original)
+++ vtigercrm/branches/5.0.2/modules/Users/DefaultDataPopulator.php Wed Oct 18 09:09:17 2006
@@ -412,7 +412,7 @@
$this->db->query("insert into vtiger_field values (13,".$this->db->getUniqueID("vtiger_field").",'createdtime','vtiger_crmentity',1,'70','createdtime','Created Time',1,0,0,100,10,25,2,'T~O',1,null,'BAS')");
$this->db->query("insert into vtiger_field values (13,".$this->db->getUniqueID("vtiger_field").",'modifiedtime','vtiger_crmentity',1,'70','modifiedtime','Modified Time',1,0,0,100,11,25,2,'T~O',1,null,'BAS')");
//Added on 26-12-2005 to add attachment in ticket editview
- $this->db->query("insert into vtiger_field values (13,".$this->db->getUniqueID("vtiger_field").",'filename','vtiger_attachments',1,'61','filename','Attachment',1,0,0,100,12,26,1,'V~O',0,3,'BAS')");
+ $this->db->query("insert into vtiger_field values (13,".$this->db->getUniqueID("vtiger_field").",'filename','vtiger_attachments',1,'61','filename','Attachment',1,0,0,100,12,25,1,'V~O',0,3,'BAS')");
$this->db->query("insert into vtiger_field values (13,".$this->db->getUniqueID("vtiger_field").",'title','vtiger_troubletickets',1,'22','ticket_title','Title',1,0,0,100,1,26,1,'V~M',0,1,'BAS')");
$this->db->query("insert into vtiger_field values (13,".$this->db->getUniqueID("vtiger_field").",'description','vtiger_troubletickets',1,'19','description','Description',1,0,0,100,1,28,1,'V~O',0,2,'BAS')");
More information about the vtigercrm-commits
mailing list