comment old unused code

This commit is contained in:
Uwe Steinmann 2022-02-09 08:10:17 +01:00
parent 35b8b9b703
commit 82d9a42968
2 changed files with 4 additions and 4 deletions

View File

@ -1302,8 +1302,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
* @return string
*/
function getModalBoxLink($config) { /* {{{ */
$content = '';
$content .= "<a data-target=\"#".$config['target']."\"".(isset($config['remote']) ? " href=\"".$config['remote']."\"" : "")." role=\"button\" class=\"".(isset($config['class']) ? $config['class'] : "btn")."\" data-toggle=\"modal\"";
// $content = '';
// $content .= "<a data-target=\"#".$config['target']."\"".(isset($config['remote']) ? " href=\"".$config['remote']."\"" : "")." role=\"button\" class=\"".(isset($config['class']) ? $config['class'] : "btn")."\" data-toggle=\"modal\"";
$attrs = self::getModalBoxLinkAttributes($config);
$content = '<a';
if($attrs) {

View File

@ -1300,8 +1300,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
* @return string
*/
function getModalBoxLink($config) { /* {{{ */
$content = '';
$content .= "<a data-target=\"#".$config['target']."\"".(isset($config['remote']) ? " href=\"".$config['remote']."\"" : "")." role=\"button\" class=\"".(isset($config['class']) ? $config['class'] : "btn btn-secondary")."\" data-toggle=\"modal\"";
// $content = '';
// $content .= "<a data-target=\"#".$config['target']."\"".(isset($config['remote']) ? " href=\"".$config['remote']."\"" : "")." role=\"button\" class=\"".(isset($config['class']) ? $config['class'] : "btn btn-secondary")."\" data-toggle=\"modal\"";
$attrs = self::getModalBoxLinkAttributes($config);
$content = '<a';
if($attrs) {