mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-16 17:59:55 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1860 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4994de78f0
commit
be2471b75d
4 changed files with 9 additions and 6 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{$page_content}
|
||||
|
||||
<!--@if($grant->is_admin)-->
|
||||
<div class="tRight gap1">
|
||||
<div class="tRight gap1 clear">
|
||||
<a href="#" onclick="location.href='{getUrl('act','dispPageAdminInsert','module_srl',$module_info->module_srl)}';return false;" class="button"><span>{$lang->cmd_page_modify}</span></a>
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
|
|
|||
|
|
@ -52,8 +52,8 @@
|
|||
<td>{$val->browser_title}</td>
|
||||
<td class="tahoma">{$val->is_default}</td>
|
||||
<td class="tahoma">{zdate($val->regdate,"Y-m-d")}</td>
|
||||
<td class="tahoma blue"><a href="./?mid={$val->mid}" target="_blank">{$lang->cmd_view}</a></td>
|
||||
<td class="tahoma red"><!--@if($val->is_default!='Y')--><a href="{getUrl('act','dispPageAdminDelete','module_srl', $val->module_srl)}">{$lang->cmd_delete}</a><!--@end--></td>
|
||||
<td class="blue"><a href="./?mid={$val->mid}" target="_blank">{$lang->cmd_view}</a></td>
|
||||
<td class="red"><!--@if($val->is_default!='Y')--><a href="{getUrl('act','dispPageAdminDelete','module_srl', $val->module_srl)}">{$lang->cmd_delete}</a><!--@end--></td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
|
||||
<div class="gap1">{$editor}</td>
|
||||
<div class="gap1">{$editor}</div>
|
||||
|
||||
<div class="tRight gap1">
|
||||
<span class="button"><input type="submit" value="{$lang->cmd_save}" accesskey="s" /></span>
|
||||
|
|
|
|||
|
|
@ -46,13 +46,16 @@
|
|||
$style .= sprintf("%s:%spx;", "width", trim($vars->widget_width));
|
||||
$style .= sprintf("margin:%dpx %dpx %dpx %dpx;", $vars->widget_margin_top, $vars->widget_margin_right,$vars->widget_margin_bottom,$vars->widget_margin_left);
|
||||
if($vars->widget_position) $style .= sprintf("%s:%s;", "float", trim($vars->widget_position));
|
||||
else $style .= "clear:both;";
|
||||
if($vars->widget_cr == 'Y') $style .= "clear:left;";
|
||||
else $style .= "clear:left;";
|
||||
$widget_code = sprintf('<img src="%s" class="zbxe_widget_output" widget="%s" %s style="%s" />', $blank_img_path, $widget, implode(' ',$attribute), $style);
|
||||
} else {
|
||||
$widget_code = sprintf('<img width="100" height="100" src="%s" class="zbxe_widget_output" widget="%s" %s />', $blank_img_path, $widget, implode(' ',$attribute));
|
||||
}
|
||||
|
||||
$cache_path = './files/cache/widget_cache/';
|
||||
$cache_file = sprintf('%s%d.%s.cache', $cache_path, $vars->widget_sequence, Context::getLangType());
|
||||
@unlink($cache_file);
|
||||
|
||||
// 코드 출력
|
||||
$this->add('widget_code', $widget_code);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue