rev 1905 -- Display is now a mini-skeleton! Also, celebrating page 2^7 of this topic :P
(5 files, 17kb)
+ Finally adding the mini-skeleton system we've been talking about for weeks. The Display template now relies on weSkeleton to show individual posts. You can reorder elements in posts as much as you like. Life is beautiful. (Class-Skeleton.php, Subs-Cache.php, Display.template.php, skeleton.xml)
+ Added ability to skip a block/layer only in the next render pass. Just call $your_skeleton->skip('your_block') before $your_skeleton->render(). (Class-Skeleton.php)
* Moved all of the skeleton parsing (and skin-dictated skeleton moves) to the skeleton class, rather than Subs-Cache... (Class-Skeleton.php, Load.php, Subs-Cache.php)
* Naoism: weSkeleton->build didn't really need a reference to the array. I probably did that in memory of the days I didn't know PHP did copy-on-write. (Class-Skeleton.php)
- $removableMessageIDs was not used since rev 1546, where I removed its raison d'être. I forgot to remove it, though... Bad me. Note to SMF/Elk devs: you can also remove it easily and do a search on a specific class name instead... It's always good to save bytes. Also, $alternate wasn't used either (being a duplicate). (Display.template.php)
(5 files, 17kb)
+ Finally adding the mini-skeleton system we've been talking about for weeks. The Display template now relies on weSkeleton to show individual posts. You can reorder elements in posts as much as you like. Life is beautiful. (Class-Skeleton.php, Subs-Cache.php, Display.template.php, skeleton.xml)
+ Added ability to skip a block/layer only in the next render pass. Just call $your_skeleton->skip('your_block') before $your_skeleton->render(). (Class-Skeleton.php)
* Moved all of the skeleton parsing (and skin-dictated skeleton moves) to the skeleton class, rather than Subs-Cache... (Class-Skeleton.php, Load.php, Subs-Cache.php)
* Naoism: weSkeleton->build didn't really need a reference to the array. I probably did that in memory of the days I didn't know PHP did copy-on-write. (Class-Skeleton.php)
- $removableMessageIDs was not used since rev 1546, where I removed its raison d'être. I forgot to remove it, though... Bad me. Note to SMF/Elk devs: you can also remove it easily and do a search on a specific class name instead... It's always good to save bytes. Also, $alternate wasn't used either (being a duplicate). (Display.template.php)






