Вход Регистрация
Файл: apwa/cache/ctpl_admin_gallery_albums.html.php
Строк: 543
<?php if (!defined('IN_PHPBB')) exit; $this->_tpl_include('overall_header.html'); ?>


<a name="maincontent"></a>

<?php if ($this->_rootref['S_EDIT_ALBUM']) {  ?>


    <script type="text/javascript">
    // <![CDATA[
        /**
        * Handle displaying/hiding several options based on the album type
        *
        * borrowed from phpBB3
        * @author: phpBB Group
        * @location: acp_forums.html
        */
        function display_options(value)
        {
            <?php if (! $this->_rootref['S_ADD_ACTION'] && $this->_rootref['S_ALBUM_ORIG_CAT']) {  ?>

                if (value == <?php echo (isset($this->_rootref['ALBUM_CONTEST'])) ? $this->_rootref['ALBUM_CONTEST'] : ''?>)
                {
                    dE('cat_to_contest_actions', 1);
                }
                else
                {
                    dE('cat_to_contest_actions', -1);
                }
            <?php } if (! $this->_rootref['S_ADD_ACTION'] && $this->_rootref['S_ALBUM_ORIG_CONTEST']) {  ?>

                if (value != <?php echo (isset($this->_rootref['ALBUM_CONTEST'])) ? $this->_rootref['ALBUM_CONTEST'] : ''?>)
                {
                    dE('contest_change_type_actions', 1);
                }
                else
                {
                    dE('contest_change_type_actions', -1);
                }
            <?php } if (! $this->_rootref['S_ADD_ACTION'] && $this->_rootref['S_ALBUM_ORIG_UPLOAD']) {  ?>

                if (value == <?php echo (isset($this->_rootref['ALBUM_CAT'])) ? $this->_rootref['ALBUM_CAT'] : ''?>)
                {
                    dE('type_actions', 1);
                }
                else
                {
                    dE('type_actions', -1);
                }
                if (value == <?php echo (isset($this->_rootref['ALBUM_CONTEST'])) ? $this->_rootref['ALBUM_CONTEST'] : ''?>)
                {
                    dE('album_to_contest_actions', 1);
                }
                else
                {
                    dE('album_to_contest_actions', -1);
                }
            <?php ?>


            if (value == <?php echo (isset($this->_rootref['ALBUM_CONTEST'])) ? $this->_rootref['ALBUM_CONTEST'] : ''?>)
            {
                dE('album_contest_options', 1);
                dE('album_upload_options', 1);
            }
            else if (value == <?php echo (isset($this->_rootref['ALBUM_UPLOAD'])) ? $this->_rootref['ALBUM_UPLOAD'] : ''?>)
            {
                dE('album_upload_options', 1);
                dE('album_contest_options', -1);
            }
            else if (value == <?php echo (isset($this->_rootref['ALBUM_CAT'])) ? $this->_rootref['ALBUM_CAT'] : ''?>)
            {
                dE('album_upload_options', -1);
                dE('album_contest_options', -1);
            }
        }

        /**
        * Init the wanted display functionality if javascript is enabled.
        * If javascript is not available, the user is still able to properly administrate.
        */
        onload = function()
        {
            <?php if (! $this->_rootref['S_ADD_ACTION'] && $this->_rootref['S_ALBUM_ORIG_CAT']) {  if ($this->_rootref['S_ALBUM_CAT']) {  ?>

                    dE('cat_to_contest_actions', -1);
                <?php } } if (! $this->_rootref['S_ADD_ACTION'] && $this->_rootref['S_ALBUM_ORIG_UPLOAD']) {  if ($this->_rootref['S_ALBUM_UPLOAD']) {  ?>

                    dE('type_actions', -1);
                    dE('album_to_contest_actions', -1);
                <?php } } if (! $this->_rootref['S_ADD_ACTION'] && $this->_rootref['S_ALBUM_ORIG_CONTEST']) {  if ($this->_rootref['S_ALBUM_CONTEST']) {  ?>

                    dE('contest_change_type_actions', -1);
                <?php } } if (! $this->_rootref['S_ALBUM_ORIG_CONTEST']) {  ?>

                dE('album_contest_options', -1);
            <?php } if ($this->_rootref['S_ALBUM_CAT']) {  ?>

                dE('album_upload_options', -1);
            <?php ?>

        }

    // ]]>
    </script>

    <a href="<?php echo (isset($this->_rootref['U_BACK'])) ? $this->_rootref['U_BACK'] : ''?>" style="float: <?php echo (isset($this->_rootref['S_CONTENT_FLOW_END'])) ? $this->_rootref['S_CONTENT_FLOW_END'] : ''?>;">&laquo; <?php echo ((isset($this->_rootref['L_BACK'])) ? $this->_rootref['L_BACK'] : ((isset($user->lang['BACK'])) ? $user->lang['BACK'] : '{ BACK }')); ?></a>

    <h1><?php echo ((isset($this->_rootref['L_TITLE'])) ? $this->_rootref['L_TITLE'] : ((isset($user->lang['TITLE'])) ? $user->lang['TITLE'] : '{ TITLE }')); ?> <?php if ($this->_rootref['ALBUM_NAME']) {  ?>:: <?php echo (isset($this->_rootref['ALBUM_NAME'])) ? $this->_rootref['ALBUM_NAME'] : ''; } ?></h1>

    <p><?php echo ((isset($this->_rootref['L_ALBUM_EDIT_EXPLAIN'])) ? $this->_rootref['L_ALBUM_EDIT_EXPLAIN'] : ((isset($user->lang['ALBUM_EDIT_EXPLAIN'])) ? $user->lang['ALBUM_EDIT_EXPLAIN'] : '{ ALBUM_EDIT_EXPLAIN }')); ?></p>

    <?php if ($this->_rootref['S_ERROR']) {  ?>

        <div class="errorbox">
            <h3><?php echo ((isset($this->_rootref['L_WARNING'])) ? $this->_rootref['L_WARNING'] : ((isset($user->lang['WARNING'])) ? $user->lang['WARNING'] : '{ WARNING }')); ?></h3>
            <p><?php echo (isset($this->_rootref['ERROR_MSG'])) ? $this->_rootref['ERROR_MSG'] : ''?></p>
        </div>
    <?php } if (! $this->_rootref['S_ADD_ACTION']) {  if ($this->_rootref['S_ALBUM_ORIG_CAT']) {  ?>

        <div class="errorbox" id="cat_to_contest_actions">
            <h3><?php echo ((isset($this->_rootref['L_WARNING'])) ? $this->_rootref['L_WARNING'] : ((isset($user->lang['WARNING'])) ? $user->lang['WARNING'] : '{ WARNING }')); ?></h3>
            <p><?php echo ((isset($this->_rootref['L_ALBUM_NO_TYPE_CHANGE_TO_CONTEST'])) ? $this->_rootref['L_ALBUM_NO_TYPE_CHANGE_TO_CONTEST'] : ((isset($user->lang['ALBUM_NO_TYPE_CHANGE_TO_CONTEST'])) ? $user->lang['ALBUM_NO_TYPE_CHANGE_TO_CONTEST'] : '{ ALBUM_NO_TYPE_CHANGE_TO_CONTEST }')); ?></p>
        </div>
        <?php } if ($this->_rootref['S_ALBUM_ORIG_UPLOAD']) {  ?>

        <div class="errorbox" id="album_to_contest_actions">
            <h3><?php echo ((isset($this->_rootref['L_WARNING'])) ? $this->_rootref['L_WARNING'] : ((isset($user->lang['WARNING'])) ? $user->lang['WARNING'] : '{ WARNING }')); ?></h3>
            <p><?php echo ((isset($this->_rootref['L_ALBUM_NO_TYPE_CHANGE_TO_CONTEST'])) ? $this->_rootref['L_ALBUM_NO_TYPE_CHANGE_TO_CONTEST'] : ((isset($user->lang['ALBUM_NO_TYPE_CHANGE_TO_CONTEST'])) ? $user->lang['ALBUM_NO_TYPE_CHANGE_TO_CONTEST'] : '{ ALBUM_NO_TYPE_CHANGE_TO_CONTEST }')); ?></p>
        </div>
        <?php } if ($this->_rootref['S_ALBUM_ORIG_CONTEST']) {  ?>

        <div class="errorbox" id="contest_change_type_actions">
            <h3><?php echo ((isset($this->_rootref['L_WARNING'])) ? $this->_rootref['L_WARNING'] : ((isset($user->lang['WARNING'])) ? $user->lang['WARNING'] : '{ WARNING }')); ?></h3>
            <p><?php echo ((isset($this->_rootref['L_ALBUM_WITH_CONTEST_NO_TYPE_CHANGE'])) ? $this->_rootref['L_ALBUM_WITH_CONTEST_NO_TYPE_CHANGE'] : ((isset($user->lang['ALBUM_WITH_CONTEST_NO_TYPE_CHANGE'])) ? $user->lang['ALBUM_WITH_CONTEST_NO_TYPE_CHANGE'] : '{ ALBUM_WITH_CONTEST_NO_TYPE_CHANGE }')); ?></p>
        </div>
        <?php } } ?>


    <form id="acp_gallery" method="post" action="<?php echo (isset($this->_rootref['U_EDIT_ACTION'])) ? $this->_rootref['U_EDIT_ACTION'] : ''?>">

    <fieldset>
        <legend><?php echo ((isset($this->_rootref['L_ALBUM_SETTINGS'])) ? $this->_rootref['L_ALBUM_SETTINGS'] : ((isset($user->lang['ALBUM_SETTINGS'])) ? $user->lang['ALBUM_SETTINGS'] : '{ ALBUM_SETTINGS }')); ?></legend>
        <dl>
            <dt><label for="album_type"><?php echo ((isset($this->_rootref['L_ALBUM_TYPE'])) ? $this->_rootref['L_ALBUM_TYPE'] : ((isset($user->lang['ALBUM_TYPE'])) ? $user->lang['ALBUM_TYPE'] : '{ ALBUM_TYPE }')); ?>:</label></dt>
            <dd><select id="album_type" name="album_type" onchange="display_options(this.options[this.selectedIndex].value);"><?php echo (isset($this->_rootref['S_ALBUM_TYPE_OPTIONS'])) ? $this->_rootref['S_ALBUM_TYPE_OPTIONS'] : ''?></select></dd>
        </dl>
    <?php if (! $this->_rootref['S_ADD_ACTION'] && $this->_rootref['S_ALBUM_ORIG_UPLOAD']) {  ?>

    <div id="type_actions">
        <dl>
            <dt><label for="type_action"><?php echo ((isset($this->_rootref['L_DECIDE_MOVE_DELETE_CONTENT'])) ? $this->_rootref['L_DECIDE_MOVE_DELETE_CONTENT'] : ((isset($user->lang['DECIDE_MOVE_DELETE_CONTENT'])) ? $user->lang['DECIDE_MOVE_DELETE_CONTENT'] : '{ DECIDE_MOVE_DELETE_CONTENT }')); ?>:</label></dt>
            <dd><label><input type="radio" class="radio" name="type_action" value="delete"<?php if (! $this->_rootref['S_MOVE_ALBUM_OPTIONS']) {  ?> checked="checked" id="type_action"<?php ?> /> <?php echo ((isset($this->_rootref['L_DELETE_ALL_IMAGES'])) ? $this->_rootref['L_DELETE_ALL_IMAGES'] : ((isset($user->lang['DELETE_ALL_IMAGES'])) ? $user->lang['DELETE_ALL_IMAGES'] : '{ DELETE_ALL_IMAGES }')); ?></label></dd>
            <?php if ($this->_rootref['S_MOVE_ALBUM_OPTIONS']) {  ?><dd><label><input type="radio" class="radio" name="type_action" id="type_action" value="move" checked="checked" /> <?php echo ((isset($this->_rootref['L_MOVE_IMAGES_TO'])) ? $this->_rootref['L_MOVE_IMAGES_TO'] : ((isset($user->lang['MOVE_IMAGES_TO'])) ? $user->lang['MOVE_IMAGES_TO'] : '{ MOVE_IMAGES_TO }')); ?></label> <select name="to_album_id"><?php echo (isset($this->_rootref['S_MOVE_ALBUM_OPTIONS'])) ? $this->_rootref['S_MOVE_ALBUM_OPTIONS'] : ''?></select></dd><?php ?>

        </dl>
    </div>
    <?php ?>

        <dl>
            <dt><label for="parent_id"><?php echo ((isset($this->_rootref['L_ALBUM_PARENT'])) ? $this->_rootref['L_ALBUM_PARENT'] : ((isset($user->lang['ALBUM_PARENT'])) ? $user->lang['ALBUM_PARENT'] : '{ ALBUM_PARENT }')); ?>:</label></dt>
            <dd><select id="parent_id" name="parent_id"><option value="0"<?php if (! $this->_rootref['S_ALBUM_PARENT_ID']) {  ?> selected="selected"<?php ?>><?php echo ((isset($this->_rootref['L_NO_PARENT_ALBUM'])) ? $this->_rootref['L_NO_PARENT_ALBUM'] : ((isset($user->lang['NO_PARENT_ALBUM'])) ? $user->lang['NO_PARENT_ALBUM'] : '{ NO_PARENT_ALBUM }')); ?></option><?php echo (isset($this->_rootref['S_PARENT_OPTIONS'])) ? $this->_rootref['S_PARENT_OPTIONS'] : ''?></select></dd>
        </dl>
        <dl>
            <dt><label for="album_name"><?php echo ((isset($this->_rootref['L_ALBUM_NAME'])) ? $this->_rootref['L_ALBUM_NAME'] : ((isset($user->lang['ALBUM_NAME'])) ? $user->lang['ALBUM_NAME'] : '{ ALBUM_NAME }')); ?>:</label></dt>
            <dd><input class="text medium" type="text" id="album_name" name="album_name" value="<?php echo (isset($this->_rootref['ALBUM_NAME'])) ? $this->_rootref['ALBUM_NAME'] : ''?>" maxlength="255" /></dd>
        </dl>
        <dl>
            <dt><label for="album_desc"><?php echo ((isset($this->_rootref['L_ALBUM_DESC'])) ? $this->_rootref['L_ALBUM_DESC'] : ((isset($user->lang['ALBUM_DESC'])) ? $user->lang['ALBUM_DESC'] : '{ ALBUM_DESC }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_ALBUM_DESC_EXPLAIN'])) ? $this->_rootref['L_ALBUM_DESC_EXPLAIN'] : ((isset($user->lang['ALBUM_DESC_EXPLAIN'])) ? $user->lang['ALBUM_DESC_EXPLAIN'] : '{ ALBUM_DESC_EXPLAIN }')); ?></span></dt>
            <dd><textarea id="album_desc" name="album_desc" rows="5" cols="45"><?php echo (isset($this->_rootref['ALBUM_DESC'])) ? $this->_rootref['ALBUM_DESC'] : ''?></textarea></dd>
        <dd><label><input type="checkbox" class="radio" name="desc_parse_bbcode"<?php if ($this->_rootref['S_DESC_BBCODE_CHECKED']) {  ?> checked="checked"<?php ?> /> <?php echo ((isset($this->_rootref['L_PARSE_BBCODE'])) ? $this->_rootref['L_PARSE_BBCODE'] : ((isset($user->lang['PARSE_BBCODE'])) ? $user->lang['PARSE_BBCODE'] : '{ PARSE_BBCODE }')); ?></label>
            <label><input type="checkbox" class="radio" name="desc_parse_smilies"<?php if ($this->_rootref['S_DESC_SMILIES_CHECKED']) {  ?> checked="checked"<?php ?> /> <?php echo ((isset($this->_rootref['L_PARSE_SMILIES'])) ? $this->_rootref['L_PARSE_SMILIES'] : ((isset($user->lang['PARSE_SMILIES'])) ? $user->lang['PARSE_SMILIES'] : '{ PARSE_SMILIES }')); ?></label>
            <label><input type="checkbox" class="radio" name="desc_parse_urls"<?php if ($this->_rootref['S_DESC_URLS_CHECKED']) {  ?> checked="checked"<?php ?> /> <?php echo ((isset($this->_rootref['L_PARSE_URLS'])) ? $this->_rootref['L_PARSE_URLS'] : ((isset($user->lang['PARSE_URLS'])) ? $user->lang['PARSE_URLS'] : '{ PARSE_URLS }')); ?></label></dd>
        </dl>
        <dl>
            <dt><label for="album_image"><?php echo ((isset($this->_rootref['L_ALBUM_IMAGE'])) ? $this->_rootref['L_ALBUM_IMAGE'] : ((isset($user->lang['ALBUM_IMAGE'])) ? $user->lang['ALBUM_IMAGE'] : '{ ALBUM_IMAGE }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_ALBUM_IMAGE_EXPLAIN'])) ? $this->_rootref['L_ALBUM_IMAGE_EXPLAIN'] : ((isset($user->lang['ALBUM_IMAGE_EXPLAIN'])) ? $user->lang['ALBUM_IMAGE_EXPLAIN'] : '{ ALBUM_IMAGE_EXPLAIN }')); ?></span></dt>
            <dd><input class="text medium" type="text" id="album_image" name="album_image" value="<?php echo (isset($this->_rootref['ALBUM_IMAGE'])) ? $this->_rootref['ALBUM_IMAGE'] : ''?>" maxlength="255" /></dd>
        <?php if ($this->_rootref['ALBUM_IMAGE_SRC']) {  ?>

            <dd><img src="<?php echo (isset($this->_rootref['ALBUM_IMAGE_SRC'])) ? $this->_rootref['ALBUM_IMAGE_SRC'] : ''?>" alt="<?php echo ((isset($this->_rootref['L_ALBUM_IMAGE'])) ? $this->_rootref['L_ALBUM_IMAGE'] : ((isset($user->lang['ALBUM_IMAGE'])) ? $user->lang['ALBUM_IMAGE'] : '{ ALBUM_IMAGE }')); ?>" /></dd>
        <?php ?>

        </dl>
        <?php if ($this->_rootref['ALBUM_PASSWORD_OPTION_IS_INCLUDED']) {  ?>

        <dl>
            <dt><label for="album_password"><?php echo ((isset($this->_rootref['L_ALBUM_PASSWORD'])) ? $this->_rootref['L_ALBUM_PASSWORD'] : ((isset($user->lang['ALBUM_PASSWORD'])) ? $user->lang['ALBUM_PASSWORD'] : '{ ALBUM_PASSWORD }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_ALBUM_PASSWORD_EXPLAIN'])) ? $this->_rootref['L_ALBUM_PASSWORD_EXPLAIN'] : ((isset($user->lang['ALBUM_PASSWORD_EXPLAIN'])) ? $user->lang['ALBUM_PASSWORD_EXPLAIN'] : '{ ALBUM_PASSWORD_EXPLAIN }')); ?></span></dt>
            <dd><input type="password" id="album_password" name="album_password" value="<?php if ($this->_rootref['S_ALBUM_PASSWORD_SET']) {  ?>&#x20;&#x20;&#x20;&#x20;&#x20;&#x20;<?php ?>" /></dd>
        </dl>
        <dl>
            <dt><label for="album_password_confirm"><?php echo ((isset($this->_rootref['L_ALBUM_PASSWORD_CONFIRM'])) ? $this->_rootref['L_ALBUM_PASSWORD_CONFIRM'] : ((isset($user->lang['ALBUM_PASSWORD_CONFIRM'])) ? $user->lang['ALBUM_PASSWORD_CONFIRM'] : '{ ALBUM_PASSWORD_CONFIRM }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_ALBUM_PASSWORD_CONFIRM_EXPLAIN'])) ? $this->_rootref['L_ALBUM_PASSWORD_CONFIRM_EXPLAIN'] : ((isset($user->lang['ALBUM_PASSWORD_CONFIRM_EXPLAIN'])) ? $user->lang['ALBUM_PASSWORD_CONFIRM_EXPLAIN'] : '{ ALBUM_PASSWORD_CONFIRM_EXPLAIN }')); ?></span></dt>
            <dd><input type="password" id="album_password_confirm" name="album_password_confirm" value="<?php if ($this->_rootref['S_ALBUM_PASSWORD_SET']) {  ?>&#x20;&#x20;&#x20;&#x20;&#x20;&#x20;<?php ?>" /></dd>
        </dl>
        <?php if ($this->_rootref['S_ALBUM_PASSWORD_SET']) {  ?>

        <dl>
            <dt><label for="album_password_unset"><?php echo ((isset($this->_rootref['L_ALBUM_PASSWORD_UNSET'])) ? $this->_rootref['L_ALBUM_PASSWORD_UNSET'] : ((isset($user->lang['ALBUM_PASSWORD_UNSET'])) ? $user->lang['ALBUM_PASSWORD_UNSET'] : '{ ALBUM_PASSWORD_UNSET }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_ALBUM_PASSWORD_UNSET_EXPLAIN'])) ? $this->_rootref['L_ALBUM_PASSWORD_UNSET_EXPLAIN'] : ((isset($user->lang['ALBUM_PASSWORD_UNSET_EXPLAIN'])) ? $user->lang['ALBUM_PASSWORD_UNSET_EXPLAIN'] : '{ ALBUM_PASSWORD_UNSET_EXPLAIN }')); ?></span></dt>
            <dd><input id="album_password_unset" name="album_password_unset" type="checkbox" /></dd>
        </dl>
        <?php } } ?>

        <dl>
            <dt><label for="album_perm_from"><?php echo ((isset($this->_rootref['L_COPY_PERMISSIONS'])) ? $this->_rootref['L_COPY_PERMISSIONS'] : ((isset($user->lang['COPY_PERMISSIONS'])) ? $user->lang['COPY_PERMISSIONS'] : '{ COPY_PERMISSIONS }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_COPY_PERMISSIONS_EXPLAIN'])) ? $this->_rootref['L_COPY_PERMISSIONS_EXPLAIN'] : ((isset($user->lang['COPY_PERMISSIONS_EXPLAIN'])) ? $user->lang['COPY_PERMISSIONS_EXPLAIN'] : '{ COPY_PERMISSIONS_EXPLAIN }')); ?></span></dt>
            <dd><select id="album_perm_from" name="album_perm_from"><option value="0" selected="selected"><?php echo ((isset($this->_rootref['L_DONT_COPY_PERMISSIONS'])) ? $this->_rootref['L_DONT_COPY_PERMISSIONS'] : ((isset($user->lang['DONT_COPY_PERMISSIONS'])) ? $user->lang['DONT_COPY_PERMISSIONS'] : '{ DONT_COPY_PERMISSIONS }')); ?></option><?php echo (isset($this->_rootref['S_ALBUM_OPTIONS'])) ? $this->_rootref['S_ALBUM_OPTIONS'] : ''?></select></dd>
        </dl>
        <?php if ($this->_rootref['S_ADD_ACTION']) {  ?>

        <dl>
            <dt><label><?php echo ((isset($this->_rootref['L_ADD_ALBUM_ON_TOP'])) ? $this->_rootref['L_ADD_ALBUM_ON_TOP'] : ((isset($user->lang['ADD_ALBUM_ON_TOP'])) ? $user->lang['ADD_ALBUM_ON_TOP'] : '{ ADD_ALBUM_ON_TOP }')); ?>:</label></dt>
            <dd><label><input type="radio" class="radio" name="add_on_top" value="1" /> <?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></label>
                <label><input type="radio" class="radio" name="add_on_top" value="0" id="add_on_top" checked="checked" /> <?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></label></dd>
        </dl>
        <?php ?>

    </fieldset>
    <div id="album_upload_options">
        <fieldset>
            <legend><?php echo ((isset($this->_rootref['L_GENERAL_ALBUM_SETTINGS'])) ? $this->_rootref['L_GENERAL_ALBUM_SETTINGS'] : ((isset($user->lang['GENERAL_ALBUM_SETTINGS'])) ? $user->lang['GENERAL_ALBUM_SETTINGS'] : '{ GENERAL_ALBUM_SETTINGS }')); ?></legend>
        <dl>
            <dt><label for="album_status"><?php echo ((isset($this->_rootref['L_ALBUM_STATUS'])) ? $this->_rootref['L_ALBUM_STATUS'] : ((isset($user->lang['ALBUM_STATUS'])) ? $user->lang['ALBUM_STATUS'] : '{ ALBUM_STATUS }')); ?>:</label></dt>
            <dd><select id="album_status" name="album_status"><?php echo (isset($this->_rootref['S_STATUS_OPTIONS'])) ? $this->_rootref['S_STATUS_OPTIONS'] : ''?></select></dd>
        </dl>
        <dl>
            <dt><label for="album_watermark"><?php echo ((isset($this->_rootref['L_ALBUM_WATERMARK'])) ? $this->_rootref['L_ALBUM_WATERMARK'] : ((isset($user->lang['ALBUM_WATERMARK'])) ? $user->lang['ALBUM_WATERMARK'] : '{ ALBUM_WATERMARK }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_ALBUM_WATERMARK_EXPLAIN'])) ? $this->_rootref['L_ALBUM_WATERMARK_EXPLAIN'] : ((isset($user->lang['ALBUM_WATERMARK_EXPLAIN'])) ? $user->lang['ALBUM_WATERMARK_EXPLAIN'] : '{ ALBUM_WATERMARK_EXPLAIN }')); ?></span></dt>
            <dd><label><input type="radio" class="radio" name="album_watermark" value="1"<?php if ($this->_rootref['S_ALBUM_WATERMARK']) {  ?> id="album_watermark" checked="checked"<?php ?> /> <?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></label>
                <label><input type="radio" class="radio" name="album_watermark" value="0"<?php if (! $this->_rootref['S_ALBUM_WATERMARK']) {  ?> id="album_watermark" checked="checked"<?php ?> /> <?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></label></dd>
        </dl>
        <dl>
            <dt><label for="album_sort_key"><?php echo ((isset($this->_rootref['L_DEFAULT_SORT_METHOD'])) ? $this->_rootref['L_DEFAULT_SORT_METHOD'] : ((isset($user->lang['DEFAULT_SORT_METHOD'])) ? $user->lang['DEFAULT_SORT_METHOD'] : '{ DEFAULT_SORT_METHOD }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_DEFAULT_SORT_EXPLAIN'])) ? $this->_rootref['L_DEFAULT_SORT_EXPLAIN'] : ((isset($user->lang['DEFAULT_SORT_EXPLAIN'])) ? $user->lang['DEFAULT_SORT_EXPLAIN'] : '{ DEFAULT_SORT_EXPLAIN }')); ?></span></dt>
            <dd><select name="album_sort_key" id="album_sort_key"><?php echo (isset($this->_rootref['ALBUM_SORT_KEY_OPTIONS'])) ? $this->_rootref['ALBUM_SORT_KEY_OPTIONS'] : ''?></select></dd>
        </dl>
        <dl>
            <dt><label for="album_sort_dir"><?php echo ((isset($this->_rootref['L_DEFAULT_SORT_ORDER'])) ? $this->_rootref['L_DEFAULT_SORT_ORDER'] : ((isset($user->lang['DEFAULT_SORT_ORDER'])) ? $user->lang['DEFAULT_SORT_ORDER'] : '{ DEFAULT_SORT_ORDER }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_DEFAULT_SORT_EXPLAIN'])) ? $this->_rootref['L_DEFAULT_SORT_EXPLAIN'] : ((isset($user->lang['DEFAULT_SORT_EXPLAIN'])) ? $user->lang['DEFAULT_SORT_EXPLAIN'] : '{ DEFAULT_SORT_EXPLAIN }')); ?></span></dt>
            <dd><select name="album_sort_dir" id="album_sort_dir"><?php echo (isset($this->_rootref['ALBUM_SORT_DIR_OPTIONS'])) ? $this->_rootref['ALBUM_SORT_DIR_OPTIONS'] : ''?></select></dd>
        </dl>
        <dl>
            <dt><label for="display_in_rrc"><?php echo ((isset($this->_rootref['L_DISPLAY_IN_RRC'])) ? $this->_rootref['L_DISPLAY_IN_RRC'] : ((isset($user->lang['DISPLAY_IN_RRC'])) ? $user->lang['DISPLAY_IN_RRC'] : '{ DISPLAY_IN_RRC }')); ?>:</label></dt>
            <dd><label><input type="radio" class="radio" name="display_in_rrc" value="1"<?php if ($this->_rootref['S_DISPLAY_IN_RRC']) {  ?> id="display_in_rrc" checked="checked"<?php ?> /> <?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></label>
                <label><input type="radio" class="radio" name="display_in_rrc" value="0"<?php if (! $this->_rootref['S_DISPLAY_IN_RRC']) {  ?> id="display_in_rrc" checked="checked"<?php ?> /> <?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></label></dd>
        </dl>
        <dl>
            <dt><label for="album_feed"><?php echo ((isset($this->_rootref['L_ALBUM_FEED'])) ? $this->_rootref['L_ALBUM_FEED'] : ((isset($user->lang['ALBUM_FEED'])) ? $user->lang['ALBUM_FEED'] : '{ ALBUM_FEED }')); ?>:</label></dt>
            <dd><label><input type="radio" class="radio" name="album_feed" value="1"<?php if ($this->_rootref['S_FEED_ENABLED']) {  ?> id="album_feed" checked="checked"<?php ?> /> <?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></label>
                <label><input type="radio" class="radio" name="album_feed" value="0"<?php if (! $this->_rootref['S_FEED_ENABLED']) {  ?> id="album_feed" checked="checked"<?php ?> /> <?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></label></dd>
        </dl>
        <dl>
            <dt><label for="display_subalbum_list"><?php echo ((isset($this->_rootref['L_LIST_SUBALBUMS'])) ? $this->_rootref['L_LIST_SUBALBUMS'] : ((isset($user->lang['LIST_SUBALBUMS'])) ? $user->lang['LIST_SUBALBUMS'] : '{ LIST_SUBALBUMS }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_LIST_SUBALBUMS_EXPLAIN'])) ? $this->_rootref['L_LIST_SUBALBUMS_EXPLAIN'] : ((isset($user->lang['LIST_SUBALBUMS_EXPLAIN'])) ? $user->lang['LIST_SUBALBUMS_EXPLAIN'] : '{ LIST_SUBALBUMS_EXPLAIN }')); ?></span></dt>
            <dd><label><input type="radio" class="radio" name="display_subalbum_list" value="1"<?php if ($this->_rootref['S_DISPLAY_SUBALBUM_LIST']) {  ?> id="display_subalbum_list" checked="checked"<?php ?> /> <?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></label>
                <label><input type="radio" class="radio" name="display_subalbum_list" value="0"<?php if (! $this->_rootref['S_DISPLAY_SUBALBUM_LIST']) {  ?> id="display_subalbum_list" checked="checked"<?php ?> /> <?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></label></dd>
        </dl>
        <dl>
            <dt><label for="display_on_index"><?php echo ((isset($this->_rootref['L_LIST_INDEX'])) ? $this->_rootref['L_LIST_INDEX'] : ((isset($user->lang['LIST_INDEX'])) ? $user->lang['LIST_INDEX'] : '{ LIST_INDEX }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_LIST_INDEX_EXPLAIN'])) ? $this->_rootref['L_LIST_INDEX_EXPLAIN'] : ((isset($user->lang['LIST_INDEX_EXPLAIN'])) ? $user->lang['LIST_INDEX_EXPLAIN'] : '{ LIST_INDEX_EXPLAIN }')); ?></span></dt>
            <dd><label><input type="radio" class="radio" name="display_on_index" value="1"<?php if ($this->_rootref['S_DISPLAY_ON_INDEX']) {  ?> id="display_on_index" checked="checked"<?php ?> /> <?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></label>
                <label><input type="radio" class="radio" name="display_on_index" value="0"<?php if (! $this->_rootref['S_DISPLAY_ON_INDEX']) {  ?> id="display_on_index" checked="checked"<?php ?> /> <?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></label></dd>
        </dl>
        </fieldset>
    </div>
    <div id="album_contest_options">
        <fieldset>
            <legend><?php echo ((isset($this->_rootref['L_CONTEST_SETTINGS'])) ? $this->_rootref['L_CONTEST_SETTINGS'] : ((isset($user->lang['CONTEST_SETTINGS'])) ? $user->lang['CONTEST_SETTINGS'] : '{ CONTEST_SETTINGS }')); ?></legend>
        <dl>
            <dt><label for="contest_start"><?php echo ((isset($this->_rootref['L_CONTEST_START'])) ? $this->_rootref['L_CONTEST_START'] : ((isset($user->lang['CONTEST_START'])) ? $user->lang['CONTEST_START'] : '{ CONTEST_START }')); ?>:</label><br/><span><?php echo ((isset($this->_rootref['L_CONTEST_START_EXPLAIN'])) ? $this->_rootref['L_CONTEST_START_EXPLAIN'] : ((isset($user->lang['CONTEST_START_EXPLAIN'])) ? $user->lang['CONTEST_START_EXPLAIN'] : '{ CONTEST_START_EXPLAIN }')); ?></span><br/><span><?php echo ((isset($this->_rootref['L_CONTEST_DATE_EXPLAIN'])) ? $this->_rootref['L_CONTEST_DATE_EXPLAIN'] : ((isset($user->lang['CONTEST_DATE_EXPLAIN'])) ? $user->lang['CONTEST_DATE_EXPLAIN'] : '{ CONTEST_DATE_EXPLAIN }')); ?></span></dt>
            <dd><input class="text" type="text" id="contest_start" name="contest_start" value="<?php echo (isset($this->_rootref['S_CONTEST_START'])) ? $this->_rootref['S_CONTEST_START'] : ''?>" /></dd>
        </dl>
        <dl>
            <dt><label for="contest_rating"><?php echo ((isset($this->_rootref['L_CONTEST_RATING'])) ? $this->_rootref['L_CONTEST_RATING'] : ((isset($user->lang['CONTEST_RATING'])) ? $user->lang['CONTEST_RATING'] : '{ CONTEST_RATING }')); ?>:</label><br/><span><?php echo ((isset($this->_rootref['L_CONTEST_RATING_EXPLAIN'])) ? $this->_rootref['L_CONTEST_RATING_EXPLAIN'] : ((isset($user->lang['CONTEST_RATING_EXPLAIN'])) ? $user->lang['CONTEST_RATING_EXPLAIN'] : '{ CONTEST_RATING_EXPLAIN }')); ?></span><br/><span><?php echo ((isset($this->_rootref['L_CONTEST_DATE_EXPLAIN'])) ? $this->_rootref['L_CONTEST_DATE_EXPLAIN'] : ((isset($user->lang['CONTEST_DATE_EXPLAIN'])) ? $user->lang['CONTEST_DATE_EXPLAIN'] : '{ CONTEST_DATE_EXPLAIN }')); ?></span></dt>
            <dd><input class="text" type="text" id="contest_rating" name="contest_rating" value="<?php echo (isset($this->_rootref['CONTEST_RATING'])) ? $this->_rootref['CONTEST_RATING'] : ''?>" /></dd>
        </dl>
        <dl>
            <dt><label for="contest_end"><?php echo ((isset($this->_rootref['L_CONTEST_END'])) ? $this->_rootref['L_CONTEST_END'] : ((isset($user->lang['CONTEST_END'])) ? $user->lang['CONTEST_END'] : '{ CONTEST_END }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_CONTEST_END_EXPLAIN'])) ? $this->_rootref['L_CONTEST_END_EXPLAIN'] : ((isset($user->lang['CONTEST_END_EXPLAIN'])) ? $user->lang['CONTEST_END_EXPLAIN'] : '{ CONTEST_END_EXPLAIN }')); ?></span><br/><span><?php echo ((isset($this->_rootref['L_CONTEST_DATE_EXPLAIN'])) ? $this->_rootref['L_CONTEST_DATE_EXPLAIN'] : ((isset($user->lang['CONTEST_DATE_EXPLAIN'])) ? $user->lang['CONTEST_DATE_EXPLAIN'] : '{ CONTEST_DATE_EXPLAIN }')); ?></span></dt>
            <dd><input class="text" type="text" id="contest_end" name="contest_end" value="<?php echo (isset($this->_rootref['CONTEST_END'])) ? $this->_rootref['CONTEST_END'] : ''?>" /></dd>
        </dl>
        </fieldset>
    </div>
    <fieldset class="submit-buttons">
        <legend><?php echo ((isset($this->_rootref['L_SUBMIT'])) ? $this->_rootref['L_SUBMIT'] : ((isset($user->lang['SUBMIT'])) ? $user->lang['SUBMIT'] : '{ SUBMIT }')); ?></legend>
        <input class="button1" type="submit" id="submit" name="update" value="<?php echo ((isset($this->_rootref['L_SUBMIT'])) ? $this->_rootref['L_SUBMIT'] : ((isset($user->lang['SUBMIT'])) ? $user->lang['SUBMIT'] : '{ SUBMIT }')); ?>" />&nbsp;
        <input class="button2" type="reset" id="reset" name="reset" value="<?php echo ((isset($this->_rootref['L_RESET'])) ? $this->_rootref['L_RESET'] : ((isset($user->lang['RESET'])) ? $user->lang['RESET'] : '{ RESET }')); ?>" />
        <?php echo (isset($this->_rootref['S_FORM_TOKEN'])) ? $this->_rootref['S_FORM_TOKEN'] : ''?>

    </fieldset>
</form>

<?php } else if ($this->_rootref['S_DELETE_ALBUM']) {  ?>


    <a href="<?php echo (isset($this->_rootref['U_BACK'])) ? $this->_rootref['U_BACK'] : ''?>" style="float: <?php echo (isset($this->_rootref['S_CONTENT_FLOW_END'])) ? $this->_rootref['S_CONTENT_FLOW_END'] : ''?>;">&laquo; <?php echo ((isset($this->_rootref['L_BACK'])) ? $this->_rootref['L_BACK'] : ((isset($user->lang['BACK'])) ? $user->lang['BACK'] : '{ BACK }')); ?></a>

    <h1><?php echo ((isset($this->_rootref['L_ALBUM_DELETE'])) ? $this->_rootref['L_ALBUM_DELETE'] : ((isset($user->lang['ALBUM_DELETE'])) ? $user->lang['ALBUM_DELETE'] : '{ ALBUM_DELETE }')); ?></h1>

    <p><?php echo ((isset($this->_rootref['L_ALBUM_DELETE_EXPLAIN'])) ? $this->_rootref['L_ALBUM_DELETE_EXPLAIN'] : ((isset($user->lang['ALBUM_DELETE_EXPLAIN'])) ? $user->lang['ALBUM_DELETE_EXPLAIN'] : '{ ALBUM_DELETE_EXPLAIN }')); ?></p>

    <?php if ($this->_rootref['S_ERROR']) {  ?>

        <div class="errorbox">
            <h3><?php echo ((isset($this->_rootref['L_WARNING'])) ? $this->_rootref['L_WARNING'] : ((isset($user->lang['WARNING'])) ? $user->lang['WARNING'] : '{ WARNING }')); ?></h3>
            <p><?php echo (isset($this->_rootref['ERROR_MSG'])) ? $this->_rootref['ERROR_MSG'] : ''?></p>
        </div>
    <?php ?>


    <form id="acp_gallery" method="post" action="<?php echo (isset($this->_rootref['U_ACTION'])) ? $this->_rootref['U_ACTION'] : ''?>">

        <fieldset>
            <legend><?php echo ((isset($this->_rootref['L_ALBUM_DELETE'])) ? $this->_rootref['L_ALBUM_DELETE'] : ((isset($user->lang['ALBUM_DELETE'])) ? $user->lang['ALBUM_DELETE'] : '{ ALBUM_DELETE }')); ?></legend>
        <dl>
            <dt><label><?php echo ((isset($this->_rootref['L_ALBUM_NAME'])) ? $this->_rootref['L_ALBUM_NAME'] : ((isset($user->lang['ALBUM_NAME'])) ? $user->lang['ALBUM_NAME'] : '{ ALBUM_NAME }')); ?>:</label></dt>
            <dd><strong><?php echo (isset($this->_rootref['ALBUM_NAME'])) ? $this->_rootref['ALBUM_NAME'] : ''?></strong></dd>
        </dl>
        <?php if ($this->_rootref['S_ALBUM_POST']) {  ?>

            <dl>
                <dt><label for="delete_action"><?php echo ((isset($this->_rootref['L_ACTION'])) ? $this->_rootref['L_ACTION'] : ((isset($user->lang['ACTION'])) ? $user->lang['ACTION'] : '{ ACTION }')); ?>:</label></dt>
                <dd><label><input type="radio" class="radio" id="delete_action" name="action_images" value="delete" checked="checked" /> <?php echo ((isset($this->_rootref['L_DELETE_ALL_IMAGES'])) ? $this->_rootref['L_DELETE_ALL_IMAGES'] : ((isset($user->lang['DELETE_ALL_IMAGES'])) ? $user->lang['DELETE_ALL_IMAGES'] : '{ DELETE_ALL_IMAGES }')); ?></label></dd>
                <?php if ($this->_rootref['S_MOVE_ALBUM_OPTIONS']) {  ?>

                    <dd><label><input type="radio" class="radio" name="action_images" value="move" /> <?php echo ((isset($this->_rootref['L_MOVE_IMAGES_TO'])) ? $this->_rootref['L_MOVE_IMAGES_TO'] : ((isset($user->lang['MOVE_IMAGES_TO'])) ? $user->lang['MOVE_IMAGES_TO'] : '{ MOVE_IMAGES_TO }')); ?></label> <select name="images_to_id"><?php echo (isset($this->_rootref['S_MOVE_ALBUM_OPTIONS'])) ? $this->_rootref['S_MOVE_ALBUM_OPTIONS'] : ''?></select></dd>
                <?php ?>

            </dl>
        <?php } if ($this->_rootref['S_HAS_SUBALBUMS']) {  ?>

            <dl>
                <dt><label for="sub_delete_action"><?php echo ((isset($this->_rootref['L_ACTION'])) ? $this->_rootref['L_ACTION'] : ((isset($user->lang['ACTION'])) ? $user->lang['ACTION'] : '{ ACTION }')); ?>:</label></dt>
                <dd><label><input type="radio" class="radio" id="sub_delete_action" name="action_subalbums" value="delete" checked="checked" /> <?php echo ((isset($this->_rootref['L_DELETE_SUBALBUMS'])) ? $this->_rootref['L_DELETE_SUBALBUMS'] : ((isset($user->lang['DELETE_SUBALBUMS'])) ? $user->lang['DELETE_SUBALBUMS'] : '{ DELETE_SUBALBUMS }')); ?></label></dd>
                <?php if ($this->_rootref['S_ALBUMS_LIST']) {  ?>

                    <dd><label><input type="radio" class="radio" name="action_subalbums" value="move" /> <?php echo ((isset($this->_rootref['L_MOVE_SUBALBUMS_TO'])) ? $this->_rootref['L_MOVE_SUBALBUMS_TO'] : ((isset($user->lang['MOVE_SUBALBUMS_TO'])) ? $user->lang['MOVE_SUBALBUMS_TO'] : '{ MOVE_SUBALBUMS_TO }')); ?></label> <select name="subalbums_to_id"><?php echo (isset($this->_rootref['S_ALBUMS_LIST'])) ? $this->_rootref['S_ALBUMS_LIST'] : ''?></select></dd>
                <?php ?>

            </dl>
        <?php ?>


        <p class="quick">
            <input class="button1" type="submit" name="update" value="<?php echo ((isset($this->_rootref['L_SUBMIT'])) ? $this->_rootref['L_SUBMIT'] : ((isset($user->lang['SUBMIT'])) ? $user->lang['SUBMIT'] : '{ SUBMIT }')); ?>" />
        </p>
        <?php echo (isset($this->_rootref['S_FORM_TOKEN'])) ? $this->_rootref['S_FORM_TOKEN'] : ''?>

        </fieldset>
    </form>
<?php } else { ?>


    <h1><?php echo ((isset($this->_rootref['L_ALBUM_ADMIN'])) ? $this->_rootref['L_ALBUM_ADMIN'] : ((isset($user->lang['ALBUM_ADMIN'])) ? $user->lang['ALBUM_ADMIN'] : '{ ALBUM_ADMIN }')); ?></h1>

    <p><?php echo ((isset($this->_rootref['L_ALBUM_ADMIN_EXPLAIN'])) ? $this->_rootref['L_ALBUM_ADMIN_EXPLAIN'] : ((isset($user->lang['ALBUM_ADMIN_EXPLAIN'])) ? $user->lang['ALBUM_ADMIN_EXPLAIN'] : '{ ALBUM_ADMIN_EXPLAIN }')); ?></p>

    <?php if ($this->_rootref['ERROR_MSG']) {  ?>

        <div class="errorbox">
            <h3><?php echo ((isset($this->_rootref['L_WARNING'])) ? $this->_rootref['L_WARNING'] : ((isset($user->lang['WARNING'])) ? $user->lang['WARNING'] : '{ WARNING }')); ?></h3>
            <p><?php echo (isset($this->_rootref['ERROR_MSG'])) ? $this->_rootref['ERROR_MSG'] : ''?></p>
        </div>
    <?php } if ($this->_rootref['S_RESYNCED']) {  ?>

        <script type="text/javascript">
        // <![CDATA[
            var close_waitscreen = 1;
        // ]]>
        </script>

        <div class="successbox">
            <h3><?php echo ((isset($this->_rootref['L_NOTIFY'])) ? $this->_rootref['L_NOTIFY'] : ((isset($user->lang['NOTIFY'])) ? $user->lang['NOTIFY'] : '{ NOTIFY }')); ?></h3>
            <p><?php echo ((isset($this->_rootref['L_ALBUM_RESYNCED'])) ? $this->_rootref['L_ALBUM_RESYNCED'] : ((isset($user->lang['ALBUM_RESYNCED'])) ? $user->lang['ALBUM_RESYNCED'] : '{ ALBUM_RESYNCED }')); ?></p>
        </div>
    <?php ?>


    <p><strong><?php echo (isset($this->_rootref['NAVIGATION'])) ? $this->_rootref['NAVIGATION'] : ''; if ($this->_rootref['S_NO_ALBUMS']) {  ?> [<a href="<?php echo (isset($this->_rootref['U_EDIT'])) ? $this->_rootref['U_EDIT'] : ''?>"><?php echo ((isset($this->_rootref['L_EDIT'])) ? $this->_rootref['L_EDIT'] : ((isset($user->lang['EDIT'])) ? $user->lang['EDIT'] : '{ EDIT }')); ?></a> | <a href="<?php echo (isset($this->_rootref['U_DELETE'])) ? $this->_rootref['U_DELETE'] : ''?>"><?php echo ((isset($this->_rootref['L_DELETE'])) ? $this->_rootref['L_DELETE'] : ((isset($user->lang['DELETE'])) ? $user->lang['DELETE'] : '{ DELETE }')); ?></a> | <a href="<?php echo (isset($this->_rootref['U_SYNC'])) ? $this->_rootref['U_SYNC'] : ''?>"><?php echo ((isset($this->_rootref['L_RESYNC'])) ? $this->_rootref['L_RESYNC'] : ((isset($user->lang['RESYNC'])) ? $user->lang['RESYNC'] : '{ RESYNC }')); ?></a>]<?php ?></strong></p>

    <?php if (sizeof($this->_tpldata['albums'])) {  ?>

        <table cellspacing="1">
            <col class="row1" /><col class="row1" /><col class="row2" />
        <tbody>
        <?php $_albums_count = (isset($this->_tpldata['albums'])) ? sizeof($this->_tpldata['albums']) : 0;if ($_albums_count) {for ($_albums_i 0$_albums_i $_albums_count; ++$_albums_i){$_albums_val = &$this->_tpldata['albums'][$_albums_i]; ?>

            <tr>
                <td style="width: 5%; text-align: center;"><?php echo $_albums_val['FOLDER_IMAGE']; ?></td>
                <td>
                    <?php if ($_albums_val['ALBUM_IMAGE_SRC']) {  ?><div style="float: <?php echo (isset($this->_rootref['S_CONTENT_FLOW_BEGIN'])) ? $this->_rootref['S_CONTENT_FLOW_BEGIN'] : ''?>; margin-right: 5px;"><img src="<?php echo $_albums_val['ALBUM_IMAGE_SRC']; ?>" alt="<?php echo $_albums_val['ALBUM_NAME']; ?>" /></div><?php ?>

                    <strong><a href="<?php echo $_albums_val['U_ALBUM']; ?>"><?php echo $_albums_val['ALBUM_NAME']; ?></a></strong>
                    <?php if ($_albums_val['ALBUM_DESCRIPTION']) {  ?><br /><span><?php echo $_albums_val['ALBUM_DESCRIPTION']; ?></span><?php } if ($_albums_val['S_ALBUM_POST']) {  ?><br /><br /><span><?php echo ((isset($this->_rootref['L_IMAGES'])) ? $this->_rootref['L_IMAGES'] : ((isset($user->lang['IMAGES'])) ? $user->lang['IMAGES'] : '{ IMAGES }')); ?>: <strong><?php echo $_albums_val['ALBUM_IMAGES']; ?></strong></span><?php ?>

                </td>
                <td style="vertical-align: top; width: 100px; text-align: right; white-space: nowrap;">
                    <?php if ($_albums_val['S_FIRST_ROW'] && ! $_albums_val['S_LAST_ROW']) {  ?>

                        <?php echo (isset($this->_rootref['ICON_MOVE_UP_DISABLED'])) ? $this->_rootref['ICON_MOVE_UP_DISABLED'] : ''?>

                        <a href="<?php echo $_albums_val['U_MOVE_DOWN']; ?>"><?php echo (isset($this->_rootref['ICON_MOVE_DOWN'])) ? $this->_rootref['ICON_MOVE_DOWN'] : ''?></a>
                    <?php } else if (! $_albums_val['S_FIRST_ROW'] && ! $_albums_val['S_LAST_ROW']) {  ?>

                        <a href="<?php echo $_albums_val['U_MOVE_UP']; ?>"><?php echo (isset($this->_rootref['ICON_MOVE_UP'])) ? $this->_rootref['ICON_MOVE_UP'] : ''?></a>
                        <a href="<?php echo $_albums_val['U_MOVE_DOWN']; ?>"><?php echo (isset($this->_rootref['ICON_MOVE_DOWN'])) ? $this->_rootref['ICON_MOVE_DOWN'] : ''?></a>
                    <?php } else if ($_albums_val['S_LAST_ROW'] && ! $_albums_val['S_FIRST_ROW']) {  ?>

                        <a href="<?php echo $_albums_val['U_MOVE_UP']; ?>"><?php echo (isset($this->_rootref['ICON_MOVE_UP'])) ? $this->_rootref['ICON_MOVE_UP'] : ''?></a>
                        <?php echo (isset($this->_rootref['ICON_MOVE_DOWN_DISABLED'])) ? $this->_rootref['ICON_MOVE_DOWN_DISABLED'] : ''?>

                    <?php } else { ?>

                        <?php echo (isset($this->_rootref['ICON_MOVE_UP_DISABLED'])) ? $this->_rootref['ICON_MOVE_UP_DISABLED'] : ''?>

                        <?php echo (isset($this->_rootref['ICON_MOVE_DOWN_DISABLED'])) ? $this->_rootref['ICON_MOVE_DOWN_DISABLED'] : ''?>

                    <?php ?>

                    <a href="<?php echo $_albums_val['U_EDIT']; ?>"><?php echo (isset($this->_rootref['ICON_EDIT'])) ? $this->_rootref['ICON_EDIT'] : ''?></a>
                    <a href="<?php echo $_albums_val['U_SYNC']; ?>" onclick="popup_progress_bar();"><?php echo (isset($this->_rootref['ICON_SYNC'])) ? $this->_rootref['ICON_SYNC'] : ''?></a>
                    <a href="<?php echo $_albums_val['U_DELETE']; ?>"><?php echo (isset($this->_rootref['ICON_DELETE'])) ? $this->_rootref['ICON_DELETE'] : ''?></a>
                </td>
            </tr>
        <?php }} ?>

        </tbody>
        </table>
    <?php ?>


    <form id="aselect" method="post" action="<?php echo (isset($this->_rootref['U_SEL_ACTION'])) ? $this->_rootref['U_SEL_ACTION'] : ''?>">

    <fieldset class="quick">
        <?php echo ((isset($this->_rootref['L_SELECT_ALBUM'])) ? $this->_rootref['L_SELECT_ALBUM'] : ((isset($user->lang['SELECT_ALBUM'])) ? $user->lang['SELECT_ALBUM'] : '{ SELECT_ALBUM }')); ?>: <select name="parent_id" onchange="if(this.options[this.selectedIndex].value != -1){ this.form.submit(); }"><?php echo (isset($this->_rootref['ALBUM_BOX'])) ? $this->_rootref['ALBUM_BOX'] : ''?></select>

        <input class="button2" type="submit" value="<?php echo ((isset($this->_rootref['L_GO'])) ? $this->_rootref['L_GO'] : ((isset($user->lang['GO'])) ? $user->lang['GO'] : '{ GO }')); ?>" />
        <?php echo (isset($this->_rootref['S_FORM_TOKEN'])) ? $this->_rootref['S_FORM_TOKEN'] : ''?>

    </fieldset>
    </form>

    <form id="albums" method="post" action="<?php echo (isset($this->_rootref['U_ACTION'])) ? $this->_rootref['U_ACTION'] : ''?>">

    <fieldset class="quick">
        <input type="hidden" name="action" value="add" />

        <input type="text" name="album_name" value="" maxlength="255" />
        <input class="button2" name="addalbum" type="submit" value="<?php echo ((isset($this->_rootref['L_CREATE_ALBUM'])) ? $this->_rootref['L_CREATE_ALBUM'] : ((isset($user->lang['CREATE_ALBUM'])) ? $user->lang['CREATE_ALBUM'] : '{ CREATE_ALBUM }')); ?>" />
        <?php echo (isset($this->_rootref['S_FORM_TOKEN'])) ? $this->_rootref['S_FORM_TOKEN'] : ''?>

    </fieldset>
    </form>
<?php ?>


<!--
    I request you retain the full copyright notice below including the link to www.flying-bits.org.
    This not only gives respect to the large amount of time given freely by the developer
    but also helps build interest, traffic and use of phpBB Gallery. If you (honestly) cannot retain
    the full copyright I ask you at least leave in place the "Powered by phpBB Gallery" line, with
    "phpBB Gallery" linked to www.flying-bits.org. If you refuse to include even this then support on my
    forums may be affected.

    phpBB Gallery, nickvergessen : 2009
    Powered by phpBB Gallery (http://www.flying-bits.org/) &copy; 2007, 2009 nickvergessen (http://www.flying-bits.org/)
//-->
<?php $this->_tpl_include('overall_footer.html'); ?>
Онлайн: 2
Реклама