Initial commit.
This commit is contained in:
39
lib/php/monica/commtext.inc.php
Normal file
39
lib/php/monica/commtext.inc.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
// File name: commtext.inc.php
|
||||
// Description: PHP subroutine to obtain common text using gettext
|
||||
// Date: 2002-04-17
|
||||
// Author: imacat <imacat@pristine.com.tw>
|
||||
// Copyright: Copyright (C) 2002-2007 Pristine Communications
|
||||
|
||||
// Set the include path
|
||||
if (!defined("INCPATH_SET")) {
|
||||
require_once dirname(__FILE__) . "/incpath.inc.php";
|
||||
}
|
||||
// Referenced subroutines
|
||||
require_once "monica/gettext.inc.php";
|
||||
|
||||
// t_notset: Return a localed "(not set)"
|
||||
function t_notset()
|
||||
{
|
||||
return C_("(not set)");
|
||||
}
|
||||
|
||||
// t_none: Return a localed "(none)"
|
||||
function t_none()
|
||||
{
|
||||
return C_("(none)");
|
||||
}
|
||||
|
||||
// t_na: Return a localed "(N/A)"
|
||||
function t_na()
|
||||
{
|
||||
return C_("(N/A)");
|
||||
}
|
||||
|
||||
// t_na: Return a localed "(blank)"
|
||||
function t_blank()
|
||||
{
|
||||
return C_("(blank)");
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user