For example, with the following directory structure, Bludit is
installed in its own subdirectory:
web_root
├── .htaccess
└── bludit
├── bl_content
├── bl_kernel
│ ...
├── .htaccess
├── index.php
└── install.php
However, it may be desired that Bludit's URLs are based from the web
root, not /bludit:
Good: http://example.com/about
Bad: http://example.com/bludit/about
The config file web_root/.htaccess includes the following rule to
rewrite requests to web_root/bludit:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*) bludit/$1 [NC,L,QSA]
When a page is accessed, Bludit finds that the URL /about doesn't
match the script path bludit/index.php, and assumes that the site's
root should therefore be "/".
This is to ensure that the area will be comaptible
with any text editor plugins.
I have tested with SimpleMDE and Quill. Both worked
completely fine.
Bonus: Added description of Quill's English locale.
This is to keep some distance from the plugin name, especially in narrower
screens or when the browser window is resized to be narrower. It ensures
the placement still looks neat :)
Signed-off-by: ADTC <send2adtc@gmail.com>
An unchecked checkbox icon is used for Activate (to show that it's
currently inactive). A checked checkbox icon is used for Deactivate (to
show that it's currently active). A gear icon is used for the Settings
link.
The checkbox icons are placed on the left side of the name, as checkboxes
usually appear. The gear icon is placed floated to the right side of the
name, to have a clean look.
The plugin list is more compact, and it's much easier to identify which
plugins are currently active, and which have settings. No need to read
any words!
The previously used words (with language dependency) is still used as the
tooltip (title) that is shown when the mouse hovers over the icons.
In the themes page, the checked checkbox icon denotes the curently active
theme, but doesn't do anything when clicked. This is by design, since only
one theme can be active at a time. For consistency sake, a circle (radio
button style) was not used.
Signed-off-by: ADTC <send2adtc@gmail.com>