<?php
/**
  * Ahead WebSoft Technologies Pvt Ltd.
  * @copyright  Copyright 2006-2026 Ahead WebSoft Technologies Pvt Ltd.
  * @license    https://www.socialengine.com/policies
*/
?>

<?php if( $this->form ): ?>
  <?php echo $this->form->render($this) ?>

<?php elseif( $this->status ): ?>

  <div class="admin_popup_success_msg"><?php echo $this->translate("Your changes have been saved.") ?></div>

  <script type="text/javascript">
    setTimeout(function() {
      parent.window.location.replace( '<?php echo $this->url(array('action' => 'index', 'name' => $this->menu->name)) ?>' )
    }, 500);
  </script>

<?php endif; ?>
