Super duper modifications

updated template system
updated XML template
updated HTML template
masturbated
This commit is contained in:
briandilley
2004-11-04 19:27:04 +00:00
parent 1410c9d0e8
commit 516c5fcb2b
37 changed files with 110 additions and 33 deletions

0
templates/default/after-list Executable file
View File

0
templates/default/before-list Executable file
View File

View File

@ -0,0 +1,2 @@
Content-Type: text/html

16
templates/default/kwote-even Executable file
View File

@ -0,0 +1,16 @@
<div class="kwote-even">
<span class="kwote-id"><a href="?action=show&amp;id=${KWOTE_ID}">#${KWOTE_ID}</a></span>
<span class="vote-controls">
<a href="?action=hate&amp;kid=${KWOTE_ID}"
onclick="vote(${KWOTE_ID},'hate'); return false;"
id="hate${KWOTE_ID}">-</a>
<span id="rating${KWOTE_ID}">${KWOTE_RATING}</span>
<a href="?action=love&amp;kid=${KWOTE_ID}"
onclick="vote(${KWOTE_ID},'love'); return false"
id="love${KWOTE_ID}">+</a>
</span>
<div class="kwote-content">
${KWOTE_TEXT_HTML}
</div>
</div>

View File

@ -1,4 +1,4 @@
<div class="kwote">
<div class="kwote-odd">
<span class="kwote-id"><a href="?action=show&amp;id=${KWOTE_ID}">#${KWOTE_ID}</a></span>
<span class="vote-controls">
<a href="?action=hate&amp;kid=${KWOTE_ID}"

View File

@ -62,12 +62,19 @@ a img
}
/* Kwotes */
.kwote
.kwote-odd
{
position: relative;
margin-bottom: 10px;
}
.kwote-even
{
position: relative;
margin-bottom: 10px;
background-color: #e9e9e9;
}
.kwote-id
{
float: left;