summaryrefslogtreecommitdiff
path: root/modules/local_import
diff options
context:
space:
mode:
Diffstat (limited to 'modules/local_import')
-rw-r--r--modules/local_import/helpers/local_import.php4
-rw-r--r--modules/local_import/helpers/local_import_block.php2
-rw-r--r--modules/local_import/helpers/local_import_installer.php4
-rw-r--r--modules/local_import/views/local_import_admin.html.php2
-rw-r--r--modules/local_import/views/local_import_dir_list.html.php2
-rw-r--r--modules/local_import/views/local_import_tree.html.php2
-rw-r--r--modules/local_import/views/local_import_tree_dialog.html.php2
7 files changed, 9 insertions, 9 deletions
diff --git a/modules/local_import/helpers/local_import.php b/modules/local_import/helpers/local_import.php
index ca7d01e4..d40b6016 100644
--- a/modules/local_import/helpers/local_import.php
+++ b/modules/local_import/helpers/local_import.php
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class local_import {
- public static function get_admin_page() {
+ static function get_admin_page() {
$template = new View("local_import_admin.html");
$paths = unserialize(module::get_var("local_import", "authorized_paths", "a:0:{}"));
@@ -30,7 +30,7 @@ class local_import {
return $template;
}
- public static function get_admin_form() {
+ static function get_admin_form() {
$form = new Forge("admin/local_import/add_path", "", "post", array("id" => "gLocalImportAdminForm"));
$add_path = $form->group("add_path");
$add_path->input("path")->label(t("Path"))->rules("required")
diff --git a/modules/local_import/helpers/local_import_block.php b/modules/local_import/helpers/local_import_block.php
index c337af41..b412f338 100644
--- a/modules/local_import/helpers/local_import_block.php
+++ b/modules/local_import/helpers/local_import_block.php
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class local_import_block_Core {
- public static function head($theme) {
+ static function head($theme) {
$head[] = html::script("modules/local_import/js/local_import.js");
$url = url::file("modules/local_import/css/local_import.css");
diff --git a/modules/local_import/helpers/local_import_installer.php b/modules/local_import/helpers/local_import_installer.php
index 0af35669..ea9b5d93 100644
--- a/modules/local_import/helpers/local_import_installer.php
+++ b/modules/local_import/helpers/local_import_installer.php
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class local_import_installer {
- public static function install() {
+ static function install() {
$db = Database::instance();
$version = module::get_version("local_import");
if ($version == 0) {
@@ -31,7 +31,7 @@ class local_import_installer {
}
}
- public static function uninstall() {
+ static function uninstall() {
access::delete_permission("local_import");
$module = module::get("local_import");
diff --git a/modules/local_import/views/local_import_admin.html.php b/modules/local_import/views/local_import_admin.html.php
index d53c5db8..f26f57ad 100644
--- a/modules/local_import/views/local_import_admin.html.php
+++ b/modules/local_import/views/local_import_admin.html.php
@@ -1,4 +1,4 @@
-<? defined("SYSPATH") or die("No direct script access."); ?>
+<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="gLocalImportAdmin">
<h2>
<?= t("Local Import Admininstration") ?>
diff --git a/modules/local_import/views/local_import_dir_list.html.php b/modules/local_import/views/local_import_dir_list.html.php
index 08beba82..d2a8fb57 100644
--- a/modules/local_import/views/local_import_dir_list.html.php
+++ b/modules/local_import/views/local_import_dir_list.html.php
@@ -1,4 +1,4 @@
-<? defined("SYSPATH") or die("No direct script access."); ?>
+<?php defined("SYSPATH") or die("No direct script access.") ?>
<span><?= t("Authorized Paths") ?></span>
<ul id="gPathList">
<? foreach ($paths as $id => $path): ?>
diff --git a/modules/local_import/views/local_import_tree.html.php b/modules/local_import/views/local_import_tree.html.php
index 21d0095a..e515852a 100644
--- a/modules/local_import/views/local_import_tree.html.php
+++ b/modules/local_import/views/local_import_tree.html.php
@@ -1,4 +1,4 @@
-<? defined("SYSPATH") or die("No direct script access."); ?>
+<?php defined("SYSPATH") or die("No direct script access.") ?>
<script type="text/javascript">
$("#<?= $uid ?>").ready(function() {
$("#<?= $uid ?> span.ui-icon").click(function(event) {
diff --git a/modules/local_import/views/local_import_tree_dialog.html.php b/modules/local_import/views/local_import_tree_dialog.html.php
index 4639545a..e553b54b 100644
--- a/modules/local_import/views/local_import_tree_dialog.html.php
+++ b/modules/local_import/views/local_import_tree_dialog.html.php
@@ -1,4 +1,4 @@
-<? defined("SYSPATH") or die("No direct script access."); ?>
+<?php defined("SYSPATH") or die("No direct script access.") ?>
<script type="text/javascript">
$("#gLocalImport").ready(function() {
$("#gLocalImport :submit").click(function(event) {