Changeset 2022668
- Timestamp:
- 01/31/2019 12:20:43 PM (7 years ago)
- Location:
- files-addon-for-event-espresso-4
- Files:
-
- 2 edited
-
tags/1.0.9/EE_File_Display_Strategy.php (modified) (2 diffs)
-
trunk/EE_File_Display_Strategy.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
files-addon-for-event-espresso-4/tags/1.0.9/EE_File_Display_Strategy.php
r2022650 r2022668 40 40 $id = 'ssa_ee_reg_qstn-'.$reg_id.'-'.$que_id; 41 41 } 42 42 43 $value = $this->_input->raw_value_in_form(); 43 44 $input = '<input type="'. $this->get_type() .'"'; 44 45 $input .= ' name="ssa_' . $this->_input->html_name() . '"'; 45 $input .= ' id=" ssa_' . $this->_input->html_id(). '"';46 $input .= ' id="' . $id . '"'; 46 47 $class = $this->_input->required() ? $this->_input->required_css_class() . ' ' . $this->_input->html_class() : $this->_input->html_class(); 47 48 $input .= ' class="' . $class . ' ssa-file"'; … … 55 56 $input .= '<input type="hidden"'; 56 57 $input .= ' name="' . $this->_input->html_name() . '"'; 57 $input .= ' id="' . $ this->_input->html_id(). '"';58 $input .= ' id="' . $id . '"'; 58 59 $class = $this->_input->required() ? $this->_input->required_css_class() . ' ' . $this->_input->html_class() : $this->_input->html_class(); 59 60 $input .= ' class="file_value ' . $class . '"'; -
files-addon-for-event-espresso-4/trunk/EE_File_Display_Strategy.php
r2022650 r2022668 40 40 $id = 'ssa_ee_reg_qstn-'.$reg_id.'-'.$que_id; 41 41 } 42 42 43 $value = $this->_input->raw_value_in_form(); 43 44 $input = '<input type="'. $this->get_type() .'"'; 44 45 $input .= ' name="ssa_' . $this->_input->html_name() . '"'; 45 $input .= ' id=" ssa_' . $this->_input->html_id(). '"';46 $input .= ' id="' . $id . '"'; 46 47 $class = $this->_input->required() ? $this->_input->required_css_class() . ' ' . $this->_input->html_class() : $this->_input->html_class(); 47 48 $input .= ' class="' . $class . ' ssa-file"'; … … 55 56 $input .= '<input type="hidden"'; 56 57 $input .= ' name="' . $this->_input->html_name() . '"'; 57 $input .= ' id="' . $ this->_input->html_id(). '"';58 $input .= ' id="' . $id . '"'; 58 59 $class = $this->_input->required() ? $this->_input->required_css_class() . ' ' . $this->_input->html_class() : $this->_input->html_class(); 59 60 $input .= ' class="file_value ' . $class . '"';
Note: See TracChangeset
for help on using the changeset viewer.