Advertisement
sorvani

SpawnCondition.patch

Feb 9th, 2014
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 2.16 KB | None | 0 0
  1. Index: trunk/lib/spawn.php
  2. ===================================================================
  3. --- trunk/lib/spawn.php (revision 414)
  4. +++ trunk/lib/spawn.php (working copy)
  5. @@ -19,7 +19,8 @@
  6.  $ochangetype = array(
  7.    0 => "Nothing",
  8.    1 => "Depop",
  9. -  2 => "Repop"
  10. +  2 => "Repop",
  11. +  3 => "RepopIfReady"
  12.  );
  13.  
  14.  $actiontype = array(
  15. Index: trunk/templates/spawn/spawncondition.add.tmpl.php
  16. ===================================================================
  17. --- trunk/templates/spawn/spawncondition.add.tmpl.php   (revision 414)
  18. +++ trunk/templates/spawn/spawncondition.add.tmpl.php   (working copy)
  19. @@ -1,4 +1,4 @@
  20. -<div class="edit_form" style="width: 400px">
  21. +<div class="edit_form" style="width: 450px">
  22.        <div class="edit_form_header">
  23.          Add Spawn Condition
  24.        </div>
  25. @@ -21,6 +21,7 @@
  26.                     <option value="0"<?echo ($onchange == 0) ? " selected" : ""?>>Nothing</option>
  27.                     <option value="1"<?echo ($onchange == 1) ? " selected" : ""?>>Depop</option>
  28.                     <option value="2"<?echo ($onchange == 2) ? " selected" : ""?>>Repop</option>
  29. +                   <option value="3"<?echo ($onchange == 3) ? " selected" : ""?>>RepopIfReady</option>
  30.                   </select>
  31.                 </td>
  32.            </tr>
  33. Index: trunk/templates/spawn/spawncondition.edit.tmpl.php
  34. ===================================================================
  35. --- trunk/templates/spawn/spawncondition.edit.tmpl.php  (revision 414)
  36. +++ trunk/templates/spawn/spawncondition.edit.tmpl.php  (working copy)
  37. @@ -1,4 +1,4 @@
  38. -<div class="edit_form" style="width: 300px">
  39. +<div class="edit_form" style="width: 400px">
  40.        <div class="edit_form_header">
  41.          Edit Spawn Condition: <?=$id?>
  42.        </div>
  43. @@ -19,6 +19,7 @@
  44.                     <option value="0"<?echo ($onchange == 0) ? " selected" : ""?>>Nothing</option>
  45.                     <option value="1"<?echo ($onchange == 1) ? " selected" : ""?>>Depop</option>
  46.                     <option value="2"<?echo ($onchange == 2) ? " selected" : ""?>>Repop</option>
  47. +                   <option value="3"<?echo ($onchange == 3) ? " selected" : ""?>>RepopIfReady</option>
  48.                   </select>
  49.                 </td>
  50.            </tr>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement