Source for file note-manage-admin.tpl.php
Documentation is available at note-manage-admin.tpl.php
extra_styles ('/css/thickbox.css');
position: fixed; background-color: white; right: 0; bottom: 0; padding: 1em;
border-top: 1px solid rgb(200, 200, 200);
<script type="text/javascript" src="/javascript/thickbox.js"></script>
<script type="text/javascript">
$('#submitButton').live('click', function() {
if (isChecked === false) {
$('input[type=checkbox]').each(function() {
$(this).attr('checked', 'check');
$('input[type=checkbox]').each(function() {
$(this).attr('checked', false);
<h1>Notes Management Area</h1>
<h3> <?php echo $title; ?></h3>
<?php include PEARWEB_TEMPLATEDIR . '/notes/note-manage-links.tpl.php'; ?>
<?php if (count($pendingComments) > 0 ) : ?>
<?php if (strlen(trim($error)) > 0 ): // {{{ error ?>
<div class="errors"> <?php echo $error; ?></div>
<?php if (isset ($message) && strlen(trim($message)) > 0 ): // {{{ message?>
<div class="message"> <?php echo $message; ?></div>
if (isset ($url) && !empty ($url)) {
echo '<a href="/manual/en/',
'">Return to manual</a>';
<form action="/notes/admin/trans.php" method="post">
<input type="hidden" name="action" value=" <?php echo $action ?>" />
<h3> <?php echo $caption ?></h3>
<input id="submitButton" type="button" value="Select All" />
<input type="submit" name=" <?php echo $name ?>" value=" <?php echo $button ?>" />
<?php if ($name != 'undelete'): ?>
<input type="submit" name="delete" value="Delete" />
<?php foreach ($pendingComments as $pendingComment): ?>
<h4><a href="/manual/en/ <?php echo $pendingComment['page_url'] ?>"> <?php echo $pendingComment['page_url'] ?></a> - <?php echo htmlspecialchars($pendingComment['user_name']); ?></h4>
<input type="checkbox" name="noteIds[]" value=" <?php echo $pendingComment['note_id']; ?>" style="display: block; float: right" />
if (strlen($pendingComment['unfiltered_note']) > 200 ) {
echo $pendingComment['note_text'];
<a class="thickbox" href="view-note.php?height=300&width=450&ajax=yes¬eId= <?php echo $pendingComment['note_id'] ?>"
title="See full note">View full note</a> <a href="view-note.php?ajax=no&status= <?php echo $status ?>¬eId= <?php echo $pendingComment['note_id'] ?>"
title="No JS View">(no js)</a>, or
<a href="/notes/admin/trans.php?action=makeDocBug¬eId= <?php echo $pendingComment['note_id']; ?>&url= <?php echo $pendingComment['page_url']; ?>">make a Doc Bug</a>.
<?php elseif (count($pendingComments) == 0 ) : ?>
<h3>There are no pending user notes to manage, sorry... :(</h3>
<?php response_footer (); ?>
Documentation generated on Mon, 11 Mar 2019 16:04:25 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|