[Vtigercrm-commits] [vtiger-commits] r9558 - in /vtigercrm/branches/5.0.1: Smarty/templates/CreateWordTemplate.tpl modules/Users/upload.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Oct 5 05:47:09 EDT 2006
Author: richie
Date: Thu Oct 5 03:47:03 2006
New Revision: 9558
Log:
* Modified to handle the hardcoded attachment size to be captured in config.inc.php file
Modified:
vtigercrm/branches/5.0.1/Smarty/templates/CreateWordTemplate.tpl
vtigercrm/branches/5.0.1/modules/Users/upload.php
Modified: vtigercrm/branches/5.0.1/Smarty/templates/CreateWordTemplate.tpl
==============================================================================
--- vtigercrm/branches/5.0.1/Smarty/templates/CreateWordTemplate.tpl (original)
+++ vtigercrm/branches/5.0.1/Smarty/templates/CreateWordTemplate.tpl Thu Oct 5 03:47:03 2006
@@ -25,7 +25,7 @@
<form action="index.php?module=Users&action=add2db" method="post" enctype="multipart/form-data">
<input type="hidden" name="return_module" value="Settings">
<input type="hidden" name="parenttab" value="{$PARENTTAB}">
- <input type="hidden" name="MAX_FILE_SIZE" value="100000">
+ <input type="hidden" name="MAX_FILE_SIZE" value="{$MAX_FILE_SIZE}">
<input type="hidden" name="action">
<tr>
<td width=50 rowspan=2 valign=top><img src="{$IMAGE_PATH}mailmarge.gif" alt="Users" width="48" height="48" border=0 title="Users"></td>
Modified: vtigercrm/branches/5.0.1/modules/Users/upload.php
==============================================================================
--- vtigercrm/branches/5.0.1/modules/Users/upload.php (original)
+++ vtigercrm/branches/5.0.1/modules/Users/upload.php Thu Oct 5 03:47:03 2006
@@ -19,6 +19,7 @@
global $mod_strings;
global $app_list_strings;
global $adb;
+global $upload_maxsize;
global $theme;
$theme_path="themes/".$theme."/";
$image_path=$theme_path."images/";
@@ -44,6 +45,7 @@
$smarty->assign("APP", $app_strings);
$smarty->assign("UMOD", $mod_strings);
$smarty->assign("PARENTTAB", $_REQUEST['parenttab']);
+$smarty->assign("MAX_FILE_SIZE", $upload_maxsize);
$smarty->display('CreateWordTemplate.tpl');
More information about the vtigercrm-commits
mailing list