Version 9

TemplateChangelog

plans for template changes in dillenger

Created by: xing, Last modification: 19 Mar 2005 (10:51 UTC) by xing

Things that need to change sooner or later

use <ul><li> to be in accordance with w3c and wcag recommendations and it also allows for amazing styling possibilities using css

  • tools --> move to the bottom of the page (???)
    • lock / unlock
    • export
  • tabs --> move to the top of the page
    • edit
    • history
  • sorting --> remain just above the table
where do the structure and backlinks dropdowns belong?

tables and their headers

we really need to sort out these friggin table headers and the sort links. it's impossible to debug these endless links in the tpl files with all the conditions.

i propose we pass a comma separated list of values to a smarty function, which does the rest

the template stuff:

<?php
...
<
th>
{
sortlink title="sort this" sortable="foo,bar" sort_mode=$sort_mode}
</
th>
...
?>

additional notes:
title
the words that should be displayed
sort_mode
pass in whatever is in $sort_mode
default
if set, will highlight this link when no $sort_mode is set
sortable
this is a comma seperated list of sortable items as passed in using $sort_mode (e.g.: use 'title' when $sort_mode can be title_asc or title_desc) - this list is order specific as the first item represents the current link (this will allow highlighting / addition of icons to the currently active sort column)

reducing number of divs

the number of divs used in tikipro is still a bit excessive. perhaps we can find a couple more places where these can removed / changed to something else:
<div class="box">
<div class="boxtitle">foo</div>
<div class="boxcontent">bar</div>
</div>

could become:
<div class="box">
<h3>foo</h3>
<p>bar</p>
</div>

would allow for same amount of styling freedom. the only downside is that <p> doesn't allow block elements in xhtml, which means that we have to close off </p> before adding divs and lists
Page History
Date/CommentUserIPVersion
20 Apr 2006 (08:25 UTC)
update code blocks
xing194.152.164.4535
Current • Source
xing194.152.164.4534
View • Compare • Difference • Source
xing194.152.164.4533
View • Compare • Difference • Source
xing194.152.164.4532
View • Compare • Difference • Source
xing194.152.164.4531
View • Compare • Difference • Source
xing194.152.164.4530
View • Compare • Difference • Source
xing194.152.164.4529
View • Compare • Difference • Source
xing194.152.164.4528
View • Compare • Difference • Source
xing194.152.164.4527
View • Compare • Difference • Source
xing194.152.164.4526
View • Compare • Difference • Source
xing194.152.164.4524
View • Compare • Difference • Source
xing194.152.164.4523
View • Compare • Difference • Source
xing194.152.164.4522
View • Compare • Difference • Source
xing194.152.164.4521
View • Compare • Difference • Source
laetzer217.231.172.10120
View • Compare • Difference • Source
xing194.152.164.4518
View • Compare • Difference • Source
xing194.152.164.4517
View • Compare • Difference • Source
xing194.152.164.4516
View • Compare • Difference • Source
xing194.152.164.4515
View • Compare • Difference • Source
xing194.152.164.4514
View • Compare • Difference • Source
xing194.152.164.4513
View • Compare • Difference • Source
xing194.152.164.4512
View • Compare • Difference • Source
xing194.152.164.4511
View • Compare • Difference • Source
xing194.152.164.4510
View • Compare • Difference • Source
xing194.152.164.459
View • Compare • Difference • Source
xing194.152.164.458
View • Compare • Difference • Source