2012-02-09 Ramon Novoa <rnovoa@artica.es>
* operation/events/events_list.php: Removed short tags. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5530 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
1aa41a3ad7
commit
74e53b41f4
|
@ -1,3 +1,7 @@
|
|||
2012-02-09 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* operation/events/events_list.php: Removed short tags.
|
||||
|
||||
2012-02-09 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* godmode/events/custom_events.php: Aesthetic fixes.
|
||||
|
|
|
@ -1176,12 +1176,12 @@ $(document).ready( function() {
|
|||
// Checks if the filter has name or not
|
||||
if ($('#row_name').css('visibility') == 'hidden') {
|
||||
$('#row_name').css('visibility', '');
|
||||
$('#show_filter_error').html('<h3 class="error"> <? echo __('Define name and group for the filter and click on Save filter again'); ?> </h3>');
|
||||
$('#show_filter_error').html('<h3 class="error"> <?php echo __('Define name and group for the filter and click on Save filter again'); ?> </h3>');
|
||||
// If the filter has name insert in database
|
||||
}else{
|
||||
// If the filter name is blank show error
|
||||
if ($('#text-id_name').val() == '') {
|
||||
$('#show_filter_error').html('<h3 class="error"> <? echo __('Filter name cannot be left blank'); ?> </h3>');
|
||||
$('#show_filter_error').html('<h3 class="error"> <?php echo __('Filter name cannot be left blank'); ?> </h3>');
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -1207,10 +1207,10 @@ $(document).ready( function() {
|
|||
},
|
||||
function (data) {
|
||||
if (data == 'error'){
|
||||
$('#show_filter_error').html('<h3 class="error"> <? echo __('Error creating filter'); ?> </h3>');
|
||||
$('#show_filter_error').html('<h3 class="error"> <?php echo __('Error creating filter'); ?> </h3>');
|
||||
}else{
|
||||
id_filter_save = data;
|
||||
$('#show_filter_error').html('<h3 class="suc"> <? echo __('Filter created'); ?> </h3>');
|
||||
$('#show_filter_error').html('<h3 class="suc"> <?php echo __('Filter created'); ?> </h3>');
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue