Menu

#37 Hardcoded lang defines, etc.

open
5
2002-04-17
2002-04-17
i. arhi
No

PostCalendar 3.01: Excellent module. My favorite!

Misleading define:
file:
eng/admin.php:
define('_PC_ACTION_DELETE', 'Hide');
(A delete takes place but the user believes sth else
is going on ... )

Hardcoded defines:

files:
pnadmin.php and pnuser.php:
"There are errors with your submission. These are
outlined below"
"is a required field"

file:
pnadmin.php
"select", "title" and "timestamp" in line:
"<td>select</td><td>title</td><td>timestamp<td>"

"timestamp" may be hardcoded in other places (within
the same file)

At PostCalendar main admin page:
Timestamp displays a different format:
yyyy-mm-dd
also hardcoded "<< Prev" and "Next >>" text appear
there.

'Use international dateformat' -feature,
Does it affect date input (drop-down) field order?
When I change the default value (in file) to 1 it
displays the date input fields in my preferred order:
dd mm yyyy. Trying to do the same at PostCalendar
Admin config, no effect.

Tried the other way round (when default set to 1):
admin switch to NOT show international date format.
Nope. Still displays the date input fields (as set by
my default 1) dd mm yyyy.
User switch might not communicate the setting? -
Anyone replicate this?

Keep up the good work, greetings a-justus

Discussion


Log in to post a comment.