themes

Module for setting a separate permission for theme management

  1. <?php
  2. // $Id$
  3.  
  4. /*
  5.  * Created by Greg Harvey on 20 Oct 2009
  6.  *
  7.  * http://www.drupaler.co.uk
  8.  */
  9.  
  10. /**
  11.  * Implementation of hook_perm().
  12.  *
  13.  * Provide a new permission for theme admin acces

Fix for menuRoids on Meth...

  1. FUNCTION theme_convert_menu($menusource){
  2. $themed_menu = new DOMDocument();
  3. @$themed_menu->loadXML($menusource);
  4. $templateSource = <<<TEMPLATESOURCE
  5. <?xml version="1.0" encoding="ISO-8859-1"?>

menuRoids on Meth...

  1. function theme_convert_menu($menusource){
  2. $themed_menu = new DOMDocument();
  3. @$themed_menu->loadXML($menusource);
  4. $templateSource = <<<TEMPLATESOURCE
  5. <?xml version="1.0" encoding="ISO-8859-1"?>
Syndicate content