= _("Maintenance Tasks") ?> 
  
    = _("Occasionally your Gallery will require some maintenance.  Here are some tasks you can use to keep it running smoothly.") ?>
  
  
     = _("Available Tasks") ?> 
    
   
  
     = _("Running Tasks") ?> 
    
      
        | = _("Last Updated") ?> | = _("Name") ?> | = _("Status") ?> | = _("Info") ?> | = _("Action") ?> | 
       foreach ($running_tasks as $task): ?>
      ">
        | = date("M j, Y H:i:s", $task->updated) ?> | = $task->name ?> | if ($task->done): ?>
           if ($task->state == "cancelled"): ?>
          = _("Cancelled") ?>
           endif ?>
          = _("Done") ?>
           elseif ($task->state == "stalled"): ?>
          = _("Stalled") ?>
           else: ?>
          = sprintf(_("%d%% Complete"), $task->percent_complete) ?>
           endif ?> | = $task->status ?> | if ($task->state == "stalled"): ?>
          id?csrf=$csrf") ?>" class="gDialogLink">
            = _("resume") ?>
          
           endif ?>
          id?csrf=$csrf") ?>">
            = _("cancel") ?> | 
       endforeach ?>