'; $Action = ForceIncomingString("Action", ""); if ($Action == 'Removed') { echo '
'.$this->Context->GetDefinition('RoleRemoved').'
'; } else if ($Action == 'Saved') { echo '
'.$this->Context->GetDefinition('RoleSaved').'
'; } else if ($Action == 'SavedNew') { echo '
'.$this->Context->GetDefinition('NewRoleSaved').'
'; } echo '
'.$this->Context->GetDefinition('RoleManagement').'' .$this->Get_Warnings(). '

'.$this->Context->GetDefinition('RoleReorderNotes').'

'; if ($this->RoleData) { $r = $this->Context->ObjectFactory->NewContextObject($this->Context, 'Role'); while ($Row = $this->Context->Database->GetRow($this->RoleData)) { $r->Clear(); $r->GetPropertiesFromDataSet($Row); $r->FormatPropertiesForDisplay(); echo '
'; if ($this->Context->Session->User->Permission('PERMISSION_EDIT_ROLES')) echo ''.$this->Context->GetDefinition('Edit').''; if ($this->Context->Session->User->Permission('PERMISSION_REMOVE_ROLES')) { if (!$r->Unauthenticated) { echo ' '; } else { echo ' '; } } echo '
' .$r->RoleName .'
'; } } echo '
'; if ($this->Context->Session->User->Permission('PERMISSION_SORT_ROLES')) { echo ""; // Debug echo ''; } if ($this->Context->Session->User->Permission('PERMISSION_ADD_ROLES')) { echo ''; } echo '
'; ?>