[Vtigercrm-developers] bug in home page Blocks
Fusioncore
ml at arceva.fr
Thu Jul 23 06:47:06 PDT 2009
The inclued language file was already translate.
In the file /Smarty/templates/modules/HomeBlock.tpl, we can see around
line 29:
<td align="right" class="homePageMatrixHdr" nowrap
style="height:28px;" width=60%>
<input type="button" name="save" value="Save"
class="crmbutton small save"
onclick="saveEntries('maxentries_{$HOME_STUFFID}')">
<input type="button" name="cancel" value="Cancel"
class="crmbutton small cancel"
onclick="cancelEntries('editRowmodrss_{$HOME_STUFFID}')">
</td>
If I replace it by :
<td align="right" class="homePageMatrixHdr" nowrap
style="height:28px;" width=60%>
<input type="button" name="save"
value="{$APP.LBL_SAVE_BUTTON_LABEL}" class="crmbutton small save"
onclick="saveEntries('maxentries_{$HOME_STUFFID}')">
<input type="button" name="cancel"
value="{$APP.LBL_CANCEL_BUTTON_LABEL}" class="crmbutton small cancel"
onclick="cancelEntries('editRowmodrss_{$HOME_STUFFID}')">
</td>
The buttons labels were transate
Regards,
Bruno
French-vtiger Manager
Nitin Goyal a écrit :
> Hi Bruno,
>
> The Buttons you are talking about are not hardcoded, you can change
> the button label from /include/language/en_us.lang.php file.
>
> Search for the string LBL_SAVE_BUTTON_LABEL and LBL_CANCEL_BUTTON_LABEL
>
> Change these strings as they are handling save and cancel button
> through the vtigercrm.
>
>
> Regards,
> Nitin Goyal
> Vtiger Team
>
>
> On Thu, Jul 23, 2009 at 5:18 AM, Fusioncore <ml at arceva.fr
> <mailto:ml at arceva.fr>> wrote:
>
> Hi all,
> I found a small bug on the home page block
> In the file /Smarty/templates/Home/HomeBlock.tpl line 17 and 18
> the save
> and cancel button label are hardcode
>
> Regards,
> Bruno
> _______________________________________________
> Reach hundreds of potential candidates - http://jobs.vtiger.com
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Reach hundreds of potential candidates - http://jobs.vtiger.com
More information about the vtigercrm-developers
mailing list