mirror of
https://github.com/Karaka-Management/oms-Marketing.git
synced 2026-01-11 17:18:40 +00:00
Fix absolute path to relative paths
This commit is contained in:
parent
661dd5c600
commit
39929096d0
|
|
@ -5,7 +5,7 @@
|
|||
"type": 2,
|
||||
"subtype": 0,
|
||||
"name": "Marketing",
|
||||
"uri": "/{/lang}/backend/marketing/dashboard?{?}",
|
||||
"uri": "{/lang}/backend/marketing/dashboard?{?}",
|
||||
"target": "self",
|
||||
"icon": "fa fa-paint-brush",
|
||||
"order": 60,
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
"type": 2,
|
||||
"subtype": 1,
|
||||
"name": "Promotions",
|
||||
"uri": "/{/lang}/backend/marketing/promotion/list?{?}",
|
||||
"uri": "{/lang}/backend/marketing/promotion/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "List",
|
||||
"uri": "/{/lang}/backend/marketing/promotion/list?{?}",
|
||||
"uri": "{/lang}/backend/marketing/promotion/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Create",
|
||||
"uri": "/{/lang}/backend/marketing/promotion/create?{?}",
|
||||
"uri": "{/lang}/backend/marketing/promotion/create?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 5,
|
||||
|
|
@ -65,7 +65,7 @@
|
|||
"type": 2,
|
||||
"subtype": 1,
|
||||
"name": "Events",
|
||||
"uri": "/{/lang}/backend/marketing/event/list?{?}",
|
||||
"uri": "{/lang}/backend/marketing/event/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 5,
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "List",
|
||||
"uri": "/{/lang}/backend/marketing/event/list?{?}",
|
||||
"uri": "{/lang}/backend/marketing/event/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
|
|
@ -94,7 +94,7 @@
|
|||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Create",
|
||||
"uri": "/{/lang}/backend/marketing/event/create?{?}",
|
||||
"uri": "{/lang}/backend/marketing/event/create?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 5,
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<section class="box wf-100">
|
||||
<header><h1><?= $this->getHtml('Event'); ?></h1></header>
|
||||
<div class="inner">
|
||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/helper/template'); ?>" method="post">
|
||||
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/helper/template'); ?>" method="post">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td colspan="2"><label for="iTitle"><?= $this->getHtml('Type'); ?></label>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<section class="box wf-100">
|
||||
<header><h1><?= $this->getHtml('Promotion'); ?></h1></header>
|
||||
<div class="inner">
|
||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/marketing/promotion'); ?>" method="post">
|
||||
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/marketing/promotion'); ?>" method="post">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td colspan="2"><label for="iTitle"><?= $this->getHtml('Type'); ?></label>
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<td colspan="5">
|
||||
<tbody>
|
||||
<?php $count = 0; foreach ($list as $key => $value) : $count++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/marketing/promotion/profile?{?}&id=' . $value->getId());?>
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/marketing/promotion/profile?{?}&id=' . $value->getId());?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td data-label="<?= $this->getHtml('Title') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getName()); ?></a>
|
||||
<td data-label="<?= $this->getHtml('Start') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getStart()->format('Y-m-d')); ?></a>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<section class="box wf-100">
|
||||
<header><h1><?= $this->printHtml($promotion->getName()); ?></h1></header>
|
||||
<div class="inner">
|
||||
<form id="fProject" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/marketing/promotion?{?}&csrf={$CSRF}'); ?>">
|
||||
<form id="fProject" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/marketing/promotion?{?}&csrf={$CSRF}'); ?>">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td colspan="2"><label for="iName"><?= $this->getHtml('Name') ?></label>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user