Änderungen https Andy Müller rückgängig gemacht

This commit is contained in:
aschwarz 2023-04-26 13:59:36 +02:00
parent 55f1b9a7a9
commit 09fea7ec1a
497 changed files with 999 additions and 999 deletions

Binary file not shown.

View File

@ -1,6 +1,6 @@
-- phpMyAdmin SQL Dump -- phpMyAdmin SQL Dump
-- version 3.3.3 -- version 3.3.3
-- https://www.phpmyadmin.net -- http://www.phpmyadmin.net
-- --
-- Host: localhost -- Host: localhost
-- Erstellungszeit: 11. Mai 2011 um 14:23 -- Erstellungszeit: 11. Mai 2011 um 14:23

View File

@ -2,7 +2,7 @@ adLDAP - PHP LDAP CLASS FOR MANIPULATING ACTIVE DIRECTORY
Written by Scott Barnett, Richard Hyland Written by Scott Barnett, Richard Hyland
email: scott@wiggumworld.com, adldap@richardhyland.com email: scott@wiggumworld.com, adldap@richardhyland.com
https://adldap.sourceforge.net/ http://adldap.sourceforge.net/
CHANGELOG CHANGELOG

View File

@ -3,7 +3,7 @@ Version 3.3.2
Written by Scott Barnett, Richard Hyland Written by Scott Barnett, Richard Hyland
email: scott@wiggumworld.com, adldap@richardhyland.com 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 We'd appreciate any improvements or additions to be submitted back
to benefit the entire community :) 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. include directives in the scripts.
The examples should be pretty self explanatory. If you require more 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 1. Copy adLDAP.php to your server
2. Edit the configuring variables in the class itself if you so wish to 2. Edit the configuring variables in the class itself if you so wish to

View File

@ -1,2 +1,2 @@
https://www.administrator.de/index.php?content=31891 http://www.administrator.de/index.php?content=31891
https://www.php.de/php-einsteiger/50623-login-mittels-active-directory-ldap.html http://www.php.de/php-einsteiger/50623-login-mittels-active-directory-ldap.html

View File

@ -7,7 +7,7 @@
* *
* Written by Scott Barnett, Richard Hyland * Written by Scott Barnett, Richard Hyland
* email: scott@wiggumworld.com, adldap@richardhyland.com * email: scott@wiggumworld.com, adldap@richardhyland.com
* https://adldap.sourceforge.net/ * http://adldap.sourceforge.net/
* *
* Copyright (c) 2006-2010 Scott Barnett, Richard Hyland * Copyright (c) 2006-2010 Scott Barnett, Richard Hyland
* *
@ -28,10 +28,10 @@
* @package adLDAP * @package adLDAP
* @author Scott Barnett, Richard Hyland * @author Scott Barnett, Richard Hyland
* @copyright (c) 2006-2010 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 $ * @revision $Revision: 91 $
* @version 3.3.2 * @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. * much information on other users as you could as a domain admin.
* *
* Before asking questions, please read the Documentation at * 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 { class adLDAP {
/** /**
@ -98,7 +98,7 @@ class adLDAP {
protected $_ad_password=NULL; 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. * 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 * 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 * 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 * 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 * @var bool
*/ */
@ -340,7 +340,7 @@ class adLDAP {
} }
if ($this->ldap_supported() === false) { 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(); return $this->connect();
@ -1030,13 +1030,13 @@ class adLDAP {
* *
* @param string $username The username to query * @param string $username The username to query
* @param book $isGUID Is the username passed a GUID or a samAccountName * @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 * @return array
*/ */
public function user_password_expiry($username,$isGUID=false) { public function user_password_expiry($username,$isGUID=false) {
if ($username===NULL){ return ("Missing compulsory field [username]"); } if ($username===NULL){ return ("Missing compulsory field [username]"); }
if (!$this->_bind){ return (false); } 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); $userinfo = $this->user_info($username, array("pwdlastset", "useraccountcontrol"), $isGUID);
$pwdlastset = $userinfo[0]['pwdlastset'][0]; $pwdlastset = $userinfo[0]['pwdlastset'][0];
@ -1065,7 +1065,7 @@ class adLDAP {
$maxpwdage = $info[0]['maxpwdage'][0]; $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), // pwdLastSet contains the number of 100 nanosecond intervals since January 1, 1601 (UTC),
// stored in a 64 bit integer. // stored in a 64 bit integer.
@ -1467,7 +1467,7 @@ class adLDAP {
/** /**
* Returns a folder listing for a specific OU * 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. * @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 * If set to NULL will list the root, strongly recommended to set
@ -1681,7 +1681,7 @@ class adLDAP {
/** /**
* Add an X400 address to Exchange * 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; * 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 * @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 * 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 * For some reason it's not possible to search on primarygrouptoken=XXX
* If someone can show otherwise, I'd like to know about it :) * 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 * 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 * 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 * need to search each security group to find the true primary group

View File

@ -7,7 +7,7 @@
* *
* Written by Scott Barnett, Richard Hyland * Written by Scott Barnett, Richard Hyland
* email: scott@wiggumworld.com, adldap@richardhyland.com * email: scott@wiggumworld.com, adldap@richardhyland.com
* https://adldap.sourceforge.net/ * http://adldap.sourceforge.net/
* *
* Copyright (c) 2006-2010 Scott Barnett, Richard Hyland * Copyright (c) 2006-2010 Scott Barnett, Richard Hyland
* *
@ -28,10 +28,10 @@
* @package adLDAP * @package adLDAP
* @author Scott Barnett, Richard Hyland * @author Scott Barnett, Richard Hyland
* @copyright (c) 2006-2010 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 $ * @revision $Revision: 91 $
* @version 3.3.2 * @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. * much information on other users as you could as a domain admin.
* *
* Before asking questions, please read the Documentation at * 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 { class adLDAP {
/** /**
@ -101,7 +101,7 @@ class adLDAP {
protected $_ad_password="ldHS332"; 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. * 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 * 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 * 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 * 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 * @var bool
*/ */
@ -343,7 +343,7 @@ class adLDAP {
} }
if ($this->ldap_supported() === false) { 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(); return $this->connect();
@ -1033,13 +1033,13 @@ class adLDAP {
* *
* @param string $username The username to query * @param string $username The username to query
* @param book $isGUID Is the username passed a GUID or a samAccountName * @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 * @return array
*/ */
public function user_password_expiry($username,$isGUID=false) { public function user_password_expiry($username,$isGUID=false) {
if ($username===NULL){ return ("Missing compulsory field [username]"); } if ($username===NULL){ return ("Missing compulsory field [username]"); }
if (!$this->_bind){ return (false); } 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); $userinfo = $this->user_info($username, array("pwdlastset", "useraccountcontrol"), $isGUID);
$pwdlastset = $userinfo[0]['pwdlastset'][0]; $pwdlastset = $userinfo[0]['pwdlastset'][0];
@ -1068,7 +1068,7 @@ class adLDAP {
$maxpwdage = $info[0]['maxpwdage'][0]; $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), // pwdLastSet contains the number of 100 nanosecond intervals since January 1, 1601 (UTC),
// stored in a 64 bit integer. // stored in a 64 bit integer.
@ -1471,7 +1471,7 @@ class adLDAP {
/** /**
* Returns a folder listing for a specific OU * 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. * @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 * If set to NULL will list the root, strongly recommended to set
@ -1685,7 +1685,7 @@ class adLDAP {
/** /**
* Add an X400 address to Exchange * 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; * 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 * @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 * 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 * For some reason it's not possible to search on primarygrouptoken=XXX
* If someone can show otherwise, I'd like to know about it :) * 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 * 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 * 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 * need to search each security group to find the true primary group

View File

@ -7,7 +7,7 @@
* *
* Written by Scott Barnett, Richard Hyland * Written by Scott Barnett, Richard Hyland
* email: scott@wiggumworld.com, adldap@richardhyland.com * email: scott@wiggumworld.com, adldap@richardhyland.com
* https://adldap.sourceforge.net/ * http://adldap.sourceforge.net/
* *
* Copyright (c) 2006-2010 Scott Barnett, Richard Hyland * Copyright (c) 2006-2010 Scott Barnett, Richard Hyland
* *
@ -28,10 +28,10 @@
* @package adLDAP * @package adLDAP
* @author Scott Barnett, Richard Hyland * @author Scott Barnett, Richard Hyland
* @copyright (c) 2006-2010 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 $ * @revision $Revision: 91 $
* @version 3.3.2 * @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. * much information on other users as you could as a domain admin.
* *
* Before asking questions, please read the Documentation at * 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 { class adLDAP {
/** /**
@ -101,7 +101,7 @@ class adLDAP {
protected $_ad_password="ldHS332"; 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. * 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 * 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 * 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 * 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 * @var bool
*/ */
@ -343,7 +343,7 @@ class adLDAP {
} }
if ($this->ldap_supported() === false) { 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(); return $this->connect();
@ -1033,13 +1033,13 @@ class adLDAP {
* *
* @param string $username The username to query * @param string $username The username to query
* @param book $isGUID Is the username passed a GUID or a samAccountName * @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 * @return array
*/ */
public function user_password_expiry($username,$isGUID=false) { public function user_password_expiry($username,$isGUID=false) {
if ($username===NULL){ return ("Missing compulsory field [username]"); } if ($username===NULL){ return ("Missing compulsory field [username]"); }
if (!$this->_bind){ return (false); } 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); $userinfo = $this->user_info($username, array("pwdlastset", "useraccountcontrol"), $isGUID);
$pwdlastset = $userinfo[0]['pwdlastset'][0]; $pwdlastset = $userinfo[0]['pwdlastset'][0];
@ -1068,7 +1068,7 @@ class adLDAP {
$maxpwdage = $info[0]['maxpwdage'][0]; $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), // pwdLastSet contains the number of 100 nanosecond intervals since January 1, 1601 (UTC),
// stored in a 64 bit integer. // stored in a 64 bit integer.
@ -1470,7 +1470,7 @@ class adLDAP {
/** /**
* Returns a folder listing for a specific OU * 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. * @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 * If set to NULL will list the root, strongly recommended to set
@ -1684,7 +1684,7 @@ class adLDAP {
/** /**
* Add an X400 address to Exchange * 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; * 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 * @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 * 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 * For some reason it's not possible to search on primarygrouptoken=XXX
* If someone can show otherwise, I'd like to know about it :) * 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 * 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 * 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 * need to search each security group to find the true primary group

View File

@ -33,7 +33,7 @@ if ($_POST["oldform"]){ //prevent null bind
//establish your session and redirect //establish your session and redirect
session_start(); session_start();
$_SESSION["username"]=$username; $_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); header($redir);
exit; exit;
} }

View File

@ -37,8 +37,8 @@
// is_dec, is_sinix, is_freebsd, is_bsd // is_dec, is_sinix, is_freebsd, is_bsd
// is_vms // is_vms
// //
// See https://www.it97.de/JavaScript/JS_tutorial/bstat/navobj.html and // See http://www.it97.de/JavaScript/JS_tutorial/bstat/navobj.html and
// https://www.it97.de/JavaScript/JS_tutorial/bstat/Browseraol.html // http://www.it97.de/JavaScript/JS_tutorial/bstat/Browseraol.html
// for detailed lists of userAgent strings. // for detailed lists of userAgent strings.
// //
// Note: you don't want your Nav4 or IE4 code to "turn off" or // Note: you don't want your Nav4 or IE4 code to "turn off" or

View File

@ -5,7 +5,7 @@
* | that the code is free to use for non-commercial purposes. For commercial | * | 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 | * | purposes of any kind there is a small license fee to pay. You can read more |
* | at: | * | at: |
* | https://www.phpguru.org/static/license.html | * | http://www.phpguru.org/static/license.html |
* o------------------------------------------------------------------------------o * o------------------------------------------------------------------------------o
* *
* © Copyright 2008 Richard Heyes * © Copyright 2008 Richard Heyes

View File

@ -1,7 +1,7 @@
GNU LESSER GENERAL PUBLIC LICENSE GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007 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 Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed. of this license document, but changing it is not allowed.

View File

@ -580,7 +580,7 @@
* libs/Smarty_Compiler.class.php: * libs/Smarty_Compiler.class.php:
Modified _(push|pop)_cacheable_state() to embedd alternate syntax. See this 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> 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 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. Thanks to c960657 from the forums.
@ -728,7 +728,7 @@
update debug.tpl to xhtml 1.1 compliance, fix javascript escaping in debug update debug.tpl to xhtml 1.1 compliance, fix javascript escaping in debug
output and apply a Smarty based color scheme 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! thanks to cybot from the forums!
@ -736,7 +736,7 @@
libs/plugins/modifier.debug_print_var.php: libs/plugins/modifier.debug_print_var.php:
enhance reporting precision of debug_print_var modifier 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 thanks to cybot from the forums
@ -1682,7 +1682,7 @@
"Alternative syntax" used for example in compiled {if}..{else}..{/if} "Alternative syntax" used for example in compiled {if}..{else}..{/if}
blocks. 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") on "Alternative syntax")
thanks to kihara from the forum. thanks to kihara from the forum.
@ -1701,7 +1701,7 @@
* libs/plugins/function.popup.php: * libs/plugins/function.popup.php:
added "closeclick" from 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> 2005-11-23 boots <jayboots@yahoo.com>

View File

@ -6,7 +6,7 @@ GENERAL
Q: What is Smarty? Q: What is Smarty?
Q: What's the difference between Smarty and other template engines? Q: What's the difference between Smarty and other template engines?
Q: What do you mean "Compiled PHP Scripts" ? 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 Q: Why does smarty have a built in cache? Wouldn't it be better to handle this
in a separate class? in a separate class?
Q: Is Smarty faster than <insert other PHP template engine>? 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 know of their existance. (NOTE: you can turn off this compile checking step
in Smarty for increased performance.) 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 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 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 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-subscribe@lists.php.net (subscribe to the cvs list)
smarty-cvs-unsubscribe@lists.php.net (unsubscribe from the cvs list) smarty-cvs-unsubscribe@lists.php.net (unsubscribe from the cvs list)
You can also browse the mailing list archives at 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 Q: Can you change the mailing list so Reply-To sends to the list and not the
user? user?
A: Yes we could, but no we won't. Use "Reply-All" in your e-mail client to send 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 TROUBLESHOOTING
--------------- ---------------

View File

@ -96,7 +96,7 @@ Hello, {$name}!
Now go to your new application through the web browser, 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. "Hello Ned!" in your browser.
Once you get this far, you can continue on to the Smarty Crash Course to learn Once you get this far, you can continue on to the Smarty Crash Course to learn

View File

@ -51,7 +51,7 @@ $smarty->unregisterFilter(...)
Please refer to the online documentation for all specific changes: 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. 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 Monte and Uwe

View File

@ -61,7 +61,7 @@ class MySmarty extends Smarty {
== Autoloader == == Autoloader ==
Smarty 3 does register its own autoloader with spl_autoload_register. If your code has 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 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. for further details.
== Plugin Filenames == == Plugin Filenames ==

View File

@ -3,7 +3,7 @@
"type": "library", "type": "library",
"description": "Smarty - the compiling PHP template engine", "description": "Smarty - the compiling PHP template engine",
"keywords": ["templating"], "keywords": ["templating"],
"homepage": "https://www.smarty.net", "homepage": "http://www.smarty.net",
"license": "LGPL-3.0", "license": "LGPL-3.0",
"authors": [ "authors": [
{ {
@ -22,7 +22,7 @@
"support": { "support": {
"irc": "irc://irc.freenode.org/smarty", "irc": "irc://irc.freenode.org/smarty",
"issues": "https://github.com/smarty-php/smarty/issues", "issues": "https://github.com/smarty-php/smarty/issues",
"forum": "https://www.smarty.net/forums/" "forum": "http://www.smarty.net/forums/"
}, },
"require": { "require": {
"php": ">=5.2" "php": ">=5.2"

View File

@ -21,7 +21,7 @@
* Smarty mailing list. Send a blank e-mail to * Smarty mailing list. Send a blank e-mail to
* smarty-discussion-subscribe@googlegroups.com * smarty-discussion-subscribe@googlegroups.com
* *
* @link https://www.smarty.net/ * @link http://www.smarty.net/
* @version 2.6.25-dev * @version 2.6.25-dev
* @copyright Copyright: 2001-2005 New Digital Group, Inc. * @copyright Copyright: 2001-2005 New Digital Group, Inc.
* @author Andrei Zmievski <andrei@php.net> * @author Andrei Zmievski <andrei@php.net>

View File

@ -20,7 +20,7 @@
* Smarty mailing list. Send a blank e-mail to * Smarty mailing list. Send a blank e-mail to
* smarty-discussion-subscribe@googlegroups.com * smarty-discussion-subscribe@googlegroups.com
* *
* @link https://www.smarty.net/ * @link http://www.smarty.net/
* @copyright 2015 New Digital Group, Inc. * @copyright 2015 New Digital Group, Inc.
* @copyright 2015 Uwe Tews * @copyright 2015 Uwe Tews
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
@ -1385,7 +1385,7 @@ class Smarty extends Smarty_Internal_TemplateBase
/** /**
* Error Handler to mute expected messages * 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 integer $errno Error level
* @param $errstr * @param $errstr
@ -1447,7 +1447,7 @@ class Smarty extends Smarty_Internal_TemplateBase
{ {
/* /*
error muting is done because some people implemented custom error_handlers using 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 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. error types specified by error_types unless the callback function returns FALSE.

View File

@ -18,7 +18,7 @@
* Smarty mailing list. Send a blank e-mail to * Smarty mailing list. Send a blank e-mail to
* smarty-discussion-subscribe@googlegroups.com * smarty-discussion-subscribe@googlegroups.com
* *
* @link https://www.smarty.net/ * @link http://www.smarty.net/
* @copyright 2008 New Digital Group, Inc. * @copyright 2008 New Digital Group, Inc.
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @author Uwe Tews * @author Uwe Tews

View File

@ -18,7 +18,7 @@
* License along with this library; if not, write to the Free Software * License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 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 Monte Ohrt <monte at ohrt dot com>
* @author Andrei Zmievski <andrei@php.net> * @author Andrei Zmievski <andrei@php.net>
* @version 2.6.25-dev * @version 2.6.25-dev

View File

@ -1,6 +1,6 @@
{capture name='_smarty_debug' assign=debug_output} {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"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="https://www.w3.org/1999/xhtml" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head> <head>
<title>Smarty Debug Console</title> <title>Smarty Debug Console</title>
<style type="text/css"> <style type="text/css">

View File

@ -22,7 +22,7 @@
* - wrap_boundary - boolean (true) * - wrap_boundary - boolean (true)
* </pre> * </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) * (Smarty online manual)
* *
* @param array $params parameters * @param array $params parameters

View File

@ -11,7 +11,7 @@
* Type: compiler function<br> * Type: compiler function<br>
* Name: assign<br> * Name: assign<br>
* Purpose: assign a value to a template variable * 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) * (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> (initial author) * @author Monte Ohrt <monte at ohrt dot com> (initial author)
* @author messju mohr <messju at lammfellpuschen dot de> (conversion to compiler function) * @author messju mohr <messju at lammfellpuschen dot de> (conversion to compiler function)

View File

@ -11,7 +11,7 @@
* Type: function<br> * Type: function<br>
* Name: config_load<br> * Name: config_load<br>
* Purpose: load config file vars * 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) * (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @author messju mohr <messju at lammfellpuschen dot de> (added use of resources) * @author messju mohr <messju at lammfellpuschen dot de> (added use of resources)

View File

@ -13,7 +13,7 @@
* Purpose: print out a counter value * Purpose: print out a counter value
* *
* @author Monte Ohrt <monte at ohrt dot com> * @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) * (Smarty online manual)
* *
* @param array $params parameters * @param array $params parameters

View File

@ -30,7 +30,7 @@
* {cycle name=row} * {cycle name=row}
* </pre> * </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) * (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @author credit to Mark Priatel <mpriatel@rogers.com> * @author credit to Mark Priatel <mpriatel@rogers.com>

View File

@ -13,7 +13,7 @@
* Name: debug<br> * Name: debug<br>
* Date: July 1, 2002<br> * Date: July 1, 2002<br>
* Purpose: popup debug window * 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) * (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @version 1.0 * @version 1.0

View File

@ -12,7 +12,7 @@
* Type: function<br> * Type: function<br>
* Name: eval<br> * Name: eval<br>
* Purpose: evaluate a template variable as a template<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) * (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @param array * @param array

View File

@ -12,7 +12,7 @@
* Name: fetch<br> * Name: fetch<br>
* Purpose: fetch file, web or ftp data and display results * 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) * (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* *

View File

@ -31,7 +31,7 @@
* - escape (optional) - escape the content (not value), defaults to true * - escape (optional) - escape the content (not value), defaults to true
* </pre> * </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) * (Smarty online manual)
* @author Christopher Kvarme <christopher.kvarme@flashjab.com> * @author Christopher Kvarme <christopher.kvarme@flashjab.com>
* @author credits to Monte Ohrt <monte at ohrt dot com> * @author credits to Monte Ohrt <monte at ohrt dot com>

View File

@ -23,7 +23,7 @@
* - path_prefix - prefix for path output (optional, default empty) * - path_prefix - prefix for path output (optional, default empty)
* </pre> * </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) * (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @author credits to Duda <duda@big.hu> * @author credits to Duda <duda@big.hu>

View File

@ -23,7 +23,7 @@
* - class (optional) - string default not set * - class (optional) - string default not set
* </pre> * </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) * (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @author Ralf Strehle (minor optimization) <ralf dot strehle at yahoo dot de> * @author Ralf Strehle (minor optimization) <ralf dot strehle at yahoo dot de>

View File

@ -31,7 +31,7 @@
* {html_radios values=$ids checked=$checked separator='<br>' output=$names} * {html_radios values=$ids checked=$checked separator='<br>' output=$names}
* </pre> * </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) * (Smarty online manual)
* @author Christopher Kvarme <christopher.kvarme@flashjab.com> * @author Christopher Kvarme <christopher.kvarme@flashjab.com>
* @author credits to Monte Ohrt <monte at ohrt dot com> * @author credits to Monte Ohrt <monte at ohrt dot com>

View File

@ -39,7 +39,7 @@ require_once(SMARTY_PLUGINS_DIR . 'shared.make_timestamp.php');
* added attributes month_names, *_id * added attributes month_names, *_id
* </pre> * </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) * (Smarty online manual)
* @version 2.0 * @version 2.0
* @author Andrei Zmievski * @author Andrei Zmievski

View File

@ -21,7 +21,7 @@ require_once(SMARTY_PLUGINS_DIR . 'shared.make_timestamp.php');
* Name: html_select_time<br> * Name: html_select_time<br>
* Purpose: Prints the dropdowns for time selection * 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) * (Smarty online manual)
* @author Roberto Berto <roberto@berto.net> * @author Roberto Berto <roberto@berto.net>
* @author Monte Ohrt <monte AT ohrt DOT com> * @author Monte Ohrt <monte AT ohrt DOT com>

View File

@ -40,7 +40,7 @@
* @author credit to Messju Mohr <messju at lammfellpuschen dot de> * @author credit to Messju Mohr <messju at lammfellpuschen dot de>
* @author credit to boots <boots dot smarty at yahoo dot com> * @author credit to boots <boots dot smarty at yahoo dot com>
* @version 1.1 * @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) * (Smarty online manual)
* *
* @param array $params parameters * @param array $params parameters

View File

@ -38,7 +38,7 @@
* {mailto address="me@domain.com" extra='class="mailto"'} * {mailto address="me@domain.com" extra='class="mailto"'}
* </pre> * </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) * (Smarty online manual)
* @version 1.2 * @version 1.2
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>

View File

@ -13,7 +13,7 @@
* Name: math<br> * Name: math<br>
* Purpose: handle math computations in template * 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) * (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* *

View File

@ -12,7 +12,7 @@
* Type: function<br> * Type: function<br>
* Name: popup<br> * Name: popup<br>
* Purpose: make text pop up in windows via overlib * 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) * (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @param array * @param array

View File

@ -12,7 +12,7 @@
* Type: function<br> * Type: function<br>
* Name: popup_init<br> * Name: popup_init<br>
* Purpose: initialize overlib * 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) * (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @param array * @param array

View File

@ -15,7 +15,7 @@
* Purpose: catenate a value to a variable * Purpose: catenate a value to a variable
* Input: string to catenate * Input: string to catenate
* Example: {$var|cat:"foo"} * 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) * (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @version 1.0 * @version 1.0

View File

@ -12,7 +12,7 @@
* Type: modifier<br> * Type: modifier<br>
* Name: count_characteres<br> * Name: count_characteres<br>
* Purpose: count the number of characters in a text * 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) * count_characters (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @param string * @param string

View File

@ -12,7 +12,7 @@
* Type: modifier<br> * Type: modifier<br>
* Name: count_paragraphs<br> * Name: count_paragraphs<br>
* Purpose: count the number of paragraphs in a text * 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) * count_paragraphs (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @param string * @param string

View File

@ -12,7 +12,7 @@
* Type: modifier<br> * Type: modifier<br>
* Name: count_sentences * Name: count_sentences
* Purpose: count the number of sentences in a text * 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) * count_sentences (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @param string * @param string

View File

@ -12,7 +12,7 @@
* Type: modifier<br> * Type: modifier<br>
* Name: count_words<br> * Name: count_words<br>
* Purpose: count the number of words in a text * 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) * count_words (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @param string * @param string

View File

@ -16,7 +16,7 @@
* - format: strftime format for output * - format: strftime format for output
* - default_date: default date if $string is empty * - 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> * @author Monte Ohrt <monte at ohrt dot com>
* *
* @param string $string input date string * @param string $string input date string

View File

@ -12,7 +12,7 @@
* Type: modifier<br> * Type: modifier<br>
* Name: default<br> * Name: default<br>
* Purpose: designate default value for empty variables * 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) * default (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @param string * @param string

View File

@ -12,7 +12,7 @@
* Name: escape<br> * Name: escape<br>
* Purpose: escape string for output * 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> * @author Monte Ohrt <monte at ohrt dot com>
* *
* @param string $string input string * @param string $string input string

View File

@ -12,7 +12,7 @@
* Type: modifier<br> * Type: modifier<br>
* Name: indent<br> * Name: indent<br>
* Purpose: indent lines of text * 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) * indent (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @param string * @param string

View File

@ -12,7 +12,7 @@
* Type: modifier<br> * Type: modifier<br>
* Name: lower<br> * Name: lower<br>
* Purpose: convert string to lowercase * 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) * lower (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @param string * @param string

View File

@ -18,7 +18,7 @@
* - preceed_test = if true, includes preceeding break tags * - preceed_test = if true, includes preceeding break tags
* in replacement * in replacement
* Example: {$text|nl2br} * 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) * nl2br (Smarty online manual)
* @version 1.0 * @version 1.0
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>

View File

@ -12,7 +12,7 @@
* Name: regex_replace<br> * Name: regex_replace<br>
* Purpose: regular expression search/replace * 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) * regex_replace (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* *

View File

@ -12,7 +12,7 @@
* Name: replace<br> * Name: replace<br>
* Purpose: simple search/replace * 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 Monte Ohrt <monte at ohrt dot com>
* @author Uwe Tews * @author Uwe Tews
* *

View File

@ -12,7 +12,7 @@
* Name: spacify<br> * Name: spacify<br>
* Purpose: add spaces between characters in a string * 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> * @author Monte Ohrt <monte at ohrt dot com>
* *
* @param string $string input string * @param string $string input string

View File

@ -12,7 +12,7 @@
* Type: modifier<br> * Type: modifier<br>
* Name: string_format<br> * Name: string_format<br>
* Purpose: format strings via sprintf * 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) * string_format (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @param string * @param string

View File

@ -15,7 +15,7 @@
* with a single space or supplied replacement string.<br> * with a single space or supplied replacement string.<br>
* Example: {$var|strip} {$var|strip:"&nbsp;"} * Example: {$var|strip} {$var|strip:"&nbsp;"}
* Date: September 25th, 2002 * 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) * strip (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @version 1.0 * @version 1.0

View File

@ -12,7 +12,7 @@
* Type: modifier<br> * Type: modifier<br>
* Name: strip_tags<br> * Name: strip_tags<br>
* Purpose: strip html tags from text * 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) * strip_tags (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @param string * @param string

View File

@ -14,7 +14,7 @@
* optionally splitting in the middle of a word, and * optionally splitting in the middle of a word, and
* appending the $etc string or inserting $etc into the middle. * 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> * @author Monte Ohrt <monte at ohrt dot com>
* *
* @param string $string input string * @param string $string input string

View File

@ -12,7 +12,7 @@
* Type: modifier<br> * Type: modifier<br>
* Name: upper<br> * Name: upper<br>
* Purpose: convert string to uppercase * 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) * upper (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @param string * @param string

View File

@ -12,7 +12,7 @@
* Type: modifier<br> * Type: modifier<br>
* Name: wordwrap<br> * Name: wordwrap<br>
* Purpose: wrap a string of text at a given length * 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) * wordwrap (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @param string * @param string

View File

@ -15,7 +15,7 @@
* Input: string to catenate<br> * Input: string to catenate<br>
* Example: {$var|cat:"foo"} * 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) * (Smarty online manual)
* @author Uwe Tews * @author Uwe Tews
* *

View File

@ -12,7 +12,7 @@
* Name: count_characteres<br> * Name: count_characteres<br>
* Purpose: count the number of characters in a text * 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 * @author Uwe Tews
* *
* @param array $params parameters * @param array $params parameters

View File

@ -12,7 +12,7 @@
* Name: count_paragraphs<br> * Name: count_paragraphs<br>
* Purpose: count the number of paragraphs in a text * 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) * count_paragraphs (Smarty online manual)
* @author Uwe Tews * @author Uwe Tews
* *

View File

@ -12,7 +12,7 @@
* Name: count_sentences * Name: count_sentences
* Purpose: count the number of sentences in a text * 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) * count_sentences (Smarty online manual)
* @author Uwe Tews * @author Uwe Tews
* *

View File

@ -12,7 +12,7 @@
* Name: count_words<br> * Name: count_words<br>
* Purpose: count the number of words in a text * 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 * @author Uwe Tews
* *
* @param array $params parameters * @param array $params parameters
@ -23,7 +23,7 @@ function smarty_modifiercompiler_count_words($params)
{ {
if (Smarty::$_MBSTRING) { if (Smarty::$_MBSTRING) {
// return 'preg_match_all(\'#[\w\pL]+#' . Smarty::$_UTF8_MODIFIER . '\', ' . $params[0] . ', $tmp)'; // 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)'; return 'preg_match_all(\'/\p{L}[\p{L}\p{Mn}\p{Pd}\\\'\x{2019}]*/' . Smarty::$_UTF8_MODIFIER . '\', ' . $params[0] . ', $tmp)';
} }
// no MBString fallback // no MBString fallback

View File

@ -12,7 +12,7 @@
* Name: default<br> * Name: default<br>
* Purpose: designate default value for empty variables * 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 * @author Uwe Tews
* *
* @param array $params parameters * @param array $params parameters

View File

@ -17,7 +17,7 @@ require_once(SMARTY_PLUGINS_DIR . 'shared.literal_compiler_param.php');
* Name: escape<br> * Name: escape<br>
* Purpose: escape string for output * 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 * @author Rodney Rehm
* *
* @param array $params parameters * @param array $params parameters

View File

@ -12,7 +12,7 @@
* Name: indent<br> * Name: indent<br>
* Purpose: indent lines of text * 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 * @author Uwe Tews
* *
* @param array $params parameters * @param array $params parameters

View File

@ -12,7 +12,7 @@
* Name: lower<br> * Name: lower<br>
* Purpose: convert string to lowercase * 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 Monte Ohrt <monte at ohrt dot com>
* @author Uwe Tews * @author Uwe Tews
* *

View File

@ -12,7 +12,7 @@
* Name: string_format<br> * Name: string_format<br>
* Purpose: format strings via sprintf * 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 * @author Uwe Tews
* *
* @param array $params parameters * @param array $params parameters

View File

@ -15,7 +15,7 @@
* Example: {$var|strip} {$var|strip:"&nbsp;"}<br> * Example: {$var|strip} {$var|strip:"&nbsp;"}<br>
* Date: September 25th, 2002 * 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 * @author Uwe Tews
* *
* @param array $params parameters * @param array $params parameters

View File

@ -12,7 +12,7 @@
* Name: strip_tags<br> * Name: strip_tags<br>
* Purpose: strip html tags from text * 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 * @author Uwe Tews
* *
* @param array $params parameters * @param array $params parameters

View File

@ -12,7 +12,7 @@
* Name: lower<br> * Name: lower<br>
* Purpose: convert string to uppercase * 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 * @author Uwe Tews
* *
* @param array $params parameters * @param array $params parameters

View File

@ -12,7 +12,7 @@
* Name: wordwrap<br> * Name: wordwrap<br>
* Purpose: wrap a string of text at a given length * 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 * @author Uwe Tews
* *
* @param array $params parameters * @param array $params parameters

View File

@ -40,7 +40,7 @@ function smarty_outputfilter_trimwhitespace($source)
} }
// Strip all HTML-Comments // 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); $source = preg_replace('#<!--.*?-->#ms', '', $source);
// capture html elements not to be messed with // capture html elements not to be messed with

View File

@ -9,7 +9,7 @@
/** /**
* convert characters to their decimal unicode equivalents * 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 $string characters to calculate unicode of
* @param string $encoding encoding of $string, if null mb_internal_encoding() is used * @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 * 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 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 * @param string $encoding encoding of returned string, if null mb_internal_encoding() is used

View File

@ -11,7 +11,7 @@ if (!function_exists('smarty_mb_wordwrap')) {
/** /**
* Wrap a string to a given number of characters * 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 string $str the string to wrap
* @param int $width the width of the output * @param int $width the width of the output

View File

@ -113,7 +113,7 @@ class Smarty_Internal_Data
* appends values to template variables * appends values to template variables
* *
* @api Smarty::append() * @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 array|string $tpl_var the template variable name(s)
* @param mixed $value the value to append * @param mixed $value the value to append
@ -174,7 +174,7 @@ class Smarty_Internal_Data
* Returns a single or all template variables * Returns a single or all template variables
* *
* @api Smarty::getTemplateVars() * @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 string $varName variable name or null
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $_ptr optional pointer to data object * @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $_ptr optional pointer to data object

View File

@ -22,7 +22,7 @@ class Smarty_Internal_Method_Append
* appends values to template variables * appends values to template variables
* *
* @api Smarty::append() * @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 \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
* @param array|string $tpl_var the template variable name(s) * @param array|string $tpl_var the template variable name(s)

View File

@ -16,7 +16,7 @@ class Smarty_Internal_Method_AppendByRef
* appends values to template variables by reference * appends values to template variables by reference
* *
* @api Smarty::appendByRef() * @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 \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
* @param string $tpl_var the template variable name * @param string $tpl_var the template variable name

View File

@ -22,7 +22,7 @@ class Smarty_Internal_Method_ClearAllAssign
* clear all the assigned template variables. * clear all the assigned template variables.
* *
* @api Smarty::clearAllAssign() * @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 * @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
* *

View File

@ -22,7 +22,7 @@ class Smarty_Internal_Method_ClearAllCache
* Empty cache folder * Empty cache folder
* *
* @api Smarty::clearAllCache() * @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 \Smarty $smarty
* @param integer $exp_time expiration time * @param integer $exp_time expiration time

View File

@ -22,7 +22,7 @@ class Smarty_Internal_Method_ClearAssign
* clear the given assigned template variable(s). * clear the given assigned template variable(s).
* *
* @api Smarty::clearAssign() * @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 \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
* @param string|array $tpl_var the template variable(s) to clear * @param string|array $tpl_var the template variable(s) to clear

View File

@ -22,7 +22,7 @@ class Smarty_Internal_Method_ClearCache
* Empty cache for a specific template * Empty cache for a specific template
* *
* @api Smarty::clearCache() * @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 \Smarty $smarty
* @param string $template_name template name * @param string $template_name template name

View File

@ -22,7 +22,7 @@ class Smarty_Internal_Method_ClearCompiledTemplate
* Delete compiled template file * Delete compiled template file
* *
* @api Smarty::clearCompiledTemplate() * @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 \Smarty $smarty
* @param string $resource_name template name * @param string $resource_name template name

View File

@ -22,7 +22,7 @@ class Smarty_Internal_Method_ClearConfig
* clear a single or all config variables * clear a single or all config variables
* *
* @api Smarty::clearConfig() * @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 \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
* @param string|null $name variable name or null * @param string|null $name variable name or null

View File

@ -22,7 +22,7 @@ class Smarty_Internal_Method_ConfigLoad
* load a config file, optionally load just selected sections * load a config file, optionally load just selected sections
* *
* @api Smarty::configLoad() * @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 \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
* @param string $config_file filename * @param string $config_file filename
@ -42,7 +42,7 @@ class Smarty_Internal_Method_ConfigLoad
* load a config file, optionally load just selected sections * load a config file, optionally load just selected sections
* *
* @api Smarty::configLoad() * @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 \Smarty|\Smarty_Internal_Data|\Smarty_Internal_Template $data
* @param string $config_file filename * @param string $config_file filename

View File

@ -22,7 +22,7 @@ class Smarty_Internal_Method_CreateData
* creates a data object * creates a data object
* *
* @api Smarty::createData() * @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_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
* @param \Smarty_Internal_Template|\Smarty_Internal_Data|\Smarty_Data|\Smarty $parent next higher level of Smarty * @param \Smarty_Internal_Template|\Smarty_Internal_Data|\Smarty_Data|\Smarty $parent next higher level of Smarty

View File

@ -22,7 +22,7 @@ class Smarty_Internal_Method_GetConfigVars
* Returns a single or all config variables * Returns a single or all config variables
* *
* @api Smarty::getConfigVars() * @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 \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
* @param string $varname variable name or null * @param string $varname variable name or null

View File

@ -22,7 +22,7 @@ class Smarty_Internal_Method_GetRegisteredObject
* return a reference to a registered object * return a reference to a registered object
* *
* @api Smarty::getRegisteredObject() * @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 \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
* @param string $object_name object name * @param string $object_name object name

View File

@ -22,7 +22,7 @@ class Smarty_Internal_Method_GetTags
* Return array of tag/attributes of all tags used by an template * Return array of tag/attributes of all tags used by an template
* *
* @api Smarty::getTags() * @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 \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
* @param null|string|Smarty_Internal_Template $template * @param null|string|Smarty_Internal_Template $template

View File

@ -22,7 +22,7 @@ class Smarty_Internal_Method_GetTemplateVars
* Returns a single or all template variables * Returns a single or all template variables
* *
* @api Smarty::getTemplateVars() * @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 \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
* @param string $varName variable name or null * @param string $varName variable name or null

View File

@ -30,7 +30,7 @@ class Smarty_Internal_Method_LoadFilter
* *
* @api Smarty::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 \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
* @param string $type filter type * @param string $type filter type

View File

@ -22,7 +22,7 @@ class Smarty_Internal_Method_RegisterCacheResource
* Registers a resource to fetch a template * Registers a resource to fetch a template
* *
* @api Smarty::registerCacheResource() * @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 \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
* @param string $name name of resource type * @param string $name name of resource type

View File

@ -22,7 +22,7 @@ class Smarty_Internal_Method_RegisterClass
* Registers static classes to be used in templates * Registers static classes to be used in templates
* *
* @api Smarty::registerClass() * @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 \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
* @param string $class_name * @param string $class_name

View File

@ -22,7 +22,7 @@ class Smarty_Internal_Method_RegisterDefaultPluginHandler
* Registers a default plugin handler * Registers a default plugin handler
* *
* @api Smarty::registerDefaultPluginHandler() * @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 \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
* @param callable $callback class/method name * @param callable $callback class/method name

View File

@ -30,7 +30,7 @@ class Smarty_Internal_Method_RegisterFilter
* *
* @api Smarty::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 \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
* @param string $type filter type * @param string $type filter type

Some files were not shown because too many files have changed in this diff Show More