Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
zaide
Resize
Commits
404774b6
Commit
404774b6
authored
Nov 12, 2012
by
Zéfling
Browse files
Premier modif de 0.8.4
parent
9c35d101
Changes
5
Hide whitespace changes
Inline
Side-by-side
index.php
View file @
404774b6
...
...
@@ -130,7 +130,7 @@ include_once('procedure.php');
<label
for=
"dossier_source"
>
Source :
</label>
<input
type=
"text"
value=
"
<?php
echo
$dossier_source
?>
"
id=
"dossier_source"
name=
"dossier_source"
size=
"50"
/>
<input
type=
"text"
value=
"
<?php
echo
$dossier_source
?>
"
id=
"dossier_source"
name=
"dossier_source"
size=
"50"
/>
<input
type=
"button"
id=
"dossier_source_parcourir"
class=
"parcourir"
value=
"Parcourir"
/>
</div>
<div
id=
"ln_dossier_source_filtre"
>
<label
for=
"dossier_source_filtre"
>
...
...
@@ -158,7 +158,7 @@ include_once('procedure.php');
<label
for=
"dossier_cible"
>
Cible :
</label>
<input
type=
"text"
value=
"
<?php
echo
$dossier_cible
?>
"
id=
"dossier_cible"
name=
"dossier_cible"
size=
"50"
/>
<input
type=
"text"
value=
"
<?php
echo
$dossier_cible
?>
"
id=
"dossier_cible"
name=
"dossier_cible"
size=
"50"
/>
<input
type=
"button"
id=
"dossier_source_parcourir"
class=
"parcourir"
value=
"Parcourir"
/>
</div>
</fieldset>
</div>
...
...
logs.html
View file @
404774b6
...
...
@@ -12,6 +12,9 @@
<h2>
Version 0.8
</h2>
<h3>
Version 0.8.4
</h3>
<div>
- xxx
</div>
<h3>
Version 0.8.3 (10/11/2012)
</h3>
<div>
- Ajout de compteurs numériques « :num1: », suppression des « %0xd ».
</div>
<div>
- Remplace « %s » par « :nom: ».
</div>
...
...
procedure.php
View file @
404774b6
...
...
@@ -17,95 +17,93 @@ $numDépart = array();
$numTaille
=
array
();
$numPas
=
array
();
if
(
isset
(
$defaut
))
{
// Nombre
for
(
$i
=
1
;
$i
<=
NOMBRE_NUM
;
$i
++
)
{
$numDépart
[
$i
]
=
isset
(
$defaut
[
'numDépart'
][
$i
])
&&
is_numeric
(
$defaut
[
'numDépart'
][
$i
])
?
$defaut
[
'numDépart'
][
$i
]
:
1
;
$numTaille
[
$i
]
=
isset
(
$defaut
[
'numTaille'
][
$i
])
&&
is_numeric
(
$defaut
[
'numTaille'
][
$i
])
?
$defaut
[
'numTaille'
][
$i
]
:
1
;
$numPas
[
$i
]
=
isset
(
$defaut
[
'numPas'
][
$i
])
&&
is_numeric
(
$defaut
[
'numPas'
][
$i
])
?
$defaut
[
'numPas'
][
$i
]
:
1
;
}
// Général
$nouveauNom
=
isset
(
$defaut
[
'nouveauNom'
])
?
$defaut
[
'nouveauNom'
]
:
null
;;
$renommer_ischecked
=
isset
(
$defaut
[
'renommer'
])
?
XHTML_checked
:
''
;
$renommer
=
isset
(
$defaut
[
'renommer'
])
?
$defaut
[
'renommer'
]
:
null
;
$underscore_ischecked
=
isset
(
$defaut
[
'underscore'
])
?
XHTML_checked
:
''
;
$underscore
=
isset
(
$defaut
[
'underscore'
])
?
$defaut
[
'underscore'
]
:
null
;
$espace_ischecked
=
isset
(
$defaut
[
'espace'
])
?
XHTML_checked
:
''
;
$espace
=
isset
(
$defaut
[
'espace'
])
?
$defaut
[
'espace'
]
:
null
;
$format
=
isset
(
$defaut
[
'format'
])
?
$defaut
[
'format'
]
:
null
;
if
(
isset
(
$defaut
[
'qualite_jpg'
]))
{
$qualite_jpg
=
$defaut
[
'qualite_jpg'
];
}
$dossier_source
=
isset
(
$defaut
[
'dossier_source'
])
?
$defaut
[
'dossier_source'
]
:
null
;
$dossier_source_filtre
=
isset
(
$defaut
[
'dossier_source_filtre'
])
?
$defaut
[
'dossier_source_filtre'
]
:
null
;
$dossier_cible
=
isset
(
$defaut
[
'dossier_cible'
])
?
$defaut
[
'dossier_cible'
]
:
null
;
if
(
isset
(
$defaut
[
'trier_par'
]))
{
$trier_par
=
$defaut
[
'trier_par'
];
$trier_par_ischecked
[
$defaut
[
'trier_par'
]]
=
XHTML_checked
;
}
else
{
$trier_par
=
null
;
}
// Redimensioner
$redimensionner_ischecked
=
isset
(
$defaut
[
'redimensionner'
])
?
XHTML_checked
:
''
;
$redimensionner
=
isset
(
$defaut
[
'redimensionner'
]);
$redimensionner_type_ischecked
=
array
();
if
(
isset
(
$defaut
[
'dimension_type'
]))
{
$redimensionner_type
=
$defaut
[
'dimension_type'
];
$redimensionner_type_ischecked
[
$defaut
[
'dimension_type'
]]
=
XHTML_checked
;
}
else
{
$redimensionner_type
=
null
;
}
$dimension
=
isset
(
$defaut
[
'dimension'
])
?
$defaut
[
'dimension'
]
:
null
;
$ratio_ischecked
=
isset
(
$defaut
[
'ratio'
])
?
XHTML_checked
:
''
;
$ratio
=
isset
(
$defaut
[
'ratio'
])
?
1
:
0
;
// Découper
$decouper_ischecked
=
isset
(
$defaut
[
'decouper'
])
?
XHTML_checked
:
''
;
$decouper
=
isset
(
$defaut
[
'decouper'
]);
$decouper_type_ischecked
=
array
();
if
(
isset
(
$defaut
[
'decouper_type'
]))
{
$decouper_type
=
$defaut
[
'decouper_type'
];
$decouper_type_ischecked
[
$defaut
[
'decouper_type'
]]
=
XHTML_checked
;
}
else
{
$decouper_type
=
null
;
}
$decouper_dimension
=
isset
(
$defaut
[
'decouper_dimension'
])
?
$defaut
[
'decouper_dimension'
]
:
null
;
// Miniature
$miniature
=
isset
(
$defaut
[
'miniature'
])
?
$defaut
[
'miniature'
]
:
null
;
$miniature_ischecked
=
isset
(
$defaut
[
'miniature'
])
?
XHTML_checked
:
''
;
$miniature_prefixe
=
isset
(
$defaut
[
'miniature_prefixe'
])
?
$defaut
[
'miniature_prefixe'
]
:
null
;
$miniature_suffixe
=
isset
(
$defaut
[
'miniature_suffixe'
])
?
$defaut
[
'miniature_suffixe'
]
:
null
;
$miniature_format
=
isset
(
$defaut
[
'miniature_format'
])
?
$defaut
[
'miniature_format'
]
:
null
;
if
(
isset
(
$defaut
[
'miniature_qualite_jpg'
]))
{
$miniature_qualite_jpg
=
$defaut
[
'miniature_qualite_jpg'
];
}
$miniature_dimension
=
isset
(
$defaut
[
'miniature_dimension'
])
?
$defaut
[
'miniature_dimension'
]
:
$miniature_dimension_defaut
;
$miniature_redimensionner_type
=
isset
(
$defaut
[
'miniature_redimensionner_type'
])
?
$defaut
[
'miniature_redimensionner_type'
]
:
null
;
// Rendu XHTML
$html_ischecked
=
isset
(
$defaut
[
'html'
])
?
XHTML_checked
:
''
;
$html
=
isset
(
$defaut
[
'html'
])
?
$defaut
[
'html'
]
:
null
;
$html_titre
=
isset
(
$defaut
[
'html_titre'
])
?
$defaut
[
'html_titre'
]
:
null
;
$html_alt
=
isset
(
$defaut
[
'html_alt'
])
?
$defaut
[
'html_alt'
]
:
null
;
$html_rel
=
isset
(
$defaut
[
'html_rel'
])
?
$defaut
[
'html_rel'
]
:
null
;
$html_baseurl_ischecked
=
isset
(
$defaut
[
'html_baseurl'
])
?
XHTML_checked
:
''
;
$html_baseurl
=
isset
(
$defaut
[
'html_baseurl'
])
?
$defaut
[
'html_baseurl'
]
:
null
;
$html_baseurl_image
=
isset
(
$defaut
[
'html_baseurl_image'
])
?
$defaut
[
'html_baseurl_image'
]
:
null
;
$html_baseurl_lien
=
isset
(
$defaut
[
'html_baseurl_lien'
])
?
$defaut
[
'html_baseurl_lien'
]
:
null
;
$html_groupe_debut
=
isset
(
$defaut
[
'html_groupe_debut'
])
?
$defaut
[
'html_groupe_debut'
]
:
null
;
$html_groupe_centre_debut
=
isset
(
$defaut
[
'html_groupe_centre_debut'
])
?
$defaut
[
'html_groupe_centre_debut'
]
:
null
;
$html_groupe_centre_pos
=
isset
(
$defaut
[
'html_groupe_centre_pos'
])
?
$defaut
[
'html_groupe_centre_pos'
]
:
null
;
$html_groupe_centre_fin
=
isset
(
$defaut
[
'html_groupe_centre_fin'
])
?
$defaut
[
'html_groupe_centre_fin'
]
:
null
;
$html_groupe_fin
=
isset
(
$defaut
[
'html_groupe_fin'
])
?
$defaut
[
'html_groupe_fin'
]
:
null
;
$html_fichier_ischecked
=
isset
(
$defaut
[
'html_fichier'
])
?
XHTML_checked
:
''
;
$html_fichier
=
isset
(
$defaut
[
'html_fichier'
])
?
$defaut
[
'html_fichier'
]
:
null
;
// Nombre
for
(
$i
=
1
;
$i
<=
NOMBRE_NUM
;
$i
++
)
{
$numDépart
[
$i
]
=
isset
(
$defaut
[
'numDépart'
][
$i
])
&&
is_numeric
(
$defaut
[
'numDépart'
][
$i
])
?
$defaut
[
'numDépart'
][
$i
]
:
1
;
$numTaille
[
$i
]
=
isset
(
$defaut
[
'numTaille'
][
$i
])
&&
is_numeric
(
$defaut
[
'numTaille'
][
$i
])
?
$defaut
[
'numTaille'
][
$i
]
:
1
;
$numPas
[
$i
]
=
isset
(
$defaut
[
'numPas'
][
$i
])
&&
is_numeric
(
$defaut
[
'numPas'
][
$i
])
?
$defaut
[
'numPas'
][
$i
]
:
1
;
}
// Général
$nouveauNom
=
isset
(
$defaut
[
'nouveauNom'
])
?
$defaut
[
'nouveauNom'
]
:
null
;;
$renommer_ischecked
=
isset
(
$defaut
[
'renommer'
])
?
XHTML_checked
:
''
;
$renommer
=
isset
(
$defaut
[
'renommer'
])
?
$defaut
[
'renommer'
]
:
null
;
$underscore_ischecked
=
isset
(
$defaut
[
'underscore'
])
?
XHTML_checked
:
''
;
$underscore
=
isset
(
$defaut
[
'underscore'
])
?
$defaut
[
'underscore'
]
:
null
;
$espace_ischecked
=
isset
(
$defaut
[
'espace'
])
?
XHTML_checked
:
''
;
$espace
=
isset
(
$defaut
[
'espace'
])
?
$defaut
[
'espace'
]
:
null
;
$format
=
isset
(
$defaut
[
'format'
])
?
$defaut
[
'format'
]
:
null
;
if
(
isset
(
$defaut
[
'qualite_jpg'
]))
{
$qualite_jpg
=
$defaut
[
'qualite_jpg'
];
}
$dossier_source
=
isset
(
$defaut
[
'dossier_source'
])
?
$defaut
[
'dossier_source'
]
:
null
;
$dossier_source_filtre
=
isset
(
$defaut
[
'dossier_source_filtre'
])
?
$defaut
[
'dossier_source_filtre'
]
:
null
;
$dossier_cible
=
isset
(
$defaut
[
'dossier_cible'
])
?
$defaut
[
'dossier_cible'
]
:
null
;
if
(
isset
(
$defaut
[
'trier_par'
]))
{
$trier_par
=
$defaut
[
'trier_par'
];
$trier_par_ischecked
[
$defaut
[
'trier_par'
]]
=
XHTML_checked
;
}
else
{
$trier_par
=
null
;
}
// Redimensioner
$redimensionner_ischecked
=
isset
(
$defaut
[
'redimensionner'
])
?
XHTML_checked
:
''
;
$redimensionner
=
isset
(
$defaut
[
'redimensionner'
]);
$redimensionner_type_ischecked
=
array
();
if
(
isset
(
$defaut
[
'dimension_type'
]))
{
$redimensionner_type
=
$defaut
[
'dimension_type'
];
$redimensionner_type_ischecked
[
$defaut
[
'dimension_type'
]]
=
XHTML_checked
;
}
else
{
$redimensionner_type
=
null
;
}
$dimension
=
isset
(
$defaut
[
'dimension'
])
?
$defaut
[
'dimension'
]
:
null
;
$ratio_ischecked
=
isset
(
$defaut
[
'ratio'
])
?
XHTML_checked
:
''
;
$ratio
=
isset
(
$defaut
[
'ratio'
])
?
1
:
0
;
// Découper
$decouper_ischecked
=
isset
(
$defaut
[
'decouper'
])
?
XHTML_checked
:
''
;
$decouper
=
isset
(
$defaut
[
'decouper'
]);
$decouper_type_ischecked
=
array
();
if
(
isset
(
$defaut
[
'decouper_type'
]))
{
$decouper_type
=
$defaut
[
'decouper_type'
];
$decouper_type_ischecked
[
$defaut
[
'decouper_type'
]]
=
XHTML_checked
;
}
else
{
$decouper_type
=
null
;
}
$decouper_dimension
=
isset
(
$defaut
[
'decouper_dimension'
])
?
$defaut
[
'decouper_dimension'
]
:
null
;
// Miniature
$miniature
=
isset
(
$defaut
[
'miniature'
])
?
$defaut
[
'miniature'
]
:
null
;
$miniature_ischecked
=
isset
(
$defaut
[
'miniature'
])
?
XHTML_checked
:
''
;
$miniature_prefixe
=
isset
(
$defaut
[
'miniature_prefixe'
])
?
$defaut
[
'miniature_prefixe'
]
:
null
;
$miniature_suffixe
=
isset
(
$defaut
[
'miniature_suffixe'
])
?
$defaut
[
'miniature_suffixe'
]
:
null
;
$miniature_format
=
isset
(
$defaut
[
'miniature_format'
])
?
$defaut
[
'miniature_format'
]
:
null
;
if
(
isset
(
$defaut
[
'miniature_qualite_jpg'
]))
{
$miniature_qualite_jpg
=
$defaut
[
'miniature_qualite_jpg'
];
}
$miniature_dimension
=
isset
(
$defaut
[
'miniature_dimension'
])
?
$defaut
[
'miniature_dimension'
]
:
$miniature_dimension_defaut
;
$miniature_redimensionner_type
=
isset
(
$defaut
[
'miniature_redimensionner_type'
])
?
$defaut
[
'miniature_redimensionner_type'
]
:
null
;
// Rendu XHTML
$html_ischecked
=
isset
(
$defaut
[
'html'
])
?
XHTML_checked
:
''
;
$html
=
isset
(
$defaut
[
'html'
])
?
$defaut
[
'html'
]
:
null
;
$html_titre
=
isset
(
$defaut
[
'html_titre'
])
?
$defaut
[
'html_titre'
]
:
null
;
$html_alt
=
isset
(
$defaut
[
'html_alt'
])
?
$defaut
[
'html_alt'
]
:
null
;
$html_rel
=
isset
(
$defaut
[
'html_rel'
])
?
$defaut
[
'html_rel'
]
:
null
;
$html_baseurl_ischecked
=
isset
(
$defaut
[
'html_baseurl'
])
?
XHTML_checked
:
''
;
$html_baseurl
=
isset
(
$defaut
[
'html_baseurl'
])
?
$defaut
[
'html_baseurl'
]
:
null
;
$html_baseurl_image
=
isset
(
$defaut
[
'html_baseurl_image'
])
?
$defaut
[
'html_baseurl_image'
]
:
null
;
$html_baseurl_lien
=
isset
(
$defaut
[
'html_baseurl_lien'
])
?
$defaut
[
'html_baseurl_lien'
]
:
null
;
$html_groupe_debut
=
isset
(
$defaut
[
'html_groupe_debut'
])
?
$defaut
[
'html_groupe_debut'
]
:
null
;
$html_groupe_centre_debut
=
isset
(
$defaut
[
'html_groupe_centre_debut'
])
?
$defaut
[
'html_groupe_centre_debut'
]
:
null
;
$html_groupe_centre_pos
=
isset
(
$defaut
[
'html_groupe_centre_pos'
])
?
$defaut
[
'html_groupe_centre_pos'
]
:
null
;
$html_groupe_centre_fin
=
isset
(
$defaut
[
'html_groupe_centre_fin'
])
?
$defaut
[
'html_groupe_centre_fin'
]
:
null
;
$html_groupe_fin
=
isset
(
$defaut
[
'html_groupe_fin'
])
?
$defaut
[
'html_groupe_fin'
]
:
null
;
$html_fichier_ischecked
=
isset
(
$defaut
[
'html_fichier'
])
?
XHTML_checked
:
''
;
$html_fichier
=
isset
(
$defaut
[
'html_fichier'
])
?
$defaut
[
'html_fichier'
]
:
null
;
if
(
isset
(
$_POST
[
'nouveauNom'
]))
{
// Nombre
...
...
style.css
View file @
404774b6
...
...
@@ -169,7 +169,11 @@ select {
#ln_dossier_cible
input
{
-moz-box-flex
:
1
;
box-flex
:
1
;
width
:
80%
;
width
:
65%
;
}
#ln_dossier_source
input
+
input
,
#ln_dossier_cible
input
+
input
{
width
:
18%
;
}
#ln_dossier_source_filtre
input
{
box-flex
:
1
;
...
...
vars.php
View file @
404774b6
...
...
@@ -21,7 +21,7 @@ if (get_magic_quotes_gpc()) {
$_REQUEST
=
array_map
(
'stripslashes_deep'
,
$_REQUEST
);
}
define
(
'VERSION'
,
'v0.8.
3
'
);
define
(
'VERSION'
,
'v0.8.
4a
'
);
define
(
'DIR_SOURCE'
,
'source'
);
define
(
'DIR_RENDU'
,
'rendu'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment