Collections - deleting items
Reported by semias | March 11th, 2011 @ 03:43 AM | in 5.0.4 (closed)
When you are entering any collection and try to delete an item without selecting any. The error occurs "are you sure you want to delete this item".
Change the error message into "no items selected".
Box: cms/delete
add the following at the bottom of the file.
if(empty($parameters['_key'])) {
page_title (intl_get ('An Error Occurred'));
echo '<p>' . intl_get ("No items selected.") . '</p>';
echo '<p><a href="#" onclick="history.go (-1); return false;">' . intl_get("Go back.") . '</a></p>';
return;
}
Comments and changes to this ticket
-
semias March 11th, 2011 @ 03:52 AM
- no changes were found...
-
semias March 11th, 2011 @ 05:36 AM
- State changed from open to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
The Sitellite web content management system.