Skip to content

Commit

Permalink
soon ready for release...
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Lepel <simbo@simbo.de>
  • Loading branch information
simbo committed Jan 1, 2012
1 parent e372782 commit 0723dc1
Show file tree
Hide file tree
Showing 65 changed files with 19,627 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .gitignore
@@ -0,0 +1,14 @@
Material
Material/*
Material/**/*
img/*
img/**/*
*.mwb.bak
/rda-data/assets.xml
/rda-data/eng/guids.txt
/rda-data/eng/icons.txt
/rda-data/ger/guids.txt
/rda-data/ger/icons.txt
/rda-data/icons.xml
/rda-data/properties.xml
/rda-data/templates.xml
17 changes: 17 additions & 0 deletions .htaccess
@@ -0,0 +1,17 @@
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
AddType application/vnd.ms-fontobject eot
AddType font/truetype ttf
AddType font/opentype otf
AddType application/x-font-woff woff
AddType image/x-icon ico

AddDefaultCharset utf-8
AddCharset utf-8 .html .css .js .xml .json .rss .php

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
</IfModule>
Binary file added anno2070rechner.mwb
Binary file not shown.
1 change: 1 addition & 0 deletions conf/.htaccess
@@ -0,0 +1 @@
Deny from all
7 changes: 7 additions & 0 deletions conf/i18n.ini
@@ -0,0 +1,7 @@
[de]
name = "Deutsch"
locale = "de_DE.utf8"

[en]
name = "English"
locale = "en_US.utf8"
4 changes: 4 additions & 0 deletions conf/mysql.ini
@@ -0,0 +1,4 @@
server = "localhost"
database = "anno2070rechner"
user = "anno2070rechner"
password = "anno2070rechner"
26 changes: 26 additions & 0 deletions conf/pagegroups.ini
@@ -0,0 +1,26 @@
; Die Eigenschaften einer Seitengruppe werden an die zugeordneten Seiten vererbt.
;
; [foo] ID der Gruppe (a-z,A-Z,0-9,-,_)
;
; tpl_before = "template_head" Template Datei im Ordner "tpl" ohne Endung ".php"
; tpl_after = "template_foot"
; oder
; tpl_before[] = "template_foo_head" mehrere Templates
; tpl_before[] = "template_bar_head" werden der Reihenfolge nach eingebunden
; tpl_after[] = "template_foo_foot"
; tpl_after[] = "template_bar_foot"
;
; right = "foo" erforderliches Recht
; oder
; right[] = "foo" mehrere Rechte
; right[] = "bar"
;
; parent = "bar" ID einer Gruppe deren Eigenschaften geerbt werden

[global]
tpl_before = "global-header"
tpl_after = "global-footer"

[global-json]
type = "json"

90 changes: 90 additions & 0 deletions conf/pages.ini
@@ -0,0 +1,90 @@
; [foo/bar] ID der Seite; gleichzeitig URL-Part; IDs die mit einer Raute beginnen sind Meta-Seiten (z.B. Errorseiten) und unter mehreren URLs erreichbar
;
; title = "Seitentitel" Titel der Seite; default: ""
; type = "json" Seitentyp: "html", "json" oder "redirect"; default: "html"
;
; tpl = "template" Template Datei im Ordner "tpl" ohne Endung ".php"
; oder
; tpl[] = "template_foo" mehrere Templates
; tpl[] = "template_bar" werden der Reihenfolge nach eingebunden
; oder
; redirect = "bar/foo" bei Typ "redirect"; Weiterleitung auf Seite mit ID "bar/foo"
; permanent = true bei Typ "redirect"; true: Permanent Redirect (301); false: Temporary Redirect (307); default: false
;
; group = "foo" Seitengruppen, default: "global"
; oder
; group[] = "foor" mehrere Gruppen
; group[] = "bar"
;
; right = "foo" erforderliches Recht
; oder
; right[] = "foo" mehrere Rechte
; right[] = "bar"

[#home]
title = "Startseite"
tpl = "home"

[#404]
title = "Seite nicht gefunden"
tpl = "404"

[#no-rights]
title = "Keine Berechtigung"
tpl = "no-rights"

[register]
title = "Registrieren"
tpl = "register"

[login]
title = "Anmelden"
tpl = "login"

[logout]
title = "Abmelden"
tpl = "logout"

[account]
title = "Benutzerkonto"
tpl = "account"
right = "login"

[change-email]
title = "E-Mailadresse ändern"
tpl = "change-email"

[password-lost]
title = "Zugangsdaten wiederherstellen"
tpl = "password-lost"

[resend-activation]
title = "Benutzerkonto aktivieren"
tpl = "resend-activation"

[rda-import]
title = "Daten importieren"
tpl = "rda-import"
right = "admin"

[saved-data]
title = "Gespeicherte Daten"
tpl = "saved-data"
right = "login"

[population]
title = "Bev&ouml;lkerung"
tpl = "population"

[commoditychains]
title = "Produktionsketten"
tpl = "commoditychains"

[database]
title = "Datenbank"
tpl = "database"

[search-autocomplete]
tpl = "search-autocomplete"
group = "global-json"

26 changes: 26 additions & 0 deletions conf/site.ini
@@ -0,0 +1,26 @@

; Title
title = "Anno 2070 Rechner"

; Version
version = "0.2"

; URL
url = "http://anno2070rechner.de"

; E-Mail
email = "post@anno2070rechner.de"

; Default group for pages
default_pagegroup = "global"

; Debug Mode
debug_mode = true

; new User Registrations
registrations = true

; reCaptcha keys
recaptcha_private = "6Ld4yMoSAAAAACAui6LUwrcxMIpSM5W3dLnRPa0_"
recaptcha_public = "6Ld4yMoSAAAAAEwpdEouC2yh9EU-iUOQv-CpZA3D"

109 changes: 109 additions & 0 deletions css/base.css
@@ -0,0 +1,109 @@
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}

blockquote, q {
quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}

del {
text-decoration: line-through;
}

abbr[title], dfn[title] {
border-bottom: 1px dotted;
cursor: help;
}

html {
overflow-y: scroll;
}

a, a:link, a:visited, a:hover, a:active {
outline: none;
}

small {
font-size: 85%;
}

ul,ol {
list-style-type:none;
}

strong {
font-weight: bold;
}

td {
vertical-align: top;
}

sub, sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}

sup {
top: -0.5em;
}

sub {
bottom: -0.25em;
}

pre, code {
font-family:monospace;
}

textarea {
overflow: auto;
}

input[type="radio"] {
vertical-align: text-bottom;
}

input[type="checkbox"] {
vertical-align: bottom;
}

input[type="button"], input[type="submit"], input[type="image"], button {
cursor: pointer;
}

button, input, select, textarea {
margin: 0;
}

button {
width: auto;
overflow: visible;
}

0 comments on commit 0723dc1

Please sign in to comment.