├── VERSION ├── js ├── iepngfix │ ├── .htaccess │ ├── blank.gif │ ├── index.html │ └── iepngfix.htc └── index.html ├── images ├── open.png ├── unc.png ├── bullet.png ├── closed.png ├── email.png ├── favicon.ico ├── button-dw.png ├── resizecol.png ├── button-rss.png ├── buttonshadow.png ├── closed-rtl.png ├── headline_bg.gif ├── icon-feed-25.png ├── icon-feed-40.png ├── button-donate.gif ├── external-link.png ├── apple-touch-icon.png ├── button-mnmlblog.png ├── icon-discussion.png ├── icon-identica-25.png ├── icon-identica-40.png ├── icon-twitter-25.png ├── icon-twitter-40.png ├── icon-discussion-big.png ├── icon-feed-black-25.gif ├── icon-feed-black-40.gif └── index.html ├── template.info.txt ├── blogtng-tpl ├── README ├── .htaccess ├── feed.php ├── recentcomments.php ├── comments.php ├── list.php └── entry.php ├── index.html ├── conf ├── index.html ├── .htaccess ├── metadata.php └── default.php ├── css ├── index.html ├── 00_starter-tmpl-notes.txt ├── _footnotes.css ├── _imgdetail.css ├── _admin.css ├── _diff.css ├── _forms.css ├── _tabs.css ├── _links.css ├── mnml-blog_print.css ├── mnml-blog_screen_iehacks.css ├── _modal.css ├── _fileuploader.css ├── _search.css ├── _recent.css ├── _toc.css ├── print.css ├── _edit.css ├── _media_popup.css └── _media_fullscreen.css ├── lang ├── index.html ├── cs │ ├── index.html │ ├── .htaccess │ ├── lang.php │ └── settings.php ├── de │ ├── index.html │ ├── .htaccess │ ├── lang.php │ └── settings.php ├── en │ ├── index.html │ ├── .htaccess │ ├── lang.php │ └── settings.php ├── es │ ├── index.html │ ├── .htaccess │ ├── lang.php │ └── settings.php ├── ko │ ├── index.html │ ├── .htaccess │ ├── lang.php │ └── settings.php ├── nl │ ├── index.html │ ├── .htaccess │ ├── lang.php │ └── settings.php ├── ru │ ├── index.html │ ├── .htaccess │ ├── lang.php │ └── settings.php ├── de-informal │ ├── index.html │ ├── .htaccess │ ├── lang.php │ └── settings.php └── .htaccess ├── user ├── index.html ├── print.css.dist ├── screen.css.dist ├── .htaccess ├── user.js.dist ├── tracker.php.dist └── boxes.php.dist ├── .htaccess ├── CREDITS ├── style.ini ├── mediamanager.php ├── detail.php ├── README ├── COPYING └── main.php /VERSION: -------------------------------------------------------------------------------- 1 | 2014-02-09 2 | -------------------------------------------------------------------------------- /js/iepngfix/.htaccess: -------------------------------------------------------------------------------- 1 | AddType text/x-component .htc 2 | -------------------------------------------------------------------------------- /images/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/open.png -------------------------------------------------------------------------------- /images/unc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/unc.png -------------------------------------------------------------------------------- /images/bullet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/bullet.png -------------------------------------------------------------------------------- /images/closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/closed.png -------------------------------------------------------------------------------- /images/email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/email.png -------------------------------------------------------------------------------- /images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/favicon.ico -------------------------------------------------------------------------------- /images/button-dw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/button-dw.png -------------------------------------------------------------------------------- /images/resizecol.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/resizecol.png -------------------------------------------------------------------------------- /images/button-rss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/button-rss.png -------------------------------------------------------------------------------- /images/buttonshadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/buttonshadow.png -------------------------------------------------------------------------------- /images/closed-rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/closed-rtl.png -------------------------------------------------------------------------------- /images/headline_bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/headline_bg.gif -------------------------------------------------------------------------------- /images/icon-feed-25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/icon-feed-25.png -------------------------------------------------------------------------------- /images/icon-feed-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/icon-feed-40.png -------------------------------------------------------------------------------- /js/iepngfix/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/js/iepngfix/blank.gif -------------------------------------------------------------------------------- /images/button-donate.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/button-donate.gif -------------------------------------------------------------------------------- /images/external-link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/external-link.png -------------------------------------------------------------------------------- /images/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/apple-touch-icon.png -------------------------------------------------------------------------------- /images/button-mnmlblog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/button-mnmlblog.png -------------------------------------------------------------------------------- /images/icon-discussion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/icon-discussion.png -------------------------------------------------------------------------------- /images/icon-identica-25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/icon-identica-25.png -------------------------------------------------------------------------------- /images/icon-identica-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/icon-identica-40.png -------------------------------------------------------------------------------- /images/icon-twitter-25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/icon-twitter-25.png -------------------------------------------------------------------------------- /images/icon-twitter-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/icon-twitter-40.png -------------------------------------------------------------------------------- /images/icon-discussion-big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/icon-discussion-big.png -------------------------------------------------------------------------------- /images/icon-feed-black-25.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/icon-feed-black-25.gif -------------------------------------------------------------------------------- /images/icon-feed-black-40.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foundata/dokuwiki-template-mnml-blog/HEAD/images/icon-feed-black-40.gif -------------------------------------------------------------------------------- /template.info.txt: -------------------------------------------------------------------------------- 1 | base mnml-blog 2 | author ARSAVA 3 | email dokuwiki@dev.arsava.com 4 | date 2014-02-09 5 | name mnml-blog template 6 | desc Clean and minimalist template, suitable for blogging with the BlogTNG plugin. 7 | url https://www.dokuwiki.org/template:mnml-blog 8 | -------------------------------------------------------------------------------- /blogtng-tpl/README: -------------------------------------------------------------------------------- 1 | The files in this dir are BlogTNG data template files (see 2 | for details). Have a look at 3 | the README in the template's root dir (-> "I. Using/Installing the template") 4 | and/or if you need help. 5 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /conf/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /css/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /js/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /lang/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /user/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /images/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /lang/cs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /lang/de/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /lang/en/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /lang/es/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /lang/ko/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /lang/nl/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /lang/ru/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /js/iepngfix/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /lang/de-informal/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /user/print.css.dist: -------------------------------------------------------------------------------- 1 | /* 2 | Place for user defined CSS rules (print media) - this file can safely be 3 | preserved when updating. See README for details. 4 | 5 | Note: All example files are delivered with the ".dist" extensions to make 6 | sure your changes do not get overwritten when updating the template. 7 | Just remove the ".dist" extension to use them. 8 | */ 9 | 10 | -------------------------------------------------------------------------------- /user/screen.css.dist: -------------------------------------------------------------------------------- 1 | /* 2 | Place for user defined CSS rules (screen media) - this file can safely be 3 | preserved when updating. See README for details. 4 | 5 | Note: All example files are delivered with the ".dist" extensions to make 6 | sure your changes do not get overwritten when updating the template. 7 | Just remove the ".dist" extension to use them. 8 | */ 9 | 10 | -------------------------------------------------------------------------------- /conf/.htaccess: -------------------------------------------------------------------------------- 1 | #Note: If this file prevents running mnml-blog in your environment, simply delete 2 | # it. Everything should be safe even if the files blocked by the following 3 | # Apache rules are accessible. 4 | # The reason for protecting these files is to to keep searchengines/foo 5 | # away from indexing files containing version information, names and/or not 6 | # necessarily public template parts by default. 7 | Deny from all 8 | -------------------------------------------------------------------------------- /lang/.htaccess: -------------------------------------------------------------------------------- 1 | #Note: If this file prevents running mnml-blog in your environment, simply delete 2 | # it. Everything should be safe even if the files blocked by the following 3 | # Apache rules are accessible. 4 | # The reason for protecting these files is to to keep searchengines/foo 5 | # away from indexing files containing version information, names and/or not 6 | # necessarily public template parts by default. 7 | Deny from all 8 | -------------------------------------------------------------------------------- /lang/cs/.htaccess: -------------------------------------------------------------------------------- 1 | #Note: If this file prevents running mnml-blog in your environment, simply delete 2 | # it. Everything should be safe even if the files blocked by the following 3 | # Apache rules are accessible. 4 | # The reason for protecting these files is to to keep searchengines/foo 5 | # away from indexing files containing version information, names and/or not 6 | # necessarily public template parts by default. 7 | Deny from all 8 | -------------------------------------------------------------------------------- /lang/de/.htaccess: -------------------------------------------------------------------------------- 1 | #Note: If this file prevents running mnml-blog in your environment, simply delete 2 | # it. Everything should be safe even if the files blocked by the following 3 | # Apache rules are accessible. 4 | # The reason for protecting these files is to to keep searchengines/foo 5 | # away from indexing files containing version information, names and/or not 6 | # necessarily public template parts by default. 7 | Deny from all 8 | -------------------------------------------------------------------------------- /lang/en/.htaccess: -------------------------------------------------------------------------------- 1 | #Note: If this file prevents running mnml-blog in your environment, simply delete 2 | # it. Everything should be safe even if the files blocked by the following 3 | # Apache rules are accessible. 4 | # The reason for protecting these files is to to keep searchengines/foo 5 | # away from indexing files containing version information, names and/or not 6 | # necessarily public template parts by default. 7 | Deny from all 8 | -------------------------------------------------------------------------------- /lang/es/.htaccess: -------------------------------------------------------------------------------- 1 | #Note: If this file prevents running mnml-blog in your environment, simply delete 2 | # it. Everything should be safe even if the files blocked by the following 3 | # Apache rules are accessible. 4 | # The reason for protecting these files is to to keep searchengines/foo 5 | # away from indexing files containing version information, names and/or not 6 | # necessarily public template parts by default. 7 | Deny from all 8 | -------------------------------------------------------------------------------- /lang/ko/.htaccess: -------------------------------------------------------------------------------- 1 | #Note: If this file prevents running mnml-blog in your environment, simply delete 2 | # it. Everything should be safe even if the files blocked by the following 3 | # Apache rules are accessible. 4 | # The reason for protecting these files is to to keep searchengines/foo 5 | # away from indexing files containing version information, names and/or not 6 | # necessarily public template parts by default. 7 | Deny from all 8 | -------------------------------------------------------------------------------- /lang/nl/.htaccess: -------------------------------------------------------------------------------- 1 | #Note: If this file prevents running mnml-blog in your environment, simply delete 2 | # it. Everything should be safe even if the files blocked by the following 3 | # Apache rules are accessible. 4 | # The reason for protecting these files is to to keep searchengines/foo 5 | # away from indexing files containing version information, names and/or not 6 | # necessarily public template parts by default. 7 | Deny from all 8 | -------------------------------------------------------------------------------- /lang/ru/.htaccess: -------------------------------------------------------------------------------- 1 | #Note: If this file prevents running mnml-blog in your environment, simply delete 2 | # it. Everything should be safe even if the files blocked by the following 3 | # Apache rules are accessible. 4 | # The reason for protecting these files is to to keep searchengines/foo 5 | # away from indexing files containing version information, names and/or not 6 | # necessarily public template parts by default. 7 | Deny from all 8 | -------------------------------------------------------------------------------- /blogtng-tpl/.htaccess: -------------------------------------------------------------------------------- 1 | #Note: If this file prevents running mnml-blog in your environment, simply delete 2 | # it. Everything should be safe even if the files blocked by the following 3 | # Apache rules are accessible. 4 | # The reason for protecting these files is to to keep searchengines/foo 5 | # away from indexing files containing version information, names and/or not 6 | # necessarily public template parts by default. 7 | Deny from all 8 | -------------------------------------------------------------------------------- /lang/de-informal/.htaccess: -------------------------------------------------------------------------------- 1 | #Note: If this file prevents running mnml-blog in your environment, simply delete 2 | # it. Everything should be safe even if the files blocked by the following 3 | # Apache rules are accessible. 4 | # The reason for protecting these files is to to keep searchengines/foo 5 | # away from indexing files containing version information, names and/or not 6 | # necessarily public template parts by default. 7 | Deny from all 8 | -------------------------------------------------------------------------------- /user/.htaccess: -------------------------------------------------------------------------------- 1 | #Note: If this file prevents running mnml-blog in your environment, simply delete 2 | # it. Everything should be safe even if the files blocked by the following 3 | # Apache rules are accessible. 4 | # The reason for protecting these files is to to keep searchengines/foo 5 | # away from indexing files containing version information, names and/or not 6 | # necessarily public template parts by default. 7 | 8 | Order Deny,Allow 9 | Deny from all 10 | 11 | -------------------------------------------------------------------------------- /css/00_starter-tmpl-notes.txt: -------------------------------------------------------------------------------- 1 | I) starter template CSS version 2 | at 3 | 2012-10-17 01:17 GMT+1 4 | 5 | 6 | II) Modifications 7 | None right now. 8 | 9 | 10 | III) Notes 11 | All non "mnml-blog_*.css" files were taken from the "starter template". See 12 | the following for more information: 13 | - 14 | - 15 | - ../README 16 | 17 | -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- 1 | #Note: If this file prevents running mnml-blog in your environment, simply delete 2 | # it. Everything should be safe even if the files blocked by the following 3 | # Apache rules are accessible. 4 | # The reason for protecting these files is to to keep searchengines/foo 5 | # away from indexing files containing version information, names and/or not 6 | # necessarily public template parts by default. 7 | 8 | Order Deny,Allow 9 | Deny from all 10 | 11 | -------------------------------------------------------------------------------- /css/_footnotes.css: -------------------------------------------------------------------------------- 1 | /** 2 | * This file provides styles for footnotes. 3 | */ 4 | 5 | /*____________ footnotes inside the text ____________*/ 6 | 7 | /* link to footnote inside the text */ 8 | .dokuwiki sup a.fn_top { 9 | } 10 | /* JSpopup */ 11 | div.insitu-footnote { 12 | max-width: 40%; 13 | min-width: 5em; 14 | } 15 | 16 | /*____________ footnotes at the bottom of the page ____________*/ 17 | 18 | .dokuwiki div.footnotes { 19 | border-top: 1px solid __border__; 20 | padding: .5em 0 0 0; 21 | margin: 1em 0 0 0; 22 | clear: both; 23 | } 24 | .dokuwiki div.footnotes div.fn { 25 | } 26 | .dokuwiki div.footnotes div.fn sup a.fn_bot { 27 | font-weight: bold; 28 | } 29 | -------------------------------------------------------------------------------- /user/user.js.dist: -------------------------------------------------------------------------------- 1 | /* 2 | Place for user defined JavaScript - this file can safely be preserved 3 | when updating. See README for details. 4 | 5 | Note: All example files are delivered with the ".dist" extensions to make 6 | sure your changes do not get overwritten when updating the template. 7 | Just remove the ".dist" extension to use them. 8 | 9 | To use own JavaScript: 10 | 11 | 1. Create a /user/user.js file. You may just want to rename this file from 12 | "user.js.dist" to "user.js" 13 | 14 | 2. Do not forget to activate the template option 15 | "mnml-blog_loaduserjs" (->"Load 'mnml-blog/user/user.js'?") in the 16 | DokuWiki Config Manager! Otherwise, any changes to this file 17 | won't have any effect! 18 | */ 19 | -------------------------------------------------------------------------------- /css/_imgdetail.css: -------------------------------------------------------------------------------- 1 | /** 2 | * This file provides styles for the image detail page (detail.php). 3 | */ 4 | 5 | #dokuwiki__detail { 6 | padding: 1em; 7 | } 8 | #dokuwiki__detail h1 { 9 | } 10 | 11 | #dokuwiki__detail img { 12 | float: left; 13 | margin: 0 1.5em .5em 0; 14 | } 15 | [dir=rtl] #dokuwiki__detail img { 16 | float: right; 17 | margin-right: 0; 18 | margin-left: 1.5em; 19 | } 20 | #dokuwiki__detail div.img_detail { 21 | float: left; 22 | } 23 | [dir=rtl] #dokuwiki__detail div.img_detail { 24 | float: right 25 | } 26 | 27 | #dokuwiki__detail div.img_detail h2 { 28 | } 29 | #dokuwiki__detail div.img_detail dl { 30 | } 31 | #dokuwiki__detail div.img_detail dl dt { 32 | } 33 | #dokuwiki__detail div.img_detail dl dd { 34 | } 35 | 36 | #dokuwiki__detail p.back { 37 | clear: both; 38 | } 39 | -------------------------------------------------------------------------------- /blogtng-tpl/feed.php: -------------------------------------------------------------------------------- 1 | 17 | * @link https://www.dokuwiki.org/template:mnml-blog 18 | * @link https://www.dokuwiki.org/plugin:blogtng 19 | * @TODO everything 20 | */ 21 | 22 | ?> 23 | get_entrycontent() ?> 24 | 25 |

26 | 27 | This blog post was created tpl_created("on %Y-%m-%d at %H:%M")?> by 28 | tpl_author()?>. 29 | has_tags()):?> 30 | It is tagged with tpl_tagstring("")?>. 31 | 32 | 33 |

34 | -------------------------------------------------------------------------------- /CREDITS: -------------------------------------------------------------------------------- 1 | 2 | I. ARSAVA 3 | 4 | This DokuWiki template is maintained by ARSAVA [1]. If you like our 5 | projects, you might buy us a coffee [2], or get some cool QR Code 6 | merchandise [3]. Thank you! :-) 7 | 8 | [1] 9 | [2] 10 | [3] 11 | 12 | 13 | 14 | II. TwinHelix designs 15 | 16 | This template is using the TwinHelix IE PNG Fix [1]. 17 | 18 | [1] 19 | 20 | 21 | 22 | III. Дмитрий Ефимов (Dmitriy Efimov) 23 | 24 | Dmitriy Efimov contributed the Russian language files. 25 | 26 | 27 | 28 | IV. Adrián Rodríguez Vargas 29 | 30 | Adrián Rodríguez Vargas [1] contributed the Spanish language files. 31 | 32 | [1] 33 | 34 | 35 | 36 | V. Jan Papež (honyczek) 37 | 38 | Jan Papež contributed the Czech language files. 39 | 40 | 41 | 42 | VI. Myeongjin 43 | 44 | Myeongjin contributed the Korean language files. 45 | 46 | 47 | 48 | VII. Hugo Smet 49 | 50 | Hugo Smet contributed the Dutch language files. 51 | 52 | -------------------------------------------------------------------------------- /blogtng-tpl/recentcomments.php: -------------------------------------------------------------------------------- 1 | syntax. 7 | * It is used to display a single comment in 8 | * the list and is called multiple times (once for each shown comment) 9 | * 10 | * ATTENTION: this BlogTNG-template is designed for the DowkuWiki-template 11 | * "mnml-blog". It may uses styles out of it and may not work with 12 | * other DowkuWiki-templates! 13 | * 14 | * 15 | * LICENSE: This file is open source software (OSS) and may be copied under 16 | * certain conditions. See COPYING file for details or try to contact 17 | * the author(s) of this file in doubt. 18 | * 19 | * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 20 | * @author ARSAVA 21 | * @link https://www.dokuwiki.org/template:mnml-blog 22 | * @link https://www.dokuwiki.org/plugin:blogtng 23 | */ 24 | 25 | ?> 26 |
  • 27 | tpl_name(); ?> 28 | on „data["cid"]); ?>" class="wikilink1">tpl_title(); ?>“ 29 | (tpl_created("%f"); ?>) 30 |
  • 31 | 32 | -------------------------------------------------------------------------------- /blogtng-tpl/comments.php: -------------------------------------------------------------------------------- 1 | tpl_comments to display 7 | * comments. It is used to display a single comment in the list 8 | * and is called multiple times (once for each shown comment) 9 | * 10 | * ATTENTION: this BlogTNG-template is designed for the DowkuWiki-template 11 | * "mnml-blog". It may uses styles out of it and may not work with 12 | * other DowkuWiki-templates! 13 | * 14 | * 15 | * LICENSE: This file is open source software (OSS) and may be copied under 16 | * certain conditions. See COPYING file for details or try to contact 17 | * the author(s) of this file in doubt. 18 | * 19 | * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 20 | * @author ARSAVA 21 | * @link https://www.dokuwiki.org/template:mnml-blog 22 | * @link https://www.dokuwiki.org/plugin:blogtng 23 | */ 24 | 25 | ?> 26 |
    27 |
    28 | 29 |
    tpl_hcard(); ?> No. tpl_number(false); ?> @ tpl_created(); ?>
    30 |
    31 |
    32 | tpl_comment(); ?> 33 |
    34 | tpl_number(true, "» Reply"); ?> 35 |
    36 |
    37 | -------------------------------------------------------------------------------- /css/_admin.css: -------------------------------------------------------------------------------- 1 | /** 2 | * This file provides styles for the Administration overview 3 | * (?do=admin). 4 | */ 5 | 6 | .dokuwiki ul.admin_tasks { 7 | float: left; 8 | width: 40%; 9 | list-style-type: none; 10 | font-size: 1.125em; 11 | } 12 | [dir=rtl] .dokuwiki ul.admin_tasks { 13 | float: right; 14 | } 15 | 16 | .dokuwiki ul.admin_tasks li { 17 | padding-left: 35px; 18 | margin: 0 0 1em 0; 19 | font-weight: bold; 20 | list-style-type: none; 21 | background: transparent none no-repeat scroll 0 0; 22 | color: inherit; 23 | } 24 | [dir=rtl] .dokuwiki ul.admin_tasks li { 25 | padding-left: 0; 26 | padding-right: 35px; 27 | background-position: right 0; 28 | } 29 | 30 | .dokuwiki ul.admin_tasks li.admin_acl { 31 | background-image: url(../../images/admin/acl.png); 32 | } 33 | .dokuwiki ul.admin_tasks li.admin_usermanager { 34 | background-image: url(../../images/admin/usermanager.png); 35 | } 36 | .dokuwiki ul.admin_tasks li.admin_plugin { 37 | background-image: url(../../images/admin/plugin.png); 38 | } 39 | .dokuwiki ul.admin_tasks li.admin_config { 40 | background-image: url(../../images/admin/config.png); 41 | } 42 | .dokuwiki ul.admin_tasks li.admin_revert { 43 | background-image: url(../../images/admin/revert.png); 44 | } 45 | .dokuwiki ul.admin_tasks li.admin_popularity { 46 | background-image: url(../../images/admin/popularity.png); 47 | } 48 | 49 | /* DokuWiki version below */ 50 | .dokuwiki #admin__version { 51 | clear: left; 52 | float: right; 53 | color: __text_neu__; 54 | background-color: inherit; 55 | } 56 | [dir=rtl] .dokuwiki #admin__version { 57 | clear: right; 58 | float: left; 59 | } 60 | -------------------------------------------------------------------------------- /user/tracker.php.dist: -------------------------------------------------------------------------------- 1 | " 15 | * 16 | * Note: All example files are delivered with the ".dist" extensions to make 17 | * sure your changes do not get overwritten when updating the template. 18 | * Just remove the ".dist" extension to use them. 19 | * 20 | * 21 | * LICENSE: This file is open source software (OSS) and may be copied under 22 | * certain conditions. See COPYING file for details or try to contact 23 | * the author(s) of this file in doubt. 24 | * 25 | * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 26 | * @author ARSAVA 27 | * @link http://piwik.org/ 28 | * @link http://www.google.com/analytics/ 29 | * @link https://www.dokuwiki.org/template:mnml-blog 30 | * @link https://www.dokuwiki.org/devel:configuration 31 | */ 32 | 33 | 34 | //check if we are running within the DokuWiki environment 35 | if (!defined("DOKU_INC")){ 36 | die(); 37 | } 38 | 39 | //place the needed HTML source codes BELOW this line ?> 40 | -------------------------------------------------------------------------------- /css/_diff.css: -------------------------------------------------------------------------------- 1 | /** 2 | * This file provides styles for the diff view, which shows you 3 | * differences between two versions of a page (?do=diff). 4 | */ 5 | 6 | .dokuwiki table.diff { 7 | width: 100%; 8 | border-width: 0; 9 | } 10 | .dokuwiki table.diff th, 11 | .dokuwiki table.diff td { 12 | vertical-align: top; 13 | padding: 0; 14 | border-width: 0; 15 | /* no style.ini colours because deleted and added lines have a fixed background colour */ 16 | background-color: #fff; 17 | color: #333; 18 | } 19 | 20 | /* table header */ 21 | .dokuwiki table.diff th { 22 | border-bottom: 1px solid __border__; 23 | font-size: 110%; 24 | width: 50%; 25 | font-weight: normal; 26 | } 27 | .dokuwiki table.diff th a { 28 | font-weight: bold; 29 | } 30 | .dokuwiki table.diff th span.user { 31 | font-size: .9em; 32 | } 33 | .dokuwiki table.diff th span.sum { 34 | font-size: .9em; 35 | font-weight: bold; 36 | } 37 | .dokuwiki table.diff th.minor { 38 | color: #999; 39 | } 40 | 41 | /* table body */ 42 | .dokuwiki table.diff td { 43 | font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace; 44 | } 45 | .dokuwiki table.diff td.diff-blockheader { 46 | font-weight: bold; 47 | } 48 | .dokuwiki table.diff .diff-addedline { 49 | background-color: #cfc; 50 | color: inherit; 51 | } 52 | .dokuwiki table.diff .diff-deletedline { 53 | background-color: #fdd; 54 | color: inherit; 55 | } 56 | .dokuwiki table.diff td.diff-context { 57 | background-color: #eee; 58 | color: inherit; 59 | } 60 | .dokuwiki table.diff td.diff-addedline strong, 61 | .dokuwiki table.diff td.diff-deletedline strong { 62 | color: #f00; 63 | background-color: inherit; 64 | font-weight: bold; 65 | } 66 | -------------------------------------------------------------------------------- /css/_forms.css: -------------------------------------------------------------------------------- 1 | 2 | /* TODO: this file is not up to the best standards and will be fixed after an overhaul of the form code */ 3 | 4 | /** 5 | * This file provides styles for forms in general and specifically 6 | * for ?do= 7 | * - login 8 | * - resendpwd 9 | * - register 10 | * - profile 11 | * - subscribe 12 | */ 13 | 14 | /* ---------------- forms ------------------------ */ 15 | 16 | .dokuwiki form { 17 | border: none; 18 | display: inline; 19 | } 20 | 21 | .dokuwiki label.block { 22 | display: block; 23 | text-align: right; 24 | font-weight: bold; 25 | } 26 | [dir=rtl] .dokuwiki label.block { 27 | text-align: left; 28 | } 29 | 30 | .dokuwiki label.simple { 31 | display: block; 32 | text-align: left; 33 | font-weight: normal; 34 | } 35 | [dir=rtl] .dokuwiki label.simple { 36 | text-align: right; 37 | } 38 | 39 | .dokuwiki label.block select, 40 | .dokuwiki label.block input.edit { 41 | width: 50%; 42 | } 43 | 44 | .dokuwiki label span { 45 | vertical-align: middle; 46 | } 47 | 48 | .dokuwiki fieldset { 49 | width: 400px; 50 | text-align: center; 51 | border: 1px solid __border__; 52 | padding: 0.5em; 53 | margin: auto; 54 | } 55 | 56 | 57 | .dokuwiki input.edit, 58 | .dokuwiki select.edit { 59 | vertical-align: middle; 60 | } 61 | .dokuwiki select.edit { 62 | padding: 0.1em 0; 63 | } 64 | 65 | 66 | .dokuwiki input.button, 67 | .dokuwiki button.button { 68 | vertical-align: middle; 69 | } 70 | 71 | /** 72 | * Styles for the subscription page 73 | */ 74 | 75 | #subscribe__form { 76 | display: block; 77 | width: 400px; 78 | text-align: center; 79 | } 80 | 81 | #subscribe__form fieldset { 82 | text-align: left; 83 | margin: 0.5em 0; 84 | } 85 | [dir=rtl] #subscribe__form fieldset { 86 | text-align: right; 87 | } 88 | 89 | #subscribe__form label { 90 | display: block; 91 | margin: 0 0.5em 0.5em; 92 | } 93 | -------------------------------------------------------------------------------- /lang/cs/lang.php: -------------------------------------------------------------------------------- 1 | /lang.php 9 | * - /lib/tpl/mnml-blog/lang//settings.php 10 | * If they are not existing, copy and translate the English ones. 11 | * 12 | * Don't forget to mail your translation to ARSAVA . 13 | * Thanks! :-D 14 | * 15 | * 16 | * LICENSE: This file is open source software (OSS) and may be copied under 17 | * certain conditions. See COPYING file for details or try to contact 18 | * the author(s) of this file in doubt. 19 | * 20 | * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 21 | * @author Jan Papež 22 | * @link https://www.dokuwiki.org/template:mnml-blog 23 | * @link https://www.dokuwiki.org/config:lang 24 | * @link https://www.dokuwiki.org/devel:configuration 25 | */ 26 | 27 | 28 | //check if we are running within the DokuWiki environment 29 | if (!defined("DOKU_INC")){ 30 | die(); 31 | } 32 | 33 | //links (not all are used by default but may be useful for /user/boxes.php) 34 | $lang["mnmlblog_lnk_print"] = "Verze pro tisk"; 35 | $lang["mnmlblog_lnk_permrev"] = "Trvalý odkaz"; 36 | $lang["mnmlblog_lnk_whatlinkshere"] = "Co sem odkazuje"; 37 | $lang["mnmlblog_lnk_siteindex"] = "Mapa stránek"; 38 | $lang["mnmlblog_lnk_upload"] = "Nahrát soubor"; 39 | $lang["mnmlblog_lnk_newposting"] = "Nový příspěvek"; 40 | 41 | //other 42 | $lang["mnmlblog_search"] = "Vyhledat"; 43 | $lang["mnmlblog_accessdenied"] = "Přístup odepřen"; 44 | $lang["mnmlblog_fillplaceholder"] = "Vyplňte prosím"; 45 | $lang["mnmlblog_donate"] = "Přispět"; 46 | $lang["mnmlblog_mdtemplatefordw"] = "Šablona mnml-blog pro DokuWiki"; 47 | $lang["mnmlblog_recentchanges"] = "Nedávné změny"; 48 | 49 | -------------------------------------------------------------------------------- /lang/ru/lang.php: -------------------------------------------------------------------------------- 1 | /lang.php 9 | * - /lib/tpl/mnml-blog/lang//settings.php 10 | * If they are not existing, copy and translate the English ones. 11 | * 12 | * Don't forget to mail your translation to ARSAVA . 13 | * Thanks! :-D 14 | * 15 | * 16 | * LICENSE: This file is open source software (OSS) and may be copied under 17 | * certain conditions. See COPYING file for details or try to contact 18 | * the author(s) of this file in doubt. 19 | * 20 | * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 21 | * @author Дмитрий Ефимов (Dmitriy Efimov) 22 | * @link https://www.dokuwiki.org/template:mnml-blog 23 | * @link https://www.dokuwiki.org/config:lang 24 | * @link https://www.dokuwiki.org/devel:configuration 25 | */ 26 | 27 | 28 | //check if we are running within the DokuWiki environment 29 | if (!defined("DOKU_INC")){ 30 | die(); 31 | } 32 | 33 | //links (not all are used by default but may be useful for /user/boxes.php) 34 | $lang["mnmlblog_lnk_print"] = "Версия для печати"; 35 | $lang["mnmlblog_lnk_permrev"] = "Постоянная ссылка"; 36 | $lang["mnmlblog_lnk_whatlinkshere"] = "Ссылки сюда"; 37 | $lang["mnmlblog_lnk_siteindex"] = "Индекс сайта"; 38 | $lang["mnmlblog_lnk_upload"] = "Загрузить файд"; 39 | $lang["mnmlblog_lnk_newposting"] = "Новая запись"; 40 | 41 | //other 42 | $lang["mnmlblog_search"] = "Поиск"; 43 | $lang["mnmlblog_accessdenied"] = "Доступ запрещён"; 44 | $lang["mnmlblog_fillplaceholder"] = "Заполните этот прототип"; 45 | $lang["mnmlblog_donate"] = "Пожертвование"; 46 | $lang["mnmlblog_mdtemplatefordw"] = "Шаблон mnml-blog для DokuWiki"; 47 | $lang["mnmlblog_recentchanges"] = "Последние изменения"; 48 | 49 | -------------------------------------------------------------------------------- /lang/es/lang.php: -------------------------------------------------------------------------------- 1 | /lang.php 9 | * - /lib/tpl/mnml-blog/lang//settings.php 10 | * If they are not existing, copy and translate the English ones. 11 | * 12 | * Don't forget to mail your translation to ARSAVA . 13 | * Thanks! :-D 14 | * 15 | * 16 | * LICENSE: This file is open source software (OSS) and may be copied under 17 | * certain conditions. See COPYING file for details or try to contact 18 | * the author(s) of this file in doubt. 19 | * 20 | * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 21 | * @author Adrián Rodríguez Vargas 22 | * @link https://www.dokuwiki.org/template:mnml-blog 23 | * @link https://www.dokuwiki.org/config:lang 24 | * @link https://www.dokuwiki.org/devel:configuration 25 | */ 26 | 27 | 28 | //check if we are running within the DokuWiki environment 29 | if (!defined("DOKU_INC")){ 30 | die(); 31 | } 32 | 33 | //links (not all are used by default but may be useful for /user/boxes.php) 34 | $lang["mnmlblog_lnk_print"] = "Versión para imprimir"; 35 | $lang["mnmlblog_lnk_permrev"] = "Categoría Padre"; 36 | $lang["mnmlblog_lnk_whatlinkshere"] = "Qué enlace es este"; 37 | $lang["mnmlblog_lnk_siteindex"] = "Página de inicio"; 38 | $lang["mnmlblog_lnk_upload"] = "Subir fichero"; 39 | $lang["mnmlblog_lnk_newposting"] = "Nueva entrada"; 40 | 41 | //other 42 | $lang["mnmlblog_search"] = "Búsqueda"; 43 | $lang["mnmlblog_accessdenied"] = "Aceso restringido"; 44 | $lang["mnmlblog_fillplaceholder"] = "Por favor, rellena este campo"; 45 | $lang["mnmlblog_donate"] = "Donar"; 46 | $lang["mnmlblog_mdtemplatefordw"] = "Plantilla mnml-blog para DokuWiki"; 47 | $lang["mnmlblog_recentchanges"] = "Cambios recientes"; 48 | 49 | -------------------------------------------------------------------------------- /lang/ko/lang.php: -------------------------------------------------------------------------------- 1 | /lang.php 9 | * - /lib/tpl/mnml-blog/lang//settings.php 10 | * If they are not existing, copy and translate the English ones. 11 | * 12 | * Don't forget to mail your translation to ARSAVA . 13 | * Thanks! :-D 14 | * 15 | * 16 | * LICENSE: This file is open source software (OSS) and may be copied under 17 | * certain conditions. See COPYING file for details or try to contact 18 | * the author(s) of this file in doubt. 19 | * 20 | * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 21 | * @author Myeongjin 22 | * @link https://www.dokuwiki.org/template:mnml-blog 23 | * @link https://www.dokuwiki.org/config:lang 24 | * @link https://www.dokuwiki.org/devel:configuration 25 | */ 26 | 27 | 28 | //check if we are running within the DokuWiki environment 29 | if (!defined("DOKU_INC")){ 30 | die(); 31 | } 32 | 33 | //links (not all are used by default but may be useful for /user/boxes.php) 34 | $lang["mnmlblog_lnk_print"] = "인쇄용 문서"; 35 | $lang["mnmlblog_lnk_permrev"] = "고유 링크"; 36 | $lang["mnmlblog_lnk_whatlinkshere"] = "여기를 가리키는 문서"; 37 | $lang["mnmlblog_lnk_siteindex"] = "사이트맵"; 38 | $lang["mnmlblog_lnk_upload"] = "파일 올리기"; 39 | $lang["mnmlblog_lnk_newposting"] = "새 포스트"; 40 | 41 | //qr code box 42 | $lang["mnmlblog_qrcodebox_qrcode"] = "QR 코드: 현재 문서의 URL"; 43 | $lang["mnmlblog_qrcodebox_genforcurrentpage"] = "현재 문서의 생성된 QR 코드"; 44 | $lang["mnmlblog_qrcodebox_urlofcurrentpage"] = "현재 문서의 QR 코드 (쉽게 모바일 접근을 하려면 스캔)"; 45 | 46 | //other 47 | $lang["mnmlblog_search"] = "찾기"; 48 | $lang["mnmlblog_accessdenied"] = "접근 거부됨"; 49 | $lang["mnmlblog_fillplaceholder"] = "이 자리를 채우거나 비활성화하세요"; 50 | $lang["mnmlblog_donate"] = "기부"; 51 | $lang["mnmlblog_mdtemplatefordw"] = "도쿠위키를 위한 mnml-blog 템플릿"; 52 | $lang["mnmlblog_recentchanges"] = "최근 바뀜"; 53 | 54 | -------------------------------------------------------------------------------- /css/_tabs.css: -------------------------------------------------------------------------------- 1 | /** 2 | * This file provides the styles for general tabs. 3 | */ 4 | 5 | .dokuwiki .tabs > ul, 6 | .dokuwiki ul.tabs { 7 | padding: 0; 8 | margin: 0; 9 | overflow: hidden; 10 | position: relative; 11 | } 12 | /* border underneath */ 13 | .dokuwiki .tabs > ul:after, 14 | .dokuwiki ul.tabs:after { 15 | position: absolute; 16 | content: ""; 17 | width: 100%; 18 | bottom: 0; 19 | left: 0; 20 | border-bottom: 1px solid __border__; 21 | z-index: 1; 22 | } 23 | 24 | .dokuwiki .tabs > ul li, 25 | .dokuwiki ul.tabs li { 26 | float: left; 27 | padding: 0; 28 | margin: 0; 29 | list-style: none; 30 | } 31 | [dir=rtl] .dokuwiki .tabs > ul li, 32 | [dir=rtl] .dokuwiki ul.tabs li { 33 | float: right; 34 | } 35 | 36 | .dokuwiki .tabs > ul li a, 37 | .dokuwiki ul.tabs li strong, 38 | .dokuwiki ul.tabs li a { 39 | display: inline-block; 40 | padding: .3em .8em; 41 | margin: 0 0 0 .3em; 42 | background-color: __background_neu__; 43 | color: __text__; 44 | border: 1px solid __border__; 45 | border-radius: .5em .5em 0 0; 46 | position: relative; 47 | z-index: 0; 48 | } 49 | [dir=rtl] .dokuwiki .tabs > ul li a, 50 | [dir=rtl] .dokuwiki ul.tabs li strong, 51 | [dir=rtl] .dokuwiki ul.tabs li a { 52 | margin: 0 .3em 0 0; 53 | } 54 | 55 | .dokuwiki ul.tabs li strong { 56 | font-weight: normal; 57 | } 58 | 59 | .dokuwiki ul.tabs li a:link, 60 | .dokuwiki ul.tabs li a:visited { 61 | } 62 | .dokuwiki .tabs > ul li a:hover, 63 | .dokuwiki .tabs > ul li a:active, 64 | .dokuwiki .tabs > ul li a:focus, 65 | .dokuwiki .tabs > ul li .curid a, 66 | .dokuwiki .tabs > ul .active a, 67 | .dokuwiki ul.tabs li a:hover, 68 | .dokuwiki ul.tabs li a:active, 69 | .dokuwiki ul.tabs li a:focus, 70 | .dokuwiki ul.tabs li strong { 71 | background-color: __background_alt__; 72 | color: __text__; 73 | text-decoration: none; 74 | font-weight: normal; 75 | } 76 | 77 | .dokuwiki .tabs > ul li .curid a, 78 | .dokuwiki .tabs > ul li .active a, 79 | .dokuwiki ul.tabs li strong { 80 | z-index: 2; 81 | border-bottom-color: __background_alt__; 82 | } 83 | -------------------------------------------------------------------------------- /css/_links.css: -------------------------------------------------------------------------------- 1 | /** 2 | * This file provides styles for all types of links. 3 | */ 4 | 5 | /*____________ links to wiki pages ____________*/ 6 | 7 | /* existing wikipage */ 8 | .dokuwiki a.wikilink1 { 9 | } 10 | /* not existing wikipage */ 11 | .dokuwiki a.wikilink2 { 12 | text-decoration: none; 13 | } 14 | .dokuwiki a.wikilink2:link, 15 | .dokuwiki a.wikilink2:visited { 16 | border-bottom: 1px dashed; 17 | } 18 | .dokuwiki a.wikilink2:hover, 19 | .dokuwiki a.wikilink2:active, 20 | .dokuwiki a.wikilink2:focus { 21 | border-bottom-width: 0; 22 | } 23 | 24 | /* any link to current page */ 25 | .dokuwiki span.curid a { 26 | font-weight: bold; 27 | } 28 | 29 | /*____________ other link types ____________*/ 30 | 31 | .dokuwiki a.urlextern, 32 | .dokuwiki a.windows, 33 | .dokuwiki a.mail, 34 | .dokuwiki a.mediafile, 35 | .dokuwiki a.interwiki { 36 | background-repeat: no-repeat; 37 | background-position: 0 center; 38 | padding: 0 0 0 18px; 39 | } 40 | /* external link */ 41 | .dokuwiki a.urlextern { 42 | background-image: url(images/external-link.png); 43 | /* 44 | @deprecated, change since Adora Belle: 45 | background-image: url(../../images/external-link.png); 46 | */ 47 | } 48 | /* windows share */ 49 | .dokuwiki a.windows { 50 | background-image: url(images/unc.png); 51 | /* 52 | @deprecated, change since Adora Belle: 53 | background-image: url(../../images/unc.png); 54 | */ 55 | } 56 | /* email link */ 57 | .dokuwiki a.mail { 58 | background-image: url(images/email.png); 59 | /* 60 | @deprecated, change since Adora Belle: 61 | background-image: url(../../images/email.png); 62 | */ 63 | } 64 | 65 | /* icons of the following are set by dokuwiki in lib/exe/css.php */ 66 | /* link to some embedded media */ 67 | .dokuwiki a.mediafile { 68 | } 69 | /* interwiki link */ 70 | .dokuwiki a.interwiki { 71 | } 72 | 73 | /* RTL corrections */ 74 | [dir=rtl] .dokuwiki a.urlextern, 75 | [dir=rtl] .dokuwiki a.windows, 76 | [dir=rtl] .dokuwiki a.mail, 77 | [dir=rtl] .dokuwiki a.interwiki, 78 | [dir=rtl] .dokuwiki a.mediafile { 79 | background-position: right center; 80 | padding: 0 18px 0 0; 81 | display: inline-block; /* needed for IE7 */ 82 | } 83 | -------------------------------------------------------------------------------- /lang/en/lang.php: -------------------------------------------------------------------------------- 1 | /lang.php 9 | * - /lib/tpl/mnml-blog/lang//settings.php 10 | * If they are not existing, copy and translate the English ones. 11 | * 12 | * Don't forget to mail your translation to ARSAVA . 13 | * Thanks! :-D 14 | * 15 | * 16 | * LICENSE: This file is open source software (OSS) and may be copied under 17 | * certain conditions. See COPYING file for details or try to contact 18 | * the author(s) of this file in doubt. 19 | * 20 | * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 21 | * @author ARSAVA 22 | * @link https://www.dokuwiki.org/template:mnml-blog 23 | * @link https://www.dokuwiki.org/config:lang 24 | * @link https://www.dokuwiki.org/devel:configuration 25 | */ 26 | 27 | 28 | //check if we are running within the DokuWiki environment 29 | if (!defined("DOKU_INC")){ 30 | die(); 31 | } 32 | 33 | //links (not all are used by default but may be useful for /user/boxes.php) 34 | $lang["mnmlblog_lnk_print"] = "Printable version"; 35 | $lang["mnmlblog_lnk_permrev"] = "Permanent link"; 36 | $lang["mnmlblog_lnk_whatlinkshere"] = "What links here"; 37 | $lang["mnmlblog_lnk_siteindex"] = "Site index"; 38 | $lang["mnmlblog_lnk_upload"] = "Upload file"; 39 | $lang["mnmlblog_lnk_newposting"] = "New posting"; 40 | 41 | //qr code box 42 | $lang["mnmlblog_qrcodebox_qrcode"] = "QR Code: URL of current page"; 43 | $lang["mnmlblog_qrcodebox_genforcurrentpage"] = "generated for current page"; 44 | $lang["mnmlblog_qrcodebox_urlofcurrentpage"] = "Current page as QR Code (scan for easy mobile access)"; 45 | 46 | //other 47 | $lang["mnmlblog_search"] = "Search"; 48 | $lang["mnmlblog_accessdenied"] = "Access denied"; 49 | $lang["mnmlblog_fillplaceholder"] = "Please fill or disable this placeholder"; 50 | $lang["mnmlblog_donate"] = "Donate"; 51 | $lang["mnmlblog_mdtemplatefordw"] = "mnml-blog template for DokuWiki"; 52 | $lang["mnmlblog_recentchanges"] = "Recent changes"; 53 | 54 | -------------------------------------------------------------------------------- /lang/nl/lang.php: -------------------------------------------------------------------------------- 1 | /lang.php 9 | * - /lib/tpl/mnml-blog/lang//settings.php 10 | * If they are not existing, copy and translate the English ones. 11 | * 12 | * Don't forget to mail your translation to ARSAVA . 13 | * Thanks! :-D 14 | * 15 | * 16 | * LICENSE: This file is open source software (OSS) and may be copied under 17 | * certain conditions. See COPYING file for details or try to contact 18 | * the author(s) of this file in doubt. 19 | * 20 | * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 21 | * @author Hugo Smet 22 | * @link https://www.dokuwiki.org/template:mnml-blog 23 | * @link https://www.dokuwiki.org/config:lang 24 | * @link https://www.dokuwiki.org/devel:configuration 25 | */ 26 | 27 | 28 | //check if we are running within the DokuWiki environment 29 | if (!defined("DOKU_INC")){ 30 | die(); 31 | } 32 | 33 | //links (not all are used by default but may be useful for /user/boxes.php) 34 | $lang["mnmlblog_lnk_print"] = "Printversie"; 35 | $lang["mnmlblog_lnk_permrev"] = "Permanent link"; 36 | $lang["mnmlblog_lnk_whatlinkshere"] = "What links here"; 37 | $lang["mnmlblog_lnk_siteindex"] = "Site index"; 38 | $lang["mnmlblog_lnk_upload"] = "Bestand opladen"; 39 | $lang["mnmlblog_lnk_newposting"] = "Nieuwe blog"; 40 | 41 | //qr code box 42 | $lang["mnmlblog_qrcodebox_qrcode"] = "QR Code: URL van huidige pagina"; 43 | $lang["mnmlblog_qrcodebox_genforcurrentpage"] = "gegenereerd voor huidige pagina"; 44 | $lang["mnmlblog_qrcodebox_urlofcurrentpage"] = "Huidige pagina als QR Code (scannen voor makkelijke toegang op mobieltjes)"; 45 | 46 | //other 47 | $lang["mnmlblog_search"] = "Zoek"; 48 | $lang["mnmlblog_accessdenied"] = "Toegang geweigerd"; 49 | $lang["mnmlblog_fillplaceholder"] = "Geef waarde voor deze variabele of schakel deze uit"; 50 | $lang["mnmlblog_donate"] = "Gift"; 51 | $lang["mnmlblog_mdtemplatefordw"] = "mnml-blog sjabloon voor DokuWiki"; 52 | $lang["mnmlblog_recentchanges"] = "Recente wijzigingen"; 53 | 54 | -------------------------------------------------------------------------------- /lang/de/lang.php: -------------------------------------------------------------------------------- 1 | /lang.php 9 | * - /lib/tpl/mnml-blog/lang//settings.php 10 | * If they are not existing, copy and translate the English ones. 11 | * 12 | * Don't forget to mail your translation to ARSAVA . 13 | * Thanks! :-D 14 | * 15 | * 16 | * LICENSE: This file is open source software (OSS) and may be copied under 17 | * certain conditions. See COPYING file for details or try to contact 18 | * the author(s) of this file in doubt. 19 | * 20 | * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 21 | * @author ARSAVA 22 | * @link https://www.dokuwiki.org/template:mnml-blog 23 | * @link https://www.dokuwiki.org/config:lang 24 | * @link https://www.dokuwiki.org/devel:configuration 25 | */ 26 | 27 | 28 | //check if we are running within the DokuWiki environment 29 | if (!defined("DOKU_INC")){ 30 | die(); 31 | } 32 | 33 | //links (not all are used by default but may be useful for /user/boxes.php) 34 | $lang["mnmlblog_lnk_print"] = "Druckversion"; 35 | $lang["mnmlblog_lnk_permrev"] = "Permanentlink"; 36 | $lang["mnmlblog_lnk_whatlinkshere"] = "Links auf diese Seite"; 37 | $lang["mnmlblog_lnk_siteindex"] = "Seitenindex"; 38 | $lang["mnmlblog_lnk_upload"] = "Hochladen"; 39 | $lang["mnmlblog_lnk_newposting"] = "Neuer Eintrag"; 40 | 41 | //qr code box 42 | $lang["mnmlblog_qrcodebox_qrcode"] = "QR-Code: aktuelle Seiten-URL"; 43 | $lang["mnmlblog_qrcodebox_genforcurrentpage"] = "erstellt für aktuelle Seite"; 44 | $lang["mnmlblog_qrcodebox_urlofcurrentpage"] = "Aktuelle Seite als QR Code (scannen für einfachen, mobilen Zugriff)"; 45 | 46 | //other 47 | $lang["mnmlblog_search"] = "Suche"; 48 | $lang["mnmlblog_accessdenied"] = "Zugriff verweigert"; 49 | $lang["mnmlblog_fillplaceholder"] = "Diesen Platzhalter bitte füllen oder deaktivieren"; 50 | $lang["mnmlblog_donate"] = "Spenden"; 51 | $lang["mnmlblog_templatefordw"] = "mnml-blog-Template für DokuWiki"; 52 | $lang["mnmlblog_recentchanges"] = "Neuste Änderungen"; 53 | 54 | -------------------------------------------------------------------------------- /lang/de-informal/lang.php: -------------------------------------------------------------------------------- 1 | /lang.php 9 | * - /lib/tpl/mnml-blog/lang//settings.php 10 | * If they are not existing, copy and translate the English ones. 11 | * 12 | * Don't forget to mail your translation to ARSAVA . 13 | * Thanks! :-D 14 | * 15 | * 16 | * LICENSE: This file is open source software (OSS) and may be copied under 17 | * certain conditions. See COPYING file for details or try to contact 18 | * the author(s) of this file in doubt. 19 | * 20 | * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 21 | * @author ARSAVA 22 | * @link https://www.dokuwiki.org/template:mnml-blog 23 | * @link https://www.dokuwiki.org/config:lang 24 | * @link https://www.dokuwiki.org/devel:configuration 25 | */ 26 | 27 | 28 | //check if we are running within the DokuWiki environment 29 | if (!defined("DOKU_INC")){ 30 | die(); 31 | } 32 | 33 | //links (not all are used by default but may be useful for /user/boxes.php) 34 | $lang["mnmlblog_lnk_print"] = "Druckversion"; 35 | $lang["mnmlblog_lnk_permrev"] = "Permanentlink"; 36 | $lang["mnmlblog_lnk_whatlinkshere"] = "Links auf diese Seite"; 37 | $lang["mnmlblog_lnk_siteindex"] = "Seitenindex"; 38 | $lang["mnmlblog_lnk_upload"] = "Hochladen"; 39 | $lang["mnmlblog_lnk_newposting"] = "Neuer Eintrag"; 40 | 41 | //qr code box 42 | $lang["mnmlblog_qrcodebox_qrcode"] = "QR-Code: aktuelle Seiten-URL"; 43 | $lang["mnmlblog_qrcodebox_genforcurrentpage"] = "erstellt für aktuelle Seite"; 44 | $lang["mnmlblog_qrcodebox_urlofcurrentpage"] = "Aktuelle Seite als QR Code (scannen für einfachen, mobilen Zugriff)"; 45 | 46 | //other 47 | $lang["mnmlblog_search"] = "Suche"; 48 | $lang["mnmlblog_accessdenied"] = "Zugriff verweigert"; 49 | $lang["mnmlblog_fillplaceholder"] = "Diesen Platzhalter bitte füllen oder deaktivieren"; 50 | $lang["mnmlblog_donate"] = "Spenden"; 51 | $lang["mnmlblog_templatefordw"] = "mnml-blog-Template für DokuWiki"; 52 | $lang["mnmlblog_recentchanges"] = "Neuste Änderungen"; 53 | 54 | -------------------------------------------------------------------------------- /conf/metadata.php: -------------------------------------------------------------------------------- 1 | /settings.php. If it does not exists, 13 | * copy and translate the English one. Don't forget to mail your translation 14 | * to ARSAVA . Thanks! :-D 15 | * 16 | * 17 | * LICENSE: This file is open source software (OSS) and may be copied under 18 | * certain conditions. See COPYING file for details or try to contact 19 | * the author(s) of this file in doubt. 20 | * 21 | * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 22 | * @author ARSAVA 23 | * @link https://www.dokuwiki.org/template:mnml-blog 24 | * @link https://www.dokuwiki.org/devel:configuration 25 | */ 26 | 27 | 28 | //check if we are running within the DokuWiki environment 29 | if (!defined("DOKU_INC")){ 30 | die(); 31 | } 32 | 33 | //header navigation 34 | $meta["mnmlblog_headernav"] = array("onoff"); 35 | $meta["mnmlblog_headernav_location"] = array("string"); 36 | 37 | //sidebar navigation 38 | $meta["mnmlblog_sidebarnav"] = array("onoff"); 39 | $meta["mnmlblog_sidebarnav_location"] = array("string"); 40 | 41 | //custom copyright notice 42 | $meta["mnmlblog_copyright"] = array("onoff"); 43 | $meta["mnmlblog_copyright_default"] = array("onoff"); 44 | $meta["mnmlblog_copyright_location"] = array("string"); 45 | 46 | //search form 47 | $meta["mnmlblog_search"] = array("onoff"); 48 | $meta["mnmlblog_search_pos"] = array("multichoice", "_choices" => array("sidebar", "headernav")); 49 | 50 | //qr code box 51 | $meta["mnmlblog_qrcodebox"] = array("onoff"); 52 | 53 | //other stuff 54 | $meta["mnmlblog_newpostform_location"] = array("string"); 55 | $meta["mnmlblog_hideadminlinksfromanon"] = array("onoff"); 56 | $meta["mnmlblog_loaduserjs"] = array("onoff"); 57 | 58 | -------------------------------------------------------------------------------- /lang/es/settings.php: -------------------------------------------------------------------------------- 1 | /lang.php 9 | * - /lib/tpl/mnml-blog/lang//settings.php 10 | * If they are not existing, copy and translate the English ones. 11 | * 12 | * Don't forget to mail your translation to ARSAVA . 13 | * Thanks! :-D 14 | * 15 | * 16 | * LICENSE: This file is open source software (OSS) and may be copied under 17 | * certain conditions. See COPYING file for details or try to contact 18 | * the author(s) of this file in doubt. 19 | * 20 | * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 21 | * @author Adrián Rodríguez Vargas 22 | * @link https://www.dokuwiki.org/template:mnml-blog 23 | * @link https://www.dokuwiki.org/config:lang 24 | * @link https://www.dokuwiki.org/devel:configuration 25 | */ 26 | 27 | 28 | //check if we are running within the DokuWiki environment 29 | if (!defined("DOKU_INC")){ 30 | die(); 31 | } 32 | 33 | //header navigation 34 | $lang["mnmlblog_headernav"] = "¿Mostrar categorías de navegación?"; 35 | $lang["mnmlblog_headernav_location"] = "En caso afirmativo, usar la siguiente wiki como principal:"; 36 | 37 | //sidebar navigation 38 | $lang["mnmlblog_sidebarnav"] = "¿Mostrar barra de navegación?"; 39 | $lang["mnmlblog_sidebarnav_location"] = "En caso afirmativo, usar la siguiente página como barra de navegación:"; 40 | 41 | //custom copyright notice 42 | $lang["mnmlblog_copyright"] = "¿Mostrar copyright?"; 43 | $lang["mnmlblog_copyright_default"] = "En caso afirmativo, ¿usar el copyright por defecto?"; 44 | $lang["mnmlblog_copyright_location"] = "Si no hay por defecto, usar la siguiente página como licencia de copyright:"; 45 | 46 | //search form 47 | $lang["mnmlblog_search"] = "¿Mostrar formulario de búsqueda?"; 48 | $lang["mnmlblog_search_pos"] = "En caso afirmativo, ¿En que posición quieres mostrarl?"; 49 | 50 | //other stuff 51 | $lang["mnmlblog_newpostform_location"] = "Usar la siguiente página para el formulario '<blog newform>'"; 52 | $lang["mnmlblog_loaduserjs"] = "¿Cargar 'mnml-blog/user/user.js'?"; 53 | 54 | -------------------------------------------------------------------------------- /lang/ru/settings.php: -------------------------------------------------------------------------------- 1 | /lang.php 9 | * - /lib/tpl/mnml-blog/lang//settings.php 10 | * If they are not existing, copy and translate the English ones. 11 | * 12 | * Don't forget to mail your translation to ARSAVA . 13 | * Thanks! :-D 14 | * 15 | * 16 | * LICENSE: This file is open source software (OSS) and may be copied under 17 | * certain conditions. See COPYING file for details or try to contact 18 | * the author(s) of this file in doubt. 19 | * 20 | * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 21 | * @author Дмитрий Ефимов (Dmitriy Efimov) 22 | * @link https://www.dokuwiki.org/template:mnml-blog 23 | * @link https://www.dokuwiki.org/config:lang 24 | * @link https://www.dokuwiki.org/devel:configuration 25 | */ 26 | 27 | 28 | //check if we are running within the DokuWiki environment 29 | if (!defined("DOKU_INC")){ 30 | die(); 31 | } 32 | 33 | //header navigation 34 | $lang["mnmlblog_headernav"] = "Показывать навигацию в заголовке?"; 35 | $lang["mnmlblog_headernav_location"] = "Если да, использовать эту wiki страницу как навигацию в заголовке:"; 36 | 37 | //sidebar navigation 38 | $lang["mnmlblog_sidebarnav"] = "Показывать боковую навигацию?"; 39 | $lang["mnmlblog_sidebarnav_location"] = "Если да, использовать эту wiki страницу как боковую навигацию:"; 40 | 41 | //custom copyright notice 42 | $lang["mnmlblog_copyright"] = "Показывать уведомление об авторских правах?"; 43 | $lang["mnmlblog_copyright_default"] = "Если да, использовать уведомление по умолчанию для авторских прав?"; 44 | $lang["mnmlblog_copyright_location"] = "Если не по умолчанию, использовать эту wiki страницу как уведомление об авторских правах:"; 45 | 46 | //search form 47 | $lang["mnmlblog_search"] = "Показывать форму поиска?"; 48 | $lang["mnmlblog_search_pos"] = "Если да, позиция формы поиска"; 49 | 50 | //other stuff 51 | $lang["mnmlblog_newpostform_location"] = "Использовать эту wiki страницу для формы '<blog newform>':"; 52 | $lang["mnmlblog_loaduserjs"] = "Загрузить 'mnml-blog/user/user.js'?"; 53 | 54 | -------------------------------------------------------------------------------- /lang/ko/settings.php: -------------------------------------------------------------------------------- 1 | /lang.php 9 | * - /lib/tpl/mnml-blog/lang//settings.php 10 | * If they are not existing, copy and translate the English ones. 11 | * 12 | * Don't forget to mail your translation to ARSAVA . 13 | * Thanks! :-D 14 | * 15 | * 16 | * LICENSE: This file is open source software (OSS) and may be copied under 17 | * certain conditions. See COPYING file for details or try to contact 18 | * the author(s) of this file in doubt. 19 | * 20 | * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 21 | * @author Myeongjin 22 | * @link https://www.dokuwiki.org/template:mnml-blog 23 | * @link https://www.dokuwiki.org/config:lang 24 | * @link https://www.dokuwiki.org/devel:configuration 25 | */ 26 | 27 | 28 | //check if we are running within the DokuWiki environment 29 | if (!defined("DOKU_INC")){ 30 | die(); 31 | } 32 | 33 | //header navigation 34 | $lang["mnmlblog_headernav"] = "머리글 둘러보기를 보여줄까요?"; 35 | $lang["mnmlblog_headernav_location"] = "만약 보여준다면 머리글 둘러보기로 다음 위키 문서 사용:"; 36 | 37 | //sidebar navigation 38 | $lang["mnmlblog_sidebarnav"] = "사이드바 둘러보기를 보여줄까요?"; 39 | $lang["mnmlblog_sidebarnav_location"] = "만약 보여준다면 사이드바 둘러보기로 다음 위키 문서 사용:"; 40 | 41 | //custom copyright notice 42 | $lang["mnmlblog_copyright"] = "저작권 알림을 보여줄까요?"; 43 | $lang["mnmlblog_copyright_default"] = "만약 보여준다면 기본 저작권 알림을 사용하겠습니까?"; 44 | $lang["mnmlblog_copyright_location"] = "기본 알림을 사용하지 않는다면 저작권 알림으로 다음 위키 문서 사용:"; 45 | 46 | //search form 47 | $lang["mnmlblog_search"] = "검색 양식을 보여줄까요?"; 48 | $lang["mnmlblog_search_pos"] = "만약 보여준다면 검색 양식 위치"; 49 | 50 | //qr code box 51 | $lang["mnmlblog_qrcodebox"] = "(모바일 브라우저에 쉽게 URL 전송을 위해) 현재 위키 문서 URL의 QR 코드로 된 상자를 보여줄까요?"; 52 | 53 | //other stuff 54 | $lang["mnmlblog_newpostform_location"] = "'<blog newform>' 양식에 대해 다음 위키 문서 사용:"; 55 | $lang["mnmlblog_hideadminlinksfromanon"] = "클라이언트가 인증된 사용자가 아니면 모든 관리자와 사용자 기능과 관련된 링크를 숨길까요? 이 기능이 활성이면 수동으로 로그인 양식을 호출해야 함에 주의하세요. (힌트: '".DOKU_URL.DOKU_SCRIPT."?do=login')"; 56 | $lang["mnmlblog_loaduserjs"] = "'mnml-blog/user/user.js'를 불러올까요?"; 57 | 58 | -------------------------------------------------------------------------------- /css/mnml-blog_print.css: -------------------------------------------------------------------------------- 1 | /****************************************************************************** 2 | ******************************** ATTENTION ********************************* 3 | DO NOT MODIFY THIS FILE, IT WILL NOT BE PRESERVED ON UPDATES! 4 | ****************************************************************************** 5 | If you want to add some own print CSS, have a look at the README of this 6 | template and "/user/print.css". You have been warned! 7 | *****************************************************************************/ 8 | 9 | /* 10 | This template includes CSS from the "starter" DokuWiki template by 11 | Anika Henke (brings important and basic styling for syntax and core 12 | features). These files will be included BEFORE this specific CSS file. In 13 | this file, I just overwrite non fitting DokuWiki "starter" CSS + add some 14 | CSS for some exclusive objects of this template. 15 | 16 | Why I am doing this? Well, read . 17 | */ 18 | 19 | 20 | /********** hide some elements **********/ 21 | .toc, /* Table of contents */ 22 | input.button, /* "edit" and some other buttons */ 23 | .dokuwiki div.plugin_translation, /* listing of Andreas Gohr's translation plugin */ 24 | #blogtng__comment_form_wrap, /* comment input form */ 25 | #blogtng_pagination, 26 | #commentform_notes, 27 | .replytocomment, /* "reply" link in comments */ 28 | #tmpl_header, /* header */ 29 | #tmpl_footer, /* footer */ 30 | #tmpl_sidebar { /* sidebar */ 31 | display: none !important; 32 | } 33 | 34 | 35 | /********** full width for the the content **********/ 36 | div#pagewrap div#content { 37 | width: 100%; 38 | } 39 | 40 | 41 | /********** expand external URLs for printing **********/ 42 | .urlextern.text:after, .urlextern:after, 43 | a.urlextern.text:after, a.urlextern:after, 44 | a.interwiki.text:after, a.interwiki:after { 45 | content: " (" attr(href) ") "; 46 | } 47 | 48 | 49 | /********** some minor corrections **********/ 50 | .dokuwiki a.urlextern, 51 | .dokuwiki a.windows, 52 | .dokuwiki a.mail, 53 | .dokuwiki a.mediafile, 54 | .dokuwiki a.interwiki { 55 | padding-left: 0 !important; 56 | padding-right: 0 !important; 57 | background: none; 58 | } 59 | 60 | 61 | /********** make comments more readable **********/ 62 | .blogtng_comment_status_visible { 63 | border: 1px dotted black; 64 | margin-top: 10px; 65 | padding: 5px; 66 | } 67 | -------------------------------------------------------------------------------- /blogtng-tpl/list.php: -------------------------------------------------------------------------------- 1 | syntax and can be chosen 7 | * using the 'tpl' attribute. It is used to display a single entry in 8 | * the list and is called multiple times (once for each shown entry) 9 | * 10 | * ATTENTION: this BlogTNG-template is designed for the DowkuWiki-template 11 | * "mnml-blog". It may uses styles out of it and may not work with 12 | * other DowkuWiki-templates! 13 | * 14 | * 15 | * LICENSE: This file is open source software (OSS) and may be copied under 16 | * certain conditions. See COPYING file for details or try to contact 17 | * the author(s) of this file in doubt. 18 | * 19 | * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 20 | * @author ARSAVA 21 | * @link https://www.dokuwiki.org/template:mnml-blog 22 | * @link https://www.dokuwiki.org/plugin:blogtng 23 | */ 24 | 25 | ?> 26 |
    tpl_link(); 30 | echo "\" class=\"postdate\">"; 31 | $entry->tpl_created("%Y-%m-%d"); 32 | echo "tpl_link(); 34 | echo "\"> // ".$entry->entry["title"].""; 35 | 36 | //show entry 37 | $entry->tpl_entry(//included 38 | true, 39 | //readmore (where to cut valid when using ~~READMORE~~) 40 | "syntax", 41 | //inc level 42 | false, 43 | //skip header 44 | true); 45 | ?> 46 |
    47 | 59 |
    60 | -------------------------------------------------------------------------------- /css/mnml-blog_screen_iehacks.css: -------------------------------------------------------------------------------- 1 | /****************************************************************************** 2 | ******************************** ATTENTION ********************************* 3 | DO NOT MODIFY THIS FILE, IT WILL NOT BE PRESERVED ON UPDATES! 4 | ****************************************************************************** 5 | If you want to add some own screen CSS, have a look at the README of this 6 | template and "/user/screen.css". You have been warned! 7 | *****************************************************************************/ 8 | 9 | /* This file get loaded by a conditional comment. The style.ini is not used as 10 | DokuWiki's internal CSS handling stumbles upon most of these Internet 11 | Explorer specific browser hacks and corrections. */ 12 | 13 | * html .dokuwiki div#tmpl_sidebar { 14 | padding-top: 28px; /* fix MSIE 6 - if we can't kill the top margin of 15 | headlines, we move the sidebar. Better than nothing. */ 16 | } 17 | 18 | legend { 19 | #font-family: Arial,Helvetica,'Liberation Sans',sans-serif; /* fix MSIE 6/7 */ 20 | } 21 | 22 | * html pre, 23 | * html code { 24 | width: 100%; /* fix MSIE 6 */ 25 | } 26 | 27 | .dokuwiki table.inline { 28 | #border: 1px solid #606060; /* fix MSIE 6/7 */ 29 | } 30 | 31 | * html div#pagewrap { 32 | width: 890px; /* fix MSIE 6 */ 33 | } 34 | 35 | #tmpl_header #tmpl_header_nav ul li.level1 { 36 | background-color: #000; /* fix MSIE 6 */ 37 | } 38 | 39 | #tmpl_header #tmpl_header_nav #tmpl_header_nav_search { 40 | padding-top: 13px\9; /* Fix MSIE 6,7,8 */ 41 | } 42 | 43 | #tmpl_footer { 44 | #zoom: 1; /* fix MSIE 6/7 */ 45 | } 46 | 47 | * html .dokuwiki div.toc span.toc_open, 48 | * html .dokuwiki div.toc span.toc_close { 49 | border-color: #fff; /* fix MSIE 6 */ 50 | } 51 | 52 | * html div.insitu-footnote { 53 | width: 40%; /* fix MSIE6 */ 54 | } 55 | 56 | .dokuwiki input.button, 57 | .dokuwiki button.button { 58 | #line-height: 1em; /* fix MSIE 6, 7 */ 59 | } 60 | * html .dokuwiki input.button, 61 | * html .dokuwiki button.button { 62 | height: 28px; /* fix MSIE 6 */ 63 | } 64 | 65 | * html .dokuwiki textarea.edit { 66 | width: 100%; /* fix MSIE 6 */ 67 | } 68 | 69 | .dokuwiki #wiki__editbar .editButtons, 70 | .dokuwiki #wiki__editbar .summary { 71 | #display: block; /* Fix MSIE 6, 7 */ 72 | #margin-top: 25px; 73 | } 74 | 75 | /* bureaucracy plugin */ 76 | .dokuwiki form.bureaucracy__plugin fieldset { 77 | border-style: solid\9; /* fix MSIE 6/7/8 */ 78 | } 79 | -------------------------------------------------------------------------------- /css/_modal.css: -------------------------------------------------------------------------------- 1 | /** 2 | * This file provides styles for modal dialogues. 3 | */ 4 | 5 | .dokuwiki .ui-widget { 6 | font-size: 100%; 7 | } 8 | 9 | 10 | /* link wizard (opens from the link button in the edit toolbar) 11 | ********************************************************************/ 12 | 13 | #link__wiz { 14 | } 15 | 16 | #link__wiz_result { 17 | background-color: __background__; 18 | width: 293px; 19 | height: 193px; 20 | overflow: auto; 21 | border: 1px solid __border__; 22 | margin: 3px auto; 23 | text-align: left; 24 | line-height: 1; 25 | } 26 | [dir=rtl] #link__wiz_result { 27 | text-align: right; 28 | } 29 | 30 | #link__wiz_result div { 31 | padding: 3px 3px 3px 0; 32 | } 33 | [dir=rtl] #link__wiz_result div { 34 | padding: 3px 0 3px 3px; 35 | } 36 | 37 | #link__wiz_result div a { 38 | display: block; 39 | padding-left: 22px; 40 | min-height: 16px; 41 | background: transparent 3px center no-repeat; 42 | } 43 | [dir=rtl] #link__wiz_result div a { 44 | padding-right: 22px; 45 | background-position: right 0; 46 | } 47 | 48 | #link__wiz_result div.type_u a { 49 | background-image: url(../../images/up.png); 50 | } 51 | #link__wiz_result div.type_f a { 52 | background-image: url(../../images/page.png); 53 | } 54 | #link__wiz_result div.type_d a { 55 | background-image: url(../../images/ns.png); 56 | } 57 | 58 | #link__wiz_result div.even { 59 | background-color: __background_neu__; 60 | } 61 | 62 | #link__wiz_result div.selected { 63 | background-color: __background_alt__; 64 | } 65 | 66 | #link__wiz_result span { 67 | display: block; 68 | color: __text_neu__; 69 | margin-left: 22px; 70 | } 71 | [dir=rtl] #link__wiz_result span { 72 | margin-left: 0; 73 | margin-right: 22px; 74 | } 75 | 76 | 77 | /* media option wizard (opens when inserting media in the media popup) 78 | ********************************************************************/ 79 | 80 | #media__popup { 81 | /* for backwards compatibility (not needed since Rincewind) */ 82 | display: none; 83 | } 84 | 85 | #media__popup_content p { 86 | margin: 0 0 .5em; 87 | } 88 | 89 | #media__popup_content label { 90 | margin-right: .5em; 91 | cursor: default; 92 | } 93 | [dir=rtl] #media__popup_content label { 94 | margin-right: 0; 95 | margin-left: .5em; 96 | } 97 | 98 | #media__popup_content .button { 99 | margin-right: 1px; 100 | cursor: pointer; 101 | } 102 | -------------------------------------------------------------------------------- /lang/cs/settings.php: -------------------------------------------------------------------------------- 1 | /lang.php 9 | * - /lib/tpl/mnml-blog/lang//settings.php 10 | * If they are not existing, copy and translate the English ones. 11 | * 12 | * Don't forget to mail your translation to ARSAVA . 13 | * Thanks! :-D 14 | * 15 | * 16 | * LICENSE: This file is open source software (OSS) and may be copied under 17 | * certain conditions. See COPYING file for details or try to contact 18 | * the author(s) of this file in doubt. 19 | * 20 | * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 21 | * @author Jan Papež 22 | * @link https://www.dokuwiki.org/template:mnml-blog 23 | * @link https://www.dokuwiki.org/config:lang 24 | * @link https://www.dokuwiki.org/devel:configuration 25 | */ 26 | 27 | 28 | //check if we are running within the DokuWiki environment 29 | if (!defined("DOKU_INC")){ 30 | die(); 31 | } 32 | 33 | //header navigation 34 | $lang["mnmlblog_headernav"] = "Zobrazit hlavičku navigace?"; 35 | $lang["mnmlblog_headernav_location"] = "Pokud ano, použij následující wiki stránku jako hlavičku navigace:"; 36 | 37 | //sidebar navigation 38 | $lang["mnmlblog_sidebarnav"] = "Zobrazit boční navigaci?"; 39 | $lang["mnmlblog_sidebarnav_location"] = "Pokud ano, použij následující wiki stránku jako boční navigaci:"; 40 | 41 | //custom copyright notice 42 | $lang["mnmlblog_copyright"] = "Zobrazit informaci o autorských právech?"; 43 | $lang["mnmlblog_copyright_default"] = "Pokud ano, použít výchozí informaci o autorských právech?"; 44 | $lang["mnmlblog_copyright_location"] = "Nezobrazovat výchozí informaci o autorských právech, ale následující wiki stránku:"; 45 | 46 | //search form 47 | $lang["mnmlblog_search"] = "Zobrazit vyhledávací formulář?"; 48 | $lang["mnmlblog_search_pos"] = "Pokud ano, kde má být formulář umístěn?"; 49 | 50 | //other stuff 51 | $lang["mnmlblog_newpostform_location"] = "Použít následující stránku jako formulář '<blog newform>':"; 52 | $lang["mnmlblog_hideadminlinksfromanon"] = "Skrýt všechnu administrátorské a uživatelské funkčně zaměřené odkazy, pokud klient není přihlášený uživatel? Pokud bude toto aktivováno, musíte vyvolat přihlášení ručně (ukázka: '".DOKU_URL.DOKU_SCRIPT."?do=login')."; 53 | $lang["mnmlblog_loaduserjs"] = "Načíst soubor 'mnml-blog/user/user.js'?"; 54 | 55 | -------------------------------------------------------------------------------- /lang/en/settings.php: -------------------------------------------------------------------------------- 1 | /lang.php 9 | * - /lib/tpl/mnml-blog/lang//settings.php 10 | * If they are not existing, copy and translate the English ones. 11 | * 12 | * Don't forget to mail your translation to ARSAVA . 13 | * Thanks! :-D 14 | * 15 | * 16 | * LICENSE: This file is open source software (OSS) and may be copied under 17 | * certain conditions. See COPYING file for details or try to contact 18 | * the author(s) of this file in doubt. 19 | * 20 | * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 21 | * @author ARSAVA 22 | * @link https://www.dokuwiki.org/template:mnml-blog 23 | * @link https://www.dokuwiki.org/config:lang 24 | * @link https://www.dokuwiki.org/devel:configuration 25 | */ 26 | 27 | 28 | //check if we are running within the DokuWiki environment 29 | if (!defined("DOKU_INC")){ 30 | die(); 31 | } 32 | 33 | //header navigation 34 | $lang["mnmlblog_headernav"] = "Show header navigation?"; 35 | $lang["mnmlblog_headernav_location"] = "If yes, use following wiki page as header navigation:"; 36 | 37 | //sidebar navigation 38 | $lang["mnmlblog_sidebarnav"] = "Show sidebar navigation?"; 39 | $lang["mnmlblog_sidebarnav_location"] = "If yes, use following wiki page as sidebar navigation:"; 40 | 41 | //custom copyright notice 42 | $lang["mnmlblog_copyright"] = "Show copyright notice?"; 43 | $lang["mnmlblog_copyright_default"] = "If yes, use default copyright notice?"; 44 | $lang["mnmlblog_copyright_location"] = "If not default, use following wiki page as copyright notice:"; 45 | 46 | //search form 47 | $lang["mnmlblog_search"] = "Show search form?"; 48 | $lang["mnmlblog_search_pos"] = "If yes, search form position"; 49 | 50 | //qr code box 51 | $lang["mnmlblog_qrcodebox"] = "Show box with QR Code of current wiki page URL (for easy URL transfer to mobile browser)?"; 52 | 53 | //other stuff 54 | $lang["mnmlblog_newpostform_location"] = "Use following wiki page for the '<blog newform>' form:"; 55 | $lang["mnmlblog_hideadminlinksfromanon"] = "Hide all admin and user functionality related links if the client is not an authenticated user? Please note that you have to call the login form manually if this is active (hint: '".DOKU_URL.DOKU_SCRIPT."?do=login')."; 56 | $lang["mnmlblog_loaduserjs"] = "Load 'mnml-blog/user/user.js'?"; 57 | 58 | -------------------------------------------------------------------------------- /css/_fileuploader.css: -------------------------------------------------------------------------------- 1 | /** 2 | * This file provides the styles for the file uploader 3 | * used in the media manager (both fullscreen and popup). 4 | */ 5 | 6 | .qq-uploader { 7 | position: relative; 8 | width: 100%; 9 | } 10 | 11 | .qq-uploader .error { 12 | color: #f00; 13 | background-color: #fff; 14 | } 15 | 16 | /* select file button */ 17 | 18 | /* as this is not a real button, but functions as a button, 19 | it should be styled the same way as your other buttons, 20 | preferably in the same place, so just add '.qq-upload-button' to those styles */ 21 | .qq-upload-button { 22 | display: inline-block; 23 | text-decoration: none; 24 | font-size: 100%; 25 | cursor: pointer; 26 | margin: 1px 1px 5px; 27 | } 28 | 29 | 30 | * html .qq-upload-button, 31 | *+html .qq-upload-button { 32 | display: inline; 33 | } 34 | 35 | .qq-upload-button-focus { 36 | outline: 1px dotted; 37 | } 38 | 39 | /* drop area */ 40 | 41 | .qq-upload-drop-area { 42 | position: absolute; 43 | top: 0; 44 | left: 0; 45 | width: 100%; 46 | height: 100%; 47 | min-height: 70px; 48 | z-index: 2; 49 | background: __background_neu__; 50 | color: __text__; 51 | text-align: center; 52 | } 53 | 54 | .qq-upload-drop-area span { 55 | display: block; 56 | position: absolute; 57 | top: 50%; 58 | width: 100%; 59 | margin-top: -8px; 60 | font-size: 120%; 61 | } 62 | 63 | .qq-upload-drop-area-active { 64 | background: __background_alt__; 65 | } 66 | 67 | /* list of files to upload */ 68 | 69 | div.qq-uploader ul { 70 | margin: 0; 71 | padding: 0; 72 | list-style: none; 73 | } 74 | 75 | .qq-uploader li { 76 | margin: 0 0 5px; 77 | color: __text__; 78 | } 79 | 80 | .qq-uploader li span, 81 | .qq-uploader li input, 82 | .qq-uploader li a { 83 | margin-right: 5px; 84 | } 85 | 86 | .qq-upload-file { 87 | display: block; 88 | font-weight: bold; 89 | } 90 | 91 | .qq-upload-spinner { 92 | display: inline-block; 93 | background: url("../../images/throbber.gif"); 94 | width: 15px; 95 | height: 15px; 96 | vertical-align: text-bottom; 97 | } 98 | 99 | .qq-upload-size, 100 | .qq-upload-cancel { 101 | font-size: 85%; 102 | } 103 | 104 | .qq-upload-failed-text { 105 | display: none; 106 | } 107 | .qq-upload-fail .qq-upload-failed-text { 108 | display: inline; 109 | } 110 | 111 | .qq-action-container * { 112 | vertical-align: middle; 113 | } 114 | .qq-overwrite-check input { 115 | margin-left: 10px; 116 | } 117 | -------------------------------------------------------------------------------- /lang/nl/settings.php: -------------------------------------------------------------------------------- 1 | /lang.php 9 | * - /lib/tpl/mnml-blog/lang//settings.php 10 | * If they are not existing, copy and translate the English ones. 11 | * 12 | * Don't forget to mail your translation to ARSAVA . 13 | * Thanks! :-D 14 | * 15 | * 16 | * LICENSE: This file is open source software (OSS) and may be copied under 17 | * certain conditions. See COPYING file for details or try to contact 18 | * the author(s) of this file in doubt. 19 | * 20 | * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 21 | * @author Hugo Smet 22 | * @link https://www.dokuwiki.org/template:mnml-blog 23 | * @link https://www.dokuwiki.org/config:lang 24 | * @link https://www.dokuwiki.org/devel:configuration 25 | */ 26 | 27 | 28 | //check if we are running within the DokuWiki environment 29 | if (!defined("DOKU_INC")){ 30 | die(); 31 | } 32 | 33 | //header navigation 34 | $lang["mnmlblog_headernav"] = "Toon selectiebalk in hoofding?"; 35 | $lang["mnmlblog_headernav_location"] = "Indien ja, gebruik volgende wiki pagina als hoofding selectiebalk:"; 36 | 37 | //sidebar navigation 38 | $lang["mnmlblog_sidebarnav"] = "Toon selectiebalk langs de zijkant?"; 39 | $lang["mnmlblog_sidebarnav_location"] = "Indien ja, gebruik volgende wiki pagina als selectiebalk aan de zijkant:"; 40 | 41 | //custom copyright notice 42 | $lang["mnmlblog_copyright"] = "Copyright tonen?"; 43 | $lang["mnmlblog_copyright_default"] = "Indien ja, gebruik de verstek waarde voor de copyright?"; 44 | $lang["mnmlblog_copyright_location"] = "Indien niet, gebruik volgende wiki pagina als copyright:"; 45 | 46 | //search form 47 | $lang["mnmlblog_search"] = "Zoek functie tonen?"; 48 | $lang["mnmlblog_search_pos"] = "Indien ja, welke positie"; 49 | 50 | //qr code box 51 | $lang["mnmlblog_qrcodebox"] = "Toon QR Code van de URL van de huidige wiki pagina (om makkelijk URL op mobieltje te activeren)?"; 52 | 53 | //other stuff 54 | $lang["mnmlblog_newpostform_location"] = "Gebruik volgende wiki pagina voor '<blog newform>' formulier:"; 55 | $lang["mnmlblog_hideadminlinksfromanon"] = "Verberg alle admin en gebruikers functionaliteit indien de gebruiker niet geauthenticeerd is? Weet dat je het login scherm manueel moet oproepen indien dit actief is (hint: '".DOKU_URL.DOKU_SCRIPT."?do=login')."; 56 | $lang["mnmlblog_loaduserjs"] = "Laad 'mnml-blog/user/user.js'?"; 57 | 58 | -------------------------------------------------------------------------------- /conf/default.php: -------------------------------------------------------------------------------- 1 | /settings.php. If it does not exists, 13 | * copy and translate the English one. Don't forget to mail your translation 14 | * to ARSAVA . Thanks! :-D 15 | * 16 | * 17 | * LICENSE: This file is open source software (OSS) and may be copied under 18 | * certain conditions. See COPYING file for details or try to contact 19 | * the author(s) of this file in doubt. 20 | * 21 | * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 22 | * @author ARSAVA 23 | * @link https://www.dokuwiki.org/template:mnml-blog 24 | * @link https://www.dokuwiki.org/devel:configuration 25 | */ 26 | 27 | 28 | //check if we are running within the DokuWiki environment 29 | if (!defined("DOKU_INC")){ 30 | die(); 31 | } 32 | 33 | //header navigation 34 | $conf["mnmlblog_headernav"] = 0; //1: use/show header navigation 35 | $conf["mnmlblog_headernav_location"] = ":wiki:navigation_header"; //page/article used to store the header navigation 36 | 37 | //sidebar navigation 38 | $conf["mnmlblog_sidebarnav"] = 1; //1: use/show sidebar navigation 39 | $conf["mnmlblog_sidebarnav_location"] = ":wiki:navigation_sidebar"; //page/article used to store the sidebar navigation 40 | 41 | //custom copyright notice 42 | $conf["mnmlblog_copyright"] = 1; //1: use/show copyright notice 43 | $conf["mnmlblog_copyright_default"] = 1; //1: use default copyright notice (if copyright notice is enabled at all) 44 | $conf["mnmlblog_copyright_location"] = ":wiki:copyright"; //page/article used to store a custom copyright notice 45 | 46 | //search form 47 | $conf["mnmlblog_search"] = 1; //1: use/show search 48 | $conf["mnmlblog_search_pos"] = "sidebar"; //sidebar or headernav 49 | 50 | //qr code box 51 | $conf["mnmlblog_qrcodebox"] = 1; //1: use/show box with QR Code of current page's URL 52 | 53 | //other stuff 54 | $conf["mnmlblog_newpostform_location"] = ":wiki:create_new_blogpost"; //page/article used to store the form to create a new blog post 55 | $conf["mnmlblog_hideadminlinksfromanon"] = 0; //1: hide admin links if client is not an authenticated user (including login link -> you have to call "example.com?do=login" manually) 56 | $conf["mnmlblog_loaduserjs"] = 0; //1: mnml-blog/user/user.js will be loaded 57 | 58 | -------------------------------------------------------------------------------- /lang/de/settings.php: -------------------------------------------------------------------------------- 1 | /lang.php 9 | * - /lib/tpl/mnml-blog/lang//settings.php 10 | * If they are not existing, copy and translate the English ones. 11 | * 12 | * Don't forget to mail your translation to ARSAVA . 13 | * Thanks! :-D 14 | * 15 | * 16 | * LICENSE: This file is open source software (OSS) and may be copied under 17 | * certain conditions. See COPYING file for details or try to contact 18 | * the author(s) of this file in doubt. 19 | * 20 | * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 21 | * @author ARSAVA 22 | * @link https://www.dokuwiki.org/template:mnml-blog 23 | * @link https://www.dokuwiki.org/config:lang 24 | * @link https://www.dokuwiki.org/devel:configuration 25 | */ 26 | 27 | 28 | //check if we are running within the DokuWiki environment 29 | if (!defined("DOKU_INC")){ 30 | die(); 31 | } 32 | 33 | //header navigation 34 | $lang["mnmlblog_headernav"] = "Header-Navigation anzeigen?"; 35 | $lang["mnmlblog_headernav_location"] = "Falls ja, folgende wiki-Seite als Header-Navigation verwenden:"; 36 | 37 | //sidebar navigation 38 | $lang["mnmlblog_sidebarnav"] = "Sidebar-Navigation anzeigen?"; 39 | $lang["mnmlblog_sidebarnav_location"] = "Falls ja, folgende wiki-Seite als Sidebar-Navigation verwenden:"; 40 | 41 | //custom copyright notice 42 | $lang["mnmlblog_copyright"] = "Copyright-Hinweis einblenden?"; 43 | $lang["mnmlblog_copyright_default"] = "Falls ja, Standard-Copyright-Hinweis nutzen?"; 44 | $lang["mnmlblog_copyright_location"] = "Falls nicht den Standard-Copyright-Hinweis, folgende wiki-Seite als Copyright-Hinweis verwenden:"; 45 | 46 | //search form 47 | $lang["mnmlblog_search"] = "Suchformular anzeigen?"; 48 | $lang["mnmlblog_search_pos"] = "Falls ja, Suchformularposition"; 49 | 50 | //qr code box 51 | $lang["mnmlblog_qrcodebox"] = "Box mit QR-Code der aktuellen Wiki-Seiten-URL anzeigen (für einfache Übertragung der URL auf Mobiltelefone)?"; 52 | 53 | //other stuff 54 | $lang["mnmlblog_newpostform_location"] = "Folgende wiki-Seite für '<blog newform>'-Formular verwenden:"; 55 | $lang["mnmlblog_hideadminlinksfromanon"] = "Alle Links zu Admin- und Benutzerfunktionen verstecken, falls der Client kein authentifizierter Benutzer ist? Bitte beachten: Das Login-Formular muss manuell aufgerufen werden, falls diese Option aktiviert ist (Tipp: '".DOKU_URL.DOKU_SCRIPT."?do=login')."; 56 | $lang["mnmlblog_loaduserjs"] = "Datei 'mnml-blog/user/user.js' laden?"; 57 | 58 | -------------------------------------------------------------------------------- /lang/de-informal/settings.php: -------------------------------------------------------------------------------- 1 | /lang.php 9 | * - /lib/tpl/mnml-blog/lang//settings.php 10 | * If they are not existing, copy and translate the English ones. 11 | * 12 | * Don't forget to mail your translation to ARSAVA . 13 | * Thanks! :-D 14 | * 15 | * 16 | * LICENSE: This file is open source software (OSS) and may be copied under 17 | * certain conditions. See COPYING file for details or try to contact 18 | * the author(s) of this file in doubt. 19 | * 20 | * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 21 | * @author ARSAVA 22 | * @link https://www.dokuwiki.org/template:mnml-blog 23 | * @link https://www.dokuwiki.org/config:lang 24 | * @link https://www.dokuwiki.org/devel:configuration 25 | */ 26 | 27 | 28 | //check if we are running within the DokuWiki environment 29 | if (!defined("DOKU_INC")){ 30 | die(); 31 | } 32 | 33 | //header navigation 34 | $lang["mnmlblog_headernav"] = "Header-Navigation anzeigen?"; 35 | $lang["mnmlblog_headernav_location"] = "Falls ja, folgende wiki-Seite als Header-Navigation verwenden:"; 36 | 37 | //sidebar navigation 38 | $lang["mnmlblog_sidebarnav"] = "Sidebar-Navigation anzeigen?"; 39 | $lang["mnmlblog_sidebarnav_location"] = "Falls ja, folgende wiki-Seite als Sidebar-Navigation verwenden:"; 40 | 41 | //custom copyright notice 42 | $lang["mnmlblog_copyright"] = "Copyright-Hinweis einblenden?"; 43 | $lang["mnmlblog_copyright_default"] = "Falls ja, Standard-Copyright-Hinweis nutzen?"; 44 | $lang["mnmlblog_copyright_location"] = "Falls nicht den Standard-Copyright-Hinweis, folgende wiki-Seite als Copyright-Hinweis verwenden:"; 45 | 46 | //search form 47 | $lang["mnmlblog_search"] = "Suchformular anzeigen?"; 48 | $lang["mnmlblog_search_pos"] = "Falls ja, Suchformularposition"; 49 | 50 | //qr code box 51 | $lang["mnmlblog_qrcodebox"] = "Box mit QR-Code der aktuellen Wiki-Seiten-URL anzeigen (für einfache Übertragung der URL auf Mobiltelefone)?"; 52 | 53 | //other stuff 54 | $lang["mnmlblog_newpostform_location"] = "Folgende wiki-Seite für '<blog newform>'-Formular verwenden:"; 55 | $lang["mnmlblog_hideadminlinksfromanon"] = "Alle Links zu Admin- und Benutzerfunktionen verstecken, falls der Client kein authentifizierter Benutzer ist? Bitte beachten: Das Login-Formular muss manuell aufgerufen werden, falls diese Option aktiviert ist (Tipp: '".DOKU_URL.DOKU_SCRIPT."?do=login')."; 56 | $lang["mnmlblog_loaduserjs"] = "Datei 'mnml-blog/user/user.js' laden?"; 57 | 58 | -------------------------------------------------------------------------------- /css/_search.css: -------------------------------------------------------------------------------- 1 | /** 2 | * This file provides styles for the search results page (?do=search) 3 | * and the AJAX search popup. 4 | */ 5 | 6 | /* search results page 7 | ********************************************************************/ 8 | 9 | /* loading gif */ 10 | #dw__loading { 11 | text-align: center; 12 | margin-bottom: 1.4em; 13 | } 14 | 15 | /*____________ matching pagenames ____________*/ 16 | 17 | .dokuwiki div.search_quickresult { 18 | margin-bottom: 1.4em; 19 | } 20 | .dokuwiki div.search_quickresult h3 { 21 | } 22 | .dokuwiki div.search_quickresult ul { 23 | padding: 0; 24 | } 25 | .dokuwiki div.search_quickresult ul li { 26 | float: left; 27 | width: 12em; 28 | margin: 0 1.5em; 29 | } 30 | [dir=rtl] .dokuwiki div.search_quickresult ul li { 31 | float: right; 32 | } 33 | 34 | /*____________ search results ____________*/ 35 | 36 | .dokuwiki div.search_result { 37 | margin-bottom: 1.2em; 38 | } 39 | /* search heading */ 40 | .dokuwiki dl.search_results dt { 41 | font-weight: normal; 42 | margin-bottom: .2em; 43 | } 44 | 45 | /* search snippet */ 46 | .dokuwiki div.search_result div.search_snippet, /* old, until 2012-01-25 */ 47 | .dokuwiki dl.search_results dd /* new */ { 48 | color: __text_alt__; 49 | background-color: inherit; 50 | margin: 0 0 1.2em 0; 51 | } 52 | 53 | /* search hit in normal text */ 54 | .dokuwiki .search_hit { 55 | color: __text__; 56 | background-color: __highlight__; 57 | } 58 | /* search hit in search results */ 59 | .dokuwiki div.search_result strong.search_hit, /* old */ 60 | .dokuwiki .search_results strong.search_hit /* new */ { 61 | font-weight: normal; 62 | } 63 | /* ellipsis separating snippets */ 64 | .dokuwiki div.search_result .search_sep, /* old */ 65 | .dokuwiki .search_results .search_sep /* new */ { 66 | color: __text__; 67 | background-color: inherit; 68 | } 69 | 70 | /* "nothing found" at search + media */ 71 | .dokuwiki div.nothing { 72 | margin-bottom: 1.4em; 73 | } 74 | 75 | 76 | /* AJAX quicksearch popup 77 | ********************************************************************/ 78 | 79 | .dokuwiki form.search div.no { 80 | position: relative; 81 | z-index: 1; 82 | } 83 | 84 | /* .JSpopup */ 85 | .dokuwiki form.search div.ajax_qsearch { 86 | position: absolute; 87 | top: 0; 88 | left: -13.5em; /* -( width of #qsearch__in + padding of .ajax_qsearch + a bit more ) */ 89 | width: 12em; 90 | padding: 0.5em; 91 | font-size: .9em; 92 | z-index: 20; 93 | text-align: left; 94 | display: none; 95 | } 96 | [dir=rtl] .dokuwiki form.search div.ajax_qsearch { 97 | left: auto; 98 | right: -13.5em; 99 | text-align: right; 100 | } 101 | 102 | .dokuwiki form.search div.ajax_qsearch strong { 103 | display: block; 104 | margin-bottom: .3em; 105 | } 106 | .dokuwiki form.search div.ajax_qsearch ul { 107 | margin: 0 !important; 108 | padding: 0 !important; 109 | } 110 | .dokuwiki form.search div.ajax_qsearch ul li { 111 | margin: 0; 112 | padding: 0; 113 | display: block !important; 114 | } 115 | -------------------------------------------------------------------------------- /style.ini: -------------------------------------------------------------------------------- 1 | ;; 2 | ; INI to handle loading of the CSS files of the "mnml-blog" template for DokuWiki 3 | ; 4 | ; 5 | ; LICENSE: This file is open source software (OSS) and may be copied under 6 | ; certain conditions. See COPYING file for details or try to contact 7 | ; the author(s) of this file in doubt. 8 | ; 9 | ; @license GPLv2 (http://www.gnu.org/licenses/gpl2.html) 10 | ; @author ARSAVA 11 | ; @link https://www.dokuwiki.org/template:mnml-blog 12 | ; @link https://www.dokuwiki.org/devel:style.ini 13 | 14 | 15 | 16 | ; Please see http://www.php.net/manual/en/function.parse-ini-file.php 17 | ; for limitations of the ini format used here. 18 | 19 | ; To extend this file or make changes to it, it is recommended to create 20 | ; a style.local.ini file to prevent losing any changes after an upgrade. 21 | ; Please don't forget to copy the section your changes should be under 22 | ; (i.e. [stylesheets] or [replacements]) into that file as well. 23 | 24 | ; Define the stylesheets your template uses here. The second value 25 | ; defines for which output media the style should be loaded. Currently 26 | ; print, screen and all are supported. 27 | 28 | [stylesheets] 29 | ;screen 30 | css/_imgdetail.css = screen ; Load the starter template styles. 31 | css/_media_popup.css = screen ; See why I am 32 | css/_media_fullscreen.css = screen ; doing this. 33 | css/_fileuploader.css = screen 34 | css/_tabs.css = screen 35 | css/_links.css = screen 36 | css/_toc.css = screen 37 | css/_footnotes.css = screen 38 | css/_search.css = screen 39 | css/_recent.css = screen 40 | css/_diff.css = screen 41 | css/_edit.css = screen 42 | css/_modal.css = screen 43 | css/_forms.css = screen 44 | css/_admin.css = screen 45 | css/mnml-blog_screen.css = screen ; Load the mnml-blog template styles. 46 | user/screen.css = screen ; Load optional user defined styles. 47 | 48 | ;print 49 | css/print.css = print ; Load the starter template styles. 50 | css/mnml-blog_print.css = print ; Load the mnml-blog template styles. 51 | user/print.css = print ; Load optional user defined styles. 52 | 53 | 54 | 55 | 56 | ; This section is used to configure some placeholder values used in 57 | ; the stylesheets. Changing this file is the simplest method to 58 | ; give your wiki a new look. 59 | [replacements] 60 | 61 | ;-------------------------------------------------------------------------- 62 | ;------ guaranteed dokuwiki color placeholders that every plugin can use 63 | ; main text and background colors 64 | __text__ = "#222" 65 | __background__ = "#fff" 66 | ; alternative text and background colors 67 | __text_alt__ = "#666" 68 | __background_alt__ = "#efeded" 69 | ; neutral text and background colors 70 | __text_neu__ = "#666" 71 | __background_neu__ = "#dddbd6" 72 | ; border color 73 | __border__ = "#ddd" 74 | ;-------------------------------------------------------------------------- 75 | 76 | ; these are used for links 77 | __existing__ = "#2b85a2" 78 | __missing__ = "#f30" 79 | 80 | ; highlighting search snippets (deprecated since 2012-09-10 Adora Belle, comes 81 | ; from core and will therefore be removed from here if pre-Adora Belle support 82 | ; will be dropped) 83 | __highlight__ = "#ff9" 84 | -------------------------------------------------------------------------------- /css/_recent.css: -------------------------------------------------------------------------------- 1 | /** 2 | * This file provides styles for the recent changes (?do=recent) and 3 | * old revisions (?do=revisions). 4 | */ 5 | 6 | /*____________ list of revisions / recent changes ____________*/ 7 | 8 | /* select type of revisions (media/pages), should have a class on it's own, but hasn't (until after version 2012-01-25) */ 9 | .dokuwiki #dw__recent label, /* old, until 2012-01-25 */ 10 | .dokuwiki .changeType /* new */ { 11 | margin-bottom: .5em; 12 | display: block; 13 | } 14 | 15 | .dokuwiki #dw__recent ul li, /* old, until 2012-01-25 */ 16 | .dokuwiki #page__revisions ul li, /* old, until 2012-01-25 */ 17 | .dokuwiki form.changes ul li /* new */ { 18 | list-style: none; 19 | margin-left: 0; 20 | } 21 | [dir=rtl] .dokuwiki #dw__recent ul li, /* old, until 2012-01-25 */ 22 | [dir=rtl] .dokuwiki #page__revisions ul li, /* old, until 2012-01-25 */ 23 | [dir=rtl] .dokuwiki form.changes ul li /* new */ { 24 | margin-right: 0; 25 | } 26 | 27 | .dokuwiki #dw__recent ul li span, /* old, until 2012-01-25 */ 28 | .dokuwiki #page__revisions ul li span, /* old, until 2012-01-25 */ 29 | .dokuwiki form.changes ul li span, /* new */ 30 | .dokuwiki #dw__recent ul li a, /* old, until 2012-01-25 */ 31 | .dokuwiki #page__revisions ul li a, /* old, until 2012-01-25 */ 32 | .dokuwiki form.changes ul li a /* new */ { 33 | vertical-align: middle; 34 | } 35 | .dokuwiki #dw__recent ul li span.user a, /* old, until 2012-01-25 */ 36 | .dokuwiki #page__revisions ul li span.user a, /* old, until 2012-01-25 */ 37 | .dokuwiki form.changes ul li span.user a /* new */ { 38 | vertical-align: bottom; 39 | } 40 | .dokuwiki #dw__recent ul li.minor, /* old, until 2012-01-25 */ 41 | .dokuwiki #page__revisions ul li.minor, /* old, until 2012-01-25 */ 42 | .dokuwiki form.changes ul li.minor /* new */ { 43 | opacity: .7; 44 | } 45 | 46 | .dokuwiki #dw__recent ul li span.date, /* old, until 2012-01-25 */ 47 | .dokuwiki #page__revisions ul li span.date, /* old, until 2012-01-25 */ 48 | .dokuwiki form.changes ul li span.date /* new */ { 49 | } 50 | .dokuwiki #dw__recent ul li a.diff_link, /* old, until 2012-01-25 */ 51 | .dokuwiki #page__revisions ul li a.diff_link, /* old, until 2012-01-25 */ 52 | .dokuwiki form.changes ul li a.diff_link /* new */ { 53 | vertical-align: baseline; 54 | } 55 | .dokuwiki #dw__recent ul li a.revisions_link, /* old, until 2012-01-25 */ 56 | .dokuwiki #page__revisions ul li a.revisions_link, /* old, until 2012-01-25 */ 57 | .dokuwiki form.changes ul li a.revisions_link /* new */ { 58 | vertical-align: baseline; 59 | } 60 | .dokuwiki #dw__recent ul li a.wikilink1, /* old, until 2012-01-25 */ 61 | .dokuwiki #page__revisions ul li a.wikilink1, /* old, until 2012-01-25 */ 62 | .dokuwiki form.changes ul li a.wikilink1, /* new */ 63 | .dokuwiki #dw__recent ul li a.wikilink2, /* old, until 2012-01-25 */ 64 | .dokuwiki #page__revisions ul li a.wikilink2, /* old, until 2012-01-25 */ 65 | .dokuwiki form.changes ul li a.wikilink2 /* new */ { 66 | } 67 | .dokuwiki #dw__recent ul li span.sum, /* old, until 2012-01-25 */ 68 | .dokuwiki #page__revisions ul li span.sum, /* old, until 2012-01-25 */ 69 | .dokuwiki form.changes ul li span.sum /* new */ { 70 | font-weight: bold; 71 | } 72 | .dokuwiki #dw__recent ul li span.user, /* old, until 2012-01-25 */ 73 | .dokuwiki #page__revisions ul li span.user, /* old, until 2012-01-25 */ 74 | .dokuwiki form.changes ul li span.user /* new */ { 75 | } 76 | 77 | 78 | /*____________ page navigator ____________*/ 79 | 80 | .dokuwiki div.pagenav { 81 | text-align: center; 82 | margin: 1.4em 0; 83 | } 84 | .dokuwiki div.pagenav-prev, 85 | .dokuwiki div.pagenav-next { 86 | display: inline; 87 | margin: 0 .5em; 88 | } 89 | -------------------------------------------------------------------------------- /css/_toc.css: -------------------------------------------------------------------------------- 1 | /** 2 | * This file provides styles for the TOC (table of contents), the 3 | * sitemap (?do=index) and backlinks (?do=backlink). 4 | */ 5 | 6 | /* toc 7 | ********************************************************************/ 8 | 9 | /* toc container */ 10 | .dokuwiki div.toc, /* old, until 2012-01-25 */ 11 | #dw__toc /* new */ { 12 | float: right; 13 | margin: 0 0 1.4em 1.4em; 14 | width: 12em; 15 | background-color: __background_alt__; 16 | color: inherit; 17 | } 18 | [dir=rtl] .dokuwiki div.toc, /* old, until 2012-01-25 */ 19 | [dir=rtl] #dw__toc /* new */ { 20 | float: left; 21 | margin: 0 1.4em 1.4em 0; 22 | } 23 | 24 | /*____________ toc header ____________*/ 25 | 26 | .dokuwiki div.tocheader, /* old */ 27 | #dw__toc h3 /* new */ { 28 | padding: .2em .5em; 29 | font-weight: bold; 30 | margin-bottom: 0; 31 | font-size: 1em; 32 | } 33 | 34 | .dokuwiki .toc span.toc_open, /* old */ 35 | .dokuwiki .toc span.toc_close, /* old */ 36 | #dw__toc h3 strong /* new */ { 37 | float: right; 38 | margin: 0 .2em; 39 | line-height: 1; 40 | } 41 | [dir=rtl] .dokuwiki .toc span.toc_open, /* old */ 42 | [dir=rtl] .dokuwiki .toc span.toc_close, /* old */ 43 | [dir=rtl] #dw__toc h3 strong /* new */ { 44 | float: left; 45 | } 46 | 47 | /*____________ toc list ____________*/ 48 | 49 | .dokuwiki #toc__inside, 50 | #dw__toc > div { 51 | padding: .2em .5em; 52 | } 53 | .dokuwiki #toc__inside ul, /* old */ 54 | #dw__toc ul /* new */ { 55 | padding: 0; 56 | margin: 0; 57 | } 58 | .dokuwiki #toc__inside ul li, /* old */ 59 | #dw__toc ul li /* new */ { 60 | list-style: none; 61 | padding: 0; 62 | margin: 0; 63 | line-height: 1.1; 64 | } 65 | .dokuwiki #toc__inside ul li div.li, /* old */ 66 | #dw__toc ul li div.li /* new */ { 67 | padding: .15em 0; 68 | } 69 | .dokuwiki #toc__inside ul ul, /* old */ 70 | #dw__toc ul ul /* new */ { 71 | padding-left: 1em; 72 | } 73 | [dir=rtl] .dokuwiki #toc__inside ul ul, /* old */ 74 | [dir=rtl] #dw__toc ul ul /* new */ { 75 | padding-left: 0; 76 | padding-right: 1em; 77 | } 78 | .dokuwiki #toc__inside ul ul li, /* old */ 79 | #dw__toc ul ul li /* new */ { 80 | } 81 | .dokuwiki #toc__inside ul li a, /* old */ 82 | #dw__toc ul li a /* new */ { 83 | } 84 | 85 | /* in case of toc list jumping one level 86 | (e.g. if heading level 3 follows directly after heading level 1) */ 87 | .dokuwiki #toc__inside ul li.clear, /* old */ 88 | #dw__toc ul li.clear /* new */ { 89 | } 90 | 91 | 92 | /* sitemap (and backlinks) 93 | ********************************************************************/ 94 | 95 | .dokuwiki ul.idx { 96 | padding-left: 0; 97 | } 98 | [dir=rtl] .dokuwiki ul.idx { 99 | padding-right: 0; 100 | } 101 | .dokuwiki ul.idx li { 102 | list-style-image: url(images/bullet.png); 103 | /* 104 | @deprecated, change since Adora Belle: 105 | list-style-image: url(../../images/bullet.png); 106 | */ 107 | } 108 | .dokuwiki ul.idx li.open { 109 | list-style-image: url(images/open.png); 110 | /* 111 | @deprecated, change since Adora Belle: 112 | list-style-image: url(../../images/open.png); 113 | */ 114 | } 115 | .dokuwiki ul.idx li.closed { 116 | list-style-image: url(images/closed.png); 117 | /* 118 | @deprecated, change since Adora Belle: 119 | list-style-image: url(../../images/closed.png); 120 | */ 121 | } 122 | [dir=rtl] .dokuwiki ul.idx li.closed { 123 | list-style-image: url(images/closed-rtl.png); 124 | /* 125 | @deprecated, change since Adora Belle: 126 | list-style-image: url(../../images/closed-rtl.png); 127 | */ 128 | } 129 | -------------------------------------------------------------------------------- /css/print.css: -------------------------------------------------------------------------------- 1 | /** 2 | * This file provides the styles for printing. 3 | * 4 | * @todo: improve and finish 5 | */ 6 | 7 | body { 8 | /* 9 | font: normal 12pt/1.2 serif; 10 | color: #000; 11 | background-color: #fff; 12 | */ 13 | } 14 | 15 | /* hide certain sections */ 16 | .a11y, 17 | div.notify, div.info, div.success, div.error, 18 | #dokuwiki__header .tools, #dokuwiki__aside, 19 | .dokuwiki .breadcrumbs, .dokuwiki .toc, #dw__toc, .dokuwiki .secedit, 20 | #dokuwiki__pagetools, #dokuwiki__footer { 21 | display: none; 22 | } 23 | 24 | .dokuwiki h1, 25 | .dokuwiki h2, 26 | .dokuwiki h3, 27 | .dokuwiki h4, 28 | .dokuwiki h5, 29 | .dokuwiki caption, 30 | .dokuwiki legend { 31 | clear: both; 32 | } 33 | 34 | .dokuwiki ul { 35 | list-style: disc outside; 36 | } 37 | .dokuwiki ol { 38 | list-style: decimal outside; 39 | } 40 | .dokuwiki ol ol { 41 | list-style-type: lower-alpha; 42 | } 43 | .dokuwiki ol ol ol { 44 | list-style-type: upper-roman; 45 | } 46 | .dokuwiki ol ol ol ol { 47 | list-style-type: upper-alpha; 48 | } 49 | .dokuwiki ol ol ol ol ol { 50 | list-style-type: lower-roman; 51 | } 52 | 53 | /* undo icons */ 54 | .dokuwiki a:link, 55 | .dokuwiki a:visited { 56 | text-decoration: underline; 57 | color: #333; 58 | background-color: inherit; 59 | background-image: none; 60 | padding: 0; 61 | } 62 | 63 | /* display href after link */ 64 | a.urlextern:after, 65 | a.interwiki:after, 66 | a.mail:after { 67 | content: " [" attr(href) "]"; 68 | font-size: 90%; 69 | } 70 | 71 | /* code blocks */ 72 | .dokuwiki pre { 73 | font-family: monospace; 74 | } 75 | .dokuwiki dl.code dt, 76 | .dokuwiki dl.file dt { 77 | font-weight: bold; 78 | } 79 | 80 | /* images */ 81 | .dokuwiki img { 82 | border-width: 0; 83 | vertical-align: middle; 84 | } 85 | .dokuwiki img.media { 86 | margin: .2em 0; 87 | } 88 | .dokuwiki img.medialeft { 89 | margin: .2em 1.5em .2em 0; 90 | } 91 | .dokuwiki img.mediaright { 92 | margin: .2em 0 .2em 1.5em; 93 | } 94 | .dokuwiki img.mediacenter { 95 | margin: .2em auto; 96 | } 97 | 98 | /* align table cells */ 99 | .dokuwiki .leftalign { 100 | text-align: left; 101 | } 102 | .dokuwiki .centeralign { 103 | text-align: center; 104 | } 105 | .dokuwiki .rightalign { 106 | text-align: right; 107 | } 108 | 109 | /* underline */ 110 | .dokuwiki em.u { 111 | font-style: normal; 112 | text-decoration: underline; 113 | } 114 | .dokuwiki em em.u { 115 | font-style: italic; 116 | } 117 | 118 | div.clearer { 119 | clear: both; 120 | line-height: 0; 121 | height: 0; 122 | overflow: hidden; 123 | } 124 | 125 | .dokuwiki blockquote { 126 | padding: 0 10pt; 127 | margin: 0; 128 | border: solid #ccc; 129 | border-width: 0 0 0 2pt; 130 | } 131 | [dir=rtl] .dokuwiki blockquote { 132 | border-width: 0 2pt 0 0; 133 | } 134 | 135 | /* tables */ 136 | .dokuwiki table { 137 | border-collapse: collapse; 138 | empty-cells: show; 139 | border-spacing: 0; 140 | border: 1pt solid #ccc; 141 | } 142 | .dokuwiki th, 143 | .dokuwiki td { 144 | padding: 3pt 5pt; 145 | margin: 0; 146 | vertical-align: top; 147 | border: 1pt solid #666; 148 | text-align: left; 149 | } 150 | [dir=rtl] .dokuwiki th, 151 | [dir=rtl] .dokuwiki td { 152 | text-align: right; 153 | } 154 | .dokuwiki th { 155 | font-weight: bold; 156 | } 157 | 158 | 159 | /*____________ a bit of layout ____________*/ 160 | 161 | #dokuwiki__header { 162 | border-bottom: 2pt solid #ccc; 163 | } 164 | #dokuwiki__header h1 { 165 | font-size: 1.5em; 166 | } 167 | #dokuwiki__header h1 a { 168 | text-decoration: none; 169 | } 170 | .dokuwiki div.footnotes { 171 | clear: both; 172 | border-top: 1pt solid #000; 173 | margin-top: 10pt; 174 | } 175 | -------------------------------------------------------------------------------- /mediamanager.php: -------------------------------------------------------------------------------- 1 | 16 | * @link https://www.dokuwiki.org/template:mnml-blog 17 | * @link https://www.dokuwiki.org/devel:templates 18 | * @link https://www.dokuwiki.org/devel:coding_style 19 | * @link https://www.dokuwiki.org/devel:environment 20 | * @link https://www.dokuwiki.org/devel:action_modes 21 | */ 22 | 23 | //check if we are running within the DokuWiki environment 24 | if (!defined("DOKU_INC")){ 25 | die(); 26 | } 27 | 28 | ?> 30 | " lang="" dir="" class="popup"> 31 | 32 | 33 | <?php echo hsc($lang["mediaselect"]); echo " - ".hsc($conf["title"]); ?> 34 | 35 | "; 39 | 40 | //include default or userdefined favicon 41 | // 42 | //note: since 2011-04-22 "Rincewind RC1", there is a core function named 43 | // "tpl_getFavicon()". But its functionality is not really fitting the 44 | // behaviour of this template, therefore I don't use it here exclusively. 45 | if (file_exists(DOKU_TPLINC."user/favicon.ico")){ 46 | //user defined - you might find http://tools.dynamicdrive.com/favicon/ 47 | //useful to generate one 48 | echo "\n\n"; 49 | }elseif (file_exists(DOKU_TPLINC."user/favicon.png")){ 50 | //note: I do NOT recommend PNG for favicons (cause it is not supported by 51 | //all browsers). 52 | echo "\n\n"; 53 | }else{ 54 | //default 55 | echo "\n\n"; 56 | } 57 | 58 | //include default or userdefined Apple Touch Icon (see for 59 | //details) 60 | if (file_exists(DOKU_TPLINC."user/apple-touch-icon.png")){ 61 | echo "\n"; 62 | }else{ 63 | //default 64 | echo "\n"; 65 | } 66 | 67 | //load userdefined js? 68 | if (tpl_getConf("mnmlblog_loaduserjs")){ 69 | echo "\n"; 70 | } 71 | ?> 72 | 73 | 74 | 75 | 76 | 77 |
    78 | 79 |
    80 |

    81 | 82 | 83 |
    84 | 85 | 86 |
    87 | 88 |
    89 | 90 |
    91 |
    92 | 93 | 94 | -------------------------------------------------------------------------------- /css/_edit.css: -------------------------------------------------------------------------------- 1 | /** 2 | * This file provides styles for the edit view (?do=edit), preview 3 | * and section edit buttons. 4 | */ 5 | 6 | /* edit view 7 | ********************************************************************/ 8 | 9 | .dokuwiki div.editBox { 10 | } 11 | 12 | /*____________ toolbar ____________*/ 13 | 14 | .dokuwiki div.toolbar { 15 | margin-bottom: .5em; 16 | overflow: hidden; 17 | } 18 | #draft__status { 19 | float: right; 20 | color: __text_alt__; 21 | background-color: inherit; 22 | } 23 | [dir=rtl] #draft__status { 24 | float: left; 25 | } 26 | 27 | #tool__bar { 28 | float: left; 29 | } 30 | [dir=rtl] #tool__bar { 31 | float: right; 32 | } 33 | 34 | /* buttons inside of toolbar */ 35 | .dokuwiki div.toolbar button.toolbutton { 36 | } 37 | /* picker popups (outside of .dokuwiki) */ 38 | div.picker { 39 | width: 300px; 40 | border: 1px solid __border__; 41 | background-color: __background_alt__; 42 | color: inherit; 43 | } 44 | /* picker for headlines */ 45 | div.picker.pk_hl { 46 | width: auto; 47 | } 48 | /* buttons inside of picker */ 49 | div.picker button.pickerbutton, 50 | div.picker button.toolbutton { 51 | padding: .1em .35em; 52 | border-width: 0; 53 | } 54 | 55 | /*____________ edit textarea ____________*/ 56 | 57 | .dokuwiki textarea.edit { 58 | /* should just be "width: 100%", but IE8 doesn't like it, see FS#1910 + FS#1667 */ 59 | width: 700px; 60 | min-width: 100%; 61 | max-width: 100%; 62 | margin-bottom: .5em; 63 | } 64 | 65 | /*____________ below the textarea ____________*/ 66 | 67 | .dokuwiki #wiki__editbar, /* old, until 2012-01-25 */ 68 | .dokuwiki div.editBar /* new */ { 69 | overflow: hidden; 70 | margin-bottom: .5em; 71 | } 72 | 73 | /* size and wrap controls */ 74 | #size__ctl { 75 | float: right; 76 | } 77 | [dir=rtl] #size__ctl { 78 | float: left; 79 | } 80 | #size__ctl img { 81 | cursor: pointer; 82 | } 83 | 84 | /* edit buttons */ 85 | .dokuwiki #wiki__editbar .editButtons, /* old, until 2012-01-25 */ 86 | .dokuwiki div.editBar .editButtons /* new */ { 87 | display: inline; 88 | margin-right: 1em; 89 | } 90 | [dir=rtl] .dokuwiki #wiki__editbar .editButtons, /* old, until 2012-01-25 */ 91 | [dir=rtl] .dokuwiki .editBar .editButtons /* new */ { 92 | margin-right: 0; 93 | margin-left: 1em; 94 | } 95 | .dokuwiki #wiki__editbar .editButtons input, /* old, until 2012-01-25 */ 96 | .dokuwiki div.editBar .editButtons input /* new */ { 97 | } 98 | 99 | /* summary input and minor changes checkbox */ 100 | .dokuwiki #wiki__editbar .summary, /* old, until 2012-01-25 */ 101 | .dokuwiki div.editBar .summary /* new */ { 102 | display: inline; 103 | } 104 | .dokuwiki #wiki__editbar .summary label, /* old, until 2012-01-25 */ 105 | .dokuwiki div.editBar .summary label /* new */ { 106 | vertical-align: middle; 107 | white-space: nowrap; 108 | } 109 | .dokuwiki #wiki__editbar .summary label span, /* old, until 2012-01-25 */ 110 | .dokuwiki div.editBar .summary label span /* new */ { 111 | vertical-align: middle; 112 | } 113 | .dokuwiki #wiki__editbar .summary input, /* old, until 2012-01-25 */ 114 | .dokuwiki div.editBar .summary input /* new */ { 115 | } 116 | /* change background colour if summary is missing */ 117 | .dokuwiki #wiki__editbar .summary input.missing, /* old, until 2012-01-25 */ 118 | .dokuwiki div.editBar .summary input.missing /* new */ { 119 | color: __text__; 120 | background-color: #ffcccc; 121 | } 122 | 123 | /* preview 124 | ********************************************************************/ 125 | 126 | .dokuwiki div.preview { 127 | border: dotted __border__; 128 | border-width: .2em 0; 129 | padding: 1.4em 0; 130 | margin-bottom: 1.4em; 131 | } 132 | 133 | /* section edit buttons 134 | ********************************************************************/ 135 | 136 | .dokuwiki .secedit { 137 | float: right; 138 | margin-top: -1.4em; 139 | } 140 | [dir=rtl] .dokuwiki .secedit { 141 | float: left; 142 | } 143 | .dokuwiki .secedit input.button { 144 | font-size: 75%; 145 | } 146 | 147 | /* style for section highlighting */ 148 | .dokuwiki div.section_highlight { 149 | margin: 0 -1em; /* negative side margin = side padding + side border */ 150 | padding: 0 .5em; 151 | border: solid __background_alt__; 152 | border-width: 0 .5em; 153 | } 154 | -------------------------------------------------------------------------------- /blogtng-tpl/entry.php: -------------------------------------------------------------------------------- 1 | 19 | * @link https://www.dokuwiki.org/template:mnml-blog 20 | * @link https://www.dokuwiki.org/plugin:blogtng 21 | */ 22 | 23 | ?> 24 |
    25 | tpl_link(); 29 | echo "\" class=\"postdate\">"; 30 | $entry->tpl_created("%Y-%m-%d"); 31 | echo "tpl_link(); 33 | echo "\"> // ".$entry->entry["title"].""; 34 | //show entry 35 | $entry->tpl_entry(//included 36 | true, 37 | //readmore (where to cut valid) 38 | false, 39 | //inc level 40 | false, 41 | //skip header 42 | true); ?> 43 |
    44 | 51 | 52 | entry["commentstatus"] !== "disabled") { 54 | //show existing comments 55 | if (!$entry->commenthelper){ 56 | $entry->commenthelper =& plugin_load("helper", "blogtng_comments"); 57 | } 58 | if ($entry->commenthelper->get_count() >= 1){ 59 | echo "\n
    \n

    ".$entry->getLang("comments")."

    \n"; 60 | $entry->tpl_comments($entry->entry["blog"]); 61 | echo "\n
    \n"; 62 | } 63 | //show form to leave a comment 64 | if ($entry->entry["commentstatus"] !== "closed") { 65 | echo "\n
    \n

    Leave a comment…

    \n"; 66 | $entry->tpl_commentform(); 67 | echo "
    \n" 68 | ."
      \n" 69 | ."
    • E-Mail address will not be published.
    • \n" 70 | ."
    • Formatting:
      //italic//  __underlined__
      **bold**  ''preformatted''
    • \n" 71 | ."
    • Links:
      [[http://example.com]]
      [[http://example.com|Link Text]]
    • \n" 72 | ."
    • Quotation:
      > This is a quote. Don't forget the space in front of the text: "> "
    • \n" 73 | ."
    \n" 74 | ."
      \n" 75 | ."
    • Code:
      <code>This is unspecific source code</code>
      <code [lang]>This is specifc [lang] code</code>
      <code php><?php echo 'example'; ?></code>
      Available: html, css, javascript, bash, cpp, …
    • \n" 76 | ."
    • Lists:
      Indent your text by two spaces and use a * for
      each unordered list item or a - for ordered ones.
    • \n" 77 | ."
    \n" 78 | ."
    \n" 79 | ."
    \n" 80 | ."
    \n"; 81 | echo "\n
    \n"; 82 | } else { 83 | echo "\n
    \n

    Comments are closed

    \n" 84 | ."\n
    \n"; 85 | } 86 | } else { 87 | echo "\n
    \n

    Comments are disabled

    \n" 88 | ."\n
    \n"; 89 | } 90 | ?> 91 |
    92 | -------------------------------------------------------------------------------- /css/_media_popup.css: -------------------------------------------------------------------------------- 1 | /** 2 | * This file provides styles for the media manager popup 3 | * (mediamanager.php). 4 | */ 5 | 6 | /*____________ structure ____________*/ 7 | 8 | html.popup { 9 | overflow: auto; 10 | } 11 | 12 | #media__manager { 13 | height: 100%; 14 | overflow: hidden; 15 | } 16 | 17 | #mediamgr__aside { 18 | width: 30%; 19 | height: 100%; 20 | overflow: auto; 21 | position: absolute; 22 | left: 0; 23 | border-right: 1px solid __border__; 24 | } 25 | [dir=rtl] #mediamgr__aside { 26 | left: auto; 27 | right: 0; 28 | border-right-width: 0; 29 | border-left: 1px solid __border__; 30 | } 31 | #mediamgr__aside .pad { 32 | padding: .5em; 33 | } 34 | 35 | #mediamgr__content { 36 | width: 69.7%; 37 | height: 100%; 38 | overflow: auto; 39 | position: absolute; 40 | right: 0; 41 | } 42 | [dir=rtl] #mediamgr__content { 43 | right: auto; 44 | left: 0; 45 | } 46 | #mediamgr__content .pad { 47 | padding: .5em; 48 | } 49 | 50 | #media__manager h1, 51 | #media__manager h2 { 52 | font-size: 1.5em; 53 | margin-bottom: .5em; 54 | padding-bottom: .2em; 55 | border-bottom: 1px solid __border__; 56 | } 57 | 58 | /* left side 59 | ********************************************************************/ 60 | 61 | /*____________ options ____________*/ 62 | 63 | #media__opts { 64 | margin-bottom: .5em; 65 | } 66 | 67 | #media__opts input { 68 | margin-right: .3em; 69 | } 70 | [dir=rtl] #media__opts input { 71 | margin-right: 0; 72 | margin-left: .3em; 73 | } 74 | #media__opts label { 75 | } 76 | 77 | /*____________ tree ____________*/ 78 | 79 | #media__tree ul { 80 | padding-left: .2em; 81 | } 82 | [dir=rtl] #media__tree ul { 83 | padding-left: 0; 84 | padding-right: .2em; 85 | } 86 | #media__tree ul li { 87 | clear: left; 88 | list-style-type: none; 89 | list-style-image: none; 90 | margin-left: 0; 91 | } 92 | [dir=rtl] #media__tree ul li { 93 | clear: right; 94 | margin-right: 0; 95 | } 96 | #media__tree ul li img { 97 | float: left; 98 | padding: .5em .3em 0 0; 99 | } 100 | [dir=rtl] #media__tree ul li img { 101 | float: right; 102 | padding: .5em 0 0 .3em; 103 | } 104 | #media__tree ul li div.li { 105 | display: inline; 106 | } 107 | #media__tree ul li li { 108 | margin-left: 1.5em; 109 | } 110 | [dir=rtl] #media__tree ul li li { 111 | margin-left: 0; 112 | margin-right: 1.5em; 113 | } 114 | 115 | /* right side 116 | ********************************************************************/ 117 | 118 | /*____________ upload form ____________*/ 119 | 120 | /* upload info */ 121 | #media__content div.upload { 122 | font-size: .9em; 123 | margin-bottom: .5em; 124 | } 125 | 126 | #mediamanager__uploader { 127 | margin-bottom: 1em; 128 | } 129 | #mediamanager__uploader p { 130 | margin-bottom: .5em; 131 | } 132 | 133 | /*____________ file list ____________*/ 134 | 135 | #media__content img.load { 136 | margin: 1em auto; 137 | } 138 | 139 | #media__content .odd, 140 | #media__content .even { 141 | padding: .5em; 142 | } 143 | #media__content .odd { 144 | background-color: __background_alt__; 145 | } 146 | #media__content .even { 147 | } 148 | /* highlight newly uploaded or edited file */ 149 | #media__content #scroll__here { 150 | border: 1px dashed __border__; 151 | } 152 | 153 | /* link which inserts media file */ 154 | #media__content a.mediafile { 155 | margin-right: 1.5em; 156 | font-weight: bold; 157 | } 158 | [dir=rtl] #media__content a.mediafile { 159 | margin-right: 0; 160 | margin-left: 1.5em; 161 | } 162 | #media__content span.info { 163 | } 164 | #media__content img.btn { 165 | vertical-align: text-bottom; 166 | } 167 | 168 | /* info how to insert media, if JS disabled */ 169 | #media__content div.example { 170 | color: __text_neu__; 171 | margin-left: 1em; 172 | } 173 | 174 | #media__content div.detail { 175 | padding: .2em 0; 176 | } 177 | #media__content div.detail div.thumb { 178 | float: left; 179 | margin: 0 .5em 0 18px; 180 | } 181 | [dir=rtl] #media__content div.detail div.thumb { 182 | float: right; 183 | margin: 0 18px 0 .5em; 184 | } 185 | #media__content div.detail div.thumb a { 186 | display: block; 187 | cursor: pointer; 188 | } 189 | #media__content div.detail p { 190 | margin-bottom: 0; 191 | } 192 | 193 | 194 | /*____________ media search ____________*/ 195 | 196 | #dw__mediasearch { 197 | } 198 | #dw__mediasearch p { 199 | } 200 | #dw__mediasearch label { 201 | } 202 | #dw__mediasearch label span { 203 | } 204 | #dw__mediasearch input.edit { 205 | } 206 | #dw__mediasearch input.button { 207 | } 208 | 209 | 210 | /* meta edit form 211 | ********************************************************************/ 212 | 213 | #media__content form.meta { 214 | } 215 | 216 | #media__content form.meta div.metafield { 217 | clear: left; 218 | margin-bottom: .5em; 219 | overflow: hidden; 220 | } 221 | [dir=rtl] #media__content form.meta div.metafield { 222 | clear: right; 223 | } 224 | 225 | #media__content form.meta label { 226 | display: block; 227 | width: 25%; 228 | float: left; 229 | font-weight: bold; 230 | clear: left; 231 | } 232 | [dir=rtl] #media__content form.meta label { 233 | float: right; 234 | clear: right; 235 | } 236 | #media__content form.meta .edit { 237 | float: left; 238 | width: 70%; 239 | margin: 0; 240 | } 241 | [dir=rtl] #media__content form.meta .edit { 242 | float: right; 243 | } 244 | #media__content form.meta textarea.edit { 245 | /* needed because of IE8 hack in _edit.css for textarea.edit: */ 246 | max-width: 70%; 247 | min-width: 70%; 248 | } 249 | 250 | #media__content form.meta div.buttons { 251 | clear: left; 252 | margin: .2em 0 0 25%; 253 | } 254 | [dir=rtl] #media__content form.meta div.buttons { 255 | clear: right; 256 | margin: .2em 25% 0 0; 257 | } 258 | -------------------------------------------------------------------------------- /js/iepngfix/iepngfix.htc: -------------------------------------------------------------------------------- 1 | 2 | 198 | 199 | -------------------------------------------------------------------------------- /detail.php: -------------------------------------------------------------------------------- 1 | 15 | * @link https://www.dokuwiki.org/template:mnml-blog 16 | * @link https://www.dokuwiki.org/devel:templates 17 | * @link https://www.dokuwiki.org/devel:coding_style 18 | * @link https://www.dokuwiki.org/devel:environment 19 | * @link https://www.dokuwiki.org/devel:action_modes 20 | */ 21 | 22 | //check if we are running within the DokuWiki environment 23 | if (!defined("DOKU_INC")){ 24 | die(); 25 | } 26 | 27 | ?> 29 | " lang="" dir=""> 30 | 31 | 32 | <?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG)); echo " - ".hsc($conf["title"]); ?> 33 | 34 | "; 38 | 39 | //include default or userdefined favicon 40 | // 41 | //note: since 2011-04-22 "Rincewind RC1", there is a core function named 42 | // "tpl_getFavicon()". But its functionality is not really fitting the 43 | // behaviour of this template, therefore I don't use it here exclusively. 44 | if (file_exists(DOKU_TPLINC."user/favicon.ico")){ 45 | //user defined - you might find http://tools.dynamicdrive.com/favicon/ 46 | //useful to generate one 47 | echo "\n\n"; 48 | }elseif (file_exists(DOKU_TPLINC."user/favicon.png")){ 49 | //note: I do NOT recommend PNG for favicons (cause it is not supported by 50 | //all browsers). 51 | echo "\n\n"; 52 | }else{ 53 | //default 54 | echo "\n\n"; 55 | } 56 | 57 | //include default or userdefined Apple Touch Icon (see for 58 | //details) 59 | if (file_exists(DOKU_TPLINC."user/apple-touch-icon.png")){ 60 | echo "\n"; 61 | }else{ 62 | //default 63 | echo "\n"; 64 | } 65 | 66 | //load userdefined js? 67 | if (tpl_getConf("mnmlblog_loaduserjs")){ 68 | echo "\n"; 69 | } 70 | ?> 71 | 72 | 73 | 74 | 75 | 76 |
    77 | 78 | 79 | 80 | 81 |

    82 | 83 |
    84 | 85 | 86 |
    87 |

    88 | 89 |
    90 | $tag){ 99 | $t = array(); 100 | if (!empty($tag[0])) { 101 | $t = array($tag[0]); 102 | } 103 | if(is_array($tag[3])) { 104 | $t = array_merge($t,$tag[3]); 105 | } 106 | $value = tpl_img_getTag($t); 107 | if ($value) { 108 | echo '
    '.$lang[$tag[1]].':
    '; 109 | if ($tag[2] == 'date') { 110 | echo dformat($value); 111 | } else { 112 | echo hsc($value); 113 | } 114 | echo '
    '; 115 | } 116 | } 117 | 118 | $t_array = media_inuse(tpl_img_getTag('IPTC.File.Name',$IMG)); 119 | if (isset($t_array[0])) { 120 | echo '
    '.$lang['reference'].':
    '; 121 | foreach ($t_array as $t) { 122 | echo '
    '.html_wikilink($t,$t).'
    '; 123 | } 124 | } 125 | ?> 126 |
    127 | 128 |
    129 |
    130 |
    131 | 132 |

    133 | = AUTH_UPLOAD) && function_exists('media_managerURL')) { 137 | $mmURL = media_managerURL(array('ns' => $imgNS, 'image' => $IMG)); 138 | echo ''.$lang['img_manager'].'
    '; 139 | } 140 | ?> 141 | ← 142 |

    143 | 144 | 145 |
    146 | 147 | 148 | 149 | -------------------------------------------------------------------------------- /user/boxes.php.dist: -------------------------------------------------------------------------------- 1 | 26 | * @link https://www.dokuwiki.org/template:mnml-blog 27 | * @link https://www.dokuwiki.org/devel:configuration 28 | */ 29 | 30 | 31 | //check if we are running within the DokuWiki environment 32 | if (!defined("DOKU_INC")){ 33 | die(); 34 | } 35 | 36 | 37 | //note: The boxes will be rendered in the order they were defined. Means: 38 | // first box will be rendered first, last box will be rendered at last. 39 | 40 | 41 | 42 | //examples: uncomment to see what is happening 43 | $_mnmlblog_boxes["example1"]["headline"] = "Hello World!"; 44 | $_mnmlblog_boxes["example1"]["xhtml"] = "Blogging with DokuWiki and mnml-blog... rules!"; 45 | 46 | 47 | /* 48 | //subscribe 49 | $_mnmlblog_boxes["syndication"]["headline"] = "Syndiaction/RSS Feed"; 50 | $_mnmlblog_boxes["syndication"]["xhtml"] = 'Subscribe to posts'; //ATTENTION: if not default, replace blog=default with the blogtng-template you are using! 51 | */ 52 | 53 | 54 | /* 55 | //recent comments 56 | //note: you have to create the page ":wiki:recent_comments" with the following 57 | // content first: 58 | // 59 | // blog default 60 | // tpl default 61 | // limit 10 62 | // type comment, linkback 63 | // nolistwrap 0 64 | // 65 | //see https://www.dokuwiki.org/plugin:blogtng#blog_recentcomments for more details. 66 | //If not default, replace "default" with the blogtng-template you are using! 67 | $_mnmlblog_boxes["recentcomments"]["headline"] = "Recent Comments"; 68 | $_mnmlblog_boxes["recentcomments"]["xhtml"] = tpl_include_page("wiki:recent_comments", false); 69 | */ 70 | 71 | 72 | /* 73 | //tag cloud 74 | //note: you have to create the page ":wiki:tagcloud" with the following 75 | // content first: 76 | // 77 | // blog default 78 | // limit 20 79 | // target start 80 | // 81 | //see https://www.dokuwiki.org/plugin:blogtng#blog_tagcloud for more details. 82 | //If not default, replace "default" with the blogtng-template you are using! 83 | $_mnmlblog_boxes["tagcloud"]["headline"] = "Tag cloud"; 84 | $_mnmlblog_boxes["tagcloud"]["xhtml"] = tpl_include_page("wiki:tagcloud", false); 85 | */ 86 | 87 | 88 | /* 89 | $_mnmlblog_boxes["example2"]["headline"] = "Some links"; 90 | $_mnmlblog_boxes["example2"]["xhtml"] = ""; 94 | */ 95 | 96 | 97 | /* 98 | $_mnmlblog_boxes["example3"]["headline"] = "Buttons"; 99 | $_mnmlblog_boxes["example3"]["xhtml"] = "\"Donate\""; 100 | */ 101 | 102 | 103 | /* 104 | //public links 105 | $_mnmlblog_boxes["publnk"]["headline"] = "Toolbox"; 106 | $_mnmlblog_boxes["publnk"]["xhtml"] = ""; 110 | */ 111 | 112 | 113 | /* 114 | //internal links (for logged in users) 115 | if (!empty($loginname)){ //$loginname comes from main.php 116 | $_mnmlblog_boxes["userlnk"]["headline"] = "Internal"; 117 | $_mnmlblog_boxes["userlnk"]["xhtml"] = ""; 145 | } 146 | */ 147 | 148 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | 2 | I. About 3 | 4 | "mnml-blog" is a clean and minimalist template for DokuWiki. It is designed 5 | to use DokuWiki as blogging software. The name means "minimalist blog", and 6 | it was created for the personal weblog [1] of Andreas Haerter [2]. 7 | 8 | Website: 9 | Maintainer: ARSAVA 10 | Contact: See "IV. Support" and "V. Contact". 11 | 12 | [1] 13 | [2] 14 | 15 | 16 | 17 | II. Installation and update 18 | 19 | First step: 20 | The basic installation works as described [1] on DokuWiki.org. Extract the 21 | downloaded archive into your DokuWiki's "lib/tpl/" folder. Then select the 22 | template in the Config Manager by adjusting the template option. 23 | 24 | Second step: 25 | Check if the BlogTNG plugin [2] is installed and up2date. This template is 26 | designed for the usage with the BlogTNG-Plugin *only* (it may work for other 27 | purposes, but they are not tested or supported)! 28 | 29 | Third step: 30 | The files in "lib/tpl/mnml-blog/blogtng-tpl" are a BlogTNG data 31 | template [3]. Please copy these files into all used BlogTNG data template 32 | dirs below "lib/plugins/blogtng/tpl". 33 | Hint: By default, there is only "lib/plugins/blogtng/tpl/default". You may 34 | overwrite the existing files in there (but remember: you have to do 35 | this again on every BlogTNG-Update then!). 36 | 37 | Fourth step: 38 | Create a wiki page where all posting shall appear. Then look 39 | where the option "mnmlblog_newpostform_location" (-> "Use following wiki 40 | page for the '' form") points to (default is 41 | ":wiki:create_new_blogpost") and create a wiki page there 42 | (the "New Post" link at the bottom right of the footer is using this link). 43 | See the BlogTNG plugin page [2] or my tutorial [4] for details. 44 | 45 | Update: 46 | See the mnml-blog template website for instructions [5]. 47 | 48 | [1] 49 | [2] 50 | [3] 51 | [4] 52 | [5] 53 | 54 | 55 | 56 | III. Customizing the template 57 | 58 | In order to make updates of your installed "mnml-blog" template easy, follow 59 | these hints for customizing the template: 60 | 61 | - Place your files in "mnml-blog/user" 62 | The place to store *all* user-defined, custom stuff is the 63 | "mnml-blog/user" directory because your files will not be touched or 64 | overwritten on template updates! So you normally can copy all new files 65 | into "mnml-blog/" to update the template without loosing your changes. 66 | Note: There are example files helping you modifying the template. 67 | The are delivered with the ".dist" extensions. Just remove the 68 | ".dist" extension to use them. 69 | 70 | - Own logo 71 | If you want to replace the default logo showed in the upper left, simply 72 | create a "logo.[png|gif|jpg]" in "mnml-blog/user". The template recognizes 73 | the file automatically and will use it instead of the default text. 74 | Note: Do not forget to empty your browser's cache if you cannot see any 75 | effect. 76 | 77 | - Own favicon 78 | If you want to replace the default favicon, simply create a "favicon.ico" 79 | in "mnml-blog/user". The template recognizes the file automatically and 80 | will use it instead of the default one. Do not forget to empty your 81 | browser's cache afterwards. By the way: you might find the online 82 | FavIcon Generator [1] useful. 83 | Note: "favicon.png" is also possible but not recommended (because it is 84 | not supported by older MSIE versions). 85 | 86 | - Own CSS 87 | To apply additional CSS rules, create a 88 | - "mnml-blog/user/screen.css" file to influence the normal layout. You 89 | can rename the "screen.css.dist" to "screen.css" as starting point. 90 | - "mnml-blog/user/print.css" file to influence the print layout. You 91 | can rename the "print.css.dist" to "print.css" as starting point. 92 | - "mnml-blog/user/rtl.css" file to influences "right-to-left" languages 93 | like Hebrew. You can rename the "rtl.css.dist" to "rtl.css" as 94 | starting point. 95 | The file(s) will be included automatically (as the last ones for the 96 | relevant media, therefore you are able to overrule existing styles). 97 | Note: Do not forget to empty your browser's cache if you cannot see any 98 | effect. 99 | 100 | - Own JavaScript 101 | To load additional JavaScript, create a "mnml-blog/user/user.js" file. You 102 | can rename the "user.js.dist" to "user.js" as starting point (it contains 103 | some examples and useful comments how to define your own JavaScript). 104 | ATTENTION: You have to activate the template option "mnml-blog_loaduserjs" 105 | (->"Load 'mnml-blog/user/user.js'?") in the DokuWiki Config 106 | Manager! 107 | 108 | - Own boxes 109 | To apply own boxes in the right column, have a look at 110 | "mnml-blog/user/boxes.php". Don't worry: you will find some examples how 111 | to define the boxes. If you still have questions after playing with the 112 | examples, see "IV. Support" on how to get help. 113 | If "mnml-blog/user/boxes.php" does not exist, simply copy it out of the 114 | current installation archive. 115 | 116 | - Web analytics software (Piwik, Google Analytics etc.) 117 | Tools like Piwik and Google Analytics normally provide a small code 118 | snippet ("tag") which you have to include at your website to make 119 | everything work. If you want to use such software with this template, 120 | create a "mnml-blog/user/tracker.php.dist". You don't have to deliberate 121 | where you have to copy and paste the code, simply do it there. You can 122 | rename the "tracker.php.dist" to "tracker.php" as a good starting point 123 | (it contains some examples and useful comments how to define your own 124 | boxes). 125 | 126 | - Own Apple Touch Icon 127 | If you want to replace the default Apple Touch Icon, simply create a 128 | "apple-touch-icon.png" in "mnml-blog/user". The template recognizes the 129 | file automatically and will use it instead of the default one. Have a look 130 | at Apple's developer database (cf. "Configuring Web Applications" [2]) if 131 | you need more information. 132 | 133 | [1] 134 | [2] 135 | 136 | 137 | 138 | IV. Support 139 | 140 | If you need help, check the FAQ [1] and try to find useful information by 141 | using the DokuWiki Search page [2]. If you found nothing helpful, ask your 142 | question at the DokuWiki forum [3] (preferred) or IRC channel [4]. 143 | 144 | [1] 145 | [2] 146 | [3] 147 | [4] 148 | 149 | 150 | 151 | V. Contact 152 | 153 | If you think you have found a bug or have a useful idea (a.k.a. "feature 154 | request"), create an issue [1] on GitHub (preferred), or contact us by 155 | mail [2]. 156 | 157 | Feel free to submit patches as GitHub pull requests (preferred) or by mail 158 | as well. However, please try to respect the DokuWiki coding style [3] as 159 | this template follows its rules. 160 | 161 | [1] 162 | [2] ARSAVA 163 | [3] 164 | 165 | 166 | 167 | VI. Other notes 168 | 169 | If you like this free project, you might buy us a coffee [1], or get some 170 | cool QR Code merchandise [2]. Thank you! :-) 171 | 172 | Do not hesitate to contact ARSAVA [3] if you need professional DokuWiki 173 | support, training or if you think we are the ones to get your project done. 174 | 175 | [1] 176 | [2] 177 | [3] 178 | 179 | 180 | 181 | VII. Explanatory notes about the dirs of this template 182 | 183 | - "mnml-blog/blogtng-tpl" 184 | Contains a backup copy of the needed BlogTNG data template files. See 185 | "II. Installation and update" of this README for details. 186 | 187 | - "mnml-blog/conf" 188 | Contains some configuration files (do NOT edit them!), especially 189 | - default.php: default settings [1] 190 | - metadata.php: configuration metadata [2] 191 | 192 | - "mnml-blog/lang" 193 | Language files (subdir names = language code). You may copy the English 194 | language files and translate them if your language is missing. Simply send 195 | us the translated files (cf. "V. Contact") and I will include them in the 196 | next release :-D. 197 | 198 | - "mnml-blog/css" 199 | All Cascading Style Sheets (CSS). See my tutorial [3] for more information 200 | about how the CSS is handled. 201 | 202 | - "mnml-blog/images" 203 | Images files. 204 | 205 | - "mnml-blog/js" 206 | JavaScript files. 207 | 208 | - "mnml-blog/user" 209 | Place for userdefined stuff. E.g. if you want use an own logo, simply copy 210 | a logo.[png|gif|jpg] in here. See "III. Customizing the template" for 211 | details. 212 | 213 | [1] 214 | [2] 215 | [3] 216 | 217 | 218 | 219 | VIII. Creation transcript 220 | 221 | Some developers may find this interesting. Additionally, I am very oblivious 222 | :-P. 223 | 224 | In principle, I followed my own tutorial [1]. There was just no "starter" 225 | template [2] when "mnml-blog" was created. Therefore, after ~1 year, I 226 | switched the CSS base from DokuWiki's default template to the starter 227 | template, but the markup of "main.php" is still based on the default 228 | template's "main.php". 229 | 230 | [1] 231 | [2] 232 | 233 | -------------------------------------------------------------------------------- /css/_media_fullscreen.css: -------------------------------------------------------------------------------- 1 | /** 2 | * This file provides the styles for the fullscreen media manager 3 | * (?do=media). 4 | * 5 | * What most templates would probably need to change (depending on 6 | * their site width) are the 4 min-width's (search for @change). 7 | */ 8 | 9 | 10 | /*____________ structure ____________*/ 11 | 12 | #mediamanager__page h1 { 13 | margin-bottom: .5em; 14 | } 15 | 16 | #mediamanager__page { 17 | /* min-width must be summary of all 3 panels' min-widths */ 18 | min-width: 50em; /* @change */ 19 | width: 100%; 20 | text-align: left; 21 | } 22 | 23 | #mediamanager__page .panel { 24 | float: left; 25 | } 26 | 27 | #mediamanager__page .namespaces { 28 | width: 20%; 29 | min-width: 10em; /* @change */ 30 | } 31 | #mediamanager__page .filelist { 32 | width: 50%; 33 | min-width: 25em; /* @change */ 34 | } 35 | #mediamanager__page .file { 36 | width: 30%; 37 | min-width: 15em; /* @change */ 38 | } 39 | 40 | #mediamanager__page .panelHeader { 41 | background-color: __background_alt__; 42 | margin: 0 10px 10px 0; 43 | padding: 10px 10px 8px; 44 | text-align: left; 45 | min-height: 20px; 46 | overflow: hidden; 47 | } 48 | 49 | #mediamanager__page .panelContent { 50 | overflow-y: auto; 51 | overflow-x: hidden; 52 | padding: 0; 53 | margin: 0 10px 10px 0; 54 | position: relative; 55 | } 56 | [dir=rtl] #mediamanager__page .panelContent { 57 | text-align: right; 58 | } 59 | 60 | #mediamanager__page .file .panelHeader, 61 | #mediamanager__page .file .panelContent { 62 | margin-right: 0; 63 | } 64 | 65 | #mediamanager__page .ui-resizable-e { 66 | width: 6px; 67 | right: 2px; 68 | background: transparent url(images/resizecol.png) center center no-repeat; 69 | /* 70 | @deprecated, change since Adora Belle: 71 | background: transparent url(../../images/resizecol.png) center center no-repeat; 72 | */ 73 | } 74 | #mediamanager__page .ui-resizable-e:hover { 75 | background-color: __background_alt__; 76 | } 77 | 78 | 79 | #mediamanager__page dd { 80 | margin: 0; 81 | } 82 | 83 | #mediamanager__page .panelHeader h3 { 84 | float: left; 85 | font-weight: normal; 86 | font-size: 1em; 87 | padding: 0; 88 | margin: 0 0 3px; 89 | } 90 | 91 | 92 | /*____________ namespaces panel ____________*/ 93 | 94 | [dir=rtl] #mediamanager__page .namespaces { 95 | text-align: right; 96 | } 97 | 98 | /* make it look like a tab (as in _tabs.css) */ 99 | #mediamanager__page .namespaces h2 { 100 | font-size: 1em; 101 | display: inline-block; 102 | padding: .3em .8em; 103 | margin: 0 0 0 .3em; 104 | border-radius: .5em .5em 0 0; 105 | font-weight: normal; 106 | background-color: __background_alt__; 107 | color: __text__; 108 | border: 1px solid __border__; 109 | border-bottom-color: __background_alt__; 110 | line-height: 1.4em; 111 | position: relative; 112 | bottom: -1px; 113 | z-index: 2; 114 | } 115 | * html #mediamanager__page .namespaces h2, 116 | *+html #mediamanager__page .namespaces h2 { 117 | display: inline; 118 | } 119 | [dir=rtl] #mediamanager__page .namespaces h2 { 120 | margin: 0 .3em 0 0; 121 | position: relative; 122 | right: 10px; 123 | } 124 | #mediamanager__page .namespaces .panelHeader { 125 | border-top: 1px solid __border__; 126 | z-index: 1; 127 | } 128 | 129 | #mediamanager__page .namespaces ul { 130 | margin-left: .2em; 131 | margin-bottom: 0; 132 | padding: 0; 133 | list-style: none; 134 | } 135 | [dir=rtl] #mediamanager__page .namespaces ul { 136 | margin-left: 0; 137 | margin-right: .2em; 138 | } 139 | #mediamanager__page .namespaces ul ul { 140 | margin-left: 1em; 141 | } 142 | [dir=rtl] #mediamanager__page .namespaces ul ul { 143 | margin-left: 0; 144 | margin-right: 1em; 145 | } 146 | #mediamanager__page .namespaces ul ul li { 147 | margin: 0; 148 | } 149 | 150 | #mediamanager__page .namespaces ul .selected { 151 | background-color: __highlight__; 152 | font-weight: bold; 153 | } 154 | 155 | 156 | /*____________ file list panel ____________*/ 157 | 158 | /* file list header */ 159 | 160 | #mediamanager__page .panelHeader form.options { 161 | float: right; 162 | margin-top: -3px; 163 | } 164 | 165 | #mediamanager__page .panelHeader ul { 166 | list-style: none; 167 | margin: 0; 168 | padding: 0; 169 | } 170 | #mediamanager__page .panelHeader ul li { 171 | color: __text__; 172 | float: left; 173 | line-height: 1; 174 | padding-left: 3px; 175 | } 176 | [dir=rtl] #mediamanager__page .panelHeader ul li { 177 | margin-right: 0; 178 | margin-left: .5em; 179 | } 180 | 181 | #mediamanager__page .panelHeader ul li.listType { 182 | padding-left: 30px; 183 | margin: 0 0 0 5px; 184 | background: url('../../images/icon-list.png') 3px 1px no-repeat; 185 | } 186 | #mediamanager__page .panelHeader ul li.sortBy { 187 | padding-left: 30px; 188 | margin: 0 0 0 5px; 189 | background: url('../../images/icon-sort.png') 3px 1px no-repeat; 190 | } 191 | 192 | #mediamanager__page .panelHeader form.options .ui-buttonset label{ 193 | font-size: 90%; 194 | margin-right: -0.4em; 195 | } 196 | #mediamanager__page .panelHeader form.options .ui-buttonset .ui-button-text { 197 | padding: .3em .5em; 198 | line-height: 1; 199 | } 200 | 201 | /* file list content */ 202 | 203 | #mediamanager__page .filelist ul { 204 | padding: 0; 205 | margin: 0 10px 0 0; 206 | } 207 | [dir=rtl] #mediamanager__page .filelist ul { 208 | margin: 0 10px 0 0; 209 | } 210 | 211 | #mediamanager__page .filelist .panelContent ul li:hover { 212 | background-color: __background_alt__; 213 | } 214 | 215 | #mediamanager__page .filelist li dt a { 216 | vertical-align: middle; 217 | display: table-cell; 218 | overflow: hidden; 219 | } 220 | * html #mediamanager__page .filelist .thumbs li dt a, 221 | *+html #mediamanager__page .filelist .thumbs li dt a { 222 | display: block; 223 | } 224 | * html #mediamanager__page .filelist .rows li dt a, 225 | *+html #mediamanager__page .filelist .rows li dt a { 226 | display: inline; 227 | } 228 | 229 | /* file list as thumbs */ 230 | 231 | #mediamanager__page .filelist .thumbs li { 232 | width: 100px; 233 | min-height: 130px; 234 | display: inline-block; 235 | display: -moz-inline-stack; 236 | /* the right margin should visually be 10px, but because of its inline-block nature the whitespace inbetween is about 4px more */ 237 | margin: 0 6px 10px 0; 238 | background-color: __background_neu__; 239 | color: __text__; 240 | padding: 5px; 241 | vertical-align: top; 242 | text-align: center; 243 | position: relative; 244 | line-height: 1.2; 245 | } 246 | [dir=rtl] #mediamanager__page .filelist .thumbs li { 247 | margin-right: 0; 248 | margin-left: 6px; 249 | } 250 | * html #mediamanager__page .filelist .thumbs li, 251 | *+html #mediamanager__page .filelist .thumbs li { 252 | display: inline; 253 | zoom: 1; 254 | } 255 | 256 | #mediamanager__page .filelist .thumbs li dt a { 257 | width: 100px; 258 | height: 90px; 259 | } 260 | 261 | #mediamanager__page .filelist .thumbs li dt a img { 262 | max-width: 90px; 263 | max-height: 90px; 264 | } 265 | 266 | #mediamanager__page .filelist .thumbs li .name, 267 | #mediamanager__page .filelist .thumbs li .size, 268 | #mediamanager__page .filelist .thumbs li .filesize, 269 | #mediamanager__page .filelist .thumbs li .date { 270 | display: block; 271 | overflow: hidden; 272 | text-overflow: ellipsis; 273 | width: 90px; 274 | white-space: nowrap; 275 | } 276 | #mediamanager__page .filelist .thumbs li .name { 277 | padding: 5px 0; 278 | font-weight: bold; 279 | } 280 | #mediamanager__page .filelist .thumbs li .date { 281 | font-style: italic; 282 | white-space: normal; 283 | } 284 | 285 | /* file list as rows */ 286 | 287 | #mediamanager__page .filelist .rows li { 288 | list-style: none; 289 | display: block; 290 | position: relative; 291 | max-height: 50px; 292 | margin: 0; 293 | margin-bottom: 3px; 294 | background-color: __background__; 295 | color: __text__; 296 | overflow: hidden; 297 | } 298 | 299 | #mediamanager__page .filelist .rows li:nth-child(2n+1) { 300 | background-color: __background_neu__; 301 | } 302 | 303 | #mediamanager__page .filelist .rows li dt { 304 | float: left; 305 | width: 10%; 306 | height: 40px; 307 | text-align: center; 308 | } 309 | 310 | #mediamanager__page .filelist .rows li dt a { 311 | width: 100px; 312 | height: 40px; 313 | } 314 | 315 | #mediamanager__page .filelist .rows li dt a img { 316 | max-width: 40px; 317 | max-height: 40px; 318 | } 319 | 320 | #mediamanager__page .filelist .rows li .name, 321 | #mediamanager__page .filelist .rows li .size, 322 | #mediamanager__page .filelist .rows li .filesize, 323 | #mediamanager__page .filelist .rows li .date { 324 | overflow: hidden; 325 | text-overflow: ellipsis; 326 | float: left; 327 | margin-left: 1%; 328 | white-space: nowrap; 329 | } 330 | 331 | #mediamanager__page .filelist .rows li .name { 332 | width: 30%; 333 | font-weight: bold; 334 | } 335 | #mediamanager__page .filelist .rows li .size, 336 | #mediamanager__page .filelist .rows li .filesize { 337 | width: 15%; 338 | } 339 | #mediamanager__page .filelist .rows li .date { 340 | width: 20%; 341 | font-style: italic; 342 | white-space: normal; 343 | } 344 | 345 | /* upload form */ 346 | 347 | #mediamanager__page div.upload { 348 | padding-bottom: 0.5em; 349 | } 350 | 351 | /*____________ file panel ____________*/ 352 | 353 | #mediamanager__page .file ul.actions { 354 | text-align: center; 355 | margin: 0 0 5px; 356 | padding: 0; 357 | list-style: none; 358 | } 359 | #mediamanager__page .file ul.actions li { 360 | display: inline; 361 | margin: 0; 362 | } 363 | 364 | #mediamanager__page .file div.image { 365 | margin-bottom: 5px; 366 | text-align: center; 367 | } 368 | 369 | #mediamanager__page .file div.image img { 370 | width: 100%; 371 | } 372 | 373 | #mediamanager__page .file dl { 374 | margin-bottom: 0; 375 | } 376 | #mediamanager__page .file dl dt { 377 | font-weight: bold; 378 | display: block; 379 | background-color: __background_alt__; 380 | } 381 | #mediamanager__page .file dl dd { 382 | display: block; 383 | background-color: __background_neu__; 384 | } 385 | 386 | 387 | /* file meta data edit form */ 388 | 389 | #mediamanager__page form.meta div.row { 390 | margin-bottom: 5px; 391 | } 392 | 393 | #mediamanager__page form.meta label span { 394 | display: block; 395 | } 396 | 397 | #mediamanager__page form.meta input { 398 | width: 50%; 399 | } 400 | 401 | #mediamanager__page form.meta input.button { 402 | width: auto; 403 | } 404 | 405 | #mediamanager__page form.meta textarea.edit { 406 | height: 6em; 407 | width: 95%; 408 | min-width: 95%; 409 | max-width: 95%; 410 | } 411 | 412 | /* file revisions form */ 413 | 414 | #mediamanager__page #page__revisions ul, /* old, until 2012-01-25 */ 415 | #mediamanager__page form.changes ul /* new */ { 416 | margin-left: 10px; 417 | padding: 0; 418 | list-style-type: none; 419 | } 420 | 421 | #mediamanager__page #page__revisions ul li div.li div, /* old, until 2012-01-25 */ 422 | #mediamanager__page form.changes ul li div.li div /* new */ { 423 | font-size: 90%; 424 | color: __text_neu__; 425 | padding-left: 18px; 426 | } 427 | 428 | #mediamanager__page #page__revisions ul li div.li input, /* old, until 2012-01-25 */ 429 | #mediamanager__page form.changes ul li div.li input /* new */ { 430 | position: relative; 431 | top: 1px; 432 | } 433 | 434 | /* file diff view */ 435 | 436 | #mediamanager__diff table { 437 | table-layout: fixed; 438 | border-width: 0; 439 | } 440 | 441 | #mediamanager__diff td, 442 | #mediamanager__diff th { 443 | width: 48%; 444 | margin: 0 5px 10px 0; 445 | padding: 0; 446 | vertical-align: top; 447 | text-align: left; 448 | border-color: __background__; 449 | } 450 | [dir=rtl] #mediamanager__diff td, 451 | [dir=rtl] #mediamanager__diff th { 452 | text-align: right; 453 | } 454 | 455 | #mediamanager__diff th { 456 | font-weight: normal; 457 | background-color: __background__; 458 | line-height: 1.2; 459 | } 460 | #mediamanager__diff th a { 461 | font-weight: bold; 462 | } 463 | #mediamanager__diff th span { 464 | font-size: 90%; 465 | } 466 | 467 | #mediamanager__diff dl dd strong{ 468 | background-color: __highlight__; 469 | color: __text__; 470 | font-weight: normal; 471 | } 472 | 473 | /* image diff views */ 474 | 475 | #mediamanager__page .file form.diffView { 476 | margin-bottom: 10px; 477 | display: block; 478 | } 479 | 480 | #mediamanager__diff div.slider { 481 | margin: 10px; 482 | width: 95%; 483 | } 484 | 485 | #mediamanager__diff .imageDiff { 486 | position: relative; 487 | } 488 | #mediamanager__diff .imageDiff .image2 { 489 | position: absolute; 490 | top: 0; 491 | left: 0; 492 | } 493 | 494 | #mediamanager__diff .imageDiff.opacity .image2 { 495 | -moz-opacity: 0.5; 496 | -khtml-opacity: 0.5; 497 | opacity: 0.5; 498 | } 499 | 500 | #mediamanager__diff .imageDiff.portions .image2 { 501 | border-right: 1px solid red; 502 | overflow: hidden; 503 | } 504 | 505 | #mediamanager__diff .imageDiff.portions img { 506 | float: left; 507 | } 508 | 509 | #mediamanager__diff .imageDiff img { 510 | width: 100%; 511 | max-width: none; 512 | } 513 | 514 | -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- 1 | Logos: Some pictures and logos were taken from other free sources with differing 2 | licenses. In particular: 3 | * The Twitter logo: 4 | 5 | * The Identi.ca logo: 6 | 7 | 8 | 9 | GNU GENERAL PUBLIC LICENSE 10 | Version 2, June 1991 11 | 12 | Copyright (C) 1989, 1991 Free Software Foundation, Inc. 13 | 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | Everyone is permitted to copy and distribute verbatim copies 15 | of this license document, but changing it is not allowed. 16 | 17 | Preamble 18 | 19 | The licenses for most software are designed to take away your 20 | freedom to share and change it. By contrast, the GNU General Public 21 | License is intended to guarantee your freedom to share and change free 22 | software--to make sure the software is free for all its users. This 23 | General Public License applies to most of the Free Software 24 | Foundation's software and to any other program whose authors commit to 25 | using it. (Some other Free Software Foundation software is covered by 26 | the GNU Library General Public License instead.) You can apply it to 27 | your programs, too. 28 | 29 | When we speak of free software, we are referring to freedom, not 30 | price. Our General Public Licenses are designed to make sure that you 31 | have the freedom to distribute copies of free software (and charge for 32 | this service if you wish), that you receive source code or can get it 33 | if you want it, that you can change the software or use pieces of it 34 | in new free programs; and that you know you can do these things. 35 | 36 | To protect your rights, we need to make restrictions that forbid 37 | anyone to deny you these rights or to ask you to surrender the rights. 38 | These restrictions translate to certain responsibilities for you if you 39 | distribute copies of the software, or if you modify it. 40 | 41 | For example, if you distribute copies of such a program, whether 42 | gratis or for a fee, you must give the recipients all the rights that 43 | you have. You must make sure that they, too, receive or can get the 44 | source code. And you must show them these terms so they know their 45 | rights. 46 | 47 | We protect your rights with two steps: (1) copyright the software, and 48 | (2) offer you this license which gives you legal permission to copy, 49 | distribute and/or modify the software. 50 | 51 | Also, for each author's protection and ours, we want to make certain 52 | that everyone understands that there is no warranty for this free 53 | software. If the software is modified by someone else and passed on, we 54 | want its recipients to know that what they have is not the original, so 55 | that any problems introduced by others will not reflect on the original 56 | authors' reputations. 57 | 58 | Finally, any free program is threatened constantly by software 59 | patents. We wish to avoid the danger that redistributors of a free 60 | program will individually obtain patent licenses, in effect making the 61 | program proprietary. To prevent this, we have made it clear that any 62 | patent must be licensed for everyone's free use or not licensed at all. 63 | 64 | The precise terms and conditions for copying, distribution and 65 | modification follow. 66 | 67 | GNU GENERAL PUBLIC LICENSE 68 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 69 | 70 | 0. This License applies to any program or other work which contains 71 | a notice placed by the copyright holder saying it may be distributed 72 | under the terms of this General Public License. The "Program", below, 73 | refers to any such program or work, and a "work based on the Program" 74 | means either the Program or any derivative work under copyright law: 75 | that is to say, a work containing the Program or a portion of it, 76 | either verbatim or with modifications and/or translated into another 77 | language. (Hereinafter, translation is included without limitation in 78 | the term "modification".) Each licensee is addressed as "you". 79 | 80 | Activities other than copying, distribution and modification are not 81 | covered by this License; they are outside its scope. The act of 82 | running the Program is not restricted, and the output from the Program 83 | is covered only if its contents constitute a work based on the 84 | Program (independent of having been made by running the Program). 85 | Whether that is true depends on what the Program does. 86 | 87 | 1. You may copy and distribute verbatim copies of the Program's 88 | source code as you receive it, in any medium, provided that you 89 | conspicuously and appropriately publish on each copy an appropriate 90 | copyright notice and disclaimer of warranty; keep intact all the 91 | notices that refer to this License and to the absence of any warranty; 92 | and give any other recipients of the Program a copy of this License 93 | along with the Program. 94 | 95 | You may charge a fee for the physical act of transferring a copy, and 96 | you may at your option offer warranty protection in exchange for a fee. 97 | 98 | 2. You may modify your copy or copies of the Program or any portion 99 | of it, thus forming a work based on the Program, and copy and 100 | distribute such modifications or work under the terms of Section 1 101 | above, provided that you also meet all of these conditions: 102 | 103 | a) You must cause the modified files to carry prominent notices 104 | stating that you changed the files and the date of any change. 105 | 106 | b) You must cause any work that you distribute or publish, that in 107 | whole or in part contains or is derived from the Program or any 108 | part thereof, to be licensed as a whole at no charge to all third 109 | parties under the terms of this License. 110 | 111 | c) If the modified program normally reads commands interactively 112 | when run, you must cause it, when started running for such 113 | interactive use in the most ordinary way, to print or display an 114 | announcement including an appropriate copyright notice and a 115 | notice that there is no warranty (or else, saying that you provide 116 | a warranty) and that users may redistribute the program under 117 | these conditions, and telling the user how to view a copy of this 118 | License. (Exception: if the Program itself is interactive but 119 | does not normally print such an announcement, your work based on 120 | the Program is not required to print an announcement.) 121 | 122 | These requirements apply to the modified work as a whole. If 123 | identifiable sections of that work are not derived from the Program, 124 | and can be reasonably considered independent and separate works in 125 | themselves, then this License, and its terms, do not apply to those 126 | sections when you distribute them as separate works. But when you 127 | distribute the same sections as part of a whole which is a work based 128 | on the Program, the distribution of the whole must be on the terms of 129 | this License, whose permissions for other licensees extend to the 130 | entire whole, and thus to each and every part regardless of who wrote it. 131 | 132 | Thus, it is not the intent of this section to claim rights or contest 133 | your rights to work written entirely by you; rather, the intent is to 134 | exercise the right to control the distribution of derivative or 135 | collective works based on the Program. 136 | 137 | In addition, mere aggregation of another work not based on the Program 138 | with the Program (or with a work based on the Program) on a volume of 139 | a storage or distribution medium does not bring the other work under 140 | the scope of this License. 141 | 142 | 3. You may copy and distribute the Program (or a work based on it, 143 | under Section 2) in object code or executable form under the terms of 144 | Sections 1 and 2 above provided that you also do one of the following: 145 | 146 | a) Accompany it with the complete corresponding machine-readable 147 | source code, which must be distributed under the terms of Sections 148 | 1 and 2 above on a medium customarily used for software interchange; or, 149 | 150 | b) Accompany it with a written offer, valid for at least three 151 | years, to give any third party, for a charge no more than your 152 | cost of physically performing source distribution, a complete 153 | machine-readable copy of the corresponding source code, to be 154 | distributed under the terms of Sections 1 and 2 above on a medium 155 | customarily used for software interchange; or, 156 | 157 | c) Accompany it with the information you received as to the offer 158 | to distribute corresponding source code. (This alternative is 159 | allowed only for noncommercial distribution and only if you 160 | received the program in object code or executable form with such 161 | an offer, in accord with Subsection b above.) 162 | 163 | The source code for a work means the preferred form of the work for 164 | making modifications to it. For an executable work, complete source 165 | code means all the source code for all modules it contains, plus any 166 | associated interface definition files, plus the scripts used to 167 | control compilation and installation of the executable. However, as a 168 | special exception, the source code distributed need not include 169 | anything that is normally distributed (in either source or binary 170 | form) with the major components (compiler, kernel, and so on) of the 171 | operating system on which the executable runs, unless that component 172 | itself accompanies the executable. 173 | 174 | If distribution of executable or object code is made by offering 175 | access to copy from a designated place, then offering equivalent 176 | access to copy the source code from the same place counts as 177 | distribution of the source code, even though third parties are not 178 | compelled to copy the source along with the object code. 179 | 180 | 4. You may not copy, modify, sublicense, or distribute the Program 181 | except as expressly provided under this License. Any attempt 182 | otherwise to copy, modify, sublicense or distribute the Program is 183 | void, and will automatically terminate your rights under this License. 184 | However, parties who have received copies, or rights, from you under 185 | this License will not have their licenses terminated so long as such 186 | parties remain in full compliance. 187 | 188 | 5. You are not required to accept this License, since you have not 189 | signed it. However, nothing else grants you permission to modify or 190 | distribute the Program or its derivative works. These actions are 191 | prohibited by law if you do not accept this License. Therefore, by 192 | modifying or distributing the Program (or any work based on the 193 | Program), you indicate your acceptance of this License to do so, and 194 | all its terms and conditions for copying, distributing or modifying 195 | the Program or works based on it. 196 | 197 | 6. Each time you redistribute the Program (or any work based on the 198 | Program), the recipient automatically receives a license from the 199 | original licensor to copy, distribute or modify the Program subject to 200 | these terms and conditions. You may not impose any further 201 | restrictions on the recipients' exercise of the rights granted herein. 202 | You are not responsible for enforcing compliance by third parties to 203 | this License. 204 | 205 | 7. If, as a consequence of a court judgment or allegation of patent 206 | infringement or for any other reason (not limited to patent issues), 207 | conditions are imposed on you (whether by court order, agreement or 208 | otherwise) that contradict the conditions of this License, they do not 209 | excuse you from the conditions of this License. If you cannot 210 | distribute so as to satisfy simultaneously your obligations under this 211 | License and any other pertinent obligations, then as a consequence you 212 | may not distribute the Program at all. For example, if a patent 213 | license would not permit royalty-free redistribution of the Program by 214 | all those who receive copies directly or indirectly through you, then 215 | the only way you could satisfy both it and this License would be to 216 | refrain entirely from distribution of the Program. 217 | 218 | If any portion of this section is held invalid or unenforceable under 219 | any particular circumstance, the balance of the section is intended to 220 | apply and the section as a whole is intended to apply in other 221 | circumstances. 222 | 223 | It is not the purpose of this section to induce you to infringe any 224 | patents or other property right claims or to contest validity of any 225 | such claims; this section has the sole purpose of protecting the 226 | integrity of the free software distribution system, which is 227 | implemented by public license practices. Many people have made 228 | generous contributions to the wide range of software distributed 229 | through that system in reliance on consistent application of that 230 | system; it is up to the author/donor to decide if he or she is willing 231 | to distribute software through any other system and a licensee cannot 232 | impose that choice. 233 | 234 | This section is intended to make thoroughly clear what is believed to 235 | be a consequence of the rest of this License. 236 | 237 | 8. If the distribution and/or use of the Program is restricted in 238 | certain countries either by patents or by copyrighted interfaces, the 239 | original copyright holder who places the Program under this License 240 | may add an explicit geographical distribution limitation excluding 241 | those countries, so that distribution is permitted only in or among 242 | countries not thus excluded. In such case, this License incorporates 243 | the limitation as if written in the body of this License. 244 | 245 | 9. The Free Software Foundation may publish revised and/or new versions 246 | of the General Public License from time to time. Such new versions will 247 | be similar in spirit to the present version, but may differ in detail to 248 | address new problems or concerns. 249 | 250 | Each version is given a distinguishing version number. If the Program 251 | specifies a version number of this License which applies to it and "any 252 | later version", you have the option of following the terms and conditions 253 | either of that version or of any later version published by the Free 254 | Software Foundation. If the Program does not specify a version number of 255 | this License, you may choose any version ever published by the Free Software 256 | Foundation. 257 | 258 | 10. If you wish to incorporate parts of the Program into other free 259 | programs whose distribution conditions are different, write to the author 260 | to ask for permission. For software which is copyrighted by the Free 261 | Software Foundation, write to the Free Software Foundation; we sometimes 262 | make exceptions for this. Our decision will be guided by the two goals 263 | of preserving the free status of all derivatives of our free software and 264 | of promoting the sharing and reuse of software generally. 265 | 266 | NO WARRANTY 267 | 268 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 269 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 270 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 271 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 272 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 273 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 274 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 275 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 276 | REPAIR OR CORRECTION. 277 | 278 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 279 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 280 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 281 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 282 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 283 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 284 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 285 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 286 | POSSIBILITY OF SUCH DAMAGES. 287 | 288 | END OF TERMS AND CONDITIONS 289 | 290 | How to Apply These Terms to Your New Programs 291 | 292 | If you develop a new program, and you want it to be of the greatest 293 | possible use to the public, the best way to achieve this is to make it 294 | free software which everyone can redistribute and change under these terms. 295 | 296 | To do so, attach the following notices to the program. It is safest 297 | to attach them to the start of each source file to most effectively 298 | convey the exclusion of warranty; and each file should have at least 299 | the "copyright" line and a pointer to where the full notice is found. 300 | 301 | 302 | Copyright (C) 303 | 304 | This program is free software; you can redistribute it and/or modify 305 | it under the terms of the GNU General Public License as published by 306 | the Free Software Foundation; either version 2 of the License, or 307 | (at your option) any later version. 308 | 309 | This program is distributed in the hope that it will be useful, 310 | but WITHOUT ANY WARRANTY; without even the implied warranty of 311 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 312 | GNU General Public License for more details. 313 | 314 | You should have received a copy of the GNU General Public License 315 | along with this program; if not, write to the Free Software 316 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 317 | 318 | 319 | Also add information on how to contact you by electronic and paper mail. 320 | 321 | If the program is interactive, make it output a short notice like this 322 | when it starts in an interactive mode: 323 | 324 | Gnomovision version 69, Copyright (C) year name of author 325 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 326 | This is free software, and you are welcome to redistribute it 327 | under certain conditions; type `show c' for details. 328 | 329 | The hypothetical commands `show w' and `show c' should show the appropriate 330 | parts of the General Public License. Of course, the commands you use may 331 | be called something other than `show w' and `show c'; they could even be 332 | mouse-clicks or menu items--whatever suits your program. 333 | 334 | You should also get your employer (if you work as a programmer) or your 335 | school, if any, to sign a "copyright disclaimer" for the program, if 336 | necessary. Here is a sample; alter the names: 337 | 338 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program 339 | `Gnomovision' (which makes passes at compilers) written by James Hacker. 340 | 341 | , 1 April 1989 342 | Ty Coon, President of Vice 343 | 344 | This General Public License does not permit incorporating your program into 345 | proprietary programs. If your program is a subroutine library, you may 346 | consider it more useful to permit linking proprietary applications with the 347 | library. If this is what you want to do, use the GNU Library General 348 | Public License instead of this License. 349 | -------------------------------------------------------------------------------- /main.php: -------------------------------------------------------------------------------- 1 | 13 | * @link https://www.dokuwiki.org/template:mnml-blog 14 | * @link https://www.dokuwiki.org/devel:templates 15 | * @link https://www.dokuwiki.org/devel:coding_style 16 | * @link https://www.dokuwiki.org/devel:environment 17 | * @link https://www.dokuwiki.org/devel:action_modes 18 | */ 19 | 20 | 21 | //check if we are running within the DokuWiki environment 22 | if (!defined("DOKU_INC")){ 23 | die(); 24 | } 25 | 26 | 27 | /** 28 | * Stores the name the current client used to login 29 | * 30 | * @var string 31 | * @author ARSAVA 32 | */ 33 | $loginname = ""; 34 | if (!empty($conf["useacl"])){ 35 | if (isset($_SERVER["REMOTE_USER"]) && //no empty() but isset(): "0" may be a valid username... 36 | $_SERVER["REMOTE_USER"] !== ""){ 37 | $loginname = $_SERVER["REMOTE_USER"]; //$INFO["client"] would not work here (-> e.g. when 38 | //current IP differs from the one used to login) 39 | } 40 | } 41 | 42 | 43 | //get needed language array 44 | include DOKU_TPLINC."lang/en/lang.php"; 45 | //overwrite English language values with available translations 46 | if (!empty($conf["lang"]) && 47 | $conf["lang"] != "en" && 48 | file_exists(DOKU_TPLINC."/lang/".$conf["lang"]."/lang.php")){ 49 | //get language file (partially translated language files are no problem 50 | //cause non translated stuff is still existing as English array value) 51 | include DOKU_TPLINC."/lang/".$conf["lang"]."/lang.php"; 52 | } 53 | 54 | 55 | //detect revision 56 | $rev = (int)$INFO["rev"]; //$INFO comes from the DokuWiki core 57 | if ($rev < 1){ 58 | $rev = (int)$INFO["lastmod"]; 59 | } 60 | 61 | 62 | //get boxes config 63 | if (file_exists(DOKU_TPLINC."/user/boxes.php")){ //user defined 64 | include DOKU_TPLINC."/user/boxes.php"; 65 | } 66 | //add box for QR Code of current page's URL (powered by ) 67 | if (tpl_getConf("mnmlblog_qrcodebox")){ 68 | $_mnmlblog_boxes["qrcode"]["headline"] = $lang["mnmlblog_qrcodebox_qrcode"]; 69 | $_mnmlblog_boxes["qrcode"]["xhtml"] = "".((cleanID(getID()) === "start") ? "" : "")."\"".hsc($lang["mnmlblog_qrcodebox_qrcode"])."".((cleanID(getID()) === "start") ? "" : "").""; 70 | } 71 | 72 | 73 | /** 74 | * Helper to render the boxes (like a dynamic XHTML snippet) 75 | * 76 | * @param array The box data to render within the snippet. Each box is 77 | * represented through an subarray: 78 | * $array = array("box-id1" => array("headline" => "hello world!", 79 | * "xhtml" => "I am here.")); 80 | * Available keys within the subarrays: 81 | * - "xhtml" (mandatory) 82 | * The content of the Box you want to show as XHTML. Attention: YOU 83 | * HAVE TO TAKE CARE ABOUT FILTER EVENTUALLY USED INPUT/SECURITY. Be 84 | * aware of XSS and stuff. 85 | * - "headline" (optional) 86 | * Headline to show above the box. Leave empty/do not set for none. 87 | * @author ARSAVA 88 | * @link http://www.wikipedia.org/wiki/Nofollow 89 | * @link http://www.wikipedia.org/wiki/Cross-site_scripting 90 | * @link https://www.dokuwiki.org/devel:coding_style 91 | */ 92 | function _mnmlblog_renderBoxes($arr) 93 | { 94 | //is there something useful? 95 | if (empty($arr) || 96 | !is_array($arr)){ 97 | return false; //nope, break operation 98 | } 99 | 100 | //array to store the created boxes into 101 | $boxes = array(); 102 | 103 | //handle the box data 104 | foreach($arr as $div_id => $contents){ 105 | //basic check 106 | if (empty($contents) || 107 | !is_array($contents) || 108 | !isset($contents["xhtml"])){ 109 | continue; //ignore invalid stuff and go on 110 | } 111 | $interim = "\n
    \n"; 112 | if (!empty($contents["headline"])){ 113 | $interim .= "
    ".hsc($contents["headline"])."
    \n"; 114 | } 115 | $interim .= "
    ".$contents["xhtml"]."
    " 116 | ."\n
    \n\n"; 117 | //store it 118 | $boxes[] = $interim; 119 | } 120 | //show everything created 121 | if (!empty($boxes)){ 122 | foreach ($boxes as $box){ 123 | echo $box; 124 | } 125 | } 126 | 127 | return true; 128 | } 129 | 130 | //workaround for the "jumping textarea" IE bug. CSS only fix not possible cause 131 | //some DokuWiki JavaScript is triggering this bug, too. See the following for 132 | //info: 133 | //- 134 | //- 135 | if ($ACT === "edit" && 136 | !headers_sent()){ 137 | header("X-UA-Compatible: IE=EmulateIE7"); 138 | } 139 | 140 | ?> 142 | " lang="" dir=""> 143 | 144 | 145 | <?php tpl_pagetitle(); echo " - ".hsc($conf["title"]); ?> 146 | 147 | "; 151 | 152 | //include default or userdefined favicon 153 | // 154 | //note: since 2011-04-22 "Rincewind RC1", there is a core function named 155 | // "tpl_getFavicon()". But its functionality is not really fitting the 156 | // behaviour of this template, therefore I don't use it here exclusively. 157 | if (file_exists(DOKU_TPLINC."user/favicon.ico")){ 158 | //user defined - you might find http://tools.dynamicdrive.com/favicon/ 159 | //useful to generate one 160 | echo "\n\n"; 161 | }elseif (file_exists(DOKU_TPLINC."user/favicon.png")){ 162 | //note: I do NOT recommend PNG for favicons (cause it is not supported by 163 | //all browsers). 164 | echo "\n\n"; 165 | }else{ 166 | //default 167 | echo "\n\n"; 168 | } 169 | 170 | //include default or userdefined Apple Touch Icon (see for 171 | //details) 172 | if (file_exists(DOKU_TPLINC."user/apple-touch-icon.png")){ 173 | echo "\n"; 174 | }else{ 175 | //default 176 | echo "\n"; 177 | } 178 | 179 | //load userdefined js? 180 | if (tpl_getConf("mnmlblog_loaduserjs") && file_exists(DOKU_TPLINC."user/user.js")){ 181 | echo "\n"; 182 | } 183 | ?> 184 | 185 | 186 | 187 | 188 | 189 |
    > 201 | 202 | 203 |
    204 | \"\"/\n"; 210 | }elseif (file_exists(DOKU_TPLINC."user/logo.gif")){ 211 | //user defined GIF 212 | echo ">\"\"/\n"; 213 | }elseif (file_exists(DOKU_TPLINC."user/logo.jpg")){ 214 | //user defined JPG 215 | echo ">\"\"/\n"; 216 | }else{ 217 | //default 218 | echo " class=\"tmpl_header_logo_txt\">".hsc($conf["title"])."\n"; 219 | } 220 | 221 | //show header navigation? 222 | if (tpl_getConf("mnmlblog_headernav")){ 223 | echo "\n
    \n"; 224 | //we have to show a custom navigation 225 | if (empty($conf["useacl"]) || 226 | auth_quickaclcheck(cleanID(tpl_getConf("mnmlblog_headernav_location")))){ //current user got access? 227 | //get the rendered content of the defined wiki article to use as custom navigation 228 | $interim = tpl_include_page(tpl_getConf("mnmlblog_headernav_location"), false); 229 | if ($interim === "" || 230 | $interim === false){ 231 | //show creation/edit link if the defined page got no content 232 | echo "[ "; 233 | tpl_pagelink(tpl_getConf("mnmlblog_headernav_location"), hsc($lang["mnmlblog_fillplaceholder"]." (".tpl_getConf("mnmlblog_headernav_location").")")); 234 | echo " ]
    "; 235 | }else{ 236 | //show the rendered page content 237 | echo $interim; 238 | } 239 | } 240 | if (tpl_getConf("mnmlblog_search") && 241 | tpl_getConf("mnmlblog_search_pos") === "headernav"){ 242 | echo "\n
    \n"; 243 | tpl_searchform(); 244 | echo "\n
    \n"; 245 | } 246 | echo "
    \n
    \n"; 247 | } 248 | ?> 249 |
    250 |
    251 | 252 | 253 | 254 | 255 |
    256 | 257 | 258 | 259 |
    > 260 |
    261 | 262 | 263 | 264 | 270 | 271 |
    272 | 273 | 274 |
    275 |
    276 | 277 | 281 | 282 | 283 |
    284 | \n"; 288 | //we have to show a custom navigation 289 | if (empty($conf["useacl"]) || 290 | auth_quickaclcheck(cleanID(tpl_getConf("mnmlblog_sidebarnav_location")))){ //current user got access? 291 | //get the rendered content of the defined wiki article to use as custom navigation 292 | $interim = tpl_include_page(tpl_getConf("mnmlblog_sidebarnav_location"), false); 293 | if ($interim === "" || 294 | $interim === false){ 295 | //show creation/edit link if the defined page got no content 296 | echo "[ "; 297 | tpl_pagelink(tpl_getConf("mnmlblog_sidebarnav_location"), hsc($lang["mnmlblog_fillplaceholder"]." (".tpl_getConf("mnmlblog_sidebarnav_location").")")); 298 | echo " ]
    "; 299 | }else{ 300 | //show the rendered page content 301 | echo $interim; 302 | } 303 | } 304 | echo "
    \n"; 305 | } 306 | ?> 307 | 308 | 309 | \n" 313 | ."
    ".hsc($lang["mnmlblog_search"])."
    \n" 314 | ."
    "; 315 | tpl_searchform(); 316 | echo "\n
    \n
    \n"; 317 | }?> 318 | 319 | \n "; 329 | if (tpl_getConf("mnmlblog_copyright_default")){ 330 | tpl_license(false); 331 | }else{ 332 | if (empty($conf["useacl"]) || 333 | auth_quickaclcheck(cleanID(tpl_getConf("mnmlblog_copyright_location")))){ //current user got access? 334 | //get the rendered content of the defined wiki article to use as custom notice 335 | $interim = tpl_include_page(tpl_getConf("mnmlblog_copyright_location"), false); 336 | if ($interim === "" || 337 | $interim === false){ 338 | //show creation/edit link if the defined page got no content 339 | echo "[ "; 340 | tpl_pagelink(tpl_getConf("mnmlblog_copyright_location"), hsc($lang["mnmlblog_fillplaceholder"]." (".tpl_getConf("mnmlblog_copyright_location").")")); 341 | echo " ]
    "; 342 | }else{ 343 | //show the rendered page content 344 | echo $interim; 345 | } 346 | } 347 | } 348 | echo "\n
    \n\n"; 349 | } 350 | ?> 351 | 352 |
    353 | 354 | 355 |
    356 | 357 | 435 | 436 | 437 | 438 |
    439 | 447 | 448 | 449 | 450 | 451 | --------------------------------------------------------------------------------