diff --git a/src/families.php b/src/families.php index 06495a0..dd86a3d 100644 --- a/src/families.php +++ b/src/families.php @@ -19,6 +19,7 @@ $smarty = new MySmarty(); $opt = $smarty->opt(); session_start(); +$haserror = false; if (!isset($_SESSION["userid"])) { header("Location: " . getFullPath("login.php")); exit; diff --git a/src/templates/categories.tpl b/src/templates/categories.tpl index 2307b9f..077988b 100644 --- a/src/templates/categories.tpl +++ b/src/templates/categories.tpl @@ -20,8 +20,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Test Gift Registry - Manage Categories - - + @@ -132,5 +131,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + diff --git a/src/templates/event.tpl b/src/templates/event.tpl index 2ea9d27..60c93e7 100644 --- a/src/templates/event.tpl +++ b/src/templates/event.tpl @@ -20,8 +20,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Test Gift Registry - Manage Events - - + @@ -177,5 +176,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + diff --git a/src/templates/families.tpl b/src/templates/families.tpl index f9eb297..aa03f82 100644 --- a/src/templates/families.tpl +++ b/src/templates/families.tpl @@ -20,8 +20,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Test Gift Registry - Manage Families - - + @@ -157,5 +156,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + diff --git a/src/templates/forgot.tpl b/src/templates/forgot.tpl index c4235cb..123fcab 100644 --- a/src/templates/forgot.tpl +++ b/src/templates/forgot.tpl @@ -20,8 +20,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Test Gift Registry - Forgot Password - - + @@ -86,5 +85,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA {/if} + diff --git a/src/templates/help.tpl b/src/templates/help.tpl index b841df6..192b6c4 100644 --- a/src/templates/help.tpl +++ b/src/templates/help.tpl @@ -109,7 +109,7 @@ window.open(appURL); --> - - + + diff --git a/src/templates/home.tpl b/src/templates/home.tpl index ea9d0af..3cf73eb 100644 --- a/src/templates/home.tpl +++ b/src/templates/home.tpl @@ -21,7 +21,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - + diff --git a/src/templates/item.tpl b/src/templates/item.tpl index 5924270..fc2e386 100644 --- a/src/templates/item.tpl +++ b/src/templates/item.tpl @@ -20,8 +20,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Test Gift Registry - Edit Item - - + @@ -254,5 +253,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + diff --git a/src/templates/login.tpl b/src/templates/login.tpl index 96558d2..c556f1b 100644 --- a/src/templates/login.tpl +++ b/src/templates/login.tpl @@ -20,8 +20,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Test Gift Registry - Login - - + @@ -97,5 +96,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + diff --git a/src/templates/message.tpl b/src/templates/message.tpl index 7e5a200..aaa8fa9 100644 --- a/src/templates/message.tpl +++ b/src/templates/message.tpl @@ -56,7 +56,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - + + diff --git a/src/templates/mylist.tpl b/src/templates/mylist.tpl index 377d393..9511fb0 100644 --- a/src/templates/mylist.tpl +++ b/src/templates/mylist.tpl @@ -86,7 +86,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - + + diff --git a/src/templates/navbar.tpl b/src/templates/navbar.tpl index 457f972..6343003 100644 --- a/src/templates/navbar.tpl +++ b/src/templates/navbar.tpl @@ -13,43 +13,55 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} +{* +Inspired from https://getbootstrap.com/docs/4.0/components/navbar/#supported-content +*} - + diff --git a/src/templates/profile.tpl b/src/templates/profile.tpl index 8b48428..ef768b4 100644 --- a/src/templates/profile.tpl +++ b/src/templates/profile.tpl @@ -21,8 +21,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Test Gift Registry - Update Profile - - + @@ -160,5 +159,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + diff --git a/src/templates/ranks.tpl b/src/templates/ranks.tpl index b96ce13..fb68419 100644 --- a/src/templates/ranks.tpl +++ b/src/templates/ranks.tpl @@ -20,8 +20,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Test Gift Registry - Manage Ranks - - + @@ -139,5 +138,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + diff --git a/src/templates/receive.tpl b/src/templates/receive.tpl index 6f629ba..f030392 100644 --- a/src/templates/receive.tpl +++ b/src/templates/receive.tpl @@ -20,8 +20,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Test Gift Registry - Receive an Item - - + @@ -94,5 +93,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + diff --git a/src/templates/shop.tpl b/src/templates/shop.tpl index 7402db1..6c78237 100644 --- a/src/templates/shop.tpl +++ b/src/templates/shop.tpl @@ -21,7 +21,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - + diff --git a/src/templates/shoplist.tpl b/src/templates/shoplist.tpl index dab8c99..d75eb00 100644 --- a/src/templates/shoplist.tpl +++ b/src/templates/shoplist.tpl @@ -81,7 +81,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - + + diff --git a/src/templates/signup.tpl b/src/templates/signup.tpl index ed005ad..db2d6ed 100644 --- a/src/templates/signup.tpl +++ b/src/templates/signup.tpl @@ -20,8 +20,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Test Gift Registry - Sign Up - - + @@ -152,5 +151,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA {/if} + diff --git a/src/templates/users.tpl b/src/templates/users.tpl index 3d786de..7c66707 100644 --- a/src/templates/users.tpl +++ b/src/templates/users.tpl @@ -20,8 +20,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Test Gift Registry - Manage Users - - + @@ -185,5 +184,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +