<div id="content">

<h1>Sort Album: <?php 
    echo $album->getTitle();
    ?>
</h1>
<p><?php 
    printAlbumEditLinks('', "&laquo; " . gettext("back to the album list"), gettext("Back to the list of albums"));
    ?>
 
| <?php 
    printAlbumEditLinks("&album=" . urlencode($album->getFolder()), gettext("edit album"), gettext("Edit Album"));
    ?>
 
| <?php 
    printViewLink($album, gettext("view album"), gettext("View Album"));
    ?>
</p>
	<?php 
    if (isset($_GET['saved'])) {
        echo '<div class="messagebox" id="fade-message">';
        echo "<h2>" . gettext("Image order saved");
        echo '</h2></div>';
    }
    ?>

<div class="box" style="padding: 15px;">

<p><?php 
    echo gettext("Sort the images by dragging them...");
    ?>
Example #2
0
function printActionLinkUser($params)
{
    extract($params);
    if ($record['account_status'] != 'I') {
        return printEditLinkUser($params) . ' ' . printDeleteLinkUser($params) . ' ' . printViewLink($params) . ' ' . printProxyLink($params);
    } else {
        return printActivateUser($params);
    }
}