[PR #45] Template engine PoC #59

Open
opened 2026-03-02 03:21:34 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/clonos/control-pane/pull/45
Author: @bozhinov
Created: 2/26/2021
Status: 🔄 Open

Base: masterHead: extract_html


📝 Commits (10+)

📊 Changes

17 files changed (+769 additions, -363 deletions)

View changed files

cache/.empty (+0 -0)
php/Parser.php (+309 -0)
php/Tpl.php (+131 -0)
📝 php/clonos.php (+29 -37)
📝 php/config.php (+1 -0)
php/locale.php (+0 -25)
php/localization.php (+25 -0)
php/menu.php (+0 -91)
📝 public/css/styles.css (+2 -2)
📝 public/dialogs/system-login.php (+2 -2)
📝 public/download.php (+31 -30)
📝 public/index.php (+56 -159)
📝 public/js/clonos.js (+1 -1)
📝 public/json.php (+13 -14)
📝 public/upload.php (+11 -2)
templates/index.1.html (+41 -0)
templates/index.2.html (+117 -0)

📄 Description

Things to consider:

  • Needs additional chmod of cache dir - 775
  • ClonOS version is taken from the Config static class and not the version file
  • I ve removed warning for IE as it now works OK

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/clonos/control-pane/pull/45 **Author:** [@bozhinov](https://github.com/bozhinov) **Created:** 2/26/2021 **Status:** 🔄 Open **Base:** `master` ← **Head:** `extract_html` --- ### 📝 Commits (10+) - [`0cb2343`](https://github.com/clonos/control-pane/commit/0cb2343e98a5e8951da0e5e386d31584558381cb) * PoC - [`f856b52`](https://github.com/clonos/control-pane/commit/f856b521f93240176f75f44fb7422403b61e7819) * Almost there - [`b869f30`](https://github.com/clonos/control-pane/commit/b869f30076980466b84e84b826b79257e68562af) * No need to translate it here - [`46ea044`](https://github.com/clonos/control-pane/commit/46ea044f0b5cbb9caefe0c77350829ff84b75e95) * Moved locale under tpl - [`b414689`](https://github.com/clonos/control-pane/commit/b414689198152ec08dca255c92acab7bbe00c0b9) * Code cleanup - [`0c89d12`](https://github.com/clonos/control-pane/commit/0c89d12b350e4587152396129dee493d8caace34) * Merged Tpl and Locale - [`c27a422`](https://github.com/clonos/control-pane/commit/c27a4228acd1afb22cb0a880b43ca4f48e50f4aa) * unify naming - [`c64a9bb`](https://github.com/clonos/control-pane/commit/c64a9bb439dd70f91489e23c66b87a65db5794c4) * Prevent direct calls to upload/download - [`0f1c29b`](https://github.com/clonos/control-pane/commit/0f1c29bdf0d735dc4c5d445c59a43c0f88f018af) * Code cleanup - [`e563bc0`](https://github.com/clonos/control-pane/commit/e563bc04ff9f7dfaffddf8313018d4643a5dff3e) * done ### 📊 Changes **17 files changed** (+769 additions, -363 deletions) <details> <summary>View changed files</summary> ➕ `cache/.empty` (+0 -0) ➕ `php/Parser.php` (+309 -0) ➕ `php/Tpl.php` (+131 -0) 📝 `php/clonos.php` (+29 -37) 📝 `php/config.php` (+1 -0) ➖ `php/locale.php` (+0 -25) ➕ `php/localization.php` (+25 -0) ➖ `php/menu.php` (+0 -91) 📝 `public/css/styles.css` (+2 -2) 📝 `public/dialogs/system-login.php` (+2 -2) 📝 `public/download.php` (+31 -30) 📝 `public/index.php` (+56 -159) 📝 `public/js/clonos.js` (+1 -1) 📝 `public/json.php` (+13 -14) 📝 `public/upload.php` (+11 -2) ➕ `templates/index.1.html` (+41 -0) ➕ `templates/index.2.html` (+117 -0) </details> ### 📄 Description Things to consider: - Needs additional chmod of cache dir - 775 - ClonOS version is taken from the Config static class and not the version file - I ve removed warning for IE as it now works OK --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/control-pane#59
No description provided.