Änderungen https Andy Müller rückgängig gemacht
This commit is contained in:
parent
55f1b9a7a9
commit
09fea7ec1a
Binary file not shown.
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
-- phpMyAdmin SQL Dump
|
||||
-- version 3.3.3
|
||||
-- https://www.phpmyadmin.net
|
||||
-- http://www.phpmyadmin.net
|
||||
--
|
||||
-- Host: localhost
|
||||
-- Erstellungszeit: 11. Mai 2011 um 14:23
|
||||
|
@ -2,7 +2,7 @@ adLDAP - PHP LDAP CLASS FOR MANIPULATING ACTIVE DIRECTORY
|
||||
|
||||
Written by Scott Barnett, Richard Hyland
|
||||
email: scott@wiggumworld.com, adldap@richardhyland.com
|
||||
https://adldap.sourceforge.net/
|
||||
http://adldap.sourceforge.net/
|
||||
|
||||
|
||||
CHANGELOG
|
||||
|
@ -3,7 +3,7 @@ Version 3.3.2
|
||||
|
||||
Written by Scott Barnett, Richard Hyland
|
||||
email: scott@wiggumworld.com, adldap@richardhyland.com
|
||||
https://adldap.sourceforge.net/
|
||||
http://adldap.sourceforge.net/
|
||||
|
||||
We'd appreciate any improvements or additions to be submitted back
|
||||
to benefit the entire community :)
|
||||
@ -15,11 +15,11 @@ called "includes/". If you want to use somewhere else, just edit the
|
||||
include directives in the scripts.
|
||||
|
||||
The examples should be pretty self explanatory. If you require more
|
||||
information, please visit https://adldap.sourceforge.net/
|
||||
information, please visit http://adldap.sourceforge.net/
|
||||
|
||||
-------------------
|
||||
|
||||
For full API documentation see https://adldap.sourceforge.net/wiki/doku.php?id=api
|
||||
For full API documentation see http://adldap.sourceforge.net/wiki/doku.php?id=api
|
||||
|
||||
1. Copy adLDAP.php to your server
|
||||
2. Edit the configuring variables in the class itself if you so wish to
|
||||
|
@ -1,2 +1,2 @@
|
||||
https://www.administrator.de/index.php?content=31891
|
||||
https://www.php.de/php-einsteiger/50623-login-mittels-active-directory-ldap.html
|
||||
http://www.administrator.de/index.php?content=31891
|
||||
http://www.php.de/php-einsteiger/50623-login-mittels-active-directory-ldap.html
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
* Written by Scott Barnett, Richard Hyland
|
||||
* email: scott@wiggumworld.com, adldap@richardhyland.com
|
||||
* https://adldap.sourceforge.net/
|
||||
* http://adldap.sourceforge.net/
|
||||
*
|
||||
* Copyright (c) 2006-2010 Scott Barnett, Richard Hyland
|
||||
*
|
||||
@ -28,10 +28,10 @@
|
||||
* @package adLDAP
|
||||
* @author Scott Barnett, Richard Hyland
|
||||
* @copyright (c) 2006-2010 Scott Barnett, Richard Hyland
|
||||
* @license https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html LGPLv2.1
|
||||
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html LGPLv2.1
|
||||
* @revision $Revision: 91 $
|
||||
* @version 3.3.2
|
||||
* @link https://adldap.sourceforge.net/
|
||||
* @link http://adldap.sourceforge.net/
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -57,7 +57,7 @@ define ('ADLDAP_CONTAINER', 'CN');
|
||||
* much information on other users as you could as a domain admin.
|
||||
*
|
||||
* Before asking questions, please read the Documentation at
|
||||
* https://adldap.sourceforge.net/wiki/doku.php?id=api
|
||||
* http://adldap.sourceforge.net/wiki/doku.php?id=api
|
||||
*/
|
||||
class adLDAP {
|
||||
/**
|
||||
@ -98,7 +98,7 @@ class adLDAP {
|
||||
protected $_ad_password=NULL;
|
||||
|
||||
/**
|
||||
* AD does not return the primary group. https://support.microsoft.com/?kbid=321360
|
||||
* AD does not return the primary group. http://support.microsoft.com/?kbid=321360
|
||||
* This tweak will resolve the real primary group.
|
||||
* Setting to false will fudge "Domain Users" and is much faster. Keep in mind though that if
|
||||
* someone's primary group is NOT domain users, this is obviously going to mess up the results
|
||||
@ -109,7 +109,7 @@ class adLDAP {
|
||||
|
||||
/**
|
||||
* Use SSL (LDAPS), your server needs to be setup, please see
|
||||
* https://adldap.sourceforge.net/wiki/doku.php?id=ldap_over_ssl
|
||||
* http://adldap.sourceforge.net/wiki/doku.php?id=ldap_over_ssl
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
@ -340,7 +340,7 @@ class adLDAP {
|
||||
}
|
||||
|
||||
if ($this->ldap_supported() === false) {
|
||||
throw new adLDAPException('No LDAP support for PHP. See: https://www.php.net/ldap');
|
||||
throw new adLDAPException('No LDAP support for PHP. See: http://www.php.net/ldap');
|
||||
}
|
||||
|
||||
return $this->connect();
|
||||
@ -1030,13 +1030,13 @@ class adLDAP {
|
||||
*
|
||||
* @param string $username The username to query
|
||||
* @param book $isGUID Is the username passed a GUID or a samAccountName
|
||||
* @requires bcmath https://www.php.net/manual/en/book.bc.php
|
||||
* @requires bcmath http://www.php.net/manual/en/book.bc.php
|
||||
* @return array
|
||||
*/
|
||||
public function user_password_expiry($username,$isGUID=false) {
|
||||
if ($username===NULL){ return ("Missing compulsory field [username]"); }
|
||||
if (!$this->_bind){ return (false); }
|
||||
if (!function_exists('bcmod')) { return ("Missing function support [bcmod] https://www.php.net/manual/en/book.bc.php"); };
|
||||
if (!function_exists('bcmod')) { return ("Missing function support [bcmod] http://www.php.net/manual/en/book.bc.php"); };
|
||||
|
||||
$userinfo = $this->user_info($username, array("pwdlastset", "useraccountcontrol"), $isGUID);
|
||||
$pwdlastset = $userinfo[0]['pwdlastset'][0];
|
||||
@ -1065,7 +1065,7 @@ class adLDAP {
|
||||
$maxpwdage = $info[0]['maxpwdage'][0];
|
||||
|
||||
|
||||
// See MSDN: https://msdn.microsoft.com/en-us/library/ms974598.aspx
|
||||
// See MSDN: http://msdn.microsoft.com/en-us/library/ms974598.aspx
|
||||
//
|
||||
// pwdLastSet contains the number of 100 nanosecond intervals since January 1, 1601 (UTC),
|
||||
// stored in a 64 bit integer.
|
||||
@ -1467,7 +1467,7 @@ class adLDAP {
|
||||
|
||||
/**
|
||||
* Returns a folder listing for a specific OU
|
||||
* See https://adldap.sourceforge.net/wiki/doku.php?id=api_folder_functions
|
||||
* See http://adldap.sourceforge.net/wiki/doku.php?id=api_folder_functions
|
||||
*
|
||||
* @param array $folder_name An array to the OU you wish to list.
|
||||
* If set to NULL will list the root, strongly recommended to set
|
||||
@ -1681,7 +1681,7 @@ class adLDAP {
|
||||
|
||||
/**
|
||||
* Add an X400 address to Exchange
|
||||
* See https://tools.ietf.org/html/rfc1685 for more information.
|
||||
* See http://tools.ietf.org/html/rfc1685 for more information.
|
||||
* An X400 Address looks similar to this X400:c=US;a= ;p=Domain;o=Organization;s=Doe;g=John;
|
||||
*
|
||||
* @param string $username The username of the user to add the X400 to to
|
||||
@ -2090,7 +2090,7 @@ class adLDAP {
|
||||
|
||||
/**
|
||||
* Coping with AD not returning the primary group
|
||||
* https://support.microsoft.com/?kbid=321360
|
||||
* http://support.microsoft.com/?kbid=321360
|
||||
*
|
||||
* For some reason it's not possible to search on primarygrouptoken=XXX
|
||||
* If someone can show otherwise, I'd like to know about it :)
|
||||
@ -2121,7 +2121,7 @@ class adLDAP {
|
||||
|
||||
/**
|
||||
* Coping with AD not returning the primary group
|
||||
* https://support.microsoft.com/?kbid=321360
|
||||
* http://support.microsoft.com/?kbid=321360
|
||||
*
|
||||
* This is a re-write based on code submitted by Bruce which prevents the
|
||||
* need to search each security group to find the true primary group
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
* Written by Scott Barnett, Richard Hyland
|
||||
* email: scott@wiggumworld.com, adldap@richardhyland.com
|
||||
* https://adldap.sourceforge.net/
|
||||
* http://adldap.sourceforge.net/
|
||||
*
|
||||
* Copyright (c) 2006-2010 Scott Barnett, Richard Hyland
|
||||
*
|
||||
@ -28,10 +28,10 @@
|
||||
* @package adLDAP
|
||||
* @author Scott Barnett, Richard Hyland
|
||||
* @copyright (c) 2006-2010 Scott Barnett, Richard Hyland
|
||||
* @license https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html LGPLv2.1
|
||||
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html LGPLv2.1
|
||||
* @revision $Revision: 91 $
|
||||
* @version 3.3.2
|
||||
* @link https://adldap.sourceforge.net/
|
||||
* @link http://adldap.sourceforge.net/
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -57,7 +57,7 @@ define ('ADLDAP_CONTAINER', 'CN');
|
||||
* much information on other users as you could as a domain admin.
|
||||
*
|
||||
* Before asking questions, please read the Documentation at
|
||||
* https://adldap.sourceforge.net/wiki/doku.php?id=api
|
||||
* http://adldap.sourceforge.net/wiki/doku.php?id=api
|
||||
*/
|
||||
class adLDAP {
|
||||
/**
|
||||
@ -101,7 +101,7 @@ class adLDAP {
|
||||
protected $_ad_password="ldHS332";
|
||||
|
||||
/**
|
||||
* AD does not return the primary group. https://support.microsoft.com/?kbid=321360
|
||||
* AD does not return the primary group. http://support.microsoft.com/?kbid=321360
|
||||
* This tweak will resolve the real primary group.
|
||||
* Setting to false will fudge "Domain Users" and is much faster. Keep in mind though that if
|
||||
* someone's primary group is NOT domain users, this is obviously going to mess up the results
|
||||
@ -112,7 +112,7 @@ class adLDAP {
|
||||
|
||||
/**
|
||||
* Use SSL (LDAPS), your server needs to be setup, please see
|
||||
* https://adldap.sourceforge.net/wiki/doku.php?id=ldap_over_ssl
|
||||
* http://adldap.sourceforge.net/wiki/doku.php?id=ldap_over_ssl
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
@ -343,7 +343,7 @@ class adLDAP {
|
||||
}
|
||||
|
||||
if ($this->ldap_supported() === false) {
|
||||
throw new adLDAPException('No LDAP support for PHP. See: https://www.php.net/ldap');
|
||||
throw new adLDAPException('No LDAP support for PHP. See: http://www.php.net/ldap');
|
||||
}
|
||||
|
||||
return $this->connect();
|
||||
@ -1033,13 +1033,13 @@ class adLDAP {
|
||||
*
|
||||
* @param string $username The username to query
|
||||
* @param book $isGUID Is the username passed a GUID or a samAccountName
|
||||
* @requires bcmath https://www.php.net/manual/en/book.bc.php
|
||||
* @requires bcmath http://www.php.net/manual/en/book.bc.php
|
||||
* @return array
|
||||
*/
|
||||
public function user_password_expiry($username,$isGUID=false) {
|
||||
if ($username===NULL){ return ("Missing compulsory field [username]"); }
|
||||
if (!$this->_bind){ return (false); }
|
||||
if (!function_exists('bcmod')) { return ("Missing function support [bcmod] https://www.php.net/manual/en/book.bc.php"); };
|
||||
if (!function_exists('bcmod')) { return ("Missing function support [bcmod] http://www.php.net/manual/en/book.bc.php"); };
|
||||
|
||||
$userinfo = $this->user_info($username, array("pwdlastset", "useraccountcontrol"), $isGUID);
|
||||
$pwdlastset = $userinfo[0]['pwdlastset'][0];
|
||||
@ -1068,7 +1068,7 @@ class adLDAP {
|
||||
$maxpwdage = $info[0]['maxpwdage'][0];
|
||||
|
||||
|
||||
// See MSDN: https://msdn.microsoft.com/en-us/library/ms974598.aspx
|
||||
// See MSDN: http://msdn.microsoft.com/en-us/library/ms974598.aspx
|
||||
//
|
||||
// pwdLastSet contains the number of 100 nanosecond intervals since January 1, 1601 (UTC),
|
||||
// stored in a 64 bit integer.
|
||||
@ -1471,7 +1471,7 @@ class adLDAP {
|
||||
|
||||
/**
|
||||
* Returns a folder listing for a specific OU
|
||||
* See https://adldap.sourceforge.net/wiki/doku.php?id=api_folder_functions
|
||||
* See http://adldap.sourceforge.net/wiki/doku.php?id=api_folder_functions
|
||||
*
|
||||
* @param array $folder_name An array to the OU you wish to list.
|
||||
* If set to NULL will list the root, strongly recommended to set
|
||||
@ -1685,7 +1685,7 @@ class adLDAP {
|
||||
|
||||
/**
|
||||
* Add an X400 address to Exchange
|
||||
* See https://tools.ietf.org/html/rfc1685 for more information.
|
||||
* See http://tools.ietf.org/html/rfc1685 for more information.
|
||||
* An X400 Address looks similar to this X400:c=US;a= ;p=Domain;o=Organization;s=Doe;g=John;
|
||||
*
|
||||
* @param string $username The username of the user to add the X400 to to
|
||||
@ -2094,7 +2094,7 @@ class adLDAP {
|
||||
|
||||
/**
|
||||
* Coping with AD not returning the primary group
|
||||
* https://support.microsoft.com/?kbid=321360
|
||||
* http://support.microsoft.com/?kbid=321360
|
||||
*
|
||||
* For some reason it's not possible to search on primarygrouptoken=XXX
|
||||
* If someone can show otherwise, I'd like to know about it :)
|
||||
@ -2125,7 +2125,7 @@ class adLDAP {
|
||||
|
||||
/**
|
||||
* Coping with AD not returning the primary group
|
||||
* https://support.microsoft.com/?kbid=321360
|
||||
* http://support.microsoft.com/?kbid=321360
|
||||
*
|
||||
* This is a re-write based on code submitted by Bruce which prevents the
|
||||
* need to search each security group to find the true primary group
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
* Written by Scott Barnett, Richard Hyland
|
||||
* email: scott@wiggumworld.com, adldap@richardhyland.com
|
||||
* https://adldap.sourceforge.net/
|
||||
* http://adldap.sourceforge.net/
|
||||
*
|
||||
* Copyright (c) 2006-2010 Scott Barnett, Richard Hyland
|
||||
*
|
||||
@ -28,10 +28,10 @@
|
||||
* @package adLDAP
|
||||
* @author Scott Barnett, Richard Hyland
|
||||
* @copyright (c) 2006-2010 Scott Barnett, Richard Hyland
|
||||
* @license https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html LGPLv2.1
|
||||
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html LGPLv2.1
|
||||
* @revision $Revision: 91 $
|
||||
* @version 3.3.2
|
||||
* @link https://adldap.sourceforge.net/
|
||||
* @link http://adldap.sourceforge.net/
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -57,7 +57,7 @@ define ('ADLDAP_CONTAINER', 'CN');
|
||||
* much information on other users as you could as a domain admin.
|
||||
*
|
||||
* Before asking questions, please read the Documentation at
|
||||
* https://adldap.sourceforge.net/wiki/doku.php?id=api
|
||||
* http://adldap.sourceforge.net/wiki/doku.php?id=api
|
||||
*/
|
||||
class adLDAP {
|
||||
/**
|
||||
@ -101,7 +101,7 @@ class adLDAP {
|
||||
protected $_ad_password="ldHS332";
|
||||
|
||||
/**
|
||||
* AD does not return the primary group. https://support.microsoft.com/?kbid=321360
|
||||
* AD does not return the primary group. http://support.microsoft.com/?kbid=321360
|
||||
* This tweak will resolve the real primary group.
|
||||
* Setting to false will fudge "Domain Users" and is much faster. Keep in mind though that if
|
||||
* someone's primary group is NOT domain users, this is obviously going to mess up the results
|
||||
@ -112,7 +112,7 @@ class adLDAP {
|
||||
|
||||
/**
|
||||
* Use SSL (LDAPS), your server needs to be setup, please see
|
||||
* https://adldap.sourceforge.net/wiki/doku.php?id=ldap_over_ssl
|
||||
* http://adldap.sourceforge.net/wiki/doku.php?id=ldap_over_ssl
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
@ -343,7 +343,7 @@ class adLDAP {
|
||||
}
|
||||
|
||||
if ($this->ldap_supported() === false) {
|
||||
throw new adLDAPException('No LDAP support for PHP. See: https://www.php.net/ldap');
|
||||
throw new adLDAPException('No LDAP support for PHP. See: http://www.php.net/ldap');
|
||||
}
|
||||
|
||||
return $this->connect();
|
||||
@ -1033,13 +1033,13 @@ class adLDAP {
|
||||
*
|
||||
* @param string $username The username to query
|
||||
* @param book $isGUID Is the username passed a GUID or a samAccountName
|
||||
* @requires bcmath https://www.php.net/manual/en/book.bc.php
|
||||
* @requires bcmath http://www.php.net/manual/en/book.bc.php
|
||||
* @return array
|
||||
*/
|
||||
public function user_password_expiry($username,$isGUID=false) {
|
||||
if ($username===NULL){ return ("Missing compulsory field [username]"); }
|
||||
if (!$this->_bind){ return (false); }
|
||||
if (!function_exists('bcmod')) { return ("Missing function support [bcmod] https://www.php.net/manual/en/book.bc.php"); };
|
||||
if (!function_exists('bcmod')) { return ("Missing function support [bcmod] http://www.php.net/manual/en/book.bc.php"); };
|
||||
|
||||
$userinfo = $this->user_info($username, array("pwdlastset", "useraccountcontrol"), $isGUID);
|
||||
$pwdlastset = $userinfo[0]['pwdlastset'][0];
|
||||
@ -1068,7 +1068,7 @@ class adLDAP {
|
||||
$maxpwdage = $info[0]['maxpwdage'][0];
|
||||
|
||||
|
||||
// See MSDN: https://msdn.microsoft.com/en-us/library/ms974598.aspx
|
||||
// See MSDN: http://msdn.microsoft.com/en-us/library/ms974598.aspx
|
||||
//
|
||||
// pwdLastSet contains the number of 100 nanosecond intervals since January 1, 1601 (UTC),
|
||||
// stored in a 64 bit integer.
|
||||
@ -1470,7 +1470,7 @@ class adLDAP {
|
||||
|
||||
/**
|
||||
* Returns a folder listing for a specific OU
|
||||
* See https://adldap.sourceforge.net/wiki/doku.php?id=api_folder_functions
|
||||
* See http://adldap.sourceforge.net/wiki/doku.php?id=api_folder_functions
|
||||
*
|
||||
* @param array $folder_name An array to the OU you wish to list.
|
||||
* If set to NULL will list the root, strongly recommended to set
|
||||
@ -1684,7 +1684,7 @@ class adLDAP {
|
||||
|
||||
/**
|
||||
* Add an X400 address to Exchange
|
||||
* See https://tools.ietf.org/html/rfc1685 for more information.
|
||||
* See http://tools.ietf.org/html/rfc1685 for more information.
|
||||
* An X400 Address looks similar to this X400:c=US;a= ;p=Domain;o=Organization;s=Doe;g=John;
|
||||
*
|
||||
* @param string $username The username of the user to add the X400 to to
|
||||
@ -2093,7 +2093,7 @@ class adLDAP {
|
||||
|
||||
/**
|
||||
* Coping with AD not returning the primary group
|
||||
* https://support.microsoft.com/?kbid=321360
|
||||
* http://support.microsoft.com/?kbid=321360
|
||||
*
|
||||
* For some reason it's not possible to search on primarygrouptoken=XXX
|
||||
* If someone can show otherwise, I'd like to know about it :)
|
||||
@ -2124,7 +2124,7 @@ class adLDAP {
|
||||
|
||||
/**
|
||||
* Coping with AD not returning the primary group
|
||||
* https://support.microsoft.com/?kbid=321360
|
||||
* http://support.microsoft.com/?kbid=321360
|
||||
*
|
||||
* This is a re-write based on code submitted by Bruce which prevents the
|
||||
* need to search each security group to find the true primary group
|
||||
|
@ -33,7 +33,7 @@ if ($_POST["oldform"]){ //prevent null bind
|
||||
//establish your session and redirect
|
||||
session_start();
|
||||
$_SESSION["username"]=$username;
|
||||
$redir="Location: https://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/menu.htm";
|
||||
$redir="Location: http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/menu.htm";
|
||||
header($redir);
|
||||
exit;
|
||||
}
|
||||
|
@ -37,8 +37,8 @@
|
||||
// is_dec, is_sinix, is_freebsd, is_bsd
|
||||
// is_vms
|
||||
//
|
||||
// See https://www.it97.de/JavaScript/JS_tutorial/bstat/navobj.html and
|
||||
// https://www.it97.de/JavaScript/JS_tutorial/bstat/Browseraol.html
|
||||
// See http://www.it97.de/JavaScript/JS_tutorial/bstat/navobj.html and
|
||||
// http://www.it97.de/JavaScript/JS_tutorial/bstat/Browseraol.html
|
||||
// for detailed lists of userAgent strings.
|
||||
//
|
||||
// Note: you don't want your Nav4 or IE4 code to "turn off" or
|
||||
|
@ -5,7 +5,7 @@
|
||||
* | that the code is free to use for non-commercial purposes. For commercial |
|
||||
* | purposes of any kind there is a small license fee to pay. You can read more |
|
||||
* | at: |
|
||||
* | https://www.phpguru.org/static/license.html |
|
||||
* | http://www.phpguru.org/static/license.html |
|
||||
* o------------------------------------------------------------------------------o
|
||||
*
|
||||
* © Copyright 2008 Richard Heyes
|
||||
|
@ -1,7 +1,7 @@
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
|
@ -580,7 +580,7 @@
|
||||
|
||||
* libs/Smarty_Compiler.class.php:
|
||||
Modified _(push|pop)_cacheable_state() to embedd alternate syntax. See this
|
||||
bug report: https://www.phpinsider.com/smarty-forum/viewtopic.php?t=10502
|
||||
bug report: http://www.phpinsider.com/smarty-forum/viewtopic.php?t=10502
|
||||
|
||||
2007-02-26 Peter 'Mash' Morgan <pm@daffodil.uk.com>
|
||||
|
||||
@ -717,7 +717,7 @@
|
||||
|
||||
This avoids unlink() unless rename() fails or a Windows system is detected
|
||||
|
||||
see: https://www.phpinsider.com/smarty-forum/viewtopic.php?t=6956
|
||||
see: http://www.phpinsider.com/smarty-forum/viewtopic.php?t=6956
|
||||
|
||||
Thanks to c960657 from the forums.
|
||||
|
||||
@ -728,7 +728,7 @@
|
||||
update debug.tpl to xhtml 1.1 compliance, fix javascript escaping in debug
|
||||
output and apply a Smarty based color scheme
|
||||
|
||||
see: https://www.phpinsider.com/smarty-forum/viewtopic.php?t=7178
|
||||
see: http://www.phpinsider.com/smarty-forum/viewtopic.php?t=7178
|
||||
|
||||
thanks to cybot from the forums!
|
||||
|
||||
@ -736,7 +736,7 @@
|
||||
libs/plugins/modifier.debug_print_var.php:
|
||||
enhance reporting precision of debug_print_var modifier
|
||||
|
||||
see: https://www.phpinsider.com/smarty-forum/viewtopic.php?t=9281
|
||||
see: http://www.phpinsider.com/smarty-forum/viewtopic.php?t=9281
|
||||
|
||||
thanks to cybot from the forums
|
||||
|
||||
@ -1682,7 +1682,7 @@
|
||||
"Alternative syntax" used for example in compiled {if}..{else}..{/if}
|
||||
blocks.
|
||||
|
||||
(see: https://php.net/manual/en/control-structures.alternative-syntax.php
|
||||
(see: http://php.net/manual/en/control-structures.alternative-syntax.php
|
||||
on "Alternative syntax")
|
||||
|
||||
thanks to kihara from the forum.
|
||||
@ -1701,7 +1701,7 @@
|
||||
|
||||
* libs/plugins/function.popup.php:
|
||||
added "closeclick" from
|
||||
https://www.bosrup.com/web/overlib/?Command_Reference
|
||||
http://www.bosrup.com/web/overlib/?Command_Reference
|
||||
|
||||
2005-11-23 boots <jayboots@yahoo.com>
|
||||
|
||||
|
@ -6,7 +6,7 @@ GENERAL
|
||||
Q: What is Smarty?
|
||||
Q: What's the difference between Smarty and other template engines?
|
||||
Q: What do you mean "Compiled PHP Scripts" ?
|
||||
Q: Why can't I just use PHPA (https://php-accelerator.co.uk) or Zend Cache?
|
||||
Q: Why can't I just use PHPA (http://php-accelerator.co.uk) or Zend Cache?
|
||||
Q: Why does smarty have a built in cache? Wouldn't it be better to handle this
|
||||
in a separate class?
|
||||
Q: Is Smarty faster than <insert other PHP template engine>?
|
||||
@ -78,7 +78,7 @@ A: Smarty reads the template files and creates PHP scripts from them. Once
|
||||
know of their existance. (NOTE: you can turn off this compile checking step
|
||||
in Smarty for increased performance.)
|
||||
|
||||
Q: Why can't I just use PHPA (https://php-accelerator.co.uk) or Zend Cache?
|
||||
Q: Why can't I just use PHPA (http://php-accelerator.co.uk) or Zend Cache?
|
||||
A: You certainly can, and we highly recommend it! What PHPA does is caches
|
||||
compiled bytecode of your PHP scripts in shared memory or in a file. This
|
||||
speeds up server response and saves the compilation step. Smarty creates PHP
|
||||
@ -134,14 +134,14 @@ A: We have a few mailing lists. "general" for you to share your ideas or ask
|
||||
smarty-cvs-subscribe@lists.php.net (subscribe to the cvs list)
|
||||
smarty-cvs-unsubscribe@lists.php.net (unsubscribe from the cvs list)
|
||||
You can also browse the mailing list archives at
|
||||
https://marc.theaimsgroup.com/?l=smarty&r=1&w=2
|
||||
http://marc.theaimsgroup.com/?l=smarty&r=1&w=2
|
||||
|
||||
|
||||
|
||||
Q: Can you change the mailing list so Reply-To sends to the list and not the
|
||||
user?
|
||||
A: Yes we could, but no we won't. Use "Reply-All" in your e-mail client to send
|
||||
to the list. https://www.unicom.com/pw/reply-to-harmful.html
|
||||
to the list. http://www.unicom.com/pw/reply-to-harmful.html
|
||||
|
||||
TROUBLESHOOTING
|
||||
---------------
|
||||
|
@ -96,7 +96,7 @@ Hello, {$name}!
|
||||
|
||||
|
||||
Now go to your new application through the web browser,
|
||||
https://www.domain.com/myapp/index.php in our example. You should see the text
|
||||
http://www.domain.com/myapp/index.php in our example. You should see the text
|
||||
"Hello Ned!" in your browser.
|
||||
|
||||
Once you get this far, you can continue on to the Smarty Crash Course to learn
|
||||
|
@ -51,7 +51,7 @@ $smarty->unregisterFilter(...)
|
||||
|
||||
Please refer to the online documentation for all specific changes:
|
||||
|
||||
https://www.smarty.net/documentation
|
||||
http://www.smarty.net/documentation
|
||||
|
||||
----
|
||||
|
||||
@ -570,6 +570,6 @@ In the template you can use it like this:
|
||||
|
||||
Please look through it and send any questions/suggestions/etc to the forums.
|
||||
|
||||
https://www.phpinsider.com/smarty-forum/viewtopic.php?t=14168
|
||||
http://www.phpinsider.com/smarty-forum/viewtopic.php?t=14168
|
||||
|
||||
Monte and Uwe
|
||||
|
@ -61,7 +61,7 @@ class MySmarty extends Smarty {
|
||||
== Autoloader ==
|
||||
Smarty 3 does register its own autoloader with spl_autoload_register. If your code has
|
||||
an existing __autoload function then this function must be explicitly registered on
|
||||
the __autoload stack. See https://us3.php.net/manual/en/function.spl-autoload-register.php
|
||||
the __autoload stack. See http://us3.php.net/manual/en/function.spl-autoload-register.php
|
||||
for further details.
|
||||
|
||||
== Plugin Filenames ==
|
||||
|
@ -3,7 +3,7 @@
|
||||
"type": "library",
|
||||
"description": "Smarty - the compiling PHP template engine",
|
||||
"keywords": ["templating"],
|
||||
"homepage": "https://www.smarty.net",
|
||||
"homepage": "http://www.smarty.net",
|
||||
"license": "LGPL-3.0",
|
||||
"authors": [
|
||||
{
|
||||
@ -22,7 +22,7 @@
|
||||
"support": {
|
||||
"irc": "irc://irc.freenode.org/smarty",
|
||||
"issues": "https://github.com/smarty-php/smarty/issues",
|
||||
"forum": "https://www.smarty.net/forums/"
|
||||
"forum": "http://www.smarty.net/forums/"
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.2"
|
||||
|
@ -21,7 +21,7 @@
|
||||
* Smarty mailing list. Send a blank e-mail to
|
||||
* smarty-discussion-subscribe@googlegroups.com
|
||||
*
|
||||
* @link https://www.smarty.net/
|
||||
* @link http://www.smarty.net/
|
||||
* @version 2.6.25-dev
|
||||
* @copyright Copyright: 2001-2005 New Digital Group, Inc.
|
||||
* @author Andrei Zmievski <andrei@php.net>
|
||||
|
@ -20,7 +20,7 @@
|
||||
* Smarty mailing list. Send a blank e-mail to
|
||||
* smarty-discussion-subscribe@googlegroups.com
|
||||
*
|
||||
* @link https://www.smarty.net/
|
||||
* @link http://www.smarty.net/
|
||||
* @copyright 2015 New Digital Group, Inc.
|
||||
* @copyright 2015 Uwe Tews
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
@ -1385,7 +1385,7 @@ class Smarty extends Smarty_Internal_TemplateBase
|
||||
/**
|
||||
* Error Handler to mute expected messages
|
||||
*
|
||||
* @link https://php.net/set_error_handler
|
||||
* @link http://php.net/set_error_handler
|
||||
*
|
||||
* @param integer $errno Error level
|
||||
* @param $errstr
|
||||
@ -1447,7 +1447,7 @@ class Smarty extends Smarty_Internal_TemplateBase
|
||||
{
|
||||
/*
|
||||
error muting is done because some people implemented custom error_handlers using
|
||||
https://php.net/set_error_handler and for some reason did not understand the following paragraph:
|
||||
http://php.net/set_error_handler and for some reason did not understand the following paragraph:
|
||||
|
||||
It is important to remember that the standard PHP error handler is completely bypassed for the
|
||||
error types specified by error_types unless the callback function returns FALSE.
|
||||
|
@ -18,7 +18,7 @@
|
||||
* Smarty mailing list. Send a blank e-mail to
|
||||
* smarty-discussion-subscribe@googlegroups.com
|
||||
*
|
||||
* @link https://www.smarty.net/
|
||||
* @link http://www.smarty.net/
|
||||
* @copyright 2008 New Digital Group, Inc.
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @author Uwe Tews
|
||||
|
@ -18,7 +18,7 @@
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* @link https://smarty.php.net/
|
||||
* @link http://smarty.php.net/
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @author Andrei Zmievski <andrei@php.net>
|
||||
* @version 2.6.25-dev
|
||||
|
@ -1,6 +1,6 @@
|
||||
{capture name='_smarty_debug' assign=debug_output}
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "https://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html xmlns="https://www.w3.org/1999/xhtml" xml:lang="en">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||
<head>
|
||||
<title>Smarty Debug Console</title>
|
||||
<style type="text/css">
|
||||
|
@ -22,7 +22,7 @@
|
||||
* - wrap_boundary - boolean (true)
|
||||
* </pre>
|
||||
*
|
||||
* @link https://www.smarty.net/manual/en/language.function.textformat.php {textformat}
|
||||
* @link http://www.smarty.net/manual/en/language.function.textformat.php {textformat}
|
||||
* (Smarty online manual)
|
||||
*
|
||||
* @param array $params parameters
|
||||
|
@ -11,7 +11,7 @@
|
||||
* Type: compiler function<br>
|
||||
* Name: assign<br>
|
||||
* Purpose: assign a value to a template variable
|
||||
* @link https://smarty.php.net/manual/en/language.custom.functions.php#LANGUAGE.FUNCTION.ASSIGN {assign}
|
||||
* @link http://smarty.php.net/manual/en/language.custom.functions.php#LANGUAGE.FUNCTION.ASSIGN {assign}
|
||||
* (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com> (initial author)
|
||||
* @author messju mohr <messju at lammfellpuschen dot de> (conversion to compiler function)
|
||||
|
@ -11,7 +11,7 @@
|
||||
* Type: function<br>
|
||||
* Name: config_load<br>
|
||||
* Purpose: load config file vars
|
||||
* @link https://smarty.php.net/manual/en/language.function.config.load.php {config_load}
|
||||
* @link http://smarty.php.net/manual/en/language.function.config.load.php {config_load}
|
||||
* (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @author messju mohr <messju at lammfellpuschen dot de> (added use of resources)
|
||||
|
@ -13,7 +13,7 @@
|
||||
* Purpose: print out a counter value
|
||||
*
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @link https://www.smarty.net/manual/en/language.function.counter.php {counter}
|
||||
* @link http://www.smarty.net/manual/en/language.function.counter.php {counter}
|
||||
* (Smarty online manual)
|
||||
*
|
||||
* @param array $params parameters
|
||||
|
@ -30,7 +30,7 @@
|
||||
* {cycle name=row}
|
||||
* </pre>
|
||||
*
|
||||
* @link https://www.smarty.net/manual/en/language.function.cycle.php {cycle}
|
||||
* @link http://www.smarty.net/manual/en/language.function.cycle.php {cycle}
|
||||
* (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @author credit to Mark Priatel <mpriatel@rogers.com>
|
||||
|
@ -13,7 +13,7 @@
|
||||
* Name: debug<br>
|
||||
* Date: July 1, 2002<br>
|
||||
* Purpose: popup debug window
|
||||
* @link https://smarty.php.net/manual/en/language.function.debug.php {debug}
|
||||
* @link http://smarty.php.net/manual/en/language.function.debug.php {debug}
|
||||
* (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @version 1.0
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Type: function<br>
|
||||
* Name: eval<br>
|
||||
* Purpose: evaluate a template variable as a template<br>
|
||||
* @link https://smarty.php.net/manual/en/language.function.eval.php {eval}
|
||||
* @link http://smarty.php.net/manual/en/language.function.eval.php {eval}
|
||||
* (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @param array
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Name: fetch<br>
|
||||
* Purpose: fetch file, web or ftp data and display results
|
||||
*
|
||||
* @link https://www.smarty.net/manual/en/language.function.fetch.php {fetch}
|
||||
* @link http://www.smarty.net/manual/en/language.function.fetch.php {fetch}
|
||||
* (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
*
|
||||
|
@ -31,7 +31,7 @@
|
||||
* - escape (optional) - escape the content (not value), defaults to true
|
||||
* </pre>
|
||||
*
|
||||
* @link https://www.smarty.net/manual/en/language.function.html.checkboxes.php {html_checkboxes}
|
||||
* @link http://www.smarty.net/manual/en/language.function.html.checkboxes.php {html_checkboxes}
|
||||
* (Smarty online manual)
|
||||
* @author Christopher Kvarme <christopher.kvarme@flashjab.com>
|
||||
* @author credits to Monte Ohrt <monte at ohrt dot com>
|
||||
|
@ -23,7 +23,7 @@
|
||||
* - path_prefix - prefix for path output (optional, default empty)
|
||||
* </pre>
|
||||
*
|
||||
* @link https://www.smarty.net/manual/en/language.function.html.image.php {html_image}
|
||||
* @link http://www.smarty.net/manual/en/language.function.html.image.php {html_image}
|
||||
* (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @author credits to Duda <duda@big.hu>
|
||||
|
@ -23,7 +23,7 @@
|
||||
* - class (optional) - string default not set
|
||||
* </pre>
|
||||
*
|
||||
* @link https://www.smarty.net/manual/en/language.function.html.options.php {html_image}
|
||||
* @link http://www.smarty.net/manual/en/language.function.html.options.php {html_image}
|
||||
* (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @author Ralf Strehle (minor optimization) <ralf dot strehle at yahoo dot de>
|
||||
|
@ -31,7 +31,7 @@
|
||||
* {html_radios values=$ids checked=$checked separator='<br>' output=$names}
|
||||
* </pre>
|
||||
*
|
||||
* @link https://smarty.php.net/manual/en/language.function.html.radios.php {html_radios}
|
||||
* @link http://smarty.php.net/manual/en/language.function.html.radios.php {html_radios}
|
||||
* (Smarty online manual)
|
||||
* @author Christopher Kvarme <christopher.kvarme@flashjab.com>
|
||||
* @author credits to Monte Ohrt <monte at ohrt dot com>
|
||||
|
@ -39,7 +39,7 @@ require_once(SMARTY_PLUGINS_DIR . 'shared.make_timestamp.php');
|
||||
* added attributes month_names, *_id
|
||||
* </pre>
|
||||
*
|
||||
* @link https://www.smarty.net/manual/en/language.function.html.select.date.php {html_select_date}
|
||||
* @link http://www.smarty.net/manual/en/language.function.html.select.date.php {html_select_date}
|
||||
* (Smarty online manual)
|
||||
* @version 2.0
|
||||
* @author Andrei Zmievski
|
||||
|
@ -21,7 +21,7 @@ require_once(SMARTY_PLUGINS_DIR . 'shared.make_timestamp.php');
|
||||
* Name: html_select_time<br>
|
||||
* Purpose: Prints the dropdowns for time selection
|
||||
*
|
||||
* @link https://www.smarty.net/manual/en/language.function.html.select.time.php {html_select_time}
|
||||
* @link http://www.smarty.net/manual/en/language.function.html.select.time.php {html_select_time}
|
||||
* (Smarty online manual)
|
||||
* @author Roberto Berto <roberto@berto.net>
|
||||
* @author Monte Ohrt <monte AT ohrt DOT com>
|
||||
|
@ -40,7 +40,7 @@
|
||||
* @author credit to Messju Mohr <messju at lammfellpuschen dot de>
|
||||
* @author credit to boots <boots dot smarty at yahoo dot com>
|
||||
* @version 1.1
|
||||
* @link https://www.smarty.net/manual/en/language.function.html.table.php {html_table}
|
||||
* @link http://www.smarty.net/manual/en/language.function.html.table.php {html_table}
|
||||
* (Smarty online manual)
|
||||
*
|
||||
* @param array $params parameters
|
||||
|
@ -38,7 +38,7 @@
|
||||
* {mailto address="me@domain.com" extra='class="mailto"'}
|
||||
* </pre>
|
||||
*
|
||||
* @link https://www.smarty.net/manual/en/language.function.mailto.php {mailto}
|
||||
* @link http://www.smarty.net/manual/en/language.function.mailto.php {mailto}
|
||||
* (Smarty online manual)
|
||||
* @version 1.2
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
|
@ -13,7 +13,7 @@
|
||||
* Name: math<br>
|
||||
* Purpose: handle math computations in template
|
||||
*
|
||||
* @link https://www.smarty.net/manual/en/language.function.math.php {math}
|
||||
* @link http://www.smarty.net/manual/en/language.function.math.php {math}
|
||||
* (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
*
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Type: function<br>
|
||||
* Name: popup<br>
|
||||
* Purpose: make text pop up in windows via overlib
|
||||
* @link https://smarty.php.net/manual/en/language.function.popup.php {popup}
|
||||
* @link http://smarty.php.net/manual/en/language.function.popup.php {popup}
|
||||
* (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @param array
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Type: function<br>
|
||||
* Name: popup_init<br>
|
||||
* Purpose: initialize overlib
|
||||
* @link https://smarty.php.net/manual/en/language.function.popup.init.php {popup_init}
|
||||
* @link http://smarty.php.net/manual/en/language.function.popup.init.php {popup_init}
|
||||
* (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @param array
|
||||
|
@ -15,7 +15,7 @@
|
||||
* Purpose: catenate a value to a variable
|
||||
* Input: string to catenate
|
||||
* Example: {$var|cat:"foo"}
|
||||
* @link https://smarty.php.net/manual/en/language.modifier.cat.php cat
|
||||
* @link http://smarty.php.net/manual/en/language.modifier.cat.php cat
|
||||
* (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @version 1.0
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Type: modifier<br>
|
||||
* Name: count_characteres<br>
|
||||
* Purpose: count the number of characters in a text
|
||||
* @link https://smarty.php.net/manual/en/language.modifier.count.characters.php
|
||||
* @link http://smarty.php.net/manual/en/language.modifier.count.characters.php
|
||||
* count_characters (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @param string
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Type: modifier<br>
|
||||
* Name: count_paragraphs<br>
|
||||
* Purpose: count the number of paragraphs in a text
|
||||
* @link https://smarty.php.net/manual/en/language.modifier.count.paragraphs.php
|
||||
* @link http://smarty.php.net/manual/en/language.modifier.count.paragraphs.php
|
||||
* count_paragraphs (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @param string
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Type: modifier<br>
|
||||
* Name: count_sentences
|
||||
* Purpose: count the number of sentences in a text
|
||||
* @link https://smarty.php.net/manual/en/language.modifier.count.paragraphs.php
|
||||
* @link http://smarty.php.net/manual/en/language.modifier.count.paragraphs.php
|
||||
* count_sentences (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @param string
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Type: modifier<br>
|
||||
* Name: count_words<br>
|
||||
* Purpose: count the number of words in a text
|
||||
* @link https://smarty.php.net/manual/en/language.modifier.count.words.php
|
||||
* @link http://smarty.php.net/manual/en/language.modifier.count.words.php
|
||||
* count_words (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @param string
|
||||
|
@ -16,7 +16,7 @@
|
||||
* - format: strftime format for output
|
||||
* - default_date: default date if $string is empty
|
||||
*
|
||||
* @link https://www.smarty.net/manual/en/language.modifier.date.format.php date_format (Smarty online manual)
|
||||
* @link http://www.smarty.net/manual/en/language.modifier.date.format.php date_format (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
*
|
||||
* @param string $string input date string
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Type: modifier<br>
|
||||
* Name: default<br>
|
||||
* Purpose: designate default value for empty variables
|
||||
* @link https://smarty.php.net/manual/en/language.modifier.default.php
|
||||
* @link http://smarty.php.net/manual/en/language.modifier.default.php
|
||||
* default (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @param string
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Name: escape<br>
|
||||
* Purpose: escape string for output
|
||||
*
|
||||
* @link https://www.smarty.net/docs/en/language.modifier.escape
|
||||
* @link http://www.smarty.net/docs/en/language.modifier.escape
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
*
|
||||
* @param string $string input string
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Type: modifier<br>
|
||||
* Name: indent<br>
|
||||
* Purpose: indent lines of text
|
||||
* @link https://smarty.php.net/manual/en/language.modifier.indent.php
|
||||
* @link http://smarty.php.net/manual/en/language.modifier.indent.php
|
||||
* indent (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @param string
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Type: modifier<br>
|
||||
* Name: lower<br>
|
||||
* Purpose: convert string to lowercase
|
||||
* @link https://smarty.php.net/manual/en/language.modifier.lower.php
|
||||
* @link http://smarty.php.net/manual/en/language.modifier.lower.php
|
||||
* lower (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @param string
|
||||
|
@ -18,7 +18,7 @@
|
||||
* - preceed_test = if true, includes preceeding break tags
|
||||
* in replacement
|
||||
* Example: {$text|nl2br}
|
||||
* @link https://smarty.php.net/manual/en/language.modifier.nl2br.php
|
||||
* @link http://smarty.php.net/manual/en/language.modifier.nl2br.php
|
||||
* nl2br (Smarty online manual)
|
||||
* @version 1.0
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Name: regex_replace<br>
|
||||
* Purpose: regular expression search/replace
|
||||
*
|
||||
* @link https://smarty.php.net/manual/en/language.modifier.regex.replace.php
|
||||
* @link http://smarty.php.net/manual/en/language.modifier.regex.replace.php
|
||||
* regex_replace (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
*
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Name: replace<br>
|
||||
* Purpose: simple search/replace
|
||||
*
|
||||
* @link https://smarty.php.net/manual/en/language.modifier.replace.php replace (Smarty online manual)
|
||||
* @link http://smarty.php.net/manual/en/language.modifier.replace.php replace (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @author Uwe Tews
|
||||
*
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Name: spacify<br>
|
||||
* Purpose: add spaces between characters in a string
|
||||
*
|
||||
* @link https://smarty.php.net/manual/en/language.modifier.spacify.php spacify (Smarty online manual)
|
||||
* @link http://smarty.php.net/manual/en/language.modifier.spacify.php spacify (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
*
|
||||
* @param string $string input string
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Type: modifier<br>
|
||||
* Name: string_format<br>
|
||||
* Purpose: format strings via sprintf
|
||||
* @link https://smarty.php.net/manual/en/language.modifier.string.format.php
|
||||
* @link http://smarty.php.net/manual/en/language.modifier.string.format.php
|
||||
* string_format (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @param string
|
||||
|
@ -15,7 +15,7 @@
|
||||
* with a single space or supplied replacement string.<br>
|
||||
* Example: {$var|strip} {$var|strip:" "}
|
||||
* Date: September 25th, 2002
|
||||
* @link https://smarty.php.net/manual/en/language.modifier.strip.php
|
||||
* @link http://smarty.php.net/manual/en/language.modifier.strip.php
|
||||
* strip (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @version 1.0
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Type: modifier<br>
|
||||
* Name: strip_tags<br>
|
||||
* Purpose: strip html tags from text
|
||||
* @link https://smarty.php.net/manual/en/language.modifier.strip.tags.php
|
||||
* @link http://smarty.php.net/manual/en/language.modifier.strip.tags.php
|
||||
* strip_tags (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @param string
|
||||
|
@ -14,7 +14,7 @@
|
||||
* optionally splitting in the middle of a word, and
|
||||
* appending the $etc string or inserting $etc into the middle.
|
||||
*
|
||||
* @link https://smarty.php.net/manual/en/language.modifier.truncate.php truncate (Smarty online manual)
|
||||
* @link http://smarty.php.net/manual/en/language.modifier.truncate.php truncate (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
*
|
||||
* @param string $string input string
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Type: modifier<br>
|
||||
* Name: upper<br>
|
||||
* Purpose: convert string to uppercase
|
||||
* @link https://smarty.php.net/manual/en/language.modifier.upper.php
|
||||
* @link http://smarty.php.net/manual/en/language.modifier.upper.php
|
||||
* upper (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @param string
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Type: modifier<br>
|
||||
* Name: wordwrap<br>
|
||||
* Purpose: wrap a string of text at a given length
|
||||
* @link https://smarty.php.net/manual/en/language.modifier.wordwrap.php
|
||||
* @link http://smarty.php.net/manual/en/language.modifier.wordwrap.php
|
||||
* wordwrap (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @param string
|
||||
|
@ -15,7 +15,7 @@
|
||||
* Input: string to catenate<br>
|
||||
* Example: {$var|cat:"foo"}
|
||||
*
|
||||
* @link https://smarty.php.net/manual/en/language.modifier.cat.php cat
|
||||
* @link http://smarty.php.net/manual/en/language.modifier.cat.php cat
|
||||
* (Smarty online manual)
|
||||
* @author Uwe Tews
|
||||
*
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Name: count_characteres<br>
|
||||
* Purpose: count the number of characters in a text
|
||||
*
|
||||
* @link https://www.smarty.net/manual/en/language.modifier.count.characters.php count_characters (Smarty online manual)
|
||||
* @link http://www.smarty.net/manual/en/language.modifier.count.characters.php count_characters (Smarty online manual)
|
||||
* @author Uwe Tews
|
||||
*
|
||||
* @param array $params parameters
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Name: count_paragraphs<br>
|
||||
* Purpose: count the number of paragraphs in a text
|
||||
*
|
||||
* @link https://www.smarty.net/manual/en/language.modifier.count.paragraphs.php
|
||||
* @link http://www.smarty.net/manual/en/language.modifier.count.paragraphs.php
|
||||
* count_paragraphs (Smarty online manual)
|
||||
* @author Uwe Tews
|
||||
*
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Name: count_sentences
|
||||
* Purpose: count the number of sentences in a text
|
||||
*
|
||||
* @link https://www.smarty.net/manual/en/language.modifier.count.paragraphs.php
|
||||
* @link http://www.smarty.net/manual/en/language.modifier.count.paragraphs.php
|
||||
* count_sentences (Smarty online manual)
|
||||
* @author Uwe Tews
|
||||
*
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Name: count_words<br>
|
||||
* Purpose: count the number of words in a text
|
||||
*
|
||||
* @link https://www.smarty.net/manual/en/language.modifier.count.words.php count_words (Smarty online manual)
|
||||
* @link http://www.smarty.net/manual/en/language.modifier.count.words.php count_words (Smarty online manual)
|
||||
* @author Uwe Tews
|
||||
*
|
||||
* @param array $params parameters
|
||||
@ -23,7 +23,7 @@ function smarty_modifiercompiler_count_words($params)
|
||||
{
|
||||
if (Smarty::$_MBSTRING) {
|
||||
// return 'preg_match_all(\'#[\w\pL]+#' . Smarty::$_UTF8_MODIFIER . '\', ' . $params[0] . ', $tmp)';
|
||||
// expression taken from https://de.php.net/manual/en/function.str-word-count.php#85592
|
||||
// expression taken from http://de.php.net/manual/en/function.str-word-count.php#85592
|
||||
return 'preg_match_all(\'/\p{L}[\p{L}\p{Mn}\p{Pd}\\\'\x{2019}]*/' . Smarty::$_UTF8_MODIFIER . '\', ' . $params[0] . ', $tmp)';
|
||||
}
|
||||
// no MBString fallback
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Name: default<br>
|
||||
* Purpose: designate default value for empty variables
|
||||
*
|
||||
* @link https://www.smarty.net/manual/en/language.modifier.default.php default (Smarty online manual)
|
||||
* @link http://www.smarty.net/manual/en/language.modifier.default.php default (Smarty online manual)
|
||||
* @author Uwe Tews
|
||||
*
|
||||
* @param array $params parameters
|
||||
|
@ -17,7 +17,7 @@ require_once(SMARTY_PLUGINS_DIR . 'shared.literal_compiler_param.php');
|
||||
* Name: escape<br>
|
||||
* Purpose: escape string for output
|
||||
*
|
||||
* @link https://www.smarty.net/docsv2/en/language.modifier.escape count_characters (Smarty online manual)
|
||||
* @link http://www.smarty.net/docsv2/en/language.modifier.escape count_characters (Smarty online manual)
|
||||
* @author Rodney Rehm
|
||||
*
|
||||
* @param array $params parameters
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Name: indent<br>
|
||||
* Purpose: indent lines of text
|
||||
*
|
||||
* @link https://www.smarty.net/manual/en/language.modifier.indent.php indent (Smarty online manual)
|
||||
* @link http://www.smarty.net/manual/en/language.modifier.indent.php indent (Smarty online manual)
|
||||
* @author Uwe Tews
|
||||
*
|
||||
* @param array $params parameters
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Name: lower<br>
|
||||
* Purpose: convert string to lowercase
|
||||
*
|
||||
* @link https://www.smarty.net/manual/en/language.modifier.lower.php lower (Smarty online manual)
|
||||
* @link http://www.smarty.net/manual/en/language.modifier.lower.php lower (Smarty online manual)
|
||||
* @author Monte Ohrt <monte at ohrt dot com>
|
||||
* @author Uwe Tews
|
||||
*
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Name: string_format<br>
|
||||
* Purpose: format strings via sprintf
|
||||
*
|
||||
* @link https://www.smarty.net/manual/en/language.modifier.string.format.php string_format (Smarty online manual)
|
||||
* @link http://www.smarty.net/manual/en/language.modifier.string.format.php string_format (Smarty online manual)
|
||||
* @author Uwe Tews
|
||||
*
|
||||
* @param array $params parameters
|
||||
|
@ -15,7 +15,7 @@
|
||||
* Example: {$var|strip} {$var|strip:" "}<br>
|
||||
* Date: September 25th, 2002
|
||||
*
|
||||
* @link https://www.smarty.net/manual/en/language.modifier.strip.php strip (Smarty online manual)
|
||||
* @link http://www.smarty.net/manual/en/language.modifier.strip.php strip (Smarty online manual)
|
||||
* @author Uwe Tews
|
||||
*
|
||||
* @param array $params parameters
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Name: strip_tags<br>
|
||||
* Purpose: strip html tags from text
|
||||
*
|
||||
* @link https://www.smarty.net/docs/en/language.modifier.strip.tags.tpl strip_tags (Smarty online manual)
|
||||
* @link http://www.smarty.net/docs/en/language.modifier.strip.tags.tpl strip_tags (Smarty online manual)
|
||||
* @author Uwe Tews
|
||||
*
|
||||
* @param array $params parameters
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Name: lower<br>
|
||||
* Purpose: convert string to uppercase
|
||||
*
|
||||
* @link https://smarty.php.net/manual/en/language.modifier.upper.php lower (Smarty online manual)
|
||||
* @link http://smarty.php.net/manual/en/language.modifier.upper.php lower (Smarty online manual)
|
||||
* @author Uwe Tews
|
||||
*
|
||||
* @param array $params parameters
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Name: wordwrap<br>
|
||||
* Purpose: wrap a string of text at a given length
|
||||
*
|
||||
* @link https://smarty.php.net/manual/en/language.modifier.wordwrap.php wordwrap (Smarty online manual)
|
||||
* @link http://smarty.php.net/manual/en/language.modifier.wordwrap.php wordwrap (Smarty online manual)
|
||||
* @author Uwe Tews
|
||||
*
|
||||
* @param array $params parameters
|
||||
|
@ -40,7 +40,7 @@ function smarty_outputfilter_trimwhitespace($source)
|
||||
}
|
||||
|
||||
// Strip all HTML-Comments
|
||||
// yes, even the ones in <script> - see https://stackoverflow.com/a/808850/515124
|
||||
// yes, even the ones in <script> - see http://stackoverflow.com/a/808850/515124
|
||||
$source = preg_replace('#<!--.*?-->#ms', '', $source);
|
||||
|
||||
// capture html elements not to be messed with
|
||||
|
@ -9,7 +9,7 @@
|
||||
/**
|
||||
* convert characters to their decimal unicode equivalents
|
||||
*
|
||||
* @link https://www.ibm.com/developerworks/library/os-php-unicode/index.html#listing3 for inspiration
|
||||
* @link http://www.ibm.com/developerworks/library/os-php-unicode/index.html#listing3 for inspiration
|
||||
*
|
||||
* @param string $string characters to calculate unicode of
|
||||
* @param string $encoding encoding of $string, if null mb_internal_encoding() is used
|
||||
@ -31,7 +31,7 @@ function smarty_mb_to_unicode($string, $encoding = null)
|
||||
/**
|
||||
* convert unicodes to the character of given encoding
|
||||
*
|
||||
* @link https://www.ibm.com/developerworks/library/os-php-unicode/index.html#listing3 for inspiration
|
||||
* @link http://www.ibm.com/developerworks/library/os-php-unicode/index.html#listing3 for inspiration
|
||||
*
|
||||
* @param integer|array $unicode single unicode or list of unicodes to convert
|
||||
* @param string $encoding encoding of returned string, if null mb_internal_encoding() is used
|
||||
|
@ -11,7 +11,7 @@ if (!function_exists('smarty_mb_wordwrap')) {
|
||||
/**
|
||||
* Wrap a string to a given number of characters
|
||||
*
|
||||
* @link https://php.net/manual/en/function.wordwrap.php for similarity
|
||||
* @link http://php.net/manual/en/function.wordwrap.php for similarity
|
||||
*
|
||||
* @param string $str the string to wrap
|
||||
* @param int $width the width of the output
|
||||
|
@ -113,7 +113,7 @@ class Smarty_Internal_Data
|
||||
* appends values to template variables
|
||||
*
|
||||
* @api Smarty::append()
|
||||
* @link https://www.smarty.net/docs/en/api.append.tpl
|
||||
* @link http://www.smarty.net/docs/en/api.append.tpl
|
||||
*
|
||||
* @param array|string $tpl_var the template variable name(s)
|
||||
* @param mixed $value the value to append
|
||||
@ -174,7 +174,7 @@ class Smarty_Internal_Data
|
||||
* Returns a single or all template variables
|
||||
*
|
||||
* @api Smarty::getTemplateVars()
|
||||
* @link https://www.smarty.net/docs/en/api.get.template.vars.tpl
|
||||
* @link http://www.smarty.net/docs/en/api.get.template.vars.tpl
|
||||
*
|
||||
* @param string $varName variable name or null
|
||||
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $_ptr optional pointer to data object
|
||||
|
@ -22,7 +22,7 @@ class Smarty_Internal_Method_Append
|
||||
* appends values to template variables
|
||||
*
|
||||
* @api Smarty::append()
|
||||
* @link https://www.smarty.net/docs/en/api.append.tpl
|
||||
* @link http://www.smarty.net/docs/en/api.append.tpl
|
||||
*
|
||||
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
||||
* @param array|string $tpl_var the template variable name(s)
|
||||
|
@ -16,7 +16,7 @@ class Smarty_Internal_Method_AppendByRef
|
||||
* appends values to template variables by reference
|
||||
*
|
||||
* @api Smarty::appendByRef()
|
||||
* @link https://www.smarty.net/docs/en/api.append.by.ref.tpl
|
||||
* @link http://www.smarty.net/docs/en/api.append.by.ref.tpl
|
||||
*
|
||||
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
||||
* @param string $tpl_var the template variable name
|
||||
|
@ -22,7 +22,7 @@ class Smarty_Internal_Method_ClearAllAssign
|
||||
* clear all the assigned template variables.
|
||||
*
|
||||
* @api Smarty::clearAllAssign()
|
||||
* @link https://www.smarty.net/docs/en/api.clear.all.assign.tpl
|
||||
* @link http://www.smarty.net/docs/en/api.clear.all.assign.tpl
|
||||
*
|
||||
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
||||
*
|
||||
|
@ -22,7 +22,7 @@ class Smarty_Internal_Method_ClearAllCache
|
||||
* Empty cache folder
|
||||
*
|
||||
* @api Smarty::clearAllCache()
|
||||
* @link https://www.smarty.net/docs/en/api.clear.all.cache.tpl
|
||||
* @link http://www.smarty.net/docs/en/api.clear.all.cache.tpl
|
||||
*
|
||||
* @param \Smarty $smarty
|
||||
* @param integer $exp_time expiration time
|
||||
|
@ -22,7 +22,7 @@ class Smarty_Internal_Method_ClearAssign
|
||||
* clear the given assigned template variable(s).
|
||||
*
|
||||
* @api Smarty::clearAssign()
|
||||
* @link https://www.smarty.net/docs/en/api.clear.assign.tpl
|
||||
* @link http://www.smarty.net/docs/en/api.clear.assign.tpl
|
||||
*
|
||||
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
||||
* @param string|array $tpl_var the template variable(s) to clear
|
||||
|
@ -22,7 +22,7 @@ class Smarty_Internal_Method_ClearCache
|
||||
* Empty cache for a specific template
|
||||
*
|
||||
* @api Smarty::clearCache()
|
||||
* @link https://www.smarty.net/docs/en/api.clear.cache.tpl
|
||||
* @link http://www.smarty.net/docs/en/api.clear.cache.tpl
|
||||
*
|
||||
* @param \Smarty $smarty
|
||||
* @param string $template_name template name
|
||||
|
@ -22,7 +22,7 @@ class Smarty_Internal_Method_ClearCompiledTemplate
|
||||
* Delete compiled template file
|
||||
*
|
||||
* @api Smarty::clearCompiledTemplate()
|
||||
* @link https://www.smarty.net/docs/en/api.clear.compiled.template.tpl
|
||||
* @link http://www.smarty.net/docs/en/api.clear.compiled.template.tpl
|
||||
*
|
||||
* @param \Smarty $smarty
|
||||
* @param string $resource_name template name
|
||||
|
@ -22,7 +22,7 @@ class Smarty_Internal_Method_ClearConfig
|
||||
* clear a single or all config variables
|
||||
*
|
||||
* @api Smarty::clearConfig()
|
||||
* @link https://www.smarty.net/docs/en/api.clear.config.tpl
|
||||
* @link http://www.smarty.net/docs/en/api.clear.config.tpl
|
||||
*
|
||||
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
||||
* @param string|null $name variable name or null
|
||||
|
@ -22,7 +22,7 @@ class Smarty_Internal_Method_ConfigLoad
|
||||
* load a config file, optionally load just selected sections
|
||||
*
|
||||
* @api Smarty::configLoad()
|
||||
* @link https://www.smarty.net/docs/en/api.config.load.tpl
|
||||
* @link http://www.smarty.net/docs/en/api.config.load.tpl
|
||||
*
|
||||
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
||||
* @param string $config_file filename
|
||||
@ -42,7 +42,7 @@ class Smarty_Internal_Method_ConfigLoad
|
||||
* load a config file, optionally load just selected sections
|
||||
*
|
||||
* @api Smarty::configLoad()
|
||||
* @link https://www.smarty.net/docs/en/api.config.load.tpl
|
||||
* @link http://www.smarty.net/docs/en/api.config.load.tpl
|
||||
*
|
||||
* @param \Smarty|\Smarty_Internal_Data|\Smarty_Internal_Template $data
|
||||
* @param string $config_file filename
|
||||
|
@ -22,7 +22,7 @@ class Smarty_Internal_Method_CreateData
|
||||
* creates a data object
|
||||
*
|
||||
* @api Smarty::createData()
|
||||
* @link https://www.smarty.net/docs/en/api.create.data.tpl
|
||||
* @link http://www.smarty.net/docs/en/api.create.data.tpl
|
||||
*
|
||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||
* @param \Smarty_Internal_Template|\Smarty_Internal_Data|\Smarty_Data|\Smarty $parent next higher level of Smarty
|
||||
|
@ -22,7 +22,7 @@ class Smarty_Internal_Method_GetConfigVars
|
||||
* Returns a single or all config variables
|
||||
*
|
||||
* @api Smarty::getConfigVars()
|
||||
* @link https://www.smarty.net/docs/en/api.get.config.vars.tpl
|
||||
* @link http://www.smarty.net/docs/en/api.get.config.vars.tpl
|
||||
*
|
||||
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
||||
* @param string $varname variable name or null
|
||||
|
@ -22,7 +22,7 @@ class Smarty_Internal_Method_GetRegisteredObject
|
||||
* return a reference to a registered object
|
||||
*
|
||||
* @api Smarty::getRegisteredObject()
|
||||
* @link https://www.smarty.net/docs/en/api.get.registered.object.tpl
|
||||
* @link http://www.smarty.net/docs/en/api.get.registered.object.tpl
|
||||
*
|
||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||
* @param string $object_name object name
|
||||
|
@ -22,7 +22,7 @@ class Smarty_Internal_Method_GetTags
|
||||
* Return array of tag/attributes of all tags used by an template
|
||||
*
|
||||
* @api Smarty::getTags()
|
||||
* @link https://www.smarty.net/docs/en/api.get.tags.tpl
|
||||
* @link http://www.smarty.net/docs/en/api.get.tags.tpl
|
||||
*
|
||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||
* @param null|string|Smarty_Internal_Template $template
|
||||
|
@ -22,7 +22,7 @@ class Smarty_Internal_Method_GetTemplateVars
|
||||
* Returns a single or all template variables
|
||||
*
|
||||
* @api Smarty::getTemplateVars()
|
||||
* @link https://www.smarty.net/docs/en/api.get.template.vars.tpl
|
||||
* @link http://www.smarty.net/docs/en/api.get.template.vars.tpl
|
||||
*
|
||||
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
||||
* @param string $varName variable name or null
|
||||
|
@ -30,7 +30,7 @@ class Smarty_Internal_Method_LoadFilter
|
||||
*
|
||||
* @api Smarty::loadFilter()
|
||||
*
|
||||
* @link https://www.smarty.net/docs/en/api.load.filter.tpl
|
||||
* @link http://www.smarty.net/docs/en/api.load.filter.tpl
|
||||
*
|
||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||
* @param string $type filter type
|
||||
|
@ -22,7 +22,7 @@ class Smarty_Internal_Method_RegisterCacheResource
|
||||
* Registers a resource to fetch a template
|
||||
*
|
||||
* @api Smarty::registerCacheResource()
|
||||
* @link https://www.smarty.net/docs/en/api.register.cacheresource.tpl
|
||||
* @link http://www.smarty.net/docs/en/api.register.cacheresource.tpl
|
||||
*
|
||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||
* @param string $name name of resource type
|
||||
|
@ -22,7 +22,7 @@ class Smarty_Internal_Method_RegisterClass
|
||||
* Registers static classes to be used in templates
|
||||
*
|
||||
* @api Smarty::registerClass()
|
||||
* @link https://www.smarty.net/docs/en/api.register.class.tpl
|
||||
* @link http://www.smarty.net/docs/en/api.register.class.tpl
|
||||
*
|
||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||
* @param string $class_name
|
||||
|
@ -22,7 +22,7 @@ class Smarty_Internal_Method_RegisterDefaultPluginHandler
|
||||
* Registers a default plugin handler
|
||||
*
|
||||
* @api Smarty::registerDefaultPluginHandler()
|
||||
* @link https://www.smarty.net/docs/en/api.register.default.plugin.handler.tpl
|
||||
* @link http://www.smarty.net/docs/en/api.register.default.plugin.handler.tpl
|
||||
*
|
||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||
* @param callable $callback class/method name
|
||||
|
@ -30,7 +30,7 @@ class Smarty_Internal_Method_RegisterFilter
|
||||
*
|
||||
* @api Smarty::registerFilter()
|
||||
*
|
||||
* @link https://www.smarty.net/docs/en/api.register.filter.tpl
|
||||
* @link http://www.smarty.net/docs/en/api.register.filter.tpl
|
||||
*
|
||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||
* @param string $type filter type
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user