<?php 
        if (trim($option_description = $option->getDisplayDescription())) {
            ?>
						<div class="configOptionDescription desc"><?php 
            echo $option_description;
            ?>
</div>
					<?php 
        }
        // if
        ?>
					</div>
					<div class="configOptionControl">
                                            <?php 
        if ($option->getName() == "reminders_events") {
            echo render_add_reminders_config();
        } else {
            echo $option->render('options[' . $option->getName() . ']');
        }
        ?>
					</div>
					<div class="clear"></div>
				</div>
			<?php 
    }
    // foreach
    ?>
  			</div>
			<?php 
    echo submit_button(lang('save'));
    ?>
					<?php 
        if (trim($option_description = $option->getDisplayDescription())) {
            ?>
						<div class="configOptionDescription desc"><?php 
            echo $option_description;
            ?>
</div>
					<?php 
        }
        // if
        ?>
					</div>
					<div class="configOptionControl">
					<?php 
        if ($option->getName() == "reminders_events" || $option->getName() == "reminders_tasks") {
            echo render_add_reminders_config($option->getName());
        } else {
            echo $option->render('options[' . $option->getName() . ']');
        }
        ?>
					</div>
					<div class="clear"></div>
				</div>
			<?php 
    }
    // foreach
    ?>
  			</div>
			<?php 
    echo submit_button(lang('save'));
    ?>