Пример #1
0
 /**
  * Print a link to open an editable link
  * @param type $label_or_markup 
  */
 public static function editableLink($label_or_markup = false, $key = 'solo')
 {
     if (!$label_or_markup) {
         $label_or_markup = '<img alt="Create Editable" src="' . Broadstreet_Adwidget_Mini_Utility::getBaseURL('/assets/img/editable-button.png') . '" />';
     }
     echo '<a href="#" onclick="editable_' . $key . '(); return false;">' . $label_or_markup . '</a>';
 }