File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ function getConfTime(): int { for(;;) {
107107function getImage (): ?array {
108108 global $ imageRestriction ;
109109
110- fwrite (STDOUT , "Will a picture be accompanying this entry? " );
110+ fwrite (STDOUT , "Will a picture be accompanying this entry?(y/N) " );
111111 $ yn = fgets (STDIN );
112112
113113
@@ -129,7 +129,7 @@ function getImage(): ?array {
129129 $ imageSizes = getimagesize ("./images/news/ $ path " );
130130
131131 if (($ imageSizes [0 ] > $ imageRestriction ['width ' ]) || ($ imageSizes [1 ] > $ imageRestriction ['height ' ])) {
132- fwrite (STDOUT , "Provided image has a higher size than recommended ( " . implode (' by ' , $ imageRestriction ) . "). Continue? " );
132+ fwrite (STDOUT , "Provided image has a higher size than recommended ( " . implode (' by ' , $ imageRestriction ) . "). Continue with this image?(y/N) " );
133133 $ ynImg = fgets (STDIN );
134134 if (strtoupper ($ ynImg [0 ]) !== "Y " ) {
135135 $ isValidImage = false ;
You can’t perform that action at this time.
0 commit comments