General help

Site policy frame and confirm box in same window

 
Picture of Teja Majety
Site policy frame and confirm box in same window
 

Hi,

I am using Moodle version 3.3.2.

I am here trying to find a way to fit the site policy frame and the confirm box in the same window.

The site policy given by URL is displayed in a frame and apart from that, there is "confirm" box outside the frame, which are like 2 different things.

Is there any way to fit these 2 in the same frame or remove the confirm box and give the options of "yes" or "No" for the site policy in the frame itself?

 
Average of ratings: -
Picture of Teja Majety
Re: Site policy frame and confirm box in same window
 

I tried to mess with policy.php. But that didn't help much.

There is nothing much to change in the code either.

echo '<div class="noticebox">';

echo resourcelib_embed_general($sitepolicy, $strpolicyagreement, $clicktoopen, $mimetype);

echo '</div>';


echo $OUTPUT->confirm($strpolicyagree, $formcontinue, $formcancel);

I am not sure where should i look for, apart from these.

I am just trying to bring these 2 either in the frame or in confirm box.

Can anyone point me in some direction, please...

 
Average of ratings: -