mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-29 16:19:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1369 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
83f1f44e7c
commit
19270cfe33
3 changed files with 4 additions and 3 deletions
|
|
@ -236,7 +236,7 @@
|
||||||
|
|
||||||
switch($filter_type) {
|
switch($filter_type) {
|
||||||
case 'email' :
|
case 'email' :
|
||||||
case 'email_adderss' :
|
case 'email_address' :
|
||||||
if(!eregi('^[_0-9a-z-]+(\.[_0-9a-z-]+)*@[0-9a-z-]+(\.[0-9a-z-]+)*$', $val)) return new Object(-1, sprintf($lang->filter->invalid_email, $lang->{$key}?$lang->{$key}:$key));
|
if(!eregi('^[_0-9a-z-]+(\.[_0-9a-z-]+)*@[0-9a-z-]+(\.[0-9a-z-]+)*$', $val)) return new Object(-1, sprintf($lang->filter->invalid_email, $lang->{$key}?$lang->{$key}:$key));
|
||||||
break;
|
break;
|
||||||
case 'homepage' :
|
case 'homepage' :
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,9 @@
|
||||||
|
|
||||||
// 템플릿 파일에서 사용할 변수들을 세팅
|
// 템플릿 파일에서 사용할 변수들을 세팅
|
||||||
$plugin_info->cur_date = date('Ym');
|
$plugin_info->cur_date = date('Ym');
|
||||||
|
$plugin_info->today_str = sprintf('%2d%s %2d%s',date('m'), Context::getLang('unit_month'), date('d'), Context::getLang('unit_day'));
|
||||||
$plugin_info->last_day = date('t');
|
$plugin_info->last_day = date('t');
|
||||||
$plugin_info->start_week= date('L');
|
$plugin_info->start_week= date('w', mktime(0,0,0,date('m'),1,date('Y')));
|
||||||
|
|
||||||
if(count($mid_list)==1) $plugin_info->module_name = $mid_list[0];
|
if(count($mid_list)==1) $plugin_info->module_name = $mid_list[0];
|
||||||
$plugin_info->title = $title;
|
$plugin_info->title = $title;
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
<!--@if($plugin_info->title)-->
|
<!--@if($plugin_info->title)-->
|
||||||
<div class="title_box">
|
<div class="title_box">
|
||||||
<div class="title">{$plugin_info->title}</div>
|
<div class="title">{$plugin_info->title} ({$plugin_info->today_str})</div>
|
||||||
</div>
|
</div>
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue