diff --git a/layouts/sample_layout/conf/info.xml b/layouts/sample_layout/conf/info.xml index a29fe5728..c19506603 100644 --- a/layouts/sample_layout/conf/info.xml +++ b/layouts/sample_layout/conf/info.xml @@ -16,16 +16,22 @@ 상단 제목 top title text + 설명 + description 메인 메뉴 명 main_menu_name text + 설명 + description 컬러셋 colorset select + 설명 + description 적색 red diff --git a/modules/layout/layout.model.php b/modules/layout/layout.model.php index d69a1a402..a8a6848a3 100644 --- a/modules/layout/layout.model.php +++ b/modules/layout/layout.model.php @@ -142,6 +142,7 @@ $buff .= sprintf('$layout_info->extra_var->%s->name = "%s";', $var->attrs->id, $var->name->body); $buff .= sprintf('$layout_info->extra_var->%s->type = "%s";', $var->attrs->id, $var->type->body); $buff .= sprintf('$layout_info->extra_var->%s->value = $vars->%s;', $var->attrs->id, $var->attrs->id); + $buff .= sprintf('$layout_info->extra_var->%s->description = "%s";', $var->attrs->id, str_replace('"','\"',$var->description->body)); $options = $var->options; if(!$options) continue; diff --git a/modules/layout/tpl.admin/layout_info.html b/modules/layout/tpl.admin/layout_info.html index 22e199aeb..fd425baf7 100644 --- a/modules/layout/tpl.admin/layout_info.html +++ b/modules/layout/tpl.admin/layout_info.html @@ -50,7 +50,7 @@ - {$var->name} + {$var->name} @@ -64,6 +64,9 @@ + + {$var->description} + diff --git a/modules/plugin/plugin.model.php b/modules/plugin/plugin.model.php index efa1c8d9d..0b596b7f4 100644 --- a/modules/plugin/plugin.model.php +++ b/modules/plugin/plugin.model.php @@ -110,6 +110,7 @@ $buff .= sprintf('$plugin_info->extra_var->%s->name = "%s";', $var->attrs->id, $var->name->body); $buff .= sprintf('$plugin_info->extra_var->%s->type = "%s";', $var->attrs->id, $var->type->body); $buff .= sprintf('$plugin_info->extra_var->%s->value = $vars->%s;', $var->attrs->id, $var->attrs->id); + $buff .= sprintf('$plugin_info->extra_var->%s->description = "%s";', $var->attrs->id, str_replace('"','\"',$var->description->body)); $options = $var->options; if(!$options) continue; diff --git a/modules/plugin/tpl.admin/plugin_generate_code.html b/modules/plugin/tpl.admin/plugin_generate_code.html index 18b04e4ec..94339b107 100644 --- a/modules/plugin/tpl.admin/plugin_generate_code.html +++ b/modules/plugin/tpl.admin/plugin_generate_code.html @@ -15,7 +15,7 @@ - {$var->name} + {$var->name} @@ -40,6 +40,9 @@ + + {$var->description} + diff --git a/plugins/newest_document/conf/info.xml b/plugins/newest_document/conf/info.xml index 33090173e..00e67c171 100644 --- a/plugins/newest_document/conf/info.xml +++ b/plugins/newest_document/conf/info.xml @@ -13,11 +13,15 @@ 제목 title text + 설명 + description 정렬 대상 order target select + 설명 + description 시간순 regdate @@ -33,6 +37,8 @@ 정렬 방법 order type select + 설명 + description 내림차순 desc @@ -48,11 +54,15 @@ 목록수 list_count text + 설명 + description 대상 모듈 target modules mid_list + 설명 + description