Changeset 4357

Show
Ignore:
Timestamp:
Fri Jan 13 20:58:26 2006
Author:
paul
Message:

Fixed bug #1648 – error unlocking article from article list screen. Fixed bug #1649 – Changing article order using the arrows will select the language of the article you moved. Fixed bug #1647 – Article list messed up when you dont have the Add Article permission

Files:

Legend:

Unmodified
Added
Removed
Modified
  • branches/CAMPSITE_2_4_BRANCH/campsite/implementation/management/priv/articles/index.php

    r4347 r4357  
    181 181 } // fn checkboxClick  
    182 182 </script>  
    183   <div style="position: fixed; top: 140px;">  
      183 <div style="position: fixed; <?php if ($User->hasPermission("AddArticle")) { ?>top: 140px;"<?php } else { ?>top: 105px;"<?php } ?>>  
    183 183 <FORM name="article_list" action="do_article_list_action.php" method="POST">  
    184 184 <INPUT TYPE="HIDDEN" NAME="f_publication_id" VALUE="<?php p($f_publication_id); ?>">  
     
    199 199                     <TD valign="middle">  
    200 200                         <SELECT NAME="f_language_selected" id="f_language_selected" class="input_select" onchange="location.href=’index.php?f_publication_id=<?php p($f_publication_id); ?>&f_issue_number=<?php p($f_issue_number); ?>&f_section_number=<?php p($f_section_number); ?>&f_language_id=<?php p($f_language_id); ?>&<?php p($offsetVarName); ?>=0&f_language_selected=’+document.getElementById(‘f_language_selected’).options[document.getElementById(‘f_language_selected’).selectedIndex].value;">  
    201                           <option><?php putGS("All"); ?></option>  
      201                         <option value="0"><?php putGS("All"); ?></option>  
    201 201                         <?php  
    202 202                         foreach ($allArticleLanguages as $languageItem) {  
     
    331 331     $color = 0;  
    332 332 ?>  
    333   <TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" class="table_list" style="padding-top: 40px;">  
      333 <TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" class="table_list" style="padding-top: 35px;">  
    333 333 <TR class="table_list_header">  
    334 334     <TD> </TD>  
    426 426                         <td width="18px">  
    427 427                             <?php if (($f_article_offset > 0) || ($uniqueArticleCounter != 1)) { ?>  
    428                                   <A HREF="/<?php echo $ADMIN; ?>/articles/do_move.php?f_publication_id=<?php p($f_publication_id); ?>&f_issue_number=<?php p($f_issue_number); ?>&f_section_number=<?php p($f_section_number); ?>&f_article_number=<?php p($articleObj->getArticleNumber()); ?>&f_article_language=<?php p($articleObj->getLanguageId());?>&f_language_id=<?php p($f_language_id); ?>&f_language_selected=<?php p($articleObj->getLanguageId()); ?>&f_move=up_rel&f_position=1"><img src="<?php echo $Campsite["ADMIN_IMAGE_BASE_URL"]; ?>/up-16×16.png" width="16" height="16" border="0"></A>  
      428                                 <A HREF="/<?php echo $ADMIN; ?>/articles/do_move.php?f_publication_id=<?php p($f_publication_id); ?>&f_issue_number=<?php p($f_issue_number); ?>&f_section_number=<?php p($f_section_number); ?>&f_article_number=<?php p($articleObj->getArticleNumber()); ?>&f_article_language=<?php p($articleObj->getLanguageId());?>&f_language_id=<?php p($f_language_id); ?>&f_language_selected=<?php p($f_language_selected); ?>&f_move=up_rel&f_position=1"><img src="<?php echo $Campsite["ADMIN_IMAGE_BASE_URL"]; ?>/up-16×16.png" width="16" height="16" border="0"></A>  
    428 428                             <?php } ?>  
    429 429                         </td>  
    430 430                         <td width="20px">  
    431 431                             <?php if (($uniqueArticleCounter + $f_article_offset) < $numUniqueArticles) { ?>  
    432                                   <A HREF="/<?php echo $ADMIN; ?>/articles/do_move.php?f_publication_id=<?php p($f_publication_id); ?>&f_issue_number=<?php p($f_issue_number); ?>&f_section_number=<?php p($f_section_number); ?>&f_article_number=<?php p($articleObj->getArticleNumber()); ?>&f_article_language=<?php p($articleObj->getLanguageId());?>&f_language_id=<?php p($f_language_id); ?>&f_language_selected=<?php p($articleObj->getLanguageId()); ?>&f_move=down_rel&f_position=1"><img src="<?php echo $Campsite["ADMIN_IMAGE_BASE_URL"]; ?>/down-16×16.png" width="16" height="16" border="0" style="padding-left: 3px; padding-right: 3px;"></A>  
      432                                 <A HREF="/<?php echo $ADMIN; ?>/articles/do_move.php?f_publication_id=<?php p($f_publication_id); ?>&f_issue_number=<?php p($f_issue_number); ?>&f_section_number=<?php p($f_section_number); ?>&f_article_number=<?php p($articleObj->getArticleNumber()); ?>&f_article_language=<?php p($articleObj->getLanguageId());?>&f_language_id=<?php p($f_language_id); ?>&f_language_selected=<?php p($f_language_selected); ?>&f_move=down_rel&f_position=1"><img src="<?php echo $Campsite["ADMIN_IMAGE_BASE_URL"]; ?>/down-16×16.png" width="16" height="16" border="0" style="padding-left: 3px; padding-right: 3px;"></A>  
    432 432                             <?php } ?>  
    433 433                         </td>