* @param object $blog an instance of Blog class
* @return void
*/
- private function preBlogContent($type, $blog)
+ private function preBlogContent($type, &$blog)
{
global $manager;
- $data = array('blog' => $blog, 'type' => $type);
+ $data = array('blog' => &$blog, 'type' => $type);
$manager->notify('PreBlogContent', $data);
return;
}
* @param objecct $blog an instance of Blog class
* @return void
*/
- private function postBlogContent($type, $blog)
+ private function postBlogContent($type, &$blog)
{
global $manager;
- $data = array('blog' => $blog, 'type' => $type);
+ $data = array('blog' => &$blog, 'type' => $type);
$manager->notify('PostBlogContent', $data);
return;
}
* Actions::parse_archivedate()
* %archivedate(locale,date format)%
*
- * @param string $locale
+ * @param deprecated $locale
* @return void
*/
- public function parse_archivedate($locale = '-def-')
+ public function parse_archivedate($locale='')
{
global $archive;
- /*
- * TODO: these lines are no meaning because there is no $template.
- if ( $locale == '-def-' )
- {
- setlocale(LC_TIME, $template['LOCALE']);
- }
- else
- {
- setlocale(LC_TIME, $locale);
- }
- */
-
// get archive date
sscanf($archive,'%d-%d-%d',$y,$m,$d);
public function parse_blog($template, $amount = 10, $category = '')
{
global $blog, $startpos;
+
list($limit, $offset) = sscanf($amount, '%d(%d)');
$this->setBlogCategory($blog, $category);
$this->preBlogContent('blog',$blog);
$this->amountfound = $blog->readLog($template, $limit, $offset, $startpos);
- $this->parse_benchmark();
$this->postBlogContent('blog',$blog);
return;
}
$item =& $manager->getItem($itemid, 1, 1);
$blog =& $manager->getBlog($item['blogid']);
- $data = array('blog'=> $blog, 'item' => $item);
+ $data = array('blog'=> &$blog, 'item' => &$item);
$manager->notify('PrepareItemForEdit', $data);
if ( $blog->convertBreaks() )
self::addToTemplate($templateid, 'DATE_FOOTER', postVar('DATE_FOOTER'));
self::addToTemplate($templateid, 'FORMAT_DATE', postVar('FORMAT_DATE'));
self::addToTemplate($templateid, 'FORMAT_TIME', postVar('FORMAT_TIME'));
- self::addToTemplate($templateid, 'LOCALE', postVar('LOCALE'));
self::addToTemplate($templateid, 'SEARCH_HIGHLIGHT', postVar('SEARCH_HIGHLIGHT'));
self::addToTemplate($templateid, 'SEARCH_NOTHINGFOUND', postVar('SEARCH_NOTHINGFOUND'));
self::addToTemplate($templateid, 'POPUP_CODE', postVar('POPUP_CODE'));
if ( $resource->rowCount() > 0 )
{
$template['content'] = 'actionlist';
- $this->parser->parse(showlist($resource, 'table', $template, $template_name));
+ $action_list = showlist($resource, 'table', $template, $template_name);
+ $this->parser->parse($action_list);
}
else
{
if ( $resource->rowCount() > 0 )
{
$template['content'] = 'banlist';
- $this->parser-parse(showlist($resource, 'table', $template, $template_name));
+ $ban_list = showlist($resource, 'table', $template, $template_name);
+ $this->parser-parse($ban_list);
}
else
{
$template['extra'] = Entity::hsc(_MEMBERS_USESITELANG);
}
- $this->parser->parse(showlist($query, 'select', $template, $template_name));
+ $skin_select = showlist($query, 'select', $template, $template_name);
+ $this->parser->parse($skin_select);
return;
}
$template['extra'] = Entity::hsc(_MEMBERS_USESITELANG);
}
- $this->parser->parse(showlist($query, 'select', $template, $template_name));
+ $bookmarklet_select = showlist($query, 'select', $template, $template_name);
+ $this->parser->parse($bookmarklet_select);
return;
}
{
$template['content'] = 'categorylist';
$template['tabindex'] = 200;
- $this->parser->parse(listplug_batchlist('category', $resource, 'table', $template, $template_name));
+ $category_list = listplug_batchlist('category', $resource, 'table', $template, $template_name);
+ $this->parser->parse($category_list);
}
else
{
{
$template['content'] = 'teamlist';
$template['tabindex'] = 10;
-
- $this->parser->parse(listplug_batchlist('team', $resource, 'table', $template, $template_name));
+
+ $team_list = listplug_batchlist('team', $resource, 'table', $template, $template_name);
+ $this->parser->parse($team_list);
}
else
{
$template['tabindex'] = 10;
$template['skinid'] = intRequestVar('skinid');
$template['skinname'] = $skin->getName();
- $this->parser->parse(showlist($normal_skintype, 'list_normalskinlist', $template, $template_name));
+ $skin_list = showlist($normal_skintype, 'list_normalskinlist', $template, $template_name);
+ $this->parser->parse($skin_list);
return;
}
$template['name'] = 'DefaultBlog';
$template['selected'] = $CONF['DefaultBlog'];
$template['tabindex'] = 10;
- $this->parser->parse(showlist($query, 'select', $template, $template_name));
+ $blog_select = showlist($query, 'select', $template, $template_name);
+ $this->parser->parse($blog_select);
return;
}
$template['selected'] = $blog->getDefaultCategory();
$template['tabindex'] = 110;
- $this->parser->parse(showlist($query, 'select', $template, $template_name));
+ $category_select = showlist($query, 'select', $template, $template_name);
+ $this->parser->parse($category_select);
return;
}
$query = sprintf($query, sql_table('skin_desc'));
$template['tabindex'] = 50;
- $this->parser->parse(showlist($query, 'select', $template, $template_name));
+ $skin_select = showlist($query, 'select', $template, $template_name);
+ $this->parser->parse($skin_select);
return;
}
{
$template['content'] = 'memberlist';
$template['tabindex'] = 10;
-
- $this->parser->parse(listplug_batchlist('member', $resource, 'table', $template, $template_name));
+
+ $member_list = listplug_batchlist('member', $resource, 'table', $template, $template_name);
+ $this->parser->parse($member_list);
}
else
{
if ( sizeof($aOptions) > 0 )
{
$template['content'] = 'plugoptionlist';
- $this->parser->parse(showlist($aOptions, 'table', $template, $template_name));
+ $option_list = showlist($aOptions, 'table', $template, $template_name);
+ $this->parser->parse($option_list);
}
else
{
{
$content = $template[$ptname];
}
- $this->parser->parse(listplug_templateEditRow($content, $ptdesc, $ptname, $help, $tabidx++, $big, $template_name));
+ $tempate_textarea = listplug_templateEditRow($content, $ptdesc, $ptname, $help, $tabidx++, $big, $template_name);
+ $this->parser->parse($tempate_textarea);
continue;
}
}
{
$content = $template[$typename];
}
- $this->parser->parse(listplug_templateEditRow($content, $typedesc, $typename, $help, $tabindex, $big, $template_name));
+ $tempate_textarea = listplug_templateEditRow($content, $typedesc, $typename, $help, $tabindex, $big, $template_name);
+ $this->parser->parse($tempate_textarea);
break;
}
*/
public function parse_inputyesno($name, $checkedval, $tabindex = 0, $value1 = 1, $value2 = 0, $yesval = _YES, $noval = _NO, $isAdmin = 0, $template_name = '')
{
- $this->parser->parse(listplug_input_yesno($name, $checkedval, $tabindex, $value1, $value2, $yesval, $noval, $isAdmin, $template_name));
+ $input_yesno = listplug_input_yesno($name, $checkedval, $tabindex, $value1, $value2, $yesval, $noval, $isAdmin, $template_name);
+ $this->parser->parse($input_yesno);
return;
}
'tabindex' => 10000,
'selected' => 0
);
- $this->parser->parse(showlist($query, 'select', $template, $template_name));
+ $member_select = showlist($query, 'select', $template, $template_name);
+ $this->parser->parse($member_select);
return;
}
$template['content'] = 'pluginlist';
$template['tabindex'] = 10;
- $this->parser->parse(showlist($query, 'table', $template, $template_name));
+ $plugin_list = showlist($query, 'table', $template, $template_name);
+ $this->parser->parse($plugin_list);
return;
}
'plugadmintooltip' => Entity::hsc($aInfo['tooltip']),
'plugadmintitle' => Entity::hsc($aInfo['title']),
);
- $this->parser->parse(Template::fill($template['body'], $data));
+ $body = Template::fill($template['body'], $data);
+ $this->parser->parse($body);
}
$this->parser->parse($template['foot']);
}
$query = sprintf($query, sql_table('template_desc'));
break;
}
-
- $this->parser->parse(showlist($query, 'table', $show, $template_name));
+
+ $skin_list = showlist($query, 'table', $show, $template_name);
+ $this->parser->parse($skin_list);
return;
}
$template['tabindex'] = 10;
$template['content'] = 'skinlist';
- $this->parser->parse(showlist($query, 'table', $template, $template_name));
+ $skin_list = showlist($query, 'table', $template, $template_name);
+ $this->parser->parse($skin_list);
return;
}
$template['tabindex'] = 75;
$template['skinid'] = $skin->getID();
$template['skinname'] = $skin->getName();
- $this->parser->parse(showlist($special_skintypes, 'list_specialskinlist', $template, $template_name));
+ $skin_list = showlist($special_skintypes, 'list_specialskinlist', $template, $template_name);
+ $this->parser->parse($skin_list);
}
else
{
$template['tabindex'] = 10;
$template['content'] = 'templatelist';
- $this->parser->parse(showlist($query, 'table', $template, $template_name));
+ $template_list = showlist($query, 'table', $template, $template_name);
+ $this->parser->parse($template_list);
return;
}
if ( $resource->rowCount() > 0 )
{
$template['content'] = 'draftlist';
- $this->parser->parse(showlist($resource, 'table', $template, $template_name));
+ $draft_list = showlist($resource, 'table', $template, $template_name);
+ $this->parser->parse($draft_list);
}
else
{
global $manager;
$data = array(
- 'blogid' => $blogid,
- 'iprange' => &$iprange,
- 'reason' => &$reason
+ 'blogid' => $blogid,
+ 'iprange' => &$iprange,
+ 'reason' => &$reason
);
$manager->notify('PreAddBan', $data);
public function removeBan($blogid, $iprange)
{
global $manager;
-
+
$data = array(
- 'blogid' => $blogid,
- 'range' => $iprange
- );
+ 'blogid' => $blogid,
+ 'range' => $iprange
+ );
$manager->notify('PreDeleteBan', $data);
$query = 'DELETE FROM %s WHERE blogid=%d and iprange=%s';
private function showUsingQuery($templateName, $query, $highlight = '', $comments = 0, $dateheads = 1)
{
global $CONF, $manager, $currentTemplateName;
- global $StartTime;
$lastVisit = cookieVar($CONF['CookiePrefix'] .'lastVisit');
if ( $lastVisit != 0 )
if ( $old_date != 0 )
{
$oldTS = strtotime($old_date);
- $data = array('blog' => $this, 'timestamp' => $oldTS);
+ $data = array('blog' => &$this, 'timestamp' => $oldTS);
$manager->notify('PreDateFoot', $data);
if ( !in_array('DATE_FOOTER', $template) || empty($template['DATE_FOOTER']) )
$manager->notify('PostDateFoot', $data);
}
- $data = array('blog' => $this, 'timestamp' => $timestamp);
+ $data = array('blog' => &$this, 'timestamp' => $timestamp);
$manager->notify('PreDateHead', $data);
// note, to use templatvars in the dateheader, the %-characters need to be doubled in
// parse item
$parser->parse($template['ITEM_HEADER']);
- $data = array('blog' => $this, 'item' => &$item);
+ $data = array('blog' => &$this, 'item' => &$item);
$manager->notify('PreItem', $data);
$parser->parse($template['ITEM']);
$manager->notify('PostItem', $data);
// add another date footer if there was at least one item
if ( ($numrows > 0) && $dateheads )
{
- $data = array('blog' => $this, 'timestamp' => strtotime($old_date));
+ $data = array('blog' => &$this, 'timestamp' => strtotime($old_date));
$manager->notify('PreDateFoot', $data);
$parser->parse($template['DATE_FOOTER']);
$manager->notify('PostDateFoot', $data);
* @param string $direction ASC/DESC
* @return void
*/
- public function showBlogList($template, $bnametype, $orderby, $direction)
+ static public function showBlogList($template, $bnametype, $orderby, $direction)
{
global $CONF, $manager;
if ($usePathInfo)
{
$data = array(
- 'type' => $type,
- 'params' => $params,
- 'completed' => &$created,
- 'url' => &$url
- );
+ 'type' => $type,
+ 'params' => $params,
+ 'completed' => &$created,
+ 'url' => &$url
+ );
$manager->notify('GenerateURL', $data);
}
* $manager =& Manager::instance(); to get a reference to the object
* instead of a copy
*/
- public static function &instance()
+ static public function &instance()
{
static $instance = array();
if ( empty($instance) )
}
$errormessage = '';
- $data = array('member' => $this, 'username' => $login);
+ $data = array('member' => &$this, 'username' => $login);
$manager->notify('LoginSuccess', $data);
ActionLog::add(INFO, "Login successful for $login (sharedpc=$shared)");
}
/* remove cookies on logout */
setcookie("{$CONF['CookiePrefix']}user", '', (time() - 2592000), $CONF['CookiePath'], $CONF['CookieDomain'], $CONF['CookieSecure']);
setcookie("{$CONF['CookiePrefix']}loginkey", '', (time() - 2592000), $CONF['CookiePath'], $CONF['CookieDomain'], $CONF['CookieSecure']);
- $data = array('username' => cookieVar("{$CONF['CookiePrefix']}user") );
+ $data = array('username' => cookieVar("{$CONF['CookiePrefix']}user"));
$manager->notify('Logout', $data);
}
global $currentSkinName, $manager, $CONF, $DIR_NUCLEUS;
$data = array(
- 'skin' => $this,
+ 'skin' => &$this,
'type' => $type
);
$manager->notify("Init{$this->event_identifier}Parse", $data);
global $manager;
$data = array(
- 'name' => &$name,
- 'description' => &$desc
- );
+ 'name' => &$name,
+ 'description' => &$desc
+ );
$manager->notify('PreAddTemplate', $data);
DB::execute('INSERT INTO '.sql_table('template_desc').' (tdname, tddesc) VALUES (' . DB::quoteValue($name) . ',' . DB::quoteValue($desc) . ')');
$newId = DB::getInsertId();
$data = array(
- 'templateid' => $newId,
- 'name' => $name,
- 'description' => $desc
- );
+ 'templateid' => $newId,
+ 'name' => $name,
+ 'description' => $desc
+ );
$manager->notify('PostAddTemplate', $data);
return $newId;
$template[$row['tpartname']] = $row['tcontent'];
}
- /*
- * TODO: this is appropriate or not?
- */
- if ( array_key_exists('LOCALE', $template) && !empty($template['LOCALE']) )
- {
- setlocale(LC_TIME, $template['LOCALE']);
- }
- else
- {
- setlocale(LC_TIME,'');
- }
-
return $template;
}
if ( array_key_exists('debug', $CONF) && $CONF['debug'] )
{
/* report all errors! */
- error_reporting(E_ALL);
+ error_reporting(E_ALL | E_STRICT);
}
else
{
$translation_file = $DIR_LOCALES . 'en_Latn_US.ISO-8859-1.php';
}
include($translation_file);
+
+ /*
+ * NOTE:
+ * PHP is written by C and utilize C library, whose APIs are defined in POSIX.
+ *
+ * setlocale() is one of APIs of C library.
+ * but the argument value for setlocale() depends on each implements
+ *
+ * The latest POSIX standard:
+ * The Open Group Base Specifications Issue 7
+ * IEEE Std 1003.1™-2008
+ * http://pubs.opengroup.org/onlinepubs/9699919799/mindex.html
+ *
+ * Microsoft's operating system uses their own implementation
+ * Language Strings
+ * http://msdn.microsoft.com/en-us/library/39cwe7zf%28v=vs.110%29.aspx
+ * Country/Region Strings
+ * http://msdn.microsoft.com/en-us/library/cdax410z%28v=vs.110%29.aspx
+ *
+ * Linux and Unix (in this meaning, Apple's OS X derives from UNIX) uses ISO standard.
+ * two characters language tag (ISO 639-1)
+ * two characters region and country lag (ISO 3166-1 alpha-1)
+ *
+ */
+ if ( PHP_OS == "WIN32" || PHP_OS == "WINNT" )
+ {
+ /* LOCALE_IN_WINDOWS is defined in each translation files */
+ setlocale(LC_ALL, _LOCALE_IN_WINDOWS);
+ }
+ else
+ {
+ setlocale(LC_ALL, preg_replace('#(.+)_(.+)_(.+)#', '$1-$3', $locale));
+ }
return;
}
* @version $Id: bg_Cyrl_BG.ISO-8859-5.php 1887 2012-06-17 08:30:08Z sakamocchi $
*/
- /********************************************
+/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'C');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
* @version $Id: bg_Cyrl_BG.UTF-8.php 1887 2012-06-17 08:30:08Z sakamocchi $
*/
- /********************************************
+/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'C');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'C');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'C');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'csy_cze');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'csy_cze');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'deu_deu');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'deu_deu');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'ell_grc');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'ell_grc');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'enu_usa');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'enu_usa');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'esp_esp');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'esp_esp');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'C');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'fin_fin');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'fin_fin');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'fra_fra');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'fra_fra');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'C');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'C');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'C');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'C');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'hun_hun');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'hun_hun');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'C');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'C');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'ita_ita');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'ita_ita');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
*/
/********************************************
- * Start New for 4.0 *
+ * Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'jpn_jpn');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'ǯ');
define('_LABEL_MONTH_UNIT', '·î');
*/
/********************************************
- * Start New for 4.0 *
+ * Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'jpn_jpn');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', '年');
define('_LABEL_MONTH_UNIT', '月');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'kor_kor');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'kor_kor');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'C');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'C');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'C');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'nld_nld');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'nld_nld');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'plk_pol');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'Rok');
define('_LABEL_MONTH_UNIT', 'Miesiąc');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'ptb_prt');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'ptb_prt');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'C');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'C');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'rus_rus');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'rus_rus');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'sky_svk');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'sky_svk');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'C');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'C');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'C');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'chs_chn');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'chs_chn');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
/********************************************
* Start New for 4.0 *
********************************************/
+/* argument value for setlocale() in Microsoft's windows operating system */
+define('_LOCALE_IN_WINDOWS', 'cht_twn');
+
/* labels for date and time measurement unit */
define('_LABEL_YEAR_UNIT', 'year');
define('_LABEL_MONTH_UNIT', 'month');
$trackbacks[] = _getArrayVal($tblist, $i);
}
- $data = array('tb_id' => $itemid, 'urls' => & $trackbacks);
+ $data = array('tb_id' => $itemid, 'urls' => &$trackbacks);
$manager->notify('SendTrackback', $data);
}
$trackbacks[] = _getArrayVal($tblist, $i);
}
- $data = array('tb_id' => $itemid, 'urls' => & $trackbacks);
+ $data = array('tb_id' => $itemid, 'urls' => &$trackbacks);
$manager->notify('SendTrackback', $data);
}
$trackbacks = array ();
$tbstruct = array ();
- $data = array('tb_id' => $itemid, 'trackbacks' => & $trackbacks);
+ $data = array('tb_id' => $itemid, 'trackbacks' => &$trackbacks);
$manager->notify('RetrieveTrackback', $data);
while (list(,$v) = each ($trackbacks)) {
<%edittemplateinfo(row,_TEMPLATE_DFOOTER, DATE_FOOTER, dateheads, 230)%>
<%edittemplateinfo(row,_TEMPLATE_DFORMAT, FORMAT_DATE, datetime, 240)%>
<%edittemplateinfo(row,_TEMPLATE_TFORMAT, FORMAT_TIME, datetime, 250)%>
- <%edittemplateinfo(row,_TEMPLATE_LOCALE, LOCALE, locale, 260)%>
</tbody>
</table>
<part name="FORMAT_TIME"><![CDATA[%X]]></part>
- <part name="LOCALE"><![CDATA[en]]></part>
-
<part name="POPUP_CODE"><![CDATA[<%popuplink%>]]></part>
<part name="IMAGE_CODE"><![CDATA[<%image%>]]></part>
<part name="FORMAT_TIME"><![CDATA[%X]]></part>
- <part name="LOCALE"><![CDATA[en]]></part>
-
<part name="POPUP_CODE"><![CDATA[<%popuplink%>]]></part>
<part name="IMAGE_CODE"><![CDATA[<%image%>]]></part>
</div>
]]></part>
-<part name="LOCALE"><![CDATA[en]]></part>
<part name="MEDIA_CODE"><![CDATA[<%media%>]]></part>
<part name="MORELINK"><![CDATA[<a href="<%itemlink%>">[Read More!]</a>]]></part>
<part name="POPUP_CODE"><![CDATA[<%popuplink%>]]></part>
</div>
]]></part>
-<part name="LOCALE"><![CDATA[en]]></part>
<part name="MEDIA_CODE"><![CDATA[<%media%>]]></part>
<part name="POPUP_CODE"><![CDATA[<%popuplink%>]]></part>
<part name="SEARCH_HIGHLIGHT"><![CDATA[<span class="highlight">\0</span>]]></part>