diff --git a/conf/default.php b/conf/default.php index 417a7e1..102ef3b 100755 --- a/conf/default.php +++ b/conf/default.php @@ -4,6 +4,8 @@ * */ +$conf['logo'] = 'logo.png'; + $conf['discussionPage'] = 'discussion:@ID@'; $conf['userPage'] = 'user:@USER@:'; $conf['hideTools'] = 0; diff --git a/conf/metadata.php b/conf/metadata.php index 9a62ec3..8ca9404 100755 --- a/conf/metadata.php +++ b/conf/metadata.php @@ -4,6 +4,8 @@ * */ +$meta['logo'] = array('string'); + $meta['discussionPage'] = array('string'); $meta['userPage'] = array('string'); $meta['hideTools'] = array('onoff'); diff --git a/css/area_nav-usertools.less b/css/area_nav-usertools.less index bcbadcd..0b19a1d 100644 --- a/css/area_nav-usertools.less +++ b/css/area_nav-usertools.less @@ -7,6 +7,7 @@ .nav-usertools { ul{ float: right; + padding: 0; margin: .2rem 0 0 0; li{ display: inline-block; float: right; diff --git a/images/logo.png b/images/logo.png deleted file mode 100644 index 662f7ab..0000000 Binary files a/images/logo.png and /dev/null differ diff --git a/lang/de/lang.php b/lang/de/lang.php index 4479980..8145edc 100755 --- a/lang/de/lang.php +++ b/lang/de/lang.php @@ -5,20 +5,24 @@ * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) */ -$lang['direct_prefix'] = 'Direkt'; -$lang['direct_content_main'] = 'Hauptinhalt dieser Seite'; -$lang['direct_menu_main'] = 'Hauptmenü'; +$lang['direct_prefix'] = 'Direkt'; +$lang['direct_content_main'] = 'Hauptinhalt dieser Seite'; +$lang['direct_menu_main'] = 'Hauptmenü'; -$lang['nav-area-head'] = 'Navigationsmenüs und Suche'; -$lang['head_magic_matcher'] = 'MagicMatcher'; +$lang['adjunct_start_logo_text'] = 'Logo: '; +$lang['adjunct_linked_logo_text'] = '. Link zur Startseite'; +$lang['nav-area-head'] = 'Navigationsmenüs und Suche'; +$lang['head_magic_matcher'] = 'MagicMatcher'; +$lang['head_quick_search'] = 'wikiübergreifende Schnellsuche'; +$lang['head_menu_main'] = 'Hauptmenü'; -$lang['discussion'] = 'Diskussion'; -$lang['back_to_article'] = 'Zurück zum Artikel'; -$lang['userpage'] = 'Benutzer-Seite'; -$lang['__existing__'] = 'The color for links to existing pages'; -$lang['__missing__'] = 'The color for links to non-existing pages'; -$lang['__site_width__'] = 'The width of the full site (can be any length unit: %, px, em, ...)'; -$lang['__sidebar_width__'] = 'The width of the sidebar, if any (can be any length unit: %, px, em, ...)'; +$lang['discussion'] = 'Diskussion'; +$lang['back_to_article'] = 'Zurück zum Artikel'; +$lang['userpage'] = 'Benutzer-Seite'; +$lang['__existing__'] = 'The color for links to existing pages'; +$lang['__missing__'] = 'The color for links to non-existing pages'; +$lang['__site_width__'] = 'The width of the full site (can be any length unit: %, px, em, ...)'; +$lang['__sidebar_width__'] = 'The width of the sidebar, if any (can be any length unit: %, px, em, ...)'; //Setup VIM: ex: et ts=2 : diff --git a/lang/en/lang.php b/lang/en/lang.php index a961924..6f81d58 100755 --- a/lang/en/lang.php +++ b/lang/en/lang.php @@ -4,17 +4,22 @@ * */ -$lang['direct_prefix'] = 'jump to'; -$lang['direct_content_main'] = 'main content'; -$lang['direct_menu_main'] = 'main menu'; +$lang['direct_prefix'] = 'jump to'; +$lang['direct_content_main'] = 'main content'; +$lang['direct_menu_main'] = 'main menu'; -$lang['nav-area-head'] = 'menus and quick search'; -$lang['head_magic_matcher'] = 'MagicMatcher'; +$lang['adjunct_start_logo_text'] = 'Logo: '; +$lang['adjunct_linked_logo_text'] = '. homepage link'; -$lang['discussion'] = 'Discussion'; -$lang['back_to_article'] = 'Back to article'; -$lang['userpage'] = 'User page'; -$lang['__existing__'] = 'The color for links to existing pages'; -$lang['__missing__'] = 'The color for links to non-existing pages'; -$lang['__site_width__'] = 'The width of the full site (can be any length unit: %, px, em, ...)'; -$lang['__sidebar_width__'] = 'The width of the sidebar, if any (can be any length unit: %, px, em, ...)'; +$lang['nav-area-head'] = 'menus and quick search'; +$lang['head_magic_matcher'] = 'MagicMatcher'; +$lang['head_quick_search'] = 'quick search'; +$lang['head_menu_main'] = 'main menu'; + +$lang['discussion'] = 'Discussion'; +$lang['back_to_article'] = 'Back to article'; +$lang['userpage'] = 'User page'; +$lang['__existing__'] = 'The color for links to existing pages'; +$lang['__missing__'] = 'The color for links to non-existing pages'; +$lang['__site_width__'] = 'The width of the full site (can be any length unit: %, px, em, ...)'; +$lang['__sidebar_width__'] = 'The width of the sidebar, if any (can be any length unit: %, px, em, ...)'; diff --git a/main.php b/main.php index fe464fc..a7f99ed 100755 --- a/main.php +++ b/main.php @@ -79,10 +79,13 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show'); ?> - - + + +
- - - -
+
+ + + +

+ +
+
+
+
+ + + + + +
+
+
+
+ +
+ +
+ + + + + +
+ +
+ + +
+ +
+ +
+
+
+
+ + + +
+
+
+
+ -
-
-
- -
-

- ','id="dokuwiki__top" accesskey="h" title="[H]"') */ ?> - -

- + include('tpl/nav-usertools.php'); -
-
+/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ +/* Include Hook: header.html */ +/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ + tpl_includeFile('header.html'); + ?> -
- - -
-

- -
    - tpl_action('recent', 1, 'li', 1), - 'media' => tpl_action('media', 1, 'li', 1), - 'index' => tpl_action('index', 1, 'li', 1), - )); ?> -
-
- -
-
- - - - - - - - - -
-
-
+ + + +
- - -
- - - -
-
- +
diff --git a/tpl/main-sidebar-logo.php b/tpl/main-sidebar-logo.php new file mode 100644 index 0000000..a47255f --- /dev/null +++ b/tpl/main-sidebar-logo.php @@ -0,0 +1,13 @@ +'; + + /* homepage logo should not link to itself (BITV accessibility requirement) */ + if (strcmp(wl(), $_SERVER['REQUEST_URI']) === 0 ){ + echo ''.tpl_getLang('adjunct_start_logo_text').$conf['title'].''; + } else{ + tpl_link( wl(),''.$conf['title'].tpl_getLang('adjunct_linked_logo_text').'','accesskey="h" title="[H]"' ); + + } + echo "
"; diff --git a/tpl/main-sidebar-search.php b/tpl/main-sidebar-search.php new file mode 100644 index 0000000..2088c41 --- /dev/null +++ b/tpl/main-sidebar-search.php @@ -0,0 +1,5 @@ +'.tpl_getLang('head_quick_search').''; + + tpl_searchform(); diff --git a/tpl/nav-direct.php b/tpl/nav-direct.php index 3b3c74e..8bf91c0 100644 --- a/tpl/nav-direct.php +++ b/tpl/nav-direct.php @@ -10,9 +10,9 @@

: - / - / - + / + / +

diff --git a/tpl/nav-main.php b/tpl/nav-main.php new file mode 100644 index 0000000..0f62471 --- /dev/null +++ b/tpl/nav-main.php @@ -0,0 +1,7 @@ + + diff --git a/tpl/nav-sitetools.php b/tpl/nav-sitetools.php new file mode 100644 index 0000000..7bbc513 --- /dev/null +++ b/tpl/nav-sitetools.php @@ -0,0 +1,15 @@ + +