Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

zekena / Unit-calculator

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit 14076830 authored 6 years ago by yuward's avatar yuward
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

changed name of sliding js from frontSide to slide

parent 67f45f24 master
Show whitespace changes
Inline Side-by-side
Showing with 7 additions and 7 deletions
  • calc/categories/area.php
  • calc/categories/length.php
  • calc/categories/speed.php
  • calc/categories/temperature.php
  • calc/categories/volume.php
  • calc/categories/weight.php
  • calc/js/frontSide.js → calc/js/slide.js
calc/categories/area.php
View file @ 14076830
......@@ -111,7 +111,7 @@ function area_options()
</div>
<script src="../js/frontSide.js"></script>
<script src="../js/slide.js"></script>
<div id="title">
<h1>Area</h1>
</div>
......
This diff is collapsed. Click to expand it.
calc/categories/length.php
View file @ 14076830
......@@ -145,7 +145,7 @@ function length_options(){
</div>
<script src="../js/frontSide.js"></script>
<script src="../js/slide.js"></script>
<div id="title">
<h1>Length</h1>
</div>
......
This diff is collapsed. Click to expand it.
calc/categories/speed.php
View file @ 14076830
......@@ -77,7 +77,7 @@ $speed_options = array(
</div>
<script src="../js/frontSide.js"></script>
<script src="../js/slide.js"></script>
<div id="title">
<h1>Speed</h1>
</div>
......@@ -97,7 +97,7 @@ $speed_options = array(
foreach ($speed_options as $unit) {
$opt = optionize($unit);
echo "<option value=\"{$opt}\"";
if ($from_unit == $opt) {
if ($_POST[$from_unit] == $opt) {
echo " selected";
}
echo ">{$unit}</option>";
......
This diff is collapsed. Click to expand it.
calc/categories/temperature.php
View file @ 14076830
......@@ -124,7 +124,7 @@ $temp_options = array(
</div>
<script src="../js/frontSide.js"></script>
<script src="../js/slide.js"></script>
<div id="title">
<h1>Temperature</h1>
</div>
......
This diff is collapsed. Click to expand it.
calc/categories/volume.php
View file @ 14076830
......@@ -95,7 +95,7 @@ $volume_options = array(
</div>
<script src="../js/frontSide.js"></script>
<script src="../js/slide.js"></script>
<div id="title">
<h1>Volume</h1>
</div>
......
This diff is collapsed. Click to expand it.
calc/categories/weight.php
View file @ 14076830
......@@ -130,7 +130,7 @@ $mass_options = array(
</div>
<script src="../js/frontSide.js"></script>
<script src="../js/slide.js"></script>
<div id="title">
<h1>Weight</h1>
</div>
......
This diff is collapsed. Click to expand it.
calc/js/frontSide.js → calc/js/slide.js
View file @ 14076830
File moved
This diff is collapsed. Click to expand it.
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment