Compare commits

..

No commits in common. "main" and "v1.4.3" have entirely different histories.
main ... v1.4.3

View File

@ -10,18 +10,18 @@ Author URI: https://tk-sls.de
*/
class LinuxfooGitlab {
public function __construct() {
}
public function __construct() {
}
static function load_textdomain() {
load_plugin_textdomain('linuxfoo-gitlab', false, dirname(plugin_basename(__FILE__)).'/lang');
}
static function css() {
wp_enqueue_style('linuxfoo_gitlab_css', plugins_url('styles.css', __FILE__ ), '', '1.4' );
wp_enqueue_style('linuxfoo_gitlab_css', plugins_url('styles.css', __FILE__ ), '', '1.4' );
}
static function error ( $msg ) {
static function error ( $msg ) {
return
'<span class="error">'.
$msg.
@ -84,7 +84,7 @@ class LinuxfooGitlab {
(is_null($atts['since']) ? '' : ' '.self::format_since($atts['since'])).':';
}
static function commits_list($atts, $project_url) {
static function commits_list($atts, $project_url) {
$since = null;
if($atts['commits']=='none') {
@ -158,7 +158,7 @@ class LinuxfooGitlab {
return $out;
}
static function releases_list($atts, $project_url) {
static function releases_list($atts, $project_url) {
$out = '';
if(is_null($atts['releases']) || $atts['releases']=='none') {
@ -217,12 +217,12 @@ class LinuxfooGitlab {
return $out;
}
static function list_commits($atts, $content, $tag) {
static function list_commits($atts, $content, $tag) {
return self::show_project($atts, $content, $tag);
}
static function show_project($atts, $content, $tag) {
global $post;
static function show_project($atts, $content, $tag) {
global $post;
$out = '<span class="linuxfoo_gitlab">';