plugins/SpecialLog.php
changeset 913 3ec535acd11e
parent 911 facff435cdaa
child 919 1314deadf903
equal deleted inserted replaced
912:95d0d8596c87 913:3ec535acd11e
   237               <option value="rename"><?php echo $lang->get('log_formaction_rename'); ?></option>
   237               <option value="rename"><?php echo $lang->get('log_formaction_rename'); ?></option>
   238               <option value="create"><?php echo $lang->get('log_formaction_create'); ?></option>
   238               <option value="create"><?php echo $lang->get('log_formaction_create'); ?></option>
   239               <option value="delete"><?php echo $lang->get('log_formaction_delete'); ?></option>
   239               <option value="delete"><?php echo $lang->get('log_formaction_delete'); ?></option>
   240               <option value="protect"><?php echo $lang->get('log_action_protect'); ?></option>
   240               <option value="protect"><?php echo $lang->get('log_action_protect'); ?></option>
   241               <option value="edit"><?php echo $lang->get('log_action_edit'); ?></option>
   241               <option value="edit"><?php echo $lang->get('log_action_edit'); ?></option>
       
   242               <option value="edit"><?php echo $lang->get('log_formaction_reupload'); ?></option>
       
   243               <option value="edit"><?php echo $lang->get('log_formaction_votereset'); ?></option>
   242             </select>
   244             </select>
   243           </div>
   245           </div>
   244         </td>
   246         </td>
   245       </tr>
   247       </tr>
   246       <tr>
   248       <tr>
   316         break;
   318         break;
   317       case 'page':
   319       case 'page':
   318         $crumb = $lang->get('log_breadcrumb_page', array('page' => '<a href="' . makeUrl($value, false, true) . '">' . htmlspecialchars(get_page_title($value)) . '</a>'));
   320         $crumb = $lang->get('log_breadcrumb_page', array('page' => '<a href="' . makeUrl($value, false, true) . '">' . htmlspecialchars(get_page_title($value)) . '</a>'));
   319         break;
   321         break;
   320       case 'action':
   322       case 'action':
   321         $crumb = $lang->get('log_breadcrumb_action', array('action' => htmlspecialchars($lang->get("log_action_{$value}"))));
   323         $action = ( $lang->get("log_formaction_{$value}") === "log_formaction_{$value}" ) ? $lang->get("log_action_{$value}") : $lang->get("log_formaction_{$value}");
       
   324         $crumb = $lang->get('log_breadcrumb_action', array('action' => htmlspecialchars($action)));
   322         break;
   325         break;
   323       case 'within':
   326       case 'within':
   324         $value = intval($value);
   327         $value = intval($value);
   325         if ( $value % 31536000 == 0 )
   328         if ( $value % 31536000 == 0 )
   326         {
   329         {