/** * dirheader() * * return the HTML code for the row to be displayed when we start a new * directory * * @param $dir the directory * @param $dirid the name of the listbox that will list the albums * @return the HTML code */ function dirheader($dir, $dirid) { global $CONFIG, $lang_search_new_php, $lang_common, $LINEBREAK; $warning = ''; if (!is_writable($CONFIG['fullpath'] . $dir)) { $warning = '<tr><td class="tableh2" valign="middle" colspan="4">' . $LINEBREAK . '<strong>' . $lang_search_new_php['warning'] . '</strong>: ' . $lang_search_new_php['change_perm'] . '</td></tr>' . $LINEBREAK; } return '<tr><td class="tableh2" valign="middle" align="right" colspan="4">' . $LINEBREAK . sprintf($lang_search_new_php['target_album'], $dir, albumselect($dirid)) . '</td></tr>' . $LINEBREAK . $warning; }
/** * dirheader() * * return the HTML code for the row to be displayed when we start a new * directory * * @param $dir the directory * @param $dirid the name of the listbox that will list the albums * @return the HTML code */ function dirheader($dir, $dirid) { global $CONFIG, $lang_search_new_php; $warning = ''; if (!is_writable($CONFIG['fullpath'] . $dir)) { $warning = "<tr><td class=\"tableh2\" valign=\"middle\" colspan=\"3\">\n" . "<b>{$lang_search_new_php['warning']}</b>: {$lang_search_new_php['change_perm']}</td></tr>\n"; } return "<tr><td class=\"tableh2\" valign=\"middle\" colspan=\"3\">\n" . sprintf($lang_search_new_php['target_album'], $dir, albumselect($dirid)) . "</td></tr>\n" . $warning; }
/** * dirheader() * * return the HTML code for the row to be displayed when we start a new * directory * * @param $dir the directory * @param $dirid the name of the listbox that will list the albums * @return the HTML code **/ function dirheader($dir, $dirid) { global $xoopsModuleConfig; $warning = ''; if (!is_writable(XOOPS_ROOT_PATH . "/modules/xcgal/" . $xoopsModuleConfig['fullpath'] . $dir)) { $warning = "<tr><td class=\"even\" valign=\"middle\" colspan=\"3\">\n" . "<div class=\"errorMsg\"><b>" . _AM_SRCHNEW_WARNING . "</b>: " . _AM_SRCHNEW_CHG_PERM . "</div></td></tr>\n"; } return "<tr><td class=\"head\" valign=\"middle\" colspan=\"3\">\n" . sprintf(_AM_SRCHNEW_TARGET_ALB, $dir, albumselect($dirid)) . "</td></tr>\n" . $warning; }
/** * dirheader() * * return the HTML code for the row to be displayed when we start a new * directory * * @param $dir the directory * @param $dirid the name of the listbox that will list the albums * @return the HTML code */ function dirheader($dir, $dirid) { global $CONFIG; $warning = ''; if (!is_writable($CONFIG['fullpath'] . $dir)) { $warning = '<tr><td class="tableh2" valign="middle" colspan="3"><b> ' . WARNING . '</b>: ' . CHANGE_PERM . '</td></tr>'; } $alb_select = albumselect($dirid); return '<tr><td class="tableh2" valign="middle" colspan="3">' . sprintf(TARGET_ALBUM, $dir, $alb_select) . '</td></tr>' . $warning; }
pageheader("Manage Multilingual Plugin"); echo <<<EOT <br /> <div align="center"> <table cellpadding="0" cellspacing="1"> <tr> <td class="admin_menu"><a href="mod_lang.php?sync=categories" title="Synchronize categories lang strings">Synchronize Categories</a></td> <td class="admin_menu"><a href="mod_lang.php?sync=albums" title="Synchronize albums lang strings">Synchronize Albums</a></td> <td class="admin_menu"><a href="mod_lang.php?sync=pictures" title="Synchronize pictures lang strings">Synchronize Pictures</a></td> </tr> </table> </div> EOT; $catList = buildCatList(); //$albList = albumselect(); $picAlbList = albumselect('picAlbum'); if ($_REQUEST['category'] && $_REQUEST['what'] == 'getCat') { $selected = " selected"; } starttable('100%', 'Select the item for which you want to enter language strings', 6); echo <<<EOT <tr> <form method="post" action="mod_lang.php" name="catForm"> <td class="tableh2" width='50'> Category </td> <td class="tableb"> <select name="category" class="listbox" onchange="this.form.submit();"> <option value="0">Select Category</option> <option value="all"{$selected}>All Categories</option> </select>
/** * dirheader() * * return the HTML code for the row to be displayed when we start a new * directory * * @param $dir the directory * @param $dirid the name of the listbox that will list the albums * @return the HTML code */ function dirheader($dir, $dirid) { global $CONFIG, $lang_search_new_php, $lang_check_uncheck_all; $warning = ''; if (!is_writable($CONFIG['fullpath'] . $dir)) { $warning = "<tr><td class=\"tableh2\" valign=\"middle\" colspan=\"3\">\n" . "<b>{$lang_search_new_php['warning']}</b>: {$lang_search_new_php['change_perm']}</td></tr>\n"; } return "<tr><td class=\"tableh2\"><input type=\"checkbox\" name=\"checkAll2\" onClick=\"selectAll(this,'pics');\" class=\"checkbox\" title=\"" . $lang_check_uncheck_all . "\" /></td><td class=\"tableh2\" valign=\"middle\" align=\"right\" colspan=\"2\">\n" . sprintf($lang_search_new_php['target_album'], $dir, albumselect($dirid)) . "</td></tr>\n" . $warning; }
" /> <td class="tableb" valign="top" align="center"> <br /> <table width="300" border="0" cellspacing="0" cellpadding="0"> <?php //Joe Ernst - Added USER_ADMIN_MODE if (GALLERY_ADMIN_MODE || USER_ADMIN_MODE) { $ALBUM_LIST = array(); $ALBUM_LIST[] = array(0, $lang_picmgr_php['no_album']); get_album_data(FIRST_USER_CAT + USER_ID, ''); echo <<<EOT <tr> <td> <b>{$lang_picmgr_php['select_album']}</b> EOT; print albumselect('aid'); echo <<<EOT </td> </tr> EOT; } ?> <tr> <td> <select id="to" name="to[]" size="<?php echo min(max(count($rowset) + 3, 15), 40); ?> " multiple onChange="Picture_Select(this.selectedIndex);" class="listbox" style="width: 300px"> <?php $i = 100;