mirror of
https://github.com/danpros/htmly.git
synced 2026-04-18 19:46:21 +05:30
Bugs fixes
This commit is contained in:
parent
dcbf9f0700
commit
f0431bb35e
1 changed files with 6 additions and 6 deletions
|
|
@ -90,7 +90,7 @@ function edit_post($title, $tag, $url, $content, $oldfile, $destination = null,
|
|||
{
|
||||
$oldurl = explode('_', $oldfile);
|
||||
$dir = explode('/', $oldurl[0]);
|
||||
$olddate = date('Y-m-d-h-i-s', strtotime($date));
|
||||
$olddate = date('Y-m-d-H-i-s', strtotime($date));
|
||||
|
||||
if ($date !== null) {
|
||||
$oldurl[0] = substr($oldurl[0], 0, strrpos($oldurl[0], '/')) . '/' . $olddate;
|
||||
|
|
@ -198,7 +198,7 @@ function edit_image($title, $tag, $url, $content, $oldfile, $destination = null,
|
|||
{
|
||||
$oldurl = explode('_', $oldfile);
|
||||
$dir = explode('/', $oldurl[0]);
|
||||
$olddate = date('Y-m-d-h-i-s', strtotime($date));
|
||||
$olddate = date('Y-m-d-H-i-s', strtotime($date));
|
||||
|
||||
if ($date !== null) {
|
||||
$oldurl[0] = substr($oldurl[0], 0, strrpos($oldurl[0], '/')) . '/' . $olddate;
|
||||
|
|
@ -312,7 +312,7 @@ function edit_video($title, $tag, $url, $content, $oldfile, $destination = null,
|
|||
{
|
||||
$oldurl = explode('_', $oldfile);
|
||||
$dir = explode('/', $oldurl[0]);
|
||||
$olddate = date('Y-m-d-h-i-s', strtotime($date));
|
||||
$olddate = date('Y-m-d-H-i-s', strtotime($date));
|
||||
|
||||
if ($date !== null) {
|
||||
$oldurl[0] = substr($oldurl[0], 0, strrpos($oldurl[0], '/')) . '/' . $olddate;
|
||||
|
|
@ -426,7 +426,7 @@ function edit_link($title, $tag, $url, $content, $oldfile, $destination = null,
|
|||
{
|
||||
$oldurl = explode('_', $oldfile);
|
||||
$dir = explode('/', $oldurl[0]);
|
||||
$olddate = date('Y-m-d-h-i-s', strtotime($date));
|
||||
$olddate = date('Y-m-d-H-i-s', strtotime($date));
|
||||
|
||||
if ($date !== null) {
|
||||
$oldurl[0] = substr($oldurl[0], 0, strrpos($oldurl[0], '/')) . '/' . $olddate;
|
||||
|
|
@ -540,7 +540,7 @@ function edit_quote($title, $tag, $url, $content, $oldfile, $destination = null,
|
|||
{
|
||||
$oldurl = explode('_', $oldfile);
|
||||
$dir = explode('/', $oldurl[0]);
|
||||
$olddate = date('Y-m-d-h-i-s', strtotime($date));
|
||||
$olddate = date('Y-m-d-H-i-s', strtotime($date));
|
||||
|
||||
if ($date !== null) {
|
||||
$oldurl[0] = substr($oldurl[0], 0, strrpos($oldurl[0], '/')) . '/' . $olddate;
|
||||
|
|
@ -654,7 +654,7 @@ function edit_audio($title, $tag, $url, $content, $oldfile, $destination = null,
|
|||
{
|
||||
$oldurl = explode('_', $oldfile);
|
||||
$dir = explode('/', $oldurl[0]);
|
||||
$olddate = date('Y-m-d-h-i-s', strtotime($date));
|
||||
$olddate = date('Y-m-d-H-i-s', strtotime($date));
|
||||
|
||||
if ($date !== null) {
|
||||
$oldurl[0] = substr($oldurl[0], 0, strrpos($oldurl[0], '/')) . '/' . $olddate;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue