Changeset 142
- Timestamp:
- 06/27/08 09:12:28 (2 months ago)
- Files:
-
- trunk/rapyd/components/component.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/rapyd/components/component.php
r141 r142 292 292 else 293 293 { 294 $action = "javascript:window.location='".$config['url']."'"; 294 if (isset($config['confirm'])) 295 { 296 $action = "javascript:if (confirm('".addslashes($config['confirm'])."')) { window.location='".$config['url']."' }"; 297 } 298 else 299 { 300 $action = "javascript:window.location='".$config['url']."'"; 301 } 302 295 303 } 296 304 $position = (isset($config['position'])) ? $config['position'] : "TR";