Update bridges.php
This commit is contained in:
@@ -31,6 +31,10 @@ if (!class_exists('bridges')) {
|
|||||||
public function delete($bridges) {
|
public function delete($bridges) {
|
||||||
if (permission_exists('bridge_delete')) {
|
if (permission_exists('bridge_delete')) {
|
||||||
|
|
||||||
|
//add multi-lingual support
|
||||||
|
$language = new text;
|
||||||
|
$text = $language->get();
|
||||||
|
|
||||||
//validate the token
|
//validate the token
|
||||||
$token = new token;
|
$token = new token;
|
||||||
if (!$token->validate($_SERVER['PHP_SELF'])) {
|
if (!$token->validate($_SERVER['PHP_SELF'])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user