示例#1
0
 public static function process_global_form()
 {
     $citations = CandelaCitation::process_citations();
     if (!empty($citations)) {
         if (isset($_POST['citation-replace-all'])) {
             CandelaCitation::replace_all_citations($citations);
         }
         if (isset($_POST['citation-add-all'])) {
             CandelaCitation::add_all_citations($citations);
         }
     }
     return $citations;
 }