Changeset 721 for trunk/Modules/IS/IS.php
- Timestamp:
- Jan 3, 2015, 7:34:55 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/IS/IS.php
r719 r721 377 377 foreach($FormClass['ItemActions'] as $Action) 378 378 { 379 $URL = $this->System->Link($Action['URL']); 380 if(strpos($URL, '?') === false) $URL .= '?'; 381 else if((substr($URL, -5, 5) !== '&') and (substr($URL, -1, 1) !== '?')) $URL .= '&'; 382 $URL .= 'i='.$Id; 379 $URL = str_replace('#RowId', $Id, $this->System->Link($Action['URL'])); 383 380 $Actions[] = $this->ShowAction($Action['Caption'], $URL, 384 381 $this->System->Link('/images/action.png')); … … 643 640 { 644 641 $URL = $this->System->Link($Action['URL']); 645 if(strpos($URL, '?') === false) $URL .= '?';646 else if((substr($URL, -5, 5) !== '&') and (substr($URL, -1, 1) !== '?')) $URL .= '&';647 $URL .= 'i=#RowId';648 642 $RowActions .= '<a href="'.$URL.'"><img alt="'.$Action['Caption'].'" title="'.$Action['Caption'].'" src="'. 649 643 $this->System->Link('/images/action.png').'"/></a>';
Note:
See TracChangeset
for help on using the changeset viewer.