backend en anglais + vérification améliorée des params
BIN
themes/dark/icons/128.png
Normal file
|
After Width: | Height: | Size: 612 B |
BIN
themes/dark/icons/16.png
Normal file
|
After Width: | Height: | Size: 433 B |
BIN
themes/dark/icons/192.png
Normal file
|
After Width: | Height: | Size: 760 B |
BIN
themes/dark/icons/256.png
Normal file
|
After Width: | Height: | Size: 1 KiB |
BIN
themes/dark/icons/32.png
Normal file
|
After Width: | Height: | Size: 480 B |
BIN
themes/dark/icons/384.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
themes/dark/icons/48.png
Normal file
|
After Width: | Height: | Size: 495 B |
BIN
themes/dark/icons/512.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
themes/dark/icons/64.png
Normal file
|
After Width: | Height: | Size: 532 B |
BIN
themes/dark/icons/96.png
Normal file
|
After Width: | Height: | Size: 587 B |
BIN
themes/dark/icons/source.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
17
themes/dark/theme.php
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
$themeDimensionsIcons = array(16, 32, 48, 64, 96, 128, 192, 256, 384, 512); // Liste les dimensions des icones
|
||||
|
||||
$variablesTheme = array(
|
||||
"bg" => "#2a2a2a",
|
||||
"bgField" => "#31363B",
|
||||
"bgTextField" => "#232629",
|
||||
"bgHelp" => "#151616",
|
||||
"border" => "#5f5f5f",
|
||||
"borderHover" => "#808080",
|
||||
"borderFocus" => "white",
|
||||
"text" => "white",
|
||||
"secondaryText" => "#868686"
|
||||
); // Définit les couleurs du thème
|
||||
|
||||
?>
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
<?php
|
||||
|
||||
$themeDimensionsFavicons = array(16, 32, 48, 64, 96, 128, 192, 256, 384, 512); // Liste les dimensions des favicons
|
||||
|
||||
$variablesTheme = array(
|
||||
"fond" => "#2D2F34",
|
||||
"fondChamp" => "#31363B",
|
||||
"fondChampTexte" => "#232629",
|
||||
"bordure" => "#5f5f5f",
|
||||
"bordureHover" => "#808080",
|
||||
"bordureFocus" => "#b6b6b6",
|
||||
"texte" => "white",
|
||||
"texteForm" => "white",
|
||||
"texteLienCodeSource" => "#868686"
|
||||
); // Définit les couleurs du thème
|
||||
|
||||
?>
|
||||
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
|
@ -1,17 +0,0 @@
|
|||
<?php
|
||||
|
||||
$themeDimensionsFavicons = array(16, 32, 48, 64, 96, 128, 192, 256, 384, 512); // Liste les dimensions des favicons
|
||||
|
||||
$variablesTheme = array(
|
||||
"fond" => "#2D2F34",
|
||||
"fondChamp" => "#31363B",
|
||||
"fondChampTexte" => "#232629",
|
||||
"bordure" => "#5f5f5f",
|
||||
"bordureHover" => "#808080",
|
||||
"bordureFocus" => "#b6b6b6",
|
||||
"texte" => "white",
|
||||
"texteForm" => "white",
|
||||
"texteLienCodeSource" => "#868686"
|
||||
); // Définit les couleurs du thème
|
||||
|
||||
?>
|
||||
BIN
themes/light/icons/128.png
Normal file
|
After Width: | Height: | Size: 209 B |
BIN
themes/light/icons/16.png
Normal file
|
After Width: | Height: | Size: 159 B |
BIN
themes/light/icons/192.png
Normal file
|
After Width: | Height: | Size: 242 B |
BIN
themes/light/icons/256.png
Normal file
|
After Width: | Height: | Size: 242 B |
BIN
themes/light/icons/32.png
Normal file
|
After Width: | Height: | Size: 183 B |
BIN
themes/light/icons/384.png
Normal file
|
After Width: | Height: | Size: 287 B |
BIN
themes/light/icons/48.png
Normal file
|
After Width: | Height: | Size: 214 B |
BIN
themes/light/icons/512.png
Normal file
|
After Width: | Height: | Size: 335 B |
BIN
themes/light/icons/64.png
Normal file
|
After Width: | Height: | Size: 192 B |
BIN
themes/light/icons/96.png
Normal file
|
After Width: | Height: | Size: 226 B |
BIN
themes/light/icons/source.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
17
themes/light/theme.php
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
$themeDimensionsIcons = array(16, 32, 48, 64, 96, 128, 192, 256, 384, 512); // Liste les dimensions des icones
|
||||
|
||||
$variablesTheme = array(
|
||||
"bg" => "white",
|
||||
"bgField" => "#eeeeee",
|
||||
"bgTextField" => "#e5e5e5",
|
||||
"bgHelp" => "#ececec",
|
||||
"border" => "#65666b",
|
||||
"borderHover" => "#46484e",
|
||||
"borderFocus" => "#2D2F34",
|
||||
"text" => "#2D2F34",
|
||||
"secondaryText" => "#868686"
|
||||
); // Définit les couleurs du thème
|
||||
|
||||
?>
|
||||
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
BIN
themes/parinux/icons/128.png
Normal file
|
After Width: | Height: | Size: 209 B |
BIN
themes/parinux/icons/16.png
Normal file
|
After Width: | Height: | Size: 159 B |
BIN
themes/parinux/icons/192.png
Normal file
|
After Width: | Height: | Size: 242 B |
BIN
themes/parinux/icons/256.png
Normal file
|
After Width: | Height: | Size: 242 B |
BIN
themes/parinux/icons/32.png
Normal file
|
After Width: | Height: | Size: 183 B |
BIN
themes/parinux/icons/384.png
Normal file
|
After Width: | Height: | Size: 287 B |
BIN
themes/parinux/icons/48.png
Normal file
|
After Width: | Height: | Size: 214 B |
BIN
themes/parinux/icons/512.png
Normal file
|
After Width: | Height: | Size: 335 B |
BIN
themes/parinux/icons/64.png
Normal file
|
After Width: | Height: | Size: 192 B |
BIN
themes/parinux/icons/96.png
Normal file
|
After Width: | Height: | Size: 226 B |
BIN
themes/parinux/icons/source.png
Normal file
|
After Width: | Height: | Size: 6.3 KiB |
|
|
@ -1,17 +0,0 @@
|
|||
<?php
|
||||
|
||||
$themeDimensionsFavicons = array(16, 32, 48, 64, 96, 128, 192, 256, 384, 512); // Liste les dimensions des favicons
|
||||
|
||||
$variablesTheme = array(
|
||||
"fond" => "#157097",
|
||||
"fondChamp" => "#2794c2",
|
||||
"fondChampTexte" => "#2794c2",
|
||||
"bordure" => "#48aed9",
|
||||
"bordureHover" => "#87d1f1",
|
||||
"bordureFocus" => "#e2f6ff",
|
||||
"texte" => "#d5f3ff",
|
||||
"texteForm" => "#e2f6ff",
|
||||
"texteLienCodeSource" => "#3da3cf"
|
||||
); // Définit les couleurs du thème
|
||||
|
||||
?>
|
||||
20
themes/parinux/theme.php
Normal file → Executable file
|
|
@ -1,17 +1,17 @@
|
|||
<?php
|
||||
|
||||
$themeDimensionsFavicons = array(16, 32, 48, 64, 96, 128, 192, 256, 384, 512); // Liste les dimensions des favicons
|
||||
$themeDimensionsIcons = array(16, 32, 48, 64, 96, 128, 192, 256, 384, 512); // Liste les dimensions des icones
|
||||
|
||||
$variablesTheme = array(
|
||||
"fond" => "#157097",
|
||||
"fondChamp" => "#2794c2",
|
||||
"fondChampTexte" => "#2794c2",
|
||||
"bordure" => "#48aed9",
|
||||
"bordureHover" => "#87d1f1",
|
||||
"bordureFocus" => "#e2f6ff",
|
||||
"texte" => "#d5f3ff",
|
||||
"texteForm" => "#e2f6ff",
|
||||
"texteLienCodeSource" => "#3da3cf"
|
||||
"bg" => "#157097",
|
||||
"bgField" => "#2794c2",
|
||||
"bgTextField" => "#2794c2",
|
||||
"bgHelp" => "#118abe",
|
||||
"border" => "#48aed9",
|
||||
"borderHover" => "#87d1f1",
|
||||
"borderFocus" => "#e2f6ff",
|
||||
"text" => "#d5f3ff",
|
||||
"secondaryText" => "#65b7da"
|
||||
); // Définit les couleurs du thème
|
||||
|
||||
?>
|
||||
|
|
|
|||
31
themes/resize.php
Executable file
|
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
if (php_sapi_name() == "cli") {
|
||||
if (isset($argv[1])) {
|
||||
$done = array();
|
||||
$line = "";
|
||||
$theme = $argv[1];
|
||||
|
||||
for ($pow = 0; $pow <= 3; $pow++) {
|
||||
for ($mult = 1; $mult <= 4; $mult++) {
|
||||
$size = $mult * 2**(4+$pow);
|
||||
if (!in_array($size, $done)) {
|
||||
shell_exec("convert themes/" . $theme . "/icons/source.png -scale " . $size . "x" . $size . " themes/" . $theme . "/icons/" . $size . ".png");
|
||||
shell_exec("pngquant -f themes/" . $theme . "/icons/" . $size . ".png --output themes/" . $theme . "/icons/" . $size . ".png");
|
||||
$done[] = $size;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($done as $done) {
|
||||
$line = $line . ", " . $done;
|
||||
}
|
||||
|
||||
echo substr($line, 2) . "\n";
|
||||
|
||||
} else {
|
||||
echo "Usage: php themes/resize.php <theme name>\n";
|
||||
}
|
||||
|
||||
} else {
|
||||
echo "Available only via CLI for security reasons. Use 'php themes/resize.php'";
|
||||
}
|
||||