Logo Search packages:      
Sourcecode: gallery2 version File versions  Download package

MigrateModule::getRewriteRules (  )
See also:
GalleryModule::getRewriteRules

Definition at line 99 of file module.inc.

                               {
      global $gallery;
      $urlGenerator =& $gallery->getUrlGenerator();
      $url = $urlGenerator->generateUrl(array('view' => 'core.SiteAdmin',
                                    'subView' => 'migrate.SelectGallery'));
      return array(
          array('comment' => $this->translate('G1->G2 Mapping'),
              'pattern' => '%path%',
              'keywords' => array('path' => array('pattern' => '([^?]+)',
                                          'help' => $this->translate('G1 path'))),
              'queryString' => array('controller' => 'migrate.Redirect'),
              'locked' => 1,
              'help' => $this->translate(array('text' => 'G1 URL redirect. Use only if G2 is installed where G1 used to be and you have run a G1 import with the URL redirect option selected. Otherwise follow instructions in %sMigrate Site Admin%s.', 'arg1' => '<a href="' . $url . '">', 'arg2' => '</a>'))
          )
      );
    }

Generated by  Doxygen 1.6.0   Back to index