-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
:fix doc: correction de l'affichage du fichier news.txt
- Loading branch information
Eric Quinton
committed
Feb 19, 2019
1 parent
4940007
commit d77a043
Showing
7 changed files
with
69 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,3 +98,6 @@ _minted* | |
# WinEdt | ||
*.bak | ||
*.sav | ||
/sonar-scanner.sh | ||
/.scannerwork/.sonar_lock | ||
/.scannerwork/report-task.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
|
||
<?php $fichier = file("param/news.txt"); | ||
$doc = ""; | ||
foreach ($fichier as $key => $value) { | ||
if (substr($value, 1, 1) == "*" or substr($value, 0, 1) == "*") { | ||
$doc .= " "; | ||
} | ||
if ($APPLI_utf8 == true) utf8_encode($value); | ||
$doc .= htmlentities($value) . "<br>"; | ||
} | ||
$smarty->assign("texteNews", $doc); | ||
$smarty->assign("corps", "documentation/quoideneuf.tpl"); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?php | ||
/** Fichier cree le 4 mai 07 par quinton | ||
* | ||
*UTF-8 | ||
*/ | ||
|
||
$APPLI_modeDeveloppement = false; | ||
$APPLI_modeDeveloppement == true ? $ERROR_display=1 : $_ERROR_display = 0; | ||
$ERROR_level = E_ERROR ; | ||
$ADODB_debugmode = 0; | ||
$OBJETBDD_debugmode = 1; | ||
$APPLI_utf8 = true; | ||
|
||
$ident_type = "LDAP-BDD"; | ||
/* | ||
* Parametres concernant la base de donnees | ||
*/ | ||
$BDD_login = "usact"; | ||
$BDD_passwd = "usactPassword"; | ||
$BDD_dsn = "pgsq:host=localhost;dbname=usact"; | ||
$BDD_schema = "usact"; | ||
|
||
/* | ||
* Rights management, logins and logs records database | ||
*/ | ||
$GACL_dblogin = "usact"; | ||
$GACL_dbpasswd = "usactPassword"; | ||
$GACL_aco = "usact"; | ||
$GACL_dsn = "pgsql:host=localhost;dbname=usact"; | ||
$GACL_schema = "gacl"; | ||
|
||
$APPLI_address = "http://localhost/usact"; | ||
$APPLI_mail = "[email protected]"; | ||
$APPLI_nom = "Usact"; | ||
$APPLI_code = 'usact'; | ||
|
||
|
||
$LDAPGROUP_address = "ldaps://ldap.societe.fr"; | ||
$LDAPGROUP_attributnomgroupe = "cn"; | ||
$LDAPGROUP_attributnomlogin = "memberuid"; | ||
$LDAPGROUP_basedngroup = "dc=societe,dc=fr"; | ||
$LDAP_address = "ldaps://ldap.societe.fr"; | ||
$LDAP_port = 636; | ||
$LDAP_basedn = "ou=people,dc=societe,dc=fr"; | ||
|
||
$paramIniFile = "./param.ini"; | ||
?> |