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:
ramonn 2012-02-09 12:50:51 +00:00
parent 1aa41a3ad7
commit 74e53b41f4
2 changed files with 8 additions and 4 deletions

View File

@ -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> 2012-02-09 Ramon Novoa <rnovoa@artica.es>
* godmode/events/custom_events.php: Aesthetic fixes. * godmode/events/custom_events.php: Aesthetic fixes.

View File

@ -1176,12 +1176,12 @@ $(document).ready( function() {
// Checks if the filter has name or not // Checks if the filter has name or not
if ($('#row_name').css('visibility') == 'hidden') { if ($('#row_name').css('visibility') == 'hidden') {
$('#row_name').css('visibility', ''); $('#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 // If the filter has name insert in database
}else{ }else{
// If the filter name is blank show error // If the filter name is blank show error
if ($('#text-id_name').val() == '') { 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; return false;
} }
@ -1207,10 +1207,10 @@ $(document).ready( function() {
}, },
function (data) { function (data) {
if (data == 'error'){ 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{ }else{
id_filter_save = data; 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>');
} }
}); });