[Vtigercrm-commits] [vtiger-commits] r4520 - /vtigercrm/trunk/modules/Quotes/Forms.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Mar 28 01:06:12 EST 2006


Author: saraj
Date: Mon Mar 27 23:06:06 2006
New Revision: 4520

Log:
junk code has been removed

Modified:
    vtigercrm/trunk/modules/Quotes/Forms.php

Modified: vtigercrm/trunk/modules/Quotes/Forms.php
==============================================================================
--- vtigercrm/trunk/modules/Quotes/Forms.php (original)
+++ vtigercrm/trunk/modules/Quotes/Forms.php Mon Mar 27 23:06:06 2006
@@ -173,60 +173,4 @@
 return $the_script;
 }
 
-/**
- * Create HTML form to enter a new record with the minimum necessary fields.
- * Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.
- * All Rights Reserved.
- * Contributor(s): ______________________________________..
- */
-
-/*
-function get_new_record_form () {
-global $mod_strings;
-global $app_strings;
-global $current_user;
-
-$lbl_required_symbol = $app_strings['LBL_REQUIRED_SYMBOL'];
-$lbl_quote_subject = $mod_strings['Subject'];
-$lbl_pot_name = $mod_strings['Potential Name'];
-$lbl_acct_name = $mod_strings['Account Name'];
-$lbl_quote_stage = $mod_strings['Quote Stage'];
-$lbl_save_button_title = $app_strings['LBL_SAVE_BUTTON_TITLE'];
-$lbl_save_button_key = $app_strings['LBL_SAVE_BUTTON_KEY'];
-$lbl_save_button_label = $app_strings['LBL_SAVE_BUTTON_LABEL'];
-$lbl_change_button_label = $app_strings['LBL_CHANGE_BUTTON_LABEL'];
-$user_id = $current_user->id;
-$comboFieldNames = Array('quotestage'=>'quotestage_dom'
-                         );
-$comboFieldArray = getComboArray($comboFieldNames);
-$the_form = get_left_form_header($mod_strings['LBL_NEW_FORM_TITLE']);
-$the_form .= <<<EOQ
-		<form name="EditView" onSubmit="return verify_data(EditView)" method="POST" action="index.php">
-			<input type="hidden" name="module" value="Quotes">
-			<input type="hidden" name="assigned_user_id" value='${user_id}'>
-			<input type="hidden" name="action" value="Save">
-		<FONT class="required">$lbl_required_symbol</FONT>$lbl_quote_subject<br>
-		<input name='subject' type="text" value=""><br>
-		$lbl_pot_name<br>
-		<input name="potential_name" readonly type="text"><input name="potential_id" type="hidden">&nbsp;<input title="Change" accessKey="" type="button" class="button" value="$lbl_change_button_label" name="Button" LANGUAGE=javascript onclick='return window.open("index.php?module=Potentials&action=Popup&html=Popup_picker&popuptype=specific&form=EditView","test","width=600,height=400,resizable=1,scrollbars=1");'><br>
-		$lbl_quote_stage<br>
-		<select name='quotestage'>
-EOQ;
-
-$the_form .= get_select_options_with_id($comboFieldArray['quotestage_dom'], "");
-$the_form .= <<<EOQ
-                </select><br>
-                $lbl_acct_name<br>
-		<input name="account_id" type="hidden"><input name="account_name" readonly type="text"> <input title="Change [Alt+G]" accessKey="G" type="button" class="button" value="$lbl_change_button_label" name="Button" LANGUAGE=javascript onclick='return window.open("index.php?module=Accounts&action=Popup&html=Popup_picker&form=HelpDeskEditView&popuptype=specific","test","width=600,height=400,resizable=1,scrollbars=1,top=150,left=200");'><br><br>
-		
-		<input title="$lbl_save_button_title" accessKey="$lbl_save_button_key" class="button" type="submit" name="button" value="  $lbl_save_button_label  " >
-		</form>
-
-EOQ;
-$the_form .= get_left_form_footer();
-$the_form .= get_validate_record_js();
-
-return $the_form;
-}
-*/
 ?>





More information about the vtigercrm-commits mailing list