 |
 |
 |
 |
 |
| Author |
Message |
Thrik
Guest
|
Put the error messages in a template. :) |
|
One thing that always bothered me about CuteNews was how disjointed its error messages are. Here's an example:
http://www.teamkilled.net/2005/10/12/neghrtryhgbt
Before I switched to CuteNews.RU, I went through the php files and hacked includes in so I could template the errors to fit my design. However, since CuteNews.RU is in development I don't want to go doing that for obvious reasons. So, any chance an extra template could be added which is wrapped around all of these error messages? Putting them in English would probably help, too! 
|
|
| Wed Oct 12, 2005 5:20 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
lexa
Creator of CuteNews.RU

Joined: 02 Oct 2005 Posts: 92 Location: St.-Petersburg, Russia |
|
|
|
Copy that:
 |  | notFound = "Post not found."
nameLong = "The name is too long"
mailLong = "The e-mail is too long"
commentLong = "The comment is too long"
flood = "Flood protection activated!<br />Please wait for <b>%s</b> seconds."
sorryYouSuck = "You can't post any comment. Your IP is blocked."
password = "Password: "
onlyUsers = "Only registered users can post the comments. Register please."
nameEmpty = 'Please fill in "your name" field'
mailEmpty = 'Please fill in "your e-mail" field'
mailWrong = "e-mail you have entered is invalid"
commentEmpty = "The comment field can't be blank"
approvalWarning = "Your comment is waiting for approve." |
And paste to lang/shows.ini
|
|
| Wed Oct 12, 2005 7:37 pm |
 |
 |
Thrik
Guest
|
|
|
Oho! That's pretty handy, having all the errors in one place. I think I'll stick my div tags in there for the time being, although templating it in a future release would be great if possible.
Thanks!
|
|
| Wed Oct 12, 2005 8:09 pm |
|
 |
andkon

Joined: 27 Sep 2005 Posts: 23
|
|
|
|
Yeah, I agree with Thrik.
|
|
| Wed Oct 12, 2005 9:57 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|
 |
 |
 |
|