Skip to content

Commit

Permalink
Added startpage
Browse files Browse the repository at this point in the history
  • Loading branch information
RexDude committed Nov 19, 2015
1 parent 0833bee commit 12e8fe4
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Navigation Factory - Changelog
==============================

### Version 1.0.1 DEV

* Update: Addon sollte reinstalliert werden, damit das Logo sichtbar wird :)
* Neu: Startseite mit Logo hinzugefügt

### Version 1.0.0 - 18. November 2015

* Geändert: Klasse `nav42` umbenannt und aufgeteilt in die Klassen `rex_nav`, `rex_lang_nav` und `rex_breadcrumb_nav`
Expand Down
5 changes: 3 additions & 2 deletions config.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// init addon
$REX['ADDON']['name']['navigation_factory'] = 'Navigation Factory';
$REX['ADDON']['page']['navigation_factory'] = 'navigation_factory';
$REX['ADDON']['version']['navigation_factory'] = '1.0.0';
$REX['ADDON']['version']['navigation_factory'] = '1.0.1 DEV';
$REX['ADDON']['author']['navigation_factory'] = 'RexDude';
$REX['ADDON']['supportpage']['navigation_factory'] = 'forum.redaxo.org';
$REX['ADDON']['perm']['navigation_factory'] = 'navigation_factory[]';
Expand All @@ -24,7 +24,8 @@
if ($REX['REDAXO']) {
// add subpages
$REX['ADDON']['navigation_factory']['SUBPAGES'] = array(
array('', $I18N->msg('navigation_factory_codeexamples')),
array('', $I18N->msg('navigation_factory_start')),
array('codeexamples', $I18N->msg('navigation_factory_codeexamples')),
array('help', $I18N->msg('navigation_factory_help'))
);

Expand Down
Binary file added files/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions lang/de_de.lang
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
navigation_factory_addon_help = Erweitere und modifizierte rex_navigation Klasse mit Zusatzfunktionen.

navigation_factory_start = Start
navigation_factory_codeexamples = Codebeispiele
navigation_factory_help = Hilfe

navigation_factory_start_title = Navigation Factory für REDAXO

navigation_factory_codeexamples_chapter_rex_nav = Hauptnavigation
navigation_factory_codeexamples_chapter_rex_lang_nav = Sprachnavigation
navigation_factory_codeexamples_chapter_rex_breadcrumb_nav = Breadcrumb Navigation
Expand Down
2 changes: 1 addition & 1 deletion pages/index.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

// if no subpage specified, use this one
if ($subpage == '') {
$subpage = 'codeexamples';
$subpage = 'start';
}

// layout top
Expand Down
7 changes: 7 additions & 0 deletions pages/start.inc.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<div class="rex-addon-output">
<h2 class="rex-hl2"><?php echo $I18N->msg('navigation_factory_start_title'); ?></h2>
<div class="rex-area-content">
<p class="logo"><img src="../<?php echo $REX['MEDIA_ADDON_DIR']; ?>/navigation_factory/logo.png" width="220" height="270" alt="" /></p>
<br />
</div>
</div>

0 comments on commit 12e8fe4

Please sign in to comment.