Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
TimeOutAdmin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TimeOut
TimeOutAdmin
Commits
1ab93906
Commit
1ab93906
authored
6 years ago
by
Tobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dc
parent
5461f4da
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
8 deletions
+24
-8
Event.php
application/controllers/Event.php
+4
-2
eventAddForm.php
application/views/Event/eventAddForm.php
+11
-4
eventEditForm.php
application/views/Event/eventEditForm.php
+9
-2
No files found.
application/controllers/Event.php
View file @
1ab93906
...
...
@@ -121,7 +121,8 @@ class Event extends CI_Controller {
}
else
{
$_POST
[
'seat_pricing'
]
=
json_encode
(
array
(
'price'
=>
$_POST
[
'price'
],
'price_details'
=>
$_POST
[
'price_details'
]
'price_details'
=>
$_POST
[
'price_details'
],
'price_details_ar'
=>
$_POST
[
'price_details_ar'
]
)
);
}
...
...
@@ -316,7 +317,8 @@ class Event extends CI_Controller {
}
else
{
$_POST
[
'seat_pricing'
]
=
json_encode
(
array
(
'price'
=>
$_POST
[
'price'
],
'price_details'
=>
$_POST
[
'price_details'
]
'price_details'
=>
$_POST
[
'price_details'
],
'price_details_ar'
=>
$_POST
[
'price_details_ar'
]
)
);
}
...
...
This diff is collapsed.
Click to expand it.
application/views/Event/eventAddForm.php
View file @
1ab93906
...
...
@@ -273,11 +273,18 @@
required
>
</div>
</div>
<div
class=
"col-sm-
10
"
>
<div
class=
"col-sm-
5
"
>
<div
class=
"form-group"
>
<label>
About Price Division
</label>
<textarea
type=
"text"
class=
"ip_reg_form_input form-control reset-form-custom required"
placeholder=
"Price Division"
name=
"price_details"
required
style=
"height:35px;"
data-parsley-trigger=
"change"
data-parsley-minlength=
"2"
></textarea>
<label>
About Price Division (English)
</label>
<textarea
type=
"text"
class=
"ip_reg_form_input form-control reset-form-custom required"
placeholder=
"Price Division (English)"
name=
"price_details"
required
style=
"height:35px; min-height:35px; max-width: 410px; min-width: 410px;"
data-parsley-trigger=
"change"
data-parsley-minlength=
"2"
></textarea>
</div>
</div>
<div
class=
"col-sm-5"
>
<div
class=
"form-group"
>
<label>
About Price Division (Arabic)
</label>
<textarea
type=
"text"
class=
"ip_reg_form_input form-control reset-form-custom required"
placeholder=
"Price Division (Arabic)"
name=
"price_details_ar"
required
style=
"height:35px; min-height:35px; max-width: 410px; min-width: 410px;"
data-parsley-trigger=
"change"
data-parsley-minlength=
"2"
></textarea>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
application/views/Event/eventEditForm.php
View file @
1ab93906
...
...
@@ -308,13 +308,20 @@
required
>
</div>
</div>
<div
class=
"col-sm-
10
"
>
<div
class=
"col-sm-
5
"
>
<div
class=
"form-group"
>
<label>
About Price Division
</label>
<textarea
type=
"text"
class=
"ip_reg_form_input form-control reset-form-custom required"
placeholder=
"Price Division"
name=
"price_details"
required
<textarea
type=
"text"
class=
"ip_reg_form_input form-control reset-form-custom required"
placeholder=
"Price Division
(English)
"
name=
"price_details"
required
style=
"height:35px;"
data-parsley-trigger=
"change"
data-parsley-minlength=
"2"
>
<?=
$seat_pricing
[
'price_details'
]
?>
</textarea>
</div>
</div>
<div
class=
"col-sm-5"
>
<div
class=
"form-group"
>
<label>
About Price Division
</label>
<textarea
type=
"text"
class=
"ip_reg_form_input form-control reset-form-custom required"
placeholder=
"Price Division (Arabic)"
name=
"price_details_ar"
required
style=
"height:35px;"
data-parsley-trigger=
"change"
data-parsley-minlength=
"2"
>
<?=
(
isset
(
$seat_pricing
[
'price_details_ar'
]))
?
$seat_pricing
[
'price_details_ar'
]
:
''
?>
</textarea>
</div>
</div>
</div>
</div>
<?php
}
?>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment