X-Git-Url: https://dev.renevier.net/gitweb.cgi?a=blobdiff_plain;f=inc%2Ftemplates_admin.php;h=7702b949b7408fd720eaf0f140b042af2e7e3fb1;hb=a1d1d319af15be975bde4695a3bfeb7d78ea0398;hp=814ca4566c362a5473478a46ebbe4c23fc981228;hpb=3b38ca36fc18d34999073625a9c66dc2f05747a3;p=syp.git diff --git a/inc/templates_admin.php b/inc/templates_admin.php index 814ca45..7702b94 100644 --- a/inc/templates_admin.php +++ b/inc/templates_admin.php @@ -2,11 +2,14 @@ /* Copyright (c) 2009 Arnaud Renevier, Inc, published under the modified BSD license. */ -require_once ("./inc/settings.php"); +$error = false; + +if (!@include_once ("./inc/settings.php")) { + $error = true; +} require_once ("./inc/db/mysql.php"); require_once ("./inc/utils.php"); -$error = false; try { $connection->connect (DBHOST, DBUSER, DBPWD, DBNAME, DBPREFIX); $usrtblexists = $connection->users_table_exists (); @@ -29,7 +32,7 @@ if (!$usrtblexists || !$itemstblexists) {

wizard.')?>

+ and go to wizard.')?>

", NotimageError: "", UnconsistentError: "", - UnknownError: "", DelSucces: "", - UpdateSucces: "" + UpdateSucces: "", + userPasswordmatchError: "", + changeSamePass: "", + changePassBadPass: "", + changePassSuccess: "", + newUserNonameError: "", + newUserExistsError: "", + newUserSuccess: "" }; var sypSettings = { @@ -96,7 +105,52 @@ if (!$usrtblexists || !$itemstblexists) { @@ -139,7 +193,7 @@ if (!$usrtblexists || !$itemstblexists) {

- + <?php ptrans('throbber')?>

@@ -170,7 +224,7 @@ if (!$usrtblexists || !$itemstblexists) {

- throbber + <?php ptrans('throbber')?>