Ejemplo n.º 1
0
function echolink($page, $text, $newSort = NULL)
{
    global $tab, $nav, $format;
    echo '<a href="../reports/run_report.php?type=previous';
    echo '&amp;rpt___format=' . HURL($format);
    echo '&amp;tab=' . HURL($tab) . '&amp;nav=' . HURL($nav);
    echo '&amp;page=' . HURL($page);
    if ($newSort) {
        echo '&amp;rpt_order_by=' . HURL($newSort);
    }
    echo '">' . $text . '</a>';
}
Ejemplo n.º 2
0
            ?>
          </td></tr>

        <?php 
        }
    } else {
        #***************************************
        #*  draw unselected blocks
        #***************************************
        ?>
        <tr><td class="noborder">
        <a href="../catalog/usmarc_select.php?retpage=<?php 
        echo HURL($retPage);
        ?>
&amp;block=<?php 
        echo HURL($blockKey);
        ?>
" class="nav">
          +</a>
        </td><td class="noborder" colspan="3" width="100%">
          <?php 
        echo H($blockKey . " - " . $block->getDescription());
        ?>
        </td></tr>

        <?php 
    }
}
?>
</table>
$material_type = $dm->getDescription();
$dmQ->close();
?>
<td  align="Left" class="primary">
<?php 
echo H($material_type);
?>
</td></tr>
<tr>
<td align="right" class="primary">Tag</td>
<td align="Left" class="primary">
<?php 
printInputText("tag", 3, 3, $postVars, $pageErrors);
?>
<input type="button" onClick="javascript:popSecondary('../catalog/usmarc_select.php?retpage=<?php 
echo HURL($returnPg);
?>
')" value="Select" class="button">
</td></tr>
<tr>
<td  align="right" class="primary">Subfield Code</td>
<td  align="Left" class="primary">
<?php 
printInputText("subfieldCd", 1, 1, $postVars, $pageErrors);
?>
</td></tr>
<tr>
<td  align="right" class="primary">Description</td>
<td  align="Left" class="primary">
<?php 
printInputText("descr", 32, 64, $postVars, $pageErrors);
    echo $navloc->getText("editInfo");
    ?>
</a><br>
 &nbsp; &nbsp; <a href="../circ/mbr_del_confirm.php?mbrid=<?php 
    echo HURL($mbrid);
    ?>
" class="alt1"><?php 
    echo $navloc->getText("catalogDelete");
    ?>
</a><br>
 &nbsp; &nbsp; &raquo; <?php 
    echo $navloc->getText("account");
    ?>
<br>
 &nbsp; &nbsp; <a href="../circ/mbr_history.php?mbrid=<?php 
    echo HURL($mbrid);
    ?>
" class="alt1"><?php 
    echo $navloc->getText("checkoutHistory");
    ?>
</a><br>
<?php 
}
?>

<?php 
if ($nav == "new") {
    ?>
 &raquo; <?php 
    echo $navloc->getText("newMember");
    ?>
</a>
   </td>
    <td valign="top" class="<?php 
    echo H($row_class);
    ?>
">
      <?php 
    echo H($dm->getDescription());
    ?>
    </td>
    <td valign="top" class="<?php 
    echo H($row_class);
    ?>
">
      <img src="../images/<?php 
    echo HURL($dm->getImageFile());
    ?>
" width="20" height="20" align="middle" alt="<?php 
    echo H($dm->getDescription());
    ?>
">
      <?php 
    echo H($dm->getImageFile());
    ?>
    </td>
    <td valign="top" align="center"  class="<?php 
    echo H($row_class);
    ?>
">
      <?php 
    echo H($dm->getCount());
Ejemplo n.º 6
0
<?php 
}
?>

<?php 
if ($nav == "locdelete") {
    ?>
 &nbsp; &nbsp; <a href="../circ/loc_view.php?locationid=<?php 
    echo HURL($locationid);
    ?>
" class="alt1"><?php 
    echo $navloc->getText("locationInfo");
    ?>
</a><br>
 &nbsp; &nbsp; <a href="../circ/loc_edit_form.php?locationid=<?php 
    echo HURL($locationid);
    ?>
" class="alt1"><?php 
    echo $navloc->getText("locationeditInfo");
    ?>
</a><br>
 &nbsp; &nbsp; &raquo; <?php 
    echo $navloc->getText("locDelete");
    ?>
<br>
<?php 
}
?>


<?php 
#****************************************************************************
$bibid = $_GET["bibid"];
$fieldid = $_GET["fieldid"];
$tag = $_GET["tag"];
$subfieldCd = $_GET["subfieldCd"];
#**************************************************************************
#*  Show confirm page
#**************************************************************************
require_once "../shared/header.php";
?>
<center>
<form name="delfieldform" method="POST" action="../catalog/biblio_marc_del.php?bibid=<?php 
echo HURL($bibid);
?>
&amp;fieldid=<?php 
echo HURL($fieldid);
?>
">
  <?php 
echo $loc->getText("biblioMarcDelConfirmMsg", array("tag" => $tag, "subfieldCd" => $subfieldCd));
?>
  <br><br>
  <input type="submit" value="Delete" class="button">
  <input type="button" onClick="self.location='../catalog/biblio_marc_list.php?bibid=<?php 
echo HURL($bibid);
?>
'" value="Cancel" class="button">
</form>
</center>
<?php 
include "../shared/footer.php";
    ?>
    </td>
  </tr>
<?php 
} else {
    while ($biblio = $biblioQ->fetchRow()) {
        ?>
  <tr>
    <td class="primary" valign="top" nowrap>
      <?php 
        echo H($biblio->getStatusBeginDt());
        ?>
    </td>
    <td class="primary" valign="top" nowrap>
      <img src="../images/<?php 
        echo HURL($materialImageFiles[$biblio->getMaterialCd()]);
        ?>
" width="20" height="20" border="0" align="middle" alt="<?php 
        echo H($materialTypeDm[$biblio->getMaterialCd()]);
        ?>
">
      <?php 
        echo H($materialTypeDm[$biblio->getMaterialCd()]);
        ?>
    </td>
    <td class="primary" valign="top" >
      <?php 
        echo H($biblio->getTitle());
        ?>
    </td>
    <td class="primary" valign="top" >
        ?>
&amp;materialCd=<?php 
        echo HURL($materialCd);
        ?>
&amp;reset=Y">
<?php 
        echo $loc->getText("admin_materials_listEdit");
        ?>
</a>
</td>
<td valign="top" class="primary">
<a href="custom_marc_delete.php?xref_id=<?php 
        echo HURL($row["xref_id"]);
        ?>
&amp;materialCd=<?php 
        echo HURL($materialCd);
        ?>
">
<?php 
        echo $loc->getText("admin_materials_listDel");
        ?>
</a>
</td>

<td class="primary"><?php 
        echo H($row["tag"]);
        ?>
</td>
<td class="primary" align="center"><?php 
        echo H($row["subfieldCd"]);
        ?>
Ejemplo n.º 10
0
?>
    </th>
  </tr>
  <?php 
while ($mbr = $mbrQ->fetchMember()) {
    ?>
  <tr>
    <td nowrap="true" class="primary" valign="top">
      <?php 
    echo H($mbrQ->getCurrentRowNmbr());
    ?>
.
    </td>
    <td nowrap="true" class="primary">
      <a href="../circ/mbr_view.php?mbrid=<?php 
    echo HURL($mbr->getMbrid());
    ?>
&amp;reset=Y"><?php 
    echo H($mbr->getLastName());
    ?>
, <?php 
    echo H($mbr->getFirstName());
    ?>
</a><br>
      <?php 
    if ($mbr->getAddress() != "") {
        echo str_replace("\n", "<br />", H($mbr->getAddress())) . '<br />';
    }
    ?>
      <b><?php 
    echo $loc->getText("mbrsearchCardNumber");
        ?>
</a>
    </td>
    <td class="primary" valign="top" >
      <?php 
        echo H($hold->getBarcodeNmbr());
        ?>
    </td>
    <td class="primary" valign="top" nowrap="yes">
      <?php 
        echo H($hold->getHoldBeginDt());
        ?>
    </td>
    <td class="primary" valign="top" >
      <a href="../circ/mbr_view.php?mbrid=<?php 
        echo HURL($hold->getMbrid());
        ?>
&amp;reset=Y"><?php 
        echo H($hold->getFirstName());
        ?>
      <?php 
        echo H($hold->getLastName());
        ?>
</a>
    </td>
    <td class="primary" valign="top" >
      <?php 
        echo H($biblioStatusDm[$hold->getStatusCd()]);
        ?>
    </td>
    <td class="primary" valign="top" >
$last_name = $_GET["LAST"];
$first_name = $_GET["FIRST"];
#**************************************************************************
#*  Show confirm page
#**************************************************************************
require_once "../shared/header.php";
?>
<center>
<form name="delstaffform" method="POST" action="../admin/staff_del.php?UID=<?php 
echo HURL($uid);
?>
&amp;LAST=<?php 
echo HURL($last_name);
?>
&amp;FIRST=<?php 
echo HURL($first_name);
?>
">
<?php 
echo $loc->getText("adminStaff_del_confirmConfirmText");
echo H($first_name);
?>
 <?php 
echo H($last_name);
?>
?<br><br>
      <input type="submit" value="  <?php 
echo $loc->getText("Delete");
?>
  " class="button">
      <input type="button" onClick="self.location='../admin/staff_list.php'" value="  <?php 
    header("Location: ../admin/materials_list.php");
    exit;
}
$code = $_GET["code"];
$description = $_GET["desc"];
#**************************************************************************
#*  Show confirm page
#**************************************************************************
require_once "../shared/header.php";
?>
<center>
<form name="delstaffform" method="POST" action="../admin/materials_del.php?code=<?php 
echo HURL($code);
?>
&amp;desc=<?php 
echo HURL($description);
?>
">
<?php 
echo $loc->getText("admin_materials_delAreyousure");
echo H($description);
?>
?<br><br>
      <input type="submit" value="  <?php 
echo $loc->getText("adminDelete");
?>
  " class="button">
      <input type="button" onClick="self.location='../admin/materials_list.php'" value="  <?php 
echo $loc->getText("adminCancel");
?>
  " class="button">
      </td>
      <td valign="top" class="<?php 
        echo H($row_class);
        ?>
">
        <a href="../catalog/biblio_marc_del_confirm.php?bibid=<?php 
        echo HURL($bibid);
        ?>
&amp;fieldid=<?php 
        echo H($fld->getFieldid());
        ?>
&amp;tag=<?php 
        echo HURL($tag);
        ?>
&amp;subfieldCd=<?php 
        echo HURL($fld->getSubfieldCd());
        ?>
"><?php 
        echo $loc->getText("biblioMarcListDel");
        ?>
</a>
      </td>
      <td valign="top" class="<?php 
        echo H($row_class);
        ?>
">
        <?php 
        echo H($tag);
        ?>
      </td>
      <td valign="top" class="<?php 
<?php 
} else {
    ?>
<center>
<form name="delbiblioform" method="POST" action="../shared/biblio_view.php?bibid=<?php 
    echo HURL($bibid);
    ?>
">
<?php 
    echo $loc->getText("biblioDelConfirmMsg", array("title" => $title));
    ?>
<br><br>
      <input type="button" onClick="self.location='../catalog/biblio_del.php?bibid=<?php 
    echo HURL($bibid);
    ?>
&amp;title=<?php 
    echo HURL($title);
    ?>
'" value="<?php 
    echo $loc->getText("catalogDelete");
    ?>
" class="button">
      <input type="submit" value="<?php 
    echo $loc->getText("catalogCancel");
    ?>
" class="button">
</form>
</center>
<?php 
}
include "../shared/footer.php";
Ejemplo n.º 16
0
" width="20" height="20" border="0" align="middle" alt="<?php 
        echo H($materialTypeDm[$hold->getMaterialCd()]);
        ?>
">
      <?php 
        echo H($materialTypeDm[$hold->getMaterialCd()]);
        ?>
    </td>
    <td class="primary" valign="top" >
      <?php 
        echo H($hold->getBarcodeNmbr());
        ?>
    </td>
    <td class="primary" valign="top" >
      <a href="../shared/biblio_view.php?bibid=<?php 
        echo HURL($hold->getBibid());
        ?>
"><?php 
        echo H($hold->getTitle());
        ?>
</a>
    </td>
    <td class="primary" valign="top" >
      <?php 
        echo H($hold->getAuthor());
        ?>
    </td>
    <td class="primary" valign="top" >
      <?php 
        echo H($biblioStatusDm[$hold->getStatusCd()]);
        ?>
Ejemplo n.º 17
0
    ?>
</font></td>
         </tr>
<?php 
    //jalg modificado paramostrar title remante 11/dic/2013
    ?>
        <tr>
          <td class="noborder" valign="top"><b><?php 
    echo $loc->getText("biblioSearchAuthor");
    ?>
:</b></td>
          <td class="noborder" colspan="3"><?php 
    if ($biblio->getAuthor() != "") {
        $val = H($biblio->getAuthor());
        //jalg modificado para busquedas aisladas de autores entre administrador y opac 10/jul/2013
        echo '<a href="../shared/biblio_search.php?tag=100a&words=' . $val . '&amp;tab=' . HURL($tab) . '">' . $val . '</a>';
        //jalg modificado para busquedas aisladas de autores entre administrador y opac 10/jul/2013
    }
    ?>
</td>
        </tr>
        <tr>
          <td class="noborder" valign="top"><font class="small"><b><?php 
    echo $loc->getText("biblioSearchMaterial");
    ?>
:</b></font></td>
          <td class="noborder" colspan="3"><font class="small"><?php 
    echo H($materialTypeDm[$biblio->getMaterialCd()]);
    ?>
</font></td>
        </tr>
Ejemplo n.º 18
0
 function member_list($col, $row, $params)
 {
     $s = '';
     foreach ($row[$col['name']] as $m) {
         $s .= '<a href="../circ/mbr_view.php?mbrid=' . HURL($m['mbrid']) . '">' . H($m['first_name']) . ' ' . H($m['last_name']) . ' (' . H($m['site_code']) . ')' . '</a>, ';
     }
     return substr($s, 0, -2);
     # lose the final ', '
 }
    echo $loc->getText("adminCollections_listEdit");
    ?>
</a>
    </td>
    <td valign="top" class="<?php 
    echo H($row_class);
    ?>
">
      <?php 
    if ($dm->getCount() == 0) {
        ?>
        <a href="../admin/collections_del_confirm.php?code=<?php 
        echo HURL($dm->getCode());
        ?>
&amp;desc=<?php 
        echo HURL($dm->getDescription());
        ?>
" class="<?php 
        echo H($row_class);
        ?>
"><?php 
        echo $loc->getText("adminCollections_listDel");
        ?>
</a>
      <?php 
    } else {
        echo $loc->getText("del");
    }
    ?>
    </td>
    <td valign="top" class="<?php 
Ejemplo n.º 20
0
} else {
    ?>
          <a href="../shared/help.php" class="alt1"><?php 
    echo $loc->getText("helpHeaderContents");
    ?>
</a>
        <?php 
}
?>
        <br>
        <a href="javascript:self.print();" class="alt1"><?php 
echo $loc->getText("helpHeaderPrint");
?>
</a><br>
        <a href="http://obiblio.sourceforge.net/index.php/Help/<?php 
echo HURL($_GET["page"]);
?>
" target=_blank>Revise Page</a>
        <font class="error"><font class="small">(wiki updates to this page)</font></font><br>
      </font>
    </td>
    <td bgcolor="<?php 
echo H(OBIB_BORDER_COLOR);
?>
"><img src="../images/shim.gif" width="1" height="1" border="0"></td>
    <td bgcolor="<?php 
echo H(OBIB_PRIMARY_BG);
?>
"><img src="../images/shim.gif" width="1" height="1" border="0"></td>
    <td height="100%" width="100%" valign="top">
      <font class="primary">
Ejemplo n.º 21
0
    <td class="primary" align="center" colspan="5">
      <?php 
    echo $loc->getText("checkinFormEmptyCart");
    ?>
    </td>
<?php 
} else {
    while ($biblio = $biblioQ->fetchRow()) {
        ?>
  <tr>
    <td class="primary" valign="top" align="center">
      <input type="checkbox" name="bibid=<?php 
        echo HURL($biblio->getBibid());
        ?>
&amp;copyid=<?php 
        echo HURL($biblio->getCopyid());
        ?>
" value="copyid">
    </td>
    <td class="primary" valign="top" nowrap="yes">
      <?php 
        echo H($biblio->getStatusBeginDt());
        ?>
    </td>
    <td class="primary" valign="top" >
      <?php 
        echo H($biblio->getBarcodeNmbr());
        ?>
    </td>
    <td class="primary" valign="top" >
      <?php 
Ejemplo n.º 22
0
</a>
    </td>
    <td valign="top" class="<?php 
    echo H($row_class);
    ?>
">
      <?php 
    if ($theme->getThemeid() == OBIB_THEMEID) {
        echo $loc->getText("adminTheme_Del");
    } else {
        ?>
        <a href="../admin/theme_del_confirm.php?themeid=<?php 
        echo HURL($theme->getThemeid());
        ?>
&amp;name=<?php 
        echo HURL($theme->getThemeName());
        ?>
" class="<?php 
        echo H($row_class);
        ?>
"><?php 
        echo $loc->getText("adminTheme_Del");
        ?>
</a>
      <?php 
    }
    ?>
    </td>
    <td valign="top" class="<?php 
    echo H($row_class);
    ?>
Ejemplo n.º 23
0
    ?>
    </td>
  </tr>
<?php 
} else {
    while ($hist = $histQ->fetchRow()) {
        ?>
  <tr>
    <td class="primary" valign="top" >
      <?php 
        echo H($hist->getBiblioBarcodeNmbr());
        ?>
    </td>
    <td class="primary" valign="top" >
      <a href="../shared/biblio_view.php?bibid=<?php 
        echo HURL($hist->getBibid());
        ?>
&amp;tab=cataloging"><?php 
        echo H($hist->getTitle());
        ?>
</a>
    </td>
    <td class="primary" valign="top" >
      <?php 
        echo H($hist->getAuthor());
        ?>
    </td>
    <td class="primary" valign="top" >
      <?php 
        echo H($biblioStatusDm[$hist->getStatusCd()]);
        ?>
Ejemplo n.º 24
0
            echo H($row_class);
            ?>
"><?php 
            echo $loc->getText("biblioViewTble2Coledit");
            ?>
</a>
        </td>
        <td valign="top" class="<?php 
            echo H($row_class);
            ?>
">
          <a href="../catalog/biblio_copy_del_confirm.php?bibid=<?php 
            echo HURL($copy->getBibid());
            ?>
&amp;copyid=<?php 
            echo HURL($copy->getCopyid());
            ?>
" class="<?php 
            echo H($row_class);
            ?>
"><?php 
            echo $loc->getText("biblioViewTble2Coldel");
            ?>
</a>
        </td>
      <?php 
        }
        ?>
      <td valign="top" class="<?php 
        echo H($row_class);
        ?>
    </th>
  </tr>
  <?php 
$row_class = "primary";
foreach ($privs as $priv) {
    ?>
  <tr>
    <td valign="top" align="center" class="<?php 
    echo H($row_class);
    ?>
">
      <a href="../admin/checkout_privs_edit_form.php?material_cd=<?php 
    echo HURL($priv['material_cd']);
    ?>
&amp;classification=<?php 
    echo HURL($priv['classification']);
    ?>
" class="<?php 
    echo H($row_class);
    ?>
"><?php 
    echo $loc->getText("edit");
    ?>
</a>
    </td>
    <td valign="top" class="<?php 
    echo H($row_class);
    ?>
">
      <?php 
    echo H($priv['material_type']);
Ejemplo n.º 26
0
function printHoldId($bibid, $copyid = NULL)
{
    //jalg ALX 11-7-2015
    $res = "bibid=" . HURL($bibid);
    if (!empty($copyid)) {
        $res .= "&copyid=" . HURL($copyid);
    }
    return $res;
}
    header("Location: ../admin/theme_list.php");
    exit;
}
$themeid = $_GET["themeid"];
$name = $_GET["name"];
#**************************************************************************
#*  Show confirm page
#**************************************************************************
require_once "../shared/header.php";
?>
<center>
<form name="delstaffform" method="POST" action="../admin/theme_del.php?themeid=<?php 
echo HURL($themeid);
?>
&amp;name=<?php 
echo HURL($name);
?>
">
<?php 
echo $loc->getText("adminTheme_Deleteconfirm");
echo H($name);
?>
?<br><br>
      <input type="submit" value="  <?php 
echo $loc->getText("adminDelete");
?>
  " class="button">
      <input type="button" onClick="self.location='../admin/theme_list.php'" value="  <?php 
echo $loc->getText("adminCancel");
?>
  " class="button">
Ejemplo n.º 28
0
?>
    </th>
  </tr>
  <?php 
while ($location = $lotQ->fetchLocation()) {
    ?>
  <tr>
    <td nowrap="true" class="primary" valign="top">
      <?php 
    echo H($lotQ->getCurrentRowNmbr());
    ?>
.
    </td>
    <td nowrap="true" class="primary">
      <a href="../circ/loc_view.php?locationid=<?php 
    echo HURL($location->getLocationid());
    ?>
&amp;reset=Y"><?php 
    echo H($location->getAddressOne());
    ?>
</a><br>
      <?php 
    if ($location->getAddressTwo() != "") {
        echo str_replace("\n", "<br />", H($location->getAddressTwo())) . '<br />';
    }
    ?>
      <b><?php 
    echo $loc->getText("locsearchCity");
    ?>
</b> <?php 
    echo H($location->getCity());
        echo H($materialTypeDm[$biblio->getMaterialCd()]);
        ?>
"></a>
    </td>
    <td class="primary" valign="top" colspan="2">
      <table class="primary" width="100%">
        <tr>
          <td class="noborder" width="1%" valign="top"><b><?php 
        echo $loc->getText("biblioSearchTitle");
        ?>
:</b></td>
          <td class="noborder" colspan="3"><a href="../shared/biblio_view.php?bibid=<?php 
        echo HURL($biblio->getBibid());
        ?>
&amp;tab=<?php 
        echo HURL($tab);
        ?>
"><?php 
        echo H($biblio->getTitle());
        ?>
</a></td>
        </tr>
        <tr>
          <td class="noborder" valign="top"><b><?php 
        echo $loc->getText("biblioSearchAuthor");
        ?>
:</b></td>
          <td class="noborder" colspan="3"><?php 
        if ($biblio->getAuthor() != "") {
            echo H($biblio->getAuthor());
        }
Ejemplo n.º 30
0
</td><td class="primary"><?php 
    echo H(moneyFormat($bal, 2));
    ?>
</td></tr>

    <?php 
    while ($trans = $transQ->fetchRow()) {
        $bal = $bal + $trans->getAmount();
        ?>
  <tr>
    <td class="primary" valign="top" >
      <a href="../circ/mbr_transaction_del_confirm.php?mbrid=<?php 
        echo HURL($mbrid);
        ?>
&amp;transid=<?php 
        echo HURL($trans->getTransid());
        ?>
"><?php 
        echo $loc->getText("mbrAccountDel");
        ?>
</a>
    </td>
    <td class="primary" valign="top" >
      <?php 
        echo H($trans->getCreateDt());
        ?>
    </td>
    <td class="primary" valign="top" >
      <?php 
        echo H($trans->getTransactionTypeDesc());
        ?>