Advertisement
Guest User

mythcut 0.7 long-tags

a guest
Mar 21st, 2012
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.13 KB | None | 0 0
  1. diff -ur mythcut.orig/delete.php mythcut/delete.php
  2. --- mythcut.orig/delete.php 2012-01-07 13:54:06.000000000 -0500
  3. +++ mythcut/delete.php  2012-03-21 09:32:38.179039652 -0400
  4. @@ -148,15 +148,15 @@
  5.  
  6.          <p>
  7.          <strong>Information</strong><br/>
  8. -        Length: <?= $movie->getLength() ?><br/>
  9. -        Size: <?= $movie->getSize() ?><br/>
  10. -        Channel: <?= $movie->getChannel() ?><br/>
  11. -        Starttime: <?= $movie->getStarttime() ?><br/>
  12. +        Length: <?php echo $movie->getLength(); ?><br/>
  13. +        Size: <?php echo $movie->getSize(); ?><br/>
  14. +        Channel: <?php echo $movie->getChannel(); ?><br/>
  15. +        Starttime: <?php echo $movie->getStarttime(); ?><br/>
  16.          </p>
  17.      </div>
  18.  
  19.      <div class="title">
  20. -    <?= htmlentities($movie->getData()->title) ?>
  21. +    <?php echo htmlentities($movie->getData()->title); ?>
  22.      <br/>
  23.      <?php
  24.     if(trim($movie->getData()->subtitle) == "") {
  25. @@ -164,10 +164,10 @@
  26.  
  27.  
  28.     <form method="post"><p class="subtitle">Untertitel ?ndern: <input type="text" name="subtitle" size="50"/><input type="submit" value="?ndern" name="change_subtitle"/></p></form>
  29. -    <? } else {
  30. +    <?php } else {
  31.        echo htmlentities($movie->getData()->subtitle);
  32.      } ?>
  33. -    <p class="description"><?= htmlentities($movie->getData()->description)?></p>
  34. +    <p class="description"><?php echo htmlentities($movie->getData()->description); ?></p>
  35.  
  36.  
  37.      </div>
  38. diff -ur mythcut.orig/index.php mythcut/index.php
  39. --- mythcut.orig/index.php  2012-02-21 06:27:37.000000000 -0500
  40. +++ mythcut/index.php   2012-03-21 09:33:34.987343010 -0400
  41. @@ -199,7 +199,7 @@
  42.      location.href = "?moveCutpoint=" + selectedFrame;
  43.    }
  44.  
  45. -  var cutpoints = [<?= implode(",", $list->cutpoints()) ?>];
  46. +  var cutpoints = [<?php echo implode(",", $list->cutpoints()); ?>];
  47.    function isCutpoint(frame) {
  48.        for(var i in cutpoints) {
  49.          if(cutpoints[i] == frame) return true;
  50. @@ -274,15 +274,15 @@
  51.  
  52.          <p>
  53.          <strong>Information</strong><br/>
  54. -        Length: <?= $movie->getLength() ?><br/>
  55. -        Size: <?= $movie->getSize() ?><br/>
  56. -        Channel: <?= $movie->getChannel() ?><br/>
  57. -        Starttime: <?= $movie->getStarttime() ?><br/>
  58. +        Length: <?php echo $movie->getLength(); ?><br/>
  59. +        Size: <?php echo $movie->getSize(); ?><br/>
  60. +        Channel: <?php echo $movie->getChannel(); ?><br/>
  61. +        Starttime: <?php echo $movie->getStarttime(); ?><br/>
  62.          </p>
  63.      </div>
  64.  
  65.      <div class="title">
  66. -    <?= htmlentities($movie->getData()->title) ?>
  67. +    <?php echo htmlentities($movie->getData()->title); ?>
  68.      <br/>
  69.      <?php
  70.     if(trim($movie->getData()->subtitle) == "") {
  71. @@ -290,10 +290,10 @@
  72.  
  73.  
  74.     <form method="post"><p class="subtitle">Untertitel ?ndern: <input type="text" name="subtitle" size="50"/><input type="submit" value="?ndern" name="change_subtitle"/></p></form>
  75. -    <? } else {
  76. +    <?php } else {
  77.        echo htmlentities($movie->getData()->subtitle);
  78.      } ?>
  79. -    <p class="description"><?= htmlentities($movie->getData()->description)?></p>
  80. +    <p class="description"><?php echo htmlentities($movie->getData()->description); ?></p>
  81.  
  82.  
  83.      </div>
  84. diff -ur mythcut.orig/proceed.php mythcut/proceed.php
  85. --- mythcut.orig/proceed.php    2012-01-26 05:12:55.000000000 -0500
  86. +++ mythcut/proceed.php 2012-03-21 09:33:57.193070731 -0400
  87. @@ -92,7 +92,7 @@
  88.      </div>
  89.  
  90.      <div class="title">
  91. -    <?= htmlentities($movie->getTitle()) ?>
  92. +    <?php echo htmlentities($movie->getTitle()); ?>
  93.      </div>
  94.  
  95.      <div class="movielist">
  96. @@ -100,7 +100,7 @@
  97.     <input type="hidden" name="saveToDB" value="true"/>
  98.     <input type="hidden" name="chosen" value="true"/>
  99.     <center>
  100. -<!--   <a href="<?= $movie->getMythLink()?>" target="_blank">&Ouml;ffne in MythWeb</a><br/> -->
  101. +<!--   <a href="<?php echo $movie->getMythLink(); ?>" target="_blank">&Ouml;ffne in MythWeb</a><br/> -->
  102.     Schedule transcoding: <input type="checkbox" name="transcode" value="1"/><br/>
  103.     <input type="submit" name="Continue" value="Proceed to list"/>
  104.     </center>
  105. diff -ur mythcut.orig/selectMovie.php mythcut/selectMovie.php
  106. --- mythcut.orig/selectMovie.php    2012-02-09 04:38:52.000000000 -0500
  107. +++ mythcut/selectMovie.php 2012-03-21 09:34:16.636832332 -0400
  108. @@ -198,7 +198,7 @@
  109.          <p>
  110.          <form name="extendedsearch">
  111.          <input type="hidden" name="selectNewMovie" value="true"/>
  112. -        Search: <input type="search" name="search" value="<?= htmlentities($search) ?>"/><br/>
  113. +        Search: <input type="search" name="search" value="<?php echo htmlentities($search); ?>"/><br/>
  114.          Series: <select name="series">
  115.          <option value="">Alle...</option>
  116.          <?php
  117. @@ -209,7 +209,7 @@
  118.          }
  119.          ?>
  120.          </select><br/>
  121. -        <input type="checkbox" name="skip_cutted" value="J" <?= $skip_cutted?' checked':'' ?>/> Skip movies with existing cutlists<br/>        
  122. +        <input type="checkbox" name="skip_cutted" value="J" <?php echo $skip_cutted?' checked':''; ?>/> Skip movies with existing cutlists<br/>        
  123.          <input type="submit" name="submit2" value="Filter list"/>
  124.          </form>
  125.          </p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement