projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add PAGE_NAME constant to every page under src/.
[squirrelmail.git]
/
src
/
addrbook_search_html.php
diff --git
a/src/addrbook_search_html.php
b/src/addrbook_search_html.php
index b877ca22c4dc2e8047ffff2272b277a215bd18a8..0322132feb0dc6d29b79dd3b7593c6f1918ae86f 100644
(file)
--- a/
src/addrbook_search_html.php
+++ b/
src/addrbook_search_html.php
@@
-20,6
+20,9
@@
* init.php.
*/
if (!isset($bInit)) {
* init.php.
*/
if (!isset($bInit)) {
+ /** This is the addrbook_search_html page */
+ define('PAGE_NAME', 'addrbook_search_html');
+
include('../include/init.php');
}
include('../include/init.php');
}
@@
-68,9
+71,7
@@
function addr_insert_hidden() {
* @param bool $includesource If true, adds backend column to address listing
*/
function addr_display_result($res, $includesource = true) {
* @param bool $includesource If true, adds backend column to address listing
*/
function addr_display_result($res, $includesource = true) {
- global $color, $PHP_SELF, $squirrelmail_language;
-
- global $oTemplate, $oErrorHandler;
+ global $PHP_SELF, $oTemplate, $oErrorHandler;
echo addForm($PHP_SELF, 'post', 'addressbook').
echo addForm($PHP_SELF, 'post', 'addressbook').
@@
-96,7
+97,6
@@
else {
}
/** set correct value of $default_charset */
}
/** set correct value of $default_charset */
-global $default_charset;
set_my_charset();
/* Initialize addressbook */
set_my_charset();
/* Initialize addressbook */
@@
-176,4
+176,3
@@
if ($addrquery == '' || sizeof($res) == 0) {
echo '<hr />';
$oTemplate->display('footer.tpl');
echo '<hr />';
$oTemplate->display('footer.tpl');
-?>