From d4621de80f08d7c1a01211d628c6228039d2c7fb Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sat, 22 Sep 2018 22:43:56 -0600 Subject: [PATCH] Update README.md --- README.md | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 0c4ab46..0dc4f2a 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,12 @@ Program Structure ----------------- ### Folders -* lang +* langs Translations and alert messages. - The language file that is loaded depends on the value of `LANGUAGE` in `settings.php`. - Translate the values (but not the keys) in `en_us.php` into other languages and save in appropriately named files to add languages. + The language files that are loaded depends on the value of `LANGUAGE` in `settings.php`. + All .json files in a language folder are parsed and loaded into the dictionary (use via `$Strings->get('some key')`). * lib - A good place to put helper functions that you don't want "in the way". + A good place to put helper functions that you don't want "in the way". All files that end with `.lib.php` are automatically loaded. * pages What it looks like. If you go into `pages.php` and define a page with the name `foo`, there should be a `foo.php` in here. The app checks before loading, so it will give a friendly 404 error if it doesn't find your page. @@ -29,13 +29,18 @@ Program Structure ### Files * settings.template.php App configuration. Copy to `settings.php` and customize. Documented with inline comments. +* app.php + Handles the web part of the app. If you have problems with too many items on the navbar, change `$navbar_breakpoint`. + To change the navbar colors, find and edit `