I noticed that my group control panel was missing a couple of buttons. I found this was where the code was for showing the buttons.
if (defined('UDB_INTEGRATION')) {
echo <<<EOT
<tr>
<td colspan="14" align="center" class="tablef">
<input type="submit" name="apply_modifs" value="{$lang_groupmgr_php['apply']}" class="button">
</td>
</form>
</tr>
EOT;
} else {
echo <<<EOT
<tr>
<td class="tablef"><input type="checkbox" name="checkAll2" onClick="selectAll(this,'delete_group');" class="checkbox" title="$lang_check_uncheck_all" /></td>
<td colspan="13" align="center" class="tablef">
<input type="submit" name="apply_modifs" value="{$lang_groupmgr_php['apply']}" class="button">
<input type="submit" name="new_group" value="{$lang_groupmgr_php['create_new_group']}" class="button">
<input type="submit" name="del_sel" value="{$lang_groupmgr_php['del_groups']}" onClick="return confirmDel()" class="button">
</td>
</form>
</tr>
EOT;
It makes sense but the thing is I do not have integration. So there is an error elsewhere that is causing the script to think I have udb enabled and only showing the one button.
Confirmed same on my unbridged install.
Hi :)
UDB_INTEGRATION is ever defined.
I think this line:
if (defined('UDB_INTEGRATION')) {
must be:
if (UDB_INTEGRATION != 'coppermine') {
Hi Andi,
that certainly works on an unbridged install. if someone can confirm it does not affect bridged installs I will commit.
I'll check it out when I get home this evening. It should say:
if (UDB_INTEGRATION != 'coppermine')
instead of "defined('UDB_INTEGRATION')"
This change has been committed.
Thank you. The buttons are back.