mirror of
https://github.com/YunoHost-Apps/opensondage_ynh.git
synced 2024-09-03 19:46:28 +02:00
[fix] About installation problem due to optional argument unsupported
This commit is contained in:
parent
361554e3c4
commit
a9f8ac95cd
2 changed files with 3 additions and 3 deletions
|
@ -51,14 +51,14 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "legal",
|
"name": "legal",
|
||||||
|
"optional" : "true",
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "Indicate a web page with legal information",
|
"en": "Indicate a web page with legal information",
|
||||||
"fr": "Indiquez la page où figure les mentions légales",
|
"fr": "Indiquez la page où figure les mentions légales",
|
||||||
"de": "Tragen Sie bitte die Website ein, wo man den Impressum finden kann."
|
"de": "Tragen Sie bitte die Website ein, wo man den Impressum finden kann."
|
||||||
},
|
},
|
||||||
"optional" : "true",
|
|
||||||
"example": "http://example.com",
|
"example": "http://example.com",
|
||||||
"default": ""
|
"default": "no"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "language",
|
"name": "language",
|
||||||
|
|
|
@ -101,7 +101,7 @@ echo '
|
||||||
</div>';
|
</div>';
|
||||||
}
|
}
|
||||||
echo '</div>'."\n";
|
echo '</div>'."\n";
|
||||||
if (URL_ABOUT && !is_empty(URL_ABOUT) && URL_ABOUT!='./apropos.php')
|
if (URL_ABOUT!='./apropos.php' && URL_ABOUT!='' && URL_ABOUT!='false' && URL_ABOUT!='no')
|
||||||
{
|
{
|
||||||
echo '<div class="row" style="text-align:center">'."\n";
|
echo '<div class="row" style="text-align:center">'."\n";
|
||||||
echo '<a href="'.URL_ABOUT.'">'._("About").'</a>';
|
echo '<a href="'.URL_ABOUT.'">'._("About").'</a>';
|
||||||
|
|
Loading…
Add table
Reference in a new issue