Skip to content
This repository was archived by the owner on Feb 28, 2026. It is now read-only.
This repository was archived by the owner on Feb 28, 2026. It is now read-only.

edit button and bookmark, print #18

@Jimmi08

Description

@Jimmi08

Motivation

    /* {COOKBOOK_EDIT} */
	function sc_cookbook_edit($parm='')
	{
		if(check_class(e107::getPlugPref('cookbook', 'submission_userclass')))
		{
			$link = e_PLUGIN_ABS.'cookbook/admin_config.php?action=edit&id='.$this->var["r_id"].'';
			return '<li><i class="fa-li fa fa-pencil"></i> <a href="'.$link.'">'.LAN_EDIT.'</a></li>';
		}
		return;
	}

Proposed Solution

Could you add parameter or move<li></li>to template? When you want to use edit button separately withou <ul></ul>

image

correct icon

Could you use core solution for glyphs? Your fa-pencil is not displayed in bootstrap 5 theme

Quick fix: fa-edit is working

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: plannedThis issue is planned to be resolved in a future releasetype: enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions