*
* @license http://nucleuscms.org/license.txt GNU General Public License
* @copyright Copyright (C) 2002-2009 The Nucleus Group
+<<<<<<< HEAD
* @version $Id: BaseActions.php 1848 2012-05-16 12:17:00Z sakamocchi $
+=======
+ * @version $Id: BaseActions.php 1882 2012-06-17 07:52:43Z sakamocchi $
+>>>>>>> skinnable-master
*/
class BaseActions
/**
* BaseActions::parse_locale()
+<<<<<<< HEAD
* Parse locale to language-script-region according to RFC 4646
+=======
+ * Parse locale to language-region according to RFC 4646
+>>>>>>> skinnable-master
*
* @param void
* @return void
*/
public function parse_locale()
{
+<<<<<<< HEAD
echo preg_replace('#_#', '-', i18n::get_current_locale());
+=======
+ echo preg_replace('#(.+)_(.+)_(.+)#', '$1-$3', i18n::get_current_locale());
+>>>>>>> skinnable-master
return;
}
{
$this->addIfExecute();
$args = func_get_args();
+<<<<<<< HEAD
$condition = call_user_func_array(array(&$this,'checkCondition'), $args);
+=======
+ $condition = call_user_func_array(array($this,'checkCondition'), $args);
+>>>>>>> skinnable-master
$this->addIfCondition($condition);
return;
}
{
ob_end_clean();
$args = func_get_args();
+<<<<<<< HEAD
$condition = call_user_func_array(array(&$this,'checkCondition'), $args);
+=======
+ $condition = call_user_func_array(array($this,'checkCondition'), $args);
+>>>>>>> skinnable-master
$this->addIfCondition($condition);
}
return;
$this->addIfExecute();
$args = func_get_args();
+<<<<<<< HEAD
$condition = call_user_func_array(array(&$this,'checkCondition'), $args);
+=======
+ $condition = call_user_func_array(array($this,'checkCondition'), $args);
+>>>>>>> skinnable-master
$this->addIfCondition(!$condition);
return;
}
{
ob_end_clean();
$args = func_get_args();
+<<<<<<< HEAD
$condition = call_user_func_array(array(&$this,'checkCondition'), $args);
+=======
+ $condition = call_user_func_array(array($this,'checkCondition'), $args);
+>>>>>>> skinnable-master
$this->addIfCondition(!$condition);
}
return;