Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

Wont display plugins which use SkinTemplateToolboxEnd (notibly PDFExport) Fix included #40

Open
mudgw2 opened this issue Jul 29, 2013 · 0 comments

Comments

@mudgw2
Copy link

mudgw2 commented Jul 29, 2013

Change Strapping.skin.php TOOLBOX case to:

case 'TOOLBOX':

      $theMsg = 'toolbox';
      $theData = array_reverse($this->getToolbox());
      ?>

      <ul class="nav" role="navigation">

        <li class="dropdown" id="p-<?php echo $theMsg; ?>" class="vectorMenu<?php if ( count($theData) == 0 ) echo ' emptyPortlet'; ?>">

          <a data-toggle="dropdown" class="dropdown-toggle" role="button"><?php $this->msg($theMsg) ?> <b class="caret"></b></a>

          <ul aria-labelledby="<?php echo $this->msg($theMsg); ?>" role="menu" class="dropdown-menu" <?php $this->html( 'userlangattributes' ) ?>>

            <?php
              foreach( $theData as $key => $item ) {
                if (preg_match('/specialpages|whatlinkshere/', $key)) {
                  echo '<li class="divider"></li>';
                }

                echo $this->makeListItem( $key, $item );
              }
              wfRunHooks( 'SkinTemplateToolboxEnd', array( &$this, true ) );
            ?>

          </ul>

        </li>

      </ul>
      <?php
    break;
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant