pie
title Gründe für Krankenhausaufenthalte von Kindern und Jugendlichen
"Psychische Erkrankungen" : 40
"Körperliche Erkrankungen" : 30
"Unfälle und Verletzungen" : 20
"Andere Gründe" : 10
How should the code for a working plugin for the current version of thunderbird look, that allows a user to set an external URL, from which the referenced default signature gets updated once a day. The URL points to a html page, which should be downloaded and safed. Automatically set the downloaded file as the source for the signature, which gets added to every email by default. The code should follow all relevant coding-standards and best-practices for thunderbird plugins.
%%{init: { 'securityLevel': 'loose', 'logLevel': 'error', 'theme': 'default' } }%%
graph LR
A(full button) --> B[text with <a href='https://github.com/figuren-theater'>github.com/figuren-theater</a> link]
click A "http://www.github.com" "This is a link"
graph TD
User[user] -->|enters data| mft(mein.f.t)
mft --> |persist| DB[(temporary user-registration<br/> data saved in wp_users)]
Admin(admin) --> |approve user| DB
DB -->|address| Nominatim{Nominatim API}
Nominatim -->|valid| D[geoJSON]
Nominatim -->|invalid| E[fa:fa-ban]
This file contains 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 | |
echo '<p>Calling to <code>xhprof_sample_enable()</code>.</p>' . PHP_EOL; | |
if (function_exists('xhprof_sample_enable')) { | |
xhprof_sample_enable(); | |
} else { | |
echo '<p style="color: red;">This server does not support <code>xhprof_sample_enable()</code> function.</p>' . PHP_EOL; | |
echo 'Exit now.<br>' . PHP_EOL; | |
exit(); |
This file contains 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 ( class_exists('SQLite3') ) { | |
echo 'SQLite3 class loaded'. "\n\n"; | |
} | |
if ( extension_loaded('sqlite3') ) { | |
echo 'sqlite3 extension loaded'. "\n\n"; | |
} |
This file contains 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 | |
$file = __DIR__ . '/text.txt'; | |
if (is_file($file) && is_writable($file)) { | |
@unlink($file); | |
echo '<small style="color: #ccc;">' . $file . ' was deleted.</small><br>' . PHP_EOL; | |
} | |
echo '<p>Calling to <code>fastcgi_finish_request()</code>.</p>' . PHP_EOL; |
This file contains 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
function cbstdsys_add_icon_classes_by_post_type_and_format( $classes ) { | |
global $post; | |
switch ( $post->post_type ) { | |
case 'post' : | |
if ( is_sticky( $post->ID ) ) { | |
$classes[] = 'icon-alert'; | |
return $classes; | |
} |
This file contains 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
/** WPML - Sitepress Multilingual CMS **/ | |
global $sitepress; | |
// remove language switcher, 'cause it messes with the WP backend styles | |
remove_action('in_admin_header', array($sitepress, 'admin_language_switcher')); | |
// remove meta-generator tag | |
remove_action('wp_head', array($sitepress, 'meta_generator_tag')); | |
// WPML sitepress-multilingual-cms | |
define( 'ICL_DONT_LOAD_LANGUAGE_SELECTOR_CSS' , true); |
NewerOlder