-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#401] Extract JS code from viewAreas.php (2/2)
In this step, we extract the php code from the .js file we just renamed to a new file. The history of that file will be empty. We also take advantage to rename the page with a better name.
- Loading branch information
Showing
4 changed files
with
43 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?php | ||
/* | ||
* Copyright (C) 2009-2018 Igalia, S.L. <info@igalia.com> | ||
* | ||
* This file is part of PhpReport. | ||
* | ||
* PhpReport is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* PhpReport is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with PhpReport. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
define('PHPREPORT_ROOT', __DIR__ . '/../'); | ||
|
||
/* We check authentication and authorization */ | ||
require_once(PHPREPORT_ROOT . '/web/auth.php'); | ||
|
||
/* Include the generic header and sidebar*/ | ||
define('PAGE_TITLE', "PhpReport - Areas Management"); | ||
include_once("include/header.php"); | ||
|
||
?> | ||
<script src="include/RowEditor.min.js"></script> | ||
<script src="js/areaManagement.min.js"></script> | ||
|
||
<div id="content"> | ||
</div> | ||
<div id="variables"/> | ||
<?php | ||
/* Include the footer to close the header */ | ||
include("include/footer.php"); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters