changed the formatting of the output (#85)
classes and format is now the the same as in the 2k11 theme
This commit is contained in:
parent
e4f67a7197
commit
7b8d241c4c
1 changed files with 7 additions and 6 deletions
|
@ -265,14 +265,15 @@ class serendipity_event_customarchive extends serendipity_event {
|
||||||
|
|
||||||
|
|
||||||
if ($this->get_config('articleformat') == TRUE) {
|
if ($this->get_config('articleformat') == TRUE) {
|
||||||
echo '<div class="serendipity_Entry_Date">
|
echo '<article class="clearfix serendipity_entry" id="customarchive" role="article">
|
||||||
<h3 class="serendipity_date">' . PLUGIN_CUSTOMARCHIVE_TITLE . '</h3>';
|
<header class="clearfix">
|
||||||
|
<h2><a href="'. $serendipity['serendipityHTTPPath'] . $serendipity['indexFile'] . '?/pages/archives.html">' . PLUGIN_CUSTOMARCHIVE_TITLE . '</a></h2></header>';
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<h4 class="serendipity_title"><a href="#">' . $this->get_config('headline') . '</a></h4>';
|
echo '<h4 class="serendipity_title"><a href="#">' . $this->get_config('headline') . '</a></h4>';
|
||||||
|
|
||||||
if ($this->get_config('articleformat') == TRUE) {
|
if ($this->get_config('articleformat') == TRUE) {
|
||||||
echo '<div class="serendipity_entry"><div class="serendipity_entry_body">';
|
echo '<div class="clearfix content serendipity_entry_body">';
|
||||||
}
|
}
|
||||||
|
|
||||||
$first_entry = serendipity_db_query("SELECT min(timestamp) AS first FROM {$serendipity['dbPrefix']}entries WHERE isdraft = 'false' LIMIT 1", true);
|
$first_entry = serendipity_db_query("SELECT min(timestamp) AS first FROM {$serendipity['dbPrefix']}entries WHERE isdraft = 'false' LIMIT 1", true);
|
||||||
|
@ -324,7 +325,7 @@ class serendipity_event_customarchive extends serendipity_event {
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<form action="<?php echo $serendipity['baseURL']; ?>index.php?" method="get">
|
<form action="<?php echo $serendipity['baseURL']; ?>index.php?" method="get">
|
||||||
<div>
|
<p>
|
||||||
<input type="hidden" name="serendipity[subpage]" value="<?php echo $page; ?>" />
|
<input type="hidden" name="serendipity[subpage]" value="<?php echo $page; ?>" />
|
||||||
<?php echo SORT_BY; ?><br />
|
<?php echo SORT_BY; ?><br />
|
||||||
<?php echo $this->dropdown('custom_sortfield', $custom_sortfield); ?>
|
<?php echo $this->dropdown('custom_sortfield', $custom_sortfield); ?>
|
||||||
|
@ -332,14 +333,14 @@ class serendipity_event_customarchive extends serendipity_event {
|
||||||
<?php echo $this->dropdown('custom_sortyears', $custom_sortyears); ?>
|
<?php echo $this->dropdown('custom_sortyears', $custom_sortyears); ?>
|
||||||
<?php echo $this->dropdown('custom_sortauthors', $custom_sortauthors); ?>
|
<?php echo $this->dropdown('custom_sortauthors', $custom_sortauthors); ?>
|
||||||
<input type="submit" name="submit" value="<?php echo GO; ?>" />
|
<input type="submit" name="submit" value="<?php echo GO; ?>" />
|
||||||
</div>
|
</p>
|
||||||
</form>
|
</form>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$this->showEntries();
|
$this->showEntries();
|
||||||
|
|
||||||
if ($this->get_config('articleformat') == TRUE) {
|
if ($this->get_config('articleformat') == TRUE) {
|
||||||
echo '</div></div></div>';
|
echo '</div></article>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue