034027 Update `render_doBaseActions' functionality:

Authored and Committed by areguera 13 years ago
    Update `render_doBaseActions' functionality:
    
        - Update comments.
        
        - Reorganize position of TEMPLATE_HAS_DOCTYPE variable.
          Initialize its value at function's top with an empty value and,
          later, redefine it with the exit status of egrep command.