comment out the ip filter from clientCheck (in Session::Env)
added form validation to AdSku ( with internationalized messages )
This commit is contained in:
parent
a6a70a46e0
commit
9d0f7869b3
3 changed files with 97 additions and 16 deletions
|
|
@ -225,6 +225,36 @@ our $I18N = {
|
|||
context => q|Thank the customer after adding the item to the cart.|
|
||||
},
|
||||
|
||||
'form error no image' => {
|
||||
message => q|Please assign an image for this ad.|,
|
||||
lastUpdated => 0,
|
||||
context => q|remind the user to upload an image for the ad.|
|
||||
},
|
||||
|
||||
'form error no title' => {
|
||||
message => q|Please enter the title for this ad.|,
|
||||
lastUpdated => 0,
|
||||
context => q|Remind the user to enter a title for the ad.|
|
||||
},
|
||||
|
||||
'form error no link' => {
|
||||
message => q|Please enter a valid URL for this ad.|,
|
||||
lastUpdated => 0,
|
||||
context => q|Remind the user to enter a valid URL for the ad.|
|
||||
},
|
||||
|
||||
'form error min clicks' => {
|
||||
message => q|You must purchase at least %d clicks for this adSpace.|,
|
||||
lastUpdated => 0,
|
||||
context => q|Remind the user to that they must purchase a minimum number of clicks, use '%d' to indicate the minimum number of clicks.|
|
||||
},
|
||||
|
||||
'form error min impressions' => {
|
||||
message => q|You must purchase at least %d impressions for this adSpace.|,
|
||||
lastUpdated => 0,
|
||||
context => q|Remind the user to that they must purchase a minimum number of impressions, use '%d' to indicate the minimum number of impressions.|
|
||||
},
|
||||
|
||||
# 'TODO' => {
|
||||
# message => q|TODO|,
|
||||
# lastUpdated => 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue