Skip to content

Commit

Permalink
(#126) Tambahkan constant VERSI_SID untuk versi SID
Browse files Browse the repository at this point in the history
  • Loading branch information
satujalur authored Oct 17, 2022
1 parent 4a7fcb3 commit 57d1f23
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions donjo-app/config/constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
define('FOPEN_WRITE_CREATE_STRICT', 'xb');
define('FOPEN_READ_WRITE_CREATE_STRICT', 'x+b');

define('VERSI_SID', '3.11.0');

/* End of file constants.php */
/* Location: ./application/config/constants.php */
2 changes: 1 addition & 1 deletion donjo-app/views/feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link>". base_url() ."</link>
<description>Situs Web Desa ". $data_config["nama_desa"] ." Kec. ". $data_config["nama_kecamatan"] ." Kab. ". $data_config["nama_kabupaten"] ." - ". $data_config["nama_propinsi"] ."</description>
<language>ID</language>
<generator>Sistem Informasi Desa v3.10</generator>
<generator>Sistem Informasi Desa v". VERSI_SID ."</generator>
<pubDate>".date(DATE_RFC2822)."</pubDate>
<image>
<title>Desa ". $data_config["nama_desa"] ."</title>
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/views/home/about.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div font-size="17px"><b>
Anda sedang menggunakan aplikasi Sistem Informasi Desa (SID) versi 3.10<br />
Anda sedang menggunakan aplikasi Sistem Informasi Desa (SID) versi <?= VERSI_SID ?><br />
<br />
<br />APAKAH SISTEM INFORMASI (SID)?</b> <br />
<br />
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/views/home/nav.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<a href="<?php echo site_url('pengurus')?>">Pemerintah Desa</a>
</li>
<li <?php if($act==2){?>class="selected"<?php }?>>
<a href="<?php echo site_url('hom_desa/about')?>">SID 3.10</a>
<a href="<?php echo site_url('hom_desa/about')?>">SID <?= VERSI_SID ?></a>
</li>
</ul>
</div>
2 changes: 1 addition & 1 deletion donjo-app/views/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function modalpin(id,title,message,width,height){
</script>
<div id="full">
<h1>BERHASIL!<h1>
<h2>Anda baru saja menginstall aplikasi SID 3.10 dengan lancar.<h2>
<h2>Anda baru saja menginstall aplikasi SID <?= VERSI_SID ?> dengan lancar.<h2>
<a href ="<?php echo site_url();?>siteman" class="uibutton special">Mulai SID </a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/views/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</head>
<body>
<div id="full">
<h1>Instalasi Database SID 3.10</h1>
<h1>Instalasi Database SID <?= VERSI_SID ?></h1>
<hr>
<div style="width:400px;margin:0px auto;">
<h4>Klik “Lanjut” untuk memulai proses instalasi database SID. Proses instalasi memerlukan waktu singkat. Setelah selesai, Anda akan mendapatkan “username” dan “password”. Catat/simpan “username” dan “password” sebelum meneruskan ke langkah selanjutnya.</h4><br>
Expand Down
4 changes: 2 additions & 2 deletions donjo-app/views/siteman.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset="UTF-8">
<title>SID 3.10 Login</title>
<title>SID <?= VERSI_SID ?> Login</title>
<link rel="stylesheet" href="<?php echo base_url()?>assets/css/login-new.css" media="screen" type="text/css" />
</head>
<body>
Expand All @@ -18,7 +18,7 @@
</div>
</a>
<div id="mainlogin">
<div id="or">3.10</div>
<div id="or"><?= VERSI_SID ?></div>
<h1>Masukkan Username dan Password</h1>
<form action="<?php echo site_url('siteman/auth')?>" method="post">
<input name="username" type="text" placeholder="username" value="" required>
Expand Down

0 comments on commit 57d1f23

Please sign in to comment.