1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 04:10:38 +02:00

Fix undefined JS-derived query message on delete rule

This commit is contained in:
SteveD
2012-12-22 19:16:46 +00:00
parent b222b46ee0
commit 98741074c2
2 changed files with 46 additions and 44 deletions

View File

@@ -401,7 +401,7 @@ class frontpage
<input class='image' type='image' src='".ADMIN_UP_ICON_PATH."' title='".FRTLAN_47."' value='".$order."' name='fp_inc".$order."' /> <input class='image' type='image' src='".ADMIN_UP_ICON_PATH."' title='".FRTLAN_47."' value='".$order."' name='fp_inc".$order."' />
<input class='image' type='image' src='".ADMIN_DOWN_ICON_PATH."' title='".FRTLAN_48."' value='".$order."' name='fp_dec".$order."' /> <input class='image' type='image' src='".ADMIN_DOWN_ICON_PATH."' title='".FRTLAN_48."' value='".$order."' name='fp_dec".$order."' />
<input class='image edit' type='image' title='".LAN_EDIT."' name='fp_edit_rule[".$order."]' src='".ADMIN_EDIT_ICON_PATH."' /> <input class='image edit' type='image' title='".LAN_EDIT."' name='fp_edit_rule[".$order."]' src='".ADMIN_EDIT_ICON_PATH."' />
<input class='image delete' type='image' title='".LAN_DELETE."' name='fp_delete_rule[".$order."]' src='".ADMIN_DELETE_ICON_PATH."' /> <input class='image delete' type='image' title='".LAN_DELETE."' data-confirm='".FRTLAN_55."' name='fp_delete_rule[".$order."]' src='".ADMIN_DELETE_ICON_PATH."' />
</td> </td>
</tr>"; </tr>";
} }

View File

@@ -1,44 +1,46 @@
<?php <?php
/* /*
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt) * Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
* $Id$ * $Id$
* *
* Admin Language File * Admin Language File
* *
*/ */
define("FRTLAN_1", "Front Page settings updated."); define("FRTLAN_1", "Front Page settings updated.");
define("FRTLAN_12", "Update Front Page Settings"); define("FRTLAN_12", "Update Front Page Settings");
define("FRTLAN_13", "Current Front Page Settings"); define("FRTLAN_13", "Current Front Page Settings");
define("FRTLAN_15", "Other (enter url):"); define("FRTLAN_15", "Other (enter url):");
define('FRTLAN_30', 'Custom Page'); define('FRTLAN_30', 'Custom Page');
//define("FRTLAN_33", "Current Settings"); //define("FRTLAN_33", "Current Settings");
// New language defs for 0.8 // New language defs for 0.8
define('FRTLAN_35', 'Post-login page'); define('FRTLAN_35', 'Post-login page');
/* moved to the admin help file /* moved to the admin help file
//define('FRTLAN_38', 'The rules are searched in order, to find the first where the current user belongs to the class specified in the rule. That rule then determines the front (home) page and any specific post-login page.'); //define('FRTLAN_38', 'The rules are searched in order, to find the first where the current user belongs to the class specified in the rule. That rule then determines the front (home) page and any specific post-login page.');
//define('FRTLAN_39', 'If no rule matches, news.php is set as the home page'); //define('FRTLAN_39', 'If no rule matches, news.php is set as the home page');
//define('FRTLAN_41', 'The user is sent to the specified &quot;Post-login page&quot; (if specified) immediately following a login'); //define('FRTLAN_41', 'The user is sent to the specified &quot;Post-login page&quot; (if specified) immediately following a login');
*/ */
define('FRTLAN_40', 'Order'); define('FRTLAN_40', 'Order');
define('FRTLAN_42', 'Add new rule'); define('FRTLAN_42', 'Add new rule');
define('FRTLAN_43', 'Class: '); define('FRTLAN_43', 'Class: ');
// define('FRTLAN_44', 'Go to this page after login'); // define('FRTLAN_44', 'Go to this page after login');
define('FRTLAN_45', 'Values not changed'); define('FRTLAN_45', 'Values not changed');
define('FRTLAN_46', 'Edit existing rule'); define('FRTLAN_46', 'Edit existing rule');
define('FRTLAN_47', 'Move up'); define('FRTLAN_47', 'Move up');
define('FRTLAN_48', 'Move down'); define('FRTLAN_48', 'Move down');
define('FRTLAN_49', 'Home Page'); define('FRTLAN_49', 'Home Page');
define('FRTLAN_50', '(To disable, select &quot;Other&quot; with a blank URL)'); define('FRTLAN_50', '(To disable, select &quot;Other&quot; with a blank URL)');
define('FRTLAN_51', 'Other'); define('FRTLAN_51', 'Other');
define('FRTLAN_52', 'None'); define('FRTLAN_52', 'None');
define('FRTLAN_53', 'User Class'); define('FRTLAN_53', 'User Class');
//0.8 // 2.0
define("FRTLAN_PAGE_TITLE", 'Front Page'); define('FRTLAN_PAGE_TITLE', 'Front Page');
define("FRTLAN_54", 'Are you sure?'); define('FRTLAN_54', 'Are you sure?');
define('FRTLAN_55', 'Confirm delete rule?');
?> ?>