Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
2a05f6d7
Commit
2a05f6d7
authored
19 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Trad: Traduction et uniformisation page setup module rss
parent
a7791afa
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
htdocs/admin/external_rss.php
+102
-122
102 additions, 122 deletions
htdocs/admin/external_rss.php
htdocs/langs/en_US/admin.lang
+4
-1
4 additions, 1 deletion
htdocs/langs/en_US/admin.lang
htdocs/langs/fr_FR/admin.lang
+3
-0
3 additions, 0 deletions
htdocs/langs/fr_FR/admin.lang
with
109 additions
and
123 deletions
htdocs/admin/external_rss.php
+
102
−
122
View file @
2a05f6d7
...
@@ -144,41 +144,27 @@ if ($_POST["modify"])
...
@@ -144,41 +144,27 @@ if ($_POST["modify"])
llxHeader
();
llxHeader
();
print_fiche_titre
(
"Configuration des imports de flux RSS"
,
$mesg
);
print_fiche_titre
(
$langs
->
trans
(
"ExternalRSSSetup"
),
$mesg
);
print
'<form name="externalrssconfig" action="external_rss.php" method="post">'
;
print
'<table class="noborder" width="100%">'
;
print
'<tr class="liste_titre">'
;
print
'<td colspan="2">'
.
$langs
->
trans
(
"NewRSS"
)
.
'</td>'
;
print
'<td>'
.
$langs
->
trans
(
"Example"
)
.
'</td>'
;
print
'</tr>'
;
print
'<tr class="impair">'
;
print
'<td width="100">'
.
$langs
->
trans
(
"Title"
)
.
'</td>'
;
print
'<td><input type="text" name="external_rss_title_'
.
$nbexternalrss
.
'" value="'
.
@
constant
(
"EXTERNAL_RSS_TITLE_"
.
$nbexternalrss
)
.
'" size="45"></td>'
;
print
'<td>April,<br>LinuxFR,<br>Lolix,<br>Parinux</td>'
;
print
'</tr>'
;
?>
?>
<tr
class=
"pair"
>
Attention, pour la rcupration des donnes au format RSS, les urls en https ne marchent pas pour l'instant.
Exemples:
<ul>
<li>
WikiApril / http://wiki.april.org / http://wiki.april.org/RecentChanges?format=rss (et tous les sites phpwiki)
</li>
<li>
LinuxFR / http://linuxfr.org / http://www.linuxfr.org/backend.rss
</li>
<li>
WikiInterneRycks / ../wiki / ../wiki/RecentChanges?format=rss (ne marche pas, je suis en https et en plus y a un apache_auth)
</li>
<li>
LoLix / http://back.fr.lolix.org/ / http://back.fr.lolix.org/jobs.rss.php3
</li>
<li>
Parinux / http://parinux.org/ / http://parinux.org/backend.rss
</li>
<li>
Docs d'Abuldu / http://docs.abuledu.org / http://docs.abuledu.org/backend.php3 (et tous les sites spip)
</li>
</ul>
<form
name=
"externalrssconfig"
action=
"external_rss.php"
method=
"post"
>
<table
class=
"border"
cellpadding=
"2"
cellspacing=
"0"
>
<tr
class=
"liste_titre"
>
<td
colspan=
"2"
>
Syndication d'un nouveau flux RSS
</td>
</tr>
<tr>
<td>
Titre
</td>
<td><input
type=
"text"
name=
"external_rss_title_
<?php
echo
$nbexternalrss
?>
"
value=
"
<?php
echo
@
constant
(
"EXTERNAL_RSS_TITLE_"
.
$nbexternalrss
)
?>
"
size=
"45"
></td>
</tr>
<!--
<tr>
<td>URL du site</td>
<td><input type="text" name="external_rss_url_
<?php
echo
$nbexternalrss
?>
" value="
<?php
echo
@
constant
(
'EXTERNAL_RSS_URL_'
.
$nbexternalrss
)
?>
" size="45"></td>
</tr>
-->
<tr>
<td>
URL du RSS
</td>
<td>
URL du RSS
</td>
<td><input
type=
"text"
name=
"external_rss_urlrss_
<?php
echo
$nbexternalrss
?>
"
value=
"
<?php
echo
@
constant
(
"EXTERNAL_RSS_URLRSS_"
.
$nbexternalrss
)
?>
"
size=
"45"
></td>
<td><input
type=
"text"
name=
"external_rss_urlrss_
<?php
echo
$nbexternalrss
?>
"
value=
"
<?php
echo
@
constant
(
"EXTERNAL_RSS_URLRSS_"
.
$nbexternalrss
)
?>
"
size=
"45"
></td>
<td>
http://wiki.april.org/RecentChanges?format=rss,
<br>
http://www.linuxfr.org/backend.rss,
<br>
http://back.fr.lolix.org/jobs.rss.php3,
<br>
http://parinux.org/backend.rss
</td>
</tr>
</tr>
<tr><td
colspan=
"
2
"
>
<tr><td
colspan=
"
3"
align=
"center
"
>
<input
type=
"submit"
value=
"
<?php
echo
$langs
->
trans
(
"Add"
)
?>
"
>
<input
type=
"submit"
value=
"
<?php
echo
$langs
->
trans
(
"Add"
)
?>
"
>
<input
type=
"hidden"
name=
"action"
value=
"add"
>
<input
type=
"hidden"
name=
"action"
value=
"add"
>
<input
type=
"hidden"
name=
"norss"
value=
"
<?php
echo
$nbexternalrss
?>
"
>
<input
type=
"hidden"
name=
"norss"
value=
"
<?php
echo
$nbexternalrss
?>
"
>
...
@@ -189,7 +175,7 @@ Exemples:<ul>
...
@@ -189,7 +175,7 @@ Exemples:<ul>
<br>
<br>
<table
class=
"border"
cellpadding=
"3"
cellspacing=
"0
"
>
<table
class=
"
no
border"
width=
"100%
"
>
<?php
<?php
...
@@ -198,22 +184,16 @@ for($i = 0; $i < $nbexternalrss; $i++) {
...
@@ -198,22 +184,16 @@ for($i = 0; $i < $nbexternalrss; $i++) {
<form name=
\"
externalrssconfig
\"
action=
\"
external_rss.php
\"
method=
\"
post
\"
>
<form name=
\"
externalrssconfig
\"
action=
\"
external_rss.php
\"
method=
\"
post
\"
>
<td colspan=
\"
2
\"
>Syndication du flux numro "
.
(
$i
+
1
)
.
"</td>
<td colspan=
\"
2
\"
>Syndication du flux numro "
.
(
$i
+
1
)
.
"</td>
</tr>
</tr>
<tr>
<tr
class=
\"
impair
\"
>
<td>Titre</td>
<td
width=
\"
100
\"
>Titre</td>
<td><input type=
\"
text
\"
name=
\"
external_rss_title_"
.
$i
.
"
\"
value=
\"
"
.
@
constant
(
"EXTERNAL_RSS_TITLE_"
.
$i
)
.
"
\"
size=
\"
45
\"
></td>
<td><input type=
\"
text
\"
name=
\"
external_rss_title_"
.
$i
.
"
\"
value=
\"
"
.
@
constant
(
"EXTERNAL_RSS_TITLE_"
.
$i
)
.
"
\"
size=
\"
45
\"
></td>
</tr>
</tr>
<!--
<tr class=
\"
pair
\"
>
<tr>
<td>URL du site</td>
<td><input type=
\"
text
\"
name=
\"
external_rss_url_"
.
$i
.
"
\"
value=
\"
"
.
@
constant
(
"EXTERNAL_RSS_URL_"
.
$i
)
.
"
\"
size=
\"
45
\"
></td>
</tr>
-->
<tr>
<td>URL du RSS</td>
<td>URL du RSS</td>
<td><input type=
\"
text
\"
name=
\"
external_rss_urlrss_"
.
$i
.
"
\"
value=
\"
"
.
@
constant
(
"EXTERNAL_RSS_URLRSS_"
.
$i
)
.
"
\"
size=
\"
45
\"
></td>
<td><input type=
\"
text
\"
name=
\"
external_rss_urlrss_"
.
$i
.
"
\"
value=
\"
"
.
@
constant
(
"EXTERNAL_RSS_URLRSS_"
.
$i
)
.
"
\"
size=
\"
45
\"
></td>
</tr>
</tr>
<tr>
<tr>
<td colspan=
\"
2
\"
>
<td colspan=
\"
2
\"
align=
\"
center
\"
>
<input type=
\"
submit
\"
name=
\"
modify
\"
value=
\"
"
.
$langs
->
trans
(
"Modify"
)
.
"
\"
>
<input type=
\"
submit
\"
name=
\"
modify
\"
value=
\"
"
.
$langs
->
trans
(
"Modify"
)
.
"
\"
>
<input type=
\"
submit
\"
name=
\"
delete
\"
value=
\"
"
.
$langs
->
trans
(
"Delete"
)
.
"
\"
>
<input type=
\"
submit
\"
name=
\"
delete
\"
value=
\"
"
.
$langs
->
trans
(
"Delete"
)
.
"
\"
>
<input type=
\"
hidden
\"
name=
\"
norss
\"
value=
\"
$i
\"
>
<input type=
\"
hidden
\"
name=
\"
norss
\"
value=
\"
$i
\"
>
...
@@ -231,6 +211,6 @@ for($i = 0; $i < $nbexternalrss; $i++) {
...
@@ -231,6 +211,6 @@ for($i = 0; $i < $nbexternalrss; $i++) {
$db
->
close
();
$db
->
close
();
llxFooter
();
llxFooter
(
'$Date$ - $Revision$'
);
?>
?>
This diff is collapsed.
Click to expand it.
htdocs/langs/en_US/admin.lang
+
4
−
1
View file @
2a05f6d7
...
@@ -337,3 +337,6 @@ PaperFormatModule=Print' format module
...
@@ -337,3 +337,6 @@ PaperFormatModule=Print' format module
BarcodeEncodeModule=Barcode' encodage type
BarcodeEncodeModule=Barcode' encodage type
##### Prelevements #####
##### Prelevements #####
WithdrawalsSetup=Withdrawal setup
WithdrawalsSetup=Withdrawal setup
##### ExternalRSS #####
ExternalRSSSetup=External RSS imports setup
NewRSS=New RSS
\ No newline at end of file
This diff is collapsed.
Click to expand it.
htdocs/langs/fr_FR/admin.lang
+
3
−
0
View file @
2a05f6d7
...
@@ -338,3 +338,6 @@ BarcodeEncodeModule=Types d'encodages des codes barres
...
@@ -338,3 +338,6 @@ BarcodeEncodeModule=Types d'encodages des codes barres
BarcodeEncodeModule=Modules d'encodage des codes barres
BarcodeEncodeModule=Modules d'encodage des codes barres
##### Prelevements #####
##### Prelevements #####
WithdrawalsSetup=Configuration du module prélèvement
WithdrawalsSetup=Configuration du module prélèvement
##### ExternalRSS #####
ExternalRSSSetup=Configuration des imports de flux RSS
NewRSS=Syndication d'un nouveau flux RSS
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment