plugins/SpecialLog.php
changeset 913 3ec535acd11e
parent 911 facff435cdaa
child 919 1314deadf903
--- a/plugins/SpecialLog.php	Wed Apr 15 16:20:33 2009 -0400
+++ b/plugins/SpecialLog.php	Wed Apr 15 17:14:20 2009 -0400
@@ -239,6 +239,8 @@
               <option value="delete"><?php echo $lang->get('log_formaction_delete'); ?></option>
               <option value="protect"><?php echo $lang->get('log_action_protect'); ?></option>
               <option value="edit"><?php echo $lang->get('log_action_edit'); ?></option>
+              <option value="edit"><?php echo $lang->get('log_formaction_reupload'); ?></option>
+              <option value="edit"><?php echo $lang->get('log_formaction_votereset'); ?></option>
             </select>
           </div>
         </td>
@@ -318,7 +320,8 @@
         $crumb = $lang->get('log_breadcrumb_page', array('page' => '<a href="' . makeUrl($value, false, true) . '">' . htmlspecialchars(get_page_title($value)) . '</a>'));
         break;
       case 'action':
-        $crumb = $lang->get('log_breadcrumb_action', array('action' => htmlspecialchars($lang->get("log_action_{$value}"))));
+        $action = ( $lang->get("log_formaction_{$value}") === "log_formaction_{$value}" ) ? $lang->get("log_action_{$value}") : $lang->get("log_formaction_{$value}");
+        $crumb = $lang->get('log_breadcrumb_action', array('action' => htmlspecialchars($action)));
         break;
       case 'within':
         $value = intval($value);