diff options
author | Yuchen Pei <hi@ypei.me> | 2021-10-15 09:52:00 +1100 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2021-10-15 09:52:00 +1100 |
commit | 71b0e901f5fb1cfcd162d8acc23120d3f77a3152 (patch) | |
tree | 323c00faef1edc7dea2e88ff581cc2258b2b6432 /h-source/admin/Application/Views | |
parent | 72cce24864b064b5762f4fe97fdf40d8d2ad4b51 (diff) | |
parent | 07f5140771388c9e0c8a99b0dd2e5d950bdb173b (diff) |
Merge branch 'development' into h-node
Diffstat (limited to 'h-source/admin/Application/Views')
21 files changed, 0 insertions, 755 deletions
diff --git a/h-source/admin/Application/Views/Adminboxes/main.php b/h-source/admin/Application/Views/Adminboxes/main.php deleted file mode 100644 index 7d71709..0000000 --- a/h-source/admin/Application/Views/Adminboxes/main.php +++ /dev/null @@ -1,25 +0,0 @@ -<?php if (!defined('EG')) die('Direct access not allowed!'); ?> - -<?php - -// h-admin, a web software to build a community of people that want to share their hardware information. -// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt) -// -// This file is part of h-admin -// -// h-admin 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. -// -// h-admin 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 h-admin. If not, see <http://www.gnu.org/licenses/>. - -?> - -<?php echo $scaffold;?>
\ No newline at end of file diff --git a/h-source/admin/Application/Views/Admindeletion/main.php b/h-source/admin/Application/Views/Admindeletion/main.php deleted file mode 100644 index 7d71709..0000000 --- a/h-source/admin/Application/Views/Admindeletion/main.php +++ /dev/null @@ -1,25 +0,0 @@ -<?php if (!defined('EG')) die('Direct access not allowed!'); ?> - -<?php - -// h-admin, a web software to build a community of people that want to share their hardware information. -// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt) -// -// This file is part of h-admin -// -// h-admin 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. -// -// h-admin 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 h-admin. If not, see <http://www.gnu.org/licenses/>. - -?> - -<?php echo $scaffold;?>
\ No newline at end of file diff --git a/h-source/admin/Application/Views/Adminhardware/ask.php b/h-source/admin/Application/Views/Adminhardware/ask.php deleted file mode 100644 index 1368dca..0000000 --- a/h-source/admin/Application/Views/Adminhardware/ask.php +++ /dev/null @@ -1,53 +0,0 @@ -<?php if (!defined('EG')) die('Direct access not allowed!'); ?> - -<?php - -// h-admin, a web software to build a community of people that want to share their hardware information. -// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt) -// -// This file is part of h-admin -// -// h-admin 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. -// -// h-admin 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 h-admin. If not, see <http://www.gnu.org/licenses/>. - -?> - -<div class='mainMenu'> - <?php echo $menu;?> -</div> - -<div class="ask_for_deletion_external"> - - <?php foreach ($table as $row) { ?> - <div class="ask_for_deletion_internal"> - <div class="ask_for_deletion_item"> - <b>id hardware to delete</b>: <?php echo $row['deletion']['id_hard'];?> - </div> - <div class="ask_for_deletion_item"> - <b>requested by</b>: <?php echo getUserName($row['deletion']['created_by']);?> - </div> - <div class="ask_for_deletion_item"> - <b>at</b>: <?php echo smartDate($row['deletion']['creation_date']);?> - </div> - <div class="ask_for_deletion_item"> - <b>why</b>: <?php echo $row['deletion']['object'];?> - </div> - <div class="ask_for_deletion_item"> - <b>hardware duplicated</b>: <?php echo $row['deletion']['id_duplicate'];?> - </div> - <div class="ask_for_deletion_item"> - <b>message</b>: <?php echo $row['deletion']['message'];?> - </div> - </div> - <?php } ?> -</div>
\ No newline at end of file diff --git a/h-source/admin/Application/Views/Adminhardware/main.php b/h-source/admin/Application/Views/Adminhardware/main.php deleted file mode 100644 index 7d71709..0000000 --- a/h-source/admin/Application/Views/Adminhardware/main.php +++ /dev/null @@ -1,25 +0,0 @@ -<?php if (!defined('EG')) die('Direct access not allowed!'); ?> - -<?php - -// h-admin, a web software to build a community of people that want to share their hardware information. -// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt) -// -// This file is part of h-admin -// -// h-admin 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. -// -// h-admin 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 h-admin. If not, see <http://www.gnu.org/licenses/>. - -?> - -<?php echo $scaffold;?>
\ No newline at end of file diff --git a/h-source/admin/Application/Views/Adminhistory/main.php b/h-source/admin/Application/Views/Adminhistory/main.php deleted file mode 100644 index 7d71709..0000000 --- a/h-source/admin/Application/Views/Adminhistory/main.php +++ /dev/null @@ -1,25 +0,0 @@ -<?php if (!defined('EG')) die('Direct access not allowed!'); ?> - -<?php - -// h-admin, a web software to build a community of people that want to share their hardware information. -// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt) -// -// This file is part of h-admin -// -// h-admin 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. -// -// h-admin 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 h-admin. If not, see <http://www.gnu.org/licenses/>. - -?> - -<?php echo $scaffold;?>
\ No newline at end of file diff --git a/h-source/admin/Application/Views/Adminissues/main.php b/h-source/admin/Application/Views/Adminissues/main.php deleted file mode 100644 index 1df2110..0000000 --- a/h-source/admin/Application/Views/Adminissues/main.php +++ /dev/null @@ -1,36 +0,0 @@ -<?php if (!defined('EG')) die('Direct access not allowed!'); ?> - -<?php - -// h-admin, a web software to build a community of people that want to share their hardware information. -// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt) -// -// This file is part of h-admin -// -// h-admin 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. -// -// h-admin 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 h-admin. If not, see <http://www.gnu.org/licenses/>. - -?> - - <script> - - $(document).ready(function() { - - $("#bb_code").markItUp(mySettings); - $("#bb_code_notice").markItUp(mySettings); - - }); - - </script> - -<?php echo $scaffold;?>
\ No newline at end of file diff --git a/h-source/admin/Application/Views/Adminmessages/main.php b/h-source/admin/Application/Views/Adminmessages/main.php deleted file mode 100644 index 0ce6983..0000000 --- a/h-source/admin/Application/Views/Adminmessages/main.php +++ /dev/null @@ -1,35 +0,0 @@ -<?php if (!defined('EG')) die('Direct access not allowed!'); ?> - -<?php - -// h-admin, a web software to build a community of people that want to share their hardware information. -// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt) -// -// This file is part of h-admin -// -// h-admin 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. -// -// h-admin 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 h-admin. If not, see <http://www.gnu.org/licenses/>. - -?> - - <script> - - $(document).ready(function() { - - $("#bb_code").markItUp(mySettings); - - }); - - </script> - -<?php echo $scaffold;?>
\ No newline at end of file diff --git a/h-source/admin/Application/Views/Adminnews/main.php b/h-source/admin/Application/Views/Adminnews/main.php deleted file mode 100644 index 5b603f2..0000000 --- a/h-source/admin/Application/Views/Adminnews/main.php +++ /dev/null @@ -1,35 +0,0 @@ -<?php if (!defined('EG')) die('Direct access not allowed!'); ?> - -<?php - -// h-admin, a web software to build a community of people that want to share their hardware information. -// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt) -// -// This file is part of h-admin -// -// h-admin 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. -// -// h-admin 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 h-admin. If not, see <http://www.gnu.org/licenses/>. - -?> - -<script> - - $(document).ready(function() { - - $("#bb_code").markItUp(mySettings); - - }); - -</script> - -<?php echo $scaffold;?>
\ No newline at end of file diff --git a/h-source/admin/Application/Views/Adminparams/form.php b/h-source/admin/Application/Views/Adminparams/form.php deleted file mode 100755 index 7d71709..0000000 --- a/h-source/admin/Application/Views/Adminparams/form.php +++ /dev/null @@ -1,25 +0,0 @@ -<?php if (!defined('EG')) die('Direct access not allowed!'); ?> - -<?php - -// h-admin, a web software to build a community of people that want to share their hardware information. -// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt) -// -// This file is part of h-admin -// -// h-admin 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. -// -// h-admin 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 h-admin. If not, see <http://www.gnu.org/licenses/>. - -?> - -<?php echo $scaffold;?>
\ No newline at end of file diff --git a/h-source/admin/Application/Views/Adminpassword/form.php b/h-source/admin/Application/Views/Adminpassword/form.php deleted file mode 100755 index 640b6e5..0000000 --- a/h-source/admin/Application/Views/Adminpassword/form.php +++ /dev/null @@ -1,9 +0,0 @@ -<?php if (!defined('EG')) die('Direct access not allowed!'); ?> - -<div class='mainMenu'> - <?php echo $menĂ¹;?> -</div> - -<?php echo $notice;?> - -<?php echo $form;?>
\ No newline at end of file diff --git a/h-source/admin/Application/Views/Adminregusers/associate.php b/h-source/admin/Application/Views/Adminregusers/associate.php deleted file mode 100644 index 9350d3a..0000000 --- a/h-source/admin/Application/Views/Adminregusers/associate.php +++ /dev/null @@ -1,54 +0,0 @@ -<?php if (!defined('EG')) die('Direct access not allowed!'); ?> - -<?php - -// h-admin, a web software to build a community of people that want to share their hardware information. -// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt) -// -// This file is part of h-admin -// -// h-admin 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. -// -// h-admin 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 h-admin. If not, see <http://www.gnu.org/licenses/>. - -?> - -<div class='mainMenu'> - <?php echo $menu;?> -</div> - -<?php echo $notice;?> - -<div class='groupsList'> - Associate the user <b><?php echo $user;?></b> to some groups:<br /><br /> - <form action = '<?php echo $action;?>' method = 'POST'> - - <select name='boxIdentifier'> - <?php foreach ($groups as $name => $value) {?> - <option value='<?php echo $value;?>'><?php echo $name;?></option> - <?php } ?> - </select> - <input type='submit' name='associateAction' value='associate'> - <input type='submit' name='dissociateAction' value='dissociate'> - <input type='hidden' name='id_user' value='<?php echo (int)$_POST['id_user'];?>'> - </form> -</div> - -<br /><hr> -<div class='groupsList'> - The user <b><?php echo $user;?></b> is inserted inside the following Groups: - <ul> - <?php foreach ($groupsUser as $g) {?> - <li><?php echo $g['reggroups']['name'];?></li> - <?php } ?> - </ul> -</div>
\ No newline at end of file diff --git a/h-source/admin/Application/Views/Adminregusers/main.php b/h-source/admin/Application/Views/Adminregusers/main.php deleted file mode 100644 index 7d71709..0000000 --- a/h-source/admin/Application/Views/Adminregusers/main.php +++ /dev/null @@ -1,25 +0,0 @@ -<?php if (!defined('EG')) die('Direct access not allowed!'); ?> - -<?php - -// h-admin, a web software to build a community of people that want to share their hardware information. -// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt) -// -// This file is part of h-admin -// -// h-admin 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. -// -// h-admin 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 h-admin. If not, see <http://www.gnu.org/licenses/>. - -?> - -<?php echo $scaffold;?>
\ No newline at end of file diff --git a/h-source/admin/Application/Views/Admintalk/main.php b/h-source/admin/Application/Views/Admintalk/main.php deleted file mode 100644 index 7d71709..0000000 --- a/h-source/admin/Application/Views/Admintalk/main.php +++ /dev/null @@ -1,25 +0,0 @@ -<?php if (!defined('EG')) die('Direct access not allowed!'); ?> - -<?php - -// h-admin, a web software to build a community of people that want to share their hardware information. -// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt) -// -// This file is part of h-admin -// -// h-admin 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. -// -// h-admin 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 h-admin. If not, see <http://www.gnu.org/licenses/>. - -?> - -<?php echo $scaffold;?>
\ No newline at end of file diff --git a/h-source/admin/Application/Views/Adminusers/associate.php b/h-source/admin/Application/Views/Adminusers/associate.php deleted file mode 100644 index b0f6672..0000000 --- a/h-source/admin/Application/Views/Adminusers/associate.php +++ /dev/null @@ -1,54 +0,0 @@ -<?php if (!defined('EG')) die('Direct access not allowed!'); ?> - -<?php - -// h-admin, a web software to build a community of people that want to share their hardware information. -// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt) -// -// This file is part of h-admin -// -// h-admin 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. -// -// h-admin 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 h-admin. If not, see <http://www.gnu.org/licenses/>. - -?> - -<div class='mainMenu'> - <?php echo $menu;?> -</div> - -<?php echo $notice;?> - -<div class='groupsList'> - Associate the user <b><?php echo $user;?></b> to some groups:<br /><br /> - <form action = '<?php echo $action;?>' method = 'POST'> - - <select name='boxIdentifier'> - <?php foreach ($groups as $name => $value) {?> - <option value='<?php echo $value;?>'><?php echo $name;?></option> - <?php } ?> - </select> - <input type='submit' name='associateAction' value='associate'> - <input type='submit' name='dissociateAction' value='dissociate'> - <input type='hidden' name='id_user' value='<?php echo (int)$_POST['id_user'];?>'> - </form> -</div> - -<br /><hr> -<div class='groupsList'> - The user <b><?php echo $user;?></b> is inserted inside the following Groups: - <ul> - <?php foreach ($groupsUser as $g) {?> - <li><?php echo $g['admingroups']['name'];?></li> - <?php } ?> - </ul> -</div>
\ No newline at end of file diff --git a/h-source/admin/Application/Views/Adminusers/forceout.php b/h-source/admin/Application/Views/Adminusers/forceout.php deleted file mode 100755 index f4b901d..0000000 --- a/h-source/admin/Application/Views/Adminusers/forceout.php +++ /dev/null @@ -1,29 +0,0 @@ -<?php if (!defined('EG')) die('Direct access not allowed!'); ?> - -<?php - -// h-admin, a web software to build a community of people that want to share their hardware information. -// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt) -// -// This file is part of h-admin -// -// h-admin 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. -// -// h-admin 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 h-admin. If not, see <http://www.gnu.org/licenses/>. - -?> - -<div class='mainMenu'> - <?php echo $menĂ¹;?> -</div> - -<?php echo $notice;?> diff --git a/h-source/admin/Application/Views/Adminusers/login.php b/h-source/admin/Application/Views/Adminusers/login.php deleted file mode 100755 index c005f35..0000000 --- a/h-source/admin/Application/Views/Adminusers/login.php +++ /dev/null @@ -1,45 +0,0 @@ -<?php if (!defined('EG')) die('Direct access not allowed!'); ?> - -<?php - -// h-admin, a web software to build a community of people that want to share their hardware information. -// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt) -// -// This file is part of h-admin -// -// h-admin 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. -// -// h-admin 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 h-admin. If not, see <http://www.gnu.org/licenses/>. - -?> - -<?php echo $notice; ?> - -<div class="login_box"> - <form action = '<?php echo $action;?>' method = 'POST'> - - <table> - <tr> - <td>Username</td> - <td><input type='text' name='username'></td> - </tr> - <tr> - <td>Password</td> - <td><input type='password' name='password'></td> - </tr> - <tr> - <td><input type = 'submit' value = 'login'></td> - </tr> - </table> - - </form> -</div> diff --git a/h-source/admin/Application/Views/Adminusers/logout.php b/h-source/admin/Application/Views/Adminusers/logout.php deleted file mode 100755 index 81ec4db..0000000 --- a/h-source/admin/Application/Views/Adminusers/logout.php +++ /dev/null @@ -1,29 +0,0 @@ -<?php if (!defined('EG')) die('Direct access not allowed!'); ?> - -<?php - -// h-admin, a web software to build a community of people that want to share their hardware information. -// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt) -// -// This file is part of h-admin -// -// h-admin 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. -// -// h-admin 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 h-admin. If not, see <http://www.gnu.org/licenses/>. - -?> - -<div class="logout_box"> - <div><?php echo $notice;?></div> - - <div><a href="<?php echo $login;?>">login</a></div> -</div>
\ No newline at end of file diff --git a/h-source/admin/Application/Views/Adminusers/main.php b/h-source/admin/Application/Views/Adminusers/main.php deleted file mode 100644 index 7d71709..0000000 --- a/h-source/admin/Application/Views/Adminusers/main.php +++ /dev/null @@ -1,25 +0,0 @@ -<?php if (!defined('EG')) die('Direct access not allowed!'); ?> - -<?php - -// h-admin, a web software to build a community of people that want to share their hardware information. -// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt) -// -// This file is part of h-admin -// -// h-admin 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. -// -// h-admin 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 h-admin. If not, see <http://www.gnu.org/licenses/>. - -?> - -<?php echo $scaffold;?>
\ No newline at end of file diff --git a/h-source/admin/Application/Views/footer_back.php b/h-source/admin/Application/Views/footer_back.php deleted file mode 100755 index fa9269c..0000000 --- a/h-source/admin/Application/Views/footer_back.php +++ /dev/null @@ -1,27 +0,0 @@ -<?php if (!defined('EG')) die('Direct access not allowed!'); ?> - -<?php - -// h-admin, a web software to build a community of people that want to share their hardware information. -// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt) -// -// This file is part of h-admin -// -// h-admin 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. -// -// h-admin 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 h-admin. If not, see <http://www.gnu.org/licenses/>. - -?> - -</div> <!--container--> -</body> -</html> diff --git a/h-source/admin/Application/Views/header_back.php b/h-source/admin/Application/Views/header_back.php deleted file mode 100755 index 862847d..0000000 --- a/h-source/admin/Application/Views/header_back.php +++ /dev/null @@ -1,94 +0,0 @@ -<?php if (!defined('EG')) die('Direct access not allowed!'); ?> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<html> -<?php - -// h-admin, a web software to build a community of people that want to share their hardware information. -// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt) -// -// This file is part of h-admin -// -// h-admin 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. -// -// h-admin 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 h-admin. If not, see <http://www.gnu.org/licenses/>. - -?> -<head> - - <title>Admin</title> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> - <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrlSrc.'/Public/Css/scaffold.css';?>"></style> - <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrlSrc.'/Public/Css/mainmenu.css';?>"></style> - <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrlSrc.'/Public/Css/popupmenu.css';?>"></style> - <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrlSrc.'/Public/Css/form.css';?>"></style> - <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrlSrc.'/Public/Css/pagelist.css';?>"></style> - <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrlSrc.'/Public/Css/files.css';?>"></style> - <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrlSrc.'/Public/Css/login.css';?>"></style> - - <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrlSrc.'/Public/Css/panel.css';?>"></style> - - <!--[if IE]> - <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl?>/Public/Css/explorer.css"> - <![endif] --> - - <script type="text/javascript" src="<?php echo $this->baseUrl;?>/Public/Js/jquery/jquery-1.4.2.min.js"></script> - - <!--markitup--> - <script type="text/javascript" src="<?php echo $this->baseUrl;?>/Public/Js/markitup/jquery.markitup.js"></script> - <script type="text/javascript" src="<?php echo $this->baseUrl;?>/Public/Js/markitup/sets/bbcode/set.js"></script> - - <!-- markItUp! skin --> - <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl;?>/Public/Js/markitup/skins/simple/style.css" /> - <!-- markItUp! toolbar skin --> - <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl;?>/Public/Js/markitup/sets/bbcode/style.css" /> - - <style type='text/css'> - - div#container{ - text-align: left; - margin:0px; - } - - .ask_for_deletion_internal - { - margin:10px; - background:#B0E0E6; - padding:10px; - } - .ask_for_deletion_item - { - font:normal 15px/1.3 sans-serif,arial,Verdana; - margin:5px; - } - </style> - - <script> - - $(document).ready(function(){ - - $(".delForm form").click(function () { - if (window.confirm("do you really want to delete this record?")) { - return true; - } - return false; - }); - - }); - - </script> - -</head> - -<body> - -<div id="container"> - diff --git a/h-source/admin/Application/Views/panel.php b/h-source/admin/Application/Views/panel.php deleted file mode 100755 index 1fff0b6..0000000 --- a/h-source/admin/Application/Views/panel.php +++ /dev/null @@ -1,55 +0,0 @@ -<?php if (!defined('EG')) die('Direct access not allowed!'); ?> - -<?php - -// h-admin, a web software to build a community of people that want to share their hardware information. -// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt) -// -// This file is part of h-admin -// -// h-admin 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. -// -// h-admin 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 h-admin. If not, see <http://www.gnu.org/licenses/>. - -?> - -<div class="mainPanel"> - - <div class='mainMenu'> - <div class='logoutButton'> - <a href ="<?php echo Url::getRoot('adminusers/logout');?>">LOGOUT</a> - </div> - </div> - - <div class='usersLoggedList'> - Users logged: - <?php foreach ($logged as $user) {?> - <b><?php echo $user.' ';?></b> - <?php } ?> - </div> - - <ul class='panelApplicationList'> - <li><a href="<?php echo Url::getRoot('adminusers/main/1/undef/'.$token);?>">Admin users</a></li> - <li><a href="<?php echo Url::getRoot('adminpassword/form/'.$token);?>">Password</a></li> - <li><a href="<?php echo Url::getRoot('adminhardware/main/1/undef/undef/undef/'.$token);?>">Hardware</a></li> - <li><a href="<?php echo Url::getRoot('admindeletion/main/1/undef/'.$token);?>">Ask for deletion</a></li> - <li><a href="<?php echo Url::getRoot('adminissues/main/1/undef/undef/undef/undef/'.$token);?>">Issues</a></li> - <li><a href="<?php echo Url::getRoot('adminmessages/main/1/undef/no/'.$token);?>">Messages to Issues</a></li> - <li><a href="<?php echo Url::getRoot('admintalk/main/1/'.$token);?>">Talk</a></li> - <li><a href="<?php echo Url::getRoot('adminregusers/main/1/undef/undef/undef/'.$token);?>">Registered users</a></li> - <li><a href="<?php echo Url::getRoot('adminparams/form/'.$token);?>">Parameters</a></li> - <li><a href="<?php echo Url::getRoot('adminnews/main/1/'.$token);?>">News</a></li> - <li><a href="<?php echo Url::getRoot('adminboxes/main/1/'.$token);?>">Boxes</a></li> - <li><a href="<?php echo Url::getRoot('adminhistory/main/1/undef/undef/undef/'.$token);?>">Moderators' actions history</a></li> - </ul> - -</div>
\ No newline at end of file |