Differences from version 32 to 35



@@ -20,7 +20,7 @@

 !! API changes
 !!! Replacing tabs HTML with smarty block functions 2005-05-09
 i have just replaced the existing html tabs code with smarty block functions. now, all you need to do to get tabs on your page is use the following code:
-{code()}
+{code source=PHP}
 {jstabs}
  {jstab title="foo"}
  some useless text

@@ -29,7 +29,7 @@

  some more useless text
  {/jstab}
 {/jstabs}
-{code}
+{/code}
 The reason why we do this, is to allow for a simpler template code, an easier, centralised control of the tabs code and an easier way of changing to a different tabs script if needed.
 
 !!! $areaName to $textarea_id 2005-05-15

@@ -97,13 +97,13 @@

 i propose we pass a comma separated list of values to a smarty function, which does the rest
 
 the template stuff:
-{code color=smarty}
+{code source=Html4Strict}
 ...
 <th>
 {smartlink ititle="foo" isort="title" isort_mode=$sort_mode}
 </th>
 ...
-{code}
+{/code}
 additional notes:
 to view a full list of options please see the file
 kernel/smarty_tiki/function.smartlink.php

@@ -111,37 +111,37 @@

 
 !! reducing number of divs
 the number of divs used in bitweaver is still a bit excessive. perhaps we can find a couple more places where these can removed / changed to something else:
-{code(color=css)}
+{code source=Html4Strict}
 <div class="box">
  <div class="boxtitle">foo</div>
  <div class="boxcontent">bar</div>
 </div>
-{code}
+{/code}
 
 could become:
-{code(color=css)}
+{code source=Html4Strict}
 <div class="box">
  <h3>foo</h3>
  <p>bar</p>
 </div>
-{code}
+{/code}
 
 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
 
-{code(color=css)}
+{code source=Html4Strict}
 <div class="header">
  <h1>foo</h1>
  <div class="date">bar</div>
 </div>
-{code}
+{/code}
 
 could become:
-{code(color=css)}
+{code source=Html4Strict}
 <div class="header">
  <h1>foo</h1>
  <p class="date">bar</p>
 </div>
-{code}
+{/code}
 
 
 !! themes manager
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