admin/public-category.php
The CASE body must start on the line following the statement Open
Open
case 'default':
- Exclude checks
The CASE body must start on the line following the statement Open
Open
case 'delete':
- Exclude checks
The CASE body must start on the line following the statement Open
Open
case 'create':
- Exclude checks
The CASE body must start on the line following the statement Open
Open
case 'default':
- Exclude checks
The CASE body must start on the line following the statement Open
Open
case 'enreg':
- Exclude checks
The CASE body must start on the line following the statement Open
Open
case 'enreg':
- Exclude checks
The DEFAULT body must start on the line following the statement Open
Open
default:
- Exclude checks
The CASE body must start on the line following the statement Open
Open
case 'modify':
- Exclude checks
Line exceeds 120 characters; contains 169 characters Open
Open
$elementTrayThumb->addElement(new \XoopsFormLabel('', $photoSelect . "<img style=\"float:left; margin-top:5px;\" id=\"thumb\" src=\"$selectedPhoto\">"));
- Exclude checks
Line exceeds 120 characters; contains 153 characters Open
Open
xoops_confirm(['cat_id' => $_POST['cat_id'], 'step' => 'enreg'], 'public-category.php?op=delete', _AM_EXTGALLERY_DELETE_CAT_CONFIRM);
- Exclude checks
Line exceeds 120 characters; contains 195 characters Open
Open
$photoSelect .= '<option value="' . $photo->getVar('photo_id') . '" selected>' . $photo->getVar('photo_title') . ' (' . $photo->getVar('photo_name') . ')</option>' . "\n";
- Exclude checks
Line exceeds 120 characters; contains 125 characters Open
Open
document.getElementById('thumb').src = thumb[formSelect.options[formSelect.selectedIndex].value];
- Exclude checks
Line exceeds 120 characters; contains 133 characters Open
Open
$form->addElement(new \XoopsFormLabel(_AM_EXTGALLERY_CATEGORY, $catHandler->getSelect('cat_id', false, false, 0, '', true)));
- Exclude checks
Line exceeds 120 characters; contains 156 characters Open
Open
$form->addElement(new \XoopsFormLabel(_AM_EXTGALLERY_PARENT_CAT, $catHandler->getSelect('cat_pid', 'leaf', true, $cat->getVar('cat_pid'))));
- Exclude checks
Line exceeds 120 characters; contains 128 characters Open
Open
$form = new \XoopsThemeForm(_AM_EXTGALLERY_ADD_PUBLIC_CAT, 'create_cat', 'public-category.php?op=create', 'post', true);
- Exclude checks
Line exceeds 120 characters; contains 148 characters Open
Open
$photoSelect = "\n" . '<select size="1" name="photo_id" id="photo_id" onChange="ChangeThumb();" onkeydown="ChangeThumb();">' . "\n";
- Exclude checks
Line exceeds 120 characters; contains 136 characters Open
Open
$form = new \XoopsThemeForm(_AM_EXTGALLERY_MOD_PUBLIC_CAT, 'create_cat', 'public-category.php?op=modify', 'post', true);
- Exclude checks
Line exceeds 120 characters; contains 134 characters Open
Open
$form->addElement(new \XoopsFormDhtmlTextArea(_AM_EXTGALLERY_DESC, 'cat_desc', $cat->getVar('cat_desc', 'e')), false);
- Exclude checks
Line exceeds 120 characters; contains 145 characters Open
Open
$form->addElement(new \XoopsFormText(_AM_EXTGALLERY_CAT_IMG, 'cat_imgurl', '70', '150', $cat->getVar('cat_imgurl', 'e')), false);
- Exclude checks
Line exceeds 120 characters; contains 122 characters Open
Open
$url = XOOPS_URL . '/uploads/extgallery/public-photo/thumb/thumb_' . $photo->getVar('photo_name');
- Exclude checks
Line exceeds 120 characters; contains 138 characters Open
Open
$form->addElement(new \XoopsFormText(_AM_EXTGALLERY_NAME, 'cat_name', '70', '255', $cat->getVar('cat_name', 'e')), false);
- Exclude checks
Line exceeds 120 characters; contains 136 characters Open
Open
$form->addElement(new \XoopsFormText(_AM_EXTGALLERY_WEIGHT, 'cat_weight', '4', '4', $cat->getVar('cat_weight')), false);
- Exclude checks
Line exceeds 120 characters; contains 133 characters Open
Open
$form = new \XoopsThemeForm(_AM_EXTGALLERY_MODDELETE_PUBLICCAT, 'modify_cat', 'public-category.php?op=modify', 'post', true);
- Exclude checks
Line exceeds 120 characters; contains 123 characters Open
Open
$form->addElement(new \XoopsFormLabel(_AM_EXTGALLERY_PARENT_CAT, $catHandler->getSelect('cat_pid', 'leaf', true)));
- Exclude checks
Line exceeds 120 characters; contains 121 characters Open
Open
$xoopsTpl->display(XOOPS_ROOT_PATH . '/modules/extgallery/templates/admin/extgallery_admin_public_category.tpl');
- Exclude checks
Line exceeds 120 characters; contains 129 characters Open
Open
$xoopsTpl->display(XOOPS_ROOT_PATH . '/modules/extgallery/templates/admin/extgallery_admin_public_category.tpl');
- Exclude checks
Line exceeds 120 characters; contains 186 characters Open
Open
$photoSelect .= '<option value="' . $photo->getVar('photo_id') . '">' . $photo->getVar('photo_title') . ' (' . $photo->getVar('photo_name') . ')</option>' . "\n";
- Exclude checks