Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Problems and bugs
 Delete mode in shopa_editdisplay
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

manilow
VP-CART New User

France
134 Posts

Posted - June 25 2013 :  04:12:52  Show Profile  Visit manilow's Homepage  Reply with Quote
When using another language than English in the admin area, it''s possible to delete all records at once without any warning.

To avoid this, I changed the following lines in shopa_editdisplay:

Around line 536, 541, 638 and 643 :

Change:
if lcase(SpecialFunction) <> "delete" then

To
if lcase(SpecialFunction) <> lcase(GetLang("LangCommonDelete")) then

Kind regards,

<hr noshade size="1">Erik
[url="http://www.aquathermia.com"]Traitement d''eau[/url] sur www.AquaThermia.com

diegomilito
VP-CART Expert

Argentina
779 Posts

Posted - July 09 2013 :  00:32:43  Show Profile  Reply with Quote
that trick maybe can work from logically point of view. but are you using older version no? what version you use on now ?

Diego.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00