Commit d353cd03 authored by Sigrid Suski's avatar Sigrid Suski

(+) Implementation of Font Awesome 5 (free version)

parent ca1745f5
......@@ -11,11 +11,8 @@
<h4 style="margin-bottom: 2px;">Icons and graphics used in SobiPro</h4>
<ul>
<li><a href="http://fontawesome.io/" target="_blank">Font Awesome</a> by Dave Gandy</li>
<li><a href="https://fontawesome.com/" target="_blank">Font Awesome</a> by Dave Gandy</li>
<li><a href="https://material.io/icons/" target="_blank">Material icons</a> by Google</li>
<li><a href="http://www.oxygen-icons.org/" target="_blank">Oxygen Icons</a></li>
<li><a href="http://mediadesign.deviantart.com/" target="_blank">HydroPro Icons</a> by Benjamin Fleming / *MediaDesign</li>
<li><a href="http://tiheum.deviantart.com/" target="_blank">Faenza Icons</a> by Matthieu James</li>
</ul>
<h4 style="margin-bottom: 2px;">Third party libraries included in SobiPro</h4>
......
......@@ -71,6 +71,7 @@
<option value="0" label="OPT_NO"/>
<option value="font-awesome-3" label="SECN.CFG.ICONS_FONT_AWESOME_3"/>
<option value="font-awesome-4" label="SECN.CFG.ICONS_FONT_AWESOME_4"/>
<option value="font-awesome-5" label="SECN.CFG.ICONS_FONT_AWESOME_5"/>
<option value="font-google-materials" label="SECN.CFG.ICONS_MATERIAL"/>
</values>
</field>
......
......@@ -108,6 +108,7 @@
<field type="checkBoxGroup" label="SECN.CFG.USE_ICONS_FONTS" name="spcfg[template.icon_fonts_arr]"
selected="template.icon_fonts_arr" class="input-xlarge">
<values>
<option value="font-awesome-5" label="SECN.CFG.ICONS_FONT_AWESOME_5"/>
<option value="font-awesome-4" label="SECN.CFG.ICONS_FONT_AWESOME_4"/>
<option value="font-google-materials" label="SECN.CFG.ICONS_MATERIAL"/>
<option value="font-awesome-3" label="SECN.CFG.ICONS_FONT_AWESOME_3"/>
......
......@@ -32,6 +32,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
### 1.5 ()
(+) Implementation of Font Awesome 5 (free version)
### 1.4.8 ()
......
......@@ -5,7 +5,7 @@
; Email: sobi[at]sigsiu.net
; Url: https://www.Sigsiu.NET
; @copyright Copyright (C) 2006 - 2017 Sigsiu.NET GmbH (https://www.sigsiu.net). All rights reserved.
; @copyright Copyright (C) 2006 - 2018 Sigsiu.NET GmbH (https://www.sigsiu.net). All rights reserved.
; @license GNU/GPL Version 3
; This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3
; as published by the Free Software Foundation, and under the additional terms according section 7 of GPL v3.
......@@ -88,6 +88,7 @@ show = 80
[icon-fonts]
font-awesome-3="//maxcdn.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css"
font-awesome-4="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
font-awesome-5="//use.fontawesome.com/releases/v5.3.1/css/all.css"
font-google-materials="//fonts.googleapis.com/icon?family=Material+Icons"
[date]
......
This diff is collapsed.
......@@ -91,6 +91,7 @@ class SPSectionView extends SPFrontView implements SPView
$fontclass = 'icon-large';
break;
case 'font-awesome-4':
case 'font-awesome-5':
$fontclass = 'fa-lg';
break;
case 'font-google-materials':
......@@ -108,6 +109,7 @@ class SPSectionView extends SPFrontView implements SPView
$fontclass = 'icon-' . $iconsize . 'x';
break;
case 'font-awesome-4':
case 'font-awesome-5':
$fontclass = 'fa-' . $iconsize . 'x';
break;
case 'font-google-materials':
......
......@@ -187,6 +187,7 @@ SP.SECN.CFG.ICONS_FONT_AWESOME_4 = "Font Awesome 4"
SP.SECN.CFG.ICONS_FONT_AWESOME_4_2 = "Font Awesome 4 (2x)"
SP.SECN.CFG.ICONS_FONT_AWESOME_4_4 = "Font Awesome 4 (4x)"
SP.SECN.CFG.ICONS_FONT_AWESOME_4_5 = "Font Awesome 4 (5x)"
SP.SECN.CFG.ICONS_FONT_AWESOME_5 = "Font Awesome 5"
SP.SECN.CFG.ICONS_MATERIAL = "Google's Material Icons"
SP.SECN.CFG.ICONS_FONT_AWESOME_3_LOCAL = "Font Awesome 3 local (default)"
SP.OPT_FONTS_ICONS = "Font Icons"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment