Skip to content
Permalink
Browse files

Merge branch 'feature/iconify' into develop

  • Loading branch information
giterlizzi committed Dec 28, 2019
2 parents 5f1cecb + 71b1cac commit 86fca2cd7871508d3aace0e21d812b2b637a504a
Showing 3,642 changed files with 33,372 additions and 15,001 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
@@ -59,7 +59,7 @@
* Arif Budiman

#### Italian
* Giuseppe Di Terlizzi ([LotarProject](https://github.com/LotarProject)) <giuseppe.diterlizzi@gmail.com>
* Giuseppe Di Terlizzi ([giterlizzi](https://github.com/giterlizzi)) <giuseppe.diterlizzi@gmail.com>
* Gilberto Bertarelli

#### Japanese
@@ -1,4 +1,4 @@
[![Release](https://img.shields.io/github/release/LotarProject/dokuwiki-template-bootstrap3.svg)](https://github.com/LotarProject/dokuwiki-template-bootstrap3/releases) [![License](https://img.shields.io/github/license/LotarProject/dokuwiki-template-bootstrap3.svg)](https://github.com/LotarProject/dokuwiki-template-bootstrap3) [![Starts](https://img.shields.io/github/stars/LotarProject/dokuwiki-template-bootstrap3.svg)](https://github.com/LotarProject/dokuwiki-template-bootstrap3) [![Forks](https://img.shields.io/github/forks/LotarProject/dokuwiki-template-bootstrap3.svg)](https://github.com/LotarProject/dokuwiki-template-bootstrap3) [![Issues](https://img.shields.io/github/issues/LotarProject/dokuwiki-template-bootstrap3.svg)](https://github.com/LotarProject/dokuwiki-template-bootstrap3/issues)
[![Release](https://img.shields.io/github/release/giterlizzi/dokuwiki-template-bootstrap3.svg)](https://github.com/giterlizzi/dokuwiki-template-bootstrap3/releases) [![License](https://img.shields.io/github/license/giterlizzi/dokuwiki-template-bootstrap3.svg)](https://github.com/giterlizzi/dokuwiki-template-bootstrap3) [![Starts](https://img.shields.io/github/stars/giterlizzi/dokuwiki-template-bootstrap3.svg)](https://github.com/giterlizzi/dokuwiki-template-bootstrap3) [![Forks](https://img.shields.io/github/forks/giterlizzi/dokuwiki-template-bootstrap3.svg)](https://github.com/giterlizzi/dokuwiki-template-bootstrap3) [![Issues](https://img.shields.io/github/issues/giterlizzi/dokuwiki-template-bootstrap3.svg)](https://github.com/giterlizzi/dokuwiki-template-bootstrap3/issues)

# Bootstrap3 template for DokuWiki

Large diffs are not rendered by default.

@@ -1,7 +1,7 @@
<?php

/**
* MDI PHP Helper
* SVG PHP Helper
*
* Based on https://github.com/chteuchteu/MaterialDesignIcons-PHP
*
@@ -10,7 +10,7 @@
*/


class Mdi
class SVG
{

public static $iconsPath;
@@ -29,21 +29,6 @@ class Mdi
*/
public static function icon($icon, $class = null, $size = 24, $attrs = array())
{
// Ensure that the icons path has been specified, or auto-detect it
if (!self::$iconsPath) {
msg('You forgot to specify MDI\'s path!', -1);
return false;
}

// Strip leading "mdi mdi-" or "mdi-"
if (strpos($icon, 'mdi mdi-') === 0) {
$icon = substr($icon, \strlen('mdi mdi-'));
}

if (strpos($icon, 'mdi-') === 0) {
$icon = substr($icon, \strlen('mdi-'));
}

// Find the icon, ensure it exists
if (file_exists($icon)) {
$file_path = $icon;

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 86fca2c

Please sign in to comment.
You can’t perform that action at this time.