| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
I noticed recently that many packages do not have the 'www' field in the database filled, or have it set to UNKNOWN The way the table is built, this causes bad links to be generated pointing to e.g. http://pf.sense/UNKNOWN. This patch fixes it, causing only packages with actual links to get the <a> tag.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Stop using id parameter for additional packages, keep using it only
for firmware upgrades
- Created to control variables $completed and $confirmed to check all
the stages and make it easy to understand what is happening
- Stop using $pkgid and use $pkgname instead
- Set $pkgname early and validate the port name
- Use $firmwareupdate everywhere to check if it's a firmware upgrade
- Add hidden input called confirmed to control when user has confirmed
installation / upgrade / removal
- Add specific messages for reinstall all
- Remove an extra form submit and just changes progress bar and
informative panel when json process finished successfully
|
| |
|
| |
|
|
|
|
| |
The call itself to print_info_box already echoes the content. There is no need of additionally using the short-open-echo tag on those calls to echo return value. The previous implementation shouldn't yell any visible issues as return is 'NULL' (undefined) which casts to an empty string when printing. But, just for the sake of conformity, this changes are advisable in my opinion.
|
|\ |
|
| | |
|
|/
|
|
| |
'Error', etc. prefixes, since alerts are now color coded. Remove <b> tags.
|
|
|
|
|
|
|
|
| |
Various sentences were being built up from gettext() of individual words
or phrases concatenated together. That will not work for translation to
languages with different word order, so I have restructured that.
Note: TODO: The countdown timer text with seconds countdown is all in JS
so I will think about how that can be translated nicely.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Get rid of the stristr() checks to "guess" if an apply button should
be used.
2) Change print_info_box() so it can take a button name of "close"
, "apply" or none to decide which button to show.
3) Delete function print_info_box_np_undo() - nothing calls it.
4) Add new function print_apply_box() to provide an easy wrapper for
print_info_box() with the parameters to be 'warning' level and 'apply'
button.
5) Change print_info_box_np() calls to just print_info_box() or
print_apply_box() as appropriate.
There is 1 direct call to print_info_box_np() from vpn_ipsec_mobile.php
remaining. That tries to make a "create" button. It was not working
before this change. It needs to be sorted out and fixed separately.
After this change there is no dependency on a string containing text
like "apply" to make the apply button appear.
Then we can work on re-engineering the internal code of
print_info_box_np() print_info_box() and print_apply_box() to fit
together however we like. It should be easy to preserving the current
API to print_info_box() and print_apply_box().
|
|
|
|
|
|
| |
intendend here), fix appearance of the text.
<ul> without <li> is invalid, remove. Also move the icon to a separate i tag, putting it in an a tag changed the font in an undesirable way.
|
|
|
|
|
|
| |
Make all the panel-heading uses also have consistent <h2
class="panel-title"> so they all display the same size.
Forum https://forum.pfsense.org/index.php?topic=105275.0
|
|
|
|
| |
the presentation of error and status messages, as well as offering a more "standard" solution. (i.e.: should work with all browsers)
|
| |
|
| |
|
|
|
|
| |
* Version title should always print
* $g['disablepackagehistory'] only disables the changelog hyperlink
|
|
|
| |
Update syntax to 4 space indent
|
|
|
|
|
|
|
|
| |
* Note - There are two lines previously commented out at Lines! (L127-128)
* Mods to if/else/elseif/endif statements for consistency.
* Change package dependency href link icon from "paper-clip" to "globe".
* Put package dependency links into a < ul > for a cleaner output when dependencies span over two lines.
* Add missing gettext()
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bad value #search-panel .panel-body for attribute href on element a: Illegal character in fragment: space is not allowed.
<a data-toggle="collapse" href="#search-panel .panel-body" name="search-panel">
The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.
<a data-toggle="collapse" href="#search-panel .panel-body" name="search-panel">
Bad value button for attribute type on element a: Subtype missing.
<a id="btnsearch" type="button" title="Search" class="btn btn-primary btn-sm">Search
<a id="btnclear" type="button" title="Clear" class="btn btn-default btn-sm">Clear
|
|
|
|
|
| |
Stray tbody, table, and div tag ends when list empty.
Close php tag.
|
|
|
|
| |
installed package list)
|
|
|
|
| |
was the reason they were added, it was never finished and it's not being used
|
| |
|
|
|
|
|
|
| |
Table header only has three column, however the table body has four, so
add
missing column in table header
|
|\ |
|
| | |
|
|/ |
|
|
|
|
| |
are all pages and the "WebCfg" prefix implies they are pages.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
"Where" default to "Both"
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
installer to run in the background
whilst monitoring its output via AJAX to provide a better GUI display.
Work in progress !
|
| |
|
|
|
|
| |
Use pkg_remove_prefix()
|