From 0a015fa94aca34890c9024790950fb7bc46a5ad3 Mon Sep 17 00:00:00 2001 From: wlx Date: Sat, 10 May 2014 06:36:02 +0000 Subject: [PATCH] change default view theme --- .../default/views/scripts/data/view.phtml | 21 +++++++++++++------ .../default/views/scripts/glacier/view.phtml | 21 +++++++++++++------ 2 files changed, 30 insertions(+), 12 deletions(-) diff --git a/application/default/views/scripts/data/view.phtml b/application/default/views/scripts/data/view.phtml index 326e92db..f15cee55 100755 --- a/application/default/views/scripts/data/view.phtml +++ b/application/default/views/scripts/data/view.phtml @@ -34,12 +34,21 @@ h3.gs_rt{font-size:110%;} citation) : ?>

CitationHelp

- -

Data Citation - escape($md->citation); - ?>

- ref) : ?> +

datadoi) || !strpos($md->citation,$md->datadoi)) : ?> + Paper Cite + escape($md->citation); + if (strpos($md->citation,$md->datadoi)) : ?> + (Download: RIS | + Bibtex) + +

+ datadoi) && !strpos($md->citation,$md->datadoi)) : ?> +

Dataset Cite + author_en,1,-1)).'. '.$md->title_en.'. '.$md->publisher_en.', '.(empty($md->ts_published)?$md->publish_year:date('Y',strtotime($md->ts_published))).'. doi:'.$md->doi; ?> + (Download: RIS | + Bibtex)

+ + ref) : ?>

Related publications (Recommended by Author)

    diff --git a/application/default/views/scripts/glacier/view.phtml b/application/default/views/scripts/glacier/view.phtml index 326e92db..f15cee55 100755 --- a/application/default/views/scripts/glacier/view.phtml +++ b/application/default/views/scripts/glacier/view.phtml @@ -34,12 +34,21 @@ h3.gs_rt{font-size:110%;} citation) : ?>

    CitationHelp

    - -

    Data Citation - escape($md->citation); - ?>

    - ref) : ?> +

    datadoi) || !strpos($md->citation,$md->datadoi)) : ?> + Paper Cite + escape($md->citation); + if (strpos($md->citation,$md->datadoi)) : ?> + (Download: RIS | + Bibtex) + +

    + datadoi) && !strpos($md->citation,$md->datadoi)) : ?> +

    Dataset Cite + author_en,1,-1)).'. '.$md->title_en.'. '.$md->publisher_en.', '.(empty($md->ts_published)?$md->publish_year:date('Y',strtotime($md->ts_published))).'. doi:'.$md->doi; ?> + (Download: RIS | + Bibtex)

    + + ref) : ?>

    Related publications (Recommended by Author)