This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | errorHandling: | |
| - | |
| errorCode: '404' | |
| errorContentSource: 't3://page?uid=316' | |
| errorHandler: PHP | |
| errorPhpClassFQCN: B13\AnyProject\PageErrorHandler\LocalPageErrorHandler | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| namespace B13\AnyProject\PageErrorHandler; | |
| /* | |
| * This file is part of a b13 extension. | |
| * | |
| * It is free software; you can redistribute it and/or modify it under | |
| * the terms of the GNU General Public License, either version 2 | |
| * of the License, or any later version. | |
| * | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| /** | |
| * On-the-fly CSS Compression | |
| * Copyright (c) 2009 and onwards, Manas Tungare. | |
| * Creative Commons Attribution, Share-Alike. | |
| * | |
| * In order to minimize the number and size of HTTP requests for CSS content, | |
| * this script combines multiple CSS files into a single file and compresses | |
| * it on-the-fly. | |
| * | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | header("Content-type: text/xml; charset=utf-8"); | |
| //create your XML document, using the namespaces | |
| $urlset = new SimpleXMLElement('<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" /><!--?xml version="1.0" encoding="UTF-8"?-->'); | |
| //iterate over your sites pages or whatever you like | |
| foreach (getMyPagesOrWhatEver() as $item): | |
| //add the page URL to the XML urlset | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | IM HEAD | |
| ############ | |
| <script> | |
| var elricco = {}; | |
| elricco.funcs = []; | |
| </script> | |
| MODULAUSGABE | |
| ############ | |
| <?php if (!rex::isBackend()): ?> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| if( "REX_VALUE[2]" != "" ) | |
| { | |
| // Im Backend den Link zur Quelle anzeigen | |
| if(rex::isBackend()) | |
| { | |
| $master = rex_article::get(REX_LINK[id=1 output=id]); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| /** | |
| * Send a Message to a Slack Channel. | |
| * | |
| * In order to get the API Token visit: https://api.slack.com/custom-integrations/legacy-tokens | |
| * The token will look something like this `xoxo-2100000415-0000000000-0000000000-ab1ab1`. | |
| * | |
| * @param string $message The message to post into a channel. | |
| * @param string $channel The name of the channel prefixed with #, example #foobar |