Skip to content

Instantly share code, notes, and snippets.

horst horst-n

Block or report user

Report or block horst-n

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@horst-n
horst-n / MarkupSvgIcons.module
Last active Sep 26, 2015
A Proof of Concept, ProcessWire module for SVG-Icon usage on API level
View MarkupSvgIcons.module
<?php
/**
* Markup SVG Icons
*
* @author horst
*
*
* ProcessWire 2.3+
* Copyright (C) 2011 by Ryan Cramer
* Licensed under GNU/GPL v2, see LICENSE.TXT
@horst-n
horst-n / template-test-code-4_pageimage.php
Created Jun 21, 2014
this is a simple template code that test the new pageimage methods regarding suffix!
View template-test-code-4_pageimage.php
<?php
// test for static helper function pageimage::addSuffix
foreach(array(
'suf1' => '/www/htdocs/site/assets/files/1001/basename.jpg',
'suf2' => '/www/htdocs/site/assets/files/1001/basename.100x0.jpg',
'suf3' => '/www/htdocs/site/assets/files/1001/basename.100x0nw.jpg',
'suf4' => '/www/htdocs/site/assets/files/1001/basename.100x0nw-suf4.jpg',
'suf5' => '/www/htdocs/site/assets/files/1001/basename.100x0nw-suf7.jpg',
'suf6' => '/www/htdocs/site/assets/files/1001/basename.100x0nw-suf7-suf6-suf1.jpg',
You can’t perform that action at this time.