diff --git a/application/default/views/scripts/author/metadata-new.phtml b/application/default/views/scripts/author/metadata-new.phtml index 54294083..1c66fbe6 100644 --- a/application/default/views/scripts/author/metadata-new.phtml +++ b/application/default/views/scripts/author/metadata-new.phtml @@ -154,23 +154,35 @@ $this->breadcrumb()->setSeparator(' > ');

参考文献

-
-
+ Field['reference']['FieldName_temp']; ?> data->$F['reference']) && count($this->data->$F['reference'])>0) { + $index = 0; foreach($this->data->$F['reference'] as $k=>$v) - {?> + { + $index ++ ; + ?> +
+
+ 1) {?> + -删除 + +
+
- +
+ +
+
-
- +
+ 再添加一条
@@ -179,7 +191,7 @@ $this->breadcrumb()->setSeparator(' > ');

联系人

Field['contact']['FieldName_temp']; ?> - data->$F['reference']) && count($this->data->$F['reference'])>0) + data->$F['contact']) && count($this->data->$F['contact'])>0) { $index = 0; foreach($this->data->$F['contact'] as $k=>$v) @@ -188,6 +200,7 @@ $this->breadcrumb()->setSeparator(' > ');
+ + 1) {?> + -删除 +
breadcrumb()->setSeparator(' > ');
+ ' + +' -删除' +'
' +'
'; return html; @@ -454,6 +472,7 @@ function SelectInputTemplate(name){ html = '
' + '
' + ' ' + + ' ' + ' ' + '' + + ' -删除' + '
' + '
'; now_index = null; @@ -473,9 +493,14 @@ function SelectInputTemplate(name){ } } +function RmInput(e){ + $e = $(e); + $e.parent('div').parent('div').remove(); +} + function InputTextSet(){ - console.log($('.contact_name').length); $('.contact_name').inputbg({'val':'姓名'}); + $('.contact_unit').inputbg({'val':'单位'}); $('.contact_email').inputbg({'val':'Email'}); $('.contact_name').each(function(index, element) { $(this).bind('change',function(){ diff --git a/application/default/views/scripts/author/metadata.phtml b/application/default/views/scripts/author/metadata.phtml index 3b3d03b7..5d2eb203 100644 --- a/application/default/views/scripts/author/metadata.phtml +++ b/application/default/views/scripts/author/metadata.phtml @@ -4,8 +4,6 @@ $this->headTitle($this->config->title->author); $this->headTitle()->setSeparator(' - '); $this->theme->AppendPlus($this,'jquery'); $this->theme->AppendPlus($this,'jquery_ui'); -$this->theme->AppendPlus($this,'google_map_v3'); -$this->theme->AppendPlus($this,'google_map_keydragzone'); $this->theme->AppendPlus($this,'colorbox'); $this->headLink()->appendStylesheet('/css/author.css'); $this->headLink()->appendStylesheet('/css/author-metadata.css'); diff --git a/application/models/MetaData.php b/application/models/MetaData.php index c55edaa0..5885ba6a 100755 --- a/application/models/MetaData.php +++ b/application/models/MetaData.php @@ -46,7 +46,7 @@ class Metadata 'FieldName_temp' => 'title_en', 'Type' => 'varchar', 'MaxLength' => 200, - 'Required' => true + 'Required' => false ), //摘要 diff --git a/application/models/Theme.php b/application/models/Theme.php index 07d2b144..bc581e99 100644 --- a/application/models/Theme.php +++ b/application/models/Theme.php @@ -67,6 +67,13 @@ class Theme ) ), + //loadinglayer + 'slides' => array( + $this->ScriptKey => array( + '/js/lib/slides.min.jquery.js' + ) + ), + /*********谷歌地图*********/