This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{pyro:noparse} | |
<cite>{pyro:some:tag parsed="false"}</cite> | |
{/pyro:noparse} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Image traditional | |
{pyro:theme:image file="icons/{pyro:module_details:slug}.png" base="path"} | |
<?php | |
echo 'html_img_open' . 'path' . 'file' . 'html_img_close'; // image tag | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image original dimensions (???x???) | |
files/large/1 | |
files/thumb/1/auto/auto | |
files/thumb/1/auto/auto/fill | |
files/thumb/1/auto/auto/fit | |
max default dimensions (100x100) with aspect ratio | |
files/thumb/1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php defined('BASEPATH') OR exit('No direct script access allowed.'); | |
/** | |
* CodeIgniter Files Helpers | |
* | |
* @package CodeIgniter | |
* @subpackage Helpers | |
* @category Helpers | |
* @author PyroCMS development team | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
{pyro:files:listing folder="root/subfolder" type="i"} | |
<li> | |
* {id} | |
* {folder_id} | |
* {user_id} | |
* {type} | |
* {name} | |
* {filename} | |
* {description} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php isset($argv[1]) OR die('Input file should be the first arg on cmd line.'); | |
const G_FOO = 'bjdrf'; //Googlon special letters | |
const G_INV = 'c'; //Preposition invalidator | |
const G_PREP = 3; //Preposition size | |
const G_VERB = 6; //Verb size | |
const G_ORDER = 'gkvrbjwtnlphzfmdxcqs'; //Letter ordering | |
const G_NUM_MOD = 5; //Pretty number divisor | |
const G_NUM_MAX = 860533; //Pretty number minimum |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>test files plugin</h1> | |
<h2>double</h2> | |
<ul> | |
{pyro:files:listing folder="1"} | |
<li>{filename}</li> | |
{/pyro:files:listing} | |
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php defined('BASEPATH') OR exit('No direct script access allowed.'); | |
/** | |
* Character Limiter Mid | |
* | |
* Limits the string representing the characters removed from somewhere from | |
* their mid. This limiter considers the output string as two parts (start and | |
* end) and not preserves complete words, so you also can chose exactly how many | |
* characters at start and end you need have. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
{pyro:template:metadata} <!-- // default is "header", as {pyro:template:metadata in="header"} --> | |
</head> | |
<body> | |
{pyro:template:metadata in="body"} | |
[...] | |
{pyro:template:metadata in="footer"} | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php defined('BASEPATH') OR exit('No direct script access allowed'); | |
/* | |
| ------------------------------------------------------------------- | |
| DATABASE CONNECTIVITY SETTINGS | |
| ------------------------------------------------------------------- | |
| This file will contain the settings needed to access your database. | |
| | |
| For complete instructions please consult the 'Database Connection' | |
| page of the User Guide. | |
| |
OlderNewer