diff options
author | ahriman <ahriman@falte.red> | 2018-12-03 19:22:25 -0500 |
---|---|---|
committer | ahriman <ahriman@falte.red> | 2018-12-03 19:22:25 -0500 |
commit | 0ae8cbf5c0b1a198b963490985b7738392ebcb97 (patch) | |
tree | b2c77ae72c6b717e2b97492065196ac5ffb2d9e2 /wiki/lib/tpl/dokuwiki/images | |
parent | f57f6cc5a2d159f90168d292437dc4bd8cd7f934 (diff) | |
download | site-0ae8cbf5c0b1a198b963490985b7738392ebcb97.tar.gz |
installed dokuwiki, added to navbar, updated news
Diffstat (limited to 'wiki/lib/tpl/dokuwiki/images')
32 files changed, 140 insertions, 0 deletions
diff --git a/wiki/lib/tpl/dokuwiki/images/apple-touch-icon.png b/wiki/lib/tpl/dokuwiki/images/apple-touch-icon.png new file mode 100644 index 0000000..87c99a9 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/apple-touch-icon.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/button-css.png b/wiki/lib/tpl/dokuwiki/images/button-css.png new file mode 100644 index 0000000..5c0f5a9 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/button-css.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/button-donate.gif b/wiki/lib/tpl/dokuwiki/images/button-donate.gif new file mode 100644 index 0000000..bba284e --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/button-donate.gif Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/button-dw.png b/wiki/lib/tpl/dokuwiki/images/button-dw.png new file mode 100644 index 0000000..8d6aea8 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/button-dw.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/button-html5.png b/wiki/lib/tpl/dokuwiki/images/button-html5.png new file mode 100644 index 0000000..f7b0688 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/button-html5.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/button-php.gif b/wiki/lib/tpl/dokuwiki/images/button-php.gif new file mode 100644 index 0000000..19aefb0 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/button-php.gif Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/button-rss.png b/wiki/lib/tpl/dokuwiki/images/button-rss.png new file mode 100644 index 0000000..aa6b7fc --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/button-rss.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/favicon.ico b/wiki/lib/tpl/dokuwiki/images/favicon.ico new file mode 100644 index 0000000..8b9616a --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/favicon.ico Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/license.txt b/wiki/lib/tpl/dokuwiki/images/license.txt new file mode 100644 index 0000000..7d12604 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/license.txt @@ -0,0 +1,5 @@ +Icons for: sitetools.png +Icon set: Dusseldorf +Designer: pc.de +License: Creative Commons Attribution License [http://creativecommons.org/licenses/by/3.0/] +URL: http://pc.de/icons/#Dusseldorf diff --git a/wiki/lib/tpl/dokuwiki/images/logo.png b/wiki/lib/tpl/dokuwiki/images/logo.png new file mode 100644 index 0000000..a1f4995 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/logo.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/page-background.svg b/wiki/lib/tpl/dokuwiki/images/page-background.svg new file mode 100644 index 0000000..086341d --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/page-background.svg @@ -0,0 +1,8 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"> + <linearGradient id="g" x1="0%" y1="0%" x2="0%" y2="100%"> + <stop offset="0" stop-color="#dddddd" /> + <stop offset="0.1" stop-color="#eeeeee" /> + <stop offset="0.4" stop-color="#fbfaf9" /> + </linearGradient> + <rect x="0" y="0" width="100%" height="100%" fill="url(#g)" /> +</svg> \ No newline at end of file diff --git a/wiki/lib/tpl/dokuwiki/images/page-gradient.png b/wiki/lib/tpl/dokuwiki/images/page-gradient.png new file mode 100644 index 0000000..38c7419 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/page-gradient.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/pagetools-build.php b/wiki/lib/tpl/dokuwiki/images/pagetools-build.php new file mode 100644 index 0000000..eaceeb2 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/pagetools-build.php @@ -0,0 +1,123 @@ +<?php +/** + * This script generates a sprite from the unprocessed pagetool icons by combining them + * and overlaying a color layer for the active state. + * + * This script requires a current libGD to be available. + * + * The color for the active state is read from the style.ini's __link__ replacement + * + * The final sprite is optimized with optipng if available. + * + * @author Andreas Gohr <andi@splitbrain.org> + * @todo Maybe add some more error checking + */ +$GAMMA = 0.8; +$OPTIPNG = '/usr/bin/optipng'; + +if('cli' != php_sapi_name()) die('please run from commandline'); + +// load input images +$input = glob('pagetools/*.png'); +sort($input); +$cnt = count($input); +if(!$cnt){ + die("No input images found. This script needs to be called from within the image directory!\n"); +} + +// create destination image +$DST = imagecreatetruecolor(30,$cnt*45*2); +imagesavealpha($DST, true); +$C_trans = imagecolorallocatealpha($DST, 0, 0, 0, 127); +imagefill($DST, 0, 0, $C_trans); + +// load highlight color from style.ini +$ini = parse_ini_file('../style.ini',true); +$COLOR = hex2rgb($ini['replacements']['__link__']); +$C_active = imagecolorallocate($DST, $COLOR['r'],$COLOR['g'],$COLOR['b']); + +// add all the icons to the sprite image +for($i=0; $i<$cnt; $i++){ + $base = $i*90; + + $IN = imagecreatefrompng($input[$i]); + imagesavealpha($IN, true); + imagecolorscale($IN,$GAMMA); + imagecopy($DST,$IN, 0,$base, 0,0, 30,30); + imagedestroy($IN); + + $IN = imagecreatefrompng($input[$i]); + imagesavealpha($IN, true); + imagecolorscale($IN,$GAMMA); + imagecopy($DST,$IN, 0,$base+45, 0,0, 30,30); + imagedestroy($IN); + + imagelayereffect($DST, IMG_EFFECT_OVERLAY); + imagefilledrectangle($DST, 0,$base+45, 30,$base+45+30, $C_active); + imagelayereffect($DST, IMG_EFFECT_NORMAL); +} + +// output sprite +imagepng($DST,'pagetools-sprite.png'); +imagedestroy($DST); + +// optimize if possible +if(is_executable($OPTIPNG)){ + system("$OPTIPNG -o5 'pagetools-sprite.png'"); +} + +/** + * Convert a hex color code to an rgb array + */ +function hex2rgb($hex) { + // strip hash + $hex = str_replace('#', '', $hex); + + // normalize short codes + if(strlen($hex) == 3){ + $hex = substr($hex,0,1). + substr($hex,0,1). + substr($hex,1,1). + substr($hex,1,1). + substr($hex,2,1). + substr($hex,2,1); + } + + // calc rgb + return array( + 'r' => hexdec(substr($hex, 0, 2)), + 'g' => hexdec(substr($hex, 2, 2)), + 'b' => hexdec(substr($hex, 4, 2)) + ); +} + +/** + * Scale (darken/lighten) a given image + * + * @param resource $img The truetype GD image to work on + * @param float $scale Scale the colors by this value ( <1 darkens, >1 lightens) + */ +function imagecolorscale(&$img, $scale){ + $w = imagesx($img); + $h = imagesy($img); + + imagealphablending($img, false); + for($x = 0; $x < $w; $x++){ + for($y = 0; $y < $h; $y++){ + $rgba = imagecolorat($img, $x, $y); + $a = ($rgba >> 24) & 0xFF; + $r = ($rgba >> 16) & 0xFF; + $g = ($rgba >> 8) & 0xFF; + $b = $rgba & 0xFF; + + $r = max(min(round($r*$scale),255),0); + $g = max(min(round($g*$scale),255),0); + $b = max(min(round($b*$scale),255),0); + + $color = imagecolorallocatealpha($img, $r, $g, $b, $a); + imagesetpixel($img, $x, $y, $color); + } + } + imagealphablending($img, true); +} + diff --git a/wiki/lib/tpl/dokuwiki/images/pagetools-sprite.png b/wiki/lib/tpl/dokuwiki/images/pagetools-sprite.png new file mode 100644 index 0000000..8e7f7f8 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/pagetools-sprite.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/pagetools/00_default.png b/wiki/lib/tpl/dokuwiki/images/pagetools/00_default.png new file mode 100644 index 0000000..bcb2de0 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/pagetools/00_default.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/pagetools/01_edit.png b/wiki/lib/tpl/dokuwiki/images/pagetools/01_edit.png new file mode 100644 index 0000000..99f3093 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/pagetools/01_edit.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/pagetools/02_create.png b/wiki/lib/tpl/dokuwiki/images/pagetools/02_create.png new file mode 100644 index 0000000..57fa68d --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/pagetools/02_create.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/pagetools/03_draft.png b/wiki/lib/tpl/dokuwiki/images/pagetools/03_draft.png new file mode 100644 index 0000000..ce1c6cf --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/pagetools/03_draft.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/pagetools/04_show.png b/wiki/lib/tpl/dokuwiki/images/pagetools/04_show.png new file mode 100644 index 0000000..1ced340 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/pagetools/04_show.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/pagetools/05_source.png b/wiki/lib/tpl/dokuwiki/images/pagetools/05_source.png new file mode 100644 index 0000000..dffe193 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/pagetools/05_source.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/pagetools/06_revert.png b/wiki/lib/tpl/dokuwiki/images/pagetools/06_revert.png new file mode 100644 index 0000000..18c6444 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/pagetools/06_revert.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/pagetools/07_revisions.png b/wiki/lib/tpl/dokuwiki/images/pagetools/07_revisions.png new file mode 100644 index 0000000..e599d01 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/pagetools/07_revisions.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/pagetools/08_backlink.png b/wiki/lib/tpl/dokuwiki/images/pagetools/08_backlink.png new file mode 100644 index 0000000..aa34e27 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/pagetools/08_backlink.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/pagetools/09_subscribe.png b/wiki/lib/tpl/dokuwiki/images/pagetools/09_subscribe.png new file mode 100644 index 0000000..36254ff --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/pagetools/09_subscribe.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/pagetools/10_top.png b/wiki/lib/tpl/dokuwiki/images/pagetools/10_top.png new file mode 100644 index 0000000..b930fd2 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/pagetools/10_top.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/pagetools/11_mediamanager.png b/wiki/lib/tpl/dokuwiki/images/pagetools/11_mediamanager.png new file mode 100644 index 0000000..71b5a33 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/pagetools/11_mediamanager.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/pagetools/12_back.png b/wiki/lib/tpl/dokuwiki/images/pagetools/12_back.png new file mode 100644 index 0000000..6d6093e --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/pagetools/12_back.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/pagetools/license.txt b/wiki/lib/tpl/dokuwiki/images/pagetools/license.txt new file mode 100644 index 0000000..299624c --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/pagetools/license.txt @@ -0,0 +1,4 @@ +Icon set: iPhone toolbar icons +Designer: TheWorkingGroup.ca +License: Creative Commons Attribution-Share Alike License [http://creativecommons.org/licenses/by-sa/3.0/] +URL: http://blog.twg.ca/2009/09/free-iphone-toolbar-icons/ diff --git a/wiki/lib/tpl/dokuwiki/images/search.png b/wiki/lib/tpl/dokuwiki/images/search.png new file mode 100644 index 0000000..a07a721 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/search.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/toc-arrows.png b/wiki/lib/tpl/dokuwiki/images/toc-arrows.png new file mode 100644 index 0000000..4a353e4 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/toc-arrows.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/toc-bullet.png b/wiki/lib/tpl/dokuwiki/images/toc-bullet.png new file mode 100644 index 0000000..a2dfa47 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/toc-bullet.png Binary files differdiff --git a/wiki/lib/tpl/dokuwiki/images/usertools.png b/wiki/lib/tpl/dokuwiki/images/usertools.png new file mode 100644 index 0000000..6810227 --- /dev/null +++ b/wiki/lib/tpl/dokuwiki/images/usertools.png Binary files differ |