diff --git a/conf/constants.php.template b/conf/constants.php.template index 4b38548..c7216d6 100644 --- a/conf/constants.php.template +++ b/conf/constants.php.template @@ -50,6 +50,9 @@ const BASE_TYPE = 'mysql'; // Default Language using POSIX variant of BC P47 standard (choose in $ALLOWED_LANGUAGES) const LANGUE = 'I18NTOCHANGE'; +// Database password +const URL_ABOUT = 'yunoabout'; + // List of supported languages, fake constant as arrays can be used as constants only in PHP >=5.6 $ALLOWED_LANGUAGES = [ 'fr_FR' => 'Français', diff --git a/manifest.json b/manifest.json index 6d40e1e..5d80e3c 100644 --- a/manifest.json +++ b/manifest.json @@ -57,7 +57,7 @@ "de": "Tragen Sie bitte die Website ein, wo man den Impressum finden kann." }, "example": "http://example.com", - "default": "./apropos.php" + "default": "" }, { "name": "language", diff --git a/scripts/install b/scripts/install index 3c912f8..4ed0baf 100644 --- a/scripts/install +++ b/scripts/install @@ -49,7 +49,7 @@ sudo sed -i "s/yunoadmin/$admin/g" $final_path/app/inc/constants.php sudo sed -i "s/I18NTOCHANGE/$language/g" $final_path/app/inc/constants.php sudo sed -i "s@yunourl@$domain$path@g" $final_path/app/inc/constants.php sudo sed -i "s@yunodomain@$domain@g" $final_path/app/inc/constants.php -sudo sed -i "s@yunoinfolegal@$legal@g" $final_path/app/inc/constants.php +sudo sed -i "s@yunoabout@$legal@g" $final_path/app/inc/constants.php # Create log file touch $final_path/admin/logs_studs.txt diff --git a/scripts/upgrade b/scripts/upgrade index 092d3b0..9417025 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -48,7 +48,7 @@ sudo sed -i "s/yunoadmin/$admin/g" $final_path/app/inc/constants.php sudo sed -i "s/I18NTOCHANGE/$language/g" $final_path/app/inc/constants.php sudo sed -i "s@yunourl@$domain$path@g" $final_path/app/inc/constants.php sudo sed -i "s@yunodomain@$domain@g" $final_path/app/inc/constants.php -sudo sed -i "s@yunoinfolegal@$legal@g" $final_path/app/inc/constants.php +sudo sed -i "s@yunoabout@$legal@g" $final_path/app/inc/constants.php # Create log file sudo cp ../conf/logs_studs.txt $final_path/admin/ diff --git a/sources/images/logo.png b/sources/images/logo.png index 8cee645..f43b902 100644 Binary files a/sources/images/logo.png and b/sources/images/logo.png differ diff --git a/sources/index.php b/sources/index.php index 6fed009..3fe0640 100644 --- a/sources/index.php +++ b/sources/index.php @@ -61,7 +61,7 @@ echo ' echo '

'. _('What is that?') . '

-

'. _('Framadate is an online service for planning an appointment or make a decision quickly and easily. No registration is required.') .'

+

'. str_replace('Framadate',NOMAPPLICATION,_('Framadate is an online service for planning an appointment or make a decision quickly and easily. No registration is required.')) .'

'. _('Here is how it works:') . '

  1. '. _('Make a poll') . '
  2. @@ -101,5 +101,10 @@ echo '
'; } echo ''."\n"; - + if (URL_ABOUT && !is_empty(URL_ABOUT) && URL_ABOUT!='./apropos.php') + { + echo '
'."\n"; + echo ''._("About").''; + echo '
'."\n"; + } bandeau_pied();