Revision 573ec19d
Added by Renato Botelho over 4 years ago
src/etc/inc/auth.inc | ||
---|---|---|
2177 | 2177 |
function print_credit() { |
2178 | 2178 |
global $g; |
2179 | 2179 |
|
2180 |
return '<a target="_blank" href="https://pfsense.org">' . $g["product_name"] . '</a>' .
|
|
2180 |
return '<a target="_blank" href="https://pfsense.org">' . $g["product_label"] . '</a>' .
|
|
2181 | 2181 |
gettext(' is developed and maintained by ') . |
2182 | 2182 |
'<a target="_blank" href="https://netgate.com">Netgate. </a>' . ' © ESF ' . $g["product_copyright_years"] . |
2183 | 2183 |
'<a target="_blank" href="https://pfsense.org/license">' . |
Also available in: Unified diff
Add product_label global variable
Introduce product_label global variable, by default with same value of
product_name. The idea is to make it easier for rebranded products to
change the name on all visual texts while internal structures are
preserved.
While here, remove deprecated $g['platform'] and also replace places
with pfSense hardcoded on text messages by $g['product_label'].
No functional changes are expected.