This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<php | |
protected function prepareHTMLEmail($htmlMessage) | |
{ | |
preg_match_all('~<img.*?src=.([\/.a-z0-9:_-]+).*?>~si', $htmlMessage, $matches); | |
$i = 0; | |
$paths = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var apiUrl = ajaxurl + '?action=TsAnalyticsAdmin&page={page+1}&size={size}&{sortList:sort}&{filterList:filter}'; | |
jQuery(function ($) { | |
var UserTracking = { | |
date: { | |
today: moment(), | |
yesterday: moment().subtract(1, 'days'), | |
weekAgo: moment().subtract(6, 'days'), | |
monthAgo: moment().subtract(1, 'month'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Delivers the content of the requested file. | |
* | |
* @param string $sObjectType The type of the requested file. | |
* @param string $sObjectUrl The file url. | |
* | |
* @return null | |
*/ | |
public function getFile($sObjectType, $sObjectUrl) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name kalpones.lv www.kalpones.lv; | |
root /srv/http/kalpones.lv; | |
.... | |
<------>client_max_body_size 10M; | |
........ | |
#charset koi8-r; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<!-- | |
To change this license header, choose License Headers in Project Properties. | |
To change this template file, choose Tools | Templates | |
and open the template in the editor. | |
--> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Backend configuration for MediaAccessManagement tool. | |
* @version 0.0.1 | |
* | |
* todo click on the row and read selected values | |
*/ | |
var apiUrl = ajaxurl + '?action=MediaAccessManager&process=loadMatrix&page={page+1}&size={size}&{sortList:sort}&{filterList:filter}'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var apiUrl = ajaxurl + '?action=MediaAccessManager&process=loadMatrix&page={page+1}&size={size}&{sortList:sort}&{filterList:filter}'; | |
jQuery(function ($) { | |
var UserTracking = { | |
commonSetup: function () { | |
$('#confirm-delete').on('click', '.btn-ok', function (e) { | |
var $modalDiv = $(e.delegateTarget); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table id="media-access" class="bootstrap-popup focus-highlight"> | |
<thead> | |
<tr class="tablesorter-ignoreRow"> | |
<td class="pager" colspan="<?=$colCount?>"> | |
<img src="<?=$url?>/first.png" class="first"/> | |
<img src="<?=$url?>/prev.png" class="prev"/> | |
<span class="pagedisplay"></span> | |
<!-- this can be any element, including an input --> | |
<img src="<?=$url?>/next.png" class="next"/> | |
<img src="<?=$url?>/last.png" class="last"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Backend configuration for MediaAccessManagement tool. | |
* @version 0.0.3 | |
*/ | |
var apiUrl = ajaxurl + '?action=MediaAccessManager&process=loadMatrix&page={page+1}&size={size}&{sortList:sort}&{filterList:filter}'; | |
jQuery(function ($) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Created by PhpStorm. | |
* User: baumanisk | |
* Date: 12/08/2016 | |
* Time: 14:16 | |
* | |
* @version 1.1.0 | |
* | |
* @var int $colCount |