Are you still on a path such that EE 2.0 will be a somewhat harmless upgrade from 1.6x?
Yes, absolutely. That critical point for us is another reason we are being so careful and meticulous with our work. Developers who write add-ons will be required to do some footwork to migrate to 2.0, but we want your data and templates to migrate without requiring any hands-on attention from yourself.
Can I ask why your using some older style or not recommended PHP coding styles?
<?php if (is_array($member_groups)):?>
<h3><?=lang('recipient_group')?></h3>
<p><ul class="shun"> <br />
<?php foreach ($member_groups as $group => $details): ?><br />
<li class="<?=alternator('even', 'odd')?>"><label><?=form_checkbox($details)?> <?=$group?></label></li><br />
<?php endforeach; ?><br />
</ul><br />
<?php endif; ?>
There’s nothing “older style” or not recommended about that. In view files, an important goal is keeping it legible and sensical for people with no scripting or programming knowledge. These are primarily HTML files, afterall, with PHP only where needed. Which is easier for a designer or markup guru to read? The code above? Or this?
<?php if (is_array($member_groups))
{?>
<h3><?php echo lang('recipient_group');?></h3>
<p>?><br />
<ul class="shun"> <br />
<?php foreach ($member_groups as $group => $details)<br />
{?><br />
<li class="<?php echo alternator('even', 'odd');?>"><label><?php echo form_checkbox($details);?> <?php echo $group;?></label></li><br />
<?php } ?><br />
</ul><br />
<?php } ?>
I find the former infinitely more readable. And:
I was surprised to find out that CI can automatically expand short tags. Who knew?
Precisely, spot on, Jesse B!