categories.php
File categories.php
has 262 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/*
You may not change or alter any portion of this comment or credits
of supporting developers from this source code or any supporting source code
which is considered copyrighted (c) material of the original comment or credit authors.
Line exceeds 120 characters; contains 163 characters Open
Open
$path = "<a href='" . ALUMNI_URL . '/categories.php?cid=' . $catpathArray[$i]->getVar('cid') . "'>" . $catpathArray[$i]->getVar('title') . '</a> : ';
- Exclude checks
Line exceeds 120 characters; contains 134 characters Open
Open
$xoops->tpl()->assign('add_listing', "<a href='listing.php?op=new_listing&cid=$cid'>" . AlumniLocale::ADD_LISTING_2 . '</a>');
- Exclude checks
Line exceeds 120 characters; contains 167 characters Open
Open
$path = str_replace(' : ', " <img src='" . XOOPS_URL . "/modules/{$moduleDirName}/assets/images/arrow.gif" . "' style='border-width: 0px;' alt=''> ", $path);
- Exclude checks
Line exceeds 120 characters; contains 163 characters Open
Open
$xoops->tpl()->assign('top_scphoto', "<img src='" . XOOPS_URL . "/uploads/{$moduleDirName}/photos/school_photos/$scphoto' align='middle' alt='$school_name'>");
- Exclude checks
Line exceeds 120 characters; contains 190 characters Open
Open
$a_item['admin'] = "<a href='admin/alumni.php?op=edit_listing&lid=$lid&cid=$cid'><img src='images/modif.gif' border=0 alt=\"" . AlumniLocale::MODADMIN . '"></a>';
- Exclude checks
Line exceeds 120 characters; contains 164 characters Open
Open
$xoops->tpl()->assign('last_head', AlumniLocale::THE . ' ' . $xoops->getModuleConfig('' . $moduleDirName . '_newalumni') . ' ' . AlumniLocale::LASTADD);
- Exclude checks
Line exceeds 120 characters; contains 213 characters Open
Open
$a_item['photo'] = "<a href=\"javascript:CLA('display-image.php?lid=$lid')\"><img src=\"images/photo.gif\" border=\"0\" width=\"15\" height=\"11\" alt='" . AlumniLocale::PHOTO_AVAILABLE . "'></a>";
- Exclude checks
Line exceeds 120 characters; contains 154 characters Open
Open
$xoops->tpl()->append('subcategories', ['title' => $sub_cat_title, 'id' => $subcat_id, 'totallinks' => $alumni_count, 'count' => $numsubcat]);
- Exclude checks