Super duper modifications
updated template system updated XML template updated HTML template masturbated
This commit is contained in:
0
templates/default/after-list
Executable file
0
templates/default/after-list
Executable file
0
templates/default/before-list
Executable file
0
templates/default/before-list
Executable file
2
templates/default/http-headers
Normal file
2
templates/default/http-headers
Normal file
@ -0,0 +1,2 @@
|
||||
Content-Type: text/html
|
||||
|
16
templates/default/kwote-even
Executable file
16
templates/default/kwote-even
Executable file
@ -0,0 +1,16 @@
|
||||
<div class="kwote-even">
|
||||
<span class="kwote-id"><a href="?action=show&id=${KWOTE_ID}">#${KWOTE_ID}</a></span>
|
||||
<span class="vote-controls">
|
||||
<a href="?action=hate&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&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>
|
@ -1,4 +1,4 @@
|
||||
<div class="kwote">
|
||||
<div class="kwote-odd">
|
||||
<span class="kwote-id"><a href="?action=show&id=${KWOTE_ID}">#${KWOTE_ID}</a></span>
|
||||
<span class="vote-controls">
|
||||
<a href="?action=hate&kid=${KWOTE_ID}"
|
@ -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;
|
||||
|
5
templates/xml/add-kwote
Executable file
5
templates/xml/add-kwote
Executable file
@ -0,0 +1,5 @@
|
||||
<message>
|
||||
There isn't an add kwote page for the xml
|
||||
template because it is intended to be used
|
||||
by non human processes
|
||||
</message>
|
2
templates/xml/add-kwote-thanks
Executable file
2
templates/xml/add-kwote-thanks
Executable file
@ -0,0 +1,2 @@
|
||||
|
||||
<kwote-added id="${KWOTE_ID}" />
|
2
templates/xml/after-list
Executable file
2
templates/xml/after-list
Executable file
@ -0,0 +1,2 @@
|
||||
|
||||
</kwotes>
|
2
templates/xml/before-list
Executable file
2
templates/xml/before-list
Executable file
@ -0,0 +1,2 @@
|
||||
<kwotes>
|
||||
|
@ -1 +0,0 @@
|
||||
<kwote-added id="${KWOTE_ID" />
|
@ -1,3 +0,0 @@
|
||||
|
||||
<error>${ERROR_MESSAGE}</error>
|
||||
|
@ -1,3 +0,0 @@
|
||||
<kwote id="${KWOTE_ID}" rating="${KWOTE_RATING}">
|
||||
${KWOTE_TEXT_XML}
|
||||
</kwote>
|
4
templates/xml/default-content
Executable file
4
templates/xml/default-content
Executable file
@ -0,0 +1,4 @@
|
||||
<message>
|
||||
The XML template doesn't have a default content
|
||||
</message>
|
||||
|
4
templates/xml/error
Executable file
4
templates/xml/error
Executable file
@ -0,0 +1,4 @@
|
||||
<message>
|
||||
${ERROR_MESSAGE}
|
||||
</message>
|
||||
|
@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
</kwotes.org>
|
||||
|
||||
|
@ -2,8 +2,9 @@
|
||||
|
||||
<site>
|
||||
<name>${SITE_NAME}</name>
|
||||
<tag-line>${TAG_LINE}</tag-line>
|
||||
<tagline>${TAG_LINE}</tagline>
|
||||
<kwote-count>${KWOTE_COUNT}</kwote-count>
|
||||
<deleted-kwote-count>${KWOTE_BACKUP_COUNT}</deleted-kwote-count>
|
||||
</site>
|
||||
|
||||
|
||||
|
2
templates/xml/http-headers
Executable file
2
templates/xml/http-headers
Executable file
@ -0,0 +1,2 @@
|
||||
Content-type: text/xml
|
||||
|
2
templates/xml/kwote-even
Executable file
2
templates/xml/kwote-even
Executable file
@ -0,0 +1,2 @@
|
||||
|
||||
<kwote id="${KWOTE_ID}"><![CDATA[${KWOTE_TEXT_XML}]]></kwote>
|
1
templates/xml/kwote-odd
Executable file
1
templates/xml/kwote-odd
Executable file
@ -0,0 +1 @@
|
||||
<kwote id="${KWOTE_ID}"><![CDATA[${KWOTE_TEXT_XML}]]></kwote>
|
0
templates/xml/navigation
Executable file
0
templates/xml/navigation
Executable file
0
templates/xml/navigation-no-back
Executable file
0
templates/xml/navigation-no-back
Executable file
0
templates/xml/navigation-no-forward
Executable file
0
templates/xml/navigation-no-forward
Executable file
4
templates/xml/search
Executable file
4
templates/xml/search
Executable file
@ -0,0 +1,4 @@
|
||||
<message>
|
||||
There is no search form for the xml template
|
||||
</message>
|
||||
|
Reference in New Issue
Block a user