#173 ✓resolved
semias

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

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.

New-ticket Create new ticket

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.

People watching this ticket

Pages