Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-16067

Provide list of module objects to role/createpolizy1.tpl for ajax use

    XMLWordPrintable

Details

    Description

      Index: kernel/role/edit.php
      ===================================================================
      --- kernel/role/edit.php	(revision 24677)
      +++ kernel/role/edit.php	(working copy)
      @@ -717,6 +717,13 @@
           $http->setSessionVariable( 'RoleWasChanged', true );
           $Module->setTitle( 'Edit ' . $role->attribute( 'name' ) );
           $tpl->setVariable( 'modules', $modules );
      +
      +    $moduleList = array();
      +    foreach( $modules as $module )
      +    {
      +    	$moduleList[] = eZModule::exists( $module );
      +    }
      +    $tpl->setVariable( 'module_list', $moduleList );
           $tpl->setVariable( 'role', $role );
           $tpl->setVariable( 'module', $Module );
       
      

      Attachments

        Activity

          People

            andre1 andre1
            andre1 andre1
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: