Changeset 2239 for trunk/include/template.class.php
- Timestamp:
- Mar 1, 2008, 11:02:40 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/template.class.php
r2231 r2239 240 240 { 241 241 $this->smarty->assign( 'ROOT_URL', get_root_url() ); 242 $this->smarty->assign( 'TAG_INPUT_ENABLED', 243 ((is_adviser()) ? 'disabled="disabled" onclick="return false;"' : '')); 242 244 $v = $this->smarty->fetch($this->files[$handle], null, null, false); 243 245 } 244 246 else 245 247 { 248 $this->_old->assign_vars(array('TAG_INPUT_ENABLED' => 249 ((is_adviser()) ? 'disabled onclick="return false;"' : ''))); 246 250 $this->_old->set_filename( $handle, $this->files[$handle] ); 247 251 $v = $this->_old->parse($handle, true);
Note: See TracChangeset
for help on using the changeset viewer.